]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add Ukrainian translations.
[thirdparty/glibc.git] / ChangeLog
1 2013-08-22 David S. Miller <davem@davemloft.net>
2
3 * po/ca.po: Update Catalan translation from translation project.
4 * po/uk.po: Add Ukrainian translations from translation project.
5
6 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #15797]
9 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10 is infinite, not alongside NaN test.
11 * math/s_fdimf.c (__fdimf): Likewise.
12 * math/s_fdiml.c (__fdiml): Likewise.
13 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14 errno is unchanged.
15
16 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17
18 * argp/argp-help.c: Fix typos.
19 * crypt/speeds.c: Likewise.
20 * csu/check_fds.c: Likewise.
21 * elf/dl-load.c: Likewise.
22 * elf/dl-open.c: Likewise.
23 * elf/reldep3.c: Likewise.
24 * elf/reldep.c: Likewise.
25 * elf/sprof.c: Likewise.
26 * iconv/iconv_charmap.c: Likewise.
27 * iconv/skeleton.c: Likewise.
28 * iconv/strtab.c: Likewise.
29 * io/lockf64.c: Likewise.
30 * libio/libioP.h: Likewise.
31 * resolv/gai_notify.c: Likewise.
32 * resolv/ns_name.c: Likewise.
33 * resolv/ns_samedomain.c: Likewise.
34 * resolv/res_send.c: Likewise.
35 * stdlib/random.c: Likewise.
36 * sunrpc/rpc/xdr.h: Likewise.
37 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45 * sysdeps/mach/hurd/check_fds.c: Likewise.
46 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52 * sysdeps/pthread/aio_notify.c: Likewise.
53 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
54 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
55 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58
59 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60
61 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62 version if bit_Slow_SSE4_2 is set.
63 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65
66 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67
68 [BZ #15867]
69 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
70 trampoline stack frame information.
71 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
72 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
73 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
74 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
75 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
76 * sysdeps/unix/sysv/linux/powerpc/init-first.c
77 (_libc_vdso_platform_setup): Initialize the signal trampolines.
78 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
79 sa_flags value.
80 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
81 interrupting a syscall and set with option SA_SIGINFO.
82
83 2013-08-20 Joseph Myers <joseph@codesourcery.com>
84
85 [BZ #15531]
86 * math/s_cproj.c (__cproj): Only return an infinity if one part of
87 argument is infinite.
88 * math/s_cprojf.c (__cprojf): Likewise.
89 * math/s_cprojl.c (__cprojl): Likewise.
90 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
91 * math/libm-test.inc (cproj_test_data): Add more tests.
92
93 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
94
95 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
96 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
97 size. Use __ffs to determine corresponding shift.
98
99 2013-08-20 Joseph Myers <joseph@codesourcery.com>
100 Roland McGrath <roland@hack.frob.com>
101
102 * Makefile (INSTALL): Remove trailing blank lines from output of
103 makeinfo.
104
105 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
106
107 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
108 Align 32 bit compat elf_greg to 8 bytes.
109
110 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
111
112 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
113
114 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
115
116 * string/strcoll_l.c (coll_seq): New structure.
117 (get_next_seq_cached): New function.
118 (get_next_seq): New function.
119 (do_compare): New function.
120 (STRCOLL): Use GNU style definition. Simplify implementation
121 by using get_next_seq, get_next_seq_cached and do_compare.
122
123 2013-08-16 Florian Weimer <fweimer@redhat.com>
124
125 [BZ #14699]
126 CVE-2013-4237
127 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
128 member.
129 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
130 member.
131 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
132 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
133 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
134 conditional.
135 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
136 GETDENTS_64BIT_ALIGNED.
137 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
138 * manual/filesys.texi (Reading/Closing Directory): Document
139 ENAMETOOLONG return value of readdir_r. Recommend readdir more
140 strongly.
141 * manual/conf.texi (Limits for Files): Add portability note to
142 NAME_MAX, PATH_MAX.
143 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
144
145 2013-08-13 Andreas Schwab <schwab@suse.de>
146
147 [BZ #15749]
148 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
149 of fabs.
150 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
151 LDBL_MAX_EXP >= 16384]: Add tests for it.
152
153 2013-08-12 David S. Miller <davem@davemloft.net>
154
155 * version.h (RELEASE): Set to "development".
156 (VERSION): Set to "2.18.90".
157 * NEWS: Add 2.19 section.
158
159 2013-08-03 David S. Miller <davem@davemloft.net>
160
161 * po/ko.po: Update Korean translation from translation project.
162
163 2013-08-01 David S. Miller <davem@davemloft.net>
164
165 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
166 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
167 Bilka.
168
169 2013-07-30 David S. Miller <davem@davemloft.net>
170
171 * po/fr.po: Update French translation from translation project.
172
173 2013-07-28 David S. Miller <davem@davemloft.net>
174
175 * po/cs.po: Update Czech translation from translation project.
176
177 * po/sv.po: Update Swedish translation from translation project.
178
179 2013-07-27 David S. Miller <davem@davemloft.net>
180
181 * po/eo.po: Update Esperanto translation from translation project.
182
183 * po/vi.po: Update Vietnamese translation from translation project.
184
185 * po/de.po: Update German translation from translation project.
186
187 2013-07-26 David S. Miller <davem@davemloft.net>
188
189 * po/bg.po: Update Bulgarian translation from translation project.
190
191 * po/nl.po: Update Dutch translation from translation project.
192 * po/pl.po: Update Polish translation from translation project.
193 * po/ru.po: Update Russian translation from translation project.
194
195 2013-07-24 David S. Miller <davem@davemloft.net>
196
197 * po/libc.pot: Update.
198
199 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
200
201 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
202 variable page size.
203 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
204 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
205 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
206
207 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
208
209 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
210
211 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
212 Andreas Schwab <schwab@suse.de>
213 Roland McGrath <roland@hack.frob.com>
214 Joseph Myers <joseph@codesourcery.com>
215 Carlos O'Donell <carlos@redhat.com>
216
217 [BZ #15755]
218 * config.h.in: Define HAVE_PT_CHOWN.
219 * config.make.in (build-pt-chown): New variable.
220 * configure.in (--enable-pt_chown): New configure option.
221 * configure: Regenerate.
222 * login/Makefile: Include Makeconfig. Build pt_chown only if
223 build-pt-chown is enabled.
224 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
225 pt_chown to fix pty ownership.
226 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
227 CLOSE_ALL_FDS.
228 * manual/install.texi (Configuring and compiling): Mention
229 --enable-pt_chown. Add @findex for grantpt.
230 * INSTALL: Regenerate.
231
232 2013-07-20 David S. Miller <davem@davemloft.net>
233
234 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
235 difference between 32-bit and 64-bit.
236
237 2013-07-15 Carlos O'Donell <carlos@redhat.com>
238
239 [BZ #15711]
240 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
241 Avoid system header dependency with -ffreestanding.
242 ($(objpfx)bits/syscall%d): Likewise.
243
244 2013-07-13 David S. Miller <davem@davemloft.net>
245
246 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
247 underflows from atanl/atan2l due to bug 15319.
248 (casinh_test_data): Likewise.
249
250 2013-07-07 David S. Miller <davem@davemloft.net>
251
252 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
253
254 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
255
256 * sysdeps/i386/fpu/libm-test-ulps: Update.
257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
258
259 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
260
261 * configure.in (--enable-lock-elision): Fix message text.
262 * INSTALL: Regenerate.
263 * configure: Regenerate.
264
265 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
266
267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
268
269 2013-07-03 Andreas Jaeger <aj@suse.de>
270
271 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
272 define.
273 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
274 (ptrace_peeksiginfo_args): Add.
275 (__ptrace_peeksiginfo_flags): Add.
276 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
277 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
278 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
279
280 2013-07-03 Allan McRae <allan@archlinux.org>
281
282 * sysdeps/i386/fpu/libm-test-ulps: Update.
283
284 2013-07-02 David S. Miller <davem@davemloft.net>
285
286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
287
288 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
289
290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
291
292 2013-07-02 Joseph Myers <joseph@codesourcery.com>
293
294 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
296
297 2013-07-02 Andi Kleen <ak@linux.intel.com>
298
299 * config.h.in (ENABLE_LOCK_ELISION): Add.
300 * configure.in (--enable-lock-elision): Add option.
301 * manual/install.texi: Document --enable lock elision.
302 * configure: Regenerate
303 * INSTALL: Regenerate.
304
305 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
306
307 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
308 SSE4.2 strcasecmp for libc.a.
309 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
310
311 2013-07-02 Joseph Myers <joseph@codesourcery.com>
312
313 [BZ #13304]
314 * soft-fp/op-common.h (_FP_FMA): New macro.
315 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
316 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
317 (_FP_MUL_MEAT_1_imm): ... here.
318 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
319 (_FP_MUL_MEAT_1_wide): ... here.
320 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
321 (_FP_MUL_MEAT_1_hard): ... here.
322 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
323 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
324 (_FP_MUL_MEAT_2_wide): ... here.
325 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
326 (_FP_MUL_MEAT_2_wide_3mul): ... here.
327 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
328 (_FP_MUL_MEAT_2_gmp): ... here.
329 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
330 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
331 (_FP_MUL_MEAT_4_wide): ... here.
332 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
333 (_FP_MUL_MEAT_4_gmp): ... here.
334 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
335 (_FP_WFRACBITS_DW_S): Likewise.
336 (_FP_WFRACXBITS_DW_S): Likewise.
337 (_FP_HIGHBIT_DW_S): Likewise.
338 (FP_FMA_S): Likewise.
339 (_FP_FRAC_HIGH_DW_S): Likewise.
340 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
341 (_FP_WFRACBITS_DW_D): Likewise.
342 (_FP_WFRACXBITS_DW_D): Likewise.
343 (_FP_HIGHBIT_DW_D): Likewise.
344 (FP_FMA_D): Likewise.
345 (_FP_FRAC_HIGH_DW_D): Likewise.
346 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
347 (_FP_WFRACBITS_DW_E): Likewise.
348 (_FP_WFRACXBITS_DW_E): Likewise.
349 (_FP_HIGHBIT_DW_E): Likewise.
350 (FP_FMA_E): Likewise.
351 (_FP_FRAC_HIGH_DW_E): Likewise.
352 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
353 (_FP_WFRACBITS_DW_Q): Likewise.
354 (_FP_WFRACXBITS_DW_Q): Likewise.
355 (_FP_HIGHBIT_DW_Q): Likewise.
356 (FP_FMA_Q): Likewise.
357 (_FP_FRAC_HIGH_DW_Q): Likewise.
358 * soft-fp/fmasf4.c: New file.
359 * soft-fp/fmadf4.c: Likewise.
360 * soft-fp/fmatf4.c: Likewise.
361
362 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
363
364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
365 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
366 Silvermont.
367 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
368 macro.
369 (index_Slow_SSE4_2): Likewise.
370 (index_Prefer_PMINUB_for_stringop): Likewise.
371 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
372 bit_Slow_SSE4_2 is set.
373 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
374 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
375
376 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
377
378 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
379 rtld_global._dl_hwcap2.
380 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
381 POWER8.
382 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
383 POWER8 feature descriptions defined in _dl_hwcap2.
384 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
385 string handling for POWER8 feature bits.
386 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
387 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
388 _dl_powerpc_cap_flags.
389 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
390 * sysdeps/powerpc/rtld-global-offsets.sym
391 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
392 _dl_hwcap2 in the rtld_global_ro structure.
393
394 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
395
396 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
397 hardware capabilities in support of AT_HWCAP2.
398 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
399 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
400 GLRO(dl_hwcap2).
401 (_dl_show_auxv): Add support for calling _dl_procinfo to display
402 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
403 explicitly the unknown a_type display mechanism is used.
404 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
405 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
406 struct member.
407 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
408 to macro prototype for AT_HWCAP2 support.
409 * sysdeps/i386/dl-procinfo.h: Likewise.
410 * sysdeps/s390/dl-procinfo.h: Likewise.
411 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
412 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
413 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
414 return -1 for unknown a_type display fallback.
415 * sysdeps/sparc/dl-procinfo.h: Likewise.
416 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
417 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
418
419 2013-06-28 Joseph Myers <joseph@codesourcery.com>
420
421 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
422 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
423
424 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
425
426 [BZ #12492]
427 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
428 mprotect making __stack_prot writable.
429
430 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
431 Joseph Myers <joseph@codesourcery.com>
432
433 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
434 as being properly aligned.
435
436 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
437
438 * dlfcn/modstatic5.c: New file.
439 * dlfcn/tststatic5.c: New file.
440 * dlfcn/Makefile (tests): Add tststatic5.
441 (tests-static): Likewise.
442 (modules-names): Add modstatic5.
443 (tststatic5-ENV): New variable.
444 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
445
446 [BZ #15022]
447 * elf/dl-support.c (_dl_main_map): New variable.
448 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
449 (_dl_nns, _dl_load_adds): Set to 1.
450 (_dl_initial_searchlist): Refer to _dl_main_map.
451 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
452 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
453 call to _dl_get_origin.
454 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
455 around call_map.
456 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
457 * dlfcn/modstatic3.c: New file.
458 * dlfcn/tststatic3.c: New file.
459 * dlfcn/tststatic4.c: New file.
460 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
461 (tests-static): Likewise.
462 (modules-names): Add modstatic3.
463 (tststatic3-ENV, tststatic4-ENV): New variables.
464 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
465 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
466
467 2013-06-26 Joseph Myers <joseph@codesourcery.com>
468
469 * configure.in (CC): Require GCC version 4.4 or later.
470 * configure: Regenerated.
471 * manual/install.texi (Tools for Compilation): Update GCC version
472 requirement.
473 * INSTALL: Regenerated.
474
475 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
476
477 [BZ #15674]
478 * string/test-memcmp.c (check2): New.
479 (main): Call check2.
480
481 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
482
483 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
484
485 [BZ #15022]
486 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
487 over to...
488 (dl_open_worker) [!SHARED]: ... here.
489
490 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
491
492 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
493
494 2013-06-25 Richard Henderson <rth@redhat.com>
495
496 * locale/programs/locarchive.c: Include <libc-internal.h>
497
498 2013-06-25 Joseph Myers <joseph@codesourcery.com>
499
500 * manual/texinfo.tex: Update to version 2013-06-21.17, with
501 trailing whitespace removed.
502
503 2013-06-24 Mike Frysinger <vapier@gentoo.org>
504
505 [BZ #10283]
506 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
507 * locale/programs/locarchive.c: Include libc-mmap.h.
508 (prepare_address_space): Take two new outputs (the mmap base and len).
509 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
510 values.
511 (create_archive): Declare new mmap base and len values for
512 prepare_address_space, and store the result in ah.
513 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
514 (enlarge_archive): If ah->mmap_base is not NULL, use that and
515 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
516 Declare new mmap base and len values for
517 prepare_address_space, and store the result in new_ah.
518 (open_archive): Declare new mmap base and len values for
519 prepare_address_space, and store the result in ah.
520 (close_archive): If ah->mmap_base is not NULL, use that and
521 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
522 * sysdeps/generic/libc-mmap.h: New file.
523
524 2013-06-24 Mike Frysinger <vapier@gentoo.org>
525
526 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
527 (ALIGN_UP): Likewise.
528 (PTR_ALIGN_DOWN): Likewise.
529 (PTR_ALIGN_UP): Likewise.
530
531 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
532
533 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
534 entry mapped to PPC_PLATFORM_POWER8.
535 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
536 POWER8.
537 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
538 (_dl_string_platform): Add case for exporting platform position for
539 POWER8.
540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
541 search path to sysdeps/powerpc/powerpc32/power8 directory.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
543 search path to sysdeps/powerpc/powerpc64/power8 directory.
544 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
545 power7 directories.
546 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
547 power7 directories.
548
549 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
550
551 * INSTALL: Regenerate.
552
553 * nscd/connections.c (nscd_init): Fix comment.
554
555 2013-06-22 Joseph Myers <joseph@codesourcery.com>
556
557 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
558
559 [BZ #15667]
560 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
561 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
562
563 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
564
565 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
566 DL_DST_REQ_STATIC.
567 (DL_DST_REQ_STATIC): Remove macro.
568
569 2013-06-21 Joseph Myers <joseph@codesourcery.com>
570
571 [BZ #7006]
572 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
573 with a shift of 0 bits.
574
575 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
576
577 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
578 $(tststatic-ENV).
579
580 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
581
582 [BZ #15655]
583 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
584
585 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
586
587 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
588 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
589 accepts -fno-tree-loop-distribute-patterns.
590 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
591 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
592 recursive call.
593 * string/memset.c (memset): Likewise.
594 * string/test-memmove.c (simple_memmove): Disable loop transformation
595 to library calls.
596 * string/test-memset.c (simple_memset): Likewise.
597 * benchtests/bench-memmove.c (simple_memmove): Likewise.
598 * benchtests/bench-memset.c (simple_memset): Likewise.
599 * configure: Regenerated.
600
601 2013-06-20 Joseph Myers <joseph@codesourcery.com>
602
603 * math/test-misc.c (main): Ignore fesetround failure when failures
604 of subsequent rounding tests would be ignored.
605
606 [BZ #15654]
607 * math/fedisblxcpt.c (fedisableexcept): Return 0.
608 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
609 * math/fegetenv.c (__fegetenv): Return 0.
610 * math/fegetexcept.c (fegetexcept): Return 0.
611 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
612 FE_TONEAREST.
613 * math/feholdexcpt.c (feholdexcept): Return 0.
614 * math/fesetenv.c (__fesetenv): Return 0.
615 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
616 argument FE_TONEAREST.
617 * math/feupdateenv.c (__feupdateenv): Return 0.
618 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
619
620 2013-06-18 Roland McGrath <roland@hack.frob.com>
621
622 * elf/rtld-Rules (rtld-compile-command.S): New variable.
623 (rtld-compile-command.s, rtld-compile-command.c): New variables.
624 ($(objpfx)rtld-%.os rules): Use them.
625
626 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
627
628 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
629 fields.
630
631 2013-06-17 Roland McGrath <roland@hack.frob.com>
632
633 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
634 length of target pattern, then descending length of dependency pattern.
635 * configure.in (AWK): Require gawk 3.1.2 or newer.
636 * manual/install.texi (Tools for Compilation): Say that we do.
637 * configure: Regenerated.
638
639 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
640 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
641 * scripts/sysd-rules.awk: ... this new script.
642 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
643 than a glob-style pattern.
644
645 2013-06-17 Joseph Myers <joseph@codesourcery.com>
646
647 * math/test-misc.c (main): Do not treat incorrectly rounded
648 conversions as failure unless ROUNDING_TESTS passes.
649
650 2013-06-15 Joseph Myers <joseph@codesourcery.com>
651
652 [BZ #15631]
653 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
654 restore exception state around main square root computation, then
655 check for inexactness explicitly.
656
657 * math/libm-test.inc (fma_test_data): Add another test.
658
659 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
660
661 * manual/threads.texi (Non-POSIX Extensions): New document
662 node. Document pthread_getattr_default_np and
663 pthread_setattr_default_np.
664
665 * Versions.def (libpthread): Add GLIBC_2.18.
666 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
668 Likewise.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
670 Likewise.
671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
672 Likewise.
673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
674 Likewise.
675 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
676 Likewise.
677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
678 Likewise.
679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
680 Likewise.
681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
682 Likewise.
683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
684 Likewise.
685
686 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
687
688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
689 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
690
691 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
692 H.J. Lu <hjl.tools@gmail.com>
693
694 [BZ #15627]
695 * sysdeps/x86_64/rtld-memset.c: Remove file.
696 * sysdeps/x86_64/rtld-memset.S: New file.
697
698 2013-06-14 Joseph Myers <joseph@codesourcery.com>
699
700 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
701 (test_in_one_mode): Take arguments for whether the rounding mode
702 is supported for each floating-point type.
703 (do_test): Pass new arguments to test_in_one_mode using
704 ROUNDING_TESTS.
705
706 2013-06-13 Roland McGrath <roland@hack.frob.com>
707
708 * posix/tst-waitid.c (do_test): Distinguish different instances of
709 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
710 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
711 before entering the kernel for waitpid.
712
713 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
714
715 * NEWS: Fix note on clock function precision. Text by Roland
716 McGrath.
717
718 2013-06-13 Roland McGrath <roland@hack.frob.com>
719
720 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
721 it into place only when and if the sanity check passes.
722
723 2013-06-13 Joseph Myers <joseph@codesourcery.com>
724
725 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
726 output for whether conversion result is exact. Take argument
727 indicating whether type is IBM long double.
728 (round_for_all): Change need_exact field to ibm_ld.
729 * stdlib/tst-strtod-round.c (struct exactness): New type.
730 (struct test): Change bool ld_ok field to struct exactness exact.
731 (TEST): Update all definitions for change to field.
732 (tests): Regenerate array contents.
733 (test_in_one_mode): Take pointer to new field instead of old ld_ok
734 field value. Check for IBM long double here.
735 (do_test): Update calls to test_in_one_mode.
736
737 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
738
739 [BZ #12515]
740 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
741 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
742
743 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
744
745 [BZ #15605]
746 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
747 generated by the compiler on loop optimizations.
748 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
749 general definitions.
750
751 2013-06-12 Joseph Myers <joseph@codesourcery.com>
752
753 * math/bug-nextafter.c: Include <math-tests.h>.
754 (main): Only test for exceptions if EXCEPTION_TESTS is true for
755 the relevant type.
756 * math/bug-nexttoward.c: Include <math-tests.h>.
757 (main): Only test for exceptions if EXCEPTION_TESTS is true for
758 the relevant type.
759 * math/test-misc.c: Include <math-tests.h>.
760 (main): Only test for exceptions if EXCEPTION_TESTS is true for
761 the relevant type.
762
763 2013-06-12 Andreas Jaeger <aj@suse.de>
764
765 * po/ia.po: Update Interlingua translation from translation
766 project.
767
768 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
769
770 * include/fenv.h: Include stdbool.h.
771 (struct rm_ctx): New structure.
772 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
773 Define macro.
774 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
775 (SET_RESTORE_ROUNDF): Likewise.
776 (SET_RESTORE_ROUNDL): Likewise.
777 (SET_RESTORE_ROUND_NOEX): Likewise.
778 (SET_RESTORE_ROUND_NOEXF): Likewise.
779 (SET_RESTORE_ROUND_NOEXL): Likewise.
780 (SET_RESTORE_ROUND_53BIT): Likewise.
781 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
782 (libc_feresetround_noexf_ctx): Likewise.
783 (libc_feresetround_noexl_ctx): Likewise.
784 (libc_feholdsetround_53bit_ctx): Likewise.
785 (libc_feresetround_53bit_ctx): Likewise.
786 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
787 (libc_feholdexcept_setround_sse_ctx): New function.
788 (libc_fesetenv_sse_ctx): Likewise.
789 (libc_feupdateenv_sse_ctx): Likewise.
790 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
791 (libc_feholdexcept_setround_387_ctx): Likewise.
792 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
793 (libc_feholdsetround_387_prec_ctx): Likewise.
794 (libc_feholdsetround_387_ctx): Likewise.
795 (libc_feholdsetround_387_53bit_ctx): Likewise.
796 (libc_feholdsetround_sse_ctx): Likewise.
797 (libc_feresetround_sse_ctx): Likewise.
798 (libc_feresetround_387_ctx): Likewise.
799 (libc_feupdateenv_387_ctx): Likewise.
800 (libc_feholdexcept_setroundf_ctx): Define macro.
801 (libc_fesetenvf_ctx): Likewise.
802 (libc_feupdateenvf_ctx): Likewise.
803 (libc_feholdsetroundf_ctx): Likewise.
804 (libc_feresetroundf_ctx): Likewise.
805 (libc_feholdexcept_setround_ctx): Likewise.
806 (libc_fesetenv_ctx): Likewise.
807 (libc_feupdateenv_ctx): Likewise.
808 (libc_feholdsetround_ctx): Likewise.
809 (libc_feresetround_ctx): Likewise.
810 (libc_feholdexcept_setroundl_ctx): Likewise.
811 (libc_feupdateenvl_ctx): Likewise.
812 (libc_feholdsetroundl_ctx): Likewise.
813 (libc_feresetroundl_ctx): Likewise.
814 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
815 (libc_feresetround_53bit_ctx): Likewise.
816
817 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
818
819 * locale/iso-639.def: Convert to UTF-8.
820
821 2013-06-11 Joseph Myers <joseph@codesourcery.com>
822
823 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
824 (EXCEPTION_TESTS_double): Likewise.
825 (EXCEPTION_TESTS_long_double): Likewise.
826 (EXCEPTION_TESTS): Likewise.
827 * math/libm-test.inc (test_exceptions): Only test exceptions if
828 EXCEPTION_TESTS (FLOAT).
829
830 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
831
832 * benchtests/Makefile (string-bench): Add strcpy_chk and
833 stpcpy_chk.
834 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
835 * benchtests/bench-stpcpy_chk.c: New file.
836 * benchtests/bench-strcpy_chk-ifunc.c: New file.
837 * benchtests/bench-strcpy_chk.c: New file.
838 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
839 code.
840 (do_test): Likewise.
841
842 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
843
844 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
845 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
846 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
847 with tabs where appropriate.
848 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
849 dl-procinfo.h.
850 [PPC_PLATFORM_PPC440]: Likewise.
851 [PPC_PLATFORM_PPC464]: Likewise.
852 [PPC_PLATFORM_PPC476]: Likewise.
853 (_dl_string_platform): Add support for detecting ppc405, ppc440,
854 ppc464, and ppc476 platform strings merging from ports/
855 dl-procinfo.h.
856
857 2013-06-11 Andreas Schwab <schwab@suse.de>
858
859 [BZ #14991]
860 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
861 (from_ucs4_idx): Regenerate.
862 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
863 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
864 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
865 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
866 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
867 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
868 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
869 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
870 from FROM_LOOP and TO_LOOP specific macros.
871 (BODY): Handle combining characters.
872 * iconvdata/BIG5HKSCS.irreversible: Update.
873 * iconvdata/BIG5HKSCS.precomposed: New file.
874 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
875 characters.
876 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
877
878 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
879
880 * include/sys/time.h: Fix indentation and add copyright header.
881
882 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
883 (do_test): Likewise.
884 * string/test-memchr.c (do_one_test): Likewise.
885 (do_test): Likewise.
886 * string/test-memcmp.c (do_one_test): Likewise.
887 (do_test): Likewise.
888 * string/test-memcpy.c (do_one_test): Likewise.
889 (do_test): Likewise.
890 * string/test-memmem.c (do_one_test): Likewise.
891 (do_test): Likewise.
892 (do_random_tests): Likewise.
893 * string/test-memmove.c (do_one_test): Likewise.
894 (do_test): Likewise.
895 * string/test-memset.c (do_one_test): Likewise.
896 (do_test): Likewise.
897 * string/test-rawmemchr.c (do_one_test): Likewise.
898 (do_test): Likewise.
899 * string/test-strcasecmp.c (do_one_test): Likewise.
900 (do_test): Likewise.
901 * string/test-strcasestr.c (do_one_test): Likewise.
902 (do_test): Likewise.
903 * string/test-strcat.c (do_one_test): Likewise.
904 (do_test): Likewise.
905 * string/test-strchr.c (do_one_test): Likewise.
906 (do_test): Likewise.
907 * string/test-strcmp.c (do_one_test): Likewise.
908 (do_test): Likewise.
909 * string/test-strcpy.c (do_one_test): Likewise.
910 (do_test): Likewise.
911 * string/test-string.h: Likewise.
912 (test_init): Likewise.
913 * string/test-strlen.c (do_one_test): Likewise.
914 (do_test): Likewise.
915 * string/test-strncasecmp.c (do_one_test): Likewise.
916 (do_test): Likewise.
917 * string/test-strncat.c (do_one_test): Likewise.
918 (do_test): Likewise.
919 * string/test-strncmp.c (do_one_test): Likewise.
920 (do_test_limit): Likewise.
921 (do_test): Likewise.
922 * string/test-strncpy.c (do_one_test): Likewise.
923 (do_test): Likewise.
924 * string/test-strnlen.c (do_one_test): Likewise.
925 (do_test): Likewise.
926 * string/test-strpbrk.c (do_one_test): Likewise.
927 (do_test): Likewise.
928 * string/test-strrchr.c (do_one_test): Likewise.
929 (do_test): Likewise.
930 * string/test-strspn.c (do_one_test): Likewise.
931 (do_test): Likewise.
932 * string/test-strstr.c (do_one_test): Likewise.
933 (do_test): Likewise.
934
935 * benchtests/Makefile (string-bench): Add string benchmarks.
936 * benchtests/bench-bcopy-ifunc.c: New file.
937 * benchtests/bench-bcopy.c: New file.
938 * benchtests/bench-bzero-ifunc.c: New file.
939 * benchtests/bench-bzero.c: New file.
940 * benchtests/bench-memccpy-ifunc.c: New file.
941 * benchtests/bench-memccpy.c: New file.
942 * benchtests/bench-memchr-ifunc.c: New file.
943 * benchtests/bench-memchr.c: New file.
944 * benchtests/bench-memcmp-ifunc.c: New file.
945 * benchtests/bench-memcmp.c: New file.
946 * benchtests/bench-memmem-ifunc.c: New file.
947 * benchtests/bench-memmem.c: New file.
948 * benchtests/bench-memmove-ifunc.c: New file.
949 * benchtests/bench-memmove.c: New file.
950 * benchtests/bench-mempcpy-ifunc.c: New file.
951 * benchtests/bench-mempcpy.c: New file.
952 * benchtests/bench-memset-ifunc.c: New file.
953 * benchtests/bench-memset.c: New file.
954 * benchtests/bench-rawmemchr-ifunc.c: New file.
955 * benchtests/bench-rawmemchr.c: New file.
956 * benchtests/bench-stpcpy-ifunc.c: New file.
957 * benchtests/bench-stpcpy.c: New file.
958 * benchtests/bench-stpncpy-ifunc.c: New file.
959 * benchtests/bench-stpncpy.c: New file.
960 * benchtests/bench-strcasecmp-ifunc.c: New file.
961 * benchtests/bench-strcasecmp.c: New file.
962 * benchtests/bench-strcasestr-ifunc.c: New file.
963 * benchtests/bench-strcasestr.c: New file.
964 * benchtests/bench-strcat-ifunc.c: New file.
965 * benchtests/bench-strcat.c: New file.
966 * benchtests/bench-strchr-ifunc.c: New file.
967 * benchtests/bench-strchr.c: New file.
968 * benchtests/bench-strchrnul-ifunc.c: New file.
969 * benchtests/bench-strchrnul.c: New file.
970 * benchtests/bench-strcmp-ifunc.c: New file.
971 * benchtests/bench-strcmp.c: New file.
972 * benchtests/bench-strcpy-ifunc.c: New file.
973 * benchtests/bench-strcpy.c: New file.
974 * benchtests/bench-strcspn-ifunc.c: New file.
975 * benchtests/bench-strcspn.c: New file.
976 * benchtests/bench-strlen-ifunc.c: New file.
977 * benchtests/bench-strlen.c: New file.
978 * benchtests/bench-strncasecmp-ifunc.c: New file.
979 * benchtests/bench-strncasecmp.c: New file.
980 * benchtests/bench-strncat-ifunc.c: New file.
981 * benchtests/bench-strncat.c: New file.
982 * benchtests/bench-strncmp-ifunc.c: New file.
983 * benchtests/bench-strncmp.c: New file.
984 * benchtests/bench-strncpy-ifunc.c: New file.
985 * benchtests/bench-strncpy.c: New file.
986 * benchtests/bench-strnlen-ifunc.c: New file.
987 * benchtests/bench-strnlen.c: New file.
988 * benchtests/bench-strpbrk-ifunc.c: New file.
989 * benchtests/bench-strpbrk.c: New file.
990 * benchtests/bench-strrchr-ifunc.c: New file.
991 * benchtests/bench-strrchr.c: New file.
992 * benchtests/bench-strspn-ifunc.c: New file.
993 * benchtests/bench-strspn.c: New file.
994 * benchtests/bench-strstr-ifunc.c: New file.
995 * benchtests/bench-strstr.c: New file.
996
997 * benchtests/Makefile: Disable parallel execution of targets.
998 (string-bench): Add memcpy.
999 (benchset): New variable to store a list of benchmark sets.
1000 (bench-func): Renamed from bench.
1001 (bench-set): New target.
1002 (bench): Depend on bench-func and bench-set.
1003 * benchtests/README: Add section on benchmark sets.
1004 * benchtests/bench-memcpy-ifunc.c: New file.
1005 * benchtests/bench-memcpy.c: New file.
1006 * benchtests/bench-string.h: New file.
1007
1008 2013-06-11 Andreas Schwab <schwab@suse.de>
1009
1010 [BZ #15577]
1011 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1012 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1013 values in the triple.
1014 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1015 terminator in the group key.
1016
1017 2013-06-11 Andreas Jaeger <aj@suse.de>
1018
1019 * po/zh_TW.po: Update Chinese (traditional) translation from
1020 translation project.
1021
1022 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1023
1024 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1025 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1026 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1027 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1028 (clock_getcpuclockid): Likewise.
1029 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1030 Add weak_alias and libc_hidden_def.
1031 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1032 * rt/clock_gettime.c (clock_gettime): Rename to
1033 __clock_gettime. Add weak_alias and libc_hidden_def.
1034 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1035 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1036 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1037 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1038 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1039 Likewise.
1040 * rt/clock_settime.c (clock_settime): Rename to
1041 __clock_settime. Add weak_alias and libc_hidden_def.
1042 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1043
1044 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1045
1046 * mach/err_boot.sub: Remove trailing whitespace.
1047 * mach/err_ipc.sub: Likewise.
1048 * mach/err_mach.sub: Likewise.
1049
1050 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1051 (ROUNDING_TESTS_double): Likewise.
1052 (ROUNDING_TESTS_long_double): Likewise.
1053 (ROUNDING_TESTS): Likewise.
1054 * math/libm-test.inc: Include <math-tests.h>.
1055 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1056 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1057 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1058 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1059
1060 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1061
1062 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1063 of assigning.
1064
1065 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1066
1067 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1068 otherwise empty TRANS lines.
1069 * sysdeps/gnu/errlist.c: Regenerated.
1070
1071 * catgets/gencat.c (error_print): Use (void) in function
1072 definition.
1073 * crypt/crypt_util.c (__init_des): Likewise.
1074 * crypt/speeds.c (Stop): Likewise.
1075 (main): Likewise.
1076 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1077 * inet/ruserpass.c (token): Likewise.
1078 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1079 * intl/localealias.c (extend_alias_table): Likewise.
1080 * intl/plural-exp.c (init_germanic_plural): Likewise.
1081 * libio/fcloseall.c (__fcloseall): Likewise.
1082 * libio/genops.c (_IO_flush_all): Likewise.
1083 (_IO_flush_all_linebuffered): Likewise.
1084 (_IO_cleanup): Likewise.
1085 (_IO_iter_begin): Likewise.
1086 (_IO_iter_end): Likewise.
1087 (_IO_list_lock): Likewise.
1088 (_IO_list_unlock): Likewise.
1089 (_IO_list_resetlock): Likewise.
1090 * libio/getchar.c (getchar): Likewise.
1091 * libio/getchar_u.c (getchar_unlocked): Likewise.
1092 * libio/getwchar.c (getwchar): Likewise.
1093 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1094 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1095 * login/getpt.c (__getpt): Likewise.
1096 * login/tst-utmp.c (main): Likewise.
1097 * malloc/hooks.c (__malloc_check_init): Likewise.
1098 * malloc/malloc.c (__malloc_stats): Likewise.
1099 * malloc/mtrace.c (tr_break): Likewise.
1100 (mtrace): Likewise.
1101 (muntrace): Likewise.
1102 * misc/fstab.c (endfsent): Likewise.
1103 * misc/getclktck.c (__getclktck): Likewise.
1104 * misc/getdtsz.c (__getdtablesize): Likewise.
1105 * misc/gethostid.c (gethostid): Likewise.
1106 * misc/getpagesize.c (__getpagesize): Likewise.
1107 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1108 (__get_nprocs): Likewise.
1109 (__get_phys_pages): Likewise.
1110 (__get_avphys_pages): Likewise.
1111 * misc/getttyent.c (getttyent): Likewise.
1112 (setttyent): Likewise.
1113 (endttyent): Likewise.
1114 * misc/getusershell.c (getusershell): Likewise.
1115 (endusershell): Likewise.
1116 (setusershell): Likewise.
1117 (initshells): Likewise.
1118 * misc/hsearch.c (__hdestroy): Likewise.
1119 * misc/sync.c (sync): Likewise.
1120 * misc/syslog.c (closelog_internal): Likewise.
1121 (closelog): Likewise.
1122 * misc/ttyslot.c (ttyslot): Likewise.
1123 * misc/vhangup.c (vhangup): Likewise.
1124 * posix/fork.c (__fork): Likewise.
1125 * posix/getegid.c (__getegid): Likewise.
1126 * posix/geteuid.c (__geteuid): Likewise.
1127 * posix/getgid.c (__getgid): Likewise.
1128 * posix/getpid.c (__getpid): Likewise.
1129 * posix/getppid.c (__getppid): Likewise.
1130 * posix/getuid.c (__getuid): Likewise.
1131 * posix/pause.c (pause): Likewise.
1132 * posix/setpgrp.c (setpgrp): Likewise.
1133 * posix/setsid.c (__setsid): Likewise.
1134 * posix/test-vfork.c (noop): Likewise.
1135 * resolv/gethnamaddr.c (_endhtent): Likewise.
1136 (_gethtent): Likewise.
1137 (ht_endhostent): Likewise.
1138 (gethostent): Likewise.
1139 (dns_service): Likewise.
1140 * stdlib/drand48.c (drand48): Likewise.
1141 * stdlib/lrand48.c (lrand48): Likewise.
1142 * stdlib/mrand48.c (mrand48): Likewise.
1143 * stdlib/rand.c (rand): Likewise.
1144 * stdlib/random.c (__random): Likewise.
1145 * stdlib/setenv.c (clearenv): Likewise.
1146 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1147 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1148 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1149 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1150 (__get_nprocs): Likewise.
1151 (__get_phys_pages): Likewise.
1152 (__get_avphys_pages): Likewise.
1153 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1154 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1155 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1156 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1157 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1158 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1159 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1160 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1161 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1162 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1163 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1164 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1165 * sysdeps/posix/clock.c (clock): Likewise.
1166 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1167 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1168 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1169 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1170 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1172 (__get_nprocs_conf): Likewise.
1173 (__get_phys_pages): Likewise.
1174 (__get_avphys_pages): Likewise.
1175 * time/clock.c (clock): Likewise.
1176 * time/tzset.c (__tzname_max): Likewise.
1177
1178 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1179
1180 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1181 (__bswap_32): Do not use "register".
1182 * crypt/crypt.c (_ufc_doit_r): Likewise.
1183 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1184 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1185 * gmon/gmon.c (__monstartup): Likewise.
1186 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1187 * hurd/hurdmalloc.c (more_memory): Likewise.
1188 (malloc): Likewise.
1189 (free): Likewise.
1190 (realloc): Likewise.
1191 (malloc_fork_prepare): Likewise.
1192 (malloc_fork_parent): Likewise.
1193 (malloc_fork_child): Likewise.
1194 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1195 (_svcauth_des): Likewise.
1196 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1197 * inet/inet_net.c (inet_network): Likewise.
1198 * inet/inet_netof.c (inet_netof): Likewise.
1199 * inet/rcmd.c (__validuser2_sa): Likewise.
1200 * io/fts.c (fts_open): Likewise.
1201 (fts_load): Likewise.
1202 (fts_close): Likewise.
1203 (fts_read): Likewise.
1204 (fts_children): Likewise.
1205 (fts_build): Likewise.
1206 (fts_stat): Likewise.
1207 (fts_sort): Likewise.
1208 (fts_alloc): Likewise.
1209 (fts_lfree): Likewise.
1210 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1211 (_IO_file_xsgetn): Likewise.
1212 (_IO_file_xsgetn_mmap): Likewise.
1213 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1214 (_IO_cookie_write): Likewise.
1215 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1216 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1217 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1218 * malloc/obstack.c (_obstack_begin): Likewise.
1219 (_obstack_begin_1): Likewise.
1220 (_obstack_newchunk): Likewise.
1221 (_obstack_allocated_p): Likewise.
1222 (obstack_free): Likewise.
1223 (_obstack_memory_used): Likewise.
1224 * misc/getttyent.c (getttynam): Likewise.
1225 (getttyent): Likewise.
1226 (skip): Likewise.
1227 (value): Likewise.
1228 * misc/getusershell.c (initshells): Likewise.
1229 * misc/syslog.c (__vsyslog_chk): Likewise.
1230 * misc/ttyslot.c (ttyslot): Likewise.
1231 * nis/nis_hash.c (__nis_hash): Likewise.
1232 * posix/fnmatch_loop.c (FCT): Likewise.
1233 * posix/getconf.c (print_all): Likewise.
1234 (main): Likewise.
1235 * posix/getopt.c (exchange): Likewise.
1236 * posix/glob.c (globfree): Likewise.
1237 (prefix_array): Likewise.
1238 (__glob_pattern_type): Likewise.
1239 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1240 (NS_GET32): Likewise.
1241 (NS_PUT16): Likewise.
1242 (NS_PUT32): Likewise.
1243 * resolv/gethnamaddr.c (getanswer): Likewise.
1244 (gethostbyname2): Likewise.
1245 (gethostbyaddr): Likewise.
1246 (_gethtent): Likewise.
1247 (_gethtbyname2): Likewise.
1248 (_gethtbyaddr): Likewise.
1249 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1250 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1251 * resolv/res_init.c (__res_vinit): Likewise.
1252 (net_mask): Likewise.
1253 * resolv/res_mkquery.c (outchar): Likewise.
1254 (PRINT): Likewise.
1255 * stdio-common/printf_fp.c (outchar): Likewise.
1256 (PRINT): Likewise.
1257 * stdio-common/printf_fphex.c (outchar): Likewise.
1258 (PRINT): Likewise.
1259 * stdio-common/printf_size.c (outchar): Likewise.
1260 (PRINT): Likewise.
1261 * stdio-common/test_rdwr.c (main): Likewise.
1262 * stdio-common/tfformat.c (matches): Likewise.
1263 * stdio-common/vfprintf.c (outchar): Likewise.
1264 (printf_unknown): Likewise.
1265 (buffered_vfprintf): Likewise.
1266 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1267 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1268 (ReadFile): Likewise.
1269 * stdlib/qsort.c (SWAP): Likewise.
1270 (_quicksort): Likewise.
1271 * stdlib/setenv.c (__add_to_environ): Likewise.
1272 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1273 * stdlib/strtol_l.c (__strtol_l): Likewise.
1274 * stdlib/tst-strtod.c (main): Likewise.
1275 * stdlib/tst-strtol.c (main): Likewise.
1276 * stdlib/tst-strtoll.c (main): Likewise.
1277 * string/bits/string2.h (__strcmp_cc): Likewise.
1278 (__strcmp_cg): Likewise.
1279 (__strcspn_c1): Likewise.
1280 (__strcspn_c2): Likewise.
1281 (__strcspn_c3): Likewise.
1282 (__strspn_c1): Likewise.
1283 (__strspn_c2): Likewise.
1284 (__strspn_c3): Likewise.
1285 (__strsep_1c): Likewise.
1286 (__strsep_2c): Likewise.
1287 (__strsep_3c): Likewise.
1288 * string/memccpy.c (__memccpy): Likewise.
1289 * string/stpcpy.c (__stpcpy): Likewise.
1290 * string/strcmp.c (strcmp): Likewise.
1291 * string/strrchr.c (strrchr): Likewise.
1292 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1293 Likewise.
1294 * sysdeps/mach/hurd/getcwd.c
1295 (_hurd_canonicalize_directory_name_internal): Likewise.
1296 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1297 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1298 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1299 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1300 Likewise, in both definitions.
1301 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1302 definitions.
1303 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1304 64] (__bswap_64): Likewise.
1305 * time/test_time.c (main): Likewise.
1306 * time/tzfile.c (__tzfile_read): Likewise.
1307 (__tzfile_compute): Likewise.
1308 * time/tzset.c (__tzset_parse_tz): Likewise.
1309 (tzset_internal): Likewise.
1310 (compute_change): Likewise.
1311 * wcsmbs/wcscat.c (__wcscat): Likewise.
1312 * wcsmbs/wcschr.c (wcschr): Likewise.
1313 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1314 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1315 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1316 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1317 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1318 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1319 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1320 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1321 * wcsmbs/wmemset.c (wmemset): Likewise.
1322
1323 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1324
1325 * scripts/config.guess: Update to version 2013-05-16.
1326 * scripts/config.sub: Update to version 2013-04-24.
1327 * scripts/install-sh: Update to version 2011-11-20.07.
1328 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1329 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1330
1331 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1332
1333 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1334 * elf/sln.c: Likewise.
1335 * hurd/hurd/ioctl.h: Likewise.
1336 * hurd/hurdmalloc.c: Likewise.
1337 * hurd/xattr.c: Likewise.
1338 * include/shlib-compat.h: Likewise.
1339 * inet/ruserpass.c: Likewise.
1340 * libio/iofgets_u.c: Likewise.
1341 * libio/iofgetws_u.c: Likewise.
1342 * locale/programs/ld-identification.c: Likewise.
1343 * locale/programs/ld-time.c: Likewise.
1344 * mach/msg-destroy.c: Likewise.
1345 * nss/nss_files/files-netgrp.c: Likewise.
1346 * resolv/res_data.c: Likewise.
1347 * soft-fp/op-1.h: Likewise.
1348 * soft-fp/op-2.h: Likewise.
1349 * soft-fp/op-4.h: Likewise.
1350 * soft-fp/op-common.h: Likewise.
1351 * stdio-common/printf_fphex.c: Likewise.
1352 * stdlib/strtod_l.c: Likewise.
1353 * sunrpc/rpc/clnt.h: Likewise.
1354 * sysdeps/generic/framestate.c: Likewise.
1355 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1356 * sysdeps/i386/bsd-setjmp.S: Likewise.
1357 * sysdeps/i386/__longjmp.S: Likewise.
1358 * sysdeps/i386/setjmp.S: Likewise.
1359 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1360 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1361 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1362 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1363 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1367 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1368 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1369 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1370 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1371 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1374 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1375 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1376 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1377 * sysdeps/ieee754/support.c: Likewise.
1378 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1379 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1380 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1381 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1382 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1383 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1384 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1385 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1386 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1387 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1388 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1389 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1390 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1391 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1392 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1393 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1394 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1396
1397 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1398
1399 * posix/transbug.c: Remove executable mode.
1400
1401 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1402
1403 * crypt/speeds.c: Remove trailing whitespace.
1404 * dlfcn/default.c: Likewise.
1405 * elf/ifuncdep2.c: Likewise.
1406 * elf/ifuncmain1.c: Likewise.
1407 * elf/ifuncmain1vis.c: Likewise.
1408 * elf/testobj.h: Likewise.
1409 * elf/tst-stackguard1.c: Likewise.
1410 * gmon/sys/gmon.h: Likewise.
1411 * hurd/hurdmsg.c: Likewise.
1412 * hurd/new-fd.c: Likewise.
1413 * hurd/ports-get.c: Likewise.
1414 * iconvdata/ibm1008_420.c: Likewise.
1415 * inet/tst-getni1.c: Likewise.
1416 * inet/tst-getni2.c: Likewise.
1417 * libio/ioungetc.c: Likewise.
1418 * libio/wfiledoalloc.c: Likewise.
1419 * manual/libm-err-tab.pl: Likewise.
1420 * math/w_dremf.c: Likewise.
1421 * misc/ftruncate.c: Likewise.
1422 * posix/bug-glob2.c: Likewise.
1423 * posix/tst-pcre.c: Likewise.
1424 * posix/wait4.c: Likewise.
1425 * resolv/README: Likewise.
1426 * resolv/res_debug.h: Likewise.
1427 * resolv/tst-inet_ntop.c: Likewise.
1428 * setjmp/bug269-setjmp.c: Likewise.
1429 * soft-fp/extended.h: Likewise.
1430 * soft-fp/op-1.h: Likewise.
1431 * soft-fp/op-2.h: Likewise.
1432 * soft-fp/op-4.h: Likewise.
1433 * soft-fp/op-8.h: Likewise.
1434 * soft-fp/testit.c: Likewise.
1435 * stdio-common/bug16.c: Likewise.
1436 * stdlib/random.c: Likewise.
1437 * sunrpc/rpcsvc/rquota.x: Likewise.
1438 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1439 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1440 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1441 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1442 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1443 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1444 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1445 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1446 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1447 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1448 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1449 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1450 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1451 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1452 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1453 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1454 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1455 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1456 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1457 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1458 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1459 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1460 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1461 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1462 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1463 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1464 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1465 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1466 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1467 * sysdeps/ieee754/s_lib_version.c: Likewise.
1468 * sysdeps/mach/hurd/check_fds.c: Likewise.
1469 * sysdeps/mach/hurd/getsockname.c: Likewise.
1470 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1471 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1472 * sysdeps/powerpc/bits/link.h: Likewise.
1473 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1474 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1475 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1476 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1477 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1478 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1479 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1480 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1481 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1482 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1483 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1484 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1485 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1486 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1487 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1488 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1489 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1490 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1491 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1492 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1494 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1496 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1497 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1498 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1499 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1500 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1501 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1502 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1503 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1504 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1505 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1506 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1507 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1508 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1509 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1510 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1511 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1512 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1513 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1514 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1515 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1516 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1517 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1518 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1519 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1520 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1521 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1522 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1523 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1524 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1525 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1526 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1527 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1528 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1529 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1530 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1532 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1533 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1534 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1535 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1536 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1537 * sysdeps/powerpc/sysdep.h: Likewise.
1538 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1539 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1540 * sysdeps/sh/dl-trampoline.S: Likewise.
1541 * sysdeps/sh/memset.S: Likewise.
1542 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1543 * sysdeps/sh/strlen.S: Likewise.
1544 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1545 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1546 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1547 * sysdeps/sparc/sparc32/rem.S: Likewise.
1548 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1549 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1550 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1551 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1552 * sysdeps/sparc/sparc32/urem.S: Likewise.
1553 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1554 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1555 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1556 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1557 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1558 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1559 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1560 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1561 * sysdeps/unix/bsd/times.c: Likewise.
1562 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1563 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1567 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1568 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1569 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1570 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1571 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1572 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1573 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1574 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1575 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1576 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1577 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1578 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1579 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1580 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1581 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1582 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1583 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1584 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1585 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1586 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1587 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1588 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1589 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1590 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1591 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1592 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1593 * sysdeps/x86_64/strcspn.S: Likewise.
1594
1595 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1596
1597 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1598 generated file. Regenerate properly from gen-translit.pl.
1599 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1600 locale/C-translit.h.
1601
1602 2013-06-05 Andreas Schwab <schwab@suse.de>
1603
1604 [BZ #15100]
1605 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1606 week as 6 instead of -1.
1607 * time/tst-strptime.c (day_tests): Add test case.
1608
1609 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1610
1611 * sysdeps/generic/math_private.h
1612 (libc_feholdexcept_setround_53bit): Replace with
1613 libc_feholdsetround_53bit.
1614 (libc_feupdateenv_53bit): Replace with
1615 libc_feresetround_53bit.
1616 (SET_RESTORE_ROUND_53BIT): Adjust.
1617
1618 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1619
1620 * string/test-strchrnul.c: Add copyright header.
1621
1622 * posix/tst-getaddrinfo4.c: Increase test timeout.
1623
1624 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1625
1626 [BZ #15536]
1627 * math/libm-test.inc (MAX_EXP): Remove
1628 (MIN_EXP): Define.
1629 (ulp): Use MIN_EXP - MANT_DIG.
1630 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1631
1632 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1633
1634 * po/be.po: Revert last change.
1635 * po/zh_CN.po: Likewise.
1636 * po/header.pot: Likewise.
1637
1638 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1639
1640 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1641 link-libc-deps to empty as target-specific variable.
1642 * Makerules (link-libc-args): New variable.
1643 (libc-for-link): Likewise.
1644 (link-libc-deps): Likewise.
1645 (lib%.so): Depend on $(link-libc-deps). Link with
1646 $(link-libc-args).
1647 (build-module): Link with $(link-libc-args).
1648 (build-module-asneeded): Likewise.
1649 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1650 list of objects.
1651 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1652 target-specific variable.
1653 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1654 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1655 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1656 libc.
1657 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1658 libc and ld.so.
1659 ($(objpfx)libpcprofile.so): Likewise.
1660 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1661 libc_nonshared.a.
1662 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1663 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1664 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1665 $(link-libc-deps).
1666 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1667 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1668 * login/Makefile ($(objpfx)libutil.so): Likewise.
1669 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1670 * math/Makefile ($(objpfx)libm.so): Likewise.
1671 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1672 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1673 variable instead of depending directly on libc.
1674 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1675 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1676 $(link-libc-deps).
1677 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1678 libc.
1679 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1680 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1681 ($(objpfx)libanl.so): Likewise.
1682 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1683 ld.so.
1684 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1685 $(link-libc-deps).
1686 * sysdeps/i386/fpu/Makefile: Remove file.
1687 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1688 ($(objpfx)libm.so): Remove dependency on ld.so.
1689
1690 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1691
1692 [BZ # 15553]
1693 * nis/yp_xdr.c (XDRMAXNAME): Define.
1694 (XDRMAXRECORD): Define.
1695 (xdr_domainname): Use XDRMAXNAME.
1696 (xdr_mapname): Likewise.
1697 (xdr_peername): Likewise.
1698 (xdr_keydat): Use XDRMAXRECORD.
1699 (xdr_valdat): Likewise.
1700
1701 2013-05-30 Jeff Law <law@redhat.com>
1702
1703 [BZ #14256]
1704 * manual/errno.texi (ESTALE): Update to account for more than
1705 just NFS file systems.
1706 * sysdeps/gnu/errlist.c: Regenerated.
1707
1708 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1709
1710 [BZ #15465]
1711 * elf/Makefile (tests): Add tst-null-argv.
1712 (modules-names): Add tst-null-argv-lib.
1713 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1714 (tst-null-argv-ENV): Set environment for tst-null-argv.
1715 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1716 (RTLD_PROGNAME): New macro.
1717 * elf/tst-null-argv.c: New test case.
1718 * elf/tst-null-argv-lib.c: Library for test case.
1719 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1720 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1721 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1722 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1723 * elf/dl-init.c (call_init): Likewise.
1724 (_dl_init): Likewise.
1725 * elf/dl-load.c (print_search_path): Likewise.
1726 (_dl_map_object): Likewise.
1727 * elf/dl-lookup.c (do_lookup_x): Likewise.
1728 (add_dependency): Likewise.
1729 (_dl_lookup_symbol_x): Likewise.
1730 (_dl_debug_bindings): Likewise.
1731 * elf/dl-open.c (_dl_show_scope): Likewise.
1732 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1733 * elf/dl-version.c (match_symbol): Likewise.
1734 (_dl_check_map_versions): Likewise.
1735 * elf/rtld.c (dl_main): Likewise.
1736 (print_unresolved): Use RTLD_PROGNAME.
1737 (print_missing_version): Likewise.
1738 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1739 (elf_machine_rela): Likewise.
1740 * sysdeps/powerpc/powerpc32/dl-machine.c
1741 (__process_machine_rela): Likewise.
1742 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1743 Likewise.
1744 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1745 Likewise.
1746 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1747 Likewise.
1748 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1750 Likewise.
1751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1752 Likewise.
1753 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1754
1755 2013-05-28 Carlos O'Donell <carlos@redhat.com>
1756
1757 * po/be.po: Add descriptive title.
1758 * po/zh_CN.po: Likewise.
1759 * po/header.pot: Likewise.
1760
1761 2013-05-28 Mike Frysinger <vapier@gentoo.org>
1762
1763 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1764 error message.
1765 (enlarge_archive): Likewise.
1766
1767 2013-05-28 Ben North <ben@redfrontdoor.org>
1768
1769 * manual/arith.texi (frexp): It is the magnitude of the return
1770 value which lies in [0.5, 1), not the return value itself.
1771
1772 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1773
1774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1775
1776 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1777
1778 * stdio-common/bug26.c (main): Correct fscanf template.
1779
1780 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1781 declare _dl_skip_args.
1782
1783 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1784 Don't declare.
1785
1786 * manual/platform.texi: Add missing @end deftypefun.
1787
1788 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1789
1790 [BZ #15529]
1791 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1792 bit of mantissa of 2^16382.
1793 * math/libm-test.inc (hypot_test_data): Add more tests.
1794
1795 * math/libm-test.inc: Add drem and pow10 to list of tested
1796 functions.
1797 (pow10_test): New function.
1798 (drem_test): Likewise.
1799 (drem_test_tonearest): Likewise.
1800 (drem_test_towardzero): Likewise.
1801 (drem_test_downward): Likewise.
1802 (drem_test_upward): Likewise.
1803 (main): Call the new functions.
1804
1805 * math/libm-test.inc (finite_test_data): Remove.
1806 (finite_test): Run tests from isfinite_test_data.
1807 (gamma_test_data): Remove.
1808 (gamma_test): Run tests from lgamma_test_data.
1809 * sysdeps/i386/fpu/libm-test-ulps: Update.
1810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1811
1812 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1813
1814 * manual/platform.texi: Add PowerPC PPR function set documentation.
1815 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1816 implementation.
1817
1818 2013-05-24 Carlos O'Donell <carlos@redhat.com>
1819
1820 * math/libm-test.inc (MAX_EXP): Define.
1821 (ULPDIFF): Define.
1822 (ulp): New function.
1823 (check_float_internal): Use ULPDIFF.
1824 (cpow_test): Disable failing test.
1825 (check_ulp): Test ulp() implemetnation.
1826 (main): Call check_ulp before starting tests.
1827
1828 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1829
1830 * math/gen-libm-test.pl (generate_testfile): Do not handle
1831 START_DATA and END_DATA.
1832 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1833 END_DATA.
1834 (acos_tonearest_test_data): Likewise.
1835 (acos_towardzero_test_data): Likewise.
1836 (acos_downward_test_data): Likewise.
1837 (acos_upward_test_data): Likewise.
1838 (acosh_test_data): Likewise.
1839 (asin_test_data): Likewise.
1840 (asin_tonearest_test_data): Likewise.
1841 (asin_towardzero_test_data): Likewise.
1842 (asin_downward_test_data): Likewise.
1843 (asin_upward_test_data): Likewise.
1844 (asinh_test_data): Likewise.
1845 (atan_test_data): Likewise.
1846 (atanh_test_data): Likewise.
1847 (atan2_test_data): Likewise.
1848 (cabs_test_data): Likewise.
1849 (cacos_test_data): Likewise.
1850 (cacosh_test_data): Likewise.
1851 (carg_test_data): Likewise.
1852 (casin_test_data): Likewise.
1853 (casinh_test_data): Likewise.
1854 (catan_test_data): Likewise.
1855 (catanh_test_data): Likewise.
1856 (cbrt_test_data): Likewise.
1857 (ccos_test_data): Likewise.
1858 (ccosh_test_data): Likewise.
1859 (ceil_test_data): Likewise.
1860 (cexp_test_data): Likewise.
1861 (cimag_test_data): Likewise.
1862 (clog_test_data): Likewise.
1863 (clog10_test_data): Likewise.
1864 (conj_test_data): Likewise.
1865 (copysign_test_data): Likewise.
1866 (cos_test_data): Likewise.
1867 (cos_tonearest_test_data): Likewise.
1868 (cos_towardzero_test_data): Likewise.
1869 (cos_downward_test_data): Likewise.
1870 (cos_upward_test_data): Likewise.
1871 (cosh_test_data): Likewise.
1872 (cosh_tonearest_test_data): Likewise.
1873 (cosh_towardzero_test_data): Likewise.
1874 (cosh_downward_test_data): Likewise.
1875 (cosh_upward_test_data): Likewise.
1876 (cpow_test_data): Likewise.
1877 (cproj_test_data): Likewise.
1878 (creal_test_data): Likewise.
1879 (csin_test_data): Likewise.
1880 (csinh_test_data): Likewise.
1881 (csqrt_test_data): Likewise.
1882 (ctan_test_data): Likewise.
1883 (ctan_tonearest_test_data): Likewise.
1884 (ctan_towardzero_test_data): Likewise.
1885 (ctan_downward_test_data): Likewise.
1886 (ctan_upward_test_data): Likewise.
1887 (ctanh_test_data): Likewise.
1888 (ctanh_tonearest_test_data): Likewise.
1889 (ctanh_towardzero_test_data): Likewise.
1890 (ctanh_downward_test_data): Likewise.
1891 (ctanh_upward_test_data): Likewise.
1892 (erf_test_data): Likewise.
1893 (erfc_test_data): Likewise.
1894 (exp_test_data): Likewise.
1895 (exp_tonearest_test_data): Likewise.
1896 (exp_towardzero_test_data): Likewise.
1897 (exp_downward_test_data): Likewise.
1898 (exp_upward_test_data): Likewise.
1899 (exp10_test_data): Likewise.
1900 (exp2_test_data): Likewise.
1901 (expm1_test_data): Likewise.
1902 (fabs_test_data): Likewise.
1903 (fdim_test_data): Likewise.
1904 (finite_test_data): Likewise.
1905 (floor_test_data): Likewise.
1906 (fma_test_data): Likewise.
1907 (fma_towardzero_test_data): Likewise.
1908 (fma_downward_test_data): Likewise.
1909 (fma_upward_test_data): Likewise.
1910 (fmax_test_data): Likewise.
1911 (fmin_test_data): Likewise.
1912 (fmod_test_data): Likewise.
1913 (fpclassify_test_data): Likewise.
1914 (frexp_test_data): Likewise.
1915 (gamma_test_data): Likewise.
1916 (hypot_test_data): Likewise.
1917 (ilogb_test_data): Likewise.
1918 (isfinite_test_data): Likewise.
1919 (isgreater_test_data): Likewise.
1920 (isgreaterequal_test_data): Likewise.
1921 (isinf_test_data): Likewise.
1922 (isless_test_data): Likewise.
1923 (islessequal_test_data): Likewise.
1924 (islessgreater_test_data): Likewise.
1925 (isnan_test_data): Likewise.
1926 (isnormal_test_data): Likewise.
1927 (issignaling_test_data): Likewise.
1928 (isunordered_test_data): Likewise.
1929 (j0_test_data): Likewise.
1930 (j1_test_data): Likewise.
1931 (jn_test_data): Likewise.
1932 (ldexp_test_data): Likewise.
1933 (lgamma_test_data): Likewise.
1934 (lrint_test_data): Likewise.
1935 (lrint_tonearest_test_data): Likewise.
1936 (lrint_towardzero_test_data): Likewise.
1937 (lrint_downward_test_data): Likewise.
1938 (lrint_upward_test_data): Likewise.
1939 (llrint_test_data): Likewise.
1940 (llrint_tonearest_test_data): Likewise.
1941 (llrint_towardzero_test_data): Likewise.
1942 (llrint_downward_test_data): Likewise.
1943 (llrint_upward_test_data): Likewise.
1944 (log_test_data): Likewise.
1945 (log10_test_data): Likewise.
1946 (log1p_test_data): Likewise.
1947 (log2_test_data): Likewise.
1948 (logb_test_data): Likewise.
1949 (logb_downward_test_data): Likewise.
1950 (lround_test_data): Likewise.
1951 (llround_test_data): Likewise.
1952 (modf_test_data): Likewise.
1953 (nearbyint_test_data): Likewise.
1954 (nextafter_test_data): Likewise.
1955 (nexttoward_test_data): Likewise.
1956 (pow_test_data): Likewise.
1957 (pow_tonearest_test_data): Likewise.
1958 (pow_towardzero_test_data): Likewise.
1959 (pow_downward_test_data): Likewise.
1960 (pow_upward_test_data): Likewise.
1961 (remainder_test_data): Likewise.
1962 (remainder_tonearest_test_data): Likewise.
1963 (remainder_towardzero_test_data): Likewise.
1964 (remainder_downward_test_data): Likewise.
1965 (remainder_upward_test_data): Likewise.
1966 (remquo_test_data): Likewise.
1967 (rint_test_data): Likewise.
1968 (rint_tonearest_test_data): Likewise.
1969 (rint_towardzero_test_data): Likewise.
1970 (rint_downward_test_data): Likewise.
1971 (rint_upward_test_data): Likewise.
1972 (round_test_data): Likewise.
1973 (scalb_test_data): Likewise.
1974 (scalbn_test_data): Likewise.
1975 (scalbln_test_data): Likewise.
1976 (signbit_test_data): Likewise.
1977 (sin_test_data): Likewise.
1978 (sin_tonearest_test_data): Likewise.
1979 (sin_towardzero_test_data): Likewise.
1980 (sin_downward_test_data): Likewise.
1981 (sin_upward_test_data): Likewise.
1982 (sincos_test_data): Likewise.
1983 (sinh_test_data): Likewise.
1984 (sinh_tonearest_test_data): Likewise.
1985 (sinh_towardzero_test_data): Likewise.
1986 (sinh_downward_test_data): Likewise.
1987 (sinh_upward_test_data): Likewise.
1988 (sqrt_test_data): Likewise.
1989 (tan_test_data): Likewise.
1990 (tan_tonearest_test_data): Likewise.
1991 (tan_towardzero_test_data): Likewise.
1992 (tan_downward_test_data): Likewise.
1993 (tan_upward_test_data): Likewise.
1994 (tanh_test_data): Likewise.
1995 (tgamma_test_data): Likewise.
1996 (trunc_test_data): Likewise.
1997 (y0_test_data): Likewise.
1998 (y1_test_data): Likewise.
1999 (yn_test_data): Likewise.
2000 (significand_test_data): Likewise.
2001
2002 * math/gen-libm-test.pl (@functions): Remove variable.
2003 (generate_testfile): Don't handle START and END lines.
2004 * math/libm-test.inc (START): New macro.
2005 (END): Likewise.
2006 (END_COMPLEX): Likewise.
2007 (acos_test): Use END macro without arguments.
2008 (acos_test_tonearest): Likewise.
2009 (acos_test_towardzero): Likewise.
2010 (acos_test_downward): Likewise.
2011 (acos_test_upward): Likewise.
2012 (acosh_test): Likewise.
2013 (asin_test): Likewise.
2014 (asin_test_tonearest): Likewise.
2015 (asin_test_towardzero): Likewise.
2016 (asin_test_downward): Likewise.
2017 (asin_test_upward): Likewise.
2018 (asinh_test): Likewise.
2019 (atan_test): Likewise.
2020 (atanh_test): Likewise.
2021 (atan2_test): Likewise.
2022 (cabs_test): Likewise.
2023 (cacos_test): Use END_COMPLEX macro without arguments.
2024 (cacosh_test): Likewise.
2025 (carg_test): Use END macro without arguments.
2026 (casin_test): Use END_COMPLEX macro without arguments.
2027 (casinh_test): Likewise.
2028 (catan_test): Likewise.
2029 (catanh_test): Likewise.
2030 (cbrt_test): Use END macro without arguments.
2031 (ccos_test): Use END_COMPLEX macro without arguments.
2032 (ccosh_test): Likewise.
2033 (ceil_test): Use END macro without arguments.
2034 (cexp_test): Use END_COMPLEX macro without arguments.
2035 (cimag_test): Use END macro without arguments.
2036 (clog_test): Use END_COMPLEX macro without arguments.
2037 (clog10_test): Likewise.
2038 (conj_test): Likewise.
2039 (copysign_test): Use END macro without arguments.
2040 (cos_test): Likewise.
2041 (cos_test_tonearest): Likewise.
2042 (cos_test_towardzero): Likewise.
2043 (cos_test_downward): Likewise.
2044 (cos_test_upward): Likewise.
2045 (cosh_test): Likewise.
2046 (cosh_test_tonearest): Likewise.
2047 (cosh_test_towardzero): Likewise.
2048 (cosh_test_downward): Likewise.
2049 (cosh_test_upward): Likewise.
2050 (cpow_test): Use END_COMPLEX macro without arguments.
2051 (cproj_test): Likewise.
2052 (creal_test): Use END macro without arguments.
2053 (csin_test): Use END_COMPLEX macro without arguments.
2054 (csinh_test): Likewise.
2055 (csqrt_test): Likewise.
2056 (ctan_test): Likewise.
2057 (ctan_test_tonearest): Likewise.
2058 (ctan_test_towardzero): Likewise.
2059 (ctan_test_downward): Likewise.
2060 (ctan_test_upward): Likewise.
2061 (ctanh_test): Likewise.
2062 (ctanh_test_tonearest): Likewise.
2063 (ctanh_test_towardzero): Likewise.
2064 (ctanh_test_downward): Likewise.
2065 (ctanh_test_upward): Likewise.
2066 (erf_test): Use END macro without arguments.
2067 (erfc_test): Likewise.
2068 (exp_test): Likewise.
2069 (exp_test_tonearest): Likewise.
2070 (exp_test_towardzero): Likewise.
2071 (exp_test_downward): Likewise.
2072 (exp_test_upward): Likewise.
2073 (exp10_test): Likewise.
2074 (exp2_test): Likewise.
2075 (expm1_test): Likewise.
2076 (fabs_test): Likewise.
2077 (fdim_test): Likewise.
2078 (finite_test): Likewise.
2079 (floor_test): Likewise.
2080 (fma_test): Likewise.
2081 (fma_test_towardzero): Likewise.
2082 (fma_test_downward): Likewise.
2083 (fma_test_upward): Likewise.
2084 (fmax_test): Likewise.
2085 (fmin_test): Likewise.
2086 (fmod_test): Likewise.
2087 (fpclassify_test): Likewise.
2088 (frexp_test): Likewise.
2089 (gamma_test): Likewise.
2090 (hypot_test): Likewise.
2091 (ilogb_test): Likewise.
2092 (isfinite_test): Likewise.
2093 (isgreater_test): Likewise.
2094 (isgreaterequal_test): Likewise.
2095 (isinf_test): Likewise.
2096 (isless_test): Likewise.
2097 (islessequal_test): Likewise.
2098 (islessgreater_test): Likewise.
2099 (isnan_test): Likewise.
2100 (isnormal_test): Likewise.
2101 (issignaling_test): Likewise.
2102 (isunordered_test): Likewise.
2103 (j0_test): Likewise.
2104 (j1_test): Likewise.
2105 (jn_test): Likewise.
2106 (ldexp_test): Likewise.
2107 (lgamma_test): Likewise.
2108 (lrint_test): Likewise.
2109 (lrint_test_tonearest): Likewise.
2110 (lrint_test_towardzero): Likewise.
2111 (lrint_test_downward): Likewise.
2112 (lrint_test_upward): Likewise.
2113 (llrint_test): Likewise.
2114 (llrint_test_tonearest): Likewise.
2115 (llrint_test_towardzero): Likewise.
2116 (llrint_test_downward): Likewise.
2117 (llrint_test_upward): Likewise.
2118 (log_test): Likewise.
2119 (log10_test): Likewise.
2120 (log1p_test): Likewise.
2121 (log2_test): Likewise.
2122 (logb_test): Likewise.
2123 (logb_test_downward): Likewise.
2124 (lround_test): Likewise.
2125 (llround_test): Likewise.
2126 (modf_test): Likewise.
2127 (nearbyint_test): Likewise.
2128 (nextafter_test): Likewise.
2129 (nexttoward_test): Likewise.
2130 (pow_test): Likewise.
2131 (pow_test_tonearest): Likewise.
2132 (pow_test_towardzero): Likewise.
2133 (pow_test_downward): Likewise.
2134 (pow_test_upward): Likewise.
2135 (remainder_test): Likewise.
2136 (remainder_test_tonearest): Likewise.
2137 (remainder_test_towardzero): Likewise.
2138 (remainder_test_downward): Likewise.
2139 (remainder_test_upward): Likewise.
2140 (remquo_test): Likewise.
2141 (rint_test): Likewise.
2142 (rint_test_tonearest): Likewise.
2143 (rint_test_towardzero): Likewise.
2144 (rint_test_downward): Likewise.
2145 (rint_test_upward): Likewise.
2146 (round_test): Likewise.
2147 (scalb_test): Likewise.
2148 (scalbn_test): Likewise.
2149 (scalbln_test): Likewise.
2150 (signbit_test): Likewise.
2151 (sin_test): Likewise.
2152 (sin_test_tonearest): Likewise.
2153 (sin_test_towardzero): Likewise.
2154 (sin_test_downward): Likewise.
2155 (sin_test_upward): Likewise.
2156 (sincos_test): Likewise.
2157 (sinh_test): Likewise.
2158 (sinh_test_tonearest): Likewise.
2159 (sinh_test_towardzero): Likewise.
2160 (sinh_test_downward): Likewise.
2161 (sinh_test_upward): Likewise.
2162 (sqrt_test): Likewise.
2163 (tan_test): Likewise.
2164 (tan_test_tonearest): Likewise.
2165 (tan_test_towardzero): Likewise.
2166 (tan_test_downward): Likewise.
2167 (tan_test_upward): Likewise.
2168 (tanh_test): Likewise.
2169 (tgamma_test): Likewise.
2170 (trunc_test): Likewise.
2171 (y0_test): Likewise.
2172 (y1_test): Likewise.
2173 (yn_test): Likewise.
2174 (significand_test): Likewise.
2175
2176 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2177
2178 [BZ #15381]
2179 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2180
2181 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2182
2183 [BZ #14894]
2184 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2185 __ppc_mdoio and __ppc_mdoom.
2186 * manual/platform.texi: Document new functions __ppc_yield,
2187 __ppc_mdoio and __ppc_mdoom.
2188
2189 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2190
2191 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2192 (main): Mention "tls" pseudo-hwcap is legacy.
2193 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2194
2195 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2196
2197 * math/gen-libm-test.pl (parse_args): Output only string of
2198 arguments as text for test name, not full call or descriptions of
2199 tests for extra outputs.
2200 (generate_testfile): Do not pass function name to parse_args.
2201 Generate this_func variable from START.
2202 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2203 field to arg_str.
2204 (struct test_ff_f_data): Likewise.
2205 (test_ff_f_data_nexttoward): Likewise.
2206 (struct test_fi_f_data): Likewise.
2207 (struct test_fl_f_data): Likewise.
2208 (struct test_if_f_data): Likewise.
2209 (struct test_fff_f_data): Likewise.
2210 (struct test_c_f_data): Likewise.
2211 (struct test_f_f1_data): Likewise. Remove field extra_name.
2212 (struct test_fF_f1_data): Likewise.
2213 (struct test_ffI_f1_data): Likewise.
2214 (struct test_c_c_data): Rename test_name field to arg_str.
2215 (struct test_cc_c_data): Likewise.
2216 (struct test_f_i_data): Likewise.
2217 (struct test_ff_i_data): Likewise.
2218 (struct test_f_l_data): Likewise.
2219 (struct test_f_L_data): Likewise.
2220 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2221 and extra2_name.
2222 (COMMON_TEST_SETUP): New macro.
2223 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2224 (COMMON_TEST_CLEANUP): Likewise.
2225 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2226 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2227 macros.
2228 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2229 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2230 macros.
2231 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2232 (RUN_TEST_fff_f): Take argument string. Call new setup and
2233 cleanup macros.
2234 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2235 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2236 macros.
2237 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2238 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2239 macros.
2240 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2241 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2242 cleanup macros.
2243 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2244 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2245 cleanup macros.
2246 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2247 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2248 cleanup macros.
2249 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2250 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2251 macros.
2252 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2253 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2254 macros.
2255 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2256 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2257 macros.
2258 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2259 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2260 cleanup macros.
2261 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2262 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2263 cleanup macros.
2264 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2265 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2266 macros.
2267 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2268 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2269 cleanup macros.
2270 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2271 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2272 macros.
2273 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2274 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2275 macros.
2276 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2277 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2278 cleanup macros.
2279 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2280
2281 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2282
2283 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2284 to _sifields.sigfault.
2285 (si_addr_lsb): Define new macro.
2286 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2287 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2288 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2289
2290 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2291
2292 [BZ #15441]
2293 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2294 returns -1.
2295 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2296 null return -1.
2297 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2298 loading the domain.
2299
2300 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2301
2302 * math/gen-libm-test.pl (parse_args): Do not include expected
2303 result in test name.
2304 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2305 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2306 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2307 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2308 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2310
2311 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2312
2313 * benchtests/Makefile: Sort function entries.
2314
2315 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2316 tanh, asinh, acosh, atanh.
2317 * benchtests/acos-inputs: New file.
2318 * benchtests/acosh-inputs: New file.
2319 * benchtests/asin-inputs: New file.
2320 * benchtests/asinh-inputs: New file.
2321 * benchtests/atanh-inputs: New file.
2322 * benchtests/cosh-inputs: New file.
2323 * benchtests/log-inputs: New file.
2324 * benchtests/sinh-inputs: New file.
2325 * benchtests/tanh-inputs: New file.
2326
2327 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2328
2329 [BZ #15339]
2330 * posix/tst-getaddrinfo4.c: New test.
2331 * posix/Makefile (tests): Add it.
2332
2333 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2334
2335 [BZ #15339]
2336 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2337 when no services were used.
2338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2339 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2340
2341 2013-05-21 Andreas Schwab <schwab@suse.de>
2342
2343 [BZ #15014]
2344 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2345 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2346 successful.
2347 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2348 redundant variable declarations and reallocation of buffer when
2349 parsing as IPv6 address. Always set NSS status when called from
2350 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2351 buffer too small. Correct computation of needed size.
2352 * nss/Makefile (tests): Add test-digits-dots.
2353 * nss/test-digits-dots.c: New test.
2354
2355 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2356
2357 * benchtests/Makefile: Remove instructions for adding
2358 benchmark tests.
2359 * benchtests/README: New file to explain how to execute and
2360 enhance the benchmark tests.
2361
2362 2013-05-21 Andreas Schwab <schwab@suse.de>
2363
2364 [BZ #15493]
2365 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2366 * setjmp/tst-sigsetjmp.c: New test.
2367
2368 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2369
2370 * sysdeps/x86_64/memset.S (memset): New implementation.
2371 (__bzero): Likewise.
2372 (__memset_tail): New function.
2373
2374 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2375
2376 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2377 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2378 __memcpy_sse2_unaligned ifunc selection.
2379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2380 Add memcpy-sse2-unaligned.S.
2381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2382 Add: __memcpy_sse2_unaligned.
2383
2384 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2385
2386 [BZ #15490]
2387 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2388 math_force_eval before restoring floating-point envrionment.
2389 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2390 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2391 Likewise.
2392 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2393 <math_private.h>.
2394 (__nearbyintl): Use math_force_eval before restoring
2395 floating-point environment.
2396 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2397
2398 * math/gen-libm-test.pl (special_functions): Remove.
2399 (parse_args): Don't handle TEST_extra. Handle functions with no
2400 return value.
2401 * math/libm-test.inc (struct test_sincos_data): Replace with
2402 struct test_fFF_11_data.
2403 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2404 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2405 (sincos_test_data): Change element type to struct
2406 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2407 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2408 RUN_TEST_LOOP_sincos.
2409 * math/README.libm-test: Don't mention special handling of
2410 individual functions.
2411 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2412 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2413 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2414 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2415 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2417
2418 * math/gen-libm-test.pl (get_variable): Remove function.
2419 (parse_args): Don't show pointer parameters to call in test
2420 names. Use "extra output N" in test names for extra outputs
2421 rather than naming variables.
2422
2423 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2424
2425 [BZ #15488]
2426 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2427 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2428 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2429 double tests.
2430 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2431 disable.
2432 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2433 check_long_double.
2434
2435 * math/gen-libm-test.pl (@tests): Remove variable.
2436 ($count): Likewise.
2437 (new_test): Remove function.
2438 (show_exceptions): New function.
2439 (special_functions): Use show_exceptions instead of new_test.
2440 (parse_args): Likewise.
2441 (generate_testfile): Pass only function name in generated call to
2442 print_max_error or print_complex_max_error.
2443 (get_ulps): Do not handle complex tests specially.
2444 (output_test): Rename to ...
2445 (get_all_ulps_for_test): ... this. Return a string rather than
2446 printing to a file. Require ulps to be present.
2447 (output_ulps): Generate arrays rather than #defines.
2448 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2449 (struct ulp_data): New type.
2450 (BUILD_COMPLEX_ULP): Remove macro.
2451 (compare_ulp_data): New function.
2452 (find_ulps): Likewise.
2453 (find_test_ulps): Likewise.
2454 (find_function_ulps): Likewise.
2455 (find_complex_function_ulps): Likewise.
2456 (print_max_error): Determine allowed ulps using
2457 find_function_ulps.
2458 (print_complex_max_error): Determine allowed ulps using
2459 find_complex_function_ulps.
2460 (check_float_internal): Determine max ulps using find_test_ulps.
2461 (check_float): Do not take max_ulp parameter. Update call to
2462 check_float_internal.
2463 (check_complex): Likewise.
2464 (check_int): Do not take max_ulp parameter.
2465 (check_long): Likewise.
2466 (check_bool): Likewise.
2467 (check_longlong): Likewise.
2468 (struct test_f_f_data): Remove max_ulp field.
2469 (struct test_ff_f_data): Likewise.
2470 (struct test_ff_f_data_nexttoward): Likewise.
2471 (struct test_fi_f_data): Likewise.
2472 (struct test_fl_f_data): Likewise.
2473 (struct test_if_f_data): Likewise.
2474 (struct test_fff_f_data): Likewise.
2475 (struct test_c_f_data): Likewise.
2476 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2477 (struct test_fF_f1_data): Likewise.
2478 (struct test_ffI_f1_data): Likewise.
2479 (struct test_c_c_data): Remove max_ulp field.
2480 (struct test_cc_c_data): Likewise.
2481 (struct test_f_i_data): Likewise.
2482 (struct test_ff_i_data): Likewise.
2483 (struct test_f_l_data): Likewise.
2484 (struct test_f_L_data): Likewise.
2485 (struct test_sincos_data): Likewise.
2486 (RUN_TEST_f_f): Do not handle ulps.
2487 (RUN_TEST_LOOP_f_f): Likewise.
2488 (RUN_TEST_2_f): Likewise.
2489 (RUN_TEST_LOOP_2_f): Likewise.
2490 (RUN_TEST_fff_f): Likewise.
2491 (RUN_TEST_LOOP_fff_f): Likewise.
2492 (RUN_TEST_c_f): Likewise.
2493 (RUN_TEST_LOOP_c_f): Likewise.
2494 (RUN_TEST_f_f1): Likewise.
2495 (RUN_TEST_LOOP_f_f1): Likewise.
2496 (RUN_TEST_fF_f1): Likewise.
2497 (RUN_TEST_LOOP_fF_f1): Likewise.
2498 (RUN_TEST_fI_f1): Likewise.
2499 (RUN_TEST_LOOP_fI_f1): Likewise.
2500 (RUN_TEST_ffI_f1): Likewise.
2501 (RUN_TEST_LOOP_ffI_f1): Likewise.
2502 (RUN_TEST_c_c): Likewise.
2503 (RUN_TEST_LOOP_c_c): Likewise.
2504 (RUN_TEST_cc_c): Likewise.
2505 (RUN_TEST_LOOP_cc_c): Likewise.
2506 (RUN_TEST_f_i): Likewise.
2507 (RUN_TEST_LOOP_f_i): Likewise.
2508 (RUN_TEST_f_i_tg): Likewise.
2509 (RUN_TEST_LOOP_f_i_tg): Likewise.
2510 (RUN_TEST_ff_i_tg): Likewise.
2511 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2512 (RUN_TEST_f_b): Likewise.
2513 (RUN_TEST_LOOP_f_b): Likewise.
2514 (RUN_TEST_f_b_tg): Likewise.
2515 (RUN_TEST_LOOP_f_b_tg): Likewise.
2516 (RUN_TEST_f_l): Likewise.
2517 (RUN_TEST_LOOP_f_l): Likewise.
2518 (RUN_TEST_f_L): Likewise.
2519 (RUN_TEST_LOOP_f_L): Likewise.
2520 (RUN_TEST_sincos): Likewise.
2521 (RUN_TEST_LOOP_sincos): Likewise.
2522
2523 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2524
2525 [BZ #15480]
2526 [BZ #15485]
2527 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2528 main case of finite arguments, set rounding mode to FE_TONEAREST
2529 and discard exceptions.
2530 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2531 exceptions.
2532 (remainder_tonearest_test_data): New variable.
2533 (remainder_test_tonearest): New function.
2534 (remainder_towardzero_test_data): New variable.
2535 (remainder_test_towardzero): New function.
2536 (remainder_downward_test_data): New variable.
2537 (remainder_test_downward): New function.
2538 (remainder_upward_test_data): New variable.
2539 (remainder_test_upward): New function.
2540 (main): Call the new test functions.
2541
2542 * math/libm-test.inc (struct test_f_f1_data): Remove field
2543 extra_init.
2544 (struct test_fF_f1_data): Likewise.
2545 (struct test_ffI_f1_data): Likewise.
2546 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2547 based on value of EXTRA_EXPECTED.
2548 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2549 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2550 EXTRA_VAR based on value of EXTRA_EXPECTED.
2551 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2552 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2553 EXTRA_VAR based on value of EXTRA_EXPECTED.
2554 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2555 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2556 EXTRA_VAR based on value of EXTRA_EXPECTED.
2557 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2558 * math/gen-libm-test.pl (parse_args): Don't output initializers
2559 for extra output values.
2560
2561 * math/libm-test.inc (check_int): Expect result to be exactly
2562 equal to expected value and do not handle ulps.
2563 (check_long): Likewise.
2564 (check_longlong): Likewise.
2565
2566 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2567 exceptions.
2568 (cimag_test_data): Likewise.
2569 (conj_test_data): Likewise.
2570 (copysign_test_data): Likewise.
2571 (cproj_test_data): Likewise.
2572 (creal_test_data): Likewise.
2573 (fabs_test_data): Likewise.
2574 (fdim_test_data): Likewise.
2575 (finite_test_data): Likewise.
2576 (floor_test_data): Likewise.
2577 (fmax_test_data): Likewise.
2578 (fmin_test_data): Likewise.
2579 (fmod_test_data): Likewise.
2580 (fpclassify_test_data): Likewise.
2581 (frexp_test_data): Likewise.
2582 (ilogb_test_data): Likewise.
2583 (isfinite_test_data): Likewise.
2584 (isgreater_test_data): Likewise.
2585 (isgreaterequal_test_data): Likewise.
2586 (isinf_test_data): Likewise.
2587 (isless_test_data): Likewise.
2588 (islessequal_test_data): Likewise.
2589 (islessgreater_test_data): Likewise.
2590 (isnan_test_data): Likewise.
2591 (isnormal_test_data): Likewise.
2592 (issignaling_test_data): Likewise.
2593 (isunordered_test_data): Likewise.
2594 (ldexp_test_data): Likewise.
2595 (lrint_test_data): Likewise.
2596 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2597 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2598 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2599 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2600 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2601 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2602 test input.
2603 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2604 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2605 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2606 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2607 that test input.
2608 (lrint_downward_test_data): Test for "inexact" exceptions.
2609 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2610 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2611 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2612 test input.
2613 (lrint_upward_test_data): Test for "inexact" exceptions.
2614 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2615 test input.
2616 (llrint_test_data): Test for "inexact" exceptions.
2617 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2618 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2619 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2620 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2621 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2622 (llrint_downward_test_data): Test for "inexact" exceptions.
2623 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2624 (llrint_upward_test_data): Test for "inexact" exceptions.
2625 (logb_test_data): Likewise.
2626 (logb_downward_test_data): Likewise.
2627 (nextafter_test_data): Likewise.
2628 (nexttoward_test_data): Likewise.
2629 (remainder_test_data): Likewise.
2630 (remquo_test_data): Likewise.
2631 (scalbn_test_data): Likewise.
2632 (scalbln_test_data): Likewise.
2633 (signbit_test_data): Likewise.
2634 (sqrt_test_data): Likewise.
2635 (significand_test_data): Likewise.
2636
2637 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2638
2639 [BZ #15424]
2640 * benchtests/bench-modf.c (struct args): Mark arg0 as
2641 volatile.
2642 * scripts/bench.pl: Mark members of struct args as volatile.
2643
2644 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2645
2646 [BZ # 15497]
2647 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2648 negative infinity on POWER6 or lower.
2649 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2650
2651 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2652
2653 [BZ #15442]
2654 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2655 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2656 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2657 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2658 (_FP_SETQNAN): New macro.
2659 (_FP_SETQNAN_SEMIRAW): Likewise.
2660 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2661 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2662 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2663 (FP_EXTEND): Use _FP_FRAC_SNANP.
2664 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2665 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2666 into account.
2667 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2668 New macro.
2669 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2670 Likewise.
2671
2672 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2673
2674 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2675 with DIVIDE_BY_ZERO_EXCEPTION.
2676 (gamma_test_data): Likewise.
2677 (lgamma_test_data): Likewise.
2678 (log_test_data): Likewise.
2679 (log10_test_data): Likewise.
2680 (log2_test_data): Likewise.
2681 (tgamma_test_data): Likewise.
2682
2683 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2684 (acos_test_tonearest): Likewise.
2685 (acos_test_towardzero): Likewise.
2686 (acos_test_downward): Likewise.
2687 (acos_test_upward): Likewise.
2688 (acosh_test): Likewise.
2689 (asin_test): Likewise.
2690 (asin_test_tonearest): Likewise.
2691 (asin_test_towardzero): Likewise.
2692 (asin_test_downward): Likewise.
2693 (asin_test_upward): Likewise.
2694 (asinh_test): Likewise.
2695 (atan_test): Likewise.
2696 (atanh_test): Likewise.
2697 (atan2_test): Likewise.
2698 (cabs_test): Likewise.
2699 (cacos_test): Likewise.
2700 (cacosh_test): Likewise.
2701 (casin_test): Likewise.
2702 (casinh_test): Likewise.
2703 (catan_test): Likewise.
2704 (catanh_test): Likewise.
2705 (cbrt_test): Likewise.
2706 (ccos_test): Likewise.
2707 (ccosh_test): Likewise.
2708 (cexp_test): Likewise.
2709 (clog_test): Likewise.
2710 (clog10_test): Likewise.
2711 (cos_test): Likewise.
2712 (cos_test_tonearest): Likewise.
2713 (cos_test_towardzero): Likewise.
2714 (cos_test_downward): Likewise.
2715 (cos_test_upward): Likewise.
2716 (cosh_test): Likewise.
2717 (cosh_test_tonearest): Likewise.
2718 (cosh_test_towardzero): Likewise.
2719 (cosh_test_downward): Likewise.
2720 (cosh_test_upward): Likewise.
2721 (cpow_test): Likewise.
2722 (csin_test): Likewise.
2723 (csinh_test): Likewise.
2724 (csqrt_test): Likewise.
2725 (ctan_test): Likewise.
2726 (ctan_test_tonearest): Likewise.
2727 (ctan_test_towardzero): Likewise.
2728 (ctan_test_downward): Likewise.
2729 (ctan_test_upward): Likewise.
2730 (ctanh_test): Likewise.
2731 (ctanh_test_tonearest): Likewise.
2732 (ctanh_test_towardzero): Likewise.
2733 (ctanh_test_downward): Likewise.
2734 (ctanh_test_upward): Likewise.
2735 (erf_test): Likewise.
2736 (erfc_test): Likewise.
2737 (exp_test): Likewise.
2738 (exp_test_tonearest): Likewise.
2739 (exp_test_towardzero): Likewise.
2740 (exp_test_downward): Likewise.
2741 (exp_test_upward): Likewise.
2742 (exp10_test): Likewise.
2743 (exp2_test): Likewise.
2744 (expm1_test): Likewise.
2745 (fmod_test): Likewise.
2746 (gamma_test): Likewise.
2747 (hypot_test): Likewise.
2748 (j0_test): Likewise.
2749 (j1_test): Likewise.
2750 (jn_test): Likewise.
2751 (lgamma_test): Likewise.
2752 (log_test): Likewise.
2753 (log10_test): Likewise.
2754 (log1p_test): Likewise.
2755 (log2_test): Likewise.
2756 (logb_test_downward): Likewise.
2757 (pow_test): Likewise.
2758 (pow_test_tonearest): Likewise.
2759 (pow_test_towardzero): Likewise.
2760 (pow_test_downward): Likewise.
2761 (pow_test_upward): Likewise.
2762 (remainder_test): Likewise.
2763 (remquo_test): Likewise.
2764 (sin_test): Likewise.
2765 (sin_test_tonearest): Likewise.
2766 (sin_test_towardzero): Likewise.
2767 (sin_test_downward): Likewise.
2768 (sin_test_upward): Likewise.
2769 (sincos_test): Likewise.
2770 (sinh_test): Likewise.
2771 (sinh_test_tonearest): Likewise.
2772 (sinh_test_towardzero): Likewise.
2773 (sinh_test_downward): Likewise.
2774 (sinh_test_upward): Likewise.
2775 (sqrt_test): Likewise.
2776 (tan_test): Likewise.
2777 (tan_test_tonearest): Likewise.
2778 (tan_test_towardzero): Likewise.
2779 (tan_test_downward): Likewise.
2780 (tan_test_upward): Likewise.
2781 (tanh_test): Likewise.
2782 (tgamma_test): Likewise.
2783 (y0_test): Likewise.
2784 (y1_test): Likewise.
2785 (yn_test): Likewise.
2786
2787 * math/gen-libm-test.pl (adjust_arg): Remove function.
2788 (special_function): Remove argument $in_func. Only handle
2789 generating output for tables of tests, not inside functions.
2790 (parse_args): Likewise.
2791 (generate_testfile): Remove variable $in_func. Update call to
2792 parse_args.
2793 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2794 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2795 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2796 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2797 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2798 (MAX_VALUE_INIT): Rename macro to max_value.
2799 (MIN_VALUE_INIT): Rename macro to min_value.
2800 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2801 (plus_zero): Remove variable.
2802 (minus_zero): Likewise.
2803 (plus_infty): Likewise.
2804 (minus_infty): Likewise.
2805 (qnan_value): Likewise.
2806 (max_value): Likewise.
2807 (min_value): Likewise.
2808 (min_subnorm_value): Likewise.
2809
2810 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2811
2812 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2813 uint64_t or uint32_t usage.
2814 * crypt/sha256-block.c: Likewise.
2815 * crypt/sha256-crypt.c: Likewise.
2816 * crypt/sha256.c: Likewise.
2817 * crypt/sha512-block.c: Likewise.
2818 * crypt/sha512-crypt.c: Likewise.
2819 * crypt/sha512.c: Likewise.
2820 * debug/backtrace-tst.c: Likewise.
2821 * debug/pcprofiledump.c: Likewise.
2822 * elf/cache.c: Likewise.
2823 * elf/dl-cache.c: Likewise.
2824 * elf/dl-misc.c: Likewise.
2825 * elf/dl-profile.c: Likewise.
2826 * elf/dl-support.c: Likewise.
2827 * elf/ldconfig.c: Likewise.
2828 * elf/sprof.c: Likewise.
2829 * iconv/dummy-repertoire.c: Likewise.
2830 * iconv/iconv_charmap.c: Likewise.
2831 * iconv/skeleton.c: Likewise.
2832 * iconvdata/8bit-generic.c: Likewise.
2833 * iconvdata/cp737.h: Likewise.
2834 * iconvdata/cp775.h: Likewise.
2835 * iconvdata/ibm1008.h: Likewise.
2836 * iconvdata/ibm1025.h: Likewise.
2837 * iconvdata/ibm1046.h: Likewise.
2838 * iconvdata/ibm1097.h: Likewise.
2839 * iconvdata/ibm1112.h: Likewise.
2840 * iconvdata/ibm1122.h: Likewise.
2841 * iconvdata/ibm1123.h: Likewise.
2842 * iconvdata/ibm1124.h: Likewise.
2843 * iconvdata/ibm1129.h: Likewise.
2844 * iconvdata/ibm1130.h: Likewise.
2845 * iconvdata/ibm1132.h: Likewise.
2846 * iconvdata/ibm1133.h: Likewise.
2847 * iconvdata/ibm1137.h: Likewise.
2848 * iconvdata/ibm1140.h: Likewise.
2849 * iconvdata/ibm1141.h: Likewise.
2850 * iconvdata/ibm1142.h: Likewise.
2851 * iconvdata/ibm1143.h: Likewise.
2852 * iconvdata/ibm1144.h: Likewise.
2853 * iconvdata/ibm1145.h: Likewise.
2854 * iconvdata/ibm1146.h: Likewise.
2855 * iconvdata/ibm1147.h: Likewise.
2856 * iconvdata/ibm1148.h: Likewise.
2857 * iconvdata/ibm1149.h: Likewise.
2858 * iconvdata/ibm1153.h: Likewise.
2859 * iconvdata/ibm1154.h: Likewise.
2860 * iconvdata/ibm1155.h: Likewise.
2861 * iconvdata/ibm1156.h: Likewise.
2862 * iconvdata/ibm1157.h: Likewise.
2863 * iconvdata/ibm1158.h: Likewise.
2864 * iconvdata/ibm1160.h: Likewise.
2865 * iconvdata/ibm1161.h: Likewise.
2866 * iconvdata/ibm1162.h: Likewise.
2867 * iconvdata/ibm1163.h: Likewise.
2868 * iconvdata/ibm1164.h: Likewise.
2869 * iconvdata/ibm1166.h: Likewise.
2870 * iconvdata/ibm1167.h: Likewise.
2871 * iconvdata/ibm12712.h: Likewise.
2872 * iconvdata/ibm1390.h: Likewise.
2873 * iconvdata/ibm1399.h: Likewise.
2874 * iconvdata/ibm16804.h: Likewise.
2875 * iconvdata/ibm4517.h: Likewise.
2876 * iconvdata/ibm4899.h: Likewise.
2877 * iconvdata/ibm4909.h: Likewise.
2878 * iconvdata/ibm4971.h: Likewise.
2879 * iconvdata/ibm5347.h: Likewise.
2880 * iconvdata/ibm803.h: Likewise.
2881 * iconvdata/ibm856.h: Likewise.
2882 * iconvdata/ibm901.h: Likewise.
2883 * iconvdata/ibm902.h: Likewise.
2884 * iconvdata/ibm9030.h: Likewise.
2885 * iconvdata/ibm9066.h: Likewise.
2886 * iconvdata/ibm921.h: Likewise.
2887 * iconvdata/ibm922.h: Likewise.
2888 * iconvdata/ibm9448.h: Likewise.
2889 * iconvdata/isiri-3342.h: Likewise.
2890 * iconvdata/jis0201.h: Likewise.
2891 * include/link.h: Likewise.
2892 * include/netdb.h: Likewise.
2893 * inet/check_native.c: Likewise.
2894 * inet/check_pf.c: Likewise.
2895 * inet/getipv4sourcefilter.c: Likewise.
2896 * inet/getnameinfo.c: Likewise.
2897 * inet/getsourcefilter.c: Likewise.
2898 * inet/htonl.c: Likewise.
2899 * inet/setipv4sourcefilter.c: Likewise.
2900 * inet/setsourcefilter.c: Likewise.
2901 * inet/test-inet6_opt.c: Likewise.
2902 * inet/tst-network.c: Likewise.
2903 * locale/C-collate.c: Likewise.
2904 * locale/C-ctype.c: Likewise.
2905 * locale/C-time.c: Likewise.
2906 * locale/C-translit.h: Likewise.
2907 * locale/loadarchive.c: Likewise.
2908 * locale/programs/3level.h: Likewise.
2909 * locale/programs/charmap.c: Likewise.
2910 * locale/programs/charmap.h: Likewise.
2911 * locale/programs/ld-address.c: Likewise.
2912 * locale/programs/ld-collate.c: Likewise.
2913 * locale/programs/ld-ctype.c: Likewise.
2914 * locale/programs/ld-identification.c: Likewise.
2915 * locale/programs/ld-measurement.c: Likewise.
2916 * locale/programs/ld-messages.c: Likewise.
2917 * locale/programs/ld-monetary.c: Likewise.
2918 * locale/programs/ld-name.c: Likewise.
2919 * locale/programs/ld-numeric.c: Likewise.
2920 * locale/programs/ld-paper.c: Likewise.
2921 * locale/programs/ld-telephone.c: Likewise.
2922 * locale/programs/ld-time.c: Likewise.
2923 * locale/programs/linereader.c: Likewise.
2924 * locale/programs/locale.c: Likewise.
2925 * locale/programs/locarchive.c: Likewise.
2926 * locale/programs/locfile.h: Likewise.
2927 * locale/programs/repertoire.c: Likewise.
2928 * locale/programs/simple-hash.c: Likewise.
2929 * locale/programs/simple-hash.h: Likewise.
2930 * malloc/memusage.c: Likewise.
2931 * malloc/memusagestat.c: Likewise.
2932 * nis/nis_defaults.c: Likewise.
2933 * nis/nis_hash.c: Likewise.
2934 * nis/nis_print.c: Likewise.
2935 * nis/nis_xdr.c: Likewise.
2936 * nscd/connections.c: Likewise.
2937 * nscd/hstcache.c: Likewise.
2938 * nscd/nscd_gethst_r.c: Likewise.
2939 * nscd/nscd_getserv_r.c: Likewise.
2940 * nscd/nscd_helper.c: Likewise.
2941 * nscd/servicescache.c: Likewise.
2942 * nss/makedb.c: Likewise.
2943 * nss/nss_db/db-XXX.c: Likewise.
2944 * nss/nss_db/db-initgroups.c: Likewise.
2945 * nss/nss_db/db-netgrp.c: Likewise.
2946 * nss/nss_files/files-network.c: Likewise.
2947 * nss/nss_files/files-parse.c: Likewise.
2948 * posix/bug-regex5.c: Likewise.
2949 * posix/fnmatch_loop.c: Likewise.
2950 * posix/regcomp.c: Likewise.
2951 * posix/regexec.c: Likewise.
2952 * posix/tst-rfc3484-2.c: Likewise.
2953 * posix/tst-rfc3484-3.c: Likewise.
2954 * posix/tst-rfc3484.c: Likewise.
2955 * resolv/nss_dns/dns-canon.c: Likewise.
2956 * resolv/nss_dns/dns-network.c: Likewise.
2957 * resolv/res_init.c: Likewise.
2958 * resolv/res_mkquery.c: Likewise.
2959 * resolv/tst-aton.c: Likewise.
2960 * stdlib/cxa_atexit.c: Likewise.
2961 * stdlib/cxa_finalize.c: Likewise.
2962 * stdlib/gen-fpioconst.c: Likewise.
2963 * stdlib/strtol_l.c: Likewise.
2964 * string/tst-endian.c: Likewise.
2965 * sunrpc/auth_des.c: Likewise.
2966 * sunrpc/clnt_udp.c: Likewise.
2967 * sunrpc/rtime.c: Likewise.
2968 * sunrpc/svcauth_des.c: Likewise.
2969 * sunrpc/xdr.c: Likewise.
2970 * sunrpc/xdr_intXX_t.c: Likewise.
2971 * sunrpc/xdr_rec.c: Likewise.
2972 * sysdeps/generic/ldconfig.h: Likewise.
2973 * sysdeps/generic/ldsodefs.h: Likewise.
2974 * sysdeps/generic/memusage.h: Likewise.
2975 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2978 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2985 * sysdeps/posix/getaddrinfo.c: Likewise.
2986 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2987 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2988 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2989 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2990 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2991 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2992 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2993 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2994 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2995 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2996 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2997 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2998 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2999 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3000 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3001 * sysdeps/x86_64/dl-tls.h: Likewise.
3002 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3003 * time/alt_digit.c: Likewise.
3004 * time/era.c: Likewise.
3005 * wcsmbs/tst-c16c32-1.c: Likewise.
3006
3007 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3008
3009 * math/libm-test.inc (struct test_sincos_data): New type.
3010 (RUN_TEST_LOOP_sincos): New macro.
3011 (sincos_test_data): New variable.
3012 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3013
3014 2013-05-16 Richard Henderson <rth@redhat.com>
3015
3016 * math/atest-exp2.c (LIMB64): New macro.
3017 (CONSTSZ): New macro.
3018 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3019 (hexdig): Move ...
3020 (print_mpn_fp): ... to function scope.
3021 (read_mpn_hex): Remove.
3022 (get_log2): Remove.
3023 (exp2_mpn): Use mp_log2.
3024 (main): Use mp_exp1.
3025
3026 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3027
3028 * math/libm-test.inc: Remove comment about not testing "inexact"
3029 exceptions.
3030 (INEXACT_EXCEPTION): New macro.
3031 (NO_INEXACT_EXCEPTION): Likewise.
3032 (INVALID_EXCEPTION_OK): Update value.
3033 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3034 (OVERFLOW_EXCEPTION_OK): Likewise.
3035 (UNDERFLOW_EXCEPTION_OK): Likewise.
3036 (IGNORE_ZERO_INF_SIGN): Likewise.
3037 (ERRNO_UNCHANGED): Likewise.
3038 (ERRNO_EDOM): Likewise.
3039 (ERRNO_ERANGE): Likewise.
3040 (test_exceptions): Handle testing "inexact" exceptions.
3041 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3042 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3043 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3044 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3045 INEXACT_EXCEPTION.
3046 (rint_towardzero_test_data): Likewise.
3047 (rint_downward_test_data): Likewise.
3048 (rint_upward_test_data): Likewise.
3049
3050 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3051 with OVERFLOW_EXCEPTION.
3052 (exp10_test_data): Likewise.
3053 (exp2_test_data): Likewise.
3054 (expm1_test_data): Likewise.
3055 (lgamma_test_data): Likewise.
3056 (pow_test_data): Likewise.
3057 (tgamma_test_data): Likewise.
3058 (yn_test_data): Remove duplicate test of overflow.
3059
3060 * math/libm-test.inc (struct test_cc_c_data): New type.
3061 (RUN_TEST_LOOP_cc_c): New macro.
3062 (cpow_test_data): New variable.
3063 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3064
3065 * math/libm-test.inc (struct test_f_L_data): New type.
3066 (RUN_TEST_LOOP_f_L): New macro.
3067 (llrint_test_data): New variable.
3068 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3069 (llrint_tonearest_test_data): New variable.
3070 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3071 (llrint_towardzero_test_data): New variable.
3072 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3073 (llrint_downward_test_data): New variable.
3074 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3075 (llrint_upward_test_data): New variable.
3076 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3077 (llround_test_data): New variable.
3078 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3079
3080 2013-05-13 Peter Collingbourne <pcc@google.com>
3081
3082 * math/atest-exp2.c (get_log2): Remove const attribute.
3083
3084 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3085
3086 * math/libm-test.inc (struct test_f_l_data): New type.
3087 (RUN_TEST_LOOP_f_l): New macro.
3088 (lrint_test_data): New variable.
3089 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3090 (lrint_tonearest_test_data): New variable.
3091 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3092 (lrint_towardzero_test_data): New variable.
3093 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3094 (lrint_downward_test_data): New variable.
3095 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3096 (lrint_upward_test_data): New variable.
3097 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3098 (lround_test_data): New variable.
3099 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3100
3101 2013-05-15 Peter Collingbourne <pcc@google.com>
3102
3103 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3104 (EXTRACT_WORDS64) Use where appropriate.
3105 (INSERT_WORDS64) Likewise.
3106
3107 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3108 constraints with x constraints.
3109 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3110
3111 * malloc/obstack.c (_obstack_compat): Add initializer.
3112
3113 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3114
3115 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3116 si_trapno and add si_addr_lsb to _sifields.sigfault.
3117 (si_trapno): Remove macro.
3118 (si_addr_lsb): Define new macro.
3119 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3120
3121 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3122
3123 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3124 instead of TEST_f_l.
3125 (llrint_test_tonearest): Likewise.
3126 (llrint_test_towardzero): Likewise.
3127 (llrint_test_downward): Likewise.
3128 (llrint_test_upward): Likewise.
3129 (llround_test): Likewise.
3130
3131 * math/libm-test.inc (struct test_f_i_data): Add comment.
3132 (RUN_TEST_LOOP_f_b): New macro.
3133 (RUN_TEST_LOOP_f_b_tg): Likewise.
3134 (finite_test_data): New variable.
3135 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3136 (isfinite_test_data): New variable.
3137 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3138 (isinf_test_data): New variable.
3139 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3140 (isnan_test_data): New variable.
3141 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3142 (isnormal_test_data): New variable.
3143 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3144 (issignaling_test_data): New variable.
3145 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3146 (signbit_test_data): New variable.
3147 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3148
3149 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3150 with INVALID_EXCEPTION.
3151 (acosh_test_data): Likewise.
3152 (asin_test_data): Likewise.
3153 (atanh_test_data): Likewise.
3154 (fmod_test_data): Likewise.
3155 (log_test_data): Likewise.
3156 (log10_test_data): Likewise.
3157 (log2_test_data): Likewise.
3158 (pow_test_data): Likewise.
3159 (sqrt_test_data): Likewise.
3160 (y0_test_data): Likewise.
3161 (y1_test_data): Likewise.
3162 (yn_test_data): Likewise.
3163
3164 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3165 function contents.
3166
3167 * math/libm-test.inc (struct test_ff_i_data): New type.
3168 (RUN_TEST_LOOP_ff_i_tg): New macro.
3169 (isgreater_test_data): New variable.
3170 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3171 (isgreaterequal_test_data): New variable.
3172 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3173 (isless_test_data): New variable.
3174 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3175 (islessequal_test_data): New variable.
3176 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3177 (islessgreater_test_data): New variable.
3178 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3179 (isunordered_test_data): New variable.
3180 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3181
3182 2013-05-14 David S. Miller <davem@davemloft.net>
3183
3184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3185
3186 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3187
3188 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3189
3190 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3191 extra_test to int.
3192 (struct test_f_i_data): Change type of max_ulp to int.
3193
3194 * math/libm-test.inc (test_ffI_f1_data): New type.
3195 (RUN_TEST_LOOP_ffI_f1): New macro.
3196 (remquo_test_data): New variable.
3197 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3198
3199 * setjmp/tst-setjmp-fp.c: New file.
3200 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3201 (link-libm): New variable.
3202 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3203
3204 * math/libm-test.inc (struct test_f_i_data): New type.
3205 (RUN_TEST_LOOP_f_i): New macro.
3206 (RUN_TEST_LOOP_f_i_tg): Likewise.
3207 (fpclassify_test_data): New variable.
3208 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3209 (ilogb_test_data): New variable.
3210 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3211
3212 * math/libm-test.inc (scalbln_test): Correct function name in END
3213 call.
3214
3215 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3216 (RUN_TEST_LOOP_fI_f1): New macro.
3217 (frexp_test_data): New variable.
3218 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3219
3220 * math/libm-test.inc (struct test_fF_f1_data): New type.
3221 (RUN_TEST_LOOP_fF_f1): New macro.
3222 (modf_test_data): New variable.
3223 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3224
3225 * math/libm-test.inc (struct test_f_f1_data): New type.
3226 (RUN_TEST_LOOP_f_f1): New macro.
3227 (gamma_test_data): New variable.
3228 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3229 (lgamma_test_data): New variable.
3230 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3231
3232 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3233
3234 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3235 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3236 (main): Comment "tls" pseudo-hwcap.
3237
3238 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3239
3240 * math/libm-test.inc (struct test_fl_f_data): New type.
3241 (RUN_TEST_LOOP_fl_f): New variable.
3242 (scalbln_test_data): New variable.
3243 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3244
3245 * math/libm-test.inc (struct test_fi_f_data): New type.
3246 (RUN_TEST_LOOP_fi_f): New macro.
3247 (ldexp_test_data): New variable.
3248 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3249 (scalbn_test_data): New variable.
3250 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3251
3252 * math/libm-test.inc (struct test_c_f_data): New type.
3253 (RUN_TEST_LOOP_c_f): New macro.
3254 (cabs_test_data): New variable.
3255 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3256 (carg_test_data): New variable.
3257 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3258 (cimag_test_data): New variable.
3259 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3260 (creal_test_data): New variable.
3261 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3262
3263 * math/libm-test.inc (struct test_if_f_data): New type.
3264 (RUN_TEST_LOOP_if_f): New macro.
3265 (jn_test_data): New variable.
3266 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3267 (yn_test_data): New variable.
3268 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3269
3270 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3271
3272 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3273
3274 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3275 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3276
3277 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3278
3279 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3280 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3281 (bench-deps): Add bench-timing.h.
3282 * benchtests-bench-skeleton.c: Include bench-timing.h.
3283 (main): Use TIMING_* macros instead of clock_gettime.
3284 * benchtests/bench-timing.h: New file.
3285
3286 [BZ #14582]
3287 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3288 Renamed from _LIB_VERSION.
3289 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3290
3291 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3292
3293 * math/libm-test.inc (struct test_fff_f_data): New type.
3294 (RUN_TEST_LOOP_fff_f): New macro.
3295 (fma_test_data): New variable.
3296 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3297 (fma_towardzero_test_data): New variable.
3298 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3299 (fma_downward_test_data): New variable.
3300 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3301 (fma_upward_test_data): New variable.
3302 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3303
3304 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3305 (struct test_c_c_data): New type.
3306 (RUN_TEST_LOOP_c_c): New macro.
3307 (cacos_test_data): New variable.
3308 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3309 (cacosh_test_data): New variable.
3310 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3311 (casin_test_data): New variable.
3312 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3313 (casinh_test_data): New variable.
3314 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3315 (catan_test_data): New variable.
3316 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3317 (catanh_test_data): New variable.
3318 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3319 (ccos_test_data): New variable.
3320 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3321 (ccosh_test_data): New variable.
3322 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3323 (cexp_test_data): New variable.
3324 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3325 (clog_test_data): New variable.
3326 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3327 (clog10_test_data): New variable.
3328 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3329 (conj_test_data): New variable.
3330 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3331 (cproj_test_data): New variable.
3332 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3333 (csin_test_data): New variable.
3334 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3335 (csinh_test_data): New variable.
3336 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3337 (csqrt_test_data): New variable.
3338 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3339 (ctan_test_data): New variable.
3340 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3341 (ctan_tonearest_test_data): New variable.
3342 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3343 (ctan_towardzero_test_data): New variable.
3344 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3345 (ctan_downward_test_data): New variable.
3346 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3347 (ctan_upward_test_data): New variable.
3348 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3349 (ctanh_test_data): New variable.
3350 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3351 (ctanh_tonearest_test_data): New variable.
3352 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3353 (ctanh_towardzero_test_data): New variable.
3354 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3355 (ctanh_downward_test_data): New variable.
3356 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3357 (ctanh_upward_test_data): New variable.
3358 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3359 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3360 of BUILD_COMPLEX.
3361
3362 * math/libm-test.inc (struct test_ff_f_data): New type.
3363 (struct test_ff_f_data_nexttoward): Likewise.
3364 (RUN_TEST_LOOP_2_f): New macro.
3365 (RUN_TEST_LOOP_ff_f): Likewise.
3366 (atan2_test_data): New variable.
3367 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3368 (copysign_test_data): New variable.
3369 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3370 (fdim_test_data): New variable.
3371 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3372 (fmax_test_data): New variable.
3373 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3374 (fmin_test_data): New variable.
3375 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3376 (fmod_test_data): New variable.
3377 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3378 (hypot_test_data): New variable.
3379 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3380 (nextafter_test_data): New variable.
3381 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3382 (nexttoward_test_data): New variable.
3383 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3384 (pow_test_data): New variable.
3385 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3386 (pow_tonearest_test_data): New variable.
3387 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3388 (pow_towardzero_test_data): New variable.
3389 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3390 (pow_downward_test_data): New variable.
3391 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3392 (pow_upward_test_data): New variable.
3393 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3394 (remainder_test_data): New variable.
3395 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3396 (scalb_test_data): New variable.
3397 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3398 * sysdeps/i386/fpu/libm-test-ulps: Update.
3399
3400 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3401
3402 * math/libm-test.inc (fma_test): Use max_value instead of local
3403 variable fltmax.
3404 (nextafter_test): Likewise.
3405
3406 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3407 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3408 (acos_downward_test_data): New variable.
3409 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3410 (acos_upward_test_data): New variable.
3411 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3412 (acosh_test_data): New variable.
3413 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3414 (asin_test_data): New variable.
3415 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3416 (asin_tonearest_test_data): New variable.
3417 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3418 (asin_towardzero_test_data): New variable.
3419 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3420 (asin_downward_test_data): New variable.
3421 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3422 (asin_upward_test_data): New variable.
3423 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3424 (asinh_test_data): New variable.
3425 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3426 (atan_test_data): New variable.
3427 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3428 (atanh_test_data): New variable.
3429 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3430 (cbrt_test_data): New variable.
3431 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3432 (ceil_test_data): New variable.
3433 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3434 (cos_test_data): New variable.
3435 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3436 (cos_tonearest_test_data): New variable.
3437 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3438 (cos_towardzero_test_data): New variable.
3439 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3440 (cos_downward_test_data): New variable.
3441 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3442 (cos_upward_test_data): New variable.
3443 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3444 (cosh_test_data): New variable.
3445 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3446 (cosh_tonearest_test_data): New variable.
3447 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3448 (cosh_towardzero_test_data): New variable.
3449 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3450 (cosh_downward_test_data): New variable.
3451 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3452 (cosh_upward_test_data): New variable.
3453 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3454 (erf_test_data): New variable.
3455 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3456 (erfc_test_data): New variable.
3457 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3458 (exp_test_data): New variable.
3459 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3460 (exp_tonearest_test_data): New variable.
3461 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3462 (exp_towardzero_test_data): New variable.
3463 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3464 (exp_downward_test_data): New variable.
3465 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3466 (exp_upward_test_data): New variable.
3467 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3468 (exp10_test_data): New variable.
3469 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3470 (exp2_test_data): New variable.
3471 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3472 (expm1_test_data): New variable.
3473 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3474 (fabs_test_data): New variable.
3475 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3476 (floor_test_data): New variable.
3477 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3478 (j0_test_data): New variable.
3479 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3480 (j1_test_data): New variable.
3481 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3482 (log_test_data): New variable.
3483 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3484 (log10_test_data): New variable.
3485 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3486 (log1p_test_data): New variable.
3487 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3488 (log2_test_data): New variable.
3489 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3490 (logb_test_data): New variable.
3491 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3492 (logb_downward_test_data): New variable.
3493 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3494 (nearbyint_test_data): New variable.
3495 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3496 (rint_test_data): New variable.
3497 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3498 (rint_tonearest_test_data): New variable.
3499 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3500 (rint_towardzero_test_data): New variable.
3501 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3502 (rint_downward_test_data): New variable.
3503 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3504 (rint_upward_test_data): New variable.
3505 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3506 (round_test_data): New variable.
3507 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3508 (sin_test_data): New variable.
3509 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3510 (sin_tonearest_test_data): New variable.
3511 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3512 (sin_towardzero_test_data): New variable.
3513 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3514 (sin_downward_test_data): New variable.
3515 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3516 (sin_upward_test_data): New variable.
3517 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3518 (sinh_test_data): New variable.
3519 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3520 (sinh_tonearest_test_data): New variable.
3521 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3522 (sinh_towardzero_test_data): New variable.
3523 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3524 (sinh_downward_test_data): New variable.
3525 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3526 (sinh_upward_test_data): New variable.
3527 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3528 (sqrt_test_data): New variable.
3529 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3530 (tan_test_data): New variable.
3531 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3532 (tan_tonearest_test_data): New variable.
3533 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3534 (tan_towardzero_test_data): New variable.
3535 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3536 (tan_downward_test_data): New variable.
3537 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3538 (tan_upward_test_data): New variable.
3539 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3540 (tanh_test_data): New variable.
3541 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3542 (tgamma_test_data): New variable.
3543 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3544 (trunc_test_data): New variable.
3545 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3546 (y0_test_data): New variable.
3547 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3548 (y1_test_data): New variable.
3549 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3550 (significand_test_data): New variable.
3551 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3552
3553 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3554
3555 [BZ #12387]
3556 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3557
3558 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3559
3560 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3561
3562 2013-05-10 Andreas Jaeger <aj@suse.de>
3563
3564 [BZ #15448]
3565 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3566 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3567
3568 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3569
3570 * math/gen-libm-test.pl (adjust_arg): New function.
3571 (special_functions): Handle generating output in both functions
3572 and arrays.
3573 (parse_args): Likewise.
3574 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3575 $in_func argument to parse_args.
3576 * math/libm-test.inc (struct test_f_f_data): New type.
3577 (IF_ROUND_INIT_): New macro.
3578 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3579 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3580 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3581 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3582 (ROUND_RESTORE_): Likewise.
3583 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3584 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3585 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3586 (ROUND_RESTORE_FE_UPWARD): Likewise.
3587 (RUN_TEST_LOOP_f_f): New macro.
3588 (acos_test_data): New variable.
3589 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3590 (acos_tonearest_test_data): New variable.
3591 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3592
3593 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3594
3595 * benchtests/bench-skeleton.c (startup): Fix coding style.
3596
3597 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3598
3599 [BZ #6809]
3600 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3601 negative infinity argument.
3602 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3603 negative infinity argument.
3604 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3605 negative infinity argument.
3606 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3607 domain errors.
3608
3609 2013-05-10 Florian Weimer <fweimer@redhat.com>
3610
3611 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3612 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3613 * iconv/iconv_prog.c (main): Likewise.
3614 * locale/programs/charmap-dir.c (charmap_readdir)
3615 (fopen_uncompressed): Likewise.
3616 * locale/programs/locfile.c (siblings_uncached)
3617 (write_locale_data): Use lstat64 instead of lstat.
3618 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3619 stat.
3620
3621 2013-05-10 Andreas Jaeger <aj@suse.de>
3622
3623 [BZ #15395]
3624 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3625 localization.
3626 Include <locale.h>.
3627
3628 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3629
3630 * elf/dl-close.c (_dl_close_worker): Add comments.
3631
3632 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3633
3634 [BZ #15359]
3635 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3636 high part of pi/2.
3637 (__ieee754_rem_pio2l): Update comments.
3638
3639 [BZ #15429]
3640 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3641 high part of pi/2.
3642 (__ieee754_rem_pio2l): Update comments.
3643
3644 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3645 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3646
3647 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3648 M_PI_4l.
3649
3650 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3651 (M_PI_34_LOG10El): Likewise.
3652 (M_PI2_LOG10El): Likewise.
3653 (M_PI4_LOG10El): Likewise.
3654 (M_PI_LOG10El): Likewise.
3655
3656 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3657
3658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3659
3660 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3661
3662 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3663 (MINUS_ZERO_INIT): Likewise.
3664 (PLUS_INFTY_INIT): Likewise.
3665 (MINUS_INFTY_INIT): Likewise.
3666 (QNAN_VALUE_INIT): Likewise.
3667 (MAX_VALUE_INIT): Likewise.
3668 (MIN_VALUE_INIT): Likewise.
3669 (MIN_SUBNORM_VALUE_INIT): Likewise.
3670 (plus_zero): Initialize with PLUS_ZERO_INIT.
3671 (minus_zero): Initialize with MINUS_ZERO_INIT.
3672 (plus_infty): Initialize with PLUS_INFTY_INIT.
3673 (minus_infty): Initialize with MINUS_INFTY_INIT.
3674 (qnan_value): Initialize with QNAN_VALUE_INIT.
3675 (max_value): Initialize with MAX_VALUE_INIT.
3676 (min_value): Initialize with MIN_VALUE_INIT.
3677 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3678
3679 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3680 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3681 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3682 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3683
3684 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3685 (RUN_TEST_2_f): Likewise.
3686 (RUN_TEST_ff_f): Likewise.
3687 (RUN_TEST_fi_f): Likewise.
3688 (RUN_TEST_fl_f): Likewise.
3689 (RUN_TEST_fff_f): Likewise.
3690 (RUN_TEST_c_f): Likewise.
3691 (RUN_TEST_f_f1): Likewise.
3692 (RUN_TEST_fF_f1): Likewise.
3693 (RUN_TEST_fI_f1): Likewise.
3694 (RUN_TEST_ffI_f1): Likewise.
3695 (RUN_TEST_c_c): Likewise.
3696 (RUN_TEST_cc_c): Likewise.
3697 (RUN_TEST_f_i): Likewise.
3698 (RUN_TEST_f_i_tg): Likewise.
3699 (RUN_TEST_ff_i_tg): Likewise.
3700 (RUN_TEST_f_b): Likewise.
3701 (RUN_TEST_f_b_tg): Likewise.
3702 (RUN_TEST_f_l): Likewise.
3703 (RUN_TEST_f_L): Likewise.
3704 (RUN_TEST_sincos): Likewise.
3705 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3706 whether to show exceptions. Do not include ");\n" in return
3707 value.
3708 (special_functions): Output call to RUN_TEST_sincos instead of
3709 check_float calls. Update calls to new_test.
3710 (parse_args): Output call to single RUN_TEST_* macro instead of
3711 check_* calls and other assignments. Update calls to new_test.
3712
3713 [BZ #2546]
3714 [BZ #2560]
3715 [BZ #5159]
3716 [BZ #15426]
3717 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3718 input to result for tgamma overflow.
3719 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3720 (gamma_coeff): New variable.
3721 (NCOEFF): New macro.
3722 (gamma_positive): New function.
3723 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3724 underflow here. Use gamma_positive instead of exp (lgamma) for
3725 other arguments.
3726 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3727 (gamma_coeff): New variable.
3728 (NCOEFF): New macro.
3729 (gammaf_positive): New function.
3730 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3731 underflow here. Use gamma_positive instead of exp (lgamma) for
3732 other arguments.
3733 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3734 (gamma_coeff): New variable.
3735 (NCOEFF): New macro.
3736 (gammal_positive): New function.
3737 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3738 underflow here. Use gamma_positive instead of exp (lgamma) for
3739 other arguments.
3740 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3741 (gamma_coeff): New variable.
3742 (NCOEFF): New macro.
3743 (gammal_positive): New function.
3744 (__ieee754_gammal_r): Handle positive infinity, overflow and
3745 underflow here. Handle NaN the same as positive infinity. Remove
3746 check x < 0xffffffff for negative integers. Use gamma_positive
3747 instead of exp (lgamma) for other arguments.
3748 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3749 (gamma_coeff): New variable.
3750 (NCOEFF): New macro.
3751 (gammal_positive): New function.
3752 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3753 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3754 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3757 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3758 * sysdeps/generic/math_private.h (__gamma_productf): New
3759 prototype.
3760 (__gamma_product): Likewise.
3761 (__gamma_productl): Likewise.
3762 * math/Makefile (libm-calls): Add gamma_product.
3763 * math/libm-test.inc (tgamma_test): Add more tests.
3764 * sysdeps/i386/fpu/libm-test-ulps: Update.
3765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3766
3767 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
3768
3769 * benchtests/bench-skeleton.c (main): Preheat CPU.
3770
3771 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3772
3773 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3774
3775 2013-05-07 Roland McGrath <roland@hack.frob.com>
3776
3777 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3778 and _dl_skip_args_internal.
3779
3780 2013-05-07 Carlos O'Donell <carlos@redhat.com>
3781
3782 * manual/message.texi (Message Translation): Talk about users.
3783 Message to key mapping impacts design.
3784
3785 2013-05-06 Roland McGrath <roland@hack.frob.com>
3786
3787 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3788
3789 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3790
3791 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3792 * sysdeps/wordsize-64/glob64.c: ... here.
3793
3794 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3795 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3796 New macros.
3797
3798 * debug/getlogin_r_chk.c: Moved to ...
3799 * login/getlogin_r_chk.c: ... here.
3800 * debug/Makefile (routines): Move getlogin_r_chk to ...
3801 * login/Makefile (routines): ... here.
3802 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3803 * login/Versions (libc: GLIBC_2.4): ... here.
3804
3805 * io/poll.c (__poll): Renamed from poll.
3806 Add libc_hidden_def.
3807 (poll): Define as weak alias.
3808
3809 * debug/ptsname_r_chk.c: Moved to ...
3810 * login/ptsname_r_chk.c: ... here.
3811 * debug/Makefile (routines): Move ptsname_r_chk to ...
3812 * login/Makefile (routines): ... here.
3813 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3814 * login/Versions (libc: GLIBC_2.4): ... here.
3815
3816 * posix/getlogin.c: Moved to ...
3817 * login/getlogin.c: ... here.
3818 * posix/getlogin_r.c: Moved to ...
3819 * login/getlogin_r.c: ... here.
3820 * posix/getlogin_r.c: Moved to ...
3821 * login/getlogin_r.c: ... here.
3822 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3823 * login/Makefile (routines): ... here.
3824 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3825 * login/Versions (libc: GLIBC_2.0): ... here.
3826
3827 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3828 (setrlimit): Define as weak alias.
3829
3830 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3831 Call __ names for open, ftruncate, and close.
3832 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3833 (truncate): Define as weak alias.
3834
3835 2013-05-06 Joseph Myers <joseph@codesourcery.com>
3836
3837 * math/gen-libm-test.pl (parse_args): Initialize x before each
3838 test of frexp, modf and remquo.
3839
3840 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3841 test signgam value.
3842
3843 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3844
3845 [BZ #15418]
3846 [BZ #15419]
3847 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3848 internal tests.
3849 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3850
3851 2013-05-06 Roland McGrath <roland@hack.frob.com>
3852
3853 * elf/dl-writev.h: New file.
3854 * elf/dl-misc.c: Include it.
3855 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3856 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3857
3858 2013-05-04 Joseph Myers <joseph@codesourcery.com>
3859
3860 * math/libm-test.inc (noXFails): Remove variable.
3861 (noXPasses): Likewise.
3862 (BUILD_COMPLEX_INT): Remove macro.
3863 (print_screen): Remove xfail argument.
3864 (print_screen_max_error): Likewise.
3865 (update_stats): Likewise.
3866 (print_max_error): Likewise. Update calls to other affected
3867 functions.
3868 (print_complex_max_error): Likewise.
3869 (test_single_exception): Update calls to print_screen.
3870 (test_single_errno): Likewise.
3871 (check_float_internal): Remove xfail argument. Update calls to
3872 other affected functions.
3873 (check_float): Likewise.
3874 (check_complex): Likewise.
3875 (check_int): Likewise.
3876 (check_long): Likewise.
3877 (check_bool): Likewise.
3878 (check_longlong): Likewise.
3879 (main): Don't print noXFails and noXPasses.
3880 * math/gen-libm-test.pl (top level): Don't mention expected
3881 failure handling in comment.
3882 (new_test): Don't handle expected failures.
3883 (parse_args): Don't mention expected failure handling in comment.
3884 (generate_testfile): Don't handle expected failures.
3885 (parse_ulps): Likewise.
3886 (print_ulps_file): Likewise.
3887 (get_failure): Remove function.
3888 (output_test): Don't handle expected failures.
3889 * make/README.libm-test: Don't mention expected failure handling.
3890
3891 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3892 (minus_zero): Likewise.
3893 (plus_infty): Likewise.
3894 (minus_infty): Likewise.
3895 (qnan_value): Likewise.
3896 (max_value): Likewise.
3897 (min_value): Likewise.
3898 (min_subnorm_value): Likewise.
3899 (initialize): Do not initialize those variables dynamically.
3900
3901 2013-05-03 Roland McGrath <roland@hack.frob.com>
3902
3903 * io/open.c (__open_2): Moved to ...
3904 * io/open_2.c: ... this new file.
3905 * io/open64.c (__open64_2): Moved to ...
3906 * io/open64_2.c: ... this new file.
3907 * io/openat.c (__openat_2): Moved to ...
3908 * io/openat_2.c: ... this new file.
3909 * io/openat64.c (__openat64_2): Moved to ...
3910 * io/openat64_2.c: ... this new file.
3911 * io/Makefile (routines): Add them.
3912 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3913 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3914 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3915 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3916 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3917 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3918 (__openat64): Add hidden_ver.
3919 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3920 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3921
3922 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3923 Separately conditionalize setting of GLRO(dl_sysinfo) so
3924 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3925 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3926
3927 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3928
3929 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3930 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3931 definition.
3932 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3933 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3934 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3935 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3936 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3937
3938 2013-05-03 Joseph Myers <joseph@codesourcery.com>
3939
3940 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3941 test signgam value.
3942
3943 * math/libm-test.inc (hypot_test): Do not use
3944 IGNORE_ZERO_INF_SIGN.
3945
3946 2013-05-03 Andreas Jaeger <aj@suse.de>
3947
3948 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3949 Linux 3.9.
3950 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3951 (PF_MAX): Adjust for VSOCK change.
3952
3953 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3954
3955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3956
3957 2013-05-02 Carlos O'Donell <carlos@redhat.com>
3958
3959 [BZ #15264]
3960 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3961 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3962 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3963
3964 2013-05-02 David S. Miller <davem@davemloft.net>
3965
3966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3967
3968 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
3969
3970 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3971
3972 2013-05-01 Roland McGrath <roland@hack.frob.com>
3973
3974 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3975
3976 2013-05-01 Richard Smith <richard@metafoo.co.uk>
3977
3978 [BZ #14952]
3979 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3980 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3981 Use __attribute__ ((__gnu_inline__)).
3982 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3983 Don't use __attribute__ ((__gnu_inline__)).
3984
3985 2013-05-01 Joseph Myers <joseph@codesourcery.com>
3986
3987 [BZ #15423]
3988 * math/s_catan.c (__catan): Handle small real or imaginary part of
3989 input specially to avoid spurious underflow.
3990 * math/s_catanf.c (__catanf): Likewise.
3991 * math/s_catanh.c (__catanh): Likewise.
3992 * math/s_catanhf.c (__catanhf): Likewise.
3993 * math/s_catanhl.c (__catanhl): Likewise.
3994 * math/s_catanl.c (__catanl): Likewise.
3995 * math/libm-test.inc (catan_test): Add more tests.
3996 (catanh_test): Likewise.
3997 * sysdeps/i386/fpu/libm-test-ulps: Update.
3998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3999
4000 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4001
4002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4003
4004 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4005
4006 [BZ #15416]
4007 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4008 accurately for denominator in atan2.
4009 * math/s_catanf.c (__catanf): Likewise.
4010 * math/s_catanh.c (__catanh): Likewise.
4011 * math/s_catanhf.c (__catanhf): Likewise.
4012 * math/s_catanhl.c (__catanhl): Likewise.
4013 * math/s_catanl.c (__catanl): Likewise.
4014 * math/libm-test.inc (catan_test): Add more tests.
4015 (catanh_test): Likewise.
4016 * sysdeps/i386/fpu/libm-test-ulps: Update.
4017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4018
4019 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4020
4021 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4022
4023 * benchtests/Makefile (bench): Remove slow benchmarks.
4024 * benchtests/atan-inputs: Add slow benchmark inputs.
4025 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4026 (BENCH_FUNC): Accept variant offset.
4027 (VARIANT): Define.
4028 * benchtests/bench-skeleton.c (main): Run benchmark for each
4029 variant.
4030 * benchtests/cos-inputs: Add slow benchmark inputs.
4031 * benchtests/exp-inputs: Likewise.
4032 * benchtests/pow-inputs: Likewise.
4033 * benchtests/sin-inputs: Likewise.
4034 * benchtests/slowatan-inputs: Remove.
4035 * benchtests/slowatan.c: Remove.
4036 * benchtests/slowcos-inputs: Remove.
4037 * benchtests/slowcos.c: Remove.
4038 * benchtests/slowexp-inputs: Remove.
4039 * benchtests/slowexp.c: Remove.
4040 * benchtests/slowpow-inputs: Remove.
4041 * benchtests/slowpow.c: Remove.
4042 * benchtests/slowsin-inputs: Remove.
4043 * benchtests/slowsin.c: Remove.
4044 * benchtests/slowtan-inputs: Remove.
4045 * benchtests/slowtan.c: Remove.
4046 * benchtests/tan-inputs: Add slow benchmark inputs.
4047 * scripts/bench.pl: Parse comments and directives.
4048
4049 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4050 in CPPFLAGS.
4051 ($(objpfx)bench-%.c): Remove *-ITER.
4052 * benchtests/bench-modf.c: Remove definition of ITER.
4053 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4054 (main): Loop for DURATION seconds instead of fixed number of
4055 iterations.
4056 * scripts/bench.pl: Don't expect iterations in parameters.
4057
4058 2013-04-29 Roland McGrath <roland@hack.frob.com>
4059
4060 * io/fchdir.c (__fchdir): Renamed from fchdir.
4061 (fchdir): Define as weak alias.
4062
4063 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4064
4065 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4066 (ERRNO_EDOM): Likewise.
4067 (ERRNO_ERANGE): Likewise.
4068 (noErrnoTests): New variable.
4069 (init_max_error): Set errno to 0.
4070 (test_single_errno): New function.
4071 (test_errno): Likewise.
4072 (check_float_internal): Call test_errno. Set errno to 0.
4073 (check_complex): Refer to errno tests in comment.
4074 (check_int): Call test_errno. Set errno to 0.
4075 (check_long): Likewise.
4076 (check_bool): Likewise.
4077 (check_longlong): Likewise.
4078 (cos_test): Use ERRNO_* flags for errno tests instead of
4079 check_int.
4080 (expm1_test): Likewise.
4081 (fmod_test): Likewise.
4082 (ilogb_test): Likewise.
4083 (lgamma_test): Likewise.
4084 (pow_test): Likewise.
4085 (remainder_test): Likewise.
4086 (sin_test): Likewise.
4087 (tan_test): Likewise.
4088 (yn_test): Likewise.
4089 (initialize): Set errno to 0.
4090 (main): Print number of errno tests.
4091 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4092
4093 2013-04-29 Andreas Jaeger <aj@suse.de>
4094
4095 [BZ #15084]
4096 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4097 and RES_USEVC.
4098
4099 [BZ #15085]
4100 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4101 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4102 unimplemented.
4103
4104 [BZ #15380]
4105 * stdlib/random.c (__initstate): Return NULL if
4106 __initstate fails.
4107
4108 [BZ #15086]
4109 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4110 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4111 RES_SNGLKUPREOP.
4112
4113 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4114
4115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4116
4117 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4118
4119 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4120 of individual tests.
4121 (casin_test): Likewise.
4122 (casinh_test): Likewise.
4123
4124 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4125
4126 [BZ #15409]
4127 * math/s_catan.c (__catan): Handle arguments with large real or
4128 imaginary part separately without squaring.
4129 * math/s_catanf.c (__catanf): Likewise.
4130 * math/s_catanh.c (__catanh): Likewise.
4131 * math/s_catanhf.c (__catanhf): Likewise.
4132 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4133 and redefine.
4134 (__catanhl): Handle arguments with large real or imaginary part
4135 separately without squaring.
4136 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4137 and redefine.
4138 (__catanl): Handle arguments with large real or imaginary part
4139 separately without squaring.
4140 * math/libm-test.inc (catan_test): Add more tests.
4141 (catanh_test): Likewise.
4142 * sysdeps/i386/fpu/libm-test-ulps: Update.
4143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4144
4145 2013-04-27 Andreas Jaeger <aj@suse.de>
4146
4147 [BZ #15007]
4148 * stdlib/stdlib.h: Update guards for qecvt.
4149 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4150 <stdlib.h>.
4151
4152 2013-04-27 Allan McRae <allan@archlinux.org>
4153
4154 * sysdeps/i386/fpu/libm-test-ulps: Update.
4155
4156 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4157
4158 [BZ #15406]
4159 * math/s_catan.c: Include <float.h>.
4160 (__catan): Ensure underflow exception occurs for underflowed
4161 result.
4162 * math/s_catanf.c: Include <float.h>.
4163 (__catanf): Ensure underflow exception occurs for underflowed
4164 result.
4165 * math/s_catanh.c: Include <float.h>.
4166 (__catanh): Ensure underflow exception occurs for underflowed
4167 result.
4168 * math/s_catanhf.c: Include <float.h>.
4169 (__catanhf): Ensure underflow exception occurs for underflowed
4170 result.
4171 * math/s_catanhl.c: Include <float.h>.
4172 (__catanhl): Ensure underflow exception occurs for underflowed
4173 result.
4174 * math/s_catanl.c: Include <float.h>.
4175 (__catanl): Ensure underflow exception occurs for underflowed
4176 result.
4177 * math/libm-test.inc (catan_test): Add more tests.
4178 (catanh_test): Likewise.
4179
4180 [BZ #15405]
4181 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4182 underflowed result.
4183 * math/s_ccoshf.c (__ccoshf): Likewise.
4184 * math/s_ccoshl.c (__ccoshl): Likewise.
4185 * math/s_csin.c (__csin): Likewise.
4186 * math/s_csinf.c (__csinf): Likewise.
4187 * math/s_csinh.c (__csinh): Likewise.
4188 * math/s_csinhf.c (__csinhf): Likewise.
4189 * math/s_csinhl.c (__csinhl): Likewise.
4190 * math/s_csinl.c (__csinl): Likewise.
4191 * math/libm-test.inc (ccos_test): Add more tests.
4192 (ccosh_test): Likewise.
4193 (csin_test): Likewise.
4194 (csinh_test): Likewise.
4195
4196 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4197
4198 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4199 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4200 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4201 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4202 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4203 powerpc/power5+/fpu folders.
4204 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4205
4206
4207 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4208
4209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4210
4211 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4212
4213 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4214 additions to variable.
4215 [$(config-machine) = x86_64] (modules-names): Likewise.
4216 ($(objpfx)tst-audit3): Remove dependency.
4217 ($(objpfx)tst-audit3.out): Likewise.
4218 ($(objpfx)tst-audit4): Likewise.
4219 ($(objpfx)tst-audit4.out): Likewise.
4220 ($(objpfx)tst-audit5): Likewise.
4221 ($(objpfx)tst-audit5.out): Likewise.
4222 ($(objpfx)tst-audit6): Likewise.
4223 ($(objpfx)tst-audit6.out): Likewise.
4224 ($(objpfx)tst-audit7): Likewise.
4225 ($(objpfx)tst-audit7.out): Likewise.
4226 (tst-audit3-ENV): Remove variable.
4227 (tst-audit4-ENV): Likewise.
4228 (tst-audit5-ENV): Likewise.
4229 (tst-audit6-ENV): Likewise.
4230 (tst-audit7-ENV): Likewise.
4231 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4232 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4233 addition to variable.
4234 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4235 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4236 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4237 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4238 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4239 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4240 tst-audit3, tst-audit4 and tst-audit5.
4241 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4242 tst-audit6 and tst-audit7.
4243 [$(subdir) = elf] (modules-names): Add audit modules for those
4244 tests.
4245 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4246 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4247 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4248 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4249 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4250 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4251 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4252 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4253 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4254 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4255 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4256 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4257 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4258 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4259 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4260 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4261 Likewise.
4262 [$(subdir) = elf && $(config-cflags-avx) = yes]
4263 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4264 [$(subdir) = elf && $(config-cflags-avx) = yes]
4265 (CFLAGS-tst-auditmod4a.c): Likewise.
4266 [$(subdir) = elf && $(config-cflags-avx) = yes]
4267 (CFLAGS-tst-auditmod4b.c): Likewise.
4268 [$(subdir) = elf && $(config-cflags-avx) = yes]
4269 (CFLAGS-tst-auditmod6b.c): Likewise.
4270 [$(subdir) = elf && $(config-cflags-avx) = yes]
4271 (CFLAGS-tst-auditmod6c.c): Likewise.
4272 [$(subdir) = elf && $(config-cflags-avx) = yes]
4273 (CFLAGS-tst-auditmod7b.c): Likewise.
4274 * elf/tst-audit3.c: Move to ...
4275 * sysdeps/x86_64/tst-audit3.c: ... here.
4276 * elf/tst-audit4.c: Move to ...
4277 * sysdeps/x86_64/tst-audit4.c: ... here.
4278 * elf/tst-audit5.c: Move to ...
4279 * sysdeps/x86_64/tst-audit5.c: ... here.
4280 * elf/tst-audit6.c: Move to ...
4281 * sysdeps/x86_64/tst-audit6.c: ... here.
4282 * elf/tst-audit7.c: Move to ...
4283 * sysdeps/x86_64/tst-audit7.c: ... here.
4284 * elf/tst-auditmod3a.c: Move to ...
4285 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4286 * elf/tst-auditmod3b.c: Move to ...
4287 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4288 * elf/tst-auditmod4a.c: Move to ...
4289 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4290 * elf/tst-auditmod4b.c: Move to ...
4291 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4292 * elf/tst-auditmod5a.c: Move to ...
4293 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4294 * elf/tst-auditmod5b.c: Move to ...
4295 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4296 * elf/tst-auditmod6a.c: Move to ...
4297 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4298 * elf/tst-auditmod6b.c: Move to ...
4299 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4300 * elf/tst-auditmod6c.c: Move to ...
4301 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4302 * elf/tst-auditmod7a.c: Move to ...
4303 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4304 * elf/tst-auditmod7b.c: Move to ...
4305 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4306
4307 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4308
4309 [BZ #15366]
4310 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4311 define unconditionally.
4312 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4313 define unconditionally.
4314 (INT8_C, INT16_C, etc.): Likewise.
4315
4316 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4317
4318 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4319 __ehdr_start with hidden visibility.
4320
4321 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4322
4323 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4324
4325 * math/libm-test.inc (cos_test): Use accurate hex constants.
4326 (sincost_test): Likewise.
4327
4328 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4329
4330 * math/libm-test.inc (catan_test): Add more tests.
4331 (catanh_test): Likewise.
4332
4333 * math/s_catanf.c (__catanf): Use suffixed floating-point
4334 constants.
4335 * math/s_catanhf.c (__catanhf): Likewise.
4336 * math/s_catanhl.c (__catanhl): Likewise.
4337 * math/s_catanl.c (__catanl): Likewise.
4338
4339 [BZ #15394]
4340 * math/s_catan.c (__catan): Calculate imaginary part of result
4341 with log1p not log unless computing log of number close to 0.
4342 * math/s_catanf.c (__catanf): Likewise.
4343 * math/s_catanl.c (__catanl): Likewise.
4344 * math/s_catanh.c (__catanh): Calculate real part of result with
4345 log1p not log unless computing log of number close to 0.
4346 * math/s_catanhf.c (__catanhf): Likewise.
4347 * math/s_catanhl.c (__catanhl): Likewise.
4348 * math/libm-test.inc (catan_test): Add more tests.
4349 (catanh_test): Likewise.
4350 * sysdeps/i386/fpu/libm-test-ulps: Update.
4351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4352
4353 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4354
4355 * benchtests/Makefile: Mention files in which fast and slow
4356 paths of math functions are implemented.
4357
4358 2013-04-23 Roland McGrath <roland@hack.frob.com>
4359
4360 * sysdeps/posix/timespec_get.c: New file.
4361
4362 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4363
4364 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4365 POWER.
4366 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4367 for POWER.
4368 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4369 powerpc/power5/fpu folders.
4370 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4371 * benchtests/Makefile: Add modf testcase.
4372 * benchtests/bench-modf.c: New file: Benchmark test for mo
4373
4374 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4375
4376 [BZ #14888]
4377 * time/Makefile (tests): Add tst-strptime-whitespace.
4378 * time/strptime_l.c (get_number): Use ISSPACE.
4379 (__strptime_internal): Likewise.
4380 * time/tst-strptime-whitespace.c: New test case.
4381
4382 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4383
4384 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4385 member.
4386 (_nss_files_init): Set it here.
4387
4388 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4389
4390 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4391 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4392 unsigned.
4393
4394 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4395
4396 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4397
4398 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4399
4400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4401 size just once.
4402
4403 2013-04-21 David S. Miller <davem@davemloft.net>
4404
4405 * po/ru.po: Update Russion translation from translation project.
4406
4407 2013-04-17 Adam Conrad <adconrad@0c3.net>
4408
4409 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4410 and setfsgid.
4411
4412 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4413
4414 * configure.in: Remove i386 configure warning. Remove i386 case.
4415 * configure: Regenerate.
4416 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4417 Add example to error message.
4418 * sysdeps/i386/configure: Regenerate.
4419
4420 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4421
4422 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4423 slowtan.
4424 * benchtests/cos-inputs: New file.
4425 * benchtests/slowcos-inputs: New file.
4426 * benchtests/slowcos.c: New file.
4427 * benchtests/slowtan-inputs: New file.
4428 * benchtests/slowtan.c: New file.
4429 * benchtests/tan-inputs: New file.
4430
4431 2013-04-16 Roland McGrath <roland@hack.frob.com>
4432
4433 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4434 considered kosher.
4435
4436 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4437
4438 * benchtests/Makefile: Include cppflags-iterator.mk to add
4439 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4440
4441 * Makefile.in (bench-clean): New target.
4442 * benchtests/Makefile (bench-clean): Likewise.
4443
4444 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4445
4446 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4447
4448 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4449
4450 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4451
4452 2013-04-15 Andreas Schwab <schwab@suse.de>
4453
4454 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4455 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4456 * nscd/pwdcache.c (cache_addpw): Likewise.
4457 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4458 more than recsize.
4459
4460 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4461
4462 * benchtests/Makefile (bench): Write all output to
4463 bench-out.tmp together.
4464
4465 2013-04-15 Andreas Schwab <schwab@suse.de>
4466
4467 * nscd/nscd.c (main): Don't fork again after closing files.
4468
4469 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4470
4471 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4472
4473 * benchtests/Rules (bench-deps): Collect dependencies into a
4474 single variable. Add Makefile to dependencies.
4475 ($(objpfx)bench-%.c): Depend on bench-deps.
4476
4477 2013-04-12 Roland McGrath <roland@hack.frob.com>
4478 Xavier Roche <roche+kml2@exalead.com>
4479
4480 [BZ #15361]
4481 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4482 just that it's a file descriptor.
4483 * manual/llio.texi (Synchronizing AIO Operations): Update description
4484 for EBADF error from aio_fsync.
4485
4486 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4487
4488 * Rules (bench): Move target definition...
4489 * benchtests/Makefile: ... here.
4490
4491 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4492
4493 * math/libm-test.inc (cos_test): Fix PI/2 test.
4494 (sincos_test): Likewise.
4495 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4496 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4497
4498 2013-04-11 Andreas Schwab <schwab@suse.de>
4499
4500 [BZ #13988]
4501 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4502 accept exponent character only when digits were seen.
4503 * stdio-common/Makefile (tests): Add bug26.
4504 * stdio-common/bug26.c: New file.
4505
4506 [BZ #14293]
4507 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4508 non-freeable.
4509
4510 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4511
4512 * Makeconfig (rtld-prefix): Define built linker prefix.
4513 * Rules (run-bench): Use it.
4514 * math/Makefile (run-regen-ulps): Likewise.
4515
4516 * Rules (bench): Remove eval.
4517
4518 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4519 Roland McGrath <roland@hack.frob.com>
4520 Ondrej Bilka <neleai@seznam.cz>
4521
4522 [BZ #15346]
4523 * time/getdate.c: Include ctype.h and alloca.h.
4524 (__getdate_r): Trim leading and trailing spaces of input.
4525 * time/tst-getdate.c (tests): Add tests with leading and
4526 trailing spaces.
4527
4528 2013-04-08 Roland McGrath <roland@hack.frob.com>
4529
4530 [BZ #14280]
4531 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4532 when computing value.
4533
4534 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4535
4536 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4537 Use testrun.sh to run libm tests.
4538
4539 [BZ #15309]
4540 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4541
4542 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4543
4544 [BZ #15264]
4545 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4546
4547 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4548
4549 * Makefile.in (regen-ulps): New target.
4550 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4551 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4552 [ifneq (no,$(PERL)] (regen-ulps): New target.
4553 [ifeq (no,$(PERL)] (regen-ulps): New target.
4554 * math/libm-test.inc (ulps_file_name): Define.
4555 (output_dir): New variable.
4556 (options): Add "output-dir" option.
4557 (parse_opt): Handle 'o' case.
4558 (main): If output_dir is non-NULL use it as a prefix
4559 otherwise use "".
4560 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4561
4562 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4563
4564 [BZ #10060, #10062]
4565 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4566 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4567 fail configure if __sync_val_compare_and_swap is not inlined.
4568 * sysdeps/i386/configure: Regenerate.
4569 * configure.in: Build for i686 when configured for i386.
4570 * configure: Regenerate.
4571 * README: Remove i386 reference.
4572
4573 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4574
4575 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4576 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4577
4578 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4579
4580 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4581 (lmsnanval): New variables.
4582 (F): Add conversion tests.
4583 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4584 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4585
4586 * stdio-common/tstdiomisc.c (F): Properly collect individual
4587 tests' results.
4588
4589 [BZ #14686, #15336]
4590 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4591 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4592 Instead, use input NaN values or generate a qNaN by arithmetic
4593 operation. Also fix bugs to comply with the standard.
4594 * math/libm-test.inc (remainder_test): Add more tests.
4595
4596 [BZ #15335, #15342]
4597 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4598 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4599 input NaN values or generate a qNaN by arithmetic operation.
4600
4601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4602 unreachable code.
4603
4604 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4605 definitions.
4606
4607 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4608
4609 [BZ #14478]
4610 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4611 underflowed result.
4612 * math/s_cexpf.c (__cexpf): Likewise.
4613 * math/s_cexpl.c (__cexpl): Likewise.
4614 * math/libm-test.inc (cexp_test): Add more tests.
4615
4616 2013-04-03 Andreas Schwab <schwab@suse.de>
4617
4618 [BZ #15330]
4619 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4620 order arrays from heap if bigger than alloca cutoff.
4621
4622 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4623
4624 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4625 (SNAN_TESTS_double): Refer to GCC PR56831.
4626 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4627 GCC PR56828.
4628
4629 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4630
4631 * Rules (bench): Move bench.out after the run is complete.
4632
4633 * Rules (bench): Echo currently running benchmark.
4634
4635 * benchtests/Makefile (bench): Add atan and slowatan.
4636 * benchtests/atan-inputs: New file.
4637 * benchtests/slowatan-inputs: New file.
4638 * benchtests/slowatan.c: New file.
4639
4640 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4641 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4642 its value.
4643
4644 [BZ #15305]
4645 * sysdeps/unix/sysv/linux/kernel-features.h
4646 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4647 __ASSUME_XFS_RESTRICTED_CHOWN.
4648 * sysdeps/unix/sysv/linux/pathconf.c
4649 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4650 Save and restore errno.
4651
4652 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4653
4654 [BZ #15327]
4655 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4656 arguments using __kernel_casinh.
4657 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4658 arguments using __kernel_casinhf.
4659 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4660 arguments using __kernel_casinhl.
4661 * math/libm-test.inc (cacosh_test): Add more tests.
4662 * sysdeps/i386/fpu/libm-test-ulps: Update.
4663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4664
4665 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4666
4667 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4669
4670 * bench/Makefile (bench): Add sin and slowsin.
4671 * benchtests/sin-inputs: New file.
4672 * benchtests/slowsin-inputs: New file.
4673 * benchtests/slowsin.c: New file.
4674
4675 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4676 (bench): Add slowexp and slowpow.
4677 (exp-ITER): Increase iterations.
4678 (pow-ITER): Likewise.
4679 * benchtests/exp-inputs: Change input.
4680 * benchtests/pow-inputs: Likewise.
4681 * benchtests/slowexp-inputs: New file.
4682 * benchtests/slowexp.c: New file.
4683 * benchtests/slowpow-inputs: New file.
4684 * benchtests/slowpow.c: New file.
4685
4686 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4687
4688 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4689 instructions.
4690 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4691 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4692 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4693 * benchtests/Makefile: Add rint benchtest.
4694 * benchtests/rint-inputs: Input for rint benchtest.
4695
4696 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4697
4698 * Versions.def (libm): Add GLIBC_2.18.
4699 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4700 hidden libm prototypes.
4701 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4702 * math/Makefile (libm-calls): Add s_issignaling.
4703 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4704 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4705 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4706 declaration.
4707 * math/math.h [__USE_GNU] (issignaling): New macro.
4708 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4709 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4711 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4714 * manual/arith.texi (issignaling): New section.
4715 * manual/libm-err-tab.pl (@all_functions): Update comment.
4716 * math/gen-libm-test.pl (parse_args): Apply special handling for
4717 issignaling.
4718 * math/libm-test.inc (print_float, issignaling_test): New
4719 functions.
4720 (check_float_internal): Add issignaling checks.
4721 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4722 default definition.
4723 * sysdeps/powerpc/math-tests.h: New file.
4724 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4725 tests.
4726 * math/test-snan.c (TEST_FUNC): Likewise.
4727
4728 2013-03-30 David S. Miller <davem@davemloft.net>
4729
4730 * po/de.po: Update from translation team.
4731
4732 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4733
4734 [BZ #10357]
4735 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4736 imaginary part less than 1.0 and real part less than 0.5
4737 specially.
4738 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4739 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4740 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4741 (cacos_test): Add more tests.
4742 (casin_test): Likewise.
4743 (casinh_test): Likewise.
4744 * sysdeps/i386/fpu/libm-test-ulps: Update.
4745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4746
4747 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4748
4749 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4750 ONE with its value.
4751
4752 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4753 (__pow_mp): Replace ONE and MONE with their values.
4754 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4755 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4756 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4757 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4758 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4759 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4760
4761 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4762
4763 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4764 (__pow_mp): Replace ZERO and MZERO with their values.
4765 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4766 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4767 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4768 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4769 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4770 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4771 (__sqr): Likewise.
4772
4773 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4774
4775 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4776
4777 2013-03-28 Roland McGrath <roland@hack.frob.com>
4778
4779 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4780 Declare with __attribute__ ((weak)).
4781 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4782 Call __call_tls_dtors only if it's not NULL.
4783
4784 2013-03-28 Roland McGrath <roland@hack.frob.com>
4785
4786 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4787 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4788 magic __ehdr_start linker symbol if it's defined.
4789 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4790 them up here if it was already done.
4791
4792 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4793 (_dl_aux_init): Use const in cast when setting it.
4794 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4795 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4796 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4797
4798 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4799 Declare them here.
4800 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4801 * csu/libc-tls.c: Nor here.
4802 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4803
4804 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4805 (__libc_message): Never call vsyslog.
4806
4807 2013-03-28 Alan Modra <amodra@gmail.com>
4808
4809 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4810 Define as empty.
4811 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4812 Likewise.
4813
4814 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4815
4816 [BZ #15214]
4817 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4818 underflow.
4819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4820
4821 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4822
4823 [BZ #15304]
4824 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4825 Don't add gid passed as argument.
4826
4827 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4828
4829 2013-03-27 Joseph Myers <joseph@codesourcery.com>
4830
4831 [BZ #15307]
4832 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4833 imaginary part between 1.0 and 1.5 and real part less than 0.5
4834 specially.
4835 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4836 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4837 * math/libm-test.inc (cacos_test): Add more tests.
4838 (casin_test): Likewise.
4839 (casinh_test): Likewise.
4840 * sysdeps/i386/fpu/libm-test-ulps: Update.
4841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4842
4843 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4844
4845 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4846 constants.
4847 (norm): Likewise.
4848 (denorm): Likewise.
4849 (__dbl_mp): Likewise.
4850 (add_magnitudes): Likewise.
4851 (sub_magnitudes): Likewise.
4852 (__add): Likewise.
4853 (__sub): Likewise.
4854 (__mul): Likewise.
4855 (__sqr): Likewise.
4856 (__inv): Likewise.
4857 (__dvd): Likewise.
4858
4859 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4860 commented code.
4861 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4862 (__dubcos): Likewise.
4863 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4864 (__ieee754_acos): Likewise.
4865 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4866 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4867 (__exp1): Likewise.
4868 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4870 (log1): Likewise.
4871 (my_log2): Likewise.
4872 (checkint): Likewise.
4873 * sysdeps/ieee754/dbl-64/e_remainder.c
4874 (__ieee754_remainder): Likewise.
4875 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4876 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4877 (bsloww): Likewise.
4878 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4879
4880 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4881 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4882 MANTISSA_STORE_T to store computations on mantissa. Use
4883 macros for rounding and division.
4884 (denorm): Likewise.
4885 (__dbl_mp): Likewise.
4886 (add_magnitudes): Likewise.
4887 (sub_magnitudes): Likewise.
4888 (__mul): Likewise.
4889 (__sqr): Likewise.
4890 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4891 powers of two in terms of TWOPOW macro.
4892 (mp_no): Make type of mantissa as MANTISSA_T.
4893 [!RADIXI]: Define RADIXI.
4894 [!TWO52]: Define TWO52.
4895 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4896
4897 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4898
4899 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4900 llroundl symbol when building for PPC32.
4901
4902 2013-03-24 Mark H Weaver <mhw@netris.org>
4903
4904 * manual/arith.texi (Normalization Functions): Fix prototypes for
4905 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4906
4907 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4908
4909 [BZ #13889]
4910 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4911 high value to check if expl overflow.
4912 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4913 to check for underflow and overflow.
4914 * math/libm-test.inc: Add exp test.
4915
4916 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4917
4918 [BZ #11120]
4919 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4920 with NOT_IN_libc.
4921
4922 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4923
4924 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4925 symbol.
4926
4927 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4928
4929 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4930 wrap blocks consisting of several statements.
4931
4932 * sysdeps/generic/math-tests.h: New file.
4933 * sysdeps/i386/fpu/math-tests.h: Likewise.
4934 * math/test-snan.c: Include it.
4935 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4936
4937 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4938
4939 [BZ #15285]
4940 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4941 (__ieee754_j0l): Do not improve calculations using cos of twice
4942 input for inputs above LDBL_MAX / 2.0L.
4943 (__ieee754_y0l): Likewise.
4944 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4945 (__ieee754_j1l): Do not improve calculations using cos of twice
4946 input for inputs above LDBL_MAX / 2.0L.
4947 (__ieee754_y1l): Likewise.
4948 * math/libm-test.inc (j0_test): Add another test.
4949 (j1_test): Likewise.
4950 (y0_test): Likewise.
4951 (y1_test): Likewise.
4952 * sysdeps/i386/fpu/libm-test-ulps: Update.
4953
4954 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4955
4956 * Rules ($(objpfx)bench-%.c): Include code from a C source
4957 file.
4958
4959 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4960
4961 [BZ #15287]
4962 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4963 imaginary part 1.0 and real part less than 0.5 specially.
4964 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4965 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4966 * math/libm-test.inc (cacos_test): Add more tests.
4967 (casin_test): Likewise.
4968 (casinh_test): Likewise.
4969 * sysdeps/i386/fpu/libm-test-ulps: Update.
4970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4971
4972 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4973
4974 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4975 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4976
4977 2013-03-20 Joseph Myers <joseph@codesourcery.com>
4978
4979 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4980 * config.make.in (config-cflags-sse4): Remove variable.
4981 (config-cflags-avx): Likewise.
4982 (config-cflags-sse2avx): Likewise.
4983 (config-cflags-novzeroupper): Likewise.
4984 (config-asflags-i686): Likewise.
4985 (have-mfma4): Likewise.
4986 (have-as-vis3): Likewise.
4987 (MIG): Likewise.
4988 * configure.in (MIG): Do not AC_SUBST.
4989 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4990 (libc_cv_cc_sse4): Do not AC_SUBST.
4991 (libc_cv_cc_avx): Likewise.
4992 (libc_cv_cc_sse2avx): Likewise.
4993 (libc_cv_cc_novzeroupper): Likewise.
4994 (libc_cv_cc_fma4): Likewise.
4995 (libc_cv_as_i686): Likewise.
4996 (libc_cv_sparc_as_vis3): Likewise.
4997 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4998 LIBC_CONFIG_VAR.
4999 (config-asflags-i686): Likewise.
5000 (config-cflags-avx): Likewise.
5001 (config-cflags-sse2avx): Likewise.
5002 (have-mfma4): Likewise.
5003 (config-cflags-novzeroupper): Likewise.
5004 * sysdeps/mach/configure.in (MIG): Likewise.
5005 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5006 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5007 LIBC_CONFIG_VAR.
5008 (config-cflags-avx): Likewise.
5009 (config-cflags-sse2avx): Likewise.
5010 (have-mfma4): Likewise.
5011 (config-cflags-novzeroupper): Likewise.
5012 * configure: Regenerated.
5013 * sysdeps/i386/configure: Likewise.
5014 * sysdeps/mach/configure: Likewise.
5015 * sysdeps/sparc/configure: Likewise.
5016 * sysdeps/x86_64/configure: Likewise.
5017
5018 2013-03-20 Roland McGrath <roland@hack.frob.com>
5019
5020 [BZ #14812]
5021 * locale/programs/localedef.c (options): Put N_ translation marker
5022 on argument names, not just descriptions.
5023
5024 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5025
5026 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5027
5028 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5029
5030 [BZ #14176]
5031 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5032
5033 2013-03-19 Roland McGrath <roland@hack.frob.com>
5034
5035 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5036 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5037 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5038 [!BEFORE_ABORT] (before_abort): New function.
5039 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5040 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5041 (writev_for_fatal): New function.
5042 (WRITEV_FOR_FATAL): New macro; call that.
5043 (backtrace_and_maps): New function.
5044 (BEFORE_ABORT): New macro; call that.
5045 (struct str_list): Type removed.
5046 (__libc_message, __libc_fatal): Functions removed.
5047 Include <sysdeps/posix/libc_fatal.c> instead.
5048
5049 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5050
5051 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5052 constants.
5053 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5054 double constants.
5055
5056 2013-03-19 Andreas Schwab <schwab@suse.de>
5057
5058 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5059 * sysdeps/gnu/configure: Regenerate.
5060
5061 * configure.in: Substitute libc_cv_rtlddir.
5062 * configure: Regenerate.
5063 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5064 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5065 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5066 * elf/Makefile (install-others, CFLAGS-interp.c)
5067 (ldso_install, common-ldd-rewrite): Likewise.
5068 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5069 $(inst_slibdir)/$(rtld-installed-name).
5070 * scripts/rellns-sh: Add -p option.
5071 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5072 for source.
5073
5074 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5075
5076 * manual/nptl.texi: Renamed to ...
5077 * manual/threads.texi: ... this.
5078 * manual/Makefile (chapters): Update.
5079
5080 2013-03-18 Roland McGrath <roland@hack.frob.com>
5081
5082 [BZ #14812]
5083 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5084 on argument names, not just descriptions.
5085 * malloc/memusagestat.c (options): Likewise.
5086 * nss/getent.c (options): Likewise.
5087
5088 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5089
5090 [BZ #14812]
5091 * iconv/iconv_prog.c (options): Put N_ translation marker
5092 on argument names, not just descriptions.
5093 * iconv/iconvconfig.c (options): Likewise.
5094
5095 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5096
5097 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5098 implementation which is faster on all x86_64 architectures.
5099 Tested on AMD, Intel Nehalem, SNB, IVB.
5100 * sysdeps/x86_64/strnlen.S: Likewise.
5101
5102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5103 Remove all multiarch strlen and strnlen versions.
5104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5105 Remove strlen and strnlen related parts.
5106
5107 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5108 Inline strlen part.
5109 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5110
5111 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5112 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5113 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5114 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5115 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5116 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5117
5118 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5119
5120 * manual/memory.texi (Malloc Tunable Parameters):
5121 Sort parameters alphabetically. Add comments for missing entries.
5122
5123 2013-03-17 David S. Miller <davem@davemloft.net>
5124
5125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5126
5127 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5128
5129 [BZ #15283]
5130 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5131 for arguments at most half maximum finite value.
5132 * math/libm-test.inc (j0_test): Add more tests.
5133 (j1_test): Likewise.
5134 (y0_test): Likewise.
5135 (y1_test): Likewise.
5136 * sysdeps/i386/fpu/libm-test-ulps: Update.
5137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5138
5139 [BZ #14155]
5140 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5141 1 / x and functions P and Q for arguments above 0x1p256L.
5142 (__ieee754_y0l): Likewise.
5143 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5144 (__ieee754_y1l): Likewise.
5145 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5146 (j1_test): Likewise.
5147 (y0_test): Likewise.
5148 (y1_test): Likewise.
5149
5150 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5151
5152 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5153 variable.
5154
5155 2013-03-15 Roland McGrath <roland@hack.frob.com>
5156
5157 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5158 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5159 zero since it's initialized to EXEC_PAGESIZE.
5160
5161 * sysdeps/unix/sysv/linux/ldsodefs.h
5162 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5163 * sysdeps/generic/ldsodefs.h: ... here.
5164
5165 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5166
5167 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5168
5169 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5170 math/test-snan.c.
5171 * math/test-snan.c: Renamed from
5172 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5173 * math/Makefile (tests): Add test-snan.
5174 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5175 test-powerpc-snan.
5176
5177 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5178 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5179 functions.
5180 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5181 __builtin_nan family of functions.
5182 * math/libm-test.inc (initialize): Initialize qnan_value with
5183 __builtin_nan family of functions.
5184 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5185 Remove variables.
5186 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5187 Remove functions.
5188 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5189 storage class. Initialize qNaN_var and sNaN_var with
5190 __builtin_nan and __builtin_nans families of functions,
5191 respectively.
5192
5193 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5194 (sqrt_test): Remove duplicate test with qNaN input.
5195 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5196 (round_test, signbit_test, significand_test): Note missing +/-Inf
5197 as well as qNaN tests.
5198
5199 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5200 qNaN_var. Fix a few strings, too.
5201 * math/libm-test.inc (nan_value): Rename to qnan_value.
5202 * math/gen-libm-test.pl (%beautify): Adjust to that.
5203 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5204 * math/test-misc.c (main): Likewise.
5205 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5206 to __qnan_bytes, and __qnan_union, respectively.
5207 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5208 Likewise.
5209 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5210 and lqnanval, respectively.
5211 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5212 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5213 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5214 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5215
5216 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5217 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5218 doubles.
5219
5220 * math/test-misc.c (main): Fix copy'n'pastos.
5221 * misc/tst-efgcvt.c (special): Likewise.
5222
5223 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5224 Remove declarations.
5225
5226 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5227
5228 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5229 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5230 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5231 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5232
5233 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5234
5235 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5236 macro to return vdso values correctly in IFUNC implementations.
5237 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5238 Optimization by using IFUNC.
5239
5240 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5241 Richard Henderson <rth@redhat.com>
5242 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5243
5244 * Makefile.in (bench): New target.
5245 * NEWS: Mention the benchmark framework.
5246 * Rules (bench): Likewise.
5247 (binaries-bench): Generate binaries for functions to
5248 benchmark.
5249 * benchtests/Makefile: New makefile for benchmark tests.
5250 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5251 programs.
5252 * benchtests/exp-inputs: New input file for EXP function.
5253 * benchtests/pow-inputs: New input file for POW function.
5254 * scripts/bench.pl: New script to generate source files for
5255 benchmark programs.
5256
5257 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5258
5259 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5260 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5261 computations on mantissa. Use macros for rounding and
5262 division.
5263 (denorm): Likewise.
5264 (__dbl_mp): Likewise.
5265 (add_magnitudes): Likewise.
5266 (sub_magnitudes): Likewise.
5267 (__mul): Likewise.
5268 (__sqr): Likewise.
5269 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5270 powers of two in terms of TWOPOW macro.
5271 (mp_no): Make type of mantissa as MANTISSA_T.
5272 [!RADIXI]: Define RADIXI.
5273 [!TWO52]: Define TWO52.
5274 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5275
5276 * manual/nptl.texi (cindex): Modify threads to pthreads.
5277
5278 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5279
5280 * sysdeps/x86_64/preconfigure: Regenerated.
5281
5282 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5283
5284 [BZ #14155]
5285 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5286 0x1p28 and above.
5287 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5288 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5289 0x1p28 and above.
5290 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5291 * math/libm-test.inc (j0_test): Do not allow one spurious
5292 underflow exception.
5293 (y1_test): Likewise.
5294
5295 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5296
5297 * manual/Makefile (chapters): Add nptl.
5298 * manual/debug.texi (Debugging Support): Add link to Threads
5299 chapter.
5300 * manual/nptl.texi: New file.
5301
5302 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5303
5304 2013-03-14 Petr Baudis <pasky@ucw.cz>
5305
5306 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5307 for non-NULL pointer before the memory validity test. Pointed
5308 out by Holger Brunck <holger.brunck@keymile.com>.
5309
5310 2013-03-13 Andreas Schwab <schwab@suse.de>
5311
5312 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5313 instead of .os.
5314
5315 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5316
5317 * timezone/zic.c: Update from tzcode 2013b.
5318
5319 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5320
5321 * manual/install.texi (Configuring and compiling):
5322 Mention i686 and i586.
5323 * INSTALL: Regenerate.
5324
5325 2013-03-12 Roland McGrath <roland@hack.frob.com>
5326
5327 * sysdeps/init_array/elf-init.c: New file.
5328 * csu/elf-init.c
5329 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5330 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5331
5332 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5333 __gmon_start__ as global, but as static with a .preinit_array pointer.
5334 * sysdeps/init_array/gmon-start.c: New file. Use that.
5335 * sysdeps/init_array/crti.S: New file, empty except for comments.
5336 * sysdeps/init_array/crtn.S: Likewise.
5337
5338 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5339
5340 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5341 definining bcopy.
5342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5343 Remove Prefer_SSE_for_memop.
5344 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5345 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5346 HAS_PREFER_SSE_FOR_MEMOP.
5347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5348 memset-x86-64.
5349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5350 Remove bzero, memset ifunc support.
5351 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5352 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5353 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5354 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5355
5356 2013-03-11 Andreas Schwab <schwab@suse.de>
5357
5358 [BZ #15234]
5359 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5360 by SHLIB_COMPAT.
5361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5362 (GLIBC_2.16): Remove pthread_atfork.
5363
5364 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5365
5366 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5367 (ptestcases.h): Likewise.
5368
5369 2013-03-08 Roland McGrath <roland@hack.frob.com>
5370
5371 * Makeconfig ($(common-objpfx)config.status): Depend on
5372 sysdeps/*/preconfigure{,.in} too.
5373
5374 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5375
5376 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5377 (__free_hook): Use void * instead of __malloc_ptr_t.
5378 (__malloc_hook): Likewise.
5379 (__realloc_hook): Likewise.
5380 (__memalign_hook): Likewise.
5381 (__after_morecore_hook): Likewise.
5382 * malloc/arena.c (save_malloc_hook): Likewise.
5383 (save_free_hook): Likewise.
5384 * malloc/hooks.c (malloc_hook_ini): Likewise.
5385 (realloc_hook_ini): Likewise.
5386 (memalign_hook_ini): Likewise.
5387 * malloc/malloc.c (malloc_hook_ini): Likewise.
5388 (realloc_hook_ini): Likewise.
5389 (memalign_hook_ini): Likewise.
5390 (__free_hook): Likewise.
5391 (__malloc_hook): Likewise.
5392 (__realloc_hook): Likewise.
5393 (__memalign_hook): Likewise.
5394 (__libc_malloc): Likewise.
5395 (__libc_free): Likewise.
5396 (__libc_realloc): Likewise.
5397 (__libc_memalign): Likewise.
5398 (__libc_valloc): Likewise.
5399 (__libc_pvalloc): Likewise.
5400 (__libc_calloc): Likewise.
5401 (__posix_memalign): Likewise.
5402 * malloc/morecore.c (__sbrk): Likewise.
5403 (__default_morecore): Likewise.
5404
5405 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5406
5407 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5408 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5409 __malloc_ptrdiff_t.
5410
5411 * malloc/malloc.h (__malloc_size_t): Remove macro.
5412 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5413 __malloc_size_t.
5414 (old_memalign_hook): Likewise.
5415 (old_realloc_hook): Likewise.
5416 (struct hdr): Likewise.
5417 (flood): Likewise.
5418 (mallochook): Likewise.
5419 (memalignhook): Likewise.
5420 (reallochook): Likewise.
5421 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5422 (tr_old_realloc_hook): Likewise.
5423 (tr_old_memalign_hook): Likewise.
5424 (tr_mallochook): Likewise.
5425 (tr_reallochook): Likewise.
5426 (tr_memalignhook): Likewise.
5427
5428 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5429
5430 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5431 default_ldbl_pack and using as default implementation.
5432 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5433 implementation.
5434 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5435 redundant definition.
5436 (ldbl_insert_mantissa): Likewise.
5437 (ldbl_canonicalize): Likewise.
5438 (ldbl_nearbyint): Likewise.
5439 (ldbl_pack): Rename to ldbl_pack_ppc.
5440 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5441 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5442 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5443
5444 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5445
5446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5447 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5448 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5449 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5451 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5452 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5453 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5454
5455 2013-03-07 Andreas Jaeger <aj@suse.de>
5456
5457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5458 bits/mman-linux.h.
5459
5460 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5461
5462 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5463 Include mpa.h and declare __MPEXP.
5464 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5465 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5466 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5467 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5468 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5469 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5470 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5471
5472 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5473 (__slowpow): Use long double EXPL and LOGL functions to
5474 compute POW.
5475 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5476 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5477 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5478 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5479 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5480 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5481
5482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5483 intermediate variable to calculate exponent.
5484 (__sqr): Likewise.
5485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5486 Likewise.
5487 (__sqr): Likewise.
5488
5489 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5490 [!NO__SQR]: Define __sqr.
5491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5492 and NO__SQR. Remove all code except __mul and __sqr. Include
5493 sysdeps/ieee754/dbl-64/mpa.c.
5494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5495
5496 [BZ #12723]
5497 * posix/Makefile (tests): Add tst-pathconf.
5498 * posix/tst-pathconf.c: New test case.
5499 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5500 _PC_PIPE_BUF.
5501 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5502
5503 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5504
5505 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5506
5507 2013-03-06 Andreas Jaeger <aj@suse.de>
5508
5509 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5510 definition via __MAP_ANONYMOUS.
5511
5512 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5513 it's not part of Linux headers.
5514
5515 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5516 (MAP_HUGE_MASK): Define.
5517
5518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5519 Define.
5520 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5521 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5522 Define.
5523 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5524 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5525 Define.
5526 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5527 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5528 Define.
5529 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5530
5531 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5532 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5533 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5534 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5535 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5536 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5537
5538 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5539 Handle f2fs.
5540
5541 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5542 Handle f2fs and efivarfs.
5543
5544 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5545 f2fs.
5546
5547 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5548 (EFIVARFS_MAGIC): Add.
5549 (F2FS_LINK_MAX): Add.
5550
5551 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5552
5553 * stdio-common/vfprintf.c: Replace __builtin_expect with
5554 __glibc_unlikely.
5555
5556 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5557
5558 [BZ #13550]
5559 * sysdeps/generic/bp-sym.h: Remove file.
5560 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5561 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5562 <bp-sym.h> and <bp-asm.h>.
5563 (__longjmp): Don't use BP_SYM.
5564 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5565 and <bp-asm.h>.
5566 (memcpy): Don't use BP_SYM.
5567 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5568 <bp-sym.h> and <bp-asm.h>.
5569 (memcpy): Don't use BP_SYM.
5570 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5571 <bp-asm.h>.
5572 (memcpy): Don't use BP_SYM.
5573 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5574 <bp-asm.h>.
5575 (memset): Don't use BP_SYM.
5576 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5577 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5578 (__bzero): Don't use BP_SYM.
5579 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5580 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5581 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5582 <bp-sym.h> and <bp-asm.h>.
5583 (memcmp): Don't use BP_SYM. Remove comment about bounded
5584 pointers.
5585 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5586 <bp-sym.h> and <bp-asm.h>.
5587 (memcpy): Don't use BP_SYM.
5588 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5589 <bp-sym.h> and <bp-asm.h>.
5590 (memset): Don't use BP_SYM.
5591 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5592 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5593 (__bzero): Don't use BP_SYM.
5594 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5595 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5596 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5597 <bp-sym.h> and <bp-asm.h>.
5598 (strncmp): Don't use BP_SYM. Remove comment about bounded
5599 pointers.
5600 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5601 <bp-sym.h> and <bp-asm.h>.
5602 (memcpy): Don't use BP_SYM.
5603 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5604 <bp-sym.h> and <bp-asm.h>.
5605 (memset): Don't use BP_SYM.
5606 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5607 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5608 (__bzero): Don't use BP_SYM.
5609 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5610 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5611 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5612 <bp-sym.h> and <bp-asm.h>.
5613 (__memchr): Don't use BP_SYM.
5614 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5615 <bp-sym.h> and <bp-asm.h>.
5616 (memcmp): Don't use BP_SYM. Remove comment about bounded
5617 pointers.
5618 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5619 <bp-sym.h> and <bp-asm.h>.
5620 (memcpy): Don't use BP_SYM.
5621 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5622 <bp-sym.h> and <bp-asm.h>.
5623 (__mempcpy): Don't use BP_SYM.
5624 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5625 <bp-sym.h> and <bp-asm.h>.
5626 (__memrchr): Don't use BP_SYM.
5627 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5628 <bp-sym.h> and <bp-asm.h>.
5629 (memset): Don't use BP_SYM.
5630 (__bzero): Likewise.
5631 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5632 <bp-sym.h> and <bp-asm.h>.
5633 (__rawmemchr): Don't use BP_SYM.
5634 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5635 <bp-sym.h> and <bp-asm.h>.
5636 (__STRCMP): Don't use BP_SYM.
5637 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5638 <bp-sym.h> and <bp-asm.h>.
5639 (strchr): Don't use BP_SYM.
5640 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5641 <bp-sym.h> and <bp-asm.h>.
5642 (__strchrnul): Don't use BP_SYM.
5643 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5644 <bp-sym.h> and <bp-asm.h>.
5645 (strlen): Don't use BP_SYM.
5646 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5647 <bp-sym.h> and <bp-asm.h>.
5648 (strncmp): Don't use BP_SYM. Remove comment about bounded
5649 pointers.
5650 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5651 <bp-sym.h> and <bp-asm.h>.
5652 (__strnlen): Don't use BP_SYM.
5653 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5654 <bp-sym.h> and <bp-asm.h>.
5655 (__GI__setjmp): Don't use BP_SYM.
5656 (_setjmp): Likewise.
5657 (__sigsetjmp): Likewise.
5658 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5659 (L(start_addresses)): Don't use BP_SYM.
5660 (_start): Likewise.
5661 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5662 <bp-asm.h>.
5663 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5664 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5665 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5666 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5667 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5668 <bp-asm.h>.
5669 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5670 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5671 about bounded pointers.
5672 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5673 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5674 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5675 <bp-asm.h>.
5676 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5677 about bounded pointers. Remove GKM FIXME comments.
5678 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5679 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5680 <bp-asm.h>.
5681 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5682 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5683 Remove GKM FIXME comments.
5684 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5685 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5686 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5687 <bp-asm.h>.
5688 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5689 about bounded pointers. Remove GKM FIXME comment.
5690 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5691 and <bp-asm.h>.
5692 (strncmp): Don't use BP_SYM. Remove comment about bounded
5693 pointers.
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5695 <bp-sym.h> and <bp-asm.h>.
5696 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5698 <bp-sym.h> and <bp-asm.h>.
5699 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5700 comment.
5701
5702 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5703
5704 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5705 call free(NULL).
5706
5707 2013-03-05 David S. Miller <davem@davemloft.net>
5708
5709 * po/es.po: Update from translation team.
5710
5711 2013-03-05 Andreas Jaeger <aj@suse.de>
5712
5713 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5714 <bits/mman-linux.h>.
5715 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5716 is fine.
5717 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5718 <bits/mman-linux.h> to end of file.
5719 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5720 is fine.
5721 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5722 <bits/mman-linux.h> to end of file.
5723 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5724 is fine.
5725 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5726 <bits/mman-linux.h> to end of file.
5727
5728 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5729 (MCL_CURRENT, MCL_FUTURE): Define here.
5730
5731 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5732
5733 [BZ #15232]
5734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5735 attribute_hidden.
5736 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5737
5738 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5739
5740 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5741 fourth parameter needed for rt_sigprocmask syscall.
5742 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5743 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5744 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5745 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5746 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5747 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5748
5749 2013-03-04 Joseph Myers <joseph@codesourcery.com>
5750
5751 [BZ #13550]
5752 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5753 comment about bounded pointers.
5754 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5755 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5756
5757 2013-03-04 Andreas Jaeger <aj@suse.de>
5758
5759 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5760 common definitions.
5761
5762 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5763 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5764 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5765 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5766 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5767 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5768
5769 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5770
5771 [BZ #15055]
5772 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5773 __ieee754_sqrl instead of __sqrl.
5774
5775 2013-03-01 Joseph Myers <joseph@codesourcery.com>
5776
5777 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5778 * sysdeps/powerpc/fpu_control.h: ... here.
5779 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5780 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5781 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5782 * sysdeps/powerpc/bits/mathinline.h: ... here.
5783
5784 2013-03-01 Roland McGrath <roland@hack.frob.com>
5785
5786 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5787 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5788 to just [NEED_DL_SYSINFO_DSO].
5789 * elf/dl-support.c: Likewise.
5790 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5791 * elf/rtld.c (dl_main): Likewise.
5792 * elf/setup-vdso.h (setup_vdso): Likewise.
5793 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5794 * sysdeps/unix/sysv/linux/dl-sysdep.c
5795 (_dl_discover_osversion): Likewise.
5796
5797 2013-03-01 Carlos O'Donell <carlos@redhat.com>
5798
5799 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5800 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5801
5802 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5803
5804 * NEWS: Mention libm performance improvements and non-x86 PI
5805 futex support.
5806
5807 * csu/libc-start.c (__pthread_initialize_minimal): Change
5808 function arguments.
5809 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5810
5811 2013-02-28 Joseph Myers <joseph@codesourcery.com>
5812
5813 [BZ #13550]
5814 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5815 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5816 <bp-sym.h> and <bp-asm.h>.
5817 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5818 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5819 and <bp-asm.h>.
5820 (memcpy): Don't use BP_SYM.
5821 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5822 <bp-asm.h>.
5823 (__mpn_add_n): Don't use BP_SYM.
5824 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5825 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5826 and <bp-asm.h>.
5827 (__mpn_addmul_1): Don't use BP_SYM.
5828 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5829 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5830 <bp-sym.h>.
5831 (_setjmp): Don't use BP_SYM.
5832 (__novmx_setjmp): Likewise.
5833 (__GI__setjmp): Likewise.
5834 (__vmx_setjmp): Likewise.
5835 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5836 <bp-sym.h>.
5837 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5838 (__bzero): Don't use BP_SYM.
5839 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5840 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5841 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5842 <bp-sym.h> and <bp-asm.h>.
5843 (memcpy): Don't use BP_SYM.
5844 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5845 <bp-sym.h> and <bp-asm.h>.
5846 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5847 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5848 <bp-sym.h> and <bp-asm.h>.
5849 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5850 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5851 <bp-asm.h>.
5852 (__mpn_lshift): Don't use BP_SYM.
5853 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5854 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5855 <bp-asm.h>.
5856 (memset): Don't use BP_SYM.
5857 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5858 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5859 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5860 <bp-asm.h>.
5861 (__mpn_mul_1): Don't use BP_SYM.
5862 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5863 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5864 <bp-sym.h> and <bp-asm.h>.
5865 (memcmp): Don't use BP_SYM.
5866 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5867 <bp-sym.h> and <bp-asm.h>.
5868 (memcpy): Don't use BP_SYM.
5869 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5870 <bp-sym.h> and <bp-asm.h>.
5871 (memset): Don't use BP_SYM.
5872 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5873 <bp-sym.h> and <bp-asm.h>.
5874 (strncmp): Don't use BP_SYM.
5875 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5876 <bp-sym.h> and <bp-asm.h>.
5877 (memcpy): Don't use BP_SYM.
5878 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5879 <bp-sym.h> and <bp-asm.h>.
5880 (memset): Don't use BP_SYM.
5881 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5882 <bp-sym.h> and <bp-asm.h>.
5883 (__memchr): Don't use BP_SYM.
5884 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5885 <bp-sym.h> and <bp-asm.h>.
5886 (memcmp): Don't use BP_SYM.
5887 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5888 <bp-sym.h> and <bp-asm.h>.
5889 (memcpy): Don't use BP_SYM.
5890 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5891 <bp-sym.h> and <bp-asm.h>.
5892 (__mempcpy): Don't use BP_SYM.
5893 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5894 <bp-sym.h> and <bp-asm.h>.
5895 (__memrchr): Don't use BP_SYM.
5896 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5897 <bp-sym.h> and <bp-asm.h>.
5898 (memset): Don't use BP_SYM.
5899 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5900 <bp-sym.h> and <bp-asm.h>.
5901 (__rawmemchr): Don't use BP_SYM.
5902 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5903 <bp-sym.h> and <bp-asm.h>.
5904 (__STRCMP): Don't use BP_SYM.
5905 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5906 <bp-sym.h> and <bp-asm.h>.
5907 (strchr): Don't use BP_SYM.
5908 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5909 <bp-sym.h> and <bp-asm.h>.
5910 (__strchrnul): Don't use BP_SYM.
5911 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5912 <bp-sym.h> and <bp-asm.h>.
5913 (strlen): Don't use BP_SYM.
5914 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5915 <bp-sym.h> and <bp-asm.h>.
5916 (strncmp): Don't use BP_SYM.
5917 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5918 <bp-sym.h> and <bp-asm.h>.
5919 (__strnlen): Don't use BP_SYM.
5920 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5921 <bp-asm.h>.
5922 (__mpn_rshift): Don't use BP_SYM.
5923 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5924 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5925 <bp-sym.h> and <bp-asm.h>.
5926 (__sigsetjmp): Don't use BP_SYM.
5927 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5928 (L(start_addresses)): Don't use BP_SYM.
5929 (_start): Likewise.
5930 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5931 <bp-asm.h>.
5932 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5933 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5934 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5935 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5936 <bp-asm.h>.
5937 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5938 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5939 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5940 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5941 <bp-asm.h>.
5942 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5943 comments.
5944 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5945 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5946 <bp-asm.h>.
5947 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5948 FIXME comments.
5949 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5950 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5951 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5952 <bp-asm.h>.
5953 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5954 comment.
5955 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5956 and <bp-asm.h>.
5957 (strncmp): Don't use BP_SYM,
5958 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5959 <bp-asm.h>.
5960 (__mpn_sub_n): Don't use BP_SYM.
5961 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5962 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5963 and <bp-asm.h>.
5964 (__mpn_submul_1): Don't use BP_SYM.
5965 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5967 <bp-sym.h> and <bp-asm.h>.
5968 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5970 <bp-sym.h> and <bp-asm.h>.
5971 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5972 comment.
5973
5974 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5975
5976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5977 Use ZK to minimize writes to Z.
5978 (sub_magnitudes): Simplify code a bit.
5979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5980 Use ZK to minimize writes to Z.
5981 (sub_magnitudes): Simplify code a bit.
5982
5983 2013-02-27 Roland McGrath <roland@hack.frob.com>
5984
5985 * csu/gmon-start.c: Add special exception to license text.
5986
5987 2013-02-27 Richard Henderson <rth@redhat.com>
5988
5989 * scripts/config.guess: Update from config.git.
5990 * scripts/config.sub: Likewise.
5991
5992 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5993
5994 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5995
5996 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5997
5998 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5999
6000 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6001
6002 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6003
6004 2013-02-26 Roland McGrath <roland@hack.frob.com>
6005
6006 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6007 [$(build-shared = yes].
6008
6009 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6010
6011 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6012 (__mul): Reduce iterations for calculating mantissa.
6013
6014 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6015 MPTWO.
6016 (__mpranred): Likewise.
6017
6018 [BZ #15160]
6019 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6020 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6021
6022 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6023
6024 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6025 Define __attribute__.
6026
6027 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6028
6029 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6030 unused.
6031 * posix/regex_internal.h (__attribute): Remove.
6032 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6033 (re_string_context_at): Likewise.
6034 (bitset_not): Use __attribute__ and mark function as possibly
6035 unused.
6036 (bitset_merge): Likewise.
6037 (bitset_mask): Likewise.
6038 (re_string_char_size_at): Likewise.
6039 (re_string_wchar_at): Likewise.
6040 (re_string_elem_size_at): Likewise.
6041
6042 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6043
6044 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6045 code.
6046 (cc32): Likewise.
6047
6048 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6049 (__acr): Likewise.
6050 (__cpy): Likewise.
6051 (norm): Likewise.
6052 (denorm): Likewise.
6053 (__dbl_mp): Likewise.
6054 (add_magnitudes): Likewise.
6055 (sub_magnitudes): Likewise.
6056 (__mul): Likewise.
6057 (__inv): Likewise.
6058
6059 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6060 style.
6061
6062 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6063 style.
6064
6065 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6066 code.
6067
6068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6069 up changes with default code.
6070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6071 Likewise.
6072
6073 2013-02-24 Allan McRae <allan@archlinux.org>
6074
6075 * manual/socket.texi (The Internet Namespace): Order menu items
6076 to match that in the file.
6077
6078 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6079 node listing of the info page menu.
6080
6081 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6082
6083 [BZ #13550]
6084 * sysdeps/i386/bp-asm.h: Remove file.
6085 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6086 (PARMS): Do not use macros from bp-asm.h.
6087 (S1): Likewise.
6088 (S2): Likewise.
6089 (SIZE): Likewise.
6090 (__mpn_add_n): Do not use BP_SYM
6091 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6092 "bp-asm.h".
6093 (PARMS): Do not use macros from bp-asm.h.
6094 (S1): Likewise.
6095 (SIZE): Likewise.
6096 (__mpn_addmul_1): Do not use BP_SYM
6097 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6098 "bp-asm.h".
6099 (PARMS): Do not use macros from bp-asm.h.
6100 (SIGMSK): Likewise.
6101 (_setjmp): Likewise. Do not use BP_SYM.
6102 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6103 "bp-asm.h".
6104 (PARMS): Do not use macros from bp-asm.h.
6105 (SIGMSK): Likewise.
6106 (setjmp): Likewise. Do not use BP_SYM.
6107 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6108 "bp-asm.h".
6109 (PARMS): Do not use macros from bp-asm.h.
6110 (__frexp): Do not use BP_SYM.
6111 (frexp): Likewise.
6112 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6113 "bp-asm.h".
6114 (PARMS): Do not use macros from bp-asm.h.
6115 (__frexpf): Do not use BP_SYM.
6116 (frexpf): Likewise.
6117 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6118 "bp-asm.h".
6119 (PARMS): Do not use macros from bp-asm.h.
6120 (__frexpl): Do not use BP_SYM.
6121 (frexpl): Likewise.
6122 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6123 "bp-asm.h".
6124 (PARMS): Do not use macros from bp-asm.h.
6125 (__remquo): Do not use BP_SYM.
6126 (remquo): Likewise.
6127 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6128 "bp-asm.h".
6129 (PARMS): Do not use macros from bp-asm.h.
6130 (__remquof): Do not use BP_SYM.
6131 (remquof): Likewise.
6132 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6133 "bp-asm.h".
6134 (PARMS): Do not use macros from bp-asm.h.
6135 (__remquol): Do not use BP_SYM.
6136 (remquol): Likewise.
6137 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6138 "bp-asm.h".
6139 (PARMS): Do not use macros from bp-asm.h.
6140 (DEST): Likewise.
6141 (SRC): Likewise.
6142 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6143 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6144 "bp-asm.h".
6145 (PARMS): Do not use macros from bp-asm.h.
6146 (strlen): Do not use BP_SYM.
6147 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6148 "bp-asm.h".
6149 (PARMS): Do not use macros from bp-asm.h.
6150 (S1): Likewise.
6151 (S2): Likewise.
6152 (SIZE): Likewise.
6153 (__mpn_add_n): Do not use BP_SYM.
6154 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6155 "bp-asm.h".
6156 (PARMS): Do not use macros from bp-asm.h.
6157 (S1): Likewise.
6158 (SIZE): Likewise.
6159 (__mpn_addmul_1): Do not use BP_SYM.
6160 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6161 weak_alias.
6162 (bzero): Likewise.
6163 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6164 "bp-asm.h".
6165 (PARMS): Do not use macros from bp-asm.h.
6166 (S): Likewise.
6167 (SIZE): Likewise.
6168 (__mpn_lshift): Do not use BP_SYM.
6169 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6170 "bp-asm.h".
6171 (PARMS): Do not use macros from bp-asm.h.
6172 (DEST): Likewise.
6173 (SRC): Likewise.
6174 (LEN): Likewise.
6175 (memcpy): Likewise. Do not use BP_SYM.
6176 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6177 libc_hidden_def and weak_alias.
6178 (mempcpy): Do not use BP_SYM in weak_alias.
6179 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6180 "bp-asm.h".
6181 (PARMS): Do not use macros from bp-asm.h.
6182 (DEST): Likewise.
6183 (LEN): Likewise.
6184 [!BZERO_P] (CHR): Likewise.
6185 (memset): Likewise. Do not use BP_SYM.
6186 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6187 "bp-asm.h".
6188 (PARMS): Do not use macros from bp-asm.h.
6189 (S1): Likewise.
6190 (SIZE): Likewise.
6191 (__mpn_mul_1): Do not use BP_SYM.
6192 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6193 "bp-asm.h".
6194 (PARMS): Do not use macros from bp-asm.h.
6195 (S): Likewise.
6196 (SIZE): Likewise.
6197 (__mpn_rshift): Do not use BP_SYM.
6198 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6199 "bp-asm.h".
6200 (PARMS): Do not use macros from bp-asm.h.
6201 (STR): Likewise.
6202 (CHR): Likewise.
6203 (strchr): Likewise. Do not use BP_SYM.
6204 (index): Do not use BP_SYM in weak_alias.
6205 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6206 "bp-asm.h".
6207 (PARMS): Do not use macros from bp-asm.h.
6208 (DEST): Likewise.
6209 (SRC): Likewise.
6210 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6211 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6212 "bp-asm.h".
6213 (PARMS): Do not use macros from bp-asm.h.
6214 (strlen): Do not use BP_SYM.
6215 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6216 "bp-asm.h".
6217 (PARMS): Do not use macros from bp-asm.h.
6218 (S1): Likewise.
6219 (S2): Likewise.
6220 (SIZE): Likewise.
6221 (__mpn_sub_n): Do not use BP_SYM.
6222 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6223 "bp-asm.h".
6224 (PARMS): Do not use macros from bp-asm.h.
6225 (S1): Likewise.
6226 (SIZE): Likewise.
6227 (__mpn_submul_1): Do not use BP_SYM.
6228 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6229 "bp-asm.h".
6230 (PARMS): Do not use macros from bp-asm.h.
6231 (S1): Likewise.
6232 (S2): Likewise.
6233 (SIZE): Likewise.
6234 (__mpn_add_n): Do not use BP_SYM.
6235 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6236 weak_alias.
6237 (bzero): Likewise.
6238 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6239 "bp-asm.h".
6240 (PARMS): Do not use macros from bp-asm.h.
6241 (BLK2): Likewise.
6242 (LEN): Likewise.
6243 (memcmp): Do not use BP_SYM.
6244 (bcmp): Do not use BP_SYM in weak_alias.
6245 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6246 "bp-asm.h".
6247 (PARMS): Do not use macros from bp-asm.h.
6248 (DEST): Likewise.
6249 (SRC): Likewise.
6250 (LEN): Likewise.
6251 (memcpy): Likewise. Do not use BP_SYM.
6252 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6253 "bp-asm.h".
6254 (PARMS): Do not use macros from bp-asm.h.
6255 (DEST): Likewise.
6256 (SRC): Likewise.
6257 (LEN): Likewise.
6258 (memmove): Likewise. Do not use BP_SYM.
6259 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6260 "bp-asm.h".
6261 (PARMS): Do not use macros from bp-asm.h.
6262 (DEST): Likewise.
6263 (SRC): Likewise.
6264 (LEN): Likewise.
6265 (__mempcpy): Likewise. Do not use BP_SYM.
6266 (mempcpy): Do not use BP_SYM in weak_alias.
6267 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6268 "bp-asm.h".
6269 (PARMS): Do not use macros from bp-asm.h.
6270 (DEST): Likewise.
6271 (LEN): Likewise.
6272 [!BZERO_P] (CHR): Likewise.
6273 (memset): Likewise. Do not use BP_SYM.
6274 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6275 "bp-asm.h".
6276 (PARMS): Do not use macros from bp-asm.h.
6277 (STR2): Likewise.
6278 (strcmp): Do not use BP_SYM.
6279 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6280 "bp-asm.h".
6281 (PARMS): Do not use macros from bp-asm.h.
6282 (STR): Likewise.
6283 (DELIM): Likewise.
6284 [USE_AS_STRTOK_R] (SAVE): Likewise.
6285 (FUNCTION): Likewise. Do not use BP_SYM.
6286 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6287 aliases.
6288 (strtok_r): Likewise.
6289 (__GI___strtok_r): Likewise.
6290 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6291 (PARMS): Do not use macros from bp-asm.h.
6292 (S): Likewise.
6293 (SIZE): Likewise.
6294 (__mpn_lshift): Do not use BP_SYM.
6295 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6296 (PARMS): Do not use macros from bp-asm.h.
6297 (STR): Likewise.
6298 (CHR): Likewise.
6299 (__memchr): Do not use BP_SYM.
6300 (memchr): Do not use BP_SYM in weak_alias.
6301 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6302 (PARMS): Do not use macros from bp-asm.h.
6303 (BLK2): Likewise.
6304 (LEN): Likewise.
6305 (memcmp): Do not use BP_SYM.
6306 (bcmp): Do not use BP_SYM in weak_alias.
6307 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6308 (PARMS): Do not use macros from bp-asm.h.
6309 (S1): Likewise.
6310 (SIZE): Likewise.
6311 (__mpn_mul_1): Do not use BP_SYM.
6312 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6313 "bp-asm.h".
6314 (PARMS): Do not use macros from bp-asm.h.
6315 (STR): Likewise.
6316 (CHR): Likewise.
6317 (__rawmemchr): Do not use BP_SYM.
6318 (rawmemchr): Do not use BP_SYM in weak_alias.
6319 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6320 (PARMS): Do not use macros from bp-asm.h.
6321 (S): Likewise.
6322 (SIZE): Likewise.
6323 (__mpn_rshift): Do not use BP_SYM.
6324 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6325 (PARMS): Do not use macros from bp-asm.h.
6326 (SIGMSK): Likewise.
6327 (__sigsetjmp): Likewise. Do not use BP_SYM.
6328 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6329 (_start): Do not use BP_SYM.
6330 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6331 (PARMS): Do not use macros from bp-asm.h.
6332 (DEST): Likewise.
6333 (SRC): Likewise.
6334 (__stpcpy): Likewise. Do not use BP_SYM.
6335 (stpcpy): Do not use BP_SYM in weak_alias.
6336 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6337 "bp-asm.h".
6338 (PARMS): Do not use macros from bp-asm.h.
6339 (DEST): Likewise.
6340 (SRC): Likewise.
6341 (LEN): Likewise.
6342 (__stpncpy): Likewise. Do not use BP_SYM.
6343 (stpncpy): Do not use BP_SYM in weak_alias.
6344 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6345 (PARMS): Do not use macros from bp-asm.h.
6346 (STR): Likewise.
6347 (CHR): Likewise.
6348 (strchr): Likewise. Do not use BP_SYM.
6349 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6350 "bp-asm.h".
6351 (PARMS): Do not use macros from bp-asm.h.
6352 (STR): Likewise.
6353 (CHR): Likewise.
6354 (__strchrnul): Likewise. Do not use BP_SYM.
6355 (strchrnul): Do not use BP_SYM in weak_alias.
6356 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6357 "bp-asm.h".
6358 (PARMS): Do not use macros from bp-asm.h.
6359 (STOP): Likewise.
6360 (strcspn): Do not use BP_SYM.
6361 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6362 "bp-asm.h".
6363 (PARMS): Do not use macros from bp-asm.h.
6364 (STR): Likewise.
6365 (STOP): Likewise.
6366 (strpbrk): Likewise. Do not use BP_SYM.
6367 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6368 "bp-asm.h".
6369 (PARMS): Do not use macros from bp-asm.h.
6370 (STR): Likewise.
6371 (CHR): Likewise.
6372 (strrchr): Likewise. Do not use BP_SYM.
6373 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6374 (PARMS): Do not use macros from bp-asm.h.
6375 (SKIP): Likewise.
6376 (strspn): Do not use BP_SYM.
6377 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6378 (PARMS): Do not use macros from bp-asm.h.
6379 (STR): Likewise.
6380 (DELIM): Likewise.
6381 (SAVE): Likewise.
6382 (FUNCTION): Likewise. Do not use BP_SYM.
6383 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6384 aliases.
6385 (strtok_r): Likewise.
6386 (__GI___strtok_r): Likewise.
6387 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6388 (PARMS): Do not use macros from bp-asm.h.
6389 (S1): Likewise.
6390 (S2): Likewise.
6391 (SIZE): Likewise.
6392 (__mpn_sub_n): Do not use BP_SYM.
6393 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6394 "bp-asm.h".
6395 (PARMS): Do not use macros from bp-asm.h.
6396 (S1): Likewise.
6397 (SIZE): Likewise.
6398 (__mpn_submul_1): Do not use BP_SYM.
6399 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6400 <bp-sym.h>.
6401 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6402 and <bp-asm.h>.
6403 (PARMS): Do not use macros from bp-asm.h.
6404 (FLAGS): Likewise.
6405 (PTID): Likewise.
6406 (TLS): Likewise.
6407 (CTID): Likewise.
6408 (__clone): Do not use BP_SYM.
6409 (clone): Do not use BP_SYM in weak_alias.
6410 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6411 and <bp-asm.h>.
6412 (PARMS): Do not use macros from bp-asm.h.
6413 (LEN): Likewise.
6414 (__mmap64): Do not use BP_SYM.
6415 (mmap64): Do not use BP_SYM in weak_alias.
6416 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6417 <bp-sym.h> and <bp-asm.h>.
6418 (PARMS): Do not use macros from bp-asm.h.
6419 (__posix_fadvise64_l64): Do not use BP_SYM.
6420 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6421 (PARMS): Do not use macros from bp-asm.h.
6422 (NSOPS): Likewise.
6423 (semtimedop): Do not use BP_SYM.
6424 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6425 and <bp-asm.h>.
6426
6427 2013-02-21 Allan McRae <allan@archlinux.org>
6428
6429 * manual/message.texi (Charset conversion in gettext):
6430 Move @end statement to beginning of line.
6431
6432 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6433
6434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6435 static.
6436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6437 Likewise.
6438
6439 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6440 (denorm): Likewise.
6441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6443
6444 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6445
6446 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6447 tail-call to the resolved function if pltexit isn't needed.
6448
6449 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6450
6451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6452 or Y being zero as being unlikely.
6453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6454 Likewise.
6455
6456 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6457
6458 * manual/nss.texi (System Databases and Name Service Switch):
6459 Remove frobnicate @pxref.
6460
6461 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6462
6463 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6464 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6465
6466 2013-02-20 Petr Machata <pmachata@redhat.com>
6467
6468 * elf/elf.h (R_ARM_TARGET1): New macro.
6469 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6470 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6471 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6472 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6473 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6474 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6475 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6476 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6477 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6478 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6479 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6480 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6481 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6482 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6483 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6484 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6485 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6486 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6487 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6488 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6489 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6490 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6491 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6492 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6493 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6494 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6495 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6496 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6497 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6498 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6499 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6500 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6501 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6502 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6503 (R_ARM_THM_GOT_BREL12): Likewise.
6504 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6505 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6506 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6507 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6508 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6509 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6510 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6511 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6512 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6513
6514 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6515
6516 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6517 __attribute_used__ to __attribute__ ((unused)).
6518
6519 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6520
6521 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6522 powerpc mpa.c.
6523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6524 comment formatting.
6525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6526
6527 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6528
6529 [BZ #13550]
6530 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6531 Remove macro.
6532 (ENTER): Remove both macro definitions.
6533 (LEAVE): Likewise.
6534 (CHECK_BOUNDS_LOW): Likewise.
6535 (CHECK_BOUNDS_HIGH): Likewise.
6536 (CHECK_BOUNDS_BOTH): Likewise.
6537 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6538 (RETURN_BOUNDED_POINTER): Likewise.
6539 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6540 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6541 (POP_ERRNO_LOCATION_RETURN): Likewise.
6542 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6543 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6544 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6545 macros.
6546 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6547 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6548 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6549 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6550 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6551 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6552 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6553 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6554 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6555 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6556 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6557 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6558 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6559 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6560 removed macros.
6561 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6562 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6563 macros.
6564 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6565 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6566 * sysdeps/i386/i586/memset.S (memset): Likewise.
6567 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6568 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6569 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6570 macros.
6571 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6572 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6573 Change uses of L(2) to L(out).
6574 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6575 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6576 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6577 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6578 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6579 removed macros.
6580 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6581 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6582 macros.
6583 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6584 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6585 (RETURN): Do not use macro LEAVE.
6586 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6587 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6588 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6589 * sysdeps/i386/i686/memset.S (memset): Likewise.
6590 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6591 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6592 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6593 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6594 Likewise.
6595 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6596 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6597 L(1_2) and L(1_3) into L(1).
6598 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6599 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6600 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6601 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6602 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6603 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6604 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6605 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6606 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6607 macros.
6608 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6609 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6610 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6611 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6612 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6613 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6614 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6615 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6616 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6617 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6618 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6619 * sysdeps/i386/strspn.S (strspn): Likewise.
6620 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6621 conditional code.
6622 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6623 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6624 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6625 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6626 L(1_3) into L(1_1).
6627 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6628 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6629 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6630 macros.
6631 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6632
6633 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6634
6635 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6636 macro.
6637
6638 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6639
6640 * math/atest-exp.c (exp_mpn): Remove ROUND.
6641 * math/atest-exp2.c (exp_mpn): Likewise.
6642 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6643
6644 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6645 * stdlib/tst-tls-atexit-lib.c: Likewise.
6646 * stdlib/tst-tls-atexit.c: Likewise.
6647
6648 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6649
6650 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6651 and __attribute_alloc_size__.
6652
6653 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6654
6655 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6656 __attribute_alloc_size__.
6657 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6658 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6659
6660 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6661
6662 * include/programs/xmalloc.h: New file.
6663 * catgets/gencat.c: Include it.
6664 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6665 * elf/pldd.c: Likewise.
6666 * iconv/iconv_charmap.c: Likewise.
6667 * iconv/iconvconfig.c: Likewise.
6668 * iconv/strtab.c: Likewise.
6669 * locale/programs/locale.c: Likewise.
6670 * locale/programs/localedef.h: Likewise.
6671 * locale/programs/simple-hash.c: Likewise.
6672 * nscd/nscd.h: Likewise.
6673 * nss/makedb.c: Likewise.
6674 * sysdeps/generic/ldconfig.h: Likewise.
6675
6676 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6677
6678 * Versions.def: Add GLIBC_2.18.
6679 * include/link.h (struct link_map): New member l_tls_dtor_count.
6680 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6681 (__call_tls_dtors): Likewise.
6682 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6683 __cxa_thread_atexit_impl.
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6685 Likewise.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6687 Likewise.
6688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6689 Likewise.
6690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6691 Likewise.
6692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6694 Likewise.
6695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6696 Likewise.
6697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6699 Likewise.
6700 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6701 (tests): Add test case tst-tls-atexit.
6702 (modules-names): Add shared library for tst-tls-atexit.
6703 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6704 (GLIBC_PRIVATE): Add __call_tls_dtors.
6705 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6706 for libstdc++.
6707 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6708 * stdlib/tst-tls-atexit.c: New test case.
6709 * stdlib/tst-tls-atexit-lib.c: New test case.
6710
6711 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6712
6713 * elf/Versions (ld): Add _dl_find_dso_for_object.
6714 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6715 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6716 (dl_open_worker): Use _dl_find_dso_for_object.
6717 * elf/dl-sym.c (do_sym): Likewise.
6718 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6719
6720 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6721
6722 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6723 Syntactic changes only.
6724 (_dl_runtime_profile): Do a tail-call to the resolved function.
6725
6726 2013-02-17 Joseph Myers <joseph@codesourcery.com>
6727
6728 [BZ #13550]
6729 * sysdeps/x86_64/bp-asm.h: Remove file.
6730 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6731 <bp-sym.h> and <bp-asm.h>.
6732 (__clone): Do not use BP_SYM.
6733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6734 <bp-sym.h> and <bp-asm.h>.
6735 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6736 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6737 "bp-asm.h".
6738 (_setjmp): Do not use BP_SYM.
6739 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6740 "bp-asm.h".
6741 (setjmp): Do not use BP_SYM.
6742 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6743 libc_hidden_def.
6744 (mempcpy): Do not use BP_SYM in weak_alias.
6745 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6746 "bp-asm.h".
6747 (strchr): Do not use BP_SYM.
6748 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6749 "bp-asm.h".
6750 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6751 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6752 (_start): Do not use BP_SYM.
6753 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6754 "bp-asm.h".
6755 (strcat): Do not use BP_SYM.
6756 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6757 "bp-asm.h".
6758 (STRCMP): Do not use BP_SYM.
6759 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6760 "bp-asm.h".
6761 (STRCPY): Do not use BP_SYM.
6762 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6763 "bp-asm.h".
6764 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6765 "bp-asm.h".
6766 (FUNCTION): Do not use BP_SYM.
6767 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6768 weak_alias.
6769 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6770
6771 2013-02-17 Andreas Jaeger <aj@suse.de>
6772
6773 * time/Versions: Sort entries.
6774 * string/Versions: Likewise.
6775 * resolv/Versions: Likewise.
6776 * posix/Versions: Likewise.
6777 * iconv/Versions: Likewise.
6778 * elf/Versions: Likewise.
6779 * wcsmbs/Versions: Likewise.
6780
6781 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6782
6783 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6784 loop termination condition.
6785
6786 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6787 variable to calculate EZ.
6788 (__sqr): Likewise.
6789
6790 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6791 the lower precision input.
6792
6793 2013-02-15 Joseph Myers <joseph@codesourcery.com>
6794
6795 [BZ #13550]
6796 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6797 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6798 (run-via-rtld-prefix): Do not handle %-bp tests.
6799 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6800 (all-object-suffixes): Remove .ob.
6801 (bppfx): Remove variable.
6802 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6803 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6804 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6805 [$(build-bounded) = yes] (libtype.ob): Likewise.
6806 * Makerules (elide-routines.ob): Remove variable.
6807 (do-tests-clean): Do not handle *-bp.out.
6808 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6809 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6810 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6811 (tests): Do not include $(tests-bp.out).
6812 (xtests): Do not include $(xtests-bp.out).
6813 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6814 [$(build-bounded) = yes] ($(addprefix
6815 $(objpfx),$(binaries-bounded))): Remove rule.
6816 ($(objpfx)%-bp.out): Remove rule.
6817 * config.make.in (build-bounded): Remove variable.
6818 * crypt/Makefile [$(build-bounded) = yes]
6819 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6820 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6821 append to variable.
6822 [$(build-bounded) = yes] (install-lib): Likewise.
6823 [$(build-bounded) = yes] (generated): Likewise.
6824 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6825 Remove rule.
6826 * intl/Makefile [$(build-bounded) = yes]
6827 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6828 * math/Makefile [$(build-bounded) = yes]
6829 ($(tests:%=$(objpfx)%-bp): Likewise.
6830 * misc/Makefile [$(build-bounded) = yes]
6831 ($(objpfx)tst-tsearch-bp): Likewise.
6832 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6833 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6834 Remove dependency.
6835 * string/Makefile (o-objects.ob): Remove variable.
6836 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6837 (CFLAGS-.ob): Remove variable.
6838 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6839 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6840 both definitions of variable.
6841 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6842 (ASFLAGS-.ob): Remove variable.
6843
6844 2013-02-14 Joseph Myers <joseph@codesourcery.com>
6845
6846 [BZ #13550]
6847 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6848 Remove __BOUNDED_POINTERS__ from condition.
6849 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6850 * string/bits/string2.h [!__NO_STRING_INLINES &&
6851 !__BOUNDED_POINTERS__]: Likewise.
6852 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6853 Likewise.
6854 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6855 Remove conditional code.
6856 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6857 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6858 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6859 condition.
6860
6861 [BZ #13550]
6862 * csu/libc-start.c: Do not include <bp-sym.h>.
6863 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6864 * elf/dl-open.c: Do not include <bp-sym.h>.
6865 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6866 * math/fegetenv.c: Do not include <bp-sym.h>.
6867 (fegetenv): Do not use BP_SYM in versioned symbols.
6868 * nptl/sysdeps/pthread/bits/libc-lockP.h
6869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6870 <bp-sym.h>.
6871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6872 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6874 (__pthread_mutex_destroy): Likewise.
6875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6876 (__pthread_mutex_lock): Likewise.
6877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6878 (__pthread_mutex_trylock): Likewise.
6879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6880 (__pthread_mutex_unlock): Likewise.
6881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6882 (__pthread_mutexattr_init): Likewise.
6883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6884 (__pthread_mutexattr_destroy): Likewise.
6885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6886 (__pthread_mutexattr_settype): Likewise.
6887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6888 (__pthread_rwlock_init): Likewise.
6889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6890 (__pthread_rwlock_destroy): Likewise.
6891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6892 (__pthread_rwlock_rdlock): Likewise.
6893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6894 (__pthread_rwlock_tryrdlock): Likewise.
6895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6896 (__pthread_rwlock_wrlock): Likewise.
6897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6898 (__pthread_rwlock_trywrlock): Likewise.
6899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6900 (__pthread_rwlock_unlock): Likewise.
6901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6902 (__pthread_key_create): Likewise.
6903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6904 (__pthread_setspecific): Likewise.
6905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6906 (__pthread_getspecific): Likewise.
6907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6908 Likewise.
6909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6910 (_pthread_cleanup_push_defer): Likewise.
6911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6912 (_pthread_cleanup_pop_restore): Likewise.
6913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6914 (pthread_setcancelstate): Likewise.
6915 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6916 <bp-sym.h>.
6917 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6918 (memchr): Do not use BP_SYM in weak_alias.
6919 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6920 (fegetenv): Do not use BP_SYM in versioned symbols.
6921 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6922 (fesetenv): Do not use BP_SYM in versioned symbols.
6923 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6924 (feupdateenv): Do not use BP_SYM in versioned symbols.
6925 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6926 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6927 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6928 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6929 (open64): Do not use BP_SYM in weak_alias.
6930 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6931 (fegetenv): Do not use BP_SYM in versioned symbols.
6932 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6933 (fesetenv): Do not use BP_SYM in versioned symbols.
6934 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6935 (feupdateenv): Do not use BP_SYM in versioned symbols.
6936 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6937 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6938 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6939 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6940 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6941 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6942 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6943 <bp-sym.h>.
6944 (__libc_start_main): Do not use BP_SYM.
6945
6946 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6947
6948 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6949 redundant return line.
6950 (norm): Likewise.
6951 (denorm): Likewise.
6952 (dbl_mp): Likewise.
6953 (sub_magnitudes): Likewise.
6954 (__add): Likewise.
6955 (__sub): Likewise.
6956 (__mul): Likewise.
6957 (__inv): Likewise.
6958 (__dvd): Likewise.
6959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6960 (norm): Likewise.
6961 (denorm): Likewise.
6962 (dbl_mp): Likewise.
6963 (sub_magnitudes): Likewise.
6964 (__add): Likewise.
6965 (__sub): Likewise.
6966 (__mul): Likewise.
6967 (__inv): Likewise.
6968 (__dvd): Likewise.
6969
6970 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6971 instead of __mul.
6972 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6973 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6974 (cc32): Likewise.
6975
6976 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6977 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6978 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6979 of __mul for squares.
6980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6981 function
6982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6983 Likewise.
6984 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6985 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6986
6987 2013-02-13 Joseph Myers <joseph@codesourcery.com>
6988
6989 [BZ #13550]
6990 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6991 code.
6992 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6993 prototype or function definition. Rename ubp_* variables and
6994 parameters. Remove argv definitions conditional on
6995 [__BOUNDED_POINTERS__].
6996 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6997 * elf/dl-runtime.c (_dl_fixup): Likewise.
6998 * include/set-hooks.h (RUN_HOOK): Likewise.
6999 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7000 definition.
7001 * string/strcpy.c (strcpy): Do not use __unbounded.
7002 * sysdeps/generic/frame.h (struct layout): Likewise.
7003 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7004 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7005 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7006 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7007 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7008 (__backtrace): Likewise.
7009 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7010 use __ptrvalue.
7011 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7012 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7013 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7014 Likewise.
7015 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7016 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7017 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7018 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7019 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7020 Do not use __unbounded.
7021 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7022 Rename __unboundedrlimits parameter to rlimits in prototype.
7023 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7024 Do not use __unbounded.
7025 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7026 not use __ptrvalue.
7027 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7028 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7029 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7030 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7031 __ptrvalue or __unbounded.
7032 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7033 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7034 use __unbounded.
7035 (__new_msgctl): Do not use __ptrvalue.
7036 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7037 __unbounded.
7038 (__libc_msgrcv): Do not use __ptrvalue.
7039 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7040 startup_info): Do not use __unbounded.
7041 (__libc_start_main): Likewise. Rename ubp_* variables and
7042 parameters. Remove argv definitions conditional on
7043 [__BOUNDED_POINTERS__].
7044 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7045 __ptrvalue.
7046 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7047 use __unbounded.
7048 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7049 or __ptrvalue.
7050 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7051 use __unbounded.
7052 (__new_shmctl): Do not use __ptrvalue.
7053 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7054 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7055 Likewise.
7056 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7057 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7058 (__libc_sigaction): Likewise.
7059 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7060 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7061 Likewise.
7062 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7063
7064 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7065
7066 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7067
7068 * string/mempcpy.c: Implement by calling memcpy.
7069
7070 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7071
7072 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7073
7074 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7075 evaluation.
7076
7077 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7078 values in the mantissa.
7079
7080 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7081 minimize writes to Z.
7082 (sub_magnitudes): Simplify code a bit.
7083
7084 2013-02-12 Roland McGrath <roland@hack.frob.com>
7085
7086 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7087 from the message. The linker prefixes all warnings with that already.
7088
7089 2013-02-12 Andreas Schwab <schwab@suse.de>
7090
7091 [BZ #15078]
7092 * posix/regexec.c (extend_buffers): Add parameter min_len.
7093 (check_matching): Pass minimum needed length.
7094 (clean_state_log_if_needed): Likewise.
7095 (get_subexp): Likewise.
7096 * posix/Makefile (tests): Add bug-regex34.
7097 (bug-regex34-ENV): Define.
7098 * posix/bug-regex34.c: New file.
7099
7100 [BZ #11561]
7101 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7102 elements compare against the byte sequence of it, not its name.
7103 * posix/Makefile (tests): Add bug-regex35.
7104 (bug-regex35-ENV): Define.
7105 * posix/bug-regex35.c: New file.
7106
7107 2013-02-11 Tom de Vries <tom@codesourcery.com>
7108
7109 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7110 comment.
7111 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7112 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7113 (CHECK_EOL): Add undef.
7114
7115 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7116
7117 * bits/stdlib-bsearch.h: New file.
7118 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7119 * stdlib/stdlib.h: Likewise.
7120
7121 2013-02-11 Roland McGrath <roland@hack.frob.com>
7122
7123 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7124 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7125 declaration.
7126 * manual/search.texi (Array Search Function): Add missing const in
7127 lfind prototype.
7128 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7129 declaration to use rlim_t.
7130 (Basic Scheduling Functions): Remove erroneous const from
7131 sched_getparam prototype. Remove erroneous * from
7132 sched_get_priority_max and sched_get_priority_min prototypes.
7133 (Resource Usage): Fix summary @comment on vtimes to refer to
7134 sys/vtimes.h rather than vtimes.h.
7135 Add missing *s in vtimes prototype.
7136 (Limits on Resources): Fix ulimit prototype to return long int.
7137 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7138 prototypes to use long int rather than double.
7139 (BSD Random): Fix initstate and setstate to use char *, not void *.
7140 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7141 prototype to make second argument 'struct aiocb64 *const[]'.
7142 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7143 (Status of AIO Operations): Remove erroneous const in aio_return and
7144 aio_return64 prototypes.
7145 (Synchronizing I/O): Fix sync prototype to return void.
7146 * manual/startup.texi (Suboptions): Remove an erroneous const in
7147 getsubopt prototype.
7148 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7149 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7150 use size_t rather than int.
7151 (Scanning All Users): Likewise for getpwent_r.
7152 (Setting Groups): Add missing const to setgroups prototype.
7153 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7154 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7155 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7156 'const void *' rather than 'const char *'.
7157 (Host Address Functions): Likewise for inet_ntop.
7158 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7159 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7160 ssize_t for return value.
7161 (Sending Data): Likewise for send, sendto, sendmsg.
7162 (Socket Option Functions): Add a missing const in setsockopt prototype.
7163 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7164 use wchar_t for the argument.
7165 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7166 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7167 take no arguments.
7168 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7169 double/float/long double for second argument.
7170 Fix return types of significand, significandf, significandl.
7171 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7172 argument in fchmod prototype.
7173 (File Owner): Use uid_t and gid_t in fchown prototype.
7174 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7175 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7176 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7177 use 'const struct dirent **' as argument types to CMP function pointer
7178 argument.
7179 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7180 (File Times): Fix summary magic @comment for struct utimbuf and utime
7181 to refer to utime.h, not time.h.
7182 * manual/string.texi (Argz Functions): Add missing const in
7183 argz_extract and argz_next prototypes.
7184 (Finding Tokens in a String): Likewise for basename.
7185 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7186 (Copying and Concatenation): Fix typo in wmemmove prototype.
7187 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7188 (Signal Stack): Remove erroneous const in sigstack prototype.
7189 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7190 prototype.
7191 (Simple Calendar Time): Likewise for stime.
7192 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7193 prototype.
7194 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7195 say sys/sysctl.h instead.
7196 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7197 and vsyslog prototypes.
7198
7199 2013-02-11 Tom de Vries <tom@codesourcery.com>
7200
7201 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7202 Remove.
7203
7204 2013-02-11 Roland McGrath <roland@hack.frob.com>
7205
7206 * misc/sys/mman.h: Fix typo in mremap comment.
7207
7208 2013-02-08 Roland McGrath <roland@hack.frob.com>
7209
7210 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7211 the '\0' terminator.
7212
7213 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7214
7215 [BZ #13550]
7216 * debug/segfault.c: Don't include <bp-checks.h>.
7217 * sysdeps/generic/bp-checks.h: Remove file.
7218 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7219 (__GETDENTS): Don't use CHECK_N.
7220 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7221 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7222 (__getgroups): Don't use CHECK_N.
7223 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7224 (setgroups): Don't use CHECK_N.
7225 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7226 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7227 (__libc_msgrcv): Don't use CHECK_N.
7228 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7229 (__libc_msgsnd): Don't use CHECK_N.
7230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7231 <bp-checks.h>.
7232 (__libc_pread): Don't use CHECK_N.
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7234 include <bp-checks.h>.
7235 (__libc_pread64): Don't use CHECK_N.
7236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7237 include <bp-checks.h>.
7238 (__libc_pwrite): Don't use CHECK_N.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7240 include <bp-checks.h>.
7241 (__libc_pwrite64): Don't use CHECK_N.
7242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7243 <bp-checks.h>.
7244 (__libc_pread): Don't use CHECK_N.
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7246 include <bp-checks.h>.
7247 (__libc_pread64): Don't use CHECK_N.
7248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7249 include <bp-checks.h>.
7250 (__libc_pwrite): Don't use CHECK_N.
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7252 include <bp-checks.h>.
7253 (__libc_pwrite64): Don't use CHECK_N.
7254 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7255 (do_pread): Don't use CHECK_N.
7256 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7257 (do_pread64): Don't use CHECK_N.
7258 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7259 (do_pwrite): Don't use CHECK_N.
7260 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7261 (do_pwrite64): Don't use CHECK_N.
7262 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7263 (__libc_readv): Don't use CHECK_N.
7264 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7265 (semop): Don't use CHECK_N.
7266 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7267 <bp-checks.h>.
7268 (semtimedop): Don't use CHECK_N.
7269 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7270 (__libc_pread): Don't use CHECK_N.
7271 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7272 <bp-checks.h>.
7273 (__libc_pread64): Don't use CHECK_N.
7274 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7275 <bp-checks.h>.
7276 (__libc_pwrite): Don't use CHECK_N.
7277 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7278 <bp-checks.h>.
7279 (__libc_pwrite64): Don't use CHECK_N.
7280 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7281 <bp-checks.h>.
7282 (__libc_msgrcv): Don't use CHECK_N.
7283 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7284 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7285 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7286 (__libc_writev): Don't use CHECK_N.
7287
7288 2013-02-08 Roland McGrath <roland@hack.frob.com>
7289
7290 * string/strcpy.c: Removed unused variable.
7291
7292 * Makeconfig (+sysdep-includes): Define with := rather than =.
7293 Use an existing include/ subdir of each sysdeps dir before it.
7294
7295 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7296
7297 * nscd/connection.c (register_traced_file): Comment function.
7298 [HAVE_INOTIFY] (union __inev): Define.
7299 [HAVE_INOTIFY] (inotify_check_files): New function.
7300 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7301 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7302 clear_db_cache.
7303 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7304
7305 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7306
7307 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7308 loaded if not already and that a failure is permanent.
7309
7310 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7311
7312 [BZ #15006]
7313 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7314 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7315
7316 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7317
7318 [BZ #13550]
7319 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7320 (CHECK_1_NULL_OK): Likewise.
7321 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7322 (__fxstat): Do not use CHECK_1.
7323 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7324 <bp-checks.h>.
7325 (___fxstat64): Do not use CHECK_1.
7326 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7327 <bp-checks.h>.
7328 (__fxstatat): Do not use CHECK_1.
7329 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7330 <bp-checks.h>.
7331 (__fxstatat64): Do not use CHECK_1.
7332 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7333 <bp-checks.h>.
7334 (__fxstat): Do not use CHECK_1.
7335 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7336 <bp-checks.h>.
7337 (__fxstatat): Do not use CHECK_1.
7338 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7339 <bp-checks.h>.
7340 (__getresgid): Do not use CHECK_1.
7341 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7342 <bp-checks.h>.
7343 (__getresuid): Do not use CHECK_1.
7344 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7345 <bp-checks.h>.
7346 (__lxstat): Do not use CHECK_1.
7347 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7348 <bp-checks.h>.
7349 (__old_msgctl): Do not use CHECK_1.
7350 (__new_msgctl): Likewise.
7351 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7352 <bp-checks.h>.
7353 (__new_setrlimit): Do not use CHECK_1.
7354 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7355 <bp-checks.h>.
7356 (__old_shmctl): Do not use CHECK_1.
7357 (__new_shmctl): Likewise.
7358 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7359 <bp-checks.h>.
7360 (__xstat): Do not use CHECK_1.
7361 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7362 (__lxstat): Do not use CHECK_1.
7363 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7364 <bp-checks.h>.
7365 (___lxstat64): Do not use CHECK_1.
7366 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7367 (__old_msgctl): Do not use CHECK_1.
7368 (__new_msgctl): Likewise.
7369 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7370 <bp-checks.h>.
7371 (__gettimeofday): Do not use CHECK_1.
7372 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7373 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7374 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7375 <bp-checks.h>.
7376 (__gettimeofday): Do not use CHECK_1.
7377 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7378 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7379 (__new_shmctl): Do not use CHECK_1.
7380 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7381 <bp-checks.h>.
7382 (do_sigtimedwait): Do not use CHECK_1.
7383 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7384 <bp-checks.h>.
7385 (do_sigwaitinfo): Do not use CHECK_1.
7386 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7387 <bp-checks.h>.
7388 (msgctl): Do not use CHECK_1.
7389 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7390 <bp-checks.h>.
7391 (shmctl): Do not use CHECK_1.
7392 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7393 (ustat): Do not use CHECK_1.
7394 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7395 <bp-checks.h>.
7396 (__fxstat): Do not use CHECK_1.
7397 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7398 <bp-checks.h>.
7399 (__fxstatat): Do not use CHECK_1.
7400 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7401 <bp-checks.h>.
7402 (__lxstat): Do not use CHECK_1.
7403 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7404 <bp-checks.h>.
7405 (__xstat): Do not use CHECK_1.
7406 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7407 (__xstat): Do not use CHECK_1.
7408 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7409 (___xstat64): Do not use CHECK_1.
7410
7411 [BZ #13550]
7412 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7413 definitions.
7414 (CHECK_BOUNDS_HIGH): Likewise.
7415 * string/strcpy.c: Do not include <bp-checks.h>.
7416 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7417
7418 2013-02-07 Roland McGrath <roland@hack.frob.com>
7419
7420 * nscd/nscd-client.h (__nscd_drop_map_ref):
7421 Add __attribute__ ((unused)).
7422 * nis/nss-nisplus.h (niserr2nss): Likewise.
7423
7424 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7425 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7426
7427 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7428 Remove inline keyword.
7429 * include/rounding-mode.h (round_away): Likewise.
7430 * libio/wfileops.c (adjust_wide_data): Likewise.
7431 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7432 (__m128i_strloadu_tolower): Likewise.
7433 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7434 (__m128i_strloadu_tolower): Likewise.
7435 * time/mktime.c (ydhms_diff): Likewise.
7436 * locale/elem-hash.h (elem_hash): Likewise.
7437 * locale/setlocale.c (setdata): Likewise.
7438 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7439 (re_string_wchar_at): Likewise.
7440 (bitset_not, bitset_merge, bitset_mask): Likewise.
7441 [!(__GNUC__ > 3)] (inline): Remove macro.
7442 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7443 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7444 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7445 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7446 * string/memcmp.c (memcmp_bytes): Likewise.
7447 * locale/programs/locarchive.c (compute_hashval): Likewise.
7448 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7449 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7450 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7451 * nss/getent.c (print_rpc, print_protocols): Likewise.
7452 (print_passwd, print_group, print_aliases): Likewise.
7453 * nis/nss-nisplus.h (niserr2nss): Likewise.
7454 * nscd/connections.c (restart_p): Likewise.
7455 Change return type to bool.
7456
7457 2013-02-05 Roland McGrath <roland@hack.frob.com>
7458
7459 * Makeconfig (all-Depend-files): Add existing
7460 $(sorted-subdirs:=/Depend) files.
7461 (all-subdirs): Remove nss.
7462 * sysdeps/unix/inet/Subdirs: Add it here instead.
7463 * hesiod/Depend: New file.
7464
7465 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7466 instead of calling alloca.
7467
7468 * io/lseek.c (__lseek): Rename to __libc_lseek.
7469 Define __lseek as an alias.
7470
7471 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7472
7473 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7474
7475 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7476 else clause and remove check for non-standard endianness.
7477
7478 2013-02-04 David S. Miller <davem@davemloft.net>
7479
7480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7481
7482 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7483
7484 [BZ #13550]
7485 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7486 (__ubp_memchr): Remove prototype.
7487 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7488 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7489 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7490 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7491 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7492 Remove alias.
7493 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7494 (__ubp_memchr): Likewise.
7495 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7496 (__ubp_memchr): Likewise.
7497 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7498 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7499 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7500 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7501 CHECK_STRING.
7502 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7503 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7504 (__getcwd): Do not use CHECK_STRING.
7505 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7506 <bp-checks.h>.
7507 (__real_chown): Do not use CHECK_STRING.
7508 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7509 <bp-checks.h>.
7510 (fchownat): Do not use CHECK_STRING.
7511 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7512 CHECK_STRING.
7513 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7514 <bp-checks.h>.
7515 (__lchown): Do not use CHECK_STRING.
7516 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7517 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7518 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7519 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7521 include <bp-checks.h>.
7522 (truncate64): Do not use CHECK_STRING.
7523 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7524 <bp-checks.h>.
7525 (__real_chown): Do not use CHECK_STRING.
7526 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7527 <bp-checks.h>.
7528 (__lchown): Do not use CHECK_STRING.
7529 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7530 <bp-checks.h>.
7531 (__chown): Do not use CHECK_STRING.
7532 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7533 <bp-checks.h>.
7534 (truncate64): Do not use CHECK_STRING.
7535 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7536 Likewise.
7537 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7538 (__xmknod): Do not use CHECK_STRING.
7539 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7540 <bp-checks.h>.
7541 (__xmknodat): Do not use CHECK_STRING.
7542 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7543 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7544
7545 2013-02-04 Andreas Schwab <schwab@suse.de>
7546
7547 [BZ #14142]
7548 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7549 * include/netdb.h: Likewise for h_errno.
7550 * elf/tst-stackguard1.c: Include <tls.h>.
7551
7552 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7553
7554 * elf/link.h (struct link_map): Extend the l_addr comment.
7555 * include/link.h (struct link_map): Likewise.
7556
7557 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7558
7559 [BZ #13550]
7560 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7561 (BOUNDED_1): Remove macro.
7562 * debug/backtrace.c: Don't include <bp-checks.h>.
7563 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7564 (__backtrace): Likewise.
7565 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7566 <bp-checks.h>.
7567 (__backtrace): Don't use BOUNDED_1.
7568 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7569 <bp-checks.h>.
7570 (__backtrace): Don't use BOUNDED_1.
7571 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7572 (__backtrace): Don't use BOUNDED_1.
7573 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7574 (shmat): Don't use BOUNDED_N.
7575
7576 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7577
7578 [BZ #13550]
7579 * sysdeps/generic/bp-start.h: Remove file.
7580 * csu/libc-start.c: Don't include <bp-start.h>.
7581 (LIBC_START_MAIN): Set up __environ directly instead of using
7582 INIT_ARGV_and_ENVIRON.
7583 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7584 <bp-start.h>.
7585
7586 [BZ #13550]
7587 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7588 definitions.
7589 (CHECK_FCNTL): Likewise.
7590 (CHECK_N_PAGES): Likewise.
7591
7592 [BZ #13550]
7593 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7594 definitions.
7595 (CHECK_SIGSET_NULL_OK): Likewise.
7596 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7597 <bp-checks.h>.
7598 (sigpending): Don't use CHECK_SIGSET.
7599 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7600 <bp-checks.h>.
7601 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7602 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7603 <bp-checks.h>.
7604 (do_sigsuspend): Don't use CHECK_SIGSET.
7605 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7606 use CHECK_SIGSET.
7607 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7608 (do_sigwait): Don't use CHECK_SIGSET.
7609 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7610 use CHECK_SIGSET.
7611 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7612 include <bp-checks.h>.
7613 (sigpending): Don't use CHECK_SIGSET.
7614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7615 include <bp-checks.h>.
7616 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7617 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7618 <bp-checks.h>.
7619 (sigpending): Don't use CHECK_SIGSET.
7620 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7621 <bp-checks.h>.
7622 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7623
7624 [BZ #13550]
7625 * sysdeps/generic/bp-semctl.h: Remove file.
7626 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7627 <bp-checks.h> and <bp-semctl.h>.
7628 (__old_semctl): Don't use CHECK_SEMCTL.
7629 (__new_semctl): Likewise.
7630 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7631 and <bp-semctl.h>.
7632 (__old_semctl): Don't use CHECK_SEMCTL.
7633 (__new_semctl): Likewise.
7634 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7635 <bp-checks.h> and <bp-semctl.h>.
7636 (__old_semctl): Don't use CHECK_SEMCTL.
7637 (__new_semctl): Likewise.
7638 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7639 <bp-checks.h> and <bp-semctl.h>.
7640 (semctl): Don't use CHECK_SEMCTL.
7641
7642 [BZ #13550]
7643 * Makerules (elide-bp-thunks): Remove variable.
7644 (elide-routines.oS): Don't use $(elide-bp-thunks).
7645 (elide-routines.os): Likewise.
7646 (elide-routines.o): Likewise.
7647 (elide-routines.op): Likewise.
7648 (elide-routines.og): Likewise.
7649 (objects): Don't use $(bp-thunks).
7650 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7651 include.
7652 (common-generated): Do not add s-proto-bp.d.
7653 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7654 (int): Likewise.
7655 (typ): Likewise.
7656 Do not generate makefile rules for bounded-pointer thunks.
7657 * sysdeps/generic/bp-thunks.h: Remove file.
7658 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7659 * sysdeps/unix/s-proto-bp.S: Likewise.
7660
7661 [BZ #15062]
7662 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7663 parts of result separately when argument is not close to line from
7664 -i to i and one part of argument is small.
7665 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7666 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7667 * math/libm-test.inc (cacos_test): Add more tests.
7668 (casin_test): Likewise.
7669 (casinh_test): Likewise.
7670 * sysdeps/i386/fpu/libm-test-ulps: Update.
7671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7672
7673 2013-01-31 David S. Miller <davem@davemloft.net>
7674
7675 * po/de.po: Update from translation team.
7676
7677 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7678
7679 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7680
7681 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7682
7683 * configure.in (_AC_PROG_CC_C89): New definition.
7684 * configure: Regenerate.
7685
7686 * configure.in (AC_PROG_CPP): New definition.
7687 * configure: Regenerate.
7688
7689 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7690
7691 * debug/tst-backtrace.h: New file.
7692 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7693 (ret): Remove variable.
7694 (x): Likewise.
7695 (FAIL): Remove macro.
7696 (NO_INLINE): Likewise.
7697 (fn1): Use match function instead of strstr.
7698 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7699 (ret): Remove variable.
7700 (x): Likewise.
7701 (FAIL): Remove macro.
7702 (NO_INLINE): Likewise.
7703 (fn): Use match function instead of strstr.
7704 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7705 (ret): Remove variable.
7706 (x): Likewise.
7707 (FAIL): Remove macro.
7708 (NO_INLINE): Likewise.
7709 (handle_signal): Use match function instead of strstr.
7710 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7711 (ret): Remove variable.
7712 (x): Likewise.
7713 (FAIL): Remove macro.
7714 (NO_INLINE): Likewise.
7715 (handle_signal): Use match function instead of strstr.
7716
7717 2013-01-23 Roland McGrath <roland@hack.frob.com>
7718
7719 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7720
7721 2013-01-23 David S. Miller <davem@davemloft.net>
7722
7723 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7724 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7725 argument of CAS if possible.
7726 * sysdeps/sparc/sparc64/bits/atomic.h
7727 (__arch_compare_and_exchange_val_32_acq): Likewise.
7728 (__arch_compare_and_exchange_val_64_acq): Likewise.
7729
7730 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7731
7732 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7733 * sysdeps/posix/ulimit.c: ... this.
7734 Include <limits.h>.
7735 * sysdeps/unix/bsd/ulimit.c: Remove file.
7736
7737 2013-01-23 Adam Conrad <adconrad@0c3.net>
7738
7739 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7740 (LDFLAGS-tst-array5): Likewise.
7741
7742 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7743
7744 [BZ #15036]
7745 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7746 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7747 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7748 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7749
7750 2013-01-21 David S. Miller <davem@davemloft.net>
7751
7752 * sysdeps/sparc/backtrace.c: New file.
7753 * sysdeps/sparc/sparc32/backtrace.h: New file.
7754 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7755 * sysdeps/sparc/sparc64/backtrace.h: New file.
7756 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7757 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7758 -funwind-tables.
7759
7760 2013-01-21 Andreas Schwab <schwab@suse.de>
7761
7762 [BZ #15020]
7763 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7764 closed its stdout.
7765
7766 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7767
7768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7769 "mpa2.h".
7770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7771
7772 2013-01-18 Joseph Myers <joseph@codesourcery.com>
7773 Mark Mitchell <mark@codesourcery.com>
7774 Tom de Vries <tom@codesourcery.com>
7775 Paul Pluzhnikov <ppluzhnikov@google.com>
7776
7777 * debug/tst-backtrace2.c: New file.
7778 * debug/tst-backtrace3.c: Likewise.
7779 * debug/tst-backtrace4.c: Likewise.
7780 * debug/tst-backtrace5.c: Likewise.
7781 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7782 (CFLAGS-tst-backtrace3.c): Likewise.
7783 (CFLAGS-tst-backtrace4.c): Likewise.
7784 (CFLAGS-tst-backtrace5.c): Likewise.
7785 (LDFLAGS-tst-backtrace2): Likewise.
7786 (LDFLAGS-tst-backtrace3): Likewise.
7787 (LDFLAGS-tst-backtrace4): Likewise.
7788 (LDFLAGS-tst-backtrace5): Likewise.
7789 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7790 tst-backtrace4 and tst-backtrace5.
7791
7792 2013-01-18 Anton Blanchard <anton@samba.org>
7793 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7794
7795 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7796 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7797 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7798 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7800 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7801 "+r" and remove output regs list as redundant. Add explicit inline
7802 asm to specify register of return val to work around compiler codegen
7803 bug. Remove (int) cast on return value. Add return type parameter to
7804 use in macro so that this macro does not truncate return value for
7805 64-bit values.
7806 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7807 pass to INTERNAL_VSYSCALL_NCS.
7808 (INLINE_VSYSCALL): Add 'long int' as return type to
7809 INTERNAL_VSYSCALL_NCS macro invocation.
7810 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7811 INTERNAL_VSYSCALL_NCS macro invocation.
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7813
7814 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7815
7816 [BZ #14496]
7817 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7818 Fix application of SIMD FP exception mask.
7819
7820 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7821 mp_no from a power of two.
7822 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7823 __mpexp_twomm1. Use __pow_mp.
7824
7825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7826 multiplication.
7827
7828 2013-01-17 David S. Miller <davem@davemloft.net>
7829
7830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7831
7832 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7833
7834 [BZ #15023]
7835 * include/complex.h: Condition contents on [!_COMPLEX_H].
7836 (__kernel_casinhf): New prototype.
7837 (__kernel_casinh): Likewise.
7838 (__kernel_casinhl): Likewise.
7839 * math/Makefile (libm_calls): Add k_casinh.
7840 * math/k_casinh.c: New file.
7841 * math/k_casinhf.c: Likewise.
7842 * math/k_casinhl.c: Likewise.
7843 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7844 finite nonzero arguments.
7845 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7846 finite nonzero arguments.
7847 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7848 finite nonzero arguments.
7849 * math/s_casinh.c: Do not include <float.h>.
7850 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7851 * math/s_casinhf.c: Do not include <float.h>.
7852 (__casinhf): Move code for finite nonzero arguments to
7853 k_casinhf.c.
7854 * math/s_casinhl.c: Do not include <float.h>.
7855 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7856 redefine.
7857 (__casinhl): Move code for finite nonzero arguments to
7858 k_casinhl.c.
7859 * math/libm-test.inc (cacos_test): Add more tests.
7860 * sysdeps/i386/fpu/libm-test-ulps: Update.
7861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7862
7863 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7864
7865 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7866 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7867 [!HAVE_MREMAP]: Remove [defined linux] case.
7868 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7869
7870 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7871
7872 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7873
7874 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
7875
7876 * elf/elf.h (R_386_SIZE32): New relocation.
7877 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7878 R_386_SIZE32.
7879 (elf_machine_rela): Likewise.
7880 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7881 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7882
7883 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7884
7885 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7886 (FP_FAST_FMA): Do not define.
7887 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7888 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7889 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7890 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7891 !_SOFT_FLOAT]: Likewise.
7892 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7893 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7894 value.
7895 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7896 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7897 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7898 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7899 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7900 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7901 file.
7902
7903 2013-01-16 Andreas Schwab <schwab@suse.de>
7904
7905 [BZ #14327]
7906 * include/stdlib.h (__mktemp): Add declaration.
7907 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7908 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7909
7910 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7911
7912 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7913 definitions.
7914 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7915 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7916 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7917 definitions here.
7918 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7919 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7920 definitions.
7921 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7922 and ONE.
7923 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7924 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7925 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7926 definitions.
7927 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7928 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7929 definitions.
7930 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7931
7932 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7933
7934 2013-01-15 David S. Miller <davem@davemloft.net>
7935
7936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7937 trunc{,f} to libm-sysdep_routes.
7938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7940 file.
7941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7943 file.
7944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7945 file.
7946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7948 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7949 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7950 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7951 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7952 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7953 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7954
7955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7956 nearbyint{,f} to libm-sysdep_routes.
7957 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7959 New file.
7960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7961 file.
7962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7963 New file.
7964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7965 file.
7966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7968 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7969 file.
7970 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7972 file.
7973 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7974 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7975 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7976
7977 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7978 libc_feholdexcept and libc_fesetenv.
7979
7980 2013-01-15 Mike Frysinger <vapier@gentoo.org>
7981
7982 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7983
7984 2013-01-14 David S. Miller <davem@davemloft.net>
7985
7986 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7987 (SPARC_ASM_VIS2_IFUNC): Likewise.
7988 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7990 use of 'siam' instruction.
7991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7992 Likewise.
7993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7994 Likewise.
7995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7996 Likewise.
7997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8002 file.
8003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8004 file.
8005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8006 file.
8007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8008 file.
8009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8014 new VIS2 routines.
8015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8018 Likewise.
8019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8024 routines to libm-sysdep_routines.
8025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8026
8027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8028 fdim/fdimf to libm-sysdep_routines.
8029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8030 file.
8031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8033 file.
8034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8037 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8038 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8039 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8040 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8041
8042 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8043
8044 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8045 to optimize copies.
8046
8047 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8050
8051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8052 local variable MPTWO.
8053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8054 Likewise.
8055
8056 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8057
8058 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8059 GLOB_NOESCAPE.
8060
8061 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8062
8063 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8064
8065 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8066
8067 * manual/pattern.texi (glob_t): Document gl_flags.
8068 (glob64_t): Likewise.
8069
8070 2013-01-11 David S. Miller <davem@davemloft.net>
8071
8072 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8073 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8074 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8075 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8076 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8077 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8078 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8079 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8080 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8081 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8082 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8083 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8084 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8085
8086 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8087 sparc V9 rather than using V8 code.
8088 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8089 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8090
8091 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8092 Move to...
8093 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8094 Here.
8095
8096 2013-01-11 Roland McGrath <roland@hack.frob.com>
8097
8098 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8099 not in the main loop.
8100 * configure: Regenerated.
8101
8102 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8103
8104 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8105 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8106 to just #else.
8107 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8108 [!__GLIBC_HAVE_LONG_LONG] case.
8109 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8110 condition to just #else.
8111 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8112 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8113 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8114 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8115 unconditional.
8116 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8117 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8118 #elif condition to just #else.
8119 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8120 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8121 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8122 #elif condition to just #else.
8123
8124 2013-01-11 Steve Ellcey <sellcey@mips.com>
8125
8126 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8127 (EF_MIPS_ARCH_64): Fix value.
8128 (EF_MIPS_ARCH_32R2): New.
8129 (EF_MIPS_ARCH_64R2): New.
8130
8131 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8132
8133 * Makeconfig (+link-pie-before-libc): New.
8134 (+link-pie-after-libc): Likewise.
8135 (+link-pie-tests): Likewise.
8136 (+link-pie): Rewritten.
8137 (link-before-libc): Remove $(config-LDFLAGS).
8138 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8139 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8140 (config-LDFLAGS): Renamed to ...
8141 (rtld-LDFLAGS): This.
8142 (rtld-tests-LDFLAGS): New macro.
8143 (link-libc-rpath-link): Likewise.
8144 (link-libc-tests-rpath-link): Likewise.
8145 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8146 (link-libc): Prepand $(link-libc-rpath-link).
8147 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8148 (test-program-prefix): New macro.
8149 (test-via-rtld-prefix): Likewise.
8150 (test-program-cmd): Likewise.
8151 (host-test-program-cmd): Likewise.
8152 * Makefile ($(common-objpfx)testrun.sh): Replace
8153 $(run-program-prefix) with $(test-program-prefix).
8154 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8155 $(rtld-LDFLAGS).
8156 ($(common-objpfx)shlib.lds): Likewise.
8157 (build-module-helper): Likewise.
8158 ($(common-objpfx)format.lds): Likewise.
8159 * Rules (binaries-pie-tests): New.
8160 (binaries-pie-notests): Likewise.
8161 (binaries-pie): Rewritten.
8162 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8163 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8164 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8165 (make-test-out): Replace $(host-built-program-cmd) with
8166 $(host-test-program-cmd).
8167 * config.make.in (build-hardcoded-path-in-tests): New variable.
8168 * configure.in (--enable-hardcoded-path-in-tests): New configure
8169 option.
8170 (hardcoded_path_in_tests): New AC_SUBST.
8171 * configure: Regenerated.
8172 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8173 $(built-program-cmd) with $(test-program-cmd).
8174 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8175 (test_program_cmd): This.
8176 * elf/Makefile ($(objpfx)order.out): Run test with
8177 $(test-program-prefix).
8178 ($(objpfx)order2.out): Likewise.
8179 ($(objpfx)tst-initorder.out): Likewise.
8180 ($(objpfx)tst-initorder2.out): Likewise.
8181 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8182 $(test-program-cmd).
8183 ($(objpfx)tst-array1-static.out): Likewise.
8184 ($(objpfx)tst-array2.out): Likewise.
8185 ($(objpfx)tst-array3.out): Likewise.
8186 ($(objpfx)tst-array4.out): Likewise.
8187 ($(objpfx)tst-array5.out): Likewise.
8188 ($(objpfx)tst-array5-static.out): Likewise.
8189 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8190 $(test-program-cmd).
8191 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8192 $(run-program-prefix) with $(test-program-prefix).
8193 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8194 (test_program_prefix): This.
8195 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8196 $(run-program-prefix) with $(test-program-prefix).
8197 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8198 (test_program_prefix): This.
8199 * iconvdata/tst-tables.sh: Likewise.
8200 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8201 $(run-program-prefix) with $(test-program-prefix).
8202 ($(objpfx)tst-translit.out): Likewise.
8203 ($(objpfx)tst-gettext2.out): Likewise.
8204 ($(objpfx)tst-gettext4.out): Likewise.
8205 ($(objpfx)tst-gettext6.out): Likewise.
8206 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8207 (test_program_prefix): This.
8208 * intl/tst-gettext2.sh: Likewise.
8209 * intl/tst-gettext4.sh Likewise.
8210 * intl/tst-gettext6.sh: Likewise.
8211 * intl/tst-translit.sh: Likewise.
8212 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8213 with $(test-program-cmd).
8214 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8215 $(run-program-prefix) with $(test-program-prefix).
8216 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8217 (test_program_prefix): This.
8218 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8219 $(run-program-prefix) with $(test-program-prefix).
8220 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8221 (test_program_prefix): This.
8222 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8223 * posix/Makefile ($(objpfx)globtest.out): Replace
8224 $(run-via-rtld-prefix) and $(test-wrapper) with
8225 $(test-program-prefix) and $(test-via-rtld-prefix).
8226 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8227 $(test-program-prefix).
8228 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8229 $(host-test-program-cmd).
8230 (tst-spawn-ARGS): Likewise.
8231 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8232 $(test-program-prefix).
8233 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8234 (test_via_rtld_prefix): This.
8235 (test_wrapper): Renamed to ...
8236 (test_program_prefix): This.
8237 (run_program_prefix): Replaced by test_program_prefix.
8238 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8239 (test_program_prefix): This.
8240 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8241 with $(host-test-program-cmd).
8242 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8243 $(run-program-prefix) with $(test-program-prefix).
8244 ($(objpfx)tst-printf.out): Likewise.
8245 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8246 $(test-program-cmd).
8247 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8248 (test_program_prefix): This.
8249 * stdio-common/tst-unbputc.sh: Likewise.
8250 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8251 $(run-program-prefix) with $(test-program-prefix).
8252 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8253 (test_program_prefix): This.
8254 * string/Makefile ($(objpfx)tst-svc.out): Replace
8255 $(built-program-cmd) with $(test-program-cmd).
8256
8257 2013-01-11 Andreas Jaeger <aj@suse.de>
8258
8259 [BZ #15003]
8260 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8261 value. Sync with Linux 3.7.
8262
8263 2013-01-10 David S. Miller <davem@davemloft.net>
8264
8265 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8266 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8267 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8268
8269 2013-01-10 Roland McGrath <roland@hack.frob.com>
8270
8271 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8272 never set.
8273 * configure: Regenerated.
8274
8275 2013-01-10 David S. Miller <davem@davemloft.net>
8276
8277 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8278 sparc V9 rather than using V8 code.
8279 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8280 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8281
8282 2013-01-10 Roland McGrath <roland@hack.frob.com>
8283
8284 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8285 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8286 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8287 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8288 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8289 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8290 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8291 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8292 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8293 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8294 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8295 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8296 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8297 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8298 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8299 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8300 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8301 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8302 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8303 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8304 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8305 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8306 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8307 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8308 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8309 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8310 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8311
8312 2013-01-10 David S. Miller <davem@davemloft.net>
8313
8314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8315
8316 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8317
8318 * posix/Makefile (tests-static): New variable.
8319 (tests): Add $(tests-static).
8320 (tst-exec-static-ARGS): New variable.
8321 (tst-spawn-static-ARGS): Likewise.
8322 * posix/tst-exec-static.c: New file.
8323 * posix/tst-spawn-static.c: Likewise.
8324 * posix/tst-exec.c: Support run directly.
8325 * posix/tst-spawn.c: Likewise.
8326
8327 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8328
8329 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8330 long.
8331 * math/bits/mathcalls.h (llrint): Likewise.
8332 (llround): Likewise.
8333 * stdlib/stdlib.h (struct drand48_data): Likewise.
8334 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8335 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8336 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8337 Likewise.
8338 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8339 Likewise.
8340 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8341 (elf_greg_t): Likewise.
8342 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8343 (__jmp_buf): Likewise.
8344 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8345 definitions.
8346 (llrint): Likewise, for all definitions.
8347 (llrintl): Likewise.
8348
8349 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8350 Remove [__GNUC__] condition.
8351 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8352 condition to just [__USE_ISOC99].
8353 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8354
8355 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8356
8357 [BZ #14200]
8358 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8359 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8360 defined.
8361 (_POSIX_V6_ILP32_OFF32): Likewise.
8362 (_XBS5_ILP32_OFF32): Likewise.
8363 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8364 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8365
8366 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8367
8368 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8369
8370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8371 doubles __mpexp_twomm1. Adjust usage.
8372 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8373 Remove.
8374
8375 2013-01-10 Andreas Schwab <schwab@suse.de>
8376
8377 [BZ #14964]
8378 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8379 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8380
8381 2013-01-09 David S. Miller <davem@davemloft.net>
8382
8383 [BZ #15003]
8384 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8385 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8386 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8387 TCP_FASTOPEN): Define.
8388 (tcp_repair_opt): New structure.
8389 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8390 enum values.
8391 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8392 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8393 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8394 (tcp_cookie_transactions): New structure.
8395
8396 2013-01-09 Anton Blanchard <anton@samba.org>
8397
8398 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8399 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8400 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8401 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8402
8403 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8404
8405 * include/features.h (__USE_ANSI): Remove.
8406
8407 2013-01-09 Roland McGrath <roland@hack.frob.com>
8408
8409 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8410
8411 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8412
8413 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8414
8415 * sysdeps/s390/fpu/libm-test-ulps: Update.
8416
8417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8418
8419 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8420 (__acr): Likewise.
8421 (__cpy): Likewise.
8422 (norm): Likewise.
8423 (denorm): Likewise.
8424 (__mp_dbl): Likewise.
8425 (__dbl_mp): Likewise.
8426 (add_magnitudes): Likewise.
8427 (sub_magnitudes): Likewise.
8428 (__add): Likewise.
8429 (__sub): Likewise.
8430 (__mul): Likewise.
8431 (__inv): Likewise.
8432 (__dvd): Likewise.
8433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8434 (__acr): Likewise.
8435 (__cpy): Likewise.
8436 (norm): Likewise.
8437 (denorm): Likewise.
8438 (__mp_dbl): Likewise.
8439 (__dbl_mp): Likewise.
8440 (add_magnitudes): Likewise.
8441 (sub_magnitudes): Likewise.
8442 (__add): Likewise.
8443 (__sub): Likewise.
8444 (__mul): Likewise.
8445 (__inv): Likewise.
8446 (__dvd): Likewise.
8447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8448 (__acr): Likewise.
8449 (__cpy): Likewise.
8450 (norm): Likewise.
8451 (denorm): Likewise.
8452 (__mp_dbl): Likewise.
8453 (__dbl_mp): Likewise.
8454 (add_magnitudes): Likewise.
8455 (sub_magnitudes): Likewise.
8456 (__add): Likewise.
8457 (__sub): Likewise.
8458 (__mul): Likewise.
8459 (__inv): Likewise.
8460 (__dvd): Likewise.
8461
8462 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8463
8464 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8465 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8466 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8467 2 && __USE_EXTERN_INLINES]: Likewise.
8468
8469 2013-01-08 Andreas Jaeger <aj@suse.de>
8470
8471 [BZ# 14985]
8472 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8473 Remove.
8474 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8475 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8476
8477 2013-01-07 Anton Blanchard <anton@samba.org>
8478
8479 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8480 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8481 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8482 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8483 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8484 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8485 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8486 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8488 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8489 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8490 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8492 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8493 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8494 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8495 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8496 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8497 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8499 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8500 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8501 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8502 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8503 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8504 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8505 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8506 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8508 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8509 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8511 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8512 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8513 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8514 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8515 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8516 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8517 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8518 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8519 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8520 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8521 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8522
8523 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8524
8525 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8526 (__MALLOC_PMT): Likewise.
8527 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8528 [__GNUC__], only on [_LIBC].
8529 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8530 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8531 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8532 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8533 forward declaration.
8534 (realloc_hook_ini): Likewise.
8535 (memalign_hook_ini): Likewise.
8536 (__libc_memalign): Do not use __MALLOC_PMT in variable
8537 declaration.
8538 (__libc_valloc): Likewise.
8539 (__libc_pvalloc): Likewise.
8540 (__libc_calloc): Likewise.
8541 (__posix_memalign): Likewise.
8542
8543 [BZ #14996]
8544 * math/s_casinh.c: Include <float.h>.
8545 (__casinh): Do not do computation with squaring and square root
8546 for large arguments.
8547 * math/s_casinhf.c: Include <float.h>.
8548 (__casinhf): Do not do computation with squaring and square root
8549 for large arguments.
8550 * math/s_casinhl.c: Include <float.h>.
8551 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8552 (__casinhl): Do not do computation with squaring and square root
8553 for large arguments.
8554 * math/libm-test.inc (casin_test): Add more tests.
8555 (casinh_test): Likewise.
8556 * sysdeps/i386/fpu/libm-test-ulps: Update.
8557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8558
8559 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8560
8561 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8562 (__x86_64_raw_data_cache_size): Likewise.
8563 (__x86_64_data_cache_size_half): Likewise.
8564 (__x86_64_raw_data_cache_size_half): Likewise.
8565 (__x86_64_shared_cache_size): Likewise.
8566 (__x86_64_raw_shared_cache_size): Likewise.
8567 (__x86_64_shared_cache_size_half): Likewise.
8568 (__x86_64_raw_shared_cache_size_half): Likewise.
8569 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8570 to ...
8571 (__x86_data_cache_size): This.
8572 (__x86_64_raw_data_cache_size): Renamed to ...
8573 (__x86_raw_data_cache_size): This.
8574 (__x86_64_data_cache_size_half): Renamed to ...
8575 (__x86_data_cache_size_half): This.
8576 (__x86_64_raw_data_cache_size_half): Renamed to ...
8577 (__x86_raw_data_cache_size_half): This.
8578 (__x86_64_shared_cache_size): Renamed to ...
8579 (__x86_shared_cache_size): This.
8580 (__x86_64_raw_shared_cache_size): Renamed to ...
8581 (__x86_raw_shared_cache_size): This.
8582 (__x86_64_shared_cache_size_half): Renamed to ...
8583 (__x86_shared_cache_size_half): This.
8584 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8585 (__x86_raw_shared_cache_size_half): This.
8586 * sysdeps/x86_64/memcpy.S: Updated.
8587 * sysdeps/x86_64/memset.S: Likewise.
8588 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8589 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8590 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8591
8592 2013-01-04 David S. Miller <davem@davemloft.net>
8593
8594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8595
8596 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8597
8598 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8599 1 to avoid redefinition warning.
8600 (__USE_GNU): Don't define.
8601 (init_signaling_nan): Protoize.
8602
8603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8604
8605 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8606
8607 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8609 (__cpymn): Likewise.
8610 (norm): Remove commented code.
8611 (denorm): Likewise.
8612 (__mp_dbl): Likewise.
8613 (__inv): Likewise.
8614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8615 (__cpymn): Likewise.
8616 (norm): Remove commented code.
8617 (denorm): Likewise.
8618 (__mp_dbl): Likewise.
8619 (__inv): Likewise.
8620
8621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8622 mp_no value for 1.0 and 2.0.
8623 (norm): Use RADIXI instead of radixi.d.
8624 (denorm): Likewise.
8625 (__mul): Use 0.0 instead of zero.d.
8626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8627 mp_no value for 1.0 and 2.0.
8628 (norm): Use RADIXI instead of radixi.d.
8629 (denorm): Likewise.
8630 (__mul): Use 0.0 instead of zero.d.
8631
8632 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8633
8634 [BZ #14994]
8635 * math/s_casinh.c (__casinh): Reduce finite argument to first
8636 quadrant then set signs of results at the end.
8637 * math/s_casinhf.c (__casinhf): Likewise.
8638 * math/s_casinhl.c (__casinhl): Likewise.
8639 * math/libm-test.inc (casin_test): Add more tests.
8640 (casinh_test): Likewise.
8641 * sysdeps/i386/fpu/libm-test-ulps: Update.
8642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8643
8644 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8645
8646 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8647
8648 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8649
8650 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8651 declarations.
8652 (denorm): Likewise.
8653 (__mp_dbl): Likewise.
8654 (__inv): Likewise.
8655
8656 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8657 and adjust the header comment.
8658
8659 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8660 variable name from declaration.
8661
8662 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8663
8664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8665 Initialize COMMON_CPUID_INDEX_7 element.
8666 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8667 (CPUID_RTM): Likewise.
8668 (HAS_RTM): Likewise.
8669 (COMMON_CPUID_INDEX_7): New enum.
8670
8671 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8672
8673 [BZ #14981]
8674 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8675 size is zero, record memory as freed.
8676
8677 2013-01-03 Andreas Jaeger <aj@suse.de>
8678
8679 * po/ia.po: Add new Interlingua translation.
8680
8681 2012-01-03 Allan McRae <allan@archlinux.org>
8682
8683 * locale/programs/localedef.c: Fix description of '--posix' flag.
8684
8685 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8686
8687 * NEWS: Update dates in second copyright notice.
8688 * README: Update copyright dates in example.
8689 * manual/libc.texinfo: Update copyright dates.
8690 * scripts/test-installation.pl: Update copyright date in --version
8691 output.
8692
8693 * hurd/ctty-input.c: Fix copyright notice formatting.
8694 * hurd/ctty-output.c: Likewise.
8695 * hurd/dtable.c: Likewise.
8696 * hurd/hurd-raise.c: Likewise.
8697 * hurd/hurdprio.c: Likewise.
8698 * hurd/msgportdemux.c: Likewise.
8699 * misc/sys/file.h: Likewise.
8700 * misc/sys/ioctl.h: Likewise.
8701 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8702 * sysdeps/mach/hurd/chdir.c: Likewise.
8703 * sysdeps/mach/hurd/fchdir.c: Likewise.
8704 * sysdeps/mach/hurd/rename.c: Likewise.
8705 * sysdeps/mach/hurd/rmdir.c: Likewise.
8706 * sysdeps/mach/hurd/seekdir.c: Likewise.
8707 * sysdeps/mach/hurd/setsid.c: Likewise.
8708 * sysdeps/posix/wait3.c: Likewise.
8709
8710 * All files with FSF copyright notices: Update copyright dates
8711 using scripts/update-copyrights.
8712 * intl/plural.c: Regenerated.
8713 * locale/programs/charmap-kw.h: Likewise.
8714 * locale/programs/locfile-kw.h: Likewise.
8715
8716 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8717
8718 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8719 four values.
8720
8721 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8722 calculation loop and add branch prediction.
8723
8724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8725 check access beyond bounds of m1np.
8726
8727 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8728 MPTWO.
8729 (__inv): Remove local variable MPTWO to use the global
8730 constant.
8731 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8732 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8733 variable MPTWO.
8734 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8735 MP3HALFS static const.
8736
8737 2013-01-01 David S. Miller <davem@davemloft.net>
8738
8739 * po/ca.po: Update from translation team.
8740
8741 2013-01-01 Joseph Myers <joseph@codesourcery.com>
8742
8743 * scripts/update-copyrights: New file.
8744 * Makeconfig: Reformat copyright notice.
8745 * ctype/ctype.h: Likewise.
8746 * debug/swprintf_chk.c: Likewise.
8747 * elf/dl-cache.c: Likewise.
8748 * elf/dl-debug.c: Likewise.
8749 * elf/dl-object.c: Likewise.
8750 * grp/initgroups.c: Likewise.
8751 * hurd/Makefile: Likewise.
8752 * hurd/hurd/signal.h: Likewise.
8753 * hurd/hurdfault.c: Likewise.
8754 * hurd/hurdioctl.c: Likewise.
8755 * hurd/hurdlookup.c: Likewise.
8756 * hurd/intr-msg.c: Likewise.
8757 * iconv/gconv_open.c: Likewise.
8758 * libio/swprintf.c: Likewise.
8759 * locale/lc-ctype.c: Likewise.
8760 * locale/nl_langinfo.c: Likewise.
8761 * mach/Machrules: Likewise.
8762 * mach/Makefile: Likewise.
8763 * malloc/obstack.h: Likewise.
8764 * manual/Makefile: Likewise.
8765 * manual/tsort.awk: Likewise.
8766 * misc/bits/stab.def: Likewise.
8767 * nis/nis_print_group_entry.c: Likewise.
8768 * nis/nis_table.c: Likewise.
8769 * nis/nss_compat/compat-pwd.c: Likewise.
8770 * nis/nss_compat/compat-spwd.c: Likewise.
8771 * po/Makefile: Likewise.
8772 * posix/fnmatch.c: Likewise.
8773 * posix/regex.h: Likewise.
8774 * resolv/Makefile: Likewise.
8775 * resolv/nss_dns/dns-network.c: Likewise.
8776 * resolv/res_hconf.c: Likewise.
8777 * scripts/gen-sorted.awk: Likewise.
8778 * soft-fp/soft-fp.h: Likewise.
8779 * stdio-common/printf.h: Likewise.
8780 * stdlib/monetary.h: Likewise.
8781 * stdlib/random.c: Likewise.
8782 * stdlib/random_r.c: Likewise.
8783 * sysdeps/generic/Makefile: Likewise.
8784 * sysdeps/gnu/Makefile: Likewise.
8785 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8793 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8796 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8798 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8813 * sysdeps/mach/hurd/errnos.awk: Likewise.
8814 * sysdeps/mach/hurd/fork.c: Likewise.
8815 * sysdeps/mach/hurd/getcwd.c: Likewise.
8816 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8817 * sysdeps/mach/hurd/mmap.c: Likewise.
8818 * sysdeps/mach/hurd/utimes.c: Likewise.
8819 * sysdeps/mach/hurd/xmknod.c: Likewise.
8820 * sysdeps/posix/profil.c: Likewise.
8821 * sysdeps/posix/readdir_r.c: Likewise.
8822 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8823 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8824 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8825 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8827 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8828 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8829 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8831 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8832 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8833 * sysdeps/pthread/lio_listio.c: Likewise.
8834 * sysdeps/sparc/dl-procinfo.h: Likewise.
8835 * sysdeps/unix/i386/sysdep.S: Likewise.
8836 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8837 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8838 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8839 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8841 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8842 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8843 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8844 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8845 * sysdeps/wordsize-32/divdi3.c: Likewise.
8846 * time/sys/time.h: Likewise.
8847 * wcsmbs/Makefile: Likewise.
8848
8849 2013-01-01 David S. Miller <davem@davemloft.net>
8850
8851 * po/fr.po: Update from translation team.
8852
8853 * catgets/gencat.c: Update copyright year.
8854 * csu/version.c: Likewise.
8855 * debug/catchsegv.sh: Likewise.
8856 * debug/pcprofiledump.c: Likewise.
8857 * debug/xtrace.sh: Likewise.
8858 * elf/ldconfig.c: Likewise.
8859 * elf/ldd.bash.in: Likewise.
8860 * elf/pldd.c: Likewise.
8861 * elf/sotruss.ksh: Likewise.
8862 * elf/sprof.c: Likewise.
8863 * iconv/iconv_prog.c: Likewise.
8864 * iconv/iconvconfig.c: Likewise.
8865 * locale/programs/locale.c: Likewise.
8866 * locale/programs/localedef.c: Likewise.
8867 * login/programs/pt_chown.c: Likewise.
8868 * malloc/memusage.sh: Likewise.
8869 * malloc/memusagestat.c: Likewise.
8870 * malloc/mtrace.pl: Likewise.
8871 * nscd/nscd.c: Likewise.
8872 * nss/getent.c: Likewise.
8873 * nss/makedb.c: Likewise.
8874 * posix/getconf.c: Likewise.
8875
8876 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8877
8878 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8879 numbers.
8880
8881 2012-12-30 Mike Frysinger <vapier@gentoo.org>
8882
8883 * math/bits/mathcalls.h (modf): Use __nonnull.
8884
8885 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8886
8887 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8888 (split): Use macro CN instead of the bare value.
8889 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8890 could be used.
8891 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8892 instead of the bare value.
8893 (power1): Likewise.
8894
8895 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8896
8897 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8898 __ATAN_TWOM.
8899 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8900
8901 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8902 their values.
8903 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8904 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8905 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8906 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8907
8908 2012-12-28 Andreas Jaeger <aj@suse.de>
8909
8910 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8911 values are from Linux 3.7.
8912
8913 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8914 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8915
8916 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8917
8918 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8919 TRUE case.
8920
8921 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8922 (norm): Likewise.
8923 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8924 variables with preprocessor constants.
8925 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8926 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8927 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8928
8929 2012-12-27 Bruno Haible <bruno@clisp.org>
8930
8931 [BZ #14317]
8932 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8933 only if needed.
8934
8935 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8936
8937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8938 and use variable directly.
8939 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8940
8941 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8942 MPONE.
8943 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8945 variable MPONE.
8946 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8948 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8949 include directive. Remove local variable MPONE.
8950 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8951 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8952 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8953
8954 2012-12-25 David S. Miller <davem@davemloft.net>
8955
8956 * version.h (RELEASE): Set to "development".
8957 (VERSION): Set to "2.17.90".
8958 * NEWS: Add 2.18 section.
8959
8960 2012-12-21 David S. Miller <davem@davemloft.net>
8961
8962 * po/hr.po: Update from translation team.
8963
8964 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8965
8966 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8967
8968 2012-12-19 Steve Ellcey <sellcey@mips.com>
8969
8970 * NEWS: Mention new memcpy for MIPS.
8971
8972 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8973
8974 * manual/contrib.texi (Contributors): Spelling correction.
8975
8976 2012-12-15 David S. Miller <davem@davemloft.net>
8977
8978 * po/ru.po: Update from translation team.
8979
8980 2012-12-13 David S. Miller <davem@davemloft.net>
8981
8982 * NEWS: Mention IFUNC testsuite enhancements.
8983
8984 * po/pl.po: Update from translation team.
8985 * po/bg.po: Likewise.
8986
8987 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8988 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8989
8990 2012-12-11 David S. Miller <davem@davemloft.net>
8991
8992 * po/sv.po: Update from translation team.
8993
8994 * po/vi.po: Update from translation team.
8995
8996 * po/cs.po: Update from translation team.
8997
8998 * po/de.po: Update from translation team.
8999 * po/eo.po: Likewise.
9000 * po/nl.po: Likewise.
9001
9002 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9003
9004 [BZ #14246]
9005 * manual/argp.texi (Argp Helper Functions): Move node to follow
9006 Argp Parsing State.
9007
9008 [BZ #14872]
9009 * manual/conf.texi (Limits on File System Capacity): Mention if
9010 terminating null is included in the max size.
9011
9012 2012-12-10 Andreas Jaeger <aj@suse.de>
9013
9014 * po/cs.po: Update from translation team.
9015
9016 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9017
9018 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9019 void pointer and cast to uintptr_t.
9020 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9021 path.
9022 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9023 * sysdeps/s390/s390-64/memset.S: Likewise.
9024
9025 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9026
9027 [BZ #14833]
9028 * menual/message.texi (Message Translation): Fix typos.
9029 (Helper programs for gettext): Likewise.
9030
9031 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9032
9033 [BZ #14898]
9034 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9035 Change to -1.
9036
9037 2012-12-07 David S. Miller <davem@davemloft.net>
9038
9039 * po/libc.pot: Update.
9040
9041 2012-12-07 Richard Henderson <rth@redhat.com>
9042
9043 [BZ #10114]
9044 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9045 normal/normal case to before the switch.
9046 (_FP_DIV): Likewise.
9047
9048 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9049 Mike Frysinger <vapier@gentoo.org>
9050
9051 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9052 check for __NR_fadvise64_64.
9053
9054 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9055
9056 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9057 0, not just to plain "0" as a statement.
9058 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9059 with cw.
9060
9061 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9062
9063 * NEWS: Use sourceware.org in Bugzilla URL.
9064
9065 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9066
9067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9068 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9069
9070 * stdio-common/tst-put-error.c (do_test): Add newline to the
9071 padded test to ensure flush.
9072
9073 2012-12-05 Jeff Law <law@redhat.com>
9074
9075 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9076
9077 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9078
9079 * README: Don't refer to ports add-on as distributed separately.
9080 Mention AArch64 in list of systems supported in the ports add-on.
9081
9082 * LICENSES: Add more non-FSF copyright and license notices.
9083
9084 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9085 ((unused)).
9086
9087 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9088
9089 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9090 10000 as width of padded output.
9091
9092 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9093
9094 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9095
9096 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9097 variable LX with __attribute__ ((unused)).
9098 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9099 Likewise.
9100 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9102 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9103 with __attribute__ ((unused)).
9104
9105 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9106
9107 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9108
9109 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9110
9111 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9112 (CFLAGS-nldbl-acos.c): New variable.
9113 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9114 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9115 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9116 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9117 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9118 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9119 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9120 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9121 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9122 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9123 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9124 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9125 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9126 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9127 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9128 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9129 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9130 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9131 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9132 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9133 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9134 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9135 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9136 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9137 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9138 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9139 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9140 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9141 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9142 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9143 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9144 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9145 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9146 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9147 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9148 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9149 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9150 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9151 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9152 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9153 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9154 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9155 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9156 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9157 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9158 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9159 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9160 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9161 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9162 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9163 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9164 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9165 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9166 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9167 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9168 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9169 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9170 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9171 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9172 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9173 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9174 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9175 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9176 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9177 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9178 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9179 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9180 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9181 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9182 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9183 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9184 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9185 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9186 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9187 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9188 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9189 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9190 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9191 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9192 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9193 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9194 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9195 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9196 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9197 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9198 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9199 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9200 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9201 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9202 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9203 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9204 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9205 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9206 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9207 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9208 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9209 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9210
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9212 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9213
9214 [BZ #14914]
9215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9216 whole low double instead of just low 47 bits when splitting values
9217 into two parts.
9218
9219 2012-12-03 Allan McRae <allan@archlinux.org>
9220
9221 * manual/stdio.texi (Predefined Printf Handlers): Remove
9222 @hsep and @vsep usage.
9223
9224 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9225
9226 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9227 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9228
9229 2012-12-03 Jeff Law <law@redhat.com>
9230
9231 * time/sys/time.h (settimeofday): Do not mark TV argument
9232 as __nonnull.
9233
9234 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9235
9236 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9237 when currently writing and seek to current position when not.
9238 * libio/Makefile (tests): Remove bug-fclose1.
9239 * libio/bug-fclose1.c: Delete.
9240
9241 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9242
9243 * manual/arith.texi (feenableexcept): Fix typo.
9244 (fedisableexcept): Likewise.
9245
9246 2012-11-30 Roland McGrath <roland@hack.frob.com>
9247
9248 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9249 second, differently-typed declaration, rather than a cast.
9250
9251 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9252
9253 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9254 * include/rpc/svc.h: ... here.
9255
9256 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9257
9258 [BZ #13013]
9259 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9260 depending n and resplen2 to catch cases where answer
9261 equals answerp2.
9262
9263 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9264
9265 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9266 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9267
9268 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9269
9270 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9271
9272 2012-11-29 Roland McGrath <roland@hack.frob.com>
9273
9274 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9275
9276 2012-11-28 Jeff Law <law@redhat.com>
9277
9278 [BZ #13761]
9279 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9280 dataset_temporary. Track alloca usage into alloca_used.
9281 If dataset is large allocate and release it via malloc/free.
9282
9283 2012-06-04 Florian Weimer <fweimer@redhat.com>
9284
9285 [BZ #14197]
9286 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9287
9288 2012-11-28 David S. Miller <davem@davemloft.net>
9289
9290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9291
9292 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9293
9294 [BZ #14803]
9295 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9296 of pi/2 rounded to nearest to 64 bits.
9297 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9298 nearest to 64 bits.
9299 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9300 bits.
9301
9302 2012-11-28 Jeff Law <law@redhat.com>
9303 Martin Osvald <mosvald@redhat.com>
9304
9305 [BZ #14889]
9306 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9307 * sunrpc/svc.c: Include time.h.
9308 (__svc_accept_failed): New function.
9309 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9310 any reason other than EINTR, call __svc_accept_failed.
9311 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9312 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9313
9314 2012-11-28 Andreas Schwab <schwab@suse.de>
9315
9316 * scripts/abilist.awk: Also handle indirect functions in .opd
9317 section.
9318
9319 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9320
9321 [BZ #13881]
9322 * sysdeps/x86/fpu/powl_helper.c: New file.
9323 * sysdeps/x86/fpu/Makefile: Likewise.
9324 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9325 (p3): New object.
9326 (__ieee754_powl): Use __powl_helper for finite arguments except
9327 integer exponents below 8.
9328 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9329 (p3): New object.
9330 (__ieee754_powl): Use __powl_helper for finite arguments except
9331 integer exponents below 8.
9332 * math/libm-test.inc (pow_test): Add more tests and enable some
9333 previously disabled tests.
9334 * sysdeps/i386/fpu/libm-test-ulps: Update.
9335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9336
9337 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9338 Carlos O'Donell <carlos_odonell@mentor.com>
9339
9340 * nss/makedb.c (is_prime): Assert that input is odd and greater
9341 than 4. Note that fact in a comment too.
9342 (next_prime): Add 4 to input.
9343
9344 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9345
9346 [BZ #11741]
9347 * libio/Makefile (tests): Add test case tst-fwrite-error.
9348 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9349 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9350 * libio/tst-fwrite-error.c: New test case.
9351
9352 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9353
9354 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9355 before casting to void *.
9356 * include/libc-internal.h (__pointer_type): New macro.
9357 (__integer_if_pointer_type_sub): Likewise.
9358 (__integer_if_pointer_type): Likewise.
9359 (cast_to_integer): Likewise.
9360 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9361 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9362 before casting to atomic64_t.
9363 (atomic_exchange_acq): Likewise.
9364 (__arch_exchange_and_add_body): Likewise.
9365 (__arch_add_body): Likewise.
9366 (atomic_add_negative): Likewise.
9367 (atomic_add_zero): Likewise.
9368
9369 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9370
9371 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9372 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9373 (add_fdes): Likewise.
9374 (linear_search_fdes): Likewise.
9375 (binary_search_unencoded_fdes): Likewise.
9376
9377 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9378
9379 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9380
9381 2012-11-24 Adam Conrad <adconrad@0c3.net>
9382
9383 * configure.in: Autodetect C++ header directories.
9384 * configure: Regenerated.
9385
9386 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9387
9388 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9389
9390 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9391
9392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9393
9394 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9395
9396 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9397 LDBL_MANT_DIG == 106]: Disable some tests.
9398 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9399 Likewise.
9400 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9401 Likewise.
9402
9403 [BZ #14871]
9404 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9405 input for small inputs. Return +/- pi/2 for large inputs.
9406 * math/libm-test.inc (atan_test): Add more tests.
9407
9408 * sysdeps/generic/unwind-dw2-fde-glibc.c
9409 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9410 __attribute__ ((unused)).
9411
9412 [BZ #14645]
9413 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9414 x * y if x and y are nonzero and z is zero.
9415
9416 [BZ #14811]
9417 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9418 nonzero exponents with absolute value below 0x1p-117 to +/-
9419 0x1p-117.
9420
9421 [BZ #14869]
9422 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9423 up arguments below 2**-450, not just those below 2**-500.
9424 * math/libm-test.inc (hypot_test): Add another test.
9425
9426 [BZ #14868]
9427 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9428 Return a+b for ratio over 2**120, not 2**60.
9429 * math/libm-test.inc (hypot_test): Add another test.
9430
9431 * math/libm-test.inc (clog_test): Use
9432 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9433 (clog10_test): Likewise.
9434
9435 [BZ #6778]
9436 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9437
9438 2012-11-22 Andreas Schwab <schwab@suse.de>
9439
9440 * sysdeps/i386/fpu/libm-test-ulps: Update.
9441
9442 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9443
9444 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9445 printf output with newline.
9446
9447 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9448
9449 [BZ #14865]
9450 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9451 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9452 -z nodlopen, -z initfirst and -z execstack support.
9453 * configure: Regenerated.
9454
9455 * elf/elf.h (DF_1_NODIRECT): New macro.
9456 (DF_1_IGNMULDEF): Likewise.
9457 (DF_1_NOKSYMS): Likewise.
9458 (DF_1_NOHDR): Likewise.
9459 (DF_1_EDITED): Likewise.
9460 (DF_1_NORELOC): Likewise.
9461 (DF_1_SYMINTPOSE): Likewise.
9462 (DF_1_GLOBAUDIT): Likewise.
9463 (DF_1_SINGLETON): Likewise.
9464 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9465 DT_1_SUPPORTED_MASK bits.
9466 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9467
9468 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9469
9470 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9471
9472 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9473
9474 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9475 macro.
9476
9477 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9478 (sendmmsg): Move declarations...
9479 * socket/sys/socket.h: ... here.
9480 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9481 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9482 include it from...
9483 * socket/recvmmsg.c: ... this new file.
9484 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9485 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9486 definition of __sendmmsg hidden.
9487 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9488 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9489 Move ENOSYS stub into and include it from...
9490 * socket/sendmmsg.c: ... this new file.
9491 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9492 (sysdep_routines): Move recvmmsg and sendmmsg...
9493 * socket/Makefile (routines): ... here.
9494 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9495 (GLIBC_PRIVATE): Add __sendmmsg.
9496 * include/sys/socket.h (__sendmmsg): Add declarations.
9497 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9498 sendmmsg.
9499
9500 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9501
9502 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9503 variable I1 with __attribute__ ((unused)).
9504 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9505
9506 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9507
9508 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9509 DUMMY variables with __attribute__ ((unused)).
9510
9511 * bits/byteswap.h: Include <bits/types.h>.
9512 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9513
9514 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9515
9516 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9517 string_t. Do not manually set errno.
9518 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9519 length with __strnlen. Make sure to both set errno and return it on
9520 failure.
9521
9522 2012-11-19 David S. Miller <davem@davemloft.net>
9523
9524 With help from Joseph Myers.
9525 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9526 very large arguments properly.
9527 * math/libm-test.inc (atan_test): New tests.
9528 (atan2_test): New tests.
9529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9531
9532 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9533
9534 [BZ #14856]
9535 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9536 Define to 3.
9537
9538 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9539 [POSIX] (EADDRNOTAVAIL): Likewise.
9540 [POSIX] (EAFNOSUPPORT): Likewise.
9541 [POSIX] (EALREADY): Likewise.
9542 [POSIX] (ECONNABORTED): Likewise.
9543 [POSIX] (ECONNREFUSED): Likewise.
9544 [POSIX] (ECONNRESET): Likewise.
9545 [POSIX] (EDESTADDRREQ): Likewise.
9546 [POSIX] (EDQUOT): Likewise.
9547 [POSIX] (EHOSTUNREACH): Likewise.
9548 [POSIX] (EIDRM): Likewise.
9549 [POSIX] (EISCONN): Likewise.
9550 [POSIX] (ELOOP): Likewise.
9551 [POSIX] (EMULTIHOP): Likewise.
9552 [POSIX] (ENETDOWN): Likewise.
9553 [POSIX] (ENETUNREACH): Likewise.
9554 [POSIX] (ENOBUFS): Likewise.
9555 [POSIX] (ENODATA): Likewise.
9556 [POSIX] (ENOLINK): Likewise.
9557 [POSIX] (ENOMSG): Likewise.
9558 [POSIX] (ENOPROTOOPT): Likewise.
9559 [POSIX] (ENOSR): Likewise.
9560 [POSIX] (ENOSTR): Likewise.
9561 [POSIX] (ENOTCONN): Likewise.
9562 [POSIX] (ENOTSOCK): Likewise.
9563 [POSIX] (EOPNOTSUPP): Likewise.
9564 [POSIX] (EOVERFLOW): Likewise.
9565 [POSIX] (EPROTO): Likewise.
9566 [POSIX] (EPROTONOSUPPORT): Likewise.
9567 [POSIX] (EPROTOTYPE): Likewise.
9568 [POSIX] (ESTALE): Likewise.
9569 [POSIX] (ETIME): Likewise.
9570 [POSIX] (ETXTBSY): Likewise.
9571 [POSIX] (EWOULDBLOCK): Likewise.
9572 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9573 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9574 [POSIX] (SEEK_CUR): Likewise.
9575 [POSIX] (SEEK_END): Likewise.
9576 [POSIX || UNIX98] (mode_t): Do not require.
9577 [POSIX] (off_t): Likewise.
9578 [POSIX] (pid_t): Likewise.
9579 [POSIX] (sys/stat.h): Do not allow header.
9580 [POSIX] (unistd.h): Likewise.
9581 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9582 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9583 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9584 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9585 require.
9586 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9587 sigevent): Specify elements.
9588 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9589 entry.
9590 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9591 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9592
9593 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9594 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9595 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9596 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9597 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9598 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9599 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9600 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9601 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9602 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9603 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9604 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9605 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9606 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9607 Likewise.
9608 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9609 Likewise.
9610 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9611 Likewise.
9612 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9613 Likewise.
9614 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9615 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9616 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9617 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9618 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9619 Specify lower bound on value.
9620 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9621 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9622 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9623 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9624 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9625 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9626 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9627 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9628 value.
9629 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9630 as optional.
9631 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9632 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9633 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9634 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9635 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9636 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9637 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9638 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9639 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9640 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9641 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9642 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9643 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9644 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9645 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9646 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9647 entry.
9648 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9649 optional.
9650 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9651 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9652 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9653 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9654 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9655 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9656 Likewise.
9657 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9659 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9660 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9662 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9663 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9664 as optional.
9665 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9666 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9667 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9668 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9669 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9670 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9671 specify as optional.
9672 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9673 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9674 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9675 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9676 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9677 [XPG3] (NL_LANGMAX): Likewise.
9678 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9679 [POSIX || XPG3] (NL_NMAX): Likewise.
9680 [POSIX || XPG3] (NL_SETMAX): Likewise.
9681 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9682 [XPG3] (NZERO): Likewise.
9683 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9684 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9685 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9686 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9687 (REG_ERANGE): Expect.
9688 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9689 optional-constant.
9690 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9691 Use (void) in prototype.
9692 [POSIX] (*_t): Allow.
9693 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9694 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9695 (WRDE_BADVAL): Expect.
9696
9697 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9698 expect.
9699 [XPG3 || XPG4] (O_RSYNC): Likewise.
9700 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9701 Likewise.
9702 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9703 [XPG3 || XPG4] (sigqueue): Likewise.
9704 [XPG3 || XPG4] (sigtimedwait): Likewise.
9705 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9706 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9707 [XPG3 || XPG4] (vsnprintf): Likewise.
9708 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9709 Likewise.
9710 [XPG3 || XPG4] (blksize_t): Likewise.
9711 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9712 Likewise.
9713 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9714 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9715 [XPG3 || XPG4] (struct itimerspec): Likewise.
9716 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9717 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9718 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9719 [XPG3 || XPG4] (clockid_t): Likewise.
9720 [XPG3 || XPG4] (timer_t): Likewise.
9721 [XPG3 || XPG4] (clock_getres): Likewise.
9722 [XPG3 || XPG4] (clock_gettime): Likewise.
9723 [XPG3 || XPG4] (clock_settime): Likewise.
9724 [XPG3 || XPG4] (nanosleep): Likewise.
9725 [XPG3 || XPG4] (timer_create): Likewise.
9726 [XPG3 || XPG4] (timer_delete): Likewise.
9727 [XPG3 || XPG4] (timer_gettime): Likewise.
9728 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9729 [XPG3 || XPG4] (timer_settime): Likewise.
9730 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9731 [XPG3 || XPG4] (getlogin_r): Likewise.
9732 [XPG3 || XPG4] (pread): Likewise.
9733 [XPG3 || XPG4] (pthread_atfork): Likewise.
9734 [XPG3 || XPG4] (pwrite): Likewise.
9735
9736 [BZ #14835]
9737 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9738 <bits/siginfo.h>.
9739
9740 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9741
9742 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9743 finalizing MALLSTREAM.
9744
9745 * sysdeps/mach/hurd/syncfs.c: New file.
9746
9747 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9748
9749 [BZ #14719]
9750 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9751 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9752 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9753 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9754 (_nss_dns_gethostbyname4_r): Likewise.
9755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9756 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9757
9758 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9759
9760 [BZ #13763]
9761 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9762
9763 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9764
9765 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9766 * elf/cache.c (print_entry): Print ",AArch64" for
9767 FLAG_AARCH64_LIB64
9768
9769 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9770 * elf/cache.c (print_entry): Print ",hard-float" for
9771 FLAG_ARM_LIBHF.
9772
9773 2012-11-18 David S. Miller <davem@davemloft.net>
9774
9775 With help from Joseph Myers.
9776 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9777 cutoff to 2**-13.
9778 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9779 cutoff to 2**-25.
9780 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9781 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9782 small.
9783 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9784 * math/libm-test.inc (y0_test): New tests.
9785 (y1_test): New tests.
9786 * sysdeps/i386/fpu/libm-test-ulps: Update.
9787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9789
9790 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9791
9792 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9793 64-bit targets.
9794 * configure: Regenerated.
9795
9796 2012-11-17 David S. Miller <davem@davemloft.net>
9797
9798 [BZ #14811]
9799 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9800 nonzero exponents with absolute value below 0x1p-128 to +/-
9801 0x1p-128.
9802
9803 2012-11-17 Joseph Myers <joseph@codesourcery.com>
9804
9805 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9806
9807 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9808
9809 * posix/getconf-speclist.c: New file.
9810 * posix/posix-envs.def: Likewise.
9811 * posix/confstr.c (START_ENV_GROUP): New macro.
9812 (END_ENV_GROUP): Likewise.
9813 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9814 (KNOWN_PRESENT_ENV_STRING): Likewise.
9815 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9816 (UNKNOWN_ENVIRONMENT): Likewise.
9817 (confstr): Include posix-envs.def instead of handling
9818 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9819 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9820 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9821 (END_ENV_GROUP): Likewise.
9822 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9823 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9824 (UNKNOWN_ENVIRONMENT): Likewise.
9825 (__sysconf): Include posix-envs.def instead of handling associated
9826 cases directly here.
9827 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9828 preprocessing getconf-speclist.c rather than running getconf or
9829 generating empty file.
9830
9831 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9832
9833 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9834
9835 2012-11-16 Andrej Lajovic <natrij@gmail.com>
9836
9837 [BZ #14672]
9838 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9839
9840 2012-11-16 David S. Miller <davem@davemloft.net>
9841
9842 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9843 smaller than LDBL_EPSILON/2.0L, just return xm1.
9844
9845 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9846
9847 * elf/tst-array1.c (init): Set constructor priority to 1000.
9848 (fini): Set destructor priority to 1000.
9849 * elf/tst-array2dep.c: Likewise.
9850
9851 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9852
9853 [BZ #11741]
9854 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9855 (_IO_new_file_xsputn): Also return EOF if none of the input
9856 data was written when overflow failed.
9857 * libio/iopadn.c (_IO_padn): Likewise.
9858 * libio/iowpadn.c (_IO_wpadn): Likewise.
9859 * stdio-common/tst-put-error.c: Add copyright notice.
9860 (do_test): Add case for printing padded string.
9861 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9862 _IO_padn returned error.
9863 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9864 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9865 return EOF.
9866
9867 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9868
9869 * libio/libioP.h: Add comment note that the references to C++
9870 bits are now obsolete.
9871
9872 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9873
9874 * math/libm-test.inc (check_complex): Use asprintf.
9875
9876 2012-11-14 Joseph Myers <joseph@codesourcery.com>
9877
9878 * debug/pcprofiledump.c (print_version): Update copyright year.
9879 * malloc/memusagestat.c (print_version): Likewise.
9880
9881 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9882
9883 [BZ #14831]
9884 * elf/Makefile (tests): Add tst-audit8.
9885 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9886 ($(objpfx)tst-audit8.out): New target.
9887 (tst-audit8-ENV): New variable.
9888 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9889 audit if l_reloc_result is NULL.
9890 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9891 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9892 * elf/tst-audit8.c: New file.
9893
9894 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9895
9896 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9897 * misc/Makefile (CFLAGS-select.c): Define.
9898 * posix/Makefile (CFLAGS-pause.c): Define.
9899
9900 2012-11-13 David S. Miller <davem@davemloft.net>
9901
9902 * crypt/Makefile: Move test targets after toplevel Rules
9903 inclusion. Grab any necessary sysdep routines when linking.
9904 * crypt/md5.c (md5_process_block): Remove define, we will always
9905 name it __md5_process_block.
9906 (md5_finish_ctx): Update md5_process_block call.
9907 (md5_stream): Likewise.
9908 (md5_process_bytes): Likewise.
9909 (md5_process_block): Rename to __md5_process_block and move to ...
9910 * crypt/md5-block.c: ... here.
9911 * crypt/sha256.c (sha256_process_block): Move to ...
9912 * crypt/sha256-block.c: ... here.
9913 * crypt/sha512.c (sha512_process_block): Move to ...
9914 * crypt/sha512-block.c: ... here.
9915 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9916 path.
9917 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9918 * sysdeps/sparc/sparc64/multiarch/Makefile
9919 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9920 crypt subdir.
9921 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9922 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9923 multiarch changes.
9924 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9925 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9926 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9927 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9928 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9929 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9930 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9931 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9932 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9933 file.
9934 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9935 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9936 file.
9937 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9938
9939 2012-11-13 Joseph Myers <joseph@codesourcery.com>
9940
9941 * timezone/tzselect.ksh: Update from tzcode git revision
9942 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9943 * timezone/zdump.c: Likewise.
9944 * timezone/zic.c: Likewise.
9945 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9946 in TZVERSION setting, not $(PKGVERSION).
9947 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9948 REPORT_BUGS_TO settings.
9949
9950 [BZ #14838]
9951 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9952 macro.
9953
9954 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9955
9956 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9957 detection to immediately after _FP_ROUND().
9958 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9959 bits are 0.
9960
9961 2012-11-11 David S. Miller <davem@davemloft.net>
9962
9963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9964 inttypes.h
9965 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9966 __close rather than their public counterparts.
9967
9968 2012-11-10 Joseph Myers <joseph@codesourcery.com>
9969
9970 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9971 file.
9972 [UNIX98] (sem_timedwait): Do not expect.
9973 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9974 [XPG4 || UNIX98] (sockatmark): Do not expect.
9975 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9976 (clock_getcpuclockid): Do not expect.
9977 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9978 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9979 Do not expect.
9980 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9981 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9982 [UNIX98] (vwscanf): Likewise.
9983 [UNIX98] (vswscanf): Likewise.
9984
9985 2012-11-09 Joseph Myers <joseph@codesourcery.com>
9986
9987 * timezone/version.h: Remove file.
9988 * timezone/README: Do not refer to version.h.
9989 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9990 $(objpfx)version.h.
9991 ($(objpfx)zdump.o): Likewise.
9992 ($(objpfx)version.h): New target.
9993
9994 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9995 2012i.
9996 * timezone/README: Don't mention modification to tzselect.ksh.
9997 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9998 work on unmodified tzselect.ksh. Substitute version numbers in
9999 tzselect.ksh.
10000
10001 * Makefile (format-me): Remove.
10002 (INSTALL): Adjust indentation. Use commands directly instead of
10003 using $(format-me).
10004
10005 * aclocal.m4 (ACX_PKGVERSION): New macro.
10006 (ACX_BUGURL): Likewise.
10007 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10008 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10009 (REPORT_BUGS_TO): Likewise.
10010 * configure: Regenerated.
10011 * config.h.in (PKGVERSION): New macro.
10012 (REPORT_BUGS_TO): Likewise.
10013 * config.make.in (PKGVERSION): New variable.
10014 (PKGVERSION_TEXI): Likewise.
10015 (REPORT_BUGS_TO): Likewise.
10016 (REPORT_BUGS_TEXI): Likewise.
10017 * Makefile (format-me): Use -I$(common-objpfx)manual.
10018 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10019 ($(common-objpfx)manual/%): New target.
10020 (manual/%): Remove target.
10021 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10022 (print_version): Use PKGVERSION.
10023 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10024 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10025 and REPORT_BUGS_TO.
10026 ($(objpfx)xtrace): Likewise.
10027 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10028 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10029 (print_version): Use PKGVERSION.
10030 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10031 (do_version): Use PKGVERSION.
10032 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10033 REPORT_BUGS_TO.
10034 (common-ldd-rewrite): Likewise.
10035 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10036 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10037 (print_version): Use PKGVERSION.
10038 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10039 * elf/pldd.c (argp_program_bug_address): Remove variable.
10040 (more_help): New function.
10041 (argp): Use more_help.
10042 (print_version): Use PKGVERSION.
10043 * elf/sln.c (main): Use PKGVERSION.
10044 (usage): Use REPORT_BUGS_TO.
10045 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10046 (top level): Use PKGVERSION.
10047 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10048 (print_version): Use PKGVERSION.
10049 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10050 (print_version): Use PKGVERSION.
10051 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10052 (print_version): Use PKGVERSION.
10053 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10054 (print_version): Use PKGVERSION.
10055 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10056 (print_version): Use PKGVERSION.
10057 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10058 (print_version): Use PKGVERSION.
10059 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10060 and BUGURL.
10061 ($(objpfx)memusage): Likewise.
10062 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10063 (do_version): Use PKGVERSION.
10064 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10065 (print_version): Use PKGVERSION.
10066 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10067 ($PKGVERSION): New variable.
10068 ($REPORT_BUGS_TO): Likewise.
10069 (usage): Use $REPORT_BUGS_TO.
10070 (top level): Use $PKGVERSION.
10071 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10072 ($(objpfx)pkgvers.texi): New rule.
10073 ($(objpfx)stamp-pkgvers): Likewise.
10074 * manual/install.texi: Include pkgvers.texi.
10075 (--with-pkgversion): Document new configure option.
10076 (--with-bugurl): Likewise.
10077 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10078 than necessarily for this particular distribution. Use
10079 REPORT_BUGS_TO for where to report bugs.
10080 * INSTALL: Regenerated.
10081 * manual/libc.texinfo: Include pkgvers.texi.
10082 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10083 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10084 (print_version): Use PKGVERSION.
10085 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10086 (print_version): Use PKGVERSION.
10087 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10088 (print_version): Use PKGVERSION.
10089 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10090 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10091 macro.
10092 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10093 (print_version): Use PKGVERSION.
10094 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10095 (print_version): Use PKGVERSION.
10096 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10097 and PKGVERSION.
10098
10099 * timezone/checktab.awk: Update from tzcode 2012i.
10100 * timezone/ialloc.c: Likewise.
10101 * timezone/private.h: Likewise.
10102 * timezone/scheck.c: Likewise.
10103 * timezone/tzfile.h: Likewise.
10104 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10105 (TZVERSION): Hardcode tzcode version number.
10106 * timezone/zdump.c: Update from tzcode 2012i.
10107 * timezone/zic.c: Likewise.
10108 * timezone/version.h: New file.
10109 * timezone/README: Describe version.h. Update upstream location.
10110
10111 [BZ #14824]
10112 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10113 (mktemp): Enable declaration.
10114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10116 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10118 Likewise.
10119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10120 Likewise.
10121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10122 Likewise.
10123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10124 Likewise.
10125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10126 Likewise.
10127 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10128 Likewise.
10129
10130 [BZ #14821]
10131 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10132 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10133 for copies of such integer values.
10134 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10135 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10136
10137 2012-11-09 Andreas Jaeger <aj@suse.de>
10138
10139 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10140 definitions and declarations that are provided by
10141 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10142
10143 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10144
10145 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10146 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10147 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10148 definition.
10149
10150 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10151
10152 * elf/elf.h: Update comment before AArch64 relocations.
10153
10154 2012-11-07 David S. Miller <davem@davemloft.net>
10155
10156 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10157 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10158 (__start_context): Declare.
10159 (__makecontext_ret): Delete.
10160 (__makecontext): Hook up __start_context instead of
10161 __makecontext_ret.
10162 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10163 (sysdep_routines): Add __start_context when in stdlib.
10164
10165 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10166
10167 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10168 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10169 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10170 hardcoded "nm".
10171 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10172 (READELF): New variable. Use it instead of hardcoded "readelf".
10173
10174 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10175
10176 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10177 * sysdeps/x86/Makefile: Here.
10178 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10179 * sysdeps/x86/tst-xmmymm.sh: This.
10180
10181 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10182
10183 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10184 expectations.
10185 [UNIX98] (pthread_barrier_t): Do not expect.
10186 [UNIX98] (pthread_barrierattr_t): Likewise.
10187 [UNIX98] (pthread_spinlock_t): Likewise.
10188 [UNIX98] (pthread_barrier_destroy): Likewise.
10189 [UNIX98] (pthread_barrier_init): Likewise.
10190 [UNIX98] (pthread_barrier_wait): Likewise.
10191 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10192 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10193 [UNIX98] (pthread_barrierattr_init): Likewise.
10194 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10195 [UNIX98] (pthread_getcpuclockid): Likewise.
10196 [UNIX98] (pthread_mutex_timedlock): Likewise.
10197 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10198 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10199 [UNIX98] (pthread_sigmask): Likewise.
10200 [UNIX98] (pthread_spin_destroy): Likewise.
10201 [UNIX98] (pthread_spin_init): Likewise.
10202 [UNIX98] (pthread_spin_lock): Likewise.
10203 [UNIX98] (pthread_spin_trylock): Likewise.
10204 [UNIX98] (pthread_spin_unlock): Likewise.
10205 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10206 Do not expect.
10207 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10208 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10209 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10210 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10211 [XPG3 || XPG4] (pthread_key_t): Likewise.
10212 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10213 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10214 [XPG3 || XPG4] (pthread_once_t): Likewise.
10215 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10216 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10217 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10218 [XPG3 || XPG4] (pthread_t): Likewise.
10219
10220 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10221 not expect.
10222 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10223
10224 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10225 Change function return type to int.
10226
10227 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10228 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10229 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10230 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10231 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10232 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10233 [!POSIX] (posix_madvise): Likewise.
10234 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10235 && !UNIX98].
10236 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10237 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10238 (mode_t): Likewise.
10239 (posix_mem_offset): Likewise.
10240 (posix_typed_mem_get_info): Likewise.
10241 (posix_typed_mem_open): Likewise.
10242
10243 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10244 Change condition to [XOPEN2K8].
10245
10246 * conform/conformtest.pl: Preprocess allow-header data with -x c
10247 instead of from stdin.
10248 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10249 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10250 [C99-based standards] (cerfc): Likewise.
10251 [C99-based standards] (cexp2): Likewise.
10252 [C99-based standards] (cexpm1): Likewise.
10253 [C99-based standards] (clog10): Likewise.
10254 [C99-based standards] (clog1p): Likewise.
10255 [C99-based standards] (clog2): Likewise.
10256 [C99-based standards] (clgamma): Likewise.
10257 [C99-based standards] (ctgamma): Likewise.
10258 [C99-based standards] (cerff): Likewise.
10259 [C99-based standards] (cerfcf): Likewise.
10260 [C99-based standards] (cexp2f): Likewise.
10261 [C99-based standards] (cexpm1f): Likewise.
10262 [C99-based standards] (clog10f): Likewise.
10263 [C99-based standards] (clog1pf): Likewise.
10264 [C99-based standards] (clog2f): Likewise.
10265 [C99-based standards] (clgammaf): Likewise.
10266 [C99-based standards] (ctgammaf): Likewise.
10267 [C99-based standards] (cerfl): Likewise.
10268 [C99-based standards] (cerfcl): Likewise.
10269 [C99-based standards] (cexp2l): Likewise.
10270 [C99-based standards] (cexpm1l): Likewise.
10271 [C99-based standards] (clog10l): Likewise.
10272 [C99-based standards] (clog1pl): Likewise.
10273 [C99-based standards] (clog2l): Likewise.
10274 [C99-based standards] (clgammal): Likewise.
10275 [C99-based standards] (ctgammal): Likewise.
10276 * conform/data/inttypes.h-data [C99-based standards]: Include
10277 stdint.h-data. Remove all expectations for stdint.h contents.
10278 [C99-based standards] (PRI*): Do not allow.
10279 [C99-based standards] (SCN*): Likewise.
10280 [C99-based standards] (*_t): Likewise.
10281 [C99-based-standards] (PRId8): Expect macro.
10282 [C99-based-standards] (PRIi8): Likewise.
10283 [C99-based-standards] (PRIo8): Likewise.
10284 [C99-based-standards] (PRIu8): Likewise.
10285 [C99-based-standards] (PRIx8): Likewise.
10286 [C99-based-standards] (PRIX8): Likewise.
10287 [C99-based-standards] (SCNd8): Likewise.
10288 [C99-based-standards] (SCNi8): Likewise.
10289 [C99-based-standards] (SCNo8): Likewise.
10290 [C99-based-standards] (SCNu8): Likewise.
10291 [C99-based-standards] (SCNx8): Likewise.
10292 [C99-based-standards] (PRIdLEAST8): Likewise.
10293 [C99-based-standards] (PRIiLEAST8): Likewise.
10294 [C99-based-standards] (PRIoLEAST8): Likewise.
10295 [C99-based-standards] (PRIuLEAST8): Likewise.
10296 [C99-based-standards] (PRIxLEAST8): Likewise.
10297 [C99-based-standards] (PRIXLEAST8): Likewise.
10298 [C99-based-standards] (SCNdLEAST8): Likewise.
10299 [C99-based-standards] (SCNiLEAST8): Likewise.
10300 [C99-based-standards] (SCNoLEAST8): Likewise.
10301 [C99-based-standards] (SCNuLEAST8): Likewise.
10302 [C99-based-standards] (SCNxLEAST8): Likewise.
10303 [C99-based-standards] (PRIdFAST8): Likewise.
10304 [C99-based-standards] (PRIiFAST8): Likewise.
10305 [C99-based-standards] (PRIoFAST8): Likewise.
10306 [C99-based-standards] (PRIuFAST8): Likewise.
10307 [C99-based-standards] (PRIxFAST8): Likewise.
10308 [C99-based-standards] (PRIXFAST8): Likewise.
10309 [C99-based-standards] (SCNdFAST8): Likewise.
10310 [C99-based-standards] (SCNiFAST8): Likewise.
10311 [C99-based-standards] (SCNoFAST8): Likewise.
10312 [C99-based-standards] (SCNuFAST8): Likewise.
10313 [C99-based-standards] (SCNxFAST8): Likewise.
10314 [C99-based-standards] (PRId16): Likewise.
10315 [C99-based-standards] (PRIi16): Likewise.
10316 [C99-based-standards] (PRIo16): Likewise.
10317 [C99-based-standards] (PRIu16): Likewise.
10318 [C99-based-standards] (PRIx16): Likewise.
10319 [C99-based-standards] (PRIX16): Likewise.
10320 [C99-based-standards] (SCNd16): Likewise.
10321 [C99-based-standards] (SCNi16): Likewise.
10322 [C99-based-standards] (SCNo16): Likewise.
10323 [C99-based-standards] (SCNu16): Likewise.
10324 [C99-based-standards] (SCNx16): Likewise.
10325 [C99-based-standards] (PRIdLEAST16): Likewise.
10326 [C99-based-standards] (PRIiLEAST16): Likewise.
10327 [C99-based-standards] (PRIoLEAST16): Likewise.
10328 [C99-based-standards] (PRIuLEAST16): Likewise.
10329 [C99-based-standards] (PRIxLEAST16): Likewise.
10330 [C99-based-standards] (PRIXLEAST16): Likewise.
10331 [C99-based-standards] (SCNdLEAST16): Likewise.
10332 [C99-based-standards] (SCNiLEAST16): Likewise.
10333 [C99-based-standards] (SCNoLEAST16): Likewise.
10334 [C99-based-standards] (SCNuLEAST16): Likewise.
10335 [C99-based-standards] (SCNxLEAST16): Likewise.
10336 [C99-based-standards] (PRIdFAST16): Likewise.
10337 [C99-based-standards] (PRIiFAST16): Likewise.
10338 [C99-based-standards] (PRIoFAST16): Likewise.
10339 [C99-based-standards] (PRIuFAST16): Likewise.
10340 [C99-based-standards] (PRIxFAST16): Likewise.
10341 [C99-based-standards] (PRIXFAST16): Likewise.
10342 [C99-based-standards] (SCNdFAST16): Likewise.
10343 [C99-based-standards] (SCNiFAST16): Likewise.
10344 [C99-based-standards] (SCNoFAST16): Likewise.
10345 [C99-based-standards] (SCNuFAST16): Likewise.
10346 [C99-based-standards] (SCNxFAST16): Likewise.
10347 [C99-based-standards] (PRId32): Likewise.
10348 [C99-based-standards] (PRIi32): Likewise.
10349 [C99-based-standards] (PRIo32): Likewise.
10350 [C99-based-standards] (PRIu32): Likewise.
10351 [C99-based-standards] (PRIx32): Likewise.
10352 [C99-based-standards] (PRIX32): Likewise.
10353 [C99-based-standards] (SCNd32): Likewise.
10354 [C99-based-standards] (SCNi32): Likewise.
10355 [C99-based-standards] (SCNo32): Likewise.
10356 [C99-based-standards] (SCNu32): Likewise.
10357 [C99-based-standards] (SCNx32): Likewise.
10358 [C99-based-standards] (PRIdLEAST32): Likewise.
10359 [C99-based-standards] (PRIiLEAST32): Likewise.
10360 [C99-based-standards] (PRIoLEAST32): Likewise.
10361 [C99-based-standards] (PRIuLEAST32): Likewise.
10362 [C99-based-standards] (PRIxLEAST32): Likewise.
10363 [C99-based-standards] (PRIXLEAST32): Likewise.
10364 [C99-based-standards] (SCNdLEAST32): Likewise.
10365 [C99-based-standards] (SCNiLEAST32): Likewise.
10366 [C99-based-standards] (SCNoLEAST32): Likewise.
10367 [C99-based-standards] (SCNuLEAST32): Likewise.
10368 [C99-based-standards] (SCNxLEAST32): Likewise.
10369 [C99-based-standards] (PRIdFAST32): Likewise.
10370 [C99-based-standards] (PRIiFAST32): Likewise.
10371 [C99-based-standards] (PRIoFAST32): Likewise.
10372 [C99-based-standards] (PRIuFAST32): Likewise.
10373 [C99-based-standards] (PRIxFAST32): Likewise.
10374 [C99-based-standards] (PRIXFAST32): Likewise.
10375 [C99-based-standards] (SCNdFAST32): Likewise.
10376 [C99-based-standards] (SCNiFAST32): Likewise.
10377 [C99-based-standards] (SCNoFAST32): Likewise.
10378 [C99-based-standards] (SCNuFAST32): Likewise.
10379 [C99-based-standards] (SCNxFAST32): Likewise.
10380 [C99-based-standards] (PRId64): Likewise.
10381 [C99-based-standards] (PRIi64): Likewise.
10382 [C99-based-standards] (PRIo64): Likewise.
10383 [C99-based-standards] (PRIu64): Likewise.
10384 [C99-based-standards] (PRIx64): Likewise.
10385 [C99-based-standards] (PRIX64): Likewise.
10386 [C99-based-standards] (SCNd64): Likewise.
10387 [C99-based-standards] (SCNi64): Likewise.
10388 [C99-based-standards] (SCNo64): Likewise.
10389 [C99-based-standards] (SCNu64): Likewise.
10390 [C99-based-standards] (SCNx64): Likewise.
10391 [C99-based-standards] (PRIdLEAST64): Likewise.
10392 [C99-based-standards] (PRIiLEAST64): Likewise.
10393 [C99-based-standards] (PRIoLEAST64): Likewise.
10394 [C99-based-standards] (PRIuLEAST64): Likewise.
10395 [C99-based-standards] (PRIxLEAST64): Likewise.
10396 [C99-based-standards] (PRIXLEAST64): Likewise.
10397 [C99-based-standards] (SCNdLEAST64): Likewise.
10398 [C99-based-standards] (SCNiLEAST64): Likewise.
10399 [C99-based-standards] (SCNoLEAST64): Likewise.
10400 [C99-based-standards] (SCNuLEAST64): Likewise.
10401 [C99-based-standards] (SCNxLEAST64): Likewise.
10402 [C99-based-standards] (PRIdFAST64): Likewise.
10403 [C99-based-standards] (PRIiFAST64): Likewise.
10404 [C99-based-standards] (PRIoFAST64): Likewise.
10405 [C99-based-standards] (PRIuFAST64): Likewise.
10406 [C99-based-standards] (PRIxFAST64): Likewise.
10407 [C99-based-standards] (PRIXFAST64): Likewise.
10408 [C99-based-standards] (SCNdFAST64): Likewise.
10409 [C99-based-standards] (SCNiFAST64): Likewise.
10410 [C99-based-standards] (SCNoFAST64): Likewise.
10411 [C99-based-standards] (SCNuFAST64): Likewise.
10412 [C99-based-standards] (SCNxFAST64): Likewise.
10413 [C99-based-standards] (PRIdMAX): Likewise.
10414 [C99-based-standards] (PRIiMAX): Likewise.
10415 [C99-based-standards] (PRIoMAX): Likewise.
10416 [C99-based-standards] (PRIuMAX): Likewise.
10417 [C99-based-standards] (PRIxMAX): Likewise.
10418 [C99-based-standards] (PRIXMAX): Likewise.
10419 [C99-based-standards] (SCNdMAX): Likewise.
10420 [C99-based-standards] (SCNiMAX): Likewise.
10421 [C99-based-standards] (SCNoMAX): Likewise.
10422 [C99-based-standards] (SCNuMAX): Likewise.
10423 [C99-based-standards] (SCNxMAX): Likewise.
10424 [C99-based-standards] (PRIdPTR): Likewise.
10425 [C99-based-standards] (PRIiPTR): Likewise.
10426 [C99-based-standards] (PRIoPTR): Likewise.
10427 [C99-based-standards] (PRIuPTR): Likewise.
10428 [C99-based-standards] (PRIxPTR): Likewise.
10429 [C99-based-standards] (PRIXPTR): Likewise.
10430 [C99-based-standards] (SCNdPTR): Likewise.
10431 [C99-based-standards] (SCNiPTR): Likewise.
10432 [C99-based-standards] (SCNoPTR): Likewise.
10433 [C99-based-standards] (SCNuPTR): Likewise.
10434 [C99-based-standards] (SCNxPTR): Likewise.
10435 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10436 allow.
10437 * conform/data/stdint.h-data: Update comments to clarify
10438 requirements.
10439 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10440 type.
10441 [C99-based standards] (INT8_MAX): Likewise.
10442 [C99-based standards] (INT16_MIN): Likewise.
10443 [C99-based standards] (INT16_MAX): Likewise.
10444 [C99-based standards] (INT32_MIN): Likewise.
10445 [C99-based standards] (INT32_MAX): Likewise.
10446 [C99-based standards] (INT64_MIN): Likewise.
10447 [C99-based standards] (INT64_MAX): Likewise.
10448 [C99-based standards] (UINT8_MAX): Likewise.
10449 [C99-based standards] (UINT16_MAX): Likewise.
10450 [C99-based standards] (UINT32_MAX): Likewise.
10451 [C99-based standards] (UINT64_MAX): Likewise.
10452 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10453 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10454 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10455 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10456 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10457 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10458 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10459 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10460 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10461 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10462 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10463 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10464 [C99-based standards] (INT_FAST8_MIN): Likewise.
10465 [C99-based standards] (INT_FAST8_MAX): Likewise.
10466 [C99-based standards] (INT_FAST16_MIN): Likewise.
10467 [C99-based standards] (INT_FAST16_MAX): Likewise.
10468 [C99-based standards] (INT_FAST32_MIN): Likewise.
10469 [C99-based standards] (INT_FAST32_MAX): Likewise.
10470 [C99-based standards] (INT_FAST64_MIN): Likewise.
10471 [C99-based standards] (INT_FAST64_MAX): Likewise.
10472 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10473 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10474 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10475 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10476 [C99-based standards] (INTPTR_MIN): Likewise.
10477 [C99-based standards] (INTPTR_MAX): Likewise.
10478 [C99-based standards] (UINTPTR_MAX): Likewise.
10479 [C99-based standards] (INTMAX_MIN): Likewise.
10480 [C99-based standards] (INTMAX_MAX): Likewise.
10481 [C99-based standards] (UINTMAX_MAX): Likewise.
10482 [C99-based standards] (PTRDIFF_MIN): Likewise.
10483 [C99-based standards] (PTRDIFF_MAX): Likewise.
10484 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10485 [C99-based standards] (SIZE_MAX): Likewise.
10486 [C99-based standards] (WCHAR_MAX): Likewise.
10487 [C99-based standards] (WINT_MAX): Likewise.
10488 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10489 constraint on value.
10490 [C99-based standards] (WCHAR_MIN): Likewise.
10491 [C99-based standards] (WINT_MIN): Likewise.
10492 [C99-based standards] (*_t): Allow.
10493 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10494 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10495 Include math.h-data and complex.h-data. Remove all expectations
10496 of math.h and complex.h contents.
10497 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10498 at end of line.
10499 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10500 (struct tm): Expect tag.
10501 [C99-based-standards] (wcstof): Expect function.
10502 [C99-based-standards] (wcstold): Likewise.
10503 [C99-based-standards] (wcstoll): Likewise.
10504 [C99-based-standards] (wcstoull): Likewise.
10505 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10506 macro-int-constant. Specify type.
10507 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10508 constraint on value.
10509 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10510 Specify type.
10511 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10512 Specify value.
10513 [ISO C standards]: Do not allow headers.
10514 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10515 wcs[abcdefghijklmnopqrstuvwxyz]*.
10516 [ISO C standards] (*_t): Do not allow.
10517 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10518 Expect function.
10519 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10520 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10521 Specify type.
10522 [ISO C standards]: Do not allow headers.
10523 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10524 is[abcdefghijklmnopqrstuvwxyz]*.
10525 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10526 to[abcdefghijklmnopqrstuvwxyz]*.
10527 [ISO C standards] (*_t): Do not allow.
10528 * conform/data/stdalign.h-data: New file.
10529 * conform/data/stdbool.h-data: Likewise.
10530 * conform/data/stdnoreturn.h-data: Likewise.
10531
10532 2012-11-07 Roland McGrath <roland@hack.frob.com>
10533
10534 [BZ #14815]
10535 * manual/filesys.texi (Directory Entries): Typo fix.
10536 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10537
10538 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10539
10540 * elf/elf.h (EM_AARCH64): New macro.
10541 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10542 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10543 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10544 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10545 (R_AARCH64_TLSDESC): Likewise.
10546 (NT_ARM_TLS): Likewise.
10547 (NT_ARM_HW_BREAK): Likewise.
10548 (NT_ARM_HW_WATCH): Likewise.
10549
10550 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10551
10552 [BZ #14811]
10553 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10554 (__ieee754_powl): Saturate nonzero exponents with absolute value
10555 below 0x1p-79 to +/- 0x1p-79.
10556 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10557 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10558 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10559 nonzero exponents with absolute value below 0x1p-32 to +/-
10560 0x1p-32.
10561 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10562 (__ieee754_powl): Saturate nonzero exponents with absolute value
10563 below 0x1p-79 to +/- 0x1p-79.
10564 * math/libm-test.inc (pow_test): Add more tests.
10565
10566 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10567
10568 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10569 _dl_s390_cap_flags with kernel. Increase string length.
10570 (_dl_s390_platforms): Add z196 and zEC12.
10571
10572 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10573
10574 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10575 Change XOPEN21K to XOPEN2K.
10576
10577 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10578
10579 * string/memmove.c: Use memcpy when possible.
10580
10581 2012-11-06 Andreas Jaeger <aj@suse.de>
10582
10583 * po/eo.po: Update from translation team.
10584
10585 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10586
10587 [BZ #14793]
10588 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10589 exponent and small x and y exponents, scale x or y up. Increase
10590 by 2 the exponent used in scaling up.
10591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10592 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10593 * math/libm-test.inc (fma_test): Add more tests.
10594 (fma_test_towardzero): Likewise.
10595 (fma_test_downward): Likewise.
10596 (fma_test_upward): Likewise.
10597
10598 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10599
10600 [BZ #14805]
10601 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10602 fenv_t *.
10603
10604 [BZ #14801]
10605 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10606 namespace for names of struct fields.
10607 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10608 fenv_t fields.
10609 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10610 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10611
10612 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10613
10614 [BZ #3665]
10615 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10616
10617 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10618
10619 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10620 PTR_DEMANGLE.
10621
10622 [BZ #5246]
10623 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10624 PTR_DEMANGLE.
10625
10626 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10627
10628 [BZ #14797]
10629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10630 definitely overflow as x * y not x * y + z.
10631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10633 * math/libm-test.inc (fma_test): Add more tests.
10634 (fma_test_towardzero): Likewise.
10635 (fma_test_downward): Likewise.
10636 (fma_test_upward): Likewise.
10637
10638 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10639
10640 [BZ #157]
10641
10642 * include/stub-tag.h: Remove file.
10643 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10644 '#include' of it.
10645 * manual/maint.texi (Porting): Don't reference it.
10646 * Makerules ($(objpfx)stubs): Likewise.
10647 * dirent/closedir.c: Don't include <stub-tag.h>.
10648 * dirent/dirfd.c: Likewise.
10649 * dirent/fdopendir.c: Likewise.
10650 * dirent/getdents.c: Likewise.
10651 * dirent/getdents64.c: Likewise.
10652 * dirent/opendir.c: Likewise.
10653 * dirent/readdir.c: Likewise.
10654 * dirent/readdir64.c: Likewise.
10655 * dirent/readdir64_r.c: Likewise.
10656 * dirent/readdir_r.c: Likewise.
10657 * dirent/rewinddir.c: Likewise.
10658 * dirent/seekdir.c: Likewise.
10659 * dirent/telldir.c: Likewise.
10660 * gmon/profil.c: Likewise.
10661 * grp/setgroups.c: Likewise.
10662 * inet/if_index.c: Likewise.
10663 * io/access.c: Likewise.
10664 * io/chdir.c: Likewise.
10665 * io/chmod.c: Likewise.
10666 * io/chown.c: Likewise.
10667 * io/close.c: Likewise.
10668 * io/dup.c: Likewise.
10669 * io/dup2.c: Likewise.
10670 * io/dup3.c: Likewise.
10671 * io/euidaccess.c: Likewise.
10672 * io/faccessat.c: Likewise.
10673 * io/fchdir.c: Likewise.
10674 * io/fchmod.c: Likewise.
10675 * io/fchmodat.c: Likewise.
10676 * io/fchown.c: Likewise.
10677 * io/fchownat.c: Likewise.
10678 * io/fcntl.c: Likewise.
10679 * io/flock.c: Likewise.
10680 * io/fstatfs.c: Likewise.
10681 * io/fstatfs64.c: Likewise.
10682 * io/fstatvfs.c: Likewise.
10683 * io/fstatvfs64.c: Likewise.
10684 * io/futimens.c: Likewise.
10685 * io/fxstat.c: Likewise.
10686 * io/fxstat64.c: Likewise.
10687 * io/fxstatat.c: Likewise.
10688 * io/fxstatat64.c: Likewise.
10689 * io/getcwd.c: Likewise.
10690 * io/isatty.c: Likewise.
10691 * io/lchmod.c: Likewise.
10692 * io/lchown.c: Likewise.
10693 * io/link.c: Likewise.
10694 * io/linkat.c: Likewise.
10695 * io/lseek.c: Likewise.
10696 * io/lseek64.c: Likewise.
10697 * io/lxstat64.c: Likewise.
10698 * io/mkdir.c: Likewise.
10699 * io/mkdirat.c: Likewise.
10700 * io/mkfifo.c: Likewise.
10701 * io/mkfifoat.c: Likewise.
10702 * io/open.c: Likewise.
10703 * io/open64.c: Likewise.
10704 * io/openat.c: Likewise.
10705 * io/openat64.c: Likewise.
10706 * io/pipe.c: Likewise.
10707 * io/pipe2.c: Likewise.
10708 * io/poll.c: Likewise.
10709 * io/posix_fadvise.c: Likewise.
10710 * io/posix_fadvise64.c: Likewise.
10711 * io/posix_fallocate.c: Likewise.
10712 * io/posix_fallocate64.c: Likewise.
10713 * io/read.c: Likewise.
10714 * io/readlink.c: Likewise.
10715 * io/readlinkat.c: Likewise.
10716 * io/rmdir.c: Likewise.
10717 * io/sendfile.c: Likewise.
10718 * io/sendfile64.c: Likewise.
10719 * io/statfs.c: Likewise.
10720 * io/statfs64.c: Likewise.
10721 * io/statvfs.c: Likewise.
10722 * io/statvfs64.c: Likewise.
10723 * io/symlink.c: Likewise.
10724 * io/symlinkat.c: Likewise.
10725 * io/ttyname.c: Likewise.
10726 * io/ttyname_r.c: Likewise.
10727 * io/umask.c: Likewise.
10728 * io/unlink.c: Likewise.
10729 * io/unlinkat.c: Likewise.
10730 * io/utime.c: Likewise.
10731 * io/utimensat.c: Likewise.
10732 * io/write.c: Likewise.
10733 * io/xmknod.c: Likewise.
10734 * io/xmknodat.c: Likewise.
10735 * io/xstat.c: Likewise.
10736 * io/xstat64.c: Likewise.
10737 * login/getpt.c: Likewise.
10738 * login/grantpt.c: Likewise.
10739 * login/unlockpt.c: Likewise.
10740 * math/e_acoshl.c: Likewise.
10741 * math/e_acosl.c: Likewise.
10742 * math/e_asinl.c: Likewise.
10743 * math/e_atan2l.c: Likewise.
10744 * math/e_atanhl.c: Likewise.
10745 * math/e_coshl.c: Likewise.
10746 * math/e_expl.c: Likewise.
10747 * math/e_fmodl.c: Likewise.
10748 * math/e_gammal_r.c: Likewise.
10749 * math/e_hypotl.c: Likewise.
10750 * math/e_j0l.c: Likewise.
10751 * math/e_j1l.c: Likewise.
10752 * math/e_jnl.c: Likewise.
10753 * math/e_lgammal_r.c: Likewise.
10754 * math/e_log10l.c: Likewise.
10755 * math/e_log2l.c: Likewise.
10756 * math/e_logl.c: Likewise.
10757 * math/e_powl.c: Likewise.
10758 * math/e_rem_pio2l.c: Likewise.
10759 * math/e_sinhl.c: Likewise.
10760 * math/e_sqrtl.c: Likewise.
10761 * math/fclrexcpt.c: Likewise.
10762 * math/fedisblxcpt.c: Likewise.
10763 * math/feenablxcpt.c: Likewise.
10764 * math/fegetenv.c: Likewise.
10765 * math/fegetexcept.c: Likewise.
10766 * math/fegetround.c: Likewise.
10767 * math/feholdexcpt.c: Likewise.
10768 * math/fesetenv.c: Likewise.
10769 * math/fesetround.c: Likewise.
10770 * math/feupdateenv.c: Likewise.
10771 * math/fgetexcptflg.c: Likewise.
10772 * math/fraiseexcpt.c: Likewise.
10773 * math/fsetexcptflg.c: Likewise.
10774 * math/ftestexcept.c: Likewise.
10775 * math/k_cosl.c: Likewise.
10776 * math/k_rem_pio2l.c: Likewise.
10777 * math/k_sinl.c: Likewise.
10778 * math/k_tanl.c: Likewise.
10779 * math/s_asinhl.c: Likewise.
10780 * math/s_atanl.c: Likewise.
10781 * math/s_cbrtl.c: Likewise.
10782 * math/s_erfl.c: Likewise.
10783 * math/s_expm1l.c: Likewise.
10784 * math/s_log1pl.c: Likewise.
10785 * math/s_tanhl.c: Likewise.
10786 * misc/acct.c: Likewise.
10787 * misc/brk.c: Likewise.
10788 * misc/chflags.c: Likewise.
10789 * misc/chroot.c: Likewise.
10790 * misc/fchflags.c: Likewise.
10791 * misc/fgetxattr.c: Likewise.
10792 * misc/flistxattr.c: Likewise.
10793 * misc/fremovexattr.c: Likewise.
10794 * misc/fsetxattr.c: Likewise.
10795 * misc/fsync.c: Likewise.
10796 * misc/ftruncate.c: Likewise.
10797 * misc/futimes.c: Likewise.
10798 * misc/futimesat.c: Likewise.
10799 * misc/getdomain.c: Likewise.
10800 * misc/getdtsz.c: Likewise.
10801 * misc/gethostid.c: Likewise.
10802 * misc/gethostname.c: Likewise.
10803 * misc/getloadavg.c: Likewise.
10804 * misc/getpagesize.c: Likewise.
10805 * misc/getsysstats.c: Likewise.
10806 * misc/getxattr.c: Likewise.
10807 * misc/gtty.c: Likewise.
10808 * misc/ioctl.c: Likewise.
10809 * misc/lgetxattr.c: Likewise.
10810 * misc/listxattr.c: Likewise.
10811 * misc/llistxattr.c: Likewise.
10812 * misc/lremovexattr.c: Likewise.
10813 * misc/lsetxattr.c: Likewise.
10814 * misc/lutimes.c: Likewise.
10815 * misc/madvise.c: Likewise.
10816 * misc/mincore.c: Likewise.
10817 * misc/mlock.c: Likewise.
10818 * misc/mlockall.c: Likewise.
10819 * misc/mmap.c: Likewise.
10820 * misc/mprotect.c: Likewise.
10821 * misc/msync.c: Likewise.
10822 * misc/munlock.c: Likewise.
10823 * misc/munlockall.c: Likewise.
10824 * misc/munmap.c: Likewise.
10825 * misc/preadv.c: Likewise.
10826 * misc/preadv64.c: Likewise.
10827 * misc/ptrace.c: Likewise.
10828 * misc/pwritev.c: Likewise.
10829 * misc/pwritev64.c: Likewise.
10830 * misc/readv.c: Likewise.
10831 * misc/reboot.c: Likewise.
10832 * misc/remap_file_pages.c: Likewise.
10833 * misc/removexattr.c: Likewise.
10834 * misc/revoke.c: Likewise.
10835 * misc/select.c: Likewise.
10836 * misc/setdomain.c: Likewise.
10837 * misc/setegid.c: Likewise.
10838 * misc/seteuid.c: Likewise.
10839 * misc/sethostid.c: Likewise.
10840 * misc/sethostname.c: Likewise.
10841 * misc/setregid.c: Likewise.
10842 * misc/setreuid.c: Likewise.
10843 * misc/setxattr.c: Likewise.
10844 * misc/sstk.c: Likewise.
10845 * misc/stty.c: Likewise.
10846 * misc/swapoff.c: Likewise.
10847 * misc/swapon.c: Likewise.
10848 * misc/sync.c: Likewise.
10849 * misc/syncfs.c: Likewise.
10850 * misc/syscall.c: Likewise.
10851 * misc/truncate.c: Likewise.
10852 * misc/ualarm.c: Likewise.
10853 * misc/usleep.c: Likewise.
10854 * misc/ustat.c: Likewise.
10855 * misc/utimes.c: Likewise.
10856 * misc/vhangup.c: Likewise.
10857 * misc/writev.c: Likewise.
10858 * posix/_exit.c: Likewise.
10859 * posix/alarm.c: Likewise.
10860 * posix/execve.c: Likewise.
10861 * posix/fexecve.c: Likewise.
10862 * posix/fork.c: Likewise.
10863 * posix/fpathconf.c: Likewise.
10864 * posix/getaddrinfo.c: Likewise.
10865 * posix/getegid.c: Likewise.
10866 * posix/geteuid.c: Likewise.
10867 * posix/getgid.c: Likewise.
10868 * posix/getgroups.c: Likewise.
10869 * posix/getlogin.c: Likewise.
10870 * posix/getlogin_r.c: Likewise.
10871 * posix/getpgid.c: Likewise.
10872 * posix/getpid.c: Likewise.
10873 * posix/getppid.c: Likewise.
10874 * posix/getresgid.c: Likewise.
10875 * posix/getresuid.c: Likewise.
10876 * posix/getsid.c: Likewise.
10877 * posix/getuid.c: Likewise.
10878 * posix/glob64.c: Likewise.
10879 * posix/nanosleep.c: Likewise.
10880 * posix/pathconf.c: Likewise.
10881 * posix/pause.c: Likewise.
10882 * posix/posix_madvise.c: Likewise.
10883 * posix/pread.c: Likewise.
10884 * posix/pread64.c: Likewise.
10885 * posix/pwrite.c: Likewise.
10886 * posix/pwrite64.c: Likewise.
10887 * posix/sched_getaffinity.c: Likewise.
10888 * posix/sched_getp.c: Likewise.
10889 * posix/sched_gets.c: Likewise.
10890 * posix/sched_primax.c: Likewise.
10891 * posix/sched_primin.c: Likewise.
10892 * posix/sched_rr_gi.c: Likewise.
10893 * posix/sched_setaffinity.c: Likewise.
10894 * posix/sched_setp.c: Likewise.
10895 * posix/sched_sets.c: Likewise.
10896 * posix/sched_yield.c: Likewise.
10897 * posix/setgid.c: Likewise.
10898 * posix/setlogin.c: Likewise.
10899 * posix/setpgid.c: Likewise.
10900 * posix/setresgid.c: Likewise.
10901 * posix/setresuid.c: Likewise.
10902 * posix/setsid.c: Likewise.
10903 * posix/setuid.c: Likewise.
10904 * posix/sleep.c: Likewise.
10905 * posix/spawni.c: Likewise.
10906 * posix/sysconf.c: Likewise.
10907 * posix/times.c: Likewise.
10908 * posix/wait.c: Likewise.
10909 * posix/wait3.c: Likewise.
10910 * posix/wait4.c: Likewise.
10911 * posix/waitpid.c: Likewise.
10912 * resolv/gai_sigqueue.c: Likewise.
10913 * resource/getpriority.c: Likewise.
10914 * resource/getrlimit.c: Likewise.
10915 * resource/getrusage.c: Likewise.
10916 * resource/nice.c: Likewise.
10917 * resource/setpriority.c: Likewise.
10918 * resource/setrlimit.c: Likewise.
10919 * resource/ulimit.c: Likewise.
10920 * rt/aio_cancel.c: Likewise.
10921 * rt/aio_fsync.c: Likewise.
10922 * rt/aio_read.c: Likewise.
10923 * rt/aio_sigqueue.c: Likewise.
10924 * rt/aio_suspend.c: Likewise.
10925 * rt/aio_write.c: Likewise.
10926 * rt/clock_getres.c: Likewise.
10927 * rt/clock_gettime.c: Likewise.
10928 * rt/clock_nanosleep.c: Likewise.
10929 * rt/clock_settime.c: Likewise.
10930 * rt/lio_listio.c: Likewise.
10931 * rt/mq_close.c: Likewise.
10932 * rt/mq_getattr.c: Likewise.
10933 * rt/mq_notify.c: Likewise.
10934 * rt/mq_open.c: Likewise.
10935 * rt/mq_receive.c: Likewise.
10936 * rt/mq_send.c: Likewise.
10937 * rt/mq_setattr.c: Likewise.
10938 * rt/mq_timedreceive.c: Likewise.
10939 * rt/mq_timedsend.c: Likewise.
10940 * rt/mq_unlink.c: Likewise.
10941 * rt/shm_open.c: Likewise.
10942 * rt/shm_unlink.c: Likewise.
10943 * rt/timer_create.c: Likewise.
10944 * rt/timer_delete.c: Likewise.
10945 * rt/timer_getoverr.c: Likewise.
10946 * rt/timer_gettime.c: Likewise.
10947 * rt/timer_settime.c: Likewise.
10948 * setjmp/__longjmp.c: Likewise.
10949 * setjmp/setjmp.c: Likewise.
10950 * signal/kill.c: Likewise.
10951 * signal/killpg.c: Likewise.
10952 * signal/raise.c: Likewise.
10953 * signal/sigaction.c: Likewise.
10954 * signal/sigaltstack.c: Likewise.
10955 * signal/sigblock.c: Likewise.
10956 * signal/sigignore.c: Likewise.
10957 * signal/sigintr.c: Likewise.
10958 * signal/signal.c: Likewise.
10959 * signal/sigpause.c: Likewise.
10960 * signal/sigpending.c: Likewise.
10961 * signal/sigqueue.c: Likewise.
10962 * signal/sigreturn.c: Likewise.
10963 * signal/sigset.c: Likewise.
10964 * signal/sigsetmask.c: Likewise.
10965 * signal/sigstack.c: Likewise.
10966 * signal/sigsuspend.c: Likewise.
10967 * signal/sigtimedwait.c: Likewise.
10968 * signal/sigvec.c: Likewise.
10969 * signal/sigwait.c: Likewise.
10970 * signal/sigwaitinfo.c: Likewise.
10971 * signal/sysv_signal.c: Likewise.
10972 * socket/accept.c: Likewise.
10973 * socket/accept4.c: Likewise.
10974 * socket/bind.c: Likewise.
10975 * socket/connect.c: Likewise.
10976 * socket/getpeername.c: Likewise.
10977 * socket/getsockname.c: Likewise.
10978 * socket/getsockopt.c: Likewise.
10979 * socket/isfdtype.c: Likewise.
10980 * socket/listen.c: Likewise.
10981 * socket/recv.c: Likewise.
10982 * socket/recvfrom.c: Likewise.
10983 * socket/recvmsg.c: Likewise.
10984 * socket/send.c: Likewise.
10985 * socket/sendmsg.c: Likewise.
10986 * socket/sendto.c: Likewise.
10987 * socket/setsockopt.c: Likewise.
10988 * socket/shutdown.c: Likewise.
10989 * socket/sockatmark.c: Likewise.
10990 * socket/socket.c: Likewise.
10991 * socket/socketpair.c: Likewise.
10992 * stdio-common/ctermid.c: Likewise.
10993 * stdio-common/cuserid.c: Likewise.
10994 * stdio-common/remove.c: Likewise.
10995 * stdio-common/rename.c: Likewise.
10996 * stdio-common/renameat.c: Likewise.
10997 * stdio-common/tempname.c: Likewise.
10998 * stdlib/getcontext.c: Likewise.
10999 * stdlib/makecontext.c: Likewise.
11000 * stdlib/setcontext.c: Likewise.
11001 * stdlib/swapcontext.c: Likewise.
11002 * stdlib/system.c: Likewise.
11003 * streams/fattach.c: Likewise.
11004 * streams/fdetach.c: Likewise.
11005 * streams/getmsg.c: Likewise.
11006 * streams/getpmsg.c: Likewise.
11007 * streams/putmsg.c: Likewise.
11008 * streams/putpmsg.c: Likewise.
11009 * sysdeps/unix/bsd/getpt.c: Likewise.
11010 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11011 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11012 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11014 Likewise.
11015 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11016 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11017 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11018 * sysvipc/msgctl.c: Likewise.
11019 * sysvipc/msgget.c: Likewise.
11020 * sysvipc/msgrcv.c: Likewise.
11021 * sysvipc/msgsnd.c: Likewise.
11022 * sysvipc/semctl.c: Likewise.
11023 * sysvipc/semget.c: Likewise.
11024 * sysvipc/semop.c: Likewise.
11025 * sysvipc/semtimedop.c: Likewise.
11026 * sysvipc/shmat.c: Likewise.
11027 * sysvipc/shmctl.c: Likewise.
11028 * sysvipc/shmdt.c: Likewise.
11029 * sysvipc/shmget.c: Likewise.
11030 * termios/tcdrain.c: Likewise.
11031 * termios/tcflow.c: Likewise.
11032 * termios/tcflush.c: Likewise.
11033 * termios/tcgetattr.c: Likewise.
11034 * termios/tcgetpgrp.c: Likewise.
11035 * termios/tcsendbrk.c: Likewise.
11036 * termios/tcsetattr.c: Likewise.
11037 * termios/tcsetpgrp.c: Likewise.
11038 * time/adjtime.c: Likewise.
11039 * time/clock.c: Likewise.
11040 * time/getitimer.c: Likewise.
11041 * time/gettimeofday.c: Likewise.
11042 * time/setitimer.c: Likewise.
11043 * time/settimeofday.c: Likewise.
11044 * time/stime.c: Likewise.
11045 * time/time.c: Likewise.
11046
11047 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11048
11049 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11050 /usr/old/bin.
11051
11052 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11053 instead of spaces.
11054 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11055
11056 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11057
11058 [BZ #14796]
11059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11060 FE_TONEAREST before applying Dekker multiplication and Knuth
11061 addition. Clear inexact exceptions and check for exact zero
11062 results afterwards.
11063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11064 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11066 * math/libm-test.inc (fma_test): Add more tests.
11067 (fma_test_towardzero): Likewise.
11068 (fma_test_downward): Likewise.
11069 (fma_test_upward): Likewise.
11070 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11071 function.
11072 (libc_fesetround): New macro.
11073 (libc_fesetroundf): Likewise.
11074 (libc_fesetroundl): Likewise.
11075 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11076 function.
11077 (libc_fesetround_387): Likewise.
11078 (libc_fesetroundf): New macro.
11079 (libc_fesetround): Likewise.
11080 (libc_fesetroundl): Likewise.
11081 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11082 function.
11083 (libc_fesetroundf): New macro.
11084 (libc_fesetround): Likewise.
11085 (libc_fesetroundl): Likewise.
11086 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11087 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11088 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11089 libm_hidden_ver.
11090 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11091 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11092 libm_hidden_def.
11093 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11094 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11095 libm_hidden_ver.
11096 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11097 libm_hidden_def.
11098
11099 [BZ #3439]
11100 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11101 integer constant usable in #if and use that to give value to enum
11102 constant.
11103 (FE_DIVBYZERO): Likewise.
11104 (FE_UNDERFLOW): Likewise.
11105 (FE_OVERFLOW): Likewise.
11106 (FE_INVALID): Likewise.
11107 (FE_INVALID_SNAN): Likewise.
11108 (FE_INVALID_ISI): Likewise.
11109 (FE_INVALID_IDI): Likewise.
11110 (FE_INVALID_ZDZ): Likewise.
11111 (FE_INVALID_IMZ): Likewise.
11112 (FE_INVALID_COMPARE): Likewise.
11113 (FE_INVALID_SOFTWARE): Likewise.
11114 (FE_INVALID_SQRT): Likewise.
11115 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11116 (FE_TONEAREST): Likewise.
11117 (FE_TOWARDZERO): Likewise.
11118 (FE_UPWARD): Likewise.
11119 (FE_DOWNWARD): Likewise.
11120 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11121 (FE_DIVBYZERO): Likewise.
11122 (FE_OVERFLOW): Likewise.
11123 (FE_UNDERFLOW): Likewise.
11124 (FE_INEXACT): Likewise.
11125 (FE_TONEAREST): Likewise.
11126 (FE_DOWNWARD): Likewise.
11127 (FE_UPWARD): Likewise.
11128 (FE_TOWARDZERO): Likewise.
11129 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11130 (FE_UNDERFLOW): Likewise.
11131 (FE_OVERFLOW): Likewise.
11132 (FE_DIVBYZERO): Likewise.
11133 (FE_INVALID): Likewise.
11134 (FE_TONEAREST): Likewise.
11135 (FE_TOWARDZERO): Likewise.
11136 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11137 (FE_OVERFLOW): Likewise.
11138 (FE_UNDERFLOW): Likewise.
11139 (FE_DIVBYZERO): Likewise.
11140 (FE_INEXACT): Likewise.
11141 (FE_TONEAREST): Likewise.
11142 (FE_TOWARDZERO): Likewise.
11143 (FE_UPWARD): Likewise.
11144 (FE_DOWNWARD): Likewise.
11145 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11146 (FE_DIVBYZERO): Likewise.
11147 (FE_OVERFLOW): Likewise.
11148 (FE_UNDERFLOW): Likewise.
11149 (FE_INEXACT): Likewise.
11150 (FE_TONEAREST): Likewise.
11151 (FE_DOWNWARD): Likewise.
11152 (FE_UPWARD): Likewise.
11153 (FE_TOWARDZERO): Likewise.
11154
11155 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11156
11157 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11158
11159 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11160
11161 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11162 commands. Quote $PWD.
11163 (blacklist_exports): Don't use remove_newlines. Replace "declare
11164 -x" by "export".
11165 (remove_newlines): Remove.
11166
11167 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11168
11169 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11170 * stdlib/stdlib.h (atof): Moved to ...
11171 * include/bits/stdlib-float.h: Here. New file.
11172 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11173 * stdlib/bits/stdlib-float.h: New file.
11174 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11175 -mno-sse -mno-mmx.
11176 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11177 <xmmintrin.h>.
11178
11179 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11180
11181 * conform/conformtest.pl (@headers): Add fenv.h.
11182 * conform/data/fenv.h-data: New file.
11183 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11184 include of <math/fenv.h>.
11185
11186 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11187 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11188 && !UNIX98]. Enables tests for XOPEN2K8.
11189 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11190 POSIX2008]: Likewise.
11191
11192 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11193 (struct rusage): Do not expect type or its members.
11194
11195 [BZ #3439]
11196 * math/math.h (FP_NAN): Define macro to integer constant usable in
11197 #if and use that to give value to enum constant.
11198 (FP_INFINITE): Likewise.
11199 (FP_ZERO): Likewise.
11200 (FP_SUBNORMAL): Likewise.
11201 (FP_NORMAL): Likewise.
11202
11203 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11204
11205 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11206 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11207 arguments.
11208
11209 2012-11-02 Roland McGrath <roland@hack.frob.com>
11210
11211 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11212 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11213 autoconf-time if not.
11214 * configure.in: Remove AC_PREREQ.
11215
11216 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11217
11218 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11219 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11220 of the internal implementation.
11221
11222 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11223
11224 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11225 except include of <misc/sys/syslog.h>.
11226
11227 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11228
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11230 function returns with a NULL context exit with zero.
11231
11232 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11233
11234 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11235
11236 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11237
11238 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11239 (run_program_cmd): This.
11240 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11241 (tst_langinfo): New variable. Use it.
11242
11243 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11244
11245 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11246 floating point opcodes.
11247
11248 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11249
11250 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11251 variable.
11252
11253 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11254
11255 * sysdeps/mach/hurd/powerpc: Remove directory.
11256 * sysdeps/mach/powerpc: Likewise.
11257
11258 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11259
11260 * scripts/check-local-headers.sh: Ignore c++ headers.
11261
11262 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11263
11264 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11265 __libc_cleanup_region_start argument.
11266
11267 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11268
11269 [BZ #14784]
11270 [BZ #14785]
11271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11272 x * y using scaling, not as x * y + z.
11273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11274 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11275 * math/libm-test.inc (fma_test): Add more tests.
11276 (fma_test_towardzero): Likewise.
11277 (fma_test_downward): Likewise.
11278 (fma_test_upward): Likewise.
11279
11280 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11281
11282 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11283
11284 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11285
11286 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11287 New variable.
11288
11289 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11290
11291 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11292
11293 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11294
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11296 Fix sort order.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11298 Likewise.
11299
11300 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11301
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11303 Fix the order of the list for glibc 2.17.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11305 Likewise.
11306
11307 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11308
11309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11310
11311 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11312
11313 [BZ #14610]
11314 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11315 for low part of x being zero before using __atanl (y).
11316 * math/libm-test.inc (atan2_test): Add another test.
11317
11318 * manual/install.texi (Configuring and compiling): Document
11319 general use of test-wrapper and test-wrapper-env.
11320 * INSTALL: Regenerated.
11321
11322 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11323 (__fma): Do not extract and scale down low bits on after-rounding
11324 systems when result rounded to normal precision would have normal
11325 exponent.
11326 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11327 (__fmal): Do not extract and scale down low bits on after-rounding
11328 systems when result rounded to normal precision would have normal
11329 exponent.
11330 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11331 (__fmal): Do not extract and scale down low bits on after-rounding
11332 systems when result rounded to normal precision would have normal
11333 exponent.
11334 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11335 macro.
11336 (fma_test): Add more tests.
11337 (fma_test_towardzero): Likewise.
11338 (fma_test_downward): Likewise.
11339 (fma_test_upward): Likewise.
11340
11341 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11342
11343 * sysdeps/i386/tininess.h: Renamed to ...
11344 * sysdeps/x86/tininess.h: This.
11345 * sysdeps/x86_64/tininess.h: Removed.
11346
11347 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11348
11349 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11350 input. Use $(build-program-cmd).
11351 ($(objpfx)tst-array1-static.out): Likewise.
11352 ($(objpfx)tst-array2.out): Likewise.
11353 ($(objpfx)tst-array3.out): Likewise.
11354 ($(objpfx)tst-array4.out): Likewise.
11355 ($(objpfx)tst-array5.out): Likewise.
11356 ($(objpfx)tst-array5-static.out): Likewise.
11357
11358 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11359
11360 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11361 if defined.
11362
11363 * nss/nsswitch.h (nss_interface_function): Provide new
11364 macro for use with NSS functions.
11365 * grp/initgroups.c: Use new macro.
11366 * nss/getXXbyYY.c: Likewise.
11367 * nss/getXXbyYY_r.c: Likewise.
11368 * nss/getXXent.c: Likewise.
11369 * nss/getXXent_r.c: Likewise.
11370 * sysdeps/posix/getaddrinfo.c: Likewise.
11371
11372 2012-10-30 Andreas Jaeger <aj@suse.de>
11373
11374 * po/ru.po: Update Russion translation from translation project.
11375
11376 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11377
11378 [BZ #14152]
11379 [BZ #14783]
11380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11381 result and shift together with sticky bit instead of replicating
11382 round-to-nearest rounding.
11383 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11385 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11386 missing underflow exceptions.
11387 (fma_test_towardzero): Add more tests.
11388 (fma_test_downward): Likewise.
11389 (fma_test_upward): Likewise.
11390
11391 [BZ #14047]
11392 * sysdeps/generic/tininess.h: New file.
11393 * sysdeps/i386/tininess.h: Likewise.
11394 * sysdeps/sh/tininess.h: Likewise.
11395 * sysdeps/x86_64/tininess.h: Likewise.
11396 * stdlib/tst-strtod-underflow.c: Likewise.
11397 * stdlib/tst-tininess.c: Likewise.
11398 * stdlib/strtod_l.c: Include <tininess.h>.
11399 (round_and_return): Do not set errno for exact underflow cases.
11400 Force an underflow exception when setting errno for underflow.
11401 Determine underflow based on rounding to normal precision if
11402 TININESS_AFTER_ROUNDING.
11403 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11404 ERANGE for exact underflow cases.
11405 * stdlib/Makefile (tests): Add tst-tininess and
11406 tst-strtod-underflow.
11407 ($(objpfx)tst-tininess): Use $(link-libm).
11408 ($(objpfx)tst-strtod-underflow): Likewise.
11409
11410 2012-10-30 Andreas Jaeger <aj@suse.de>
11411
11412 [BZ#14767]
11413 * elf/Makefile (tests): Remove conditional for have-initfini-array
11414 since this is now always required and the variable does not exist
11415 anymore.
11416 (tests-static): Likewise.
11417 (modules-names): Likewise.
11418
11419 * po/eo.po: Add Esperanto translation from translation project.
11420
11421 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11422 merged with constructor/destructor.
11423 (init_array): Likewise.
11424 * elf/tst-array2dep.c (fini_array): Likewise.
11425 (init_array): Likewise.
11426
11427 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11428
11429 * manual/message.texi: Delete @cartouche tags.
11430
11431 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11432
11433 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11434 EOPNOTSUPP.
11435 * sysdeps/mach/hurd/fsync.c: Likewise.
11436
11437 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11438 [_POSIX_REALTIME_SIGNALS]: Change condition to
11439 [_POSIX_REALTIME_SIGNALS > 0].
11440
11441 2012-10-27 Andreas Jaeger <aj@suse.de>
11442
11443 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11444 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11446 [__WORDSIZE != 64]: Likewise.
11447
11448 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11449
11450 * iconvdata/tst-table.sh: Remove ${SHELL}.
11451 * iconvdata/tst-tables.sh: Likewise.
11452
11453 2012-10-25 David S. Miller <davem@davemloft.net>
11454
11455 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11456 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11457 of strtoull.
11458
11459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11460 ifunc-impl-list.c
11461 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11462 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11463 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11464 file.
11465
11466 2012-10-25 Roland McGrath <roland@hack.frob.com>
11467
11468 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11469 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11470 __getdirentries.
11471
11472 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11473 Jim Blandy <jimb@codesourcery.com>
11474
11475 * scripts/cross-test-ssh.sh: New file.
11476 * manual/install.texi (Configuring and compiling): Document use of
11477 cross-test-ssh.sh.
11478 * INSTALL: Regenerated.
11479
11480 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11481
11482 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11483 EOPNOTSUPP.
11484
11485 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11486
11487 * Makeconfig (run-program-prefix): Fix comment.
11488
11489 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11490 Jim Blandy <jimb@codesourcery.com>
11491
11492 * Makeconfig (test-wrapper): New variable,
11493 (test-wrapper-env): Likewise.
11494 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11495 (run-built-tests): Define to yes.
11496 (run-program-prefix): Use $(test-wrapper).
11497 (built-program-cmd): Likewise.
11498 * Rules (make-test-out): Use $(test-wrapper-env) and
11499 $(host-built-program-cmd).
11500 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11501 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11502 tst-pathopt.sh.
11503 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11504 $(test-wrapper-env) to tst-rtld-load-self.sh.
11505 ($(objpfx)order2.out): Use $(test-wrapper).
11506 ($(objpfx)tst-initorder.out): Likewise.
11507 ($(objpfx)tst-initorder2.out): Likewise.
11508 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11509 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11510 (test_wrapper_env): New variable. Use it to run ld.so.
11511 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11512 Use it to run ld.so.
11513 (test_wrapper_env): Likewise.
11514 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11515 $(test-wrapper) to run-iconv-test.sh.
11516 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11517 (ICONV): Use $test_wrapper.
11518 * posix/Makefile ($(objpfx)globtest.out): Pass
11519 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11520 globtest.sh, not $(run-program-prefix).
11521 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11522 (test_wrapper): Likewise.
11523 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11524 set together with run_via_rtld_prefix.
11525 (run_program_prefix): Define in terms of test_wrapper and
11526 run_via_rtld_prefix.
11527
11528 2012-10-24 Roland McGrath <roland@hack.frob.com>
11529
11530 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11531 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11532 Targets removed.
11533
11534 [BZ #14743]
11535 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11536 Declare __clock_getres, __clock_gettime, __clock_settime,
11537 __clock_nanosleep, and __clock_getcpuclockid.
11538 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11539 Remove librt_hidden_def (clock_gettime).
11540 * sysdeps/unix/clock_gettime.c: Likewise.
11541 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11542 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11543 * rt/clock_getres.c: Define __clock_getres as an alias.
11544 * sysdeps/posix/clock_getres.c: Likewise.
11545 * rt/clock_settime.c: Define __clock_settime as an alias.
11546 * sysdeps/unix/clock_settime.c: Likewise.
11547 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11548 * sysdeps/unix/clock_nanosleep.c: Likewise.
11549 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11550 * rt/clock-compat.c: New file.
11551 * rt/Makefile (librt-routines): Add clock-compat and move
11552 $(clock-routines) to ...
11553 (routines): ... here, new variable.
11554 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11555 Don't add get_clockfreq here.
11556 * rt/Versions (libc: GLIBC_2.17): New version set.
11557 Add clock_* symbols here.
11558 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11560 (GLIBC_2.17): Add clock_* symbols.
11561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11563 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11565 Likewise.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11567 Likewise.
11568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11572 * NEWS: Mention the move.
11573
11574 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11575 Use __open, __read, __close rather than their public counterparts.
11576 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11577 (__get_clockfreq_via_cpuinfo): Likewise.
11578 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11579 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11580
11581 * config.h.in (HAVE_IFUNC): New #undef.
11582 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11583 was successful.
11584 * configure: Regenerated.
11585
11586 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11587
11588 * configure.in: Move READELF check to start of file.
11589 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11590 libc_cv_asm_gnu_indirect_function in the process.
11591 * configure: Regenerated.
11592
11593 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11594
11595 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11596 send the output to /dev/null.
11597 (libc_cv_cc_with_libunwind): Likewise.
11598 (libc_cv_as_noexecstack): Likewise.
11599 * configure: Regenerate.
11600
11601 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11602
11603 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11604
11605 * posix/globtest.sh (TMPDIR): Do not set.
11606 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11607 (testout): Likewise.
11608
11609 2012-10-24 Andreas Jaeger <aj@suse.de>
11610
11611 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11612 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11613 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11614 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11615 posix_fadvise64, posix_fallocate64.
11616
11617 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11618 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11619 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11620 Likewise.
11621 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11622 Likewise.
11623 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11624
11625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11626 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11627 <bits/fcntl-linux.h>.
11628 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11629
11630 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11631 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11632 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11633 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11634 [__WORDSIZE != 64]: Likewise.
11635
11636 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11637
11638 * Makeconfig (run-built-tests): New variable.
11639 * Rules [$(cross-compiling) = yes]: Change condition to
11640 [$(run-built-tests) = no].
11641 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11642 to [$(run-built-tests) = yes].
11643 * elf/Makefile [$(cross-compiling) = no]: Likewise
11644 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11645 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11646 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11647 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11648 * io/Makefile [$(cross-compiling) = no]: Likewise.
11649 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11650 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11651 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11652 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11653 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11654 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11655 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11656 * string/Makefile [$(cross-compiling) = no]: Likewise.
11657
11658 * posix/Makefile ($(objpfx)globtest.out): Pass
11659 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11660 $(rtld-installed-name).
11661 * posix/globtest.sh (elf_objpfx): Remove variable.
11662 (rtld_installed_name): Likewise.
11663 (library_path): Likewise.
11664 (run_program_prefix): New variable. Use for running globtest
11665 binary.
11666
11667 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11668 Joseph Myers <joseph@codesourcery.com>
11669
11670 * Makeconfig (host-built-program-cmd): New variable.
11671 * elf/Makefile (tst-stackguard1-ARGS): Use
11672 $(host-built-program-cmd).
11673 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11674 (tst-spawn-ARGS): Likewise.
11675 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11676
11677 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11678 Jim Blandy <jimb@codesourcery.com>
11679
11680 * Makeconfig (run-via-rtld-prefix): New variable.
11681 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11682 (built-program-cmd): Likewise.
11683
11684 2012-10-22 Andreas Jaeger <aj@suse.de>
11685
11686 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11687 __O_RSYNC if it exists, otherwise to O_SYNC.
11688
11689 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11690 Joseph Myers <joseph@codesourcery.com>
11691
11692 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11693 /dev/null.
11694 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11695 from /dev/null
11696 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11697 /dev/null.
11698
11699 2012-10-22 Andreas Jaeger <aj@suse.de>
11700
11701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11702 Define always.
11703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11704
11705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11706 bits/fcntl-linux.h.
11707
11708 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11709 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11710
11711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11712 to __O_LARGEFILE.
11713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11714 to __O_LARGEFILE.
11715
11716 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11717 Joseph Myers <joseph@codesourcery.com>
11718
11719 * config.make.in (NM): New variable.
11720
11721 2012-10-21 Andreas Jaeger <aj@suse.de>
11722
11723 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11724 definitions and declarations that are provided by
11725 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11726
11727 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11728
11729 [BZ #14683]
11730 * elf/Makefile (tests-static): Add tst-leaks1-static.
11731 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11732 ($(objpfx)tst-leaks1-static): New rule.
11733 ($(objpfx)tst-leaks1-static-mem): Likewise.
11734 (tst-leaks1-static-ENV): New macro.
11735 * elf/dl-open.c (dl_open_worker): Check the main application
11736 only if SHARED is defined.
11737 * elf/tst-leaks1-static.c: New file.
11738
11739 2012-10-20 Andreas Jaeger <aj@suse.de>
11740
11741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11742 generic values for Linux.
11743 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11744 and declarations that are provided by <bits/fcntl-linux.h> and
11745 include <bits/fcntl-linux.h>.
11746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11747 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11748
11749 2012-10-20 Roland McGrath <roland@hack.frob.com>
11750
11751 * io/fcntl.h: Move include of <bits/types.h> to the top and
11752 include it unconditionally.
11753
11754 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11755
11756 * wcsmbs/Makefile (tests-ifunc): New variable.
11757 (tests): Add $(tests-ifunc).
11758 * wcsmbs/test-wcschr-ifunc.c: New file.
11759 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11760 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11761 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11762 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11763 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11764
11765 * string/Makefile (tests-ifunc): New variable.
11766 (tests): Add $(tests-ifunc).
11767 * string/test-memccpy.c (TEST_NAME): New macro.
11768 * string/test-memchr.c (TEST_NAME): Likewise.
11769 * string/test-memcmp.c (TEST_NAME): Likewise.
11770 * string/test-memcpy.c (TEST_NAME): Likewise.
11771 * string/test-memmem.c (TEST_NAME): Likewise.
11772 * string/test-memmove.c (TEST_NAME): Likewise.
11773 * string/test-memset.c (TEST_NAME): Likewise.
11774 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11775 * string/test-stpcpy.c (TEST_NAME): Likewise.
11776 * string/test-stpncpy.c (TEST_NAME): Likewise.
11777 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11778 * string/test-strcasestr.c (TEST_NAME): Likewise.
11779 * string/test-strcat.c (TEST_NAME): Likewise.
11780 * string/test-strchr.c (TEST_NAME): Likewise.
11781 * string/test-strcmp.c(TEST_NAME): Likewise.
11782 * string/test-strcpy.c (TEST_NAME): Likewise.
11783 * string/test-strcspn.c (TEST_NAME): Likewise.
11784 * string/test-strlen.c (TEST_NAME): Likewise.
11785 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11786 * string/test-strncmp.c (TEST_NAME): Likewise.
11787 * string/test-strncpy.c (TEST_NAME): Likewise.
11788 * string/test-strnlen.c (TEST_NAME): Likewise.
11789 * string/test-strpbrk.c (TEST_NAME): Likewise.
11790 * string/test-strrchr.c (TEST_NAME): Likewise.
11791 * string/test-strspn.c (TEST_NAME): Likewise.
11792 * string/test-strstr.c (TEST_NAME): Likewise.
11793 * string/test-bcopy-ifunc.c: New file.
11794 * string/test-bzero-ifunc.c: Likewise.
11795 * string/test-memccpy-ifunc.c: Likewise.
11796 * string/test-memchr-ifunc.c: Likewise.
11797 * string/test-memcmp-ifunc.c: Likewise.
11798 * string/test-memcpy-ifunc.c: Likewise.
11799 * string/test-memmem-ifunc.c: Likewise.
11800 * string/test-memmove-ifunc.c: Likewise.
11801 * string/test-mempcpy-ifunc.c: Likewise.
11802 * string/test-memset-ifunc.c: Likewise.
11803 * string/test-rawmemchr-ifunc.c: Likewise.
11804 * string/test-stpcpy-ifunc.c: Likewise.
11805 * string/test-stpncpy-ifunc.c: Likewise.
11806 * string/test-strcasecmp-ifunc.c: Likewise.
11807 * string/test-strcasestr-ifunc.c: Likewise.
11808 * string/test-strcat-ifunc.c: Likewise.
11809 * string/test-strchr-ifunc.c: Likewise.
11810 * string/test-strchrnul-ifunc.c: Likewise.
11811 * string/test-strcmp-ifunc.c: Likewise.
11812 * string/test-strcpy-ifunc.c: Likewise.
11813 * string/test-strcspn-ifunc.c: Likewise.
11814 * string/test-strlen-ifunc.c: Likewise.
11815 * string/test-strncasecmp-ifunc.c: Likewise.
11816 * string/test-strncat-ifunc.c: Likewise.
11817 * string/test-strncmp-ifunc.c: Likewise.
11818 * string/test-strncpy-ifunc.c: Likewise.
11819 * string/test-strnlen-ifunc.c: Likewise.
11820 * string/test-strpbrk-ifunc.c: Likewise.
11821 * string/test-strrchr-ifunc.c: Likewise.
11822 * string/test-strspn-ifunc.c: Likewise.
11823 * string/test-strstr-ifunc.c: Likewise.
11824
11825 * debug/Makefile (tests-ifunc): New variable.
11826 (tests): Add $(tests-ifunc).
11827 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11828 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11829 * debug/test-stpcpy_chk-ifunc.c: New file.
11830 * debug/test-strcpy_chk-ifunc.c: Likewise.
11831
11832 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11833
11834 [BZ #13601]
11835 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11836 header is not read in.
11837
11838 2012-10-19 Joseph Myers <joseph@codesourcery.com>
11839
11840 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11841 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11842 directly. Pass built executable to script as
11843 $(built-program-cmd).
11844 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11845 $testprogram without using LD_LIBRARY_PATH and $ldso.
11846
11847 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11848 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11849 $(rtld-installed-name).
11850 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11851 (rtld_installed_name): Likewise.
11852 (library_path): Likewise.
11853 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11854 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11855 $(run-program-prefix) to tst-tables.sh.
11856 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11857 it to run tst-table-from and tst-table-to.
11858 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11859 Pass it to tst-table.sh.
11860 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11861 $(run-program-prefix) to tst-gettext.sh.
11862 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11863 tst-translit.sh.
11864 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11865 tst-gettext2.sh.
11866 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11867 to run tst-gettext.
11868 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11869 to run tst-gettext2.
11870 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11871 to run tst-translit.
11872 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11873 $(run-program-prefix) to tst-mtrace.sh.
11874 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11875 to run tst-mtrace.
11876 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11877 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11878 $(rtld-installed-name).
11879 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11880 (rtld_installed_name): Likewise.
11881 (run_program_prefix): New variable. Use it to run wordexp-test.
11882
11883 * Makeconfig (ARCH): Remove all definitions.
11884 (machine): Likewise.
11885 [ARCH]: Remove conditional code.
11886 [!objdir]: Give error.
11887 [!objdir] (objpfx): Remove.
11888 [!objdir] (common-objpfx): Likewise.
11889 [!objdir] (common-objdir): Likewise.
11890 * configure.in (config_makefile): Remove. Hardcode Makefile in
11891 AC_CONFIG_FILES call.
11892 * configure: Regenerated.
11893
11894 [BZ #13888]
11895 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11896 or TMPDIR.
11897 (testout): Likewise.
11898
11899 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11900 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11901 $(rtld-installed-name).
11902 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11903 (rtld_installed_name): Likwise.
11904 (runit): Remove function.
11905 (run_getconf): New variable, Use it for running getconf binary.
11906
11907 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11908
11909 [BZ #14716]
11910 * string/test-memmem.c (check_result): New function.
11911 (do_one_test): Use it.
11912 (check1): New function.
11913 (test_main): Use it.
11914
11915 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11916
11917 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11918
11919 2012-10-18 Joseph Myers <joseph@codesourcery.com>
11920
11921 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11922 (_G_LSEEK64): Likewise.
11923 (_G_MMAP64): Likewise.
11924 (_G_FSTAT64): Likewise.
11925 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11926 (_G_LSEEK64): Likewise.
11927 (_G_MMAP64): Likewise.
11928 (_G_FSTAT64): Likewise.
11929 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11930 unconditional. Call __mmap64 directly.
11931 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11932 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11933 __lseek64 directly.
11934 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11935 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11936 __mmap64 directly.
11937 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11938 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11939 __lseek64 directly.
11940 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11941 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11942 __lseek64 directly.
11943 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11944 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11945 __lseek64 directly.
11946 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11947 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11948 __fxstat64 directly.
11949 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11950 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11951 unconditional.
11952 (freopen64) [!_G_OPEN64]: Remove conditional code.
11953 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11954 unconditional.
11955 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11956 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11957 unconditional.
11958 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11959 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11960 unconditional.
11961 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11962 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11963 unconditional.
11964 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11965 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11966 unconditional.
11967 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11968 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11969 unconditional.
11970 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11971 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11972 unconditional.
11973 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11974
11975 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11976
11977 [BZ #12140]
11978 * manual/memory.texi (Malloc Tunable Parameters): Add note
11979 about free list pointers overwriting some perturb bytes.
11980 Wording suggested by Roland McGrath.
11981
11982 2012-10-17 Joseph Myers <joseph@codesourcery.com>
11983
11984 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11985 (lgamma_test): Likewise.
11986 (tgamma_test): Likewise.
11987
11988 2012-10-16 Florian Weimer <fweimer@redhat.com>
11989
11990 [BZ #14700]
11991 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11992 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11993
11994 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11995
11996 * NEWS: Mention BZ #14716.
11997 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11998 when removing AVAILABLE1_USES_J macro.
11999
12000 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12001
12002 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12003 (__bswap_64): __uint64_t for unsigned 64-bit int.
12004
12005 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12006
12007 * include/string.h (memmem): Declare libc hidden alias.
12008 * string/memmem.c (memmem): Define libc hidden alias.
12009 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12010 __read, __close instead of open, read, close.
12011
12012 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12013
12014 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12015 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12016 global and hidden.
12017 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12018 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12019 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12020 Likewise.
12021 (__rawmemchr_sse2): Likewise.
12022 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12023 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12024 (__strchr_sse2): Likewise.
12025 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12026 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12027 (__strcasecmp_sse2): Likewise.
12028 (__strncasecmp_sse2): Likewise.
12029 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12030 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12031 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12032 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12033 (__strrchr_sse2): Likewise.
12034 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12035 ifunc-impl-list.c.
12036 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12037 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12038 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12039 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12040 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12041 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12042 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12043 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12044 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12045 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12046 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12047 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12048 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12049 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12050 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12051 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12052 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12053 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12054 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12055 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12056 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12057 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12058 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12059 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12060 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12061 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12062 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12063 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12064 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12065 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12066
12067 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12068 global and hidden.
12069 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12070 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12071 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12072 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12073 Likewise.
12074 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12075 Likewise.
12076 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12077 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12078 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12079 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12080 ifunc-impl-list.c.
12081 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12082 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12083 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12084 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12085 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12086 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12087 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12088 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12089 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12090 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12091 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12092 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12093 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12094 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12095 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12096 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12097 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12098 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12099 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12100 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12101 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12102 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12103 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12104 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12105 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12106 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12107 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12108 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12109 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12110 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12111 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12112 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12113 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12114 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12115 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12116 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12117 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12118 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12119 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12120 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12121 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12122
12123 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12124 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12125 * include/ifunc-impl-list.h: New file.
12126 * misc/ifunc-impl-list.c: Likewise.
12127 * misc/Makefile (routines): Add ifunc-impl-list.
12128 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12129 * string/test-string.h: Include <ifunc-impl-list.h>.
12130 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12131 impl_array): New variables.
12132 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12133 are defined.
12134 (test_init): Call __libc_ifunc_impl_list to initialize
12135 func_list if TEST_IFUNC and TEST_NAME are defined.
12136
12137 * string/Makefile (strop-tests): Add bcopy and bzero.
12138 * string/test-bcopy.c: New file.
12139 * string/test-bzero.c: Likewise.
12140 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12141 defined.
12142 * string/test-memset.c: Support bzero test if TEST_BZERO is
12143 defined.
12144 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12145 __libc_memmove.
12146 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12147 __libc_memset.
12148 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12149 of memset.
12150
12151 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12152
12153 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12154 * configure: Regenerated.
12155
12156 * Makeconfig (+link-static-before-libc): Don't include
12157 $(link-static-libc).
12158
12159 * libio/libio.h (_IO_pos_t): Remove.
12160
12161 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12162
12163 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12164 McGrath.
12165
12166 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12167
12168 * crypt/crypt-entry.c: Include fips-private.h.
12169 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12170 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12171 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12172 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12173
12174 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12175
12176 * crypt/crypt-private.h: Include stdbool.h.
12177 (_ufc_setup_salt_r): Return bool.
12178 * crypt/crypt-entry.c: Include errno.h.
12179 (__crypt_r): Return NULL with EINVAL for bad salt.
12180 * crypt/crypt_util.c (bad_for_salt): New.
12181 (_ufc_setup_salt_r): Check that salt is long enough and within
12182 the specified alphabet.
12183 * crypt/badsalttest.c: New file.
12184 * crypt/Makefile (tests): Add it.
12185 ($(objpfx)badsalttest): New.
12186
12187 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12188
12189 * NEWS: Add entry for BZ #14602.
12190
12191 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12192
12193 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12194 type-generic.
12195 * math/libm-test.inc: Update comment listing what functions and
12196 macros are tested.
12197 (isgreater_test): New function.
12198 (isgreaterequal_test): Likewise.
12199 (isless_test): Likewise.
12200 (islessequal_test): Likewise.
12201 (islessgreater_test): Likewise.
12202 (isunordered_test): Likewise.
12203 (main): Call the new functions.
12204
12205 2012-10-09 Roland McGrath <roland@hack.frob.com>
12206
12207 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12208 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12209 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12210 * sysdeps/i386/configure: Regenerated.
12211 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12212 * sysdeps/mach/configure: Regenerated.
12213 * sysdeps/mach/hurd/configure: Regenerated.
12214 * sysdeps/powerpc/configure: Regenerated.
12215 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12216 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12217 * sysdeps/s390/s390-32/configure: Regenerated.
12218 * sysdeps/s390/s390-64/configure: Regenerated.
12219 * sysdeps/sh/configure: Regenerated.
12220 * sysdeps/sparc/configure: Regenerated.
12221 * sysdeps/unix/sysv/linux/configure: Regenerated.
12222 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12223 * sysdeps/x86_64/configure: Regenerated.
12224
12225 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12226 defined. Don't check if MAP is NULL.
12227
12228 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12229
12230 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12231 (_G_stat64): Likewise.
12232 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12233 (_G_stat64): Likewise.
12234 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12235 instead of struct _G_stat64.
12236 * libio/fileops.c (mmap_remap_check): Likewise.
12237 (decide_maybe_mmap): Likewise.
12238 (_IO_new_file_seekoff): Likewise.
12239 (_IO_file_stat): Likewise.
12240 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12241 _G_off64_t.
12242 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12243 instead of struct _G_stat64.
12244 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12245
12246 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12247
12248 [BZ #14602]
12249 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12250 Replace with ...
12251 (CHECK_EOL): New macro.
12252 (two_way_short_needle): Check beginning of haystack for EOL. Use
12253 CHECK_EOL.
12254 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12255 Replace with CHECK_EOL.
12256 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12257 Replace with CHECK_EOL.
12258
12259 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12260
12261 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12262 type-generic.
12263 * math/libm-test.inc: Update comment listing what functions and
12264 macros are tested.
12265 (finite_test): New function.
12266 (isinf_test): Likewise.
12267 (isnan_test): Likewise.
12268 (fpclassify_test): Test subnormal input.
12269 (isfinite_test): Likewise.
12270 (isnormal_test): Likewise.
12271 (main): Call the new functions.
12272
12273 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12274
12275 [BZ #14660]
12276 * Makerules (%.dynsym): Force C locale when running
12277 $(OBJDUMP) --dynamic-syms.
12278
12279 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12280
12281 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12282 <stdint.h>.
12283
12284 2012-10-06 David S. Miller <davem@davemloft.net>
12285
12286 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12287 upper 32-bits of the length value in %o2 since we use branch-on-register
12288 tests which consider the entire 64-bit register.
12289
12290 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12291
12292 * string/test-strstr.c (check2): Add a test for page boundary.
12293
12294 2012-10-05 David S. Miller <davem@davemloft.net>
12295
12296 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12297 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12298 file.
12299 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12300 sysdep_routines.
12301 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12302 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12303 and bzero when HWCAP_SPARC_CRYPTO is present.
12304
12305 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12306
12307 [BZ #14602]
12308 * string/test-strstr.c (check2): New function.
12309 (test_main): Call check2.
12310
12311 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12312 and bug-strchr1.
12313 * string/bug-strcasestr1.c (do_test): Moved to ...
12314 * string/test-strcasestr.c (check1): Here. New function.
12315 (do_one_test): Break out result checking code into ...
12316 (check_result): This. New function.
12317 (do_one_test): Call check_result.
12318 (test_main): Call check1.
12319 * string/bug-strchr1.c (do_test): Moved to ...
12320 * string/test-strchr.c (check1): Here. New function.
12321 (do_one_test): Break out result checking code into ...
12322 (check_result): This. New function.
12323 (do_one_test): Call check_result.
12324 (test_main): Call check1.
12325 * string/bug-strstr1.c (main): Moved to ...
12326 * string/test-strstr.c (check1): Here. New function.
12327 (do_one_test): Break out result checking code into ...
12328 (check_result): This. New function.
12329 (do_one_test): Call check_result.
12330 (test_main): Call check1.
12331 * string/bug-strcasestr1.c: Removed.
12332 * string/bug-strchr1.c: Likewise.
12333 * string/bug-strstr1.c: Likewise.
12334
12335 * elf/Makefile (dl-routines): Add hwcaps.
12336 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12337 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12338 (_dl_important_hwcaps): Moved to ...
12339 * elf/dl-hwcaps.c: Here. New file.
12340 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12341
12342 [BZ #14557]
12343 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12344 if IS_IN_rtld isn't defined.
12345
12346 * elf/dl-support.c (_dl_sysinfo_map): New.
12347 Include "get-dynamic-info.h" and "setup-vdso.h".
12348 (_dl_non_dynamic_init): Call setup_vdso.
12349 * elf/dynamic-link.h: Don't include <assert.h>.
12350 (elf_get_dynamic_info): Moved to ...
12351 * elf/get-dynamic-info.h: Here. New file.
12352 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12353 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12354 * elf/setup-vdso.h: Here. New file.
12355 * elf/rtld.c: Include "setup-vdso.h".
12356 (dl_main): Call setup_vdso.
12357
12358 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12359
12360 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12361 creal in comment listing functions tested. List finite, isinf,
12362 isnan, isless, islessequal, isgreater, isgreaterequal,
12363 islessgreater, isunordered, lgamma_r and pow10 as functions and
12364 macros not tested. Mention which functions not tested are aliases
12365 for other functions. Fix typo. Note that signs of NaNs are not
12366 tested.
12367
12368 * scripts/config.guess: Update from config.git.
12369 * scripts/config.sub: Likewise.
12370
12371 2012-10-04 Roland McGrath <roland@hack.frob.com>
12372
12373 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12374 * misc/madvise.c (madvise): Renamed to __madvise.
12375 Make madvise a weak alias.
12376 * include/sys/mman.h: Declare __madvise.
12377 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12378 * sysdeps/unix/syscalls.list
12379 (madvise): Make __madvise the strong name, and madvise a weak alias.
12380 * sysdeps/unix/sysv/linux/syscalls.list
12381 (madvise, mmap): Remove redundant entries.
12382 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12383 * malloc/malloc.c (mtrim): Likewise.
12384 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12385
12386 2012-10-03 Roland McGrath <roland@hack.frob.com>
12387
12388 * sysdeps/mach/hurd/dl-cache.c: File removed.
12389 * config.h.in (USE_LDCONFIG): New #undef.
12390 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12391 * configure: Regenerated.
12392 * elf/Makefile (dl-routines): Add dl-cache only under
12393 [$(use-ldconfig) = yes].
12394 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12395 cache on [USE_LDCONFIG].
12396 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12397 [USE_LDCONFIG].
12398 * elf/rtld.c (dl_main): Likewise.
12399
12400 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12401
12402 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12403 _SC_LEVEL4_CACHE_LINESIZE.
12404
12405 2012-10-03 Roland McGrath <roland@hack.frob.com>
12406
12407 * sysdeps/unix/bsd/confstr.h: File removed.
12408
12409 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12410
12411 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12412 sys/sdt-config.h.
12413
12414 2012-10-02 Roland McGrath <roland@hack.frob.com>
12415
12416 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12417 Make 'mapoff' field ElfW(Off) rather than off_t.
12418
12419 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12420
12421 * nscd/Makefile: Remove nscd-cflags and all its users.
12422 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12423 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12424
12425 [BZ #10631]
12426 * malloc.c (malloc_printerr): Clarify error message.
12427
12428 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12429
12430 [BZ #14648]
12431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12432 Set bit_FMA_Usable if FMA is supported.
12433 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12434 macro.
12435 (bit_FMA4_Usable): Updated.
12436 (index_FMA_Usable): New macro.
12437 (CPUID_FMA): Likewise
12438 (HAS_FMA): Defined with bit_FMA_Usable.
12439
12440 2012-10-01 Roland McGrath <roland@hack.frob.com>
12441
12442 * bits/types.h (__swblk_t): Type removed.
12443 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12444 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12445 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12446 (__SWBLK_T_TYPE): Likewise.
12447 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12448 (__SWBLK_T_TYPE): Likewise.
12449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12450 (__SWBLK_T_TYPE): Likewise.
12451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12452 (__SWBLK_T_TYPE): Likewise.
12453
12454 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12455 Honza Horak <hhorak@redhat.com>
12456
12457 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12458 (xdr_mapname): Use YPMAXMAP as maxsize.
12459 (xdr_peername): Use YPMAXPEER as maxsize.
12460 (xdr_keydat): Use YPAXRECORD as maxsize.
12461 (xdr_valdat): Use YPMAXRECORD as maxsize.
12462
12463 2012-10-01 Roland McGrath <roland@hack.frob.com>
12464
12465 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12466
12467 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12468 * csu/init-first.c: ... here.
12469 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12470 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12471 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12472 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12473 * sysdeps/i386/init-first.c: File removed.
12474 * sysdeps/sh/init-first.c: File removed.
12475
12476 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12477
12478 [BZ #14645]
12479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12480 if x * y might underflow to zero and z is zero.
12481 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12482 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12483 * math/libm-test.inc (min_subnorm_value): New variable.
12484 (fma_test): Add more tests.
12485 (fma_test_towardzero): Likewise.
12486 (fma_test_downward): Likewise
12487 (fma_test_upward): Likewise.
12488 (initialize): Set min_subnorm_value.
12489
12490 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12491
12492 [BZ #14638]
12493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12494 0 + 0.
12495 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12496 mode for addition resulting in exact zero.
12497 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12499 exact 0 + 0.
12500 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12501 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12502 * math/libm-test.inc (fma_test): Add more tests.
12503 (fma_test_towardzero): New function.
12504 (fma_test_downward): Likewise.
12505 (fma_test_upward): Likewise.
12506 (main): Call the new functions.
12507
12508 2012-09-28 David S. Miller <davem@davemloft.net>
12509
12510 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12511
12512 2012-09-28 Roland McGrath <roland@hack.frob.com>
12513
12514 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12515 instead of SIGALRM.
12516
12517 * sysdeps/gnu/_G_config.h: Moved to ...
12518 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12519 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12520 * sysdeps/generic/_G_config.h: ... here.
12521
12522 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12523
12524 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12525
12526 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12527 Conditionalize target on [libnss_test1.so-version].
12528
12529 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12530
12531 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12532 (elfobjdir): Move out of conditionals.
12533
12534 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12535 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12536 (__nss_lookup_function): Conditionalize label remove_from_tree on
12537 [!DO_STATIC_NSS || SHARED], matching its only use.
12538
12539 2012-09-28 David S. Miller <davem@davemloft.net>
12540
12541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12542 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12543 file.
12544 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12545 sysdep_routines.
12546 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12547 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12548 when HWCAP_SPARC_CRYPTO is present.
12549
12550 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12551
12552 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12553
12554 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12555
12556 [BZ #6530]
12557 * stdio-common/vfprintf.c (process_string_arg): Revert
12558 2000-07-22 change.
12559
12560 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12561
12562 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12563 for testcase.
12564 * stdio-common/tst-sprintf.c: Include <locale.h>
12565 (main): Test sprintf's handling of incomplete multibyte
12566 characters.
12567
12568 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12569
12570 * elf/dl-runtime.c (VERSYMIDX): Removed.
12571 * elf/dl-version.c (VERSYMIDX): Likewise.
12572 * elf/do-rel.h (VERSYMIDX): Likewise.
12573 (VALIDX): Likewise.
12574 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12575 * elf/rtld.c (VALIDX): Likewise.
12576 (ADDRIDX): Likewise.
12577 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12578 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12579 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12580 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12581 (VALIDX): Likewise.
12582 (ADDRIDX): Likewise.
12583
12584 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12585
12586 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12587
12588 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12589
12590 [BZ #11438]
12591 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12592 to global scope.
12593 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12594 addresses are in the same scope as 192.0.2/24.
12595 * posix/gai.conf: Document new scope table defaults.
12596
12597 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12598
12599 [BZ #5298]
12600 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12601 for ftell. Compute offsets from write pointers instead.
12602 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12603
12604 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12605
12606 [BZ #14543]
12607 * libio/Makefile (tests): New test case tst-fseek.
12608 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12609 combination works in wide mode.
12610 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12611 state when the external buffer state changes.
12612
12613 2012-09-27 David S. Miller <davem@davemloft.net>
12614
12615 [BZ #14376]
12616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12617 pass reloc->r_addend in as the 'high' argument to
12618 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12619
12620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12621
12622 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12623
12624 * rt/tst-aio2.c: Include <pthread.h>.
12625 * rt/tst-aio3.c: Likewise.
12626
12627 2012-09-27 Steve Ellcey <sellcey@mips.com>
12628
12629 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12630
12631 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12632
12633 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12634 contents on [SHARED].
12635
12636 2012-09-26 Marek Polacek <polacek@redhat.com>
12637
12638 [BZ #14530]
12639 [BZ #13741]
12640 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12641 for C++ and GCC <4.3 as well as for non GCC compilers.
12642
12643 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12644
12645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12646
12647 2012-09-25 Roland McGrath <roland@hack.frob.com>
12648
12649 * Makefile.in (all, install): Declare with .PHONY.
12650 Reported by Michael Hope <michael.hope@linaro.org>.
12651
12652 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12653
12654 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12655 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12656 system header.
12657 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12658 Likewise.
12659 (sydep_routines): Add the new and the internal functions.
12660 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12661 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12663 (GLIBC_2.17): Add the new function.
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12665 (GLIBC_2.17): Likewise.
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12667 (GLIBC_2.17): Likewise.
12668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12669 (GLIBC_2.17): Likewise.
12670 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12671
12672 2012-09-25 Alan Modra <amodra@gmail.com>
12673
12674 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12675 Add release barrier before setting once_control to say
12676 initialisation is done. Add hints on lwarx. Use macro in
12677 place of isync.
12678 (clear_once_control): Add release barrier.
12679
12680 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12681
12682 [BZ #13629]
12683 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12684 specially.
12685 * math/s_clog10.c (__clog10): Likewise.
12686 * math/s_clog10f.c (__clog10f): Likewise.
12687 * math/s_clog10l.c (__clog10l): Likewise.
12688 * math/s_clogf.c (__clogf): Likewise.
12689 * math/s_clogl.c (__clogl): Likewise.
12690 * math/Makefile (libm-calls): Add x2y2m1.
12691 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12692 (__x2y2m1): Likewise.
12693 (__x2y2m1l): Likewise.
12694 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12695 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12698 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12699 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12700 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12701 * sysdeps/i386/fpu/libm-test-ulps: Update.
12702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12703
12704 [BZ #14621]
12705 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12706 int as type of variable DEPTH.
12707 (glob): Use size_t instead of int as type of variables NEWCOUNT
12708 and OLD_PATHC.
12709
12710 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12711
12712 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12713 Add s_sincosf-sse2.
12714 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12715 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12716 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12717 macros for using routine as __sincosf_ia32.
12718 Use macro for function declaration and weak_alias.
12719 * sysdeps/i386/fpu/libm-test-ulps: Update.
12720
12721 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12723
12724 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12725 subnormal argument.
12726 * math/s_cexpf.c (__cexpf): Likewise.
12727 * math/s_csinf.c (__csinf): Likewise.
12728 * math/s_csinhf.c (__csinhf): Likewise.
12729 * math/s_ctanf.c (__ctanf): Likewise.
12730 * math/s_ctanhf.c (__ctanhf): Likewise.
12731 * math/s_ccosh.c (__ccoshf): Likewise.
12732 * math/s_cexp.c (__cexpl): Likewise.
12733 * math/s_csin.c (__csin): Likewise.
12734 * math/s_csinh.c (__csinh): Likewise.
12735 * math/s_ctan.c (__ctan): Likewise.
12736 * math/s_ctanh.c (ctanh): Likewise.
12737 * math/s_ccoshl.c (__ccoshl): Likewise.
12738 * math/s_cexpl.c (__cexpl): Likewise.
12739 * math/s_csinl.c (__csinl): Likewise.
12740 * math/s_csinhl.c (__csinhl): Likewise.
12741 * math/s_ctanl.c (__ctanl): Likewise.
12742 * math/s_ctanhl.c (__ctanhl): Likewise.
12743
12744 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12745
12746 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12747 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12748 (_IO_off_t): Define to __off_t, not _G_off_t.
12749 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12750 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12751 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12752 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12753 type of __dummy and __dummy2 fields.
12754 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12755 (_G_ssize_t): Likewise.
12756 (_G_off_t): Likewise.
12757 (_G_pid_t): Likewise.
12758 (_G_uid_t): Likewise.
12759 (_G_wchar_t): Likewise.
12760 (_G_wint_t): Likewise.
12761 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12762 (_G_ssize_t): Likewise.
12763 (_G_off_t): Likewise.
12764 (_G_pid_t): Likewise.
12765 (_G_uid_t): Likewise.
12766 (_G_wchar_t): Likewise.
12767 (_G_wint_t): Likewise.
12768 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12769 (_G_ssize_t): Likewise.
12770 (_G_off_t): Likewise.
12771 (_G_pid_t): Likewise.
12772 (_G_uid_t): Likewise.
12773 (_G_wchar_t): Likewise.
12774 (_G_wint_t): Likewise.
12775
12776 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12777
12778 * malloc/arena.c: Include malloc-sysdep.h.
12779 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12780 is sufficient to shrink the heap or an unmap is needed.
12781 * sysdeps/generic/malloc-sysdep.h: New file. Define
12782 new function check_may_shrink_heap.
12783 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12784 new function check_may_shrink_heap.
12785
12786 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12787
12788 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12789 comments.
12790
12791 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12792
12793 * catgets/test-gencat.sh: Add "set -e".
12794 * elf/tst-pathopt.sh: Likewise.
12795 * grp/tst_fgetgrent.sh: Likewise.
12796 * iconvdata/run-iconv-test.sh: Likewise.
12797 * intl/tst-gettext.sh: Likewise.
12798 * intl/tst-gettext2.sh: Likewise.
12799 * intl/tst-gettext4.sh: Likewise.
12800 * intl/tst-gettext6.sh: Likewise.
12801 * intl/tst-translit.sh: Likewise.
12802 * io/ftwtest-sh: Likewise.
12803 * libio/test-freopen.sh: Likewise.
12804 * malloc/tst-mtrace.sh: Likewise.
12805 * posix/globtest.sh: Likewise.
12806 * posix/tst-getconf.sh: Likewise.
12807 * posix/wordexp-tst.sh: Likewise.
12808 * stdio-common/tst-printf.sh: Likewise.
12809 * stdio-common/tst-unbputc.sh: Likewise.
12810 * stdlib/tst-fmtmsg.sh: Likewise.
12811 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12812 * catgets/Makefile: Do not specify -e option when running
12813 testsuite shell scripts.
12814 * elf/Makefile: Likewise.
12815 * grp/Makefile: Likewise.
12816 * iconvdata/Makefile: Likewise.
12817 * intl/Makefile: Likewise.
12818 * io/Makefile: Likewise.
12819 * libio/Makefile: Likewise.
12820 * malloc/Makefile: Likewise.
12821 * posix/Makefile: Likewise.
12822 * stdio-common/Makefile: Likewise.
12823 * stdlib/Makefile: Likewise.
12824 * sysdeps/x86_64/Makefile: Likewise.
12825
12826 * io/ftwtest-sh: Add copyright header.
12827 * posix/globtest.sh: Likewise.
12828 * posix/tst-getconf.sh: Likewise.
12829 * posix/wordexp-tst.sh: Likewise.
12830 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12831
12832 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12833
12834 [BZ #13679]
12835 * Makeconfig (+link): Defined as $(+link-static) if
12836 $(build-shared) isn't yes.
12837 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12838 isn't yes.
12839 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12840
12841 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12842
12843 [BZ #14562]
12844 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12845 new chunk size with MALLOC_ALIGN_MASK.
12846
12847 2012-09-24 Joseph Myers <joseph@codesourcery.com>
12848
12849 [BZ #5044]
12850 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12851 <rounding-mode.h>.
12852 (__printf_fphex): Determine rounding using get_rounding_mode and
12853 round_away.
12854 * stdio-common/tst-printf-round.c (struct hex_test): New
12855 structure.
12856 (hex_tests): New variable.
12857 (test_hex_in_one_mode): New function.
12858 (do_test): Also run tests for hex float output.
12859
12860 2012-09-21 Joseph Myers <joseph@codesourcery.com>
12861
12862 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12863 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12864 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12865 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12866 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12867 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12868 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12869 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12870
12871 2012-09-20 Joseph Myers <joseph@codesourcery.com>
12872
12873 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12874 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12875 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12876 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12877
12878 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12879
12880 [BZ #14579]
12881 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12882 mode only.
12883 * elf/tst-rtld-load-self.sh: New test.
12884 * elf/Makefile: Run it.
12885
12886 2012-09-18 Joseph Myers <joseph@codesourcery.com>
12887
12888 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12889 (tst-writev-ENV): Remove.
12890 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12891
12892 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12893
12894 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12895
12896 2012-09-17 Joseph Myers <joseph@codesourcery.com>
12897
12898 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12899 unconditional.
12900 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12901 Likewise.
12902 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12903 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12904 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12905 Likewise.
12906
12907 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12908
12909 [BZ #14587]
12910 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12911 * config.make.in (have-cpp-asm-debuginfo): Removed.
12912 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12913 * configure: Regenerated.
12914
12915 2012-09-14 Joseph Myers <joseph@codesourcery.com>
12916
12917 [BZ #5044]
12918 * stdio-common/printf_fp.c: Include <stdbool.h> and
12919 <rounding-mode.h>.
12920 (___printf_fp): Determine rounding using get_rounding_mode and
12921 round_away.
12922 * stdio-common/tst-printf-round.c: New file.
12923 * stdio-common/Makefile (tests): Add tst-printf-round.
12924 (link-libm): New variable.
12925 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12926
12927 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12928
12929 [BZ #14576]
12930 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12931 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12932 Likewise.
12933 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12934 Likewise.
12935
12936 2012-09-13 Joseph Myers <joseph@codesourcery.com>
12937
12938 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12939 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12940 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12941 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12942
12943 2012-09-12 Joseph Myers <joseph@codesourcery.com>
12944
12945 [BZ #14518]
12946 * include/rounding-mode.h: New file.
12947 * sysdeps/generic/get-rounding-mode.h: Likewise.
12948 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12949 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12950 (MAX_VALUE): New macro.
12951 (MIN_VALUE): Likewise.
12952 (overflow_value): New function.
12953 (underflow_value): Likewise.
12954 (round_and_return): Use overflow_value and underflow_value to
12955 determine return values in overflow and underflow cases. Use
12956 round_away to determine rounding depending on rounding mode.
12957 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12958 determine return values in overflow and underflow cases.
12959 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12960 (struct test_results): New structure.
12961 (struct test): Use struct test_results to store expected results
12962 for all rounding modes.
12963 (TEST): Include expected results for all rounding modes.
12964 (test_in_one_mode): New function.
12965 (do_test): Use test_in_one_mode to compute and check results.
12966 Check results for all rounding modes.
12967 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12968 $(link-libm).
12969
12970 2012-12-09 Allan McRae <allan@archlinux.org>
12971
12972 * sysdeps/i386/fpu/libm-test-ulps: Update
12973
12974 2012-09-11 Joseph Myers <joseph@codesourcery.com>
12975
12976 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12977 (_G_int32_t): Likewise.
12978 (_G_uint16_t): Likewise.
12979 (_G_uint32_t): Likewise.
12980 (_G_HAVE_BOOL): Likewise.
12981 (_G_HAVE_ATEXIT): Likewise.
12982 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12983 (_G_HAVE_IO_FILE_OPEN): Likewise.
12984 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12985 (_G_int32_t): Likewise.
12986 (_G_uint16_t): Likewise.
12987 (_G_uint32_t): Likewise.
12988 (_G_HAVE_BOOL): Likewise.
12989 (_G_HAVE_ATEXIT): Likewise.
12990 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12991 (_G_HAVE_IO_FILE_OPEN): Likewise.
12992 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12993 (_G_int32_t): Likewise.
12994 (_G_uint16_t): Likewise.
12995 (_G_uint32_t): Likewise.
12996 (_G_HAVE_BOOL): Likewise.
12997 (_G_HAVE_ATEXIT): Likewise.
12998 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12999 (_G_HAVE_IO_FILE_OPEN): Likewise.
13000
13001 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13002
13003 * csu/libc-tls.c: Update copyright years.
13004
13005 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13006
13007 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13008 [!_G_USING_THUNKS]: Remove conditional code.
13009 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13010 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13011
13012 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13013 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13014 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13015 (_G_VTABLE_LABEL_PREFIX): Likewise.
13016 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13017 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13018 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13019 (_G_VTABLE_LABEL_PREFIX): Likewise.
13020 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13021 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13022 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13023 (_G_VTABLE_LABEL_PREFIX): Likewise.
13024 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13025
13026 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13027
13028 * libio/Makefile: Include ../Makeconfig before tests.
13029 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13030 only if $(build-shared) is yes.
13031
13032 * iconv/gconv_db.c: Update copyright years.
13033
13034 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13035
13036 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13037 unwind info if defined PIC. Fix special cases description.
13038 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13039
13040 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13041 DP_HI_MASK entry.
13042 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13043
13044 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13045
13046 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13047
13048 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13049 is NULL.
13050
13051 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13052 (LDLIBS-tst-chk4): This.
13053 (LDFLAGS-tst-chk5): Renamed to ...
13054 (LDLIBS-tst-chk5): This.
13055 (LDFLAGS-tst-chk6): Renamed to ...
13056 (LDLIBS-tst-chk6): This.
13057 (LDFLAGS-tst-lfschk4): Renamed to ...
13058 (LDLIBS-tst-lfschk4): This.
13059 (LDFLAGS-tst-lfschk5): Renamed to ...
13060 (LDLIBS-tst-lfschk5): This.
13061 (LDFLAGS-tst-lfschk6): Renamed to ...
13062 (LDLIBS-tst-lfschk6): This.
13063
13064 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13065 on $(common-objpfx)soversions.mk.
13066
13067 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13068
13069 [BZ #10014]
13070 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13071 example host name.
13072
13073 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13074
13075 * malloc/arena.c (arena_get_retry): New function that gets
13076 another arena for the caller to try its request on.
13077 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13078 current arena cannot fulfill the request.
13079 (__libc_memalign): Likewise.
13080 (__libc_memalign): Likewise.
13081 (__libc_pvalloc): Likewise.
13082 (__libc_calloc): Likewise.
13083
13084 2012-09-05 John Tobey <john.tobey@gmail.com>
13085
13086 [BZ #13542]
13087 * manual/arith.texi (Operations on Complex): Fix description
13088 of carg branch cut.
13089
13090 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13091
13092 [BZ #10014]
13093 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13094 host name.
13095
13096 [BZ #10038]
13097 * manual/memory.texi (Memory): Make order of menu items match
13098 order of sections.
13099
13100 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13101
13102 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13103 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13104 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13105
13106 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13107
13108 * csu/libc-tls.c (static_dtv): Renamed to ...
13109 (_dl_static_dtv): This. Make it global.
13110 (_dl_initial_dtv): Removed.
13111 (__libc_setup_tls): Updated.
13112 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13113 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13114 DL_INITIAL_DTV.
13115
13116 2012-09-06 Petr Machata <pmachata@redhat.com>
13117
13118 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13119 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13120 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13121 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13122
13123 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13124
13125 [BZ #14545]
13126 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13127 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13128 freeing dtv[-1].
13129
13130 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13131
13132 [BZ #14544]
13133 * Makeconfig (link-static-before-libc): Replace $(+prector)
13134 with $(+prectorT).
13135 (link-static-after-libc): Replace $(+postctor) with
13136 $(+postctorT).
13137 (link-bounded): Replace $(+prector)/$(+postctor) with
13138 $(+prectorT)/$(+postctorT).
13139 (+prectorT): New macro.
13140 (+postctorT): Likewise.
13141
13142 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13143
13144 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13145 (round_str): Handle values above the maximum for IBM long double
13146 as inexact.
13147 * stdlib/tst-strtod-round.c (tests): Regenerated.
13148
13149 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13150
13151 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13152 assembler flag.
13153 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13154 zarch_nohighgprs around the zarch optimized routines.
13155 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13156 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13157 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13158 for zarch.
13159
13160 2012-09-05 David S. Miller <davem@davemloft.net>
13161
13162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13163
13164 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13165 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13166 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13167 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13168 entries.
13169
13170 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13171
13172 * malloc/arena.c: Fold copyright years.
13173 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13174
13175 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13176
13177 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13178
13179 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13180
13181 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13182
13183 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13184
13185 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13186 change internal state upon failure.
13187
13188 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13189
13190 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13191 * malloc/memusage.c (mmap): Likewise.
13192 (mmap64, mremap): Likewise. Adjust name in comment.
13193
13194 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13195
13196 * libio/fileops.c: Fix typos in comments.
13197 * libio/oldfileops.c: Likewise.
13198 * libio/wfileops.c: Likewise.
13199
13200 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13201
13202 [BZ #1349]
13203 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13204 (tst-malloc-usable-ENV): Set environment for test case.
13205 * malloc/hooks.c (malloc_check_get_size): New function to get
13206 requested size.
13207 * malloc/malloc.c (musable): Use malloc_check_get_size.
13208 * malloc/tst-malloc-usable.c: New test case.
13209
13210 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13211
13212 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13213
13214 2012-09-05 Allan McRae <allan@archlinux.org>
13215
13216 [BZ #13966]
13217 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13218 determine header location.
13219 * configure: Regenerated.
13220
13221 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13222
13223 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13224 float format.
13225 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13226 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13227 format.
13228 (test): Regenerate.
13229
13230 2012-09-04 David S. Miller <davem@davemloft.net>
13231
13232 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13233 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13234 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13235
13236 2012-09-04 Florian Weimer <fweimer@redhat.com>
13237
13238 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13239 failures.
13240
13241 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13242
13243 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13244
13245 [BZ #9914]
13246 * libio/iogetdelim.c: Include <limits.h>.
13247 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13248 + len + 1 would overflow.
13249
13250 2012-09-03 Andreas Jaeger <aj@suse.de>
13251
13252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13253 * sysdeps/i386/fpu/libm-test-ulps: Update.
13254
13255 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13256
13257 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13258 Add s_sinf-sse2, s_conf-sse2.
13259
13260 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13261 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13262 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13263 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13264
13265 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13266 for using routine as __sinf_ia32.
13267 Use macro for function declaration and weak_alias.
13268 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13269 for using routine as __cosf_ia32.
13270 Use macro for function declaration and weak_alias.
13271
13272 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13273 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13274
13275 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13276 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13278
13279 * math/libm-test.inc (cos_test): Add more test cases.
13280 (sin_test): Likewise.
13281 (sincos_test): Likewise.
13282
13283 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13284
13285 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13286 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13287 hidden.
13288 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13289
13290 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13291
13292 [BZ #14538]
13293 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13294 first element of the GOT.
13295 (elf_machine_load_address): Return the difference between
13296 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13297
13298 2012-09-01 Allan McRae <allan@archlinux.org>
13299
13300 [BZ #13412]
13301 * configure.in (AWK): Require gawk version 3.0 or later.
13302 * configure: Regenerated.
13303
13304 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13305
13306 * sysdeps/unix/sysv/linux/kernel-features.h
13307 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13309 [__NR_clock_getres]: Make code unconditional.
13310 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13311 (clock_getcpuclockid): Remove code left unreachable by removal of
13312 conditionals.
13313 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13314 code unconditional.
13315 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13316 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13317 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13318 Make code unconditional.
13319 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13320 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13321 * sysdeps/unix/sysv/linux/clock_settime.c
13322 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13323 conditional code.
13324 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13325 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13326
13327 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13328
13329 [BZ #14476]
13330 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13331 scripts/test-installation.pl.
13332
13333 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13334 and $ld_so_version if it is set.
13335
13336 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13337
13338 [BZ #14516]
13339 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13340 failure if reading from procfs failed.
13341 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13342
13343 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13344
13345 * sysdeps/unix/sysv/linux/kernel-features.h
13346 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13347 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13348 Remove conditional code.
13349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13350 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13351 Remove conditional code.
13352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13353 * sysdeps/unix/sysv/linux/i386/fxstat.c
13354 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13356 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13357 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13359 * sysdeps/unix/sysv/linux/i386/lxstat.c
13360 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13362 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13363 Remove conditional code.
13364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13365 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13366 Remove conditional code.
13367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13368 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13369 <kernel-features.h>.
13370 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13371 Remove.
13372 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13373 Remove conditional code.
13374 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13375 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13376 Remove conditional.
13377
13378 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13379
13380 [BZ #5400]
13381 * NEWS: Add fixed bug number.
13382
13383 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13384
13385 [BZ #14519]
13386 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13387 underflowing exponent in case of negative sign.
13388 * stdlib/tst-strtod-round-data: Add more tests.
13389 * stdlib/tst-strtod-round.c (tests): Regenerated.
13390
13391 [BZ #3479]
13392 * stdlib/strtod_l.c (NDIG): Remove.
13393 (HEXNDIG): Likewise.
13394 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13395 smallest representable value.
13396 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13397 lie within an exact representation of 1/2 ulp of the result.
13398 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13399 unconditionally.
13400 (TENS_P9_IDX): Define unconditionally.
13401 (TENS_P9_SIZE): Likewise.
13402 (TENS_P10_IDX): Likewise.
13403 (TENS_P10_SIZE): Likewise.
13404 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13405 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13406 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13407 entries for 10^2^13 and 10^2^14.
13408 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13409 (TENS_P13_IDX): Define.
13410 (TENS_P13_SIZE): Likewise.
13411 (TENS_P14_IDX): Likewise.
13412 (TENS_P14_SIZE): Likewise.
13413 (_fpioconst_pow10): Change array size to
13414 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13415 unconditional.
13416 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13417 1024]: Add entries for 10^2^13 and 10^2^14.
13418 [LAST_POW10 > _LAST_POW10]: Remove #error.
13419 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13420 (_fpioconst_pow10): Change array size to
13421 FPIOCONST_POW10_ARRAY_SIZE.
13422 * stdlib/gen-fpioconst.c: New file.
13423 * stdlib/gen-tst-strtod-round.c: Likewise.
13424 * stdlib/tst-strtod-round-data: Likewise.
13425 * stdlib/tst-strtod-round.c: Likewise.
13426 * stdlib/Makefile (tests): Add tst-strtod-round.
13427
13428 [BZ #14459]
13429 * stdlib/strtod_l.c: Include <stdint.h>.
13430 (NDEBUG): Do not define.
13431 (round_and_return): Change EXPONENT parameter to type intmax_t.
13432 Rearrange calculations to avoid internal overflow possibilities.
13433 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13434 Rearrange calculations to avoid internal overflow possibilities.
13435 Assert that number fits inside MPNSIZE limbs.
13436 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13437 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13438 calculations and add assertions to avoid internal overflow
13439 possibilities. Add casts to avoid signed/unsigned operations.
13440 * stdlib/tst-strtod-overflow.c: New file.
13441 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13442
13443 2012-08-25 Marek Polacek <polacek@redhat.com>
13444
13445 * time/time.h: Fix some typos in comments.
13446
13447 2012-08-23 Roland McGrath <roland@hack.frob.com>
13448
13449 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13450 * posix/tst-rfc3484-2.c: Likewise.
13451 * posix/tst-rfc3484-3.c: Likewise.
13452
13453 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13454
13455 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13456 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13457
13458 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13459
13460 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13461 #include of fxstatat64.c.
13462
13463 2012-08-22 Roland McGrath <roland@hack.frob.com>
13464
13465 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13466 * shadow/getspent_r.c: Likewise.
13467 * shadow/getspnam.c: Likewise.
13468 * shadow/getspnam_r.c: Likewise.
13469 * gshadow/getsgent.c: Likewise.
13470 * gshadow/getsgent_r.c: Likewise.
13471 * gshadow/getsgnam.c: Likewise.
13472 * gshadow/getsgnam_r.c: Likewise.
13473 * inet/getnetbyad.c: Likewise.
13474 * inet/getnetbyad_r.c: Likewise.
13475 * inet/getnetbynm.c: Likewise.
13476 * inet/getnetbynm_r.c: Likewise.
13477 * inet/getnetent.c: Likewise.
13478 * inet/getnetent_r.c: Likewise.
13479 * inet/getproto.c: Likewise.
13480 * inet/getproto_r.c: Likewise.
13481 * inet/getprtent.c: Likewise.
13482 * inet/getprtent_r.c: Likewise.
13483 * inet/getprtname.c: Likewise.
13484 * inet/getprtname_r.c: Likewise.
13485 * inet/getrpcbyname.c: Likewise.
13486 * inet/getrpcbyname_r.c: Likewise.
13487 * inet/getrpcbynumber.c: Likewise.
13488 * inet/getrpcbynumber_r.c: Likewise.
13489 * inet/getrpcent.c: Likewise.
13490 * inet/getrpcent_r.c: Likewise.
13491 * inet/getaliasent.c: Likewise.
13492 * inet/getaliasent_r.c: Likewise.
13493 * inet/getaliasname.c: Likewise.
13494 * inet/getaliasname_r.c: Likewise.
13495 * nscd/getgrgid_r.c: Likewise.
13496 * nscd/getgrnam_r.c: Likewise.
13497 * nscd/gethstbyad_r.c: Likewise.
13498 * nscd/gethstbynm3_r.c: Likewise.
13499 * nscd/getpwnam_r.c: Likewise.
13500 * nscd/getpwuid_r.c: Likewise.
13501 * nscd/getsrvbynm_r.c: Likewise.
13502 * nscd/getsrvbypt_r.c: Likewise.
13503 * nscd/gai.c: Likewise.
13504
13505 * configure.in (build_nscd): New substituted variable, set
13506 by --disable-build-nscd and defaults to $use_nscd.
13507 * configure: Regenerated.
13508 * config.make.in (build-nscd): New substituted variable.
13509 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13510 Change conditional to require [$(build-nscd) = yes] as well.
13511 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13512
13513 [BZ# 13696]
13514 * configure.in (use_nscd): New substituted variable, set by
13515 --disable-nscd. If enabled, define USE_NSCD.
13516 * configure: Regenerated.
13517 * config.h.in: Add USE_NSCD.
13518 * config.make.in (use-nscd): New substituted variable.
13519 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13520 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13521 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13522 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13523 (CFLAGS-getgrnam_r.c): Likewise.
13524 (CFLAGS-initgroups.c): Likewise.
13525 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13526 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13527 Variables removed.
13528 * inet/getnetgrent_r.c
13529 (nscd_setnetgrent): New function, broken out of ...
13530 (setnetgrent): ... here. Call it.
13531 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13532 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13533 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13534 * nscd/Makefile (routines, aux): Move definitions after include of
13535 Makeconfig. Conditionalize on [$(use-nscd) != no].
13536 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13537 Conditionalize on [USE_NSCD].
13538 (is_nscd, nscd_init_cb): Likewise.
13539 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13540 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13541 * nss/nss_db/db-init.c: Likewise.
13542 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13543 [USE_NSCD].
13544 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13545 (make_request): Use it.
13546 (cache_valid_p): New function.
13547 (__check_pf): Use it.
13548 * NEWS: Add item for --disable-nscd.
13549
13550 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13551
13552 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13553 to support sed >= 4.2.1-20-ga9bf076.
13554 * configure: Regenerated.
13555
13556 2012-08-22 Roland McGrath <roland@hack.frob.com>
13557
13558 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13559 Conditionalize whole body on [IREL].
13560
13561 2012-08-22 Jeff Law <law@redhat.com>
13562
13563 [BZ #14505]
13564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13565 if the family is PF_UNSPEC.
13566
13567 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13568
13569 * Makerules (lib-version): Rename from V.
13570 (install-lib-nosubdir): Change V to lib-version.
13571
13572 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13573
13574 [BZ #14252]
13575 * powerpc32/power6/wcschr.c: New file.
13576 * powerpc32/power6/wcscpy.c: New file.
13577 * powerpc32/power6/wcsrchr.c: New file.
13578 * powerpc64/power6/wcschr.c: New file.
13579 * powerpc64/power6/wcscpy.c: New file.
13580 * powerpc64/power6/wcsrchr.c: New file.
13581
13582 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13583
13584 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13585 (two_way_short_needle): Use it.
13586 * string/strstr.c (AVAILABLE1_USES_J): Define.
13587 * string/strcasestr.c: Likewise.
13588
13589 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13590 array references.
13591 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13592
13593 [BZ #11607]
13594 * NEWS: Add an entry.
13595 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13596 define their defaults.
13597 (two_way_short_needle): Detect end-of-string on-the-fly.
13598 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13599 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13600 * string/bug-strcasestr1.c: New test.
13601 * string/Makefile: Run it.
13602
13603 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13604
13605 [BZ #11607]
13606 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13607 the first character.
13608
13609 2012-08-21 Roland McGrath <roland@hack.frob.com>
13610
13611 * csu/elf-init.c (__libc_csu_irel): Function removed.
13612 * csu/libc-start.c (apply_irel): New function.
13613 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13614
13615 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13616
13617 * sysdeps/unix/sysv/linux/kernel-features.h
13618 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13619 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13620 <kernel-features.h>.
13621 [__NR_fadvise64_64]: Make code unconditional.
13622 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13623 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13624 !__NR_fadvise64_64)]: Likewise.
13625 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13626 !__NR_fadvise64_64))]: Likewise.
13627 [__NR_fadvise64]: Make code unconditional.
13628 [!__NR_fadvise64]: Remove conditional code.
13629 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13630 <kernel-features.h>.
13631 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13632 unconditional.
13633 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13634 conditional code.
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13636 not include <kernel-features.h>.
13637 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13638 unconditional.
13639 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13640 conditional code.
13641 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13642 include <kernel-features.h>.
13643 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13644 unconditional.
13645 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13646 conditional code.
13647
13648 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13649
13650 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13651 slight instruction rearrangements per scrollpipe analysis.
13652 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13653
13654 2012-08-20 Roland McGrath <roland@hack.frob.com>
13655
13656 * manual/syslog.texi (syslog; vsyslog, closelog):
13657 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13658 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13659
13660 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13661 DSOCAPS to match condition on defining it.
13662
13663 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13664
13665 * sysdeps/unix/sysv/linux/kernel-features.h
13666 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13668 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13669 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13671 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13672 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13674 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13675 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13676
13677 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13678 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13679
13680 * sysdeps/unix/sysv/linux/kernel-features.h
13681 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13682 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13683 unconditional.
13684 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13685 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13686 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13687 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13688 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13689 Make code unconditional.
13690 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13691 (__mmap64) [!__NR_mmap2]: Likewise.
13692 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13693 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13694 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13695 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13696 [__NR_mmap2]: Make code unconditional.
13697 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13698 (__mmap64) [!__NR_mmap2]: Likewise.
13699
13700 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13701
13702 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13703
13704 2012-08-18 Andreas Jaeger <aj@suse.de>
13705
13706 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13707
13708 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13709
13710 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13711 * include/unistd.h (__have_sock_cloexec): Likewise.
13712 (__have_pipe2): Likewise.
13713 (__have_dup3): Likewise.
13714
13715 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13716
13717 [BZ #9685]
13718 * include/unistd.h (__have_pipe2): Change define into an extern int.
13719 (__have_dup3): Likewise.
13720 * socket/have_sock_cloexec.c: Include fcntl.h.
13721 (__have_pipe2): New variable.
13722 (__have_dup3): Likewise.
13723
13724 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13725
13726 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13727
13728 2012-08-17 Marek Polacek <polacek@redhat.com>
13729
13730 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13731 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13732
13733 2012-08-17 Roland McGrath <roland@hack.frob.com>
13734
13735 * configure.in: Add AC_SUBST for sysheaders.
13736 * configure: Regenerated.
13737 * config.make.in (sysheaders): New substituted variable.
13738
13739 * sysdeps/unix/mkfifo.c: Moved ...
13740 * sysdeps/posix/mkfifo.c: ... here.
13741 * sysdeps/unix/mkfifoat.c: Moved ...
13742 * sysdeps/posix/mkfifoat.c: ... here.
13743
13744 * sysdeps/unix/utime.c: Moved ...
13745 * sysdeps/posix/utime.c: ... here.
13746
13747 * sysdeps/unix/time.c: Moved ...
13748 * sysdeps/posix/time.c: ... here.
13749 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13750 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13751
13752 * sysdeps/unix/nice.c: Moved ...
13753 * sysdeps/posix/nice.c: ... here.
13754
13755 * sysdeps/unix/alarm.c: Moved ...
13756 * sysdeps/posix/alarm.c: ... here.
13757
13758 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13759
13760 2012-08-17 Jeff Law <law@redhat.com>
13761
13762 * intl/Makefile (codeset_mo): New variable.
13763 ($(codeset_mo)): New target.
13764 (tst-codeset.out): Depend on that. Remove explicit rule.
13765 (tst-gettext3.out, tst-gettext5.out): Likewise.
13766 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13767 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13768 * intl/tst-codeset.sh: Remove.
13769 * intl/tst-gettext3.sh: Likewise.
13770 * intl/tst-gettext5.sh: Likewise.
13771
13772 2012-08-17 Roland McGrath <roland@hack.frob.com>
13773
13774 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13775 * sysdeps/unix/syscalls.list: ... here.
13776
13777 * sysdeps/posix/getaddrinfo.c
13778 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13779 (gaiconf_init, gaiconf_reload): Use them.
13780 [!_STATBUF_ST_NSEC]
13781 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13782 Define using time_t rather than struct timespec.
13783
13784 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13785 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13786 Macros removed.
13787 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13788 [!NO_THREADS].
13789 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13790 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13791 Likewise.
13792
13793 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13794 __libc_cleanup_push argument.
13795
13796 * bits/param.h: New file.
13797 * misc/sys/param.h: New file.
13798 * include/sys/param.h: New file.
13799 * misc/Makefile (headers): Add bits/param.h.
13800 * sysdeps/generic/sys/param.h: File removed.
13801 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13802 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13803 * sysdeps/mach/hurd/bits/param.h: New file.
13804 * sysdeps/mach/hurd/sys/param.h: File removed.
13805
13806 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13807 last change.
13808
13809 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13810 [_IO_MTSAFE_IO].
13811 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13812 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13813 New macros.
13814
13815 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13816 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13817 rather than -D_IO_MTSAFE_IO conditionally.
13818 * stdio-common/Makefile (CPPFLAGS): Likewise.
13819 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13820 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13821 Use $(libio-mtsafe).
13822 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13823 of -D_IO_MTSAFE_IO.
13824 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13825 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13826 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13827 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13828 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13829 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13830 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13831 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13832 (CFLAGS-fread_u_chk.c): Likewise.
13833 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13834 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13835 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13836 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13837 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13838 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13839 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13840 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13841 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13842
13843 * libio/Makefile: Test [$(libc-reentrant) = yes]
13844 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13845
13846 * Makeconfig
13847 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13848 * sysdeps/pthread/configure: File removed.
13849 * sysdeps/pthread/Makeconfig: New file.
13850 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13851 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13852
13853 2012-08-16 Gary Benson <gbenson@redhat.com>
13854
13855 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13856 unmapping the first object in a namespace.
13857
13858 2012-08-16 Roland McGrath <roland@hack.frob.com>
13859
13860 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13861 (__internal_setnetgrent): ... this. Add internal_function to
13862 definition. Add libc_hidden_def.
13863 (setnetgrent): Update caller.
13864 (internal_endnetgrent): Renamed to ...
13865 (__internal_endnetgrent): ... this. Add internal_function to
13866 definition. Add libc_hidden_def.
13867 (endnetgrent): Update caller.
13868 (internal_getnetgrent_r): Renamed to ...
13869 (__internal_getnetgrent_r): ... this. Add internal_function to
13870 definition. Add libc_hidden_def.
13871 (__getnetgrent_r): Update caller.
13872 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13873
13874 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13875
13876 * stdlib/longlong.h: Update from GCC.
13877
13878 2012-08-16 Roland McGrath <roland@hack.frob.com>
13879
13880 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13881 on _QL, which is set by umul_ppmm but never used.
13882 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13883 variables, which are set by GMP macros but never used.
13884 * stdio-common/_itowa.c (_itowa): Likewise.
13885 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13886 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13887
13888 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13889
13890 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13891 struct La_sh_regs is not constant.
13892 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13893 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13894 and struct La_sparc64_regs are not constant.
13895
13896 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13897
13898 * sysdeps/unix/sysv/linux/kernel-features.h
13899 (__ASSUME_POSIX_TIMERS): Remove.
13900 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13901 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13902 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13903 Make code unconditional.
13904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13905 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13906 Make code unconditional.
13907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13908 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13909 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13911 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13912 Make code unconditional.
13913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13914 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13915 (__libc_missing_posix_timers): Remove.
13916
13917 2012-08-15 Roland McGrath <roland@hack.frob.com>
13918
13919 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13920 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13921
13922 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13923
13924 * elf/dl-sym.c: Include <stdlib.h>.
13925
13926 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13927 constants, which avoids warnings in 32-bit builds.
13928
13929 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13930 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13931
13932 * misc/lseek.c: File moved to ...
13933 * io/lseek.c: ... here.
13934
13935 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13936
13937 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13938 shifting LEN more than 31 bits at once.
13939
13940 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13941
13942 [BZ #14195]
13943 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13944 segmentation fault for a case of two empty input strings.
13945 * string/test-strncasecmp.c (check1): Renamed to...
13946 (bz12205): ...this.
13947 (bz14195): Add new testcase for two empty input strings and N > 0.
13948 (test_main): Call new testcase, adapt for renamed function.
13949
13950 2012-08-15 Andreas Jaeger <aj@suse.de>
13951
13952 [BZ #14090]
13953 * crypt/md5test2.c: New test, based on test supplied by Serge
13954 Belyshev <belyshev@depni.sinp.msu.ru>.
13955 * crypt/Makefile (xtests): Add md5test-giant..
13956 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13957
13958 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13959
13960 [BZ #14090]
13961 * crypt/md5.c (md5_process_block): Don't assume the buffer
13962 length is less than 2**32.
13963 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13964 length is less than 2**64.
13965
13966 2012-08-15 Roland McGrath <roland@hack.frob.com>
13967
13968 * string/str-two-way.h: Include <sys/param.h>.
13969 (MAX): Macro removed.
13970
13971 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13972 Move #define and #undef of memmove to just before and after
13973 including <string.h>.
13974
13975 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13976 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13977 and after including <string.h>. Move declarations of
13978 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13979 to before #include "string/memmove.c".
13980
13981 * include/dirent.h: Declare __getdirentries.
13982
13983 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13984 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13985
13986 2012-08-14 Mike Frysinger <vapier@gentoo.org>
13987
13988 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13989 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13990 * sysdeps/i386/configure: Regenerated.
13991 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13992 STABS_CURRENT_FILE, and STABS_FUN.
13993 (END): Remove call to STABS_FUN_END.
13994 (STABS_CURRENT_FILE1): Delete.
13995 (STABS_CURRENT_FILE): Likewise.
13996 (STABS_FUN): Likewise.
13997 (STABS_FUN_END): Likewise.
13998 (STABS_FUN2): Likewise.
13999 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14000 * sysdeps/x86_64/configure: Regenerated.
14001
14002 2012-08-14 Roland McGrath <roland@hack.frob.com>
14003
14004 * elf/dl-open.c: Include <atomic.h>.
14005 * elf/dl-lookup.c: Likewise.
14006
14007 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14008
14009 * sysdeps/unix/sysv/linux/kernel-features.h
14010 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14011 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14012 unconditionally.
14013 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14014 unconditionally.
14015 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14016 condition on __ASSUME_CLONE_THREAD_FLAGS.
14017
14018 2012-08-14 Andreas Jaeger <aj@suse.de>
14019
14020 * sysdeps/i386/fpu/libm-test-ulps: Update.
14021
14022 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14023
14024 * include/atomic.h (atomic_exchange_and_add): Split into ...
14025 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14026 New atomic macros.
14027
14028 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14029
14030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14031
14032 2012-08-13 Jeff Law <law@redhat.com>
14033
14034 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14035 null byte in the output string.
14036
14037 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14038
14039 * sysdeps/unix/sysv/linux/kernel-features.h
14040 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14041 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14042 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14043 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14044 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14045 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14046 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14047
14048 2012-08-09 Jeff Law <law@redhat.com>
14049
14050 [BZ #13939]
14051 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14052 When avoid_arena is set, don't retry in the that arena. Pick the
14053 next one, whatever it might be.
14054 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14055 (arena_lock): Pass in new parameter to arena_get2.
14056 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14057 arena_get2.
14058 (__libc_malloc): Unify retrying after main arena failure with
14059 __libc_memalign version.
14060 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14061
14062 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14063
14064 [BZ #14166]
14065 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14066 to __redirect_strstr.
14067 (__strstr_sse42): Use typeof __redirect_strstr.
14068 (__strstr_ia32): Likewise.
14069 (__libc_strstr): New prototype.
14070 (strstr): Renamed to ...
14071 (__libc_strstr): This.
14072 (strstr): New strong alias of __libc_strstr.
14073 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14074 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14075 __redirect_time.
14076 Include <time.h>.
14077 (__libc_time): New prototype.
14078 (time_ifunc): Replace time with __libc_time.
14079 (time): New strong alias and hidden definition of __libc_time.
14080 (__GI_time): Remove strong alias.
14081 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14082 Include <stddef.h>.
14083 (memmove): Redefined to __redirect_memmove.
14084 (__memmove_sse2): Use typeof __redirect_memmove.
14085 (__memmove_ssse3): Likewise.
14086 (__memmove_ssse3_back): Likewise.
14087 (__libc_memmove): New prototype.
14088 (memmove): Renamed to ...
14089 (__libc_memmove): This.
14090 (memmove): New strong alias of __libc_memmove.
14091
14092 2012-08-08 Mark Salter <msalter@redhat.com>
14093
14094 * elf/elf.h
14095 (R_MN10300_TLS_GD): Define.
14096 (R_MN10300_TLS_LD): Likewise.
14097 (R_MN10300_TLS_LDO): Likewise.
14098 (R_MN10300_TLS_GOTIE): Likewise.
14099 (R_MN10300_TLS_IE): Likewise.
14100 (R_MN10300_TLS_LE): Likewise.
14101 (R_MN10300_TLS_DTPMOD): Likewise.
14102 (R_MN10300_TLS_DTPOFF): Likewise.
14103 (R_MN10300_TLS_TPOFF): Likewise.
14104 (R_MN10300_SYM_DIFF): Likewise.
14105 (R_MN10300_ALIGN): Likewise.
14106 (R_MN10300_NUM): Update.
14107
14108 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14109
14110 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14111 Remove.
14112
14113 2012-08-08 Roland McGrath <roland@hack.frob.com>
14114
14115 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14116
14117 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14118 sysdeps/unix -> sysdeps/posix move.
14119 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14120
14121 2012-08-07 Allan McRae <allan@archlinux.org>
14122
14123 [BZ #14303]
14124 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14125 (SUNOS_CPP): Likewise.
14126 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14127 not found.
14128 (open_input): Call CPP using execvp.
14129
14130 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14131
14132 * sysdeps/unix/sysv/linux/kernel-features.h
14133 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14134 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14135 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14136 (__ASSUME_WAITID_SYSCALL): Likewise.
14137 * sysdeps/unix/sysv/linux/dl-execstack.c
14138 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14139 code unconditional.
14140 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14141 conditional code.
14142 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14143 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14144 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14145 code.
14146 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14147 unconditional.
14148 [__ASSUME_WAITID_SYSCALL]: Likewise.
14149 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14150
14151 2012-08-07 Roland McGrath <roland@hack.frob.com>
14152
14153 * sysdeps/unix/closedir.c: Renamed to ...
14154 * sysdeps/posix/closedir.c: ... here.
14155 * sysdeps/unix/dirfd.c: Renamed to ...
14156 * sysdeps/posix/dirfd.c: ... here.
14157 * sysdeps/unix/dirstream.h: Renamed to ...
14158 * sysdeps/posix/dirstream.h: ... here.
14159 * sysdeps/unix/fdopendir.c: Renamed to ...
14160 * sysdeps/posix/fdopendir.c: ... here.
14161 * sysdeps/unix/opendir.c: Renamed to ...
14162 * sysdeps/posix/opendir.c: ... here.
14163 * sysdeps/unix/readdir.c: Renamed to ...
14164 * sysdeps/posix/readdir.c: ... here.
14165 * sysdeps/unix/readdir_r.c: Renamed to ...
14166 * sysdeps/posix/readdir_r.c: ... here.
14167 * sysdeps/unix/rewinddir.c: Renamed to ...
14168 * sysdeps/posix/rewinddir.c: ... here.
14169 * sysdeps/unix/seekdir.c: Renamed to ...
14170 * sysdeps/posix/seekdir.c: ... here.
14171 * sysdeps/unix/telldir.c: Renamed to ...
14172 * sysdeps/posix/telldir.c: ... here.
14173 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14174 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14175 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14176 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14177
14178 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14179 * bits/fcntl.h: ... here.
14180
14181 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14182 not 0.
14183 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14184 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14185 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14186 (struct flock): Move l_start, l_len to the beginning.
14187 Use __pid_t for l_pid.
14188 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14189 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14190 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14191 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14192 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14193 [__USE_LARGEFILE64] (struct flock64): New type.
14194 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14195
14196 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14197 * bits/dirent.h: ... here.
14198
14199 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14200 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14201
14202 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14203
14204 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14205 Change from 2.6.0 to 2.6.16.
14206 * sysdeps/unix/sysv/linux/configure: Regenerated.
14207 * sysdeps/unix/sysv/linux/kernel-features.h
14208 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14209 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14210 version.
14211 (__ASSUME_UTIMES): Likewise.
14212 (__ASSUME_CLONE_STOPPED): Remove.
14213 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14214 architectures, not kernel version.
14215 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14216 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14217 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14218 (__ASSUME_WAITID_SYSCALL): Likewise.
14219 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14220 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14221 * README: State 2.6.16 as minimum Linux kernel version. Do not
14222 refer to older versions.
14223
14224 2012-08-06 Roland McGrath <roland@hack.frob.com>
14225
14226 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14227 Define alphasort64 as an alias.
14228 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14229 Define versionsort64 as an alias.
14230 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14231 Define scandir64 as an alias.
14232 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14233 Define scandirat64 as an alias.
14234 * dirent/alphasort64.c (alphasort64):
14235 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14236 * dirent/versionsort64.c: Likewise.
14237 * dirent/scandir64.c: Likewise.
14238 * dirent/scandirat64.c: Likewise.
14239 * sysdeps/wordsize-64/alphasort.c: File removed.
14240 * sysdeps/wordsize-64/alphasort64.c: File removed.
14241 * sysdeps/wordsize-64/scandir.c: File removed.
14242 * sysdeps/wordsize-64/scandir64.c: File removed.
14243 * sysdeps/wordsize-64/scandirat.c: File removed.
14244 * sysdeps/wordsize-64/scandirat64.c: File removed.
14245 * sysdeps/wordsize-64/versionsort.c: File removed.
14246 * sysdeps/wordsize-64/versionsort64.c: File removed.
14247 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14248 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14249 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14250 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14251 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14252 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14253 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14254 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14255
14256 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14257 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14258 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14259 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14260 [defined __arch64__ || defined __sparcv9]
14261 (__INO_T_MATCHES_INO64_T): New macro.
14262 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14263 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14264 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14265 * sysdeps/unix/sysv/linux/bits/dirent.h
14266 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14267 (_DIRENT_MATCHES_DIRENT64): New macro.
14268
14269 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14270 Define lockf64 as an alias.
14271 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14272 Define fseeko64 as an alias.
14273 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14274 Define ftello64 as an alias.
14275 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14276 Define _IO_fgetpos64 and fgetpos64 as aliases.
14277 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14278 Define _IO_fsetpos64 and fsetpos64 as aliases.
14279 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14280 Conditionalize body on this.
14281 * libio/fseeko64.c: Likewise.
14282 * libio/ftello64.c: Likewise.
14283 * libio/iofgetpos64.c: Likewise.
14284 * libio/iofsetpos64.c: Likewise.
14285 * sysdeps/wordsize-64/lockf.c: File removed.
14286 * sysdeps/wordsize-64/lockf64.c: File removed.
14287 * sysdeps/wordsize-64/fseeko.c: File removed.
14288 * sysdeps/wordsize-64/fseeko64.c: File removed.
14289 * sysdeps/wordsize-64/ftello.c: File removed.
14290 * sysdeps/wordsize-64/ftello64.c: File removed.
14291 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14292 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14293 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14294 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14295 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14296 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14297 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14298 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14299 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14300 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14301 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14302 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14303 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14304 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14305
14306 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14308 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14310 [defined __arch64__ || defined __sparcv9]
14311 (__OFF_T_MATCHES_OFF64_T): New macro.
14312 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14313 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14314 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14315 (__OFF_T_MATCHES_OFF64_T): New macro.
14316
14317 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14318
14319 * stdlib/secure-getenv.c (__secure_getenv): Replace
14320 GLIBC_2_16 with GLIBC_2_17.
14321
14322 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14323
14324 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14325 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14326
14327 2012-08-03 David S. Miller <davem@davemloft.net>
14328
14329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14330
14331 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14332
14333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14334 Remove.
14335 (__ASSUME_CORRECT_SI_PID): Likewise.
14336 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14337 (__ASSUME_TMPFS_NAME): Likewise.
14338 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14339 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14340 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14341 (HAVE_AUX_SECURE): Make definition unconditional.
14342 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14343 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14344
14345 2012-08-03 Roland McGrath <roland@hack.frob.com>
14346
14347 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14348 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14349 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14350 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14351 __eloop_threshold instead of SYMLOOP_MAX.
14352
14353 * sysdeps/generic/eloop-threshold.h: New file.
14354 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14355 of MAXSYMLINKS.
14356 * elf/chroot_canon.c (chroot_canon): Likewise.
14357
14358 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14359
14360 [BZ #13717]
14361 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14362 Change to 2.6.0 everywhere.
14363 * sysdeps/unix/sysv/linux/configure: Regenerated.
14364 * sysdeps/unix/sysv/linux/kernel-features.h
14365 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14366 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14367 kernel versions.
14368 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14369 (__ASSUME_FUTEX_REQUEUE): Remove.
14370 (__ASSUME_STATFS64): Define unconditionally.
14371 (__ASSUME_AT_SECURE): Likewise.
14372 (__ASSUME_CORRECT_SI_PID): Likewise.
14373 (__ASSUME_TGKILL): Define without depending on kernel version for
14374 i386.
14375 (__ASSUME_UTIMES): Likewise.
14376 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14377 kernel version.
14378 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14379 (__ASSUME_TMPFS_NAME): Likewise.
14380 * README: Update reference to Linux kernel versions.
14381
14382 2012-08-02 Marek Polacek <polacek@redhat.com>
14383
14384 [BZ# 14150]
14385 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14386 libc_cv_asm_type_prefix with %.
14387 * configure: Regenerated.
14388 * include/libc-symbols.h: Remove comment about
14389 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14390 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14391 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14392 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14393 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14394 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14395 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14396 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14397 * elf/tst-unique2mod1.c: Likewise.
14398 * elf/tst-unique1mod2.c: Likewise.
14399 * elf/tst-unique1mod1.c: Likewise.
14400 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14401 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14402 Replace ASM_TYPE_DIRECTIVE with .type.
14403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14404 * sysdeps/i386/sysdep.h: Likewise.
14405 * sysdeps/x86_64/sysdep.h: Likewise.
14406 * sysdeps/sh/sysdep.h: Likewise.
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14408 Do not define ASM_TYPE_DIRECTIVE.
14409 * sysdeps/powerpc/sysdep.h: Likewise.
14410 * sysdeps/powerpc/powerpc32/sysdep.h:
14411 Replace ASM_TYPE_DIRECTIVE with .type.
14412 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14413 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14414 * sysdeps/i386/fpu/e_powf.S: Likewise.
14415 * sysdeps/i386/fpu/e_expl.S: Likewise.
14416 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14417 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14418 * sysdeps/i386/fpu/e_pow.S: Likewise.
14419 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14420 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14421 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14422 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14423 * sysdeps/i386/fpu/e_log2.S: Likewise.
14424 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14425 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14426 * sysdeps/i386/fpu/e_powl.S: Likewise.
14427 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14428 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14429 * sysdeps/i386/fpu/e_logl.S: Likewise.
14430 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14431 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14432 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14433 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14434 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14435 * sysdeps/i386/fpu/e_log.S: Likewise.
14436 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14437 * sysdeps/i386/fpu/e_logf.S: Likewise.
14438 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14439 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14440 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14441 * sysdeps/i386/fpu/e_log10.S: Likewise.
14442 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14443 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14444 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14445 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14446 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14447 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14448 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14449 * sysdeps/i386/i686/strtok.S: Likewise.
14450 * sysdeps/i386/i386-mcount.S: Likewise.
14451 * sysdeps/i386/strtok.S: Likewise.
14452 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14453 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14454 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14455 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14456 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14457 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14458 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14459 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14460 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14461 * sysdeps/x86_64/_mcount.S: Likewise.
14462 * sysdeps/x86_64/strtok.S: Likewise.
14463 * sysdeps/sh/_mcount.S: Likewise.
14464
14465 2012-08-01 Roland McGrath <roland@hack.frob.com>
14466
14467 * libio/iofopen.c: Include <fcntl.h>.
14468 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14469 (_IO_fopen64, fopen64): Define as aliases.
14470 * libio/iofopen64.c: Include <fcntl.h>.
14471 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14472 Conditionalize body on this.
14473 * sysdeps/wordsize-64/iofopen.c: File removed.
14474 * sysdeps/wordsize-64/iofopen64.c: File removed.
14475
14476 2012-08-01 Marek Polacek <polacek@redhat.com>
14477
14478 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14479 Use dlfcn directly instead of a variable.
14480 (binfmt-subdir): Do not define.
14481 (dlfcn): Likewise.
14482
14483 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14484
14485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14486 Remove all definitions.
14487 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14488 <kernel-features.h>.
14489 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14490 (miss_F_GETOWN_EX): Remove all definitions.
14491 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14492 macro definition.
14493 [!__ASSUME_FCNTL64]: Remove conditional code.
14494 [__ASSUME_FCNTL64]: Make code unconditional.
14495 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14496 <kernel-features.h>.
14497 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14498 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14499 (lockf64) [__NR_fcntl64]: Make code unconditional.
14500 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14501
14502 * sysdeps/unix/sysv/linux/kernel-features.h
14503 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14504 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14505 Make code unconditional.
14506 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14507 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14509 [__NR_vfork]: Make code unconditional.
14510 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14511 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14513 [__NR_vfork]: Make code unconditional.
14514 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14515 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14516
14517 2012-08-01 Roland McGrath <roland@hack.frob.com>
14518
14519 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14520 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14521
14522 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14523 Define mkstemp64 as an alias.
14524 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14525 Define mkstemps64 as an alias.
14526 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14527 Define mkostemp64 as an alias.
14528 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14529 Define mkostemps64 as an alias.
14530 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14531 Conditionalize body on this.
14532 * misc/mkostemp64.c: Likewise.
14533 * misc/mkostemps64.c: Likewise.
14534 * misc/mkstemps64.c: Likewise.
14535 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14536 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14537 * sysdeps/wordsize-64/mkostemp.c: File removed.
14538 * sysdeps/wordsize-64/mkstemp.c: File removed.
14539 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14540 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14541 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14542 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14543
14544 [BZ #14138]
14545 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14546 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14547 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14548 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14549
14550 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14551 compat_symbol macros from <shlib-compat.h> rather than the underlying
14552 default_symbol_version and symbol_version macros, so that DEFAULT
14553 lines in shlib-versions are respected.
14554 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14555
14556 2012-08-01 Florian Weimer <fweimer@redhat.com>
14557
14558 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14559 Declare with warn_unused_result.
14560 (setgid, setregid, setegid, setresgid): Likewise.
14561 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14562 Likewise.
14563 * WUR-REPORT: Remove set*id functions.
14564
14565 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14566
14567 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14568
14569 2012-07-31 Roland McGrath <roland@hack.frob.com>
14570
14571 [BZ #10191]
14572 * include/sys/socket.h (__libc_accept, __libc_accept4):
14573 Add attribute_hidden.
14574 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14575
14576 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14577 use of PTR_MANGLE.
14578 * inet/getnetgrent_r.c (setup): Likewise.
14579
14580 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14581
14582 2012-07-31 David S. Miller <davem@davemloft.net>
14583
14584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14585
14586 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14587
14588 [BZ #13629]
14589 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14590 value between 1.0 and 2.0 and smaller part has absolute value less
14591 than 1.0.
14592 * math/s_clog10.c (__clog10): Likewise.
14593 * math/s_clog10f.c (__clog10f): Likewise.
14594 * math/s_clog10l.c (__clog10l): Likewise.
14595 * math/s_clogf.c (__clogf): Likewise.
14596 * math/s_clogl.c (__clogl): Likewise.
14597 * math/libm-test.inc (clog_test): Add more tests.
14598 (clog10_test): Likewise.
14599 * sysdeps/i386/fpu/libm-test-ulps: Update.
14600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14601
14602 2012-07-31 Florian Weimer <fweimer@redhat.com>
14603
14604 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14605 Exit with zero in case no suitable GID is found, and write a
14606 message to standard error.
14607
14608 2012-07-30 Roland McGrath <roland@hack.frob.com>
14609
14610 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14611 rather than to 1.
14612 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14613 (MAXPATHLEN): Removed.
14614 (NOGROUP, NODEV): New macros.
14615 (setbit, clrbit, isset, isclr): New macros.
14616 (howmany, roundup, powerof2): New macros.
14617 (DEV_BSIZE): New macro.
14618
14619 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14620 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14621
14622 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14623 definition on [!__NO_LONG_DOUBLE_MATH].
14624
14625 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14626 PTR_MANGLE and PTR_DEMANGLE.
14627
14628 * socket/accept4.c (accept4): Rename to __libc_accept4.
14629 Define accept4 as a weak alias.
14630
14631 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14632 on [_DIRENT_HAVE_D_TYPE].
14633 * io/ftw.c (ftw_dir): Likewise.
14634
14635 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14636
14637 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14638
14639 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14640 Use the BSD numbers rather than the arbitrary ones we had.
14641 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14642 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14643 (SIGXCPU, SIGXFSZ): New macros.
14644 (_NSIG): Now 32.
14645
14646 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14647 initializer on [_LIBC_REENTRANT].
14648
14649 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14650 definitions inside [_POSIX_MAPPED_FILES].
14651
14652 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14653
14654 * dirent/opendir.c: Include <fcntl.h>.
14655
14656 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14657 (__libc_getspecific): Likewise.
14658 (__libc_key_create): Likewise.
14659
14660 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14661 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14662 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14663 (tmpfile64): Define as alias.
14664 * sysdeps/wordsize-64/tmpfile.c: File removed.
14665 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14666 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14667 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14668
14669 * stdio-common/vfscanf.c: Include <stdbool.h>.
14670 * nss/makedb.c: Likewise.
14671 * stdio-common/_i18n_number.h: Likewise.
14672 * argp/argp-help.c: Likewise.
14673 * posix/wordexp.c: Likewise.
14674 * sysdeps/posix/spawni.c: Likewise.
14675 * nss/nss_files/files-initgroups.c: Likewise.
14676 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14677 * nss/nss_files/files-initgroups.c: Likewise.
14678 * nss/nss_db/db-netgrp.c: Likewise.
14679 * nss/nss_db/db-initgroups.c: Likewise.
14680 * io/fchmodat.c: Include <sys/stat.h>.
14681
14682 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14683 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14684
14685 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14686 [HAVE_MMAP].
14687
14688 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14689 Add multiple inclusion protection.
14690
14691 2012-07-27 David S. Miller <davem@davemloft.net>
14692
14693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14694
14695 2012-07-27 Gary Benson <gbenson@redhat.com>
14696
14697 [BZ #14298]
14698 * elf/rtld.c: Include <stap-probe.h>.
14699 (dl_main): Added static probes "init_start" and "init_complete".
14700 * elf/dl-load.c: Include <stap-probe.h>.
14701 (lose): Take new parameter "nsid".
14702 Added static probe "map_failed".
14703 (_dl_map_object_from_fd): Pass namespace id to lose.
14704 Added static probe "map_start".
14705 (open_verify): Pass namespace id to lose.
14706 * elf/dl-open.c: Include <stap-probe.h>.
14707 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14708 and "reloc_complete".
14709 * elf/dl-close.c: Include <stap-probe.h>.
14710 (_dl_close_worker): Added static probes "unmap_start" and
14711 "unmap_complete".
14712 * elf/rtld-debugger-interface.txt: New file documenting the above.
14713
14714 2012-07-26 Roland McGrath <roland@hack.frob.com>
14715
14716 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14717 rather than a string variable.
14718 * sunrpc/rpc_main.c (h_output): Likewise.
14719 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14720
14721 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14722
14723 * inet/check_native.c: New file.
14724
14725 2012-07-26 Joseph Myers <joseph@codesourcery.com>
14726
14727 [BZ #13629]
14728 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14729 if larger part has absolute value 1.0.
14730 * math/s_clog10.c (__clog10): Likewise.
14731 * math/s_clog10f.c (__clog10f): Likewise.
14732 * math/s_clog10l.c (__clog10l): Likewise.
14733 * math/s_clogf.c (__clogf): Likewise.
14734 * math/s_clogl.c (__clogl): Likewise.
14735 * math/libm-test.inc (clog_test): Add more tests.
14736 (clog10_test): Likewise.
14737 * sysdeps/i386/fpu/libm-test-ulps: Update.
14738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14739
14740 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14741 (pltexit): Likewise.
14742 (La_regs): Likewise.
14743 (La_retval): Likewise.
14744 (int_retval): Likewise.
14745 Update #error for removed macros to refer only to definitions in
14746 tst-audit.h.
14747 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14748 macro.
14749 (pltexit): Likewise.
14750 (La_regs): Likewise.
14751 (La_retval): Likewise.
14752 (int_retval): Likewise.
14753 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14754 macro.
14755 (pltexit): Likewise.
14756 (La_regs): Likewise.
14757 (La_retval): Likewise.
14758 (int_retval): Likewise.
14759 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14760 macro.
14761 (pltexit): Likewise.
14762 (La_regs): Likewise.
14763 (La_retval): Likewise.
14764 (int_retval): Likewise.
14765 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14766 macro.
14767 (pltexit): Likewise.
14768 (La_regs): Likewise.
14769 (La_retval): Likewise.
14770 (int_retval): Likewise.
14771 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14772 macro.
14773 (pltexit): Likewise.
14774 (La_regs): Likewise.
14775 (La_retval): Likewise.
14776 (int_retval): Likewise.
14777 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14778 macro.
14779 (pltexit): Likewise.
14780 (La_regs): Likewise.
14781 (La_retval): Likewise.
14782 (int_retval): Likewise.
14783 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14784 macro definitions in tst-audit.h.
14785 * sysdeps/i386/tst-audit.h: New file.
14786 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14787 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14788 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14789 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14790 * sysdeps/sh/tst-audit.h: Likewise.
14791 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14792 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14793 * sysdeps/x86_64/tst-audit.h: Likewise.
14794
14795 2012-07-26 Andreas Jaeger <aj@suse.de>
14796
14797 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14798 ptrace.
14799
14800 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14801 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14802 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14803 PTRACE_O_MASK.
14804 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14805 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14806 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14807
14808 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14809 value.
14810
14811 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14812 _sigsys.
14813 (si_call_addr, si_syscall, si_arch): Define new macro.
14814 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14815 _sigsys.
14816 (si_call_addr, si_syscall, si_arch): Define new marcro.
14817 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14818 _sigsys.
14819 (si_call_addr, si_syscall, si_arch): Define new macro.
14820 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14821 _sigsys.
14822 (si_call_addr, si_syscall, si_arch): Define new macro.
14823
14824 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14825
14826 [BZ #13717]
14827 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14828 Change to 2.4.21 where previously 2.4.1.
14829 * sysdeps/unix/sysv/linux/configure: Regenerated.
14830 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14831 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14832 Linux kernel version.
14833 (__ASSUME_STD_AUXV): Remove.
14834 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14835 kernel version.
14836 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14837 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14838 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14839 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14840 (__ASSUME_NETLINK_SUPPORT): Likewise.
14841 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14842 (__no_netlink_support): Remove conditional definition.
14843 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14844 Remove.
14845 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14846 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14847 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14848 (if_nameindex_ioctl): Remove.
14849 (if_nameindex_netlink): Do not handle __no_netlink_support.
14850 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14851 code.
14852 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14853 Remove conditional code.
14854 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14855 code.
14856 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14857 unconditional.
14858 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14859 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14860 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14861 Remove.
14862 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14863 [!__ASSUME_STD_AUXV]: Remove conditional code.
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14865 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14866 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14868 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14869 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14870 code.
14871 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14873 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14874 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14875 conditional code.
14876 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14878 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14879 code.
14880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14881 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14882 conditional code.
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14884 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14885 code unconditional.
14886 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14887 conditional code.
14888 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14889 unconditional.
14890 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14891 conditional code.
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14893 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14894 unconditional.
14895 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14896 conditional code.
14897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14898 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14899 code unconditional.
14900 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14901 conditional code.
14902 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14903 unconditional.
14904 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14905 conditional code.
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14907 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14908 code unconditional.
14909 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14910 conditional code.
14911 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14912 unconditional.
14913 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14914 conditional code.
14915
14916 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14917
14918 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14919 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14920 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14921 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14922 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14923 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14924 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14925 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14926 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14927 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14928 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14929 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14930 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14931 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14932 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14933 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14934 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14936 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14938 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14939 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14940 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14941
14942 2012-07-25 Florian Weimer <fweimer@redhat.com>
14943
14944 * Versions.def: Add GLIBC_2.17.
14945 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14946 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14947 Introduce __libc_secure_getenv.
14948 * stdlib/Versions (2.17): Add secure_getenv
14949 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14950 * stdlib/secure-getenv.c: Rename __secure_getenv to
14951 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14952 symbol __secure_getenv for GLIBC_2.0.
14953 * stdlib/tst-secure-getenv.c: New.
14954 * stdlib/Makefile (tests): Add testcase.
14955 * manual/startup.texi (Environment Access): Document
14956 secure_getenv.
14957 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14958 __libc_secure_getenv.
14959 * inet/ruserpass.c (ruserpass): Likewise.
14960 * malloc/mtrace.c (mtrace): Likewise.
14961 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14962 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14963 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14964 * sysdeps/posix/tempname.c: Likewise. Evaluate
14965 HAVE_SECURE_GETENV.
14966 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14967 __secure_getenv to __libc_secure_getenv.
14968 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14970 Likewise.
14971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14972 Likewise.
14973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14980
14981 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14982
14983 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14984 (struct La_i86_retval): Likewise.
14985 (struct La_x86_64_regs): Likewise.
14986 (struct La_x86_64_retval): Likewise.
14987 (struct La_x32_regs): Likewise.
14988 (struct La_x32_retval): Likewise.
14989 (struct La_ppc32_regs): Likewise.
14990 (struct La_ppc32_retval): Likewise.
14991 (struct La_ppc64_regs): Likewise.
14992 (struct La_ppc64_retval): Likewise.
14993 (struct La_sh_regs): Likewise.
14994 (struct La_sh_retval): Likewise.
14995 (struct La_s390_32_regs): Likewise.
14996 (struct La_s390_32_retval): Likewise.
14997 (struct La_s390_64_regs): Likewise.
14998 (struct La_s390_64_retval): Likewise.
14999 (struct La_sparc32_regs): Likewise.
15000 (struct La_sparc32_retval): Likewise.
15001 (struct La_sparc64_regs): Likewise.
15002 (struct La_sparc64_retval): Likewise.
15003 (struct audit_ifaces): Remove architecture-specific pltenter and
15004 pltexit members.
15005 * sysdeps/i386/ldsodefs.h: New file.
15006 * sysdeps/powerpc/ldsodefs.h: Likewise.
15007 * sysdeps/s390/ldsodefs.h: Likewise.
15008 * sysdeps/sh/ldsodefs.h: Likewise.
15009 * sysdeps/sparc/ldsodefs.h: Likewise.
15010 * sysdeps/x86_64/ldsodefs.h: Likewise.
15011
15012 2012-07-25 Marek Polacek <polacek@redhat.com>
15013
15014 [BZ #6808]
15015 * math/libm-test.inc (yn_test): Add another test.
15016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15017 to ERANGE when the result is +-Inf.
15018 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15019 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15020 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15021 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15022
15023 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15024
15025 * conform/data/time.h-data (NULL): Use macro-constant. Require
15026 equal to 0.
15027 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15028 clock_t.
15029 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15030
15031 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15032
15033 * configure.in <sysdeps resolving>: Correct printing
15034 Implies_before.
15035 * configure: Regenerate.
15036
15037 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15038
15039 * math/w_ilogb.c: Include <limits.h>.
15040 * math/w_ilogbl.c: Likewise.
15041
15042 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15043
15044 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15045 va_copy. Document allowing for unavailable va_copy only as
15046 pre-C99 compatibility.
15047 * manual/string.texi (Copying and Concatenation): Use va_copy
15048 instead of __va_copy in concat example.
15049
15050 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15051
15052 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15053 (__sendto): Use create_address_port. Initialize APORT and deallocate
15054 it if not null.
15055
15056 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15057 with O_NOLINK passed to __file_name_lookup.
15058
15059 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15060 with O_NOLINK passed to __file_name_lookup.
15061
15062 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15063 negative N or less than NGIDS.
15064
15065 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15066 type to string_t. Set ERANGE as errno and return it if NAME is not big
15067 enough. Use memcpy instead of strncpy.
15068
15069 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15070
15071 * elf/Makefile (check-data): Remove.
15072 (localplt.data): New vpath directive.
15073 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15074 instead of $(check-data).
15075 * scripts/data/localplt-generic.data: Move to ...
15076 * sysdeps/generic/localplt.data: ... here.
15077 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15078 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15079 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15081 ... here.
15082 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15084 ... here.
15085 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15087 ... here.
15088 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15090 ... here.
15091 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15093 ... here.
15094 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15096 ... here.
15097
15098 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15099
15100 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15101 PPC32 and PPC64 files.
15102 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15103 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15104
15105 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15106
15107 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15108 __makecontext_ret to ...
15109 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15110 ... here and call exit if uc_link is NULL. New file.
15111 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15112 __makecontext_ret.S.
15113 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15114 __makecontext_ret to ...
15115 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15116 ... here and call exit if uc_link is NULL. New file.
15117 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15118 __makecontext_ret.S.
15119
15120 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15121
15122 * elf/elf.h (R_390_IRELATIVE): New definition.
15123 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15124 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15125 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15126 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15127 (elf_machine_lazy_rel): Likewise.
15128 * sysdeps/s390/dl-irel.h: New file.
15129 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15130 * sysdeps/s390/s390-64/memset.S: New asm code.
15131 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15132 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15133 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15134 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15135 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15136 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15137 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15138 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15139 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15140 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15141 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15142 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15143 * sysdeps/s390/s390-32/memset.S: New asm code.
15144 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15145
15146 2012-07-17 Marek Polacek <polacek@redhat.com>
15147
15148 [BZ #14349]
15149 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15150 * sysdeps/s390/s390-64/configure.in: Likewise.
15151 * sysdeps/sparc/configure.in: Likewise.
15152 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15153 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15154 * sysdeps/i386/configure.in: Likewise.
15155 * sysdeps/x86_64/configure.in: Likewise.
15156 * sysdeps/sh/configure.in: Likewise.
15157 * sysdeps/s390/s390-32/configure: Regenerated.
15158 * sysdeps/s390/s390-64/configure: Likewise.
15159 * sysdeps/x86_64/configure: Likewise.
15160 * sysdeps/sh/configure: Likewise.
15161 * sysdeps/powerpc/powerpc64/configure: Likewise.
15162 * sysdeps/powerpc/powerpc32/configure: Likewise.
15163 * sysdeps/sparc/configure: Likwise.
15164 * sysdeps/i386/configure: Likewise.
15165
15166 * elf/dl-open.c: Comment fixes.
15167
15168 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15169
15170 * Makefile [CXX] (check-data): Remove.
15171 [CXX] (c++-types.data): New vpath directive.
15172 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15173 vpath. Do not allow for C++ type data being missing.
15174 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15175 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15176 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15177 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15178 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15179 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15180 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15182 ... here.
15183 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15185 ... here.
15186 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15188 ... here.
15189 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15191 ... here.
15192 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15194 ... here.
15195 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15197 ... here.
15198 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15200 ... here.
15201 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15203
15204 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15205 definitions to architecture-specific files.
15206 (TLS_IE): Likewise.
15207 (TLS_LD): Likewise.
15208 (TLS_GD): Likewise.
15209 * sysdeps/i386/tls-macros.h: New file.
15210 * sysdeps/powerpc/tls-macros.h: Likewise.
15211 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15212 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15213 * sysdeps/sh/tls-macros.h: Likewise.
15214 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15215 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15216 * sysdeps/x86_64/tls-macros.h: Likewise.
15217
15218 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15219
15220 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15221 zero value for regular exit case.
15222
15223 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15224 (__start_context): Preserve zero value for regular exit case.
15225
15226 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15227 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15228
15229 * manual/setjmp.texi (setcontext): Clarify normal process
15230 termination when uc_link is the null pointer.
15231 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15232 exit call.
15233
15234 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15235
15236 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15237 preprocessor. Test for each exception mask separately.
15238
15239 2012-07-16 Andreas Jaeger <aj@suse.de>
15240
15241 * po/ru.po: Update from translation team.
15242
15243 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15244
15245 * conform/data/string.h-data (NULL): Use macro-constant. Require
15246 equal to 0.
15247 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15248 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15249 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15250 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15252
15253 2012-07-13 Andreas Jaeger <aj@suse.de>
15254
15255 * po/fr.po: Update from translation team.
15256
15257 2012-07-12 Marek Polacek <polacek@redhat.com>
15258
15259 [BZ #14173]
15260 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15261 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15262 loop condition.
15263
15264 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15265
15266 [BZ #13717]
15267 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15268 Change to 2.4.1 where previously 2.4.0.
15269 * sysdeps/unix/sysv/linux/configure: Regenerated.
15270 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15271 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15272 version.
15273 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15274 (__ASSUME_AT_CLKTCK): Remove.
15275 (__ASSUME_AT_PAGESIZE): Likewise.
15276 (__ASSUME_AT_XID): Likewise.
15277 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15278 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15279 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15280 unconditionally.
15281 (HAVE_AUX_PAGESIZE): Likewise.
15282 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15283 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15284 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15285
15286 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15287
15288 [BZ #14307]
15289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15290 the temporary buffer used to invoke __gethostbyname2_r,
15291 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15292 host_data / struct gaih_addrtuple.
15293 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15294 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15295 header file nss/nsswitch.h.
15296 * nss/nsswitch.h (global scope): Add definition of implementation
15297 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15298 resolv/nss_dns/dns-host.c).
15299
15300 2012-07-11 Andreas Jaeger <aj@suse.de>
15301
15302 * po/fr.po: Update from translation team.
15303
15304 * po/sv.po: Update from translation team
15305 * po/fr.po: Another update from translation team.
15306
15307 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15308
15309 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15310 for subnormals or multiply small sinh result by itself.
15311 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15313
15314 2012-07-11 David S. Miller <davem@davemloft.net>
15315
15316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15317
15318 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15319
15320 [BZ #14347]
15321 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15322 (INTERNAL_MARK): Shift it here.
15323
15324 2012-07-10 Marek Polacek <polacek@redhat.com>
15325
15326 [BZ #14151]
15327 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15328 libc_cv_asm_global_directive with .globl.
15329 * configure: Regenerated.
15330 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15331 with .globl.
15332 * sysdeps/i386/configure: Regenerated.
15333 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15334 with .globl.
15335 * sysdeps/x86_64/configure: Regenerated.
15336 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15337 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15338 * elf/tst-unique2mod2.c: Likewise.
15339 * elf/tst-unique2mod1.c: Likewise.
15340 * elf/tst-unique1mod2.c: Likewise.
15341 * elf/tst-unique1mod1.c: Likewise.
15342 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15343 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15344 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15345 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15346 * sysdeps/mach/sysdep.h: Likewise.
15347 * sysdeps/i386/sysdep.h: Likewise.
15348 * sysdeps/i386/i386-mcount.S: Likewise.
15349 * sysdeps/x86_64/_mcount.S: Likewise.
15350 * sysdeps/x86_64/sysdep.h: Likewise.
15351 * sysdeps/sh/_mcount.S: Likewise.
15352 * sysdeps/sh/sysdep.h: Likewise.
15353 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15354 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15355 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15356 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15357 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15358 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15359 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15360 * locale/localeinfo.h: Likewise.
15361 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15362 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15363
15364 2012-07-09 Roland McGrath <roland@hack.frob.com>
15365
15366 [BZ #14336]
15367 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15368 system".
15369 * manual/message.texi (The Uniforum approach): Likewise.
15370 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15371 (glibc iconv Implementation): Likewise.
15372
15373 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15374
15375 [BZ #14337]
15376 * math/s_clog.c (__clog): Avoid scaling a value down where that
15377 could result in underflow.
15378 * math/s_clog10.c (__clog10): Likewise.
15379 * math/s_clog10f.c (__clog10f): Likewise.
15380 * math/s_clog10l.c (__clog10l): Likewise.
15381 * math/s_clogf.c (__clogf): Likewise.
15382 * math/s_clogl.c (__clogl): Likewise.
15383 * math/libm-test.inc (clog_test): Add more tests.
15384 (clog10_test): Likewise.
15385 * sysdeps/i386/fpu/libm-test-ulps: Update.
15386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15387
15388 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15389
15390 [BZ #14283]
15391 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15392 by 7 not 8 to examine high bit of fractional part.
15393
15394 [BZ #14042]
15395 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15396 for call to __mcount_internal.
15397 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15398 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15399 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15400
15401 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15402
15403 [BZ #14154]
15404 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15405 approximation for values within 0x1p-13f of an odd multiple of
15406 pi/4.
15407 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15408 exception. Add more tests.
15409 * sysdeps/i386/fpu/libm-test-ulps: Update.
15410
15411 [BZ #6778]
15412 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15413 inputs and return -1 for them. Do not check for +Inf in case not
15414 reachable for +Inf.
15415 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15416 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15417 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15418 and return -1 for them. Do not check for +Inf in case not
15419 reachable for +Inf.
15420 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15421 define.
15422 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15423 and return -1 for them. Do not check for +Inf in case not
15424 reachable for +Inf.
15425 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15426 spurious underflow.
15427 * sysdeps/i386/fpu/libm-test-ulps: Update.
15428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15429
15430 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15431
15432 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15433
15434 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15435
15436 [BZ #14157]
15437 [BZ #14331]
15438 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15439 could result in spurious underflow. Scale down values above
15440 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15441 * math/s_csqrtf.c (__csqrtf): Likewise.
15442 * math/s_csqrtl.c (__csqrtl): Likewise.
15443 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15444 spurious underflow.
15445 * sysdeps/i386/fpu/libm-test-ulps: Update.
15446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15447
15448 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15449
15450 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15451 xopen-msg.sed.
15452 * catgets/xopen-msg.awk: New file.
15453 * catgets/xopen-msg.sed: Removed.
15454
15455 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15456 po2text.sed.
15457 * intl/po2test.awk: New file.
15458 * intl/po2test.sed: Removed.
15459
15460 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15461
15462 [BZ #14328]
15463 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15464 or multiply small sinh result by itself.
15465 * math/s_ctanf.c (__ctanf): Likewise.
15466 * math/s_ctanh.c (__ctanh): Likewise.
15467 * math/s_ctanhf.c (__ctanhf): Likewise.
15468 * math/s_ctanhl.c (__ctanhl): Likewise.
15469 * math/s_ctanl.c (__ctanl): Likewise.
15470 * math/libm-test.inc (ctan_test_tonearest): New function.
15471 (ctan_test_towardzero): Likewise.
15472 (ctan_test_downward): Likewise.
15473 (ctan_test_upward): Likewise.
15474 (ctanh_test_tonearest): Likewise.
15475 (ctanh_test_towardzero): Likewise.
15476 (ctanh_test_downward): Likewise.
15477 (ctanh_test_upward): Likewise.
15478 (main): Call these new functions.
15479 * sysdeps/i386/fpu/libm-test-ulps: Update.
15480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15481
15482 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15483
15484 * .gitignore: Delete /ports entry.
15485
15486 2012-07-03 Andreas Jaeger <aj@suse.de>
15487
15488 * po/bg.po: Update from translation team.
15489 * po/cs.po: Likewise.
15490 * po/de.po: Likewise.
15491 * po/hr.po: Likewise.
15492 * po/nl.pl: Likewise.
15493 * po/pl.po: Likewise.
15494 * po/vi.po: Likewise.
15495
15496 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15497
15498 * Makeconfig [!+link] (+link-before-libc): New variable.
15499 [!+link] (+link-after-libc): Likewise.
15500 [!+link] (+link-tests): Likewise.
15501 [!+link] (+link): Define in terms of $(+link-before-libc) and
15502 $(+link-after-libc).
15503 [!+link-static] (+link-static-before-libc): New variable.
15504 [!+link-static] (+link-static-after-libc): Likewise.
15505 [!+link-static] (+link-static-tests): Likewise.
15506 [!+link-static] (+link-static): Define in terms of
15507 $(+link-static-before-libc) and $(+link-static-after-libc).
15508 [build-shared] (link-libc-before-gnulib): New variable.
15509 [build-shared] (link-libc-tests): Likewise.
15510 [build-shared] (link-libc): Define in terms of
15511 $(link-libc-before-gnulib).
15512 [!build-shared] (link-libc-tests): New variable.
15513 (link-libc-static-tests): New variable.
15514 [!gnulib] (gnulib-arch): New variable.
15515 [!gnulib] (gnulib-tests): Likewise.
15516 [!gnulib] (static-gnulib-arch): Likewise.
15517 [!gnulib] (static-gnulib-tests): Likewise.
15518 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15519 Define with "=" instead of ":=".
15520 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15521 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15522 * Rules (binaries-all-notests): New variable.
15523 (binaries-all-tests): Likewise.
15524 (binaries-static-notests): Likewise.
15525 (binaries-static-tests): Likewise.
15526 (binaries-all): Define using $(binaries-all-notests) and
15527 $(binaries-all-tests).
15528 (binaries-static): Define using $(binaries-static-notests) and
15529 $(binaries-static-tests).
15530 (binaries-shared-tests): New variable.
15531 (binaries-shared-notests): Likewise.
15532 (binaries-shared): Remove variable.
15533 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15534 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15535 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15536 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15537 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15538 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15539 * elf/Makefile (sln-modules): New variable.
15540 (extra-objs): Add $(sln-modules:=.o).
15541 (ldconfig-modules): Add static-stubs.
15542 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15543 * elf/static-stubs.c: New file.
15544
15545 [BZ #14283]
15546 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15547 by 7 not 8 to examine high bit of fractional part. Use volatile
15548 variables when splitting into final array of floats if
15549 __FLT_EVAL_METHOD__ != 0.
15550 * math/libm-test.inc (cos_test): Add another test.
15551 (sin_test): Likewise.
15552 * sysdeps/i386/fpu/libm-test-ulps: Update.
15553
15554 [BZ #14273]
15555 * math/libm-test.inc (cosh_test): Add more tests.
15556
15557 * version.h (RELEASE): Set to "development".
15558 (VERSION): Set to "2.16.90".
15559
15560 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15561
15562 * NEWS: Update copyright. Remove last-updated date.
15563 Mention math library bug fixes and timezone data changes.
15564 * README: Mention GNU/Hurd, x32, and HPPA support status.
15565
15566 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15567
15568 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15569
15570 2012-06-27 Andreas Jaeger <aj@suse.de>
15571
15572 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15573
15574 2012-06-25 Andreas Jaeger <aj@suse.de>
15575
15576 * sysdeps/s390/fpu/libm-test-ulps: Update.
15577
15578 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15579 Thomas Schwinge <thomas@codesourcery.com>
15580
15581 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15582 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15583 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15584 fanotify_mark.
15585
15586 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15587
15588 * sysdeps/mach/start.c: Remove file.
15589 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15590 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15591 * sysdeps/sh/init-first.c: Likewise.
15592
15593 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15594 registers for frame unwinding purposes, add CFI directives.
15595 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15596 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15597 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15598 Likewise.
15599
15600 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15601 __fortify_fail returning.
15602 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15603
15604 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15605 sysdeps/sh/____longjmp_chk.S.
15606 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15607 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15608 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15609 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15610
15611 * sysdeps/sh/abort-instr.h: New file.
15612 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15613 process in case exit returns.
15614
15615 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15616 initialize the GOT register before use.
15617
15618 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15619 calculation of ARGC > 4.
15620
15621 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15622 meaningful names to some local labels.
15623
15624 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15625 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15626
15627 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15628 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15629 (__arch_compare_and_exchange_val_16_acq): Likewise.
15630 (__arch_compare_and_exchange_val_32_acq): Likewise.
15631 (atomic_exchange_and_add): Fix gUSA sequence.
15632 (atomic_add): Likewise.
15633 (atomic_add_negative): Likewise.
15634 (atomic_add_zero): Likewise.
15635 (atomic_bit_test_set): Likewise.
15636
15637 2012-06-22 Andreas Schwab <schwab@redhat.com>
15638
15639 [BZ #13579]
15640 * include/link.h (struct link_map): Add l_free_initfini.
15641 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15642 l_initfini.
15643 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15644 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15645 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15646 set.
15647
15648 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15649
15650 * configure.in: Use AC_LANG_SOURCE.
15651 * configure: Regenerate.
15652
15653 2012-06-22 Roland McGrath <roland@hack.frob.com>
15654
15655 * configure.in (libc_cv_localstatedir): New substituted variable.
15656 * configure: Regenerated.
15657 * config.make.in (localstatedir): New variable, substituted from
15658 libc_cv_localstatedir.
15659 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15660 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15661 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15662 * sysdeps/gnu/configure: Regenerated.
15663
15664 2012-06-21 Jeff Law <law@redhat.com>
15665
15666 [BZ #14277]
15667 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15668 free. Simplify list management for _LIBC case.
15669
15670 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15671
15672 [BZ #14273]
15673 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15674 Clear sign bit of 64-bit integer value before comparing against
15675 overflow value.
15676
15677 * sysdeps/mach/configure: Regenerated.
15678
15679 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15680
15681 [BZ #14278]
15682 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15683
15684 2012-06-21 Jeff Law <law@redhat.com>
15685
15686 [BZ #13882]
15687 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15688 uint16_t for elements in the "seen" array to avoid char overflows.
15689 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15690 * elf/dl-open.c (dl_open_worker): Likewise.
15691
15692 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15693
15694 * scripts/list-sources.sh: Scan PORTS for translations.
15695 * po/libc.pot: Regenerated.
15696
15697 2012-06-21 Andreas Jaeger <aj@suse.de>
15698
15699 [BZ #12194]
15700 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15701 warning.
15702 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15703 * bits/byteswap-16.h (__bswap_16): Likewise.
15704 * bits/byteswap.h (__bswap_constant_16): Likewise.
15705
15706 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15707
15708 [BZ #14117]
15709 * sysdeps/i386/fpu_control.h: Removed.
15710 * sysdeps/x86_64/fpu_control.h: Moved to ...
15711 * sysdeps/x86/fpu_control.h: Here.
15712
15713 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15714 (_FPU_SETCW): Likewise.
15715
15716 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15717
15718 [BZ #14117]
15719 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15720 * sysdeps/x86/fpu/bits/mathinline.h: This.
15721 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15722
15723 [BZ #14050]
15724 [BZ #14117]
15725 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15726 functions if __x86_64__ is defined.
15727
15728 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15729
15730 * string/endian.h: Add !__ASSEMBLER__ condition for including
15731 conversion interfaces.
15732
15733 2012-06-15 Joseph Myers <joseph@codesourcery.com>
15734
15735 [BZ #14241]
15736 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15737 of ABS(x) in calculating zero to negative powers other than odd
15738 integers.
15739 * math/libm-test.inc (pow_test): Add more tests.
15740
15741 2012-06-15 Andreas Jaeger <aj@suse.de>
15742
15743 * manual/contrib.texi (Contributors): Update entry of Liubov
15744 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15745 Machado Filho.
15746
15747 2012-06-15 Cyril Hrubis <metan@ucw.cz>
15748
15749 * string/string.h: Add __wur to GNU version of strerror_r.
15750
15751 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15752
15753 [BZ #14229]
15754 * string/Makefile (tests): Add tst-strtok_r.
15755 * string/tst-strtok_r.c: New file.
15756 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15757 RAX_LP/RDX_LP on SAVE_PTR.
15758
15759 2012-06-14 Roland McGrath <roland@hack.frob.com>
15760
15761 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15762
15763 2012-06-14 Joseph Myers <joseph@codesourcery.com>
15764
15765 * libm_test.inc (csqrt_test): Allow more spurious underflow
15766 exceptions.
15767 (j0_test): Likewise.
15768 (j1_test): Likewise.
15769 (y0_test): Likewise.
15770 (y1_test): Likewise.
15771
15772 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15773
15774 * po/Makefile (libc.pot): Use UTF-8 charset.
15775
15776 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15777
15778 [BZ #14210]
15779 Suppress sign-conversion warning from FD_SET.
15780 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15781 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15782 not unsigned long int.
15783 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15784
15785 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15786
15787 [BZ #14050]
15788 [BZ #14117]
15789 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15790 __extern_always_inline instead of __extern_inline.
15791 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15792 (__signbit): Likewise.
15793 (__signbitl): Support C++ namespace.
15794 (lrintf): New inline function.
15795 (lrint): Likewise.
15796 (llrintf): Likewise.
15797 (llrint): Likewise.
15798 (fmaxf): Likewise.
15799 (fmax): Likewise.
15800 (fminf): Likewise.
15801 (fmin): Likewise.
15802 (rint): Likewise.
15803 (rintf): Likewise.
15804 (ceil): Likewise.
15805 (ceilf): Likewise.
15806 (floor): Likewise.
15807 (floorf): Likewise.
15808 (nearbyint): Likewise.
15809 (nearbyintf): Likewise.
15810
15811 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15812
15813 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15814 non-default versions.
15815
15816 2012-06-11 Roland McGrath <roland@hack.frob.com>
15817
15818 [BZ #14218]
15819 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15820
15821 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15822
15823 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15824 (FE_UPWARD, FE_DOWNWARD): Don't define.
15825 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15826 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15827
15828 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15829 reading it.
15830 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15831 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15832
15833 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15834
15835 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15836 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15837 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15838 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15839
15840 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15841
15842 [BZ #14117]
15843 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15844 * sysdeps/i386/fpu/Implies: New file.
15845 * sysdeps/x86_64/fpu/Implies: Likewise.
15846 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15847 * sysdeps/x86/fpu/bits/fenv.h: This.
15848
15849 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15850 __SSE_MATH__.
15851
15852 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15853
15854 [BZ #14134]
15855 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15856 character 0xffff that matches the last element of the
15857 conversion table.
15858
15859 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15860
15861 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15862 fmodl commit.
15863
15864 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15865
15866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15867 values higher than 25.6283.
15868
15869 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15870
15871 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15872 subnormal exponent extraction and add some __builtin_expect.
15873 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15874 Fix for subnormal mantissa calculation.
15875
15876 2012-06-04 Mike Frysinger <vapier@gentoo.org>
15877
15878 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15879 cpu2 is -1 and errno is not ENOSYS.
15880
15881 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15882
15883 [BZ #14117]
15884 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15885 * sysdeps/x86/bits/string.h: This.
15886 * sysdeps/x86_64/bits/string.h: Removed.
15887
15888 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15889 if not compiling for x86-64, but compiling for >= i486.
15890
15891 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15892 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15893
15894 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15895 New macro from Linux kernel 3.4.0.
15896 (FP_XSTATE_MAGIC2): Likewise.
15897 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15898 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15899 (struct _fpx_sw_bytes): New struct.
15900 (struct _xsave_hdr): Likewise.
15901 (struct _ymmh_state): Likewise.
15902 (struct _xstate): Likewise.
15903
15904 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15905 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15906 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15907 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15908 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15909 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15910
15911 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15912 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15913 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15914 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15915 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15916 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15917
15918 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15919
15920 [BZ #13743]
15921 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15922 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15923 (sysdep_headers): Include sys/platform/ppc.h.
15924 * sysdeps/powerpc/test-gettimebase.c: Test for
15925 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15926 * manual/Makefile (appendices): Include platform.texi.
15927 * manual/contrib.texi (Contributors): Update @node pointers.
15928 * manual/maint.texi (Maintenance): Likewise.
15929 (Platform): New node.
15930 * manual/platform.texi: New file. Document the new features.
15931
15932 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15933 Jakub Jelinek <jakub@redhat.com>
15934
15935 [BZ #14188]
15936 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15937 where __builtin_expect is unavailable.
15938
15939 2012-06-03 David S. Miller <davem@davemloft.net>
15940
15941 * stdlib/longlong.h: Updated from GCC.
15942
15943 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15944
15945 [BZ #14042]
15946 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15947 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15948 __mcount_internal.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15950 (GLIBC_2.16): Likewise.
15951
15952 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15953
15954 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15955
15956 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15957
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15959 (default-abi): New variable.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15961 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15962 variable.
15963 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15964 Likewise.
15965 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15966 Likewise.
15967 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15968 Likewise.
15969
15970 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15971 definition. Document in comment.
15972
15973 2012-06-01 David S. Miller <davem@davemloft.net>
15974
15975 * stdlib/longlong.h: Updated from GCC.
15976
15977 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15978
15979 [BZ #14117]
15980 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15981 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15982 sys/debugreg.h sys/io.h here.
15983 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15984 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15985 sys/io.h.
15986 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15987 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15988 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15989 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15990 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15991 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15992
15993 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15994 Define only if __x86_64__ is defined.
15995
15996 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15997
15998 [BZ #14048]
15999 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16000 Use int64_t for variable i.
16001 * math/libm-test.inc (fmod_test): Add more tests.
16002
16003 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16004 z computation is not scheduled after fetestexcept.
16005 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16006 Use math_force_eval instead of asm to ensure calculation scheduled
16007 before exception test.
16008 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16009 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16010
16011 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16012
16013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16014 computation is not scheduled after fetestexcept.
16015
16016 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16017
16018 [BZ #14117]
16019 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16020 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16021
16022 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16023
16024 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16025 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16026
16027 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16028
16029 [BZ #14117]
16030 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16031 <bits/wordsize.h>.
16032 (__WCHAR_MIN): Support __WORDSIZE == 64.
16033 (__WCHAR_MAX): Likewise.
16034
16035 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16036 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16037
16038 [BZ #14183]
16039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16040 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16041
16042 [BZ #14117]
16043 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16044 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16045
16046 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16047 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16048
16049 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16050 Defined to 1 if __x86_64__ isn't defined.
16051 (_STAT_VER_LINUX_OLD): New.
16052 (st_atime): Remove duplicate.
16053 (st_mtime): Likewise.
16054 (st_ctime): Likewise.
16055
16056 2012-05-31 David S. Miller <davem@davemloft.net>
16057
16058 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16059 entries.
16060
16061 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16062
16063 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16064 gen-libm-test.pl.
16065
16066 [BZ #14132]
16067 * elf/dl-reloc.c: Include <_itoa.h>.
16068 (_dl_reloc_bad_type): Remove use of INTUSE.
16069 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16070 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16071 * stdio-common/psiginfo.c (psiginfo): Likewise.
16072 * stdio-common/psignal.c (psignal): Likewise.
16073 * string/strsignal.c (strsignal): Likewise.
16074 * include/signal.h (_sys_siglist): Declare hidden proto.
16075 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16076 INTVARDEF with libc_hidden_data_def.
16077 * stdio-common/itoa-udigits.c: Likewise.
16078 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16079 (_itoa_lower_digits_internal): Remove declaration.
16080 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16081 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16082 (_sys_sigabbrev_internal): Remove aliases.
16083 (_sys_siglist): Define hidden alias.
16084
16085 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16086
16087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16088 bits/sysctl.h.
16089
16090 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16091
16092 [BZ #14117]
16093 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16094 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16095
16096 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16097 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16098 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16099 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16100 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16101 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16102
16103 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16104 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16105 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16106
16107 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16108 with __addr.
16109 (insw): Likewise.
16110 (insl): Likewise.
16111 (outsb): Likewise.
16112 (outsw): Likewise.
16113 (outsl): Likewise.
16114
16115 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16116 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16117 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16118
16119 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16120 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16121 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16122 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16123 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16124 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16125
16126 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16127 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16128
16129 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16130 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16131
16132 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16133 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16134 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16135
16136 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16137 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16138 to ...
16139 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16140
16141 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16142 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16143 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16144
16145 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16146 for x86-64.
16147 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16148
16149 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16150
16151 * math/math.h (M_El): Use two more decimal places.
16152 (M_LOG2El): Likewise.
16153 (M_LOG10El): Likewise.
16154 (M_LN2l): Likewise.
16155 (M_LN10l): Likewise.
16156 (M_PIl): Likewise.
16157 (M_PI_2l): Likewise.
16158 (M_PI_4l): Likewise.
16159 (M_1_PIl): Likewise.
16160 (M_2_PIl): Likewise.
16161 (M_2_SQRTPIl): Likewise.
16162 (M_SQRT2l): Likewise.
16163 (M_SQRT1_2l): Likewise.
16164
16165 2012-05-31 David S. Miller <davem@davemloft.net>
16166
16167 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16168 values between float registers.
16169 * sysdeps/sparc/sparc64/memset.S: Likewise.
16170 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16171
16172 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16173
16174 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16175 -D_FORTIFY_SOURCE=1.
16176 (CPPFLAGS-tst-longjmp_chk.c): Define.
16177 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16178 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16179 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16180 CFLAGS-tst-wchar-h.c.
16181
16182 2012-05-31 Marek Polacek <polacek@redhat.com>
16183
16184 [BZ #14132]
16185 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16186 __endmntent_internal): Remove declaration.
16187 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16188 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16189 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16190
16191 2012-05-30 David S. Miller <davem@davemloft.net>
16192
16193 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16194 (___Q_simulate_exceptions): Use real FP ops rather than writing
16195 into the %fsr.
16196 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16197 Likewise.
16198
16199 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16200
16201 [BZ #14117]
16202 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16203 * sysdeps/x86/bits/xtitypes.h: This.
16204
16205 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16206 * sysdeps/x86/bits/wordsize.h: This.
16207
16208 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16209 * sysdeps/x86/bits/huge_vall.h: This.
16210
16211 * sysdeps/i386/bits/select.h: Removed.
16212 * sysdeps/x86_64/bits/select.h: Renamed to ...
16213 * sysdeps/x86/bits/select.h: This.
16214
16215 * sysdeps/i386/bits/setjmp.h: Removed.
16216 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16217 * sysdeps/x86/bits/setjmp.h: This.
16218
16219 * sysdeps/i386/bits/mathdef.h: Removed.
16220 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16221 * sysdeps/x86/bits/mathdef.h: This.
16222
16223 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16224
16225 [BZ #14132]
16226 * include/sys/socket.h (__connect_internal)
16227 (__libc_sa_len_internal): Remove declaration.
16228 (__connect, __libc_sa_len): Declare hidden_proto.
16229 (SA_LEN): Remove use of INTUSE.
16230 * socket/connect.c: Add libc_hidden_def.
16231 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16232 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16233 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16234 alias.
16235 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16236 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16237 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16238 of adding _internal alias.
16239
16240 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16241
16242 [BZ #14117]
16243 * sysdeps/i386/bits/link.h: Removed.
16244 * sysdeps/i386/bits/linkmap.h: Likewise.
16245 * sysdeps/x86_64/bits/link.h: Renamed to ...
16246 * sysdeps/x86/bits/link.h: This.
16247 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16248 * sysdeps/x86/bits/linkmap.h: This.
16249
16250 * sysdeps/i386/bits/endian.h: Removed.
16251 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16252 * sysdeps/x86/bits/endian.h: This.
16253
16254 * sysdeps/i386/bits/byteswap.h: Removed.
16255 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16256 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16257 * sysdeps/x86/bits/byteswap.h: This.
16258 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16259 * sysdeps/x86/bits/byteswap-16.h: This.
16260 * sysdeps/i386/Implies: Add x86.
16261 * sysdeps/x86_64/Implies: Likewise.
16262
16263 2012-05-30 David S. Miller <davem@davemloft.net>
16264
16265 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16266 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16267 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16268 (FP_TRAPPING_EXCEPTIONS): Define.
16269 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16270 (FP_TRAPPING_EXCEPTIONS): Define.
16271 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16272 subnormals only when inexact has been signalled or underflow
16273 exceptions are enabled.
16274 (_FP_PACK_CANONICAL): Likewise.
16275
16276 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16277
16278 [BZ #14183]
16279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16280 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16281
16282 2012-05-30 Richard Henderson <rth@twiddle.net>
16283
16284 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16285 with #ifndef NOT_IN_libc.
16286
16287 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16288 marked to avoid plt entry.
16289
16290 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16291
16292 [BZ #14112]
16293 * Makeconfig (default-abi): New macro.
16294 (abi-includes): Likewise.
16295 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16296 $(abi-$(default-abi)-lib-soname) for soname if defined.
16297 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16298 abi-variants.
16299 * Makefile (installed-stubs): Likewise.
16300 * include/stubs-biarch.h: Removed.
16301 * scripts/lib-names.awk: Only handle one library at a time.
16302 * scripts/soversions.awk: Remove WORDSIZE support.
16303 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16304 entries.
16305 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16306 Removed.
16307 (syscall-list-default-condition): Likewise.
16308 (syscall-list-default-condition): Likewise.
16309 (syscall-list-includes): Likewise.
16310 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16311 syscall-list-* with abi-*. Handle undefined abi-variants.
16312 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16313 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16314 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16315 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16316 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16317 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16318 Removed.
16319 (syscall-list-32-options): Likewise.
16320 (syscall-list-32-condition): Likewise.
16321 (syscall-list-64-options): Likewise.
16322 (syscall-list-64-condition): Likewise.
16323 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16324 macro.
16325 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16326 Renamed to ...
16327 (abi-*): This.
16328 (abi-64-ld-soname): New macro.
16329 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16330 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16331 Renamed to ...
16332 (abi-*): This.
16333 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16334 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16335
16336 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16337
16338 * sysdeps/unix/sysv/linux/kernel-features.h
16339 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16340 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16341 include <kernel-features.h>.
16342 [!__NR_ftruncate64]: Remove conditional code.
16343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16344 [__NR_ftruncate64]: Make code unconditional.
16345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16346 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16347 include <kernel-features.h>.
16348 [!__NR_ftruncate64]: Remove conditional code.
16349 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16350 [__NR_ftruncate64]: Make code unconditional.
16351 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16353 include <kernel-features.h>.
16354 [!__NR_ftruncate64]: Remove conditional code.
16355 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16356 [__NR_ftruncate64]: Make code unconditional.
16357 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16359 include <kernel-features.h>.
16360 [!__NR_ftruncate64]: Remove conditional code.
16361 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16362 [__NR_ftruncate64]: Make code unconditional.
16363 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16364
16365 * configure.in (libc_cv_fpie): Weaken to a compile test using
16366 LIBC_TRY_CC_OPTION.
16367 * configure: Regenerated.
16368
16369 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16370
16371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16375 Refreshed.
16376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16382 Refreshed.
16383
16384 2012-05-27 David S. Miller <davem@davemloft.net>
16385
16386 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16387 (___Q_zero): New.
16388 (__Q_simulate_exceptions): Return void. Change to simulate
16389 exceptions by writing into the %fsr.
16390 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16391 (__Qp_handle_exceptions): Likewise.
16392 (numbers): Delete.
16393 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16394 __Qp_handle_exceptions.
16395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16396 __Qp_handle_exceptions.
16397 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16398 as unused and give dummy FP_RND_NEAREST initializer.
16399 (FP_INHIBIT_RESULTS): Define.
16400 (___Q_simulate_exceptions): Update declaration.
16401 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16402 formatting.
16403 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16404 as unused and give dummy FP_RND_NEAREST initializer.
16405 (__Qp_handle_exceptions): Update declaration.
16406 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16407 formatting.
16408
16409 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16410
16411 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16412 the temporary FPU control word.
16413 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16414 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16415 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16416 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16417 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16418 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16419 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16420 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16421 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16422 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16423 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16424
16425 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16426
16427 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16428 fields.
16429
16430 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16431
16432 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16433 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16434 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16435 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16436 Likewise.
16437 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16438 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16439 Likewise.
16440
16441 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16442
16443 * po/h.po: Update from translation team.
16444
16445 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16446
16447 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16448
16449 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16450 handling of denormals.
16451 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16452 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16453 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16454 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16455 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16456 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16458 Likewise.
16459
16460 2012-05-26 Marek Polacek <polacek@redhat.com>
16461
16462 [BZ #14152]
16463 * math/libm-test.inc (fma_test): Don't always expect underflow
16464 exception.
16465
16466 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16467
16468 [BZ #12416]
16469 * elf/tst-execstack.c: Include stackinfo.h.
16470 (do_test): Adjust test case to ensure that pthread_getattr_np
16471 behaviour remains the same after marking stack executable.
16472
16473 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16474
16475 * sysdeps/unix/sysv/linux/kernel-features.h
16476 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16477 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16478 kernel-features.h.
16479 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16480 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16481 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16482 kernel-features.h.
16483 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16484 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16485
16486 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16487
16488 * configure.in: Define the default includes to being none.
16489 * configure: Regenerated.
16490
16491 2012-05-25 Roland McGrath <roland@hack.frob.com>
16492
16493 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16494 * sysdeps/x86_64/setjmp.S: Likewise.
16495 * sysdeps/i386/bsd-setjmp.S: Likewise.
16496 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16497 * sysdeps/i386/setjmp.S: Likewise.
16498 * sysdeps/i386/__longjmp.S: Likewise.
16499 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16500 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16501
16502 * include/stap-probe.h: New file.
16503 * configure.in: Handle --enable-systemtap.
16504 * configure: Regenerated.
16505 * config.h.in (USE_STAP_PROBE): New #undef.
16506 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16507 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16508 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16509
16510 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16511
16512 [BZ #13717]
16513 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16514 to 2.4.0 where earlier.
16515 * sysdeps/unix/sysv/linux/configure: Regenerated.
16516 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16517 <kernel-features.h>.
16518 [__ASSUME_32BITUIDS]: Make code unconditional.
16519 [!__ASSUME_32BITUIDS]: Remove conditional code.
16520 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16521 <kernel-features.h>.
16522 [__ASSUME_32BITUIDS]: Make code unconditional.
16523 [!__ASSUME_32BITUIDS]: Remove conditional code.
16524 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16525 [__ASSUME_32BITUIDS]: Make code unconditional.
16526 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16527 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16528 <kernel-features.h>.
16529 [__ASSUME_32BITUIDS]: Make code unconditional.
16530 [!__ASSUME_32BITUIDS]: Remove conditional code.
16531 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16532 <kernel-features.h>.
16533 [__ASSUME_32BITUIDS]: Make code unconditional.
16534 [!__ASSUME_32BITUIDS]: Remove conditional code.
16535 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16536 <kernel-features.h>.
16537 [__ASSUME_32BITUIDS]: Make code unconditional.
16538 [!__ASSUME_32BITUIDS]: Remove conditional code.
16539 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.c: Do not include
16548 <kernel-features.h>.
16549 [__ASSUME_32BITUIDS]: Make code unconditional.
16550 [!__ASSUME_32BITUIDS]: Remove conditional code.
16551 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16552 <kernel-features.h>.
16553 [__ASSUME_32BITUIDS]: Make code unconditional.
16554 [!__ASSUME_32BITUIDS]: Remove conditional code.
16555 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16556 <kernel-features.h>.
16557 [__ASSUME_32BITUIDS]: Make code unconditional.
16558 [!__ASSUME_32BITUIDS]: Remove conditional code.
16559 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16560 <kernel-features.h>.
16561 [__ASSUME_32BITUIDS]: Make code unconditional.
16562 [!__ASSUME_32BITUIDS]: Remove conditional code.
16563 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16564 <kernel-features.h>.
16565 [__ASSUME_32BITUIDS]: Make code unconditional.
16566 [!__ASSUME_32BITUIDS]: Remove conditional code.
16567 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16568 <kernel-features.h>.
16569 [__NR_setresgid] (__setresgid): Do not declare.
16570 [__ASSUME_32BITUIDS]: Make code unconditional.
16571 [!__ASSUME_32BITUIDS]: Remove conditional code.
16572 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16573 <kernel-features.h>.
16574 [__NR_setresuid] (__setresuid): Do not declare.
16575 [__ASSUME_32BITUIDS]: Make code unconditional.
16576 [!__ASSUME_32BITUIDS]: Remove conditional code.
16577 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16578 <kernel-features.h>.
16579 [__ASSUME_32BITUIDS]: Make code unconditional.
16580 [!__ASSUME_32BITUIDS]: Remove conditional code.
16581 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16582 <kernel-features.h>.
16583 [__ASSUME_32BITUIDS]: Make code unconditional.
16584 [!__ASSUME_32BITUIDS]: Remove conditional code.
16585 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16586 <kernel-features.h>.
16587 [__ASSUME_32BITUIDS]: Make code unconditional.
16588 [!__ASSUME_32BITUIDS]: Remove conditional code.
16589 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16590 <kernel-features.h>.
16591 [__ASSUME_32BITUIDS]: Make code unconditional.
16592 [!__ASSUME_32BITUIDS]: Remove conditional code.
16593 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16594 <kernel-features.h>.
16595 [__ASSUME_32BITUIDS]: Make code unconditional.
16596 [!__ASSUME_32BITUIDS]: Remove conditional code.
16597 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16598 <kernel-features.h>.
16599 [__ASSUME_32BITUIDS]: Make code unconditional.
16600 [!__ASSUME_32BITUIDS]: Remove conditional code.
16601 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16602 <kernel-features.h>.
16603 [__ASSUME_32BITUIDS]: Make code unconditional.
16604 [!__ASSUME_32BITUIDS]: Remove conditional code.
16605 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16606 <kernel-features.h>.
16607 [__ASSUME_32BITUIDS]: Make code unconditional.
16608 [!__ASSUME_32BITUIDS]: Remove conditional code.
16609 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16610 <kernel-features.h>.
16611 [__ASSUME_32BITUIDS]: Make code unconditional.
16612 [!__ASSUME_32BITUIDS]: Remove conditional code.
16613 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16614 <kernel-features.h>.
16615 [__ASSUME_32BITUIDS]: Make code unconditional.
16616 [!__ASSUME_32BITUIDS]: Remove conditional code.
16617 * sysdeps/unix/sysv/linux/kernel-features.h
16618 (__ASSUME_SETRESUID_SYSCALL): Remove.
16619 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16620 (__ASSUME_32BITUIDS): Likewise.
16621 (__ASSUME_LDT_WORKS): Likewise.
16622 (__ASSUME_O_DIRECTORY): Likewise.
16623 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16624 architecture but not kernel version.
16625 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16626 (__ASSUME_MMAP2_SYSCALL): Likewise.
16627 (__ASSUME_STAT64_SYSCALL): Likewise.
16628 (__ASSUME_IPC64): Likewise.
16629 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16630 <kernel-features.h>.
16631 [__ASSUME_32BITUIDS]: Make code unconditional.
16632 [!__ASSUME_32BITUIDS]: Remove conditional code.
16633 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16634 <kernel-features.h>.
16635 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16636 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16637 132096]: Remove conditional code.
16638 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16639 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16640 <kernel-features.h>.
16641 [__ASSUME_32BITUIDS]: Make code unconditional.
16642 [!__ASSUME_32BITUIDS]: Remove conditional code.
16643 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16644 <kernel-features.h>.
16645 [__ASSUME_32BITUIDS]: Make code unconditional.
16646 [!__ASSUME_32BITUIDS]: Remove conditional code.
16647 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16648 <kernel-features.h>.
16649 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16650 unconditional.
16651 (__setresgid): Do not declare.
16652 [__ASSUME_32BITUIDS]: Make code unconditional.
16653 [!__ASSUME_32BITUIDS]: Remove conditional code.
16654 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16655 <kernel-features.h>.
16656 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16657 unconditional.
16658 (__setresuid): Do not declare.
16659 [__ASSUME_32BITUIDS]: Make code unconditional.
16660 [!__ASSUME_32BITUIDS]: Remove conditional code.
16661 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16662 <kernel-features.h>.
16663 [__ASSUME_32BITUIDS]: Make code unconditional.
16664 [!__ASSUME_32BITUIDS]: Remove conditional code.
16665 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16666 <kernel-features.h>.
16667 [__ASSUME_32BITUIDS]: Make code unconditional.
16668 [!__ASSUME_32BITUIDS]: Remove conditional code.
16669
16670 2012-05-25 Richard Henderson <rth@twiddle.net>
16671
16672 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16673 dl_hwcap to ifunc resolver.
16674 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16675 elf_ifunc_invoke.
16676 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16677 dl_hwcap to ifunc resolver.
16678 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16679
16680 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16681
16682 [BZ #14153]
16683 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16684 for |x| <= 2**-26, not 2**-57.
16685 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16686 exception.
16687
16688 2012-05-24 Jeff Law <law@redhat.com>
16689
16690 * stdio-common/Makefile (tests): Add bug25.
16691 * stdio-common/bug25.c: New test.
16692
16693 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16694
16695 [BZ #13576]
16696 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16697 multiple of MALLOC_ALIGNMENT in size.
16698 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16699
16700 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16701
16702 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16703 Require >= 256.
16704 (FILENAME_MAX): Use macro-int-constant.
16705 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16706 (_IOFBF): Use macro-int-constant.
16707 (_IOLBF): Likewise.
16708 (_IONBF): Likewise.
16709 (SEEK_CUR): Likewise.
16710 (SEEK_END): Likewise.
16711 (SEEK_SET): Likewise.
16712 (TMP_MAX): Likewise.
16713 (EOF): Use macro-int-constant. Require < 0.
16714 (NULL): Use macro-constant. Require == 0.
16715 (stdin): Require type to be FILE *.
16716 (stdout): Likewise.
16717 (stderr): Likewise.
16718 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16719 macro-int-constant.
16720 (EXIT_SUCCESS): Likewise.
16721 (NULL): Use macro-constant. Require == 0.
16722 (RAND_MAX): Use macro-int-constant.
16723 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16724 [C99-based standards] (strtof): Require function.
16725 [C99-based standards] (strtold): Likewise.
16726 [C99-based standards] (strtoll): Likewise.
16727 [C99-based standards] (strtoull): Likewise.
16728 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16729 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16730 [ISO || ISO99 || ISO11] (math.h): Likewise.
16731 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16732 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16734
16735 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16736
16737 [BZ #14132]
16738 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16739 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16740 * intl/dgettext.c (DCGETTEXT): Likewise.
16741 * intl/gettext.c (DCGETTEXT): Likewise.
16742 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16743 * posix/regex_internal.h (gettext): Likewise.
16744 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16745 Remove declaration.
16746 * include/argz.h (__argz_count_internal)
16747 (__argz_stringify_internal): Remove declaration.
16748 (__argz_count, __argz_stringify): Declare hidden proto.
16749 * intl/dcgettext.c: Remove use of INTDEF.
16750 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16751 * string/argz-stringify.c: Likewise.
16752 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16753 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16754 Declare hidden proto.
16755 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16756 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16757 Declare hidden proto.
16758 * include/stdio.h (__asprintf_internal): Don't declare.
16759 (__asprintf): Don't define as macro. Declare hidden proto.
16760 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16761 (__fsetlocking): Declare hidden proto.
16762 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16763 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16764 hidden proto.
16765 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16766 (_IO_setlinebuf): Remove use of INTUSE.
16767 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16768 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16769 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16770 Remove declaration.
16771 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16772 (_IO_do_flush): Remove use of INTUSE.
16773 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16774 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16775 (_IO_adjust_column, _IO_least_wmarker)
16776 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16777 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16778 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16779 (_IO_default_doallocate, _IO_wdefault_doallocate)
16780 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16781 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16782 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16783 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16784 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16785 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16786 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16787 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16788 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16789 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16790 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16791 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16792 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16793 proto.
16794 (_IO_flush_all_internal, _IO_adjust_column_internal)
16795 (_IO_default_uflow_internal, _IO_default_finish_internal)
16796 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16797 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16798 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16799 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16800 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16801 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16802 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16803 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16804 (_IO_file_close_internal, _IO_file_close_it_internal)
16805 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16806 (_IO_file_init_internal, _IO_file_attach_internal)
16807 (_IO_file_fopen_internal, _IO_file_read_internal)
16808 (_IO_file_sync_internal, _IO_file_seek_internal)
16809 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16810 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16811 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16812 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16813 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16814 (_IO_list_all_internal, _IO_link_in_internal)
16815 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16816 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16817 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16818 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16819 (_IO_do_write_internal, _IO_padn_internal)
16820 (_IO_getline_info_internal, _IO_getline_internal)
16821 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16822 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16823 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16824 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16825 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16826 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16827 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16828 with libc_hidden_ver, remove use of INTUSE.
16829 * libio/genops.c: Likewise.
16830 * libio/freopen.c: Likewise.
16831 * libio/freopen64.c: Likewise.
16832 * libio/iofclose.c: Likewise.
16833 * libio/iofdopen.c: Likewise.
16834 * libio/iofflush.c: Likewise.
16835 * libio/iofflush_u.c: Likewise.
16836 * libio/iofgets.c: Likewise.
16837 * libio/iofgets_u.c: Likewise.
16838 * libio/iofopen.c: Likewise.
16839 * libio/iofopncook.c: Likewise.
16840 * libio/iofread.c: Likewise.
16841 * libio/iofread_u.c: Likewise.
16842 * libio/ioftell.c: Likewise.
16843 * libio/iofwrite.c: Likewise.
16844 * libio/iogetline.c: Likewise.
16845 * libio/iogets.c: Likewise.
16846 * libio/iogetwline.c: Likewise.
16847 * libio/iopadn.c: Likewise.
16848 * libio/iopopen.c: Likewise.
16849 * libio/ioseekoff.c: Likewise.
16850 * libio/ioseekpos.c: Likewise.
16851 * libio/iosetbuffer.c: Likewise.
16852 * libio/iosetvbuf.c: Likewise.
16853 * libio/ioungetc.c: Likewise.
16854 * libio/ioungetwc.c: Likewise.
16855 * libio/iovdprintf.c: Likewise.
16856 * libio/iovsprintf.c: Likewise.
16857 * libio/iovsscanf.c: Likewise.
16858 * libio/memstream.c: Likewise.
16859 * libio/obprintf.c: Likewise.
16860 * libio/oldfileops.c: Likewise.
16861 * libio/oldiofclose.c: Likewise.
16862 * libio/oldiofdopen.c: Likewise.
16863 * libio/oldiofopen.c: Likewise.
16864 * libio/oldiopopen.c: Likewise.
16865 * libio/oldstdfiles.c: Likewise.
16866 * libio/putc.c: Likewise.
16867 * libio/setbuf.c: Likewise.
16868 * libio/setlinebuf.c: Likewise.
16869 * libio/stdfiles.c: Likewise.
16870 * libio/strops.c: Likewise.
16871 * libio/vasprintf.c: Likewise.
16872 * libio/vscanf.c: Likewise.
16873 * libio/vsnprintf.c: Likewise.
16874 * libio/vswprintf.c: Likewise.
16875 * libio/wfiledoalloc.c: Likewise.
16876 * libio/wfileops.c: Likewise.
16877 * libio/wgenops.c: Likewise.
16878 * libio/wmemstream.c: Likewise.
16879 * libio/wstrops.c: Likewise.
16880 * libio/__fpurge.c: Likewise.
16881 * libio/__fsetlocking.c: Likewise.
16882 * assert/assert.c: Likewise.
16883 * debug/fgets_chk.c: Likewise.
16884 * debug/fgets_u_chk.c: Likewise.
16885 * debug/fread_chk.c: Likewise.
16886 * debug/fread_u_chk.c: Likewise.
16887 * debug/gets_chk.c: Likewise.
16888 * debug/obprintf_chk.c: Likewise.
16889 * debug/vasprintf_chk.c: Likewise.
16890 * debug/vdprintf_chk.c: Likewise.
16891 * debug/vsnprintf_chk.c: Likewise.
16892 * debug/vsprintf_chk.c: Likewise.
16893 * malloc/mtrace.c: Likewise.
16894 * misc/error.c: Likewise.
16895 * misc/syslog.c: Likewise.
16896 * stdio-common/asprintf.c: Likewise.
16897 * stdio-common/fxprintf.c: Likewise.
16898 * stdio-common/getw.c: Likewise.
16899 * stdio-common/isoc99_fscanf.c: Likewise.
16900 * stdio-common/isoc99_scanf.c: Likewise.
16901 * stdio-common/isoc99_vfscanf.c: Likewise.
16902 * stdio-common/isoc99_vscanf.c: Likewise.
16903 * stdio-common/isoc99_vsscanf.c: Likewise.
16904 * stdio-common/printf-prs.c: Likewise.
16905 * stdio-common/printf_fp.c: Likewise.
16906 * stdio-common/printf_fphex.c: Likewise.
16907 * stdio-common/printf_size.c: Likewise.
16908 * stdio-common/putw.c: Likewise.
16909 * stdio-common/scanf.c: Likewise.
16910 * stdio-common/sprintf.c: Likewise.
16911 * stdio-common/tmpfile.c: Likewise.
16912 * stdio-common/vfprintf.c: Likewise.
16913 * stdio-common/vfscanf.c: Likewise.
16914 * stdlib/strfmon_l.c: Likewise.
16915 * sunrpc/openchild.c: Likewise.
16916 * sunrpc/xdr_stdio.c: Likewise.
16917 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16918 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16919
16920 2012-05-24 Roland McGrath <roland@hack.frob.com>
16921
16922 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16923
16924 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16925 in the third column, to generate for the shared library an IFUNC
16926 that uses _dl_vdso_vsym.
16927 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16928 * Makeconfig (object-suffixes-noshared): New variable.
16929
16930 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16931 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16932 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16933 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16934
16935 [BZ #14132]
16936 * include/sys/time.h (__gettimeofday): Remove macro.
16937 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16938 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16939 Remove INTDEF.
16940 (__gettimeofday): Add libc_hidden_def.
16941 (gettimeofday): Add libc_hidden_weak.
16942 * sysdeps/mach/gettimeofday.c: Likewise.
16943 * sysdeps/posix/gettimeofday.c: Likewise.
16944 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16945 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16946 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16947 (__gettimeofday_internal): Remove strong_alias.
16948 (__gettimeofday): Add libc_hidden_def.
16949 (gettimeofday): Add libc_hidden_weak.
16950 * sysdeps/unix/syscalls.list (gettimeofday):
16951 Remove __gettimeofday_internal alias.
16952
16953 2012-05-24 Daniel Jacobowitz <drow@false.org>
16954 H.J. Lu <hongjiu.lu@intel.com>
16955
16956 [BZ #12495]
16957 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16958 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16959 (largebin_index_32_big): New.
16960 (largebin_index): Use it for 16-byte alignment.
16961 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16962 correction with front_misalign.
16963
16964 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16965
16966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16968 Likewise.
16969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16970 Likewise.
16971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16972 Likewise.
16973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16974 Likewise.
16975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16976 Likewise.
16977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16978 Likewise.
16979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16980 Likewise.
16981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16982 Likewise.
16983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16984 Likewise.
16985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16986 Likewise.
16987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16988 Likewise.
16989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16990 Likewise.
16991
16992 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16993 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16994
16995 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16996
16997 [BZ #10846]
16998 [BZ #14036]
16999 * math/libm-test.inc (exp_test): Add test from bug 14036.
17000 (pow_test): Add test from bug 10846.
17001
17002 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17003 and other flags.
17004 (special_function): Do not include flags in test name.
17005 (parse_args): Likewise.
17006 * sysdeps/i386/fpu/libm-test-ulps: Update.
17007 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17008 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17009 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17011
17012 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17013 exceptions.
17014 * math/libm-test.inc ("Philosophy"): Update comment about
17015 exception testing.
17016 (UNDERFLOW_EXCEPTION): New macro.
17017 (UNDERFLOW_EXCEPTION_OK): Likewise.
17018 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17019 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17020 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17021 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17022 (INVALID_EXCEPTION_OK): Update value.
17023 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17024 (OVERFLOW_EXCEPTION_OK): Likewise.
17025 (IGNORE_ZERO_INF_SIGN): Likewise.
17026 (test_exceptions): Handle underflow exceptions.
17027 (acos_test): Update for underflow exception expectations.
17028 (cexp_test): Likewise.
17029 (clog_test): Likewise.
17030 (clog10_test): Likewise.
17031 (csqrt_test): Likewise.
17032 (ctan_test): Likewise.
17033 (ctanh_test): Likewise.
17034 (exp_test): Likewise.
17035 (exp10_test): Likewise.
17036 (exp2_test): Likewise.
17037 (expm1_test): Likewise.
17038 (fma_test): Likewise.
17039 (j0_test): Likewise.
17040 (jn_test): Likewise.
17041 (nexttoward_test): Likewise.
17042 (pow_test): Likewise.
17043 (scalbn_test): Likewise.
17044 (scalbln_test): Likewise.
17045 (tan_test): Likewise.
17046 (y1_test): Likewise.
17047 * sysdeps/i386/fpu/libm-test-ulps: Update.
17048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17049
17050 2012-05-23 David S. Miller <davem@davemloft.net>
17051
17052 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17053 (__libc_sigaction): Remove unused local variables.
17054
17055 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17056
17057 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17058
17059 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17060
17061 mktime: avoid signed integer overflow
17062 * time/mktime.c (__mktime_internal): Do not mishandle the case
17063 where diff == INT_MIN.
17064
17065 mktime: simplify computation of average
17066 * time/mktime.c (ranged_convert): Use new time_t_avg function
17067 instead of rolling our own (probably-slower) code.
17068
17069 mktime: do not assume signed right shift propagates sign bit
17070 * time/mktime.c (isdst_differ): New static function.
17071 (__mktime_internal): No need to normalize tm_isdst now.
17072 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17073 tm_isdst values.
17074
17075 mktime: merge another wrapv change from gnulib
17076 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17077 from some compilers.
17078
17079 mktime: remove incorrect attempt at unusual arithmetics
17080 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17081 The code didn't really work on such machines anyway.
17082 (TYPE_MINIMUM): Assume two's complement.
17083 (twos_complement_arithmetic): Verify that long_int and time_t
17084 are two's complement (or unsigned, in the latter case).
17085
17086 mktime: check signed shifts on long_int and time_t, too
17087 * time/mktime.c (SHR): Check that shifts work as desired
17088 on the types long_int and time_t too, as SHR is used on
17089 such types.
17090
17091 mktime: do not assume 'long' is wide enough
17092 * time/mktime.c (verify): Move decl up.
17093 (long_int): New type.
17094 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17095 to remove assumption in the code that 'long' is wide enough to
17096 store year values. This assumption is not true on x32 and on
17097 some non-glibc platforms.
17098
17099 mktime: merge wrapv change from gnulib
17100 * time/mktime.c (WRAPV): New macro.
17101 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17102 (guess_time_tm, __mktime_internal): Do not assume that signed
17103 integer overflow wraps around; modern compilers generate code
17104 where this assumption is no longer valid.
17105
17106 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17107
17108 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17109 Replace "jmp L(pseudo_end)" with "ret".
17110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17111 Likewise.
17112
17113 2012-05-23 Andreas Jaeger <aj@suse.de>
17114
17115 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17116 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17117
17118 2012-05-23 Andreas Jaeger <aj@suse.de>
17119 Maximilian Attems <max@stro.at>
17120
17121 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17122 New macros.
17123
17124 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17125
17126 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17127 code so that pseudo_end is just ret and the stack pointer is
17128 correct also for static library in error case.
17129
17130 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17131
17132 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17133 move to syscalls.list.
17134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17138
17139 * manual/install.texi (Running make install): Do not mention Linux
17140 kernel version for which pt_chown is not needed.
17141 (Linux): Do not mention problems with nscd with 2.0 kernels.
17142 * INSTALL: Regenerated.
17143
17144 2012-05-23 Andreas Jaeger <aj@suse.de>
17145
17146 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17147 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17148 macro.
17149 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17151 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17152 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17153 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17154 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17155 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17157 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17159 * sysdeps/unix/sysv/linux/bits/in.h
17160 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17161
17162 2012-05-22 Roland McGrath <roland@hack.frob.com>
17163
17164 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17165 (PREPARE_VERSION): Just use assert instead, it will be elided
17166 under [NDEBUG] anyway.
17167
17168 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17169
17170 * sysdeps/unix/sysv/linux/Makefile: Include
17171 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17172 (sysdep_routines): Remove sysctl.
17173 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17174 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17175 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17176 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17177 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17178
17179 2012-05-22 Andreas Jaeger <aj@suse.de>
17180
17181 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17182 that pseudo_end is just ret and the stack pointer is correct also
17183 for static library in error case.
17184
17185 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17186
17187 [BZ #14122]
17188 * nss/nsswitch.c (defconfig_entries): New variable.
17189 (__nss_database_lookup): Don't leak defconfig entries.
17190 (nss_parse_service_list): Don't leak on error paths.
17191 (free_database_entries): New function.
17192 (free_defconfig): New function.
17193 (free_mem): Move common code to free_database_entries.
17194
17195 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17196
17197 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17198 Add arch_prctl.
17199 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17200
17201 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17202 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17204 New macro.
17205 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17206 (INTERNAL_SYSCALL_TYPES): Likewise.
17207 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17208 (LOAD_REGS_TYPES_[1-6]): Likewise.
17209 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17210 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17211
17212 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17213
17214 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17215 copysignl for GLIBC_2_0.
17216 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17217 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17219 logbl for GLIBC_2_0.
17220 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17221 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17222
17223 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17224
17225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17226 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17227
17228 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17229 Use "neg %eax".
17230
17231 * time/mktime.c: Update copyright years.
17232
17233 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17234
17235 mktime: merge comment-quoting-style change from gnulib
17236 * time/mktime.c: Quote 'like this' in comments.
17237 The GNU coding standards suggest that we no longer quote `like this',
17238 as "`" and "'" are typically rendered asymmetrically nowadays.
17239 The typical gnulib style is to quote 'like this' when quoting
17240 code, and "like this" when quoting English.
17241
17242 * time/mktime.c (compile-command): Add "-I.".
17243
17244 mktime: merge mktime-internal.h change from gnulib
17245 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17246
17247 mktime: merge time_r change from gnulib
17248 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17249
17250 mktime: merge DEBUG change from gnulib
17251 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17252 case system <time.h> has a #define.
17253
17254 mktime: merge <sys/types.h> change from gnulib
17255 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17256 since <time.t> is now guaranteed to define time_t.
17257
17258 mktime: merge HAVE_CONFIG_H change from gnulib
17259 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17260
17261 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17262
17263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17264 Use "neg %eax".
17265
17266 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17267 __rlim_t cast.
17268 (struct rusage): Use anonymous union to pad each field to
17269 __syscall_slong_t.
17270
17271 2012-05-21 David S. Miller <davem@davemloft.net>
17272
17273 * Makefules (o-iterator): Remove .s cases.
17274 (compile-command.s): Delete.
17275 (COMPILE.s): Delete.
17276 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17277
17278 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17279
17280 * configure.in (libc_cv_predef_stack_protector): Only consider
17281 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17282 * configure: Regenerated.
17283
17284 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17285
17286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17287 New macro. Use R*LP on int and pointer.
17288 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17289 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17290 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17291 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17292
17293 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17294 [__WORDSIZE_TIME64_COMPAT32] instead of
17295 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17296 (struct utmp): Likewise.
17297 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17298 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17299 Renamed to ...
17300 (__WORDSIZE_TIME64_COMPAT32): This.
17301 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17302 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17303 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17304 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17305 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17306 (__WORDSIZE_TIME64_COMPAT32): New macro.
17307
17308 2012-05-21 Andreas Jaeger <aj@suse.de>
17309
17310 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17311 only if [SHARED]. Add prototype for __wcschr_ia32.
17312
17313 2012-05-21 Roland McGrath <roland@hack.frob.com>
17314
17315 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17316 of %rbp unmolested in the jmp_buf while mangling the low bits.
17317 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17318 unmolested high bits of %rbp while demangling the low bits.
17319 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17320
17321 2012-05-21 Andreas Jaeger <aj@suse.de>
17322
17323 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17324 * sunrpc/svc_simple.c: Use it for registerrpc.
17325 * sunrpc/xcrypt.c: Use it for passwd2des.
17326
17327 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17328
17329 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17330
17331 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17332 Don't define if [__SYSCALL_WORDSIZE != 32].
17333 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17334 New macro.
17335
17336 2012-05-21 Bruno Haible <bruno@clisp.org>
17337 Andreas Jaeger <aj@suse.de>
17338
17339 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17340 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17341 inptr and inend for must_buffer_ch.
17342 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17343 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17344 * stdio-common/Makefile (tests): Remove bug15.
17345 (bug15-ENV): Remove macro.
17346 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17347 anymore.
17348
17349 2012-05-19 Andreas Jaeger <aj@suse.de>
17350 Roland McGrath <roland@hack.frob.com>
17351
17352 * manual/contrib.texi: Completely rewritten. It contains now an
17353 alphabetical list of contributors and their contributions.
17354
17355 2012-05-21 Richard Henderson <rth@twiddle.net>
17356
17357 * misc/getauxval.c (__getauxval): Use unsigned long int.
17358 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17359 (getauxval): Use unsigned long int.
17360
17361 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17362
17363 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17364
17365 2012-05-21 Roland McGrath <roland@hack.frob.com>
17366
17367 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17368 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17369 __alignof__ (long double).
17370
17371 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17372
17373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17374
17375 2012-05-20 Richard Henderson <rth@twiddle.net>
17376
17377 * misc/getauxval.c: New file.
17378 * misc/sys/auxv.h: New file.
17379 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17380 (routines): Add getauxval.
17381 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17382 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17383 * elf/dl-sysdep.c (_dl_auxv): Remove.
17384 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17385 * elf/dl-support.c (_dl_auxv): New variable.
17386 (_dl_aux_init): Initialize it.
17387 * manual/startup.texi (Auxiliary Vector): New node.
17388 * sysdeps/generic/bits/hwcap.h: New file.
17389 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17390 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17391 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17392 * sysdeps/sparc/sysdep.h: ... here. Include it.
17393 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17394 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17396 Update.
17397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17400 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17405
17406 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17407
17408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17409
17410 2012-05-19 David S. Miller <davem@davemloft.net>
17411
17412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17413
17414 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17415
17416 [BZ #14123]
17417 * math/s_ccosh.c: Include <float.h>
17418 (__ccosh): Avoid internal overflow calculating sinh and cosh
17419 values before multiplying by sin and cos values.
17420 * math/s_ccoshf.c: Likewise.
17421 * math/s_ccoshl.c: Likewise.
17422 * math/s_csin.c: Likewise.
17423 * math/s_csinf.c: Likewise.
17424 * math/s_csinl.c: Likewise.
17425 * math/s_csinh.c: Likewise.
17426 * math/s_csinhf.c: Likewise.
17427 * math/s_csinhl.c: Likewise.
17428 * math/libm-test.inc (ccos_test): Add more tests.
17429 (ccosh_test): Likewise.
17430 (csin_test): Likewise.
17431 (csinh_test): Likewise.
17432 * sysdeps/i386/fpu/libm-test-ulps: Update.
17433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17434
17435 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17436
17437 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17438 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17439
17440 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17441
17442 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17443
17444 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17445 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17446 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17447 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17448 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17449 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17450 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17451 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17452 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17453 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17454 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17455 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17456 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17457 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17458 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17459 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17460 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17461 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17462 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17463 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17464 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17465 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17466 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17467 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17468 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17469 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17470 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17471 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17472 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17473 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17474 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17475
17476 2012-05-18 Andreas Jaeger <aj@suse.de>
17477
17478 * csu/.gitignore: Delete.
17479
17480 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17481
17482 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17483 (timex): Use __syscall_slong_t.
17484
17485 2012-05-18 Andreas Jaeger <aj@suse.de>
17486 Carlos O'Donell <carlos_odonell@mentor.com>
17487
17488 * manual/install.texi (Configuring and compiling): Update
17489 description about files modified in the source directory.
17490 * INSTALL: Regenerated.
17491
17492 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17493
17494 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17495 value. Use "or" to set return value to -1.
17496 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17497 negate return value.
17498
17499 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17500
17501 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17502 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17503 failure if the compiler has Graphite support disabled.
17504 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17505 Likewise.
17506 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17507 CFLAGS-memmove.c): Likewise.
17508 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17509 Likewise.
17510
17511 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17512
17513 * sysdeps/x86_64/x32/_itoa.h: New file.
17514
17515 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17516 getdents system call only if kernel and user dirents have the
17517 same d_ino and d_off.
17518
17519 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17520 LLONG_MAX != LONG_MAX.
17521 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17522 (_fitoa_word): Likewise.
17523
17524 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17525 years.
17526 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17527 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17528 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17529
17530 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17531 include <bits/wordsize.h>. Check __x86_64__ instead of
17532 __WORDSIZE.
17533 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17534 if __x86_64__ is defined. Use anonymous union on fpstate.
17535
17536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17537 anonymous union.
17538
17539 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17540
17541 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17542 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17543 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17544 Refer to _rtld_local_ro instead of _rtld_global_ro.
17545 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17546 Likewise.
17547 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17548 Likewise.
17549 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17550 Likewise.
17551 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17552 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17553 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17554
17555 * sysdeps/powerpc/powerpc32/dl-machine.c
17556 (__elf_machine_runtime_setup) [PROF]: Don't reference
17557 _dl_prof_resolve.
17558
17559 2012-05-18 Andreas Jaeger <aj@suse.de>
17560
17561 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17562 function only available for GCCs before 3.4 since GCC 3.4
17563 introduced a builtin.
17564 (lrint): Likewise.
17565 (llrintf): Likewise.
17566 (llrint): Likewise.
17567 (fmaxf): Likewise.
17568 (fmax): Likewise.
17569 (fminf): Likewise.
17570 (fmin): Likewise.
17571 (rint): Likewise.
17572 (rintf): Likewise.
17573 (nearbyint): Likewise.
17574 (nearbyintf): Likewise.
17575 (ceil): Likewise.
17576 (ceilf): Likewise.
17577 (floor): Likewise.
17578 (floorf): Likewise.
17579
17580 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17581
17582 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17583 on both fields and cast pointer to __syscall_ulong_t.
17584
17585 * bits/types.h (__fsword_t): New type.
17586 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17587 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17589 (__FSWORD_T_TYPE): Likewise.
17590 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17591 (__FSWORD_T_TYPE): Likewise.
17592 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17593 (__FSWORD_T_TYPE): Likewise.
17594 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17595 (__FSWORD_T_TYPE): Likewise.
17596 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17597 __SWORD_TYPE with __fsword_t.
17598 (statfs64): Likewise.
17599
17600 2012-05-17 David S. Miller <davem@davemloft.net>
17601
17602 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17603
17604 2012-05-17 Andreas Jaeger <aj@suse.de>
17605
17606 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17607 warning.
17608
17609 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17610
17611 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17612
17613 2012-05-17 Andreas Jaeger <aj@suse.de>
17614
17615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17616 when it is used.
17617
17618 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17619
17620 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17621
17622 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17623
17624 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17625 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17626
17627 2012-05-17 Andreas Jaeger <aj@suse.de>
17628 Carlos O'Donell <carlos_odonell@mentor.com>
17629
17630 [BZ #14059]
17631 * sysdeps/x86_64/multiarch/init-arch.h
17632 (bit_YMM_Usable): Rename to...
17633 (bit_AVX_Usable): ... this.
17634 (bit_FMA4_Usable): New macro.
17635 (bit_XMM_state): New macro.
17636 (bit_YMM_state): New macro.
17637 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17638 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17639 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17640 (CPUID_OSXSAVE): New macro.
17641 (CPUID_AVX): New macro.
17642 (CPUID_FMA4): New macro.
17643 (index_YMM_Usable): Rename to...
17644 (index_AVX_Usable): ... this.
17645 (HAS_AVX): Use HAS_ARCH_FEATURE.
17646 (HAS_FMA4): Likewise.
17647 (HAS_YMM_USABLE): Remove.
17648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17649 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17650 are present.
17651 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17652 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17653 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17654 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17655 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17656
17657 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17658
17659 * math/libm-test.c: Support platforms without multiple rounding modes.
17660 * math/bug-nextafter.c: Support platforms without FP exceptions.
17661 * math/bug-nexttoward.c: Likewise.
17662 * math/test-fenv.c: Likewise.
17663 * math/test-misc.c: Likewise.
17664 * stdlib/bug-getcontext.c: Likewise.
17665
17666 2012-05-17 Andreas Jaeger <aj@suse.de>
17667
17668 * manual/examples/search.c (critter_cmp): Change signature to
17669 avoid warnings.
17670 * manual/string.texi (Collation Functions): Likewise.
17671
17672 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17673
17674 * bits/types.h: Fold copyright years.
17675 * bits/typesizes.h: Likewise.
17676 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17680 * time/time.h: Likewise.
17681
17682 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17683
17684 [BZ #208]
17685 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17686 in instead of returning them. Return void.
17687 (__libc_mallinfo): Accumulate over all arenas.
17688 (__malloc_stats): Adjust for change in int_mallinfo interface.
17689
17690 2012-05-16 Roland McGrath <roland@hack.frob.com>
17691
17692 [BZ #10375]
17693 * configure.in (NM): Add AC_CHECK_TOOL for it.
17694 (libc_extra_cflags): New substituted variable.
17695 Check for -fstack-protector being used implicitly.
17696 * configure: Regenerated.
17697 * config.make.in (config-extra-cflags): New variable,
17698 gets @libc_extra_cflags@.
17699 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17700
17701 [BZ #10375]
17702 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17703 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17704 * configure: Regenerated.
17705 * config.make.in (CPPUNDEFS): New substituted variable.
17706 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17707 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17708 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17709
17710 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17711
17712 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17713 (mq_attr): Use __syscall_slong_t.
17714
17715 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17716
17717 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17718 Check __x86_64__ instead of __WORDSIZE.
17719 (_STAT_VER_LINUX): Likewise.
17720 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17721 __syscall_ulong_t and __syscall_slong_t.
17722 (stat64): Likewise.
17723
17724 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17725
17726 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17727
17728 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17729
17730 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17731
17732 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17733
17734 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17735 __syscall_ulong_t.
17736
17737 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17738 include <bits/wordsize.h>. Check __x86_64__ instead of
17739 __WORDSIZE.
17740 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17741 defined.
17742 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17743
17744 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17745 include <bits/wordsize.h>. Check __x86_64__ instead of
17746 __WORDSIZE.
17747 (user_regs_struct): Use "__extension__ unsigned long long"
17748 instead of "unsigned long" if __x86_64__ is defined.
17749 (user): Likewise. Pad after pointer field if __ILP32__ is
17750 defined.
17751
17752 2012-05-16 Joseph Myers <joseph@codesourcery.com>
17753
17754 * configure.in (makeinfo): Require version 4.5 or later. Allow
17755 versions 5 to 9.
17756 * configure: Regenerated.
17757 * manual/install.texi (texinfo): Increase version requirement to
17758 4.5 or later.
17759 * INSTALL: Regenerated.
17760
17761 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17762
17763 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17766
17767 * sysdeps/x86_64/x32/ffs.c: New file.
17768
17769 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17770 __syscall_ulong_t.
17771 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17772 defined. Use __syscall_ulong_t.
17773 (shminfo): Use __syscall_ulong_t.
17774 (shm_info): Likewise.
17775
17776 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17777 __syscall_ulong_t.
17778
17779 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17780 <bits/wordsize.h>.
17781 (msgqnum_t): Use __syscall_ulong_t.
17782 (msglen_t): Likewise.
17783 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17784 __syscall_ulong_t.
17785
17786 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17787 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17788
17789 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17790
17791 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17792 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17793
17794 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17795 __syscall_slong_t.
17796
17797 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17798 include <bits/wordsize.h>. Check __x86_64__ instead of
17799 __WORDSIZE.
17800
17801 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17802 "unsigned long long int" if __x86_64__ is defined.
17803 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17804
17805 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17806 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17807 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17808
17809 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17810 <stdint.h>.
17811 (GET_PC): Cast to uintptr_t first.
17812 (GET_FRAME): Likewise.
17813 (GET_STACK): Likewise.
17814
17815 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17816 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17817 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17818 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17819 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17820 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17821 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17822 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17823 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17824 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17825 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17826 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17827 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17828 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17829 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17830 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17831 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17832 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17833 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17834 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17835 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17836 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17837 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17838 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17839 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17840 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17841 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17842 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17843 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17844
17845 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17846
17847 * Makerules (+depfiles): Also collect depfiles from .oS in
17848 $(extra-objs).
17849 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17850 .oS, $(libnldbl-routines)).
17851
17852 * Makerules (native-compile-mkdep-flags): Define.
17853 * sunrpc/Makefile (extra-objs): Add $(addprefix
17854 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17855 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17856 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17857 calling $(make-target-directory).
17858
17859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17860
17861 * bits/types.h (__snseconds_t): Removed.
17862 * time/time.h (struct timespec): Replace __snseconds_t with
17863 __syscall_slong_t.
17864 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17865 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17866 Likewise.
17867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17868 (__SNSECONDS_T_TYPE): Likewise.
17869 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17870 (__SNSECONDS_T_TYPE): Likewise.
17871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17872 (__SNSECONDS_T_TYPE): Likewise.
17873
17874 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 * sysdeps/mach/hurd/bits/typesizes.h
17877 (__SYSCALL_SLONG_TYPE): New macro.
17878 (__SYSCALL_ULONG_TYPE): Likewise.
17879
17880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17881
17882 * bits/types.h (__syscall_slong_t): New type.
17883 (__syscall_ulong_t): Likewise.
17884
17885 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17886 (__SYSCALL_ULONG_TYPE): Likewise.
17887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17888 (__SYSCALL_SLONG_TYPE): Likewise.
17889 (__SYSCALL_ULONG_TYPE): Likewise.
17890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17891 (__SYSCALL_SLONG_TYPE): Likewise.
17892 (__SYSCALL_ULONG_TYPE): Likewise.
17893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17894 (__SYSCALL_SLONG_TYPE): Likewise.
17895 (__SYSCALL_ULONG_TYPE): Likewise.
17896
17897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17898
17899 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17900 Add sigaltstack-offsets.sym.
17901 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17902 <sigaltstack-offsets.h>.
17903 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17904 longjmp_msg pointer.
17905 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17906 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17907 signal stack.
17908 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17909
17910 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17911
17912 * elf/stackguard-macros.h: Remove file.
17913 * sysdeps/generic/stackguard-macros.h: New file.
17914 * sysdeps/i386/stackguard-macros.h: Likewise.
17915 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17916 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17917 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17918 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17919 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17920 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17921 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17922 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17923 <elf/stackguard-macros.h>.
17924
17925 [BZ #14109]
17926 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17927 __aligned__ in attribute.
17928 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17929 (gregset_t): Likewise.
17930
17931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17932
17933 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17934 * sysdeps/x86_64/64/Implies-after: Here. New file.
17935 * sysdeps/x86_64/x32/Implies-after: New file.
17936
17937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17938
17939 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17940 and access return value for _dl_profile_fixup. Use R10_LP to
17941 load frame size.
17942
17943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17944
17945 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17946
17947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17948
17949 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17950 * sysdeps/x86_64/x32/sysdep.h: New file.
17951
17952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17953
17954 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17955 * sysdeps/x86_64/setjmp.S: Likewise.
17956
17957 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17958
17959 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17960 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17961 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17962 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17963 remove unused global constant.
17964
17965 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17966
17967 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17968 include of <not-cancel.h>.
17969
17970 2012-05-15 Roland McGrath <roland@hack.frob.com>
17971
17972 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17973
17974 2012-05-15 Jeff Law <law@redhat.com>
17975 Andreas Jaeger <aj@suse.de>
17976
17977 [BZ #13594]
17978 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17979 out from...
17980 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17981 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17982 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17983 code changing __hst_map_handle.map.
17984
17985 2012-05-15 Roland McGrath <roland@hack.frob.com>
17986
17987 * configure.in (sysnames): Look for Implies-before and Implies-after
17988 files.
17989 * configure: Regenerated.
17990
17991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17992
17993 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17994 8-byte data alignment with LP_SIZE alignment.
17995
17996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17997
17998 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17999 into R10_LP.
18000
18001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18002
18003 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18004
18005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18006
18007 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18008 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18009 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18010 Likewise.
18011 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18012
18013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18014
18015 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18016 (stackinfo_sub_sp): Likewise.
18017
18018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18019
18020 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18021 RAX_LP.
18022
18023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18024
18025 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18026 into R*_LP.
18027
18028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18029
18030 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18031 sizes into R*_LP.
18032
18033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18034
18035 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18036
18037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18038
18039 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18040 into R11_LP and load __x86_64_shared_cache_size_half into
18041 R8_LP.
18042
18043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18044
18045 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18046 R8_LP.
18047
18048 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18049
18050 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18051 logb for POWER7.
18052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18053 logbf for POWER7.
18054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18055 logbl for POWER7.
18056 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18057 powerpc32/power7/fpu/s_logb.c via #include.
18058 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18059 powerpc32/power7/fpu/s_logbf.c via #include.
18060 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18061 powerpc32/power7/fpu/s_logbl.c via #include.
18062
18063 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18064
18065 * README.libm: Remove file.
18066
18067 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18068
18069 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18070 count for x32. Use R*_LP and omit operand-size suffix.
18071
18072 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18073
18074 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18075 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18076 * sysdeps/x86_64/x32/shlib-versions: New file.
18077
18078 2012-05-14 Roland McGrath <roland@hack.frob.com>
18079
18080 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18081 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18082 Use _dl_fatal_printf instead.
18083
18084 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18085
18086 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18087 set if not set by the user. Do not allow for being unset.
18088 * sysdeps/unix/sysv/linux/configure: Regenerated.
18089
18090 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18091
18092 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18093 the `q' suffix from lea and replace .quad with ASM_ADDR.
18094
18095 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18096
18097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18098 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18099 instead of $17.
18100 (PTR_DEMANGLE): Likewise.
18101
18102 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18103
18104 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18105 (LP_OP): Likewise.
18106 (ASM_ADDR): Likewise.
18107 (RAX_LP): Likewise.
18108 (RBP_LP): Likewise.
18109 (RBX_LP): Likewise.
18110 (RCX_LP): Likewise.
18111 (RDI_LP): Likewise.
18112 (RSI_LP): Likewise.
18113 (RSP_LP): Likewise.
18114 (R8_LP): Likewise.
18115 (R9_LP): Likewise.
18116 (R10_LP): Likewise.
18117 (R10_LP): Likewise.
18118 (R11_LP): Likewise.
18119 (R12_LP): Likewise.
18120 (R13_LP): Likewise.
18121 (R14_LP): Likewise.
18122 (R15_LP): Likewise.
18123
18124 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18125
18126 * sysdeps/x86_64/x32/dl-machine.h: New file.
18127
18128 2012-05-14 Andreas Jaeger <aj@suse.de>
18129
18130 * manual/Makefile (subdir): Remove export of subdir.
18131 (all): Remove target.
18132 (.PHONY): Remove all from list.
18133 (mkinstalldirs): Remove.
18134 (.PHONY): Remove installdirs from list.
18135 ($(inst_infodir)/libc.info): Use make-target-directory.
18136 (installdirs): Remove.
18137 (subdir_%): Remove.
18138 (glibc-targets): Remove.
18139 (lib): Remove.
18140 (stubs): Remove.
18141 ($(objpfx)stubs ../po/manual.pot): Remove.
18142 ($(objpfx)stamp%): Remove.
18143 (make-target-directory): Remove.
18144 (subdir_install): Remove.
18145 (routines): Remove.
18146 (aux): Remove.
18147 (sources): Remove.
18148 (objects): Remove.
18149 (headers): Remove.
18150
18151 [BZ #13750]
18152 * manual/.gitignore: Remove, it's not needed anymore.
18153 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18154 all files in it.
18155 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18156 directory.
18157 (texis): Renamed to $(objpfx)texis.
18158 (texis-path): New, contains path to generated files.
18159 (chapters.%): Use texis-path for complete path, add extra argument
18160 libc-texinfo.sh.
18161 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18162 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18163 (summary,texi, stamp-summary): Use complete path of
18164 files. Generate files in build dir.
18165 (dir-add.texi): Build in build dir.
18166 (libm-err.texi,stamp-libm-err): Likewise.
18167 (version.texi, stamp-version): Likewise.
18168 (.%c.texi): Likewise.
18169 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18170 (mostlyclean): Remove target.
18171 (realclean): Remove target.
18172 (generated): Add new variable with contents from mostlyclean and
18173 realclean, remove entries duplicated in common-mostlyclean, add
18174 stamp-libm-err and stamp-version.
18175 (generated-dirs): Add libc directory.
18176 ($(inst_infodir)/libc.info): Install files from build dir.
18177
18178 * manual/install.texi (Configuring and compiling): Adjust since
18179 the info files are not part of the tar ball anymore.
18180
18181 2012-05-14 Andreas Jaeger <aj@suse.de>
18182
18183 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18184 variable.
18185
18186 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18187
18188 [BZ #13717]
18189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18190 to 2.2.0 where earlier.
18191 * sysdeps/unix/sysv/linux/configure: Regenerated.
18192 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18193 Remove conditional code.
18194 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18195 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18196 Remove conditional code.
18197 [!__NR_lchown]: Likewise.
18198 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18199 [__NR_lchown]: Likewise.
18200 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18201 comment referencing __ASSUME_LCHOWN_SYSCALL.
18202 * sysdeps/unix/sysv/linux/i386/sigaction.c
18203 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18204 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18205 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18206 Remove conditional code.
18207 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18208 (__protocol_available): Remove #if 0 code.
18209 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18210 conditional code.
18211 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18212 * sysdeps/unix/sysv/linux/kernel-features.h
18213 (__ASSUME_GETCWD_SYSCALL): Don't define.
18214 (__ASSUME_REALTIME_SIGNALS): Likewise.
18215 (__ASSUME_PREAD_SYSCALL): Likewise.
18216 (__ASSUME_PWRITE_SYSCALL): Likewise.
18217 (__ASSUME_POLL_SYSCALL): Likewise.
18218 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18219 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18220 non-SPARC.
18221 (__ASSUME_SIOCGIFNAME): Don't define.
18222 (__ASSUME_MSG_NOSIGNAL): Likewise.
18223 (__ASSUME_SENDFILE): Define unconditionally.
18224 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18225 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18226 conditional code.
18227 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18228 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18229 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18230 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18231 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18232 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18233 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18235 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18238 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18241 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18244 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18247 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18250 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18253 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18258 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18259 Remove conditional code.
18260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18261 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18262 Remove conditional code.
18263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18264 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18265 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18266 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18267 Remove conditional code.
18268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18269 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18270 Remove conditional code.
18271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18272 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18273 Remove conditional code.
18274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18275 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18276 Remove conditional code.
18277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18278 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18279 Remove conditional code.
18280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18281 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18282 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18284 * sysdeps/unix/sysv/linux/sigaction.c
18285 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18286 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18287 * sysdeps/unix/sysv/linux/sigpending.c
18288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18290 * sysdeps/unix/sysv/linux/sigprocmask.c
18291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18293 * sysdeps/unix/sysv/linux/sigsuspend.c
18294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18296 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18297 (__libc_missing_rt_sigs): Remove.
18298 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18299 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18300 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18301 Remove conditional code.
18302 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18303 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18304 return 1.
18305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18306 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18307 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18308 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18309
18310 2012-05-14 Andreas Jaeger <aj@suse.de>
18311
18312 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18313 it's not used in glibc.
18314 (__coshm1): Likewise.
18315 (__acosh1p): Likewise.
18316 (__sgn): Likewise.
18317
18318 * manual/string.texi (Copying and Concatenation): Add missing
18319 variable in concat example.
18320 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18321
18322 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18323
18324 [BZ #14103]
18325 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18326 __builtin_clzl with __builtin_clzll.
18327
18328 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18329
18330 [BZ #14104]
18331 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18332 libc_freeres_ptr.
18333
18334 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18335
18336 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18337 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18338 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18339 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18340
18341 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18342
18343 * NEWS: Update ia64 info.
18344
18345 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18346
18347 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18348 used as bcopy.
18349
18350 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18351
18352 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18353 * sysdeps/unix/syscalls.list (dup3): Likewise.
18354 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18355 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18356
18357 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18358
18359 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18360 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18361
18362 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18363
18364 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18365 thread pointer.
18366 (TLS_IE): Use mov/add instead of movq/addq to load thread
18367 pointer.
18368 (TLS_GD_PREFIX): New.
18369 (TLS_GD): Use it.
18370
18371 2012-05-11 David S. Miller <davem@davemloft.net>
18372
18373 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18374 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18375 (_FPU_SETCW): Likewise.
18376
18377 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18378
18379 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18380 is 32-byte aligned.
18381
18382 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18383
18384 [BZ #11837]
18385 * iconvdata/gb18030.c: Update tables.
18386 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18387 characters specially.
18388 (BODY for TO_LOOP): Add encoding of missing ranges.
18389
18390 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18391
18392 [BZ #13673]
18393 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18394 * sysdeps/mach/hurd/dup3.c: Likewise.
18395 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18396 * sysdeps/powerpc/memmove.c:: Likewise.
18397
18398 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18399
18400 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18401 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18402
18403 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18404
18405 * elf/elf.h (R_X86_64_RELATIVE64): New.
18406 (R_X86_64_NUM): Updated.
18407 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18408 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18409 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18410 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18411 tst-quad1pie tst-quad2pie
18412 (modules-names): Add tst-quadmod1 tst-quadmod2.
18413 ($(objpfx)tst-quad1): New dependency.
18414 ($(objpfx)tst-quad2): Likewise.
18415 ($(objpfx)tst-quad1pie): Likewise.
18416 ($(objpfx)tst-quad2pie): Likewise.
18417 * sysdeps/x86_64/tst-quad1.c: New file.
18418 * sysdeps/x86_64/tst-quad1pie.c: New file.
18419 * sysdeps/x86_64/tst-quad2.c: Likewise.
18420 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18421 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18422 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18423 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18424 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18425
18426 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18427
18428 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18429 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18430 * streams/stropts.h (t_scalar_t): Define type.
18431
18432 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18433 (_PATH_PRESERVE): Set to "/var/lib".
18434 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18435
18436 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18437 instead of int.
18438
18439 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18440 if __dir_mkfile succeeded.
18441
18442 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18443 checking for _hurd_dtablesize. Unlock it right after having
18444 finished _hurd_dtable allocation.
18445
18446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18447
18448 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18449 * sysdeps/mach/hurd/configure: Regenerated.
18450 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18451 special-casing to...
18452 * sysdeps/gnu/configure.in: ... this new file.
18453 * sysdeps/unix/sysv/linux/configure: Regenerated.
18454 * sysdeps/gnu/configure: New generated file.
18455
18456 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18457 for Linux: use nsec instead of usec, as well as:
18458 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18459 members of type struct timespec.
18460 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18461 New macros.
18462 (struct stat64): Likewise.
18463 (_STATBUF_ST_NSEC): New macro.
18464 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18465
18466 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18467 __strtoul_internal rather than strtoul.
18468
18469 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18470
18471 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18472 and reject them.
18473
18474 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18475
18476 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18477 which preserves existing values.
18478 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18479
18480 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18481
18482 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18483 TIMEOUT values. Return EINVAL for NFDS values either negative or
18484 greater than FD_SETSIZE.
18485
18486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18487
18488 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18489 allocated, call __vm_protect to finish enabling the existing space, and
18490 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18491 allocate the remainder.
18492
18493 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18494
18495 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18496 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18497
18498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18499
18500 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18501 sysdeps/mach/hurd/readlink.c.
18502
18503 * posix/tst-sysconf.c (posix_options): Only use
18504 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18505 _POSIX_SYNCHRONIZED_IO when they are defined
18506 * sysdeps/mach/hurd/bits/posix_opt.h:
18507 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18508 (_XOPEN_REALTIME): Undefine macro.
18509 (_XOPEN_REALTIME_THREADS): Undefine macro.
18510 (_XOPEN_SHM): Undefine macro.
18511 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18512 macro to -1.
18513 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18514 macro to -1.
18515 (_POSIX_ASYNC_IO): Undefine macro.
18516 (_POSIX_PRIORITIZED_IO): Undefine macro.
18517 (_POSIX_SPIN_LOCKS): Define macro to -1.
18518
18519 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18520 SA_NODEFER, SA_RESETHAND.
18521 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18522 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18523 F_DUPFD_CLOEXEC.
18524
18525 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18526
18527 * elf/Makefile (pldd-modules): Define unconditionally.
18528
18529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18530
18531 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18532
18533 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18534
18535 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18536 Return ENOENT when name is empty.
18537 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18538
18539 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18540
18541 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18542
18543 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18544
18545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18546
18547 Fix mlock in all cases except non-readable pages.
18548 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18549 instead of VM_PROT_ALL as parameter to __vm_wire function.
18550
18551 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18552 (__mkdir): When path is `/', just fail with EEXIST.
18553 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18554
18555 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18556
18557 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18558 <sys/uio.h> (for writev).
18559 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18560 and <sys/param.h> (for MIN).
18561
18562 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18563
18564 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18565 REQUESTED_TIME. Properly set the remaining time and return EINTR
18566 if interrupted.
18567
18568 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18569
18570 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18571 Depend on against $(link-rpcuserlibs).
18572
18573 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18574
18575 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18576 (__libc_stack_end): Do not use attribute_relro.
18577 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18578 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18579 to libthread-provided value.
18580 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18581 attribute_relro.
18582
18583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18584
18585 [BZ #3748]
18586 * bits/libc-lock.h (__libc_once_get): New macro.
18587 * sysdeps/mach/bits/libc-lock.h: Likewise.
18588 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18589 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18590 instead of using implementation details.
18591
18592 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18593 * libio/freopen.c: Likewise.
18594 * libio/freopen64.c: Likewise.
18595 * misc/syslog.c: Likewise.
18596 * nscd/connections.c: Likewise.
18597 * nscd/netgroupcache.c: Likewise.
18598 * sysdeps/posix/getcwd.c: Likewise.
18599
18600 2012-05-10 Roland McGrath <roland@hack.frob.com>
18601
18602 * math/w_ilogbf.c: Add #include <limits.h>.
18603
18604 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18605
18606 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18607 path instead of returning without unlocking.
18608
18609 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18610 immediate-write ioctls.
18611 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18612
18613 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18614
18615 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18616 __builtin_frame_address instead of making assumptions about the
18617 location of the return address relative to DATA. Force early load of
18618 the return address.
18619 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18620 __builtin_frame_address.
18621
18622 dup3 for GNU Hurd.
18623 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18624 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18625 implement dup3 and do some further code clean-ups.
18626 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18627 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18628
18629 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18630
18631 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18632
18633 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18634 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18635 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18636 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18637 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18638 d->port.lock.
18639
18640 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18641 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18642 when handler == SIG_ERR, not when handler != SIG_ERR.
18643
18644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18645
18646 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18647 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18648 definitions.
18649
18650 accept4 for GNU Hurd.
18651 * include/sys/socket.h (__libc_accept4): New prototype.
18652 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18653 to implement __libc_accept4.
18654 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18655 __libc_accept4.
18656 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18657
18658 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18659 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18660 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18661 signal-defines.sym.
18662
18663 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18664
18665 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18666
18667 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18668
18669 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18670 assertion on O_CLOEXEC flag.
18671 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18672 * hurd/intern-fd.c: Likewise.
18673 * hurd/port2fd.c: Likewise.
18674
18675 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18676
18677 [BZ #3906]
18678 * bits/in.h (IPV6_PKTINFO): Define new macro.
18679 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18680
18681 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18682
18683 [BZ #13954]
18684 [BZ #13955]
18685 [BZ #13956]
18686 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18687 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18688 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18689 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18691 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18692 * math/libm-test.inc (logb_test) : Additional logb tests.
18693
18694 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18695 Andreas Jaeger <aj@suse.de>
18696
18697 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18698 * configure: Regenerated.
18699 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18700 * config.make.in (link-obsolete-rpc): New substituted variable.
18701 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18702 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18703 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18704 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18705 so that libc.a contains the symbols.
18706 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18707 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18708 * sunrpc/auth_none.c: Likewise.
18709 * sunrpc/auth_unix.c: Likewise.
18710 * sunrpc/authdes_prot.c: Likewise.
18711 * sunrpc/authuxprot.c: Likewise.
18712 * sunrpc/clnt_gen.c: Likewise.
18713 * sunrpc/clnt_perr.c: Likewise.
18714 * sunrpc/clnt_raw.c: Likewise.
18715 * sunrpc/clnt_simp.c: Likewise.
18716 * sunrpc/clnt_tcp.c: Likewise.
18717 * sunrpc/clnt_udp.c: Likewise.
18718 * sunrpc/clnt_unix.c: Likewise.
18719 * sunrpc/des_crypt.c: Likewise.
18720 * sunrpc/des_soft.c: Likewise.
18721 * sunrpc/get_myaddr.c: Likewise.
18722 * sunrpc/key_call.c: Likewise.
18723 * sunrpc/key_prot.c: Likewise.
18724 * sunrpc/netname.c: Likewise.
18725 * sunrpc/pm_getmaps.c: Likewise.
18726 * sunrpc/pm_getport.c: Likewise.
18727 * sunrpc/pmap_clnt.c: Likewise.
18728 * sunrpc/pmap_prot.c: Likewise.
18729 * sunrpc/pmap_prot2.c: Likewise.
18730 * sunrpc/pmap_rmt.c: Likewise.
18731 * sunrpc/publickey.c: Likewise.
18732 * sunrpc/rpc_cmsg.c: Likewise.
18733 * sunrpc/rpc_common.c: Likewise.
18734 * sunrpc/rpc_dtable.c: Likewise.
18735 * sunrpc/rpc_prot.c: Likewise.
18736 * sunrpc/rpc_thread.c: Likewise.
18737 * sunrpc/rtime.c: Likewise.
18738 * sunrpc/svc.c: Likewise.
18739 * sunrpc/svc_auth.c: Likewise.
18740 * sunrpc/svc_raw.c: Likewise.
18741 * sunrpc/svc_run.c: Likewise.
18742 * sunrpc/svc_tcp.c: Likewise.
18743 * sunrpc/svc_udp.c: Likewise.
18744 * sunrpc/svc_unix.c: Likewise.
18745 * sunrpc/svcauth_des.c: Likewise.
18746 * sunrpc/xcrypt.c: Likewise.
18747 * sunrpc/xdr.c: Likewise.
18748 * sunrpc/xdr_array.c: Likewise.
18749 * sunrpc/xdr_float.c: Likewise.
18750 * sunrpc/xdr_intXX_t.c: Likewise.
18751 * sunrpc/xdr_mem.c: Likewise.
18752 * sunrpc/xdr_rec.c: Likewise.
18753 * sunrpc/xdr_ref.c: Likewise.
18754 * sunrpc/xdr_sizeof.c: Likewise.
18755 * sunrpc/xdr_stdio.c: Likewise.
18756
18757 2012-05-10 Roland McGrath <roland@hack.frob.com>
18758
18759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18760 change. Update copyright years.
18761
18762 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18763
18764 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18765
18766 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18767 Joseph Myers <joseph@codesourcery.com>
18768 Paul Pluzhnikov <ppluzhnikov@google.com>
18769
18770 [BZ #14012]
18771 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18772 requiring rpcgen.
18773 [cross-compiling] (extra-libs): Likewise.
18774 [cross-compiling] (extra-libs-others): Likewise.
18775 [cross-compiling] (librpcsvc-routines): Likewise.
18776 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18777 [cross-compiling] (omit-deps): Likewise.
18778 (sunrpc-CPPFLAGS): New variable.
18779 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18780 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18781 (cross-rpcgen-objs): New variable.
18782 (extra-objs): Append $(cross-rpcgen-objs).
18783 ($(cross-rpcgen-objs)): New rule.
18784 ($(objpfx)cross-rpcgen): Likewise.
18785 (rpcgen-cmd): Define to use $(built-program-file). Expand
18786 comment.
18787 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18788 ($(objpfx)x%.stmp): Likewise.
18789 * sunrpc/proto.h [IS_IN_build] (_): Define.
18790 [IS_IN_build] (_libc_intl_domainname): Likewise.
18791
18792 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18793
18794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18795 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18796 and R_X86_64_TPOFF64.
18797
18798 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18799
18800 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18801 sysdeps/unix/sysv/syscalls.list.
18802 (stime): Likewise.
18803 (utime): Likewise.
18804 * sysdeps/unix/sysv/syscalls.list: Remove file.
18805
18806 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18807
18808 [BZ #3440]
18809 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18810 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18811 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18812 (__LC_IDENTIFICATION): Make these macros useful in #if
18813 expressions, as required by C99.
18814
18815 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18816
18817 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18818 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18819 after this.
18820
18821 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18822
18823 * stdlib/longlong.h: Updated from GCC.
18824
18825 2012-05-09 Andreas Jaeger <aj@suse.de>
18826
18827 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18828 default is first entry.
18829 (run_mode): Set type.
18830 (main): Remove informal message about syslog.
18831 (options): Fix typo.
18832
18833 [BZ #14053]
18834 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18835 to asm.
18836 (lrint): Likewise.
18837 (llrintf): Likewise.
18838 (llrint): Likewise.
18839 (rint): Likewise.
18840 (rintf): Likewise.
18841 (nearbyint): Likewise.
18842 (nearbyintf): Likewise.
18843
18844 2012-05-09 Andreas Jaeger <aj@suse.de>
18845 Pedro Alves <palves@redhat.com>
18846
18847 * nscd/nscd.c (run_mode): Use enum.
18848 (main): Cleanup coding style issue.
18849
18850 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
18851 Andreas Jaeger <aj@suse.de>
18852
18853 * nscd/nscd.c (go_background): Replaced with...
18854 (run_mode): ... this.
18855 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18856 (options): Add -F --foreground.
18857 (main): Implement it.
18858 (parse_opt): Parse it.
18859
18860 2012-05-09 Andreas Jaeger <aj@suse.de>
18861
18862 [BZ #14083]
18863 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18864 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18865 -Wconversion warning.
18866 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18867 Likewise.
18868
18869 2012-05-09 Joseph Myers <joseph@codesourcery.com>
18870
18871 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18872 == 0.
18873 (LC_ALL): Use macro-int-constant.
18874 (LC_COLLATE): Likewise.
18875 (LC_CTYPE): Likewise.
18876 (LC_MESSAGES): Likewise.
18877 (LC_MONETARY): Likewise.
18878 (LC_NUMERIC): Likewise.
18879 (LC_TIME): Likewise.
18880 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18881 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18883 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18884 Specify type.
18885 [C99-based standards] (float_t): Expect type.
18886 [C99-based standards] (double_t): Expect type.
18887 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18888 type.
18889 [C99-based standards] (HUGE_VALL): Likewise.
18890 [C99-based standards] (INFINITY): Likewise.
18891 [C99-based standards] (NAN): Likewise.
18892 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18893 [C99-based standards] (FP_NAN): Likewise.
18894 [C99-based standards] (FP_NORMAL): Likewise.
18895 [C99-based standards] (FP_SUBNORMAL): Likewise.
18896 [C99-based standards] (FP_ZERO): Likewise.
18897 [C99-based standards] (FP_FAST_FMA): Use
18898 optional-macro-int-constant. Specify type. Require == 1.
18899 [C99-based standards] (FP_FAST_FMAF): Likewise.
18900 [C99-based standards] (FP_FAST_FMAL): Likewise.
18901 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18902 [C99-based standards] (FP_ILOGBNAN): Likewise.
18903 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18904 Specify type.
18905 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18906 [C99-based standards] (math_errhandling): Specify type.
18907 [ISO99 || ISO11] (signgam): Do not allow.
18908 [non-C99-based standards] (copysignf): Do not allow.
18909 [non-C99-based standards] (exp2f): Likewise.
18910 [non-C99-based standards] (log2f): Likewise.
18911 [non-C99-based standards] (modff): Allow.
18912 [non-C99-based standards] (erff): Do not allow.
18913 [non-C99-based standards] (erfcf): Likewise.
18914 [non-C99-based standards] (gammaf): Likewise.
18915 [non-C99-based standards] (hypotf): Likewise.
18916 [non-C99-based standards] (j0f): Likewise.
18917 [non-C99-based standards] (j1f): Likewise.
18918 [non-C99-based standards] (jnf): Likewise.
18919 [non-C99-based standards] (lgammaf): Likewise.
18920 [non-C99-based standards] (tgammaf): Likewise.
18921 [non-C99-based standards] (y0f): Likewise.
18922 [non-C99-based standards] (y1f): Likewise.
18923 [non-C99-based standards] (ynf): Likewise.
18924 [non-C99-based standards] (isnanf): Likewise.
18925 [non-C99-based standards] (acoshf): Likewise.
18926 [non-C99-based standards] (asinhf): Likewise.
18927 [non-C99-based standards] (atanhf): Likewise.
18928 [non-C99-based standards] (cbrtf): Likewise.
18929 [non-C99-based standards] (expm1f): Likewise.
18930 [non-C99-based standards] (ilogbf): Likewise.
18931 [non-C99-based standards] (log1pf): Likewise.
18932 [non-C99-based standards] (logbf): Likewise.
18933 [non-C99-based standards] (nextafterf): Likewise.
18934 [non-C99-based standards] (remainderf): Likewise.
18935 [non-C99-based standards] (rintf): Likewise.
18936 [non-C99-based standards] (scalbf): Likewise.
18937 [non-C99-based standards] (copysignl): Likewise.
18938 [non-C99-based standards] (exp2l): Likewise.
18939 [non-C99-based standards] (log2l): Likewise.
18940 [non-C99-based standards] (modfl): Allow.
18941 [non-C99-based standards] (erfl): Do not allow.
18942 [non-C99-based standards] (erfcl): Likewise.
18943 [non-C99-based standards] (gammal): Likewise.
18944 [non-C99-based standards] (hypotl): Likewise.
18945 [non-C99-based standards] (j0l): Likewise.
18946 [non-C99-based standards] (j1l): Likewise.
18947 [non-C99-based standards] (jnl): Likewise.
18948 [non-C99-based standards] (lgammal): Likewise.
18949 [non-C99-based standards] (tgammal): Likewise.
18950 [non-C99-based standards] (y0l): Likewise.
18951 [non-C99-based standards] (y1l): Likewise.
18952 [non-C99-based standards] (ynl): Likewise.
18953 [non-C99-based standards] (isnanl): Likewise.
18954 [non-C99-based standards] (acoshl): Likewise.
18955 [non-C99-based standards] (asinhl): Likewise.
18956 [non-C99-based standards] (atanhl): Likewise.
18957 [non-C99-based standards] (cbrtl): Likewise.
18958 [non-C99-based standards] (expm1l): Likewise.
18959 [non-C99-based standards] (ilogbl): Likewise.
18960 [non-C99-based standards] (log1pl): Likewise.
18961 [non-C99-based standards] (logbl): Likewise.
18962 [non-C99-based standards] (nextafterl): Likewise.
18963 [non-C99-based standards] (remainderl): Likewise.
18964 [non-C99-based standards] (rintl): Likewise.
18965 [non-C99-based standards] (scalbl): Likewise.
18966 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18967 [non-C99-based standards] (FP_*): Do not allow.
18968 [C99-based standards] (FP_*): Change to
18969 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18970 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18971 allow.
18972 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18973 (SIG_ERR): Likewise.
18974 [X/Open-based standards] (SIG_HOLD): Likewise.
18975 (SIG_IGN): Likewise.
18976 (SIGABRT): Use macro-int-constant. Specify type. Require
18977 positive value.
18978 (SIGFPE): Likewise.
18979 (SIGILL): Likewise.
18980 (SIGINT): Likewise.
18981 (SIGSEGV): Likewise.
18982 (SIGTER): Likewise.
18983 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18984 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18985 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18986 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18987 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18988 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18989 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18990 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18991 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18992 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18993 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18994 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18995 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18996 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18997 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18998 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18999 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19000 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19001 [X/Open-based standards] (SIGTRAP): Likewise.
19002 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19003 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19004 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19005 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19006 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19007 allow.
19008
19009 2012-05-08 Ian Wienand <ianw@vmware.com>
19010
19011 [BZ #14080]
19012 * time/tzset.c (__tzset_parse_tz): Update default rules for
19013 daylight time changes in the Energy Policy Act of 2005.
19014
19015 2012-05-09 Andreas Jaeger <aj@suse.de>
19016
19017 [BZ #13983]
19018 * elf/ldconfig.c (parse_conf): Change string to make clear that
19019 ldconfig only issued a warning if ld.so.conf does not exist.
19020
19021 2012-05-08 David S. Miller <davem@davemloft.net>
19022
19023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19024 movxtod instead of popping the value on the stack.
19025
19026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19027
19028 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19029
19030 * config.h.in: Add HAVE_ARM_PCS_VFP.
19031
19032 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19033
19034 [BZ #13979]
19035 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19036 checking but the checks are disabled for any reason.
19037
19038 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19039
19040 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19041 and ELF64_R_TYPE with ELFW(R_TYPE).
19042
19043 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19044
19045 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19046 (ulimit): Likewise.
19047
19048 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19049 (settimeofday): Likewise.
19050
19051 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19052
19053 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19054 a struct th_u2 inside the union, and move tu_block/tu_code into
19055 a new th_u3 union of tu_block/tu_code inside of that. Move
19056 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19057 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19058 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19059 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19060 (th_stuff): Change to th_u1.tu_stuff.
19061 (th_data): Define.
19062 (th_msg): Change to th_u1.th_u2.tu_data.
19063
19064 2012-05-07 David S. Miller <davem@davemloft.net>
19065
19066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19067
19068 [BZ #14074]
19069 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19070 (SETUP_PIC_REG): Use it.
19071 (SETUP_PIC_REG_LEAF): Use it.
19072
19073 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19074
19075 [BZ #13885]
19076 [BZ #13923]
19077 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19078 USE_AS_EXPM1L.
19079 (EXPL_FINITE): Likewise.
19080 (FLDLOG): Likewise.
19081 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19082 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19083 e_expl.S.
19084 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19085 USE_AS_EXPM1L.
19086 (EXPL_FINITE): Likewise.
19087 (FLDLOG): Likewise.
19088 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19089 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19090 e_expl.S.
19091 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19092 test of -max_value argument for long double.
19093 * sysdeps/i386/fpu/libm-test-ulps: Update.
19094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19095
19096 2012-05-06 David S. Miller <davem@davemloft.net>
19097
19098 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19099 quad soft-float symbols whose references which are compiler
19100 generated.
19101 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19102
19103 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19104
19105 [BZ #13884]
19106 [BZ #13914]
19107 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19108 USE_AS_EXP10L.
19109 (EXPL_FINITE): Likewise.
19110 (FLDLOG): Likewise.
19111 (c0): Likewise.
19112 (c1): Likewise.
19113 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19114 Adjust comments for base varying.
19115 (__expl_finite): Change alias to EXPL_FINITE.
19116 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19117 e_expl.S.
19118 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19119 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19121 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19122 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19123 USE_AS_EXP10L.
19124 (EXPL_FINITE): Likewise.
19125 (FLDLOG): Likewise.
19126 (c0): Likewise.
19127 (c1): Likewise.
19128 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19129 Adjust comments for base varying.
19130 (__expl_finite): Change alias to EXPL_FINITE.
19131 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19132 tests for bugs.
19133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19134
19135 [BZ #14064]
19136 * math/libm-test.inc (check_float_internal): Correct ulp
19137 calculation for subnormal expected results.
19138
19139 2012-05-06 Andreas Jaeger <aj@suse.de>
19140
19141 * Makeconfig (+math-flags): New, set to -frounding-math.
19142 (+cflags): Add +math-flags so that all of glibc gets compiled with
19143 it.
19144
19145 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19146
19147 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19148
19149 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19150 Disable one test.
19151
19152 [BZ #13787]
19153 [BZ #13922]
19154 [BZ #14036]
19155 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19156 (__ieee754_expl): Allow for and saturate large arguments.
19157 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19158 (u_threshold): Likewise.
19159 (__exp): Call __ieee754_exp before checking for overflow and
19160 underflow.
19161 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19162 (u_threshold): Likewise.
19163 (__expf): Call __ieee754_expf before checking for overflow and
19164 underflow.
19165 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19166 (u_threshold): Likewise.
19167 (__expl): Call __ieee754_expl before checking for overflow and
19168 underflow.
19169 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19170 (__ieee754_expl): Allow for and saturate large arguments.
19171 * math/libm-test.inc (exp_test): Add another test. Do not allow
19172 missing overflow exception on overflow.
19173 (expm1_test): Do not allow missing overflow exception on overflow.
19174
19175 * sysdeps/i386/fpu/e_expl.c: Move to ...
19176 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19177 rather than using inline asm.
19178 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19179 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19180 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19181
19182 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19183 (nice): Likewise.
19184 (poll): Likewise.
19185 (signal): Likewise.
19186 (time): Likewise.
19187 (times): Likewise.
19188
19189 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19190
19191 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19192 sysdeps/unix/common/syscalls.list.
19193 (fchmod): Likewise.
19194 (fchown): Likewise.
19195 (ftruncate): Likewise.
19196 (getrusage): Likewise.
19197 (gettimeofday): Likewise.
19198 (setpgid): Likewise.
19199 (setregid): Likewise.
19200 (setreuid): Likewise.
19201 (sigaction): Likewise.
19202 (truncate): Likewise.
19203 (vhangup): Likewise.
19204 * sysdeps/unix/common/syscalls.list: Remove file.
19205 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19206 * sysdeps/unix/sysv/linux/Implies: Likewise.
19207
19208 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19209
19210 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19212 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19213 Moved to ...
19214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19215 Here.
19216 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19217 to ...
19218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19219 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19220 to ...
19221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19222 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19223 to ...
19224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19225 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19226 to ...
19227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19228 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19229 to ...
19230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19231 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19232 to ...
19233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19234 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19235 to ...
19236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19237 Here.
19238 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19239 to ...
19240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19241 Here.
19242 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19243 to ...
19244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19245 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19246 Moved to ...
19247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19248 Here.
19249 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19250 to ...
19251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19252
19253 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19254
19255 * sysdeps/unix/common/bits/dirent.h: Remove file.
19256 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19257
19258 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19259 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19260 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19261 * sysdeps/unix/bsd/isatty.c: Likewise.
19262 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19263 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19264 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19265
19266 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19267
19268 [BZ #13563]
19269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19270 long double comparison inaccuracies.
19271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19273
19274 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19275
19276 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19278
19279 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19280
19281 [BZ #14049]
19282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19283 nonzero digits before rounding a hex value.
19284 * stdlib/tst-strtod.c (tests): Add another test.
19285
19286 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19287
19288 * sysdeps/s390/fpu/libm-test-ulps: Update.
19289
19290 2012-05-03 Andreas Jaeger <aj@suse.de>
19291
19292 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19293 does not get optimized out.
19294 (malloc_opt_barrier): New.
19295
19296 2012-05-03 Andreas Jaeger <aj@suse.de>
19297 Roland McGrath <roland@hack.frob.com>
19298
19299 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19300 intermediate file deletion.
19301 (generated): Add .symlist files.
19302
19303 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19304
19305 [BZ #13775]
19306 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19307 Redirect under this condition.
19308 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19309 [__USE_GNU] (__dprintf_chk): Not under this condition.
19310 [__USE_GNU] (__vdprintf_chk): Likewise.
19311 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19312 under this condition.
19313 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19314 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19315 [__USE_XOPEN2K8] (vdprintf): Likewise.
19316 [__USE_GNU] (__dprintf_chk): Not under this condition.
19317 [__USE_GNU] (__vdprintf_chk): Likewise.
19318 [__USE_GNU] (dprintf): Likewise.
19319 [__USE_GNU] (vdprintf): Likewise.
19320
19321 2012-05-03 Roland McGrath <roland@hack.frob.com>
19322
19323 * elf/Makefile (common-generated): Set this instead of generated for
19324 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19325 $(all-built-dso)-derived lists.
19326
19327 2012-05-03 Andreas Jaeger <aj@suse.de>
19328
19329 * sysdeps/i386/fpu/libm-test-ulps: Update.
19330
19331 * FAQ: Removed.
19332 * FAQ.in: Likewise.
19333 * scripts/gen-FAQ.pl: Likewise.
19334 * manual/install.texi (Installation): Point to online location of
19335 FAQ.
19336 * Makefile (files-for-dist): Remove FAQ.
19337 (FAQ): Remove.
19338
19339 2012-05-02 Allan McRae <allan@archlinux.org>
19340
19341 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19342 (LDFLAGS-reldepmod5.so): Likewise.
19343 (LDFLAGS-reldep6mod1.so): Likewise.
19344 (LDFLAGS-reldep6mod4.so): Likewise.
19345 (LDFLAGS-reldep8mod3.so): Likewise.
19346 (LDFLAGS-unload4mod1.so): Likewise.
19347 (LDFLAGS-unload4mod2.so): Likewise.
19348 (LDFLAGS-tst-initorder): Likewise.
19349 (LDFLAGS-tst-initordera2.so): Likewise.
19350 (LDFLAGS-tst-initordera3.so): Likewise.
19351 (LDFLAGS-tst-initordera4.so): Likewise.
19352 (LDFLAGS-tst-initorderb2.so): Likewise.
19353 (LDFLAGS-noload): Likewise.
19354 (LDFLAGS-next): Likewise.
19355 (LDFLAGS-order2mod1.so): Likewise.
19356 (LDFLAGS-order2mod2.so): Likewise.
19357 (LDFLAGS-tst-initorder2): Likewise.
19358 (LDFLAGS-tst-initorder2a.so): Likewise.
19359 (LDFLAGS-tst-initorder2b.so): Likewise.
19360 (LDFLAGS-tst-initorder2c.so): Likewise.
19361 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19362
19363 2012-05-02 David S. Miller <davem@davemloft.net>
19364
19365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19366
19367 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19368
19369 [BZ #14055]
19370 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19371
19372 2012-05-02 Andreas Jaeger <aj@suse.de>
19373
19374 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19375 since we manipulate rounding mode.
19376 (CPPFLAGS-test-idouble.c): Likewise.
19377 (CPPFLAGS-test-ifloat.c): Likewise.
19378 (CFLAGS-test-ldouble.c): Likewise.
19379 (CFLAGS-test-double.c): Likewise.
19380 (CFLAGS-test-float.c): Likewise.
19381 (CFLAGS-test-misc.c): Likewise.
19382 (CFLAGS-test-test-fenv.c): Likewise.
19383
19384 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19385
19386 [BZ #2550]
19387 [BZ #2570]
19388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19389 comparisons to determine direction to adjust input.
19390
19391 2012-05-01 Roland McGrath <roland@hack.frob.com>
19392
19393 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19394 output to the target.
19395
19396 * scripts/localplt.awk: New file.
19397 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19398 (check-localplt-CFLAGS): Variable removed.
19399 ($(all-built-dso:=.jmprel)): New static pattern rule.
19400 (generated): Add those targets.
19401 (localplt-built-dso): New variable.
19402 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19403
19404 * elf/check-localplt.c: File removed.
19405
19406 * scripts/check-execstack.awk: New file.
19407 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19408 (check-execstack-CFLAGS): Variable removed.
19409 ($(objpfx)check-execstack.h): Target removed.
19410 ($(objpfx)execstack-default): New target.
19411 (generated): Add that instead of check-execstack.h.
19412 ($(all-built-dso:=.phdr)): New static pattern rule.
19413 (generated): Add those targets.
19414 * elf/check-execstack.c: File removed.
19415
19416 * scripts/check-textrel.awk: New file.
19417 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19418 (check-textrel-CFLAGS): Variable removed.
19419 (all-built-dso): Use := to define.o
19420 ($(all-built-dso:=.dyn)): New static pattern rule.
19421 (generated): Add those targets.
19422 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19423 * config.make.in (READELF): New substituted variable.
19424 * elf/check-textrel.c: File removed.
19425
19426 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19427
19428 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19429 allow.
19430 * conform/data/ctype.h-data [C99-based standards] (isblank):
19431 Expect function.
19432 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19433 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19435 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19436 Specify type. Require positive value.
19437 (EILSEQ): Likewise.
19438 (ERANGE): Likewise.
19439 [ISO || POSIX] (EILSEQ): Do not expect.
19440 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19441 Specify type. Require positive value.
19442 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19443 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19444 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19445 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19446 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19447 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19448 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19449 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19450 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19451 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19452 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19453 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19454 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19455 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19456 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19457 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19458 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19459 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19460 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19461 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19462 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19463 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19464 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19465 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19466 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19467 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19468 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19469 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19470 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19471 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19472 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19473 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19474 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19475 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19476 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19477 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19478 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19479 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19480 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19481 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19482 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19483 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19484 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19485 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19486 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19487 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19488 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19489 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19490 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19491 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19492 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19493 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19494 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19495 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19496 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19497 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19498 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19499 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19500 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19501 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19502 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19503 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19504 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19505 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19506 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19507 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19508 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19509 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19510 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19511 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19512 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19513 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19514 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19515 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19516 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19517 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19518 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19519 Require >= 2.
19520 (FLT_ROUNDS): Expect as macro, not constant.
19521 (FLT_MANT_DIG): Use macro-int-constant.
19522 (DBL_MANT_DIG): Likewise.
19523 (LDBL_MANT_DIG): Likewise.
19524 (FLT_DIG): Likewise.
19525 (DBL_DIG): Likewise.
19526 (LDBL_DIG): Likewise.
19527 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19528 (DBL_MIN_EXP): Likewise.
19529 (LDBL_MIN_EXP): Likewise.
19530 (FLT_MAX_EXP): Use macro-int-constant.
19531 (DBL_MAX_EXP): Likewise.
19532 (LDBL_MAX_EXP): Likewise.
19533 (FLT_MAX_10_EXP): Likewise.
19534 (DBL_MAX_10_EXP): Likewise.
19535 (LDBL_MAX_10_EXP): Likewise.
19536 (FLT_MAX): Use macro-constant.
19537 (DBL_MAX): Likewise.
19538 (LDBL_MAX): Likewise.
19539 (FLT_EPSILON): Use macro-constant. Give upper bound.
19540 (DBL_EPSILON): Likewise.
19541 (LDBL_EPSILON): Likewise.
19542 (FLT_MIN): Likewise.
19543 (DBL_MIN): Likewise.
19544 (LDBL_MIN): Likewise.
19545 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19546 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19547 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19548 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19549 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19550 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19551 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19552 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19553 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19554 [ISO11] (FLT_TRUE_MIN): Likewise.
19555 [ISO11] (LDBL_TRUE_MIN): Likewise.
19556 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19557 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19558 (SCHAR_MIN): Use macro-int-constant. Specify type.
19559 (SCHAR_MAX): Likewise.
19560 (UCHAR_MAX): Likewise.
19561 (CHAR_MIN): Likewise.
19562 (CHAR_MAX): Likewise.
19563 (MB_LEN_MAX): Use macro-int-constant.
19564 (SHRT_MIN): Use macro-int-constant. Specify type.
19565 (SHRT_MAX): Likewise.
19566 (USHRT_MAX): Likewise.
19567 (INT_MAX): Likewise.
19568 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19569 bound negative.
19570 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19571 bound with "U".
19572 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19573 bound with "L".
19574 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19575 bound negative. Suffix upper bound with "L".
19576 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19577 bound with "UL".
19578 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19579 Specify type.
19580 [C99-based standards] (LLONG_MAX): Likewise.
19581 [C99-based standards] (ULLONG_MAX): Likewise.
19582 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19583 == 0.
19584 [ISO11] (max_align_t): Require type.
19585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19586
19587 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19588 from $CFLAGS, without defining away __attribute__ calls.
19589 (checknamespace): Use $CFLAGS_namespace.
19590
19591 * conform/conformtest.pl (@keywords): Only include C99 keywords
19592 for standards based on C99 or C11.
19593
19594 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19595 Disable tests.
19596 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19597 UNIX98]: Likewise.
19598
19599 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19600 usability of symbols in #if.
19601
19602 * conform/conformtest.pl: If macro or constant types start
19603 "promoted:", expect the symbol to be of the following type
19604 promoted by the integer promotions.
19605
19606 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19607 in one place. Also handle "macro-constant".
19608
19609 * conform/conformtest.pl: Only accept expected macro values with
19610 "==". Parse all "macro" lines in one place.
19611 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19612
19613 * conform/conformtest.pl: Handle braced types on "constant" lines
19614 instead of handling "typed-constant".
19615 * conform/data/signal.h-data: Use "constant" instead of
19616 "typed-constant".
19617
19618 * conform/conformtest.pl: Handle "optional-" at start of lines in
19619 one place rather than duplicating several cases. Handle each
19620 format of "macro" line with initial "optional-".
19621
19622 * conform/conformtest.pl: Only accept expected constant or
19623 optional-constant values with "==". Parse all "constant" lines in
19624 one place. Parse all "optional-constant" lines in one place.
19625 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19626 * conform/data/fmtmsg.h-data: Likewise.
19627 * conform/data/netinet/in.h-data: Likewise.
19628 * conform/data/tar.h-data: Likewise.
19629 * conform/data/limits.h-data: Use "==" form on "constant" and
19630 "optional-constant" lines.
19631
19632 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19633 Use -std=c99 for XOPEN2K.
19634 (@knownproblems): Remove.
19635 (newtoken): Don't check %isknown.
19636
19637 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19638 Do not expect macro.
19639 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19640 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19641 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19642 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19643 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19644 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19645 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19646 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19647 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19648 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19649 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19650 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19651 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19652 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19653 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19654 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19655 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19656 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19657 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19658 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19659 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19660 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19661 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19662 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19665 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19666 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19667 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19668 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19669 [XPG3] (acosh): Likewise.
19670 [XPG3] (asinh): Likewise.
19671 [XPG3] (atanh): Likewise.
19672 [XPG3] (cbrt): Likewise.
19673 [XPG3] (expm1): Likewise.
19674 [XPG3] (ilogb): Likewise.
19675 [XPG3] (log1p): Likewise.
19676 [XPG3] (logb): Likewise.
19677 [XPG3] (nextafter): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19680 [XPG3] (remainder): Likewise.
19681 [XPG3] (rint): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19686 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19687 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19688 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19689 [UNIX98 || XOPEN2K] (scalb): Expect.
19690 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19691 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19692 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19693 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19694 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19695 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19696 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19697 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19698 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19699 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19700 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19701 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19702 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19703 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19704 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19705 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19706 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19707 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19708 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19709 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19710 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19711 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19712 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19713 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19714 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19715 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19716 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19718 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19719 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19720 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19726 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19731 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19732 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19733 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19734 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19748 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19749 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19750 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19751 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19752 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19753 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19754 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19755 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19756 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19757 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19769 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19770 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19771 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19772 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19773 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19827
19828 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19829 _XOPEN_SOURCE_EXTENDED for XPG4.
19830
19831 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19832
19833 * Makeconfig (localtime): Remove variable.
19834 (inst_localtime-file): Likewise.
19835
19836 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19837
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19839 Update.
19840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19841 Update.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19843 Update.
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19845 Update.
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19847 Update.
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19849 Update.
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19851 Update.
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19853 Update.
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19855 Update.
19856
19857 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19858
19859 [BZ #2550]
19860 [BZ #2570]
19861 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19862 comparisons to determine direction to adjust input.
19863 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19864 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19865 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19866 Likewise.
19867 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19868 Likewise.
19869 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19870 Likewise.
19871 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19872 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19873 Likewise.
19874 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19875 Likewise.
19876 * math/libm-test.inc (nexttoward_test): Add more tests.
19877
19878 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19879
19880 [BZ #14040]
19881 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19882 in version GLIBC_2.1, not GLIBC_2.0.
19883 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19884 Likewise.
19885
19886 2012-04-30 Joseph Myers <joseph@codesourcery.com>
19887
19888 [BZ #13942]
19889 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19890 (1 - x) * (1 + x).
19891 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19892 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19893 * math/libm-test.inc (acos_test): Add more tests.
19894 (asin_test): Likewise.
19895 * sysdeps/i386/fpu/libm-test-ulps: Update.
19896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19897
19898 [BZ #14034]
19899 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19900 of square root.
19901 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19902 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19903 * math/libm-test.inc (acos_test_tonearest): New function.
19904 (acos_test_towardzero): Likewise.
19905 (acos_test_downward): Likewise.
19906 (acos_test_upward): Likewise.
19907 (asin_test_tonearest): Likewise.
19908 (asin_test_towardzero): Likewise.
19909 (asin_test_downward): Likewise.
19910 (asin_test_upward): Likewise.
19911 (main): Call the new functions.
19912 * sysdeps/i386/fpu/libm-test-ulps: Update.
19913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19914
19915 [BZ #13884]
19916 [BZ #13924]
19917 * math/e_exp10.c: Include <float.h>.
19918 (__ieee754_exp10): Handle underflow here rather than multiplying
19919 large negative argument by M_LN10.
19920 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19921 of __ieee754_expf.
19922 * math/e_exp10l.c: Include <float.h>.
19923 (__ieee754_exp10l): Handle underflow here rather than multiplying
19924 large negative argument by M_LN10l.
19925 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19926 spurious overflow exception on underflow.
19927
19928 2012-04-29 Marek Polacek <polacek@redhat.com>
19929
19930 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19931 (__fortify_function): New macro.
19932 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19933 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19934 __extern_always_inline.
19935 * libio/bits/stdio2.h: Likewise.
19936 * libio/bits/stdio.h: Likewise.
19937 * string/string.h: Likewise.
19938 * string/bits/string3.h: Likewise.
19939 * include/stdio.h: Likewise.
19940 * stdlib/bits/stdlib.h: Likewise.
19941 * stdlib/stdlib.h: Likewise.
19942 * rt/bits/mqueue2.h: Likewise.
19943 * rt/mqueue.h: Likewise.
19944 * posix/bits/unistd.h: Likewise.
19945 * posix/unistd.h: Likewise.
19946 * io/bits/poll2.h: Likewise.
19947 * io/bits/fcntl2.h: Likewise.
19948 * io/fcntl.h: Likewise.
19949 * io/sys/poll.h: Likewise.
19950 * misc/bits/syslog.h: Likewise.
19951 * misc/bits/syslog-ldbl.h: Likewise.
19952 * misc/sys/syslog.h: Likewise.
19953 * socket/bits/socket2.h: Likewise.
19954 * socket/sys/socket.h: Likewise.
19955 * debug/tst-chk1.c: Likewise.
19956 * wcsmbs/bits/wchar2.h: Likewise.
19957 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19958 * wcsmbs/wchar.h: Likewise.
19959
19960 2012-04-29 Andreas Jaeger <aj@suse.de>
19961
19962 * Makerules (tests): Remove enable-check-abi protection.
19963 (check-abi-warn): Remove.
19964 (check-abi-%): Remove check-abi-warn usage.
19965
19966 * configure.in: Remove check-abi configure option.
19967 * configure: Regenerated.
19968 * config.make.in (enable-check-abi): Remove.
19969
19970 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19971
19972 [BZ #14033]
19973 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19974 double functions to double *_finite functions.
19975
19976 [BZ #13941]
19977 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19978 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19979 LDBL_MIN_EXP.
19980 * stdio-common/Makefile (tests): Add tst-sprintf3.
19981 * stdio-common/tst-sprintf3.c: New file.
19982
19983 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19984 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19985
19986 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19987
19988 * conform/conformtest.pl: Remove duplicate typed-constant
19989 handling.
19990
19991 2012-04-28 David S. Miller <davem@davemloft.net>
19992
19993 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19994 (check-abi-%): Remove AWK script prerequisite and explicit
19995 abilist directory.
19996 (check-abi): Rewrite to just diff the symlist with the abilist.
19997 (config-tls, config-abi-config): Delete, no longer used.
19998 (update-abi-%): Remove AWK script and explicit abilist directory.
19999 (update-abi): Rewrite to simply compare and conditionally copy the
20000 symlist and the sysdep abilist file. Remove update-abi-config
20001 checks.
20002 * abilist/ld.abilist: Remove.
20003 * abilist/libBrokenLocale.abilist: Remove.
20004 * abilist/libanl.abilist: Remove.
20005 * abilist/libcrypt.abilist: Remove.
20006 * abilist/libdl.abilist: Remove.
20007 * abilist/librt.abilist: Remove.
20008 * abilist/libthread_db.abilist: Remove.
20009 * abilist/libutil.abilist: Remove.
20010 * scripts/extract-abilist.awk: Remove.
20011 * scripts/merge-abilist.awk: Remove.
20012 * sysdeps/generic/libcidn.abilist: New file.
20013 * sysdeps/generic/libnss_compat.abilist: New file.
20014 * sysdeps/generic/libnss_db.abilist: New file.
20015 * sysdeps/generic/libnss_dns.abilist: New file.
20016 * sysdeps/generic/libnss_files.abilist: New file.
20017 * sysdeps/generic/libnss_hesiod.abilist: New file.
20018 * sysdeps/generic/libnss_nis.abilist: New file.
20019 * sysdeps/generic/libnss_nisplus.abilist: New file.
20020 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20021 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20022 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20023 file.
20024 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20025 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20026 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20027 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20028 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20029 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20030 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20031 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20032 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20033 file.
20034 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20035 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20036 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20037 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20038 file.
20039 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20040 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20041 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20042 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20043 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20044 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20045 file.
20046 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20047 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20048 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20049 file.
20050 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20052 New file.
20053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20054 New file.
20055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20056 New file.
20057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20058 New file.
20059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20060 New file.
20061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20062 New file.
20063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20064 New file.
20065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20066 New file.
20067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20068 New file.
20069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20070 New file.
20071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20072 New file.
20073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20074 New file.
20075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20076 New file.
20077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20078 file.
20079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20080 New file.
20081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20082 New file.
20083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20084 file.
20085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20086 New file.
20087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20088 New file.
20089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20090 file.
20091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20092 New file.
20093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20094 New file.
20095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20096 New file.
20097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20098 New file.
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20100 New file.
20101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20102 New file.
20103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20105 file.
20106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20107 New file.
20108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20109 file.
20110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20111 file.
20112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20113 file.
20114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20115 file.
20116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20117 file.
20118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20119 New file.
20120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20121 file.
20122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20123 file.
20124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20125 New file.
20126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20127 file.
20128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20130 file.
20131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20132 New file.
20133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20134 file.
20135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20136 file.
20137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20138 file.
20139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20140 file.
20141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20142 file.
20143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20144 New file.
20145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20146 file.
20147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20148 file.
20149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20150 New file.
20151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20152 file.
20153 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20154 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20155 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20156 file.
20157 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20158 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20159 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20160 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20161 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20162 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20163 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20164 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20165 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20166 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20169 file.
20170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20171 New file.
20172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20173 file.
20174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20175 file.
20176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20177 file.
20178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20179 file.
20180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20181 file.
20182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20183 New file.
20184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20185 New file.
20186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20187 file.
20188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20189 New file.
20190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20191 file.
20192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20194 file.
20195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20196 New file.
20197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20198 file.
20199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20200 file.
20201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20202 file.
20203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20204 file.
20205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20206 file.
20207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20208 New file.
20209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20210 New file.
20211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20212 file.
20213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20214 New file.
20215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20216 file.
20217
20218 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20219
20220 * conform/conformtest.pl: Fix typo in handling typed-constant from
20221 allow-header.
20222
20223 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20224
20225 * README: Cut down references to pre-2.6 Linux kernels and
20226 Linuxthreads. Update lists of configurations in libc and ports
20227 and sort alphabetically. Say "or newer" with Linux kernel version
20228 requirements.
20229
20230 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20231
20232 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20233
20234 [BZ #887]
20235 * math/libm-test.inc (logb_test_downward): New test to expose
20236 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20237 rounding mode.
20238
20239 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20240
20241 [BZ #14027]
20242 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20243 to be done.
20244 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20245 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20246
20247 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20248
20249 * sysdeps/unix/i386/brk.S: Remove file.
20250 * sysdeps/unix/i386/dl-brk.S: Likewise.
20251 * sysdeps/unix/i386/pipe.S: Likewise.
20252 * sysdeps/unix/i386/sigreturn.S: Likewise.
20253 * sysdeps/unix/i386/syscall.S: Likewise.
20254 * sysdeps/unix/i386/vfork.S: Likewise.
20255 * sysdeps/unix/i386/wait.S: Likewise.
20256
20257 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20258 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20259
20260 * configure.in (arm*-none*): Do not allow without
20261 --enable-hacker-mode.
20262 (netbsd*): Remove case setting base_os.
20263 (386bsd*): Likewise.
20264 (freebsd*): Likewise.
20265 (bsdi*): Likewise.
20266 (osf*): Likewise.
20267 (sunos*): Likewise.
20268 (ultrix*): Likewise.
20269 (newsos*): Likewise.
20270 (dynix*): Likewise.
20271 (*bsd*): Likewise.
20272 (sysv*): Likewise.
20273 (isc*): Likewise.
20274 (esix*): Likewise.
20275 (sco*): Likewise.
20276 (minix*): Likewise.
20277 (irix4*): Likewise.
20278 (irix6*): Likewise.
20279 (solaris[2-9]*): Likewise.
20280 (none): Likewise.
20281 * configure: Regenerated.
20282
20283 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20284
20285 [BZ #11521]
20286 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20287 overflow or cancellation in calculating denominator.
20288 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20289 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20290 down expression to avoid unexpected rounding in newer GCCs.
20291 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20292
20293 2012-04-26 David S. Miller <davem@davemloft.net>
20294
20295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20296 long-double compat symbols.
20297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20310
20311 2012-04-25 David S. Miller <davem@davemloft.net>
20312
20313 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20314 HWCAP_* values only after the memory barriers have been defined.
20315 (atomic_full_barrier): Define.
20316 (atomic_read_barrier): Define.
20317 (atomic_write_barrier): Define.
20318
20319 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20320
20321 * shlib-versions: Add libgcc_s version information.
20322 * sysdeps/generic/libgcc_s.h: Remove.
20323 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20324 libgcc_s.h.
20325 * sysdeps/gnu/unwind-resume.c: Likewise.
20326 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20327
20328 2012-04-25 David S. Miller <davem@davemloft.net>
20329
20330 * sysdeps/unix/sparc/brk.S: Delete.
20331 * sysdeps/unix/sparc/dl-brk.S: Delete.
20332 * sysdeps/unix/sparc/pipe.S: Delete.
20333 * sysdeps/unix/sparc/sysdep.S: Delete.
20334 * sysdeps/unix/sparc/sysdep.h: Delete.
20335 * sysdeps/unix/sparc/vfork.S: Delete.
20336 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20337 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20338 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20339 ret_ERRVAL, r0, r1, MOVE): Define.
20340 (JUMPTARGET): Remove.
20341 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20342 sysdeps/unix/sparc/sysdep.h
20343 (ENTRY, END): Remove.
20344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20345
20346 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20347
20348 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20349 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20350 -DIS_IN_build.
20351
20352 * timezone/README: Update upstream location and email address for
20353 tzcode and tzdata.
20354 * timezone/zdump.c: Update from tzcode 2012b.
20355 * timezone/zic.c: Likewise.
20356
20357 * configure.in (libc_cv_as_needed): Remove test.
20358 * configure: Regenerated.
20359 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20360 conditional definition.
20361 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20362 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20363 * config.make.in (have-as-needed): Remove variable.
20364
20365 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20366 Paul Pluzhnikov <ppluzhnikov@google.com>
20367
20368 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20369 strings correctly.
20370
20371 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20372
20373 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20374 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20375 * sysdeps/sh/strlen.S: Likewise.
20376
20377 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20378
20379 * sysdeps/unix/fork.S: Remove file.
20380 * sysdeps/unix/i386/fork.S: Likewise.
20381 * sysdeps/unix/sparc/fork.S: Likewise.
20382
20383 * sysdeps/unix/system.c: Remove file.
20384 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20385
20386 * sysdeps/unix/getegid.S: Remove file.
20387 * sysdeps/unix/geteuid.S: Likewise.
20388
20389 2012-04-24 Roland McGrath <roland@hack.frob.com>
20390
20391 * scripts/check-localplt.awk: New file.
20392 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20393 of diff.
20394 * scripts/data/localplt-generic.data: Add a comment.
20395
20396 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20397 NODE when __dir_mkfile failed.
20398 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20399 Reported by Ludovic Courtès <ludo@gnu.org>.
20400
20401 2012-04-24 Andreas Jaeger <aj@suse.de>
20402
20403 * Makerules (common-clean): Also remove gen-as-const-headers
20404 files.
20405
20406 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20407
20408 * Makerules (native-compile): Do not change working directory for
20409 build. Use $(OUTPUT_OPTION) in command.
20410 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20411
20412 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20413
20414 [BZ #13886]
20415 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20416 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20417 * math/libm-test.inc (floor_test): Add more tests.
20418 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20419
20420 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20421
20422 * sysdeps/unix/getdents.c: Remove file.
20423 * sysdeps/unix/sysv/getdents.c: Likewise.
20424 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20425
20426 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20427 sysdeps/unix/mman/syscalls.list.
20428 (mmap): Likewise.
20429 (mprotect): Likewise.
20430 (msync): Likewise.
20431 (munmap): Likewise.
20432 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20433 * sysdeps/unix/mman/syscalls.list: Remove.
20434 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20435
20436 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20437 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20438 * configure: Regenerated.
20439 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20440 $(libgcc_s_suffix).
20441 * config.make.in (libgcc_s_suffix): Remove variable.
20442
20443 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20444
20445 * sysdeps/unix/sysv/gethostname.c: Move to ...
20446 * sysdeps/posix/gethostname.c: ... here.
20447
20448 * sysdeps/unix/execve.S: Remove file.
20449
20450 * sysdeps/unix/_exit.S: Remove file.
20451
20452 2012-04-23 Andreas Jaeger <aj@suse.de>
20453
20454 [BZ #13739]
20455 * manual/Makefile: Remove make dist support, there's no
20456 need for a stand-alone documentation tar ball.
20457 (TEXI2DVI): Define always, it's not in Makeconfig.
20458 (dist): Removed.
20459 (tar-it): Removed.
20460 (edition): Removed.
20461 (glibc-doc-$(edition).tar): Removed
20462 (%.Z): Removed.
20463 (%.gz): Removed.
20464 (%.uu): Removed.
20465 (ETAGS): Remove, it's in Makeconfig.
20466 (move-if-change): Remove, it's in Makeconfig.
20467
20468 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20469
20470 [BZ #13970]
20471 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20472 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20473 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20474 (strtod_l, strtof_l, strtold_l): Remove __wur.
20475 It is not necessarily an error to ignore strtol's return value.
20476 One can reliably look at the stored endptr to decide whether
20477 the number had valid syntax.
20478
20479 2012-04-21 Andreas Jaeger <aj@suse.de>
20480
20481 [BZ #13739]
20482 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20483
20484 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20485
20486 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20487 * sysdeps/unix/sysv/Versions: Remove file.
20488
20489 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20490
20491 [BZ #13927]
20492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20493
20494 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20495
20496 [BZ #7064]
20497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20498 version from __vm86.
20499
20500 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20501
20502 * sysdeps/unix/common/lxstat.c: Remove file.
20503 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20504
20505 * sysdeps/unix/sysv/Makefile: Remove file.
20506
20507 * sysdeps/unix/sysv/direct.h: Remove file.
20508
20509 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20510 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20511 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20512 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20513 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20514 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20515 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20516
20517 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20518
20519 * sysdeps/unix/xmknod.c: Remove file.
20520 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20521
20522 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20523
20524 * sysdeps/unix/sysv/i386/time.S: Remove file.
20525
20526 * sysdeps/unix/fxstat.c: Remove file.
20527 * sysdeps/unix/xstat.c: Likewise.
20528 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20529
20530 * sysdeps/unix/sysv/sigaction.c: Remove file.
20531
20532 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20533 (sysdep_headers): Remove variable.
20534 [termio.h not in sysdep_headers] (generated): Likewise.
20535 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20536 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20537 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20538 * sysdeps/unix/sysv/tcflow.c: Likewise.
20539 * sysdeps/unix/sysv/tcflush.c: Likewise.
20540 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20541 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20542 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20543 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20544 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20545
20546 * sysdeps/unix/siglist.c: Remove file.
20547
20548 * sysdeps/unix/getppid.S: Remove file.
20549
20550 * sysdeps/unix/mkdir.c: Remove file.
20551 * sysdeps/unix/rmdir.c: Likewise.
20552
20553 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20554
20555 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20556 ERR_MAX value.
20557 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20558 errlist-compat value.
20559
20560 2012-04-18 David S. Miller <davem@davemloft.net>
20561
20562 * sysdeps/generic/memcopy.h (reg_char): Delete.
20563 * debug/strcat_chk.c: Use char, not reg_char.
20564 * debug/strcpy_chk.c: Likewise.
20565 * debug/strncat_chk.c: Likewise.
20566 * debug/strncpy_chk.c: Likewise.
20567 * string/memchr.c: Likewise.
20568 * string/memrchr.c: Likewise.
20569 * string/rawmemchr.c: Likewise.
20570 * string/strcat.c: Likewise.
20571 * string/strchr.c: Likewise.
20572 * string/strchrnul.c: Likewise.
20573 * string/strcmp.c: Likewise.
20574 * string/strcpy.c: Likewise.
20575 * string/strncat.c: Likewise.
20576 * string/strncmp.c: Likewise.
20577 * string/strncpy.c: Likewise.
20578
20579 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20580
20581 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20582 __builtin_memcopy is called when src and dest ranges are known to not
20583 overlap.
20584
20585 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20586
20587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20588 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20589 fwd_align_merge macro call.
20590 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20591 bwd_align_merge macro call.
20592 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20593
20594 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20595
20596 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20597 bwd_align_merge macros.
20598 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20599 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20600 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20601
20602 2012-04-18 David S. Miller <davem@davemloft.net>
20603
20604 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20605
20606 2012-04-18 Andreas Jaeger <aj@suse.de>
20607
20608 [BZ# 6794]
20609 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20610 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20611 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20612
20613 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20614 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20615 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20616
20617 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20618 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20619 Adjust for changed ldbl-128 files.
20620
20621 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20622 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20623 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20624
20625 2012-04-17 David S. Miller <davem@davemloft.net>
20626
20627 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20628
20629 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20630
20631 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20632 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20633 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20634 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20635 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20636 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20637
20638 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20639
20640 [BZ #6794]
20641 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20642 * math/libm-test.inc: Add ilogb errno and exception tests.
20643 * math/w_ilogb.c: New file: ilogb wrapper.
20644 * math/w_ilogbf.c: New file: ilogbf wrapper.
20645 * math/w_ilogbl.c: New file: ilogbl wrapper.
20646 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20647 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20648 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20649 exception being thrown with 0.0 as argument.
20650 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20651 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20652 exception being thrown with 0.0 as argument.
20653 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20654 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20655 exception being thrown with 0.0 as argument.
20656 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20657 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20658 exception being thrown with 0.0 as argument.
20659 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20660 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20661 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20662 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20663 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20664 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20665 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20666 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20667 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20668
20669 2012-04-17 Petr Baudis <pasky@ucw.cz>
20670
20671 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20672 with altivec.
20673
20674 2012-04-16 Marek Polacek <polacek@redhat.com>
20675
20676 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20677
20678 2012-04-16 Marek Polacek <polacek@redhat.com>
20679
20680 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20681 operands of fdivp instruction.
20682
20683 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20684
20685 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20686 * elf/tst-auditmod3b.c: Likewise.
20687 * elf/tst-auditmod4b.c: Likewise.
20688 * elf/tst-auditmod5b.c: Likewise.
20689 * elf/tst-auditmod6b.c: Likewise.
20690 * elf/tst-auditmod6c.c: Likewise.
20691 * elf/tst-auditmod7b.c: Likewise.
20692 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20693 * sysdeps/x86_64/preconfigure.in: Likewise.
20694 * sysdeps/x86_64/preconfigure: Regenerated.
20695
20696 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20697
20698 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20699 __ILP32__.
20700
20701 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20702
20703 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20704 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20705
20706 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20707
20708 [BZ #13973]
20709 * locale/iso-639.def: Fix gl language name. Spotted by
20710 Yaron Shahrabani.
20711
20712 2012-04-12 Roland McGrath <roland@hack.frob.com>
20713
20714 [BZ #2074]
20715 * libio/libio.h (__io_write_fn): Update comment.
20716
20717 2012-04-12 Petr Baudis <pasky@ucw.cz>
20718
20719 [BZ #2074]
20720 * stdio.texi (Hook Functions): The user provided writer function
20721 is not allowed to return -1.
20722
20723 2012-04-11 David S. Miller <davem@davemloft.net>
20724
20725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20726
20727 2012-04-11 Mike Frysinger <vapier@gentoo.org>
20728
20729 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20730 Add a leading slash to rtkaio.
20731
20732 2012-04-11 Jim Meyering <meyering@redhat.com>
20733
20734 [BZ #11959]
20735 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20736 It is not necessarily an error to ignore fwrite's return
20737 value. One can reliably use ferror to test for errors after
20738 the fact.
20739
20740 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20741
20742 * bits/types.h (__snseconds_t): New type.
20743 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20744
20745 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20747 (__SNSECONDS_T_TYPE): Likewise.
20748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20749 (__SNSECONDS_T_TYPE): Likewise.
20750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20751 (__SNSECONDS_T_TYPE): Likewise.
20752
20753 2012-04-10 Andreas Jaeger <aj@suse.de>
20754
20755 [BZ #2636]
20756 * manual/time.texi (Processor Time): Return type of times is
20757 elapsed real time since an arbitrary point in the past.
20758 (CPU Time): Move CLK_TCK from here...
20759 (Processor Time): ...to here. Correct description.
20760 * manual/conf.texi (Constants for Sysconf): Correct description of
20761 _SC_CLK_TCK.
20762
20763 2012-04-10 David S. Miller <davem@davemloft.net>
20764
20765 [BZ #13967]
20766 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20767 where the is a gap between DT_REL(A) and DT_JMPREL.
20768
20769 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20770
20771 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20772 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20773 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20774
20775 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20776
20777 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20778 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20779 (dl_main): Handle --inhibit-cache.
20780 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20781 _dl_inhibit_cache.
20782 * elf/dl-load.c (_dl_map_object): Use it.
20783 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20784
20785 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20786
20787 [BZ #13872]
20788 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20789 (__ieee754_powl): Saturate large exponents rather than testing for
20790 overflow of y*log2(x).
20791 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20792 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20793 exceptions.
20794
20795 [BZ #11521]
20796 * math/s_ctan.c: Include <float.h>.
20797 (__ctan): Avoid internal overflow or cancellation in calculating
20798 denominator.
20799 * math/s_ctanf.c: Likewise.
20800 * math/s_ctanl.c: Likewise.
20801 * math/s_ctanh.c: Likewise.
20802 * math/s_ctanhf.c: Likewise.
20803 * math/s_ctanhl.c: Likewise.
20804 * math/libm-test.inc (ctan_test): Add more tests.
20805 (ctanh_test): Likewise.
20806 * sysdeps/i386/fpu/libm-test-ulps: Update.
20807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20808
20809 2012-04-09 Andreas Jaeger <aj@suse.de>
20810
20811 [BZ #6894]
20812 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20813 is an optional BSD extension.
20814
20815 [BZ #10254]
20816 * manual/stdio.texi (Opening Streams): Document additional fopen
20817 parameters.
20818
20819 2012-04-09 Roland McGrath <roland@hack.frob.com>
20820
20821 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20822 %eax without telling the compiler.
20823
20824 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20825
20826 [BZ # 13963]
20827 * manual/install.texi: Use sourceware.org.
20828
20829 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20830
20831 [BZ #13873]
20832 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20833 (__ieee754_pow): Generate overflow and underflow using huge*huge
20834 and tiny*tiny rather than just returning constant infinity or zero
20835 for large exponents.
20836 * math/libm-test.inc (pow_test): Require overflow exceptions for
20837 applicable cases of large exponents.
20838
20839 [BZ #706]
20840 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20841 (__ieee754_pow): Use iterative multiplication algorithm only for
20842 integer exponents with absolute value below 1024. Check for odd
20843 integer exponents when using algorithm for real exponents.
20844 * math/libm-test.inc (pow_test): Add more tests.
20845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20846
20847 2012-04-08 Joseph Myers <joseph@codesourcery.com>
20848
20849 [BZ #13705]
20850 * math/libm-test.inc (exp_test): Do not allow overflow exception
20851 on underflow test.
20852
20853 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20854
20855 [BZ #13705]
20856 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20857 instead of __kernel_standard_f.
20858
20859 2012-04-08 Mike Frysinger <vapier@gentoo.org>
20860
20861 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20862 * sysdeps/x86_64/memset_chk.S: Likewise.
20863
20864 2012-04-08 Andreas Jaeger <aj@suse.de>
20865
20866 [BZ #10153]
20867 * manual/startup.texi (Environment Access): Describe return value
20868 for putenv and setenv.
20869
20870 [BZ #6895]
20871 * manual/filesys.texi (Directory Entries): Add description for
20872 DT_LNK.
20873
20874 [BZ #6890]
20875 * manual/filesys.texi (Directory Entries): Clarify that it's file
20876 system not operating system in the description of DT_UNKNOWN.
20877
20878 [BZ #6578]
20879 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20880
20881 2012-04-08 Stephen Compall <s11@member.fsf.org>
20882
20883 [BZ #6649]
20884 * manual/llio.texi (Opening and Closing Files): Add cross
20885 reference to explain mode argument.
20886
20887 2012-04-07 Mike Frysinger <vapier@gentoo.org>
20888
20889 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20890 * sysdeps/x86_64/memset_chk.S: Likewise.
20891
20892 2012-04-07 David S. Miller <davem@davemloft.net>
20893
20894 * elf/elf.h (R_SPARC_WDISP10): Define.
20895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20896 R_SPARC_SIZE32.
20897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20898 R_SPARC_SIZE64 and R_SPARC_H34.
20899
20900 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20901
20902 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20903 conditions and remove no longer applicable assertion.
20904
20905 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20906
20907 * bits/byteswap.h: Include <features.h>.
20908 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20909 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20910
20911 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20912
20913 * bits/byteswap.h (__bswap_16): Removed.
20914 Include <bits/byteswap-16.h> to get __bswap_16.
20915 * sysdeps/i386/bits/byteswap.h: Likewise.
20916 * sysdeps/s390/bits/byteswap.h: Likewise.
20917 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20918 * bits/byteswap-16.h: New file.
20919 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20920 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20921 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20922 * string/Makefile (headers): Add bits/byteswap-16.h.
20923
20924 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20925
20926 [BZ #13895]
20927 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20928 extra indirection.
20929 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20930 * nss/tst-nss-static.c: New.
20931
20932 2012-04-06 Robert Millan <rmh@gnu.org>
20933
20934 [BZ #6486]
20935 * manual/llio.texi (File Position Primitive): lseek
20936 refers to WHENCE when it really means OFFSET.
20937
20938 2012-04-06 Andreas Jaeger <aj@suse.de>
20939
20940 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20941 strncmp declarations.
20942
20943 * abilist/libc.abilist: Add __poll and __ppoll.
20944
20945 2012-04-05 David S. Miller <davem@davemloft.net>
20946
20947 * scripts/check-local-headers.sh: Accept a host triplet in the
20948 path matched by the exclude regexp.
20949
20950 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20951 definition.
20952 * sysdeps/powerpc/powerpc32/dl-machine.h
20953 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20954 * sysdeps/s390/s390-32/dl-machine.h
20955 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20956 * sysdeps/sparc/sparc32/dl-machine.h
20957 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20958 * sysdeps/sparc/sparc64/dl-machine.h
20959 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20960
20961 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20962 lazy binding.
20963 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20964 undefined symbol errors.
20965
20966 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20967 DT_NEEDED entries.
20968
20969 2012-04-05 Michael Matz <matz@suse.de>
20970
20971 [BZ #13592]
20972 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20973
20974 2012-04-05 Andreas Jaeger <aj@suse.de>
20975
20976 [BZ #13908]
20977 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20978 comment.
20979
20980 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20981
20982 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20983 which ROUND is no valid rounding mode.
20984
20985 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20986
20987 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20988 read again.
20989 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20990
20991 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20992
20993 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20994 an exception using FPU order intentionally.
20995
20996 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20997
20998 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20999 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21000 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21001 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21002
21003 2012-04-05 Simon Josefsson <simon@josefsson.org>
21004
21005 [BZ #12340]
21006 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21007 EINVAL when BUFLEN is too smal.
21008
21009 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21010
21011 [BZ #13553]
21012 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21013 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21014
21015 2012-04-03 Andreas Jaeger <aj@suse.de>
21016
21017 [BZ #13938]
21018 * manual/setjmp.texi (System V contexts): Fix sentence.
21019
21020 [BZ #13926]
21021 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21022 New macro for this case.
21023 [!__GNUC__] (__bswap_64): New inline function for this case.
21024 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21025 * bits/byteswap.h: Likewise.
21026 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21027 ull, guard with __GLIBC_HAVE_LONG_LONG.
21028
21029 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21030 __GLIBC_HAVE_LONG_LONG.
21031
21032 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21033 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21034
21035 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21036
21037 [BZ #13691]
21038 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21039 inptr and inend, rather than using last_ch.
21040
21041 2012-04-02 David S. Miller <davem@davemloft.net>
21042
21043 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21044 * stdio-common/printf-parse.h (read_int): Change return type to
21045 'int', return -1 on INT_MAX overflow.
21046 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21047 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21048 overflows INT_MAX. Check for overflow of in-format-string precision
21049 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21050 SIZE_MAX not INT_MAX for integer overflow test.
21051 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21052 skip the construct in the format string but do not record anything.
21053 * stdio-common/bug22.c: Adjust to test both width/prevision
21054 INT_MAX overflow as well as total length INT_MAX overflow. Check
21055 explicitly for proper errno values.
21056
21057 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21058
21059 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21060 CHAR_MAX.
21061 * string/test-strcmp.c [! WIDE]: Likewise.
21062 * time/tst-mktime2.c: Likewise for INT_MAX.
21063 * string/test-string.h: #include <sys/param.h> for MIN.
21064
21065 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21066 * sysdeps/i386/init-first.c (init): Likewise.
21067 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21068 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21069 * sysdeps/sh/init-first.c (init): Likewise.
21070
21071 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21072
21073 * po/ru.po: Update from translation team.
21074 * po/vi.po: Likewise.
21075
21076 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21077
21078 * resolv/nss_dns/dns-host.c: Merge copyright years.
21079
21080 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21081
21082 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21083 Optimize memcpy with prefetch if
21084 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21085 src, dst pointers have unequal 16 byte alignments.
21086
21087 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21088
21089 [BZ #13928]
21090 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21091 from a CNAME entry and return the minimum ttl for the query.
21092 (gaih_getanswer_slice): Likewise.
21093
21094 2012-03-30 Jeff Law <law@redhat.com>
21095
21096 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21097 due to long keys.
21098 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21099 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21100
21101 * resolv/nss_dns/dns-host.c: Update copyright year.
21102
21103 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21104
21105 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21106 requests to save a system call. Fix check that all bytes are sent.
21107
21108 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21109 comments for sendmmsg.
21110
21111 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21112
21113 [BZ #13691]
21114 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21115 with only 1 character between 0x0041 and 0x01b0.
21116 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21117 * wcsmbs/tst-mbsnrtowcs.c: New file.
21118
21119 2012-03-29 David S. Miller <davem@davemloft.net>
21120
21121 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21122 small copies by hand.
21123
21124 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21125
21126 [BZ #13761]
21127 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21128 _nss_compat_initgroups_dyn): Fall back to malloc/free
21129 for large group memberships.
21130
21131 2012-03-28 David S. Miller <davem@davemloft.net>
21132
21133 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21134 that branches into memcpy.
21135 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21136 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21138 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21140 bits.
21141 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21142 implementation too.
21143 * sysdeps/sparc/mempcpy.S: New file.
21144
21145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21146 the IFUNC routine in the libc case.
21147 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21148
21149 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21150 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21151 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21152 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21153 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21154 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21155 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21156 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21157
21158 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21159 loop to 256 bytes instead of 64 bytes and fix test signedness.
21160
21161 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21162 * sysdeps/sparc/sparc32/Makefile: rather than here...
21163 * sysdeps/sparc/sparc64/Makefile: and here.
21164
21165 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21166
21167 * malloc/mallocbug.c: Avoid warnings about unused variables.
21168
21169 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21170
21171 [BZ #13760]
21172 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21173 in the right place. Discard and retry query if response is
21174 larger than input buffer size.
21175
21176 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21177
21178 [BZ #369]
21179 [BZ #2678]
21180 [BZ #3866]
21181 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21182 x for large integer exponent.
21183 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21184 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21185 sign of result as needed afterwards.
21186 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21187 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21188 result for underflowing pow the same as for overflow.
21189 (__kernel_standard_l): Handle powl overflow and underflow here
21190 rather than calling __kernel_standard.
21191 * math/libm-test.inc (pow_test): Add more tests.
21192
21193 [BZ #3868]
21194 [BZ #13879]
21195 [BZ #13910]
21196 [BZ #13911]
21197 [BZ #13912]
21198 [BZ #13913]
21199 [BZ #13915]
21200 [BZ #13916]
21201 [BZ #13917]
21202 [BZ #13918]
21203 [BZ #13919]
21204 [BZ #13920]
21205 [BZ #13921]
21206 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21207 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21208 (__kernel_standard_l): New function.
21209 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21210 __kernel_standard.
21211 * math/w_acosl.c (__acosl): Likewise.
21212 * math/w_asinl.c (__asinl): Likewise.
21213 * math/w_atan2l.c (__atan2l): Likewise.
21214 * math/w_atanhl.c (__atanhl): Likewise.
21215 * math/w_coshl.c (__coshl): Likewise.
21216 * math/w_exp10l.c (__exp10l): Likewise.
21217 * math/w_exp2l.c (__exp2l): Likewise.
21218 * math/w_fmodl.c (__fmodl): Likewise.
21219 * math/w_hypotl.c (__hypotl): Likewise.
21220 * math/w_j0l.c (__j0l, __y0l): Likewise.
21221 * math/w_j1l.c (__j1l, __y1l): Likewise.
21222 * math/w_jnl.c (__jnl, __ynl): Likewise.
21223 * math/w_lgammal.c (__lgammal): Likewise.
21224 * math/w_log10l.c (__log10l): Likewise.
21225 * math/w_log2l.c (__log2l): Likewise.
21226 * math/w_logl.c (__logl): Likewise.
21227 * math/w_powl.c (__powl): Likewise.
21228 * math/w_remainderl.c (__remainderl): Likewise.
21229 * math/w_scalbl.c (sysv_scalbl): Likewise.
21230 * math/w_sinhl.c (__sinhl): Likewise.
21231 * math/w_sqrtl.c (__sqrtl): Likewise.
21232 * math/w_tgammal.c (__tgammal): Likewise.
21233 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21234 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21235 * math/libm-test.inc (acos_test): Add more tests.
21236 (acosh_test): Likewise.
21237 (asin_test): Likewise.
21238 (atanh_test): Likewise.
21239 (exp_test): Likewise.
21240 (exp10_test): Likewise.
21241 (exp2_test): Likewise.
21242 (expm1_test): Likewise.
21243 (lgamma_test): Likewise.
21244 (log_test): Likewise.
21245 (log10_test): Likewise.
21246 (log1p_test): Likewise.
21247 (log2_test): Likewise.
21248 (pow_test): Do not allow some spurious overflow exceptions.
21249 (sqrt_test): Add more tests.
21250 (tgamma_test): Likewise.
21251 (y0_test): Likewise.
21252 (y1_test): Likewise.
21253 (yn_test): Likewise.
21254
21255 2012-03-27 Anton Blanchard <anton@samba.org>
21256
21257 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21258 MAP_HUGETLB.
21259 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21260 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21261 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21262
21263 2012-03-27 David S. Miller <davem@davemloft.net>
21264
21265 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21266
21267 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21268 have-as-vis3 check.
21269
21270 2012-03-27 Andreas Jaeger <aj@suse.de>
21271
21272 * sysdeps/x86_64/elf/configure.in: Moved to ...
21273 * sysdeps/x86_64/configure.in: ... here.
21274 * sysdeps/x86_64/elf/start.S: Moved to ...
21275 * sysdeps/x86_64/start.S: ... here.
21276 * sysdeps/x86_64/elf/configure: Delete.
21277
21278 * sysdeps/x86_64/configure.in: Merge contents from
21279 sysdeps/i386/configure.in (without i686 check).
21280
21281 * sysdeps/i386/elf/Versions: Merge into ...
21282 * sysdeps/i386/Versions: ... this.
21283 * sysdeps/i386/elf/Versions: Delete file.
21284 * sysdeps/i386/elf/start.S: Moved to ...
21285 * sysdeps/i386/start.S: ...here.
21286 * sysdeps/i386/elf/configure.in: Merge into...
21287 * sysdeps/i386/configure.in: ...here.
21288 * sysdeps/i386/elf/configure.in: Delete file.
21289 * sysdeps/i386/elf/configure: Delete file.
21290
21291 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21292 * debug/backtracesyms.c: ... here.
21293 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21294 * debug/backtracesymsfd.c: ... here.
21295 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21296 * sysdeps/generic/ifunc-sel.h: ... here.
21297
21298 * sysdeps/unix/i386/start.c: Delete file.
21299 * sysdeps/unix/sparc/start.c: Delete file.
21300 * sysdeps/unix/start.c: Delete file.
21301
21302 * sysdeps/sh/elf/configure.in: Moved to ...
21303 * sysdeps/sh/configure.in: ... here.
21304 * sysdeps/sh/elf/start.S: Moved to ...
21305 * sysdeps/sh/start.S: ... here.
21306 * sysdeps/sh/elf/configure: Delete file.
21307
21308 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21309 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21310 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21311 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21312 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21313 * sysdeps/powerpc/powerpc64/start.S: here.
21314 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21315 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21316 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21317 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21318 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21319
21320 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21321 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21322 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21323 * sysdeps/powerpc/powerpc32/start.S: ... here.
21324 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21325 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21326 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21327
21328 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21329 * sysdeps/powerpc/ifunc-sel.h: ... here.
21330 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21331 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21332
21333 * sysdeps/sparc/elf/configure.in: Moved to ...
21334 * sysdeps/sparc/configure.in: ... here.
21335 * sysdeps/sparc/elf/configure: Delete file.
21336 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21337 * sysdeps/sparc/sparc32/start.S: ... here.
21338 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21339 * sysdeps/sparc/sparc64/start.S: ... here.
21340 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21341 * sysdeps/sparc/sparc32/Makefile: ... this.
21342 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21343 * sysdeps/sparc/sparc64/Makefile: ... this.
21344
21345 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21346 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21347 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21348 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21349 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21350 * sysdeps/s390/s390-32/setjmp.S: ... here.
21351 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21352 * sysdeps/s390/s390-32/configure.in: ... here.
21353 * sysdeps/s390/s390-32/elf/configure: Delete file.
21354 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21355 * sysdeps/s390/s390-32/start.S: ... here.
21356
21357 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21358 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21359 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21360 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21361 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21362 * sysdeps/s390/s390-64/setjmp.S: ... here.
21363 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21364 * sysdeps/s390/s390-64/configure.in: ... here
21365 * sysdeps/s390/s390-64/elf/configure: Delete file.
21366 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21367 * sysdeps/s390/s390-64/start.S: ... here.
21368 * sysdeps/s390/s390-64/elf/configure: Delete.
21369
21370 * configure.in: Remove support for elf directories in sysdeps.
21371
21372 * configure: Regenerated.
21373 * sysdeps/i386/configure: Regenerated.
21374 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21375 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21376 * sysdeps/s390/s390-32/configure: Regenerated.
21377 * sysdeps/s390/s390-64/configure: Regenerated.
21378 * sysdeps/sh/configure: Regenerated.
21379 * sysdeps/sparc/configure: Regenerated.
21380 * sysdeps/x86_64/configure: Regenerated.
21381
21382 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21383
21384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21385
21386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21387 denormal result into account.
21388
21389 2012-03-25 Roland McGrath <roland@hack.frob.com>
21390
21391 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21392 Reported by Allan McRae <allan@archlinux.org>.
21393
21394 2012-03-23 Jeff Law <law@redhat.com>
21395
21396 * nss/getnssent.c (__nss_getent): Fix typo.
21397
21398 2012-03-23 David S. Miller <davem@davemloft.net>
21399
21400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21401
21402 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21403
21404 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21405 to pad to uint64_t for each field.
21406 (dl_tls_index): Replace unsigned long with uint64_t.
21407
21408 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21409 Paul Pluzhnikov <ppluzhnikov@google.com>
21410
21411 [BZ #6528]
21412 * grp/Makefile (otherlibs): Don't set it.
21413 * inet/Makefile (otherlibs): Likewise.
21414 * login/Makefile (otherlibs): Likewise.
21415 * nscd/Makefile (otherlibs): Likewise.
21416 * posix/Makefile (otherlibs): Likewise.
21417 * pwd/Makefile (otherlibs): Likewise.
21418 * rt/Makefile (otherlibs): Likewise.
21419 * sunrpc/Makefile (otherlibs): Likewise.
21420 * nss/Makefile (otherlibs): Likewise.
21421 Add libnss_files to routines and static-only-routines.
21422 ($(objpfx)getent): Remove rule.
21423 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21424 static-only-routines.
21425
21426 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21427
21428 [BZ #13892]
21429 * math/s_cexp.c: Include <float.h>.
21430 (__cexp): Handle exp result overflowing not necessarily
21431 overflowing both real and imaginary parts of result.
21432 * math/s_cexpf.c: Likewise.
21433 * math/s_cexpl.c: Likewise.
21434 * math/libm-test.inc (cexp_test): Add more tests.
21435 * sysdeps/i386/fpu/libm-test-ulps: Update.
21436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21437
21438 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21439
21440 * include/link.h (ELFW): New macro.
21441 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21442 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21443
21444 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21445
21446 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21447 with uint64_t.
21448
21449 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21450
21451 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21452 declaration.
21453 (struct La_x32_retval): Likewise.
21454
21455 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21456
21457 * sysdeps/x86_64/preconfigure.in: New file.
21458 * sysdeps/x86_64/preconfigure: New generated file.
21459
21460 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21461
21462 [BZ #13824]
21463 * math/e_exp2l.c: Include <float.h>.
21464 (__ieee754_exp2l): Handle overflow and underflow cases
21465 separately. Only pass fractional part of argument to
21466 __ieee754_expl.
21467 * math/libm-test.inc (exp2_test): Add more tests.
21468
21469 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21470 negating x to take absolute value.
21471 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21472 Likewise.
21473 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21474 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21475 Likewise.
21476 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21477 computing low part if x was negated.
21478 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21479
21480 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21481
21482 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21483 la_x32_gnu_pltexit.
21484 (pltexit): Cast int_retval to ptrdiff_t.
21485 * elf/tst-auditmod3b.c: Likewise.
21486 * elf/tst-auditmod4b.c: Likewise.
21487 * elf/tst-auditmod5b.c: Likewise.
21488 * elf/tst-auditmod6b.c: Likewise.
21489 * elf/tst-auditmod6c.c: Likewise.
21490 * elf/tst-auditmod7b.c: Likewise.
21491
21492 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21493 and x32_gnu_pltexit.
21494
21495 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21496 __ELF_NATIVE_CLASS.
21497 (La_x32_regs): New macro.
21498 (La_x32_retval): Likewise.
21499 (la_x32_gnu_pltenter): New function prototype.
21500 (la_x32_gnu_pltexit): Likewise.
21501
21502 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21503
21504 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21505 exponent.
21506
21507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21508
21509 * configure.in (libc_cv_cc_nofma): Check for option to disable
21510 generation of FMA instructions.
21511 * configure: Regenerate.
21512 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21513 * sysdeps/ieee754/dbl-64/Makefile: New file.
21514 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21515 Remove brandred-fma4.
21516 (CFLAGS-brandred-fma4.c): Remove.
21517 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21519 define.
21520 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21521 define.
21522
21523 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21524
21525 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21526 LLONG_MAX != LONG_MAX.
21527 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21528 (_fitoa_word): Likewise.
21529 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21530 LLONG_MAX != LONG_MAX.
21531 * stdio-common/_itowa.h: Include <_itoa.h>.
21532 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21533 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21534 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21535 only if not defined.
21536 (_ITOA_WORD_TYPE): Likewise.
21537 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21538 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21539
21540 2012-03-21 David S. Miller <davem@davemloft.net>
21541
21542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21543
21544 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21545
21546 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21547 of x86_64 when setting libc_cv_slibdir, libdir and
21548 libc_cv_localedir.
21549 * sysdeps/unix/sysv/linux/configure: Regenerated.
21550
21551 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21552
21553 * manual/lang.texi (Old Varargs): Remove section.
21554 (How Variadic): Update menu.
21555 (va_start): Do not mention varargs.h.
21556
21557 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21558 Joseph Myers <joseph@codesourcery.com>
21559
21560 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21561 link test.
21562 * configure: Regenerated.
21563
21564 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21565
21566 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21567 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21568 conformtest.pl
21569
21570 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21571
21572 * NOTES: Remove.
21573 * Makefile (files-for-dist): Remove NOTES.
21574 (NOTES): Remove rule.
21575 * README: Don't refer to NOTES.
21576 * manual/creature.texi: Don't include macros.texi.
21577 * manual/intro.texi (creature.texi): Remove comment referring to
21578 NOTES.
21579
21580 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21581 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21582 * configure: Regenerated.
21583 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21584 LIBC_TRY_CC_OPTION.
21585 (libc_cv_as_i686): Likewise.
21586 (libc_cv_cc_avx): Likewise.
21587 (libc_cv_cc_sse2avx): Likewise.
21588 (libc_cv_cc_fma4): Likewise.
21589 (libc_cv_cc_novzeroupper): Likewise.
21590 * sysdeps/i386/configure: Regenerated.
21591
21592 [BZ #13883]
21593 * sysdeps/i386/fpu/s_cexp.S: Remove.
21594 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21595 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21596 * math/libm-test.inc (cexp_test): Add more tests.
21597 * sysdeps/i386/fpu/libm-test-ulps: Update.
21598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21599
21600 2012-03-21 Allan McRae <allan@archlinux.org>
21601
21602 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21603
21604 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21605
21606 [BZ #13871]
21607 * math/w_exp2.c: Do not include <float.h>.
21608 (o_threshold, u_threshold): Remove.
21609 (__exp2): Calculate result before checking finiteness and calling
21610 __kernel_standard.
21611 * math/w_exp2f.c: Likewise.
21612 * math/w_exp2l.c: Likewise.
21613 * math/libm-test.inc (exp2_test): Require overflow exception for
21614 1e6 input.
21615
21616 [BZ #3866]
21617 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21618 range of signed 64-bit integers before using fistpll. Remove
21619 checks for whether integers fit in mantissa bits.
21620 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21621 the range of signed 32-bit integers before using fistpl. Remove
21622 checks for whether integers fit in mantissa bits.
21623 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21624 (__ieee754_powl): Test for y outside the range of signed 64-bit
21625 integers before using fistpll. Reduce 64-bit values to 63-bit
21626 ones as needed.
21627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21628 divide-by-zero is raised for zero to large negative powers.
21629 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21630 (__ieee754_powl): Test for y outside the range of signed 64-bit
21631 integers before using fistpll. Reduce 64-bit values to 63-bit
21632 ones as needed.
21633 * math/libm-test.inc (pow_test): Add more tests.
21634
21635 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21636
21637 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21638 <stdio-common/_itoa.h>.
21639 * debug/segfault.c: Likewise.
21640 * elf/dl-cache.c: Likewise.
21641 * elf/dl-minimal.c: Likewise.
21642 * elf/dl-misc.c: Likewise.
21643 * elf/dl-sysdep.c: Likewise.
21644 * elf/dl-version.c: Likewise.
21645 * elf/rtld.c: Likewise.
21646 * hurd/hurdsock.c: Likewise.
21647 * hurd/lookup-retry.c: Likewise.
21648 * malloc/malloc.c: Likewise.
21649 * malloc/mtrace.c: Likewise.
21650 * nscd/nscd_getgr_r.c: Likewise.
21651 * nscd/nscd_getpw_r.c: Likewise.
21652 * nscd/nscd_getserv_r.c: Likewise.
21653 * posix/getopt_init.c: Likewise.
21654 * posix/wordexp.c: Likewise.
21655 * stdio-common/_itoa.c: Likewise.
21656 * stdio-common/printf_fphex.c: Likewise.
21657 * stdio-common/vfprintf.c: Likewise.
21658 * string/_strerror.c: Likewise.
21659 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21660 * sysdeps/i386/i686/hp-timing.h: Likewise.
21661 * sysdeps/mach/_strerror.c: Likewise.
21662 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21663 * sysdeps/mach/hurd/sethostid.c: Likewise.
21664 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21665 * sysdeps/mach/xpg-strerror.c: Likewise.
21666 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21667 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21668 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21669 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21670 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21671 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21672 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21673 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21674 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21675 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21676 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21677 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21678 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21679 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21680 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21681 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21682 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21683 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21684 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21685 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21686 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21687
21688 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21689
21690 * stdio-common/_itoa.h: Moved to ...
21691 * sysdeps/generic/_itoa.h: Here.
21692
21693 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21694
21695 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21696 instead of "_itoa.h" and "_itowa.h".
21697 * stdio-common/vfprintf.: Likewise.
21698
21699 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21700
21701 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21702 <bits/wordsize.h>.
21703 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21704 (__signbit): Likwise.
21705 (llrintf): Likwise.
21706 (llrint): Likwise.
21707
21708 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21709
21710 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21711 __WORDSIZE != 64.
21712
21713 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21714
21715 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21716 OVERFLOW_EXCEPTION_OK.
21717 * math/libm-test.inc ("Philosophy"): Update comment about
21718 exception testing.
21719 (OVERFLOW_EXCEPTION): Define.
21720 (OVERFLOW_EXCEPTION_OK): Likewise.
21721 (INVALID_EXCEPTION_OK): Renumber.
21722 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21723 (IGNORE_ZERO_INF_SIGN): Likewise.
21724 (test_exceptions): Handle FE_OVERFLOW.
21725 (exp10_test): Expect overflow exceptions.
21726 (exp2_test): Likewise.
21727 (expm1_test): Likewise.
21728 (nextafter_test): Likewise.
21729 (pow_test): Likewise.
21730 (scalbn_test): Likewise.
21731 (scalbln_test): Likewise.
21732
21733 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21734
21735 * sysdeps/x86_64/bits/atomic.h
21736 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21737 64bit integer.
21738 (atomic_exchange_acq): Likewise.
21739 (__arch_exchange_and_add_body): Likewise.
21740 (__arch_add_body): Likewise.
21741 (atomic_add_negative): Likewise.
21742 (atomic_add_zero): Likewise.
21743
21744 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21745
21746 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21747 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21748
21749 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21750
21751 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21752 Check __x86_64__ instead of __WORDSIZE.
21753
21754 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21755
21756 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21757
21758 2012-03-19 David S. Miller <davem@davemloft.net>
21759
21760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21761
21762 * sysdeps/sparc/fpu/fenv_private.h: New file.
21763 * sysdeps/sparc/fpu/math_private.h: Use it.
21764 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21765 Remove.
21766 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21767 (libc_feholdexcept_setroundl): Remove.
21768 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21769 Remove.
21770 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21771 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21772
21773 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21774
21775 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21776 int64_t instead of long int.
21777 (INSERT_WORDS64): Likwise.
21778
21779 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21780
21781 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21782 _Unwind_GetCFA return to _Unwind_Ptr first.
21783
21784 2012-03-19 Joseph Myers <joseph@codesourcery.com>
21785
21786 [BZ #13629]
21787 * math/s_clog.c: Include <float.h>.
21788 (__clog): Scale large or subnormal inputs.
21789 * math/s_clogf.c: Likewise.
21790 * math/s_clogl.c: Likewise.
21791 * math/s_clog10.c: Include <float.h>.
21792 (M_LOG10_2): Define.
21793 (__clog10): Scale large or subnormal inputs.
21794 * math/s_clog10f.c: Likewise.
21795 * math/s_clog10l.c: Likewise.
21796 * math/libm-test.inc (clog_test): Add more tests.
21797 (clog10_test): Likewise.
21798 * sysdeps/i386/fpu/libm-test-ulps: Update.
21799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21800
21801 [BZ #11451]
21802 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21803 x and y.
21804 * math/libm-test.inc (atan2_test): Add another test.
21805
21806 * Makerules (common-objdir-compile): Remove.
21807 * sysdeps/unix/Makefile (config-generated): Do not add
21808 $(unix-generated) to variable.
21809 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21810 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21811 Remove rule.
21812 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21813 Likewise.
21814 [generic bits/local_lim.h] (before-compile): Do not append to
21815 variable.
21816 [generic bits/local_lim.h] (common-generated): Likewise.
21817 [generic sys/param.h] (before-compile): Do not append to variable.
21818 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21819 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21820 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21821 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21822 include.
21823 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21824 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21825 [generic sys/param.h] ($(addprefix
21826 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21827 [generic sys/param.h] (common-generated): Do not append to
21828 variable.
21829 [generic sys/param.h] (sysdep_headers): Likewise.
21830 [generic bits/errno.h] (before-compile): Do not append to
21831 variable.
21832 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21833 rule.
21834 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21835 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21836 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21837 [generic bits/errno.h] (common-generated): Do not append to
21838 variable.
21839 [generic bits/ioctls.h] (before-compile): Do not append to
21840 variable.
21841 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21842 rule.
21843 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21844 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21845 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21846 rule.
21847 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21848 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21849 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21850 [generic bits/ioctls.h] (common-generated): Do not append to
21851 variable.
21852 [generic sys/syscall.h] (syscall.h): Remove variable.
21853 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21854 rule.
21855 [generic sys/syscall.h] (before-compile): Do not append to
21856 variable.
21857 [generic sys/syscall.h] (common-generated): Likewise.
21858 * sysdeps/unix/errnos-tmpl.c: Remove file.
21859 * sysdeps/unix/errnos.awk: Likewise.
21860 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21861 * sysdeps/unix/ioctls.awk: Likewise.
21862 * sysdeps/unix/mk-local_lim.c: Likewise.
21863 * sysdeps/unix/snarf-ioctls: Likewise.
21864
21865 2012-03-19 Richard Henderson <rth@twiddle.net>
21866
21867 * sysdeps/i386/fpu/fenv_private.h: New file.
21868 * sysdeps/i386/fpu/math_private.h: Use it.
21869 (math_opt_barrier, math_force_eval): Remove.
21870 (libc_feholdexcept_setround_53bit): Remove.
21871 (libc_feupdateenv_53bit): Remove.
21872 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21873 (math_opt_barrier, math_force_eval): Remove.
21874 (libc_feholdexcept): Remove.
21875 (libc_feholdexcept_setround): Remove.
21876 (libc_fetestexcept, libc_fesetenv): Remove.
21877 (libc_feupdateenv_test): Remove.
21878 (libc_feupdateenv, libc_feholdsetround): Remove.
21879 (libc_feresetround): Remove.
21880
21881 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21882 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21883
21884 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21885 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21886 (libc_feupdateenv_testl): New.
21887 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21888 (libc_feupdateenv_testf): New.
21889 (libc_feupdateenv): Use libc_feupdateenv_test.
21890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21891 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21892
21893 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21894 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21895 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21896 (libc_feresetround_noex): New.
21897 (libc_feresetround_noexf): New.
21898 (libc_feresetround_noexl): New.
21899 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21900 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21901 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21902 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21903 SET_RESTORE_ROUND.
21904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21905 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21906 (__cos): Likewise.
21907 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21908 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21909 SET_RESTORE_ROUND_NOEX.
21910 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21911 SET_RESTORE_ROUND_NOEXF.
21912 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21913 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21914 (libc_feholdsetroundf): New.
21915 (libc_feresetround, libc_feresetroundf): New.
21916
21917 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21918 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21919 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21920
21921 * sysdeps/generic/math_private.h: Include <fenv.h>.
21922 (default_libc_feholdexcept): New.
21923 (default_libc_feholdexcept_setround): New.
21924 (default_libc_fesetenv, default_libc_feupdateenv): New.
21925 (libc_feholdexcept): Only define if undefined.
21926 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21927 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21928 (libc_feholdexcept_setroundl): Likewise.
21929 (libc_feholdexcept_setround_53bit): Likewise.
21930 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21931 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21932 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21933 (libc_feupdateenv_53bit): Likewise.
21934 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21935 (libc_feholdexcept): Convert from macro to inline function.
21936 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21937 (libc_fesetenv, libc_feupdateenv): Likewise.
21938
21939 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21940 not previously defined.
21941 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21942 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21943 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21944 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21945 * sysdeps/ieee754/flt-32/math_private.h: New file.
21946 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21947 math_private.h below SET_FLOAT_WORD.
21948 (__isnan, __isinf_ns, __finite): Remove.
21949 (__isnanf, __isinf_nsf, __finitef): Remove.
21950
21951 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21952
21953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21954
21955 2012-03-17 David S. Miller <davem@davemloft.net>
21956
21957 [BZ #6471]
21958 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21959 for 2.16.
21960
21961 2012-03-16 David S. Miller <davem@davemloft.net>
21962
21963 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21964 warnings.
21965
21966 [BZ #6471]
21967 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21968 properly.
21969 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21970 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21971 sysdep_routines when subdir is sysvipc.
21972 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21973 __getshmlba helper.
21974
21975 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21976
21977 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21978
21979 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21980 [__LP64__].
21981
21982 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21983
21984 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21985 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21986 (__lround): Renamed to ...
21987 (__llround): This. Replace long int with long long int.
21988 Define lround functions as aliases of llround functions.
21989 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21990
21991 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21992
21993 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21994 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21995 adresses to uintptr_t. Replace "long int" and "unsigned long
21996 int" with "greg_t" on va_arg.
21997
21998 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21999
22000 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22001 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22002
22003 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22004 Move e_machine check before EI_CLASS check. Handle x32
22005 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22006 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22007 SKIP_EM_IA_64 and include
22008 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22009
22010 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22011 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22012 (add_system_dir): New macro.
22013
22014 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22015 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22016
22017 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22018
22019 [BZ #2551]
22020 [BZ #2552]
22021 [BZ #2553]
22022 [BZ #2554]
22023 [BZ #2562]
22024 [BZ #2563]
22025 [BZ #2565]
22026 [BZ #2566]
22027 [BZ #2576]
22028 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22029 (y0): Likewise.
22030 * math/w_j0f.c (j0f): Likewise.
22031 (y0f): Likewise.
22032 * math/w_j0l.c (__j0l): Likewise.
22033 (__y0l): Likewise.
22034 * math/w_j1.c (j1): Likewise.
22035 (y1): Likewise.
22036 * math/w_j1f.c (j1f): Likewise.
22037 (y1f): Likewise.
22038 * math/w_j1l.c (__j1l): Likewise.
22039 (__y1l): Likewise.
22040 * math/w_jn.c (jn): Likewise.
22041 (yn): Likewise.
22042 * math/w_jnf.c (jnf): Likewise.
22043 (ynf): Likewise.
22044 * math/w_jnl.c (__jnl): Likewise.
22045 (__ynl): Likewise.
22046 * math/libm-test.inc (j0_test): Add more tests.
22047 (j1_test): Likewise.
22048 (jn_test): Likewise. Add trailing semicolon to existing test.
22049 (y0_test): Likewise.
22050 (y1_test): Likewise.
22051 * sysdeps/i386/fpu/libm-test-ulps: Update.
22052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22053
22054 [BZ #13851]
22055 [BZ #13854]
22056 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22057 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22058 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22059 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22060 (__tanl): Set errno for infinite argument.
22061 * sysdeps/i386/fpu/mptan.c: Remove.
22062 * sysdeps/i386/fpu/s_tan.S: Likewise.
22063 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22064 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22065 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22066 * math/libm-test.inc (tan_test): Add more tests and enable more
22067 tests for double and long double.
22068 * sysdeps/i386/fpu/libm-test-ulps: Update.
22069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070
22071 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22072
22073 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22074 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22075
22076 2012-03-16 Roland McGrath <roland@hack.frob.com>
22077
22078 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22079 * configure.in: Use it for both main tree and add-ons.
22080 * configure: Regenerated.
22081
22082 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22083
22084 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22085
22086 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22087
22088 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22089 in comment.
22090
22091 [BZ #13851]
22092 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22093 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22094 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22095 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22096 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22097 infinite argument.
22098 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22099 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22100 != 0 for prec == 2.
22101 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22102 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22103 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22104 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22105 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22106 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22107 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22108 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22109 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22110 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22111 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22112 * math/libm-test.inc (cos_test): Add more tests and enable more
22113 tests for long double.
22114 (sin_test): Likewise.
22115 (sincos_test): Likewise.
22116 * sysdeps/i386/fpu/libm-test-ulps: Update.
22117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22118
22119 2012-03-16 David S. Miller <davem@davemloft.net>
22120
22121 * sysdeps/sparc/fpu/math_private.h: New file.
22122
22123 2012-03-15 David S. Miller <davem@davemloft.net>
22124
22125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22126 file.
22127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22129 file.
22130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22136 sysdep routines.
22137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22138
22139 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22140 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22141
22142 * sysdeps/sparc/sparc-ifunc.h: New file.
22143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22144 sparc-ifunc.h
22145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22147 Likewise.
22148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22149 Likewise.
22150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22154 Likewise.
22155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22160 Likewise.
22161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22162 Likewise.
22163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22182 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22187
22188 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22189
22190 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22191 scaling.
22192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22193
22194 2012-03-15 Andreas Jaeger <aj@suse.de>
22195
22196 [BZ #13852]
22197 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22198 ieee754/flt-32 implementation for sin, cos and sincos.
22199 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22200 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22201 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22202 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22203 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22204 ieee754/flt-32 implementation for tan.
22205
22206 * math/libm-test.inc (cos_test): Enable some large input tests for
22207 float as well
22208 (sin_test): Likewise.
22209 (sincos_test): Likewise.
22210 (tan_test): Add tests for large input.
22211
22212 * sysdeps/i386/fpu/libm-test-ulps: Update.
22213
22214 2012-03-15 Andreas Jaeger <aj@suse.de>
22215
22216 [BZ #13658]
22217 * math/libm-test.inc (cos_test): Add more test cases.
22218 (sin_test): Likewise.
22219 (sincos_test): Likewise.
22220
22221 2012-03-15 Andreas Jaeger <aj@suse.de>
22222
22223 [BZ #13837]
22224 * math/libm-test.inc (cos_test): Add a test case for large input
22225 value.
22226 (sin_test): Likewise.
22227 (sincos_test): Likewise.
22228
22229 2012-03-15 Andreas Jaeger <aj@suse.de>,
22230 Joseph Myers <joseph@codesourcery.com>
22231
22232 [BZ #13658]
22233 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22234 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22235 * sysdeps/i386/fpu/branred.c: Likewise.
22236 * sysdeps/i386/fpu/dosincos.c: Likewise.
22237 * sysdeps/i386/fpu/mpa.c: Likewise.
22238 * sysdeps/i386/fpu/s_cos.S: Likewise.
22239 * sysdeps/i386/fpu/s_sin.S: Likewise.
22240 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22241 * sysdeps/i386/fpu/sincos32.c: Likewise.
22242
22243 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22244 Define.
22245 (libc_feupdateenv_53bit): Define.
22246 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22247 Define.
22248 (libc_feupdateenv_53bit): Define.
22249
22250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22251 53 bit (without extend i386 double precision).
22252
22253 * math/libm-test.inc (sincos_test): Add tests for large input.
22254 (sin): Likewise.
22255 (cos): Likewise.
22256
22257 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22258
22259 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22260
22261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22262
22263 2012-03-15 David S. Miller <davem@davemloft.net>
22264
22265 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22266 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22267 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22268 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22281 file.
22282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22284 file.
22285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22287 file.
22288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22290 file.
22291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22292 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22293 fmin/fmax sysdep routines.
22294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22295
22296 2012-03-14 David S. Miller <davem@davemloft.net>
22297
22298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22303 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22304 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22318 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22319 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22320 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22322 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22326 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22327 routines.
22328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22329 file.
22330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22332 file.
22333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22335 file.
22336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22338 file.
22339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22341 file.
22342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22344 file.
22345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22346 file.
22347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22348 file.
22349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22350 file.
22351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22352 New file.
22353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22354 file.
22355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22356 file.
22357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22359 file.
22360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22362 file.
22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22365 file.
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22368 VIS3 routines.
22369
22370 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22371 New file.
22372
22373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22374
22375 * sysdeps/sparc/configure.in: New file.
22376 * sysdeps/sparc/configure: Generate.
22377 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22378 * configure: Regenerate.
22379 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22380 * config.make.in (have-as-vis3): New.
22381 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22382 available use -Av9d instead of -Av9a.
22383 * sysdeps/sparc/sparc64/Makefile: Likewise.
22384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22386 New file.
22387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22388 file.
22389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22390 New file.
22391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22392 file.
22393 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22394 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22395 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22398
22399 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22400 fzeros/fnegs to load 0x80000000 into a float register instead of
22401 using the stack.
22402 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22403
22404 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22405
22406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22407 bits/syscall.h.
22408 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22409 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22410 ($(inst_includedir)/bits/syscall.h): Remove rule.
22411 ($(objpfx)bits/syscall.d): Include instead of
22412 $(objpfx)syscall-list.d.
22413 (generated): Change syscall-list.h and syscall-list.d to
22414 bits/syscall.h and bits/syscall.d.
22415
22416 2012-03-14 Roland McGrath <roland@hack.frob.com>
22417
22418 [BZ #13846]
22419 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22420
22421 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22422
22423 [BZ #13841]
22424 * math/s_csqrt.c: Include <float.h>.
22425 (__csqrt): Scale large or subnormal inputs.
22426 * math/s_csqrtf.c: Likewise.
22427 * math/s_csqrtl.c: Likewise.
22428 * math/libm-test.inc (csqrt_test): Add more tests.
22429 * sysdeps/i386/fpu/libm-test-ulps: Update.
22430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22431
22432 [BZ #13840]
22433 * math/libm-test.inc (hypot_test): Add more tests.
22434
22435 2012-03-13 David S. Miller <davem@davemloft.net>
22436
22437 [BZ #13840]
22438 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22439 double-precision for the calculation instead of scaling.
22440
22441 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22442
22443 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22444 manipulate bits before adding and subtracting TWO52[sx].
22445 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22446 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22447 Likewise.
22448 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22449
22450 2012-03-13 David S. Miller <davem@davemloft.net>
22451
22452 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22453 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22455 rtld-global-offsets.h
22456 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22457
22458 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22459 large parameters.
22460
22461 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22462
22463 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22464 'err' in the ifdef scope in which it is actually used.
22465
22466 * nss/nss_db/db-init.c: Include string.h
22467
22468 2012-03-12 David S. Miller <davem@davemloft.net>
22469
22470 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22471 masking out of the most significant byte of random value used.
22472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22473 Fix coding style in previous change.
22474
22475 * sysdeps/unix/sysv/linux/kernel-features.h
22476 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22477 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22478 expression.
22479 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22480 later.
22481
22482 2012-03-11 David S. Miller <davem@davemloft.net>
22483
22484 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22485 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22486 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22487 for 'resultvar' otherwise things get truncated on 64-bit.
22488
22489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22490 Fix masking out of the most significant byte of random value used.
22491
22492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22493
22494 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22495
22496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22497
22498 2012-03-09 David S. Miller <davem@davemloft.net>
22499
22500 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22501 variables with appropriate CPP guards.
22502 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22503 frame pointer, not the stack pointer. Correct layout comments. Fix test
22504 on resulting framesize and the management of the outregs buffer for pltexit.
22505 Preserve floating point return values across _dl_call_pltexit call.
22506 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22507 framesize and the management of the outregs buffer for pltexit.
22508 Preserve floating point return values across _dl_call_pltexit
22509 call.
22510 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22511 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22512 (print_exit): Fix format string for return register value.
22513
22514 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22515
22516 * sunrpc/Makefile (others): Add rpcgen.
22517 ($(objpfx)rpcgen): Remove special build rule and dependency on
22518 libc.
22519 * sunrpc/rpcgen.c: New file.
22520
22521 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22522
22523 [BZ #13673]
22524 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22525 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22526 * sysdeps/i386/crti.S: Likewise.
22527 * sysdeps/i386/crtn.S: Likewise.
22528 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22529 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22530 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22531 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22532 * sysdeps/sh/crti.S: Likewise.
22533 * sysdeps/sh/crtn.S: Likewise.
22534 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22535
22536 [BZ #13673]
22537 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22538 with URL.
22539 * locale/programs/locfile-kw.gperf: Likewise.
22540 * locale/programs/charmap-kw.h: Regenerated.
22541 * locale/programs/locfile-kw.h: Likewise.
22542
22543 [BZ #13673]
22544 * intl/plural.y: Replace FSF snail mail address with URL.
22545 * intl/plural.c: Regenerated.
22546
22547 2012-03-09 Richard Henderson <rth@twiddle.net>
22548
22549 * include/math_private.h: Remove file.
22550 * math/math_private.h: Move file ...
22551 * sysdeps/generic/math_private.h: ... here.
22552
22553 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22554 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22555 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22556
22557 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22558 and <math_private.h>.
22559 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22560 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22561 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22562 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22563 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22614 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22616 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22647 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22648 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22649 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22650 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22651 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22652 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22653 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22654 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22655 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22656 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22657 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22658 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22659 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22660 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22661 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22662 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22663 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22664 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22665 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22666 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22667 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22668 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22669 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22670 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22671 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22672 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22673 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22674 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22675 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22676 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22677 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22678 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22679 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22680 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22681 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22682 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22683 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22684 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22685 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22686 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22687 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22688 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22689 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22690 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22691 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22692 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22693 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22694 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22696 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22697 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22698 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22699 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22700 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22701 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22702 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22703 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22704 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22705 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22706 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22707 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22708 * sysdeps/ieee754/k_standard.c: Likewise.
22709 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22710 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22711 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22713 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22715 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22716 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22717 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22718 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22719 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22720 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22721 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22722 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22723 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22724 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22725 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22726 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22727 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22728 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22729 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22730 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22731 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22732 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22733 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22735 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22736 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22737 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22740 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22743 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22763 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22765 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22766 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22767 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22768 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22771 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22776 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22778 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22779 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22822 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22824 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22828 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22829 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22831 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22835 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22836 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22837 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22839 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22840 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22841 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22842 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22843 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22847 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22848 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22854 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22857 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22858 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22859 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22860 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22863 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22864 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22869 * sysdeps/ieee754/s_lib_version.c: Likewise.
22870 * sysdeps/ieee754/s_matherr.c: Likewise.
22871 * sysdeps/ieee754/s_signgam.c: Likewise.
22872 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22873 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22874 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22875 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22876 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22877 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22878 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22879 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22880 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22881 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22882 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22883 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22884 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22885 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22886 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22887 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22888 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22889 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22890 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22891 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22892 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22893
22894 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22895
22896 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22897 * sunrpc/rpc_main.c: Likewise.
22898 * sunrpc/rpc_svcout.c: Likewise.
22899
22900 2012-03-09 David S. Miller <davem@davemloft.net>
22901
22902 * include/math_private.h: New file.
22903
22904 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22905
22906 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22907 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22908 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22909 from <bits/socket_type.h>.
22910 (enum __socket_type): Don't define here.
22911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22913 bits/socket_type.h.
22914
22915 [BZ #13566]
22916 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22917 checking __USE_GNU.
22918
22919 * Makerules ($(inst_includedir)/%.h): New rule.
22920 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22921 (install-others): Remove variable setting.
22922 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22923
22924 2012-03-08 Richard Henderson <rth@twiddle.net>
22925
22926 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22927 from macro to inline function; merge with the
22928 !__LIBC_INTERNAL_MATH_INLINES version.
22929 (__ieee754_sqrtf): Likewise.
22930
22931 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22932 to inline function.
22933 (__rintf, __floor, __floorf): Likewise.
22934
22935 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22936 macro to inline function.
22937 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22938
22939 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22940 not <math/math_private.h>.
22941
22942 2012-03-08 David S. Miller <davem@davemloft.net>
22943
22944 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22945 copyright year.
22946 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22947
22948 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22949
22950 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22951 normalization.
22952 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22953 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22954
22955 2012-03-08 Ulrich Drepper <drepper@gmail.com>
22956
22957 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22958 be defined individually, they must be defined as a block. Define
22959 S for printing a string instead of hidint the different by using a
22960 macro for adding the 'l'.
22961 * stdio-common/tst-fphex-wide.c: Adjust.
22962
22963 2012-03-07 Marek Polacek <polacek@redhat.com>
22964
22965 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22966
22967 2012-03-08 Marek Polacek <polacek@redhat.com>
22968
22969 [BZ #13806]
22970 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22971 * stdio-common/tst-fphex.c: Define a few macros to make the
22972 test reusable. Use them.
22973 * stdio-common/tst-fphex-wide.c: New file.
22974
22975 2012-03-08 Joseph Myers <joseph@codesourcery.com>
22976
22977 [BZ #6911]
22978 * manual/macros.texi (gnusystems): New macro.
22979 (nongnusystems): Likewise.
22980 (gnulinuxhurdsystems): Likewise.
22981 (gnuhurdsystems): Likewise..
22982 (gnulinuxsystems): Likewise.
22983 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22984 variants of the GNU system, not "GNU system".
22985 * manual/conf.texi: Likewise.
22986 * manual/errno.texi: Likewise. Update example of errno macro
22987 expansion.
22988 * manual/filesys.texi: Likewise.
22989 (getumask): Document as specific to GNU/Hurd.
22990 * manual/install.texi: Likewise. Reword some references to
22991 GNU/Linux.
22992 * manual/intro.texi: Likewise.
22993 * manual/io.texi: Likewise.
22994 (File Name Portability): Detail which constraints are inapplicable
22995 to all GNU systems and which are only inapplicable to GNU/Hurd.
22996 * manual/job.texi: Likewise.
22997 * manual/llio.texi: Likewise.
22998 (O_NOCTTY): Document as present on GNU/Linux.
22999 * manual/maint.texi: Likewise.
23000 * manual/memory.texi: Likewise.
23001 * manual/pattern.texi: Likewise.
23002 * manual/pipe.texi: Likewise.
23003 * manual/process.texi: Likewise.
23004 * manual/resource.texi: Likewise.
23005 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23006 child on GNU/Hurd.
23007 * manual/setjmp.texi: Likewise.
23008 * manual/signal.texi: Likewise.
23009 * manual/startup.texi: Likewise.
23010 * manual/stdio.texi: Likewise.
23011 * manual/terminal.texi: Likewise.
23012 (ONLCR): Document as POSIX.
23013 (OXTABS): Document availability on GNU/Linux as XTABS.
23014 (ONOEOT): Document availability separately from other bits.
23015 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23016 * manual/time.texi: Likewise.
23017 * manual/users.texi: Likewise.
23018 * INSTALL: Regenerated.
23019 * sysdeps/gnu/errlist.c: Regenerated.
23020
23021 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23022 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23023 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23024 puts.
23025 * configure: Regenerated.
23026
23027 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23028
23029 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23030 default includes instead of AC_HEADER_CHECK.
23031 * sysdeps/i386/configure: Regenerated.
23032
23033 [BZ #10716]
23034 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23035 * math/s_cacoshf.c (__cacoshf): Likewise.
23036 * math/s_cacoshl.c (__cacoshl): Likewise.
23037 * math/s_casinh.c (__casinh): Set signs of result from argument.
23038 * math/s_casinhf.c (__casinhf): Likewise.
23039 * math/s_casinhl.c (__casinhl): Likewise.
23040 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23041 (casinh_test): Add more tests.
23042 * sysdeps/i386/fpu/libm-test-ulps: Update.
23043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23044
23045 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23046
23047 * po/zh_TW.po: Update from translation team.
23048
23049 * login/Makefile (distribute): Remove variable.
23050 * catgets/Makefile: Likewise.
23051 * mach/Makefile: Likewise.
23052 * malloc/Makefile: Likewise.
23053 * misc/Makefile: Likewise.
23054 * iconv/Makefile: Likewise.
23055 * nscd/Makefile: Likewise.
23056 * hurd/Makefile: Likewise.
23057 * manual/Makefile: Likewise.
23058 * locale/Makefile: Likewise.
23059 * intl/Makefile: Likewise.
23060 * conform/Makefile: Likewise.
23061 * nss/Makefile: Likewise.
23062 * time/Makefile: Likewise.
23063 * soft-fp/Makefile: Likewise.
23064 * dirent/Makefile: Likewise.
23065 * gmon/Makefile: Likewise.
23066 * po/Makefile: Likewise.
23067 * rt/Makefile: Likewise.
23068 * socket/Makefile: Likewise.
23069 * math/Makefile: Likewise.
23070 * signal/Makefile: Likewise.
23071 * debug/Makefile: Likewise.
23072 * elf/Makefile: Likewise.
23073 * timezone/Makefile: Likewise.
23074 * stdlib/Makefile: Likewise.
23075 * iconvdata/Makefile: Likewise.
23076 * sunrpc/Makefile: Likewise.
23077 * io/Makefile: Likewise.
23078 * argp/Makefile: Likewise.
23079 * inet/Makefile: Likewise.
23080 * hesiod/Makefile: Likewise.
23081 * grp/Makefile: Likewise.
23082 * csu/Makefile: Likewise.
23083 * wctype/Makefile: Likewise.
23084 * crypt/Makefile: Likewise.
23085 * libio/Makefile: Likewise.
23086 * string/Makefile: Likewise.
23087 * nis/Makefile: Likewise.
23088 * resolv/Makefile: Likewise.
23089 * stdio-common/Makefile: Likewise.
23090 * wcsmbs/Makefile: Likewise.
23091 * dlfcn/Makefile: Likewise.
23092 * posix/Makefile: Likewise.
23093
23094 [BZ #6959]
23095 * timezone/Makefile: Don't install timezone files, just the programs
23096 and scripts.
23097
23098 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23099
23100 * nss/databases.def: Add missing gshadow entry.
23101
23102 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23103
23104 2012-03-06 Marek Polacek <polacek@redhat.com>
23105
23106 [BZ #13726]
23107 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23108 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23109 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23110 * stdio-common/tst-long-dbl-fphex.c: New file.
23111
23112 2012-03-06 David S. Miller <davem@davemloft.net>
23113
23114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23115 (set_obp_int): New function.
23116 (get_obp_int): New function.
23117 (__get_clockfreq_via_dev_openprom): Likewise.
23118 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23119 Avoid unused variable warnings on 'val' and use builtin_expect.
23120 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23121 __builtin_expect.
23122 (INLINE_CLONE_SYSCALL): Likewise.
23123
23124 2012-03-05 David S. Miller <davem@davemloft.net>
23125
23126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23127
23128 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23129
23130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23131
23132 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23133 only for |x| >= 40.
23134 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23135
23136 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23137
23138 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23139 Replace gettimeofday with __vdso_gettimeofday.
23140
23141 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23142 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23143 __vdso_clock_gettime and __vdso_getcpu.
23144
23145 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23146 time with __vdso_time.
23147
23148 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23149
23150 * manual/lang.texi (size_t): Note types to which size_t may be
23151 equivalent with the GNU C Library, but do not describe when
23152 differences between them are significant.
23153
23154 2012-03-05 Andreas Jaeger <aj@suse.de>
23155
23156 * sysdeps/i386/fpu/libm-test-ulps: Update.
23157
23158 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23159
23160 [BZ #3976]
23161 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23162 (__ieee754_pow): Save and restore rounding mode and use
23163 round-to-nearest for main computations.
23164 * math/libm-test.inc (pow_test_tonearest): New function.
23165 (pow_test_towardzero): Likewise.
23166 (pow_test_downward): Likewise.
23167 (pow_test_upward): Likewise.
23168 (main): Call the new functions.
23169 * sysdeps/i386/fpu/libm-test-ulps: Update.
23170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23171
23172 [BZ #3976]
23173 * math/libm-test.inc (cosh_test_tonearest): New function.
23174 (cosh_test_towardzero): Likewise.
23175 (cosh_test_downward): Likewise.
23176 (cosh_test_upward): Likewise.
23177 (sinh_test_tonearest): Likewise.
23178 (sinh_test_towardzero): Likewise.
23179 (sinh_test_downward): Likewise.
23180 (sinh_test_upward): Likewise.
23181 (main): Call the new functions.
23182 * sysdeps/i386/fpu/libm-test-ulps: Update.
23183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23184
23185 2012-03-05 Tom de Vries <tom@codesourcery.com>
23186
23187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23188 default stack guard is set in last bytes.
23189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23190
23191 2012-03-05 Kees Cook <keescook@chromium.org>
23192
23193 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23194
23195 [BZ #13656]
23196 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23197 possibly allocate from heap instead of stack.
23198 * stdio-common/bug-vfprintf-nargs.c: New file.
23199 * stdio-common/Makefile (tests): Add nargs overflow test.
23200
23201 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23202
23203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23204
23205 2012-03-03 Marek Polacek <polacek@redhat.com>
23206
23207 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23208 * math/math_private.h: Likewise.
23209 * stdlib/tst-strtod.c: Likewise.
23210 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23211 * sysdeps/x86_64/bits/atomic.h: Likewise.
23212
23213 2012-03-02 David S. Miller <davem@davemloft.net>
23214
23215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23219 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23220 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23221 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23222 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23223
23224 2012-03-02 Roland McGrath <roland@hack.frob.com>
23225
23226 [BZ #13792]
23227 * manual/examples/README: New file, says the example source files
23228 can be used under GPL>=2.
23229 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23230 line containing just "*/".
23231 * manual/examples/add.c: Add copyright header (GPL>=2).
23232 * manual/examples/argp-ex1.c: Likewise.
23233 * manual/examples/argp-ex2.c: Likewise.
23234 * manual/examples/argp-ex3.c: Likewise.
23235 * manual/examples/argp-ex4.c: Likewise.
23236 * manual/examples/atexit.c: Likewise.
23237 * manual/examples/db.c: Likewise.
23238 * manual/examples/dir.c: Likewise.
23239 * manual/examples/dir2.c: Likewise.
23240 * manual/examples/execinfo.c: Likewise.
23241 * manual/examples/filecli.c: Likewise.
23242 * manual/examples/filesrv.c: Likewise.
23243 * manual/examples/fmtmsgexpl.c: Likewise.
23244 * manual/examples/genpass.c: Likewise.
23245 * manual/examples/inetcli.c: Likewise.
23246 * manual/examples/inetsrv.c: Likewise.
23247 * manual/examples/isockad.c: Likewise.
23248 * manual/examples/longopt.c: Likewise.
23249 * manual/examples/memopen.c: Likewise.
23250 * manual/examples/memstrm.c: Likewise.
23251 * manual/examples/mkfsock.c: Likewise.
23252 * manual/examples/mkisock.c: Likewise.
23253 * manual/examples/mygetpass.c: Likewise.
23254 * manual/examples/pipe.c: Likewise.
23255 * manual/examples/popen.c: Likewise.
23256 * manual/examples/rprintf.c: Likewise.
23257 * manual/examples/search.c: Likewise.
23258 * manual/examples/select.c: Likewise.
23259 * manual/examples/setjmp.c: Likewise.
23260 * manual/examples/sigh1.c: Likewise.
23261 * manual/examples/sigusr.c: Likewise.
23262 * manual/examples/stpcpy.c: Likewise.
23263 * manual/examples/strdupa.c: Likewise.
23264 * manual/examples/strftim.c: Likewise.
23265 * manual/examples/strncat.c: Likewise.
23266 * manual/examples/subopt.c: Likewise.
23267 * manual/examples/swapcontext.c: Likewise.
23268 * manual/examples/termios.c: Likewise.
23269 * manual/examples/testopt.c: Likewise.
23270 * manual/examples/testpass.c: Likewise.
23271 * manual/examples/timeval_subtract.c: Likewise.
23272
23273 [BZ #13792]
23274 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23275 function to ...
23276 * manual/timeval_subtract.c.texi: ... here, new file.
23277
23278 2012-03-02 David S. Miller <davem@davemloft.net>
23279
23280 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23281
23282 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23283
23284 [BZ #3976]
23285 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23286 (__sin): Save and restore rounding mode and use round-to-nearest
23287 for all computations.
23288 (__cos): Save and restore rounding mode and use round-to-nearest
23289 for all computations.
23290 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23291 <fenv.h>.
23292 (tan): Save and restore rounding mode and use round-to-nearest for
23293 all computations.
23294 * math/libm-test.inc (cos_test_tonearest): New function.
23295 (cos_test_towardzero): Likewise.
23296 (cos_test_downward): Likewise.
23297 (cos_test_upward): Likewise.
23298 (sin_test_tonearest): Likewise.
23299 (sin_test_towardzero): Likewise.
23300 (sin_test_downward): Likewise.
23301 (sin_test_upward): Likewise.
23302 (tan_test_tonearest): Likewise.
23303 (tan_test_towardzero): Likewise.
23304 (tan_test_downward): Likewise.
23305 (tan_test_upward): Likewise.
23306 (main): Call the new functions.
23307 * sysdeps/i386/fpu/libm-test-ulps: Update.
23308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23309
23310 [BZ #10135]
23311 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23312 small n, then large n, before computing and testing k+n.
23313 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23314 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23315 Likewise.
23316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23317 Likewise.
23318 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23319 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23320 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23321 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23322 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23323 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23324 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23325 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23326 * math/libm-test.inc (scalbn_test): Add more tests.
23327 (scalbln_test): Likewise.
23328
23329 * manual/filesys.texi (mode_t): Describe constraints on size and
23330 signedness, not exact equivalence to a particular type.
23331 (ino_t): Likewise.
23332 (ino64_t): Likewise.
23333 (dev_t): Likewise.
23334 (nlink_t): Likewise.
23335 (blkcnt_t): Likewise.
23336 (blkcnt64_t): Likewise.
23337 * manual/llio.texi (off_t): Likewise.
23338
23339 [BZ #3976]
23340 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23341 (__ieee754_exp): Save and restore rounding mode and use
23342 round-to-nearest for all computations.
23343 * math/libm-test.inc (exp_test_tonearest): New function.
23344 (exp_test_towardzero): Likewise.
23345 (exp_test_downward): Likewise.
23346 (exp_test_upward): Likewise.
23347 (main): Call the new functions.
23348 * sysdeps/i386/fpu/libm-test-ulps: Update.
23349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23350
23351 2012-03-01 Chris Demetriou <cgd@google.com>
23352
23353 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23354 have predictable order.
23355
23356 2012-03-01 David S. Miller <davem@davemloft.net>
23357
23358 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23359
23360 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23361 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23362 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23363 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23364
23365 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23366 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23367 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23369 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23370 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23371 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23372 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23373 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23374
23375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23376
23377 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23378 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23379 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23380
23381 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23382 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23383 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23384 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23385 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23386 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23387 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23388 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23389 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23390 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23391 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23392 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23394 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23395 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23397 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23398 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23399 * sysdeps/sparc/elf/configure: Regenerated.
23400
23401 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23402
23403 * configure.in (AS, LD): Require binutils 2.20 or later.
23404 * configure: Regenerated.
23405 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23406 as required minimum version.
23407 * INSTALL: Regenerated.
23408
23409 [BZ #2541]
23410 [BZ #4108]
23411 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23412 before squaring exponent.
23413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23414 bottom long double and 27 bits of top long double before squaring
23415 exponent.
23416 * math/libm-test.inc (erfc_test): Add more tests.
23417 * sysdeps/i386/fpu/libm-test-ulps: Update.
23418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23420
23421 2012-03-01 Kai Tietz <ktietz@redhat.com>
23422
23423 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23424 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23425 containing bit-fields.
23426 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23427 * soft-fp/single.h (_FP_UNION_S): Likewise.
23428 * soft-fp/double.h (_FP_UNION_D): Likewise.
23429
23430 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23431
23432 [BZ #13786]
23433 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23434 not include ../strcmp.S.
23435 [USE_AS_STRNCASECMP_L]: Likewise.
23436 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23437 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23438 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23439 (__strncasecmp_l_ia32): Define as alias to
23440 __strncasecmp_l_nonascii.
23441
23442 [BZ #5794]
23443 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23444 * sysdeps/i386/fpu/libm-test-ulps: Update.
23445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23446
23447 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23449
23450 2012-02-29 Jeff Law <law@redhat.com>
23451
23452 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23453 out of bounds read.
23454
23455 2012-02-29 Marek Polacek <polacek@redhat.com>
23456
23457 [BZ #13706]
23458 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23459 * elf/Makefile: Add rules to run tst-unused-dep.out.
23460
23461 2012-02-28 David S. Miller <davem@davemloft.net>
23462
23463 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23464 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23466 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23467 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23468 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23469
23470 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23471
23472 * math/libm-test.inc (llround_test): Move one test from
23473 lround_test. Use TEST_f_L in moved test.
23474 (lround_test): Move misplaced test to llround_test. Add testcase
23475 from bug 2561.
23476
23477 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23478
23479 * sysdeps/x86_64/fpu/e_expf.S: New file.
23480 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23481
23482 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23483
23484 [BZ #13637]
23485 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23486 of remain_len that may cause incomplete multi-byte character and
23487 false match.
23488 * posix/bug-regex33.c: New file.
23489 * posix/Makefile (tests): Add bug-regex33.
23490
23491 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23492
23493 * manual/macros.texi: New file.
23494 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23495 * manual/libc.texinfo: Include macros.texi.
23496 * manual/creatute.texi: Likewise.
23497 * manual/install.texi: Likewise.
23498 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23499 @glibcadj{} in references to the GNU C Library.
23500 * manual/charset.texi: Likewise.
23501 * manual/conf.texi: Likewise.
23502 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23503 when not using those macros.
23504 * manual/creature.texi: Likewise.
23505 * manual/crypt.texi: Likewise.
23506 * manual/errno.texi: Likewise.
23507 * manual/filesys.texi: Likewise.
23508 * manual/header.texi: Likewise.
23509 * manual/install.texi: Likewise.
23510 * manual/intro.texi: Likewise.
23511 * manual/io.texi: Likewise.
23512 * manual/job.texi: Likewise.
23513 * manual/lang.texi: Likewise.
23514 * manual/libc.texiinfo: Likewise.
23515 * manual/llio.texi: Likewise.
23516 * manual/locale.texi: Likewise.
23517 * manual/maint.texi: Likewise.
23518 * manual/math.texi: Likewise.
23519 * manual/memory.texi: Likewise.
23520 * manual/message.texi: Likewise.
23521 * manual/nss.texi: Likewise.
23522 * manual/pattern.texi: Likewise.
23523 * manual/process.texi: Likewise.
23524 * manual/resource.texi: Likewise.
23525 * manual/search.texi: Likewise.
23526 * manual/setjmp.texi: Likewise.
23527 * manual/signal.texi: Likewise.
23528 * manual/socket.texi: Likewise.
23529 * manual/startup.texi: Likewise.
23530 * manual/stdio.texi: Likewise.
23531 * manual/string.texi: Likewise.
23532 * manual/sysinfo.texi: Likewise.
23533 * manual/syslog.texi: Likewise.
23534 * manual/terminal.texi: Likewise.
23535 * manual/time.texi: Likewise.
23536 * manual/users.texi: Likewise.
23537 * INSTALL: Regenerated.
23538 * NOTES: Regenerated.
23539 * sysdeps/gnu/errlist.c: Regenerated.
23540
23541 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23542
23543 * include/dirent.h: Include <dirstream.h> before
23544 <dirent/dirent.h>.
23545
23546 2012-02-28 David S. Miller <davem@davemloft.net>
23547
23548 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23549 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23550 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23551 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23552
23553 2012-02-27 David S. Miller <davem@davemloft.net>
23554
23555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23557 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23558 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23559
23560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23561 frame pointer instead of stack pointer relative arg slot.
23562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23563 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23564 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23565
23566 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23567
23568 [BZ #3992]
23569 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23570
23571 2012-02-27 David S. Miller <davem@davemloft.net>
23572
23573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23577 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23578 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23579 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23580 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23581
23582 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23583
23584 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23585 later. Allow versions 5-9.
23586 * configure: Regenerated.
23587 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23588 required minimum version and 4.6 as recommended version. Do not
23589 mention bugs in GCC 2.7 and 2.8.
23590 * INSTALL: Regenerated.
23591
23592 2012-02-27 David S. Miller <davem@davemloft.net>
23593
23594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23598 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23599 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23600 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23601 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23602
23603 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23604 manipulate bits before adding and subtracting TWO112[sx].
23605 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23606
23607 2012-02-27 Roland McGrath <roland@hack.frob.com>
23608
23609 [BZ #13775]
23610 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23611 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23612 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23613 being in POSIX, because they are in 1003.1-2008.
23614
23615 * rt/tst-aio.c: Include <fcntl.h>.
23616 * rt/tst-aio7.c: Likewise.
23617 * rt/tst-aio64.c: Likewise.
23618
23619 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23620
23621 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23622
23623 * manual/install.texi (--with-headers): Describe headers as
23624 interface headers, not private headers.
23625 (Specific advice for GNU/Linux systems): Describe use of headers
23626 from "make headers_install", not private headers from older
23627 kernels.
23628 * INSTALL: Regenerated.
23629 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23630 Change to 2.6.19.
23631 * sysdeps/unix/sysv/linux/configure: Regenerated.
23632
23633 * manual/llio.texi (fclean): Remove documentation.
23634
23635 * manual/Makefile (libc-texi-generated): New variable. Include
23636 version.texi.
23637 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23638 $(libc-texi-generated), not duplicated list of files.
23639 (version.texi, stamp-version): New rules.
23640 (realclean): Remove $(libc-texi-generated), not individual files
23641 from that list. Do not remove dir-add.texinfo.
23642 * manual/libc.texinfo: Comment out uses of edition numbers and
23643 references to printed manual. Remove last-updated dates.
23644 (EDITION): Comment out.
23645 (ISBN): Likewise.
23646 (VERSION, UPDATED): Remove.
23647 (version.texi): Include.
23648
23649 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23650
23651 * sysdeps/posix/spawni.c: Include <signal.h>.
23652 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23653 * sysdeps/pthread/aio_fsync.c: Likewise.
23654
23655 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23656
23657 * conform/Makefile (tests): Run only when not cross-compiling and
23658 when fast-check is not defined.
23659
23660 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23661 * conform/data/limits.h-data: Fixes for POSIX2008.
23662 * conform/run-conformtest.sh: Run all tests.
23663 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23664 headers.
23665 * include/bits/dlfcn.h: Likewise.
23666 * include/langinfo.h: Likewise.
23667 * include/monetary.h: Likewise.
23668 * include/sys/poll.h: Likewise.
23669
23670 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23671 for __USE_GNU.
23672 * posix/spawn.h: Define __need_sigset_t.
23673 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23674 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23675 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23676 to get sigevent_t only.
23677 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23678 only for __USE_GNU.
23679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23680 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23681 process_vm_writev only for __USE_GNU.
23682 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23683
23684 * conform/Makefile: For now ignore errors from run-conformtest.
23685 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23686 POSIX to avoid namespace pollution. Don't prepend headers.
23687 * conform/data/aio.h-data: Fixes for POSIX testing.
23688 * conform/data/fcntl.h-data: Likewise.
23689 * conform/data/glob.h-data: Likewise.
23690 * conform/data/grp.h-data: Likewise.
23691 * conform/data/pthread.h-data: Likewise.
23692 * conform/data/pwd.h-data: Likewise.
23693 * conform/data/signal.h-data: Likewise.
23694 * conform/data/spawn.h-data: Likewise.
23695 * conform/data/stdio.h-data: Likewise.
23696 * conform/data/stdlib.h-data: Likewise.
23697 * conform/data/stropts.h-data: Likewise.
23698 * conform/data/sys/mman.h-data: Likewise.
23699 * conform/data/sys/stat.h-data: Likewise.
23700 * conform/data/sys/types.h-data: Likewise.
23701 * conform/data/sys/wait.h-data: Likewise.
23702 * conform/data/time.h-data: Likewise.
23703 * conform/data/unistd.h-data: Likewise.
23704 * conform/data/utime.h-data: Likewise.
23705
23706 * io/sys/stat.h: fchmod was always in POSIX.
23707 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23708 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23709 * rt/aio.h: Define __need_timespec before including <time.h>.
23710 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23711 struct. Add forward declaration of pthread_attr_t and use it in
23712 sigevent.
23713 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23714 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23715 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23716 always remove CLK_TCK definition.
23717
23718 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23719
23720 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23721
23722 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23723
23724 * conform/run-conformtest.sh: New file.
23725 * conform/Makefile: Run run-conformtest for tests.
23726 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23727 support.
23728
23729 * conform/data/uchar.h-data: New file.
23730 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23731 * conform/data/arpa/inet.h-data: Likewise.
23732 * conform/data/assert.h-data: Likewise.
23733 * conform/data/complex.h-data: Likewise.
23734 * conform/data/cpio.h-data: Likewise.
23735 * conform/data/ctype.h-data: Likewise.
23736 * conform/data/dirent.h-data: Likewise.
23737 * conform/data/dlfcn.h-data: Likewise.
23738 * conform/data/errno.h-data: Likewise.
23739 * conform/data/fcntl.h-data: Likewise.
23740 * conform/data/float.h-data: Likewise.
23741 * conform/data/fmtmsg.h-data: Likewise.
23742 * conform/data/fnmatch.h-data: Likewise.
23743 * conform/data/ftw.h-data: Likewise.
23744 * conform/data/glob.h-data: Likewise.
23745 * conform/data/grp.h-data: Likewise.
23746 * conform/data/iconv.h-data: Likewise.
23747 * conform/data/inttypes.h-data: Likewise.
23748 * conform/data/langinfo.h-data: Likewise.
23749 * conform/data/libgen.h-data: Likewise.
23750 * conform/data/limits.h-data: Likewise.
23751 * conform/data/locale.h-data: Likewise.
23752 * conform/data/math.h-data: Likewise.
23753 * conform/data/monetary.h-data: Likewise.
23754 * conform/data/mqueue.h-data: Likewise.
23755 * conform/data/ndbm.h-data: Likewise.
23756 * conform/data/net/if.h-data: Likewise.
23757 * conform/data/netdb.h-data: Likewise.
23758 * conform/data/netinet/in.h-data: Likewise.
23759 * conform/data/nl_types.h-data: Likewise.
23760 * conform/data/poll.h-data: Likewise.
23761 * conform/data/pthread.h-data: Likewise.
23762 * conform/data/pwd.h-data: Likewise.
23763 * conform/data/regex.h-data: Likewise.
23764 * conform/data/sched.h-data: Likewise.
23765 * conform/data/search.h-data: Likewise.
23766 * conform/data/semaphore.h-data: Likewise.
23767 * conform/data/setjmp.h-data: Likewise.
23768 * conform/data/signal.h-data: Likewise.
23769 * conform/data/spawn.h-data: Likewise.
23770 * conform/data/stdarg.h-data: Likewise.
23771 * conform/data/stdio.h-data: Likewise.
23772 * conform/data/stdlib.h-data: Likewise.
23773 * conform/data/string.h-data: Likewise.
23774 * conform/data/strings.h-data: Likewise.
23775 * conform/data/stropts.h-data: Likewise.
23776 * conform/data/sys/ipc.h-data: Likewise.
23777 * conform/data/sys/mman.h-data: Likewise.
23778 * conform/data/sys/msg.h-data: Likewise.
23779 * conform/data/sys/resource.h-data: Likewise.
23780 * conform/data/sys/select.h-data: Likewise.
23781 * conform/data/sys/sem.h-data: Likewise.
23782 * conform/data/sys/shm.h-data: Likewise.
23783 * conform/data/sys/socket.h-data: Likewise.
23784 * conform/data/sys/stat.h-data: Likewise.
23785 * conform/data/sys/statvfs.h-data: Likewise.
23786 * conform/data/sys/time.h-data: Likewise.
23787 * conform/data/sys/timeb.h-data: Likewise.
23788 * conform/data/sys/times.h-data: Likewise.
23789 * conform/data/sys/types.h-data: Likewise.
23790 * conform/data/sys/uio.h-data: Likewise.
23791 * conform/data/sys/un.h-data: Likewise.
23792 * conform/data/sys/utsname.h-data: Likewise.
23793 * conform/data/sys/wait.h-data: Likewise.
23794 * conform/data/syslog.h-data: Likewise.
23795 * conform/data/tar.h-data: Likewise.
23796 * conform/data/termios.h-data: Likewise.
23797 * conform/data/utime.h-data: Likewise.
23798 * conform/data/utmpx.h-data: Likewise.
23799 * conform/data/varargs.h-data: Likewise.
23800 * conform/data/wchar.h-data: Likewise.
23801 * conform/data/wctype.h-data: Likewise.
23802 * conform/data/wordexp.h-data: Likewise.
23803
23804 * include/stropts.h: New file.
23805 * include/uchar.h: New file.
23806 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23807 * include/assert.h: Likewise.
23808 * include/ctype.h: Likewise.
23809 * include/dirent.h: Likewise.
23810 * include/dlfcn.h: Likewise.
23811 * include/fcntl.h: Likewise.
23812 * include/fnmatch.h: Likewise.
23813 * include/glob.h: Likewise.
23814 * include/grp.h: Likewise.
23815 * include/libio.h: Likewise.
23816 * include/locale.h: Likewise.
23817 * include/math.h: Likewise.
23818 * include/net/if.h: Likewise.
23819 * include/netdb.h: Likewise.
23820 * include/netinet/in.h: Likewise.
23821 * include/pthread.h: Likewise.
23822 * include/pwd.h: Likewise.
23823 * include/regex.h: Likewise.
23824 * include/sched.h: Likewise.
23825 * include/search.h: Likewise.
23826 * include/setjmp.h: Likewise.
23827 * include/signal.h: Likewise.
23828 * include/stdio.h: Likewise.
23829 * include/stdlib.h: Likewise.
23830 * include/string.h: Likewise.
23831 * include/sys/cdefs.h: Likewise.
23832 * include/sys/mman.h: Likewise.
23833 * include/sys/msg.h: Likewise.
23834 * include/sys/resource.h: Likewise.
23835 * include/sys/select.h: Likewise.
23836 * include/sys/socket.h: Likewise.
23837 * include/sys/stat.h: Likewise.
23838 * include/sys/statvfs.h: Likewise.
23839 * include/sys/time.h: Likewise.
23840 * include/sys/times.h: Likewise.
23841 * include/sys/uio.h: Likewise.
23842 * include/sys/utsname.h: Likewise.
23843 * include/sys/wait.h: Likewise.
23844 * include/termios.h: Likewise.
23845 * include/time.h: Likewise.
23846 * include/ulimit.h: Likewise.
23847 * include/unistd.h: Likewise.
23848 * include/utime.h: Likewise.
23849 * include/wchar.h: Likewise.
23850 * include/wctype.h: Likewise.
23851 * include/wordexp.h: Likewise.
23852
23853 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23854
23855 * time/time.h: TIME_UTC must be a macro.
23856 Make timespec_get available for ISO C11 only as well.
23857
23858 2012-02-24 Ulrich Drepper <drepper@gmail.com>
23859
23860 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23861 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23862
23863 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23864
23865 * configure.in: Use -o not -a in test for unsupported multi-arch.
23866
23867 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23868
23869 * manual/texinfo.tex: Update to version 2012-01-19.16.
23870
23871 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23872
23873 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23874
23875 2012-02-24 Roland McGrath <roland@hack.frob.com>
23876
23877 [BZ #13738]
23878 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23879 * manual/fdl-1.3.texi: New file.
23880 * manual/fdl-1.1.texi: File removed.
23881
23882 [BZ #13738]
23883 * manual/libc.texinfo (FDL_VERSION): New @set.
23884 Use it for mention of FDL in cover text.
23885 (Documentation License): Use it in @include file name.
23886
23887 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23888 Roland McGrath <roland@hack.frob.com>
23889
23890 [BZ #5461]
23891 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23892 not LONG_LONG_MAX and LONG_LONG_MIN.
23893 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23894 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23895 name.
23896 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23897
23898 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23899
23900 [BZ #2547]
23901 [BZ #11365]
23902 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23903 manipulate bits before adding and subtracting TWO23[sx].
23904 * math/libm-test.inc (nearbyint_test): Add more tests.
23905
23906 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23907
23908 [BZ #2548]
23909 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23910 bits before adding and subtracting TWO23[sx].
23911 * math/libm-test.inc (rint_test): Add more tests.
23912 (rint_test_tonearest): Likewise.
23913 (rint_test_towardzero): Likewise.
23914 (rint_test_downward): Likewise.
23915 (rint_test_upward: Likewise.
23916
23917 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23918
23919 [BZ #10110]
23920 * include/stdc-predef.h: New file. Extracted from features.h.
23921 * include/features.h: Include stdc-predef.h.
23922 * Makefile (headers): Add stdc-predef.h.
23923 * CONFORMANCE (Compiler limitations): Update.
23924
23925 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23926
23927 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23928
23929 2012-02-21 David S. Miller <davem@davemloft.net>
23930
23931 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23932 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23933
23934 2012-02-20 David S. Miller <davem@davemloft.net>
23935
23936 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23937 using a normal save/restore sequence, rather than allocating a
23938 dummy stack frame just to store a frame pointer and restore.
23939 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23940
23941 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23942
23943 * manual/install.texi: Fix stray word in line-wrapped comment.
23944
23945 2012-02-20 David S. Miller <davem@davemloft.net>
23946
23947 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23948 both binutils and gcc support GOTDATA.
23949
23950 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23951 "rd %pc" in the PIC register setup sequences.
23952
23953 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23954 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23955 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23956 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23957 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23959 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23960 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23962 (SYSCALL_ERROR_HANDLER): Likewise.
23963 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23964 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23966 (SYSCALL_ERROR_HANDLER): Likewise.
23967
23968 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23969 (HAVE_GCC_GOTDATA): New.
23970 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23971 relocation support in both binutils and gcc.
23972 * sysdeps/sparc/elf/configure: Regenerate.
23973
23974 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23975 * sysdeps/sparc/sparc32/elf/configure: Delete.
23976 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23977 * sysdeps/sparc/sparc64/elf/configure: Delete.
23978 * sysdeps/sparc/elf/configure.in: New file.
23979 * sysdeps/sparc/elf/configure: Generate.
23980
23981 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23982 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23983 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23984 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23985 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23986
23987 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23988
23989 * manual/install.texi: Do not mention specific glibc version
23990 numbers.
23991 * manual/libc.texinfo (VERSION, UPDATED): Update.
23992 (@copying): Use @copyright{} and range of years.
23993
23994 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23995
23996 [BZ #13695]
23997 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23998 [crti.S not in sysdirs] (generated): Do not append.
23999 [crti.S not in sysdirs] (omit-deps): Likewise.
24000 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24001 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24002 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24003 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24004 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24005 Likewise.
24006 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24007 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24008 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24009 * csu/defs.awk: Remove file.
24010 * sysdeps/generic/initfini.c: Likewise.
24011 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24012 variable.
24013 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24014 Likewise.
24015
24016 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24017
24018 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24019 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24020 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24021 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24022 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24023 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24024 <bits/epoll.h>.
24025 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24026 (__EPOLL_PACKED): Define to empty if not defined by
24027 <bits/epoll.h>.
24028 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24030 bits/epoll.h.
24031
24032 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24033
24034 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24035 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24036 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24037 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24038 <bits/timerfd.h>.
24039 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24041 bits/timerfd.h.
24042
24043 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24044
24045 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24046 in C locale.
24047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24048 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24051
24052 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24053
24054 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24055 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24056
24057 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24058
24059 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24060 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24061 defined.
24062 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24063 Likewise.
24064 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24065 entry for 2.16.
24066
24067 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24068
24069 * math/w_acos.c: Use non-signaling floating-point comparisons.
24070 * math/w_acosf.c: Likewise.
24071 * math/w_acosh.c: Likewise.
24072 * math/w_acoshf.c: Likewise.
24073 * math/w_acoshl.c: Likewise.
24074 * math/w_acosl.c: Likewise.
24075 * math/w_asin.c: Likewise.
24076 * math/w_asinf.c: Likewise.
24077 * math/w_asinl.c: Likewise.
24078 * math/w_atanh.c: Likewise.
24079 * math/w_atanhf.c: Likewise.
24080 * math/w_atanhl.c: Likewise.
24081 * math/w_exp2.c: Likewise.
24082 * math/w_exp2f.c: Likewise.
24083 * math/w_exp2l.c: Likewise.
24084 * math/w_j0.c: Likewise.
24085 * math/w_j0f.c: Likewise.
24086 * math/w_j0l.c: Likewise.
24087 * math/w_j1.c: Likewise.
24088 * math/w_j1f.c: Likewise.
24089 * math/w_j1l.c: Likewise.
24090 * math/w_jn.c: Likewise.
24091 * math/w_jnf.c: Likewise.
24092 * math/w_log.c: Likewise.
24093 * math/w_log10.c: Likewise.
24094 * math/w_log10f.c: Likewise.
24095 * math/w_log10l.c: Likewise.
24096 * math/w_log2.c: Likewise.
24097 * math/w_log2f.c: Likewise.
24098 * math/w_log2l.c: Likewise.
24099 * math/w_logf.c: Likewise.
24100 * math/w_logl.c: Likewise.
24101 * math/w_sqrt.c: Likewise.
24102 * math/w_sqrtf.c: Likewise.
24103 * math/w_sqrtl.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24105 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24106 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24107 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24108 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24109
24110 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24111
24112 [BZ #9739]
24113 * manual/string.texi (strnlen): Use correct parameter name in
24114 equivalent expression.
24115
24116 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24117
24118 [BZ #11174]
24119 * manual/users.texi (seteuid): Consistently use neweuid for
24120 argument name.
24121
24122 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24123
24124 [BZ #13704]
24125 * manual/nss.texi (Services in the NSS configuration): Correct
24126 list of services in example configuration file.
24127
24128 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24129
24130 [BZ #11322]
24131 * manual/arith.texi: Remove statements about negative zero
24132 behaving identically to zero.
24133
24134 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24135
24136 [BZ #5993]
24137 * manual/install.texi: Do not document upgrading from libc5.
24138
24139 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24140
24141 [BZ #4596]
24142 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24143
24144 2012-02-18 David S. Miller <davem@davemloft.net>
24145
24146 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24147 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24148 %o7 across the call.
24149 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24150 instead.
24151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24152 SETUP_PIC_REG_LEAF.
24153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24154 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24155 * sysdeps/sparc/crtn.S: Likewise.
24156
24157 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24158
24159 * aout/Makefile: Remove.
24160
24161 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24162
24163 [BZ #13058]
24164 * manual/examples/argp-ex1.c (main): Format definition in GNU
24165 style.
24166 * manual/examples/argp-ex2.c (main): Likewise.
24167 * manual/examples/argp-ex3.c (main): Likewise.
24168 * manual/examples/argp-ex4.c (main): Likewise.
24169 * manual/examples/longopt.c (main): Use new-style prototype
24170 definition.
24171 * manual/examples/strncat.c (main): Specify return type and use
24172 (void) for arguments.
24173 * manual/examples/subopt.c (main): Use char **argv argument.
24174
24175 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24176
24177 [BZ #5077]
24178 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24179 rounding modes.
24180
24181 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24182
24183 [BZ #6907]
24184 * manual/string.texi (strchr): Change when strchrnul is
24185 recommended.
24186
24187 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24188
24189 [BZ #174]
24190 * manual/locale.texi (setlocale): Document LOCPATH.
24191
24192 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24193
24194 [BZ #10210]
24195 * manual/process.texi (execle): Move @dots{} before last argument.
24196
24197 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24198
24199 [BZ #12047]
24200 * manual/charset.texi (Generic Charset Conversion): Fix typo
24201 (LC_TYPE -> LC_CTYPE).
24202
24203 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24204
24205 [BZ #5805]
24206 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24207 (scalbnf): Likewise.
24208 (scalbnl): Likewise.
24209 (scalbln): Likewise.
24210 (scalblnf): Likewise.
24211 (scalblnl): Likewise.
24212 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24213 (vwarnx): Likewise.
24214 (verr): Likewise.
24215 (verrx): Likewise.
24216 * manual/filesys.texi (telldir): Use braces around return type.
24217 * manual/llio.texi (mmap): Add space after comma.
24218 (mmap64): Likewise.
24219 * manual/math.texi (jn): Use @var{} on parameter names.
24220 (jnf): Likewise.
24221 (jnl): Likewise.
24222 (yn): Likewise.
24223 (ynf): Likewise.
24224 (ynl): Likewise.
24225 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24226 line.
24227 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24228 "...".
24229 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24230 (sched_get_priority_max): Likewise.
24231 * manual/signal.texi (sigvec): Add space after comma.
24232 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24233 names.
24234 (if_indextoname): Likewise.
24235 (if_freenameindex): Likewise.
24236 (sendto): Use ',' instead of '.' in prototype.
24237 * manual/startup.texi (syscall): Use @dots{} instead of literal
24238 "...".
24239 * manual/stdio.texi (__fpending): Separate initial words of
24240 paragraph from @deftypefun line.
24241 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24242 "...".
24243 (vsyslog): Use @var{} on parameter names.
24244 * manual/terminal.texi (stty): Use @var{} on parameter names.
24245 * manual/users.texi (getutmp): Use @var{} on parameter names.
24246 (getutmpx): Likewise.
24247
24248 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24249
24250 [BZ #6884]
24251 * manual/stdio.texi (fopen): Fix typos in description of
24252 ",ccs=STRING".
24253
24254 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24255
24256 [BZ #4026]
24257 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24258 get clock_id definition.
24259
24260 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24261
24262 [BZ #4822]
24263 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24264 (madvise): Cast every argument to void on its own.
24265
24266 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24267
24268 [BZ #9902]
24269 * manual/startup.texi (Exit Status): Fix typo.
24270
24271 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24272
24273 [BZ #10140]
24274 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24275 * manual/examples/argp-ex2.c: Likewise.
24276 * manual/examples/argp-ex3.c: Likewise.
24277
24278 2012-02-16 Richard Henderson <rth@redhat.com>
24279
24280 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24281 * sysdeps/s390/s390-32/initfini.c: Remove.
24282 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24283 * sysdeps/s390/s390-64/initfini.c: Remove.
24284
24285 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24286
24287 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24288 compiler output for sysdeps/generic/initfini.c.
24289 * sysdeps/sh/elf/initfini.c: Remove file.
24290
24291 2012-02-16 David S. Miller <davem@davemloft.net>
24292
24293 [BZ #11494]
24294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24295
24296 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24297 * sysdeps/sparc/crti.S: New file.
24298 * sysdeps/sparc/crtn.S: New file.
24299 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24300 * sysdeps/sparc/sparc64/Makefile: Likewise.
24301
24302 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24303
24304 [BZ #3335]
24305 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24306
24307 2012-02-15 Roland McGrath <roland@hack.frob.com>
24308
24309 [BZ #4822]
24310 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24311
24312 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24313 (write, read, close): Likewise.
24314 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24315
24316 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24317
24318 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24319 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24320 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24321 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24322 <bits/signalfd.h>.
24323 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24325 bits/signalfd.h.
24326
24327 2012-02-14 Marek Polacek <polacek@redhat.com>
24328
24329 * sysdeps/x86_64/crti.S: New file.
24330 * sysdeps/x86_64/crtn.S: New file.
24331 * sysdeps/x86_64/elf/initfini.c: Remove file.
24332
24333 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24334
24335 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24336 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24337 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24338 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24339 <bits/inotify.h>.
24340 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24342 bits/inotify.h.
24343
24344 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24345
24346 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24347 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24348 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24349 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24350 <bits/eventfd.h>.
24351 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24353 bits/eventfd.h.
24354
24355 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24356
24357 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24358 __feraiseexcept instead of feraiseexcept.
24359
24360 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24361 nanosleep invocations.
24362 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24363 strings, and add error checking for a nanosleep invocations.
24364
24365 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24366
24367 Replace FSF snail mail address with URLs, as per GNU coding standards.
24368 Most of the snail mail addresses were wrong anyway, and omitting
24369 them makes the source code easier to maintain. Almost all of the
24370 changes are to license notices and to locale LC_IDENTIFICATION
24371 addresses, except for this one:
24372 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24373 not its snail mail address.
24374
24375 2012-02-09 Richard Henderson <rth@twiddle.net>
24376
24377 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24378 of kernel-features.h.
24379
24380 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24381
24382 2012-02-08 Marek Polacek <polacek@redhat.com>
24383
24384 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24385 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24386 * sysdeps/gnu/_G_config.h: Likewise.
24387 * sysdeps/generic/_G_config.h: Likewise.
24388
24389 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24390
24391 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24392 tests.
24393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24394
24395 * sysdeps/powerpc/powerpc32/crti.S: New file.
24396 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24397 * sysdeps/powerpc/powerpc64/crti.S: New file.
24398 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24399
24400 * Makeconfig (have-initfini): Don't set.
24401 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24402 * configure.in (nopic_initfini): Don't substitute.
24403 * config.h.in (HAVE_INITFINI): Don't #undef.
24404 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24405 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24406
24407 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24408
24409 Support crti.S and crtn.S provided directly by architectures.
24410 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24411 [crti.S in sysdirs] (omit-deps): Likewise.
24412 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24413 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24414 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24415 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24416 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24417 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24418 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24419 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24420 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24421 compiler output for sysdeps/generic/initfini.c.
24422 * sysdeps/i386/elf/Makefile: Remove file.
24423 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24424
24425 2012-02-07 Marek Polacek <polacek@redhat.com>
24426
24427 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24428 * sysdeps/gnu/_G_config.h: Likewise.
24429 * sysdeps/mach/hurd/_G_config.h: Likewise.
24430
24431 2012-02-07 Marek Polacek <polacek@redhat.com>
24432
24433 * math/Makefile (tests): Add tst-CMPLX2.
24434 * math/tst-CMPLX2.c: New file.
24435
24436 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24437
24438 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24439
24440 * math/libm-test.inc (jn_test): Add missing L suffix.
24441
24442 2012-02-06 Marek Polacek <polacek@redhat.com>
24443
24444 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24445 * sysdeps/i386/fpu/e_powf.S: Likewise.
24446 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24447 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24448 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24449 * sysdeps/i386/fpu/e_pow.S: Likewise.
24450 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24451 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24452 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24453 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24454 * sysdeps/i386/fpu/e_log2.S: Likewise.
24455 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24456 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24457 * sysdeps/i386/fpu/e_powl.S: Likewise.
24458 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24459 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24460 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24461 * sysdeps/i386/fpu/e_logl.S: Likewise.
24462 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24463 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24464 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24465 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24466 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24467 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24468 * sysdeps/i386/fpu/e_log.S: Likewise.
24469 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24470 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24471 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24472 * sysdeps/i386/fpu/e_logf.S: Likewise.
24473 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24474 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24475 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24476 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24477 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24478 * sysdeps/i386/fpu/e_log10.S: Likewise.
24479 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24480 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24481 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24482 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24483 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24484 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24485 * sysdeps/i386/asm-syntax.h: Likewise.
24486 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24488 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24489 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24490 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24491 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24492 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24493 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24494 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24495 * sysdeps/powerpc/sysdep.h: Likewise.
24496 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24497 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24498
24499 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24500
24501 [BZ #411]
24502 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24503
24504 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24505
24506 * sysdeps/i386/sysdep.h: Include <features.h>.
24507 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24508 version.
24509
24510 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24511
24512 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24513 Define.
24514 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24515 LOAD_PIC_REG_STR.
24516
24517 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24518
24519 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24520 (SETUP_PIC_REG): Use GET_PC_THUNK.
24521 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24522 macro.
24523
24524 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24525
24526 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24527 for non-PIC compilation.
24528 (SETUP_PIC_REG): Add .p2align directive.
24529 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24530 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24531 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24532 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24533 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24534 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24535 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24537 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24538 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24539 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24540 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24541 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24542 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24543 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24544 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24545 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24546 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24547 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24548 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24549 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24550 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24551 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24552 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24553 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24555 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24556 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24557 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24558 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24559 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24560 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24561 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24562 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24563 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24564 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24565 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24566 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24567 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24568 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24569 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24570
24571 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24572
24573 * math/tst-CMPLX.c: Include <stdio.h>.
24574
24575 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24576
24577 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24578 float.
24579 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24580 * sysdeps/sparc/bits/mathdef.h: Likewise.
24581
24582 2012-01-31 Marek Polacek <polacek@redhat.com>
24583
24584 * libio/libio.h: Don't define _PARAMS.
24585 * locale/programs/config.h: Don't define PARAMS.
24586 * stdlib/strtol_l.c: Likewise.
24587 (__strtol_l): Remove PARAMS from the prototype.
24588
24589 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24590
24591 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24592 names. Just use the correct names. Remove unnecessary wrapper
24593 functions.
24594 * malloc/arena.c: Likewise.
24595 * malloc/hooks.c: Likewise.
24596
24597 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24598 ARENA_TEST says not to. Simplify test for creation of a new arena.
24599 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24600
24601 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24602
24603 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24604 into tail calls.
24605 (update_get_addr): New function.
24606 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24607 GET_ADDR_MODULE parameter.
24608
24609 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24610
24611 * crypt/cert.c: Remove __STDC__ conditionals.
24612 * crypt/crypt-entry.c: Likewise.
24613 * crypt/crypt_util.c: Likewise.
24614 * libio/filedoalloc.c: Likewise.
24615 * libio/fileops.c: Likewise.
24616 * libio/genops.c: Likewise.
24617 * libio/iofclose.c: Likewise.
24618 * libio/iofdopen.c: Likewise.
24619 * libio/iofopen.c: Likewise.
24620 * libio/iofopen64.c: Likewise.
24621 * libio/iogetdelim.c: Likewise.
24622 * libio/iopopen.c: Likewise.
24623 * libio/obprintf.c: Likewise.
24624 * libio/oldfileops.c: Likewise.
24625 * libio/oldiofclose.c: Likewise.
24626 * libio/oldiofdopen.c: Likewise.
24627 * libio/oldiofopen.c: Likewise.
24628 * libio/oldiopopen.c: Likewise.
24629 * libio/wfiledoalloc.c: Likewise.
24630 * libio/wgenops.c: Likewise.
24631 * locale/programs/xmalloc.c: Likewise.
24632 * misc/syslog.c: Likewise.
24633 * stdio-common/xbug.c: Likewise.
24634 * string/memchr.c: Likewise.
24635 * string/memcmp.c: Likewise.
24636 * string/memrchr.c: Likewise.
24637 * string/rawmemchr.c: Likewise.
24638 * sysdeps/posix/getcwd.c: Likewise.
24639 * time/strftime_l.c: Likewise.
24640
24641 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24642
24643 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24644 * config.make.in (config-cflags-sse2avx): Define.
24645 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24646 Fix typo.
24647
24648 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24649
24650 * scripts/config.guess: Update from upstream config git repository.
24651 * scripts/config.sub: Likewise.
24652
24653 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24654
24655 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24656 (EM_NUM): Update.
24657 (R_TILEPRO_*, R_TILEGX_*): New macros.
24658
24659 * scripts/firstversions.awk: Fix bug in version range handling.
24660
24661 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24662
24663 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24664
24665 * include/sys/epoll.h: New file.
24666 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24667 libc_hidden_def.
24668
24669 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24670
24671 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24672 Avoid unnecessary __WORDSIZE == 64 test.
24673 (fmaxf): Use VEX format if possible.
24674 (fmax): Likewise.
24675 (fminf): Likewise.
24676 (fmin): Likewise.
24677
24678 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24679 * math/math_private.h: Remove libc_fegetround* and
24680 libc_fesetround*.
24681 * sysdeps/i386/configure.in: Check for -msse2avx.
24682 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24683 also if SSE2AVX is defined.
24684 Remove libc_fegetround* and libc_fesetround*.
24685 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24686 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24687 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24688 of HAS_YMM_USABLE.
24689 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24690 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24693 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24694
24695 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24696
24697 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24698
24699 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24700 size is not set.
24701 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24702
24703 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24704
24705 [BZ #13618]
24706 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24707 relocation.
24708 * Makeconfig (libm): Define.
24709 * elf/Makefile: Add rules to build and run tst-relsort1.
24710 * elf/tst-relsort1.c: New file.
24711 * elf/tst-relsort1mod1.c: New file.
24712 * elf/tst-relsort1mod2.c: New file.
24713
24714 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24715
24716 * math/s_ldexp.c: Remove __STDC__ conditionals.
24717 * math/s_ldexpf.c: Likewise.
24718 * math/s_ldexpl.c: Likewise.
24719 * math/s_nextafter.c: Likewise.
24720 * math/s_nexttowardf.c: Likewise.
24721 * math/s_significand.c: Likewise.
24722 * math/s_significandf.c: Likewise.
24723 * math/s_significandl.c: Likewise.
24724 * math/w_jnl.c: Likewise.
24725 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24726 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24727 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24728 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24729 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24731 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24732 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24733 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24734 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24735 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24736 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24737 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24738 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24739 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24740 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24741 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24742 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24743 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24744 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24745 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24746 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24747 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24748 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24749 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24750 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24751 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24752 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24753 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24754 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24755 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24756 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24757 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24758 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24759 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24760 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24761 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24762 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24763 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24764 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24765 * sysdeps/ieee754/k_standard.c: Likewise.
24766 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24767 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24769 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24770 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24771 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24772 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24773 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24774 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24775 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24776 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24777 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24778 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24779 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24780 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24781 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24782 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24783 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24784 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24785 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24786 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24787 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24788 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24789 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24791 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24792 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24793 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24795 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24796 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24797 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24798 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24799 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24800 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24827 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24832 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24840 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24841 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24845 * sysdeps/ieee754/s_matherr.c: Likewise.
24846 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24847 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24848 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24850
24851 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24852
24853 * crypt/md5.h: Remove __STDC__ conditionals.
24854 * libio/libioP.h: Likewise.
24855 * locale/programs/config.h: Likewise.
24856 * sysdeps/generic/sysdep.h: Likewise.
24857 * sysdeps/i386/asm-syntax.h: Likewise.
24858 * sysdeps/s390/asm-syntax.h: Likewise.
24859 * sysdeps/unix/sysdep.h: Likewise.
24860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24862
24863 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24864
24865 * libio/libio.h: Remove __STDC__ conditionals.
24866 * malloc/obstack.h: Likewise.
24867 * math/complex.h: Likewise.
24868 * math/math.h: Likewise.
24869 * sysdeps/generic/_G_config.h: Likewise.
24870 * sysdeps/gnu/_G_config.h: Likewise.
24871 * sysdeps/mach/hurd/_G_config.h: Likewise.
24872 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24873 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24874 * sysdeps/sparc/bits/mathdef.h: Likewise.
24875
24876 2012-01-26 Ulrich Drepper <drepper@gmail.com>
24877
24878 [BZ #13583]
24879 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24880 Clean up HAS_* macros.
24881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24882 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24883 possible.
24884 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24885 HAS_AVX.
24886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24887 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24890 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24891
24892 2012-01-25 Joseph Myers <joseph@codesourcery.com>
24893
24894 * elf/tst-unique3.cc (gets): Remove declaration.
24895 * elf/tst-unique3lib.cc (gets): Likewise.
24896 * elf/tst-unique3lib2.cc (gets): Likewise.
24897 * elf/tst-unique4.cc (gets): Likewise.
24898
24899 2012-01-24 Ulrich Drepper <drepper@gmail.com>
24900
24901 * include/stdio.h: Add C++ protection. Add gets declarations and
24902 definitions.
24903 * debug/tst-chk1.c: Don't declare gets here.
24904 * stdio-common/tst-gets.c: Likewise.
24905
24906 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24907
24908 * posix/glob: Remove directory.
24909
24910 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24911
24912 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24913
24914 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24915
24916 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24917 of the non-standard EPFNOSUPPORT.
24918
24919 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24920
24921 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24922 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24923 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24924
24925 2012-01-21 Ulrich Drepper <drepper@gmail.com>
24926
24927 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24928
24929 2012-01-20 Ulrich Drepper <drepper@gmail.com>
24930
24931 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24932 transient errors.
24933 * nscd/grpcache.c (cache_addgr): Likewise.
24934 * nscd/hstcache.c (cache_addhst): Likewise.
24935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24936 * nscd/pwdcache.c (cache_addpw): Likewise.
24937 * nscd/servicescache.c (cache_addserv): Likewise.
24938
24939 2012-01-16 Ulrich Drepper <drepper@gmail.com>
24940
24941 * malloc/malloc.c: Various cleanups.
24942 * malloc/hooks.c: Likewise.
24943
24944 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24945 * stdlib/bug-fmtmsg1.c: New file.
24946
24947 * stdlib/fmtmsg.c (init): Add missing unlock.
24948 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24949
24950 2012-01-12 Marek Polacek <polacek@redhat.com>
24951
24952 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24953 and _GNU_SOURCE.
24954
24955 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24956
24957 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24958 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24959 macro to ensure uniqueness of label name.
24960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24962
24963 2012-01-11 Ulrich Drepper <drepper@gmail.com>
24964
24965 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24966
24967 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24969 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24971
24972 2012-01-10 Ulrich Drepper <drepper@gmail.com>
24973
24974 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24975
24976 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24977 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24978 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24979
24980 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24981
24982 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24983 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24984 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24985 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24986
24987 * math/bits/math-finite.h: Add ldexp support.
24988
24989 2012-01-10 Marek Polacek <polacek@redhat.com>
24990
24991 * locale/programs/localedef.h (show_archive_content): Add noreturn
24992 attribute.
24993
24994 2012-01-09 Ulrich Drepper <drepper@gmail.com>
24995
24996 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24997
24998 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24999
25000 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25001
25002 * io/Makefile (headers): Add bits/poll2.h.
25003
25004 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25005
25006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25007 typo #include statement.
25008
25009 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25010
25011 * include/sys/cdefs.h: Define __attribute_alloc_size.
25012 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25013 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25014 * elf/pldd.c: Likewise.
25015 * iconv/iconv_charmap.c: Likewise.
25016 * iconv/iconvconfig.c: Likewise.
25017 * iconv/strtab.c: Likewise.
25018 * locale/programs/locale.c: Likewise.
25019 * locale/programs/localedef.h: Likewise.
25020 * locale/programs/simple-hash.c: Likewise.
25021 * nscd/nscd.h: Likewise.
25022 * nss/makedb.c: Likewise.
25023 * sysdeps/generic/ldconfig.h: Likewise.
25024 * locale/programs/localedef.c: Remove xmalloc prototype.
25025 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25026
25027 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25028
25029 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25030 appropriate.
25031
25032 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25033
25034 * math/Makefile (tests): Add tst-CMPLX.
25035 * math/tst-CMPLX.c: New file.
25036
25037 * math/complex.h (CMPLXL): Fix typo.
25038
25039 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25040 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25041 GLIBC_2.16.
25042 * debug/tst-chk1.c: Add poll and ppoll tests.
25043 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25044 * include/sys/poll.h: Add hidden proto for ppoll.
25045 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25046 * sysdeps/mach/hurd/ppoll.c: Likewise.
25047 * io/ppoll.c: Likewise.
25048 * debug/poll_chk.c: New file.
25049 * debug/ppoll_chk.c: New file.
25050 * include/bits/poll2.h: New file.
25051 * io/bits/poll2.h: New file.
25052
25053 [BZ #1350]
25054 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25055
25056 * configure.in: static is always set to yes. Remove.
25057 * config.make.in: Don't set build-static.
25058 * Makeconfig: Remove use of build-static.
25059 * dlfcn/Makefile: Likewise.
25060 * elf/Makefile: Likewise.
25061 * math/Makefile: Likewise.
25062 * misc/Makefile: Likewise.
25063 * nptl/Makefile: Likewise.
25064 * sysdeps/mach/hurd/Makefile: Likewise.
25065
25066 * configure.in: PWD_P is not used anymore.
25067 * config.make.in: Remove PWD_P entry.
25068
25069 * configure.in: Remove last remnants of RANLIB.
25070 No need to check for signed size_t anymore.
25071 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25072 and IA-64.
25073 Remove __builtin_expect test because we require at least gcc 3.4.
25074 * aclocal.m4: Likewise.
25075
25076 * wcsmbs/mbrtoc16.c: Implement using towc function.
25077 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25078 * wcsmbs/wcsmbsload.c: Likewise.
25079 * iconv/gconv_simple.c: Likewise.
25080 * iconv/gconv_int.h: Likewise.
25081 * iconv/gconv_builtin.h: Likewise.
25082 * iconv/iconv_prog.c: Remove CHAR16 handling.
25083
25084 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25085
25086 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25087
25088 * configure.in: Remove --with-elf and --enable-bounded options.
25089 Dont set base_machine for ia64. More non-ELF conditions removed.
25090 Remove testing and setting of leading underscore information.
25091 * config.make.in (build-bounded): Set to no.
25092 * config.h.in: Remove NO_UNDERSCORES entry.
25093 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25094 them.
25095 * csu/start.c: Remove !NO_UNDERSCORE code.
25096 * locale/localeinfo.h: Likewise.
25097 * sysdeps/generic/machine-gmon.h: Likewise.
25098 * sysdeps/generic/sysdep.h: Likewise.
25099 * sysdeps/i386/sysdep.h: Likewise.
25100 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25101 * sysdeps/mach/sysdep.h: Likewise.
25102 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25103 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25104 * sysdeps/sh/sysdep.h: Likewise.
25105 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25106 * sysdeps/unix/i386/sysdep.S: Likewise.
25107 * sysdeps/unix/sparc/start.c: Likewise.
25108 * sysdeps/unix/sparc/sysdep.S: Likewise.
25109 * sysdeps/unix/sparc/sysdep.h: Likewise.
25110 * sysdeps/unix/start.c: Likewise.
25111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25112 * sysdeps/x86_64/sysdep.h: Likewise.
25113
25114 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25115
25116 [BZ #13553]
25117 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25118 for non-gcc.
25119 * argp/argp-fmtstream.h: Use const instead __const.
25120 * argp/argp.h: Likewise.
25121 * assert/assert.h: Likewise.
25122 * bits/fenv.h: Likewise.
25123 * bits/sched.h: Likewise.
25124 * bits/sigset.h: Likewise.
25125 * bits/sigthread.h: Likewise.
25126 * catgets/nl_types.h: Likewise.
25127 * conform/data/pthread.h-data: Likewise.
25128 * crypt/crypt-private.h: Likewise.
25129 * crypt/crypt.h: Likewise.
25130 * crypt/crypt_util.c: Likewise.
25131 * ctype/ctype.h: Likewise.
25132 * debug/execinfo.h: Likewise.
25133 * debug/mbsnrtowcs_chk.c: Likewise.
25134 * debug/mbsrtowcs_chk.c: Likewise.
25135 * debug/wcsnrtombs_chk.c: Likewise.
25136 * debug/wcsrtombs_chk.c: Likewise.
25137 * debug/wcstombs_chk.c: Likewise.
25138 * dirent/dirent.h: Likewise.
25139 * dlfcn/dlfcn.h: Likewise.
25140 * elf/neededtest4.c: Likewise.
25141 * grp/grp.h: Likewise.
25142 * gshadow/gshadow.h: Likewise.
25143 * iconv/gconv.h: Likewise.
25144 * iconv/gconv_int.h: Likewise.
25145 * iconv/gconv_simple.c: Likewise.
25146 * iconv/iconv.h: Likewise.
25147 * iconv/loop.c: Likewise.
25148 * iconv/skeleton.c: Likewise.
25149 * include/aio.h: Likewise.
25150 * include/aliases.h: Likewise.
25151 * include/argz.h: Likewise.
25152 * include/arpa/inet.h: Likewise.
25153 * include/assert.h: Likewise.
25154 * include/dirent.h: Likewise.
25155 * include/dlfcn.h: Likewise.
25156 * include/execinfo.h: Likewise.
25157 * include/fcntl.h: Likewise.
25158 * include/fenv.h: Likewise.
25159 * include/glob.h: Likewise.
25160 * include/grp.h: Likewise.
25161 * include/libintl.h: Likewise.
25162 * include/mntent.h: Likewise.
25163 * include/netdb.h: Likewise.
25164 * include/pwd.h: Likewise.
25165 * include/rpc/netdb.h: Likewise.
25166 * include/sched.h: Likewise.
25167 * include/search.h: Likewise.
25168 * include/shadow.h: Likewise.
25169 * include/signal.h: Likewise.
25170 * include/stdio.h: Likewise.
25171 * include/stdlib.h: Likewise.
25172 * include/string.h: Likewise.
25173 * include/sys/socket.h: Likewise.
25174 * include/sys/stat.h: Likewise.
25175 * include/sys/statfs.h: Likewise.
25176 * include/sys/statvfs.h: Likewise.
25177 * include/sys/syslog.h: Likewise.
25178 * include/sys/time.h: Likewise.
25179 * include/sys/uio.h: Likewise.
25180 * include/time.h: Likewise.
25181 * include/unistd.h: Likewise.
25182 * include/utmp.h: Likewise.
25183 * include/wchar.h: Likewise.
25184 * include/wctype.h: Likewise.
25185 * inet/aliases.h: Likewise.
25186 * inet/arpa/inet.h: Likewise.
25187 * inet/netinet/ether.h: Likewise.
25188 * inet/netinet/in.h: Likewise.
25189 * intl/libintl.h: Likewise.
25190 * io/bits/fcntl2.h: Likewise.
25191 * io/fcntl.h: Likewise.
25192 * io/ftw.h: Likewise.
25193 * io/sys/poll.h: Likewise.
25194 * io/sys/stat.h: Likewise.
25195 * io/sys/statfs.h: Likewise.
25196 * io/sys/statvfs.h: Likewise.
25197 * io/utime.h: Likewise.
25198 * libio/bits/stdio.h: Likewise.
25199 * libio/bits/stdio2.h: Likewise.
25200 * libio/libio.h: Likewise.
25201 * libio/libioP.h: Likewise.
25202 * libio/stdio.h: Likewise.
25203 * locale/lc-ctype.c: Likewise.
25204 * locale/locale.h: Likewise.
25205 * login/utmp.h: Likewise.
25206 * malloc/arena.c: Likewise.
25207 * malloc/malloc.c: Likewise.
25208 * malloc/malloc.h: Likewise.
25209 * malloc/mcheck.c: Likewise.
25210 * malloc/mtrace.c: Likewise.
25211 * math/bits/mathcalls.h: Likewise.
25212 * math/fenv.h: Likewise.
25213 * math/math_private.h: Likewise.
25214 * misc/bits/error.h: Likewise.
25215 * misc/bits/syslog.h: Likewise.
25216 * misc/err.h: Likewise.
25217 * misc/error.h: Likewise.
25218 * misc/fstab.h: Likewise.
25219 * misc/mntent.h: Likewise.
25220 * misc/regexp.h: Likewise.
25221 * misc/search.h: Likewise.
25222 * misc/sgtty.h: Likewise.
25223 * misc/sys/mman.h: Likewise.
25224 * misc/sys/syslog.h: Likewise.
25225 * misc/sys/uio.h: Likewise.
25226 * misc/sys/xattr.h: Likewise.
25227 * misc/ttyent.h: Likewise.
25228 * nis/rpcsvc/ypclnt.h: Likewise.
25229 * nss/nss.h: Likewise.
25230 * posix/bits/unistd.h: Likewise.
25231 * posix/fnmatch.h: Likewise.
25232 * posix/glob.h: Likewise.
25233 * posix/sched.h: Likewise.
25234 * posix/spawn.h: Likewise.
25235 * posix/sys/wait.h: Likewise.
25236 * posix/unistd.h: Likewise.
25237 * posix/wordexp.h: Likewise.
25238 * pwd/pwd.h: Likewise.
25239 * resolv/netdb.h: Likewise.
25240 * resource/sys/resource.h: Likewise.
25241 * rt/aio.h: Likewise.
25242 * rt/bits/mqueue2.h: Likewise.
25243 * rt/mqueue.h: Likewise.
25244 * shadow/shadow.h: Likewise.
25245 * signal/signal.h: Likewise.
25246 * socket/send.c: Likewise.
25247 * socket/sendto.c: Likewise.
25248 * socket/sys/socket.h: Likewise.
25249 * stdio-common/printf.h: Likewise.
25250 * stdlib/bits/stdlib.h: Likewise.
25251 * stdlib/fmtmsg.h: Likewise.
25252 * stdlib/monetary.h: Likewise.
25253 * stdlib/stdlib.h: Likewise.
25254 * stdlib/ucontext.h: Likewise.
25255 * streams/stropts.h: Likewise.
25256 * string/argz.h: Likewise.
25257 * string/bits/string2.h: Likewise.
25258 * string/string.h: Likewise.
25259 * string/strings.h: Likewise.
25260 * sunrpc/rpc/auth.h: Likewise.
25261 * sunrpc/rpc/auth_des.h: Likewise.
25262 * sunrpc/rpc/clnt.h: Likewise.
25263 * sunrpc/rpc/netdb.h: Likewise.
25264 * sunrpc/rpc/pmap_clnt.h: Likewise.
25265 * sunrpc/rpc/xdr.h: Likewise.
25266 * sysdeps/generic/inttypes.h: Likewise.
25267 * sysdeps/generic/net/if.h: Likewise.
25268 * sysdeps/generic/sys/swap.h: Likewise.
25269 * sysdeps/gnu/net/if.h: Likewise.
25270 * sysdeps/gnu/utmpx.h: Likewise.
25271 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25272 * sysdeps/i386/i486/bits/string.h: Likewise.
25273 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25274 * sysdeps/s390/bits/string.h: Likewise.
25275 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25276 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25277 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25278 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25279 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25280 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25281 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25282 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25283 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25284 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25285 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25286 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25287 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25288 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25289 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25290 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25291 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25293 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25294 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25295 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25296 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25297 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25298 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25299 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25300 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25301 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25302 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25303 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25304 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25305 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25306 * sysvipc/sys/ipc.h: Likewise.
25307 * sysvipc/sys/msg.h: Likewise.
25308 * sysvipc/sys/sem.h: Likewise.
25309 * sysvipc/sys/shm.h: Likewise.
25310 * termios/termios.h: Likewise.
25311 * time/sys/time.h: Likewise.
25312 * time/time.h: Likewise.
25313 * wcsmbs/bits/wchar2.h: Likewise.
25314 * wcsmbs/uchar.h: Likewise.
25315 * wcsmbs/wchar.h: Likewise.
25316 * wctype/wctype.h: Likewise.
25317
25318 [BZ #13551]
25319 * Makeconfig: Remove all but ELF support including AIX support.
25320 * Makerules: Likewise.
25321 * config.h.in: Likewise.
25322 * config.make.in: Likewise.
25323 * configure: Likewise.
25324 * configure.in: Likewise.
25325 * csu/Makefile: Likewise.
25326 * csu/version.c: Likewise.
25327 * debug/Makefile: Likewise.
25328 * dlfcn/Makefile: Likewise.
25329 * elf/Makefile: Likewise.
25330 * extra-lib.mk: Likewise.
25331 * iconv/Makefile: Likewise.
25332 * include/libc-symbols.h: Likewise.
25333 * include/shlib-compat.h: Likewise.
25334 * resolv/Makefile: Likewise.
25335 * resolv/res_libc.c: Likewise.
25336 * rt/Makefile: Likewise.
25337 * sysdeps/i386/asm-syntax.h: Likewise.
25338 * sysdeps/i386/sysdep.h: Likewise.
25339 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25340 * sysdeps/mach/sysdep.h: Likewise.
25341 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25342 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25343 * sysdeps/s390/asm-syntax.h: Likewise.
25344 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25345 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25346 * sysdeps/sh/sysdep.h: Likewise.
25347 * sysdeps/unix/sparc/sysdep.h: Likewise.
25348 * sysdeps/wordsize-32/divdi3.c: Likewise.
25349 * sysdeps/x86_64/sysdep.h: Likewise.
25350
25351 * argp/Versions: Remove _argp_unlock_xxx.
25352
25353 [BZ #13559]
25354 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25355 * abilist/libBrokenLocale.abilist: Likewise.
25356 * abilist/libanl.abilist: Likewise.
25357 * abilist/libc.abilist: Likewise.
25358 * abilist/libcrypt.abilist: Likewise.
25359 * abilist/libdl.abilist: Likewise.
25360 * abilist/libm.abilist: Likewise.
25361 * abilist/libnsl.abilist: Likewise.
25362 * abilist/libpthread.abilist: Likewise.
25363 * abilist/libresolv.abilist: Likewise.
25364 * abilist/librt.abilist: Likewise.
25365 * abilist/libthread_db.abilist: Likewise.
25366 * abilist/libutil.abilist: Likewise.
25367 * abilist/libnss_db.abilist: New file.
25368
25369 * scripts/abilist.awk: Add support for indirect functions.
25370
25371 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25372
25373 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25374
25375 * shlib-versions: Remove entries for ports architectures.
25376
25377 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25378 files in ports.
25379 * elf/stackguard-macros.h: Remove support for IA-64.
25380 * elf/tst-auditmod1.c: Likewise.
25381 * sysdeps/generic/ldsodefs.h: Likewise.
25382
25383 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25384 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25385 configure files.
25386
25387 [BZ #13552]
25388 * configure.in: Remove --enable-omitfp support.
25389 * FAQ.in: Adjust.
25390 * config.make.in: Likewise.
25391 * Makeconfig: Likewise.
25392 * manual/install.texi: Likewise.
25393
25394 In case anyone cares, the IA-64 architecture could move to ports.
25395 * sysdeps/ia64/*: Removed.
25396 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25397 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25398
25399 [BZ #13555]
25400 * configure.in: Remove entries for unsupported architectures.
25401
25402 [BZ #13533]
25403 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25404 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25405 routines.
25406 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25407 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25408 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25409 fall back to using wcrtomb.
25410 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25411 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25412 renaming.
25413 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25414 * wcsmbs/tst-c16c32-1.c: New file.
25415
25416 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25417 local variable.
25418
25419 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25420
25421 * elf/tst-unique3.cc: Add explicit declaration of gets.
25422 * elf/tst-unique3lib.cc: Likewise.
25423 * elf/tst-unique3lib2.cc: Likewise.
25424 * elf/tst-unique4.cc: Likewise.
25425
25426 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25427
25428 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25429
25430 [BZ #13566]
25431 * assert/assert.h (static_assert): Don't define for C++.
25432 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25433 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25434
25435 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25436
25437 * iconv/loop.c (single loop): Fix assertion in storing of
25438 remaining bytes.
25439
25440 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25441
25442 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25443
25444 * posix/getconf.c: Update copyright year.
25445 * nss/getent.c: Likewise.
25446 * nss/makedb.c: Likewise.
25447 * iconv/iconvconfig.c: Likewise.
25448 * iconv/iconv_prog.c: Likewise.
25449 * elf/ldconfig.c: Likewise.
25450 * elf/pldd.c: Likewise.
25451 * elf/sotruss.ksh: Likewise.
25452 * catgets/gencat.c: Likewise.
25453 * csu/version.c: Likewise.
25454 * elf/ldd.bash.in: Likewise.
25455 * elf/sprof.c (print_version): Likewise.
25456 * locale/programs/locale.c: Likewise.
25457 * locale/programs/localedef.c: Likewise.
25458 * login/programs/pt_chown.c: Likewise.
25459 * nscd/nscd.c (print_version): Likewise.
25460 * debug/xtrace.sh: Likewise.
25461 * malloc/memusage.sh: Likewise.
25462 * malloc/mtrace.pl: Likewise.
25463 * debug/catchsegv.sh: Likewise.
25464
25465 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25466
25467 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25468 pure attribute.
25469
25470 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25471
25472 [BZ #13533]
25473 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25474 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25475 transformations.
25476 * iconv/gconv_int.h: Likewise.
25477 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25478 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25479 from libc for GLIBC_2.16.
25480 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25481 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25482 * wcsmbs/uchar.h: Really define mbstate_t.
25483 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25484 * wcsmbs/c16rtomb.c: New file.
25485 * wcsmbs/mbrtoc16.c: New file.
25486 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25487 for C/POSIX locale.
25488 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25489 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25490
25491 * wcsmbs/wchar.h: Add missing __restrict.
25492
25493 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25494
25495 [BZ #13532]
25496 * time/Makefile (routines): Add timespec_get.
25497 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25498 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25499 timespec for ISO C11.
25500 * time/timespec_get.c: New file.
25501 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25502 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25503
25504 [BZ #13531]
25505 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25506 * stdlib/stdlib.h: Declare aligned_alloc.
25507 * Versions.def: Add GLIBC_2.16 for libc.
25508 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25509
25510 [BZ 13527]
25511 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25512 ISO C11.
25513
25514 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25515 code.
25516
25517 [BZ #13528]
25518 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25519
25520 [BZ #13529]
25521 * assert/assert.h (static_assert): Define.
25522
25523 * version.h: Update for 2.16 development version.
25524
25525 [BZ #13526]
25526 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25527 _ISOC11_SOURCE.
25528
25529 * version.h (RELEASE): Bump for 2.15 release.
25530 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25531
25532 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25533 Patch by Marek Polacek <mpolacek@redhat.com>.
25534
25535 * bits/byteswap.h: Protect long long constants with __extension__.
25536 * sysdeps/i386/bits/byteswap.h: Likewise.
25537 * sysdeps/ia64/bits/byteswap.h: Likewise.
25538 * sysdeps/s390/bits/byteswap.h: Likewise.
25539 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25540
25541 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25542
25543 [BZ #13540]
25544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25545 destination buffer.
25546 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25547
25548 2011-12-23 Marek Polacek <polacek@redhat.com>
25549
25550 * elf/dl-addr.c (determine_info): Add inline keyword.
25551 * elf/tst-auditmod4b.c (check_avx): Likewise.
25552 * elf/tst-auditmod6b.c (check_avx): Likewise.
25553 * elf/tst-auditmod6c.c (check_avx): Likewise.
25554 * elf/tst-auditmod7b.c (check_avx): Likewise.
25555
25556 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25557
25558 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25559 !__SSE_MATH__.
25560
25561 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25562
25563 [BZ #13540]
25564 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25565 processing for last bytes.
25566
25567 2011-08-06 Bruno Haible <bruno@clisp.org>
25568
25569 [BZ #13061]
25570 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25571 U+0385, not to U+1FEE.
25572
25573 [BZ #13062]
25574 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25575 entry for U+00A5 U+0301.
25576
25577 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25578
25579 [BZ #13166]
25580 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25581 buffer for the output is too small.
25582
25583 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25584 optimization.
25585
25586 [BZ #13185]
25587 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25588 SSE flags if possible.
25589
25590 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25591
25592 [BZ #13540]
25593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25594 processing for last bytes.
25595
25596 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25597
25598 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25599 (syscall-list-default-options, syscall-list-default-condition)
25600 (syscall-list-includes): Define.
25601 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25602 list of ABIs and options and #if conditions for each ABI. Do not
25603 handle common syscalls between ABIs specially.
25604 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25605 Remove.
25606 (syscall-list-variants, syscall-list-32bit-options)
25607 (syscall-list-32bit-condition, syscall-list-64bit-options)
25608 (syscall-list-64bit-condition): Define.
25609 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25610 (syscall-list-variants, syscall-list-32bit-options)
25611 (syscall-list-32bit-condition, syscall-list-64bit-options)
25612 (syscall-list-64bit-condition): Define.
25613 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25614 Remove.
25615 (syscall-list-variants, syscall-list-32bit-options)
25616 (syscall-list-32bit-condition, syscall-list-64bit-options)
25617 (syscall-list-64bit-condition): Define.
25618 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25619 Remove.
25620 (syscall-list-variants, syscall-list-32bit-options)
25621 (syscall-list-32bit-condition, syscall-list-64bit-options)
25622 (syscall-list-64bit-condition): Define.
25623
25624 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25625
25626 * locale/iso-639.def: Add brx entry.
25627
25628 [BZ #13328]
25629 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25630 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25631
25632 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25633 __feraiseexcept_renamed.
25634
25635 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25636
25637 [BZ #13538]
25638 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25639 EPOLLET with unsigned values.
25640 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25641 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25642
25643 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25644 to large cancellation.
25645 * math/s_cacoshf.c: Likewise.
25646 * math/s_cacoshl.c: Likewise.
25647
25648 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25649
25650 [BZ #13305]
25651 [BZ #12786]
25652 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25653 * math/s_cacoshf.c: Likewise.
25654 * math/s_cacoshl.c: Likewise.
25655
25656 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25657
25658 [BZ #13439]
25659 * iconv/gconv.h: Define __GCONV_SWAP.
25660 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25661 * iconvdata/utf-16.c: Likewise.
25662 * iconvdata/utf-32.c: Likewise.
25663
25664 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25665
25666 [BZ #13524]
25667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25668 numerator after shifting it by one limb.
25669
25670 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25671
25672 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25673 under [__USE_EXTERN_INLINES].
25674
25675 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25676
25677 [BZ #13446]
25678 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25679
25680 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25681
25682 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25683 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25684 optimized code.
25685 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25686 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25687 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25688 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25689 for strncasecmp/strncasecmp_l compilation.
25690 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25691 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25692
25693 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25694
25695 [BZ #13484]
25696 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25697 of __asm__.
25698
25699 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25700
25701 [BZ #13506]
25702 * time/tzfile.c (__tzfile_read): Check values from file header.
25703
25704 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25705
25706 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25707 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25708 * powerpc/powerpc32/dl-start.S: Likewise.
25709 * powerpc/powerpc32/elf/start.S: Likewise.
25710 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25711 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25712 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25713 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25714 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25715 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25716 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25717 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25718 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25719 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25720 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25721 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25722 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25723 * powerpc/powerpc32/memset.S: Likewise.
25724 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25725 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25726 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25727 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25728 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25729 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25730 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25731 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25732 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25733 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25734 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25735 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25736 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25737
25738 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25739
25740 * math/libm-test.inc: Added more nearbyint tests.
25741 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25742 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25743 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25744 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25745
25746 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25747
25748 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25749 FD_CLOEXEC.
25750
25751 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25752
25753 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25754 Add wcscpy-ssse3 wcscpy-c.
25755 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25756 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25757 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25758 * sysdeps/x86_64/wcschr.S: New file.
25759 * sysdeps/x86_64/wcsrchr.S: New file.
25760 * string/test-strcmp.c: Remove checking of wcscmp function for
25761 wrong alignments.
25762 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25763 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25764 wcsrchr-sse2 wcsrchr-c.
25765 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25766 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25767 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25768 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25769 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25770 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25771 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25772 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25773 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25774 * wcsmbc/wcschr.c (WCSCHR): New macro.
25775
25776 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25777
25778 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25779 * wcsmbs/test-wcsrchr.c: New file.
25780 * string/test-strrchr.c: Add wcsrchr support.
25781 (WIDE): New macro.
25782 * wcsmbs/test-wcscpy.c: New file.
25783 * string/test-strcpy.c: Add wcscpy support.
25784 (WIDE): New macro.
25785
25786 2011-12-10 Ulrich Drepper <drepper@gmail.com>
25787
25788 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25789 the inner loop.
25790
25791 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25792
25793 [BZ #13472]
25794 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25795
25796 2011-12-04 Ulrich Drepper <drepper@gmail.com>
25797
25798 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25799 Minor optimizations.
25800
25801 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25802 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25803 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25804
25805 2011-12-03 Ulrich Drepper <drepper@gmail.com>
25806
25807 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25808 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25809 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25810 for gcc to avoid warnings.
25811 * inet/Makefile (tests): Add tst-checks.
25812 * inet/tst-checks.c: New file.
25813
25814 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25815 warning.
25816
25817 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25818 __wmemcmp_sse2.
25819
25820 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25821 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25822
25823 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25824
25825 2011-12-02 Ulrich Drepper <drepper@gmail.com>
25826
25827 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25828 problem.
25829
25830 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25831
25832 2011-11-29 Joseph Myers <joseph@codesourcery.com>
25833
25834 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25835 conditional on GCC version.
25836 (__arch_compare_and_exchange_val_8_acq)
25837 (__arch_compare_and_exchange_val_16_acq)
25838 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25839 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25840 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25841
25842 2011-12-02 Joseph Myers <joseph@codesourcery.com>
25843
25844 * sysdeps/sh/backtrace.c: New file.
25845
25846 2011-12-02 Andreas Schwab <schwab@redhat.com>
25847
25848 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25849 parenthesis.
25850
25851 2011-12-01 Andreas Schwab <schwab@redhat.com>
25852
25853 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25854 falling back to utime.
25855
25856 2011-11-30 Andreas Schwab <schwab@redhat.com>
25857
25858 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25859 expectations for float.
25860
25861 2011-11-29 Andreas Schwab <schwab@redhat.com>
25862
25863 * locale/weight.h (findidx): Add parameter len.
25864 * locale/weightwc.h (findidx): Likewise.
25865 * posix/fnmatch_loop.c (FCT): Adjust caller.
25866 * posix/regcomp.c (build_equiv_class): Likewise.
25867 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25868 * posix/regexec.c (check_node_accept_bytes): Likewise.
25869 * string/strcoll_l.c (STRCOLL): Likewise.
25870 * string/strxfrm_l.c (STRXFRM): Likewise.
25871
25872 2011-11-17 Ulrich Drepper <drepper@gmail.com>
25873
25874 * Makefile.in: Remove CVSOPT handling.
25875 * configure.in: Remove use of AC_REVISION.
25876 * iconvdata/Makefile (distribute): No need to filter out CVS.
25877 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25878 handling.
25879
25880 2011-11-16 Andreas Schwab <schwab@redhat.com>
25881
25882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25883 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25884 [USE_AS_STRNCASECMP_L]: Likewise.
25885 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25886 NO_TLS_DIRECT_SEG_REFS.
25887 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25888 Fix argument offsets for non-PIC.
25889 [USE_AS_STRNCASECMP_L]: Likewise.
25890 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25891 NO_TLS_DIRECT_SEG_REFS.
25892
25893 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25894
25895 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25896 O_CLOEXEC.
25897 * locale/loadlocale.c (_nl_load_locale): Likewise.
25898
25899 2011-11-15 Andreas Schwab <schwab@redhat.com>
25900
25901 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25902 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25903 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25904 (SYSCALL_GETTIME): Set errno on error.
25905
25906 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25907 count references to noai6ai_cached.
25908
25909 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25910
25911 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25912
25913 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25914 FD_CLOEXEC for /proc/self/maps.
25915
25916 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25917 FD_CLOEXEC for /proc/meminfo.
25918
25919 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25920 gai.conf.
25921
25922 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25923 FD_CLOEXEC for given file.
25924
25925 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25926
25927 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25928 FD_CLOEXEC for /etc/hosts.
25929 (_gethtent): Likewise.
25930
25931 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25932
25933 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25934 cancellation and set FD_CLOEXEC for /etc/netgroup.
25935
25936 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25937 reading /etc/publickey.
25938
25939 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25940 allow cancellation when reading /etc/group.
25941
25942 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25943 cancellation.
25944 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25945
25946 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25947 when using data file.
25948
25949 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25950
25951 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25952 (write_nis_obj): Use "c" and "e" in fopen.
25953
25954 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25955
25956 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25957
25958 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25959
25960 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25961
25962 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25963 locale.alias.
25964
25965 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25966
25967 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25968
25969 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25970
25971 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25972 file parsing and set FD_CLOEXEC.
25973
25974 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25975
25976 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25977
25978 2011-11-14 Andreas Schwab <schwab@redhat.com>
25979
25980 * malloc/arena.c (arena_get2): Don't call reused_arena when
25981 _int_new_arena failed.
25982
25983 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25984
25985 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25986 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25987 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25988 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25989 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25990 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25991 to compile strcasecmp and strncasecmp.
25992 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25993 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25994
25995 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25996
25997 2011-11-13 Ulrich Drepper <drepper@gmail.com>
25998
25999 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26000 locale-defines.sym to gen-as-const-headers.
26001 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26002 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26004 to compile strcasecmp and strncasecmp.
26005 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26006 strcasecmp_l and strncasecmp_l.
26007 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26008 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26009 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26010 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26011 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26012 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26013 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26014 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26015 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26016 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26017 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26018
26019 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26020
26021 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26022 result of SYSDEP_GETTIME_CPU to retval.
26023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26024 parameter list to macro. Remove trailing semicolon. Adjust users.
26025
26026 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26027 variable.
26028
26029 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26030 mantissa words.
26031 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26032
26033 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26034 from unused variable.
26035
26036 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26037 DWARF definitions.
26038 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26039 for assembling.
26040
26041 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26042 over namespaces.
26043
26044 * sunrpc/rpc_prot.c (rejected): Fix case value.
26045
26046 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26047 unsigned long long int to avoid warnings in shift.
26048
26049 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26050 of use of trans.
26051 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26052 variable tmp.
26053
26054 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26055 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26056 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26057
26058 * nis/nis_table.c (nis_list): Use variable of correct type for
26059 result of __follow_path call.
26060
26061 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26062
26063 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26064 of math functions ceil, trunc, floor, round, and sqrt, when
26065 avaliable on the platform.
26066 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26067 name clash.
26068 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26069 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26070 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26071
26072 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26073
26074 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26075 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26076
26077 2011-11-11 Roland McGrath <roland@hack.frob.com>
26078
26079 * include/unistd.h: Fix __readlink return type.
26080 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26081
26082 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26083
26084 * stdlib/ucontext.h: Undo last change for makecontext.
26085
26086 2011-11-11 Andreas Schwab <schwab@redhat.com>
26087
26088 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26089
26090 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26091 * setjmp/setjmp.h: Mark functions as non-leaf.
26092 * setjmp/bits/setjmp2.h: Likewise.
26093 * stdlib/ucontext.h: Likewise.
26094
26095 2011-11-10 Andreas Schwab <schwab@redhat.com>
26096
26097 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26098 (reused_arena): Don't check arena limit.
26099 (arena_get2): Atomically check arena limit.
26100
26101 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26102
26103 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26104 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26105
26106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26107 instructions.
26108
26109 2011-11-07 Andreas Schwab <schwab@redhat.com>
26110
26111 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26112 handler when locking.
26113
26114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26115 Fix size of allocated buffer.
26116
26117 2011-11-04 Andreas Schwab <schwab@redhat.com>
26118
26119 [BZ #10103]
26120 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26121 declarations for long double functions.
26122 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26123
26124 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26125
26126 2011-11-03 Andreas Schwab <schwab@redhat.com>
26127
26128 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26129 installed.
26130
26131 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26132 is disabled.
26133
26134 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26135
26136 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26137
26138 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26139
26140 * include/alloca.h (stackinfo_alloca_round): Define.
26141 (extend_alloca): Use it.
26142 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26143 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26144 here.
26145
26146 * scripts/check-local-headers.sh: Ignore libaudit.h.
26147
26148 * nscd/Makefile (extra-objs): Make recursively expanded.
26149
26150 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26151
26152 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26153 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26154
26155 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26156 * posix/tst-rfc3484-2.c: Likewise.
26157 * posix/tst-rfc3484-3.c: Likewise.
26158
26159 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26160 process_vm_writev.
26161 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26162 process_vm_writev.
26163 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26164 process_vm_writev from libc using GLIBC_2.15 version.
26165
26166 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26167
26168 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26169
26170 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26171 stack usage.
26172
26173 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26174
26175 [BZ #13367]
26176 * nss/getent.c (initgroups_keys): Show error message in case no group
26177 names are given.
26178
26179 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26180 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26181 __bump_nl_timestamp.
26182 * nscd/connections (nscd_init): When host database is served open
26183 netlink socket and request notification about configuration changes.
26184 (main_loop_poll): Track netlink file descriptor and bump timestamp
26185 in case data becomes available.
26186 (main_loop_epoll): Likewise.
26187 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26188 (database_pers_head): Add extra_data fileds.
26189 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26190 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26191 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26192 Adjust caller.
26193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26194 in6ai data, call __free_in6ai.
26195 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26196 Add -DHAVE_NETLINK.
26197 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26198 interface information. Reuse previous data if netlink timestamp
26199 is not changed.
26200 (__bump_nl_timestamp): New function.
26201 (__free_in6ai): New function.
26202
26203 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26204
26205 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26206 close_not_cancel_no_status here.
26207 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26208
26209 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26210
26211 [BZ #13276]
26212 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26213 return value.
26214
26215 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26216 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26217 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26218
26219 2011-07-03 Andreas Jaeger <aj@suse.de>
26220
26221 [BZ #10709]
26222 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26223 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26224 * math/libm-test.inc (sin_test): Add test case.
26225
26226 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26227
26228 [BZ #13337]
26229 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26230 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26231
26232 * elf/chroot_canon.c (chroot_canon): Cleanups.
26233
26234 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26235
26236 [BZ #13335]
26237 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26238 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26239
26240 * string/test-strchr.c: Make usable for strchrnul testing.
26241 * string/test-strchrnul.c: New file.
26242 * string/Makefile (strop-tests): Add strchrnul.
26243
26244 * po/it.po: Update from translation team.
26245 * po/es.po: Likewise.
26246
26247 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26248
26249 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26250 the three constants needed as parameters. Drop the others.
26251 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26252 __m128i_strloadu_tolower.
26253 Create and initialize variable zero and use it in all the places
26254 where _mm_setzero_si128 was used.
26255
26256 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26257 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26258 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26259 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26260 anymore.
26261 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26262 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26263 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26264 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26265 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26266 __mpranred, __mptan.
26267 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26268 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26269 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26270 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26271 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26272 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26273 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26274 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26275 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26276
26277 2011-10-28 Andreas Schwab <schwab@redhat.com>
26278
26279 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26280 redefine if SHARED.
26281 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26282
26283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26284 wide char related routines to wcsmbs subdir.
26285
26286 2011-10-27 Andreas Schwab <schwab@redhat.com>
26287
26288 [BZ #13344]
26289 * misc/sys/cdefs.h (__THROWNL): Define.
26290 * posix/unistd.h: Use __THREADNL instead of __THREAD
26291 for memory synchronization functions.
26292
26293 2011-10-26 Roland McGrath <roland@hack.frob.com>
26294
26295 [BZ #13349]
26296 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26297 doesn't exist.
26298 * manual/stdio.texi (Obstack Streams): Node removed.
26299
26300 2011-10-26 Andreas Schwab <schwab@redhat.com>
26301
26302 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26303 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26304 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26305
26306 * math/math_private.h (math_force_eval): Allow non-addressable
26307 arguments.
26308 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26309
26310 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26311
26312 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26313 file is not needed.
26314
26315 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26316 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26317 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26318 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26319 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26320 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26321 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26322 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26323 Add AVX variants.
26324 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26325 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26326 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26327 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26328 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26329 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26330 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26331 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26332 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26333 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26334 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26335 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26337 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26338 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26339 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26340 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26341 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26342 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26343
26344 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26345 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26346
26347 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26348 place. Use VEX encoding when compiling for AVX.
26349
26350 2011-10-25 Andreas Schwab <schwab@redhat.com>
26351
26352 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26353 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26354
26355 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26356
26357 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26358
26359 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26360 useless if() expression.
26361 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26362 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26363 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26365 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26366 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26367 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26368 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26369 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26371 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26372 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26373 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26374 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26375 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26376 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26377 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26378 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26379 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26380
26381 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26382
26383 2011-10-25 Andreas Schwab <schwab@redhat.com>
26384
26385 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26386 condition.
26387 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26388
26389 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26390
26391 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26392 .text section. Avoid duplicate constants.
26393 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26401 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26402 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26403 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26404 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26405 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26406 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26407 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26408 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26409 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26410 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26411 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26413 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26414 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26415 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26416 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26417 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26418 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26419 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26420 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26421 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26422 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26423 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26424 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26425 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26426 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26427 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26428 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26429 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26430 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26431 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26432 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26433 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26434 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26435 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26436 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26437 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26438
26439 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26440
26441 * sysdeps/x86_64/dla.h: Move to ...
26442 * sysdeps/x86_64/fpu/dla.h: ...here.
26443 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26444 situations. Use __builtin_fma only for gcc 4.6 and up.
26445
26446 * config.make.in: Add have-mfma4 entry.
26447 * configure.in: Substitute libc_cv_cc_fma4.
26448 * math/Makefile (dbl-only-routines): Add sincostab.
26449 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26450 Use __sincostab not sincos.
26451 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26452 name is a macro.
26453 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26457 using __copysign.
26458 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26459 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26460 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26461 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26462 and __inv.
26463 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26464 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26465 __copysign.
26466 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26467 define aliases when function name is a macro.
26468 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26469 sysdeps/ieee754/dbl-64/sincos.tbl.
26470 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26471 fma4-enabled routines.
26472 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26473 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26474 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26475 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26476 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26477 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26478 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26479 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26480 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26481 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26482 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26483 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26484 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26485 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26486 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26487 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26488 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26489 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26490 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26491 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26492 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26493 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26495 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26496 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26497 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26498 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26499 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26500 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26501 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26502
26503 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26504 rename.
26505 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26510 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26511 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26512 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26513
26514 2011-10-24 Andreas Schwab <schwab@redhat.com>
26515
26516 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26517
26518 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26519
26520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26521
26522 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26523 prediction.
26524 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26525
26526 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26527 Remove unused variable magic_bits.
26528 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26529
26530 * string/strnlen.c: Define and use STRNLEN macro.
26531 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26532 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26534 * wcsmbs/wcslen.c: Define and use WCSLEN.
26535 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26536 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26537 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26538 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26539 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26540 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26541 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26542
26543 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26544
26545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26546 strnlen-sse2-no-bsf.
26547 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26549 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26550 Add strnlen support.
26551 (USE_AS_STRNLEN): New macro.
26552 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26553 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26554 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26555 * sysdeps/x86_64/wcslen.S: New file.
26556
26557 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26558
26559 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26560 XMM-moves are used for copying on small sizes.
26561
26562 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26563
26564 * wcsmbs/Makefile (strop-tests): Add wcschr.
26565 * wcsmbs/test-wcschr.c: New file.
26566 * string/test-strchr.c: Update.
26567 Add wcschr support.
26568 (WIDE): New macro.
26569
26570 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26571
26572 * wcsmbs/Makefile (strop-tests): Add wcslen.
26573 * wcsmbs/test-wcslen.c: New file.
26574 * string/test-strlen.c: Update.
26575 Add wcslen support.
26576 (WIDE): New macro.
26577
26578 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26579
26580 * po/it.po: Update from translation team.
26581
26582 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26583
26584 * sysdeps/x86_64/wcscmp.S: Update.
26585 Fix wrong comparison semantics.
26586 wcscmp shall use signed comparison not unsigned.
26587 Don't use substraction to avoid overflow bug.
26588 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26589 * wcsmbc/wcscmp.c: Likewise.
26590 * string/test-strcmp.c: Likewise.
26591 Add new tests to check cases with negative values.
26592
26593 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26594
26595 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26596 * sysdeps/x86_64/dla.h: ...here. New file.
26597 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26602 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26606
26607 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26608
26609 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26610 __ynl_finite aliases.
26611
26612 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26613
26614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26615
26616 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26617 define DLA_FMA.
26618 [DLA_FMA] (EMULV): Use DLA_FMA.
26619 [DLA_FMA] (MUL12): Use EMULV.
26620 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26621 that are not needed.
26622 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/e_pow.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
26630 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26631
26632 * math/s_nan.c: Undef __nan.
26633 * math/s_nanf.c: Undef __nanf.
26634 * math/s_nanl.c: Undef __nanl.
26635 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26636 "math_private.h".
26637
26638 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26639
26640 * math/s_catan.c: Add branch predictions.
26641 * math/s_catanf.c: Likewise.
26642 * math/s_catanh.c: Likewise.
26643 * math/s_catanhf.c: Likewise.
26644 * math/s_catanhl.c: Likewise.
26645 * math/s_catanl.c: Likewise.
26646 * math/s_cexp.c: Likewise.
26647 * math/s_cexpf.c: Likewise.
26648 * math/s_cexpl.c: Likewise.
26649 * math/s_clog.c: Likewise.
26650 * math/s_clog10.c: Likewise.
26651 * math/s_clog10f.c: Likewise.
26652 * math/s_clog10l.c: Likewise.
26653 * math/s_clogf.c: Likewise.
26654 * math/s_clogl.c: Likewise.
26655 * math/s_csqrt.c: Likewise.
26656 * math/s_csqrtf.c: Likewise.
26657 * math/s_csqrtl.c: Likewise.
26658 * math/s_ctanf.c: Likewise.
26659 * math/s_ctanh.c: Likewise.
26660 * math/s_ctanhf.c: Likewise.
26661 * math/s_ctanhl.c: Likewise.
26662 * math/s_ctanl.c: Likewise.
26663
26664 * math/math_private.h: Define __nan, __nanf, __nanl.
26665 * math/s_cacosh.c: Include <math_private.h>.
26666 * math/s_cacoshl.c: Likewise.
26667 * math/s_casinh.c: Likewise.
26668 * math/s_casinhf.c: Likewise.
26669 * math/s_casinhl.c: Likewise.
26670 * math/s_ccos.c: Rely entire on ccosh.
26671 * math/s_ccosf.c: Rely entire on ccoshf.
26672 * math/s_ccosl.c: Rely entirely on ccoshl.
26673 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26674 Remove tests for FE_INVALID.
26675 * math/s_ccoshf.c: Likewise.
26676 * math/s_ccoshl.c: Likewise.
26677 * math/s_csin.c: Likewise.
26678 * math/s_csinf.c: Likewise.
26679 * math/s_csinh.c Likewise.
26680 * math/s_csinhf.c: Likewise.
26681 * math/s_csinhl.c: Likewise.
26682 * math/s_csinl.c: Likewise.
26683 * math/s_ctan.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26685 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26686 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26687
26688 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26689
26690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26691 compilation problems.
26692
26693 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26694 __builtin_expect.
26695
26696 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26697
26698 * sysdeps/i386/configure.in: Test for -mfma4 option.
26699 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26700 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26701 COMMON_CPUID_INDEX_80000001.
26702 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26703 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26704 use it if FMA3 is not supported.
26705 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26706
26707 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26708 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26709
26710 2011-10-20 Andreas Schwab <schwab@redhat.com>
26711
26712 [BZ #12892]
26713 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26714 it would create a cycle with a link time dependency.
26715
26716 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26717
26718 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26719 instruction.
26720 * string/Makefile (strop-tests): Add rawmemchr.
26721 * string/test-rawmemchr.c: New file.
26722
26723 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26724 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26725 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26726 when compiling str{,n}casecmp and when AVX is available. Hook up
26727 new optimized code in initializers.
26728
26729 2011-10-19 Andreas Schwab <schwab@redhat.com>
26730
26731 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26732 __feraiseexcept instead of feraiseexcept.
26733
26734 2011-10-18 Ulrich Drepper <drepper@gmail.com>
26735
26736 * math/math_private.h: Define defaults for libc_fetestexcept and
26737 libc_feupdateenv.
26738 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26739 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26740 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26741 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26742 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26743 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26744 libc_fetestexcept and libc_feupdateenv.
26745
26746 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26747 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26748 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26749 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26750 libc_feholdexcept_setround.
26751
26752 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26753 Add s_nearbyint-c and s_nearbyintf-c.
26754 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26755 nearbyintf inlines.
26756 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26757 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26758 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26759 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26760
26761 * math/math_private.h: Define defaults for libc_fegetround,
26762 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26763 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26764 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26765 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26766 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26767 standard functions.
26768 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26769 Remove comments and hacks for old compiler versions.
26770 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26771 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26772 libc_feholdexceptl.
26773
26774 2011-10-18 Andreas Schwab <schwab@redhat.com>
26775
26776 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26777 (__feraiseexcept_renamed): Add __NTH.
26778 (feraiseexcept): Add __NTH. Rename local variables to fix
26779 namespace violations.
26780
26781 2011-10-17 Ulrich Drepper <drepper@gmail.com>
26782
26783 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26784
26785 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26786
26787 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26788 recently added interfaces.
26789 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26790
26791 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26792 about macro parameter expansion.
26793
26794 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26795 __NO_MATH_INLINES is defined. Cleanups.
26796
26797 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26798 and __floorf is target has SSE4.1.
26799 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26800 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26801 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26802 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26803
26804 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26805 name.
26806 (floorf): Likewise.
26807
26808 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26809
26810 2011-10-17 Andreas Schwab <schwab@redhat.com>
26811
26812 * misc/sys/cdefs.h: Fix last change.
26813
26814 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26815 database lookup.
26816
26817 2011-10-16 Ulrich Drepper <drepper@gmail.com>
26818
26819 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26820
26821 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26822 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26823 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26824 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26826 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26827 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26828 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26829 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26830 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26831 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26832 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26833 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26834 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26835 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26836 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26837 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26838 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26839 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26840 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26841 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26842 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26843
26844 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26845 ceil, ceilf, floor, floorf.
26846
26847 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26848 Perform IRELATIVE relocations last.
26849
26850 * elf/do-rel.h: Add another parameter nrelative, replacing the
26851 local variable with the same name. Change name of the function
26852 to end in Rel or Rela (uppercase).
26853 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26854 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26855 elf_dynamic_do_##reloc function.
26856
26857 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26858
26859 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26860 is sufficient, at least on modern CPUs.
26861
26862 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26863
26864 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26865 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26866
26867 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26868 __expl_finite.
26869 * math/bits/math-finite.h: Add entries for exp.
26870 * math/e_expl.c: Add __*_finite alias.
26871 * sysdeps/i386/fpu/e_exp.S: Likewise.
26872 * sysdeps/i386/fpu/e_expf.S: Likewise.
26873 * sysdeps/i386/fpu/e_expl.c: Likewise.
26874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26875 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26876 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26877 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26878 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26879 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26880 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26881
26882 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26883 is sufficient, at least on modern CPUs.
26884
26885 * ctype/ctype-info.c (__ctype_init): Define.
26886 * include/ctype.h (__ctype_init): Declare.
26887 (__ctype_b_loc): The variable is always initialized.
26888 (__ctype_toupper_loc): Likewise.
26889 (__ctype_tolower_loc): Likewise.
26890 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26891 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26892
26893 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26894
26895 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26896
26897 * configure.in: Also look in $cxxmachine/include for C++ system
26898 headers.
26899
26900 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26901
26902 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26903 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26904 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26905 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26906 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26907 (USE_AS_WMEMCMP): New macro.
26908 Fixing indents.
26909 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26910 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26911 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26912 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26914 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26915 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26916 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26917 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26918 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26919 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26920 (USE_AS_WMEMCMP): New macro.
26921 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26922 * sysdeps/string/test-memcmp.c: Update.
26923 Fix simple_wmemcmp.
26924 Add new tests.
26925 * wcsmbs/wmemcmp.c: Update.
26926 (WMEMCMP): New macro.
26927 Fix overflow bug.
26928
26929 2011-10-12 Andreas Jaeger <aj@suse.de>
26930
26931 [BZ #13268]
26932 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26933
26934 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26935
26936 * libio/iofwide.c (do_length): Avoid warning.
26937
26938 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26939
26940 2011-10-14 Ulrich Drepper <drepper@gmail.com>
26941
26942 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26943
26944 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26945 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26946 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26947 * sysdeps/i386/i686/fpu/e_log.S: New file.
26948 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26949 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26950
26951 * ctype/ctype.h: Add support for inlined isXXX functions when
26952 compiling C++ code.
26953
26954 2011-10-14 Andreas Schwab <schwab@redhat.com>
26955
26956 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26957
26958 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26959
26960 2011-10-13 Roland McGrath <roland@hack.frob.com>
26961
26962 [BZ #13291]
26963 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26964
26965 2011-10-13 Andreas Schwab <schwab@redhat.com>
26966
26967 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26968 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26969 feraiseexcept.
26970
26971 * sysdeps/x86_64/memrchr.S: Check for zero size.
26972
26973 * string/stratcliff.c: Add memrchr tests.
26974
26975 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26976
26977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26978 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26979 rawmemchr-sse2 rawmemchr-sse2-bsf.
26980 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26981 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26982 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26983 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26984 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26985 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26986 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26987 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26988 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26989 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26990 * string/memrchr.c (MEMRCHR): New macro.
26991
26992 2011-10-12 Ulrich Drepper <drepper@gmail.com>
26993
26994 Add integration with gcc's -ffinite-math-only and optimize wrapper
26995 functions in libm.
26996 * Versions.def: Define GLIBC_2.15 version for libm.
26997 * math/Makefile (headers): Add bits/math-finite.h.
26998 * math/bits/math-finite.h: New file.
26999 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27000 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27001 * math/e_acoshl.c: Add __*_finite alias.
27002 * math/e_acosl.c: Likewise.
27003 * math/e_asinl.c: Likewise.
27004 * math/e_atan2l.c: Likewise.
27005 * math/e_atanhl.c: Likewise.
27006 * math/e_coshl.c: Likewise.
27007 * math/e_exp10.c: Likewise.
27008 * math/e_exp10f.c: Likewise.
27009 * math/e_exp10l.c: Likewise.
27010 * math/e_exp2l.c: Likewise.
27011 * math/e_fmodl.c: Likewise.
27012 * math/e_gammal_r.c: Likewise.
27013 * math/e_hypotl.c: Likewise.
27014 * math/e_j0l.c: Likewise.
27015 * math/e_j1l.c: Likewise.
27016 * math/e_jnl.c: Likewise.
27017 * math/e_lgammal_r.c: Likewise.
27018 * math/e_log10l.c: Likewise.
27019 * math/e_log2l.c: Likewise.
27020 * math/e_logl.c: Likewise.
27021 * math/e_powl.c: Likewise.
27022 * math/e_sinhl.c: Likewise.
27023 * math/e_sqrtl.c: Likewise.
27024 * math/e_scalb.c: Completely rewritten and optimized.
27025 * math/e_scalbf.c: Likewise.
27026 * math/e_scalbl.c: Likewise.
27027 * math/w_acos.c: Likewise.
27028 * math/w_acosf.c: Likewise.
27029 * math/w_acosl.c: Likewise.
27030 * math/w_acosh.c: Likewise.
27031 * math/w_acoshf.c: Likewise.
27032 * math/w_acoshl.c: Likewise.
27033 * math/w_asin.c: Likewise.
27034 * math/w_asinf.c: Likewise.
27035 * math/w_asinl.c: Likewise.
27036 * math/w_atan2.c: Likewise.
27037 * math/w_atan2f.c: Likewise.
27038 * math/w_atan2l.c: Likewise.
27039 * math/w_atanh.c: Likewise.
27040 * math/w_atanhf.c: Likewise.
27041 * math/w_atanhl.c: Likewise.
27042 * math/w_exp10.c: Likewise.
27043 * math/w_exp10f.c: Likewise.
27044 * math/w_exp10l.c: Likewise.
27045 * math/w_fmod.c: Likewise.
27046 * math/w_fmodf.c: Likewise.
27047 * math/w_fmodl.c: Likewise.
27048 * math/w_j0.c: Likewise.
27049 * math/w_j0f.c: Likewise.
27050 * math/w_j0l.c: Likewise.
27051 * math/w_j1.c: Likewise.
27052 * math/w_j1f.c: Likewise.
27053 * math/w_j1l.c: Likewise.
27054 * math/w_jn.c: Likewise.
27055 * math/w_jnf.c: Likewise.
27056 * math/w_log.c: Likewise.
27057 * math/w_logf.c: Likewise.
27058 * math/w_logl.c: Likewise.
27059 * math/w_log10.c: Likewise.
27060 * math/w_log10f.c: Likewise.
27061 * math/w_log10l.c: Likewise.
27062 * math/w_log2.c: Likewise.
27063 * math/w_log2f.c: Likewise.
27064 * math/w_log2l.c: Likewise.
27065 * math/w_pow.c: Likewise.
27066 * math/w_powf.c: Likewise.
27067 * math/w_powl.c: Likewise.
27068 * math/w_remainder.c: Likewise.
27069 * math/w_remainderf.c: Likewise.
27070 * math/w_remainderl.c: Likewise.
27071 * math/w_scalb.c: Likewise.
27072 * math/w_scalbf.c: Likewise.
27073 * math/w_scalbl.c: Likewise.
27074 * math/w_sqrt.c: Likewise.
27075 * math/w_sqrtf.c: Likewise.
27076 * math/w_sqrtl.c: Likewise.
27077 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27078 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27079 used.
27080 * math/math_private.h: Declare __kernel_standard_f.
27081 * math/w_cosh.c: Remove cruft and optimize a bit.
27082 * math/w_coshf.c: Likewise.
27083 * math/w_coshl.c: Likewise.
27084 * math/w_exp2.c: Likewise.
27085 * math/w_exp2f.c: Likewise.
27086 * math/w_exp2l.c: Likewise.
27087 * math/w_hypot.c: Likewise.
27088 * math/w_hypotf.c: Likewise.
27089 * math/w_hypotl.c: Likewise.
27090 * math/w_lgamma.c: Likewise.
27091 * math/w_lgamma_r.c: Likewise.
27092 * math/w_lgammaf.c: Likewise.
27093 * math/w_lgammaf_r.c: Likewise.
27094 * math/w_lgammal.c: Likewise.
27095 * math/w_lgammal_r.c: Likewise.
27096 * math/w_sinh.c: Likewise.
27097 * math/w_sinhf.c: Likewise.
27098 * math/w_sinhl.c: Likewise.
27099 * math/w_tgamma.c: Likewise.
27100 * math/w_tgammaf.c: Likewise.
27101 * math/w_tgammal.c: Likewise.
27102 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27104 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27105 Minor optimizations. Pretty printing. Remove cruft.
27106 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27107 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27108 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27109 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27110 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27111 * sysdeps/i386/fpu/e_asin.S: Likewise.
27112 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27113 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27114 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27115 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27116 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27117 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27118 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27119 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27120 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27121 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27122 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27123 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27124 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27125 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27126 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27127 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27128 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27129 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27130 * sysdeps/i386/fpu/e_log.S: Likewise.
27131 * sysdeps/i386/fpu/e_log10.S: Likewise.
27132 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27133 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27134 * sysdeps/i386/fpu/e_log2.S: Likewise.
27135 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27136 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27137 * sysdeps/i386/fpu/e_logf.S: Likewise.
27138 * sysdeps/i386/fpu/e_logl.S: Likewise.
27139 * sysdeps/i386/fpu/e_pow.S: Likewise.
27140 * sysdeps/i386/fpu/e_powf.S: Likewise.
27141 * sysdeps/i386/fpu/e_powl.S: Likewise.
27142 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27143 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27144 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27145 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27146 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27147 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27148 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27149 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27150 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27164 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27165 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27167 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27171 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27172 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27173 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27174 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27175 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27176 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27177 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27178 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27179 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27180 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27181 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27182 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27183 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27184 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27185 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27186 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27187 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27188 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27189 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27190 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27191 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27192 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27193 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27195 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27196 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27200 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27201 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27202 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27203 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27204 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27207 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27208 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27209 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27210 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27232 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27234 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27236 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27237 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27239 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27242 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27243 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27244 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27245 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27246 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27247 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27248 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27249 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27250 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27251 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27252 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27253 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27254 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27255 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27256 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27257 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27258 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27259 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27260 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27261 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27262 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27263 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27264 (__isnanf): Likewise.
27265 (__isinf_ns): Likewise.
27266 (__isinf_nsf): Likewise.
27267 (__finite): Likewise.
27268 (__finitef): Likewise.
27269 (__ieee754_sqrt): Define as macro.
27270 (__ieee754_sqrtf): Define as macro.
27271 (__ieee754_sqrtl): Define as macro.
27272 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27273 inlined copy.
27274 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27275 __FINITE_MATH_ONLY__ consistent.
27276 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27277
27278 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27279
27280 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27281 of rawmemchr.
27282
27283 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27284
27285 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27286
27287 * po/ja.po: Update from translation team.
27288
27289 2011-10-08 Roland McGrath <roland@hack.frob.com>
27290
27291 * locale/programs/locarchive.c (prepare_address_space): New function.
27292 (create_archive, enlarge_archive, open_archive): Use it.
27293
27294 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27295 inside [SHARED], where it is used.
27296
27297 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27298
27299 * nss/getent.c (netgroup_keys): Remove unused variable.
27300 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27301
27302 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27303
27304 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27305 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27307 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27308 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27309 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27310 * math/Makefile (libm-calls): Add s_isinf_ns.
27311 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27312 * math/multc3.c: Likewise.
27313 * math/s_casin.c: Likewise.
27314 * math/s_casinf.c: Likewise.
27315 * math/s_casinl.c: Likewise.
27316 * math/s_ccos.c: Likewise.
27317 * math/s_ccosf.c: Likewise.
27318 * math/s_ccosl.c: Likewise.
27319 * math/s_ctan.c: Likewise.
27320 * math/s_ctanf.c: Likewise.
27321 * math/s_ctanh.c: Likewise.
27322 * math/s_ctanhf.c: Likewise.
27323 * math/s_ctanhl.c: Likewise.
27324 * math/s_ctanl.c: Likewise.
27325 * math/w_fmod.c: Likewise.
27326 * math/w_fmodf.c: Likewise.
27327 * math/w_fmodl.c: Likewise.
27328 * math/w_remainder.c: Likewise.
27329 * math/w_remainderf.c: Likewise.
27330 * math/w_remainderl.c: Likewise.
27331 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27332 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27333 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27335 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27336 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27337 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27338 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27339
27340 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27341 of the number.
27342 * stdio-common/printf_fphex.c: Likewise.
27343 * stdio-common/printf_size.c: Likewise.
27344
27345 * math/e_exp10.c: Include math_private.h using <...> not "...".
27346 * math/e_exp10f.c: Likewise.
27347 * math/e_exp10l.c: Likewise.
27348 * math/e_exp2l.c: Likewise.
27349 * math/e_j0l.c: Likewise.
27350 * math/e_j1l.c: Likewise.
27351 * math/e_jnl.c: Likewise.
27352 * math/e_lgammal_r.c: Likewise.
27353 * math/e_rem_pio2l.c: Likewise.
27354 * math/e_scalb.c: Likewise.
27355 * math/e_scalbf.c: Likewise.
27356 * math/e_scalbl.c: Likewise.
27357 * math/k_cosl.c: Likewise.
27358 * math/k_sinl.c: Likewise.
27359 * math/k_tanl.c: Likewise.
27360 * math/s_cacoshf.c: Likewise.
27361 * math/s_catan.c: Likewise.
27362 * math/s_catanf.c: Likewise.
27363 * math/s_catanh.c: Likewise.
27364 * math/s_catanhf.c: Likewise.
27365 * math/s_catanhl.c: Likewise.
27366 * math/s_catanl.c: Likewise.
27367 * math/s_ccosh.c: Likewise.
27368 * math/s_ccoshf.c: Likewise.
27369 * math/s_ccoshl.c: Likewise.
27370 * math/s_cexp.c: Likewise.
27371 * math/s_cexpf.c: Likewise.
27372 * math/s_cexpl.c: Likewise.
27373 * math/s_clog.c: Likewise.
27374 * math/s_clog10.c: Likewise.
27375 * math/s_clog10f.c: Likewise.
27376 * math/s_clog10l.c: Likewise.
27377 * math/s_clogf.c: Likewise.
27378 * math/s_clogl.c: Likewise.
27379 * math/s_csin.c: Likewise.
27380 * math/s_csinf.c: Likewise.
27381 * math/s_csinh.c: Likewise.
27382 * math/s_csinhf.c: Likewise.
27383 * math/s_csinhl.c: Likewise.
27384 * math/s_csinl.c: Likewise.
27385 * math/s_csqrt.c: Likewise.
27386 * math/s_csqrtf.c: Likewise.
27387 * math/s_csqrtl.c: Likewise.
27388 * math/s_ctan.c: Likewise.
27389 * math/s_ctanf.c: Likewise.
27390 * math/s_ctanh.c: Likewise.
27391 * math/s_ctanhf.c: Likewise.
27392 * math/s_ctanhl.c: Likewise.
27393 * math/s_ctanl.c: Likewise.
27394 * math/s_ldexp.c: Likewise.
27395 * math/s_ldexpf.c: Likewise.
27396 * math/s_ldexpl.c: Likewise.
27397 * math/s_significand.c: Likewise.
27398 * math/s_significandf.c: Likewise.
27399 * math/s_significandl.c: Likewise.
27400 * math/w_acos.c: Likewise.
27401 * math/w_acosf.c: Likewise.
27402 * math/w_acosh.c: Likewise.
27403 * math/w_acoshf.c: Likewise.
27404 * math/w_acoshl.c: Likewise.
27405 * math/w_acosl.c: Likewise.
27406 * math/w_asin.c: Likewise.
27407 * math/w_asinf.c: Likewise.
27408 * math/w_asinl.c: Likewise.
27409 * math/w_atan2.c: Likewise.
27410 * math/w_atan2f.c: Likewise.
27411 * math/w_atan2l.c: Likewise.
27412 * math/w_atanh.c: Likewise.
27413 * math/w_atanhf.c: Likewise.
27414 * math/w_atanhl.c: Likewise.
27415 * math/w_cosh.c: Likewise.
27416 * math/w_coshf.c: Likewise.
27417 * math/w_coshl.c: Likewise.
27418 * math/w_dremf.c: Likewise.
27419 * math/w_exp10.c: Likewise.
27420 * math/w_exp10f.c: Likewise.
27421 * math/w_exp10l.c: Likewise.
27422 * math/w_exp2.c: Likewise.
27423 * math/w_exp2f.c: Likewise.
27424 * math/w_fmod.c: Likewise.
27425 * math/w_fmodf.c: Likewise.
27426 * math/w_fmodl.c: Likewise.
27427 * math/w_hypot.c: Likewise.
27428 * math/w_hypotf.c: Likewise.
27429 * math/w_hypotl.c: Likewise.
27430 * math/w_j0.c: Likewise.
27431 * math/w_j0f.c: Likewise.
27432 * math/w_j0l.c: Likewise.
27433 * math/w_j1.c: Likewise.
27434 * math/w_j1f.c: Likewise.
27435 * math/w_j1l.c: Likewise.
27436 * math/w_jn.c: Likewise.
27437 * math/w_jnf.c: Likewise.
27438 * math/w_jnl.c: Likewise.
27439 * math/w_lgamma.c: Likewise.
27440 * math/w_lgamma_r.c: Likewise.
27441 * math/w_lgammaf.c: Likewise.
27442 * math/w_lgammaf_r.c: Likewise.
27443 * math/w_lgammal.c: Likewise.
27444 * math/w_lgammal_r.c: Likewise.
27445 * math/w_log.c: Likewise.
27446 * math/w_log10.c: Likewise.
27447 * math/w_log10f.c: Likewise.
27448 * math/w_log10l.c: Likewise.
27449 * math/w_log2.c: Likewise.
27450 * math/w_log2f.c: Likewise.
27451 * math/w_log2l.c: Likewise.
27452 * math/w_logf.c: Likewise.
27453 * math/w_logl.c: Likewise.
27454 * math/w_pow.c: Likewise.
27455 * math/w_powf.c: Likewise.
27456 * math/w_powl.c: Likewise.
27457 * math/w_remainder.c: Likewise.
27458 * math/w_remainderf.c: Likewise.
27459 * math/w_remainderl.c: Likewise.
27460 * math/w_scalb.c: Likewise.
27461 * math/w_scalbf.c: Likewise.
27462 * math/w_scalbl.c: Likewise.
27463 * math/w_sinh.c: Likewise.
27464 * math/w_sinhf.c: Likewise.
27465 * math/w_sinhl.c: Likewise.
27466 * math/w_sqrt.c: Likewise.
27467 * math/w_sqrtf.c: Likewise.
27468 * math/w_sqrtl.c: Likewise.
27469 * math/w_tgamma.c: Likewise.
27470 * math/w_tgammaf.c: Likewise.
27471 * math/w_tgammal.c: Likewise.
27472
27473 * po/ja.po: Update from translation team.
27474
27475 2011-09-29 Andreas Jaeger <aj@suse.de>
27476
27477 [BZ #13179]
27478 * sunrpc/netname.c (netname2host): Fix logic.
27479
27480 [BZ #6779]
27481 [BZ #6783]
27482 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27483 correctly.
27484 * math/w_remainder.c (__remainder): Likewise.
27485 * math/w_remainderf.c (__remainderf): Likewise.
27486 * math/libm-test.inc (remainder_test): Add test cases.
27487
27488 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27489
27490 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27491 sdiv_qrnnd.
27492
27493 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27494
27495 * string/test-memcmp.c: Avoid unncessary #defines.
27496 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27497
27498 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27499
27500 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27501 Use new sse2 version for core i3 - i7 as it's faster
27502 than sse42 version.
27503 (bit_Prefer_PMINUB_for_stringop): New.
27504 * sysdeps/x86_64/rawmemchr.S: Update.
27505 Replace with faster SSE2 version.
27506 * sysdeps/x86_64/memrchr.S: New file.
27507 * sysdeps/x86_64/memchr.S: Update.
27508 Replace with faster SSE2 version.
27509
27510 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27511
27512 * elf/dl-load.c (lose): Add cast to avoid warning.
27513
27514 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27515
27516 * po/ca.po: Update from translation team.
27517
27518 * inet/getnetgrent_r.c: Hook up nscd.
27519 * nscd/Makefile (routines): Add nscd_netgroup.
27520 (nscd-modules): Add netgroupcache.
27521 (CFLAGS-netgroupcache.c): Define.
27522 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27523 (cache_search): Add const to second parameter.
27524 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27525 INNETGR.
27526 (dbs): Add netgrdb entry.
27527 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27528 (verify_persistent_db): Handle netgrdb.
27529 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27530 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27531 GETFDNETGR.
27532 (netgroup_response_header): Define.
27533 (innetgroup_response_header): Define.
27534 (datahead): Add netgroup_response_header and innetgroup_response_header
27535 elements.
27536 * nscd/nscd.conf: Add entries for netgroup cache.
27537 * nscd/nscd.h (dbtype): Add netgrdb.
27538 (_PATH_NSCD_NETGROUP_DB): Define.
27539 (netgroup_iov_disabled): Declare.
27540 (xmalloc, xcalloc, xrealloc): Move declarations here.
27541 (cache_search): Adjust prototype.
27542 Add netgroup-related prototypes.
27543 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27544 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27545 (__nscd_innetgr): Declare.
27546 * nscd/selinux.c (perms): Use access_vector_t as element type and
27547 add netgroup-related initializers.
27548 * nscd/netgroupcache.c: New file.
27549 * nscd/nscd_netgroup.c: New file.
27550 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27551 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27552 For four parameters use innetgr.
27553 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27554 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27555 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27556 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27557
27558 * nscd/connections.c (register_traced_file): Don't register file
27559 for disabled databases.
27560
27561 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27562
27563 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27564
27565 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27566 from tree and freeing node.
27567
27568 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27569
27570 * nss/nsswitch.c (__nss_database_lookup): Handle
27571 nss_parse_service_list out of memory case.
27572
27573 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27574
27575 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27576 out of memory case.
27577
27578 2011-10-04 Andreas Schwab <schwab@redhat.com>
27579
27580 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27581 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27582 pass it down.
27583 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27584 elf_machine_rela, elf_machine_lazy_rel.
27585 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27586 (ELF_DYNAMIC_DO_REL): Likewise.
27587 (ELF_DYNAMIC_DO_RELA): Likewise.
27588 (ELF_DYNAMIC_RELOCATE): Likewise.
27589 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27590 to ELF_DYNAMIC_DO_REL.
27591 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27592 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27593 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27594 elf_machine_rela.
27595 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27596 skip_ifunc, don't call ifunc function if non-zero.
27597 (elf_machine_rela): Likewise.
27598 (elf_machine_lazy_rel): Likewise.
27599 (elf_machine_lazy_rela): Likewise.
27600 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27601 (elf_machine_lazy_rel): Likewise.
27602 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27603 Likewise.
27604 (elf_machine_lazy_rel): Likewise.
27605 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27606 Likewise.
27607 (elf_machine_lazy_rel): Likewise.
27608 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27609 (elf_machine_lazy_rel): Likewise.
27610 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27611 (elf_machine_lazy_rel): Likewise.
27612 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27613 (elf_machine_lazy_rel): Likewise.
27614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27615 (elf_machine_lazy_rel): Likewise.
27616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27617 (elf_machine_lazy_rel): Likewise.
27618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27619 (elf_machine_lazy_rel): Likewise.
27620
27621 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27622
27623 * nss/nss_files/files-init.c (_nss_files_init): Use static
27624 initialization for all the *_traced_file variables.
27625
27626 2011-09-28 Andreas Schwab <schwab@redhat.com>
27627
27628 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27629
27630 2011-09-27 Roland McGrath <roland@hack.frob.com>
27631
27632 [BZ #13226]
27633 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27634
27635 2011-09-27 Andreas Schwab <schwab@redhat.com>
27636
27637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27638 Reread the line before reparsing it.
27639
27640 2011-09-26 Andreas Schwab <schwab@redhat.com>
27641
27642 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27643
27644 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27645 Maxim Kuvyrkov <maxim@codesourcery.com>
27646 Joseph Myers <joseph@codesourcery.com>
27647
27648 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27649 if needed for __stack_chk_guard.
27650
27651 2011-09-19 Roland McGrath <roland@hack.frob.com>
27652
27653 * sysdeps/posix/spawni.c (script_execute): Always define it.
27654 It will be optimized away if unused.
27655 (maybe_script_execute): New function.
27656 (__spawni): Call it.
27657
27658 * Makerules: Don't include tls.make.
27659 (config-tls): Always set to thread.
27660 * tls.make.c: File removed.
27661
27662 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27663
27664 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27665 * config.make.in (CPPFLAGS-config): New substituted variable.
27666
27667 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27668
27669 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27670
27671 [BZ #13192]
27672 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27673 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27674
27675 2011-09-15 Roland McGrath <roland@hack.frob.com>
27676
27677 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27678 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27680 (CALL_FAIL): Likewise.
27681 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27682 (CALL_FAIL): Macro removed.
27683 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27684
27685 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27686
27687 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27688 for __FINITE_MATH_ONLY__ == 1.
27689
27690 2011-09-15 Andreas Schwab <schwab@redhat.com>
27691
27692 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27693 __ieee754_sqrt instead of sqrt.
27694 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27695 __ieee754_sqrtf instead of sqrtf.
27696 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27697 __floorf instead of floorf.
27698 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27699 __floorf, __truncf instead of floorf, truncf.
27700
27701 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27702
27703 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27704
27705 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27706 __extern_always_inline.
27707 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27708 32-bit.
27709
27710 2011-09-14 Andreas Schwab <schwab@redhat.com>
27711
27712 * elf/rtld.c (dl_main): Also relocate in dependency order when
27713 doing symbol dependency testing.
27714
27715 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27716
27717 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27718 Always define `refsym'.
27719
27720 2011-09-13 Andreas Schwab <schwab@redhat.com>
27721
27722 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27723 (__FD_ELT): Renamed from __FDELT.
27724 * misc/bits/select2.h (__FD_ELT): Likewise.
27725 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27726 __FD_MASK instead of __FDELT, __FDMASK.
27727 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27728 Likewise.
27729 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27730 Likewise.
27731
27732 * elf/Makefile (gen-ldd): Fix pattern.
27733
27734 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27735 (init_tls): Likewise.
27736
27737 2011-09-12 Ulrich Drepper <drepper@gmail.com>
27738
27739 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27740
27741 2011-09-12 Andreas Schwab <schwab@redhat.com>
27742
27743 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27744 `struct cmsghdr *' instead of `void *'.
27745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27746 Likewise.
27747
27748 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27749
27750 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27751 if non-absolute.
27752 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27753 ldd_rewrite_script.
27754
27755 2011-09-11 Ulrich Drepper <drepper@gmail.com>
27756
27757 * configure.in: Remove --with-tls option.
27758 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27759 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27760 out in case it is missing.
27761 * sysdeps/ia64/elf/configure.in: Likewise.
27762 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27763 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27764 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27765 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27766 * sysdeps/sh/elf/configure.in: Likewise.
27767 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27768 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27769 * sysdeps/x86_64/elf/configure.in: Likewise.
27770 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27771 * sysdeps/mach/hurd/tls.h: Likewise.
27772
27773 [BZ #13067]
27774 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27775
27776 [BZ #13090]
27777 * configure.in: Fix use of AC_INIT.
27778
27779 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27780
27781 2011-09-10 Ulrich Drepper <drepper@gmail.com>
27782
27783 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27784 __set_errno.
27785 * malloc/hooks.c: Likewise.
27786
27787 [BZ #11929]
27788 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27789 variables statically.
27790 (narenas): Initialize.
27791 (list_lock): Initialize.
27792 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27793 initializtion of main_arena and list_lock. Small cleanups.
27794 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27795 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27796 Add initializers to main_arena and mp_.
27797 (malloc_state): Remove pagesize member. Change all users to use
27798 GLRO(dl_pagesize).
27799
27800 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27801 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27802 is always initialized.
27803
27804 * malloc/malloc.c: Removed unused configurations and dead code.
27805 * malloc/arena.c: Likewise.
27806 * malloc/hooks.c: Likewise.
27807 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27808
27809 * include/tls.h: Removed. USE___THREAD must always be defined.
27810 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27811 * elf/dl-libc.c: Likewise.
27812 * elf/dl-tsd.c: Likewise.
27813 * include/errno.h: Likewise.
27814 * include/netdb.h: Likewise.
27815 * include/resolv.h: Likewise.
27816 * inet/herrno-loc.c: Likewise.
27817 * inet/herrno.c: Likewise.
27818 * malloc/arena.c: Likewise.
27819 * malloc/hooks.c: Likewise.
27820 * malloc/malloc.c: Likewise.
27821 * resolv/res-state.c: Likewise.
27822 * resolv/res_libc.c: Likewise.
27823 * sysdeps/i386/dl-machine.h: Likewise.
27824 * sysdeps/ia64/dl-machine.h: Likewise.
27825 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27826 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27827 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27828 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27829 * sysdeps/sh/dl-machine.h: Likewise.
27830 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27831 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27832 * sysdeps/unix/i386/sysdep.S: Likewise.
27833 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27834 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27837 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27838 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27839 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27843 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27844 * sysdeps/x86_64/dl-machine.h: Likewise.
27845 * tls.make.c: Likewise.
27846
27847 * configure.in: Remove --with-__thread option. Make tests for
27848 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27849 tls_model attribute fail if no support is available. Remove
27850 USE_IN_LIBIO.
27851 * Makeconfig: Adjust for dropped configure option. All features are
27852 now mandatory.
27853 * Makerules: Likewise.
27854 * Versions.def: Likewise.
27855 * argp/argp-fmtstream.c: Likewise.
27856 * argp/argp-fmtstream.h: Likewise.
27857 * argp/argp-help.c: Likewise.
27858 * assert/assert.c: Likewise.
27859 * config.h.in: Likewise.
27860 * config.make.in: Likewise.
27861 * configure: Likewise.
27862 * configure.in: Likewise.
27863 * csu/Versions: Likewise.
27864 * csu/init.c: Likewise.
27865 * elf/tst-audit2.c: Likewise.
27866 * elf/tst-tls10.c: Likewise.
27867 * elf/tst-tls10.h: Likewise.
27868 * elf/tst-tls11.c: Likewise.
27869 * elf/tst-tls12.c: Likewise.
27870 * elf/tst-tls14.c: Likewise.
27871 * elf/tst-tlsmod11.c: Likewise.
27872 * elf/tst-tlsmod12.c: Likewise.
27873 * elf/tst-tlsmod13.c: Likewise.
27874 * elf/tst-tlsmod13a.c: Likewise.
27875 * elf/tst-tlsmod14a.c: Likewise.
27876 * elf/tst-tlsmod15b.c: Likewise.
27877 * elf/tst-tlsmod16a.c: Likewise.
27878 * elf/tst-tlsmod16b.c: Likewise.
27879 * elf/tst-tlsmod7.c: Likewise.
27880 * elf/tst-tlsmod8.c: Likewise.
27881 * elf/tst-tlsmod9.c: Likewise.
27882 * gmon/gmon.c: Likewise.
27883 * grp/fgetgrent_r.c: Likewise.
27884 * grp/putgrent.c: Likewise.
27885 * hurd/fopenport.c: Likewise.
27886 * include/libc-symbols.h: Likewise.
27887 * include/tls.h: Likewise.
27888 * intl/gettextP.h: Likewise.
27889 * intl/loadinfo.h: Likewise.
27890 * locale/global-locale.c: Likewise.
27891 * locale/localeinfo.h: Likewise.
27892 * mach/devstream.c: Likewise.
27893 * malloc/arena.c: Likewise.
27894 * malloc/set-freeres.c: Likewise.
27895 * misc/err.c: Likewise.
27896 * misc/getttyent.c: Likewise.
27897 * misc/mntent_r.c: Likewise.
27898 * posix/getopt.c: Likewise.
27899 * posix/wordexp.c: Likewise.
27900 * pwd/fgetpwent_r.c: Likewise.
27901 * resolv/Versions: Likewise.
27902 * resolv/res_hconf.c: Likewise.
27903 * shadow/fgetspent_r.c: Likewise.
27904 * shadow/putspent.c: Likewise.
27905 * stdio-common/printf_fphex.c: Likewise.
27906 * stdio-common/tmpfile.c: Likewise.
27907 * stdlib/abort.c: Likewise.
27908 * stdlib/fmtmsg.c: Likewise.
27909 * sunrpc/auth_unix.c: Likewise.
27910 * sunrpc/clnt_perr.c: Likewise.
27911 * sunrpc/clnt_tcp.c: Likewise.
27912 * sunrpc/clnt_udp.c: Likewise.
27913 * sunrpc/clnt_unix.c: Likewise.
27914 * sunrpc/openchild.c: Likewise.
27915 * sunrpc/svc_simple.c: Likewise.
27916 * sunrpc/svc_tcp.c: Likewise.
27917 * sunrpc/svc_udp.c: Likewise.
27918 * sunrpc/svc_unix.c: Likewise.
27919 * sunrpc/xdr.c: Likewise.
27920 * sunrpc/xdr_array.c: Likewise.
27921 * sunrpc/xdr_rec.c: Likewise.
27922 * sunrpc/xdr_ref.c: Likewise.
27923 * sunrpc/xdr_stdio.c: Likewise.
27924
27925 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27926
27927 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27928
27929 2011-07-03 Andreas Jaeger <aj@suse.de>
27930
27931 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27932 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27933 regenerate with gen-libm-tests.pl.
27934
27935 2010-05-12 Petr Baudis <pasky@suse.cz>
27936
27937 [BZ #11589]
27938 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27939 around j0() zero points by switching to j1().
27940 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27943 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27944
27945 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27946
27947 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27948 instead of 0.
27949 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27950 instead of 0.
27951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27952 Patch in part by Pavel Roskin <proski@gnu.org>.
27953
27954 [BZ #13138]
27955 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27956 realloc.
27957 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27958 Free memory block if necessary.
27959
27960 [BZ #12847]
27961 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27962 be NULL. Don't lock in this case.
27963
27964 2011-09-09 Roland McGrath <roland@hack.frob.com>
27965
27966 * elf/elf.h (ELFOSABI_GNU): New macro.
27967 (ELFOSABI_LINUX): Define to that.
27968
27969 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27970
27971 * string/strncat.c (strncat): Undef the symbol in case it has been
27972 defined in bits/string.h.
27973
27974 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27975
27976 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27977
27978 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27979 link map.
27980
27981 2011-08-17 Andreas Jaeger <aj@suse.de>
27982
27983 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27984
27985 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27986 Ian Lance Taylor <iant@google.com>
27987
27988 * math/libm-test.inc (lround_test): New testcase.
27989 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27990
27991 2011-09-08 Ulrich Drepper <drepper@gmail.com>
27992
27993 * Makefile: Remove support for automatic cvs check-ins.
27994 * Makerules: Likewise.
27995 * config.make.in: Likewise.
27996 * configure.in: Likewise.
27997 * intl/Makefile: Likewise.
27998 * locale/Makefile: Likewise.
27999 * po/Makefile: Likewise.
28000 * posix/Makefile: Likewise.
28001 * sysdeps/gnu/Makefile: Likewise.
28002 * sysdeps/mach/hurd/Makefile: Likewise.
28003 * sysdeps/sparc/sparc32/Makefile: Likewise.
28004
28005 [BZ #13118]
28006 * posix/Makefile (bug-regex32-ENV): Define.
28007 Patch by John Stanley <jpsinthemix@verizon.net>.
28008
28009 * misc/Makefile (headers): Add bits/select2.h.
28010 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28011 * misc/bits/select2.h: New file.
28012 * include/bits/select2.h: New file.
28013 * debug/Makefile (routines): Add fdelt_chk.
28014 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28015 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28016 FD_ISSET.
28017 * debug/fdelt_chk.c: New file.
28018
28019 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28020 * wcsmbs/test-wmemcmp.c: Likewise.
28021 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28022 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28023
28024 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28025
28026 * string/Makefile (strop-tests): Add memcmp.
28027 * string/test-wmemcmp.c: New file.
28028 * string/test-memcmp.c: Add wmemcmp support.
28029
28030 2011-09-08 Roland McGrath <roland@hack.frob.com>
28031
28032 [BZ #13153]
28033 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28034 2011-07-19 change.
28035
28036 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28037 garbage value in a __mach_port_mod_refs call in the cases of the
28038 task-self and thread-self ports.
28039
28040 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28041
28042 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28043
28044 2011-09-08 Andreas Schwab <schwab@redhat.com>
28045
28046 * elf/dl-load.c (lose): Check for non-null L.
28047
28048 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28049
28050 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28051
28052 * elf/dl-libc.c (dlerror_run): Pass back error code from
28053 dl_catch_error.
28054
28055 [BZ #13123]
28056 * elf/dl-load.c (lose): Free l_origin if it is valid.
28057
28058 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28059 names.
28060 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28061 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28062 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28063 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28064 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28065 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28066
28067 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28068
28069 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28070 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28071 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28072 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28073 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28074 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28075 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28076 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28077 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28078 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28079
28080 2011-08-15 Alan Modra <amodra@gmail.com>
28081
28082 [BZ #13092]
28083 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28084 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28085 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28086 ppc_mcount to static-only-routines.
28087 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28088 __mcount_internal.
28089 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28090 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28091
28092 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28093
28094 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28095 for finite and infinity parameters.
28096
28097 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28098
28099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28100 and add nop instructions for throughput optimization.
28101 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28102
28103 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28104
28105 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28106 aligned copy for power7 with vector-scalar instructions.
28107 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28108
28109 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28110
28111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28112 AVX check.
28113
28114 2011-09-07 Andreas Schwab <schwab@redhat.com>
28115
28116 [BZ #13144]
28117 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28118 last change.
28119
28120 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28121
28122 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28123 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28124 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28125 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28126 clock_gettime.
28127
28128 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28129
28130 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28131 Forgot to demangle the pointer.
28132
28133 * sysdeps/i386/sysdep.h: Define atom_text_section.
28134 * sysdeps/x86_64/sysdep.h: Likewise.
28135 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28136 section with atom_text_section.
28137 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28138 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28139 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28141 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28142
28143 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28144 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28145 already be defined. Change to take two parameters and don't assign
28146 result to variable. Adjust all users.
28147 Define INTERNAL_GETTIME if not already defined.
28148 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28149 call.
28150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28151 HAVE_CLOCK_GETTIME_VSYSCALL.
28152 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28153
28154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28155 gettimeofday vsyscall, just use time.
28156
28157 2011-09-06 Andreas Schwab <schwab@redhat.com>
28158
28159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28160 <errno.h>.
28161
28162 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28163
28164 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28165 syscall on x86-64.
28166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28167 syscall.
28168 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28169 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28170 syscall if possible.
28171
28172 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28173
28174 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28175 e_ident. Don't pass to find_mapsXX.
28176 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28177
28178 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28179
28180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28181 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28182 * sysdeps/x86_64/multiarch/strchr.S: Update.
28183 Check bit_slow_BSF bit.
28184 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28185 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28186 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28187
28188 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28189
28190 [BZ #13134]
28191 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28192 before glibc 2.15.
28193 (tryshell): Define.
28194 (__spawni): Change last parameter to be flag. Test
28195 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28196 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28197 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28198 * posix/spawni.c: Likewise.
28199 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28200 * posix/spawnp.c: Likewise. Change normal version to use
28201 SPAWN_XFLAGS_USE_PATH.
28202 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28203 SPAWN_XFLAGS_TRY_SHELL.
28204
28205 [BZ #13150]
28206 * posix/glob.h: Remove gcc 1.x support.
28207
28208 [BZ #13068]
28209 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28210
28211 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28212
28213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28214 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28215 strrchr-sse2-bsf
28216 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28217 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28218 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28219 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28220 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28221 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28222
28223 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28224
28225 * sysdeps/x86_64/wcscmp.S: New file.
28226
28227 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28228 wcscmp-c wcscmp-sse2
28229 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28230 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28231 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28232 * wcsmbs/wcscmp.c: Allow renaming.
28233
28234 2011-09-05 David S. Miller <davem@davemloft.net>
28235
28236 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28237 stack slot, rather than the struct return pointer slot.
28238 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28239 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28241 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28242
28243 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28244
28245 * po/ja.po: Update from translation team.
28246
28247 [BZ #13144]
28248 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28249 kernel in 64-bit binaries.
28250
28251 2011-09-01 David S. Miller <davem@davemloft.net>
28252
28253 * elf/elf.h (HWCAP_SPARC_*): Move to..
28254 * sysdeps/sparc/sysdep.h: this new file and add new values.
28255 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28256 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28257 _DL_HWCAP_COUNT to 24.
28258 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28259 entries.
28260 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28261 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28262 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28264 instead of magic constants.
28265 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28266
28267 2011-08-31 David S. Miller <davem@davemloft.net>
28268
28269 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28271 Reimplement to do errno handling inline.
28272 (SYSCALL_ERROR_HANDLER): New macro.
28273 (__SYSCALL_STRING): Do not do errno handling in asm.
28274 (__CLONE_SYSCALL_STRING): Delete.
28275 (__INTERNAL_SYSCALL_STRING): Delete.
28276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28277 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28278 (PSEUDO): Reimplement to do errno handling inline.
28279 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28280 (SYSCALL_ERROR_HANDLER): New macro.
28281 (__SYSCALL_STRING): Do not do errno handling in asm.
28282 (__CLONE_SYSCALL_STRING): Delete.
28283 (__INTERNAL_SYSCALL_STRING): Delete.
28284 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28285 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28286 i386.
28287 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28288 (inline_syscall*): Add 'err' argument.
28289 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28290 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28291 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28292 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28293
28294 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28295 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28296
28297 2011-08-30 Andreas Schwab <schwab@redhat.com>
28298
28299 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28300
28301 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28302
28303 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28304 directive.
28305
28306 2011-08-24 David S. Miller <davem@davemloft.net>
28307
28308 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28309
28310 2011-08-24 Andreas Schwab <schwab@redhat.com>
28311
28312 * elf/Makefile: Add rules to build and run unload8 test.
28313 * elf/unload8.c: New file.
28314 * elf/unload8mod1.c: New file.
28315 * elf/unload8mod1x.c: New file.
28316 * elf/unload8mod2.c: New file.
28317 * elf/unload8mod3.c: New file.
28318
28319 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28320 it wasn't used.
28321
28322 2011-08-23 David S. Miller <davem@davemloft.net>
28323
28324 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28325 subtract stack bias.
28326 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28327 %sp not %fp in calculations.
28328 (_JMPBUF_UNWINDS_ADJ): Likewise.
28329
28330 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28331 (aio_suspend): Call it to force an exception region around the
28332 AIO_MISC_WAIT() invocation.
28333
28334 2011-08-23 Andreas Schwab <schwab@redhat.com>
28335
28336 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28337 backslash.
28338
28339 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28340
28341 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28342 protection macro.
28343 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28344 and <dl-machine.h>.
28345 (Elf64_FuncDesc): Remove.
28346
28347 2011-08-22 David S. Miller <davem@davemloft.net>
28348
28349 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28350 sigaltstack check, add missing cfi directives.
28351 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28352 missing cfi directives, and sigaltstack handling.
28353
28354 2011-08-16 Andreas Schwab <schwab@redhat.com>
28355
28356 [BZ #11724]
28357 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28358 object is seen twice.
28359 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28360
28361 * elf/Makefile (distribute): Add tst-initorder2.c.
28362 (tests): Add tst-initorder2.
28363 (modules-names): Add tst-initorder2a tst-initorder2b
28364 tst-initorder2c tst-initorder2d. Add rules to build them.
28365 ($(objpfx)tst-initorder2.out): New rule.
28366 * elf/tst-initorder2.c: New file.
28367 * elf/tst-initorder2.exp: New file.
28368
28369 2011-08-22 Andreas Schwab <schwab@redhat.com>
28370
28371 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28372
28373 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28374 dependencies back to end of function.
28375
28376 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28377 $(elfobjdir)/ld.so.
28378
28379 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28380
28381 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28382 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28384 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28385 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28386 of __vdso_gettimeofday.
28387 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28388 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28389 attribute_hidden.
28390 (_libc_vdso_platform_setup): Remove initialization of
28391 __vdso_gettimeofday and __vdso_time.
28392
28393 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28394
28395 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28396 and fgetc_unlocked.
28397 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28398 getc_unlocked.
28399
28400 * elf/dl-open.c (add_to_global): Report additions to the global scope
28401 for LD_DEBUG=scopes.
28402 (dl_open_worker): Also print scope of newly loaded dependencies.
28403 (_dl_show_scope): Indicate if there is no scope.
28404
28405 [BZ #13114]
28406 * stdio-common/Makefile (tests): Add bug24.
28407 * stdio-common/bug24.c: New file.
28408
28409 2011-08-19 Andreas Jaeger <aj@suse.de>
28410
28411 [BZ #13114]
28412 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28413 non-existant file when using close-on-exec mode.
28414
28415 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28416
28417 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28418 the very first instruction.
28419
28420 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28421 the CFI state in the end.
28422 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28423 inclusion of dl-trampoline.h.
28424 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28425
28426 2011-08-19 Andreas Schwab <schwab@redhat.com>
28427
28428 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28429 expectations for long double.
28430
28431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28432 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28433
28434 2011-08-14 David S. Miller <davem@davemloft.net>
28435
28436 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28437 artificual limit depends upon the system page size.
28438
28439 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28440
28441 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28442 * resolv/Makefile: Define CFLAGS-libresolv.
28443
28444 2011-08-17 Andreas Schwab <schwab@redhat.com>
28445
28446 * nss/makedb.c (compute_tables): Make variables used in nested
28447 function static.
28448
28449 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28450
28451 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28452 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28453 if buffer was too small.
28454
28455 * elf/pldd.c (main): Attach to all threads in the process.
28456 Rewrite /proc handling to use *at functions.
28457
28458 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28459
28460 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28461 specifies first scope to show.
28462 (dl_open_worker): Update callers. Move printing scope of new
28463 object to before the relocation.
28464 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28465 * sysdeps/generic/ldsodefs.h: Update declaration.
28466
28467 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28468 string for the scope number.
28469
28470 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28471
28472 * nscd/servicescache.c (cache_addserv): Make sure written is always
28473 initialized.
28474
28475 2011-08-14 Roland McGrath <roland@hack.frob.com>
28476
28477 * sysdeps/i386/i486/bits/atomic.h
28478 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28479 statement expression, so as to suppress "set but not used" warning.
28480 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28481
28482 * string/strncat.c (STRNCAT): Use prototype definition.
28483
28484 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28485 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28486 -Iprograms here.
28487 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28488 (localedef-modules): Add localedef.
28489 (locale-modules): Add locale.
28490
28491 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28492 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28493 to avoid a warning.
28494
28495 2011-08-14 David S. Miller <davem@davemloft.net>
28496
28497 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28498 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28499
28500 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28501
28502 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28503 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28504 * elf/rtld.c (dl_main): Set l_name of vDSO.
28505 Call _dl_show_scope when DL_DEBUG_SCOPES.
28506 (process_dl_debug): Recognize scopes flag and also set it for all.
28507 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28508 Declare _dl_show_scope.
28509
28510 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28511 (do_dlopen): Pass caller_dlopen to dl_open.
28512 (__libc_dlopen_mode): Initialize caller_dlopen.
28513
28514 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28515 of libc. Make tolower call locale-independent. Optimize a bit by
28516 using isdigit instead of isalnum.
28517 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28518
28519 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28520
28521 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28522 was a dependency or dynamically loaded.
28523
28524 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28525
28526 * intl/l10nflist.c: Allow architecture-specific pop function.
28527 * sysdeps/x86_64/l10nflist.c: New file.
28528
28529 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28530 classification.
28531
28532 2011-08-10 Andreas Schwab <schwab@redhat.com>
28533
28534 * include/dirent.h: Add libc_hidden_proto for scandirat and
28535 scandirat64. Don't declare __scandirat64.
28536 * dirent/scandirat.c: Add libc_hidden_def.
28537 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28538 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28539
28540 2011-08-10 David S. Miller <davem@davemloft.net>
28541
28542 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28543 enum.
28544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28545 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28546 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28547
28548 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28549
28550 * Versions.def [libc]: Add GLIBC_2.15.
28551 * dirent/Makefile (routines): Add scandirat and scandirat64.
28552 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28553 GLIBC_2.15.
28554 * dirent/dirent.h: Declare scandirat and scandirat64.
28555 * dirent/scandirat.c: New file.
28556 * dirent/scandirat64.c: New file.
28557 * sysdeps/wordsize-64/scandirat.c: New file.
28558 * sysdeps/wordsize-64/scandirat64.c: New file.
28559 * dirent/opendir.c: Define opendirat.
28560 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28561 using scandirat.
28562 * dirent/scandir64.c: Adjust for scandir.c change.
28563 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28564 __scandirat64, and __scandir_cancel_handler.
28565 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28566 additional parameter and use openat instead of open (outside of ld.so).
28567 Add new __opendir as wrapper around __opendirat.
28568 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28569 here without requiring old scandirat implementation.
28570
28571 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28572
28573 * dirent/scandir.c (cancel_handler): Renamed to
28574 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28575 defined. Adjust users.
28576 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28577 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28578
28579 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28580
28581 * string/test-string.h (IMPL): Use __STRING to expand name and then
28582 stringify it.
28583
28584 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28585 of cleanups.
28586
28587 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28588
28589 * string/Makefile: Update.
28590 (strop-tests): Append strncat.
28591 * string/test-wcscmp.c: New file.
28592 New comprehensive test for wcscmp.
28593 * string/test-strcmp.c: Update.
28594 (WIDE): New define.
28595
28596 2011-07-22 Andreas Schwab <schwab@redhat.com>
28597
28598 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28599 line.
28600
28601 2011-07-26 Andreas Schwab <schwab@redhat.com>
28602
28603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28604 encoding to ACE if AI_IDN.
28605
28606 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28607
28608 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28609 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28610
28611 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28612
28613 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28614 Fix overflow bug in strncat.
28615 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28616
28617 * string/test-strncat.c: Update.
28618 Add new tests for checking overflow bugs.
28619
28620 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28621
28622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28623 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28624 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28625 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28626 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28627 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28628 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28629 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28630 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28631
28632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28633 (USE_AS_STRCAT): Define.
28634 Add strcat and strncat support.
28635 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28636
28637 2011-07-25 Andreas Schwab <schwab@redhat.com>
28638
28639 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28640 __n bigger than INT_MAX+1.
28641 (__strncmp_g): Likewise.
28642
28643 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28644
28645 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28646 * libio/stido.h: Likewise.
28647
28648 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28649 (AF_NFC): Define.
28650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28651 (AF_NFC): Define.
28652
28653 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28654 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28655 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28656 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28657 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28658
28659 [BZ #13021]
28660 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28661 installed.
28662
28663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28664 typo.
28665 (_dl_x86_64_save_sse): Likewise.
28666
28667 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28668
28669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28670 OSXSAVE.
28671 (_dl_x86_64_save_sse): Likewise.
28672
28673 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28674
28675 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28676
28677 2011-07-21 Andreas Schwab <schwab@redhat.com>
28678
28679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28680 change.
28681 (_dl_x86_64_save_sse): Use correct AVX check.
28682
28683 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28684
28685 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28686 bug in strncpy/strncat.
28687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28688
28689 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28690
28691 * string/tester.c (test_strcat): Add tests for different alignments
28692 of source and destination.
28693 (test_strncat): Likewise.
28694
28695 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28696
28697 [BZ #12852]
28698 * posix/glob.c (glob): Check passed in values before using them in
28699 expressions to avoid some overflows.
28700 (glob_in_dir): Likewise.
28701
28702 [BZ #13007]
28703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28704 check for AVX enablement so that we don't crash with old kernels and
28705 new hardware.
28706 * elf/tst-audit4.c: Add same checks here.
28707 * elf/tst-audit6.c: Likewise.
28708
28709 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28710
28711 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28712
28713 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28714
28715 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28716
28717 * po/cs.po: Update from translation team.
28718 * po/bg.po: Likewise.
28719
28720 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28721
28722 * misc/sys/cdefs.h: Add support for const attribute.
28723 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28724 to gnu_dev_{major,minor,makedev} functions.
28725
28726 2011-07-20 Marek Polacek <mpolacek@redhat.com>
28727
28728 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28729
28730 2011-07-20 Andreas Schwab <schwab@redhat.com>
28731
28732 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28733 strlen results.
28734
28735 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28736
28737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28738 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28739 register in order to avoid conflicts with the soft frame pointer
28740 being held in r11 when necessary.
28741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28742 (INTERNAL_VSYSCALL_NCS): Likewise.
28743
28744 2011-07-14 Marek Polacek <mpolacek@redhat.com>
28745
28746 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28747 * elf/dl-fini.c (_dl_fini): Adjust caller.
28748 * elf/dl-close.c (_dl_close_worker): Likewise.
28749 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28750
28751 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28752
28753 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28754 "aux_cache->nlibs < 0".
28755
28756 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28757 in the reload-count case.
28758
28759 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28760
28761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28762 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28763 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28764 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28765 * sysdeps/x86_64/multiarch/strcat.S: New file.
28766 * sysdeps/x86_64/multiarch/strncat.S: New file.
28767 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28768 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28769 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28770 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28771 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28772 (USE_AS_STRCAT): Define.
28773 Add strcat and strncat support.
28774 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28775 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28776 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28777 * string/strncat.c: Update.
28778 (USE_AS_STRNCAT): Define.
28779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28780 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28781 and i7.
28782 * sysdeps/x86_64/multiarch/init-arch.h
28783 (bit_Prefer_PMINUB_for_stringop): New.
28784 (index_Prefer_PMINUB_for_stringop): Likewise.
28785 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28786 bit_Prefer_PMINUB_for_stringop.
28787
28788 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28789
28790 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28791 buffer64.
28792 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28793 of casting of buffer.
28794 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28795 buffer32 and buffer64.
28796 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28797 writes instead of casting of buffer.
28798 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28799 buffer32.
28800 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28801 casting of buffer.
28802
28803 2011-07-19 Andreas Schwab <schwab@redhat.com>
28804
28805 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28806
28807 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28808
28809 * nscd/nscd.c (termination_handler): Don't do anything for a database
28810 if it has not yet been initialized.
28811
28812 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28813
28814 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28815
28816 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28817
28818 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28819
28820 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28821
28822 * po/nl.po: Update from translation team.
28823 * po/sv.po: Likewise.
28824
28825 2011-07-16 Roland McGrath <roland@hack.frob.com>
28826
28827 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28828 now disallowed by GCC.
28829
28830 * configure.in (use-default-link): Default to yes if a test -shared
28831 link meets our qualifications.
28832 * configure: Regenerated.
28833
28834 * config.make.in (output-format): New variable.
28835 * configure.in: Check for ld --print-output-format support.
28836 * configure: Regenerated.
28837 * Makerules ($(common-objpfx)format.lds)
28838 [$(output-format) != unknown]: Just use $(output-format),
28839 instead of the linker-script munging.
28840
28841 2011-07-14 Roland McGrath <roland@hack.frob.com>
28842
28843 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28844 of $(common-objpfx)shlib.lds.
28845 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28846
28847 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28848 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28849
28850 * configure.in (-z relro check): Adjust test code to add a large
28851 writable data section after it.
28852 * configure: Regenerated.
28853
28854 2011-07-11 Roland McGrath <roland@hack.frob.com>
28855
28856 * configure.in (-z relro check): Fix test code to make the variable
28857 truly const.
28858 * configure: Regenerated.
28859
28860 2011-07-11 Ulrich Drepper <drepper@gmail.com>
28861
28862 * nscd/nscd.h (struct traced_file): Define.
28863 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28864 elements. Add traced_files.
28865 (inotify_fd): Declare.
28866 (register_traced_file): Declare.
28867 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28868 (inotify_fd): Export.
28869 (resolv_conf_descr): Remove.
28870 (nscd_init): Move inotify descriptor creation to main.
28871 Don't register files for notification here.
28872 (register_traced_file): New function.
28873 (invalidate_cache): Don't use reset_res to determine whether to call
28874 res_init, go through the list of registered files.
28875 (main_loop_poll): The inotify descriptors are now stored in the
28876 structures for the traced files.
28877 (main_loop_epoll): Likewise
28878 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28879 to __nss_disable_nscd.
28880 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28881 for a database anymore. Check the records for all the registered
28882 files instead.
28883 * nss/Makefile (libnss_files-routines): Add files-init.
28884 (libnss_db-routines): Add db-init.
28885 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28886 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28887 * nss/nss_db/db-init.c: New file.
28888 * nss/nss_files/files-init.c: New file.
28889 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28890 __nss_lookup_function.
28891 (__nss_lookup_function): Call nss_load_library.
28892 (nss_load_all_libraries): New function.
28893 (__nss_disable_nscd): Take parameter with callback function for files
28894 to register. Set is_nscd. Load all the DSOs for the NSS modules
28895 used for the cached services.
28896 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28897 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28898 options for features to all the files in nscd.
28899
28900 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28901
28902 2011-07-10 Roland McGrath <roland@hack.frob.com>
28903
28904 * csu/elf-init.c (__libc_csu_init): Comment typo.
28905
28906 2011-07-09 Ulrich Drepper <drepper@gmail.com>
28907
28908 * po/pl.po: Update from translation team.
28909 * po/ja.po: Likewise.
28910 * po/ru.po: Likewise.
28911 * po/ko.po: Likewise.
28912 * po/fr.po: Likewise.
28913
28914 2011-07-09 Roland McGrath <roland@hack.frob.com>
28915
28916 * configure.in (.ctors/.dtors header and trailer check):
28917 Use an empirical test on a built program.
28918 * configure: Regenerated.
28919
28920 * configure.in (-z relro check): Use an empirical test on a built DSO.
28921 Detect, but do not require, on ia64.
28922 * configure: Regenerated.
28923
28924 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28925 Update tests that use readelf to use $READELF instead.
28926 * configure: Regenerated.
28927
28928 2011-07-08 Ulrich Drepper <drepper@gmail.com>
28929
28930 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28931 if the result is not used.
28932
28933 2011-07-05 Andreas Jaeger <aj@suse.de>
28934
28935 [BZ#9696]
28936 * stdlib/tst-strtod.c: Add testcase.
28937
28938 2011-07-07 Ulrich Drepper <drepper@gmail.com>
28939
28940 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28941 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28942 The latter has a higher limit. Take additional parameter to pass to
28943 the new function.
28944 (__pathconf): Pass file to __statfs_link_max.
28945 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28946 __statfs_link_max.
28947 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28948 __statfs_link_max.
28949
28950 [BZ #12868]
28951 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28952 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28953 Handle Lustre.
28954 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28955 (__statfs_filesize_max): Likewise.
28956 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28957
28958 2011-07-05 Andreas Jaeger <aj@suse.de>
28959
28960 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28961
28962 2011-07-06 Marek Polacek <mpolacek@redhat.com>
28963
28964 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28965 `status' variable.
28966 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28967 Likewise.
28968
28969 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28970
28971 * Makefile (strop-tests): Add strncat.
28972 * string/test-strncat.c: New file.
28973
28974 2011-06-30 Marek Polacek <mpolacek@redhat.com>
28975
28976 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28977
28978 2011-06-21 Andreas Jaeger <aj@suse.de>
28979
28980 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28981 Copy rule from iconvdata/Makefile.
28982
28983 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28984
28985 [BZ #12922]
28986 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28987 but no long options are defined, just return 'W'.
28988
28989 2011-06-22 Marek Polacek <mpolacek@redhat.com>
28990
28991 [BZ #9696]
28992 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28993
28994 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28995
28996 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28997 netgroups to read.
28998 (innetgr): Likewise.
28999
29000 2011-07-05 Roland McGrath <roland@hack.frob.com>
29001
29002 * config.make.in (install_root): Default to $(DESTDIR).
29003
29004 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29005
29006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29007
29008 2011-07-02 Roland McGrath <roland@hack.frob.com>
29009
29010 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29011
29012 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29013 containing directory rather than embedding absolute directory names.
29014
29015 * scripts/check-local-headers.sh: Rewritten using awk.
29016 Match by word, not by line. Print error messages for matches.
29017 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29018
29019 * Makerules [shlib-lds-flags empty]:
29020 ($(common-objpfx)libc_pic.opts): New target.
29021 ($(common-objpfx)libc_pic.os.clean): New target.
29022 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29023
29024 * config.make.in (OBJCOPY): New variable.
29025 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29026 * configure: Regenerated.
29027
29028 * config.make.in (use-default-link): New variable.
29029 * configure.in (use_default_link): Grok --with-default-link to set it.
29030 * configure: Regenerated.
29031 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29032 (shlib-lds, shlib-lds-flags): Define to empty.
29033
29034 * Makerules (shlib-lds): New variable.
29035 (shlib-lds-flags): New variable.
29036 (build-shlib, build-moduile, build-module-asneeded): Use it.
29037 ($(common-objpfx)libc.so): Use $(shlib-lds).
29038 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29039 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29040
29041 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29042 DT_FLAGS/DT_FLAGS_1 with zero flags.
29043
29044 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29045 linker script munging.
29046
29047 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29048
29049 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29050 as 128-bit value.
29051 * crypt/sha512.c (sha512_process_block): Perform total addition using
29052 128-bit if possible.
29053 (__sha512_finish_ctx): Likewise.
29054 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29055 as 64-bit value.
29056 * crypt/sha256.c (SWAP64): Define.
29057 (sha256_process_block): Perform total addition using 64-bit if
29058 possible.
29059 (__sha256_finish_ctx): Likewise.
29060
29061 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29062
29063 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29065 * nscd/hstcache.c (cache_addhst): Likewise.
29066 * nscd/grpcache.c (cache_addgr): Likewise.
29067 * nscd/aicache.c (addhstaiX): Likewise
29068 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29069
29070 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29071
29072 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29073 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29074 * nscd/hstcache.c (cache_addhst): Likewise.
29075 * nscd/grpcache.c (cache_addgr): Likewise.
29076 * nscd/aicache.c (addhstaiX): Likewise
29077
29078 2011-07-01 Andreas Schwab <schwab@redhat.com>
29079
29080 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29081 domain only when needed.
29082
29083 2011-06-30 Andreas Schwab <schwab@redhat.com>
29084
29085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29086 is always restored.
29087
29088 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29089
29090 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29091 are re-adding the entry.
29092 * nscd/servicescache.c (cache_addserv): Likewise.
29093
29094 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29095
29096 * sysdeps/generic/dl-irel.h: fix protection against multiple
29097 inclusions.
29098 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29099
29100 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29101
29102 [BZ #12935]
29103 * malloc/memusage.sh: Fix quoting in message.
29104 * debug/xtrace.sh: Likewise.
29105
29106 * configure.in: Remove support for --experimental-malloc option, make
29107 it the default.
29108 * config.make.in: Likewise.
29109 * malloc/Makefile: Likewise.
29110
29111 2011-06-27 Andreas Schwab <schwab@redhat.com>
29112
29113 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29114 two-byte characters.
29115
29116 2011-06-27 Roland McGrath <roland@hack.frob.com>
29117
29118 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29119 AC_CACHE_CHECK invocation.
29120 * configure: Regenerated.
29121
29122 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29123
29124 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29125
29126 [BZ #12350]
29127 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29128 bit from old_res_options.
29129
29130 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29131
29132 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29133 value type for setfct.
29134
29135 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29136
29137 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29138 __gettimeofday instead of gettimeofday.
29139
29140 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29141
29142 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29143
29144 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29145
29146 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29147
29148 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29149 info.
29150
29151 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29152
29153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29154 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29155 strcpy-sse2-unaligned strncpy-sse2-unaligned
29156 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29157 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29158 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29159 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29160 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29161 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29162 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29163 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29164 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29165 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29166 (STRCPY): Support SSE2 and SSSE3 versions.
29167
29168 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29169
29170 [BZ #12874]
29171 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29172 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29173 kernels which artificially limit size of requests.
29174
29175 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29176
29177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29178 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29179 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29180 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29181 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29182 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29183 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29184 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29185 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29186 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29187 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29188 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29189 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29190 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29191 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29193 Enable unaligned load optimization for Intel Core i3, i5 and i7
29194 processors.
29195 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29196 Define.
29197 (index_Fast_Unaligned_Load): Define.
29198 (HAS_FAST_UNALIGNED_LOAD): Define.
29199
29200 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29201
29202 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29203
29204 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29205
29206 [BZ #12907]
29207 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29208 until it is clear that the information is realy needed.
29209 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29210
29211 2011-06-22 Andreas Schwab <schwab@redhat.com>
29212
29213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29214
29215 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29216
29217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29218 /sys/devices/system/cpu/online if it is usable.
29219
29220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29221 reading the information from the /proc filesystem to once a second.
29222
29223 2011-06-21 Andreas Jaeger <aj@suse.de>
29224
29225 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29226 NULL after inclusion of kernel headers.
29227
29228 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29229
29230 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29231 calls to internal_setent.
29232
29233 [BZ #12885]
29234 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29235 addresses using gethostbyname4_r ignore IPv4 addresses.
29236
29237 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29238 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29239
29240 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29241
29242 2011-06-20 David S. Miller <davem@davemloft.net>
29243
29244 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29245 inclusions.
29246 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29247
29248 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29249 (elf_irel): Use it.
29250 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29251 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29252 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29253 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29254 * sysdeps/x86_64/dl-irel.h: Likewise.
29255
29256 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29257 * elf/dl-sym.c: Likewise.
29258
29259 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29260
29261 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29262 need to dereference resplen2.
29263
29264 2011-06-14 Andreas Schwab <schwab@redhat.com>
29265
29266 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29267
29268 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29269
29270 * Makeconfig: Define vardbdir and inst_vardbdir.
29271 * nss/Makefile: Add rules to install db-Makefile.
29272
29273 * nss/nss_db/db-XXX.c: Cleanup.
29274
29275 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29276 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29277 GLIBC_PRIVATE.
29278 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29279 * nss/makedb.c: Implement -g option to specify that value strings
29280 are generated and should not be added to table iterated over for
29281 get*ent calls.
29282 * nss/nss_db/db-initgroups.c: New file.
29283
29284 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29285 interface.
29286
29287 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29288 (internal_getgrouplist): Adjust to name change.
29289 Update use_initgroups_entry if this is not the first call.
29290 * nss/databases.def: Add initgroups entry.
29291
29292 * nss/makedb.c (compute_tables): Check result of multiple hash table
29293 sizes to minimize maximum chain length.
29294
29295 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29296
29297 * Versions.def: Add entry for libnss_db.
29298 * shlib-versions: Likewise.
29299 * nss/Makefile: Add rules to build libnss_db.
29300 * nss/Versions: Add libnss_db information. Organize libnss_files
29301 entries better.
29302 * nss/db-Makefile: Add gshadow support. Change rules for the new
29303 makedb progra. Some minor improvements to generate smaller files.
29304 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29305 here from...
29306 * nss/makedb.c: ...here.
29307 Improve database format to be smaller and require less memory at
29308 runtime.
29309 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29310 db anymore.
29311 * nss/nss_db/db-netgrp.c: Likewise.
29312 * nss/nss_db/db-open.c: Likewise.
29313 * nss/nss_files/flies-XXX.x: Adjust comments.
29314 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29315 * nss/nss_files/files-grp.c: Likewise.
29316 * nss/nss_files/files-hosts.c: Likewise.
29317 * nss/nss_files/files-network.c: Likewise.
29318 * nss/nss_files/files-proto.c: Likewise.
29319 * nss/nss_files/files-pwd.c: Likewise.
29320 * nss/nss_files/files-rpc.c: Likewise.
29321 * nss/nss_files/files-service.c: Likewise.
29322 * nss/nss_files/files-sgrp.c: Likewise.
29323 * nss/nss_files/files-spwd.c: Likewise.
29324 * nss/nss_db/db-alias.c: Removed.
29325 * nss/nss_db/dummy-db.h: Removed.
29326
29327 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29328
29329 * nss/makedb.c: Rewritten to not use database library.
29330 * nss/Makefile: Update to build new makedb program.
29331
29332 2011-06-14 Andreas Jaeger <aj@suse.de>
29333
29334 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29335 memset declaration.
29336
29337 2011-06-10 Andreas Schwab <schwab@redhat.com>
29338
29339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29340 tmpbuf.
29341
29342 2011-06-10 Roland McGrath <roland@hack.frob.com>
29343
29344 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29345 * elf/Makefile ($(objpfx)ld.so): Likewise.
29346
29347 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29348 Don't list ld.so twice in dependencies.
29349
29350 * posix/bug-regex31.c: Include <stdlib.h>.
29351
29352 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29353
29354 * nis/nss_compat/compat-spwd.c
29355 (getspent_next_nss_netgr): Remove unused variable.
29356 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29357
29358 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29359 nonmembers" output to use the right array.
29360
29361 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29362
29363 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29364
29365 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29366 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29367 * catgets/gencat.c (read_input_file): Likewise.
29368 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29369
29370 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29371 variable definition inside #if's controlling its use.
29372
29373 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29374
29375 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29376
29377 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29378
29379 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29380 unreachable code.
29381
29382 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29383
29384 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29385 * configure: Regenerated.
29386
29387 * Makerules: Revert last change.
29388 * elf/Makefile: Likewise.
29389
29390 2011-06-09 Roland McGrath <roland@hack.frob.com>
29391
29392 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29393 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29394 (reloc-link): Likewise.
29395
29396 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29397
29398 * elf/Makefile: Add rules to build pldd.
29399 * elf/pldd.c: New file.
29400 * elf/pldd-xx.c: New file.
29401
29402 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29403
29404 * version.h: Update for 2.15 development version.
29405
29406 2011-06-07 David S. Miller <davem@davemloft.net>
29407
29408 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29409 ifuncs.
29410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29411 elf_machine_lazy_rel): Likewise.
29412 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29414 elf_machine_lazy_rel): Likewise.
29415 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29416 dl_hwcap via passed in argument.
29417 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29418 Likewise.
29419
29420 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29421
29422 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29423
29424 2011-06-06 Roland McGrath <roland@hack.frob.com>
29425
29426 [BZ #12849]
29427 * manual/fdl-1.1.texi: New file, verbatim from:
29428 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29429 * manual/lgpl-2.1.texi: New file, verbatim from:
29430 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29431 * manual/Makefile (licenses): New variable, list those new file names.
29432 (texis): Use it.
29433 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29434
29435 * manual/fdl.texi: File removed.
29436 * manual/lesser.texi: File removed.
29437 * manual/libc.texinfo (Copying, Documentation License):
29438 Use new @include file names, put @appendix directive before @include.
29439
29440 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29441
29442 [BZ #12841]
29443 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29444 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29445 (mq_open): Add __NTH.
29446
29447 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29448
29449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29450 Assume Intel Core i3/i5/i7 processor if AVX is available.
29451
29452 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29453
29454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29455 typo.
29456
29457 2011-05-31 Andreas Schwab <schwab@redhat.com>
29458
29459 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29460 memory. Use alloca_account. Fix memory leak when retrying.
29461
29462 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29463
29464 * version.h (RELEASE): Bump for 2.14 release.
29465 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29466
29467 * config.make.in (RANLIB): Remove entry.
29468
29469 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29470
29471 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29472 (libc.pot): Work around missing support for .ksh extension in xgettext.
29473
29474 [BZ #12684]
29475 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29476 if both request failed.
29477 (send_dg): In case of server errors clear resplen or *resplen2.
29478
29479 [BZ #12454]
29480 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29481 when there are multiple maps.
29482 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29483 (_dl_fini): Remove test here.
29484
29485 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29486
29487 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29488
29489 [BZ #12350]
29490 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29491 bit from old_res_options.
29492 (gaih_inet): Likewise.
29493
29494 [BZ #11099]
29495 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29496 as signed.
29497
29498 * resolv/res_init.c (res_setoptions): Make the code more compact.
29499
29500 [BZ #11558]
29501 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29502 set RES_USEVC.
29503
29504 [BZ #11634]
29505 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29506
29507 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29508
29509 [BZ #11781]
29510 * malloc/malloc.h: Declare malloc hook variables as volatile.
29511
29512 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29513 in last patch.
29514
29515 [BZ #11799]
29516 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29517 raise in the comment.
29518 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29519 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29520 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29521
29522 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29523
29524 [BZ #12811]
29525 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29526 grow the buffers more if it already has to be sufficient.
29527 (build_wcs_upper_buffer): Likewise.
29528 * posix/regexec.c (check_matching): Likewise.
29529 (clean_state_log_if_needed): Likewise.
29530 (extend_buffers): Don't enlarge buffers beyond size of the input
29531 buffer.
29532 Patches mostly by Emil Wojak <emil@wojak.eu>.
29533 * posix/bug-regex32.c: New file.
29534 * posix/Makefile (tests): Add bug-regex32.
29535
29536 * locale/findlocale.c (_nl_find_locale): Return right away if
29537 _nl_explode_name failed.
29538 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29539
29540 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29541
29542 * debug/xtrace.sh: Unify messages.
29543 * malloc/memusage.sh: Likewise.
29544
29545 [BZ #12813]
29546 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29547 time symbol from vDSO. Substitute with vsyscall if not available.
29548 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29549 __vdso_time.
29550
29551 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29552 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29553 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29554 Add sendmmsg and internal_sendmmsg.
29555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29556 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29557 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29558
29559 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29560 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29561 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29562
29563 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29564
29565 [BZ #12813]
29566 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29567 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29568 available.
29569 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29570 __vdso_getcpu.
29571
29572 [BZ #12814]
29573 * iconvdata/Makefile (tests): Add bug-iconv9.
29574 * iconvdata/bug-iconv9.c: New file.
29575
29576 2011-05-27 Andreas Schwab <schwab@redhat.com>
29577
29578 [BZ #12814]
29579 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29580
29581 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29582
29583 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29584 (struct user_regs_struct): Change intcs field back to cs.
29585
29586 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29587
29588 * po/ja.po: Update from translation team.
29589
29590 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29591
29592 [BZ #12795]
29593 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29594 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29595
29596 2011-05-20 Andreas Schwab <schwab@redhat.com>
29597
29598 * stdlib/longlong.h: Update from GCC.
29599
29600 2011-05-23 Andreas Schwab <schwab@redhat.com>
29601
29602 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29603 parameter name.
29604 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29605 Add parameter name.
29606 (__sysconf): Pass it down.
29607
29608 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29609
29610 [BZ #12671]
29611 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29612 some situations.
29613 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29614 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29615 add in in __libc_use_alloca calls. Adjust callers.
29616 (glob): Use malloc in some situations.
29617
29618 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29619 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29620 pltexit.
29621
29622 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29623
29624 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29625 and CLOCK_BOOTTIME_ALARM.
29626
29627 [BZ #12782]
29628 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29629 is returned.
29630
29631 * string/_strerror.c (__strerror_r): Print negative errors as signed
29632 numbers.
29633
29634 [BZ #12777]
29635 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29636 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29637 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29638
29639 * configure.in: Fix typo in redirection and correct removal of test
29640 files in two cases.
29641
29642 [BZ #12788]
29643 * locale/setlocale.c (new_composite_name): Fix test to check for
29644 identical name of all categories.
29645
29646 [BZ #12792]
29647 * libio/filedoalloc.c (local_isatty): New function.
29648 (_IO_file_doallocate): Use local_isatty.
29649 * stdio-common/perror.c (perror): In case a new stream is used
29650 forward the stream error.
29651 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29652 error flag.
29653
29654 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29655
29656 [BZ #11869]
29657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29658 alloca.
29659 * include/alloca.h (extend_alloca_account): Define.
29660
29661 [BZ #11857]
29662 * posix/regex.h: Fix comments with documentation of user-accessible
29663 fields after compilation and describe correct free'ing of pattern
29664 after re_compile_pattern.
29665 Patch by Reuben Thomas <rrt@sc3d.org>.
29666
29667 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29668
29669 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29670 and -mno-altivec to prevent the compiler from using Altivec and/or
29671 VSX instructions when the corresponding registers are not available.
29672
29673 2011-05-19 Andreas Schwab <schwab@redhat.com>
29674
29675 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29676
29677 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29678
29679 * libio/freopen.c (freopen): Use __dup2, not dup2.
29680 * libio/freopen64.c (freopen64): Likewise.
29681
29682 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29683
29684 [BZ #12775]
29685 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29686 * math/Makefile (tests): Add test-powl.
29687 (CFLAGS-test-powl.c): Define.
29688 * math/test-powl.c: New file.
29689
29690 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29691
29692 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29693
29694 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29695
29696 [BZ #11837]
29697 * iconvdata/gb18030.c: Update to GB18020-2005.
29698
29699 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29700
29701 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29702 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29703 Patch by Aharon Robbins <arnold@skeeve.com>.
29704
29705 [BZ #11892]
29706 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29707 on the stack.
29708
29709 [BZ #11895]
29710 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29711 through underflows.
29712
29713 [BZ #12766]
29714 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29715 point to strings before performing equality test for error_one_per_line
29716 mode.
29717
29718 [BZ #11697]
29719 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29720
29721 [BZ #11820]
29722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29723 (struct user_fpregs_struct): Avoid __uint*_t types.
29724
29725 [BZ #6420]
29726 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29727 symbol info. Use it instead of calling _dl_addr locally.
29728 (lock_and_info): New function.
29729 (tr_freehook): Call lock_and_info and pass symbol info as additional
29730 parameter to tr_where.
29731 (tr_mallochook): Likewise.
29732 (tr_reallochook): Likewise.
29733 (tr_memalignhook): Likewise.
29734
29735 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29736 used and couldn't be at all thread-safe.
29737
29738 2011-05-15 Ulrich Drepper <drepper@gmail.com>
29739
29740 * libio/freopen.c (freopen): Don't close old file descriptor
29741 before the new one is opened. Instead dup the new file descriptor
29742 to the old one after the new stream is created.
29743 * libio/freopen64.c (freopen64): Likewise.
29744 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29745 * libio/fileops.c (_IO_new_file_close_it): Handle new
29746 _IO_FLAGS2_NOCLOSE flag.
29747 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29748 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29749 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29750 _IO_FLAGS2_NOCLOSE flag.
29751 * include/unistd.h: Add hidden_proto for dup3.
29752 Define __have_dup3.
29753 * io/dup3.c: Define hidden symbol.
29754 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29755
29756 [BZ #7101]
29757 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29758 when an incomplete long option is used.
29759 * posix/tst-getopt_long1.c: New file.
29760 * posix/Makefile (tests): Add tst-getopt_long1.
29761
29762 [BZ #10138]
29763 * scripts/config.guess: Update from autoconf-2.68.
29764 * scripts/config.sub: Likewise.
29765
29766 [BZ #10157]
29767 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29768 tests into ...
29769 (has_cpuclock): ...this. New function.
29770 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29771 macro here based on has_cpuclock code.
29772
29773 [BZ #10149]
29774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29775 First byte (not low byte) is now always NUL.
29776 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29777
29778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29779 Use non-cancelable interfaces.
29780
29781 [BZ #9809]
29782 * locale/iso-639.def: Add entry for Sorani.
29783
29784 [BZ #11901]
29785 * include/stdlib.h: Move include protection to the right place.
29786 Define abort_msg_s. Declare __abort_msg with it.
29787 * stdlib/abort.c (__abort_msg): Adjust type.
29788 * assert/assert.c (__assert_fail_base): New function. Majority
29789 of code from __assert_fail. Allocate memory for __abort_msg with
29790 mmap.
29791 (__assert_fail): Now call __assert_fail_base.
29792 * assert/assert-perr.c: Remove bulk of implementation. Use
29793 __assert_fail_base.
29794 * include/assert.hL Declare __assert_fail_base.
29795 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29796 mmap.
29797 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29798
29799 2011-05-14 Ulrich Drepper <drepper@gmail.com>
29800
29801 [BZ #11952]
29802 [BZ #12453]
29803 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29804 until all modules are registered in the DTV.
29805 * elf/Makefile: Add rules to build and run tst-tls19.
29806 * elf/tst-tls19.c: New file.
29807 * elf/tst-tls19mod1.c: New file.
29808 * elf/tst-tls19mod2.c: New file.
29809 * elf/tst-tls19mod3.c: New file.
29810 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29811
29812 [BZ #12083]
29813 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29814 correctly.
29815
29816 [BZ #12601]
29817 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29818 two-byte sequence errors.
29819 * iconvdata/Makefile (tests): Add bug-iconv8.
29820 * iconvdata/bug-iconv8.c: New file.
29821
29822 [BZ #12626]
29823 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29824 buf2 definition.
29825
29826 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29827
29828 [BZ #12432]
29829 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29830 (dummy_getcfa): New function.
29831 (init): Get _Unwind_GetCFA address, use dummy if not found.
29832 (backtrace_helper): In recursion check, also check whether CFA changes.
29833 (__backtrace): Completely initialize arg.
29834
29835 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29836 storing incomplete byte sequence in state object. Avoid testing for
29837 guaranteed too small input if we know there is enough data available.
29838
29839 2011-05-11 Andreas Schwab <schwab@redhat.com>
29840
29841 * Makeconfig (+link-pie): Indent.
29842 * Rules (binaries-pie): Define if $(have-fpie) and
29843 $(build-shared).
29844 (binaries-shared): Also filter out $(binaries-pie).
29845 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29846 * nscd/Makefile (others-pie): Add nscd.
29847 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29848 ($(objpfx)nscd): Remove command override.
29849 * login/Makefile (others-pie): Add pt_chown.
29850 ($(objpfx)pt_chown): Remove command override.
29851 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29852 remove command overrides.
29853
29854 2011-05-13 Ulrich Drepper <drepper@gmail.com>
29855
29856 * libio/tst_putwc.c: Fix error messages.
29857
29858 [BZ #12724]
29859 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29860 currently writing and seek to current position when not.
29861 * libio/Makefile (tests): Add bug-fclose1.
29862 * libio/bug-fclose1.c: New file.
29863
29864 2011-05-12 Ulrich Drepper <drepper@gmail.com>
29865
29866 [BZ #12511]
29867 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29868 don't set DF_1_NODELETE here.
29869 (do_lookup_x): When entering new entry test for copy relocation
29870 and if necessary set DF_1_NODELETE flag.
29871 * elf/tst-unique4.cc: New file.
29872 * elf/tst-unique4.h: New file.
29873 * elf/tst-unique4lib.cc: New file.
29874 * elf/Makefile: Add rules to build and run tst-unique4.
29875 Patch by Piotr Bury <pbury@goahead.com>.
29876
29877 2011-05-11 Ulrich Drepper <drepper@gmail.com>
29878
29879 [BZ #12052]
29880 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29881
29882 [BZ #12625]
29883 * misc/mntent_r.c (addmntent): Flush the stream after the output
29884
29885 [BZ #12393]
29886 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29887 (is_trusted_path_normalize): Skip initial colon. Append slash
29888 to empty buffer. Duplicate is_trusted_path code but allow
29889 constructed patch to be prefix.
29890 (is_dst): Allow $ORIGIN followed by /.
29891 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29892 Correct testing of result of is_trusted_path_normalize
29893 (decompose_rpath): Fix warning.
29894
29895 2011-05-10 Ulrich Drepper <drepper@gmail.com>
29896
29897 [BZ #11257]
29898 * grp/initgroups.c (internal_getgrouplist): When we found the service
29899 list through the initgroups entry in nsswitch.conf do not always
29900 continue on a successful lookup. Don't always use the
29901 __nss_group_database value if it is set.
29902 * nss/nsswitch.conf (initgroups): Change action for successful db
29903 lookup to continue for compatibility.
29904
29905 2011-05-09 Ulrich Drepper <drepper@gmail.com>
29906
29907 [BZ #11532]
29908 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29909 and CP774 modules.
29910 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29911 and CP774 modules.
29912 * iconvdata/tst-tables.sh: Likewise.
29913 * iconvdata/cp770.c: New file.
29914 * iconvdata/cp771.c: New file.
29915 * iconvdata/cp772.c: New file.
29916 * iconvdata/cp773.c: New file.
29917 * iconvdata/cp774.c: New file.
29918 * iconvdata/testdata/CP770: New file.
29919 * iconvdata/testdata/CP770..UTF8: New file.
29920 * iconvdata/testdata/CP771: New file.
29921 * iconvdata/testdata/CP771..UTF8: New file.
29922 * iconvdata/testdata/CP772: New file.
29923 * iconvdata/testdata/CP772..UTF8: New file.
29924 * iconvdata/testdata/CP773: New file.
29925 * iconvdata/testdata/CP773..UTF8: New file.
29926 * iconvdata/testdata/CP774: New file.
29927 * iconvdata/testdata/CP774..UTF8: New file.
29928
29929 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29930 END CHARMAP line.
29931 * iconvdata/gen-8bit-gap.sh: Likewise.
29932 * iconvdata/gen-8bit.sh: Likewise.
29933
29934 * locale/iso-639.def: Add ary entry.
29935
29936 [BZ #11258]
29937 * locale/C-translit.h.in: Add U20A1 transliteration.
29938
29939 [BZ #12178]
29940 * locale/iso-639.def: Add wae entry.
29941 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29942
29943 [BZ #12545]
29944 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29945 for n.
29946
29947 [BZ #12711]
29948 * locale/C-translit.h.in: Add entry for U20B9.
29949 Patch by pravin.d.s@gmail.com.
29950
29951 2011-05-08 Ulrich Drepper <drepper@gmail.com>
29952
29953 [BZ #12713]
29954 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29955 ENAMETOOLONG use generic getcwd.
29956 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29957 in rtld. Use *stat64.
29958 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29959 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29960 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29961 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29962 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29963 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29964 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29965 __fstatat64 macros.
29966 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29967 * dirent/rewinddir.c: Add libc_hidden_def.
29968 * sysdeps/mach/hurd/rewinddir.c: Likewise.
29969 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
29970
29971 * include/dirent.h (__alloc_dir): Add flags parameter.
29972 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29973 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29974 __alloc_dir.
29975 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29976 from fdopendir if O_CLOEXEC is already set.
29977
29978 2011-03-15 Alan Modra <amodra@gmail.com>
29979
29980 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29981 l_tls_firstbyte_offset non-zero. Save padding offset in
29982 l_tls_firstbyte_offset for later use.
29983 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29984 freeing static tls block.
29985
29986 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29987
29988 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29989 where #ifdef was intended. The intent is to prevent ARG_MAX from
29990 being defined by the kernel headers.
29991
29992 2011-05-07 Ulrich Drepper <drepper@gmail.com>
29993
29994 [BZ #12734]
29995 * resolv/resolv.h: Define RES_NOTLDQUERY.
29996 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29997 no-tld-query and set RES_NOTLDQUERY.
29998 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29999 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30000 modern BIND to search name as TLD unless forbidden.
30001
30002 2011-05-07 Petr Baudis <pasky@suse.cz>
30003 Ulrich Drepper <drepper@gmail.com>
30004
30005 [BZ #12393]
30006 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30007 (is_trusted_path): ...to here.
30008 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30009 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30010 using is_trusted_path_normalize() in setuid scripts.
30011
30012 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30013
30014 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30015 __BEGIN/__END_DECLS.
30016
30017 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30018
30019 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30020 NSS_STATUS_NOTFOUND if no record was found.
30021
30022 2011-05-05 Andreas Schwab <schwab@redhat.com>
30023
30024 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30025 (headers-not-in-tirpc): Remove rpc/netdb.h
30026 * resolv/netdb.h: Revert last change.
30027
30028 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30029
30030 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30031 circular dependency between libgcc.a and libc.a.
30032
30033 2011-05-05 Andreas Schwab <schwab@redhat.com>
30034
30035 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30036 * nis/Makefile: Don't install rpcsvc/*.
30037 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30038 instead of <rpc/types.h>.
30039 (MAXHOSTNAMELEN): Define.
30040
30041 2011-05-03 Andreas Schwab <schwab@redhat.com>
30042
30043 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30044
30045 2011-04-28 Maciej Babinski <mbabinski@google.com>
30046
30047 [BZ #12714]
30048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30049 gethostbyname4_r when IPv6 results are possible.
30050
30051 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30052
30053 [BZ #12723]
30054 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30055 _PC_PIPE_BUF handling.
30056
30057 2011-04-30 Bruno Haible <bruno@clisp.org>
30058
30059 [BZ #12717]
30060 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30061 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30062 to 'int'.
30063 * inet/getnameinfo.c (getnameinfo): Likewise.
30064
30065 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30066
30067 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30068 to groups setting in database lookup.
30069 * nss/nsswitch.conf: Add initgroups entry.
30070
30071 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30072
30073 [BZ #12685]
30074 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30075 mode string.
30076 Patch by Eric Blake <eblake@redhat.com>.
30077
30078 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30079
30080 * sunrpc/Makefile (need-export-routines): Add svc_run.
30081 (routines): Remove svc_run.
30082 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30083 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30084 * sunrpc/svc_run.c (svc_run): Likewise.
30085 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30086
30087 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30088
30089 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30090 problem in reallocation in last patch.
30091
30092 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30093
30094 * sunrpc/Makefile: Move inclusion of Rules.
30095
30096 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30097
30098 * nss/nss_files/files-initgroups.c: New file.
30099 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30100 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30101 _nss_files_initgroups_dyn.
30102
30103 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30104
30105 * elf/elf.h (R_ARM_IRELATIVE): Define.
30106
30107 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30108
30109 * po/ru.po: Update from translation team.
30110
30111 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30112
30113 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30114 dependencies.
30115
30116 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30117
30118 [BZ #12653]
30119 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30120 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30121 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30122 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30123 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30124
30125 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30126
30127 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30128 differing bytes.
30129 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30130 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30131 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30132
30133 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30134
30135 [BZ #12420]
30136 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30137 storing it.
30138 * stdlib/bug-getcontext.c: New file.
30139 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30140
30141 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30142
30143 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30144 instructions into .machine "z9-109".
30145 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30146 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30147
30148 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30149
30150 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30151 between environment variables and auxiliary vector.
30152
30153 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30154
30155 * Makefile: Add rules to build linkobj/libc.so.
30156 * include/libc-symbols.h: Define libc_hidden_nolink.
30157 * include/rpc/auth.h: Mark functions which are to be hidden.
30158 * include/rpc/auth_des.h: Likewise.
30159 * include/rpc/auth_unix.h: Likewise.
30160 * include/rpc/clnt.h: Likewise.
30161 * include/rpc/des_crypt.h: Likewise.
30162 * include/rpc/key_prot.h: Likewise.
30163 * include/rpc/pmap_clnt.h: Likewise.
30164 * include/rpc/pmap_prot.h: Likewise.
30165 * include/rpc/pmap_rmt.h: Likewise.
30166 * include/rpc/rpc_msg.h: Likewise.
30167 * include/rpc/svc.h: Likewise.
30168 * include/rpc/svc_auth.h: Likewise.
30169 * include/rpc/xdr.h: Likewise.
30170 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30171 * nss/Makefile: Likewise.
30172 * sunrpc/Makefile: Don't install headers. Build library with normal
30173 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30174 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30175 for the compat linking library. Remove use of INTDEF/INTUSE.
30176 * sunrpc/auth_none.c: Likewise.
30177 * sunrpc/auth_unix.c: Likewise.
30178 * sunrpc/authdes_prot.c: Likewise.
30179 * sunrpc/authuxprot.c: Likewise.
30180 * sunrpc/clnt_gen.c: Likewise.
30181 * sunrpc/clnt_perr.c: Likewise.
30182 * sunrpc/clnt_raw.c: Likewise.
30183 * sunrpc/clnt_simp.c: Likewise.
30184 * sunrpc/clnt_tcp.c: Likewise.
30185 * sunrpc/clnt_udp.c: Likewise.
30186 * sunrpc/clnt_unix.c: Likewise.
30187 * sunrpc/des_crypt.c: Likewise.
30188 * sunrpc/des_soft.c: Likewise.
30189 * sunrpc/get_myaddr.c: Likewise.
30190 * sunrpc/key_call.c: Likewise.
30191 * sunrpc/key_prot.c: Likewise.
30192 * sunrpc/netname.c: Likewise.
30193 * sunrpc/pm_getmaps.c: Likewise.
30194 * sunrpc/pm_getport.c: Likewise.
30195 * sunrpc/pmap_clnt.c: Likewise.
30196 * sunrpc/pmap_prot.c: Likewise.
30197 * sunrpc/pmap_prot2.c: Likewise.
30198 * sunrpc/pmap_rmt.c: Likewise.
30199 * sunrpc/publickey.c: Likewise.
30200 * sunrpc/rpc_cmsg.c: Likewise.
30201 * sunrpc/rpc_common.c: Likewise.
30202 * sunrpc/rpc_dtable.c: Likewise.
30203 * sunrpc/rpc_prot.c: Likewise.
30204 * sunrpc/rpc_thread.c: Likewise.
30205 * sunrpc/rtime.c: Likewise.
30206 * sunrpc/svc.c: Likewise.
30207 * sunrpc/svc_auth.c: Likewise.
30208 * sunrpc/svc_authux.c: Likewise.
30209 * sunrpc/svc_raw.c: Likewise.
30210 * sunrpc/svc_run.c: Likewise.
30211 * sunrpc/svc_simple.c: Likewise.
30212 * sunrpc/svc_tcp.c: Likewise.
30213 * sunrpc/svc_udp.c: Likewise.
30214 * sunrpc/svc_unix.c: Likewise.
30215 * sunrpc/svcauth_des.c: Likewise.
30216 * sunrpc/xcrypt.c: Likewise.
30217 * sunrpc/xdr.c: Likewise.
30218 * sunrpc/xdr_array.c: Likewise.
30219 * sunrpc/xdr_float.c: Likewise.
30220 * sunrpc/xdr_intXX_t.c: Likewise.
30221 * sunrpc/xdr_mem.c: Likewise.
30222 * sunrpc/xdr_rec.c: Likewise.
30223 * sunrpc/xdr_ref.c: Likewise.
30224 * sunrpc/xdr_sizeof.c: Likewise.
30225 * sunrpc/xdr_stdio.c: Likewise.
30226
30227 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30228
30229 [BZ #12650]
30230 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30231 * sysdeps/ia64/dl-tls.h: Likewise.
30232 * sysdeps/powerpc/dl-tls.h: Likewise.
30233 * sysdeps/s390/dl-tls.h: Likewise.
30234 * sysdeps/sh/dl-tls.h: Likewise.
30235 * sysdeps/sparc/dl-tls.h: Likewise.
30236 * sysdeps/x86_64/dl-tls.h: Likewise.
30237 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30238
30239 2011-03-14 Andreas Schwab <schwab@redhat.com>
30240
30241 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30242 rpath element also skip the following colon.
30243 (expand_dynamic_string_token): Add is_path parameter and pass
30244 down to DL_DST_REQUIRED and _dl_dst_substitute.
30245 (decompose_rpath): Call expand_dynamic_string_token with
30246 non-zero is_path. Ignore empty rpaths.
30247 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30248 with zero is_path.
30249
30250 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30251
30252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30253 Make cancelable.
30254
30255 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30256
30257 [BZ #12655]
30258 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30259 Patch by Filipe David Manana <fdmanana@apache.org>.
30260
30261 2011-04-07 Andreas Schwab <schwab@redhat.com>
30262
30263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30264 Maintain aligned stack.
30265 (CHECK_RSP): Remove unused macro.
30266
30267 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30268
30269 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30270 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30271
30272 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30273
30274 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30275
30276 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30277
30278 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30279
30280 [BZ #12518]
30281 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30282 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30283 * sysdeps/x86_64/memmove.c: New file.
30284 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30285 (memcpy): Renamed to ...
30286 (__new_memcpy): This.
30287 (memcpy): Provide GLIBC_2_14 memcpy.
30288 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30289 (memcpy): Provide GLIBC_2_2_5 memcpy.
30290
30291 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30292
30293 [BZ #12631]
30294 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30295
30296 2011-03-30 Andreas Schwab <schwab@redhat.com>
30297
30298 * misc/syncfs.c: New file.
30299 * misc/Makefile (routines): Add syncfs.
30300 * posix/unistd.h: Declare syncfs.
30301 * sysdeps/unix/syscalls.list: Add syncfs.
30302
30303 2011-04-01 Andreas Schwab <schwab@redhat.com>
30304
30305 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30306 open_by_handle_at.
30307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30308 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30310 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30312 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30314
30315 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30316
30317 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30318 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30319 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30321 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30323 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30324
30325 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30326 sync_file_range.c with -fexceptions.
30327 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30328 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30329 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30330 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30331 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30332 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30334 sync_file_range as cancellation point
30335 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30336 now a wrapper around __call_sync_file_range with cancellation handling.
30337 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30338 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30339 function name to __call_sync_file_range.
30340 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30341 Add call_sync_file_range.
30342
30343 2011-04-01 Andreas Schwab <schwab@redhat.com>
30344
30345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30346 bits/timex.h.
30347
30348 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30349
30350 * iconv/iconv.h: Fix typo in comment.
30351 * io/fcntl.h: Likewise.
30352 * libio/stdio.h: Likewise.
30353 * posix/spawn.h: Likewise.
30354 * posix/unistd.h: Likewise.
30355 * stdlib/stdlib.h: Likewise.
30356 * time/time.h: Likewise.
30357 * wcsmbs/wchar.h: Likewise.
30358
30359 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30360 open_by_handle): Add.
30361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30362 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30363 Augment a few comments.
30364 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30366 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30369 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30370 open_by_handle.
30371
30372 * io/fcntl.h (AT_EMPTY_PATH): Define.
30373
30374 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30375
30376 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30377 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30378 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30379 to...
30380 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30381 * Versions.def: Add GLIBC_2.14.
30382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30383 Export.
30384
30385 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30386
30387 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30388 round counter.
30389 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30390
30391 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30392
30393 [BZ #12597]
30394 * string/test-strncmp.c (do_page_test): New function.
30395 (check2): Likewise.
30396 (test_main): Call check2.
30397 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30398
30399 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30400
30401 [BZ #12587]
30402 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30403 Handle cache information in CPU leaf 4.
30404 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30405
30406 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30407
30408 [BZ #12583]
30409 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30410 character representation.
30411 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30412
30413 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30414
30415 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30416 END(__isnan) to END(__isnanf) to match function entry point/label
30417 EALIGN(__isnanf,...).
30418
30419 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30420
30421 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30422
30423 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30424
30425 [BZ #12510]
30426 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30427 copy from the symbol referenced in the relocation to initialize the
30428 used variable.
30429 Patch by Piotr Bury <pbury@goahead.com>.
30430 * elf/Makefile: Add rules to build and tst-unique3.
30431 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30432 * elf/tst-unique3.cc: New file.
30433 * elf/tst-unique3.h: New file.
30434 * elf/tst-unique3lib.cc: New file.
30435 * elf/tst-unique3lib2.cc: New file.
30436
30437 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30438
30439 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30440
30441 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30442 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30443 to _start.
30444
30445 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30446
30447 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30448 to-be-loaded object along a path to loader is ld.so.
30449
30450 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30451 Ulrich Drepper <drepper@gmail.com>
30452
30453 * sysdeps/x86_64/memset.S: After aligning destination, code
30454 branches to different locations depending on the value of
30455 misalignment, when multiarch is enabled. Fix this.
30456
30457 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30458
30459 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30460 Set _x86_64_preferred_memory_instruction for AMD processsors.
30461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30462 Set bit_Prefer_SSE_for_memop for AMD processors.
30463
30464 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30465
30466 * libio/fmemopen.c (fmemopen): Optimize a bit.
30467
30468 2011-03-03 Andreas Schwab <schwab@redhat.com>
30469
30470 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30471
30472 2011-03-03 Roland McGrath <roland@redhat.com>
30473
30474 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30475
30476 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30477
30478 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30479 __bzero_ultra1 instead of __memset_ultra1.
30480
30481 2011-02-23 Andreas Schwab <schwab@redhat.com>
30482 Ulrich Drepper <drepper@gmail.com>
30483
30484 [BZ #12509]
30485 * include/link.h (struct link_map): Add l_orig_initfini.
30486 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30487 returning unsuccessfully.
30488 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30489 close of a file loaded at startup, restore the original l_initfini
30490 list.
30491 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30492 list, store the pointer.
30493 * elf/Makefile ($(objpfx)noload-mem): New rule.
30494 (noload-ENV): Define.
30495 (tests): Add $(objpfx)noload-mem.
30496 * elf/noload.c: Include <memcheck.h>.
30497 (main): Call mtrace. Close all opened handles.
30498
30499 2011-02-17 Andreas Schwab <schwab@redhat.com>
30500
30501 [BZ #12454]
30502 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30503 dependencies are missing.
30504
30505 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30506
30507 Fix __if_freereq crash: Unlike the generic version which uses free,
30508 Hurd needs munmap.
30509 * sysdeps/mach/hurd/ifreq.h: New file.
30510
30511 2011-01-27 Petr Baudis <pasky@suse.cz>
30512 Ulrich Drepper <drepper@gmail.com>
30513
30514 [BZ 12445]#
30515 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30516 to extend_alloca().
30517 * stdio-common/bug23.c: New file.
30518 * stdio-common/Makefile (tests): Add bug23.
30519
30520 2010-09-28 Andreas Schwab <schwab@redhat.com>
30521 Ulrich Drepper <drepper@gmail.com>
30522
30523 [BZ #12489]
30524 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30525 before performing relro protection. At old place add assertion
30526 to make sure nothing changed.
30527
30528 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30529 Glauber de Oliveira Costa <glommer@gmail.com>
30530
30531 * elf/elf.h: Add new ARM TLS relocs.
30532
30533 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30534
30535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30536 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30537 cast from r3.
30538 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30539 'tests' variable.
30540 * sysdeps/wordsize-64/tst-writev.c: New file.
30541
30542 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30543
30544 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30545 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30546 insns in _dl_start to prevent a TOC reference before relocs are
30547 resolved.
30548
30549 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30550
30551 [BZ #12469]
30552 * Makeconfig: Remove RANLIB definition.
30553 * Makerules: Don't use RANLIB.
30554 * aclocal.m4: Remove ranlib test.
30555 * configure.in: No need to check for ranlib.
30556 * elf/rtld-Rules: Don't use RANLIB.
30557
30558 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30559
30560 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30561 protection macro.
30562 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30563 inclusion protection macro.
30564
30565 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30566 SIGRTMIN and SIGRTMAX and print information in that case only when
30567 SIGRTMIN is defined.
30568
30569 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30570
30571 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30572 arginfo fn returning -1.
30573
30574 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30575 and thousands string is zero terminated.
30576
30577 2011-02-03 Andreas Schwab <schwab@redhat.com>
30578
30579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30580 sysdeps/unix/sysv/linux/bits/socket.h.
30581
30582 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30583
30584 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30585 (__CPU_COUNT): Remove old macros.
30586 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30587 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30588 (__CPU_ALLOC, __CPU_FREE): Add macros.
30589 (__sched_cpualloc, __sched_cpufree): Add declarations.
30590
30591 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30592
30593 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30594 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30595 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30596 (readdhstai): Return value of addhstaiX call.
30597 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30598 (addgrbyX): Return value returned by cache_addgr.
30599 (readdgrbyname): Return value returned by addgrbyX.
30600 (readdgrbygid): Likewise.
30601 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30602 (addpwbyX): Return value returned by cache_addpw.
30603 (readdpwbyname): Return value returned by addhstbyX.
30604 (readdpwbyuid): Likewise.
30605 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30606 (addservbyX): Return value returned by cache_addserv.
30607 (readdservbyname): Return value returned by addservbyX:
30608 (readdservbyport): Likewise.
30609 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30610 (addhstbyX): Return value returned by cache_addhst.
30611 (readdhstbyname): Return value returned by addhstbyX.
30612 (readdhstbyaddr): Likewise.
30613 (readdhstbynamev6): Likewise.
30614 (readdhstbyaddrv6): Likewise.
30615 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30616 (readdinitgroups): Return value returned by addinitgroupsX.
30617 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30618 (prune_cache): Keep track of timeout value of re-added entries.
30619 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30620 * nscd/nscd.h: Adjust prototypes of readd* functions.
30621
30622 2011-02-04 Roland McGrath <roland@redhat.com>
30623
30624 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30625 (nis_stats): Likewise.
30626 * nis/nis_modify.c (nis_modify): Likewise.
30627 * nis/nis_remove.c (nis_remove): Likewise.
30628 * nis/nis_add.c (nis_add): Likewise.
30629
30630 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30631
30632 * posix/fnmatch_loop.c: Add some consts.
30633
30634 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30635
30636 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30637
30638 [BZ #12460]
30639 * config.make.in (config-cflags-novzeroupper): Define.
30640 * configure.in: Substitute libc_cv_cc_novzeroupper.
30641 * elf/Makefile (AVX-CFLAGS): Define.
30642 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30643 (CFLAGS-tst-auditmod4a.c): Likewise.
30644 (CFLAGS-tst-auditmod4b.c): Likewise.
30645 (CFLAGS-tst-auditmod6b.c): Likewise.
30646 (CFLAGS-tst-auditmod6c.c): Likewise.
30647 (CFLAGS-tst-auditmod7b.c): Likewise.
30648 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30649
30650 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30651
30652 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30653 function to the callback.
30654 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30655
30656 2011-02-02 Andreas Schwab <schwab@redhat.com>
30657
30658 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30659 of errno.
30660
30661 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30662
30663 [BZ #11724]
30664 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30665 of constructors.
30666 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30667 of destructors.
30668 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30669
30670 [BZ #11724]
30671 * elf/Makefile: Add rules to build and run new test.
30672 * elf/tst-initorder.c: New file.
30673 * elf/tst-initorder.exp: New file.
30674 * elf/tst-initordera1.c: New file.
30675 * elf/tst-initordera2.c: New file.
30676 * elf/tst-initordera3.c: New file.
30677 * elf/tst-initordera4.c: New file.
30678 * elf/tst-initorderb1.c: New file.
30679 * elf/tst-initorderb2.c: New file.
30680 * elf/tst-order-a1.c: New file.
30681 * elf/tst-order-a2.c: New file.
30682 * elf/tst-order-a3.c: New file.
30683 * elf/tst-order-a4.c: New file.
30684 * elf/tst-order-b1.c: New file.
30685 * elf/tst-order-b2.c: New file.
30686 * elf/tst-order-main.c: New file.
30687 New test case by George Gensure <werkt0@gmail.com>.
30688
30689 2010-10-01 Andreas Schwab <schwab@redhat.com>
30690
30691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30692 decoding ACE if AI_CANONIDN.
30693
30694 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30695
30696 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30697
30698 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30699
30700 * version.h (RELEASE): Bump for 2.13 release.
30701 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30702
30703 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30704
30705 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30706 MADV_NOHUGEPAGE.
30707 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30708 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30709 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30710 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30712 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30713
30714 * posix/getconf.c: Update copyright year.
30715 * catgets/gencat.c: Likewise.
30716 * csu/version.c: Likewise.
30717 * debug/catchsegv.sh: Likewise.
30718 * debug/xtrace.sh: Likewise.
30719 * elf/ldconfig.c: Likewise.
30720 * elf/ldd.bash.in: Likewise.
30721 * elf/sprof.c (print_version): Likewise.
30722 * iconv/iconv_prog.c: Likewise.
30723 * iconv/iconvconfig.c: Likewise.
30724 * locale/programs/locale.c: Likewise.
30725 * locale/programs/localedef.c: Likewise.
30726 * malloc/memusage.sh: Likewise.
30727 * malloc/mtrace.pl: Likewise.
30728 * nscd/nscd.c (print_version): Likewise.
30729 * nss/getent.c: Likewise.
30730
30731 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30732 PF_CAIF, and PF_ALG.
30733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30734
30735 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30736
30737 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30738 (modules-names): Use them.
30739 (ifunc-test-modules, ifunc-pie-tests): Define.
30740 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30741 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30742 (test-extras): Likewise.
30743 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30744 $(compile-command.c).
30745 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30746 (all-built-dso): Define.
30747 (check-textrel.out, check-execstack.out): Depend on it.
30748
30749 * configure.in: Don't override --enable-multi-arch.
30750
30751 2011-01-15 Ulrich Drepper <drepper@gmail.com>
30752
30753 [BZ #6812]
30754 * nscd/hstcache.c (tryagain): Define.
30755 (cache_addhst): Return tryagain not notfound for temporary errors.
30756 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30757 failed.
30758
30759 2011-01-14 Ulrich Drepper <drepper@gmail.com>
30760
30761 [BZ #10563]
30762 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30763 to make the syscall.
30764 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30765
30766 [BZ #12378]
30767 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30768 and fall back to matching as normal character if the string ends before
30769 the matching ']' is found. This is what POSIX requires.
30770 * posix/testfnm.c: Adjust test result.
30771 * posix/globtest.sh: Adjust test result. Add new test.
30772 * posix/tst-fnmatch.input: Likewise.
30773 * posix/tst-fnmatch2.c: Add new test.
30774
30775 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30776
30777 * elf/Makefile (check-execstack): Revert last change. Depend on
30778 check-execstack.h.
30779 (check-execstack.h): New target.
30780 (generated): Add check-execstack.h.
30781 * elf/check-execstack.c: Include "check-execstack.h".
30782 (main): Revert last change.
30783 (handle_file): Return zero if GNU_STACK is absent and
30784 DEFAULT_STACK_PERMS doesn't include PF_X.
30785
30786 2011-01-13 Ulrich Drepper <drepper@gmail.com>
30787
30788 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30789 in child fails because the descriptor is already closed.
30790 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30791 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30792 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30793
30794 [BZ #12397]
30795 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30796 syscall.
30797
30798 [BZ #10484]
30799 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30800 temporary buffer used to handle multi lookups locally.
30801 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30802
30803 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30804
30805 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30806 loader is ld.so.
30807
30808 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30809
30810 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30811 alignment for SSE2.
30812
30813 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30814
30815 [BZ #12394]
30816 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30817 characters. When rounding increased number of integer digits recompute
30818 number of groups.
30819 * stdio-common/tst-grouping.c: New file.
30820 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30821
30822 2011-01-09 Ulrich Drepper <drepper@gmail.com>
30823
30824 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30825 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30826
30827 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30828 void.
30829 * bits/select.h: Likewise.
30830
30831 2011-01-08 Ulrich Drepper <drepper@gmail.com>
30832
30833 * po/ja.po: Update from translation team.
30834
30835 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
30836
30837 [BZ #11155]
30838 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30839 implementation just like for lxstat, fxstatat, et al.
30840
30841 2010-12-27 Jim Meyering <meyering@redhat.com>
30842
30843 [BZ #12348]
30844 * posix/regexec.c (build_trtable): Return failure indication upon
30845 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30846
30847 2010-12-25 Ulrich Drepper <drepper@gmail.com>
30848
30849 [BZ #12201]
30850 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30851 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30852 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30853 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30854
30855 [BZ #12207]
30856 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30857
30858 [BZ #12204]
30859 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30860 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30861
30862 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30863
30864 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30865 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30866 script has SORT_BY_INIT_PRIORITY.
30867 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30868 NO_CTORS_DTORS_SECTIONS is defined.
30869 * elf/soinit.c: Likewise.
30870 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30871 NO_CTORS_DTORS_SECTIONS is defined.
30872 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30873 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30874 * sysdeps/sh/init-first.c: Likewise.
30875 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30876
30877 2010-12-24 Ulrich Drepper <drepper@gmail.com>
30878
30879 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30880 always use the slow path.
30881
30882 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30883
30884 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30885 similar rule which adds the sysdep directories to the header search in
30886 order to pick up the correct platform stackinfo.h.
30887 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30888 perform test if it is, otherwise return successfully without testing.
30889 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30890 DEFAULT_STACK_PERMS define in stackinfo.h.
30891 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30892 defined in stackinfo.h.
30893 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30894 DEFAULT_STACK_PERMS defined in stackinfo.h.
30895 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30896 * sysdeps/ia64/stackinfo.h: Likewise.
30897 * sysdeps/s390/stackinfo.h: Likewise.
30898 * sysdeps/sh/stackinfo.h: Likewise.
30899 * sysdeps/sparc/stackinfo.h: Likewise.
30900 * sysdeps/x86_64/stackinfo.h: Likewise.
30901 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30902 PF_X for powerpc64. Retain PF_X for powerpc32.
30903
30904 2010-12-19 Ulrich Drepper <drepper@gmail.com>
30905
30906 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30907 accurately.
30908 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30909 GETDENTS_64BIT_ALIGNED.
30910
30911 2010-12-14 Ulrich Drepper <dreper@gmail.com>
30912
30913 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30914
30915 2010-12-10 Andreas Schwab <schwab@redhat.com>
30916
30917 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30918 _GNU_SOURCE.
30919
30920 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30921 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30922 Remove __restrict.
30923 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30924 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30925
30926 2010-12-09 Ulrich Drepper <drepper@gmail.com>
30927
30928 [BZ #11655]
30929 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30930 are initialized.
30931
30932 2010-12-09 Jakub Jelinek <jakub@redhat.com>
30933
30934 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30935
30936 2010-12-03 Ulrich Drepper <drepper@gmail.com>
30937
30938 * po/it.po: Update from translation team.
30939
30940 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30941
30942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30943 unused codes.
30944
30945 2010-11-30 Ulrich Drepper <drepper@gmail.com>
30946
30947 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30948
30949 2010-11-24 Andreas Schwab <schwab@redhat.com>
30950
30951 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30952 specially.
30953 (gaih_getanswer_slice): Likewise.
30954
30955 2010-10-20 Jakub Jelinek <jakub@redhat.com>
30956
30957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30958
30959 2010-05-31 Petr Baudis <pasky@suse.cz>
30960
30961 [BZ #11149]
30962 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30963 silently even in the chroot mode.
30964
30965 2010-11-22 Ulrich Drepper <drepper@gmail.com>
30966
30967 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30968 last patch a bit. Pretty printing
30969
30970 2010-05-31 Petr Baudis <pasky@suse.cz>
30971
30972 [BZ #10085]
30973 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30974 initialization of skip_initgroups_dyn.
30975
30976 2010-11-19 Ulrich Drepper <drepper@gmail.com>
30977
30978 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30979 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30980
30981 2010-11-16 Ulrich Drepper <drepper@gmail.com>
30982
30983 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30984
30985 2010-11-11 Andreas Schwab <schwab@redhat.com>
30986
30987 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30988 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30989 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30990 ($(objpfx)tst-fnmatch-mem): New rule.
30991 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30992 * posix/tst-fnmatch.c (main): Call mtrace.
30993
30994 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30995
30996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30997 Support Intel processor model 6 and model 0x2c.
30998
30999 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31000
31001 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31002 signed comparison.
31003
31004 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31005
31006 [BZ #12205]
31007 * string/test-strncasecmp.c (check_result): New function.
31008 (do_one_test): Use it.
31009 (check1): New function.
31010 (test_main): Use it.
31011 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31012 Support strcasecmp and strncasecmp.
31013
31014 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31015
31016 [BZ #12194]
31017 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31018 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31019
31020 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31021
31022 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31023 IFUNC support.
31024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31025 memset-x86-64.
31026 * sysdeps/x86_64/multiarch/bzero.S: New file.
31027 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31028 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31029 * sysdeps/x86_64/multiarch/memset.S: New file.
31030 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31032 Set bit_Prefer_SSE_for_memop for Intel processors.
31033 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31034 Define.
31035 (index_Prefer_SSE_for_memop): Define.
31036 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31037
31038 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31039
31040 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31041 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31042
31043 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31044
31045 [BZ #12191]
31046 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31047 (__x86_64_raw_data_cache_size_half): Likewise.
31048 (__x86_64_raw_shared_cache_size): Likewise.
31049 (__x86_64_raw_shared_cache_size_half): Likewise.
31050
31051 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31052 (__x86_64_raw_data_cache_size_half): Likewise.
31053 (__x86_64_raw_shared_cache_size): Likewise.
31054 (__x86_64_raw_shared_cache_size_half): Likewise.
31055 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31056 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31057 and __x86_64_raw_shared_cache_size_half. Round
31058 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31059 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31060 to multiple of 256 bytes.
31061
31062 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31063
31064 [BZ #12167]
31065 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31066 of inacessible symlinks. Verify result of symlink before returning it.
31067 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31068 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31069
31070 2010-10-28 Erich Ritz <erichritz@gmail.com>
31071
31072 * math/math.h (isinf): Fix typo in comment.
31073
31074 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31075
31076 * po/da.po: Update from translation team.
31077
31078 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31079
31080 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31081 is added to the list.
31082
31083 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31084 Ulrich Drepper <drepper@gmail.com>
31085
31086 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31087 the global list here. Move code to...
31088 (_dl_add_to_namespace_list): ...here. New function.
31089 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31090 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31091 * elf/dl-load.c (lose): Don't remove the element from the list.
31092 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31093 (_dl_map_object): Likewise.
31094
31095 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31096
31097 [BZ #12159]
31098 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31099 into all bytes of SSE register.
31100 Patch by Richard Li <richardpku@gmail.com>.
31101
31102 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31103
31104 [BZ #12140]
31105 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31106 perturbing.
31107
31108 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31109
31110 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31111 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31112 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31113 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31115 submachine.
31116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31117
31118 2010-10-22 Andreas Schwab <schwab@redhat.com>
31119
31120 * include/dlfcn.h (__RTLD_SECURE): Define.
31121 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31122 mode & __RTLD_SECURE instead.
31123 (open_path): Rename preloaded parameter to secure.
31124 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31125 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31126 * elf/dl-deps.c (openaux): Likewise.
31127 * elf/rtld.c (struct map_args): Remove is_preloaded.
31128 (map_doit): Don't use it.
31129 (dl_main): Likewise.
31130 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31131 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31132
31133 2010-09-09 Andreas Schwab <schwab@redhat.com>
31134
31135 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31136 (sysd-rules-targets): Remove duplicates.
31137 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31138 rtld-%.$o dependency.
31139
31140 2010-10-18 Andreas Schwab <schwab@redhat.com>
31141
31142 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31143 _dl_map_object do it.
31144
31145 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31146
31147 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31148 fast fma builtins, define the macros in the C99 standard.
31149 (FP_FAST_FMAF): Likewise.
31150 (FP_FAST_FMAL): Likewise.
31151 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31152
31153 * bits/mathdef.h: Update copyright year.
31154 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31155
31156 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31157
31158 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31159 builtins, define the macros in the C99 standard.
31160 (FP_FAST_FMAF): Likewise.
31161 (FP_FAST_FMAL): Likewise.
31162 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31163 multiply/add.
31164 (FP_FAST_FMAF): Likewise.
31165
31166 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31167
31168 [BZ #3268]
31169 * math/libm-test.inc (fma_test): Some new testcases.
31170 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31171 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31172 y and infinite z. Do multiplication by C already in long double.
31173 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31175 y and infinite z. Do bitwise or of inexact bit into u.d.
31176 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31177 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31178 * sysdeps/i386/fpu/s_fma.S: Removed.
31179 * sysdeps/i386/fpu/s_fmal.S: Removed.
31180
31181 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31182
31183 [BZ #3268]
31184 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31186 computation is not scheduled after fetestexcept. Fix value
31187 of minimum denormal long double.
31188
31189 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31190
31191 [BZ #3268]
31192 * math/libm-test.inc (fma_test): Add some more tests.
31193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31194 correctly.
31195
31196 2010-10-15 Andreas Schwab <schwab@redhat.com>
31197
31198 * scripts/data/localplt-s390-linux-gnu.data: New file.
31199 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31200
31201 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31202
31203 [BZ #3268]
31204 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31205 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31206 instead of dbl-64.
31207 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31208 inlines.
31209 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31211 if one of x and y is very large and the other is subnormal.
31212 * sysdeps/s390/fpu/s_fmaf.c: New file.
31213 * sysdeps/s390/fpu/s_fma.c: New file.
31214 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31215 * sysdeps/powerpc/fpu/s_fma.S: New file.
31216 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31217 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31218 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31219
31220 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31221
31222 [BZ #3268]
31223 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31224 fma tests.
31225 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31226 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31227 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31228 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31229 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31230 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31231 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31232
31233 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31234
31235 [BZ #12078]
31236 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31237 * posix/bug-regex31.input: Add test case.
31238
31239 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31240
31241 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31242 * posix/bug-regex31.input: New file.
31243
31244 [BZ #12078]
31245 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31246 (parse_sub_exp): Fix last change, use postorder.
31247
31248 * posix/bug-regex31.c: New file.
31249 * posix/Makefile: Add rules to build and run bug-regex31.
31250
31251 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31252
31253 [BZ #12078]
31254 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31255
31256 [BZ #12108]
31257 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31258 to have entries in sys_siglist.
31259
31260 [BZ #12093]
31261 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31262 be NULL.
31263
31264 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31265
31266 [BZ #3268]
31267 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31268 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31269 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31270 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31271 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31272 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31273 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31274 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31275 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31276 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31277 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31278 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31279 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31280 * math/ftestexcept.c (fetestexcept): Likewise.
31281 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31282 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31283 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31284 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31285 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31286 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31287 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31288
31289 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31290
31291 [BZ #12107]
31292 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31293 newline.
31294
31295 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31296
31297 * string/bug-strstr1.c: New file.
31298 * string/Makefile: Add rules to build and run bug-strstr1.
31299
31300 2010-10-05 Eric Blake <eblake@redhat.com>
31301
31302 [BZ #12092]
31303 * string/str-two-way.h (two_way_long_needle): Always clear memory
31304 when skipping input due to the shift table.
31305
31306 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31307
31308 [BZ #12005]
31309 * malloc/mcheck.c: Handle large requests.
31310
31311 [BZ #12077]
31312 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31313 for strncmp and strncasecmp.
31314 * string/stratcliff.c: Add tests for strcmp and strncmp.
31315 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31316
31317 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31318
31319 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31320 __set_fpscr.
31321
31322 2010-09-30 Andreas Jaeger <aj@suse.de>
31323
31324 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31325 (CGROUP_SUPER_MAGIC): Define.
31326 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31327 Handle btrfs and cgroup file systems.
31328 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31329 Likewise.
31330
31331 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31332
31333 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31334 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31335
31336 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31337
31338 [BZ #12067]
31339 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31340 trying to locate the ELF header.
31341
31342 2010-09-27 Andreas Schwab <schwab@redhat.com>
31343
31344 [BZ #11611]
31345 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31346 Mask out sign-bit copies when constructing f_fsid.
31347
31348 2010-09-24 Petr Baudis <pasky@suse.cz>
31349
31350 * debug/stack_chk_fail_local.c: Add missing licence exception.
31351 * debug/warning-nop.c: Likewise.
31352
31353 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31354
31355 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31356 implementing getdents64 using getdents syscall, set d_type if
31357 __ASSUME_GETDENTS32_D_TYPE.
31358
31359 2010-09-16 Andreas Schwab <schwab@redhat.com>
31360
31361 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31362 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31363
31364 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31365
31366 [BZ #12037]
31367 * posix/unistd.h: Undo change of feature selection for ftruncate from
31368 2010-01-11.
31369
31370 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31371
31372 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31373 detection.
31374
31375 2010-09-20 Andreas Schwab <schwab@redhat.com>
31376
31377 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31378 fanotify_mark.
31379 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31380
31381 2010-09-14 Andreas Schwab <schwab@redhat.com>
31382
31383 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31384 variables after CHECK_SP call.
31385 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31386
31387 2010-09-13 Andreas Schwab <schwab@redhat.com>
31388 Ulrich Drepper <drepper@redhat.com>
31389
31390 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31391 re-relocationg ld.so.
31392 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31393 _dl_init_paths call.
31394 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31395 here anymore.
31396
31397 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31398
31399 * resolv/res_init.c (__res_vinit): Count the default server we added.
31400
31401 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31402 Ulrich Drepper <drepper@redhat.com>
31403
31404 [BZ #11968]
31405 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31406 (____longjmp_chk): Use %ebx for saving value across system call.
31407 Add unwind info.
31408
31409 2010-09-06 Andreas Schwab <schwab@redhat.com>
31410
31411 * manual/Makefile: Don't mix pattern rules with normal rules.
31412
31413 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31414
31415 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31416 operation.
31417 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31418 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31419 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31420 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31421 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31422 Likewise.
31423
31424 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31425
31426 [BZ #11979]
31427 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31428 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31429
31430 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31431
31432 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31433 * sysdeps/x86_64/addmul_1.S: Likewise.
31434 * sysdeps/x86_64/lshift.S: Likewise.
31435 * sysdeps/x86_64/mul_1.S: Likewise.
31436 * sysdeps/x86_64/rshift.S: Likewise.
31437 * sysdeps/x86_64/sub_n.S: Likewise.
31438 * sysdeps/x86_64/submul_1.S: Likewise.
31439
31440 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31441
31442 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31443 Define __sched_param instead of SCHED_* and sched_param when
31444 <bits/sched.h> is included with __need_schedparam defined.
31445 * bits/sched.h [__need_schedparam]
31446 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31447 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31448 (__defined_schedparam): Define to 1.
31449 (__sched_param): New structure, identical to sched_param.
31450 (__need_schedparam): Undefine.
31451
31452 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31453
31454 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31455 (epoll_create1): Declare.
31456
31457 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31458
31459 2010-08-31 Andreas Schwab <schwab@redhat.com>
31460
31461 [BZ #7066]
31462 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31463 shifting retval into place.
31464
31465 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31466
31467 * nis/rpcsvc/nis.h: Update copyright notice.
31468 * nis/rpcsvc/nis.x: Likewise.
31469 * nis/rpcsvc/nis_callback.h: Likewise.
31470 * nis/rpcsvc/nis_callback.x: Likewise.
31471 * nis/rpcsvc/nis_object.x: Likewise.
31472 * nis/rpcsvc/nis_tags.h: Likewise.
31473 * nis/rpcsvc/yp.h: Likewise.
31474 * nis/rpcsvc/yp.x: Likewise.
31475 * nis/rpcsvc/ypupd.h: Likewise.
31476 * nis/yp_xdr.c: Likewise.
31477 * nis/ypupdate_xdr.c: Likewise.
31478
31479 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31480 mainly the body of pmap_getport. Add parameters to specify timeouts.
31481 (pmap_getport): Use __libc_rpc_getport.
31482 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31483 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31484 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31485
31486 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31487
31488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31489 fanotify_mark.
31490
31491 2010-08-27 Roland McGrath <roland@redhat.com>
31492
31493 * sysdeps/i386/i686/multiarch/Makefile
31494 (CFLAGS-varshift.c): New variable.
31495
31496 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31497
31498 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31499 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31500
31501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31502
31503 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31504
31505 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31506
31507 * sysdeps/x86_64/strlen.S: Unroll the loop.
31508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31509 strlen-sse2 strlen-sse2-bsf.
31510 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31511 __strlen_no_bsf if bit_Slow_BSF is set.
31512 (__strlen_sse42): Removed.
31513 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31514 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31515
31516 2010-08-25 Roland McGrath <roland@redhat.com>
31517
31518 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31519 * sysdeps/x86_64/multiarch/varshift.c: New file.
31520 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31521 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31522 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31523 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31524
31525 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31526
31527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31528 strlen-sse2 strlen-sse2-bsf.
31529 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31530 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31531 (__strlen_sse2): Removed.
31532 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31535 bit_Slow_BSF for Atom.
31536 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31537 (index_Slow_BSF): Define.
31538 (HAS_SLOW_BSF): Define.
31539
31540 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31541
31542 [BZ #10851]
31543 * resolv/res_init.c (__res_vinit): When no server address at all
31544 is given default to loopback.
31545
31546 2010-08-24 Roland McGrath <roland@redhat.com>
31547
31548 * configure.in: Remove config-name.h generation.
31549 * configure: Regenerated.
31550 * config-name.in: File removed.
31551 * scripts/config-uname.sh: New file.
31552 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31553 ($(objdir)config-name.h): New target.
31554
31555 * sunrpc/rpc_parse.h: Avoid nested comment.
31556
31557 2010-08-24 Richard Henderson <rth@redhat.com>
31558 Ulrich Drepper <drepper@redhat.com>
31559 H.J. Lu <hongjiu.lu@intel.com>
31560
31561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31563 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31564 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31565 _mm_alignr_epi8 with _mm_loadu_si128.
31566 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31567 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31568 (__m128i_shift_right): Removed.
31569 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31570 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31571 * sysdeps/x86_64/multiarch/varshift.h: New file.
31572 * sysdeps/x86_64/multiarch/varshift.S: New file.
31573
31574 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31575
31576 * configure.in: Move assembler checks to before sysdep dir checking.
31577
31578 2010-08-20 Petr Baudis <pasky@suse.cz>
31579
31580 * LICENSES: Sync the sunrpc license.
31581
31582 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31583
31584 * sunrpc/auth_des.c: Update copyright notice once again.
31585 * sunrpc/auth_none.c: Likewise.
31586 * sunrpc/auth_unix.c: Likewise.
31587 * sunrpc/authdes_prot.c: Likewise.
31588 * sunrpc/authuxprot.c: Likewise.
31589 * sunrpc/bindrsvprt.c: Likewise.
31590 * sunrpc/clnt_gen.c: Likewise.
31591 * sunrpc/clnt_perr.c: Likewise.
31592 * sunrpc/clnt_raw.c: Likewise.
31593 * sunrpc/clnt_simp.c: Likewise.
31594 * sunrpc/clnt_tcp.c: Likewise.
31595 * sunrpc/clnt_udp.c: Likewise.
31596 * sunrpc/clnt_unix.c: Likewise.
31597 * sunrpc/des_crypt.c: Likewise.
31598 * sunrpc/des_soft.c: Likewise.
31599 * sunrpc/get_myaddr.c: Likewise.
31600 * sunrpc/getrpcport.c: Likewise.
31601 * sunrpc/key_call.c: Likewise.
31602 * sunrpc/key_prot.c: Likewise.
31603 * sunrpc/openchild.c: Likewise.
31604 * sunrpc/pm_getmaps.c: Likewise.
31605 * sunrpc/pm_getport.c: Likewise.
31606 * sunrpc/pmap_clnt.c: Likewise.
31607 * sunrpc/pmap_prot.c: Likewise.
31608 * sunrpc/pmap_prot2.c: Likewise.
31609 * sunrpc/pmap_rmt.c: Likewise.
31610 * sunrpc/rpc/auth.h: Likewise.
31611 * sunrpc/rpc/auth_unix.h: Likewise.
31612 * sunrpc/rpc/clnt.h: Likewise.
31613 * sunrpc/rpc/des_crypt.h: Likewise.
31614 * sunrpc/rpc/key_prot.h: Likewise.
31615 * sunrpc/rpc/netdb.h: Likewise.
31616 * sunrpc/rpc/pmap_clnt.h: Likewise.
31617 * sunrpc/rpc/pmap_prot.h: Likewise.
31618 * sunrpc/rpc/pmap_rmt.h: Likewise.
31619 * sunrpc/rpc/rpc.h: Likewise.
31620 * sunrpc/rpc/rpc_des.h: Likewise.
31621 * sunrpc/rpc/rpc_msg.h: Likewise.
31622 * sunrpc/rpc/svc.h: Likewise.
31623 * sunrpc/rpc/svc_auth.h: Likewise.
31624 * sunrpc/rpc/types.h: Likewise.
31625 * sunrpc/rpc/xdr.h: Likewise.
31626 * sunrpc/rpc_clntout.c: Likewise.
31627 * sunrpc/rpc_cmsg.c: Likewise.
31628 * sunrpc/rpc_common.c: Likewise.
31629 * sunrpc/rpc_cout.c: Likewise.
31630 * sunrpc/rpc_dtable.c: Likewise.
31631 * sunrpc/rpc_hout.c: Likewise.
31632 * sunrpc/rpc_main.c: Likewise.
31633 * sunrpc/rpc_parse.c: Likewise.
31634 * sunrpc/rpc_parse.h: Likewise.
31635 * sunrpc/rpc_prot.c: Likewise.
31636 * sunrpc/rpc_sample.c: Likewise.
31637 * sunrpc/rpc_scan.c: Likewise.
31638 * sunrpc/rpc_scan.h: Likewise.
31639 * sunrpc/rpc_svcout.c: Likewise.
31640 * sunrpc/rpc_tblout.c: Likewise.
31641 * sunrpc/rpc_util.c: Likewise.
31642 * sunrpc/rpc_util.h: Likewise.
31643 * sunrpc/rpcinfo.c: Likewise.
31644 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31645 * sunrpc/rpcsvc/key_prot.x: Likewise.
31646 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31647 * sunrpc/rpcsvc/mount.x: Likewise.
31648 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31649 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31650 * sunrpc/rpcsvc/rex.x: Likewise.
31651 * sunrpc/rpcsvc/rstat.x: Likewise.
31652 * sunrpc/rpcsvc/rusers.x: Likewise.
31653 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31654 * sunrpc/rpcsvc/spray.x: Likewise.
31655 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31656 * sunrpc/rtime.c: Likewise.
31657 * sunrpc/svc.c: Likewise.
31658 * sunrpc/svc_auth.c: Likewise.
31659 * sunrpc/svc_authux.c: Likewise.
31660 * sunrpc/svc_raw.c: Likewise.
31661 * sunrpc/svc_run.c: Likewise.
31662 * sunrpc/svc_simple.c: Likewise.
31663 * sunrpc/svc_tcp.c: Likewise.
31664 * sunrpc/svc_udp.c: Likewise.
31665 * sunrpc/svc_unix.c: Likewise.
31666 * sunrpc/svcauth_des.c: Likewise.
31667 * sunrpc/xcrypt.c: Likewise.
31668 * sunrpc/xdr.c: Likewise.
31669 * sunrpc/xdr_array.c: Likewise.
31670 * sunrpc/xdr_float.c: Likewise.
31671 * sunrpc/xdr_mem.c: Likewise.
31672 * sunrpc/xdr_rec.c: Likewise.
31673 * sunrpc/xdr_ref.c: Likewise.
31674 * sunrpc/xdr_sizeof.c: Likewise.
31675 * sunrpc/xdr_stdio.c: Likewise.
31676
31677 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31678 handling.
31679
31680 2010-08-19 Andreas Schwab <schwab@redhat.com>
31681
31682 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31683
31684 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31685
31686 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31687 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31688 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31689 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31690 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31691 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31692 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31693 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31694 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31695 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31696 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31697 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31698 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31699 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31700
31701 2010-07-26 Anton Blanchard <anton@samba.org>
31702
31703 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31704 * malloc/arena.c (heap_trim): Likewise.
31705
31706 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31707
31708 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31709 here. Not...
31710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31711 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31712
31713 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31714
31715 * sysdeps/i386/elf/Makefile: New file.
31716
31717 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31718
31719 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31720 from fanotify_init.
31721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31723
31724 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31725
31726 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31727 of strncasecmp_l.
31728 * sysdeps/multiarch/strcmp.S: Likewise.
31729
31730 2010-08-14 Ulrich Drepper <drepper@redhat.com>
31731
31732 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31733 strncase_l-nonascii.
31734 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31735 Add strncase_l-ssse3.
31736 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31737 * sysdeps/x86_64/strcmp.S: Likewise.
31738 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31739 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31740 * sysdeps/x86_64/strncase.S: New file.
31741 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31742 * sysdeps/x86_64/strncase_l.S: New file.
31743 * string/Makefile (strop-tests): Add strncasecmp.
31744 * string/test-strncasecmp.c: New file.
31745
31746 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31747 warning.
31748
31749 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31750 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31751
31752 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31753
31754 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31755
31756 2010-08-12 Ulrich Drepper <drepper@redhat.com>
31757
31758 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31759 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31760 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31761
31762 2010-05-01 Alan Modra <amodra@gmail.com>
31763
31764 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31765 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31766 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31767 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31768 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31769 tidying. Don't tail-call __sigjmp_save for static lib.
31770 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31771 save location.
31772 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31773 (CALL_MCOUNT): Add eh info, and nop after bl.
31774 (TAIL_CALL_SYSCALL_ERROR): New macro.
31775 (PSEUDO_RET): Use it.
31776 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31777 Correct save location of integer regs and cr.
31778 (_dl_profile_resolve): Correct cr save location. Delete nops
31779 after bl when SHARED. Reduce cfi size a little by better
31780 placement of cfi directives.
31781 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31782 make a stack frame. Instead use parm save area as a temp.
31783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31784 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31786 Don't make a stack frame for parent, use parm save area.
31787 Increase child stack frame to 112 bytes. Don't save unused reg,
31788 and adjust reg usage. Set up cfi on error recovery and
31789 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31791 (__makecontext): Add dummy nop after jump to exit.
31792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31793 Use correct parm save area and cr save, reduce stack frame.
31794 Correct cfi for possible PSEUDO_RET frame setup.
31795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31796 Branch to local label emitted by PSEUDO_RET rather than
31797 __syscall_error.
31798
31799 2010-08-12 Andreas Schwab <schwab@redhat.com>
31800
31801 [BZ #11904]
31802 * locale/programs/locale.c (print_assignment): New function.
31803 (show_locale_vars): Use it.
31804
31805 2010-08-11 Ulrich Drepper <drepper@redhat.com>
31806
31807 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31808 field.
31809 (struct statfs64): Likewise.
31810 (_STATFS_F_FLAGS): Define.
31811 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31812 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31813 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31814 (ST_VALID): Define locally.
31815 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31816 __statvfs_getflags, use the provided value.
31817 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31818 __ASSUME_STATFS_F_FLAGS.
31819
31820 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31821
31822 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31823 Add sys/fanotify.h.
31824 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31825 fanotify_mask for GLIBC_2.13.
31826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31827 fanotify_init and fanotify_mark.
31828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31829 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31830
31831 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31832 Add prlimit.
31833 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31834 prlimit64 for GLIBC_2.13.
31835 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31836 prlimit64.
31837 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31838 syscall.
31839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31840 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31841 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31842 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31844 add prlimit alias.
31845 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31846
31847 [BZ #11903]
31848 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31849 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31850
31851 * nss/Makefile: Add rules to build and run tst-nss-test1.
31852 * shlib-versions: Add entry for libnss_test1.
31853 * nss/nss_test1.c: New file.
31854 * nss/tst-nss-test1.c: New file.
31855
31856 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31857 (__nss_configure_lookup): Set appropriate entry in
31858 __nss_configure_lookup to true.
31859 * nss/nsswitch.h: Define enum with indeces of databases in
31860 databases and __nss_database_custom arrays. Declare
31861 __nss_database_custom.
31862 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31863 to avoid using nscd when custom rules are installed.
31864 * nss/getXXbyYY_r.c: Likewise.
31865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31866
31867 * nss/nss_files/files-parse.c: Whitespace fixes.
31868
31869 2010-08-09 Ulrich Drepper <drepper@redhat.com>
31870
31871 [BZ #11883]
31872 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31873 * posix/fnmatch_loop.c: Likewise.
31874
31875 2010-07-17 Andi Kleen <ak@linux.intel.com>
31876
31877 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31878 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31879 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31880 * Versions.def [GLIBC_2.13]: Add.
31881
31882 2010-08-06 Ulrich Drepper <drepper@redhat.com>
31883
31884 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31885 Also fail if tpwd after pwuid call is NULL.
31886
31887 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31888
31889 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31890 when converting to ms.
31891
31892 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31893
31894 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31895 EOPNOTSUPP errors with ENOTTY.
31896 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31897 EOPNOTSUPP errors with ENOTTY.
31898
31899 2010-07-31 Ulrich Drepper <drepper@redhat.com>
31900
31901 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31902 Add strcasecmp_l-ssse3.
31903 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31904 strcasecmp.
31905 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31906 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31907 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31908
31909 2010-07-30 Ulrich Drepper <drepper@redhat.com>
31910
31911 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31912
31913 * string/Makefile (strop-tests): Add strcasecmp.
31914 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31915 strcasecmp_l-nonascii.
31916 (gen-as-const-headers): Add locale-defines.sym.
31917 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31918 * sysdeps/x86_64/strcasecmp.S: New file.
31919 * sysdeps/x86_64/strcasecmp_l.S: New file.
31920 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31921 * sysdeps/x86_64/locale-defines.sym: New file.
31922 * string/test-strcasecmp.c: New file.
31923
31924 * string/test-strcasestr.c: Test both ends of the range of characters.
31925 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31926
31927 2010-07-29 Roland McGrath <roland@redhat.com>
31928
31929 [BZ #11856]
31930 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31931
31932 2010-07-27 Ulrich Drepper <drepper@redhat.com>
31933
31934 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31935 for ld.so.
31936
31937 2010-07-27 Andreas Schwab <schwab@redhat.com>
31938
31939 * manual/memory.texi (Malloc Tunable Parameters): Document
31940 M_PERTURB.
31941
31942 2010-07-26 Roland McGrath <roland@redhat.com>
31943
31944 [BZ #11840]
31945 * configure.in (-fgnu89-inline check): Set and substitute
31946 gnu89_inline, not libc_cv_gnu89_inline.
31947 * configure: Regenerated.
31948 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31949
31950 2010-07-26 Ulrich Drepper <drepper@redhat.com>
31951
31952 * string/test-strnlen.c: New file.
31953 * string/Makefile (strop-tests): Add strnlen.
31954 * string/tester.c (test_strnlen): Add a few more test cases.
31955 * string/tst-strlen.c: Better error reporting.
31956
31957 * sysdeps/x86_64/strnlen.S: New file.
31958
31959 2010-07-24 Ulrich Drepper <drepper@redhat.com>
31960
31961 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31962 lower-latency instructions.
31963
31964 2010-07-23 Ulrich Drepper <drepper@redhat.com>
31965
31966 * string/test-strcasestr.c: New file.
31967 * string/test-strstr.c: New file.
31968 * string/Makefile (strop-tests): Add strstr and strcasestr.
31969 * string/str-two-way.h: Don't undefine MAX.
31970 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31971
31972 2010-07-21 Andreas Schwab <schwab@redhat.com>
31973
31974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31975 strcasestr-nonascii.
31976 (CFLAGS-strcasestr-nonascii.c): Define.
31977 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31979 Remove unused attribute.
31980
31981 2010-07-20 Roland McGrath <roland@redhat.com>
31982
31983 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31984 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31985 ld.so.cache was broken. With it, there is no way to disable dsocaps
31986 like LD_HWCAP_MASK can disable hwcaps.
31987
31988 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31989
31990 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31991
31992 2010-07-16 Ulrich Drepper <drepper@redhat.com>
31993
31994 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31995 call in strcasestr.
31996 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31997 __strcasestr_sse42_nonascii.
31998 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31999 strcasestr-nonascii.c.
32000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32001
32002 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32003
32004 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32005 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32006 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32007 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32008
32009 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32010
32011 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32012 fcntl.
32013
32014 2010-07-06 Andreas Schwab <schwab@redhat.com>
32015
32016 [BZ #11577]
32017 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32018 dl_signal_cerror.
32019
32020 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32021
32022 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32023 _PC_PIPE_BUF using F_GETPIPE_SZ.
32024
32025 2010-07-05 Roland McGrath <roland@redhat.com>
32026
32027 * manual/arith.texi (Rounding Functions): Fix rint description
32028 implicit in round description.
32029
32030 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32031
32032 * elf/Makefile: Fix linking for a few tests to make recent linker
32033 happy.
32034
32035 2010-06-30 Andreas Schwab <schwab@redhat.com>
32036
32037 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32038 $(common-objpfx)libc_nonshared.a.
32039
32040 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32041
32042 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32043 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32044 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32045 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32046 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32047 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32048 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32049 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32064 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32065 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32066 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32067 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32068 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32069 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32070 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32071 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32072 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32073 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32074 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32075 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32090
32091 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32092
32093 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32094 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32095 * string/memmove.c (memmove): Renamed to ...
32096 (MEMMOVE): ...this. Default to memmove.
32097 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32098 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32099 (END_CHK): Define.
32100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32101 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32102 mempcpy-ssse3-back memmove-ssse3-back.
32103 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32104 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32105 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32106 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32107 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32108 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32109 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32110 * sysdeps/x86_64/multiarch/memmove.c: New file.
32111 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32112 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32113 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32114 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32115 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32116 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32117 Define.
32118 (index_Fast_Copy_Backward): Define.
32119 (HAS_ARCH_FEATURE): Define.
32120 (HAS_FAST_REP_STRING): Define.
32121 (HAS_FAST_COPY_BACKWARD): Define.
32122
32123 2010-06-21 Andreas Schwab <schwab@redhat.com>
32124
32125 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32126 Restore proper fallback handling.
32127
32128 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32129
32130 [BZ #11701]
32131 * posix/group_member.c (__group_member): Correct checking loop.
32132
32133 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32134 OOM in getpwuid_r correctly. Return error number when the caller
32135 should return, otherwise -1.
32136 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32137 call returning > 0 value.
32138 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32139
32140 2010-06-07 Andreas Schwab <schwab@redhat.com>
32141
32142 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32143 libc_nonshared.a from targets in modules-names.
32144
32145 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32146
32147 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32148 requires it.
32149
32150 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32151
32152 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32153 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32154 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32156
32157 2010-06-02 Andreas Schwab <schwab@redhat.com>
32158
32159 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32160
32161 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32162
32163 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32164 and F_GETPIPE_SZ.
32165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32167 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32170 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32171
32172 2010-06-14 Roland McGrath <roland@redhat.com>
32173
32174 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32175
32176 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32177
32178 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32179 __REDIRECT followed by __THROW.
32180 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32181 * posix/getopt.h (getopt): Likewise.
32182
32183 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32184
32185 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32186 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32187 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32188 in AT_FLAGS.
32189 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32190 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32191
32192 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32193
32194 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32195
32196 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32197
32198 [BZ #11640]
32199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32200 Properly check family and model.
32201
32202 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32203
32204 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32205
32206 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32207
32208 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32209
32210 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32211
32212 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32213 symbol reference.
32214
32215 2010-05-19 Andreas Schwab <schwab@redhat.com>
32216
32217 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32218 symbol reference.
32219
32220 2010-05-21 Andreas Schwab <schwab@redhat.com>
32221
32222 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32223 and internal_recvmmsg.
32224 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32225 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32226 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32227 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32228
32229 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32230 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32231 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32232
32233 2010-05-20 Andreas Schwab <schwab@redhat.com>
32234
32235 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32236
32237 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32238
32239 POWER7 optimizations.
32240 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32241 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32242
32243 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32244
32245 * version.h: Update for 2.13 development version.
32246
32247 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32248
32249 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32250 exceptions. Return 0.
32251
32252 2010-05-07 Roland McGrath <roland@redhat.com>
32253
32254 * elf/ldconfig.c (main): Add a const.
32255
32256 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32257
32258 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32259 (args_options): Add no-idn option.
32260 (ahosts_keys_int): Add idn_flags to ai_flags.
32261 (parse_option): Handle 'i' option to clear idn_flags.
32262
32263 * malloc/malloc.c (_int_free): Possible race in the most recently
32264 added check. Only act on the data if no current modification
32265 happened.
32266
32267 See ChangeLog.17 for earlier changes.