]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
PowerPC: use _dl_static_init to set GLRO(gl_pagesize)
[thirdparty/glibc.git] / ChangeLog
1 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4 variable page size.
5 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8
9 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10
11 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12
13 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14 Andreas Schwab <schwab@suse.de>
15 Roland McGrath <roland@hack.frob.com>
16 Joseph Myers <joseph@codesourcery.com>
17 Carlos O'Donell <carlos@redhat.com>
18
19 [BZ #15755]
20 * config.h.in: Define HAVE_PT_CHOWN.
21 * config.make.in (build-pt-chown): New variable.
22 * configure.in (--enable-pt_chown): New configure option.
23 * configure: Regenerate.
24 * login/Makefile: Include Makeconfig. Build pt_chown only if
25 build-pt-chown is enabled.
26 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27 pt_chown to fix pty ownership.
28 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29 CLOSE_ALL_FDS.
30 * manual/install.texi (Configuring and compiling): Mention
31 --enable-pt_chown. Add @findex for grantpt.
32 * INSTALL: Regenerate.
33
34 2013-07-20 David S. Miller <davem@davemloft.net>
35
36 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
37 difference between 32-bit and 64-bit.
38
39 2013-07-15 Carlos O'Donell <carlos@redhat.com>
40
41 [BZ #15711]
42 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43 Avoid system header dependency with -ffreestanding.
44 ($(objpfx)bits/syscall%d): Likewise.
45
46 2013-07-13 David S. Miller <davem@davemloft.net>
47
48 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49 underflows from atanl/atan2l due to bug 15319.
50 (casinh_test_data): Likewise.
51
52 2013-07-07 David S. Miller <davem@davemloft.net>
53
54 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55
56 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
57
58 * sysdeps/i386/fpu/libm-test-ulps: Update.
59 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60
61 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62
63 * configure.in (--enable-lock-elision): Fix message text.
64 * INSTALL: Regenerate.
65 * configure: Regenerate.
66
67 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68
69 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70
71 2013-07-03 Andreas Jaeger <aj@suse.de>
72
73 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
74 define.
75 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
76 (ptrace_peeksiginfo_args): Add.
77 (__ptrace_peeksiginfo_flags): Add.
78 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81
82 2013-07-03 Allan McRae <allan@archlinux.org>
83
84 * sysdeps/i386/fpu/libm-test-ulps: Update.
85
86 2013-07-02 David S. Miller <davem@davemloft.net>
87
88 * sysdeps/sparc/fpu/libm-test-ulps: Update.
89
90 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
91
92 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
93
94 2013-07-02 Joseph Myers <joseph@codesourcery.com>
95
96 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
97 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
98
99 2013-07-02 Andi Kleen <ak@linux.intel.com>
100
101 * config.h.in (ENABLE_LOCK_ELISION): Add.
102 * configure.in (--enable-lock-elision): Add option.
103 * manual/install.texi: Document --enable lock elision.
104 * configure: Regenerate
105 * INSTALL: Regenerate.
106
107 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
108
109 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
110 SSE4.2 strcasecmp for libc.a.
111 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
112
113 2013-07-02 Joseph Myers <joseph@codesourcery.com>
114
115 [BZ #13304]
116 * soft-fp/op-common.h (_FP_FMA): New macro.
117 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
118 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
119 (_FP_MUL_MEAT_1_imm): ... here.
120 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
121 (_FP_MUL_MEAT_1_wide): ... here.
122 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
123 (_FP_MUL_MEAT_1_hard): ... here.
124 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
125 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
126 (_FP_MUL_MEAT_2_wide): ... here.
127 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
128 (_FP_MUL_MEAT_2_wide_3mul): ... here.
129 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
130 (_FP_MUL_MEAT_2_gmp): ... here.
131 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
132 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
133 (_FP_MUL_MEAT_4_wide): ... here.
134 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
135 (_FP_MUL_MEAT_4_gmp): ... here.
136 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
137 (_FP_WFRACBITS_DW_S): Likewise.
138 (_FP_WFRACXBITS_DW_S): Likewise.
139 (_FP_HIGHBIT_DW_S): Likewise.
140 (FP_FMA_S): Likewise.
141 (_FP_FRAC_HIGH_DW_S): Likewise.
142 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
143 (_FP_WFRACBITS_DW_D): Likewise.
144 (_FP_WFRACXBITS_DW_D): Likewise.
145 (_FP_HIGHBIT_DW_D): Likewise.
146 (FP_FMA_D): Likewise.
147 (_FP_FRAC_HIGH_DW_D): Likewise.
148 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
149 (_FP_WFRACBITS_DW_E): Likewise.
150 (_FP_WFRACXBITS_DW_E): Likewise.
151 (_FP_HIGHBIT_DW_E): Likewise.
152 (FP_FMA_E): Likewise.
153 (_FP_FRAC_HIGH_DW_E): Likewise.
154 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
155 (_FP_WFRACBITS_DW_Q): Likewise.
156 (_FP_WFRACXBITS_DW_Q): Likewise.
157 (_FP_HIGHBIT_DW_Q): Likewise.
158 (FP_FMA_Q): Likewise.
159 (_FP_FRAC_HIGH_DW_Q): Likewise.
160 * soft-fp/fmasf4.c: New file.
161 * soft-fp/fmadf4.c: Likewise.
162 * soft-fp/fmatf4.c: Likewise.
163
164 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
165
166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
167 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
168 Silvermont.
169 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
170 macro.
171 (index_Slow_SSE4_2): Likewise.
172 (index_Prefer_PMINUB_for_stringop): Likewise.
173 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
174 bit_Slow_SSE4_2 is set.
175 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
176 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
177
178 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
179
180 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
181 rtld_global._dl_hwcap2.
182 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
183 POWER8.
184 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
185 POWER8 feature descriptions defined in _dl_hwcap2.
186 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
187 string handling for POWER8 feature bits.
188 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
189 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
190 _dl_powerpc_cap_flags.
191 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
192 * sysdeps/powerpc/rtld-global-offsets.sym
193 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
194 _dl_hwcap2 in the rtld_global_ro structure.
195
196 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
197
198 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
199 hardware capabilities in support of AT_HWCAP2.
200 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
201 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
202 GLRO(dl_hwcap2).
203 (_dl_show_auxv): Add support for calling _dl_procinfo to display
204 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
205 explicitly the unknown a_type display mechanism is used.
206 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
207 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
208 struct member.
209 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
210 to macro prototype for AT_HWCAP2 support.
211 * sysdeps/i386/dl-procinfo.h: Likewise.
212 * sysdeps/s390/dl-procinfo.h: Likewise.
213 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
214 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
215 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
216 return -1 for unknown a_type display fallback.
217 * sysdeps/sparc/dl-procinfo.h: Likewise.
218 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
219 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
220
221 2013-06-28 Joseph Myers <joseph@codesourcery.com>
222
223 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
224 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
225
226 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
227
228 [BZ #12492]
229 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
230 mprotect making __stack_prot writable.
231
232 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
233 Joseph Myers <joseph@codesourcery.com>
234
235 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
236 as being properly aligned.
237
238 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
239
240 * dlfcn/modstatic5.c: New file.
241 * dlfcn/tststatic5.c: New file.
242 * dlfcn/Makefile (tests): Add tststatic5.
243 (tests-static): Likewise.
244 (modules-names): Add modstatic5.
245 (tststatic5-ENV): New variable.
246 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
247
248 [BZ #15022]
249 * elf/dl-support.c (_dl_main_map): New variable.
250 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
251 (_dl_nns, _dl_load_adds): Set to 1.
252 (_dl_initial_searchlist): Refer to _dl_main_map.
253 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
254 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
255 call to _dl_get_origin.
256 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
257 around call_map.
258 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
259 * dlfcn/modstatic3.c: New file.
260 * dlfcn/tststatic3.c: New file.
261 * dlfcn/tststatic4.c: New file.
262 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
263 (tests-static): Likewise.
264 (modules-names): Add modstatic3.
265 (tststatic3-ENV, tststatic4-ENV): New variables.
266 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
267 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
268
269 2013-06-26 Joseph Myers <joseph@codesourcery.com>
270
271 * configure.in (CC): Require GCC version 4.4 or later.
272 * configure: Regenerated.
273 * manual/install.texi (Tools for Compilation): Update GCC version
274 requirement.
275 * INSTALL: Regenerated.
276
277 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
278
279 [BZ #15674]
280 * string/test-memcmp.c (check2): New.
281 (main): Call check2.
282
283 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
284
285 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
286
287 [BZ #15022]
288 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
289 over to...
290 (dl_open_worker) [!SHARED]: ... here.
291
292 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
293
294 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
295
296 2013-06-25 Richard Henderson <rth@redhat.com>
297
298 * locale/programs/locarchive.c: Include <libc-internal.h>
299
300 2013-06-25 Joseph Myers <joseph@codesourcery.com>
301
302 * manual/texinfo.tex: Update to version 2013-06-21.17, with
303 trailing whitespace removed.
304
305 2013-06-24 Mike Frysinger <vapier@gentoo.org>
306
307 [BZ #10283]
308 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
309 * locale/programs/locarchive.c: Include libc-mmap.h.
310 (prepare_address_space): Take two new outputs (the mmap base and len).
311 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
312 values.
313 (create_archive): Declare new mmap base and len values for
314 prepare_address_space, and store the result in ah.
315 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
316 (enlarge_archive): If ah->mmap_base is not NULL, use that and
317 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
318 Declare new mmap base and len values for
319 prepare_address_space, and store the result in new_ah.
320 (open_archive): Declare new mmap base and len values for
321 prepare_address_space, and store the result in ah.
322 (close_archive): If ah->mmap_base is not NULL, use that and
323 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
324 * sysdeps/generic/libc-mmap.h: New file.
325
326 2013-06-24 Mike Frysinger <vapier@gentoo.org>
327
328 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
329 (ALIGN_UP): Likewise.
330 (PTR_ALIGN_DOWN): Likewise.
331 (PTR_ALIGN_UP): Likewise.
332
333 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
334
335 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
336 entry mapped to PPC_PLATFORM_POWER8.
337 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
338 POWER8.
339 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
340 (_dl_string_platform): Add case for exporting platform position for
341 POWER8.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
343 search path to sysdeps/powerpc/powerpc32/power8 directory.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
345 search path to sysdeps/powerpc/powerpc64/power8 directory.
346 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
347 power7 directories.
348 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
349 power7 directories.
350
351 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
352
353 * INSTALL: Regenerate.
354
355 * nscd/connections.c (nscd_init): Fix comment.
356
357 2013-06-22 Joseph Myers <joseph@codesourcery.com>
358
359 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
360
361 [BZ #15667]
362 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
363 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
364
365 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
366
367 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
368 DL_DST_REQ_STATIC.
369 (DL_DST_REQ_STATIC): Remove macro.
370
371 2013-06-21 Joseph Myers <joseph@codesourcery.com>
372
373 [BZ #7006]
374 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
375 with a shift of 0 bits.
376
377 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
378
379 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
380 $(tststatic-ENV).
381
382 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
383
384 [BZ #15655]
385 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
386
387 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
388
389 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
390 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
391 accepts -fno-tree-loop-distribute-patterns.
392 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
393 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
394 recursive call.
395 * string/memset.c (memset): Likewise.
396 * string/test-memmove.c (simple_memmove): Disable loop transformation
397 to library calls.
398 * string/test-memset.c (simple_memset): Likewise.
399 * benchtests/bench-memmove.c (simple_memmove): Likewise.
400 * benchtests/bench-memset.c (simple_memset): Likewise.
401 * configure: Regenerated.
402
403 2013-06-20 Joseph Myers <joseph@codesourcery.com>
404
405 * math/test-misc.c (main): Ignore fesetround failure when failures
406 of subsequent rounding tests would be ignored.
407
408 [BZ #15654]
409 * math/fedisblxcpt.c (fedisableexcept): Return 0.
410 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
411 * math/fegetenv.c (__fegetenv): Return 0.
412 * math/fegetexcept.c (fegetexcept): Return 0.
413 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
414 FE_TONEAREST.
415 * math/feholdexcpt.c (feholdexcept): Return 0.
416 * math/fesetenv.c (__fesetenv): Return 0.
417 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
418 argument FE_TONEAREST.
419 * math/feupdateenv.c (__feupdateenv): Return 0.
420 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
421
422 2013-06-18 Roland McGrath <roland@hack.frob.com>
423
424 * elf/rtld-Rules (rtld-compile-command.S): New variable.
425 (rtld-compile-command.s, rtld-compile-command.c): New variables.
426 ($(objpfx)rtld-%.os rules): Use them.
427
428 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
429
430 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
431 fields.
432
433 2013-06-17 Roland McGrath <roland@hack.frob.com>
434
435 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
436 length of target pattern, then descending length of dependency pattern.
437 * configure.in (AWK): Require gawk 3.1.2 or newer.
438 * manual/install.texi (Tools for Compilation): Say that we do.
439 * configure: Regenerated.
440
441 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
442 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
443 * scripts/sysd-rules.awk: ... this new script.
444 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
445 than a glob-style pattern.
446
447 2013-06-17 Joseph Myers <joseph@codesourcery.com>
448
449 * math/test-misc.c (main): Do not treat incorrectly rounded
450 conversions as failure unless ROUNDING_TESTS passes.
451
452 2013-06-15 Joseph Myers <joseph@codesourcery.com>
453
454 [BZ #15631]
455 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
456 restore exception state around main square root computation, then
457 check for inexactness explicitly.
458
459 * math/libm-test.inc (fma_test_data): Add another test.
460
461 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
462
463 * manual/threads.texi (Non-POSIX Extensions): New document
464 node. Document pthread_getattr_default_np and
465 pthread_setattr_default_np.
466
467 * Versions.def (libpthread): Add GLIBC_2.18.
468 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
470 Likewise.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
472 Likewise.
473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
474 Likewise.
475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
476 Likewise.
477 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
478 Likewise.
479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
480 Likewise.
481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
482 Likewise.
483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
484 Likewise.
485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
486 Likewise.
487
488 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
489
490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
491 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
492
493 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
494 H.J. Lu <hjl.tools@gmail.com>
495
496 [BZ #15627]
497 * sysdeps/x86_64/rtld-memset.c: Remove file.
498 * sysdeps/x86_64/rtld-memset.S: New file.
499
500 2013-06-14 Joseph Myers <joseph@codesourcery.com>
501
502 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
503 (test_in_one_mode): Take arguments for whether the rounding mode
504 is supported for each floating-point type.
505 (do_test): Pass new arguments to test_in_one_mode using
506 ROUNDING_TESTS.
507
508 2013-06-13 Roland McGrath <roland@hack.frob.com>
509
510 * posix/tst-waitid.c (do_test): Distinguish different instances of
511 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
512 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
513 before entering the kernel for waitpid.
514
515 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
516
517 * NEWS: Fix note on clock function precision. Text by Roland
518 McGrath.
519
520 2013-06-13 Roland McGrath <roland@hack.frob.com>
521
522 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
523 it into place only when and if the sanity check passes.
524
525 2013-06-13 Joseph Myers <joseph@codesourcery.com>
526
527 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
528 output for whether conversion result is exact. Take argument
529 indicating whether type is IBM long double.
530 (round_for_all): Change need_exact field to ibm_ld.
531 * stdlib/tst-strtod-round.c (struct exactness): New type.
532 (struct test): Change bool ld_ok field to struct exactness exact.
533 (TEST): Update all definitions for change to field.
534 (tests): Regenerate array contents.
535 (test_in_one_mode): Take pointer to new field instead of old ld_ok
536 field value. Check for IBM long double here.
537 (do_test): Update calls to test_in_one_mode.
538
539 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
540
541 [BZ #12515]
542 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
543 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
544
545 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
546
547 [BZ #15605]
548 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
549 generated by the compiler on loop optimizations.
550 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
551 general definitions.
552
553 2013-06-12 Joseph Myers <joseph@codesourcery.com>
554
555 * math/bug-nextafter.c: Include <math-tests.h>.
556 (main): Only test for exceptions if EXCEPTION_TESTS is true for
557 the relevant type.
558 * math/bug-nexttoward.c: Include <math-tests.h>.
559 (main): Only test for exceptions if EXCEPTION_TESTS is true for
560 the relevant type.
561 * math/test-misc.c: Include <math-tests.h>.
562 (main): Only test for exceptions if EXCEPTION_TESTS is true for
563 the relevant type.
564
565 2013-06-12 Andreas Jaeger <aj@suse.de>
566
567 * po/ia.po: Update Interlingua translation from translation
568 project.
569
570 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
571
572 * include/fenv.h: Include stdbool.h.
573 (struct rm_ctx): New structure.
574 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
575 Define macro.
576 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
577 (SET_RESTORE_ROUNDF): Likewise.
578 (SET_RESTORE_ROUNDL): Likewise.
579 (SET_RESTORE_ROUND_NOEX): Likewise.
580 (SET_RESTORE_ROUND_NOEXF): Likewise.
581 (SET_RESTORE_ROUND_NOEXL): Likewise.
582 (SET_RESTORE_ROUND_53BIT): Likewise.
583 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
584 (libc_feresetround_noexf_ctx): Likewise.
585 (libc_feresetround_noexl_ctx): Likewise.
586 (libc_feholdsetround_53bit_ctx): Likewise.
587 (libc_feresetround_53bit_ctx): Likewise.
588 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
589 (libc_feholdexcept_setround_sse_ctx): New function.
590 (libc_fesetenv_sse_ctx): Likewise.
591 (libc_feupdateenv_sse_ctx): Likewise.
592 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
593 (libc_feholdexcept_setround_387_ctx): Likewise.
594 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
595 (libc_feholdsetround_387_prec_ctx): Likewise.
596 (libc_feholdsetround_387_ctx): Likewise.
597 (libc_feholdsetround_387_53bit_ctx): Likewise.
598 (libc_feholdsetround_sse_ctx): Likewise.
599 (libc_feresetround_sse_ctx): Likewise.
600 (libc_feresetround_387_ctx): Likewise.
601 (libc_feupdateenv_387_ctx): Likewise.
602 (libc_feholdexcept_setroundf_ctx): Define macro.
603 (libc_fesetenvf_ctx): Likewise.
604 (libc_feupdateenvf_ctx): Likewise.
605 (libc_feholdsetroundf_ctx): Likewise.
606 (libc_feresetroundf_ctx): Likewise.
607 (libc_feholdexcept_setround_ctx): Likewise.
608 (libc_fesetenv_ctx): Likewise.
609 (libc_feupdateenv_ctx): Likewise.
610 (libc_feholdsetround_ctx): Likewise.
611 (libc_feresetround_ctx): Likewise.
612 (libc_feholdexcept_setroundl_ctx): Likewise.
613 (libc_feupdateenvl_ctx): Likewise.
614 (libc_feholdsetroundl_ctx): Likewise.
615 (libc_feresetroundl_ctx): Likewise.
616 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
617 (libc_feresetround_53bit_ctx): Likewise.
618
619 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
620
621 * locale/iso-639.def: Convert to UTF-8.
622
623 2013-06-11 Joseph Myers <joseph@codesourcery.com>
624
625 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
626 (EXCEPTION_TESTS_double): Likewise.
627 (EXCEPTION_TESTS_long_double): Likewise.
628 (EXCEPTION_TESTS): Likewise.
629 * math/libm-test.inc (test_exceptions): Only test exceptions if
630 EXCEPTION_TESTS (FLOAT).
631
632 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
633
634 * benchtests/Makefile (string-bench): Add strcpy_chk and
635 stpcpy_chk.
636 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
637 * benchtests/bench-stpcpy_chk.c: New file.
638 * benchtests/bench-strcpy_chk-ifunc.c: New file.
639 * benchtests/bench-strcpy_chk.c: New file.
640 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
641 code.
642 (do_test): Likewise.
643
644 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
645
646 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
647 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
648 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
649 with tabs where appropriate.
650 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
651 dl-procinfo.h.
652 [PPC_PLATFORM_PPC440]: Likewise.
653 [PPC_PLATFORM_PPC464]: Likewise.
654 [PPC_PLATFORM_PPC476]: Likewise.
655 (_dl_string_platform): Add support for detecting ppc405, ppc440,
656 ppc464, and ppc476 platform strings merging from ports/
657 dl-procinfo.h.
658
659 2013-06-11 Andreas Schwab <schwab@suse.de>
660
661 [BZ #14991]
662 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
663 (from_ucs4_idx): Regenerate.
664 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
665 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
666 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
667 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
668 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
669 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
670 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
671 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
672 from FROM_LOOP and TO_LOOP specific macros.
673 (BODY): Handle combining characters.
674 * iconvdata/BIG5HKSCS.irreversible: Update.
675 * iconvdata/BIG5HKSCS.precomposed: New file.
676 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
677 characters.
678 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
679
680 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
681
682 * include/sys/time.h: Fix indentation and add copyright header.
683
684 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
685 (do_test): Likewise.
686 * string/test-memchr.c (do_one_test): Likewise.
687 (do_test): Likewise.
688 * string/test-memcmp.c (do_one_test): Likewise.
689 (do_test): Likewise.
690 * string/test-memcpy.c (do_one_test): Likewise.
691 (do_test): Likewise.
692 * string/test-memmem.c (do_one_test): Likewise.
693 (do_test): Likewise.
694 (do_random_tests): Likewise.
695 * string/test-memmove.c (do_one_test): Likewise.
696 (do_test): Likewise.
697 * string/test-memset.c (do_one_test): Likewise.
698 (do_test): Likewise.
699 * string/test-rawmemchr.c (do_one_test): Likewise.
700 (do_test): Likewise.
701 * string/test-strcasecmp.c (do_one_test): Likewise.
702 (do_test): Likewise.
703 * string/test-strcasestr.c (do_one_test): Likewise.
704 (do_test): Likewise.
705 * string/test-strcat.c (do_one_test): Likewise.
706 (do_test): Likewise.
707 * string/test-strchr.c (do_one_test): Likewise.
708 (do_test): Likewise.
709 * string/test-strcmp.c (do_one_test): Likewise.
710 (do_test): Likewise.
711 * string/test-strcpy.c (do_one_test): Likewise.
712 (do_test): Likewise.
713 * string/test-string.h: Likewise.
714 (test_init): Likewise.
715 * string/test-strlen.c (do_one_test): Likewise.
716 (do_test): Likewise.
717 * string/test-strncasecmp.c (do_one_test): Likewise.
718 (do_test): Likewise.
719 * string/test-strncat.c (do_one_test): Likewise.
720 (do_test): Likewise.
721 * string/test-strncmp.c (do_one_test): Likewise.
722 (do_test_limit): Likewise.
723 (do_test): Likewise.
724 * string/test-strncpy.c (do_one_test): Likewise.
725 (do_test): Likewise.
726 * string/test-strnlen.c (do_one_test): Likewise.
727 (do_test): Likewise.
728 * string/test-strpbrk.c (do_one_test): Likewise.
729 (do_test): Likewise.
730 * string/test-strrchr.c (do_one_test): Likewise.
731 (do_test): Likewise.
732 * string/test-strspn.c (do_one_test): Likewise.
733 (do_test): Likewise.
734 * string/test-strstr.c (do_one_test): Likewise.
735 (do_test): Likewise.
736
737 * benchtests/Makefile (string-bench): Add string benchmarks.
738 * benchtests/bench-bcopy-ifunc.c: New file.
739 * benchtests/bench-bcopy.c: New file.
740 * benchtests/bench-bzero-ifunc.c: New file.
741 * benchtests/bench-bzero.c: New file.
742 * benchtests/bench-memccpy-ifunc.c: New file.
743 * benchtests/bench-memccpy.c: New file.
744 * benchtests/bench-memchr-ifunc.c: New file.
745 * benchtests/bench-memchr.c: New file.
746 * benchtests/bench-memcmp-ifunc.c: New file.
747 * benchtests/bench-memcmp.c: New file.
748 * benchtests/bench-memmem-ifunc.c: New file.
749 * benchtests/bench-memmem.c: New file.
750 * benchtests/bench-memmove-ifunc.c: New file.
751 * benchtests/bench-memmove.c: New file.
752 * benchtests/bench-mempcpy-ifunc.c: New file.
753 * benchtests/bench-mempcpy.c: New file.
754 * benchtests/bench-memset-ifunc.c: New file.
755 * benchtests/bench-memset.c: New file.
756 * benchtests/bench-rawmemchr-ifunc.c: New file.
757 * benchtests/bench-rawmemchr.c: New file.
758 * benchtests/bench-stpcpy-ifunc.c: New file.
759 * benchtests/bench-stpcpy.c: New file.
760 * benchtests/bench-stpncpy-ifunc.c: New file.
761 * benchtests/bench-stpncpy.c: New file.
762 * benchtests/bench-strcasecmp-ifunc.c: New file.
763 * benchtests/bench-strcasecmp.c: New file.
764 * benchtests/bench-strcasestr-ifunc.c: New file.
765 * benchtests/bench-strcasestr.c: New file.
766 * benchtests/bench-strcat-ifunc.c: New file.
767 * benchtests/bench-strcat.c: New file.
768 * benchtests/bench-strchr-ifunc.c: New file.
769 * benchtests/bench-strchr.c: New file.
770 * benchtests/bench-strchrnul-ifunc.c: New file.
771 * benchtests/bench-strchrnul.c: New file.
772 * benchtests/bench-strcmp-ifunc.c: New file.
773 * benchtests/bench-strcmp.c: New file.
774 * benchtests/bench-strcpy-ifunc.c: New file.
775 * benchtests/bench-strcpy.c: New file.
776 * benchtests/bench-strcspn-ifunc.c: New file.
777 * benchtests/bench-strcspn.c: New file.
778 * benchtests/bench-strlen-ifunc.c: New file.
779 * benchtests/bench-strlen.c: New file.
780 * benchtests/bench-strncasecmp-ifunc.c: New file.
781 * benchtests/bench-strncasecmp.c: New file.
782 * benchtests/bench-strncat-ifunc.c: New file.
783 * benchtests/bench-strncat.c: New file.
784 * benchtests/bench-strncmp-ifunc.c: New file.
785 * benchtests/bench-strncmp.c: New file.
786 * benchtests/bench-strncpy-ifunc.c: New file.
787 * benchtests/bench-strncpy.c: New file.
788 * benchtests/bench-strnlen-ifunc.c: New file.
789 * benchtests/bench-strnlen.c: New file.
790 * benchtests/bench-strpbrk-ifunc.c: New file.
791 * benchtests/bench-strpbrk.c: New file.
792 * benchtests/bench-strrchr-ifunc.c: New file.
793 * benchtests/bench-strrchr.c: New file.
794 * benchtests/bench-strspn-ifunc.c: New file.
795 * benchtests/bench-strspn.c: New file.
796 * benchtests/bench-strstr-ifunc.c: New file.
797 * benchtests/bench-strstr.c: New file.
798
799 * benchtests/Makefile: Disable parallel execution of targets.
800 (string-bench): Add memcpy.
801 (benchset): New variable to store a list of benchmark sets.
802 (bench-func): Renamed from bench.
803 (bench-set): New target.
804 (bench): Depend on bench-func and bench-set.
805 * benchtests/README: Add section on benchmark sets.
806 * benchtests/bench-memcpy-ifunc.c: New file.
807 * benchtests/bench-memcpy.c: New file.
808 * benchtests/bench-string.h: New file.
809
810 2013-06-11 Andreas Schwab <schwab@suse.de>
811
812 [BZ #15577]
813 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
814 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
815 values in the triple.
816 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
817 terminator in the group key.
818
819 2013-06-11 Andreas Jaeger <aj@suse.de>
820
821 * po/zh_TW.po: Update Chinese (traditional) translation from
822 translation project.
823
824 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
825
826 * include/time.h (__clock_gettime): Add libc_hidden_proto.
827 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
828 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
829 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
830 (clock_getcpuclockid): Likewise.
831 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
832 Add weak_alias and libc_hidden_def.
833 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
834 * rt/clock_gettime.c (clock_gettime): Rename to
835 __clock_gettime. Add weak_alias and libc_hidden_def.
836 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
837 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
838 __clock_nanosleep. Add weak_alias and libc_hidden_def.
839 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
840 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
841 Likewise.
842 * rt/clock_settime.c (clock_settime): Rename to
843 __clock_settime. Add weak_alias and libc_hidden_def.
844 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
845
846 2013-06-10 Joseph Myers <joseph@codesourcery.com>
847
848 * mach/err_boot.sub: Remove trailing whitespace.
849 * mach/err_ipc.sub: Likewise.
850 * mach/err_mach.sub: Likewise.
851
852 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
853 (ROUNDING_TESTS_double): Likewise.
854 (ROUNDING_TESTS_long_double): Likewise.
855 (ROUNDING_TESTS): Likewise.
856 * math/libm-test.inc: Include <math-tests.h>.
857 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
858 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
859 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
860 (IF_ROUND_INIT_FE_UPWARD): Likewise.
861
862 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
863
864 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
865 of assigning.
866
867 2013-06-08 Joseph Myers <joseph@codesourcery.com>
868
869 * sysdeps/gnu/errlist.awk: Do not generate space at end of
870 otherwise empty TRANS lines.
871 * sysdeps/gnu/errlist.c: Regenerated.
872
873 * catgets/gencat.c (error_print): Use (void) in function
874 definition.
875 * crypt/crypt_util.c (__init_des): Likewise.
876 * crypt/speeds.c (Stop): Likewise.
877 (main): Likewise.
878 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
879 * inet/ruserpass.c (token): Likewise.
880 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
881 * intl/localealias.c (extend_alias_table): Likewise.
882 * intl/plural-exp.c (init_germanic_plural): Likewise.
883 * libio/fcloseall.c (__fcloseall): Likewise.
884 * libio/genops.c (_IO_flush_all): Likewise.
885 (_IO_flush_all_linebuffered): Likewise.
886 (_IO_cleanup): Likewise.
887 (_IO_iter_begin): Likewise.
888 (_IO_iter_end): Likewise.
889 (_IO_list_lock): Likewise.
890 (_IO_list_unlock): Likewise.
891 (_IO_list_resetlock): Likewise.
892 * libio/getchar.c (getchar): Likewise.
893 * libio/getchar_u.c (getchar_unlocked): Likewise.
894 * libio/getwchar.c (getwchar): Likewise.
895 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
896 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
897 * login/getpt.c (__getpt): Likewise.
898 * login/tst-utmp.c (main): Likewise.
899 * malloc/hooks.c (__malloc_check_init): Likewise.
900 * malloc/malloc.c (__malloc_stats): Likewise.
901 * malloc/mtrace.c (tr_break): Likewise.
902 (mtrace): Likewise.
903 (muntrace): Likewise.
904 * misc/fstab.c (endfsent): Likewise.
905 * misc/getclktck.c (__getclktck): Likewise.
906 * misc/getdtsz.c (__getdtablesize): Likewise.
907 * misc/gethostid.c (gethostid): Likewise.
908 * misc/getpagesize.c (__getpagesize): Likewise.
909 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
910 (__get_nprocs): Likewise.
911 (__get_phys_pages): Likewise.
912 (__get_avphys_pages): Likewise.
913 * misc/getttyent.c (getttyent): Likewise.
914 (setttyent): Likewise.
915 (endttyent): Likewise.
916 * misc/getusershell.c (getusershell): Likewise.
917 (endusershell): Likewise.
918 (setusershell): Likewise.
919 (initshells): Likewise.
920 * misc/hsearch.c (__hdestroy): Likewise.
921 * misc/sync.c (sync): Likewise.
922 * misc/syslog.c (closelog_internal): Likewise.
923 (closelog): Likewise.
924 * misc/ttyslot.c (ttyslot): Likewise.
925 * misc/vhangup.c (vhangup): Likewise.
926 * posix/fork.c (__fork): Likewise.
927 * posix/getegid.c (__getegid): Likewise.
928 * posix/geteuid.c (__geteuid): Likewise.
929 * posix/getgid.c (__getgid): Likewise.
930 * posix/getpid.c (__getpid): Likewise.
931 * posix/getppid.c (__getppid): Likewise.
932 * posix/getuid.c (__getuid): Likewise.
933 * posix/pause.c (pause): Likewise.
934 * posix/setpgrp.c (setpgrp): Likewise.
935 * posix/setsid.c (__setsid): Likewise.
936 * posix/test-vfork.c (noop): Likewise.
937 * resolv/gethnamaddr.c (_endhtent): Likewise.
938 (_gethtent): Likewise.
939 (ht_endhostent): Likewise.
940 (gethostent): Likewise.
941 (dns_service): Likewise.
942 * stdlib/drand48.c (drand48): Likewise.
943 * stdlib/lrand48.c (lrand48): Likewise.
944 * stdlib/mrand48.c (mrand48): Likewise.
945 * stdlib/rand.c (rand): Likewise.
946 * stdlib/random.c (__random): Likewise.
947 * stdlib/setenv.c (clearenv): Likewise.
948 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
949 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
950 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
951 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
952 (__get_nprocs): Likewise.
953 (__get_phys_pages): Likewise.
954 (__get_avphys_pages): Likewise.
955 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
956 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
957 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
958 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
959 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
960 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
961 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
962 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
963 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
964 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
965 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
966 * sysdeps/mach/hurd/sync.c (sync): Likewise.
967 * sysdeps/posix/clock.c (clock): Likewise.
968 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
969 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
970 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
971 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
972 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
974 (__get_nprocs_conf): Likewise.
975 (__get_phys_pages): Likewise.
976 (__get_avphys_pages): Likewise.
977 * time/clock.c (clock): Likewise.
978 * time/tzset.c (__tzname_max): Likewise.
979
980 2013-06-07 Joseph Myers <joseph@codesourcery.com>
981
982 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
983 (__bswap_32): Do not use "register".
984 * crypt/crypt.c (_ufc_doit_r): Likewise.
985 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
986 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
987 * gmon/gmon.c (__monstartup): Likewise.
988 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
989 * hurd/hurdmalloc.c (more_memory): Likewise.
990 (malloc): Likewise.
991 (free): Likewise.
992 (realloc): Likewise.
993 (malloc_fork_prepare): Likewise.
994 (malloc_fork_parent): Likewise.
995 (malloc_fork_child): Likewise.
996 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
997 (_svcauth_des): Likewise.
998 * inet/inet_lnaof.c (inet_lnaof): Likewise.
999 * inet/inet_net.c (inet_network): Likewise.
1000 * inet/inet_netof.c (inet_netof): Likewise.
1001 * inet/rcmd.c (__validuser2_sa): Likewise.
1002 * io/fts.c (fts_open): Likewise.
1003 (fts_load): Likewise.
1004 (fts_close): Likewise.
1005 (fts_read): Likewise.
1006 (fts_children): Likewise.
1007 (fts_build): Likewise.
1008 (fts_stat): Likewise.
1009 (fts_sort): Likewise.
1010 (fts_alloc): Likewise.
1011 (fts_lfree): Likewise.
1012 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1013 (_IO_file_xsgetn): Likewise.
1014 (_IO_file_xsgetn_mmap): Likewise.
1015 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1016 (_IO_cookie_write): Likewise.
1017 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1018 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1019 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1020 * malloc/obstack.c (_obstack_begin): Likewise.
1021 (_obstack_begin_1): Likewise.
1022 (_obstack_newchunk): Likewise.
1023 (_obstack_allocated_p): Likewise.
1024 (obstack_free): Likewise.
1025 (_obstack_memory_used): Likewise.
1026 * misc/getttyent.c (getttynam): Likewise.
1027 (getttyent): Likewise.
1028 (skip): Likewise.
1029 (value): Likewise.
1030 * misc/getusershell.c (initshells): Likewise.
1031 * misc/syslog.c (__vsyslog_chk): Likewise.
1032 * misc/ttyslot.c (ttyslot): Likewise.
1033 * nis/nis_hash.c (__nis_hash): Likewise.
1034 * posix/fnmatch_loop.c (FCT): Likewise.
1035 * posix/getconf.c (print_all): Likewise.
1036 (main): Likewise.
1037 * posix/getopt.c (exchange): Likewise.
1038 * posix/glob.c (globfree): Likewise.
1039 (prefix_array): Likewise.
1040 (__glob_pattern_type): Likewise.
1041 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1042 (NS_GET32): Likewise.
1043 (NS_PUT16): Likewise.
1044 (NS_PUT32): Likewise.
1045 * resolv/gethnamaddr.c (getanswer): Likewise.
1046 (gethostbyname2): Likewise.
1047 (gethostbyaddr): Likewise.
1048 (_gethtent): Likewise.
1049 (_gethtbyname2): Likewise.
1050 (_gethtbyaddr): Likewise.
1051 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1052 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1053 * resolv/res_init.c (__res_vinit): Likewise.
1054 (net_mask): Likewise.
1055 * resolv/res_mkquery.c (outchar): Likewise.
1056 (PRINT): Likewise.
1057 * stdio-common/printf_fp.c (outchar): Likewise.
1058 (PRINT): Likewise.
1059 * stdio-common/printf_fphex.c (outchar): Likewise.
1060 (PRINT): Likewise.
1061 * stdio-common/printf_size.c (outchar): Likewise.
1062 (PRINT): Likewise.
1063 * stdio-common/test_rdwr.c (main): Likewise.
1064 * stdio-common/tfformat.c (matches): Likewise.
1065 * stdio-common/vfprintf.c (outchar): Likewise.
1066 (printf_unknown): Likewise.
1067 (buffered_vfprintf): Likewise.
1068 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1069 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1070 (ReadFile): Likewise.
1071 * stdlib/qsort.c (SWAP): Likewise.
1072 (_quicksort): Likewise.
1073 * stdlib/setenv.c (__add_to_environ): Likewise.
1074 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1075 * stdlib/strtol_l.c (__strtol_l): Likewise.
1076 * stdlib/tst-strtod.c (main): Likewise.
1077 * stdlib/tst-strtol.c (main): Likewise.
1078 * stdlib/tst-strtoll.c (main): Likewise.
1079 * string/bits/string2.h (__strcmp_cc): Likewise.
1080 (__strcmp_cg): Likewise.
1081 (__strcspn_c1): Likewise.
1082 (__strcspn_c2): Likewise.
1083 (__strcspn_c3): Likewise.
1084 (__strspn_c1): Likewise.
1085 (__strspn_c2): Likewise.
1086 (__strspn_c3): Likewise.
1087 (__strsep_1c): Likewise.
1088 (__strsep_2c): Likewise.
1089 (__strsep_3c): Likewise.
1090 * string/memccpy.c (__memccpy): Likewise.
1091 * string/stpcpy.c (__stpcpy): Likewise.
1092 * string/strcmp.c (strcmp): Likewise.
1093 * string/strrchr.c (strrchr): Likewise.
1094 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1095 Likewise.
1096 * sysdeps/mach/hurd/getcwd.c
1097 (_hurd_canonicalize_directory_name_internal): Likewise.
1098 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1099 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1100 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1101 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1102 Likewise, in both definitions.
1103 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1104 definitions.
1105 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1106 64] (__bswap_64): Likewise.
1107 * time/test_time.c (main): Likewise.
1108 * time/tzfile.c (__tzfile_read): Likewise.
1109 (__tzfile_compute): Likewise.
1110 * time/tzset.c (__tzset_parse_tz): Likewise.
1111 (tzset_internal): Likewise.
1112 (compute_change): Likewise.
1113 * wcsmbs/wcscat.c (__wcscat): Likewise.
1114 * wcsmbs/wcschr.c (wcschr): Likewise.
1115 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1116 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1117 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1118 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1119 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1120 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1121 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1122 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1123 * wcsmbs/wmemset.c (wmemset): Likewise.
1124
1125 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1126
1127 * scripts/config.guess: Update to version 2013-05-16.
1128 * scripts/config.sub: Update to version 2013-04-24.
1129 * scripts/install-sh: Update to version 2011-11-20.07.
1130 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1131 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1132
1133 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1134
1135 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1136 * elf/sln.c: Likewise.
1137 * hurd/hurd/ioctl.h: Likewise.
1138 * hurd/hurdmalloc.c: Likewise.
1139 * hurd/xattr.c: Likewise.
1140 * include/shlib-compat.h: Likewise.
1141 * inet/ruserpass.c: Likewise.
1142 * libio/iofgets_u.c: Likewise.
1143 * libio/iofgetws_u.c: Likewise.
1144 * locale/programs/ld-identification.c: Likewise.
1145 * locale/programs/ld-time.c: Likewise.
1146 * mach/msg-destroy.c: Likewise.
1147 * nss/nss_files/files-netgrp.c: Likewise.
1148 * resolv/res_data.c: Likewise.
1149 * soft-fp/op-1.h: Likewise.
1150 * soft-fp/op-2.h: Likewise.
1151 * soft-fp/op-4.h: Likewise.
1152 * soft-fp/op-common.h: Likewise.
1153 * stdio-common/printf_fphex.c: Likewise.
1154 * stdlib/strtod_l.c: Likewise.
1155 * sunrpc/rpc/clnt.h: Likewise.
1156 * sysdeps/generic/framestate.c: Likewise.
1157 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1158 * sysdeps/i386/bsd-setjmp.S: Likewise.
1159 * sysdeps/i386/__longjmp.S: Likewise.
1160 * sysdeps/i386/setjmp.S: Likewise.
1161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1162 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1163 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1164 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1165 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1166 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1167 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1168 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1169 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1170 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1171 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1172 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1173 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1174 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1175 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1176 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1177 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1178 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1179 * sysdeps/ieee754/support.c: Likewise.
1180 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1181 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1182 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1183 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1184 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1185 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1186 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1187 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1188 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1189 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1190 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1191 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1192 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1193 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1194 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1195 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1196 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1198
1199 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1200
1201 * posix/transbug.c: Remove executable mode.
1202
1203 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1204
1205 * crypt/speeds.c: Remove trailing whitespace.
1206 * dlfcn/default.c: Likewise.
1207 * elf/ifuncdep2.c: Likewise.
1208 * elf/ifuncmain1.c: Likewise.
1209 * elf/ifuncmain1vis.c: Likewise.
1210 * elf/testobj.h: Likewise.
1211 * elf/tst-stackguard1.c: Likewise.
1212 * gmon/sys/gmon.h: Likewise.
1213 * hurd/hurdmsg.c: Likewise.
1214 * hurd/new-fd.c: Likewise.
1215 * hurd/ports-get.c: Likewise.
1216 * iconvdata/ibm1008_420.c: Likewise.
1217 * inet/tst-getni1.c: Likewise.
1218 * inet/tst-getni2.c: Likewise.
1219 * libio/ioungetc.c: Likewise.
1220 * libio/wfiledoalloc.c: Likewise.
1221 * manual/libm-err-tab.pl: Likewise.
1222 * math/w_dremf.c: Likewise.
1223 * misc/ftruncate.c: Likewise.
1224 * posix/bug-glob2.c: Likewise.
1225 * posix/tst-pcre.c: Likewise.
1226 * posix/wait4.c: Likewise.
1227 * resolv/README: Likewise.
1228 * resolv/res_debug.h: Likewise.
1229 * resolv/tst-inet_ntop.c: Likewise.
1230 * setjmp/bug269-setjmp.c: Likewise.
1231 * soft-fp/extended.h: Likewise.
1232 * soft-fp/op-1.h: Likewise.
1233 * soft-fp/op-2.h: Likewise.
1234 * soft-fp/op-4.h: Likewise.
1235 * soft-fp/op-8.h: Likewise.
1236 * soft-fp/testit.c: Likewise.
1237 * stdio-common/bug16.c: Likewise.
1238 * stdlib/random.c: Likewise.
1239 * sunrpc/rpcsvc/rquota.x: Likewise.
1240 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1241 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1242 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1243 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1244 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1245 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1246 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1247 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1248 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1249 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1250 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1251 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1252 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1253 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1257 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1258 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1259 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1260 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1261 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1263 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1267 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1268 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1269 * sysdeps/ieee754/s_lib_version.c: Likewise.
1270 * sysdeps/mach/hurd/check_fds.c: Likewise.
1271 * sysdeps/mach/hurd/getsockname.c: Likewise.
1272 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1273 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1274 * sysdeps/powerpc/bits/link.h: Likewise.
1275 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1276 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1277 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1278 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1279 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1280 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1281 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1282 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1283 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1284 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1285 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1286 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1287 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1288 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1289 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1290 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1291 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1293 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1294 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1295 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1296 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1297 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1298 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1299 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1300 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1301 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1302 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1303 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1304 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1305 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1306 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1307 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1308 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1309 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1310 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1313 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1314 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1315 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1318 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1319 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1320 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1321 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1322 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1323 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1324 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1325 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1327 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1328 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1329 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1330 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1331 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1332 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1333 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1334 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1335 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1336 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1337 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1338 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1339 * sysdeps/powerpc/sysdep.h: Likewise.
1340 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1341 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1342 * sysdeps/sh/dl-trampoline.S: Likewise.
1343 * sysdeps/sh/memset.S: Likewise.
1344 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1345 * sysdeps/sh/strlen.S: Likewise.
1346 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1347 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1348 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1349 * sysdeps/sparc/sparc32/rem.S: Likewise.
1350 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1351 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1352 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1353 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1354 * sysdeps/sparc/sparc32/urem.S: Likewise.
1355 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1356 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1357 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1358 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1359 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1360 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1361 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1362 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1363 * sysdeps/unix/bsd/times.c: Likewise.
1364 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1365 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1369 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1370 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1371 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1372 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1373 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1374 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1375 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1376 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1377 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1378 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1379 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1380 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1381 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1382 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1383 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1384 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1385 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1386 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1387 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1388 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1389 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1390 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1391 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1392 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1393 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1394 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1395 * sysdeps/x86_64/strcspn.S: Likewise.
1396
1397 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1398
1399 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1400 generated file. Regenerate properly from gen-translit.pl.
1401 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1402 locale/C-translit.h.
1403
1404 2013-06-05 Andreas Schwab <schwab@suse.de>
1405
1406 [BZ #15100]
1407 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1408 week as 6 instead of -1.
1409 * time/tst-strptime.c (day_tests): Add test case.
1410
1411 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1412
1413 * sysdeps/generic/math_private.h
1414 (libc_feholdexcept_setround_53bit): Replace with
1415 libc_feholdsetround_53bit.
1416 (libc_feupdateenv_53bit): Replace with
1417 libc_feresetround_53bit.
1418 (SET_RESTORE_ROUND_53BIT): Adjust.
1419
1420 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1421
1422 * string/test-strchrnul.c: Add copyright header.
1423
1424 * posix/tst-getaddrinfo4.c: Increase test timeout.
1425
1426 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1427
1428 [BZ #15536]
1429 * math/libm-test.inc (MAX_EXP): Remove
1430 (MIN_EXP): Define.
1431 (ulp): Use MIN_EXP - MANT_DIG.
1432 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1433
1434 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1435
1436 * po/be.po: Revert last change.
1437 * po/zh_CN.po: Likewise.
1438 * po/header.pot: Likewise.
1439
1440 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1441
1442 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1443 link-libc-deps to empty as target-specific variable.
1444 * Makerules (link-libc-args): New variable.
1445 (libc-for-link): Likewise.
1446 (link-libc-deps): Likewise.
1447 (lib%.so): Depend on $(link-libc-deps). Link with
1448 $(link-libc-args).
1449 (build-module): Link with $(link-libc-args).
1450 (build-module-asneeded): Likewise.
1451 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1452 list of objects.
1453 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1454 target-specific variable.
1455 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1456 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1457 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1458 libc.
1459 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1460 libc and ld.so.
1461 ($(objpfx)libpcprofile.so): Likewise.
1462 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1463 libc_nonshared.a.
1464 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1465 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1466 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1467 $(link-libc-deps).
1468 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1469 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1470 * login/Makefile ($(objpfx)libutil.so): Likewise.
1471 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1472 * math/Makefile ($(objpfx)libm.so): Likewise.
1473 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1474 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1475 variable instead of depending directly on libc.
1476 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1477 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1478 $(link-libc-deps).
1479 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1480 libc.
1481 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1482 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1483 ($(objpfx)libanl.so): Likewise.
1484 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1485 ld.so.
1486 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1487 $(link-libc-deps).
1488 * sysdeps/i386/fpu/Makefile: Remove file.
1489 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1490 ($(objpfx)libm.so): Remove dependency on ld.so.
1491
1492 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1493
1494 [BZ # 15553]
1495 * nis/yp_xdr.c (XDRMAXNAME): Define.
1496 (XDRMAXRECORD): Define.
1497 (xdr_domainname): Use XDRMAXNAME.
1498 (xdr_mapname): Likewise.
1499 (xdr_peername): Likewise.
1500 (xdr_keydat): Use XDRMAXRECORD.
1501 (xdr_valdat): Likewise.
1502
1503 2013-05-30 Jeff Law <law@redhat.com>
1504
1505 [BZ #14256]
1506 * manual/errno.texi (ESTALE): Update to account for more than
1507 just NFS file systems.
1508 * sysdeps/gnu/errlist.c: Regenerated.
1509
1510 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1511
1512 [BZ #15465]
1513 * elf/Makefile (tests): Add tst-null-argv.
1514 (modules-names): Add tst-null-argv-lib.
1515 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1516 (tst-null-argv-ENV): Set environment for tst-null-argv.
1517 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1518 (RTLD_PROGNAME): New macro.
1519 * elf/tst-null-argv.c: New test case.
1520 * elf/tst-null-argv-lib.c: Library for test case.
1521 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1522 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1523 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1524 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1525 * elf/dl-init.c (call_init): Likewise.
1526 (_dl_init): Likewise.
1527 * elf/dl-load.c (print_search_path): Likewise.
1528 (_dl_map_object): Likewise.
1529 * elf/dl-lookup.c (do_lookup_x): Likewise.
1530 (add_dependency): Likewise.
1531 (_dl_lookup_symbol_x): Likewise.
1532 (_dl_debug_bindings): Likewise.
1533 * elf/dl-open.c (_dl_show_scope): Likewise.
1534 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1535 * elf/dl-version.c (match_symbol): Likewise.
1536 (_dl_check_map_versions): Likewise.
1537 * elf/rtld.c (dl_main): Likewise.
1538 (print_unresolved): Use RTLD_PROGNAME.
1539 (print_missing_version): Likewise.
1540 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1541 (elf_machine_rela): Likewise.
1542 * sysdeps/powerpc/powerpc32/dl-machine.c
1543 (__process_machine_rela): Likewise.
1544 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1545 Likewise.
1546 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1547 Likewise.
1548 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1549 Likewise.
1550 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1552 Likewise.
1553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1554 Likewise.
1555 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1556
1557 2013-05-28 Carlos O'Donell <carlos@redhat.com>
1558
1559 * po/be.po: Add descriptive title.
1560 * po/zh_CN.po: Likewise.
1561 * po/header.pot: Likewise.
1562
1563 2013-05-28 Mike Frysinger <vapier@gentoo.org>
1564
1565 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1566 error message.
1567 (enlarge_archive): Likewise.
1568
1569 2013-05-28 Ben North <ben@redfrontdoor.org>
1570
1571 * manual/arith.texi (frexp): It is the magnitude of the return
1572 value which lies in [0.5, 1), not the return value itself.
1573
1574 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1575
1576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1577
1578 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1579
1580 * stdio-common/bug26.c (main): Correct fscanf template.
1581
1582 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1583 declare _dl_skip_args.
1584
1585 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1586 Don't declare.
1587
1588 * manual/platform.texi: Add missing @end deftypefun.
1589
1590 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1591
1592 [BZ #15529]
1593 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1594 bit of mantissa of 2^16382.
1595 * math/libm-test.inc (hypot_test_data): Add more tests.
1596
1597 * math/libm-test.inc: Add drem and pow10 to list of tested
1598 functions.
1599 (pow10_test): New function.
1600 (drem_test): Likewise.
1601 (drem_test_tonearest): Likewise.
1602 (drem_test_towardzero): Likewise.
1603 (drem_test_downward): Likewise.
1604 (drem_test_upward): Likewise.
1605 (main): Call the new functions.
1606
1607 * math/libm-test.inc (finite_test_data): Remove.
1608 (finite_test): Run tests from isfinite_test_data.
1609 (gamma_test_data): Remove.
1610 (gamma_test): Run tests from lgamma_test_data.
1611 * sysdeps/i386/fpu/libm-test-ulps: Update.
1612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1613
1614 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615
1616 * manual/platform.texi: Add PowerPC PPR function set documentation.
1617 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1618 implementation.
1619
1620 2013-05-24 Carlos O'Donell <carlos@redhat.com>
1621
1622 * math/libm-test.inc (MAX_EXP): Define.
1623 (ULPDIFF): Define.
1624 (ulp): New function.
1625 (check_float_internal): Use ULPDIFF.
1626 (cpow_test): Disable failing test.
1627 (check_ulp): Test ulp() implemetnation.
1628 (main): Call check_ulp before starting tests.
1629
1630 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1631
1632 * math/gen-libm-test.pl (generate_testfile): Do not handle
1633 START_DATA and END_DATA.
1634 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1635 END_DATA.
1636 (acos_tonearest_test_data): Likewise.
1637 (acos_towardzero_test_data): Likewise.
1638 (acos_downward_test_data): Likewise.
1639 (acos_upward_test_data): Likewise.
1640 (acosh_test_data): Likewise.
1641 (asin_test_data): Likewise.
1642 (asin_tonearest_test_data): Likewise.
1643 (asin_towardzero_test_data): Likewise.
1644 (asin_downward_test_data): Likewise.
1645 (asin_upward_test_data): Likewise.
1646 (asinh_test_data): Likewise.
1647 (atan_test_data): Likewise.
1648 (atanh_test_data): Likewise.
1649 (atan2_test_data): Likewise.
1650 (cabs_test_data): Likewise.
1651 (cacos_test_data): Likewise.
1652 (cacosh_test_data): Likewise.
1653 (carg_test_data): Likewise.
1654 (casin_test_data): Likewise.
1655 (casinh_test_data): Likewise.
1656 (catan_test_data): Likewise.
1657 (catanh_test_data): Likewise.
1658 (cbrt_test_data): Likewise.
1659 (ccos_test_data): Likewise.
1660 (ccosh_test_data): Likewise.
1661 (ceil_test_data): Likewise.
1662 (cexp_test_data): Likewise.
1663 (cimag_test_data): Likewise.
1664 (clog_test_data): Likewise.
1665 (clog10_test_data): Likewise.
1666 (conj_test_data): Likewise.
1667 (copysign_test_data): Likewise.
1668 (cos_test_data): Likewise.
1669 (cos_tonearest_test_data): Likewise.
1670 (cos_towardzero_test_data): Likewise.
1671 (cos_downward_test_data): Likewise.
1672 (cos_upward_test_data): Likewise.
1673 (cosh_test_data): Likewise.
1674 (cosh_tonearest_test_data): Likewise.
1675 (cosh_towardzero_test_data): Likewise.
1676 (cosh_downward_test_data): Likewise.
1677 (cosh_upward_test_data): Likewise.
1678 (cpow_test_data): Likewise.
1679 (cproj_test_data): Likewise.
1680 (creal_test_data): Likewise.
1681 (csin_test_data): Likewise.
1682 (csinh_test_data): Likewise.
1683 (csqrt_test_data): Likewise.
1684 (ctan_test_data): Likewise.
1685 (ctan_tonearest_test_data): Likewise.
1686 (ctan_towardzero_test_data): Likewise.
1687 (ctan_downward_test_data): Likewise.
1688 (ctan_upward_test_data): Likewise.
1689 (ctanh_test_data): Likewise.
1690 (ctanh_tonearest_test_data): Likewise.
1691 (ctanh_towardzero_test_data): Likewise.
1692 (ctanh_downward_test_data): Likewise.
1693 (ctanh_upward_test_data): Likewise.
1694 (erf_test_data): Likewise.
1695 (erfc_test_data): Likewise.
1696 (exp_test_data): Likewise.
1697 (exp_tonearest_test_data): Likewise.
1698 (exp_towardzero_test_data): Likewise.
1699 (exp_downward_test_data): Likewise.
1700 (exp_upward_test_data): Likewise.
1701 (exp10_test_data): Likewise.
1702 (exp2_test_data): Likewise.
1703 (expm1_test_data): Likewise.
1704 (fabs_test_data): Likewise.
1705 (fdim_test_data): Likewise.
1706 (finite_test_data): Likewise.
1707 (floor_test_data): Likewise.
1708 (fma_test_data): Likewise.
1709 (fma_towardzero_test_data): Likewise.
1710 (fma_downward_test_data): Likewise.
1711 (fma_upward_test_data): Likewise.
1712 (fmax_test_data): Likewise.
1713 (fmin_test_data): Likewise.
1714 (fmod_test_data): Likewise.
1715 (fpclassify_test_data): Likewise.
1716 (frexp_test_data): Likewise.
1717 (gamma_test_data): Likewise.
1718 (hypot_test_data): Likewise.
1719 (ilogb_test_data): Likewise.
1720 (isfinite_test_data): Likewise.
1721 (isgreater_test_data): Likewise.
1722 (isgreaterequal_test_data): Likewise.
1723 (isinf_test_data): Likewise.
1724 (isless_test_data): Likewise.
1725 (islessequal_test_data): Likewise.
1726 (islessgreater_test_data): Likewise.
1727 (isnan_test_data): Likewise.
1728 (isnormal_test_data): Likewise.
1729 (issignaling_test_data): Likewise.
1730 (isunordered_test_data): Likewise.
1731 (j0_test_data): Likewise.
1732 (j1_test_data): Likewise.
1733 (jn_test_data): Likewise.
1734 (ldexp_test_data): Likewise.
1735 (lgamma_test_data): Likewise.
1736 (lrint_test_data): Likewise.
1737 (lrint_tonearest_test_data): Likewise.
1738 (lrint_towardzero_test_data): Likewise.
1739 (lrint_downward_test_data): Likewise.
1740 (lrint_upward_test_data): Likewise.
1741 (llrint_test_data): Likewise.
1742 (llrint_tonearest_test_data): Likewise.
1743 (llrint_towardzero_test_data): Likewise.
1744 (llrint_downward_test_data): Likewise.
1745 (llrint_upward_test_data): Likewise.
1746 (log_test_data): Likewise.
1747 (log10_test_data): Likewise.
1748 (log1p_test_data): Likewise.
1749 (log2_test_data): Likewise.
1750 (logb_test_data): Likewise.
1751 (logb_downward_test_data): Likewise.
1752 (lround_test_data): Likewise.
1753 (llround_test_data): Likewise.
1754 (modf_test_data): Likewise.
1755 (nearbyint_test_data): Likewise.
1756 (nextafter_test_data): Likewise.
1757 (nexttoward_test_data): Likewise.
1758 (pow_test_data): Likewise.
1759 (pow_tonearest_test_data): Likewise.
1760 (pow_towardzero_test_data): Likewise.
1761 (pow_downward_test_data): Likewise.
1762 (pow_upward_test_data): Likewise.
1763 (remainder_test_data): Likewise.
1764 (remainder_tonearest_test_data): Likewise.
1765 (remainder_towardzero_test_data): Likewise.
1766 (remainder_downward_test_data): Likewise.
1767 (remainder_upward_test_data): Likewise.
1768 (remquo_test_data): Likewise.
1769 (rint_test_data): Likewise.
1770 (rint_tonearest_test_data): Likewise.
1771 (rint_towardzero_test_data): Likewise.
1772 (rint_downward_test_data): Likewise.
1773 (rint_upward_test_data): Likewise.
1774 (round_test_data): Likewise.
1775 (scalb_test_data): Likewise.
1776 (scalbn_test_data): Likewise.
1777 (scalbln_test_data): Likewise.
1778 (signbit_test_data): Likewise.
1779 (sin_test_data): Likewise.
1780 (sin_tonearest_test_data): Likewise.
1781 (sin_towardzero_test_data): Likewise.
1782 (sin_downward_test_data): Likewise.
1783 (sin_upward_test_data): Likewise.
1784 (sincos_test_data): Likewise.
1785 (sinh_test_data): Likewise.
1786 (sinh_tonearest_test_data): Likewise.
1787 (sinh_towardzero_test_data): Likewise.
1788 (sinh_downward_test_data): Likewise.
1789 (sinh_upward_test_data): Likewise.
1790 (sqrt_test_data): Likewise.
1791 (tan_test_data): Likewise.
1792 (tan_tonearest_test_data): Likewise.
1793 (tan_towardzero_test_data): Likewise.
1794 (tan_downward_test_data): Likewise.
1795 (tan_upward_test_data): Likewise.
1796 (tanh_test_data): Likewise.
1797 (tgamma_test_data): Likewise.
1798 (trunc_test_data): Likewise.
1799 (y0_test_data): Likewise.
1800 (y1_test_data): Likewise.
1801 (yn_test_data): Likewise.
1802 (significand_test_data): Likewise.
1803
1804 * math/gen-libm-test.pl (@functions): Remove variable.
1805 (generate_testfile): Don't handle START and END lines.
1806 * math/libm-test.inc (START): New macro.
1807 (END): Likewise.
1808 (END_COMPLEX): Likewise.
1809 (acos_test): Use END macro without arguments.
1810 (acos_test_tonearest): Likewise.
1811 (acos_test_towardzero): Likewise.
1812 (acos_test_downward): Likewise.
1813 (acos_test_upward): Likewise.
1814 (acosh_test): Likewise.
1815 (asin_test): Likewise.
1816 (asin_test_tonearest): Likewise.
1817 (asin_test_towardzero): Likewise.
1818 (asin_test_downward): Likewise.
1819 (asin_test_upward): Likewise.
1820 (asinh_test): Likewise.
1821 (atan_test): Likewise.
1822 (atanh_test): Likewise.
1823 (atan2_test): Likewise.
1824 (cabs_test): Likewise.
1825 (cacos_test): Use END_COMPLEX macro without arguments.
1826 (cacosh_test): Likewise.
1827 (carg_test): Use END macro without arguments.
1828 (casin_test): Use END_COMPLEX macro without arguments.
1829 (casinh_test): Likewise.
1830 (catan_test): Likewise.
1831 (catanh_test): Likewise.
1832 (cbrt_test): Use END macro without arguments.
1833 (ccos_test): Use END_COMPLEX macro without arguments.
1834 (ccosh_test): Likewise.
1835 (ceil_test): Use END macro without arguments.
1836 (cexp_test): Use END_COMPLEX macro without arguments.
1837 (cimag_test): Use END macro without arguments.
1838 (clog_test): Use END_COMPLEX macro without arguments.
1839 (clog10_test): Likewise.
1840 (conj_test): Likewise.
1841 (copysign_test): Use END macro without arguments.
1842 (cos_test): Likewise.
1843 (cos_test_tonearest): Likewise.
1844 (cos_test_towardzero): Likewise.
1845 (cos_test_downward): Likewise.
1846 (cos_test_upward): Likewise.
1847 (cosh_test): Likewise.
1848 (cosh_test_tonearest): Likewise.
1849 (cosh_test_towardzero): Likewise.
1850 (cosh_test_downward): Likewise.
1851 (cosh_test_upward): Likewise.
1852 (cpow_test): Use END_COMPLEX macro without arguments.
1853 (cproj_test): Likewise.
1854 (creal_test): Use END macro without arguments.
1855 (csin_test): Use END_COMPLEX macro without arguments.
1856 (csinh_test): Likewise.
1857 (csqrt_test): Likewise.
1858 (ctan_test): Likewise.
1859 (ctan_test_tonearest): Likewise.
1860 (ctan_test_towardzero): Likewise.
1861 (ctan_test_downward): Likewise.
1862 (ctan_test_upward): Likewise.
1863 (ctanh_test): Likewise.
1864 (ctanh_test_tonearest): Likewise.
1865 (ctanh_test_towardzero): Likewise.
1866 (ctanh_test_downward): Likewise.
1867 (ctanh_test_upward): Likewise.
1868 (erf_test): Use END macro without arguments.
1869 (erfc_test): Likewise.
1870 (exp_test): Likewise.
1871 (exp_test_tonearest): Likewise.
1872 (exp_test_towardzero): Likewise.
1873 (exp_test_downward): Likewise.
1874 (exp_test_upward): Likewise.
1875 (exp10_test): Likewise.
1876 (exp2_test): Likewise.
1877 (expm1_test): Likewise.
1878 (fabs_test): Likewise.
1879 (fdim_test): Likewise.
1880 (finite_test): Likewise.
1881 (floor_test): Likewise.
1882 (fma_test): Likewise.
1883 (fma_test_towardzero): Likewise.
1884 (fma_test_downward): Likewise.
1885 (fma_test_upward): Likewise.
1886 (fmax_test): Likewise.
1887 (fmin_test): Likewise.
1888 (fmod_test): Likewise.
1889 (fpclassify_test): Likewise.
1890 (frexp_test): Likewise.
1891 (gamma_test): Likewise.
1892 (hypot_test): Likewise.
1893 (ilogb_test): Likewise.
1894 (isfinite_test): Likewise.
1895 (isgreater_test): Likewise.
1896 (isgreaterequal_test): Likewise.
1897 (isinf_test): Likewise.
1898 (isless_test): Likewise.
1899 (islessequal_test): Likewise.
1900 (islessgreater_test): Likewise.
1901 (isnan_test): Likewise.
1902 (isnormal_test): Likewise.
1903 (issignaling_test): Likewise.
1904 (isunordered_test): Likewise.
1905 (j0_test): Likewise.
1906 (j1_test): Likewise.
1907 (jn_test): Likewise.
1908 (ldexp_test): Likewise.
1909 (lgamma_test): Likewise.
1910 (lrint_test): Likewise.
1911 (lrint_test_tonearest): Likewise.
1912 (lrint_test_towardzero): Likewise.
1913 (lrint_test_downward): Likewise.
1914 (lrint_test_upward): Likewise.
1915 (llrint_test): Likewise.
1916 (llrint_test_tonearest): Likewise.
1917 (llrint_test_towardzero): Likewise.
1918 (llrint_test_downward): Likewise.
1919 (llrint_test_upward): Likewise.
1920 (log_test): Likewise.
1921 (log10_test): Likewise.
1922 (log1p_test): Likewise.
1923 (log2_test): Likewise.
1924 (logb_test): Likewise.
1925 (logb_test_downward): Likewise.
1926 (lround_test): Likewise.
1927 (llround_test): Likewise.
1928 (modf_test): Likewise.
1929 (nearbyint_test): Likewise.
1930 (nextafter_test): Likewise.
1931 (nexttoward_test): Likewise.
1932 (pow_test): Likewise.
1933 (pow_test_tonearest): Likewise.
1934 (pow_test_towardzero): Likewise.
1935 (pow_test_downward): Likewise.
1936 (pow_test_upward): Likewise.
1937 (remainder_test): Likewise.
1938 (remainder_test_tonearest): Likewise.
1939 (remainder_test_towardzero): Likewise.
1940 (remainder_test_downward): Likewise.
1941 (remainder_test_upward): Likewise.
1942 (remquo_test): Likewise.
1943 (rint_test): Likewise.
1944 (rint_test_tonearest): Likewise.
1945 (rint_test_towardzero): Likewise.
1946 (rint_test_downward): Likewise.
1947 (rint_test_upward): Likewise.
1948 (round_test): Likewise.
1949 (scalb_test): Likewise.
1950 (scalbn_test): Likewise.
1951 (scalbln_test): Likewise.
1952 (signbit_test): Likewise.
1953 (sin_test): Likewise.
1954 (sin_test_tonearest): Likewise.
1955 (sin_test_towardzero): Likewise.
1956 (sin_test_downward): Likewise.
1957 (sin_test_upward): Likewise.
1958 (sincos_test): Likewise.
1959 (sinh_test): Likewise.
1960 (sinh_test_tonearest): Likewise.
1961 (sinh_test_towardzero): Likewise.
1962 (sinh_test_downward): Likewise.
1963 (sinh_test_upward): Likewise.
1964 (sqrt_test): Likewise.
1965 (tan_test): Likewise.
1966 (tan_test_tonearest): Likewise.
1967 (tan_test_towardzero): Likewise.
1968 (tan_test_downward): Likewise.
1969 (tan_test_upward): Likewise.
1970 (tanh_test): Likewise.
1971 (tgamma_test): Likewise.
1972 (trunc_test): Likewise.
1973 (y0_test): Likewise.
1974 (y1_test): Likewise.
1975 (yn_test): Likewise.
1976 (significand_test): Likewise.
1977
1978 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
1979
1980 [BZ #15381]
1981 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1982
1983 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1984
1985 [BZ #14894]
1986 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1987 __ppc_mdoio and __ppc_mdoom.
1988 * manual/platform.texi: Document new functions __ppc_yield,
1989 __ppc_mdoio and __ppc_mdoom.
1990
1991 2013-05-22 Carlos O'Donell <carlos@redhat.com>
1992
1993 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1994 (main): Mention "tls" pseudo-hwcap is legacy.
1995 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1996
1997 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1998
1999 * math/gen-libm-test.pl (parse_args): Output only string of
2000 arguments as text for test name, not full call or descriptions of
2001 tests for extra outputs.
2002 (generate_testfile): Do not pass function name to parse_args.
2003 Generate this_func variable from START.
2004 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2005 field to arg_str.
2006 (struct test_ff_f_data): Likewise.
2007 (test_ff_f_data_nexttoward): Likewise.
2008 (struct test_fi_f_data): Likewise.
2009 (struct test_fl_f_data): Likewise.
2010 (struct test_if_f_data): Likewise.
2011 (struct test_fff_f_data): Likewise.
2012 (struct test_c_f_data): Likewise.
2013 (struct test_f_f1_data): Likewise. Remove field extra_name.
2014 (struct test_fF_f1_data): Likewise.
2015 (struct test_ffI_f1_data): Likewise.
2016 (struct test_c_c_data): Rename test_name field to arg_str.
2017 (struct test_cc_c_data): Likewise.
2018 (struct test_f_i_data): Likewise.
2019 (struct test_ff_i_data): Likewise.
2020 (struct test_f_l_data): Likewise.
2021 (struct test_f_L_data): Likewise.
2022 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2023 and extra2_name.
2024 (COMMON_TEST_SETUP): New macro.
2025 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2026 (COMMON_TEST_CLEANUP): Likewise.
2027 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2028 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2029 macros.
2030 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2031 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2032 macros.
2033 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2034 (RUN_TEST_fff_f): Take argument string. Call new setup and
2035 cleanup macros.
2036 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2037 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2038 macros.
2039 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2040 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2041 macros.
2042 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2043 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2044 cleanup macros.
2045 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2046 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2047 cleanup macros.
2048 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2049 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2050 cleanup macros.
2051 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2052 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2053 macros.
2054 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2055 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2056 macros.
2057 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2058 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2059 macros.
2060 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2061 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2062 cleanup macros.
2063 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2064 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2065 cleanup macros.
2066 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2067 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2068 macros.
2069 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2070 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2071 cleanup macros.
2072 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2073 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2074 macros.
2075 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2076 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2077 macros.
2078 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2079 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2080 cleanup macros.
2081 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2082
2083 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2084
2085 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2086 to _sifields.sigfault.
2087 (si_addr_lsb): Define new macro.
2088 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2089 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2090 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2091
2092 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2093
2094 [BZ #15441]
2095 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2096 returns -1.
2097 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2098 null return -1.
2099 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2100 loading the domain.
2101
2102 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2103
2104 * math/gen-libm-test.pl (parse_args): Do not include expected
2105 result in test name.
2106 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2107 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2108 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2109 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2110 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2112
2113 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2114
2115 * benchtests/Makefile: Sort function entries.
2116
2117 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2118 tanh, asinh, acosh, atanh.
2119 * benchtests/acos-inputs: New file.
2120 * benchtests/acosh-inputs: New file.
2121 * benchtests/asin-inputs: New file.
2122 * benchtests/asinh-inputs: New file.
2123 * benchtests/atanh-inputs: New file.
2124 * benchtests/cosh-inputs: New file.
2125 * benchtests/log-inputs: New file.
2126 * benchtests/sinh-inputs: New file.
2127 * benchtests/tanh-inputs: New file.
2128
2129 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2130
2131 [BZ #15339]
2132 * posix/tst-getaddrinfo4.c: New test.
2133 * posix/Makefile (tests): Add it.
2134
2135 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2136
2137 [BZ #15339]
2138 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2139 when no services were used.
2140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2141 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2142
2143 2013-05-21 Andreas Schwab <schwab@suse.de>
2144
2145 [BZ #15014]
2146 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2147 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2148 successful.
2149 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2150 redundant variable declarations and reallocation of buffer when
2151 parsing as IPv6 address. Always set NSS status when called from
2152 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2153 buffer too small. Correct computation of needed size.
2154 * nss/Makefile (tests): Add test-digits-dots.
2155 * nss/test-digits-dots.c: New test.
2156
2157 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2158
2159 * benchtests/Makefile: Remove instructions for adding
2160 benchmark tests.
2161 * benchtests/README: New file to explain how to execute and
2162 enhance the benchmark tests.
2163
2164 2013-05-21 Andreas Schwab <schwab@suse.de>
2165
2166 [BZ #15493]
2167 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2168 * setjmp/tst-sigsetjmp.c: New test.
2169
2170 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2171
2172 * sysdeps/x86_64/memset.S (memset): New implementation.
2173 (__bzero): Likewise.
2174 (__memset_tail): New function.
2175
2176 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2177
2178 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2179 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2180 __memcpy_sse2_unaligned ifunc selection.
2181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2182 Add memcpy-sse2-unaligned.S.
2183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2184 Add: __memcpy_sse2_unaligned.
2185
2186 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2187
2188 [BZ #15490]
2189 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2190 math_force_eval before restoring floating-point envrionment.
2191 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2192 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2193 Likewise.
2194 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2195 <math_private.h>.
2196 (__nearbyintl): Use math_force_eval before restoring
2197 floating-point environment.
2198 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2199
2200 * math/gen-libm-test.pl (special_functions): Remove.
2201 (parse_args): Don't handle TEST_extra. Handle functions with no
2202 return value.
2203 * math/libm-test.inc (struct test_sincos_data): Replace with
2204 struct test_fFF_11_data.
2205 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2206 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2207 (sincos_test_data): Change element type to struct
2208 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2209 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2210 RUN_TEST_LOOP_sincos.
2211 * math/README.libm-test: Don't mention special handling of
2212 individual functions.
2213 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2214 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2215 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2216 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2217 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2219
2220 * math/gen-libm-test.pl (get_variable): Remove function.
2221 (parse_args): Don't show pointer parameters to call in test
2222 names. Use "extra output N" in test names for extra outputs
2223 rather than naming variables.
2224
2225 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2226
2227 [BZ #15488]
2228 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2229 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2230 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2231 double tests.
2232 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2233 disable.
2234 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2235 check_long_double.
2236
2237 * math/gen-libm-test.pl (@tests): Remove variable.
2238 ($count): Likewise.
2239 (new_test): Remove function.
2240 (show_exceptions): New function.
2241 (special_functions): Use show_exceptions instead of new_test.
2242 (parse_args): Likewise.
2243 (generate_testfile): Pass only function name in generated call to
2244 print_max_error or print_complex_max_error.
2245 (get_ulps): Do not handle complex tests specially.
2246 (output_test): Rename to ...
2247 (get_all_ulps_for_test): ... this. Return a string rather than
2248 printing to a file. Require ulps to be present.
2249 (output_ulps): Generate arrays rather than #defines.
2250 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2251 (struct ulp_data): New type.
2252 (BUILD_COMPLEX_ULP): Remove macro.
2253 (compare_ulp_data): New function.
2254 (find_ulps): Likewise.
2255 (find_test_ulps): Likewise.
2256 (find_function_ulps): Likewise.
2257 (find_complex_function_ulps): Likewise.
2258 (print_max_error): Determine allowed ulps using
2259 find_function_ulps.
2260 (print_complex_max_error): Determine allowed ulps using
2261 find_complex_function_ulps.
2262 (check_float_internal): Determine max ulps using find_test_ulps.
2263 (check_float): Do not take max_ulp parameter. Update call to
2264 check_float_internal.
2265 (check_complex): Likewise.
2266 (check_int): Do not take max_ulp parameter.
2267 (check_long): Likewise.
2268 (check_bool): Likewise.
2269 (check_longlong): Likewise.
2270 (struct test_f_f_data): Remove max_ulp field.
2271 (struct test_ff_f_data): Likewise.
2272 (struct test_ff_f_data_nexttoward): Likewise.
2273 (struct test_fi_f_data): Likewise.
2274 (struct test_fl_f_data): Likewise.
2275 (struct test_if_f_data): Likewise.
2276 (struct test_fff_f_data): Likewise.
2277 (struct test_c_f_data): Likewise.
2278 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2279 (struct test_fF_f1_data): Likewise.
2280 (struct test_ffI_f1_data): Likewise.
2281 (struct test_c_c_data): Remove max_ulp field.
2282 (struct test_cc_c_data): Likewise.
2283 (struct test_f_i_data): Likewise.
2284 (struct test_ff_i_data): Likewise.
2285 (struct test_f_l_data): Likewise.
2286 (struct test_f_L_data): Likewise.
2287 (struct test_sincos_data): Likewise.
2288 (RUN_TEST_f_f): Do not handle ulps.
2289 (RUN_TEST_LOOP_f_f): Likewise.
2290 (RUN_TEST_2_f): Likewise.
2291 (RUN_TEST_LOOP_2_f): Likewise.
2292 (RUN_TEST_fff_f): Likewise.
2293 (RUN_TEST_LOOP_fff_f): Likewise.
2294 (RUN_TEST_c_f): Likewise.
2295 (RUN_TEST_LOOP_c_f): Likewise.
2296 (RUN_TEST_f_f1): Likewise.
2297 (RUN_TEST_LOOP_f_f1): Likewise.
2298 (RUN_TEST_fF_f1): Likewise.
2299 (RUN_TEST_LOOP_fF_f1): Likewise.
2300 (RUN_TEST_fI_f1): Likewise.
2301 (RUN_TEST_LOOP_fI_f1): Likewise.
2302 (RUN_TEST_ffI_f1): Likewise.
2303 (RUN_TEST_LOOP_ffI_f1): Likewise.
2304 (RUN_TEST_c_c): Likewise.
2305 (RUN_TEST_LOOP_c_c): Likewise.
2306 (RUN_TEST_cc_c): Likewise.
2307 (RUN_TEST_LOOP_cc_c): Likewise.
2308 (RUN_TEST_f_i): Likewise.
2309 (RUN_TEST_LOOP_f_i): Likewise.
2310 (RUN_TEST_f_i_tg): Likewise.
2311 (RUN_TEST_LOOP_f_i_tg): Likewise.
2312 (RUN_TEST_ff_i_tg): Likewise.
2313 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2314 (RUN_TEST_f_b): Likewise.
2315 (RUN_TEST_LOOP_f_b): Likewise.
2316 (RUN_TEST_f_b_tg): Likewise.
2317 (RUN_TEST_LOOP_f_b_tg): Likewise.
2318 (RUN_TEST_f_l): Likewise.
2319 (RUN_TEST_LOOP_f_l): Likewise.
2320 (RUN_TEST_f_L): Likewise.
2321 (RUN_TEST_LOOP_f_L): Likewise.
2322 (RUN_TEST_sincos): Likewise.
2323 (RUN_TEST_LOOP_sincos): Likewise.
2324
2325 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2326
2327 [BZ #15480]
2328 [BZ #15485]
2329 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2330 main case of finite arguments, set rounding mode to FE_TONEAREST
2331 and discard exceptions.
2332 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2333 exceptions.
2334 (remainder_tonearest_test_data): New variable.
2335 (remainder_test_tonearest): New function.
2336 (remainder_towardzero_test_data): New variable.
2337 (remainder_test_towardzero): New function.
2338 (remainder_downward_test_data): New variable.
2339 (remainder_test_downward): New function.
2340 (remainder_upward_test_data): New variable.
2341 (remainder_test_upward): New function.
2342 (main): Call the new test functions.
2343
2344 * math/libm-test.inc (struct test_f_f1_data): Remove field
2345 extra_init.
2346 (struct test_fF_f1_data): Likewise.
2347 (struct test_ffI_f1_data): Likewise.
2348 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2349 based on value of EXTRA_EXPECTED.
2350 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2351 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2352 EXTRA_VAR based on value of EXTRA_EXPECTED.
2353 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2354 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2355 EXTRA_VAR based on value of EXTRA_EXPECTED.
2356 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2357 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2358 EXTRA_VAR based on value of EXTRA_EXPECTED.
2359 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2360 * math/gen-libm-test.pl (parse_args): Don't output initializers
2361 for extra output values.
2362
2363 * math/libm-test.inc (check_int): Expect result to be exactly
2364 equal to expected value and do not handle ulps.
2365 (check_long): Likewise.
2366 (check_longlong): Likewise.
2367
2368 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2369 exceptions.
2370 (cimag_test_data): Likewise.
2371 (conj_test_data): Likewise.
2372 (copysign_test_data): Likewise.
2373 (cproj_test_data): Likewise.
2374 (creal_test_data): Likewise.
2375 (fabs_test_data): Likewise.
2376 (fdim_test_data): Likewise.
2377 (finite_test_data): Likewise.
2378 (floor_test_data): Likewise.
2379 (fmax_test_data): Likewise.
2380 (fmin_test_data): Likewise.
2381 (fmod_test_data): Likewise.
2382 (fpclassify_test_data): Likewise.
2383 (frexp_test_data): Likewise.
2384 (ilogb_test_data): Likewise.
2385 (isfinite_test_data): Likewise.
2386 (isgreater_test_data): Likewise.
2387 (isgreaterequal_test_data): Likewise.
2388 (isinf_test_data): Likewise.
2389 (isless_test_data): Likewise.
2390 (islessequal_test_data): Likewise.
2391 (islessgreater_test_data): Likewise.
2392 (isnan_test_data): Likewise.
2393 (isnormal_test_data): Likewise.
2394 (issignaling_test_data): Likewise.
2395 (isunordered_test_data): Likewise.
2396 (ldexp_test_data): Likewise.
2397 (lrint_test_data): Likewise.
2398 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2399 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2400 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2401 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2402 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2403 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2404 test input.
2405 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2406 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2407 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2408 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2409 that test input.
2410 (lrint_downward_test_data): Test for "inexact" exceptions.
2411 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2412 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2413 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2414 test input.
2415 (lrint_upward_test_data): Test for "inexact" exceptions.
2416 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2417 test input.
2418 (llrint_test_data): Test for "inexact" exceptions.
2419 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2420 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2421 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2422 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2423 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2424 (llrint_downward_test_data): Test for "inexact" exceptions.
2425 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2426 (llrint_upward_test_data): Test for "inexact" exceptions.
2427 (logb_test_data): Likewise.
2428 (logb_downward_test_data): Likewise.
2429 (nextafter_test_data): Likewise.
2430 (nexttoward_test_data): Likewise.
2431 (remainder_test_data): Likewise.
2432 (remquo_test_data): Likewise.
2433 (scalbn_test_data): Likewise.
2434 (scalbln_test_data): Likewise.
2435 (signbit_test_data): Likewise.
2436 (sqrt_test_data): Likewise.
2437 (significand_test_data): Likewise.
2438
2439 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2440
2441 [BZ #15424]
2442 * benchtests/bench-modf.c (struct args): Mark arg0 as
2443 volatile.
2444 * scripts/bench.pl: Mark members of struct args as volatile.
2445
2446 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2447
2448 [BZ # 15497]
2449 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2450 negative infinity on POWER6 or lower.
2451 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2452
2453 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2454
2455 [BZ #15442]
2456 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2457 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2458 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2459 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2460 (_FP_SETQNAN): New macro.
2461 (_FP_SETQNAN_SEMIRAW): Likewise.
2462 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2463 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2464 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2465 (FP_EXTEND): Use _FP_FRAC_SNANP.
2466 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2467 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2468 into account.
2469 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2470 New macro.
2471 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2472 Likewise.
2473
2474 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2475
2476 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2477 with DIVIDE_BY_ZERO_EXCEPTION.
2478 (gamma_test_data): Likewise.
2479 (lgamma_test_data): Likewise.
2480 (log_test_data): Likewise.
2481 (log10_test_data): Likewise.
2482 (log2_test_data): Likewise.
2483 (tgamma_test_data): Likewise.
2484
2485 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2486 (acos_test_tonearest): Likewise.
2487 (acos_test_towardzero): Likewise.
2488 (acos_test_downward): Likewise.
2489 (acos_test_upward): Likewise.
2490 (acosh_test): Likewise.
2491 (asin_test): Likewise.
2492 (asin_test_tonearest): Likewise.
2493 (asin_test_towardzero): Likewise.
2494 (asin_test_downward): Likewise.
2495 (asin_test_upward): Likewise.
2496 (asinh_test): Likewise.
2497 (atan_test): Likewise.
2498 (atanh_test): Likewise.
2499 (atan2_test): Likewise.
2500 (cabs_test): Likewise.
2501 (cacos_test): Likewise.
2502 (cacosh_test): Likewise.
2503 (casin_test): Likewise.
2504 (casinh_test): Likewise.
2505 (catan_test): Likewise.
2506 (catanh_test): Likewise.
2507 (cbrt_test): Likewise.
2508 (ccos_test): Likewise.
2509 (ccosh_test): Likewise.
2510 (cexp_test): Likewise.
2511 (clog_test): Likewise.
2512 (clog10_test): Likewise.
2513 (cos_test): Likewise.
2514 (cos_test_tonearest): Likewise.
2515 (cos_test_towardzero): Likewise.
2516 (cos_test_downward): Likewise.
2517 (cos_test_upward): Likewise.
2518 (cosh_test): Likewise.
2519 (cosh_test_tonearest): Likewise.
2520 (cosh_test_towardzero): Likewise.
2521 (cosh_test_downward): Likewise.
2522 (cosh_test_upward): Likewise.
2523 (cpow_test): Likewise.
2524 (csin_test): Likewise.
2525 (csinh_test): Likewise.
2526 (csqrt_test): Likewise.
2527 (ctan_test): Likewise.
2528 (ctan_test_tonearest): Likewise.
2529 (ctan_test_towardzero): Likewise.
2530 (ctan_test_downward): Likewise.
2531 (ctan_test_upward): Likewise.
2532 (ctanh_test): Likewise.
2533 (ctanh_test_tonearest): Likewise.
2534 (ctanh_test_towardzero): Likewise.
2535 (ctanh_test_downward): Likewise.
2536 (ctanh_test_upward): Likewise.
2537 (erf_test): Likewise.
2538 (erfc_test): Likewise.
2539 (exp_test): Likewise.
2540 (exp_test_tonearest): Likewise.
2541 (exp_test_towardzero): Likewise.
2542 (exp_test_downward): Likewise.
2543 (exp_test_upward): Likewise.
2544 (exp10_test): Likewise.
2545 (exp2_test): Likewise.
2546 (expm1_test): Likewise.
2547 (fmod_test): Likewise.
2548 (gamma_test): Likewise.
2549 (hypot_test): Likewise.
2550 (j0_test): Likewise.
2551 (j1_test): Likewise.
2552 (jn_test): Likewise.
2553 (lgamma_test): Likewise.
2554 (log_test): Likewise.
2555 (log10_test): Likewise.
2556 (log1p_test): Likewise.
2557 (log2_test): Likewise.
2558 (logb_test_downward): Likewise.
2559 (pow_test): Likewise.
2560 (pow_test_tonearest): Likewise.
2561 (pow_test_towardzero): Likewise.
2562 (pow_test_downward): Likewise.
2563 (pow_test_upward): Likewise.
2564 (remainder_test): Likewise.
2565 (remquo_test): Likewise.
2566 (sin_test): Likewise.
2567 (sin_test_tonearest): Likewise.
2568 (sin_test_towardzero): Likewise.
2569 (sin_test_downward): Likewise.
2570 (sin_test_upward): Likewise.
2571 (sincos_test): Likewise.
2572 (sinh_test): Likewise.
2573 (sinh_test_tonearest): Likewise.
2574 (sinh_test_towardzero): Likewise.
2575 (sinh_test_downward): Likewise.
2576 (sinh_test_upward): Likewise.
2577 (sqrt_test): Likewise.
2578 (tan_test): Likewise.
2579 (tan_test_tonearest): Likewise.
2580 (tan_test_towardzero): Likewise.
2581 (tan_test_downward): Likewise.
2582 (tan_test_upward): Likewise.
2583 (tanh_test): Likewise.
2584 (tgamma_test): Likewise.
2585 (y0_test): Likewise.
2586 (y1_test): Likewise.
2587 (yn_test): Likewise.
2588
2589 * math/gen-libm-test.pl (adjust_arg): Remove function.
2590 (special_function): Remove argument $in_func. Only handle
2591 generating output for tables of tests, not inside functions.
2592 (parse_args): Likewise.
2593 (generate_testfile): Remove variable $in_func. Update call to
2594 parse_args.
2595 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2596 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2597 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2598 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2599 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2600 (MAX_VALUE_INIT): Rename macro to max_value.
2601 (MIN_VALUE_INIT): Rename macro to min_value.
2602 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2603 (plus_zero): Remove variable.
2604 (minus_zero): Likewise.
2605 (plus_infty): Likewise.
2606 (minus_infty): Likewise.
2607 (qnan_value): Likewise.
2608 (max_value): Likewise.
2609 (min_value): Likewise.
2610 (min_subnorm_value): Likewise.
2611
2612 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2613
2614 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2615 uint64_t or uint32_t usage.
2616 * crypt/sha256-block.c: Likewise.
2617 * crypt/sha256-crypt.c: Likewise.
2618 * crypt/sha256.c: Likewise.
2619 * crypt/sha512-block.c: Likewise.
2620 * crypt/sha512-crypt.c: Likewise.
2621 * crypt/sha512.c: Likewise.
2622 * debug/backtrace-tst.c: Likewise.
2623 * debug/pcprofiledump.c: Likewise.
2624 * elf/cache.c: Likewise.
2625 * elf/dl-cache.c: Likewise.
2626 * elf/dl-misc.c: Likewise.
2627 * elf/dl-profile.c: Likewise.
2628 * elf/dl-support.c: Likewise.
2629 * elf/ldconfig.c: Likewise.
2630 * elf/sprof.c: Likewise.
2631 * iconv/dummy-repertoire.c: Likewise.
2632 * iconv/iconv_charmap.c: Likewise.
2633 * iconv/skeleton.c: Likewise.
2634 * iconvdata/8bit-generic.c: Likewise.
2635 * iconvdata/cp737.h: Likewise.
2636 * iconvdata/cp775.h: Likewise.
2637 * iconvdata/ibm1008.h: Likewise.
2638 * iconvdata/ibm1025.h: Likewise.
2639 * iconvdata/ibm1046.h: Likewise.
2640 * iconvdata/ibm1097.h: Likewise.
2641 * iconvdata/ibm1112.h: Likewise.
2642 * iconvdata/ibm1122.h: Likewise.
2643 * iconvdata/ibm1123.h: Likewise.
2644 * iconvdata/ibm1124.h: Likewise.
2645 * iconvdata/ibm1129.h: Likewise.
2646 * iconvdata/ibm1130.h: Likewise.
2647 * iconvdata/ibm1132.h: Likewise.
2648 * iconvdata/ibm1133.h: Likewise.
2649 * iconvdata/ibm1137.h: Likewise.
2650 * iconvdata/ibm1140.h: Likewise.
2651 * iconvdata/ibm1141.h: Likewise.
2652 * iconvdata/ibm1142.h: Likewise.
2653 * iconvdata/ibm1143.h: Likewise.
2654 * iconvdata/ibm1144.h: Likewise.
2655 * iconvdata/ibm1145.h: Likewise.
2656 * iconvdata/ibm1146.h: Likewise.
2657 * iconvdata/ibm1147.h: Likewise.
2658 * iconvdata/ibm1148.h: Likewise.
2659 * iconvdata/ibm1149.h: Likewise.
2660 * iconvdata/ibm1153.h: Likewise.
2661 * iconvdata/ibm1154.h: Likewise.
2662 * iconvdata/ibm1155.h: Likewise.
2663 * iconvdata/ibm1156.h: Likewise.
2664 * iconvdata/ibm1157.h: Likewise.
2665 * iconvdata/ibm1158.h: Likewise.
2666 * iconvdata/ibm1160.h: Likewise.
2667 * iconvdata/ibm1161.h: Likewise.
2668 * iconvdata/ibm1162.h: Likewise.
2669 * iconvdata/ibm1163.h: Likewise.
2670 * iconvdata/ibm1164.h: Likewise.
2671 * iconvdata/ibm1166.h: Likewise.
2672 * iconvdata/ibm1167.h: Likewise.
2673 * iconvdata/ibm12712.h: Likewise.
2674 * iconvdata/ibm1390.h: Likewise.
2675 * iconvdata/ibm1399.h: Likewise.
2676 * iconvdata/ibm16804.h: Likewise.
2677 * iconvdata/ibm4517.h: Likewise.
2678 * iconvdata/ibm4899.h: Likewise.
2679 * iconvdata/ibm4909.h: Likewise.
2680 * iconvdata/ibm4971.h: Likewise.
2681 * iconvdata/ibm5347.h: Likewise.
2682 * iconvdata/ibm803.h: Likewise.
2683 * iconvdata/ibm856.h: Likewise.
2684 * iconvdata/ibm901.h: Likewise.
2685 * iconvdata/ibm902.h: Likewise.
2686 * iconvdata/ibm9030.h: Likewise.
2687 * iconvdata/ibm9066.h: Likewise.
2688 * iconvdata/ibm921.h: Likewise.
2689 * iconvdata/ibm922.h: Likewise.
2690 * iconvdata/ibm9448.h: Likewise.
2691 * iconvdata/isiri-3342.h: Likewise.
2692 * iconvdata/jis0201.h: Likewise.
2693 * include/link.h: Likewise.
2694 * include/netdb.h: Likewise.
2695 * inet/check_native.c: Likewise.
2696 * inet/check_pf.c: Likewise.
2697 * inet/getipv4sourcefilter.c: Likewise.
2698 * inet/getnameinfo.c: Likewise.
2699 * inet/getsourcefilter.c: Likewise.
2700 * inet/htonl.c: Likewise.
2701 * inet/setipv4sourcefilter.c: Likewise.
2702 * inet/setsourcefilter.c: Likewise.
2703 * inet/test-inet6_opt.c: Likewise.
2704 * inet/tst-network.c: Likewise.
2705 * locale/C-collate.c: Likewise.
2706 * locale/C-ctype.c: Likewise.
2707 * locale/C-time.c: Likewise.
2708 * locale/C-translit.h: Likewise.
2709 * locale/loadarchive.c: Likewise.
2710 * locale/programs/3level.h: Likewise.
2711 * locale/programs/charmap.c: Likewise.
2712 * locale/programs/charmap.h: Likewise.
2713 * locale/programs/ld-address.c: Likewise.
2714 * locale/programs/ld-collate.c: Likewise.
2715 * locale/programs/ld-ctype.c: Likewise.
2716 * locale/programs/ld-identification.c: Likewise.
2717 * locale/programs/ld-measurement.c: Likewise.
2718 * locale/programs/ld-messages.c: Likewise.
2719 * locale/programs/ld-monetary.c: Likewise.
2720 * locale/programs/ld-name.c: Likewise.
2721 * locale/programs/ld-numeric.c: Likewise.
2722 * locale/programs/ld-paper.c: Likewise.
2723 * locale/programs/ld-telephone.c: Likewise.
2724 * locale/programs/ld-time.c: Likewise.
2725 * locale/programs/linereader.c: Likewise.
2726 * locale/programs/locale.c: Likewise.
2727 * locale/programs/locarchive.c: Likewise.
2728 * locale/programs/locfile.h: Likewise.
2729 * locale/programs/repertoire.c: Likewise.
2730 * locale/programs/simple-hash.c: Likewise.
2731 * locale/programs/simple-hash.h: Likewise.
2732 * malloc/memusage.c: Likewise.
2733 * malloc/memusagestat.c: Likewise.
2734 * nis/nis_defaults.c: Likewise.
2735 * nis/nis_hash.c: Likewise.
2736 * nis/nis_print.c: Likewise.
2737 * nis/nis_xdr.c: Likewise.
2738 * nscd/connections.c: Likewise.
2739 * nscd/hstcache.c: Likewise.
2740 * nscd/nscd_gethst_r.c: Likewise.
2741 * nscd/nscd_getserv_r.c: Likewise.
2742 * nscd/nscd_helper.c: Likewise.
2743 * nscd/servicescache.c: Likewise.
2744 * nss/makedb.c: Likewise.
2745 * nss/nss_db/db-XXX.c: Likewise.
2746 * nss/nss_db/db-initgroups.c: Likewise.
2747 * nss/nss_db/db-netgrp.c: Likewise.
2748 * nss/nss_files/files-network.c: Likewise.
2749 * nss/nss_files/files-parse.c: Likewise.
2750 * posix/bug-regex5.c: Likewise.
2751 * posix/fnmatch_loop.c: Likewise.
2752 * posix/regcomp.c: Likewise.
2753 * posix/regexec.c: Likewise.
2754 * posix/tst-rfc3484-2.c: Likewise.
2755 * posix/tst-rfc3484-3.c: Likewise.
2756 * posix/tst-rfc3484.c: Likewise.
2757 * resolv/nss_dns/dns-canon.c: Likewise.
2758 * resolv/nss_dns/dns-network.c: Likewise.
2759 * resolv/res_init.c: Likewise.
2760 * resolv/res_mkquery.c: Likewise.
2761 * resolv/tst-aton.c: Likewise.
2762 * stdlib/cxa_atexit.c: Likewise.
2763 * stdlib/cxa_finalize.c: Likewise.
2764 * stdlib/gen-fpioconst.c: Likewise.
2765 * stdlib/strtol_l.c: Likewise.
2766 * string/tst-endian.c: Likewise.
2767 * sunrpc/auth_des.c: Likewise.
2768 * sunrpc/clnt_udp.c: Likewise.
2769 * sunrpc/rtime.c: Likewise.
2770 * sunrpc/svcauth_des.c: Likewise.
2771 * sunrpc/xdr.c: Likewise.
2772 * sunrpc/xdr_intXX_t.c: Likewise.
2773 * sunrpc/xdr_rec.c: Likewise.
2774 * sysdeps/generic/ldconfig.h: Likewise.
2775 * sysdeps/generic/ldsodefs.h: Likewise.
2776 * sysdeps/generic/memusage.h: Likewise.
2777 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2778 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2779 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2780 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2781 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2784 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2786 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2787 * sysdeps/posix/getaddrinfo.c: Likewise.
2788 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2789 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2790 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2791 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2792 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2793 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2794 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2795 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2796 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2797 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2798 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2799 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2800 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2801 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2802 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2803 * sysdeps/x86_64/dl-tls.h: Likewise.
2804 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2805 * time/alt_digit.c: Likewise.
2806 * time/era.c: Likewise.
2807 * wcsmbs/tst-c16c32-1.c: Likewise.
2808
2809 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2810
2811 * math/libm-test.inc (struct test_sincos_data): New type.
2812 (RUN_TEST_LOOP_sincos): New macro.
2813 (sincos_test_data): New variable.
2814 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2815
2816 2013-05-16 Richard Henderson <rth@redhat.com>
2817
2818 * math/atest-exp2.c (LIMB64): New macro.
2819 (CONSTSZ): New macro.
2820 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2821 (hexdig): Move ...
2822 (print_mpn_fp): ... to function scope.
2823 (read_mpn_hex): Remove.
2824 (get_log2): Remove.
2825 (exp2_mpn): Use mp_log2.
2826 (main): Use mp_exp1.
2827
2828 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2829
2830 * math/libm-test.inc: Remove comment about not testing "inexact"
2831 exceptions.
2832 (INEXACT_EXCEPTION): New macro.
2833 (NO_INEXACT_EXCEPTION): Likewise.
2834 (INVALID_EXCEPTION_OK): Update value.
2835 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2836 (OVERFLOW_EXCEPTION_OK): Likewise.
2837 (UNDERFLOW_EXCEPTION_OK): Likewise.
2838 (IGNORE_ZERO_INF_SIGN): Likewise.
2839 (ERRNO_UNCHANGED): Likewise.
2840 (ERRNO_EDOM): Likewise.
2841 (ERRNO_ERANGE): Likewise.
2842 (test_exceptions): Handle testing "inexact" exceptions.
2843 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2844 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2845 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2846 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2847 INEXACT_EXCEPTION.
2848 (rint_towardzero_test_data): Likewise.
2849 (rint_downward_test_data): Likewise.
2850 (rint_upward_test_data): Likewise.
2851
2852 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2853 with OVERFLOW_EXCEPTION.
2854 (exp10_test_data): Likewise.
2855 (exp2_test_data): Likewise.
2856 (expm1_test_data): Likewise.
2857 (lgamma_test_data): Likewise.
2858 (pow_test_data): Likewise.
2859 (tgamma_test_data): Likewise.
2860 (yn_test_data): Remove duplicate test of overflow.
2861
2862 * math/libm-test.inc (struct test_cc_c_data): New type.
2863 (RUN_TEST_LOOP_cc_c): New macro.
2864 (cpow_test_data): New variable.
2865 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2866
2867 * math/libm-test.inc (struct test_f_L_data): New type.
2868 (RUN_TEST_LOOP_f_L): New macro.
2869 (llrint_test_data): New variable.
2870 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2871 (llrint_tonearest_test_data): New variable.
2872 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2873 (llrint_towardzero_test_data): New variable.
2874 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2875 (llrint_downward_test_data): New variable.
2876 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2877 (llrint_upward_test_data): New variable.
2878 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2879 (llround_test_data): New variable.
2880 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2881
2882 2013-05-13 Peter Collingbourne <pcc@google.com>
2883
2884 * math/atest-exp2.c (get_log2): Remove const attribute.
2885
2886 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2887
2888 * math/libm-test.inc (struct test_f_l_data): New type.
2889 (RUN_TEST_LOOP_f_l): New macro.
2890 (lrint_test_data): New variable.
2891 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2892 (lrint_tonearest_test_data): New variable.
2893 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2894 (lrint_towardzero_test_data): New variable.
2895 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2896 (lrint_downward_test_data): New variable.
2897 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2898 (lrint_upward_test_data): New variable.
2899 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2900 (lround_test_data): New variable.
2901 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2902
2903 2013-05-15 Peter Collingbourne <pcc@google.com>
2904
2905 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2906 (EXTRACT_WORDS64) Use where appropriate.
2907 (INSERT_WORDS64) Likewise.
2908
2909 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2910 constraints with x constraints.
2911 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2912
2913 * malloc/obstack.c (_obstack_compat): Add initializer.
2914
2915 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2916
2917 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2918 si_trapno and add si_addr_lsb to _sifields.sigfault.
2919 (si_trapno): Remove macro.
2920 (si_addr_lsb): Define new macro.
2921 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2922
2923 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2924
2925 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2926 instead of TEST_f_l.
2927 (llrint_test_tonearest): Likewise.
2928 (llrint_test_towardzero): Likewise.
2929 (llrint_test_downward): Likewise.
2930 (llrint_test_upward): Likewise.
2931 (llround_test): Likewise.
2932
2933 * math/libm-test.inc (struct test_f_i_data): Add comment.
2934 (RUN_TEST_LOOP_f_b): New macro.
2935 (RUN_TEST_LOOP_f_b_tg): Likewise.
2936 (finite_test_data): New variable.
2937 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2938 (isfinite_test_data): New variable.
2939 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2940 (isinf_test_data): New variable.
2941 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2942 (isnan_test_data): New variable.
2943 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2944 (isnormal_test_data): New variable.
2945 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2946 (issignaling_test_data): New variable.
2947 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2948 (signbit_test_data): New variable.
2949 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2950
2951 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2952 with INVALID_EXCEPTION.
2953 (acosh_test_data): Likewise.
2954 (asin_test_data): Likewise.
2955 (atanh_test_data): Likewise.
2956 (fmod_test_data): Likewise.
2957 (log_test_data): Likewise.
2958 (log10_test_data): Likewise.
2959 (log2_test_data): Likewise.
2960 (pow_test_data): Likewise.
2961 (sqrt_test_data): Likewise.
2962 (y0_test_data): Likewise.
2963 (y1_test_data): Likewise.
2964 (yn_test_data): Likewise.
2965
2966 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2967 function contents.
2968
2969 * math/libm-test.inc (struct test_ff_i_data): New type.
2970 (RUN_TEST_LOOP_ff_i_tg): New macro.
2971 (isgreater_test_data): New variable.
2972 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2973 (isgreaterequal_test_data): New variable.
2974 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2975 (isless_test_data): New variable.
2976 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2977 (islessequal_test_data): New variable.
2978 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2979 (islessgreater_test_data): New variable.
2980 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2981 (isunordered_test_data): New variable.
2982 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2983
2984 2013-05-14 David S. Miller <davem@davemloft.net>
2985
2986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2987
2988 2013-05-14 Joseph Myers <joseph@codesourcery.com>
2989
2990 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2991
2992 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2993 extra_test to int.
2994 (struct test_f_i_data): Change type of max_ulp to int.
2995
2996 * math/libm-test.inc (test_ffI_f1_data): New type.
2997 (RUN_TEST_LOOP_ffI_f1): New macro.
2998 (remquo_test_data): New variable.
2999 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3000
3001 * setjmp/tst-setjmp-fp.c: New file.
3002 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3003 (link-libm): New variable.
3004 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3005
3006 * math/libm-test.inc (struct test_f_i_data): New type.
3007 (RUN_TEST_LOOP_f_i): New macro.
3008 (RUN_TEST_LOOP_f_i_tg): Likewise.
3009 (fpclassify_test_data): New variable.
3010 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3011 (ilogb_test_data): New variable.
3012 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3013
3014 * math/libm-test.inc (scalbln_test): Correct function name in END
3015 call.
3016
3017 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3018 (RUN_TEST_LOOP_fI_f1): New macro.
3019 (frexp_test_data): New variable.
3020 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3021
3022 * math/libm-test.inc (struct test_fF_f1_data): New type.
3023 (RUN_TEST_LOOP_fF_f1): New macro.
3024 (modf_test_data): New variable.
3025 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3026
3027 * math/libm-test.inc (struct test_f_f1_data): New type.
3028 (RUN_TEST_LOOP_f_f1): New macro.
3029 (gamma_test_data): New variable.
3030 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3031 (lgamma_test_data): New variable.
3032 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3033
3034 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3035
3036 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3037 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3038 (main): Comment "tls" pseudo-hwcap.
3039
3040 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3041
3042 * math/libm-test.inc (struct test_fl_f_data): New type.
3043 (RUN_TEST_LOOP_fl_f): New variable.
3044 (scalbln_test_data): New variable.
3045 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3046
3047 * math/libm-test.inc (struct test_fi_f_data): New type.
3048 (RUN_TEST_LOOP_fi_f): New macro.
3049 (ldexp_test_data): New variable.
3050 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3051 (scalbn_test_data): New variable.
3052 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3053
3054 * math/libm-test.inc (struct test_c_f_data): New type.
3055 (RUN_TEST_LOOP_c_f): New macro.
3056 (cabs_test_data): New variable.
3057 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3058 (carg_test_data): New variable.
3059 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3060 (cimag_test_data): New variable.
3061 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3062 (creal_test_data): New variable.
3063 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3064
3065 * math/libm-test.inc (struct test_if_f_data): New type.
3066 (RUN_TEST_LOOP_if_f): New macro.
3067 (jn_test_data): New variable.
3068 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3069 (yn_test_data): New variable.
3070 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3071
3072 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3073
3074 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3075
3076 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3077 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3078
3079 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3080
3081 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3082 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3083 (bench-deps): Add bench-timing.h.
3084 * benchtests-bench-skeleton.c: Include bench-timing.h.
3085 (main): Use TIMING_* macros instead of clock_gettime.
3086 * benchtests/bench-timing.h: New file.
3087
3088 [BZ #14582]
3089 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3090 Renamed from _LIB_VERSION.
3091 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3092
3093 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3094
3095 * math/libm-test.inc (struct test_fff_f_data): New type.
3096 (RUN_TEST_LOOP_fff_f): New macro.
3097 (fma_test_data): New variable.
3098 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3099 (fma_towardzero_test_data): New variable.
3100 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3101 (fma_downward_test_data): New variable.
3102 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3103 (fma_upward_test_data): New variable.
3104 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3105
3106 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3107 (struct test_c_c_data): New type.
3108 (RUN_TEST_LOOP_c_c): New macro.
3109 (cacos_test_data): New variable.
3110 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3111 (cacosh_test_data): New variable.
3112 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3113 (casin_test_data): New variable.
3114 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3115 (casinh_test_data): New variable.
3116 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3117 (catan_test_data): New variable.
3118 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3119 (catanh_test_data): New variable.
3120 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3121 (ccos_test_data): New variable.
3122 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3123 (ccosh_test_data): New variable.
3124 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3125 (cexp_test_data): New variable.
3126 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3127 (clog_test_data): New variable.
3128 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3129 (clog10_test_data): New variable.
3130 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3131 (conj_test_data): New variable.
3132 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3133 (cproj_test_data): New variable.
3134 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3135 (csin_test_data): New variable.
3136 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3137 (csinh_test_data): New variable.
3138 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3139 (csqrt_test_data): New variable.
3140 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3141 (ctan_test_data): New variable.
3142 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3143 (ctan_tonearest_test_data): New variable.
3144 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3145 (ctan_towardzero_test_data): New variable.
3146 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3147 (ctan_downward_test_data): New variable.
3148 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3149 (ctan_upward_test_data): New variable.
3150 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3151 (ctanh_test_data): New variable.
3152 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3153 (ctanh_tonearest_test_data): New variable.
3154 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3155 (ctanh_towardzero_test_data): New variable.
3156 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3157 (ctanh_downward_test_data): New variable.
3158 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3159 (ctanh_upward_test_data): New variable.
3160 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3161 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3162 of BUILD_COMPLEX.
3163
3164 * math/libm-test.inc (struct test_ff_f_data): New type.
3165 (struct test_ff_f_data_nexttoward): Likewise.
3166 (RUN_TEST_LOOP_2_f): New macro.
3167 (RUN_TEST_LOOP_ff_f): Likewise.
3168 (atan2_test_data): New variable.
3169 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3170 (copysign_test_data): New variable.
3171 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3172 (fdim_test_data): New variable.
3173 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3174 (fmax_test_data): New variable.
3175 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3176 (fmin_test_data): New variable.
3177 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3178 (fmod_test_data): New variable.
3179 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3180 (hypot_test_data): New variable.
3181 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3182 (nextafter_test_data): New variable.
3183 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3184 (nexttoward_test_data): New variable.
3185 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3186 (pow_test_data): New variable.
3187 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3188 (pow_tonearest_test_data): New variable.
3189 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3190 (pow_towardzero_test_data): New variable.
3191 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3192 (pow_downward_test_data): New variable.
3193 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3194 (pow_upward_test_data): New variable.
3195 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3196 (remainder_test_data): New variable.
3197 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3198 (scalb_test_data): New variable.
3199 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3200 * sysdeps/i386/fpu/libm-test-ulps: Update.
3201
3202 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3203
3204 * math/libm-test.inc (fma_test): Use max_value instead of local
3205 variable fltmax.
3206 (nextafter_test): Likewise.
3207
3208 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3209 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3210 (acos_downward_test_data): New variable.
3211 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3212 (acos_upward_test_data): New variable.
3213 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3214 (acosh_test_data): New variable.
3215 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3216 (asin_test_data): New variable.
3217 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3218 (asin_tonearest_test_data): New variable.
3219 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3220 (asin_towardzero_test_data): New variable.
3221 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3222 (asin_downward_test_data): New variable.
3223 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3224 (asin_upward_test_data): New variable.
3225 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3226 (asinh_test_data): New variable.
3227 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3228 (atan_test_data): New variable.
3229 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3230 (atanh_test_data): New variable.
3231 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3232 (cbrt_test_data): New variable.
3233 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3234 (ceil_test_data): New variable.
3235 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3236 (cos_test_data): New variable.
3237 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3238 (cos_tonearest_test_data): New variable.
3239 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3240 (cos_towardzero_test_data): New variable.
3241 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3242 (cos_downward_test_data): New variable.
3243 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3244 (cos_upward_test_data): New variable.
3245 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3246 (cosh_test_data): New variable.
3247 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3248 (cosh_tonearest_test_data): New variable.
3249 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3250 (cosh_towardzero_test_data): New variable.
3251 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3252 (cosh_downward_test_data): New variable.
3253 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3254 (cosh_upward_test_data): New variable.
3255 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3256 (erf_test_data): New variable.
3257 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3258 (erfc_test_data): New variable.
3259 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3260 (exp_test_data): New variable.
3261 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3262 (exp_tonearest_test_data): New variable.
3263 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3264 (exp_towardzero_test_data): New variable.
3265 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3266 (exp_downward_test_data): New variable.
3267 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3268 (exp_upward_test_data): New variable.
3269 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3270 (exp10_test_data): New variable.
3271 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3272 (exp2_test_data): New variable.
3273 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3274 (expm1_test_data): New variable.
3275 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3276 (fabs_test_data): New variable.
3277 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3278 (floor_test_data): New variable.
3279 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3280 (j0_test_data): New variable.
3281 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3282 (j1_test_data): New variable.
3283 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3284 (log_test_data): New variable.
3285 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3286 (log10_test_data): New variable.
3287 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3288 (log1p_test_data): New variable.
3289 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3290 (log2_test_data): New variable.
3291 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3292 (logb_test_data): New variable.
3293 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3294 (logb_downward_test_data): New variable.
3295 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3296 (nearbyint_test_data): New variable.
3297 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3298 (rint_test_data): New variable.
3299 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3300 (rint_tonearest_test_data): New variable.
3301 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3302 (rint_towardzero_test_data): New variable.
3303 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3304 (rint_downward_test_data): New variable.
3305 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3306 (rint_upward_test_data): New variable.
3307 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3308 (round_test_data): New variable.
3309 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3310 (sin_test_data): New variable.
3311 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3312 (sin_tonearest_test_data): New variable.
3313 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3314 (sin_towardzero_test_data): New variable.
3315 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3316 (sin_downward_test_data): New variable.
3317 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3318 (sin_upward_test_data): New variable.
3319 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3320 (sinh_test_data): New variable.
3321 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3322 (sinh_tonearest_test_data): New variable.
3323 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3324 (sinh_towardzero_test_data): New variable.
3325 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3326 (sinh_downward_test_data): New variable.
3327 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3328 (sinh_upward_test_data): New variable.
3329 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3330 (sqrt_test_data): New variable.
3331 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3332 (tan_test_data): New variable.
3333 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3334 (tan_tonearest_test_data): New variable.
3335 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3336 (tan_towardzero_test_data): New variable.
3337 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3338 (tan_downward_test_data): New variable.
3339 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3340 (tan_upward_test_data): New variable.
3341 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3342 (tanh_test_data): New variable.
3343 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3344 (tgamma_test_data): New variable.
3345 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3346 (trunc_test_data): New variable.
3347 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3348 (y0_test_data): New variable.
3349 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3350 (y1_test_data): New variable.
3351 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3352 (significand_test_data): New variable.
3353 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3354
3355 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3356
3357 [BZ #12387]
3358 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3359
3360 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3361
3362 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3363
3364 2013-05-10 Andreas Jaeger <aj@suse.de>
3365
3366 [BZ #15448]
3367 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3368 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3369
3370 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3371
3372 * math/gen-libm-test.pl (adjust_arg): New function.
3373 (special_functions): Handle generating output in both functions
3374 and arrays.
3375 (parse_args): Likewise.
3376 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3377 $in_func argument to parse_args.
3378 * math/libm-test.inc (struct test_f_f_data): New type.
3379 (IF_ROUND_INIT_): New macro.
3380 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3381 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3382 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3383 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3384 (ROUND_RESTORE_): Likewise.
3385 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3386 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3387 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3388 (ROUND_RESTORE_FE_UPWARD): Likewise.
3389 (RUN_TEST_LOOP_f_f): New macro.
3390 (acos_test_data): New variable.
3391 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3392 (acos_tonearest_test_data): New variable.
3393 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3394
3395 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3396
3397 * benchtests/bench-skeleton.c (startup): Fix coding style.
3398
3399 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3400
3401 [BZ #6809]
3402 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3403 negative infinity argument.
3404 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3405 negative infinity argument.
3406 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3407 negative infinity argument.
3408 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3409 domain errors.
3410
3411 2013-05-10 Florian Weimer <fweimer@redhat.com>
3412
3413 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3414 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3415 * iconv/iconv_prog.c (main): Likewise.
3416 * locale/programs/charmap-dir.c (charmap_readdir)
3417 (fopen_uncompressed): Likewise.
3418 * locale/programs/locfile.c (siblings_uncached)
3419 (write_locale_data): Use lstat64 instead of lstat.
3420 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3421 stat.
3422
3423 2013-05-10 Andreas Jaeger <aj@suse.de>
3424
3425 [BZ #15395]
3426 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3427 localization.
3428 Include <locale.h>.
3429
3430 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3431
3432 * elf/dl-close.c (_dl_close_worker): Add comments.
3433
3434 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3435
3436 [BZ #15359]
3437 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3438 high part of pi/2.
3439 (__ieee754_rem_pio2l): Update comments.
3440
3441 [BZ #15429]
3442 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3443 high part of pi/2.
3444 (__ieee754_rem_pio2l): Update comments.
3445
3446 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3447 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3448
3449 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3450 M_PI_4l.
3451
3452 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3453 (M_PI_34_LOG10El): Likewise.
3454 (M_PI2_LOG10El): Likewise.
3455 (M_PI4_LOG10El): Likewise.
3456 (M_PI_LOG10El): Likewise.
3457
3458 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3459
3460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3461
3462 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3463
3464 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3465 (MINUS_ZERO_INIT): Likewise.
3466 (PLUS_INFTY_INIT): Likewise.
3467 (MINUS_INFTY_INIT): Likewise.
3468 (QNAN_VALUE_INIT): Likewise.
3469 (MAX_VALUE_INIT): Likewise.
3470 (MIN_VALUE_INIT): Likewise.
3471 (MIN_SUBNORM_VALUE_INIT): Likewise.
3472 (plus_zero): Initialize with PLUS_ZERO_INIT.
3473 (minus_zero): Initialize with MINUS_ZERO_INIT.
3474 (plus_infty): Initialize with PLUS_INFTY_INIT.
3475 (minus_infty): Initialize with MINUS_INFTY_INIT.
3476 (qnan_value): Initialize with QNAN_VALUE_INIT.
3477 (max_value): Initialize with MAX_VALUE_INIT.
3478 (min_value): Initialize with MIN_VALUE_INIT.
3479 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3480
3481 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3482 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3483 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3484 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3485
3486 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3487 (RUN_TEST_2_f): Likewise.
3488 (RUN_TEST_ff_f): Likewise.
3489 (RUN_TEST_fi_f): Likewise.
3490 (RUN_TEST_fl_f): Likewise.
3491 (RUN_TEST_fff_f): Likewise.
3492 (RUN_TEST_c_f): Likewise.
3493 (RUN_TEST_f_f1): Likewise.
3494 (RUN_TEST_fF_f1): Likewise.
3495 (RUN_TEST_fI_f1): Likewise.
3496 (RUN_TEST_ffI_f1): Likewise.
3497 (RUN_TEST_c_c): Likewise.
3498 (RUN_TEST_cc_c): Likewise.
3499 (RUN_TEST_f_i): Likewise.
3500 (RUN_TEST_f_i_tg): Likewise.
3501 (RUN_TEST_ff_i_tg): Likewise.
3502 (RUN_TEST_f_b): Likewise.
3503 (RUN_TEST_f_b_tg): Likewise.
3504 (RUN_TEST_f_l): Likewise.
3505 (RUN_TEST_f_L): Likewise.
3506 (RUN_TEST_sincos): Likewise.
3507 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3508 whether to show exceptions. Do not include ");\n" in return
3509 value.
3510 (special_functions): Output call to RUN_TEST_sincos instead of
3511 check_float calls. Update calls to new_test.
3512 (parse_args): Output call to single RUN_TEST_* macro instead of
3513 check_* calls and other assignments. Update calls to new_test.
3514
3515 [BZ #2546]
3516 [BZ #2560]
3517 [BZ #5159]
3518 [BZ #15426]
3519 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3520 input to result for tgamma overflow.
3521 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3522 (gamma_coeff): New variable.
3523 (NCOEFF): New macro.
3524 (gamma_positive): New function.
3525 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3526 underflow here. Use gamma_positive instead of exp (lgamma) for
3527 other arguments.
3528 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3529 (gamma_coeff): New variable.
3530 (NCOEFF): New macro.
3531 (gammaf_positive): New function.
3532 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3533 underflow here. Use gamma_positive instead of exp (lgamma) for
3534 other arguments.
3535 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3536 (gamma_coeff): New variable.
3537 (NCOEFF): New macro.
3538 (gammal_positive): New function.
3539 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3540 underflow here. Use gamma_positive instead of exp (lgamma) for
3541 other arguments.
3542 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3543 (gamma_coeff): New variable.
3544 (NCOEFF): New macro.
3545 (gammal_positive): New function.
3546 (__ieee754_gammal_r): Handle positive infinity, overflow and
3547 underflow here. Handle NaN the same as positive infinity. Remove
3548 check x < 0xffffffff for negative integers. Use gamma_positive
3549 instead of exp (lgamma) for other arguments.
3550 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3551 (gamma_coeff): New variable.
3552 (NCOEFF): New macro.
3553 (gammal_positive): New function.
3554 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3555 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3556 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3557 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3558 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3559 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3560 * sysdeps/generic/math_private.h (__gamma_productf): New
3561 prototype.
3562 (__gamma_product): Likewise.
3563 (__gamma_productl): Likewise.
3564 * math/Makefile (libm-calls): Add gamma_product.
3565 * math/libm-test.inc (tgamma_test): Add more tests.
3566 * sysdeps/i386/fpu/libm-test-ulps: Update.
3567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3568
3569 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
3570
3571 * benchtests/bench-skeleton.c (main): Preheat CPU.
3572
3573 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3574
3575 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3576
3577 2013-05-07 Roland McGrath <roland@hack.frob.com>
3578
3579 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3580 and _dl_skip_args_internal.
3581
3582 2013-05-07 Carlos O'Donell <carlos@redhat.com>
3583
3584 * manual/message.texi (Message Translation): Talk about users.
3585 Message to key mapping impacts design.
3586
3587 2013-05-06 Roland McGrath <roland@hack.frob.com>
3588
3589 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3590
3591 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3592
3593 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3594 * sysdeps/wordsize-64/glob64.c: ... here.
3595
3596 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3597 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3598 New macros.
3599
3600 * debug/getlogin_r_chk.c: Moved to ...
3601 * login/getlogin_r_chk.c: ... here.
3602 * debug/Makefile (routines): Move getlogin_r_chk to ...
3603 * login/Makefile (routines): ... here.
3604 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3605 * login/Versions (libc: GLIBC_2.4): ... here.
3606
3607 * io/poll.c (__poll): Renamed from poll.
3608 Add libc_hidden_def.
3609 (poll): Define as weak alias.
3610
3611 * debug/ptsname_r_chk.c: Moved to ...
3612 * login/ptsname_r_chk.c: ... here.
3613 * debug/Makefile (routines): Move ptsname_r_chk to ...
3614 * login/Makefile (routines): ... here.
3615 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3616 * login/Versions (libc: GLIBC_2.4): ... here.
3617
3618 * posix/getlogin.c: Moved to ...
3619 * login/getlogin.c: ... here.
3620 * posix/getlogin_r.c: Moved to ...
3621 * login/getlogin_r.c: ... here.
3622 * posix/getlogin_r.c: Moved to ...
3623 * login/getlogin_r.c: ... here.
3624 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3625 * login/Makefile (routines): ... here.
3626 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3627 * login/Versions (libc: GLIBC_2.0): ... here.
3628
3629 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3630 (setrlimit): Define as weak alias.
3631
3632 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3633 Call __ names for open, ftruncate, and close.
3634 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3635 (truncate): Define as weak alias.
3636
3637 2013-05-06 Joseph Myers <joseph@codesourcery.com>
3638
3639 * math/gen-libm-test.pl (parse_args): Initialize x before each
3640 test of frexp, modf and remquo.
3641
3642 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3643 test signgam value.
3644
3645 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3646
3647 [BZ #15418]
3648 [BZ #15419]
3649 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3650 internal tests.
3651 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3652
3653 2013-05-06 Roland McGrath <roland@hack.frob.com>
3654
3655 * elf/dl-writev.h: New file.
3656 * elf/dl-misc.c: Include it.
3657 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3658 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3659
3660 2013-05-04 Joseph Myers <joseph@codesourcery.com>
3661
3662 * math/libm-test.inc (noXFails): Remove variable.
3663 (noXPasses): Likewise.
3664 (BUILD_COMPLEX_INT): Remove macro.
3665 (print_screen): Remove xfail argument.
3666 (print_screen_max_error): Likewise.
3667 (update_stats): Likewise.
3668 (print_max_error): Likewise. Update calls to other affected
3669 functions.
3670 (print_complex_max_error): Likewise.
3671 (test_single_exception): Update calls to print_screen.
3672 (test_single_errno): Likewise.
3673 (check_float_internal): Remove xfail argument. Update calls to
3674 other affected functions.
3675 (check_float): Likewise.
3676 (check_complex): Likewise.
3677 (check_int): Likewise.
3678 (check_long): Likewise.
3679 (check_bool): Likewise.
3680 (check_longlong): Likewise.
3681 (main): Don't print noXFails and noXPasses.
3682 * math/gen-libm-test.pl (top level): Don't mention expected
3683 failure handling in comment.
3684 (new_test): Don't handle expected failures.
3685 (parse_args): Don't mention expected failure handling in comment.
3686 (generate_testfile): Don't handle expected failures.
3687 (parse_ulps): Likewise.
3688 (print_ulps_file): Likewise.
3689 (get_failure): Remove function.
3690 (output_test): Don't handle expected failures.
3691 * make/README.libm-test: Don't mention expected failure handling.
3692
3693 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3694 (minus_zero): Likewise.
3695 (plus_infty): Likewise.
3696 (minus_infty): Likewise.
3697 (qnan_value): Likewise.
3698 (max_value): Likewise.
3699 (min_value): Likewise.
3700 (min_subnorm_value): Likewise.
3701 (initialize): Do not initialize those variables dynamically.
3702
3703 2013-05-03 Roland McGrath <roland@hack.frob.com>
3704
3705 * io/open.c (__open_2): Moved to ...
3706 * io/open_2.c: ... this new file.
3707 * io/open64.c (__open64_2): Moved to ...
3708 * io/open64_2.c: ... this new file.
3709 * io/openat.c (__openat_2): Moved to ...
3710 * io/openat_2.c: ... this new file.
3711 * io/openat64.c (__openat64_2): Moved to ...
3712 * io/openat64_2.c: ... this new file.
3713 * io/Makefile (routines): Add them.
3714 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3715 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3716 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3717 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3718 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3719 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3720 (__openat64): Add hidden_ver.
3721 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3722 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3723
3724 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3725 Separately conditionalize setting of GLRO(dl_sysinfo) so
3726 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3727 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3728
3729 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3730
3731 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3732 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3733 definition.
3734 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3735 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3736 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3737 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3738 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3739
3740 2013-05-03 Joseph Myers <joseph@codesourcery.com>
3741
3742 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3743 test signgam value.
3744
3745 * math/libm-test.inc (hypot_test): Do not use
3746 IGNORE_ZERO_INF_SIGN.
3747
3748 2013-05-03 Andreas Jaeger <aj@suse.de>
3749
3750 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3751 Linux 3.9.
3752 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3753 (PF_MAX): Adjust for VSOCK change.
3754
3755 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3756
3757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3758
3759 2013-05-02 Carlos O'Donell <carlos@redhat.com>
3760
3761 [BZ #15264]
3762 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3763 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3764 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3765
3766 2013-05-02 David S. Miller <davem@davemloft.net>
3767
3768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3769
3770 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
3771
3772 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3773
3774 2013-05-01 Roland McGrath <roland@hack.frob.com>
3775
3776 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3777
3778 2013-05-01 Richard Smith <richard@metafoo.co.uk>
3779
3780 [BZ #14952]
3781 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3782 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3783 Use __attribute__ ((__gnu_inline__)).
3784 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3785 Don't use __attribute__ ((__gnu_inline__)).
3786
3787 2013-05-01 Joseph Myers <joseph@codesourcery.com>
3788
3789 [BZ #15423]
3790 * math/s_catan.c (__catan): Handle small real or imaginary part of
3791 input specially to avoid spurious underflow.
3792 * math/s_catanf.c (__catanf): Likewise.
3793 * math/s_catanh.c (__catanh): Likewise.
3794 * math/s_catanhf.c (__catanhf): Likewise.
3795 * math/s_catanhl.c (__catanhl): Likewise.
3796 * math/s_catanl.c (__catanl): Likewise.
3797 * math/libm-test.inc (catan_test): Add more tests.
3798 (catanh_test): Likewise.
3799 * sysdeps/i386/fpu/libm-test-ulps: Update.
3800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3801
3802 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3803
3804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3805
3806 2013-04-30 Joseph Myers <joseph@codesourcery.com>
3807
3808 [BZ #15416]
3809 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3810 accurately for denominator in atan2.
3811 * math/s_catanf.c (__catanf): Likewise.
3812 * math/s_catanh.c (__catanh): Likewise.
3813 * math/s_catanhf.c (__catanhf): Likewise.
3814 * math/s_catanhl.c (__catanhl): Likewise.
3815 * math/s_catanl.c (__catanl): Likewise.
3816 * math/libm-test.inc (catan_test): Add more tests.
3817 (catanh_test): Likewise.
3818 * sysdeps/i386/fpu/libm-test-ulps: Update.
3819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3820
3821 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3822
3823 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3824
3825 * benchtests/Makefile (bench): Remove slow benchmarks.
3826 * benchtests/atan-inputs: Add slow benchmark inputs.
3827 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3828 (BENCH_FUNC): Accept variant offset.
3829 (VARIANT): Define.
3830 * benchtests/bench-skeleton.c (main): Run benchmark for each
3831 variant.
3832 * benchtests/cos-inputs: Add slow benchmark inputs.
3833 * benchtests/exp-inputs: Likewise.
3834 * benchtests/pow-inputs: Likewise.
3835 * benchtests/sin-inputs: Likewise.
3836 * benchtests/slowatan-inputs: Remove.
3837 * benchtests/slowatan.c: Remove.
3838 * benchtests/slowcos-inputs: Remove.
3839 * benchtests/slowcos.c: Remove.
3840 * benchtests/slowexp-inputs: Remove.
3841 * benchtests/slowexp.c: Remove.
3842 * benchtests/slowpow-inputs: Remove.
3843 * benchtests/slowpow.c: Remove.
3844 * benchtests/slowsin-inputs: Remove.
3845 * benchtests/slowsin.c: Remove.
3846 * benchtests/slowtan-inputs: Remove.
3847 * benchtests/slowtan.c: Remove.
3848 * benchtests/tan-inputs: Add slow benchmark inputs.
3849 * scripts/bench.pl: Parse comments and directives.
3850
3851 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3852 in CPPFLAGS.
3853 ($(objpfx)bench-%.c): Remove *-ITER.
3854 * benchtests/bench-modf.c: Remove definition of ITER.
3855 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3856 (main): Loop for DURATION seconds instead of fixed number of
3857 iterations.
3858 * scripts/bench.pl: Don't expect iterations in parameters.
3859
3860 2013-04-29 Roland McGrath <roland@hack.frob.com>
3861
3862 * io/fchdir.c (__fchdir): Renamed from fchdir.
3863 (fchdir): Define as weak alias.
3864
3865 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3866
3867 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3868 (ERRNO_EDOM): Likewise.
3869 (ERRNO_ERANGE): Likewise.
3870 (noErrnoTests): New variable.
3871 (init_max_error): Set errno to 0.
3872 (test_single_errno): New function.
3873 (test_errno): Likewise.
3874 (check_float_internal): Call test_errno. Set errno to 0.
3875 (check_complex): Refer to errno tests in comment.
3876 (check_int): Call test_errno. Set errno to 0.
3877 (check_long): Likewise.
3878 (check_bool): Likewise.
3879 (check_longlong): Likewise.
3880 (cos_test): Use ERRNO_* flags for errno tests instead of
3881 check_int.
3882 (expm1_test): Likewise.
3883 (fmod_test): Likewise.
3884 (ilogb_test): Likewise.
3885 (lgamma_test): Likewise.
3886 (pow_test): Likewise.
3887 (remainder_test): Likewise.
3888 (sin_test): Likewise.
3889 (tan_test): Likewise.
3890 (yn_test): Likewise.
3891 (initialize): Set errno to 0.
3892 (main): Print number of errno tests.
3893 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3894
3895 2013-04-29 Andreas Jaeger <aj@suse.de>
3896
3897 [BZ #15084]
3898 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3899 and RES_USEVC.
3900
3901 [BZ #15085]
3902 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3903 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3904 unimplemented.
3905
3906 [BZ #15380]
3907 * stdlib/random.c (__initstate): Return NULL if
3908 __initstate fails.
3909
3910 [BZ #15086]
3911 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3912 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3913 RES_SNGLKUPREOP.
3914
3915 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3916
3917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3918
3919 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3920
3921 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3922 of individual tests.
3923 (casin_test): Likewise.
3924 (casinh_test): Likewise.
3925
3926 2013-04-27 Joseph Myers <joseph@codesourcery.com>
3927
3928 [BZ #15409]
3929 * math/s_catan.c (__catan): Handle arguments with large real or
3930 imaginary part separately without squaring.
3931 * math/s_catanf.c (__catanf): Likewise.
3932 * math/s_catanh.c (__catanh): Likewise.
3933 * math/s_catanhf.c (__catanhf): Likewise.
3934 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3935 and redefine.
3936 (__catanhl): Handle arguments with large real or imaginary part
3937 separately without squaring.
3938 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3939 and redefine.
3940 (__catanl): Handle arguments with large real or imaginary part
3941 separately without squaring.
3942 * math/libm-test.inc (catan_test): Add more tests.
3943 (catanh_test): Likewise.
3944 * sysdeps/i386/fpu/libm-test-ulps: Update.
3945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3946
3947 2013-04-27 Andreas Jaeger <aj@suse.de>
3948
3949 [BZ #15007]
3950 * stdlib/stdlib.h: Update guards for qecvt.
3951 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3952 <stdlib.h>.
3953
3954 2013-04-27 Allan McRae <allan@archlinux.org>
3955
3956 * sysdeps/i386/fpu/libm-test-ulps: Update.
3957
3958 2013-04-26 Joseph Myers <joseph@codesourcery.com>
3959
3960 [BZ #15406]
3961 * math/s_catan.c: Include <float.h>.
3962 (__catan): Ensure underflow exception occurs for underflowed
3963 result.
3964 * math/s_catanf.c: Include <float.h>.
3965 (__catanf): Ensure underflow exception occurs for underflowed
3966 result.
3967 * math/s_catanh.c: Include <float.h>.
3968 (__catanh): Ensure underflow exception occurs for underflowed
3969 result.
3970 * math/s_catanhf.c: Include <float.h>.
3971 (__catanhf): Ensure underflow exception occurs for underflowed
3972 result.
3973 * math/s_catanhl.c: Include <float.h>.
3974 (__catanhl): Ensure underflow exception occurs for underflowed
3975 result.
3976 * math/s_catanl.c: Include <float.h>.
3977 (__catanl): Ensure underflow exception occurs for underflowed
3978 result.
3979 * math/libm-test.inc (catan_test): Add more tests.
3980 (catanh_test): Likewise.
3981
3982 [BZ #15405]
3983 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3984 underflowed result.
3985 * math/s_ccoshf.c (__ccoshf): Likewise.
3986 * math/s_ccoshl.c (__ccoshl): Likewise.
3987 * math/s_csin.c (__csin): Likewise.
3988 * math/s_csinf.c (__csinf): Likewise.
3989 * math/s_csinh.c (__csinh): Likewise.
3990 * math/s_csinhf.c (__csinhf): Likewise.
3991 * math/s_csinhl.c (__csinhl): Likewise.
3992 * math/s_csinl.c (__csinl): Likewise.
3993 * math/libm-test.inc (ccos_test): Add more tests.
3994 (ccosh_test): Likewise.
3995 (csin_test): Likewise.
3996 (csinh_test): Likewise.
3997
3998 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3999
4000 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4001 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4002 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4003 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4004 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4005 powerpc/power5+/fpu folders.
4006 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4007
4008
4009 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4010
4011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4012
4013 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4014
4015 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4016 additions to variable.
4017 [$(config-machine) = x86_64] (modules-names): Likewise.
4018 ($(objpfx)tst-audit3): Remove dependency.
4019 ($(objpfx)tst-audit3.out): Likewise.
4020 ($(objpfx)tst-audit4): Likewise.
4021 ($(objpfx)tst-audit4.out): Likewise.
4022 ($(objpfx)tst-audit5): Likewise.
4023 ($(objpfx)tst-audit5.out): Likewise.
4024 ($(objpfx)tst-audit6): Likewise.
4025 ($(objpfx)tst-audit6.out): Likewise.
4026 ($(objpfx)tst-audit7): Likewise.
4027 ($(objpfx)tst-audit7.out): Likewise.
4028 (tst-audit3-ENV): Remove variable.
4029 (tst-audit4-ENV): Likewise.
4030 (tst-audit5-ENV): Likewise.
4031 (tst-audit6-ENV): Likewise.
4032 (tst-audit7-ENV): Likewise.
4033 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4034 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4035 addition to variable.
4036 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4037 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4038 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4039 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4040 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4041 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4042 tst-audit3, tst-audit4 and tst-audit5.
4043 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4044 tst-audit6 and tst-audit7.
4045 [$(subdir) = elf] (modules-names): Add audit modules for those
4046 tests.
4047 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4048 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4049 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4050 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4051 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4052 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4053 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4054 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4055 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4056 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4057 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4058 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4059 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4060 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4061 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4062 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4063 Likewise.
4064 [$(subdir) = elf && $(config-cflags-avx) = yes]
4065 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4066 [$(subdir) = elf && $(config-cflags-avx) = yes]
4067 (CFLAGS-tst-auditmod4a.c): Likewise.
4068 [$(subdir) = elf && $(config-cflags-avx) = yes]
4069 (CFLAGS-tst-auditmod4b.c): Likewise.
4070 [$(subdir) = elf && $(config-cflags-avx) = yes]
4071 (CFLAGS-tst-auditmod6b.c): Likewise.
4072 [$(subdir) = elf && $(config-cflags-avx) = yes]
4073 (CFLAGS-tst-auditmod6c.c): Likewise.
4074 [$(subdir) = elf && $(config-cflags-avx) = yes]
4075 (CFLAGS-tst-auditmod7b.c): Likewise.
4076 * elf/tst-audit3.c: Move to ...
4077 * sysdeps/x86_64/tst-audit3.c: ... here.
4078 * elf/tst-audit4.c: Move to ...
4079 * sysdeps/x86_64/tst-audit4.c: ... here.
4080 * elf/tst-audit5.c: Move to ...
4081 * sysdeps/x86_64/tst-audit5.c: ... here.
4082 * elf/tst-audit6.c: Move to ...
4083 * sysdeps/x86_64/tst-audit6.c: ... here.
4084 * elf/tst-audit7.c: Move to ...
4085 * sysdeps/x86_64/tst-audit7.c: ... here.
4086 * elf/tst-auditmod3a.c: Move to ...
4087 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4088 * elf/tst-auditmod3b.c: Move to ...
4089 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4090 * elf/tst-auditmod4a.c: Move to ...
4091 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4092 * elf/tst-auditmod4b.c: Move to ...
4093 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4094 * elf/tst-auditmod5a.c: Move to ...
4095 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4096 * elf/tst-auditmod5b.c: Move to ...
4097 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4098 * elf/tst-auditmod6a.c: Move to ...
4099 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4100 * elf/tst-auditmod6b.c: Move to ...
4101 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4102 * elf/tst-auditmod6c.c: Move to ...
4103 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4104 * elf/tst-auditmod7a.c: Move to ...
4105 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4106 * elf/tst-auditmod7b.c: Move to ...
4107 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4108
4109 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4110
4111 [BZ #15366]
4112 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4113 define unconditionally.
4114 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4115 define unconditionally.
4116 (INT8_C, INT16_C, etc.): Likewise.
4117
4118 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4119
4120 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4121 __ehdr_start with hidden visibility.
4122
4123 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4124
4125 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4126
4127 * math/libm-test.inc (cos_test): Use accurate hex constants.
4128 (sincost_test): Likewise.
4129
4130 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4131
4132 * math/libm-test.inc (catan_test): Add more tests.
4133 (catanh_test): Likewise.
4134
4135 * math/s_catanf.c (__catanf): Use suffixed floating-point
4136 constants.
4137 * math/s_catanhf.c (__catanhf): Likewise.
4138 * math/s_catanhl.c (__catanhl): Likewise.
4139 * math/s_catanl.c (__catanl): Likewise.
4140
4141 [BZ #15394]
4142 * math/s_catan.c (__catan): Calculate imaginary part of result
4143 with log1p not log unless computing log of number close to 0.
4144 * math/s_catanf.c (__catanf): Likewise.
4145 * math/s_catanl.c (__catanl): Likewise.
4146 * math/s_catanh.c (__catanh): Calculate real part of result with
4147 log1p not log unless computing log of number close to 0.
4148 * math/s_catanhf.c (__catanhf): Likewise.
4149 * math/s_catanhl.c (__catanhl): Likewise.
4150 * math/libm-test.inc (catan_test): Add more tests.
4151 (catanh_test): Likewise.
4152 * sysdeps/i386/fpu/libm-test-ulps: Update.
4153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4154
4155 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4156
4157 * benchtests/Makefile: Mention files in which fast and slow
4158 paths of math functions are implemented.
4159
4160 2013-04-23 Roland McGrath <roland@hack.frob.com>
4161
4162 * sysdeps/posix/timespec_get.c: New file.
4163
4164 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4165
4166 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4167 POWER.
4168 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4169 for POWER.
4170 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4171 powerpc/power5/fpu folders.
4172 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4173 * benchtests/Makefile: Add modf testcase.
4174 * benchtests/bench-modf.c: New file: Benchmark test for mo
4175
4176 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4177
4178 [BZ #14888]
4179 * time/Makefile (tests): Add tst-strptime-whitespace.
4180 * time/strptime_l.c (get_number): Use ISSPACE.
4181 (__strptime_internal): Likewise.
4182 * time/tst-strptime-whitespace.c: New test case.
4183
4184 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4185
4186 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4187 member.
4188 (_nss_files_init): Set it here.
4189
4190 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4191
4192 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4193 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4194 unsigned.
4195
4196 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4197
4198 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4199
4200 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4201
4202 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4203 size just once.
4204
4205 2013-04-21 David S. Miller <davem@davemloft.net>
4206
4207 * po/ru.po: Update Russion translation from translation project.
4208
4209 2013-04-17 Adam Conrad <adconrad@0c3.net>
4210
4211 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4212 and setfsgid.
4213
4214 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4215
4216 * configure.in: Remove i386 configure warning. Remove i386 case.
4217 * configure: Regenerate.
4218 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4219 Add example to error message.
4220 * sysdeps/i386/configure: Regenerate.
4221
4222 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4223
4224 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4225 slowtan.
4226 * benchtests/cos-inputs: New file.
4227 * benchtests/slowcos-inputs: New file.
4228 * benchtests/slowcos.c: New file.
4229 * benchtests/slowtan-inputs: New file.
4230 * benchtests/slowtan.c: New file.
4231 * benchtests/tan-inputs: New file.
4232
4233 2013-04-16 Roland McGrath <roland@hack.frob.com>
4234
4235 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4236 considered kosher.
4237
4238 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4239
4240 * benchtests/Makefile: Include cppflags-iterator.mk to add
4241 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4242
4243 * Makefile.in (bench-clean): New target.
4244 * benchtests/Makefile (bench-clean): Likewise.
4245
4246 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4247
4248 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4249
4250 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4251
4252 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4253
4254 2013-04-15 Andreas Schwab <schwab@suse.de>
4255
4256 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4258 * nscd/pwdcache.c (cache_addpw): Likewise.
4259 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4260 more than recsize.
4261
4262 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4263
4264 * benchtests/Makefile (bench): Write all output to
4265 bench-out.tmp together.
4266
4267 2013-04-15 Andreas Schwab <schwab@suse.de>
4268
4269 * nscd/nscd.c (main): Don't fork again after closing files.
4270
4271 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4272
4273 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4274
4275 * benchtests/Rules (bench-deps): Collect dependencies into a
4276 single variable. Add Makefile to dependencies.
4277 ($(objpfx)bench-%.c): Depend on bench-deps.
4278
4279 2013-04-12 Roland McGrath <roland@hack.frob.com>
4280 Xavier Roche <roche+kml2@exalead.com>
4281
4282 [BZ #15361]
4283 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4284 just that it's a file descriptor.
4285 * manual/llio.texi (Synchronizing AIO Operations): Update description
4286 for EBADF error from aio_fsync.
4287
4288 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4289
4290 * Rules (bench): Move target definition...
4291 * benchtests/Makefile: ... here.
4292
4293 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4294
4295 * math/libm-test.inc (cos_test): Fix PI/2 test.
4296 (sincos_test): Likewise.
4297 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4298 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4299
4300 2013-04-11 Andreas Schwab <schwab@suse.de>
4301
4302 [BZ #13988]
4303 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4304 accept exponent character only when digits were seen.
4305 * stdio-common/Makefile (tests): Add bug26.
4306 * stdio-common/bug26.c: New file.
4307
4308 [BZ #14293]
4309 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4310 non-freeable.
4311
4312 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4313
4314 * Makeconfig (rtld-prefix): Define built linker prefix.
4315 * Rules (run-bench): Use it.
4316 * math/Makefile (run-regen-ulps): Likewise.
4317
4318 * Rules (bench): Remove eval.
4319
4320 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4321 Roland McGrath <roland@hack.frob.com>
4322 Ondrej Bilka <neleai@seznam.cz>
4323
4324 [BZ #15346]
4325 * time/getdate.c: Include ctype.h and alloca.h.
4326 (__getdate_r): Trim leading and trailing spaces of input.
4327 * time/tst-getdate.c (tests): Add tests with leading and
4328 trailing spaces.
4329
4330 2013-04-08 Roland McGrath <roland@hack.frob.com>
4331
4332 [BZ #14280]
4333 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4334 when computing value.
4335
4336 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4337
4338 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4339 Use testrun.sh to run libm tests.
4340
4341 [BZ #15309]
4342 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4343
4344 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4345
4346 [BZ #15264]
4347 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4348
4349 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4350
4351 * Makefile.in (regen-ulps): New target.
4352 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4353 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4354 [ifneq (no,$(PERL)] (regen-ulps): New target.
4355 [ifeq (no,$(PERL)] (regen-ulps): New target.
4356 * math/libm-test.inc (ulps_file_name): Define.
4357 (output_dir): New variable.
4358 (options): Add "output-dir" option.
4359 (parse_opt): Handle 'o' case.
4360 (main): If output_dir is non-NULL use it as a prefix
4361 otherwise use "".
4362 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4363
4364 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4365
4366 [BZ #10060, #10062]
4367 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4368 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4369 fail configure if __sync_val_compare_and_swap is not inlined.
4370 * sysdeps/i386/configure: Regenerate.
4371 * configure.in: Build for i686 when configured for i386.
4372 * configure: Regenerate.
4373 * README: Remove i386 reference.
4374
4375 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4376
4377 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4378 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4379
4380 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4381
4382 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4383 (lmsnanval): New variables.
4384 (F): Add conversion tests.
4385 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4386 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4387
4388 * stdio-common/tstdiomisc.c (F): Properly collect individual
4389 tests' results.
4390
4391 [BZ #14686, #15336]
4392 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4393 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4394 Instead, use input NaN values or generate a qNaN by arithmetic
4395 operation. Also fix bugs to comply with the standard.
4396 * math/libm-test.inc (remainder_test): Add more tests.
4397
4398 [BZ #15335, #15342]
4399 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4400 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4401 input NaN values or generate a qNaN by arithmetic operation.
4402
4403 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4404 unreachable code.
4405
4406 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4407 definitions.
4408
4409 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4410
4411 [BZ #14478]
4412 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4413 underflowed result.
4414 * math/s_cexpf.c (__cexpf): Likewise.
4415 * math/s_cexpl.c (__cexpl): Likewise.
4416 * math/libm-test.inc (cexp_test): Add more tests.
4417
4418 2013-04-03 Andreas Schwab <schwab@suse.de>
4419
4420 [BZ #15330]
4421 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4422 order arrays from heap if bigger than alloca cutoff.
4423
4424 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4425
4426 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4427 (SNAN_TESTS_double): Refer to GCC PR56831.
4428 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4429 GCC PR56828.
4430
4431 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4432
4433 * Rules (bench): Move bench.out after the run is complete.
4434
4435 * Rules (bench): Echo currently running benchmark.
4436
4437 * benchtests/Makefile (bench): Add atan and slowatan.
4438 * benchtests/atan-inputs: New file.
4439 * benchtests/slowatan-inputs: New file.
4440 * benchtests/slowatan.c: New file.
4441
4442 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4443 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4444 its value.
4445
4446 [BZ #15305]
4447 * sysdeps/unix/sysv/linux/kernel-features.h
4448 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4449 __ASSUME_XFS_RESTRICTED_CHOWN.
4450 * sysdeps/unix/sysv/linux/pathconf.c
4451 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4452 Save and restore errno.
4453
4454 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4455
4456 [BZ #15327]
4457 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4458 arguments using __kernel_casinh.
4459 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4460 arguments using __kernel_casinhf.
4461 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4462 arguments using __kernel_casinhl.
4463 * math/libm-test.inc (cacosh_test): Add more tests.
4464 * sysdeps/i386/fpu/libm-test-ulps: Update.
4465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4466
4467 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4468
4469 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4471
4472 * bench/Makefile (bench): Add sin and slowsin.
4473 * benchtests/sin-inputs: New file.
4474 * benchtests/slowsin-inputs: New file.
4475 * benchtests/slowsin.c: New file.
4476
4477 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4478 (bench): Add slowexp and slowpow.
4479 (exp-ITER): Increase iterations.
4480 (pow-ITER): Likewise.
4481 * benchtests/exp-inputs: Change input.
4482 * benchtests/pow-inputs: Likewise.
4483 * benchtests/slowexp-inputs: New file.
4484 * benchtests/slowexp.c: New file.
4485 * benchtests/slowpow-inputs: New file.
4486 * benchtests/slowpow.c: New file.
4487
4488 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4489
4490 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4491 instructions.
4492 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4493 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4494 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4495 * benchtests/Makefile: Add rint benchtest.
4496 * benchtests/rint-inputs: Input for rint benchtest.
4497
4498 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4499
4500 * Versions.def (libm): Add GLIBC_2.18.
4501 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4502 hidden libm prototypes.
4503 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4504 * math/Makefile (libm-calls): Add s_issignaling.
4505 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4506 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4507 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4508 declaration.
4509 * math/math.h [__USE_GNU] (issignaling): New macro.
4510 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4511 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4512 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4513 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4515 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4516 * manual/arith.texi (issignaling): New section.
4517 * manual/libm-err-tab.pl (@all_functions): Update comment.
4518 * math/gen-libm-test.pl (parse_args): Apply special handling for
4519 issignaling.
4520 * math/libm-test.inc (print_float, issignaling_test): New
4521 functions.
4522 (check_float_internal): Add issignaling checks.
4523 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4524 default definition.
4525 * sysdeps/powerpc/math-tests.h: New file.
4526 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4527 tests.
4528 * math/test-snan.c (TEST_FUNC): Likewise.
4529
4530 2013-03-30 David S. Miller <davem@davemloft.net>
4531
4532 * po/de.po: Update from translation team.
4533
4534 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4535
4536 [BZ #10357]
4537 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4538 imaginary part less than 1.0 and real part less than 0.5
4539 specially.
4540 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4541 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4542 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4543 (cacos_test): Add more tests.
4544 (casin_test): Likewise.
4545 (casinh_test): Likewise.
4546 * sysdeps/i386/fpu/libm-test-ulps: Update.
4547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4548
4549 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4550
4551 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4552 ONE with its value.
4553
4554 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4555 (__pow_mp): Replace ONE and MONE with their values.
4556 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4557 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4558 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4559 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4560 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4561 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4562
4563 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4564
4565 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4566 (__pow_mp): Replace ZERO and MZERO with their values.
4567 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4568 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4569 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4570 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4571 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4572 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4573 (__sqr): Likewise.
4574
4575 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4576
4577 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4578
4579 2013-03-28 Roland McGrath <roland@hack.frob.com>
4580
4581 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4582 Declare with __attribute__ ((weak)).
4583 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4584 Call __call_tls_dtors only if it's not NULL.
4585
4586 2013-03-28 Roland McGrath <roland@hack.frob.com>
4587
4588 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4589 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4590 magic __ehdr_start linker symbol if it's defined.
4591 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4592 them up here if it was already done.
4593
4594 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4595 (_dl_aux_init): Use const in cast when setting it.
4596 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4597 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4598 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4599
4600 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4601 Declare them here.
4602 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4603 * csu/libc-tls.c: Nor here.
4604 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4605
4606 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4607 (__libc_message): Never call vsyslog.
4608
4609 2013-03-28 Alan Modra <amodra@gmail.com>
4610
4611 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4612 Define as empty.
4613 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4614 Likewise.
4615
4616 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4617
4618 [BZ #15214]
4619 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4620 underflow.
4621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4622
4623 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4624
4625 [BZ #15304]
4626 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4627 Don't add gid passed as argument.
4628
4629 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4630
4631 2013-03-27 Joseph Myers <joseph@codesourcery.com>
4632
4633 [BZ #15307]
4634 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4635 imaginary part between 1.0 and 1.5 and real part less than 0.5
4636 specially.
4637 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4638 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4639 * math/libm-test.inc (cacos_test): Add more tests.
4640 (casin_test): Likewise.
4641 (casinh_test): Likewise.
4642 * sysdeps/i386/fpu/libm-test-ulps: Update.
4643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4644
4645 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4646
4647 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4648 constants.
4649 (norm): Likewise.
4650 (denorm): Likewise.
4651 (__dbl_mp): Likewise.
4652 (add_magnitudes): Likewise.
4653 (sub_magnitudes): Likewise.
4654 (__add): Likewise.
4655 (__sub): Likewise.
4656 (__mul): Likewise.
4657 (__sqr): Likewise.
4658 (__inv): Likewise.
4659 (__dvd): Likewise.
4660
4661 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4662 commented code.
4663 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4664 (__dubcos): Likewise.
4665 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4666 (__ieee754_acos): Likewise.
4667 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4668 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4669 (__exp1): Likewise.
4670 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4672 (log1): Likewise.
4673 (my_log2): Likewise.
4674 (checkint): Likewise.
4675 * sysdeps/ieee754/dbl-64/e_remainder.c
4676 (__ieee754_remainder): Likewise.
4677 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4678 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4679 (bsloww): Likewise.
4680 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4681
4682 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4683 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4684 MANTISSA_STORE_T to store computations on mantissa. Use
4685 macros for rounding and division.
4686 (denorm): Likewise.
4687 (__dbl_mp): Likewise.
4688 (add_magnitudes): Likewise.
4689 (sub_magnitudes): Likewise.
4690 (__mul): Likewise.
4691 (__sqr): Likewise.
4692 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4693 powers of two in terms of TWOPOW macro.
4694 (mp_no): Make type of mantissa as MANTISSA_T.
4695 [!RADIXI]: Define RADIXI.
4696 [!TWO52]: Define TWO52.
4697 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4698
4699 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4700
4701 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4702 llroundl symbol when building for PPC32.
4703
4704 2013-03-24 Mark H Weaver <mhw@netris.org>
4705
4706 * manual/arith.texi (Normalization Functions): Fix prototypes for
4707 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4708
4709 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4710
4711 [BZ #13889]
4712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4713 high value to check if expl overflow.
4714 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4715 to check for underflow and overflow.
4716 * math/libm-test.inc: Add exp test.
4717
4718 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4719
4720 [BZ #11120]
4721 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4722 with NOT_IN_libc.
4723
4724 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4725
4726 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4727 symbol.
4728
4729 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4730
4731 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4732 wrap blocks consisting of several statements.
4733
4734 * sysdeps/generic/math-tests.h: New file.
4735 * sysdeps/i386/fpu/math-tests.h: Likewise.
4736 * math/test-snan.c: Include it.
4737 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4738
4739 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4740
4741 [BZ #15285]
4742 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4743 (__ieee754_j0l): Do not improve calculations using cos of twice
4744 input for inputs above LDBL_MAX / 2.0L.
4745 (__ieee754_y0l): Likewise.
4746 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4747 (__ieee754_j1l): Do not improve calculations using cos of twice
4748 input for inputs above LDBL_MAX / 2.0L.
4749 (__ieee754_y1l): Likewise.
4750 * math/libm-test.inc (j0_test): Add another test.
4751 (j1_test): Likewise.
4752 (y0_test): Likewise.
4753 (y1_test): Likewise.
4754 * sysdeps/i386/fpu/libm-test-ulps: Update.
4755
4756 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4757
4758 * Rules ($(objpfx)bench-%.c): Include code from a C source
4759 file.
4760
4761 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4762
4763 [BZ #15287]
4764 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4765 imaginary part 1.0 and real part less than 0.5 specially.
4766 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4767 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4768 * math/libm-test.inc (cacos_test): Add more tests.
4769 (casin_test): Likewise.
4770 (casinh_test): Likewise.
4771 * sysdeps/i386/fpu/libm-test-ulps: Update.
4772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4773
4774 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4775
4776 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4777 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4778
4779 2013-03-20 Joseph Myers <joseph@codesourcery.com>
4780
4781 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4782 * config.make.in (config-cflags-sse4): Remove variable.
4783 (config-cflags-avx): Likewise.
4784 (config-cflags-sse2avx): Likewise.
4785 (config-cflags-novzeroupper): Likewise.
4786 (config-asflags-i686): Likewise.
4787 (have-mfma4): Likewise.
4788 (have-as-vis3): Likewise.
4789 (MIG): Likewise.
4790 * configure.in (MIG): Do not AC_SUBST.
4791 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4792 (libc_cv_cc_sse4): Do not AC_SUBST.
4793 (libc_cv_cc_avx): Likewise.
4794 (libc_cv_cc_sse2avx): Likewise.
4795 (libc_cv_cc_novzeroupper): Likewise.
4796 (libc_cv_cc_fma4): Likewise.
4797 (libc_cv_as_i686): Likewise.
4798 (libc_cv_sparc_as_vis3): Likewise.
4799 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4800 LIBC_CONFIG_VAR.
4801 (config-asflags-i686): Likewise.
4802 (config-cflags-avx): Likewise.
4803 (config-cflags-sse2avx): Likewise.
4804 (have-mfma4): Likewise.
4805 (config-cflags-novzeroupper): Likewise.
4806 * sysdeps/mach/configure.in (MIG): Likewise.
4807 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4808 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4809 LIBC_CONFIG_VAR.
4810 (config-cflags-avx): Likewise.
4811 (config-cflags-sse2avx): Likewise.
4812 (have-mfma4): Likewise.
4813 (config-cflags-novzeroupper): Likewise.
4814 * configure: Regenerated.
4815 * sysdeps/i386/configure: Likewise.
4816 * sysdeps/mach/configure: Likewise.
4817 * sysdeps/sparc/configure: Likewise.
4818 * sysdeps/x86_64/configure: Likewise.
4819
4820 2013-03-20 Roland McGrath <roland@hack.frob.com>
4821
4822 [BZ #14812]
4823 * locale/programs/localedef.c (options): Put N_ translation marker
4824 on argument names, not just descriptions.
4825
4826 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4827
4828 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4829
4830 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
4831
4832 [BZ #14176]
4833 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4834
4835 2013-03-19 Roland McGrath <roland@hack.frob.com>
4836
4837 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4838 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4839 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4840 [!BEFORE_ABORT] (before_abort): New function.
4841 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4842 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4843 (writev_for_fatal): New function.
4844 (WRITEV_FOR_FATAL): New macro; call that.
4845 (backtrace_and_maps): New function.
4846 (BEFORE_ABORT): New macro; call that.
4847 (struct str_list): Type removed.
4848 (__libc_message, __libc_fatal): Functions removed.
4849 Include <sysdeps/posix/libc_fatal.c> instead.
4850
4851 2013-03-19 Joseph Myers <joseph@codesourcery.com>
4852
4853 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4854 constants.
4855 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4856 double constants.
4857
4858 2013-03-19 Andreas Schwab <schwab@suse.de>
4859
4860 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4861 * sysdeps/gnu/configure: Regenerate.
4862
4863 * configure.in: Substitute libc_cv_rtlddir.
4864 * configure: Regenerate.
4865 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4866 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4867 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4868 * elf/Makefile (install-others, CFLAGS-interp.c)
4869 (ldso_install, common-ldd-rewrite): Likewise.
4870 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4871 $(inst_slibdir)/$(rtld-installed-name).
4872 * scripts/rellns-sh: Add -p option.
4873 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4874 for source.
4875
4876 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4877
4878 * manual/nptl.texi: Renamed to ...
4879 * manual/threads.texi: ... this.
4880 * manual/Makefile (chapters): Update.
4881
4882 2013-03-18 Roland McGrath <roland@hack.frob.com>
4883
4884 [BZ #14812]
4885 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4886 on argument names, not just descriptions.
4887 * malloc/memusagestat.c (options): Likewise.
4888 * nss/getent.c (options): Likewise.
4889
4890 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
4891
4892 [BZ #14812]
4893 * iconv/iconv_prog.c (options): Put N_ translation marker
4894 on argument names, not just descriptions.
4895 * iconv/iconvconfig.c (options): Likewise.
4896
4897 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
4898
4899 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4900 implementation which is faster on all x86_64 architectures.
4901 Tested on AMD, Intel Nehalem, SNB, IVB.
4902 * sysdeps/x86_64/strnlen.S: Likewise.
4903
4904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4905 Remove all multiarch strlen and strnlen versions.
4906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4907 Remove strlen and strnlen related parts.
4908
4909 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4910 Inline strlen part.
4911 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4912
4913 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4914 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4915 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4916 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4917 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4918 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4919
4920 2013-03-17 Carlos O'Donell <carlos@redhat.com>
4921
4922 * manual/memory.texi (Malloc Tunable Parameters):
4923 Sort parameters alphabetically. Add comments for missing entries.
4924
4925 2013-03-17 David S. Miller <davem@davemloft.net>
4926
4927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4928
4929 2013-03-16 Joseph Myers <joseph@codesourcery.com>
4930
4931 [BZ #15283]
4932 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4933 for arguments at most half maximum finite value.
4934 * math/libm-test.inc (j0_test): Add more tests.
4935 (j1_test): Likewise.
4936 (y0_test): Likewise.
4937 (y1_test): Likewise.
4938 * sysdeps/i386/fpu/libm-test-ulps: Update.
4939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4940
4941 [BZ #14155]
4942 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4943 1 / x and functions P and Q for arguments above 0x1p256L.
4944 (__ieee754_y0l): Likewise.
4945 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4946 (__ieee754_y1l): Likewise.
4947 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4948 (j1_test): Likewise.
4949 (y0_test): Likewise.
4950 (y1_test): Likewise.
4951
4952 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4953
4954 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4955 variable.
4956
4957 2013-03-15 Roland McGrath <roland@hack.frob.com>
4958
4959 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4960 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4961 zero since it's initialized to EXEC_PAGESIZE.
4962
4963 * sysdeps/unix/sysv/linux/ldsodefs.h
4964 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4965 * sysdeps/generic/ldsodefs.h: ... here.
4966
4967 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4968
4969 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4970
4971 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4972 math/test-snan.c.
4973 * math/test-snan.c: Renamed from
4974 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4975 * math/Makefile (tests): Add test-snan.
4976 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4977 test-powerpc-snan.
4978
4979 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4980 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4981 functions.
4982 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4983 __builtin_nan family of functions.
4984 * math/libm-test.inc (initialize): Initialize qnan_value with
4985 __builtin_nan family of functions.
4986 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4987 Remove variables.
4988 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4989 Remove functions.
4990 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4991 storage class. Initialize qNaN_var and sNaN_var with
4992 __builtin_nan and __builtin_nans families of functions,
4993 respectively.
4994
4995 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4996 (sqrt_test): Remove duplicate test with qNaN input.
4997 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4998 (round_test, signbit_test, significand_test): Note missing +/-Inf
4999 as well as qNaN tests.
5000
5001 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5002 qNaN_var. Fix a few strings, too.
5003 * math/libm-test.inc (nan_value): Rename to qnan_value.
5004 * math/gen-libm-test.pl (%beautify): Adjust to that.
5005 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5006 * math/test-misc.c (main): Likewise.
5007 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5008 to __qnan_bytes, and __qnan_union, respectively.
5009 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5010 Likewise.
5011 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5012 and lqnanval, respectively.
5013 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5014 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5015 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5016 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5017
5018 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5019 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5020 doubles.
5021
5022 * math/test-misc.c (main): Fix copy'n'pastos.
5023 * misc/tst-efgcvt.c (special): Likewise.
5024
5025 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5026 Remove declarations.
5027
5028 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5029
5030 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5031 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5032 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5033 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5034
5035 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5036
5037 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5038 macro to return vdso values correctly in IFUNC implementations.
5039 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5040 Optimization by using IFUNC.
5041
5042 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5043 Richard Henderson <rth@redhat.com>
5044 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5045
5046 * Makefile.in (bench): New target.
5047 * NEWS: Mention the benchmark framework.
5048 * Rules (bench): Likewise.
5049 (binaries-bench): Generate binaries for functions to
5050 benchmark.
5051 * benchtests/Makefile: New makefile for benchmark tests.
5052 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5053 programs.
5054 * benchtests/exp-inputs: New input file for EXP function.
5055 * benchtests/pow-inputs: New input file for POW function.
5056 * scripts/bench.pl: New script to generate source files for
5057 benchmark programs.
5058
5059 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5060
5061 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5062 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5063 computations on mantissa. Use macros for rounding and
5064 division.
5065 (denorm): Likewise.
5066 (__dbl_mp): Likewise.
5067 (add_magnitudes): Likewise.
5068 (sub_magnitudes): Likewise.
5069 (__mul): Likewise.
5070 (__sqr): Likewise.
5071 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5072 powers of two in terms of TWOPOW macro.
5073 (mp_no): Make type of mantissa as MANTISSA_T.
5074 [!RADIXI]: Define RADIXI.
5075 [!TWO52]: Define TWO52.
5076 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5077
5078 * manual/nptl.texi (cindex): Modify threads to pthreads.
5079
5080 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5081
5082 * sysdeps/x86_64/preconfigure: Regenerated.
5083
5084 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5085
5086 [BZ #14155]
5087 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5088 0x1p28 and above.
5089 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5090 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5091 0x1p28 and above.
5092 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5093 * math/libm-test.inc (j0_test): Do not allow one spurious
5094 underflow exception.
5095 (y1_test): Likewise.
5096
5097 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5098
5099 * manual/Makefile (chapters): Add nptl.
5100 * manual/debug.texi (Debugging Support): Add link to Threads
5101 chapter.
5102 * manual/nptl.texi: New file.
5103
5104 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5105
5106 2013-03-14 Petr Baudis <pasky@ucw.cz>
5107
5108 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5109 for non-NULL pointer before the memory validity test. Pointed
5110 out by Holger Brunck <holger.brunck@keymile.com>.
5111
5112 2013-03-13 Andreas Schwab <schwab@suse.de>
5113
5114 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5115 instead of .os.
5116
5117 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5118
5119 * timezone/zic.c: Update from tzcode 2013b.
5120
5121 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5122
5123 * manual/install.texi (Configuring and compiling):
5124 Mention i686 and i586.
5125 * INSTALL: Regenerate.
5126
5127 2013-03-12 Roland McGrath <roland@hack.frob.com>
5128
5129 * sysdeps/init_array/elf-init.c: New file.
5130 * csu/elf-init.c
5131 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5132 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5133
5134 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5135 __gmon_start__ as global, but as static with a .preinit_array pointer.
5136 * sysdeps/init_array/gmon-start.c: New file. Use that.
5137 * sysdeps/init_array/crti.S: New file, empty except for comments.
5138 * sysdeps/init_array/crtn.S: Likewise.
5139
5140 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5141
5142 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5143 definining bcopy.
5144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5145 Remove Prefer_SSE_for_memop.
5146 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5147 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5148 HAS_PREFER_SSE_FOR_MEMOP.
5149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5150 memset-x86-64.
5151 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5152 Remove bzero, memset ifunc support.
5153 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5154 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5155 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5156 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5157
5158 2013-03-11 Andreas Schwab <schwab@suse.de>
5159
5160 [BZ #15234]
5161 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5162 by SHLIB_COMPAT.
5163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5164 (GLIBC_2.16): Remove pthread_atfork.
5165
5166 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5167
5168 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5169 (ptestcases.h): Likewise.
5170
5171 2013-03-08 Roland McGrath <roland@hack.frob.com>
5172
5173 * Makeconfig ($(common-objpfx)config.status): Depend on
5174 sysdeps/*/preconfigure{,.in} too.
5175
5176 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5177
5178 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5179 (__free_hook): Use void * instead of __malloc_ptr_t.
5180 (__malloc_hook): Likewise.
5181 (__realloc_hook): Likewise.
5182 (__memalign_hook): Likewise.
5183 (__after_morecore_hook): Likewise.
5184 * malloc/arena.c (save_malloc_hook): Likewise.
5185 (save_free_hook): Likewise.
5186 * malloc/hooks.c (malloc_hook_ini): Likewise.
5187 (realloc_hook_ini): Likewise.
5188 (memalign_hook_ini): Likewise.
5189 * malloc/malloc.c (malloc_hook_ini): Likewise.
5190 (realloc_hook_ini): Likewise.
5191 (memalign_hook_ini): Likewise.
5192 (__free_hook): Likewise.
5193 (__malloc_hook): Likewise.
5194 (__realloc_hook): Likewise.
5195 (__memalign_hook): Likewise.
5196 (__libc_malloc): Likewise.
5197 (__libc_free): Likewise.
5198 (__libc_realloc): Likewise.
5199 (__libc_memalign): Likewise.
5200 (__libc_valloc): Likewise.
5201 (__libc_pvalloc): Likewise.
5202 (__libc_calloc): Likewise.
5203 (__posix_memalign): Likewise.
5204 * malloc/morecore.c (__sbrk): Likewise.
5205 (__default_morecore): Likewise.
5206
5207 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5208
5209 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5210 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5211 __malloc_ptrdiff_t.
5212
5213 * malloc/malloc.h (__malloc_size_t): Remove macro.
5214 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5215 __malloc_size_t.
5216 (old_memalign_hook): Likewise.
5217 (old_realloc_hook): Likewise.
5218 (struct hdr): Likewise.
5219 (flood): Likewise.
5220 (mallochook): Likewise.
5221 (memalignhook): Likewise.
5222 (reallochook): Likewise.
5223 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5224 (tr_old_realloc_hook): Likewise.
5225 (tr_old_memalign_hook): Likewise.
5226 (tr_mallochook): Likewise.
5227 (tr_reallochook): Likewise.
5228 (tr_memalignhook): Likewise.
5229
5230 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5231
5232 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5233 default_ldbl_pack and using as default implementation.
5234 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5235 implementation.
5236 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5237 redundant definition.
5238 (ldbl_insert_mantissa): Likewise.
5239 (ldbl_canonicalize): Likewise.
5240 (ldbl_nearbyint): Likewise.
5241 (ldbl_pack): Rename to ldbl_pack_ppc.
5242 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5243 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5244 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5245
5246 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5247
5248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5249 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5250 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5251 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5253 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5254 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5255 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5256
5257 2013-03-07 Andreas Jaeger <aj@suse.de>
5258
5259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5260 bits/mman-linux.h.
5261
5262 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5263
5264 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5265 Include mpa.h and declare __MPEXP.
5266 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5267 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5268 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5269 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5270 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5271 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5272 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5273
5274 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5275 (__slowpow): Use long double EXPL and LOGL functions to
5276 compute POW.
5277 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5278 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5279 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5280 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5281 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5282 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5283
5284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5285 intermediate variable to calculate exponent.
5286 (__sqr): Likewise.
5287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5288 Likewise.
5289 (__sqr): Likewise.
5290
5291 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5292 [!NO__SQR]: Define __sqr.
5293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5294 and NO__SQR. Remove all code except __mul and __sqr. Include
5295 sysdeps/ieee754/dbl-64/mpa.c.
5296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5297
5298 [BZ #12723]
5299 * posix/Makefile (tests): Add tst-pathconf.
5300 * posix/tst-pathconf.c: New test case.
5301 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5302 _PC_PIPE_BUF.
5303 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5304
5305 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5306
5307 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5308
5309 2013-03-06 Andreas Jaeger <aj@suse.de>
5310
5311 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5312 definition via __MAP_ANONYMOUS.
5313
5314 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5315 it's not part of Linux headers.
5316
5317 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5318 (MAP_HUGE_MASK): Define.
5319
5320 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5321 Define.
5322 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5323 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5324 Define.
5325 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5326 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5327 Define.
5328 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5329 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5330 Define.
5331 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5332
5333 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5334 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5335 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5336 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5337 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5338 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5339
5340 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5341 Handle f2fs.
5342
5343 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5344 Handle f2fs and efivarfs.
5345
5346 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5347 f2fs.
5348
5349 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5350 (EFIVARFS_MAGIC): Add.
5351 (F2FS_LINK_MAX): Add.
5352
5353 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5354
5355 * stdio-common/vfprintf.c: Replace __builtin_expect with
5356 __glibc_unlikely.
5357
5358 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5359
5360 [BZ #13550]
5361 * sysdeps/generic/bp-sym.h: Remove file.
5362 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5363 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5364 <bp-sym.h> and <bp-asm.h>.
5365 (__longjmp): Don't use BP_SYM.
5366 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5367 and <bp-asm.h>.
5368 (memcpy): Don't use BP_SYM.
5369 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5370 <bp-sym.h> and <bp-asm.h>.
5371 (memcpy): Don't use BP_SYM.
5372 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5373 <bp-asm.h>.
5374 (memcpy): Don't use BP_SYM.
5375 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5376 <bp-asm.h>.
5377 (memset): Don't use BP_SYM.
5378 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5379 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5380 (__bzero): Don't use BP_SYM.
5381 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5382 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5383 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5384 <bp-sym.h> and <bp-asm.h>.
5385 (memcmp): Don't use BP_SYM. Remove comment about bounded
5386 pointers.
5387 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5388 <bp-sym.h> and <bp-asm.h>.
5389 (memcpy): Don't use BP_SYM.
5390 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5391 <bp-sym.h> and <bp-asm.h>.
5392 (memset): Don't use BP_SYM.
5393 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5394 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5395 (__bzero): Don't use BP_SYM.
5396 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5397 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5398 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5399 <bp-sym.h> and <bp-asm.h>.
5400 (strncmp): Don't use BP_SYM. Remove comment about bounded
5401 pointers.
5402 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5403 <bp-sym.h> and <bp-asm.h>.
5404 (memcpy): Don't use BP_SYM.
5405 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5406 <bp-sym.h> and <bp-asm.h>.
5407 (memset): Don't use BP_SYM.
5408 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5409 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5410 (__bzero): Don't use BP_SYM.
5411 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5412 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5413 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5414 <bp-sym.h> and <bp-asm.h>.
5415 (__memchr): Don't use BP_SYM.
5416 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5417 <bp-sym.h> and <bp-asm.h>.
5418 (memcmp): Don't use BP_SYM. Remove comment about bounded
5419 pointers.
5420 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5421 <bp-sym.h> and <bp-asm.h>.
5422 (memcpy): Don't use BP_SYM.
5423 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5424 <bp-sym.h> and <bp-asm.h>.
5425 (__mempcpy): Don't use BP_SYM.
5426 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5427 <bp-sym.h> and <bp-asm.h>.
5428 (__memrchr): Don't use BP_SYM.
5429 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5430 <bp-sym.h> and <bp-asm.h>.
5431 (memset): Don't use BP_SYM.
5432 (__bzero): Likewise.
5433 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5434 <bp-sym.h> and <bp-asm.h>.
5435 (__rawmemchr): Don't use BP_SYM.
5436 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5437 <bp-sym.h> and <bp-asm.h>.
5438 (__STRCMP): Don't use BP_SYM.
5439 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5440 <bp-sym.h> and <bp-asm.h>.
5441 (strchr): Don't use BP_SYM.
5442 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5443 <bp-sym.h> and <bp-asm.h>.
5444 (__strchrnul): Don't use BP_SYM.
5445 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5446 <bp-sym.h> and <bp-asm.h>.
5447 (strlen): Don't use BP_SYM.
5448 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5449 <bp-sym.h> and <bp-asm.h>.
5450 (strncmp): Don't use BP_SYM. Remove comment about bounded
5451 pointers.
5452 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5453 <bp-sym.h> and <bp-asm.h>.
5454 (__strnlen): Don't use BP_SYM.
5455 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5456 <bp-sym.h> and <bp-asm.h>.
5457 (__GI__setjmp): Don't use BP_SYM.
5458 (_setjmp): Likewise.
5459 (__sigsetjmp): Likewise.
5460 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5461 (L(start_addresses)): Don't use BP_SYM.
5462 (_start): Likewise.
5463 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5464 <bp-asm.h>.
5465 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5466 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5467 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5468 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5469 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5470 <bp-asm.h>.
5471 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5472 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5473 about bounded pointers.
5474 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5475 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5476 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5477 <bp-asm.h>.
5478 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5479 about bounded pointers. Remove GKM FIXME comments.
5480 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5481 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5482 <bp-asm.h>.
5483 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5484 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5485 Remove GKM FIXME comments.
5486 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5487 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5488 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5489 <bp-asm.h>.
5490 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5491 about bounded pointers. Remove GKM FIXME comment.
5492 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5493 and <bp-asm.h>.
5494 (strncmp): Don't use BP_SYM. Remove comment about bounded
5495 pointers.
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5497 <bp-sym.h> and <bp-asm.h>.
5498 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5500 <bp-sym.h> and <bp-asm.h>.
5501 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5502 comment.
5503
5504 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5505
5506 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5507 call free(NULL).
5508
5509 2013-03-05 David S. Miller <davem@davemloft.net>
5510
5511 * po/es.po: Update from translation team.
5512
5513 2013-03-05 Andreas Jaeger <aj@suse.de>
5514
5515 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5516 <bits/mman-linux.h>.
5517 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5518 is fine.
5519 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5520 <bits/mman-linux.h> to end of file.
5521 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5522 is fine.
5523 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5524 <bits/mman-linux.h> to end of file.
5525 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5526 is fine.
5527 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5528 <bits/mman-linux.h> to end of file.
5529
5530 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5531 (MCL_CURRENT, MCL_FUTURE): Define here.
5532
5533 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5534
5535 [BZ #15232]
5536 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5537 attribute_hidden.
5538 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5539
5540 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5541
5542 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5543 fourth parameter needed for rt_sigprocmask syscall.
5544 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5545 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5546 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5547 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5548 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5549 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5550
5551 2013-03-04 Joseph Myers <joseph@codesourcery.com>
5552
5553 [BZ #13550]
5554 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5555 comment about bounded pointers.
5556 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5557 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5558
5559 2013-03-04 Andreas Jaeger <aj@suse.de>
5560
5561 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5562 common definitions.
5563
5564 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5565 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5566 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5567 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5568 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5569 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5570
5571 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5572
5573 [BZ #15055]
5574 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5575 __ieee754_sqrl instead of __sqrl.
5576
5577 2013-03-01 Joseph Myers <joseph@codesourcery.com>
5578
5579 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5580 * sysdeps/powerpc/fpu_control.h: ... here.
5581 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5582 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5583 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5584 * sysdeps/powerpc/bits/mathinline.h: ... here.
5585
5586 2013-03-01 Roland McGrath <roland@hack.frob.com>
5587
5588 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5589 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5590 to just [NEED_DL_SYSINFO_DSO].
5591 * elf/dl-support.c: Likewise.
5592 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5593 * elf/rtld.c (dl_main): Likewise.
5594 * elf/setup-vdso.h (setup_vdso): Likewise.
5595 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5596 * sysdeps/unix/sysv/linux/dl-sysdep.c
5597 (_dl_discover_osversion): Likewise.
5598
5599 2013-03-01 Carlos O'Donell <carlos@redhat.com>
5600
5601 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5602 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5603
5604 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5605
5606 * NEWS: Mention libm performance improvements and non-x86 PI
5607 futex support.
5608
5609 * csu/libc-start.c (__pthread_initialize_minimal): Change
5610 function arguments.
5611 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5612
5613 2013-02-28 Joseph Myers <joseph@codesourcery.com>
5614
5615 [BZ #13550]
5616 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5617 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5618 <bp-sym.h> and <bp-asm.h>.
5619 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5620 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5621 and <bp-asm.h>.
5622 (memcpy): Don't use BP_SYM.
5623 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5624 <bp-asm.h>.
5625 (__mpn_add_n): Don't use BP_SYM.
5626 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5627 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5628 and <bp-asm.h>.
5629 (__mpn_addmul_1): Don't use BP_SYM.
5630 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5631 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5632 <bp-sym.h>.
5633 (_setjmp): Don't use BP_SYM.
5634 (__novmx_setjmp): Likewise.
5635 (__GI__setjmp): Likewise.
5636 (__vmx_setjmp): Likewise.
5637 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5638 <bp-sym.h>.
5639 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5640 (__bzero): Don't use BP_SYM.
5641 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5642 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5643 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5644 <bp-sym.h> and <bp-asm.h>.
5645 (memcpy): Don't use BP_SYM.
5646 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5647 <bp-sym.h> and <bp-asm.h>.
5648 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5649 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5650 <bp-sym.h> and <bp-asm.h>.
5651 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5652 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5653 <bp-asm.h>.
5654 (__mpn_lshift): Don't use BP_SYM.
5655 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5656 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5657 <bp-asm.h>.
5658 (memset): Don't use BP_SYM.
5659 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5660 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5661 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5662 <bp-asm.h>.
5663 (__mpn_mul_1): Don't use BP_SYM.
5664 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5666 <bp-sym.h> and <bp-asm.h>.
5667 (memcmp): Don't use BP_SYM.
5668 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5669 <bp-sym.h> and <bp-asm.h>.
5670 (memcpy): Don't use BP_SYM.
5671 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5672 <bp-sym.h> and <bp-asm.h>.
5673 (memset): Don't use BP_SYM.
5674 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5675 <bp-sym.h> and <bp-asm.h>.
5676 (strncmp): Don't use BP_SYM.
5677 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5678 <bp-sym.h> and <bp-asm.h>.
5679 (memcpy): Don't use BP_SYM.
5680 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5681 <bp-sym.h> and <bp-asm.h>.
5682 (memset): Don't use BP_SYM.
5683 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5684 <bp-sym.h> and <bp-asm.h>.
5685 (__memchr): Don't use BP_SYM.
5686 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5687 <bp-sym.h> and <bp-asm.h>.
5688 (memcmp): Don't use BP_SYM.
5689 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5690 <bp-sym.h> and <bp-asm.h>.
5691 (memcpy): Don't use BP_SYM.
5692 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5693 <bp-sym.h> and <bp-asm.h>.
5694 (__mempcpy): Don't use BP_SYM.
5695 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5696 <bp-sym.h> and <bp-asm.h>.
5697 (__memrchr): Don't use BP_SYM.
5698 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5699 <bp-sym.h> and <bp-asm.h>.
5700 (memset): Don't use BP_SYM.
5701 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5702 <bp-sym.h> and <bp-asm.h>.
5703 (__rawmemchr): Don't use BP_SYM.
5704 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5705 <bp-sym.h> and <bp-asm.h>.
5706 (__STRCMP): Don't use BP_SYM.
5707 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5708 <bp-sym.h> and <bp-asm.h>.
5709 (strchr): Don't use BP_SYM.
5710 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5711 <bp-sym.h> and <bp-asm.h>.
5712 (__strchrnul): Don't use BP_SYM.
5713 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5714 <bp-sym.h> and <bp-asm.h>.
5715 (strlen): Don't use BP_SYM.
5716 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5717 <bp-sym.h> and <bp-asm.h>.
5718 (strncmp): Don't use BP_SYM.
5719 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5720 <bp-sym.h> and <bp-asm.h>.
5721 (__strnlen): Don't use BP_SYM.
5722 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5723 <bp-asm.h>.
5724 (__mpn_rshift): Don't use BP_SYM.
5725 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5726 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5727 <bp-sym.h> and <bp-asm.h>.
5728 (__sigsetjmp): Don't use BP_SYM.
5729 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5730 (L(start_addresses)): Don't use BP_SYM.
5731 (_start): Likewise.
5732 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5733 <bp-asm.h>.
5734 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5735 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5736 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5737 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5738 <bp-asm.h>.
5739 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5740 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5741 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5742 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5743 <bp-asm.h>.
5744 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5745 comments.
5746 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5747 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5748 <bp-asm.h>.
5749 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5750 FIXME comments.
5751 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5752 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5753 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5754 <bp-asm.h>.
5755 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5756 comment.
5757 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5758 and <bp-asm.h>.
5759 (strncmp): Don't use BP_SYM,
5760 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5761 <bp-asm.h>.
5762 (__mpn_sub_n): Don't use BP_SYM.
5763 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5764 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5765 and <bp-asm.h>.
5766 (__mpn_submul_1): Don't use BP_SYM.
5767 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5769 <bp-sym.h> and <bp-asm.h>.
5770 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5772 <bp-sym.h> and <bp-asm.h>.
5773 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5774 comment.
5775
5776 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5777
5778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5779 Use ZK to minimize writes to Z.
5780 (sub_magnitudes): Simplify code a bit.
5781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5782 Use ZK to minimize writes to Z.
5783 (sub_magnitudes): Simplify code a bit.
5784
5785 2013-02-27 Roland McGrath <roland@hack.frob.com>
5786
5787 * csu/gmon-start.c: Add special exception to license text.
5788
5789 2013-02-27 Richard Henderson <rth@redhat.com>
5790
5791 * scripts/config.guess: Update from config.git.
5792 * scripts/config.sub: Likewise.
5793
5794 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5795
5796 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5797
5798 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5799
5800 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5801
5802 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5803
5804 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5805
5806 2013-02-26 Roland McGrath <roland@hack.frob.com>
5807
5808 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5809 [$(build-shared = yes].
5810
5811 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5812
5813 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5814 (__mul): Reduce iterations for calculating mantissa.
5815
5816 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5817 MPTWO.
5818 (__mpranred): Likewise.
5819
5820 [BZ #15160]
5821 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5822 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5823
5824 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5825
5826 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5827 Define __attribute__.
5828
5829 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5830
5831 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5832 unused.
5833 * posix/regex_internal.h (__attribute): Remove.
5834 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5835 (re_string_context_at): Likewise.
5836 (bitset_not): Use __attribute__ and mark function as possibly
5837 unused.
5838 (bitset_merge): Likewise.
5839 (bitset_mask): Likewise.
5840 (re_string_char_size_at): Likewise.
5841 (re_string_wchar_at): Likewise.
5842 (re_string_elem_size_at): Likewise.
5843
5844 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5845
5846 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5847 code.
5848 (cc32): Likewise.
5849
5850 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5851 (__acr): Likewise.
5852 (__cpy): Likewise.
5853 (norm): Likewise.
5854 (denorm): Likewise.
5855 (__dbl_mp): Likewise.
5856 (add_magnitudes): Likewise.
5857 (sub_magnitudes): Likewise.
5858 (__mul): Likewise.
5859 (__inv): Likewise.
5860
5861 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5862 style.
5863
5864 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5865 style.
5866
5867 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5868 code.
5869
5870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5871 up changes with default code.
5872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5873 Likewise.
5874
5875 2013-02-24 Allan McRae <allan@archlinux.org>
5876
5877 * manual/socket.texi (The Internet Namespace): Order menu items
5878 to match that in the file.
5879
5880 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5881 node listing of the info page menu.
5882
5883 2013-02-21 Joseph Myers <joseph@codesourcery.com>
5884
5885 [BZ #13550]
5886 * sysdeps/i386/bp-asm.h: Remove file.
5887 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5888 (PARMS): Do not use macros from bp-asm.h.
5889 (S1): Likewise.
5890 (S2): Likewise.
5891 (SIZE): Likewise.
5892 (__mpn_add_n): Do not use BP_SYM
5893 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5894 "bp-asm.h".
5895 (PARMS): Do not use macros from bp-asm.h.
5896 (S1): Likewise.
5897 (SIZE): Likewise.
5898 (__mpn_addmul_1): Do not use BP_SYM
5899 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5900 "bp-asm.h".
5901 (PARMS): Do not use macros from bp-asm.h.
5902 (SIGMSK): Likewise.
5903 (_setjmp): Likewise. Do not use BP_SYM.
5904 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5905 "bp-asm.h".
5906 (PARMS): Do not use macros from bp-asm.h.
5907 (SIGMSK): Likewise.
5908 (setjmp): Likewise. Do not use BP_SYM.
5909 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5910 "bp-asm.h".
5911 (PARMS): Do not use macros from bp-asm.h.
5912 (__frexp): Do not use BP_SYM.
5913 (frexp): Likewise.
5914 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5915 "bp-asm.h".
5916 (PARMS): Do not use macros from bp-asm.h.
5917 (__frexpf): Do not use BP_SYM.
5918 (frexpf): Likewise.
5919 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5920 "bp-asm.h".
5921 (PARMS): Do not use macros from bp-asm.h.
5922 (__frexpl): Do not use BP_SYM.
5923 (frexpl): Likewise.
5924 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5925 "bp-asm.h".
5926 (PARMS): Do not use macros from bp-asm.h.
5927 (__remquo): Do not use BP_SYM.
5928 (remquo): Likewise.
5929 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5930 "bp-asm.h".
5931 (PARMS): Do not use macros from bp-asm.h.
5932 (__remquof): Do not use BP_SYM.
5933 (remquof): Likewise.
5934 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5935 "bp-asm.h".
5936 (PARMS): Do not use macros from bp-asm.h.
5937 (__remquol): Do not use BP_SYM.
5938 (remquol): Likewise.
5939 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5940 "bp-asm.h".
5941 (PARMS): Do not use macros from bp-asm.h.
5942 (DEST): Likewise.
5943 (SRC): Likewise.
5944 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5945 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5946 "bp-asm.h".
5947 (PARMS): Do not use macros from bp-asm.h.
5948 (strlen): Do not use BP_SYM.
5949 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5950 "bp-asm.h".
5951 (PARMS): Do not use macros from bp-asm.h.
5952 (S1): Likewise.
5953 (S2): Likewise.
5954 (SIZE): Likewise.
5955 (__mpn_add_n): Do not use BP_SYM.
5956 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5957 "bp-asm.h".
5958 (PARMS): Do not use macros from bp-asm.h.
5959 (S1): Likewise.
5960 (SIZE): Likewise.
5961 (__mpn_addmul_1): Do not use BP_SYM.
5962 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5963 weak_alias.
5964 (bzero): Likewise.
5965 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5966 "bp-asm.h".
5967 (PARMS): Do not use macros from bp-asm.h.
5968 (S): Likewise.
5969 (SIZE): Likewise.
5970 (__mpn_lshift): Do not use BP_SYM.
5971 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5972 "bp-asm.h".
5973 (PARMS): Do not use macros from bp-asm.h.
5974 (DEST): Likewise.
5975 (SRC): Likewise.
5976 (LEN): Likewise.
5977 (memcpy): Likewise. Do not use BP_SYM.
5978 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5979 libc_hidden_def and weak_alias.
5980 (mempcpy): Do not use BP_SYM in weak_alias.
5981 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5982 "bp-asm.h".
5983 (PARMS): Do not use macros from bp-asm.h.
5984 (DEST): Likewise.
5985 (LEN): Likewise.
5986 [!BZERO_P] (CHR): Likewise.
5987 (memset): Likewise. Do not use BP_SYM.
5988 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5989 "bp-asm.h".
5990 (PARMS): Do not use macros from bp-asm.h.
5991 (S1): Likewise.
5992 (SIZE): Likewise.
5993 (__mpn_mul_1): Do not use BP_SYM.
5994 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5995 "bp-asm.h".
5996 (PARMS): Do not use macros from bp-asm.h.
5997 (S): Likewise.
5998 (SIZE): Likewise.
5999 (__mpn_rshift): Do not use BP_SYM.
6000 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6001 "bp-asm.h".
6002 (PARMS): Do not use macros from bp-asm.h.
6003 (STR): Likewise.
6004 (CHR): Likewise.
6005 (strchr): Likewise. Do not use BP_SYM.
6006 (index): Do not use BP_SYM in weak_alias.
6007 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6008 "bp-asm.h".
6009 (PARMS): Do not use macros from bp-asm.h.
6010 (DEST): Likewise.
6011 (SRC): Likewise.
6012 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6013 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6014 "bp-asm.h".
6015 (PARMS): Do not use macros from bp-asm.h.
6016 (strlen): Do not use BP_SYM.
6017 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6018 "bp-asm.h".
6019 (PARMS): Do not use macros from bp-asm.h.
6020 (S1): Likewise.
6021 (S2): Likewise.
6022 (SIZE): Likewise.
6023 (__mpn_sub_n): Do not use BP_SYM.
6024 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6025 "bp-asm.h".
6026 (PARMS): Do not use macros from bp-asm.h.
6027 (S1): Likewise.
6028 (SIZE): Likewise.
6029 (__mpn_submul_1): Do not use BP_SYM.
6030 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6031 "bp-asm.h".
6032 (PARMS): Do not use macros from bp-asm.h.
6033 (S1): Likewise.
6034 (S2): Likewise.
6035 (SIZE): Likewise.
6036 (__mpn_add_n): Do not use BP_SYM.
6037 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6038 weak_alias.
6039 (bzero): Likewise.
6040 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6041 "bp-asm.h".
6042 (PARMS): Do not use macros from bp-asm.h.
6043 (BLK2): Likewise.
6044 (LEN): Likewise.
6045 (memcmp): Do not use BP_SYM.
6046 (bcmp): Do not use BP_SYM in weak_alias.
6047 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6048 "bp-asm.h".
6049 (PARMS): Do not use macros from bp-asm.h.
6050 (DEST): Likewise.
6051 (SRC): Likewise.
6052 (LEN): Likewise.
6053 (memcpy): Likewise. Do not use BP_SYM.
6054 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6055 "bp-asm.h".
6056 (PARMS): Do not use macros from bp-asm.h.
6057 (DEST): Likewise.
6058 (SRC): Likewise.
6059 (LEN): Likewise.
6060 (memmove): Likewise. Do not use BP_SYM.
6061 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6062 "bp-asm.h".
6063 (PARMS): Do not use macros from bp-asm.h.
6064 (DEST): Likewise.
6065 (SRC): Likewise.
6066 (LEN): Likewise.
6067 (__mempcpy): Likewise. Do not use BP_SYM.
6068 (mempcpy): Do not use BP_SYM in weak_alias.
6069 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6070 "bp-asm.h".
6071 (PARMS): Do not use macros from bp-asm.h.
6072 (DEST): Likewise.
6073 (LEN): Likewise.
6074 [!BZERO_P] (CHR): Likewise.
6075 (memset): Likewise. Do not use BP_SYM.
6076 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6077 "bp-asm.h".
6078 (PARMS): Do not use macros from bp-asm.h.
6079 (STR2): Likewise.
6080 (strcmp): Do not use BP_SYM.
6081 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6082 "bp-asm.h".
6083 (PARMS): Do not use macros from bp-asm.h.
6084 (STR): Likewise.
6085 (DELIM): Likewise.
6086 [USE_AS_STRTOK_R] (SAVE): Likewise.
6087 (FUNCTION): Likewise. Do not use BP_SYM.
6088 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6089 aliases.
6090 (strtok_r): Likewise.
6091 (__GI___strtok_r): Likewise.
6092 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6093 (PARMS): Do not use macros from bp-asm.h.
6094 (S): Likewise.
6095 (SIZE): Likewise.
6096 (__mpn_lshift): Do not use BP_SYM.
6097 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6098 (PARMS): Do not use macros from bp-asm.h.
6099 (STR): Likewise.
6100 (CHR): Likewise.
6101 (__memchr): Do not use BP_SYM.
6102 (memchr): Do not use BP_SYM in weak_alias.
6103 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6104 (PARMS): Do not use macros from bp-asm.h.
6105 (BLK2): Likewise.
6106 (LEN): Likewise.
6107 (memcmp): Do not use BP_SYM.
6108 (bcmp): Do not use BP_SYM in weak_alias.
6109 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6110 (PARMS): Do not use macros from bp-asm.h.
6111 (S1): Likewise.
6112 (SIZE): Likewise.
6113 (__mpn_mul_1): Do not use BP_SYM.
6114 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6115 "bp-asm.h".
6116 (PARMS): Do not use macros from bp-asm.h.
6117 (STR): Likewise.
6118 (CHR): Likewise.
6119 (__rawmemchr): Do not use BP_SYM.
6120 (rawmemchr): Do not use BP_SYM in weak_alias.
6121 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6122 (PARMS): Do not use macros from bp-asm.h.
6123 (S): Likewise.
6124 (SIZE): Likewise.
6125 (__mpn_rshift): Do not use BP_SYM.
6126 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6127 (PARMS): Do not use macros from bp-asm.h.
6128 (SIGMSK): Likewise.
6129 (__sigsetjmp): Likewise. Do not use BP_SYM.
6130 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6131 (_start): Do not use BP_SYM.
6132 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6133 (PARMS): Do not use macros from bp-asm.h.
6134 (DEST): Likewise.
6135 (SRC): Likewise.
6136 (__stpcpy): Likewise. Do not use BP_SYM.
6137 (stpcpy): Do not use BP_SYM in weak_alias.
6138 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6139 "bp-asm.h".
6140 (PARMS): Do not use macros from bp-asm.h.
6141 (DEST): Likewise.
6142 (SRC): Likewise.
6143 (LEN): Likewise.
6144 (__stpncpy): Likewise. Do not use BP_SYM.
6145 (stpncpy): Do not use BP_SYM in weak_alias.
6146 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6147 (PARMS): Do not use macros from bp-asm.h.
6148 (STR): Likewise.
6149 (CHR): Likewise.
6150 (strchr): Likewise. Do not use BP_SYM.
6151 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6152 "bp-asm.h".
6153 (PARMS): Do not use macros from bp-asm.h.
6154 (STR): Likewise.
6155 (CHR): Likewise.
6156 (__strchrnul): Likewise. Do not use BP_SYM.
6157 (strchrnul): Do not use BP_SYM in weak_alias.
6158 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6159 "bp-asm.h".
6160 (PARMS): Do not use macros from bp-asm.h.
6161 (STOP): Likewise.
6162 (strcspn): Do not use BP_SYM.
6163 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6164 "bp-asm.h".
6165 (PARMS): Do not use macros from bp-asm.h.
6166 (STR): Likewise.
6167 (STOP): Likewise.
6168 (strpbrk): Likewise. Do not use BP_SYM.
6169 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6170 "bp-asm.h".
6171 (PARMS): Do not use macros from bp-asm.h.
6172 (STR): Likewise.
6173 (CHR): Likewise.
6174 (strrchr): Likewise. Do not use BP_SYM.
6175 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6176 (PARMS): Do not use macros from bp-asm.h.
6177 (SKIP): Likewise.
6178 (strspn): Do not use BP_SYM.
6179 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6180 (PARMS): Do not use macros from bp-asm.h.
6181 (STR): Likewise.
6182 (DELIM): Likewise.
6183 (SAVE): Likewise.
6184 (FUNCTION): Likewise. Do not use BP_SYM.
6185 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6186 aliases.
6187 (strtok_r): Likewise.
6188 (__GI___strtok_r): Likewise.
6189 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6190 (PARMS): Do not use macros from bp-asm.h.
6191 (S1): Likewise.
6192 (S2): Likewise.
6193 (SIZE): Likewise.
6194 (__mpn_sub_n): Do not use BP_SYM.
6195 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6196 "bp-asm.h".
6197 (PARMS): Do not use macros from bp-asm.h.
6198 (S1): Likewise.
6199 (SIZE): Likewise.
6200 (__mpn_submul_1): Do not use BP_SYM.
6201 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6202 <bp-sym.h>.
6203 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6204 and <bp-asm.h>.
6205 (PARMS): Do not use macros from bp-asm.h.
6206 (FLAGS): Likewise.
6207 (PTID): Likewise.
6208 (TLS): Likewise.
6209 (CTID): Likewise.
6210 (__clone): Do not use BP_SYM.
6211 (clone): Do not use BP_SYM in weak_alias.
6212 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6213 and <bp-asm.h>.
6214 (PARMS): Do not use macros from bp-asm.h.
6215 (LEN): Likewise.
6216 (__mmap64): Do not use BP_SYM.
6217 (mmap64): Do not use BP_SYM in weak_alias.
6218 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6219 <bp-sym.h> and <bp-asm.h>.
6220 (PARMS): Do not use macros from bp-asm.h.
6221 (__posix_fadvise64_l64): Do not use BP_SYM.
6222 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6223 (PARMS): Do not use macros from bp-asm.h.
6224 (NSOPS): Likewise.
6225 (semtimedop): Do not use BP_SYM.
6226 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6227 and <bp-asm.h>.
6228
6229 2013-02-21 Allan McRae <allan@archlinux.org>
6230
6231 * manual/message.texi (Charset conversion in gettext):
6232 Move @end statement to beginning of line.
6233
6234 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6235
6236 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6237 static.
6238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6239 Likewise.
6240
6241 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6242 (denorm): Likewise.
6243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6245
6246 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6247
6248 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6249 tail-call to the resolved function if pltexit isn't needed.
6250
6251 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6252
6253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6254 or Y being zero as being unlikely.
6255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6256 Likewise.
6257
6258 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6259
6260 * manual/nss.texi (System Databases and Name Service Switch):
6261 Remove frobnicate @pxref.
6262
6263 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6264
6265 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6266 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6267
6268 2013-02-20 Petr Machata <pmachata@redhat.com>
6269
6270 * elf/elf.h (R_ARM_TARGET1): New macro.
6271 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6272 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6273 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6274 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6275 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6276 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6277 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6278 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6279 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6280 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6281 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6282 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6283 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6284 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6285 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6286 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6287 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6288 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6289 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6290 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6291 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6292 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6293 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6294 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6295 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6296 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6297 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6298 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6299 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6300 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6301 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6302 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6303 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6304 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6305 (R_ARM_THM_GOT_BREL12): Likewise.
6306 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6307 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6308 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6309 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6310 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6311 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6312 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6313 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6314 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6315
6316 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6317
6318 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6319 __attribute_used__ to __attribute__ ((unused)).
6320
6321 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6322
6323 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6324 powerpc mpa.c.
6325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6326 comment formatting.
6327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6328
6329 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6330
6331 [BZ #13550]
6332 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6333 Remove macro.
6334 (ENTER): Remove both macro definitions.
6335 (LEAVE): Likewise.
6336 (CHECK_BOUNDS_LOW): Likewise.
6337 (CHECK_BOUNDS_HIGH): Likewise.
6338 (CHECK_BOUNDS_BOTH): Likewise.
6339 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6340 (RETURN_BOUNDED_POINTER): Likewise.
6341 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6342 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6343 (POP_ERRNO_LOCATION_RETURN): Likewise.
6344 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6345 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6346 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6347 macros.
6348 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6349 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6350 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6351 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6352 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6353 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6354 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6355 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6356 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6357 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6358 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6359 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6360 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6361 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6362 removed macros.
6363 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6364 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6365 macros.
6366 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6367 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6368 * sysdeps/i386/i586/memset.S (memset): Likewise.
6369 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6370 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6371 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6372 macros.
6373 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6374 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6375 Change uses of L(2) to L(out).
6376 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6377 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6378 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6379 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6380 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6381 removed macros.
6382 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6383 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6384 macros.
6385 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6386 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6387 (RETURN): Do not use macro LEAVE.
6388 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6389 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6390 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6391 * sysdeps/i386/i686/memset.S (memset): Likewise.
6392 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6393 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6394 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6395 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6396 Likewise.
6397 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6398 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6399 L(1_2) and L(1_3) into L(1).
6400 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6401 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6402 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6403 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6404 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6405 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6406 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6407 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6408 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6409 macros.
6410 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6411 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6412 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6413 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6414 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6415 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6416 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6417 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6418 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6419 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6420 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6421 * sysdeps/i386/strspn.S (strspn): Likewise.
6422 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6423 conditional code.
6424 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6425 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6426 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6427 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6428 L(1_3) into L(1_1).
6429 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6430 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6431 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6432 macros.
6433 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6434
6435 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6436
6437 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6438 macro.
6439
6440 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6441
6442 * math/atest-exp.c (exp_mpn): Remove ROUND.
6443 * math/atest-exp2.c (exp_mpn): Likewise.
6444 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6445
6446 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6447 * stdlib/tst-tls-atexit-lib.c: Likewise.
6448 * stdlib/tst-tls-atexit.c: Likewise.
6449
6450 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6451
6452 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6453 and __attribute_alloc_size__.
6454
6455 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6456
6457 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6458 __attribute_alloc_size__.
6459 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6460 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6461
6462 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6463
6464 * include/programs/xmalloc.h: New file.
6465 * catgets/gencat.c: Include it.
6466 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6467 * elf/pldd.c: Likewise.
6468 * iconv/iconv_charmap.c: Likewise.
6469 * iconv/iconvconfig.c: Likewise.
6470 * iconv/strtab.c: Likewise.
6471 * locale/programs/locale.c: Likewise.
6472 * locale/programs/localedef.h: Likewise.
6473 * locale/programs/simple-hash.c: Likewise.
6474 * nscd/nscd.h: Likewise.
6475 * nss/makedb.c: Likewise.
6476 * sysdeps/generic/ldconfig.h: Likewise.
6477
6478 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6479
6480 * Versions.def: Add GLIBC_2.18.
6481 * include/link.h (struct link_map): New member l_tls_dtor_count.
6482 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6483 (__call_tls_dtors): Likewise.
6484 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6485 __cxa_thread_atexit_impl.
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6487 Likewise.
6488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6489 Likewise.
6490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6491 Likewise.
6492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6493 Likewise.
6494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6496 Likewise.
6497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6498 Likewise.
6499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6501 Likewise.
6502 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6503 (tests): Add test case tst-tls-atexit.
6504 (modules-names): Add shared library for tst-tls-atexit.
6505 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6506 (GLIBC_PRIVATE): Add __call_tls_dtors.
6507 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6508 for libstdc++.
6509 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6510 * stdlib/tst-tls-atexit.c: New test case.
6511 * stdlib/tst-tls-atexit-lib.c: New test case.
6512
6513 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6514
6515 * elf/Versions (ld): Add _dl_find_dso_for_object.
6516 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6517 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6518 (dl_open_worker): Use _dl_find_dso_for_object.
6519 * elf/dl-sym.c (do_sym): Likewise.
6520 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6521
6522 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6523
6524 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6525 Syntactic changes only.
6526 (_dl_runtime_profile): Do a tail-call to the resolved function.
6527
6528 2013-02-17 Joseph Myers <joseph@codesourcery.com>
6529
6530 [BZ #13550]
6531 * sysdeps/x86_64/bp-asm.h: Remove file.
6532 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6533 <bp-sym.h> and <bp-asm.h>.
6534 (__clone): Do not use BP_SYM.
6535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6536 <bp-sym.h> and <bp-asm.h>.
6537 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6538 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6539 "bp-asm.h".
6540 (_setjmp): Do not use BP_SYM.
6541 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6542 "bp-asm.h".
6543 (setjmp): Do not use BP_SYM.
6544 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6545 libc_hidden_def.
6546 (mempcpy): Do not use BP_SYM in weak_alias.
6547 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6548 "bp-asm.h".
6549 (strchr): Do not use BP_SYM.
6550 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6551 "bp-asm.h".
6552 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6553 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6554 (_start): Do not use BP_SYM.
6555 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6556 "bp-asm.h".
6557 (strcat): Do not use BP_SYM.
6558 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6559 "bp-asm.h".
6560 (STRCMP): Do not use BP_SYM.
6561 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6562 "bp-asm.h".
6563 (STRCPY): Do not use BP_SYM.
6564 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6565 "bp-asm.h".
6566 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6567 "bp-asm.h".
6568 (FUNCTION): Do not use BP_SYM.
6569 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6570 weak_alias.
6571 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6572
6573 2013-02-17 Andreas Jaeger <aj@suse.de>
6574
6575 * time/Versions: Sort entries.
6576 * string/Versions: Likewise.
6577 * resolv/Versions: Likewise.
6578 * posix/Versions: Likewise.
6579 * iconv/Versions: Likewise.
6580 * elf/Versions: Likewise.
6581 * wcsmbs/Versions: Likewise.
6582
6583 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6584
6585 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6586 loop termination condition.
6587
6588 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6589 variable to calculate EZ.
6590 (__sqr): Likewise.
6591
6592 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6593 the lower precision input.
6594
6595 2013-02-15 Joseph Myers <joseph@codesourcery.com>
6596
6597 [BZ #13550]
6598 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6599 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6600 (run-via-rtld-prefix): Do not handle %-bp tests.
6601 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6602 (all-object-suffixes): Remove .ob.
6603 (bppfx): Remove variable.
6604 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6605 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6606 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6607 [$(build-bounded) = yes] (libtype.ob): Likewise.
6608 * Makerules (elide-routines.ob): Remove variable.
6609 (do-tests-clean): Do not handle *-bp.out.
6610 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6611 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6612 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6613 (tests): Do not include $(tests-bp.out).
6614 (xtests): Do not include $(xtests-bp.out).
6615 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6616 [$(build-bounded) = yes] ($(addprefix
6617 $(objpfx),$(binaries-bounded))): Remove rule.
6618 ($(objpfx)%-bp.out): Remove rule.
6619 * config.make.in (build-bounded): Remove variable.
6620 * crypt/Makefile [$(build-bounded) = yes]
6621 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6622 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6623 append to variable.
6624 [$(build-bounded) = yes] (install-lib): Likewise.
6625 [$(build-bounded) = yes] (generated): Likewise.
6626 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6627 Remove rule.
6628 * intl/Makefile [$(build-bounded) = yes]
6629 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6630 * math/Makefile [$(build-bounded) = yes]
6631 ($(tests:%=$(objpfx)%-bp): Likewise.
6632 * misc/Makefile [$(build-bounded) = yes]
6633 ($(objpfx)tst-tsearch-bp): Likewise.
6634 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6635 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6636 Remove dependency.
6637 * string/Makefile (o-objects.ob): Remove variable.
6638 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6639 (CFLAGS-.ob): Remove variable.
6640 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6641 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6642 both definitions of variable.
6643 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6644 (ASFLAGS-.ob): Remove variable.
6645
6646 2013-02-14 Joseph Myers <joseph@codesourcery.com>
6647
6648 [BZ #13550]
6649 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6650 Remove __BOUNDED_POINTERS__ from condition.
6651 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6652 * string/bits/string2.h [!__NO_STRING_INLINES &&
6653 !__BOUNDED_POINTERS__]: Likewise.
6654 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6655 Likewise.
6656 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6657 Remove conditional code.
6658 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6659 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6660 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6661 condition.
6662
6663 [BZ #13550]
6664 * csu/libc-start.c: Do not include <bp-sym.h>.
6665 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6666 * elf/dl-open.c: Do not include <bp-sym.h>.
6667 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6668 * math/fegetenv.c: Do not include <bp-sym.h>.
6669 (fegetenv): Do not use BP_SYM in versioned symbols.
6670 * nptl/sysdeps/pthread/bits/libc-lockP.h
6671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6672 <bp-sym.h>.
6673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6674 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6676 (__pthread_mutex_destroy): Likewise.
6677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6678 (__pthread_mutex_lock): Likewise.
6679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6680 (__pthread_mutex_trylock): Likewise.
6681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6682 (__pthread_mutex_unlock): Likewise.
6683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6684 (__pthread_mutexattr_init): Likewise.
6685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6686 (__pthread_mutexattr_destroy): Likewise.
6687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6688 (__pthread_mutexattr_settype): Likewise.
6689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6690 (__pthread_rwlock_init): Likewise.
6691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6692 (__pthread_rwlock_destroy): Likewise.
6693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6694 (__pthread_rwlock_rdlock): Likewise.
6695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6696 (__pthread_rwlock_tryrdlock): Likewise.
6697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6698 (__pthread_rwlock_wrlock): Likewise.
6699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6700 (__pthread_rwlock_trywrlock): Likewise.
6701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6702 (__pthread_rwlock_unlock): Likewise.
6703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6704 (__pthread_key_create): Likewise.
6705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6706 (__pthread_setspecific): Likewise.
6707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6708 (__pthread_getspecific): Likewise.
6709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6710 Likewise.
6711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6712 (_pthread_cleanup_push_defer): Likewise.
6713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6714 (_pthread_cleanup_pop_restore): Likewise.
6715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6716 (pthread_setcancelstate): Likewise.
6717 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6718 <bp-sym.h>.
6719 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6720 (memchr): Do not use BP_SYM in weak_alias.
6721 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6722 (fegetenv): Do not use BP_SYM in versioned symbols.
6723 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6724 (fesetenv): Do not use BP_SYM in versioned symbols.
6725 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6726 (feupdateenv): Do not use BP_SYM in versioned symbols.
6727 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6728 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6729 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6730 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6731 (open64): Do not use BP_SYM in weak_alias.
6732 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6733 (fegetenv): Do not use BP_SYM in versioned symbols.
6734 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6735 (fesetenv): Do not use BP_SYM in versioned symbols.
6736 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6737 (feupdateenv): Do not use BP_SYM in versioned symbols.
6738 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6739 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6740 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6741 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6742 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6743 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6744 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6745 <bp-sym.h>.
6746 (__libc_start_main): Do not use BP_SYM.
6747
6748 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6749
6750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6751 redundant return line.
6752 (norm): Likewise.
6753 (denorm): Likewise.
6754 (dbl_mp): Likewise.
6755 (sub_magnitudes): Likewise.
6756 (__add): Likewise.
6757 (__sub): Likewise.
6758 (__mul): Likewise.
6759 (__inv): Likewise.
6760 (__dvd): Likewise.
6761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6762 (norm): Likewise.
6763 (denorm): Likewise.
6764 (dbl_mp): Likewise.
6765 (sub_magnitudes): Likewise.
6766 (__add): Likewise.
6767 (__sub): Likewise.
6768 (__mul): Likewise.
6769 (__inv): Likewise.
6770 (__dvd): Likewise.
6771
6772 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6773 instead of __mul.
6774 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6775 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6776 (cc32): Likewise.
6777
6778 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6779 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6781 of __mul for squares.
6782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6783 function
6784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6785 Likewise.
6786 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6787 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6788
6789 2013-02-13 Joseph Myers <joseph@codesourcery.com>
6790
6791 [BZ #13550]
6792 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6793 code.
6794 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6795 prototype or function definition. Rename ubp_* variables and
6796 parameters. Remove argv definitions conditional on
6797 [__BOUNDED_POINTERS__].
6798 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6799 * elf/dl-runtime.c (_dl_fixup): Likewise.
6800 * include/set-hooks.h (RUN_HOOK): Likewise.
6801 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6802 definition.
6803 * string/strcpy.c (strcpy): Do not use __unbounded.
6804 * sysdeps/generic/frame.h (struct layout): Likewise.
6805 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6806 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6807 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6808 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6809 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6810 (__backtrace): Likewise.
6811 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6812 use __ptrvalue.
6813 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6814 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6815 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6816 Likewise.
6817 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6818 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6819 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6820 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6821 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6822 Do not use __unbounded.
6823 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6824 Rename __unboundedrlimits parameter to rlimits in prototype.
6825 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6826 Do not use __unbounded.
6827 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6828 not use __ptrvalue.
6829 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6830 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6831 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6832 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6833 __ptrvalue or __unbounded.
6834 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6835 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6836 use __unbounded.
6837 (__new_msgctl): Do not use __ptrvalue.
6838 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6839 __unbounded.
6840 (__libc_msgrcv): Do not use __ptrvalue.
6841 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6842 startup_info): Do not use __unbounded.
6843 (__libc_start_main): Likewise. Rename ubp_* variables and
6844 parameters. Remove argv definitions conditional on
6845 [__BOUNDED_POINTERS__].
6846 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6847 __ptrvalue.
6848 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6849 use __unbounded.
6850 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6851 or __ptrvalue.
6852 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6853 use __unbounded.
6854 (__new_shmctl): Do not use __ptrvalue.
6855 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6856 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6857 Likewise.
6858 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6859 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6860 (__libc_sigaction): Likewise.
6861 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6862 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6863 Likewise.
6864 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6865
6866 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
6867
6868 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6869
6870 * string/mempcpy.c: Implement by calling memcpy.
6871
6872 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6873
6874 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6875
6876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6877 evaluation.
6878
6879 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6880 values in the mantissa.
6881
6882 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6883 minimize writes to Z.
6884 (sub_magnitudes): Simplify code a bit.
6885
6886 2013-02-12 Roland McGrath <roland@hack.frob.com>
6887
6888 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6889 from the message. The linker prefixes all warnings with that already.
6890
6891 2013-02-12 Andreas Schwab <schwab@suse.de>
6892
6893 [BZ #15078]
6894 * posix/regexec.c (extend_buffers): Add parameter min_len.
6895 (check_matching): Pass minimum needed length.
6896 (clean_state_log_if_needed): Likewise.
6897 (get_subexp): Likewise.
6898 * posix/Makefile (tests): Add bug-regex34.
6899 (bug-regex34-ENV): Define.
6900 * posix/bug-regex34.c: New file.
6901
6902 [BZ #11561]
6903 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6904 elements compare against the byte sequence of it, not its name.
6905 * posix/Makefile (tests): Add bug-regex35.
6906 (bug-regex35-ENV): Define.
6907 * posix/bug-regex35.c: New file.
6908
6909 2013-02-11 Tom de Vries <tom@codesourcery.com>
6910
6911 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6912 comment.
6913 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6914 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6915 (CHECK_EOL): Add undef.
6916
6917 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
6918
6919 * bits/stdlib-bsearch.h: New file.
6920 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6921 * stdlib/stdlib.h: Likewise.
6922
6923 2013-02-11 Roland McGrath <roland@hack.frob.com>
6924
6925 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6926 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6927 declaration.
6928 * manual/search.texi (Array Search Function): Add missing const in
6929 lfind prototype.
6930 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6931 declaration to use rlim_t.
6932 (Basic Scheduling Functions): Remove erroneous const from
6933 sched_getparam prototype. Remove erroneous * from
6934 sched_get_priority_max and sched_get_priority_min prototypes.
6935 (Resource Usage): Fix summary @comment on vtimes to refer to
6936 sys/vtimes.h rather than vtimes.h.
6937 Add missing *s in vtimes prototype.
6938 (Limits on Resources): Fix ulimit prototype to return long int.
6939 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6940 prototypes to use long int rather than double.
6941 (BSD Random): Fix initstate and setstate to use char *, not void *.
6942 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6943 prototype to make second argument 'struct aiocb64 *const[]'.
6944 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6945 (Status of AIO Operations): Remove erroneous const in aio_return and
6946 aio_return64 prototypes.
6947 (Synchronizing I/O): Fix sync prototype to return void.
6948 * manual/startup.texi (Suboptions): Remove an erroneous const in
6949 getsubopt prototype.
6950 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6951 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6952 use size_t rather than int.
6953 (Scanning All Users): Likewise for getpwent_r.
6954 (Setting Groups): Add missing const to setgroups prototype.
6955 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6956 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6957 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6958 'const void *' rather than 'const char *'.
6959 (Host Address Functions): Likewise for inet_ntop.
6960 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6961 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6962 ssize_t for return value.
6963 (Sending Data): Likewise for send, sendto, sendmsg.
6964 (Socket Option Functions): Add a missing const in setsockopt prototype.
6965 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6966 use wchar_t for the argument.
6967 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6968 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6969 take no arguments.
6970 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6971 double/float/long double for second argument.
6972 Fix return types of significand, significandf, significandl.
6973 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6974 argument in fchmod prototype.
6975 (File Owner): Use uid_t and gid_t in fchown prototype.
6976 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6977 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6978 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6979 use 'const struct dirent **' as argument types to CMP function pointer
6980 argument.
6981 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6982 (File Times): Fix summary magic @comment for struct utimbuf and utime
6983 to refer to utime.h, not time.h.
6984 * manual/string.texi (Argz Functions): Add missing const in
6985 argz_extract and argz_next prototypes.
6986 (Finding Tokens in a String): Likewise for basename.
6987 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6988 (Copying and Concatenation): Fix typo in wmemmove prototype.
6989 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6990 (Signal Stack): Remove erroneous const in sigstack prototype.
6991 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6992 prototype.
6993 (Simple Calendar Time): Likewise for stime.
6994 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6995 prototype.
6996 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6997 say sys/sysctl.h instead.
6998 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6999 and vsyslog prototypes.
7000
7001 2013-02-11 Tom de Vries <tom@codesourcery.com>
7002
7003 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7004 Remove.
7005
7006 2013-02-11 Roland McGrath <roland@hack.frob.com>
7007
7008 * misc/sys/mman.h: Fix typo in mremap comment.
7009
7010 2013-02-08 Roland McGrath <roland@hack.frob.com>
7011
7012 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7013 the '\0' terminator.
7014
7015 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7016
7017 [BZ #13550]
7018 * debug/segfault.c: Don't include <bp-checks.h>.
7019 * sysdeps/generic/bp-checks.h: Remove file.
7020 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7021 (__GETDENTS): Don't use CHECK_N.
7022 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7023 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7024 (__getgroups): Don't use CHECK_N.
7025 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7026 (setgroups): Don't use CHECK_N.
7027 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7028 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7029 (__libc_msgrcv): Don't use CHECK_N.
7030 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7031 (__libc_msgsnd): Don't use CHECK_N.
7032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7033 <bp-checks.h>.
7034 (__libc_pread): Don't use CHECK_N.
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7036 include <bp-checks.h>.
7037 (__libc_pread64): Don't use CHECK_N.
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7039 include <bp-checks.h>.
7040 (__libc_pwrite): Don't use CHECK_N.
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7042 include <bp-checks.h>.
7043 (__libc_pwrite64): Don't use CHECK_N.
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7045 <bp-checks.h>.
7046 (__libc_pread): Don't use CHECK_N.
7047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7048 include <bp-checks.h>.
7049 (__libc_pread64): Don't use CHECK_N.
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7051 include <bp-checks.h>.
7052 (__libc_pwrite): Don't use CHECK_N.
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7054 include <bp-checks.h>.
7055 (__libc_pwrite64): Don't use CHECK_N.
7056 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7057 (do_pread): Don't use CHECK_N.
7058 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7059 (do_pread64): Don't use CHECK_N.
7060 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7061 (do_pwrite): Don't use CHECK_N.
7062 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7063 (do_pwrite64): Don't use CHECK_N.
7064 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7065 (__libc_readv): Don't use CHECK_N.
7066 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7067 (semop): Don't use CHECK_N.
7068 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7069 <bp-checks.h>.
7070 (semtimedop): Don't use CHECK_N.
7071 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7072 (__libc_pread): Don't use CHECK_N.
7073 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7074 <bp-checks.h>.
7075 (__libc_pread64): Don't use CHECK_N.
7076 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7077 <bp-checks.h>.
7078 (__libc_pwrite): Don't use CHECK_N.
7079 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7080 <bp-checks.h>.
7081 (__libc_pwrite64): Don't use CHECK_N.
7082 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7083 <bp-checks.h>.
7084 (__libc_msgrcv): Don't use CHECK_N.
7085 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7086 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7087 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7088 (__libc_writev): Don't use CHECK_N.
7089
7090 2013-02-08 Roland McGrath <roland@hack.frob.com>
7091
7092 * string/strcpy.c: Removed unused variable.
7093
7094 * Makeconfig (+sysdep-includes): Define with := rather than =.
7095 Use an existing include/ subdir of each sysdeps dir before it.
7096
7097 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7098
7099 * nscd/connection.c (register_traced_file): Comment function.
7100 [HAVE_INOTIFY] (union __inev): Define.
7101 [HAVE_INOTIFY] (inotify_check_files): New function.
7102 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7103 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7104 clear_db_cache.
7105 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7106
7107 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7108
7109 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7110 loaded if not already and that a failure is permanent.
7111
7112 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7113
7114 [BZ #15006]
7115 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7116 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7117
7118 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7119
7120 [BZ #13550]
7121 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7122 (CHECK_1_NULL_OK): Likewise.
7123 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7124 (__fxstat): Do not use CHECK_1.
7125 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7126 <bp-checks.h>.
7127 (___fxstat64): Do not use CHECK_1.
7128 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7129 <bp-checks.h>.
7130 (__fxstatat): Do not use CHECK_1.
7131 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7132 <bp-checks.h>.
7133 (__fxstatat64): Do not use CHECK_1.
7134 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7135 <bp-checks.h>.
7136 (__fxstat): Do not use CHECK_1.
7137 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7138 <bp-checks.h>.
7139 (__fxstatat): Do not use CHECK_1.
7140 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7141 <bp-checks.h>.
7142 (__getresgid): Do not use CHECK_1.
7143 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7144 <bp-checks.h>.
7145 (__getresuid): Do not use CHECK_1.
7146 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7147 <bp-checks.h>.
7148 (__lxstat): Do not use CHECK_1.
7149 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7150 <bp-checks.h>.
7151 (__old_msgctl): Do not use CHECK_1.
7152 (__new_msgctl): Likewise.
7153 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7154 <bp-checks.h>.
7155 (__new_setrlimit): Do not use CHECK_1.
7156 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7157 <bp-checks.h>.
7158 (__old_shmctl): Do not use CHECK_1.
7159 (__new_shmctl): Likewise.
7160 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7161 <bp-checks.h>.
7162 (__xstat): Do not use CHECK_1.
7163 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7164 (__lxstat): Do not use CHECK_1.
7165 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7166 <bp-checks.h>.
7167 (___lxstat64): Do not use CHECK_1.
7168 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7169 (__old_msgctl): Do not use CHECK_1.
7170 (__new_msgctl): Likewise.
7171 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7172 <bp-checks.h>.
7173 (__gettimeofday): Do not use CHECK_1.
7174 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7175 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7176 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7177 <bp-checks.h>.
7178 (__gettimeofday): Do not use CHECK_1.
7179 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7180 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7181 (__new_shmctl): Do not use CHECK_1.
7182 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7183 <bp-checks.h>.
7184 (do_sigtimedwait): Do not use CHECK_1.
7185 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7186 <bp-checks.h>.
7187 (do_sigwaitinfo): Do not use CHECK_1.
7188 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7189 <bp-checks.h>.
7190 (msgctl): Do not use CHECK_1.
7191 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7192 <bp-checks.h>.
7193 (shmctl): Do not use CHECK_1.
7194 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7195 (ustat): Do not use CHECK_1.
7196 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7197 <bp-checks.h>.
7198 (__fxstat): Do not use CHECK_1.
7199 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7200 <bp-checks.h>.
7201 (__fxstatat): Do not use CHECK_1.
7202 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7203 <bp-checks.h>.
7204 (__lxstat): Do not use CHECK_1.
7205 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7206 <bp-checks.h>.
7207 (__xstat): Do not use CHECK_1.
7208 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7209 (__xstat): Do not use CHECK_1.
7210 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7211 (___xstat64): Do not use CHECK_1.
7212
7213 [BZ #13550]
7214 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7215 definitions.
7216 (CHECK_BOUNDS_HIGH): Likewise.
7217 * string/strcpy.c: Do not include <bp-checks.h>.
7218 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7219
7220 2013-02-07 Roland McGrath <roland@hack.frob.com>
7221
7222 * nscd/nscd-client.h (__nscd_drop_map_ref):
7223 Add __attribute__ ((unused)).
7224 * nis/nss-nisplus.h (niserr2nss): Likewise.
7225
7226 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7227 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7228
7229 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7230 Remove inline keyword.
7231 * include/rounding-mode.h (round_away): Likewise.
7232 * libio/wfileops.c (adjust_wide_data): Likewise.
7233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7234 (__m128i_strloadu_tolower): Likewise.
7235 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7236 (__m128i_strloadu_tolower): Likewise.
7237 * time/mktime.c (ydhms_diff): Likewise.
7238 * locale/elem-hash.h (elem_hash): Likewise.
7239 * locale/setlocale.c (setdata): Likewise.
7240 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7241 (re_string_wchar_at): Likewise.
7242 (bitset_not, bitset_merge, bitset_mask): Likewise.
7243 [!(__GNUC__ > 3)] (inline): Remove macro.
7244 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7245 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7246 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7247 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7248 * string/memcmp.c (memcmp_bytes): Likewise.
7249 * locale/programs/locarchive.c (compute_hashval): Likewise.
7250 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7251 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7252 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7253 * nss/getent.c (print_rpc, print_protocols): Likewise.
7254 (print_passwd, print_group, print_aliases): Likewise.
7255 * nis/nss-nisplus.h (niserr2nss): Likewise.
7256 * nscd/connections.c (restart_p): Likewise.
7257 Change return type to bool.
7258
7259 2013-02-05 Roland McGrath <roland@hack.frob.com>
7260
7261 * Makeconfig (all-Depend-files): Add existing
7262 $(sorted-subdirs:=/Depend) files.
7263 (all-subdirs): Remove nss.
7264 * sysdeps/unix/inet/Subdirs: Add it here instead.
7265 * hesiod/Depend: New file.
7266
7267 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7268 instead of calling alloca.
7269
7270 * io/lseek.c (__lseek): Rename to __libc_lseek.
7271 Define __lseek as an alias.
7272
7273 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7274
7275 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7276
7277 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7278 else clause and remove check for non-standard endianness.
7279
7280 2013-02-04 David S. Miller <davem@davemloft.net>
7281
7282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7283
7284 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7285
7286 [BZ #13550]
7287 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7288 (__ubp_memchr): Remove prototype.
7289 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7290 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7291 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7292 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7293 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7294 Remove alias.
7295 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7296 (__ubp_memchr): Likewise.
7297 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7298 (__ubp_memchr): Likewise.
7299 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7300 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7301 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7302 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7303 CHECK_STRING.
7304 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7305 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7306 (__getcwd): Do not use CHECK_STRING.
7307 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7308 <bp-checks.h>.
7309 (__real_chown): Do not use CHECK_STRING.
7310 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7311 <bp-checks.h>.
7312 (fchownat): Do not use CHECK_STRING.
7313 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7314 CHECK_STRING.
7315 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7316 <bp-checks.h>.
7317 (__lchown): Do not use CHECK_STRING.
7318 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7319 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7320 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7321 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7323 include <bp-checks.h>.
7324 (truncate64): Do not use CHECK_STRING.
7325 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7326 <bp-checks.h>.
7327 (__real_chown): Do not use CHECK_STRING.
7328 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7329 <bp-checks.h>.
7330 (__lchown): Do not use CHECK_STRING.
7331 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7332 <bp-checks.h>.
7333 (__chown): Do not use CHECK_STRING.
7334 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7335 <bp-checks.h>.
7336 (truncate64): Do not use CHECK_STRING.
7337 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7338 Likewise.
7339 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7340 (__xmknod): Do not use CHECK_STRING.
7341 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7342 <bp-checks.h>.
7343 (__xmknodat): Do not use CHECK_STRING.
7344 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7345 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7346
7347 2013-02-04 Andreas Schwab <schwab@suse.de>
7348
7349 [BZ #14142]
7350 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7351 * include/netdb.h: Likewise for h_errno.
7352 * elf/tst-stackguard1.c: Include <tls.h>.
7353
7354 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7355
7356 * elf/link.h (struct link_map): Extend the l_addr comment.
7357 * include/link.h (struct link_map): Likewise.
7358
7359 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7360
7361 [BZ #13550]
7362 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7363 (BOUNDED_1): Remove macro.
7364 * debug/backtrace.c: Don't include <bp-checks.h>.
7365 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7366 (__backtrace): Likewise.
7367 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7368 <bp-checks.h>.
7369 (__backtrace): Don't use BOUNDED_1.
7370 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7371 <bp-checks.h>.
7372 (__backtrace): Don't use BOUNDED_1.
7373 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7374 (__backtrace): Don't use BOUNDED_1.
7375 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7376 (shmat): Don't use BOUNDED_N.
7377
7378 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7379
7380 [BZ #13550]
7381 * sysdeps/generic/bp-start.h: Remove file.
7382 * csu/libc-start.c: Don't include <bp-start.h>.
7383 (LIBC_START_MAIN): Set up __environ directly instead of using
7384 INIT_ARGV_and_ENVIRON.
7385 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7386 <bp-start.h>.
7387
7388 [BZ #13550]
7389 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7390 definitions.
7391 (CHECK_FCNTL): Likewise.
7392 (CHECK_N_PAGES): Likewise.
7393
7394 [BZ #13550]
7395 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7396 definitions.
7397 (CHECK_SIGSET_NULL_OK): Likewise.
7398 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7399 <bp-checks.h>.
7400 (sigpending): Don't use CHECK_SIGSET.
7401 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7402 <bp-checks.h>.
7403 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7404 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7405 <bp-checks.h>.
7406 (do_sigsuspend): Don't use CHECK_SIGSET.
7407 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7408 use CHECK_SIGSET.
7409 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7410 (do_sigwait): Don't use CHECK_SIGSET.
7411 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7412 use CHECK_SIGSET.
7413 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7414 include <bp-checks.h>.
7415 (sigpending): Don't use CHECK_SIGSET.
7416 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7417 include <bp-checks.h>.
7418 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7419 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7420 <bp-checks.h>.
7421 (sigpending): Don't use CHECK_SIGSET.
7422 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7423 <bp-checks.h>.
7424 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7425
7426 [BZ #13550]
7427 * sysdeps/generic/bp-semctl.h: Remove file.
7428 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7429 <bp-checks.h> and <bp-semctl.h>.
7430 (__old_semctl): Don't use CHECK_SEMCTL.
7431 (__new_semctl): Likewise.
7432 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7433 and <bp-semctl.h>.
7434 (__old_semctl): Don't use CHECK_SEMCTL.
7435 (__new_semctl): Likewise.
7436 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7437 <bp-checks.h> and <bp-semctl.h>.
7438 (__old_semctl): Don't use CHECK_SEMCTL.
7439 (__new_semctl): Likewise.
7440 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7441 <bp-checks.h> and <bp-semctl.h>.
7442 (semctl): Don't use CHECK_SEMCTL.
7443
7444 [BZ #13550]
7445 * Makerules (elide-bp-thunks): Remove variable.
7446 (elide-routines.oS): Don't use $(elide-bp-thunks).
7447 (elide-routines.os): Likewise.
7448 (elide-routines.o): Likewise.
7449 (elide-routines.op): Likewise.
7450 (elide-routines.og): Likewise.
7451 (objects): Don't use $(bp-thunks).
7452 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7453 include.
7454 (common-generated): Do not add s-proto-bp.d.
7455 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7456 (int): Likewise.
7457 (typ): Likewise.
7458 Do not generate makefile rules for bounded-pointer thunks.
7459 * sysdeps/generic/bp-thunks.h: Remove file.
7460 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7461 * sysdeps/unix/s-proto-bp.S: Likewise.
7462
7463 [BZ #15062]
7464 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7465 parts of result separately when argument is not close to line from
7466 -i to i and one part of argument is small.
7467 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7468 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7469 * math/libm-test.inc (cacos_test): Add more tests.
7470 (casin_test): Likewise.
7471 (casinh_test): Likewise.
7472 * sysdeps/i386/fpu/libm-test-ulps: Update.
7473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7474
7475 2013-01-31 David S. Miller <davem@davemloft.net>
7476
7477 * po/de.po: Update from translation team.
7478
7479 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7480
7481 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7482
7483 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7484
7485 * configure.in (_AC_PROG_CC_C89): New definition.
7486 * configure: Regenerate.
7487
7488 * configure.in (AC_PROG_CPP): New definition.
7489 * configure: Regenerate.
7490
7491 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7492
7493 * debug/tst-backtrace.h: New file.
7494 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7495 (ret): Remove variable.
7496 (x): Likewise.
7497 (FAIL): Remove macro.
7498 (NO_INLINE): Likewise.
7499 (fn1): Use match function instead of strstr.
7500 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7501 (ret): Remove variable.
7502 (x): Likewise.
7503 (FAIL): Remove macro.
7504 (NO_INLINE): Likewise.
7505 (fn): Use match function instead of strstr.
7506 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7507 (ret): Remove variable.
7508 (x): Likewise.
7509 (FAIL): Remove macro.
7510 (NO_INLINE): Likewise.
7511 (handle_signal): Use match function instead of strstr.
7512 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7513 (ret): Remove variable.
7514 (x): Likewise.
7515 (FAIL): Remove macro.
7516 (NO_INLINE): Likewise.
7517 (handle_signal): Use match function instead of strstr.
7518
7519 2013-01-23 Roland McGrath <roland@hack.frob.com>
7520
7521 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7522
7523 2013-01-23 David S. Miller <davem@davemloft.net>
7524
7525 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7526 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7527 argument of CAS if possible.
7528 * sysdeps/sparc/sparc64/bits/atomic.h
7529 (__arch_compare_and_exchange_val_32_acq): Likewise.
7530 (__arch_compare_and_exchange_val_64_acq): Likewise.
7531
7532 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7533
7534 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7535 * sysdeps/posix/ulimit.c: ... this.
7536 Include <limits.h>.
7537 * sysdeps/unix/bsd/ulimit.c: Remove file.
7538
7539 2013-01-23 Adam Conrad <adconrad@0c3.net>
7540
7541 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7542 (LDFLAGS-tst-array5): Likewise.
7543
7544 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7545
7546 [BZ #15036]
7547 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7548 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7549 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7550 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7551
7552 2013-01-21 David S. Miller <davem@davemloft.net>
7553
7554 * sysdeps/sparc/backtrace.c: New file.
7555 * sysdeps/sparc/sparc32/backtrace.h: New file.
7556 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7557 * sysdeps/sparc/sparc64/backtrace.h: New file.
7558 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7559 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7560 -funwind-tables.
7561
7562 2013-01-21 Andreas Schwab <schwab@suse.de>
7563
7564 [BZ #15020]
7565 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7566 closed its stdout.
7567
7568 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7569
7570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7571 "mpa2.h".
7572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7573
7574 2013-01-18 Joseph Myers <joseph@codesourcery.com>
7575 Mark Mitchell <mark@codesourcery.com>
7576 Tom de Vries <tom@codesourcery.com>
7577 Paul Pluzhnikov <ppluzhnikov@google.com>
7578
7579 * debug/tst-backtrace2.c: New file.
7580 * debug/tst-backtrace3.c: Likewise.
7581 * debug/tst-backtrace4.c: Likewise.
7582 * debug/tst-backtrace5.c: Likewise.
7583 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7584 (CFLAGS-tst-backtrace3.c): Likewise.
7585 (CFLAGS-tst-backtrace4.c): Likewise.
7586 (CFLAGS-tst-backtrace5.c): Likewise.
7587 (LDFLAGS-tst-backtrace2): Likewise.
7588 (LDFLAGS-tst-backtrace3): Likewise.
7589 (LDFLAGS-tst-backtrace4): Likewise.
7590 (LDFLAGS-tst-backtrace5): Likewise.
7591 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7592 tst-backtrace4 and tst-backtrace5.
7593
7594 2013-01-18 Anton Blanchard <anton@samba.org>
7595 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7596
7597 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7598 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7599 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7600 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7602 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7603 "+r" and remove output regs list as redundant. Add explicit inline
7604 asm to specify register of return val to work around compiler codegen
7605 bug. Remove (int) cast on return value. Add return type parameter to
7606 use in macro so that this macro does not truncate return value for
7607 64-bit values.
7608 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7609 pass to INTERNAL_VSYSCALL_NCS.
7610 (INLINE_VSYSCALL): Add 'long int' as return type to
7611 INTERNAL_VSYSCALL_NCS macro invocation.
7612 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7613 INTERNAL_VSYSCALL_NCS macro invocation.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7615
7616 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7617
7618 [BZ #14496]
7619 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7620 Fix application of SIMD FP exception mask.
7621
7622 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7623 mp_no from a power of two.
7624 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7625 __mpexp_twomm1. Use __pow_mp.
7626
7627 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7628 multiplication.
7629
7630 2013-01-17 David S. Miller <davem@davemloft.net>
7631
7632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7633
7634 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7635
7636 [BZ #15023]
7637 * include/complex.h: Condition contents on [!_COMPLEX_H].
7638 (__kernel_casinhf): New prototype.
7639 (__kernel_casinh): Likewise.
7640 (__kernel_casinhl): Likewise.
7641 * math/Makefile (libm_calls): Add k_casinh.
7642 * math/k_casinh.c: New file.
7643 * math/k_casinhf.c: Likewise.
7644 * math/k_casinhl.c: Likewise.
7645 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7646 finite nonzero arguments.
7647 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7648 finite nonzero arguments.
7649 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7650 finite nonzero arguments.
7651 * math/s_casinh.c: Do not include <float.h>.
7652 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7653 * math/s_casinhf.c: Do not include <float.h>.
7654 (__casinhf): Move code for finite nonzero arguments to
7655 k_casinhf.c.
7656 * math/s_casinhl.c: Do not include <float.h>.
7657 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7658 redefine.
7659 (__casinhl): Move code for finite nonzero arguments to
7660 k_casinhl.c.
7661 * math/libm-test.inc (cacos_test): Add more tests.
7662 * sysdeps/i386/fpu/libm-test-ulps: Update.
7663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7664
7665 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7666
7667 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7668 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7669 [!HAVE_MREMAP]: Remove [defined linux] case.
7670 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7671
7672 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7673
7674 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7675
7676 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 * elf/elf.h (R_386_SIZE32): New relocation.
7679 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7680 R_386_SIZE32.
7681 (elf_machine_rela): Likewise.
7682 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7683 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7684
7685 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7686
7687 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7688 (FP_FAST_FMA): Do not define.
7689 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7690 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7691 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7692 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7693 !_SOFT_FLOAT]: Likewise.
7694 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7695 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7696 value.
7697 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7698 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7699 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7700 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7701 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7702 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7703 file.
7704
7705 2013-01-16 Andreas Schwab <schwab@suse.de>
7706
7707 [BZ #14327]
7708 * include/stdlib.h (__mktemp): Add declaration.
7709 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7710 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7711
7712 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7713
7714 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7715 definitions.
7716 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7717 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7718 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7719 definitions here.
7720 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7721 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7722 definitions.
7723 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7724 and ONE.
7725 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7726 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7727 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7728 definitions.
7729 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7730 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7731 definitions.
7732 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7733
7734 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7735
7736 2013-01-15 David S. Miller <davem@davemloft.net>
7737
7738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7739 trunc{,f} to libm-sysdep_routes.
7740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7742 file.
7743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7745 file.
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7747 file.
7748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7751 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7752 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7753 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7754 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7755 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7756
7757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7758 nearbyint{,f} to libm-sysdep_routes.
7759 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7761 New file.
7762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7763 file.
7764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7765 New file.
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7767 file.
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7770 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7771 file.
7772 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7773 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7774 file.
7775 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7776 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7777 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7778
7779 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7780 libc_feholdexcept and libc_fesetenv.
7781
7782 2013-01-15 Mike Frysinger <vapier@gentoo.org>
7783
7784 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7785
7786 2013-01-14 David S. Miller <davem@davemloft.net>
7787
7788 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7789 (SPARC_ASM_VIS2_IFUNC): Likewise.
7790 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7792 use of 'siam' instruction.
7793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7794 Likewise.
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7796 Likewise.
7797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7798 Likewise.
7799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7804 file.
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7806 file.
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7808 file.
7809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7810 file.
7811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7816 new VIS2 routines.
7817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7820 Likewise.
7821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7826 routines to libm-sysdep_routines.
7827 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7828
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7830 fdim/fdimf to libm-sysdep_routines.
7831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7832 file.
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7835 file.
7836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7839 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7840 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7841 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7842 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7843
7844 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7845
7846 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7847 to optimize copies.
7848
7849 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7852
7853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7854 local variable MPTWO.
7855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7856 Likewise.
7857
7858 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7859
7860 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7861 GLOB_NOESCAPE.
7862
7863 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7864
7865 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7866
7867 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7868
7869 * manual/pattern.texi (glob_t): Document gl_flags.
7870 (glob64_t): Likewise.
7871
7872 2013-01-11 David S. Miller <davem@davemloft.net>
7873
7874 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7875 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7876 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7877 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7878 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7879 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7880 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7881 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7882 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7883 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7884 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7885 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7886 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7887
7888 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7889 sparc V9 rather than using V8 code.
7890 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7891 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7892
7893 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7894 Move to...
7895 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7896 Here.
7897
7898 2013-01-11 Roland McGrath <roland@hack.frob.com>
7899
7900 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7901 not in the main loop.
7902 * configure: Regenerated.
7903
7904 2013-01-11 Joseph Myers <joseph@codesourcery.com>
7905
7906 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7907 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7908 to just #else.
7909 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7910 [!__GLIBC_HAVE_LONG_LONG] case.
7911 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7912 condition to just #else.
7913 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7914 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7915 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7916 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7917 unconditional.
7918 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7919 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7920 #elif condition to just #else.
7921 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7922 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7923 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7924 #elif condition to just #else.
7925
7926 2013-01-11 Steve Ellcey <sellcey@mips.com>
7927
7928 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7929 (EF_MIPS_ARCH_64): Fix value.
7930 (EF_MIPS_ARCH_32R2): New.
7931 (EF_MIPS_ARCH_64R2): New.
7932
7933 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7934
7935 * Makeconfig (+link-pie-before-libc): New.
7936 (+link-pie-after-libc): Likewise.
7937 (+link-pie-tests): Likewise.
7938 (+link-pie): Rewritten.
7939 (link-before-libc): Remove $(config-LDFLAGS).
7940 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7941 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7942 (config-LDFLAGS): Renamed to ...
7943 (rtld-LDFLAGS): This.
7944 (rtld-tests-LDFLAGS): New macro.
7945 (link-libc-rpath-link): Likewise.
7946 (link-libc-tests-rpath-link): Likewise.
7947 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7948 (link-libc): Prepand $(link-libc-rpath-link).
7949 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7950 (test-program-prefix): New macro.
7951 (test-via-rtld-prefix): Likewise.
7952 (test-program-cmd): Likewise.
7953 (host-test-program-cmd): Likewise.
7954 * Makefile ($(common-objpfx)testrun.sh): Replace
7955 $(run-program-prefix) with $(test-program-prefix).
7956 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7957 $(rtld-LDFLAGS).
7958 ($(common-objpfx)shlib.lds): Likewise.
7959 (build-module-helper): Likewise.
7960 ($(common-objpfx)format.lds): Likewise.
7961 * Rules (binaries-pie-tests): New.
7962 (binaries-pie-notests): Likewise.
7963 (binaries-pie): Rewritten.
7964 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7965 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7966 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7967 (make-test-out): Replace $(host-built-program-cmd) with
7968 $(host-test-program-cmd).
7969 * config.make.in (build-hardcoded-path-in-tests): New variable.
7970 * configure.in (--enable-hardcoded-path-in-tests): New configure
7971 option.
7972 (hardcoded_path_in_tests): New AC_SUBST.
7973 * configure: Regenerated.
7974 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7975 $(built-program-cmd) with $(test-program-cmd).
7976 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7977 (test_program_cmd): This.
7978 * elf/Makefile ($(objpfx)order.out): Run test with
7979 $(test-program-prefix).
7980 ($(objpfx)order2.out): Likewise.
7981 ($(objpfx)tst-initorder.out): Likewise.
7982 ($(objpfx)tst-initorder2.out): Likewise.
7983 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7984 $(test-program-cmd).
7985 ($(objpfx)tst-array1-static.out): Likewise.
7986 ($(objpfx)tst-array2.out): Likewise.
7987 ($(objpfx)tst-array3.out): Likewise.
7988 ($(objpfx)tst-array4.out): Likewise.
7989 ($(objpfx)tst-array5.out): Likewise.
7990 ($(objpfx)tst-array5-static.out): Likewise.
7991 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7992 $(test-program-cmd).
7993 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7994 $(run-program-prefix) with $(test-program-prefix).
7995 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7996 (test_program_prefix): This.
7997 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7998 $(run-program-prefix) with $(test-program-prefix).
7999 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8000 (test_program_prefix): This.
8001 * iconvdata/tst-tables.sh: Likewise.
8002 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8003 $(run-program-prefix) with $(test-program-prefix).
8004 ($(objpfx)tst-translit.out): Likewise.
8005 ($(objpfx)tst-gettext2.out): Likewise.
8006 ($(objpfx)tst-gettext4.out): Likewise.
8007 ($(objpfx)tst-gettext6.out): Likewise.
8008 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8009 (test_program_prefix): This.
8010 * intl/tst-gettext2.sh: Likewise.
8011 * intl/tst-gettext4.sh Likewise.
8012 * intl/tst-gettext6.sh: Likewise.
8013 * intl/tst-translit.sh: Likewise.
8014 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8015 with $(test-program-cmd).
8016 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8017 $(run-program-prefix) with $(test-program-prefix).
8018 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8019 (test_program_prefix): This.
8020 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8021 $(run-program-prefix) with $(test-program-prefix).
8022 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8023 (test_program_prefix): This.
8024 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8025 * posix/Makefile ($(objpfx)globtest.out): Replace
8026 $(run-via-rtld-prefix) and $(test-wrapper) with
8027 $(test-program-prefix) and $(test-via-rtld-prefix).
8028 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8029 $(test-program-prefix).
8030 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8031 $(host-test-program-cmd).
8032 (tst-spawn-ARGS): Likewise.
8033 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8034 $(test-program-prefix).
8035 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8036 (test_via_rtld_prefix): This.
8037 (test_wrapper): Renamed to ...
8038 (test_program_prefix): This.
8039 (run_program_prefix): Replaced by test_program_prefix.
8040 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8041 (test_program_prefix): This.
8042 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8043 with $(host-test-program-cmd).
8044 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8045 $(run-program-prefix) with $(test-program-prefix).
8046 ($(objpfx)tst-printf.out): Likewise.
8047 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8048 $(test-program-cmd).
8049 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8050 (test_program_prefix): This.
8051 * stdio-common/tst-unbputc.sh: Likewise.
8052 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8053 $(run-program-prefix) with $(test-program-prefix).
8054 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8055 (test_program_prefix): This.
8056 * string/Makefile ($(objpfx)tst-svc.out): Replace
8057 $(built-program-cmd) with $(test-program-cmd).
8058
8059 2013-01-11 Andreas Jaeger <aj@suse.de>
8060
8061 [BZ #15003]
8062 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8063 value. Sync with Linux 3.7.
8064
8065 2013-01-10 David S. Miller <davem@davemloft.net>
8066
8067 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8068 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8069 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8070
8071 2013-01-10 Roland McGrath <roland@hack.frob.com>
8072
8073 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8074 never set.
8075 * configure: Regenerated.
8076
8077 2013-01-10 David S. Miller <davem@davemloft.net>
8078
8079 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8080 sparc V9 rather than using V8 code.
8081 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8082 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8083
8084 2013-01-10 Roland McGrath <roland@hack.frob.com>
8085
8086 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8087 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8088 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8089 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8090 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8091 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8092 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8093 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8094 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8095 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8096 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8097 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8098 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8099 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8100 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8101 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8102 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8103 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8104 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8105 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8106 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8107 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8108 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8109 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8110 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8111 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8112 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8113
8114 2013-01-10 David S. Miller <davem@davemloft.net>
8115
8116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8117
8118 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8119
8120 * posix/Makefile (tests-static): New variable.
8121 (tests): Add $(tests-static).
8122 (tst-exec-static-ARGS): New variable.
8123 (tst-spawn-static-ARGS): Likewise.
8124 * posix/tst-exec-static.c: New file.
8125 * posix/tst-spawn-static.c: Likewise.
8126 * posix/tst-exec.c: Support run directly.
8127 * posix/tst-spawn.c: Likewise.
8128
8129 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8130
8131 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8132 long.
8133 * math/bits/mathcalls.h (llrint): Likewise.
8134 (llround): Likewise.
8135 * stdlib/stdlib.h (struct drand48_data): Likewise.
8136 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8137 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8138 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8139 Likewise.
8140 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8141 Likewise.
8142 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8143 (elf_greg_t): Likewise.
8144 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8145 (__jmp_buf): Likewise.
8146 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8147 definitions.
8148 (llrint): Likewise, for all definitions.
8149 (llrintl): Likewise.
8150
8151 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8152 Remove [__GNUC__] condition.
8153 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8154 condition to just [__USE_ISOC99].
8155 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8156
8157 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8158
8159 [BZ #14200]
8160 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8161 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8162 defined.
8163 (_POSIX_V6_ILP32_OFF32): Likewise.
8164 (_XBS5_ILP32_OFF32): Likewise.
8165 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8166 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8167
8168 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8169
8170 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8171
8172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8173 doubles __mpexp_twomm1. Adjust usage.
8174 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8175 Remove.
8176
8177 2013-01-10 Andreas Schwab <schwab@suse.de>
8178
8179 [BZ #14964]
8180 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8181 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8182
8183 2013-01-09 David S. Miller <davem@davemloft.net>
8184
8185 [BZ #15003]
8186 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8187 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8188 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8189 TCP_FASTOPEN): Define.
8190 (tcp_repair_opt): New structure.
8191 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8192 enum values.
8193 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8194 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8195 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8196 (tcp_cookie_transactions): New structure.
8197
8198 2013-01-09 Anton Blanchard <anton@samba.org>
8199
8200 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8201 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8202 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8203 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8204
8205 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8206
8207 * include/features.h (__USE_ANSI): Remove.
8208
8209 2013-01-09 Roland McGrath <roland@hack.frob.com>
8210
8211 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8212
8213 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8214
8215 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8216
8217 * sysdeps/s390/fpu/libm-test-ulps: Update.
8218
8219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8220
8221 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8222 (__acr): Likewise.
8223 (__cpy): Likewise.
8224 (norm): Likewise.
8225 (denorm): Likewise.
8226 (__mp_dbl): Likewise.
8227 (__dbl_mp): Likewise.
8228 (add_magnitudes): Likewise.
8229 (sub_magnitudes): Likewise.
8230 (__add): Likewise.
8231 (__sub): Likewise.
8232 (__mul): Likewise.
8233 (__inv): Likewise.
8234 (__dvd): Likewise.
8235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8236 (__acr): Likewise.
8237 (__cpy): Likewise.
8238 (norm): Likewise.
8239 (denorm): Likewise.
8240 (__mp_dbl): Likewise.
8241 (__dbl_mp): Likewise.
8242 (add_magnitudes): Likewise.
8243 (sub_magnitudes): Likewise.
8244 (__add): Likewise.
8245 (__sub): Likewise.
8246 (__mul): Likewise.
8247 (__inv): Likewise.
8248 (__dvd): Likewise.
8249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8250 (__acr): Likewise.
8251 (__cpy): Likewise.
8252 (norm): Likewise.
8253 (denorm): Likewise.
8254 (__mp_dbl): Likewise.
8255 (__dbl_mp): Likewise.
8256 (add_magnitudes): Likewise.
8257 (sub_magnitudes): Likewise.
8258 (__add): Likewise.
8259 (__sub): Likewise.
8260 (__mul): Likewise.
8261 (__inv): Likewise.
8262 (__dvd): Likewise.
8263
8264 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8265
8266 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8267 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8268 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8269 2 && __USE_EXTERN_INLINES]: Likewise.
8270
8271 2013-01-08 Andreas Jaeger <aj@suse.de>
8272
8273 [BZ# 14985]
8274 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8275 Remove.
8276 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8277 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8278
8279 2013-01-07 Anton Blanchard <anton@samba.org>
8280
8281 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8282 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8283 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8284 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8285 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8286 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8287 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8288 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8290 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8291 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8292 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8293 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8294 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8295 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8296 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8297 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8298 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8299 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8300 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8301 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8302 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8303 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8304 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8305 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8306 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8307 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8308 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8309 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8310 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8311 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8313 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8314 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8315 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8316 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8317 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8318 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8319 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8320 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8321 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8322 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8323 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8324
8325 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8326
8327 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8328 (__MALLOC_PMT): Likewise.
8329 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8330 [__GNUC__], only on [_LIBC].
8331 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8332 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8333 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8334 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8335 forward declaration.
8336 (realloc_hook_ini): Likewise.
8337 (memalign_hook_ini): Likewise.
8338 (__libc_memalign): Do not use __MALLOC_PMT in variable
8339 declaration.
8340 (__libc_valloc): Likewise.
8341 (__libc_pvalloc): Likewise.
8342 (__libc_calloc): Likewise.
8343 (__posix_memalign): Likewise.
8344
8345 [BZ #14996]
8346 * math/s_casinh.c: Include <float.h>.
8347 (__casinh): Do not do computation with squaring and square root
8348 for large arguments.
8349 * math/s_casinhf.c: Include <float.h>.
8350 (__casinhf): Do not do computation with squaring and square root
8351 for large arguments.
8352 * math/s_casinhl.c: Include <float.h>.
8353 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8354 (__casinhl): Do not do computation with squaring and square root
8355 for large arguments.
8356 * math/libm-test.inc (casin_test): Add more tests.
8357 (casinh_test): Likewise.
8358 * sysdeps/i386/fpu/libm-test-ulps: Update.
8359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8360
8361 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8362
8363 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8364 (__x86_64_raw_data_cache_size): Likewise.
8365 (__x86_64_data_cache_size_half): Likewise.
8366 (__x86_64_raw_data_cache_size_half): Likewise.
8367 (__x86_64_shared_cache_size): Likewise.
8368 (__x86_64_raw_shared_cache_size): Likewise.
8369 (__x86_64_shared_cache_size_half): Likewise.
8370 (__x86_64_raw_shared_cache_size_half): Likewise.
8371 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8372 to ...
8373 (__x86_data_cache_size): This.
8374 (__x86_64_raw_data_cache_size): Renamed to ...
8375 (__x86_raw_data_cache_size): This.
8376 (__x86_64_data_cache_size_half): Renamed to ...
8377 (__x86_data_cache_size_half): This.
8378 (__x86_64_raw_data_cache_size_half): Renamed to ...
8379 (__x86_raw_data_cache_size_half): This.
8380 (__x86_64_shared_cache_size): Renamed to ...
8381 (__x86_shared_cache_size): This.
8382 (__x86_64_raw_shared_cache_size): Renamed to ...
8383 (__x86_raw_shared_cache_size): This.
8384 (__x86_64_shared_cache_size_half): Renamed to ...
8385 (__x86_shared_cache_size_half): This.
8386 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8387 (__x86_raw_shared_cache_size_half): This.
8388 * sysdeps/x86_64/memcpy.S: Updated.
8389 * sysdeps/x86_64/memset.S: Likewise.
8390 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8392 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8393
8394 2013-01-04 David S. Miller <davem@davemloft.net>
8395
8396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8397
8398 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8399
8400 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8401 1 to avoid redefinition warning.
8402 (__USE_GNU): Don't define.
8403 (init_signaling_nan): Protoize.
8404
8405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8406
8407 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8408
8409 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8411 (__cpymn): Likewise.
8412 (norm): Remove commented code.
8413 (denorm): Likewise.
8414 (__mp_dbl): Likewise.
8415 (__inv): Likewise.
8416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8417 (__cpymn): Likewise.
8418 (norm): Remove commented code.
8419 (denorm): Likewise.
8420 (__mp_dbl): Likewise.
8421 (__inv): Likewise.
8422
8423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8424 mp_no value for 1.0 and 2.0.
8425 (norm): Use RADIXI instead of radixi.d.
8426 (denorm): Likewise.
8427 (__mul): Use 0.0 instead of zero.d.
8428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8429 mp_no value for 1.0 and 2.0.
8430 (norm): Use RADIXI instead of radixi.d.
8431 (denorm): Likewise.
8432 (__mul): Use 0.0 instead of zero.d.
8433
8434 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8435
8436 [BZ #14994]
8437 * math/s_casinh.c (__casinh): Reduce finite argument to first
8438 quadrant then set signs of results at the end.
8439 * math/s_casinhf.c (__casinhf): Likewise.
8440 * math/s_casinhl.c (__casinhl): Likewise.
8441 * math/libm-test.inc (casin_test): Add more tests.
8442 (casinh_test): Likewise.
8443 * sysdeps/i386/fpu/libm-test-ulps: Update.
8444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8445
8446 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8447
8448 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8449
8450 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8451
8452 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8453 declarations.
8454 (denorm): Likewise.
8455 (__mp_dbl): Likewise.
8456 (__inv): Likewise.
8457
8458 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8459 and adjust the header comment.
8460
8461 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8462 variable name from declaration.
8463
8464 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8465
8466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8467 Initialize COMMON_CPUID_INDEX_7 element.
8468 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8469 (CPUID_RTM): Likewise.
8470 (HAS_RTM): Likewise.
8471 (COMMON_CPUID_INDEX_7): New enum.
8472
8473 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8474
8475 [BZ #14981]
8476 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8477 size is zero, record memory as freed.
8478
8479 2013-01-03 Andreas Jaeger <aj@suse.de>
8480
8481 * po/ia.po: Add new Interlingua translation.
8482
8483 2012-01-03 Allan McRae <allan@archlinux.org>
8484
8485 * locale/programs/localedef.c: Fix description of '--posix' flag.
8486
8487 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8488
8489 * NEWS: Update dates in second copyright notice.
8490 * README: Update copyright dates in example.
8491 * manual/libc.texinfo: Update copyright dates.
8492 * scripts/test-installation.pl: Update copyright date in --version
8493 output.
8494
8495 * hurd/ctty-input.c: Fix copyright notice formatting.
8496 * hurd/ctty-output.c: Likewise.
8497 * hurd/dtable.c: Likewise.
8498 * hurd/hurd-raise.c: Likewise.
8499 * hurd/hurdprio.c: Likewise.
8500 * hurd/msgportdemux.c: Likewise.
8501 * misc/sys/file.h: Likewise.
8502 * misc/sys/ioctl.h: Likewise.
8503 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8504 * sysdeps/mach/hurd/chdir.c: Likewise.
8505 * sysdeps/mach/hurd/fchdir.c: Likewise.
8506 * sysdeps/mach/hurd/rename.c: Likewise.
8507 * sysdeps/mach/hurd/rmdir.c: Likewise.
8508 * sysdeps/mach/hurd/seekdir.c: Likewise.
8509 * sysdeps/mach/hurd/setsid.c: Likewise.
8510 * sysdeps/posix/wait3.c: Likewise.
8511
8512 * All files with FSF copyright notices: Update copyright dates
8513 using scripts/update-copyrights.
8514 * intl/plural.c: Regenerated.
8515 * locale/programs/charmap-kw.h: Likewise.
8516 * locale/programs/locfile-kw.h: Likewise.
8517
8518 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8519
8520 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8521 four values.
8522
8523 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8524 calculation loop and add branch prediction.
8525
8526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8527 check access beyond bounds of m1np.
8528
8529 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8530 MPTWO.
8531 (__inv): Remove local variable MPTWO to use the global
8532 constant.
8533 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8534 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8535 variable MPTWO.
8536 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8537 MP3HALFS static const.
8538
8539 2013-01-01 David S. Miller <davem@davemloft.net>
8540
8541 * po/ca.po: Update from translation team.
8542
8543 2013-01-01 Joseph Myers <joseph@codesourcery.com>
8544
8545 * scripts/update-copyrights: New file.
8546 * Makeconfig: Reformat copyright notice.
8547 * ctype/ctype.h: Likewise.
8548 * debug/swprintf_chk.c: Likewise.
8549 * elf/dl-cache.c: Likewise.
8550 * elf/dl-debug.c: Likewise.
8551 * elf/dl-object.c: Likewise.
8552 * grp/initgroups.c: Likewise.
8553 * hurd/Makefile: Likewise.
8554 * hurd/hurd/signal.h: Likewise.
8555 * hurd/hurdfault.c: Likewise.
8556 * hurd/hurdioctl.c: Likewise.
8557 * hurd/hurdlookup.c: Likewise.
8558 * hurd/intr-msg.c: Likewise.
8559 * iconv/gconv_open.c: Likewise.
8560 * libio/swprintf.c: Likewise.
8561 * locale/lc-ctype.c: Likewise.
8562 * locale/nl_langinfo.c: Likewise.
8563 * mach/Machrules: Likewise.
8564 * mach/Makefile: Likewise.
8565 * malloc/obstack.h: Likewise.
8566 * manual/Makefile: Likewise.
8567 * manual/tsort.awk: Likewise.
8568 * misc/bits/stab.def: Likewise.
8569 * nis/nis_print_group_entry.c: Likewise.
8570 * nis/nis_table.c: Likewise.
8571 * nis/nss_compat/compat-pwd.c: Likewise.
8572 * nis/nss_compat/compat-spwd.c: Likewise.
8573 * po/Makefile: Likewise.
8574 * posix/fnmatch.c: Likewise.
8575 * posix/regex.h: Likewise.
8576 * resolv/Makefile: Likewise.
8577 * resolv/nss_dns/dns-network.c: Likewise.
8578 * resolv/res_hconf.c: Likewise.
8579 * scripts/gen-sorted.awk: Likewise.
8580 * soft-fp/soft-fp.h: Likewise.
8581 * stdio-common/printf.h: Likewise.
8582 * stdlib/monetary.h: Likewise.
8583 * stdlib/random.c: Likewise.
8584 * stdlib/random_r.c: Likewise.
8585 * sysdeps/generic/Makefile: Likewise.
8586 * sysdeps/gnu/Makefile: Likewise.
8587 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8610 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8611 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8615 * sysdeps/mach/hurd/errnos.awk: Likewise.
8616 * sysdeps/mach/hurd/fork.c: Likewise.
8617 * sysdeps/mach/hurd/getcwd.c: Likewise.
8618 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8619 * sysdeps/mach/hurd/mmap.c: Likewise.
8620 * sysdeps/mach/hurd/utimes.c: Likewise.
8621 * sysdeps/mach/hurd/xmknod.c: Likewise.
8622 * sysdeps/posix/profil.c: Likewise.
8623 * sysdeps/posix/readdir_r.c: Likewise.
8624 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8625 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8626 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8627 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8629 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8630 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8631 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8633 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8634 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8635 * sysdeps/pthread/lio_listio.c: Likewise.
8636 * sysdeps/sparc/dl-procinfo.h: Likewise.
8637 * sysdeps/unix/i386/sysdep.S: Likewise.
8638 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8639 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8640 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8641 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8643 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8644 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8645 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8646 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8647 * sysdeps/wordsize-32/divdi3.c: Likewise.
8648 * time/sys/time.h: Likewise.
8649 * wcsmbs/Makefile: Likewise.
8650
8651 2013-01-01 David S. Miller <davem@davemloft.net>
8652
8653 * po/fr.po: Update from translation team.
8654
8655 * catgets/gencat.c: Update copyright year.
8656 * csu/version.c: Likewise.
8657 * debug/catchsegv.sh: Likewise.
8658 * debug/pcprofiledump.c: Likewise.
8659 * debug/xtrace.sh: Likewise.
8660 * elf/ldconfig.c: Likewise.
8661 * elf/ldd.bash.in: Likewise.
8662 * elf/pldd.c: Likewise.
8663 * elf/sotruss.ksh: Likewise.
8664 * elf/sprof.c: Likewise.
8665 * iconv/iconv_prog.c: Likewise.
8666 * iconv/iconvconfig.c: Likewise.
8667 * locale/programs/locale.c: Likewise.
8668 * locale/programs/localedef.c: Likewise.
8669 * login/programs/pt_chown.c: Likewise.
8670 * malloc/memusage.sh: Likewise.
8671 * malloc/memusagestat.c: Likewise.
8672 * malloc/mtrace.pl: Likewise.
8673 * nscd/nscd.c: Likewise.
8674 * nss/getent.c: Likewise.
8675 * nss/makedb.c: Likewise.
8676 * posix/getconf.c: Likewise.
8677
8678 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8679
8680 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8681 numbers.
8682
8683 2012-12-30 Mike Frysinger <vapier@gentoo.org>
8684
8685 * math/bits/mathcalls.h (modf): Use __nonnull.
8686
8687 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8688
8689 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8690 (split): Use macro CN instead of the bare value.
8691 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8692 could be used.
8693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8694 instead of the bare value.
8695 (power1): Likewise.
8696
8697 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8698
8699 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8700 __ATAN_TWOM.
8701 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8702
8703 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8704 their values.
8705 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8706 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8707 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8708 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8709
8710 2012-12-28 Andreas Jaeger <aj@suse.de>
8711
8712 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8713 values are from Linux 3.7.
8714
8715 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8716 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8717
8718 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8719
8720 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8721 TRUE case.
8722
8723 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8724 (norm): Likewise.
8725 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8726 variables with preprocessor constants.
8727 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8728 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8729 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8730
8731 2012-12-27 Bruno Haible <bruno@clisp.org>
8732
8733 [BZ #14317]
8734 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8735 only if needed.
8736
8737 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8738
8739 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8740 and use variable directly.
8741 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8742
8743 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8744 MPONE.
8745 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8747 variable MPONE.
8748 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8749 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8750 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8751 include directive. Remove local variable MPONE.
8752 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8753 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8755
8756 2012-12-25 David S. Miller <davem@davemloft.net>
8757
8758 * version.h (RELEASE): Set to "development".
8759 (VERSION): Set to "2.17.90".
8760 * NEWS: Add 2.18 section.
8761
8762 2012-12-21 David S. Miller <davem@davemloft.net>
8763
8764 * po/hr.po: Update from translation team.
8765
8766 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8767
8768 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8769
8770 2012-12-19 Steve Ellcey <sellcey@mips.com>
8771
8772 * NEWS: Mention new memcpy for MIPS.
8773
8774 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8775
8776 * manual/contrib.texi (Contributors): Spelling correction.
8777
8778 2012-12-15 David S. Miller <davem@davemloft.net>
8779
8780 * po/ru.po: Update from translation team.
8781
8782 2012-12-13 David S. Miller <davem@davemloft.net>
8783
8784 * NEWS: Mention IFUNC testsuite enhancements.
8785
8786 * po/pl.po: Update from translation team.
8787 * po/bg.po: Likewise.
8788
8789 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8790 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8791
8792 2012-12-11 David S. Miller <davem@davemloft.net>
8793
8794 * po/sv.po: Update from translation team.
8795
8796 * po/vi.po: Update from translation team.
8797
8798 * po/cs.po: Update from translation team.
8799
8800 * po/de.po: Update from translation team.
8801 * po/eo.po: Likewise.
8802 * po/nl.po: Likewise.
8803
8804 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8805
8806 [BZ #14246]
8807 * manual/argp.texi (Argp Helper Functions): Move node to follow
8808 Argp Parsing State.
8809
8810 [BZ #14872]
8811 * manual/conf.texi (Limits on File System Capacity): Mention if
8812 terminating null is included in the max size.
8813
8814 2012-12-10 Andreas Jaeger <aj@suse.de>
8815
8816 * po/cs.po: Update from translation team.
8817
8818 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8819
8820 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8821 void pointer and cast to uintptr_t.
8822 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8823 path.
8824 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8825 * sysdeps/s390/s390-64/memset.S: Likewise.
8826
8827 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
8828
8829 [BZ #14833]
8830 * menual/message.texi (Message Translation): Fix typos.
8831 (Helper programs for gettext): Likewise.
8832
8833 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8834
8835 [BZ #14898]
8836 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8837 Change to -1.
8838
8839 2012-12-07 David S. Miller <davem@davemloft.net>
8840
8841 * po/libc.pot: Update.
8842
8843 2012-12-07 Richard Henderson <rth@redhat.com>
8844
8845 [BZ #10114]
8846 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8847 normal/normal case to before the switch.
8848 (_FP_DIV): Likewise.
8849
8850 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8851 Mike Frysinger <vapier@gentoo.org>
8852
8853 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8854 check for __NR_fadvise64_64.
8855
8856 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8857
8858 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8859 0, not just to plain "0" as a statement.
8860 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8861 with cw.
8862
8863 2012-12-06 Joseph Myers <joseph@codesourcery.com>
8864
8865 * NEWS: Use sourceware.org in Bugzilla URL.
8866
8867 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8868
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8870 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8871
8872 * stdio-common/tst-put-error.c (do_test): Add newline to the
8873 padded test to ensure flush.
8874
8875 2012-12-05 Jeff Law <law@redhat.com>
8876
8877 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8878
8879 2012-12-05 Joseph Myers <joseph@codesourcery.com>
8880
8881 * README: Don't refer to ports add-on as distributed separately.
8882 Mention AArch64 in list of systems supported in the ports add-on.
8883
8884 * LICENSES: Add more non-FSF copyright and license notices.
8885
8886 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8887 ((unused)).
8888
8889 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8890
8891 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8892 10000 as width of padded output.
8893
8894 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8895
8896 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8897
8898 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8899 variable LX with __attribute__ ((unused)).
8900 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8901 Likewise.
8902 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8903 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8905 with __attribute__ ((unused)).
8906
8907 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
8908
8909 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8910
8911 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8912
8913 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8914 (CFLAGS-nldbl-acos.c): New variable.
8915 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8916 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8917 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8918 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8919 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8920 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8921 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8922 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8923 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8924 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8925 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8926 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8927 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8928 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8929 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8930 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8931 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8932 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8933 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8934 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8935 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8936 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8937 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8938 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8939 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8940 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8941 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8942 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8943 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8944 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8945 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8946 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8947 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8948 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8949 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8950 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8951 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8952 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8953 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8954 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8955 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8956 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8957 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8958 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8959 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8960 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8961 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8962 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8963 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8964 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8965 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8966 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8967 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8968 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8969 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8970 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8971 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8972 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8973 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8974 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8975 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8976 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8977 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8978 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8979 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8980 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8981 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8982 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8983 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8984 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8985 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8986 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8987 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8988 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8989 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8990 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8991 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8992 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8993 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8994 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8995 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8996 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8997 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8998 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8999 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9000 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9001 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9002 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9003 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9004 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9005 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9006 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9007 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9008 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9009 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9010 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9011 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9012
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9014 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9015
9016 [BZ #14914]
9017 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9018 whole low double instead of just low 47 bits when splitting values
9019 into two parts.
9020
9021 2012-12-03 Allan McRae <allan@archlinux.org>
9022
9023 * manual/stdio.texi (Predefined Printf Handlers): Remove
9024 @hsep and @vsep usage.
9025
9026 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9027
9028 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9029 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9030
9031 2012-12-03 Jeff Law <law@redhat.com>
9032
9033 * time/sys/time.h (settimeofday): Do not mark TV argument
9034 as __nonnull.
9035
9036 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9037
9038 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9039 when currently writing and seek to current position when not.
9040 * libio/Makefile (tests): Remove bug-fclose1.
9041 * libio/bug-fclose1.c: Delete.
9042
9043 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9044
9045 * manual/arith.texi (feenableexcept): Fix typo.
9046 (fedisableexcept): Likewise.
9047
9048 2012-11-30 Roland McGrath <roland@hack.frob.com>
9049
9050 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9051 second, differently-typed declaration, rather than a cast.
9052
9053 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9054
9055 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9056 * include/rpc/svc.h: ... here.
9057
9058 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9059
9060 [BZ #13013]
9061 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9062 depending n and resplen2 to catch cases where answer
9063 equals answerp2.
9064
9065 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9066
9067 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9068 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9069
9070 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9071
9072 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9073
9074 2012-11-29 Roland McGrath <roland@hack.frob.com>
9075
9076 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9077
9078 2012-11-28 Jeff Law <law@redhat.com>
9079
9080 [BZ #13761]
9081 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9082 dataset_temporary. Track alloca usage into alloca_used.
9083 If dataset is large allocate and release it via malloc/free.
9084
9085 2012-06-04 Florian Weimer <fweimer@redhat.com>
9086
9087 [BZ #14197]
9088 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9089
9090 2012-11-28 David S. Miller <davem@davemloft.net>
9091
9092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9093
9094 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9095
9096 [BZ #14803]
9097 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9098 of pi/2 rounded to nearest to 64 bits.
9099 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9100 nearest to 64 bits.
9101 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9102 bits.
9103
9104 2012-11-28 Jeff Law <law@redhat.com>
9105 Martin Osvald <mosvald@redhat.com>
9106
9107 [BZ #14889]
9108 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9109 * sunrpc/svc.c: Include time.h.
9110 (__svc_accept_failed): New function.
9111 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9112 any reason other than EINTR, call __svc_accept_failed.
9113 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9114 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9115
9116 2012-11-28 Andreas Schwab <schwab@suse.de>
9117
9118 * scripts/abilist.awk: Also handle indirect functions in .opd
9119 section.
9120
9121 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9122
9123 [BZ #13881]
9124 * sysdeps/x86/fpu/powl_helper.c: New file.
9125 * sysdeps/x86/fpu/Makefile: Likewise.
9126 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9127 (p3): New object.
9128 (__ieee754_powl): Use __powl_helper for finite arguments except
9129 integer exponents below 8.
9130 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9131 (p3): New object.
9132 (__ieee754_powl): Use __powl_helper for finite arguments except
9133 integer exponents below 8.
9134 * math/libm-test.inc (pow_test): Add more tests and enable some
9135 previously disabled tests.
9136 * sysdeps/i386/fpu/libm-test-ulps: Update.
9137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9138
9139 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9140 Carlos O'Donell <carlos_odonell@mentor.com>
9141
9142 * nss/makedb.c (is_prime): Assert that input is odd and greater
9143 than 4. Note that fact in a comment too.
9144 (next_prime): Add 4 to input.
9145
9146 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9147
9148 [BZ #11741]
9149 * libio/Makefile (tests): Add test case tst-fwrite-error.
9150 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9151 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9152 * libio/tst-fwrite-error.c: New test case.
9153
9154 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9155
9156 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9157 before casting to void *.
9158 * include/libc-internal.h (__pointer_type): New macro.
9159 (__integer_if_pointer_type_sub): Likewise.
9160 (__integer_if_pointer_type): Likewise.
9161 (cast_to_integer): Likewise.
9162 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9163 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9164 before casting to atomic64_t.
9165 (atomic_exchange_acq): Likewise.
9166 (__arch_exchange_and_add_body): Likewise.
9167 (__arch_add_body): Likewise.
9168 (atomic_add_negative): Likewise.
9169 (atomic_add_zero): Likewise.
9170
9171 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9172
9173 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9174 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9175 (add_fdes): Likewise.
9176 (linear_search_fdes): Likewise.
9177 (binary_search_unencoded_fdes): Likewise.
9178
9179 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9180
9181 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9182
9183 2012-11-24 Adam Conrad <adconrad@0c3.net>
9184
9185 * configure.in: Autodetect C++ header directories.
9186 * configure: Regenerated.
9187
9188 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9189
9190 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9191
9192 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9193
9194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9195
9196 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9197
9198 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9199 LDBL_MANT_DIG == 106]: Disable some tests.
9200 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9201 Likewise.
9202 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9203 Likewise.
9204
9205 [BZ #14871]
9206 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9207 input for small inputs. Return +/- pi/2 for large inputs.
9208 * math/libm-test.inc (atan_test): Add more tests.
9209
9210 * sysdeps/generic/unwind-dw2-fde-glibc.c
9211 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9212 __attribute__ ((unused)).
9213
9214 [BZ #14645]
9215 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9216 x * y if x and y are nonzero and z is zero.
9217
9218 [BZ #14811]
9219 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9220 nonzero exponents with absolute value below 0x1p-117 to +/-
9221 0x1p-117.
9222
9223 [BZ #14869]
9224 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9225 up arguments below 2**-450, not just those below 2**-500.
9226 * math/libm-test.inc (hypot_test): Add another test.
9227
9228 [BZ #14868]
9229 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9230 Return a+b for ratio over 2**120, not 2**60.
9231 * math/libm-test.inc (hypot_test): Add another test.
9232
9233 * math/libm-test.inc (clog_test): Use
9234 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9235 (clog10_test): Likewise.
9236
9237 [BZ #6778]
9238 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9239
9240 2012-11-22 Andreas Schwab <schwab@suse.de>
9241
9242 * sysdeps/i386/fpu/libm-test-ulps: Update.
9243
9244 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9245
9246 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9247 printf output with newline.
9248
9249 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9250
9251 [BZ #14865]
9252 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9253 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9254 -z nodlopen, -z initfirst and -z execstack support.
9255 * configure: Regenerated.
9256
9257 * elf/elf.h (DF_1_NODIRECT): New macro.
9258 (DF_1_IGNMULDEF): Likewise.
9259 (DF_1_NOKSYMS): Likewise.
9260 (DF_1_NOHDR): Likewise.
9261 (DF_1_EDITED): Likewise.
9262 (DF_1_NORELOC): Likewise.
9263 (DF_1_SYMINTPOSE): Likewise.
9264 (DF_1_GLOBAUDIT): Likewise.
9265 (DF_1_SINGLETON): Likewise.
9266 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9267 DT_1_SUPPORTED_MASK bits.
9268 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9269
9270 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9271
9272 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9273
9274 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9275
9276 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9277 macro.
9278
9279 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9280 (sendmmsg): Move declarations...
9281 * socket/sys/socket.h: ... here.
9282 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9283 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9284 include it from...
9285 * socket/recvmmsg.c: ... this new file.
9286 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9287 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9288 definition of __sendmmsg hidden.
9289 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9290 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9291 Move ENOSYS stub into and include it from...
9292 * socket/sendmmsg.c: ... this new file.
9293 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9294 (sysdep_routines): Move recvmmsg and sendmmsg...
9295 * socket/Makefile (routines): ... here.
9296 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9297 (GLIBC_PRIVATE): Add __sendmmsg.
9298 * include/sys/socket.h (__sendmmsg): Add declarations.
9299 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9300 sendmmsg.
9301
9302 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9303
9304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9305 variable I1 with __attribute__ ((unused)).
9306 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9307
9308 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9309
9310 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9311 DUMMY variables with __attribute__ ((unused)).
9312
9313 * bits/byteswap.h: Include <bits/types.h>.
9314 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9315
9316 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9317
9318 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9319 string_t. Do not manually set errno.
9320 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9321 length with __strnlen. Make sure to both set errno and return it on
9322 failure.
9323
9324 2012-11-19 David S. Miller <davem@davemloft.net>
9325
9326 With help from Joseph Myers.
9327 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9328 very large arguments properly.
9329 * math/libm-test.inc (atan_test): New tests.
9330 (atan2_test): New tests.
9331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9333
9334 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9335
9336 [BZ #14856]
9337 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9338 Define to 3.
9339
9340 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9341 [POSIX] (EADDRNOTAVAIL): Likewise.
9342 [POSIX] (EAFNOSUPPORT): Likewise.
9343 [POSIX] (EALREADY): Likewise.
9344 [POSIX] (ECONNABORTED): Likewise.
9345 [POSIX] (ECONNREFUSED): Likewise.
9346 [POSIX] (ECONNRESET): Likewise.
9347 [POSIX] (EDESTADDRREQ): Likewise.
9348 [POSIX] (EDQUOT): Likewise.
9349 [POSIX] (EHOSTUNREACH): Likewise.
9350 [POSIX] (EIDRM): Likewise.
9351 [POSIX] (EISCONN): Likewise.
9352 [POSIX] (ELOOP): Likewise.
9353 [POSIX] (EMULTIHOP): Likewise.
9354 [POSIX] (ENETDOWN): Likewise.
9355 [POSIX] (ENETUNREACH): Likewise.
9356 [POSIX] (ENOBUFS): Likewise.
9357 [POSIX] (ENODATA): Likewise.
9358 [POSIX] (ENOLINK): Likewise.
9359 [POSIX] (ENOMSG): Likewise.
9360 [POSIX] (ENOPROTOOPT): Likewise.
9361 [POSIX] (ENOSR): Likewise.
9362 [POSIX] (ENOSTR): Likewise.
9363 [POSIX] (ENOTCONN): Likewise.
9364 [POSIX] (ENOTSOCK): Likewise.
9365 [POSIX] (EOPNOTSUPP): Likewise.
9366 [POSIX] (EOVERFLOW): Likewise.
9367 [POSIX] (EPROTO): Likewise.
9368 [POSIX] (EPROTONOSUPPORT): Likewise.
9369 [POSIX] (EPROTOTYPE): Likewise.
9370 [POSIX] (ESTALE): Likewise.
9371 [POSIX] (ETIME): Likewise.
9372 [POSIX] (ETXTBSY): Likewise.
9373 [POSIX] (EWOULDBLOCK): Likewise.
9374 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9375 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9376 [POSIX] (SEEK_CUR): Likewise.
9377 [POSIX] (SEEK_END): Likewise.
9378 [POSIX || UNIX98] (mode_t): Do not require.
9379 [POSIX] (off_t): Likewise.
9380 [POSIX] (pid_t): Likewise.
9381 [POSIX] (sys/stat.h): Do not allow header.
9382 [POSIX] (unistd.h): Likewise.
9383 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9384 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9385 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9386 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9387 require.
9388 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9389 sigevent): Specify elements.
9390 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9391 entry.
9392 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9393 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9394
9395 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9396 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9397 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9398 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9399 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9400 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9401 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9402 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9403 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9404 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9405 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9406 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9407 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9408 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9409 Likewise.
9410 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9411 Likewise.
9412 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9413 Likewise.
9414 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9415 Likewise.
9416 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9417 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9418 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9419 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9420 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9421 Specify lower bound on value.
9422 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9423 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9424 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9425 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9426 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9427 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9428 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9429 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9430 value.
9431 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9432 as optional.
9433 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9434 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9435 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9436 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9437 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9438 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9439 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9440 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9441 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9442 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9443 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9444 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9445 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9446 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9447 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9448 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9449 entry.
9450 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9451 optional.
9452 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9453 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9454 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9455 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9456 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9457 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9458 Likewise.
9459 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9460 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9461 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9462 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9463 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9464 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9465 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9466 as optional.
9467 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9468 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9469 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9470 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9471 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9472 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9473 specify as optional.
9474 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9475 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9476 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9477 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9478 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9479 [XPG3] (NL_LANGMAX): Likewise.
9480 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9481 [POSIX || XPG3] (NL_NMAX): Likewise.
9482 [POSIX || XPG3] (NL_SETMAX): Likewise.
9483 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9484 [XPG3] (NZERO): Likewise.
9485 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9486 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9487 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9488 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9489 (REG_ERANGE): Expect.
9490 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9491 optional-constant.
9492 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9493 Use (void) in prototype.
9494 [POSIX] (*_t): Allow.
9495 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9496 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9497 (WRDE_BADVAL): Expect.
9498
9499 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9500 expect.
9501 [XPG3 || XPG4] (O_RSYNC): Likewise.
9502 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9503 Likewise.
9504 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9505 [XPG3 || XPG4] (sigqueue): Likewise.
9506 [XPG3 || XPG4] (sigtimedwait): Likewise.
9507 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9508 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9509 [XPG3 || XPG4] (vsnprintf): Likewise.
9510 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9511 Likewise.
9512 [XPG3 || XPG4] (blksize_t): Likewise.
9513 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9514 Likewise.
9515 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9516 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9517 [XPG3 || XPG4] (struct itimerspec): Likewise.
9518 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9519 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9520 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9521 [XPG3 || XPG4] (clockid_t): Likewise.
9522 [XPG3 || XPG4] (timer_t): Likewise.
9523 [XPG3 || XPG4] (clock_getres): Likewise.
9524 [XPG3 || XPG4] (clock_gettime): Likewise.
9525 [XPG3 || XPG4] (clock_settime): Likewise.
9526 [XPG3 || XPG4] (nanosleep): Likewise.
9527 [XPG3 || XPG4] (timer_create): Likewise.
9528 [XPG3 || XPG4] (timer_delete): Likewise.
9529 [XPG3 || XPG4] (timer_gettime): Likewise.
9530 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9531 [XPG3 || XPG4] (timer_settime): Likewise.
9532 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9533 [XPG3 || XPG4] (getlogin_r): Likewise.
9534 [XPG3 || XPG4] (pread): Likewise.
9535 [XPG3 || XPG4] (pthread_atfork): Likewise.
9536 [XPG3 || XPG4] (pwrite): Likewise.
9537
9538 [BZ #14835]
9539 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9540 <bits/siginfo.h>.
9541
9542 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9543
9544 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9545 finalizing MALLSTREAM.
9546
9547 * sysdeps/mach/hurd/syncfs.c: New file.
9548
9549 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9550
9551 [BZ #14719]
9552 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9553 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9554 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9555 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9556 (_nss_dns_gethostbyname4_r): Likewise.
9557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9558 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9559
9560 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9561
9562 [BZ #13763]
9563 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9564
9565 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9566
9567 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9568 * elf/cache.c (print_entry): Print ",AArch64" for
9569 FLAG_AARCH64_LIB64
9570
9571 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9572 * elf/cache.c (print_entry): Print ",hard-float" for
9573 FLAG_ARM_LIBHF.
9574
9575 2012-11-18 David S. Miller <davem@davemloft.net>
9576
9577 With help from Joseph Myers.
9578 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9579 cutoff to 2**-13.
9580 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9581 cutoff to 2**-25.
9582 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9583 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9584 small.
9585 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9586 * math/libm-test.inc (y0_test): New tests.
9587 (y1_test): New tests.
9588 * sysdeps/i386/fpu/libm-test-ulps: Update.
9589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9591
9592 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9593
9594 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9595 64-bit targets.
9596 * configure: Regenerated.
9597
9598 2012-11-17 David S. Miller <davem@davemloft.net>
9599
9600 [BZ #14811]
9601 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9602 nonzero exponents with absolute value below 0x1p-128 to +/-
9603 0x1p-128.
9604
9605 2012-11-17 Joseph Myers <joseph@codesourcery.com>
9606
9607 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9608
9609 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9610
9611 * posix/getconf-speclist.c: New file.
9612 * posix/posix-envs.def: Likewise.
9613 * posix/confstr.c (START_ENV_GROUP): New macro.
9614 (END_ENV_GROUP): Likewise.
9615 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9616 (KNOWN_PRESENT_ENV_STRING): Likewise.
9617 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9618 (UNKNOWN_ENVIRONMENT): Likewise.
9619 (confstr): Include posix-envs.def instead of handling
9620 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9621 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9622 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9623 (END_ENV_GROUP): Likewise.
9624 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9625 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9626 (UNKNOWN_ENVIRONMENT): Likewise.
9627 (__sysconf): Include posix-envs.def instead of handling associated
9628 cases directly here.
9629 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9630 preprocessing getconf-speclist.c rather than running getconf or
9631 generating empty file.
9632
9633 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9634
9635 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9636
9637 2012-11-16 Andrej Lajovic <natrij@gmail.com>
9638
9639 [BZ #14672]
9640 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9641
9642 2012-11-16 David S. Miller <davem@davemloft.net>
9643
9644 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9645 smaller than LDBL_EPSILON/2.0L, just return xm1.
9646
9647 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9648
9649 * elf/tst-array1.c (init): Set constructor priority to 1000.
9650 (fini): Set destructor priority to 1000.
9651 * elf/tst-array2dep.c: Likewise.
9652
9653 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9654
9655 [BZ #11741]
9656 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9657 (_IO_new_file_xsputn): Also return EOF if none of the input
9658 data was written when overflow failed.
9659 * libio/iopadn.c (_IO_padn): Likewise.
9660 * libio/iowpadn.c (_IO_wpadn): Likewise.
9661 * stdio-common/tst-put-error.c: Add copyright notice.
9662 (do_test): Add case for printing padded string.
9663 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9664 _IO_padn returned error.
9665 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9666 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9667 return EOF.
9668
9669 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9670
9671 * libio/libioP.h: Add comment note that the references to C++
9672 bits are now obsolete.
9673
9674 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9675
9676 * math/libm-test.inc (check_complex): Use asprintf.
9677
9678 2012-11-14 Joseph Myers <joseph@codesourcery.com>
9679
9680 * debug/pcprofiledump.c (print_version): Update copyright year.
9681 * malloc/memusagestat.c (print_version): Likewise.
9682
9683 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9684
9685 [BZ #14831]
9686 * elf/Makefile (tests): Add tst-audit8.
9687 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9688 ($(objpfx)tst-audit8.out): New target.
9689 (tst-audit8-ENV): New variable.
9690 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9691 audit if l_reloc_result is NULL.
9692 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9693 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9694 * elf/tst-audit8.c: New file.
9695
9696 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9697
9698 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9699 * misc/Makefile (CFLAGS-select.c): Define.
9700 * posix/Makefile (CFLAGS-pause.c): Define.
9701
9702 2012-11-13 David S. Miller <davem@davemloft.net>
9703
9704 * crypt/Makefile: Move test targets after toplevel Rules
9705 inclusion. Grab any necessary sysdep routines when linking.
9706 * crypt/md5.c (md5_process_block): Remove define, we will always
9707 name it __md5_process_block.
9708 (md5_finish_ctx): Update md5_process_block call.
9709 (md5_stream): Likewise.
9710 (md5_process_bytes): Likewise.
9711 (md5_process_block): Rename to __md5_process_block and move to ...
9712 * crypt/md5-block.c: ... here.
9713 * crypt/sha256.c (sha256_process_block): Move to ...
9714 * crypt/sha256-block.c: ... here.
9715 * crypt/sha512.c (sha512_process_block): Move to ...
9716 * crypt/sha512-block.c: ... here.
9717 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9718 path.
9719 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9720 * sysdeps/sparc/sparc64/multiarch/Makefile
9721 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9722 crypt subdir.
9723 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9724 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9725 multiarch changes.
9726 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9727 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9728 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9729 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9730 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9731 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9732 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9733 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9734 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9735 file.
9736 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9737 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9738 file.
9739 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9740
9741 2012-11-13 Joseph Myers <joseph@codesourcery.com>
9742
9743 * timezone/tzselect.ksh: Update from tzcode git revision
9744 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9745 * timezone/zdump.c: Likewise.
9746 * timezone/zic.c: Likewise.
9747 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9748 in TZVERSION setting, not $(PKGVERSION).
9749 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9750 REPORT_BUGS_TO settings.
9751
9752 [BZ #14838]
9753 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9754 macro.
9755
9756 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9757
9758 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9759 detection to immediately after _FP_ROUND().
9760 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9761 bits are 0.
9762
9763 2012-11-11 David S. Miller <davem@davemloft.net>
9764
9765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9766 inttypes.h
9767 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9768 __close rather than their public counterparts.
9769
9770 2012-11-10 Joseph Myers <joseph@codesourcery.com>
9771
9772 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9773 file.
9774 [UNIX98] (sem_timedwait): Do not expect.
9775 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9776 [XPG4 || UNIX98] (sockatmark): Do not expect.
9777 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9778 (clock_getcpuclockid): Do not expect.
9779 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9780 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9781 Do not expect.
9782 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9783 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9784 [UNIX98] (vwscanf): Likewise.
9785 [UNIX98] (vswscanf): Likewise.
9786
9787 2012-11-09 Joseph Myers <joseph@codesourcery.com>
9788
9789 * timezone/version.h: Remove file.
9790 * timezone/README: Do not refer to version.h.
9791 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9792 $(objpfx)version.h.
9793 ($(objpfx)zdump.o): Likewise.
9794 ($(objpfx)version.h): New target.
9795
9796 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9797 2012i.
9798 * timezone/README: Don't mention modification to tzselect.ksh.
9799 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9800 work on unmodified tzselect.ksh. Substitute version numbers in
9801 tzselect.ksh.
9802
9803 * Makefile (format-me): Remove.
9804 (INSTALL): Adjust indentation. Use commands directly instead of
9805 using $(format-me).
9806
9807 * aclocal.m4 (ACX_PKGVERSION): New macro.
9808 (ACX_BUGURL): Likewise.
9809 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9810 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9811 (REPORT_BUGS_TO): Likewise.
9812 * configure: Regenerated.
9813 * config.h.in (PKGVERSION): New macro.
9814 (REPORT_BUGS_TO): Likewise.
9815 * config.make.in (PKGVERSION): New variable.
9816 (PKGVERSION_TEXI): Likewise.
9817 (REPORT_BUGS_TO): Likewise.
9818 (REPORT_BUGS_TEXI): Likewise.
9819 * Makefile (format-me): Use -I$(common-objpfx)manual.
9820 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9821 ($(common-objpfx)manual/%): New target.
9822 (manual/%): Remove target.
9823 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9824 (print_version): Use PKGVERSION.
9825 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9826 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9827 and REPORT_BUGS_TO.
9828 ($(objpfx)xtrace): Likewise.
9829 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9830 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9831 (print_version): Use PKGVERSION.
9832 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9833 (do_version): Use PKGVERSION.
9834 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9835 REPORT_BUGS_TO.
9836 (common-ldd-rewrite): Likewise.
9837 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9838 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9839 (print_version): Use PKGVERSION.
9840 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9841 * elf/pldd.c (argp_program_bug_address): Remove variable.
9842 (more_help): New function.
9843 (argp): Use more_help.
9844 (print_version): Use PKGVERSION.
9845 * elf/sln.c (main): Use PKGVERSION.
9846 (usage): Use REPORT_BUGS_TO.
9847 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9848 (top level): Use PKGVERSION.
9849 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9850 (print_version): Use PKGVERSION.
9851 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9852 (print_version): Use PKGVERSION.
9853 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9854 (print_version): Use PKGVERSION.
9855 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9856 (print_version): Use PKGVERSION.
9857 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9858 (print_version): Use PKGVERSION.
9859 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9860 (print_version): Use PKGVERSION.
9861 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9862 and BUGURL.
9863 ($(objpfx)memusage): Likewise.
9864 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9865 (do_version): Use PKGVERSION.
9866 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9867 (print_version): Use PKGVERSION.
9868 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9869 ($PKGVERSION): New variable.
9870 ($REPORT_BUGS_TO): Likewise.
9871 (usage): Use $REPORT_BUGS_TO.
9872 (top level): Use $PKGVERSION.
9873 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9874 ($(objpfx)pkgvers.texi): New rule.
9875 ($(objpfx)stamp-pkgvers): Likewise.
9876 * manual/install.texi: Include pkgvers.texi.
9877 (--with-pkgversion): Document new configure option.
9878 (--with-bugurl): Likewise.
9879 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9880 than necessarily for this particular distribution. Use
9881 REPORT_BUGS_TO for where to report bugs.
9882 * INSTALL: Regenerated.
9883 * manual/libc.texinfo: Include pkgvers.texi.
9884 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9885 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9886 (print_version): Use PKGVERSION.
9887 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9888 (print_version): Use PKGVERSION.
9889 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9890 (print_version): Use PKGVERSION.
9891 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9892 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9893 macro.
9894 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9895 (print_version): Use PKGVERSION.
9896 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9897 (print_version): Use PKGVERSION.
9898 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9899 and PKGVERSION.
9900
9901 * timezone/checktab.awk: Update from tzcode 2012i.
9902 * timezone/ialloc.c: Likewise.
9903 * timezone/private.h: Likewise.
9904 * timezone/scheck.c: Likewise.
9905 * timezone/tzfile.h: Likewise.
9906 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9907 (TZVERSION): Hardcode tzcode version number.
9908 * timezone/zdump.c: Update from tzcode 2012i.
9909 * timezone/zic.c: Likewise.
9910 * timezone/version.h: New file.
9911 * timezone/README: Describe version.h. Update upstream location.
9912
9913 [BZ #14824]
9914 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9915 (mktemp): Enable declaration.
9916 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9917 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9919 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9920 Likewise.
9921 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9922 Likewise.
9923 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9924 Likewise.
9925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9926 Likewise.
9927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9928 Likewise.
9929 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9930 Likewise.
9931
9932 [BZ #14821]
9933 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9934 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9935 for copies of such integer values.
9936 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9937 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9938
9939 2012-11-09 Andreas Jaeger <aj@suse.de>
9940
9941 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9942 definitions and declarations that are provided by
9943 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9944
9945 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9946
9947 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9948 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9949 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9950 definition.
9951
9952 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9953
9954 * elf/elf.h: Update comment before AArch64 relocations.
9955
9956 2012-11-07 David S. Miller <davem@davemloft.net>
9957
9958 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9959 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9960 (__start_context): Declare.
9961 (__makecontext_ret): Delete.
9962 (__makecontext): Hook up __start_context instead of
9963 __makecontext_ret.
9964 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9965 (sysdep_routines): Add __start_context when in stdlib.
9966
9967 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9968
9969 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9970 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9971 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9972 hardcoded "nm".
9973 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9974 (READELF): New variable. Use it instead of hardcoded "readelf".
9975
9976 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9977
9978 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9979 * sysdeps/x86/Makefile: Here.
9980 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9981 * sysdeps/x86/tst-xmmymm.sh: This.
9982
9983 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9984
9985 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9986 expectations.
9987 [UNIX98] (pthread_barrier_t): Do not expect.
9988 [UNIX98] (pthread_barrierattr_t): Likewise.
9989 [UNIX98] (pthread_spinlock_t): Likewise.
9990 [UNIX98] (pthread_barrier_destroy): Likewise.
9991 [UNIX98] (pthread_barrier_init): Likewise.
9992 [UNIX98] (pthread_barrier_wait): Likewise.
9993 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9994 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9995 [UNIX98] (pthread_barrierattr_init): Likewise.
9996 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9997 [UNIX98] (pthread_getcpuclockid): Likewise.
9998 [UNIX98] (pthread_mutex_timedlock): Likewise.
9999 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10000 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10001 [UNIX98] (pthread_sigmask): Likewise.
10002 [UNIX98] (pthread_spin_destroy): Likewise.
10003 [UNIX98] (pthread_spin_init): Likewise.
10004 [UNIX98] (pthread_spin_lock): Likewise.
10005 [UNIX98] (pthread_spin_trylock): Likewise.
10006 [UNIX98] (pthread_spin_unlock): Likewise.
10007 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10008 Do not expect.
10009 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10010 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10011 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10012 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10013 [XPG3 || XPG4] (pthread_key_t): Likewise.
10014 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10015 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10016 [XPG3 || XPG4] (pthread_once_t): Likewise.
10017 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10018 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10019 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10020 [XPG3 || XPG4] (pthread_t): Likewise.
10021
10022 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10023 not expect.
10024 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10025
10026 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10027 Change function return type to int.
10028
10029 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10030 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10031 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10032 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10033 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10034 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10035 [!POSIX] (posix_madvise): Likewise.
10036 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10037 && !UNIX98].
10038 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10039 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10040 (mode_t): Likewise.
10041 (posix_mem_offset): Likewise.
10042 (posix_typed_mem_get_info): Likewise.
10043 (posix_typed_mem_open): Likewise.
10044
10045 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10046 Change condition to [XOPEN2K8].
10047
10048 * conform/conformtest.pl: Preprocess allow-header data with -x c
10049 instead of from stdin.
10050 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10051 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10052 [C99-based standards] (cerfc): Likewise.
10053 [C99-based standards] (cexp2): Likewise.
10054 [C99-based standards] (cexpm1): Likewise.
10055 [C99-based standards] (clog10): Likewise.
10056 [C99-based standards] (clog1p): Likewise.
10057 [C99-based standards] (clog2): Likewise.
10058 [C99-based standards] (clgamma): Likewise.
10059 [C99-based standards] (ctgamma): Likewise.
10060 [C99-based standards] (cerff): Likewise.
10061 [C99-based standards] (cerfcf): Likewise.
10062 [C99-based standards] (cexp2f): Likewise.
10063 [C99-based standards] (cexpm1f): Likewise.
10064 [C99-based standards] (clog10f): Likewise.
10065 [C99-based standards] (clog1pf): Likewise.
10066 [C99-based standards] (clog2f): Likewise.
10067 [C99-based standards] (clgammaf): Likewise.
10068 [C99-based standards] (ctgammaf): Likewise.
10069 [C99-based standards] (cerfl): Likewise.
10070 [C99-based standards] (cerfcl): Likewise.
10071 [C99-based standards] (cexp2l): Likewise.
10072 [C99-based standards] (cexpm1l): Likewise.
10073 [C99-based standards] (clog10l): Likewise.
10074 [C99-based standards] (clog1pl): Likewise.
10075 [C99-based standards] (clog2l): Likewise.
10076 [C99-based standards] (clgammal): Likewise.
10077 [C99-based standards] (ctgammal): Likewise.
10078 * conform/data/inttypes.h-data [C99-based standards]: Include
10079 stdint.h-data. Remove all expectations for stdint.h contents.
10080 [C99-based standards] (PRI*): Do not allow.
10081 [C99-based standards] (SCN*): Likewise.
10082 [C99-based standards] (*_t): Likewise.
10083 [C99-based-standards] (PRId8): Expect macro.
10084 [C99-based-standards] (PRIi8): Likewise.
10085 [C99-based-standards] (PRIo8): Likewise.
10086 [C99-based-standards] (PRIu8): Likewise.
10087 [C99-based-standards] (PRIx8): Likewise.
10088 [C99-based-standards] (PRIX8): Likewise.
10089 [C99-based-standards] (SCNd8): Likewise.
10090 [C99-based-standards] (SCNi8): Likewise.
10091 [C99-based-standards] (SCNo8): Likewise.
10092 [C99-based-standards] (SCNu8): Likewise.
10093 [C99-based-standards] (SCNx8): Likewise.
10094 [C99-based-standards] (PRIdLEAST8): Likewise.
10095 [C99-based-standards] (PRIiLEAST8): Likewise.
10096 [C99-based-standards] (PRIoLEAST8): Likewise.
10097 [C99-based-standards] (PRIuLEAST8): Likewise.
10098 [C99-based-standards] (PRIxLEAST8): Likewise.
10099 [C99-based-standards] (PRIXLEAST8): Likewise.
10100 [C99-based-standards] (SCNdLEAST8): Likewise.
10101 [C99-based-standards] (SCNiLEAST8): Likewise.
10102 [C99-based-standards] (SCNoLEAST8): Likewise.
10103 [C99-based-standards] (SCNuLEAST8): Likewise.
10104 [C99-based-standards] (SCNxLEAST8): Likewise.
10105 [C99-based-standards] (PRIdFAST8): Likewise.
10106 [C99-based-standards] (PRIiFAST8): Likewise.
10107 [C99-based-standards] (PRIoFAST8): Likewise.
10108 [C99-based-standards] (PRIuFAST8): Likewise.
10109 [C99-based-standards] (PRIxFAST8): Likewise.
10110 [C99-based-standards] (PRIXFAST8): Likewise.
10111 [C99-based-standards] (SCNdFAST8): Likewise.
10112 [C99-based-standards] (SCNiFAST8): Likewise.
10113 [C99-based-standards] (SCNoFAST8): Likewise.
10114 [C99-based-standards] (SCNuFAST8): Likewise.
10115 [C99-based-standards] (SCNxFAST8): Likewise.
10116 [C99-based-standards] (PRId16): Likewise.
10117 [C99-based-standards] (PRIi16): Likewise.
10118 [C99-based-standards] (PRIo16): Likewise.
10119 [C99-based-standards] (PRIu16): Likewise.
10120 [C99-based-standards] (PRIx16): Likewise.
10121 [C99-based-standards] (PRIX16): Likewise.
10122 [C99-based-standards] (SCNd16): Likewise.
10123 [C99-based-standards] (SCNi16): Likewise.
10124 [C99-based-standards] (SCNo16): Likewise.
10125 [C99-based-standards] (SCNu16): Likewise.
10126 [C99-based-standards] (SCNx16): Likewise.
10127 [C99-based-standards] (PRIdLEAST16): Likewise.
10128 [C99-based-standards] (PRIiLEAST16): Likewise.
10129 [C99-based-standards] (PRIoLEAST16): Likewise.
10130 [C99-based-standards] (PRIuLEAST16): Likewise.
10131 [C99-based-standards] (PRIxLEAST16): Likewise.
10132 [C99-based-standards] (PRIXLEAST16): Likewise.
10133 [C99-based-standards] (SCNdLEAST16): Likewise.
10134 [C99-based-standards] (SCNiLEAST16): Likewise.
10135 [C99-based-standards] (SCNoLEAST16): Likewise.
10136 [C99-based-standards] (SCNuLEAST16): Likewise.
10137 [C99-based-standards] (SCNxLEAST16): Likewise.
10138 [C99-based-standards] (PRIdFAST16): Likewise.
10139 [C99-based-standards] (PRIiFAST16): Likewise.
10140 [C99-based-standards] (PRIoFAST16): Likewise.
10141 [C99-based-standards] (PRIuFAST16): Likewise.
10142 [C99-based-standards] (PRIxFAST16): Likewise.
10143 [C99-based-standards] (PRIXFAST16): Likewise.
10144 [C99-based-standards] (SCNdFAST16): Likewise.
10145 [C99-based-standards] (SCNiFAST16): Likewise.
10146 [C99-based-standards] (SCNoFAST16): Likewise.
10147 [C99-based-standards] (SCNuFAST16): Likewise.
10148 [C99-based-standards] (SCNxFAST16): Likewise.
10149 [C99-based-standards] (PRId32): Likewise.
10150 [C99-based-standards] (PRIi32): Likewise.
10151 [C99-based-standards] (PRIo32): Likewise.
10152 [C99-based-standards] (PRIu32): Likewise.
10153 [C99-based-standards] (PRIx32): Likewise.
10154 [C99-based-standards] (PRIX32): Likewise.
10155 [C99-based-standards] (SCNd32): Likewise.
10156 [C99-based-standards] (SCNi32): Likewise.
10157 [C99-based-standards] (SCNo32): Likewise.
10158 [C99-based-standards] (SCNu32): Likewise.
10159 [C99-based-standards] (SCNx32): Likewise.
10160 [C99-based-standards] (PRIdLEAST32): Likewise.
10161 [C99-based-standards] (PRIiLEAST32): Likewise.
10162 [C99-based-standards] (PRIoLEAST32): Likewise.
10163 [C99-based-standards] (PRIuLEAST32): Likewise.
10164 [C99-based-standards] (PRIxLEAST32): Likewise.
10165 [C99-based-standards] (PRIXLEAST32): Likewise.
10166 [C99-based-standards] (SCNdLEAST32): Likewise.
10167 [C99-based-standards] (SCNiLEAST32): Likewise.
10168 [C99-based-standards] (SCNoLEAST32): Likewise.
10169 [C99-based-standards] (SCNuLEAST32): Likewise.
10170 [C99-based-standards] (SCNxLEAST32): Likewise.
10171 [C99-based-standards] (PRIdFAST32): Likewise.
10172 [C99-based-standards] (PRIiFAST32): Likewise.
10173 [C99-based-standards] (PRIoFAST32): Likewise.
10174 [C99-based-standards] (PRIuFAST32): Likewise.
10175 [C99-based-standards] (PRIxFAST32): Likewise.
10176 [C99-based-standards] (PRIXFAST32): Likewise.
10177 [C99-based-standards] (SCNdFAST32): Likewise.
10178 [C99-based-standards] (SCNiFAST32): Likewise.
10179 [C99-based-standards] (SCNoFAST32): Likewise.
10180 [C99-based-standards] (SCNuFAST32): Likewise.
10181 [C99-based-standards] (SCNxFAST32): Likewise.
10182 [C99-based-standards] (PRId64): Likewise.
10183 [C99-based-standards] (PRIi64): Likewise.
10184 [C99-based-standards] (PRIo64): Likewise.
10185 [C99-based-standards] (PRIu64): Likewise.
10186 [C99-based-standards] (PRIx64): Likewise.
10187 [C99-based-standards] (PRIX64): Likewise.
10188 [C99-based-standards] (SCNd64): Likewise.
10189 [C99-based-standards] (SCNi64): Likewise.
10190 [C99-based-standards] (SCNo64): Likewise.
10191 [C99-based-standards] (SCNu64): Likewise.
10192 [C99-based-standards] (SCNx64): Likewise.
10193 [C99-based-standards] (PRIdLEAST64): Likewise.
10194 [C99-based-standards] (PRIiLEAST64): Likewise.
10195 [C99-based-standards] (PRIoLEAST64): Likewise.
10196 [C99-based-standards] (PRIuLEAST64): Likewise.
10197 [C99-based-standards] (PRIxLEAST64): Likewise.
10198 [C99-based-standards] (PRIXLEAST64): Likewise.
10199 [C99-based-standards] (SCNdLEAST64): Likewise.
10200 [C99-based-standards] (SCNiLEAST64): Likewise.
10201 [C99-based-standards] (SCNoLEAST64): Likewise.
10202 [C99-based-standards] (SCNuLEAST64): Likewise.
10203 [C99-based-standards] (SCNxLEAST64): Likewise.
10204 [C99-based-standards] (PRIdFAST64): Likewise.
10205 [C99-based-standards] (PRIiFAST64): Likewise.
10206 [C99-based-standards] (PRIoFAST64): Likewise.
10207 [C99-based-standards] (PRIuFAST64): Likewise.
10208 [C99-based-standards] (PRIxFAST64): Likewise.
10209 [C99-based-standards] (PRIXFAST64): Likewise.
10210 [C99-based-standards] (SCNdFAST64): Likewise.
10211 [C99-based-standards] (SCNiFAST64): Likewise.
10212 [C99-based-standards] (SCNoFAST64): Likewise.
10213 [C99-based-standards] (SCNuFAST64): Likewise.
10214 [C99-based-standards] (SCNxFAST64): Likewise.
10215 [C99-based-standards] (PRIdMAX): Likewise.
10216 [C99-based-standards] (PRIiMAX): Likewise.
10217 [C99-based-standards] (PRIoMAX): Likewise.
10218 [C99-based-standards] (PRIuMAX): Likewise.
10219 [C99-based-standards] (PRIxMAX): Likewise.
10220 [C99-based-standards] (PRIXMAX): Likewise.
10221 [C99-based-standards] (SCNdMAX): Likewise.
10222 [C99-based-standards] (SCNiMAX): Likewise.
10223 [C99-based-standards] (SCNoMAX): Likewise.
10224 [C99-based-standards] (SCNuMAX): Likewise.
10225 [C99-based-standards] (SCNxMAX): Likewise.
10226 [C99-based-standards] (PRIdPTR): Likewise.
10227 [C99-based-standards] (PRIiPTR): Likewise.
10228 [C99-based-standards] (PRIoPTR): Likewise.
10229 [C99-based-standards] (PRIuPTR): Likewise.
10230 [C99-based-standards] (PRIxPTR): Likewise.
10231 [C99-based-standards] (PRIXPTR): Likewise.
10232 [C99-based-standards] (SCNdPTR): Likewise.
10233 [C99-based-standards] (SCNiPTR): Likewise.
10234 [C99-based-standards] (SCNoPTR): Likewise.
10235 [C99-based-standards] (SCNuPTR): Likewise.
10236 [C99-based-standards] (SCNxPTR): Likewise.
10237 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10238 allow.
10239 * conform/data/stdint.h-data: Update comments to clarify
10240 requirements.
10241 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10242 type.
10243 [C99-based standards] (INT8_MAX): Likewise.
10244 [C99-based standards] (INT16_MIN): Likewise.
10245 [C99-based standards] (INT16_MAX): Likewise.
10246 [C99-based standards] (INT32_MIN): Likewise.
10247 [C99-based standards] (INT32_MAX): Likewise.
10248 [C99-based standards] (INT64_MIN): Likewise.
10249 [C99-based standards] (INT64_MAX): Likewise.
10250 [C99-based standards] (UINT8_MAX): Likewise.
10251 [C99-based standards] (UINT16_MAX): Likewise.
10252 [C99-based standards] (UINT32_MAX): Likewise.
10253 [C99-based standards] (UINT64_MAX): Likewise.
10254 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10255 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10256 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10257 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10258 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10259 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10260 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10261 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10262 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10263 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10264 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10265 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10266 [C99-based standards] (INT_FAST8_MIN): Likewise.
10267 [C99-based standards] (INT_FAST8_MAX): Likewise.
10268 [C99-based standards] (INT_FAST16_MIN): Likewise.
10269 [C99-based standards] (INT_FAST16_MAX): Likewise.
10270 [C99-based standards] (INT_FAST32_MIN): Likewise.
10271 [C99-based standards] (INT_FAST32_MAX): Likewise.
10272 [C99-based standards] (INT_FAST64_MIN): Likewise.
10273 [C99-based standards] (INT_FAST64_MAX): Likewise.
10274 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10275 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10276 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10277 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10278 [C99-based standards] (INTPTR_MIN): Likewise.
10279 [C99-based standards] (INTPTR_MAX): Likewise.
10280 [C99-based standards] (UINTPTR_MAX): Likewise.
10281 [C99-based standards] (INTMAX_MIN): Likewise.
10282 [C99-based standards] (INTMAX_MAX): Likewise.
10283 [C99-based standards] (UINTMAX_MAX): Likewise.
10284 [C99-based standards] (PTRDIFF_MIN): Likewise.
10285 [C99-based standards] (PTRDIFF_MAX): Likewise.
10286 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10287 [C99-based standards] (SIZE_MAX): Likewise.
10288 [C99-based standards] (WCHAR_MAX): Likewise.
10289 [C99-based standards] (WINT_MAX): Likewise.
10290 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10291 constraint on value.
10292 [C99-based standards] (WCHAR_MIN): Likewise.
10293 [C99-based standards] (WINT_MIN): Likewise.
10294 [C99-based standards] (*_t): Allow.
10295 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10296 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10297 Include math.h-data and complex.h-data. Remove all expectations
10298 of math.h and complex.h contents.
10299 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10300 at end of line.
10301 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10302 (struct tm): Expect tag.
10303 [C99-based-standards] (wcstof): Expect function.
10304 [C99-based-standards] (wcstold): Likewise.
10305 [C99-based-standards] (wcstoll): Likewise.
10306 [C99-based-standards] (wcstoull): Likewise.
10307 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10308 macro-int-constant. Specify type.
10309 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10310 constraint on value.
10311 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10312 Specify type.
10313 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10314 Specify value.
10315 [ISO C standards]: Do not allow headers.
10316 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10317 wcs[abcdefghijklmnopqrstuvwxyz]*.
10318 [ISO C standards] (*_t): Do not allow.
10319 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10320 Expect function.
10321 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10322 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10323 Specify type.
10324 [ISO C standards]: Do not allow headers.
10325 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10326 is[abcdefghijklmnopqrstuvwxyz]*.
10327 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10328 to[abcdefghijklmnopqrstuvwxyz]*.
10329 [ISO C standards] (*_t): Do not allow.
10330 * conform/data/stdalign.h-data: New file.
10331 * conform/data/stdbool.h-data: Likewise.
10332 * conform/data/stdnoreturn.h-data: Likewise.
10333
10334 2012-11-07 Roland McGrath <roland@hack.frob.com>
10335
10336 [BZ #14815]
10337 * manual/filesys.texi (Directory Entries): Typo fix.
10338 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10339
10340 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10341
10342 * elf/elf.h (EM_AARCH64): New macro.
10343 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10344 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10345 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10346 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10347 (R_AARCH64_TLSDESC): Likewise.
10348 (NT_ARM_TLS): Likewise.
10349 (NT_ARM_HW_BREAK): Likewise.
10350 (NT_ARM_HW_WATCH): Likewise.
10351
10352 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10353
10354 [BZ #14811]
10355 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10356 (__ieee754_powl): Saturate nonzero exponents with absolute value
10357 below 0x1p-79 to +/- 0x1p-79.
10358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10359 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10360 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10361 nonzero exponents with absolute value below 0x1p-32 to +/-
10362 0x1p-32.
10363 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10364 (__ieee754_powl): Saturate nonzero exponents with absolute value
10365 below 0x1p-79 to +/- 0x1p-79.
10366 * math/libm-test.inc (pow_test): Add more tests.
10367
10368 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10369
10370 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10371 _dl_s390_cap_flags with kernel. Increase string length.
10372 (_dl_s390_platforms): Add z196 and zEC12.
10373
10374 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10375
10376 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10377 Change XOPEN21K to XOPEN2K.
10378
10379 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10380
10381 * string/memmove.c: Use memcpy when possible.
10382
10383 2012-11-06 Andreas Jaeger <aj@suse.de>
10384
10385 * po/eo.po: Update from translation team.
10386
10387 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10388
10389 [BZ #14793]
10390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10391 exponent and small x and y exponents, scale x or y up. Increase
10392 by 2 the exponent used in scaling up.
10393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10395 * math/libm-test.inc (fma_test): Add more tests.
10396 (fma_test_towardzero): Likewise.
10397 (fma_test_downward): Likewise.
10398 (fma_test_upward): Likewise.
10399
10400 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10401
10402 [BZ #14805]
10403 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10404 fenv_t *.
10405
10406 [BZ #14801]
10407 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10408 namespace for names of struct fields.
10409 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10410 fenv_t fields.
10411 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10412 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10413
10414 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10415
10416 [BZ #3665]
10417 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10418
10419 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10420
10421 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10422 PTR_DEMANGLE.
10423
10424 [BZ #5246]
10425 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10426 PTR_DEMANGLE.
10427
10428 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10429
10430 [BZ #14797]
10431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10432 definitely overflow as x * y not x * y + z.
10433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10434 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10435 * math/libm-test.inc (fma_test): Add more tests.
10436 (fma_test_towardzero): Likewise.
10437 (fma_test_downward): Likewise.
10438 (fma_test_upward): Likewise.
10439
10440 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10441
10442 [BZ #157]
10443
10444 * include/stub-tag.h: Remove file.
10445 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10446 '#include' of it.
10447 * manual/maint.texi (Porting): Don't reference it.
10448 * Makerules ($(objpfx)stubs): Likewise.
10449 * dirent/closedir.c: Don't include <stub-tag.h>.
10450 * dirent/dirfd.c: Likewise.
10451 * dirent/fdopendir.c: Likewise.
10452 * dirent/getdents.c: Likewise.
10453 * dirent/getdents64.c: Likewise.
10454 * dirent/opendir.c: Likewise.
10455 * dirent/readdir.c: Likewise.
10456 * dirent/readdir64.c: Likewise.
10457 * dirent/readdir64_r.c: Likewise.
10458 * dirent/readdir_r.c: Likewise.
10459 * dirent/rewinddir.c: Likewise.
10460 * dirent/seekdir.c: Likewise.
10461 * dirent/telldir.c: Likewise.
10462 * gmon/profil.c: Likewise.
10463 * grp/setgroups.c: Likewise.
10464 * inet/if_index.c: Likewise.
10465 * io/access.c: Likewise.
10466 * io/chdir.c: Likewise.
10467 * io/chmod.c: Likewise.
10468 * io/chown.c: Likewise.
10469 * io/close.c: Likewise.
10470 * io/dup.c: Likewise.
10471 * io/dup2.c: Likewise.
10472 * io/dup3.c: Likewise.
10473 * io/euidaccess.c: Likewise.
10474 * io/faccessat.c: Likewise.
10475 * io/fchdir.c: Likewise.
10476 * io/fchmod.c: Likewise.
10477 * io/fchmodat.c: Likewise.
10478 * io/fchown.c: Likewise.
10479 * io/fchownat.c: Likewise.
10480 * io/fcntl.c: Likewise.
10481 * io/flock.c: Likewise.
10482 * io/fstatfs.c: Likewise.
10483 * io/fstatfs64.c: Likewise.
10484 * io/fstatvfs.c: Likewise.
10485 * io/fstatvfs64.c: Likewise.
10486 * io/futimens.c: Likewise.
10487 * io/fxstat.c: Likewise.
10488 * io/fxstat64.c: Likewise.
10489 * io/fxstatat.c: Likewise.
10490 * io/fxstatat64.c: Likewise.
10491 * io/getcwd.c: Likewise.
10492 * io/isatty.c: Likewise.
10493 * io/lchmod.c: Likewise.
10494 * io/lchown.c: Likewise.
10495 * io/link.c: Likewise.
10496 * io/linkat.c: Likewise.
10497 * io/lseek.c: Likewise.
10498 * io/lseek64.c: Likewise.
10499 * io/lxstat64.c: Likewise.
10500 * io/mkdir.c: Likewise.
10501 * io/mkdirat.c: Likewise.
10502 * io/mkfifo.c: Likewise.
10503 * io/mkfifoat.c: Likewise.
10504 * io/open.c: Likewise.
10505 * io/open64.c: Likewise.
10506 * io/openat.c: Likewise.
10507 * io/openat64.c: Likewise.
10508 * io/pipe.c: Likewise.
10509 * io/pipe2.c: Likewise.
10510 * io/poll.c: Likewise.
10511 * io/posix_fadvise.c: Likewise.
10512 * io/posix_fadvise64.c: Likewise.
10513 * io/posix_fallocate.c: Likewise.
10514 * io/posix_fallocate64.c: Likewise.
10515 * io/read.c: Likewise.
10516 * io/readlink.c: Likewise.
10517 * io/readlinkat.c: Likewise.
10518 * io/rmdir.c: Likewise.
10519 * io/sendfile.c: Likewise.
10520 * io/sendfile64.c: Likewise.
10521 * io/statfs.c: Likewise.
10522 * io/statfs64.c: Likewise.
10523 * io/statvfs.c: Likewise.
10524 * io/statvfs64.c: Likewise.
10525 * io/symlink.c: Likewise.
10526 * io/symlinkat.c: Likewise.
10527 * io/ttyname.c: Likewise.
10528 * io/ttyname_r.c: Likewise.
10529 * io/umask.c: Likewise.
10530 * io/unlink.c: Likewise.
10531 * io/unlinkat.c: Likewise.
10532 * io/utime.c: Likewise.
10533 * io/utimensat.c: Likewise.
10534 * io/write.c: Likewise.
10535 * io/xmknod.c: Likewise.
10536 * io/xmknodat.c: Likewise.
10537 * io/xstat.c: Likewise.
10538 * io/xstat64.c: Likewise.
10539 * login/getpt.c: Likewise.
10540 * login/grantpt.c: Likewise.
10541 * login/unlockpt.c: Likewise.
10542 * math/e_acoshl.c: Likewise.
10543 * math/e_acosl.c: Likewise.
10544 * math/e_asinl.c: Likewise.
10545 * math/e_atan2l.c: Likewise.
10546 * math/e_atanhl.c: Likewise.
10547 * math/e_coshl.c: Likewise.
10548 * math/e_expl.c: Likewise.
10549 * math/e_fmodl.c: Likewise.
10550 * math/e_gammal_r.c: Likewise.
10551 * math/e_hypotl.c: Likewise.
10552 * math/e_j0l.c: Likewise.
10553 * math/e_j1l.c: Likewise.
10554 * math/e_jnl.c: Likewise.
10555 * math/e_lgammal_r.c: Likewise.
10556 * math/e_log10l.c: Likewise.
10557 * math/e_log2l.c: Likewise.
10558 * math/e_logl.c: Likewise.
10559 * math/e_powl.c: Likewise.
10560 * math/e_rem_pio2l.c: Likewise.
10561 * math/e_sinhl.c: Likewise.
10562 * math/e_sqrtl.c: Likewise.
10563 * math/fclrexcpt.c: Likewise.
10564 * math/fedisblxcpt.c: Likewise.
10565 * math/feenablxcpt.c: Likewise.
10566 * math/fegetenv.c: Likewise.
10567 * math/fegetexcept.c: Likewise.
10568 * math/fegetround.c: Likewise.
10569 * math/feholdexcpt.c: Likewise.
10570 * math/fesetenv.c: Likewise.
10571 * math/fesetround.c: Likewise.
10572 * math/feupdateenv.c: Likewise.
10573 * math/fgetexcptflg.c: Likewise.
10574 * math/fraiseexcpt.c: Likewise.
10575 * math/fsetexcptflg.c: Likewise.
10576 * math/ftestexcept.c: Likewise.
10577 * math/k_cosl.c: Likewise.
10578 * math/k_rem_pio2l.c: Likewise.
10579 * math/k_sinl.c: Likewise.
10580 * math/k_tanl.c: Likewise.
10581 * math/s_asinhl.c: Likewise.
10582 * math/s_atanl.c: Likewise.
10583 * math/s_cbrtl.c: Likewise.
10584 * math/s_erfl.c: Likewise.
10585 * math/s_expm1l.c: Likewise.
10586 * math/s_log1pl.c: Likewise.
10587 * math/s_tanhl.c: Likewise.
10588 * misc/acct.c: Likewise.
10589 * misc/brk.c: Likewise.
10590 * misc/chflags.c: Likewise.
10591 * misc/chroot.c: Likewise.
10592 * misc/fchflags.c: Likewise.
10593 * misc/fgetxattr.c: Likewise.
10594 * misc/flistxattr.c: Likewise.
10595 * misc/fremovexattr.c: Likewise.
10596 * misc/fsetxattr.c: Likewise.
10597 * misc/fsync.c: Likewise.
10598 * misc/ftruncate.c: Likewise.
10599 * misc/futimes.c: Likewise.
10600 * misc/futimesat.c: Likewise.
10601 * misc/getdomain.c: Likewise.
10602 * misc/getdtsz.c: Likewise.
10603 * misc/gethostid.c: Likewise.
10604 * misc/gethostname.c: Likewise.
10605 * misc/getloadavg.c: Likewise.
10606 * misc/getpagesize.c: Likewise.
10607 * misc/getsysstats.c: Likewise.
10608 * misc/getxattr.c: Likewise.
10609 * misc/gtty.c: Likewise.
10610 * misc/ioctl.c: Likewise.
10611 * misc/lgetxattr.c: Likewise.
10612 * misc/listxattr.c: Likewise.
10613 * misc/llistxattr.c: Likewise.
10614 * misc/lremovexattr.c: Likewise.
10615 * misc/lsetxattr.c: Likewise.
10616 * misc/lutimes.c: Likewise.
10617 * misc/madvise.c: Likewise.
10618 * misc/mincore.c: Likewise.
10619 * misc/mlock.c: Likewise.
10620 * misc/mlockall.c: Likewise.
10621 * misc/mmap.c: Likewise.
10622 * misc/mprotect.c: Likewise.
10623 * misc/msync.c: Likewise.
10624 * misc/munlock.c: Likewise.
10625 * misc/munlockall.c: Likewise.
10626 * misc/munmap.c: Likewise.
10627 * misc/preadv.c: Likewise.
10628 * misc/preadv64.c: Likewise.
10629 * misc/ptrace.c: Likewise.
10630 * misc/pwritev.c: Likewise.
10631 * misc/pwritev64.c: Likewise.
10632 * misc/readv.c: Likewise.
10633 * misc/reboot.c: Likewise.
10634 * misc/remap_file_pages.c: Likewise.
10635 * misc/removexattr.c: Likewise.
10636 * misc/revoke.c: Likewise.
10637 * misc/select.c: Likewise.
10638 * misc/setdomain.c: Likewise.
10639 * misc/setegid.c: Likewise.
10640 * misc/seteuid.c: Likewise.
10641 * misc/sethostid.c: Likewise.
10642 * misc/sethostname.c: Likewise.
10643 * misc/setregid.c: Likewise.
10644 * misc/setreuid.c: Likewise.
10645 * misc/setxattr.c: Likewise.
10646 * misc/sstk.c: Likewise.
10647 * misc/stty.c: Likewise.
10648 * misc/swapoff.c: Likewise.
10649 * misc/swapon.c: Likewise.
10650 * misc/sync.c: Likewise.
10651 * misc/syncfs.c: Likewise.
10652 * misc/syscall.c: Likewise.
10653 * misc/truncate.c: Likewise.
10654 * misc/ualarm.c: Likewise.
10655 * misc/usleep.c: Likewise.
10656 * misc/ustat.c: Likewise.
10657 * misc/utimes.c: Likewise.
10658 * misc/vhangup.c: Likewise.
10659 * misc/writev.c: Likewise.
10660 * posix/_exit.c: Likewise.
10661 * posix/alarm.c: Likewise.
10662 * posix/execve.c: Likewise.
10663 * posix/fexecve.c: Likewise.
10664 * posix/fork.c: Likewise.
10665 * posix/fpathconf.c: Likewise.
10666 * posix/getaddrinfo.c: Likewise.
10667 * posix/getegid.c: Likewise.
10668 * posix/geteuid.c: Likewise.
10669 * posix/getgid.c: Likewise.
10670 * posix/getgroups.c: Likewise.
10671 * posix/getlogin.c: Likewise.
10672 * posix/getlogin_r.c: Likewise.
10673 * posix/getpgid.c: Likewise.
10674 * posix/getpid.c: Likewise.
10675 * posix/getppid.c: Likewise.
10676 * posix/getresgid.c: Likewise.
10677 * posix/getresuid.c: Likewise.
10678 * posix/getsid.c: Likewise.
10679 * posix/getuid.c: Likewise.
10680 * posix/glob64.c: Likewise.
10681 * posix/nanosleep.c: Likewise.
10682 * posix/pathconf.c: Likewise.
10683 * posix/pause.c: Likewise.
10684 * posix/posix_madvise.c: Likewise.
10685 * posix/pread.c: Likewise.
10686 * posix/pread64.c: Likewise.
10687 * posix/pwrite.c: Likewise.
10688 * posix/pwrite64.c: Likewise.
10689 * posix/sched_getaffinity.c: Likewise.
10690 * posix/sched_getp.c: Likewise.
10691 * posix/sched_gets.c: Likewise.
10692 * posix/sched_primax.c: Likewise.
10693 * posix/sched_primin.c: Likewise.
10694 * posix/sched_rr_gi.c: Likewise.
10695 * posix/sched_setaffinity.c: Likewise.
10696 * posix/sched_setp.c: Likewise.
10697 * posix/sched_sets.c: Likewise.
10698 * posix/sched_yield.c: Likewise.
10699 * posix/setgid.c: Likewise.
10700 * posix/setlogin.c: Likewise.
10701 * posix/setpgid.c: Likewise.
10702 * posix/setresgid.c: Likewise.
10703 * posix/setresuid.c: Likewise.
10704 * posix/setsid.c: Likewise.
10705 * posix/setuid.c: Likewise.
10706 * posix/sleep.c: Likewise.
10707 * posix/spawni.c: Likewise.
10708 * posix/sysconf.c: Likewise.
10709 * posix/times.c: Likewise.
10710 * posix/wait.c: Likewise.
10711 * posix/wait3.c: Likewise.
10712 * posix/wait4.c: Likewise.
10713 * posix/waitpid.c: Likewise.
10714 * resolv/gai_sigqueue.c: Likewise.
10715 * resource/getpriority.c: Likewise.
10716 * resource/getrlimit.c: Likewise.
10717 * resource/getrusage.c: Likewise.
10718 * resource/nice.c: Likewise.
10719 * resource/setpriority.c: Likewise.
10720 * resource/setrlimit.c: Likewise.
10721 * resource/ulimit.c: Likewise.
10722 * rt/aio_cancel.c: Likewise.
10723 * rt/aio_fsync.c: Likewise.
10724 * rt/aio_read.c: Likewise.
10725 * rt/aio_sigqueue.c: Likewise.
10726 * rt/aio_suspend.c: Likewise.
10727 * rt/aio_write.c: Likewise.
10728 * rt/clock_getres.c: Likewise.
10729 * rt/clock_gettime.c: Likewise.
10730 * rt/clock_nanosleep.c: Likewise.
10731 * rt/clock_settime.c: Likewise.
10732 * rt/lio_listio.c: Likewise.
10733 * rt/mq_close.c: Likewise.
10734 * rt/mq_getattr.c: Likewise.
10735 * rt/mq_notify.c: Likewise.
10736 * rt/mq_open.c: Likewise.
10737 * rt/mq_receive.c: Likewise.
10738 * rt/mq_send.c: Likewise.
10739 * rt/mq_setattr.c: Likewise.
10740 * rt/mq_timedreceive.c: Likewise.
10741 * rt/mq_timedsend.c: Likewise.
10742 * rt/mq_unlink.c: Likewise.
10743 * rt/shm_open.c: Likewise.
10744 * rt/shm_unlink.c: Likewise.
10745 * rt/timer_create.c: Likewise.
10746 * rt/timer_delete.c: Likewise.
10747 * rt/timer_getoverr.c: Likewise.
10748 * rt/timer_gettime.c: Likewise.
10749 * rt/timer_settime.c: Likewise.
10750 * setjmp/__longjmp.c: Likewise.
10751 * setjmp/setjmp.c: Likewise.
10752 * signal/kill.c: Likewise.
10753 * signal/killpg.c: Likewise.
10754 * signal/raise.c: Likewise.
10755 * signal/sigaction.c: Likewise.
10756 * signal/sigaltstack.c: Likewise.
10757 * signal/sigblock.c: Likewise.
10758 * signal/sigignore.c: Likewise.
10759 * signal/sigintr.c: Likewise.
10760 * signal/signal.c: Likewise.
10761 * signal/sigpause.c: Likewise.
10762 * signal/sigpending.c: Likewise.
10763 * signal/sigqueue.c: Likewise.
10764 * signal/sigreturn.c: Likewise.
10765 * signal/sigset.c: Likewise.
10766 * signal/sigsetmask.c: Likewise.
10767 * signal/sigstack.c: Likewise.
10768 * signal/sigsuspend.c: Likewise.
10769 * signal/sigtimedwait.c: Likewise.
10770 * signal/sigvec.c: Likewise.
10771 * signal/sigwait.c: Likewise.
10772 * signal/sigwaitinfo.c: Likewise.
10773 * signal/sysv_signal.c: Likewise.
10774 * socket/accept.c: Likewise.
10775 * socket/accept4.c: Likewise.
10776 * socket/bind.c: Likewise.
10777 * socket/connect.c: Likewise.
10778 * socket/getpeername.c: Likewise.
10779 * socket/getsockname.c: Likewise.
10780 * socket/getsockopt.c: Likewise.
10781 * socket/isfdtype.c: Likewise.
10782 * socket/listen.c: Likewise.
10783 * socket/recv.c: Likewise.
10784 * socket/recvfrom.c: Likewise.
10785 * socket/recvmsg.c: Likewise.
10786 * socket/send.c: Likewise.
10787 * socket/sendmsg.c: Likewise.
10788 * socket/sendto.c: Likewise.
10789 * socket/setsockopt.c: Likewise.
10790 * socket/shutdown.c: Likewise.
10791 * socket/sockatmark.c: Likewise.
10792 * socket/socket.c: Likewise.
10793 * socket/socketpair.c: Likewise.
10794 * stdio-common/ctermid.c: Likewise.
10795 * stdio-common/cuserid.c: Likewise.
10796 * stdio-common/remove.c: Likewise.
10797 * stdio-common/rename.c: Likewise.
10798 * stdio-common/renameat.c: Likewise.
10799 * stdio-common/tempname.c: Likewise.
10800 * stdlib/getcontext.c: Likewise.
10801 * stdlib/makecontext.c: Likewise.
10802 * stdlib/setcontext.c: Likewise.
10803 * stdlib/swapcontext.c: Likewise.
10804 * stdlib/system.c: Likewise.
10805 * streams/fattach.c: Likewise.
10806 * streams/fdetach.c: Likewise.
10807 * streams/getmsg.c: Likewise.
10808 * streams/getpmsg.c: Likewise.
10809 * streams/putmsg.c: Likewise.
10810 * streams/putpmsg.c: Likewise.
10811 * sysdeps/unix/bsd/getpt.c: Likewise.
10812 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10813 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10814 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10816 Likewise.
10817 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10818 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10819 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10820 * sysvipc/msgctl.c: Likewise.
10821 * sysvipc/msgget.c: Likewise.
10822 * sysvipc/msgrcv.c: Likewise.
10823 * sysvipc/msgsnd.c: Likewise.
10824 * sysvipc/semctl.c: Likewise.
10825 * sysvipc/semget.c: Likewise.
10826 * sysvipc/semop.c: Likewise.
10827 * sysvipc/semtimedop.c: Likewise.
10828 * sysvipc/shmat.c: Likewise.
10829 * sysvipc/shmctl.c: Likewise.
10830 * sysvipc/shmdt.c: Likewise.
10831 * sysvipc/shmget.c: Likewise.
10832 * termios/tcdrain.c: Likewise.
10833 * termios/tcflow.c: Likewise.
10834 * termios/tcflush.c: Likewise.
10835 * termios/tcgetattr.c: Likewise.
10836 * termios/tcgetpgrp.c: Likewise.
10837 * termios/tcsendbrk.c: Likewise.
10838 * termios/tcsetattr.c: Likewise.
10839 * termios/tcsetpgrp.c: Likewise.
10840 * time/adjtime.c: Likewise.
10841 * time/clock.c: Likewise.
10842 * time/getitimer.c: Likewise.
10843 * time/gettimeofday.c: Likewise.
10844 * time/setitimer.c: Likewise.
10845 * time/settimeofday.c: Likewise.
10846 * time/stime.c: Likewise.
10847 * time/time.c: Likewise.
10848
10849 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10850
10851 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10852 /usr/old/bin.
10853
10854 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10855 instead of spaces.
10856 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10857
10858 2012-11-03 Joseph Myers <joseph@codesourcery.com>
10859
10860 [BZ #14796]
10861 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10862 FE_TONEAREST before applying Dekker multiplication and Knuth
10863 addition. Clear inexact exceptions and check for exact zero
10864 results afterwards.
10865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10866 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10868 * math/libm-test.inc (fma_test): Add more tests.
10869 (fma_test_towardzero): Likewise.
10870 (fma_test_downward): Likewise.
10871 (fma_test_upward): Likewise.
10872 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10873 function.
10874 (libc_fesetround): New macro.
10875 (libc_fesetroundf): Likewise.
10876 (libc_fesetroundl): Likewise.
10877 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10878 function.
10879 (libc_fesetround_387): Likewise.
10880 (libc_fesetroundf): New macro.
10881 (libc_fesetround): Likewise.
10882 (libc_fesetroundl): Likewise.
10883 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10884 function.
10885 (libc_fesetroundf): New macro.
10886 (libc_fesetround): Likewise.
10887 (libc_fesetroundl): Likewise.
10888 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10889 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10890 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10891 libm_hidden_ver.
10892 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10893 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10894 libm_hidden_def.
10895 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10896 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10897 libm_hidden_ver.
10898 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10899 libm_hidden_def.
10900
10901 [BZ #3439]
10902 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10903 integer constant usable in #if and use that to give value to enum
10904 constant.
10905 (FE_DIVBYZERO): Likewise.
10906 (FE_UNDERFLOW): Likewise.
10907 (FE_OVERFLOW): Likewise.
10908 (FE_INVALID): Likewise.
10909 (FE_INVALID_SNAN): Likewise.
10910 (FE_INVALID_ISI): Likewise.
10911 (FE_INVALID_IDI): Likewise.
10912 (FE_INVALID_ZDZ): Likewise.
10913 (FE_INVALID_IMZ): Likewise.
10914 (FE_INVALID_COMPARE): Likewise.
10915 (FE_INVALID_SOFTWARE): Likewise.
10916 (FE_INVALID_SQRT): Likewise.
10917 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10918 (FE_TONEAREST): Likewise.
10919 (FE_TOWARDZERO): Likewise.
10920 (FE_UPWARD): Likewise.
10921 (FE_DOWNWARD): Likewise.
10922 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10923 (FE_DIVBYZERO): Likewise.
10924 (FE_OVERFLOW): Likewise.
10925 (FE_UNDERFLOW): Likewise.
10926 (FE_INEXACT): Likewise.
10927 (FE_TONEAREST): Likewise.
10928 (FE_DOWNWARD): Likewise.
10929 (FE_UPWARD): Likewise.
10930 (FE_TOWARDZERO): Likewise.
10931 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10932 (FE_UNDERFLOW): Likewise.
10933 (FE_OVERFLOW): Likewise.
10934 (FE_DIVBYZERO): Likewise.
10935 (FE_INVALID): Likewise.
10936 (FE_TONEAREST): Likewise.
10937 (FE_TOWARDZERO): Likewise.
10938 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10939 (FE_OVERFLOW): Likewise.
10940 (FE_UNDERFLOW): Likewise.
10941 (FE_DIVBYZERO): Likewise.
10942 (FE_INEXACT): Likewise.
10943 (FE_TONEAREST): Likewise.
10944 (FE_TOWARDZERO): Likewise.
10945 (FE_UPWARD): Likewise.
10946 (FE_DOWNWARD): Likewise.
10947 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10948 (FE_DIVBYZERO): Likewise.
10949 (FE_OVERFLOW): Likewise.
10950 (FE_UNDERFLOW): Likewise.
10951 (FE_INEXACT): Likewise.
10952 (FE_TONEAREST): Likewise.
10953 (FE_DOWNWARD): Likewise.
10954 (FE_UPWARD): Likewise.
10955 (FE_TOWARDZERO): Likewise.
10956
10957 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10958
10959 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10960
10961 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10962
10963 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10964 commands. Quote $PWD.
10965 (blacklist_exports): Don't use remove_newlines. Replace "declare
10966 -x" by "export".
10967 (remove_newlines): Remove.
10968
10969 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10970
10971 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10972 * stdlib/stdlib.h (atof): Moved to ...
10973 * include/bits/stdlib-float.h: Here. New file.
10974 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10975 * stdlib/bits/stdlib-float.h: New file.
10976 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10977 -mno-sse -mno-mmx.
10978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10979 <xmmintrin.h>.
10980
10981 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10982
10983 * conform/conformtest.pl (@headers): Add fenv.h.
10984 * conform/data/fenv.h-data: New file.
10985 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10986 include of <math/fenv.h>.
10987
10988 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10989 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10990 && !UNIX98]. Enables tests for XOPEN2K8.
10991 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10992 POSIX2008]: Likewise.
10993
10994 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10995 (struct rusage): Do not expect type or its members.
10996
10997 [BZ #3439]
10998 * math/math.h (FP_NAN): Define macro to integer constant usable in
10999 #if and use that to give value to enum constant.
11000 (FP_INFINITE): Likewise.
11001 (FP_ZERO): Likewise.
11002 (FP_SUBNORMAL): Likewise.
11003 (FP_NORMAL): Likewise.
11004
11005 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11006
11007 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11008 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11009 arguments.
11010
11011 2012-11-02 Roland McGrath <roland@hack.frob.com>
11012
11013 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11014 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11015 autoconf-time if not.
11016 * configure.in: Remove AC_PREREQ.
11017
11018 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11019
11020 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11021 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11022 of the internal implementation.
11023
11024 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11025
11026 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11027 except include of <misc/sys/syslog.h>.
11028
11029 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11030
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11032 function returns with a NULL context exit with zero.
11033
11034 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11035
11036 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11037
11038 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11039
11040 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11041 (run_program_cmd): This.
11042 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11043 (tst_langinfo): New variable. Use it.
11044
11045 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11046
11047 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11048 floating point opcodes.
11049
11050 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11051
11052 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11053 variable.
11054
11055 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11056
11057 * sysdeps/mach/hurd/powerpc: Remove directory.
11058 * sysdeps/mach/powerpc: Likewise.
11059
11060 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11061
11062 * scripts/check-local-headers.sh: Ignore c++ headers.
11063
11064 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11065
11066 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11067 __libc_cleanup_region_start argument.
11068
11069 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11070
11071 [BZ #14784]
11072 [BZ #14785]
11073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11074 x * y using scaling, not as x * y + z.
11075 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11076 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11077 * math/libm-test.inc (fma_test): Add more tests.
11078 (fma_test_towardzero): Likewise.
11079 (fma_test_downward): Likewise.
11080 (fma_test_upward): Likewise.
11081
11082 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11083
11084 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11085
11086 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11087
11088 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11089 New variable.
11090
11091 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11092
11093 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11094
11095 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11096
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11098 Fix sort order.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11100 Likewise.
11101
11102 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11103
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11105 Fix the order of the list for glibc 2.17.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11107 Likewise.
11108
11109 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11110
11111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11112
11113 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11114
11115 [BZ #14610]
11116 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11117 for low part of x being zero before using __atanl (y).
11118 * math/libm-test.inc (atan2_test): Add another test.
11119
11120 * manual/install.texi (Configuring and compiling): Document
11121 general use of test-wrapper and test-wrapper-env.
11122 * INSTALL: Regenerated.
11123
11124 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11125 (__fma): Do not extract and scale down low bits on after-rounding
11126 systems when result rounded to normal precision would have normal
11127 exponent.
11128 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11129 (__fmal): Do not extract and scale down low bits on after-rounding
11130 systems when result rounded to normal precision would have normal
11131 exponent.
11132 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11133 (__fmal): Do not extract and scale down low bits on after-rounding
11134 systems when result rounded to normal precision would have normal
11135 exponent.
11136 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11137 macro.
11138 (fma_test): Add more tests.
11139 (fma_test_towardzero): Likewise.
11140 (fma_test_downward): Likewise.
11141 (fma_test_upward): Likewise.
11142
11143 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11144
11145 * sysdeps/i386/tininess.h: Renamed to ...
11146 * sysdeps/x86/tininess.h: This.
11147 * sysdeps/x86_64/tininess.h: Removed.
11148
11149 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11150
11151 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11152 input. Use $(build-program-cmd).
11153 ($(objpfx)tst-array1-static.out): Likewise.
11154 ($(objpfx)tst-array2.out): Likewise.
11155 ($(objpfx)tst-array3.out): Likewise.
11156 ($(objpfx)tst-array4.out): Likewise.
11157 ($(objpfx)tst-array5.out): Likewise.
11158 ($(objpfx)tst-array5-static.out): Likewise.
11159
11160 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11161
11162 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11163 if defined.
11164
11165 * nss/nsswitch.h (nss_interface_function): Provide new
11166 macro for use with NSS functions.
11167 * grp/initgroups.c: Use new macro.
11168 * nss/getXXbyYY.c: Likewise.
11169 * nss/getXXbyYY_r.c: Likewise.
11170 * nss/getXXent.c: Likewise.
11171 * nss/getXXent_r.c: Likewise.
11172 * sysdeps/posix/getaddrinfo.c: Likewise.
11173
11174 2012-10-30 Andreas Jaeger <aj@suse.de>
11175
11176 * po/ru.po: Update Russion translation from translation project.
11177
11178 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11179
11180 [BZ #14152]
11181 [BZ #14783]
11182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11183 result and shift together with sticky bit instead of replicating
11184 round-to-nearest rounding.
11185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11186 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11187 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11188 missing underflow exceptions.
11189 (fma_test_towardzero): Add more tests.
11190 (fma_test_downward): Likewise.
11191 (fma_test_upward): Likewise.
11192
11193 [BZ #14047]
11194 * sysdeps/generic/tininess.h: New file.
11195 * sysdeps/i386/tininess.h: Likewise.
11196 * sysdeps/sh/tininess.h: Likewise.
11197 * sysdeps/x86_64/tininess.h: Likewise.
11198 * stdlib/tst-strtod-underflow.c: Likewise.
11199 * stdlib/tst-tininess.c: Likewise.
11200 * stdlib/strtod_l.c: Include <tininess.h>.
11201 (round_and_return): Do not set errno for exact underflow cases.
11202 Force an underflow exception when setting errno for underflow.
11203 Determine underflow based on rounding to normal precision if
11204 TININESS_AFTER_ROUNDING.
11205 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11206 ERANGE for exact underflow cases.
11207 * stdlib/Makefile (tests): Add tst-tininess and
11208 tst-strtod-underflow.
11209 ($(objpfx)tst-tininess): Use $(link-libm).
11210 ($(objpfx)tst-strtod-underflow): Likewise.
11211
11212 2012-10-30 Andreas Jaeger <aj@suse.de>
11213
11214 [BZ#14767]
11215 * elf/Makefile (tests): Remove conditional for have-initfini-array
11216 since this is now always required and the variable does not exist
11217 anymore.
11218 (tests-static): Likewise.
11219 (modules-names): Likewise.
11220
11221 * po/eo.po: Add Esperanto translation from translation project.
11222
11223 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11224 merged with constructor/destructor.
11225 (init_array): Likewise.
11226 * elf/tst-array2dep.c (fini_array): Likewise.
11227 (init_array): Likewise.
11228
11229 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11230
11231 * manual/message.texi: Delete @cartouche tags.
11232
11233 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11234
11235 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11236 EOPNOTSUPP.
11237 * sysdeps/mach/hurd/fsync.c: Likewise.
11238
11239 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11240 [_POSIX_REALTIME_SIGNALS]: Change condition to
11241 [_POSIX_REALTIME_SIGNALS > 0].
11242
11243 2012-10-27 Andreas Jaeger <aj@suse.de>
11244
11245 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11246 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11248 [__WORDSIZE != 64]: Likewise.
11249
11250 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11251
11252 * iconvdata/tst-table.sh: Remove ${SHELL}.
11253 * iconvdata/tst-tables.sh: Likewise.
11254
11255 2012-10-25 David S. Miller <davem@davemloft.net>
11256
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11258 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11259 of strtoull.
11260
11261 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11262 ifunc-impl-list.c
11263 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11264 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11265 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11266 file.
11267
11268 2012-10-25 Roland McGrath <roland@hack.frob.com>
11269
11270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11271 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11272 __getdirentries.
11273
11274 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11275 Jim Blandy <jimb@codesourcery.com>
11276
11277 * scripts/cross-test-ssh.sh: New file.
11278 * manual/install.texi (Configuring and compiling): Document use of
11279 cross-test-ssh.sh.
11280 * INSTALL: Regenerated.
11281
11282 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11283
11284 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11285 EOPNOTSUPP.
11286
11287 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11288
11289 * Makeconfig (run-program-prefix): Fix comment.
11290
11291 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11292 Jim Blandy <jimb@codesourcery.com>
11293
11294 * Makeconfig (test-wrapper): New variable,
11295 (test-wrapper-env): Likewise.
11296 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11297 (run-built-tests): Define to yes.
11298 (run-program-prefix): Use $(test-wrapper).
11299 (built-program-cmd): Likewise.
11300 * Rules (make-test-out): Use $(test-wrapper-env) and
11301 $(host-built-program-cmd).
11302 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11303 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11304 tst-pathopt.sh.
11305 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11306 $(test-wrapper-env) to tst-rtld-load-self.sh.
11307 ($(objpfx)order2.out): Use $(test-wrapper).
11308 ($(objpfx)tst-initorder.out): Likewise.
11309 ($(objpfx)tst-initorder2.out): Likewise.
11310 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11311 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11312 (test_wrapper_env): New variable. Use it to run ld.so.
11313 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11314 Use it to run ld.so.
11315 (test_wrapper_env): Likewise.
11316 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11317 $(test-wrapper) to run-iconv-test.sh.
11318 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11319 (ICONV): Use $test_wrapper.
11320 * posix/Makefile ($(objpfx)globtest.out): Pass
11321 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11322 globtest.sh, not $(run-program-prefix).
11323 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11324 (test_wrapper): Likewise.
11325 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11326 set together with run_via_rtld_prefix.
11327 (run_program_prefix): Define in terms of test_wrapper and
11328 run_via_rtld_prefix.
11329
11330 2012-10-24 Roland McGrath <roland@hack.frob.com>
11331
11332 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11333 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11334 Targets removed.
11335
11336 [BZ #14743]
11337 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11338 Declare __clock_getres, __clock_gettime, __clock_settime,
11339 __clock_nanosleep, and __clock_getcpuclockid.
11340 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11341 Remove librt_hidden_def (clock_gettime).
11342 * sysdeps/unix/clock_gettime.c: Likewise.
11343 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11344 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11345 * rt/clock_getres.c: Define __clock_getres as an alias.
11346 * sysdeps/posix/clock_getres.c: Likewise.
11347 * rt/clock_settime.c: Define __clock_settime as an alias.
11348 * sysdeps/unix/clock_settime.c: Likewise.
11349 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11350 * sysdeps/unix/clock_nanosleep.c: Likewise.
11351 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11352 * rt/clock-compat.c: New file.
11353 * rt/Makefile (librt-routines): Add clock-compat and move
11354 $(clock-routines) to ...
11355 (routines): ... here, new variable.
11356 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11357 Don't add get_clockfreq here.
11358 * rt/Versions (libc: GLIBC_2.17): New version set.
11359 Add clock_* symbols here.
11360 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11361 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11362 (GLIBC_2.17): Add clock_* symbols.
11363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11367 Likewise.
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11369 Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11374 * NEWS: Mention the move.
11375
11376 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11377 Use __open, __read, __close rather than their public counterparts.
11378 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11379 (__get_clockfreq_via_cpuinfo): Likewise.
11380 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11381 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11382
11383 * config.h.in (HAVE_IFUNC): New #undef.
11384 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11385 was successful.
11386 * configure: Regenerated.
11387
11388 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11389
11390 * configure.in: Move READELF check to start of file.
11391 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11392 libc_cv_asm_gnu_indirect_function in the process.
11393 * configure: Regenerated.
11394
11395 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11396
11397 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11398 send the output to /dev/null.
11399 (libc_cv_cc_with_libunwind): Likewise.
11400 (libc_cv_as_noexecstack): Likewise.
11401 * configure: Regenerate.
11402
11403 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11404
11405 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11406
11407 * posix/globtest.sh (TMPDIR): Do not set.
11408 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11409 (testout): Likewise.
11410
11411 2012-10-24 Andreas Jaeger <aj@suse.de>
11412
11413 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11414 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11415 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11416 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11417 posix_fadvise64, posix_fallocate64.
11418
11419 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11420 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11421 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11422 Likewise.
11423 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11424 Likewise.
11425 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11426
11427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11428 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11429 <bits/fcntl-linux.h>.
11430 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11431
11432 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11433 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11434 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11435 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11436 [__WORDSIZE != 64]: Likewise.
11437
11438 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11439
11440 * Makeconfig (run-built-tests): New variable.
11441 * Rules [$(cross-compiling) = yes]: Change condition to
11442 [$(run-built-tests) = no].
11443 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11444 to [$(run-built-tests) = yes].
11445 * elf/Makefile [$(cross-compiling) = no]: Likewise
11446 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11447 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11448 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11449 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11450 * io/Makefile [$(cross-compiling) = no]: Likewise.
11451 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11452 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11453 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11454 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11455 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11456 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11457 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11458 * string/Makefile [$(cross-compiling) = no]: Likewise.
11459
11460 * posix/Makefile ($(objpfx)globtest.out): Pass
11461 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11462 $(rtld-installed-name).
11463 * posix/globtest.sh (elf_objpfx): Remove variable.
11464 (rtld_installed_name): Likewise.
11465 (library_path): Likewise.
11466 (run_program_prefix): New variable. Use for running globtest
11467 binary.
11468
11469 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11470 Joseph Myers <joseph@codesourcery.com>
11471
11472 * Makeconfig (host-built-program-cmd): New variable.
11473 * elf/Makefile (tst-stackguard1-ARGS): Use
11474 $(host-built-program-cmd).
11475 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11476 (tst-spawn-ARGS): Likewise.
11477 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11478
11479 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11480 Jim Blandy <jimb@codesourcery.com>
11481
11482 * Makeconfig (run-via-rtld-prefix): New variable.
11483 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11484 (built-program-cmd): Likewise.
11485
11486 2012-10-22 Andreas Jaeger <aj@suse.de>
11487
11488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11489 __O_RSYNC if it exists, otherwise to O_SYNC.
11490
11491 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11492 Joseph Myers <joseph@codesourcery.com>
11493
11494 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11495 /dev/null.
11496 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11497 from /dev/null
11498 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11499 /dev/null.
11500
11501 2012-10-22 Andreas Jaeger <aj@suse.de>
11502
11503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11504 Define always.
11505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11506
11507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11508 bits/fcntl-linux.h.
11509
11510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11511 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11512
11513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11514 to __O_LARGEFILE.
11515 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11516 to __O_LARGEFILE.
11517
11518 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11519 Joseph Myers <joseph@codesourcery.com>
11520
11521 * config.make.in (NM): New variable.
11522
11523 2012-10-21 Andreas Jaeger <aj@suse.de>
11524
11525 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11526 definitions and declarations that are provided by
11527 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11528
11529 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11530
11531 [BZ #14683]
11532 * elf/Makefile (tests-static): Add tst-leaks1-static.
11533 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11534 ($(objpfx)tst-leaks1-static): New rule.
11535 ($(objpfx)tst-leaks1-static-mem): Likewise.
11536 (tst-leaks1-static-ENV): New macro.
11537 * elf/dl-open.c (dl_open_worker): Check the main application
11538 only if SHARED is defined.
11539 * elf/tst-leaks1-static.c: New file.
11540
11541 2012-10-20 Andreas Jaeger <aj@suse.de>
11542
11543 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11544 generic values for Linux.
11545 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11546 and declarations that are provided by <bits/fcntl-linux.h> and
11547 include <bits/fcntl-linux.h>.
11548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11550
11551 2012-10-20 Roland McGrath <roland@hack.frob.com>
11552
11553 * io/fcntl.h: Move include of <bits/types.h> to the top and
11554 include it unconditionally.
11555
11556 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11557
11558 * wcsmbs/Makefile (tests-ifunc): New variable.
11559 (tests): Add $(tests-ifunc).
11560 * wcsmbs/test-wcschr-ifunc.c: New file.
11561 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11562 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11563 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11564 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11565 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11566
11567 * string/Makefile (tests-ifunc): New variable.
11568 (tests): Add $(tests-ifunc).
11569 * string/test-memccpy.c (TEST_NAME): New macro.
11570 * string/test-memchr.c (TEST_NAME): Likewise.
11571 * string/test-memcmp.c (TEST_NAME): Likewise.
11572 * string/test-memcpy.c (TEST_NAME): Likewise.
11573 * string/test-memmem.c (TEST_NAME): Likewise.
11574 * string/test-memmove.c (TEST_NAME): Likewise.
11575 * string/test-memset.c (TEST_NAME): Likewise.
11576 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11577 * string/test-stpcpy.c (TEST_NAME): Likewise.
11578 * string/test-stpncpy.c (TEST_NAME): Likewise.
11579 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11580 * string/test-strcasestr.c (TEST_NAME): Likewise.
11581 * string/test-strcat.c (TEST_NAME): Likewise.
11582 * string/test-strchr.c (TEST_NAME): Likewise.
11583 * string/test-strcmp.c(TEST_NAME): Likewise.
11584 * string/test-strcpy.c (TEST_NAME): Likewise.
11585 * string/test-strcspn.c (TEST_NAME): Likewise.
11586 * string/test-strlen.c (TEST_NAME): Likewise.
11587 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11588 * string/test-strncmp.c (TEST_NAME): Likewise.
11589 * string/test-strncpy.c (TEST_NAME): Likewise.
11590 * string/test-strnlen.c (TEST_NAME): Likewise.
11591 * string/test-strpbrk.c (TEST_NAME): Likewise.
11592 * string/test-strrchr.c (TEST_NAME): Likewise.
11593 * string/test-strspn.c (TEST_NAME): Likewise.
11594 * string/test-strstr.c (TEST_NAME): Likewise.
11595 * string/test-bcopy-ifunc.c: New file.
11596 * string/test-bzero-ifunc.c: Likewise.
11597 * string/test-memccpy-ifunc.c: Likewise.
11598 * string/test-memchr-ifunc.c: Likewise.
11599 * string/test-memcmp-ifunc.c: Likewise.
11600 * string/test-memcpy-ifunc.c: Likewise.
11601 * string/test-memmem-ifunc.c: Likewise.
11602 * string/test-memmove-ifunc.c: Likewise.
11603 * string/test-mempcpy-ifunc.c: Likewise.
11604 * string/test-memset-ifunc.c: Likewise.
11605 * string/test-rawmemchr-ifunc.c: Likewise.
11606 * string/test-stpcpy-ifunc.c: Likewise.
11607 * string/test-stpncpy-ifunc.c: Likewise.
11608 * string/test-strcasecmp-ifunc.c: Likewise.
11609 * string/test-strcasestr-ifunc.c: Likewise.
11610 * string/test-strcat-ifunc.c: Likewise.
11611 * string/test-strchr-ifunc.c: Likewise.
11612 * string/test-strchrnul-ifunc.c: Likewise.
11613 * string/test-strcmp-ifunc.c: Likewise.
11614 * string/test-strcpy-ifunc.c: Likewise.
11615 * string/test-strcspn-ifunc.c: Likewise.
11616 * string/test-strlen-ifunc.c: Likewise.
11617 * string/test-strncasecmp-ifunc.c: Likewise.
11618 * string/test-strncat-ifunc.c: Likewise.
11619 * string/test-strncmp-ifunc.c: Likewise.
11620 * string/test-strncpy-ifunc.c: Likewise.
11621 * string/test-strnlen-ifunc.c: Likewise.
11622 * string/test-strpbrk-ifunc.c: Likewise.
11623 * string/test-strrchr-ifunc.c: Likewise.
11624 * string/test-strspn-ifunc.c: Likewise.
11625 * string/test-strstr-ifunc.c: Likewise.
11626
11627 * debug/Makefile (tests-ifunc): New variable.
11628 (tests): Add $(tests-ifunc).
11629 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11630 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11631 * debug/test-stpcpy_chk-ifunc.c: New file.
11632 * debug/test-strcpy_chk-ifunc.c: Likewise.
11633
11634 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11635
11636 [BZ #13601]
11637 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11638 header is not read in.
11639
11640 2012-10-19 Joseph Myers <joseph@codesourcery.com>
11641
11642 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11643 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11644 directly. Pass built executable to script as
11645 $(built-program-cmd).
11646 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11647 $testprogram without using LD_LIBRARY_PATH and $ldso.
11648
11649 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11650 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11651 $(rtld-installed-name).
11652 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11653 (rtld_installed_name): Likewise.
11654 (library_path): Likewise.
11655 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11656 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11657 $(run-program-prefix) to tst-tables.sh.
11658 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11659 it to run tst-table-from and tst-table-to.
11660 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11661 Pass it to tst-table.sh.
11662 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11663 $(run-program-prefix) to tst-gettext.sh.
11664 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11665 tst-translit.sh.
11666 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11667 tst-gettext2.sh.
11668 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11669 to run tst-gettext.
11670 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11671 to run tst-gettext2.
11672 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11673 to run tst-translit.
11674 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11675 $(run-program-prefix) to tst-mtrace.sh.
11676 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11677 to run tst-mtrace.
11678 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11679 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11680 $(rtld-installed-name).
11681 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11682 (rtld_installed_name): Likewise.
11683 (run_program_prefix): New variable. Use it to run wordexp-test.
11684
11685 * Makeconfig (ARCH): Remove all definitions.
11686 (machine): Likewise.
11687 [ARCH]: Remove conditional code.
11688 [!objdir]: Give error.
11689 [!objdir] (objpfx): Remove.
11690 [!objdir] (common-objpfx): Likewise.
11691 [!objdir] (common-objdir): Likewise.
11692 * configure.in (config_makefile): Remove. Hardcode Makefile in
11693 AC_CONFIG_FILES call.
11694 * configure: Regenerated.
11695
11696 [BZ #13888]
11697 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11698 or TMPDIR.
11699 (testout): Likewise.
11700
11701 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11702 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11703 $(rtld-installed-name).
11704 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11705 (rtld_installed_name): Likwise.
11706 (runit): Remove function.
11707 (run_getconf): New variable, Use it for running getconf binary.
11708
11709 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11710
11711 [BZ #14716]
11712 * string/test-memmem.c (check_result): New function.
11713 (do_one_test): Use it.
11714 (check1): New function.
11715 (test_main): Use it.
11716
11717 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11718
11719 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11720
11721 2012-10-18 Joseph Myers <joseph@codesourcery.com>
11722
11723 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11724 (_G_LSEEK64): Likewise.
11725 (_G_MMAP64): Likewise.
11726 (_G_FSTAT64): Likewise.
11727 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11728 (_G_LSEEK64): Likewise.
11729 (_G_MMAP64): Likewise.
11730 (_G_FSTAT64): Likewise.
11731 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11732 unconditional. Call __mmap64 directly.
11733 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11734 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11735 __lseek64 directly.
11736 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11737 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11738 __mmap64 directly.
11739 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11740 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11741 __lseek64 directly.
11742 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11743 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11744 __lseek64 directly.
11745 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11746 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11747 __lseek64 directly.
11748 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11749 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11750 __fxstat64 directly.
11751 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11752 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11753 unconditional.
11754 (freopen64) [!_G_OPEN64]: Remove conditional code.
11755 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11756 unconditional.
11757 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11758 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11759 unconditional.
11760 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11761 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11762 unconditional.
11763 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11764 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11765 unconditional.
11766 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11767 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11768 unconditional.
11769 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11770 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11771 unconditional.
11772 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11773 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11774 unconditional.
11775 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11776
11777 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11778
11779 [BZ #12140]
11780 * manual/memory.texi (Malloc Tunable Parameters): Add note
11781 about free list pointers overwriting some perturb bytes.
11782 Wording suggested by Roland McGrath.
11783
11784 2012-10-17 Joseph Myers <joseph@codesourcery.com>
11785
11786 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11787 (lgamma_test): Likewise.
11788 (tgamma_test): Likewise.
11789
11790 2012-10-16 Florian Weimer <fweimer@redhat.com>
11791
11792 [BZ #14700]
11793 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11794 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11795
11796 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11797
11798 * NEWS: Mention BZ #14716.
11799 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11800 when removing AVAILABLE1_USES_J macro.
11801
11802 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11803
11804 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11805 (__bswap_64): __uint64_t for unsigned 64-bit int.
11806
11807 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11808
11809 * include/string.h (memmem): Declare libc hidden alias.
11810 * string/memmem.c (memmem): Define libc hidden alias.
11811 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11812 __read, __close instead of open, read, close.
11813
11814 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11815
11816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11817 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11818 global and hidden.
11819 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11820 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11821 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11822 Likewise.
11823 (__rawmemchr_sse2): Likewise.
11824 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11825 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11826 (__strchr_sse2): Likewise.
11827 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11828 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11829 (__strcasecmp_sse2): Likewise.
11830 (__strncasecmp_sse2): Likewise.
11831 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11832 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11833 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11834 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11835 (__strrchr_sse2): Likewise.
11836 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11837 ifunc-impl-list.c.
11838 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11839 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11840 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11841 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11842 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11843 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11844 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11845 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11846 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11847 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11848 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11849 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11850 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11851 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11852 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11853 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11854 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11855 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11856 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11857 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11858 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11859 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11860 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11861 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11862 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11863 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11864 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11865 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11866 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11867 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11868
11869 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11870 global and hidden.
11871 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11872 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11873 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11874 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11875 Likewise.
11876 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11877 Likewise.
11878 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11879 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11880 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11881 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11882 ifunc-impl-list.c.
11883 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11884 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11885 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11886 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11887 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11888 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11889 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11890 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11891 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11892 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11893 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11894 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11895 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11896 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11897 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11898 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11899 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11900 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11901 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11902 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11903 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11904 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11905 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11906 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11907 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11908 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11909 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11910 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11911 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11912 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11913 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11914 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11915 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11916 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11917 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11918 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11919 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11920 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11921 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11922 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11923 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11924
11925 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11926 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11927 * include/ifunc-impl-list.h: New file.
11928 * misc/ifunc-impl-list.c: Likewise.
11929 * misc/Makefile (routines): Add ifunc-impl-list.
11930 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11931 * string/test-string.h: Include <ifunc-impl-list.h>.
11932 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11933 impl_array): New variables.
11934 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11935 are defined.
11936 (test_init): Call __libc_ifunc_impl_list to initialize
11937 func_list if TEST_IFUNC and TEST_NAME are defined.
11938
11939 * string/Makefile (strop-tests): Add bcopy and bzero.
11940 * string/test-bcopy.c: New file.
11941 * string/test-bzero.c: Likewise.
11942 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11943 defined.
11944 * string/test-memset.c: Support bzero test if TEST_BZERO is
11945 defined.
11946 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11947 __libc_memmove.
11948 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11949 __libc_memset.
11950 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11951 of memset.
11952
11953 2012-10-10 Joseph Myers <joseph@codesourcery.com>
11954
11955 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11956 * configure: Regenerated.
11957
11958 * Makeconfig (+link-static-before-libc): Don't include
11959 $(link-static-libc).
11960
11961 * libio/libio.h (_IO_pos_t): Remove.
11962
11963 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11964
11965 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11966 McGrath.
11967
11968 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11969
11970 * crypt/crypt-entry.c: Include fips-private.h.
11971 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11972 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11973 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11974 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11975
11976 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11977
11978 * crypt/crypt-private.h: Include stdbool.h.
11979 (_ufc_setup_salt_r): Return bool.
11980 * crypt/crypt-entry.c: Include errno.h.
11981 (__crypt_r): Return NULL with EINVAL for bad salt.
11982 * crypt/crypt_util.c (bad_for_salt): New.
11983 (_ufc_setup_salt_r): Check that salt is long enough and within
11984 the specified alphabet.
11985 * crypt/badsalttest.c: New file.
11986 * crypt/Makefile (tests): Add it.
11987 ($(objpfx)badsalttest): New.
11988
11989 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11990
11991 * NEWS: Add entry for BZ #14602.
11992
11993 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11994
11995 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11996 type-generic.
11997 * math/libm-test.inc: Update comment listing what functions and
11998 macros are tested.
11999 (isgreater_test): New function.
12000 (isgreaterequal_test): Likewise.
12001 (isless_test): Likewise.
12002 (islessequal_test): Likewise.
12003 (islessgreater_test): Likewise.
12004 (isunordered_test): Likewise.
12005 (main): Call the new functions.
12006
12007 2012-10-09 Roland McGrath <roland@hack.frob.com>
12008
12009 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12010 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12011 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12012 * sysdeps/i386/configure: Regenerated.
12013 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12014 * sysdeps/mach/configure: Regenerated.
12015 * sysdeps/mach/hurd/configure: Regenerated.
12016 * sysdeps/powerpc/configure: Regenerated.
12017 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12018 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12019 * sysdeps/s390/s390-32/configure: Regenerated.
12020 * sysdeps/s390/s390-64/configure: Regenerated.
12021 * sysdeps/sh/configure: Regenerated.
12022 * sysdeps/sparc/configure: Regenerated.
12023 * sysdeps/unix/sysv/linux/configure: Regenerated.
12024 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12025 * sysdeps/x86_64/configure: Regenerated.
12026
12027 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12028 defined. Don't check if MAP is NULL.
12029
12030 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12031
12032 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12033 (_G_stat64): Likewise.
12034 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12035 (_G_stat64): Likewise.
12036 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12037 instead of struct _G_stat64.
12038 * libio/fileops.c (mmap_remap_check): Likewise.
12039 (decide_maybe_mmap): Likewise.
12040 (_IO_new_file_seekoff): Likewise.
12041 (_IO_file_stat): Likewise.
12042 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12043 _G_off64_t.
12044 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12045 instead of struct _G_stat64.
12046 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12047
12048 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12049
12050 [BZ #14602]
12051 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12052 Replace with ...
12053 (CHECK_EOL): New macro.
12054 (two_way_short_needle): Check beginning of haystack for EOL. Use
12055 CHECK_EOL.
12056 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12057 Replace with CHECK_EOL.
12058 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12059 Replace with CHECK_EOL.
12060
12061 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12062
12063 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12064 type-generic.
12065 * math/libm-test.inc: Update comment listing what functions and
12066 macros are tested.
12067 (finite_test): New function.
12068 (isinf_test): Likewise.
12069 (isnan_test): Likewise.
12070 (fpclassify_test): Test subnormal input.
12071 (isfinite_test): Likewise.
12072 (isnormal_test): Likewise.
12073 (main): Call the new functions.
12074
12075 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12076
12077 [BZ #14660]
12078 * Makerules (%.dynsym): Force C locale when running
12079 $(OBJDUMP) --dynamic-syms.
12080
12081 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12082
12083 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12084 <stdint.h>.
12085
12086 2012-10-06 David S. Miller <davem@davemloft.net>
12087
12088 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12089 upper 32-bits of the length value in %o2 since we use branch-on-register
12090 tests which consider the entire 64-bit register.
12091
12092 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12093
12094 * string/test-strstr.c (check2): Add a test for page boundary.
12095
12096 2012-10-05 David S. Miller <davem@davemloft.net>
12097
12098 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12099 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12100 file.
12101 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12102 sysdep_routines.
12103 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12104 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12105 and bzero when HWCAP_SPARC_CRYPTO is present.
12106
12107 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12108
12109 [BZ #14602]
12110 * string/test-strstr.c (check2): New function.
12111 (test_main): Call check2.
12112
12113 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12114 and bug-strchr1.
12115 * string/bug-strcasestr1.c (do_test): Moved to ...
12116 * string/test-strcasestr.c (check1): Here. New function.
12117 (do_one_test): Break out result checking code into ...
12118 (check_result): This. New function.
12119 (do_one_test): Call check_result.
12120 (test_main): Call check1.
12121 * string/bug-strchr1.c (do_test): Moved to ...
12122 * string/test-strchr.c (check1): Here. New function.
12123 (do_one_test): Break out result checking code into ...
12124 (check_result): This. New function.
12125 (do_one_test): Call check_result.
12126 (test_main): Call check1.
12127 * string/bug-strstr1.c (main): Moved to ...
12128 * string/test-strstr.c (check1): Here. New function.
12129 (do_one_test): Break out result checking code into ...
12130 (check_result): This. New function.
12131 (do_one_test): Call check_result.
12132 (test_main): Call check1.
12133 * string/bug-strcasestr1.c: Removed.
12134 * string/bug-strchr1.c: Likewise.
12135 * string/bug-strstr1.c: Likewise.
12136
12137 * elf/Makefile (dl-routines): Add hwcaps.
12138 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12139 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12140 (_dl_important_hwcaps): Moved to ...
12141 * elf/dl-hwcaps.c: Here. New file.
12142 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12143
12144 [BZ #14557]
12145 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12146 if IS_IN_rtld isn't defined.
12147
12148 * elf/dl-support.c (_dl_sysinfo_map): New.
12149 Include "get-dynamic-info.h" and "setup-vdso.h".
12150 (_dl_non_dynamic_init): Call setup_vdso.
12151 * elf/dynamic-link.h: Don't include <assert.h>.
12152 (elf_get_dynamic_info): Moved to ...
12153 * elf/get-dynamic-info.h: Here. New file.
12154 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12155 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12156 * elf/setup-vdso.h: Here. New file.
12157 * elf/rtld.c: Include "setup-vdso.h".
12158 (dl_main): Call setup_vdso.
12159
12160 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12161
12162 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12163 creal in comment listing functions tested. List finite, isinf,
12164 isnan, isless, islessequal, isgreater, isgreaterequal,
12165 islessgreater, isunordered, lgamma_r and pow10 as functions and
12166 macros not tested. Mention which functions not tested are aliases
12167 for other functions. Fix typo. Note that signs of NaNs are not
12168 tested.
12169
12170 * scripts/config.guess: Update from config.git.
12171 * scripts/config.sub: Likewise.
12172
12173 2012-10-04 Roland McGrath <roland@hack.frob.com>
12174
12175 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12176 * misc/madvise.c (madvise): Renamed to __madvise.
12177 Make madvise a weak alias.
12178 * include/sys/mman.h: Declare __madvise.
12179 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12180 * sysdeps/unix/syscalls.list
12181 (madvise): Make __madvise the strong name, and madvise a weak alias.
12182 * sysdeps/unix/sysv/linux/syscalls.list
12183 (madvise, mmap): Remove redundant entries.
12184 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12185 * malloc/malloc.c (mtrim): Likewise.
12186 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12187
12188 2012-10-03 Roland McGrath <roland@hack.frob.com>
12189
12190 * sysdeps/mach/hurd/dl-cache.c: File removed.
12191 * config.h.in (USE_LDCONFIG): New #undef.
12192 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12193 * configure: Regenerated.
12194 * elf/Makefile (dl-routines): Add dl-cache only under
12195 [$(use-ldconfig) = yes].
12196 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12197 cache on [USE_LDCONFIG].
12198 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12199 [USE_LDCONFIG].
12200 * elf/rtld.c (dl_main): Likewise.
12201
12202 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12203
12204 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12205 _SC_LEVEL4_CACHE_LINESIZE.
12206
12207 2012-10-03 Roland McGrath <roland@hack.frob.com>
12208
12209 * sysdeps/unix/bsd/confstr.h: File removed.
12210
12211 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12212
12213 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12214 sys/sdt-config.h.
12215
12216 2012-10-02 Roland McGrath <roland@hack.frob.com>
12217
12218 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12219 Make 'mapoff' field ElfW(Off) rather than off_t.
12220
12221 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12222
12223 * nscd/Makefile: Remove nscd-cflags and all its users.
12224 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12225 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12226
12227 [BZ #10631]
12228 * malloc.c (malloc_printerr): Clarify error message.
12229
12230 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12231
12232 [BZ #14648]
12233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12234 Set bit_FMA_Usable if FMA is supported.
12235 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12236 macro.
12237 (bit_FMA4_Usable): Updated.
12238 (index_FMA_Usable): New macro.
12239 (CPUID_FMA): Likewise
12240 (HAS_FMA): Defined with bit_FMA_Usable.
12241
12242 2012-10-01 Roland McGrath <roland@hack.frob.com>
12243
12244 * bits/types.h (__swblk_t): Type removed.
12245 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12246 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12248 (__SWBLK_T_TYPE): Likewise.
12249 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12250 (__SWBLK_T_TYPE): Likewise.
12251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12252 (__SWBLK_T_TYPE): Likewise.
12253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12254 (__SWBLK_T_TYPE): Likewise.
12255
12256 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12257 Honza Horak <hhorak@redhat.com>
12258
12259 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12260 (xdr_mapname): Use YPMAXMAP as maxsize.
12261 (xdr_peername): Use YPMAXPEER as maxsize.
12262 (xdr_keydat): Use YPAXRECORD as maxsize.
12263 (xdr_valdat): Use YPMAXRECORD as maxsize.
12264
12265 2012-10-01 Roland McGrath <roland@hack.frob.com>
12266
12267 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12268
12269 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12270 * csu/init-first.c: ... here.
12271 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12272 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12273 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12274 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12275 * sysdeps/i386/init-first.c: File removed.
12276 * sysdeps/sh/init-first.c: File removed.
12277
12278 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12279
12280 [BZ #14645]
12281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12282 if x * y might underflow to zero and z is zero.
12283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12285 * math/libm-test.inc (min_subnorm_value): New variable.
12286 (fma_test): Add more tests.
12287 (fma_test_towardzero): Likewise.
12288 (fma_test_downward): Likewise
12289 (fma_test_upward): Likewise.
12290 (initialize): Set min_subnorm_value.
12291
12292 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12293
12294 [BZ #14638]
12295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12296 0 + 0.
12297 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12298 mode for addition resulting in exact zero.
12299 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12300 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12301 exact 0 + 0.
12302 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12303 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12304 * math/libm-test.inc (fma_test): Add more tests.
12305 (fma_test_towardzero): New function.
12306 (fma_test_downward): Likewise.
12307 (fma_test_upward): Likewise.
12308 (main): Call the new functions.
12309
12310 2012-09-28 David S. Miller <davem@davemloft.net>
12311
12312 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12313
12314 2012-09-28 Roland McGrath <roland@hack.frob.com>
12315
12316 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12317 instead of SIGALRM.
12318
12319 * sysdeps/gnu/_G_config.h: Moved to ...
12320 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12321 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12322 * sysdeps/generic/_G_config.h: ... here.
12323
12324 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12325
12326 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12327
12328 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12329 Conditionalize target on [libnss_test1.so-version].
12330
12331 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12332
12333 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12334 (elfobjdir): Move out of conditionals.
12335
12336 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12337 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12338 (__nss_lookup_function): Conditionalize label remove_from_tree on
12339 [!DO_STATIC_NSS || SHARED], matching its only use.
12340
12341 2012-09-28 David S. Miller <davem@davemloft.net>
12342
12343 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12344 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12345 file.
12346 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12347 sysdep_routines.
12348 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12350 when HWCAP_SPARC_CRYPTO is present.
12351
12352 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12353
12354 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12355
12356 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12357
12358 [BZ #6530]
12359 * stdio-common/vfprintf.c (process_string_arg): Revert
12360 2000-07-22 change.
12361
12362 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12363
12364 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12365 for testcase.
12366 * stdio-common/tst-sprintf.c: Include <locale.h>
12367 (main): Test sprintf's handling of incomplete multibyte
12368 characters.
12369
12370 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12371
12372 * elf/dl-runtime.c (VERSYMIDX): Removed.
12373 * elf/dl-version.c (VERSYMIDX): Likewise.
12374 * elf/do-rel.h (VERSYMIDX): Likewise.
12375 (VALIDX): Likewise.
12376 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12377 * elf/rtld.c (VALIDX): Likewise.
12378 (ADDRIDX): Likewise.
12379 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12380 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12381 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12382 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12383 (VALIDX): Likewise.
12384 (ADDRIDX): Likewise.
12385
12386 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12387
12388 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12389
12390 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12391
12392 [BZ #11438]
12393 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12394 to global scope.
12395 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12396 addresses are in the same scope as 192.0.2/24.
12397 * posix/gai.conf: Document new scope table defaults.
12398
12399 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12400
12401 [BZ #5298]
12402 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12403 for ftell. Compute offsets from write pointers instead.
12404 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12405
12406 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12407
12408 [BZ #14543]
12409 * libio/Makefile (tests): New test case tst-fseek.
12410 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12411 combination works in wide mode.
12412 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12413 state when the external buffer state changes.
12414
12415 2012-09-27 David S. Miller <davem@davemloft.net>
12416
12417 [BZ #14376]
12418 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12419 pass reloc->r_addend in as the 'high' argument to
12420 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12421
12422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12423
12424 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12425
12426 * rt/tst-aio2.c: Include <pthread.h>.
12427 * rt/tst-aio3.c: Likewise.
12428
12429 2012-09-27 Steve Ellcey <sellcey@mips.com>
12430
12431 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12432
12433 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12434
12435 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12436 contents on [SHARED].
12437
12438 2012-09-26 Marek Polacek <polacek@redhat.com>
12439
12440 [BZ #14530]
12441 [BZ #13741]
12442 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12443 for C++ and GCC <4.3 as well as for non GCC compilers.
12444
12445 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12446
12447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12448
12449 2012-09-25 Roland McGrath <roland@hack.frob.com>
12450
12451 * Makefile.in (all, install): Declare with .PHONY.
12452 Reported by Michael Hope <michael.hope@linaro.org>.
12453
12454 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12455
12456 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12457 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12458 system header.
12459 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12460 Likewise.
12461 (sydep_routines): Add the new and the internal functions.
12462 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12463 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12465 (GLIBC_2.17): Add the new function.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12467 (GLIBC_2.17): Likewise.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12469 (GLIBC_2.17): Likewise.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12471 (GLIBC_2.17): Likewise.
12472 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12473
12474 2012-09-25 Alan Modra <amodra@gmail.com>
12475
12476 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12477 Add release barrier before setting once_control to say
12478 initialisation is done. Add hints on lwarx. Use macro in
12479 place of isync.
12480 (clear_once_control): Add release barrier.
12481
12482 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12483
12484 [BZ #13629]
12485 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12486 specially.
12487 * math/s_clog10.c (__clog10): Likewise.
12488 * math/s_clog10f.c (__clog10f): Likewise.
12489 * math/s_clog10l.c (__clog10l): Likewise.
12490 * math/s_clogf.c (__clogf): Likewise.
12491 * math/s_clogl.c (__clogl): Likewise.
12492 * math/Makefile (libm-calls): Add x2y2m1.
12493 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12494 (__x2y2m1): Likewise.
12495 (__x2y2m1l): Likewise.
12496 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12497 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12498 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12499 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12500 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12501 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12502 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12503 * sysdeps/i386/fpu/libm-test-ulps: Update.
12504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12505
12506 [BZ #14621]
12507 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12508 int as type of variable DEPTH.
12509 (glob): Use size_t instead of int as type of variables NEWCOUNT
12510 and OLD_PATHC.
12511
12512 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12513
12514 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12515 Add s_sincosf-sse2.
12516 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12517 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12518 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12519 macros for using routine as __sincosf_ia32.
12520 Use macro for function declaration and weak_alias.
12521 * sysdeps/i386/fpu/libm-test-ulps: Update.
12522
12523 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12525
12526 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12527 subnormal argument.
12528 * math/s_cexpf.c (__cexpf): Likewise.
12529 * math/s_csinf.c (__csinf): Likewise.
12530 * math/s_csinhf.c (__csinhf): Likewise.
12531 * math/s_ctanf.c (__ctanf): Likewise.
12532 * math/s_ctanhf.c (__ctanhf): Likewise.
12533 * math/s_ccosh.c (__ccoshf): Likewise.
12534 * math/s_cexp.c (__cexpl): Likewise.
12535 * math/s_csin.c (__csin): Likewise.
12536 * math/s_csinh.c (__csinh): Likewise.
12537 * math/s_ctan.c (__ctan): Likewise.
12538 * math/s_ctanh.c (ctanh): Likewise.
12539 * math/s_ccoshl.c (__ccoshl): Likewise.
12540 * math/s_cexpl.c (__cexpl): Likewise.
12541 * math/s_csinl.c (__csinl): Likewise.
12542 * math/s_csinhl.c (__csinhl): Likewise.
12543 * math/s_ctanl.c (__ctanl): Likewise.
12544 * math/s_ctanhl.c (__ctanhl): Likewise.
12545
12546 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12547
12548 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12549 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12550 (_IO_off_t): Define to __off_t, not _G_off_t.
12551 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12552 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12553 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12554 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12555 type of __dummy and __dummy2 fields.
12556 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12557 (_G_ssize_t): Likewise.
12558 (_G_off_t): Likewise.
12559 (_G_pid_t): Likewise.
12560 (_G_uid_t): Likewise.
12561 (_G_wchar_t): Likewise.
12562 (_G_wint_t): Likewise.
12563 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12564 (_G_ssize_t): Likewise.
12565 (_G_off_t): Likewise.
12566 (_G_pid_t): Likewise.
12567 (_G_uid_t): Likewise.
12568 (_G_wchar_t): Likewise.
12569 (_G_wint_t): Likewise.
12570 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12571 (_G_ssize_t): Likewise.
12572 (_G_off_t): Likewise.
12573 (_G_pid_t): Likewise.
12574 (_G_uid_t): Likewise.
12575 (_G_wchar_t): Likewise.
12576 (_G_wint_t): Likewise.
12577
12578 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12579
12580 * malloc/arena.c: Include malloc-sysdep.h.
12581 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12582 is sufficient to shrink the heap or an unmap is needed.
12583 * sysdeps/generic/malloc-sysdep.h: New file. Define
12584 new function check_may_shrink_heap.
12585 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12586 new function check_may_shrink_heap.
12587
12588 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12589
12590 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12591 comments.
12592
12593 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12594
12595 * catgets/test-gencat.sh: Add "set -e".
12596 * elf/tst-pathopt.sh: Likewise.
12597 * grp/tst_fgetgrent.sh: Likewise.
12598 * iconvdata/run-iconv-test.sh: Likewise.
12599 * intl/tst-gettext.sh: Likewise.
12600 * intl/tst-gettext2.sh: Likewise.
12601 * intl/tst-gettext4.sh: Likewise.
12602 * intl/tst-gettext6.sh: Likewise.
12603 * intl/tst-translit.sh: Likewise.
12604 * io/ftwtest-sh: Likewise.
12605 * libio/test-freopen.sh: Likewise.
12606 * malloc/tst-mtrace.sh: Likewise.
12607 * posix/globtest.sh: Likewise.
12608 * posix/tst-getconf.sh: Likewise.
12609 * posix/wordexp-tst.sh: Likewise.
12610 * stdio-common/tst-printf.sh: Likewise.
12611 * stdio-common/tst-unbputc.sh: Likewise.
12612 * stdlib/tst-fmtmsg.sh: Likewise.
12613 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12614 * catgets/Makefile: Do not specify -e option when running
12615 testsuite shell scripts.
12616 * elf/Makefile: Likewise.
12617 * grp/Makefile: Likewise.
12618 * iconvdata/Makefile: Likewise.
12619 * intl/Makefile: Likewise.
12620 * io/Makefile: Likewise.
12621 * libio/Makefile: Likewise.
12622 * malloc/Makefile: Likewise.
12623 * posix/Makefile: Likewise.
12624 * stdio-common/Makefile: Likewise.
12625 * stdlib/Makefile: Likewise.
12626 * sysdeps/x86_64/Makefile: Likewise.
12627
12628 * io/ftwtest-sh: Add copyright header.
12629 * posix/globtest.sh: Likewise.
12630 * posix/tst-getconf.sh: Likewise.
12631 * posix/wordexp-tst.sh: Likewise.
12632 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12633
12634 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12635
12636 [BZ #13679]
12637 * Makeconfig (+link): Defined as $(+link-static) if
12638 $(build-shared) isn't yes.
12639 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12640 isn't yes.
12641 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12642
12643 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12644
12645 [BZ #14562]
12646 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12647 new chunk size with MALLOC_ALIGN_MASK.
12648
12649 2012-09-24 Joseph Myers <joseph@codesourcery.com>
12650
12651 [BZ #5044]
12652 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12653 <rounding-mode.h>.
12654 (__printf_fphex): Determine rounding using get_rounding_mode and
12655 round_away.
12656 * stdio-common/tst-printf-round.c (struct hex_test): New
12657 structure.
12658 (hex_tests): New variable.
12659 (test_hex_in_one_mode): New function.
12660 (do_test): Also run tests for hex float output.
12661
12662 2012-09-21 Joseph Myers <joseph@codesourcery.com>
12663
12664 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12665 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12666 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12667 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12668 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12669 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12670 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12671 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12672
12673 2012-09-20 Joseph Myers <joseph@codesourcery.com>
12674
12675 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12676 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12677 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12678 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12679
12680 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12681
12682 [BZ #14579]
12683 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12684 mode only.
12685 * elf/tst-rtld-load-self.sh: New test.
12686 * elf/Makefile: Run it.
12687
12688 2012-09-18 Joseph Myers <joseph@codesourcery.com>
12689
12690 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12691 (tst-writev-ENV): Remove.
12692 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12693
12694 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12695
12696 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12697
12698 2012-09-17 Joseph Myers <joseph@codesourcery.com>
12699
12700 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12701 unconditional.
12702 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12703 Likewise.
12704 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12705 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12706 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12707 Likewise.
12708
12709 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12710
12711 [BZ #14587]
12712 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12713 * config.make.in (have-cpp-asm-debuginfo): Removed.
12714 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12715 * configure: Regenerated.
12716
12717 2012-09-14 Joseph Myers <joseph@codesourcery.com>
12718
12719 [BZ #5044]
12720 * stdio-common/printf_fp.c: Include <stdbool.h> and
12721 <rounding-mode.h>.
12722 (___printf_fp): Determine rounding using get_rounding_mode and
12723 round_away.
12724 * stdio-common/tst-printf-round.c: New file.
12725 * stdio-common/Makefile (tests): Add tst-printf-round.
12726 (link-libm): New variable.
12727 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12728
12729 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12730
12731 [BZ #14576]
12732 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12733 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12734 Likewise.
12735 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12736 Likewise.
12737
12738 2012-09-13 Joseph Myers <joseph@codesourcery.com>
12739
12740 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12741 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12742 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12743 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12744
12745 2012-09-12 Joseph Myers <joseph@codesourcery.com>
12746
12747 [BZ #14518]
12748 * include/rounding-mode.h: New file.
12749 * sysdeps/generic/get-rounding-mode.h: Likewise.
12750 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12751 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12752 (MAX_VALUE): New macro.
12753 (MIN_VALUE): Likewise.
12754 (overflow_value): New function.
12755 (underflow_value): Likewise.
12756 (round_and_return): Use overflow_value and underflow_value to
12757 determine return values in overflow and underflow cases. Use
12758 round_away to determine rounding depending on rounding mode.
12759 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12760 determine return values in overflow and underflow cases.
12761 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12762 (struct test_results): New structure.
12763 (struct test): Use struct test_results to store expected results
12764 for all rounding modes.
12765 (TEST): Include expected results for all rounding modes.
12766 (test_in_one_mode): New function.
12767 (do_test): Use test_in_one_mode to compute and check results.
12768 Check results for all rounding modes.
12769 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12770 $(link-libm).
12771
12772 2012-12-09 Allan McRae <allan@archlinux.org>
12773
12774 * sysdeps/i386/fpu/libm-test-ulps: Update
12775
12776 2012-09-11 Joseph Myers <joseph@codesourcery.com>
12777
12778 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12779 (_G_int32_t): Likewise.
12780 (_G_uint16_t): Likewise.
12781 (_G_uint32_t): Likewise.
12782 (_G_HAVE_BOOL): Likewise.
12783 (_G_HAVE_ATEXIT): Likewise.
12784 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12785 (_G_HAVE_IO_FILE_OPEN): Likewise.
12786 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12787 (_G_int32_t): Likewise.
12788 (_G_uint16_t): Likewise.
12789 (_G_uint32_t): Likewise.
12790 (_G_HAVE_BOOL): Likewise.
12791 (_G_HAVE_ATEXIT): Likewise.
12792 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12793 (_G_HAVE_IO_FILE_OPEN): Likewise.
12794 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12795 (_G_int32_t): Likewise.
12796 (_G_uint16_t): Likewise.
12797 (_G_uint32_t): Likewise.
12798 (_G_HAVE_BOOL): Likewise.
12799 (_G_HAVE_ATEXIT): Likewise.
12800 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12801 (_G_HAVE_IO_FILE_OPEN): Likewise.
12802
12803 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12804
12805 * csu/libc-tls.c: Update copyright years.
12806
12807 2012-09-10 Joseph Myers <joseph@codesourcery.com>
12808
12809 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12810 [!_G_USING_THUNKS]: Remove conditional code.
12811 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12812 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12813
12814 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12815 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12816 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12817 (_G_VTABLE_LABEL_PREFIX): Likewise.
12818 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12819 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12820 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12821 (_G_VTABLE_LABEL_PREFIX): Likewise.
12822 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12823 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12824 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12825 (_G_VTABLE_LABEL_PREFIX): Likewise.
12826 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12827
12828 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12829
12830 * libio/Makefile: Include ../Makeconfig before tests.
12831 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12832 only if $(build-shared) is yes.
12833
12834 * iconv/gconv_db.c: Update copyright years.
12835
12836 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12837
12838 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12839 unwind info if defined PIC. Fix special cases description.
12840 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12841
12842 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12843 DP_HI_MASK entry.
12844 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12845
12846 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12847
12848 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12849
12850 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12851 is NULL.
12852
12853 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12854 (LDLIBS-tst-chk4): This.
12855 (LDFLAGS-tst-chk5): Renamed to ...
12856 (LDLIBS-tst-chk5): This.
12857 (LDFLAGS-tst-chk6): Renamed to ...
12858 (LDLIBS-tst-chk6): This.
12859 (LDFLAGS-tst-lfschk4): Renamed to ...
12860 (LDLIBS-tst-lfschk4): This.
12861 (LDFLAGS-tst-lfschk5): Renamed to ...
12862 (LDLIBS-tst-lfschk5): This.
12863 (LDFLAGS-tst-lfschk6): Renamed to ...
12864 (LDLIBS-tst-lfschk6): This.
12865
12866 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12867 on $(common-objpfx)soversions.mk.
12868
12869 2012-09-07 Joseph Myers <joseph@codesourcery.com>
12870
12871 [BZ #10014]
12872 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12873 example host name.
12874
12875 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12876
12877 * malloc/arena.c (arena_get_retry): New function that gets
12878 another arena for the caller to try its request on.
12879 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12880 current arena cannot fulfill the request.
12881 (__libc_memalign): Likewise.
12882 (__libc_memalign): Likewise.
12883 (__libc_pvalloc): Likewise.
12884 (__libc_calloc): Likewise.
12885
12886 2012-09-05 John Tobey <john.tobey@gmail.com>
12887
12888 [BZ #13542]
12889 * manual/arith.texi (Operations on Complex): Fix description
12890 of carg branch cut.
12891
12892 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12893
12894 [BZ #10014]
12895 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12896 host name.
12897
12898 [BZ #10038]
12899 * manual/memory.texi (Memory): Make order of menu items match
12900 order of sections.
12901
12902 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12903
12904 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12905 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12906 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12907
12908 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12909
12910 * csu/libc-tls.c (static_dtv): Renamed to ...
12911 (_dl_static_dtv): This. Make it global.
12912 (_dl_initial_dtv): Removed.
12913 (__libc_setup_tls): Updated.
12914 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12915 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12916 DL_INITIAL_DTV.
12917
12918 2012-09-06 Petr Machata <pmachata@redhat.com>
12919
12920 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12921 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12922 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12923 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12924
12925 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12926
12927 [BZ #14545]
12928 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12929 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12930 freeing dtv[-1].
12931
12932 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12933
12934 [BZ #14544]
12935 * Makeconfig (link-static-before-libc): Replace $(+prector)
12936 with $(+prectorT).
12937 (link-static-after-libc): Replace $(+postctor) with
12938 $(+postctorT).
12939 (link-bounded): Replace $(+prector)/$(+postctor) with
12940 $(+prectorT)/$(+postctorT).
12941 (+prectorT): New macro.
12942 (+postctorT): Likewise.
12943
12944 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12945
12946 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12947 (round_str): Handle values above the maximum for IBM long double
12948 as inexact.
12949 * stdlib/tst-strtod-round.c (tests): Regenerated.
12950
12951 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12952
12953 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12954 assembler flag.
12955 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12956 zarch_nohighgprs around the zarch optimized routines.
12957 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12958 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12959 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12960 for zarch.
12961
12962 2012-09-05 David S. Miller <davem@davemloft.net>
12963
12964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12965
12966 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12967 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12968 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12969 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12970 entries.
12971
12972 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12973
12974 * malloc/arena.c: Fold copyright years.
12975 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12976
12977 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12978
12979 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12980
12981 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12982
12983 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12984
12985 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12986
12987 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12988 change internal state upon failure.
12989
12990 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12991
12992 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12993 * malloc/memusage.c (mmap): Likewise.
12994 (mmap64, mremap): Likewise. Adjust name in comment.
12995
12996 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12997
12998 * libio/fileops.c: Fix typos in comments.
12999 * libio/oldfileops.c: Likewise.
13000 * libio/wfileops.c: Likewise.
13001
13002 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13003
13004 [BZ #1349]
13005 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13006 (tst-malloc-usable-ENV): Set environment for test case.
13007 * malloc/hooks.c (malloc_check_get_size): New function to get
13008 requested size.
13009 * malloc/malloc.c (musable): Use malloc_check_get_size.
13010 * malloc/tst-malloc-usable.c: New test case.
13011
13012 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13013
13014 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13015
13016 2012-09-05 Allan McRae <allan@archlinux.org>
13017
13018 [BZ #13966]
13019 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13020 determine header location.
13021 * configure: Regenerated.
13022
13023 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13024
13025 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13026 float format.
13027 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13028 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13029 format.
13030 (test): Regenerate.
13031
13032 2012-09-04 David S. Miller <davem@davemloft.net>
13033
13034 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13035 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13036 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13037
13038 2012-09-04 Florian Weimer <fweimer@redhat.com>
13039
13040 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13041 failures.
13042
13043 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13044
13045 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13046
13047 [BZ #9914]
13048 * libio/iogetdelim.c: Include <limits.h>.
13049 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13050 + len + 1 would overflow.
13051
13052 2012-09-03 Andreas Jaeger <aj@suse.de>
13053
13054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13055 * sysdeps/i386/fpu/libm-test-ulps: Update.
13056
13057 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13058
13059 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13060 Add s_sinf-sse2, s_conf-sse2.
13061
13062 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13063 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13064 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13065 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13066
13067 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13068 for using routine as __sinf_ia32.
13069 Use macro for function declaration and weak_alias.
13070 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13071 for using routine as __cosf_ia32.
13072 Use macro for function declaration and weak_alias.
13073
13074 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13075 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13076
13077 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13078 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13080
13081 * math/libm-test.inc (cos_test): Add more test cases.
13082 (sin_test): Likewise.
13083 (sincos_test): Likewise.
13084
13085 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13086
13087 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13088 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13089 hidden.
13090 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13091
13092 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13093
13094 [BZ #14538]
13095 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13096 first element of the GOT.
13097 (elf_machine_load_address): Return the difference between
13098 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13099
13100 2012-09-01 Allan McRae <allan@archlinux.org>
13101
13102 [BZ #13412]
13103 * configure.in (AWK): Require gawk version 3.0 or later.
13104 * configure: Regenerated.
13105
13106 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13107
13108 * sysdeps/unix/sysv/linux/kernel-features.h
13109 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13110 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13111 [__NR_clock_getres]: Make code unconditional.
13112 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13113 (clock_getcpuclockid): Remove code left unreachable by removal of
13114 conditionals.
13115 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13116 code unconditional.
13117 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13118 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13119 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13120 Make code unconditional.
13121 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13122 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13123 * sysdeps/unix/sysv/linux/clock_settime.c
13124 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13125 conditional code.
13126 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13127 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13128
13129 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13130
13131 [BZ #14476]
13132 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13133 scripts/test-installation.pl.
13134
13135 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13136 and $ld_so_version if it is set.
13137
13138 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13139
13140 [BZ #14516]
13141 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13142 failure if reading from procfs failed.
13143 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13144
13145 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13146
13147 * sysdeps/unix/sysv/linux/kernel-features.h
13148 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13149 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13150 Remove conditional code.
13151 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13152 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13153 Remove conditional code.
13154 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13155 * sysdeps/unix/sysv/linux/i386/fxstat.c
13156 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13158 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13159 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13160 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13161 * sysdeps/unix/sysv/linux/i386/lxstat.c
13162 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13163 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13164 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13165 Remove conditional code.
13166 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13167 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13168 Remove conditional code.
13169 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13170 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13171 <kernel-features.h>.
13172 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13173 Remove.
13174 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13175 Remove conditional code.
13176 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13177 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13178 Remove conditional.
13179
13180 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13181
13182 [BZ #5400]
13183 * NEWS: Add fixed bug number.
13184
13185 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13186
13187 [BZ #14519]
13188 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13189 underflowing exponent in case of negative sign.
13190 * stdlib/tst-strtod-round-data: Add more tests.
13191 * stdlib/tst-strtod-round.c (tests): Regenerated.
13192
13193 [BZ #3479]
13194 * stdlib/strtod_l.c (NDIG): Remove.
13195 (HEXNDIG): Likewise.
13196 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13197 smallest representable value.
13198 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13199 lie within an exact representation of 1/2 ulp of the result.
13200 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13201 unconditionally.
13202 (TENS_P9_IDX): Define unconditionally.
13203 (TENS_P9_SIZE): Likewise.
13204 (TENS_P10_IDX): Likewise.
13205 (TENS_P10_SIZE): Likewise.
13206 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13207 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13208 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13209 entries for 10^2^13 and 10^2^14.
13210 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13211 (TENS_P13_IDX): Define.
13212 (TENS_P13_SIZE): Likewise.
13213 (TENS_P14_IDX): Likewise.
13214 (TENS_P14_SIZE): Likewise.
13215 (_fpioconst_pow10): Change array size to
13216 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13217 unconditional.
13218 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13219 1024]: Add entries for 10^2^13 and 10^2^14.
13220 [LAST_POW10 > _LAST_POW10]: Remove #error.
13221 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13222 (_fpioconst_pow10): Change array size to
13223 FPIOCONST_POW10_ARRAY_SIZE.
13224 * stdlib/gen-fpioconst.c: New file.
13225 * stdlib/gen-tst-strtod-round.c: Likewise.
13226 * stdlib/tst-strtod-round-data: Likewise.
13227 * stdlib/tst-strtod-round.c: Likewise.
13228 * stdlib/Makefile (tests): Add tst-strtod-round.
13229
13230 [BZ #14459]
13231 * stdlib/strtod_l.c: Include <stdint.h>.
13232 (NDEBUG): Do not define.
13233 (round_and_return): Change EXPONENT parameter to type intmax_t.
13234 Rearrange calculations to avoid internal overflow possibilities.
13235 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13236 Rearrange calculations to avoid internal overflow possibilities.
13237 Assert that number fits inside MPNSIZE limbs.
13238 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13239 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13240 calculations and add assertions to avoid internal overflow
13241 possibilities. Add casts to avoid signed/unsigned operations.
13242 * stdlib/tst-strtod-overflow.c: New file.
13243 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13244
13245 2012-08-25 Marek Polacek <polacek@redhat.com>
13246
13247 * time/time.h: Fix some typos in comments.
13248
13249 2012-08-23 Roland McGrath <roland@hack.frob.com>
13250
13251 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13252 * posix/tst-rfc3484-2.c: Likewise.
13253 * posix/tst-rfc3484-3.c: Likewise.
13254
13255 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13256
13257 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13258 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13259
13260 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13261
13262 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13263 #include of fxstatat64.c.
13264
13265 2012-08-22 Roland McGrath <roland@hack.frob.com>
13266
13267 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13268 * shadow/getspent_r.c: Likewise.
13269 * shadow/getspnam.c: Likewise.
13270 * shadow/getspnam_r.c: Likewise.
13271 * gshadow/getsgent.c: Likewise.
13272 * gshadow/getsgent_r.c: Likewise.
13273 * gshadow/getsgnam.c: Likewise.
13274 * gshadow/getsgnam_r.c: Likewise.
13275 * inet/getnetbyad.c: Likewise.
13276 * inet/getnetbyad_r.c: Likewise.
13277 * inet/getnetbynm.c: Likewise.
13278 * inet/getnetbynm_r.c: Likewise.
13279 * inet/getnetent.c: Likewise.
13280 * inet/getnetent_r.c: Likewise.
13281 * inet/getproto.c: Likewise.
13282 * inet/getproto_r.c: Likewise.
13283 * inet/getprtent.c: Likewise.
13284 * inet/getprtent_r.c: Likewise.
13285 * inet/getprtname.c: Likewise.
13286 * inet/getprtname_r.c: Likewise.
13287 * inet/getrpcbyname.c: Likewise.
13288 * inet/getrpcbyname_r.c: Likewise.
13289 * inet/getrpcbynumber.c: Likewise.
13290 * inet/getrpcbynumber_r.c: Likewise.
13291 * inet/getrpcent.c: Likewise.
13292 * inet/getrpcent_r.c: Likewise.
13293 * inet/getaliasent.c: Likewise.
13294 * inet/getaliasent_r.c: Likewise.
13295 * inet/getaliasname.c: Likewise.
13296 * inet/getaliasname_r.c: Likewise.
13297 * nscd/getgrgid_r.c: Likewise.
13298 * nscd/getgrnam_r.c: Likewise.
13299 * nscd/gethstbyad_r.c: Likewise.
13300 * nscd/gethstbynm3_r.c: Likewise.
13301 * nscd/getpwnam_r.c: Likewise.
13302 * nscd/getpwuid_r.c: Likewise.
13303 * nscd/getsrvbynm_r.c: Likewise.
13304 * nscd/getsrvbypt_r.c: Likewise.
13305 * nscd/gai.c: Likewise.
13306
13307 * configure.in (build_nscd): New substituted variable, set
13308 by --disable-build-nscd and defaults to $use_nscd.
13309 * configure: Regenerated.
13310 * config.make.in (build-nscd): New substituted variable.
13311 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13312 Change conditional to require [$(build-nscd) = yes] as well.
13313 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13314
13315 [BZ# 13696]
13316 * configure.in (use_nscd): New substituted variable, set by
13317 --disable-nscd. If enabled, define USE_NSCD.
13318 * configure: Regenerated.
13319 * config.h.in: Add USE_NSCD.
13320 * config.make.in (use-nscd): New substituted variable.
13321 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13322 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13323 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13324 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13325 (CFLAGS-getgrnam_r.c): Likewise.
13326 (CFLAGS-initgroups.c): Likewise.
13327 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13328 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13329 Variables removed.
13330 * inet/getnetgrent_r.c
13331 (nscd_setnetgrent): New function, broken out of ...
13332 (setnetgrent): ... here. Call it.
13333 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13334 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13335 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13336 * nscd/Makefile (routines, aux): Move definitions after include of
13337 Makeconfig. Conditionalize on [$(use-nscd) != no].
13338 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13339 Conditionalize on [USE_NSCD].
13340 (is_nscd, nscd_init_cb): Likewise.
13341 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13342 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13343 * nss/nss_db/db-init.c: Likewise.
13344 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13345 [USE_NSCD].
13346 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13347 (make_request): Use it.
13348 (cache_valid_p): New function.
13349 (__check_pf): Use it.
13350 * NEWS: Add item for --disable-nscd.
13351
13352 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13353
13354 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13355 to support sed >= 4.2.1-20-ga9bf076.
13356 * configure: Regenerated.
13357
13358 2012-08-22 Roland McGrath <roland@hack.frob.com>
13359
13360 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13361 Conditionalize whole body on [IREL].
13362
13363 2012-08-22 Jeff Law <law@redhat.com>
13364
13365 [BZ #14505]
13366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13367 if the family is PF_UNSPEC.
13368
13369 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13370
13371 * Makerules (lib-version): Rename from V.
13372 (install-lib-nosubdir): Change V to lib-version.
13373
13374 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13375
13376 [BZ #14252]
13377 * powerpc32/power6/wcschr.c: New file.
13378 * powerpc32/power6/wcscpy.c: New file.
13379 * powerpc32/power6/wcsrchr.c: New file.
13380 * powerpc64/power6/wcschr.c: New file.
13381 * powerpc64/power6/wcscpy.c: New file.
13382 * powerpc64/power6/wcsrchr.c: New file.
13383
13384 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13385
13386 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13387 (two_way_short_needle): Use it.
13388 * string/strstr.c (AVAILABLE1_USES_J): Define.
13389 * string/strcasestr.c: Likewise.
13390
13391 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13392 array references.
13393 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13394
13395 [BZ #11607]
13396 * NEWS: Add an entry.
13397 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13398 define their defaults.
13399 (two_way_short_needle): Detect end-of-string on-the-fly.
13400 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13401 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13402 * string/bug-strcasestr1.c: New test.
13403 * string/Makefile: Run it.
13404
13405 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13406
13407 [BZ #11607]
13408 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13409 the first character.
13410
13411 2012-08-21 Roland McGrath <roland@hack.frob.com>
13412
13413 * csu/elf-init.c (__libc_csu_irel): Function removed.
13414 * csu/libc-start.c (apply_irel): New function.
13415 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13416
13417 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13418
13419 * sysdeps/unix/sysv/linux/kernel-features.h
13420 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13421 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13422 <kernel-features.h>.
13423 [__NR_fadvise64_64]: Make code unconditional.
13424 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13425 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13426 !__NR_fadvise64_64)]: Likewise.
13427 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13428 !__NR_fadvise64_64))]: Likewise.
13429 [__NR_fadvise64]: Make code unconditional.
13430 [!__NR_fadvise64]: Remove conditional code.
13431 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13432 <kernel-features.h>.
13433 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13434 unconditional.
13435 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13436 conditional code.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13438 not include <kernel-features.h>.
13439 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13440 unconditional.
13441 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13442 conditional code.
13443 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13444 include <kernel-features.h>.
13445 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13446 unconditional.
13447 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13448 conditional code.
13449
13450 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13451
13452 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13453 slight instruction rearrangements per scrollpipe analysis.
13454 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13455
13456 2012-08-20 Roland McGrath <roland@hack.frob.com>
13457
13458 * manual/syslog.texi (syslog; vsyslog, closelog):
13459 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13460 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13461
13462 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13463 DSOCAPS to match condition on defining it.
13464
13465 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13466
13467 * sysdeps/unix/sysv/linux/kernel-features.h
13468 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13470 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13471 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13473 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13474 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13476 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13477 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13478
13479 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13480 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13481
13482 * sysdeps/unix/sysv/linux/kernel-features.h
13483 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13484 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13485 unconditional.
13486 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13487 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13488 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13489 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13490 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13491 Make code unconditional.
13492 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13493 (__mmap64) [!__NR_mmap2]: Likewise.
13494 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13495 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13496 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13497 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13498 [__NR_mmap2]: Make code unconditional.
13499 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13500 (__mmap64) [!__NR_mmap2]: Likewise.
13501
13502 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13503
13504 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13505
13506 2012-08-18 Andreas Jaeger <aj@suse.de>
13507
13508 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13509
13510 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13511
13512 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13513 * include/unistd.h (__have_sock_cloexec): Likewise.
13514 (__have_pipe2): Likewise.
13515 (__have_dup3): Likewise.
13516
13517 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13518
13519 [BZ #9685]
13520 * include/unistd.h (__have_pipe2): Change define into an extern int.
13521 (__have_dup3): Likewise.
13522 * socket/have_sock_cloexec.c: Include fcntl.h.
13523 (__have_pipe2): New variable.
13524 (__have_dup3): Likewise.
13525
13526 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13527
13528 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13529
13530 2012-08-17 Marek Polacek <polacek@redhat.com>
13531
13532 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13533 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13534
13535 2012-08-17 Roland McGrath <roland@hack.frob.com>
13536
13537 * configure.in: Add AC_SUBST for sysheaders.
13538 * configure: Regenerated.
13539 * config.make.in (sysheaders): New substituted variable.
13540
13541 * sysdeps/unix/mkfifo.c: Moved ...
13542 * sysdeps/posix/mkfifo.c: ... here.
13543 * sysdeps/unix/mkfifoat.c: Moved ...
13544 * sysdeps/posix/mkfifoat.c: ... here.
13545
13546 * sysdeps/unix/utime.c: Moved ...
13547 * sysdeps/posix/utime.c: ... here.
13548
13549 * sysdeps/unix/time.c: Moved ...
13550 * sysdeps/posix/time.c: ... here.
13551 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13552 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13553
13554 * sysdeps/unix/nice.c: Moved ...
13555 * sysdeps/posix/nice.c: ... here.
13556
13557 * sysdeps/unix/alarm.c: Moved ...
13558 * sysdeps/posix/alarm.c: ... here.
13559
13560 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13561
13562 2012-08-17 Jeff Law <law@redhat.com>
13563
13564 * intl/Makefile (codeset_mo): New variable.
13565 ($(codeset_mo)): New target.
13566 (tst-codeset.out): Depend on that. Remove explicit rule.
13567 (tst-gettext3.out, tst-gettext5.out): Likewise.
13568 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13569 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13570 * intl/tst-codeset.sh: Remove.
13571 * intl/tst-gettext3.sh: Likewise.
13572 * intl/tst-gettext5.sh: Likewise.
13573
13574 2012-08-17 Roland McGrath <roland@hack.frob.com>
13575
13576 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13577 * sysdeps/unix/syscalls.list: ... here.
13578
13579 * sysdeps/posix/getaddrinfo.c
13580 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13581 (gaiconf_init, gaiconf_reload): Use them.
13582 [!_STATBUF_ST_NSEC]
13583 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13584 Define using time_t rather than struct timespec.
13585
13586 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13587 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13588 Macros removed.
13589 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13590 [!NO_THREADS].
13591 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13592 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13593 Likewise.
13594
13595 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13596 __libc_cleanup_push argument.
13597
13598 * bits/param.h: New file.
13599 * misc/sys/param.h: New file.
13600 * include/sys/param.h: New file.
13601 * misc/Makefile (headers): Add bits/param.h.
13602 * sysdeps/generic/sys/param.h: File removed.
13603 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13604 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13605 * sysdeps/mach/hurd/bits/param.h: New file.
13606 * sysdeps/mach/hurd/sys/param.h: File removed.
13607
13608 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13609 last change.
13610
13611 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13612 [_IO_MTSAFE_IO].
13613 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13614 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13615 New macros.
13616
13617 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13618 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13619 rather than -D_IO_MTSAFE_IO conditionally.
13620 * stdio-common/Makefile (CPPFLAGS): Likewise.
13621 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13622 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13623 Use $(libio-mtsafe).
13624 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13625 of -D_IO_MTSAFE_IO.
13626 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13627 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13628 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13629 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13630 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13631 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13632 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13633 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13634 (CFLAGS-fread_u_chk.c): Likewise.
13635 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13636 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13637 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13638 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13639 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13640 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13641 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13642 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13643 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13644
13645 * libio/Makefile: Test [$(libc-reentrant) = yes]
13646 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13647
13648 * Makeconfig
13649 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13650 * sysdeps/pthread/configure: File removed.
13651 * sysdeps/pthread/Makeconfig: New file.
13652 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13653 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13654
13655 2012-08-16 Gary Benson <gbenson@redhat.com>
13656
13657 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13658 unmapping the first object in a namespace.
13659
13660 2012-08-16 Roland McGrath <roland@hack.frob.com>
13661
13662 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13663 (__internal_setnetgrent): ... this. Add internal_function to
13664 definition. Add libc_hidden_def.
13665 (setnetgrent): Update caller.
13666 (internal_endnetgrent): Renamed to ...
13667 (__internal_endnetgrent): ... this. Add internal_function to
13668 definition. Add libc_hidden_def.
13669 (endnetgrent): Update caller.
13670 (internal_getnetgrent_r): Renamed to ...
13671 (__internal_getnetgrent_r): ... this. Add internal_function to
13672 definition. Add libc_hidden_def.
13673 (__getnetgrent_r): Update caller.
13674 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13675
13676 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13677
13678 * stdlib/longlong.h: Update from GCC.
13679
13680 2012-08-16 Roland McGrath <roland@hack.frob.com>
13681
13682 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13683 on _QL, which is set by umul_ppmm but never used.
13684 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13685 variables, which are set by GMP macros but never used.
13686 * stdio-common/_itowa.c (_itowa): Likewise.
13687 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13688 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13689
13690 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13691
13692 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13693 struct La_sh_regs is not constant.
13694 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13695 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13696 and struct La_sparc64_regs are not constant.
13697
13698 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13699
13700 * sysdeps/unix/sysv/linux/kernel-features.h
13701 (__ASSUME_POSIX_TIMERS): Remove.
13702 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13703 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13704 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13705 Make code unconditional.
13706 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13707 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13708 Make code unconditional.
13709 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13710 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13711 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13712 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13713 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13714 Make code unconditional.
13715 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13716 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13717 (__libc_missing_posix_timers): Remove.
13718
13719 2012-08-15 Roland McGrath <roland@hack.frob.com>
13720
13721 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13722 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13723
13724 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13725
13726 * elf/dl-sym.c: Include <stdlib.h>.
13727
13728 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13729 constants, which avoids warnings in 32-bit builds.
13730
13731 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13732 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13733
13734 * misc/lseek.c: File moved to ...
13735 * io/lseek.c: ... here.
13736
13737 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13738
13739 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13740 shifting LEN more than 31 bits at once.
13741
13742 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13743
13744 [BZ #14195]
13745 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13746 segmentation fault for a case of two empty input strings.
13747 * string/test-strncasecmp.c (check1): Renamed to...
13748 (bz12205): ...this.
13749 (bz14195): Add new testcase for two empty input strings and N > 0.
13750 (test_main): Call new testcase, adapt for renamed function.
13751
13752 2012-08-15 Andreas Jaeger <aj@suse.de>
13753
13754 [BZ #14090]
13755 * crypt/md5test2.c: New test, based on test supplied by Serge
13756 Belyshev <belyshev@depni.sinp.msu.ru>.
13757 * crypt/Makefile (xtests): Add md5test-giant..
13758 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13759
13760 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13761
13762 [BZ #14090]
13763 * crypt/md5.c (md5_process_block): Don't assume the buffer
13764 length is less than 2**32.
13765 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13766 length is less than 2**64.
13767
13768 2012-08-15 Roland McGrath <roland@hack.frob.com>
13769
13770 * string/str-two-way.h: Include <sys/param.h>.
13771 (MAX): Macro removed.
13772
13773 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13774 Move #define and #undef of memmove to just before and after
13775 including <string.h>.
13776
13777 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13778 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13779 and after including <string.h>. Move declarations of
13780 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13781 to before #include "string/memmove.c".
13782
13783 * include/dirent.h: Declare __getdirentries.
13784
13785 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13786 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13787
13788 2012-08-14 Mike Frysinger <vapier@gentoo.org>
13789
13790 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13791 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13792 * sysdeps/i386/configure: Regenerated.
13793 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13794 STABS_CURRENT_FILE, and STABS_FUN.
13795 (END): Remove call to STABS_FUN_END.
13796 (STABS_CURRENT_FILE1): Delete.
13797 (STABS_CURRENT_FILE): Likewise.
13798 (STABS_FUN): Likewise.
13799 (STABS_FUN_END): Likewise.
13800 (STABS_FUN2): Likewise.
13801 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13802 * sysdeps/x86_64/configure: Regenerated.
13803
13804 2012-08-14 Roland McGrath <roland@hack.frob.com>
13805
13806 * elf/dl-open.c: Include <atomic.h>.
13807 * elf/dl-lookup.c: Likewise.
13808
13809 2012-08-14 Joseph Myers <joseph@codesourcery.com>
13810
13811 * sysdeps/unix/sysv/linux/kernel-features.h
13812 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13813 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13814 unconditionally.
13815 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13816 unconditionally.
13817 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13818 condition on __ASSUME_CLONE_THREAD_FLAGS.
13819
13820 2012-08-14 Andreas Jaeger <aj@suse.de>
13821
13822 * sysdeps/i386/fpu/libm-test-ulps: Update.
13823
13824 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13825
13826 * include/atomic.h (atomic_exchange_and_add): Split into ...
13827 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13828 New atomic macros.
13829
13830 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13831
13832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13833
13834 2012-08-13 Jeff Law <law@redhat.com>
13835
13836 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13837 null byte in the output string.
13838
13839 2012-08-10 Joseph Myers <joseph@codesourcery.com>
13840
13841 * sysdeps/unix/sysv/linux/kernel-features.h
13842 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13843 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13844 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13845 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13846 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13847 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13848 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13849
13850 2012-08-09 Jeff Law <law@redhat.com>
13851
13852 [BZ #13939]
13853 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13854 When avoid_arena is set, don't retry in the that arena. Pick the
13855 next one, whatever it might be.
13856 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13857 (arena_lock): Pass in new parameter to arena_get2.
13858 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13859 arena_get2.
13860 (__libc_malloc): Unify retrying after main arena failure with
13861 __libc_memalign version.
13862 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13863
13864 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13865
13866 [BZ #14166]
13867 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13868 to __redirect_strstr.
13869 (__strstr_sse42): Use typeof __redirect_strstr.
13870 (__strstr_ia32): Likewise.
13871 (__libc_strstr): New prototype.
13872 (strstr): Renamed to ...
13873 (__libc_strstr): This.
13874 (strstr): New strong alias of __libc_strstr.
13875 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13876 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13877 __redirect_time.
13878 Include <time.h>.
13879 (__libc_time): New prototype.
13880 (time_ifunc): Replace time with __libc_time.
13881 (time): New strong alias and hidden definition of __libc_time.
13882 (__GI_time): Remove strong alias.
13883 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13884 Include <stddef.h>.
13885 (memmove): Redefined to __redirect_memmove.
13886 (__memmove_sse2): Use typeof __redirect_memmove.
13887 (__memmove_ssse3): Likewise.
13888 (__memmove_ssse3_back): Likewise.
13889 (__libc_memmove): New prototype.
13890 (memmove): Renamed to ...
13891 (__libc_memmove): This.
13892 (memmove): New strong alias of __libc_memmove.
13893
13894 2012-08-08 Mark Salter <msalter@redhat.com>
13895
13896 * elf/elf.h
13897 (R_MN10300_TLS_GD): Define.
13898 (R_MN10300_TLS_LD): Likewise.
13899 (R_MN10300_TLS_LDO): Likewise.
13900 (R_MN10300_TLS_GOTIE): Likewise.
13901 (R_MN10300_TLS_IE): Likewise.
13902 (R_MN10300_TLS_LE): Likewise.
13903 (R_MN10300_TLS_DTPMOD): Likewise.
13904 (R_MN10300_TLS_DTPOFF): Likewise.
13905 (R_MN10300_TLS_TPOFF): Likewise.
13906 (R_MN10300_SYM_DIFF): Likewise.
13907 (R_MN10300_ALIGN): Likewise.
13908 (R_MN10300_NUM): Update.
13909
13910 2012-08-08 Joseph Myers <joseph@codesourcery.com>
13911
13912 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13913 Remove.
13914
13915 2012-08-08 Roland McGrath <roland@hack.frob.com>
13916
13917 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13918
13919 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13920 sysdeps/unix -> sysdeps/posix move.
13921 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13922
13923 2012-08-07 Allan McRae <allan@archlinux.org>
13924
13925 [BZ #14303]
13926 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13927 (SUNOS_CPP): Likewise.
13928 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13929 not found.
13930 (open_input): Call CPP using execvp.
13931
13932 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13933
13934 * sysdeps/unix/sysv/linux/kernel-features.h
13935 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13936 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13937 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13938 (__ASSUME_WAITID_SYSCALL): Likewise.
13939 * sysdeps/unix/sysv/linux/dl-execstack.c
13940 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13941 code unconditional.
13942 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13943 conditional code.
13944 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13945 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13946 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13947 code.
13948 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13949 unconditional.
13950 [__ASSUME_WAITID_SYSCALL]: Likewise.
13951 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13952
13953 2012-08-07 Roland McGrath <roland@hack.frob.com>
13954
13955 * sysdeps/unix/closedir.c: Renamed to ...
13956 * sysdeps/posix/closedir.c: ... here.
13957 * sysdeps/unix/dirfd.c: Renamed to ...
13958 * sysdeps/posix/dirfd.c: ... here.
13959 * sysdeps/unix/dirstream.h: Renamed to ...
13960 * sysdeps/posix/dirstream.h: ... here.
13961 * sysdeps/unix/fdopendir.c: Renamed to ...
13962 * sysdeps/posix/fdopendir.c: ... here.
13963 * sysdeps/unix/opendir.c: Renamed to ...
13964 * sysdeps/posix/opendir.c: ... here.
13965 * sysdeps/unix/readdir.c: Renamed to ...
13966 * sysdeps/posix/readdir.c: ... here.
13967 * sysdeps/unix/readdir_r.c: Renamed to ...
13968 * sysdeps/posix/readdir_r.c: ... here.
13969 * sysdeps/unix/rewinddir.c: Renamed to ...
13970 * sysdeps/posix/rewinddir.c: ... here.
13971 * sysdeps/unix/seekdir.c: Renamed to ...
13972 * sysdeps/posix/seekdir.c: ... here.
13973 * sysdeps/unix/telldir.c: Renamed to ...
13974 * sysdeps/posix/telldir.c: ... here.
13975 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13976 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13977 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13978 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13979
13980 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13981 * bits/fcntl.h: ... here.
13982
13983 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13984 not 0.
13985 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13986 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13987 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13988 (struct flock): Move l_start, l_len to the beginning.
13989 Use __pid_t for l_pid.
13990 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13991 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13992 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13993 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13994 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13995 [__USE_LARGEFILE64] (struct flock64): New type.
13996 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13997
13998 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13999 * bits/dirent.h: ... here.
14000
14001 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14002 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14003
14004 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14005
14006 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14007 Change from 2.6.0 to 2.6.16.
14008 * sysdeps/unix/sysv/linux/configure: Regenerated.
14009 * sysdeps/unix/sysv/linux/kernel-features.h
14010 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14011 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14012 version.
14013 (__ASSUME_UTIMES): Likewise.
14014 (__ASSUME_CLONE_STOPPED): Remove.
14015 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14016 architectures, not kernel version.
14017 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14018 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14019 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14020 (__ASSUME_WAITID_SYSCALL): Likewise.
14021 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14022 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14023 * README: State 2.6.16 as minimum Linux kernel version. Do not
14024 refer to older versions.
14025
14026 2012-08-06 Roland McGrath <roland@hack.frob.com>
14027
14028 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14029 Define alphasort64 as an alias.
14030 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14031 Define versionsort64 as an alias.
14032 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14033 Define scandir64 as an alias.
14034 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14035 Define scandirat64 as an alias.
14036 * dirent/alphasort64.c (alphasort64):
14037 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14038 * dirent/versionsort64.c: Likewise.
14039 * dirent/scandir64.c: Likewise.
14040 * dirent/scandirat64.c: Likewise.
14041 * sysdeps/wordsize-64/alphasort.c: File removed.
14042 * sysdeps/wordsize-64/alphasort64.c: File removed.
14043 * sysdeps/wordsize-64/scandir.c: File removed.
14044 * sysdeps/wordsize-64/scandir64.c: File removed.
14045 * sysdeps/wordsize-64/scandirat.c: File removed.
14046 * sysdeps/wordsize-64/scandirat64.c: File removed.
14047 * sysdeps/wordsize-64/versionsort.c: File removed.
14048 * sysdeps/wordsize-64/versionsort64.c: File removed.
14049 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14050 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14051 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14052 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14053 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14054 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14055 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14056 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14057
14058 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14059 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14060 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14061 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14062 [defined __arch64__ || defined __sparcv9]
14063 (__INO_T_MATCHES_INO64_T): New macro.
14064 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14065 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14066 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14067 * sysdeps/unix/sysv/linux/bits/dirent.h
14068 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14069 (_DIRENT_MATCHES_DIRENT64): New macro.
14070
14071 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14072 Define lockf64 as an alias.
14073 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14074 Define fseeko64 as an alias.
14075 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14076 Define ftello64 as an alias.
14077 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14078 Define _IO_fgetpos64 and fgetpos64 as aliases.
14079 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14080 Define _IO_fsetpos64 and fsetpos64 as aliases.
14081 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14082 Conditionalize body on this.
14083 * libio/fseeko64.c: Likewise.
14084 * libio/ftello64.c: Likewise.
14085 * libio/iofgetpos64.c: Likewise.
14086 * libio/iofsetpos64.c: Likewise.
14087 * sysdeps/wordsize-64/lockf.c: File removed.
14088 * sysdeps/wordsize-64/lockf64.c: File removed.
14089 * sysdeps/wordsize-64/fseeko.c: File removed.
14090 * sysdeps/wordsize-64/fseeko64.c: File removed.
14091 * sysdeps/wordsize-64/ftello.c: File removed.
14092 * sysdeps/wordsize-64/ftello64.c: File removed.
14093 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14094 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14095 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14096 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14097 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14098 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14099 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14100 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14101 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14102 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14103 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14104 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14105 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14106 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14107
14108 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14110 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14112 [defined __arch64__ || defined __sparcv9]
14113 (__OFF_T_MATCHES_OFF64_T): New macro.
14114 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14115 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14117 (__OFF_T_MATCHES_OFF64_T): New macro.
14118
14119 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14120
14121 * stdlib/secure-getenv.c (__secure_getenv): Replace
14122 GLIBC_2_16 with GLIBC_2_17.
14123
14124 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14125
14126 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14127 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14128
14129 2012-08-03 David S. Miller <davem@davemloft.net>
14130
14131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14132
14133 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14134
14135 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14136 Remove.
14137 (__ASSUME_CORRECT_SI_PID): Likewise.
14138 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14139 (__ASSUME_TMPFS_NAME): Likewise.
14140 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14141 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14142 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14143 (HAVE_AUX_SECURE): Make definition unconditional.
14144 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14145 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14146
14147 2012-08-03 Roland McGrath <roland@hack.frob.com>
14148
14149 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14150 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14151 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14152 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14153 __eloop_threshold instead of SYMLOOP_MAX.
14154
14155 * sysdeps/generic/eloop-threshold.h: New file.
14156 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14157 of MAXSYMLINKS.
14158 * elf/chroot_canon.c (chroot_canon): Likewise.
14159
14160 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14161
14162 [BZ #13717]
14163 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14164 Change to 2.6.0 everywhere.
14165 * sysdeps/unix/sysv/linux/configure: Regenerated.
14166 * sysdeps/unix/sysv/linux/kernel-features.h
14167 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14168 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14169 kernel versions.
14170 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14171 (__ASSUME_FUTEX_REQUEUE): Remove.
14172 (__ASSUME_STATFS64): Define unconditionally.
14173 (__ASSUME_AT_SECURE): Likewise.
14174 (__ASSUME_CORRECT_SI_PID): Likewise.
14175 (__ASSUME_TGKILL): Define without depending on kernel version for
14176 i386.
14177 (__ASSUME_UTIMES): Likewise.
14178 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14179 kernel version.
14180 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14181 (__ASSUME_TMPFS_NAME): Likewise.
14182 * README: Update reference to Linux kernel versions.
14183
14184 2012-08-02 Marek Polacek <polacek@redhat.com>
14185
14186 [BZ# 14150]
14187 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14188 libc_cv_asm_type_prefix with %.
14189 * configure: Regenerated.
14190 * include/libc-symbols.h: Remove comment about
14191 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14192 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14193 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14194 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14195 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14196 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14197 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14198 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14199 * elf/tst-unique2mod1.c: Likewise.
14200 * elf/tst-unique1mod2.c: Likewise.
14201 * elf/tst-unique1mod1.c: Likewise.
14202 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14203 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14204 Replace ASM_TYPE_DIRECTIVE with .type.
14205 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14206 * sysdeps/i386/sysdep.h: Likewise.
14207 * sysdeps/x86_64/sysdep.h: Likewise.
14208 * sysdeps/sh/sysdep.h: Likewise.
14209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14210 Do not define ASM_TYPE_DIRECTIVE.
14211 * sysdeps/powerpc/sysdep.h: Likewise.
14212 * sysdeps/powerpc/powerpc32/sysdep.h:
14213 Replace ASM_TYPE_DIRECTIVE with .type.
14214 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14215 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14216 * sysdeps/i386/fpu/e_powf.S: Likewise.
14217 * sysdeps/i386/fpu/e_expl.S: Likewise.
14218 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14219 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14220 * sysdeps/i386/fpu/e_pow.S: Likewise.
14221 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14222 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14223 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14224 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14225 * sysdeps/i386/fpu/e_log2.S: Likewise.
14226 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14227 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14228 * sysdeps/i386/fpu/e_powl.S: Likewise.
14229 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14230 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14231 * sysdeps/i386/fpu/e_logl.S: Likewise.
14232 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14233 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14234 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14235 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14236 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14237 * sysdeps/i386/fpu/e_log.S: Likewise.
14238 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14239 * sysdeps/i386/fpu/e_logf.S: Likewise.
14240 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14241 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14242 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14243 * sysdeps/i386/fpu/e_log10.S: Likewise.
14244 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14245 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14246 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14247 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14248 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14249 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14250 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14251 * sysdeps/i386/i686/strtok.S: Likewise.
14252 * sysdeps/i386/i386-mcount.S: Likewise.
14253 * sysdeps/i386/strtok.S: Likewise.
14254 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14255 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14256 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14257 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14258 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14259 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14260 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14261 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14262 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14263 * sysdeps/x86_64/_mcount.S: Likewise.
14264 * sysdeps/x86_64/strtok.S: Likewise.
14265 * sysdeps/sh/_mcount.S: Likewise.
14266
14267 2012-08-01 Roland McGrath <roland@hack.frob.com>
14268
14269 * libio/iofopen.c: Include <fcntl.h>.
14270 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14271 (_IO_fopen64, fopen64): Define as aliases.
14272 * libio/iofopen64.c: Include <fcntl.h>.
14273 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14274 Conditionalize body on this.
14275 * sysdeps/wordsize-64/iofopen.c: File removed.
14276 * sysdeps/wordsize-64/iofopen64.c: File removed.
14277
14278 2012-08-01 Marek Polacek <polacek@redhat.com>
14279
14280 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14281 Use dlfcn directly instead of a variable.
14282 (binfmt-subdir): Do not define.
14283 (dlfcn): Likewise.
14284
14285 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14286
14287 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14288 Remove all definitions.
14289 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14290 <kernel-features.h>.
14291 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14292 (miss_F_GETOWN_EX): Remove all definitions.
14293 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14294 macro definition.
14295 [!__ASSUME_FCNTL64]: Remove conditional code.
14296 [__ASSUME_FCNTL64]: Make code unconditional.
14297 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14298 <kernel-features.h>.
14299 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14300 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14301 (lockf64) [__NR_fcntl64]: Make code unconditional.
14302 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14303
14304 * sysdeps/unix/sysv/linux/kernel-features.h
14305 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14306 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14307 Make code unconditional.
14308 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14309 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14311 [__NR_vfork]: Make code unconditional.
14312 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14313 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14315 [__NR_vfork]: Make code unconditional.
14316 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14317 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14318
14319 2012-08-01 Roland McGrath <roland@hack.frob.com>
14320
14321 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14322 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14323
14324 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14325 Define mkstemp64 as an alias.
14326 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14327 Define mkstemps64 as an alias.
14328 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14329 Define mkostemp64 as an alias.
14330 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14331 Define mkostemps64 as an alias.
14332 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14333 Conditionalize body on this.
14334 * misc/mkostemp64.c: Likewise.
14335 * misc/mkostemps64.c: Likewise.
14336 * misc/mkstemps64.c: Likewise.
14337 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14338 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14339 * sysdeps/wordsize-64/mkostemp.c: File removed.
14340 * sysdeps/wordsize-64/mkstemp.c: File removed.
14341 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14342 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14343 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14344 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14345
14346 [BZ #14138]
14347 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14348 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14349 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14350 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14351
14352 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14353 compat_symbol macros from <shlib-compat.h> rather than the underlying
14354 default_symbol_version and symbol_version macros, so that DEFAULT
14355 lines in shlib-versions are respected.
14356 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14357
14358 2012-08-01 Florian Weimer <fweimer@redhat.com>
14359
14360 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14361 Declare with warn_unused_result.
14362 (setgid, setregid, setegid, setresgid): Likewise.
14363 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14364 Likewise.
14365 * WUR-REPORT: Remove set*id functions.
14366
14367 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14368
14369 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14370
14371 2012-07-31 Roland McGrath <roland@hack.frob.com>
14372
14373 [BZ #10191]
14374 * include/sys/socket.h (__libc_accept, __libc_accept4):
14375 Add attribute_hidden.
14376 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14377
14378 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14379 use of PTR_MANGLE.
14380 * inet/getnetgrent_r.c (setup): Likewise.
14381
14382 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14383
14384 2012-07-31 David S. Miller <davem@davemloft.net>
14385
14386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14387
14388 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14389
14390 [BZ #13629]
14391 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14392 value between 1.0 and 2.0 and smaller part has absolute value less
14393 than 1.0.
14394 * math/s_clog10.c (__clog10): Likewise.
14395 * math/s_clog10f.c (__clog10f): Likewise.
14396 * math/s_clog10l.c (__clog10l): Likewise.
14397 * math/s_clogf.c (__clogf): Likewise.
14398 * math/s_clogl.c (__clogl): Likewise.
14399 * math/libm-test.inc (clog_test): Add more tests.
14400 (clog10_test): Likewise.
14401 * sysdeps/i386/fpu/libm-test-ulps: Update.
14402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14403
14404 2012-07-31 Florian Weimer <fweimer@redhat.com>
14405
14406 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14407 Exit with zero in case no suitable GID is found, and write a
14408 message to standard error.
14409
14410 2012-07-30 Roland McGrath <roland@hack.frob.com>
14411
14412 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14413 rather than to 1.
14414 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14415 (MAXPATHLEN): Removed.
14416 (NOGROUP, NODEV): New macros.
14417 (setbit, clrbit, isset, isclr): New macros.
14418 (howmany, roundup, powerof2): New macros.
14419 (DEV_BSIZE): New macro.
14420
14421 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14422 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14423
14424 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14425 definition on [!__NO_LONG_DOUBLE_MATH].
14426
14427 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14428 PTR_MANGLE and PTR_DEMANGLE.
14429
14430 * socket/accept4.c (accept4): Rename to __libc_accept4.
14431 Define accept4 as a weak alias.
14432
14433 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14434 on [_DIRENT_HAVE_D_TYPE].
14435 * io/ftw.c (ftw_dir): Likewise.
14436
14437 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14438
14439 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14440
14441 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14442 Use the BSD numbers rather than the arbitrary ones we had.
14443 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14444 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14445 (SIGXCPU, SIGXFSZ): New macros.
14446 (_NSIG): Now 32.
14447
14448 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14449 initializer on [_LIBC_REENTRANT].
14450
14451 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14452 definitions inside [_POSIX_MAPPED_FILES].
14453
14454 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14455
14456 * dirent/opendir.c: Include <fcntl.h>.
14457
14458 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14459 (__libc_getspecific): Likewise.
14460 (__libc_key_create): Likewise.
14461
14462 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14463 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14464 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14465 (tmpfile64): Define as alias.
14466 * sysdeps/wordsize-64/tmpfile.c: File removed.
14467 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14468 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14469 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14470
14471 * stdio-common/vfscanf.c: Include <stdbool.h>.
14472 * nss/makedb.c: Likewise.
14473 * stdio-common/_i18n_number.h: Likewise.
14474 * argp/argp-help.c: Likewise.
14475 * posix/wordexp.c: Likewise.
14476 * sysdeps/posix/spawni.c: Likewise.
14477 * nss/nss_files/files-initgroups.c: Likewise.
14478 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14479 * nss/nss_files/files-initgroups.c: Likewise.
14480 * nss/nss_db/db-netgrp.c: Likewise.
14481 * nss/nss_db/db-initgroups.c: Likewise.
14482 * io/fchmodat.c: Include <sys/stat.h>.
14483
14484 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14485 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14486
14487 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14488 [HAVE_MMAP].
14489
14490 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14491 Add multiple inclusion protection.
14492
14493 2012-07-27 David S. Miller <davem@davemloft.net>
14494
14495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14496
14497 2012-07-27 Gary Benson <gbenson@redhat.com>
14498
14499 [BZ #14298]
14500 * elf/rtld.c: Include <stap-probe.h>.
14501 (dl_main): Added static probes "init_start" and "init_complete".
14502 * elf/dl-load.c: Include <stap-probe.h>.
14503 (lose): Take new parameter "nsid".
14504 Added static probe "map_failed".
14505 (_dl_map_object_from_fd): Pass namespace id to lose.
14506 Added static probe "map_start".
14507 (open_verify): Pass namespace id to lose.
14508 * elf/dl-open.c: Include <stap-probe.h>.
14509 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14510 and "reloc_complete".
14511 * elf/dl-close.c: Include <stap-probe.h>.
14512 (_dl_close_worker): Added static probes "unmap_start" and
14513 "unmap_complete".
14514 * elf/rtld-debugger-interface.txt: New file documenting the above.
14515
14516 2012-07-26 Roland McGrath <roland@hack.frob.com>
14517
14518 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14519 rather than a string variable.
14520 * sunrpc/rpc_main.c (h_output): Likewise.
14521 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14522
14523 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14524
14525 * inet/check_native.c: New file.
14526
14527 2012-07-26 Joseph Myers <joseph@codesourcery.com>
14528
14529 [BZ #13629]
14530 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14531 if larger part has absolute value 1.0.
14532 * math/s_clog10.c (__clog10): Likewise.
14533 * math/s_clog10f.c (__clog10f): Likewise.
14534 * math/s_clog10l.c (__clog10l): Likewise.
14535 * math/s_clogf.c (__clogf): Likewise.
14536 * math/s_clogl.c (__clogl): Likewise.
14537 * math/libm-test.inc (clog_test): Add more tests.
14538 (clog10_test): Likewise.
14539 * sysdeps/i386/fpu/libm-test-ulps: Update.
14540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14541
14542 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14543 (pltexit): Likewise.
14544 (La_regs): Likewise.
14545 (La_retval): Likewise.
14546 (int_retval): Likewise.
14547 Update #error for removed macros to refer only to definitions in
14548 tst-audit.h.
14549 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14550 macro.
14551 (pltexit): Likewise.
14552 (La_regs): Likewise.
14553 (La_retval): Likewise.
14554 (int_retval): Likewise.
14555 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14556 macro.
14557 (pltexit): Likewise.
14558 (La_regs): Likewise.
14559 (La_retval): Likewise.
14560 (int_retval): Likewise.
14561 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14562 macro.
14563 (pltexit): Likewise.
14564 (La_regs): Likewise.
14565 (La_retval): Likewise.
14566 (int_retval): Likewise.
14567 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14568 macro.
14569 (pltexit): Likewise.
14570 (La_regs): Likewise.
14571 (La_retval): Likewise.
14572 (int_retval): Likewise.
14573 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14574 macro.
14575 (pltexit): Likewise.
14576 (La_regs): Likewise.
14577 (La_retval): Likewise.
14578 (int_retval): Likewise.
14579 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14580 macro.
14581 (pltexit): Likewise.
14582 (La_regs): Likewise.
14583 (La_retval): Likewise.
14584 (int_retval): Likewise.
14585 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14586 macro definitions in tst-audit.h.
14587 * sysdeps/i386/tst-audit.h: New file.
14588 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14589 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14590 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14591 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14592 * sysdeps/sh/tst-audit.h: Likewise.
14593 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14594 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14595 * sysdeps/x86_64/tst-audit.h: Likewise.
14596
14597 2012-07-26 Andreas Jaeger <aj@suse.de>
14598
14599 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14600 ptrace.
14601
14602 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14603 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14604 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14605 PTRACE_O_MASK.
14606 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14607 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14608 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14609
14610 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14611 value.
14612
14613 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14614 _sigsys.
14615 (si_call_addr, si_syscall, si_arch): Define new macro.
14616 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14617 _sigsys.
14618 (si_call_addr, si_syscall, si_arch): Define new marcro.
14619 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14620 _sigsys.
14621 (si_call_addr, si_syscall, si_arch): Define new macro.
14622 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14623 _sigsys.
14624 (si_call_addr, si_syscall, si_arch): Define new macro.
14625
14626 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14627
14628 [BZ #13717]
14629 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14630 Change to 2.4.21 where previously 2.4.1.
14631 * sysdeps/unix/sysv/linux/configure: Regenerated.
14632 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14633 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14634 Linux kernel version.
14635 (__ASSUME_STD_AUXV): Remove.
14636 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14637 kernel version.
14638 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14639 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14640 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14641 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14642 (__ASSUME_NETLINK_SUPPORT): Likewise.
14643 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14644 (__no_netlink_support): Remove conditional definition.
14645 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14646 Remove.
14647 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14648 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14649 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14650 (if_nameindex_ioctl): Remove.
14651 (if_nameindex_netlink): Do not handle __no_netlink_support.
14652 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14653 code.
14654 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14655 Remove conditional code.
14656 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14657 code.
14658 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14659 unconditional.
14660 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14661 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14662 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14663 Remove.
14664 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14665 [!__ASSUME_STD_AUXV]: Remove conditional code.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14667 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14668 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14670 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14671 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14672 code.
14673 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14675 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14676 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14677 conditional code.
14678 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14680 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14681 code.
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14683 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14684 conditional code.
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14686 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14687 code unconditional.
14688 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14689 conditional code.
14690 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14691 unconditional.
14692 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14693 conditional code.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14695 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14696 unconditional.
14697 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14698 conditional code.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14700 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14701 code unconditional.
14702 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14703 conditional code.
14704 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14705 unconditional.
14706 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14707 conditional code.
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14709 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14710 code unconditional.
14711 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14712 conditional code.
14713 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14714 unconditional.
14715 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14716 conditional code.
14717
14718 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14719
14720 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14721 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14722 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14723 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14724 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14725 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14726 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14727 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14728 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14729 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14730 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14731 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14732 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14733 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14734 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14735 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14736 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14737 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14738 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14740 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14741 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14742 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14743
14744 2012-07-25 Florian Weimer <fweimer@redhat.com>
14745
14746 * Versions.def: Add GLIBC_2.17.
14747 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14748 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14749 Introduce __libc_secure_getenv.
14750 * stdlib/Versions (2.17): Add secure_getenv
14751 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14752 * stdlib/secure-getenv.c: Rename __secure_getenv to
14753 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14754 symbol __secure_getenv for GLIBC_2.0.
14755 * stdlib/tst-secure-getenv.c: New.
14756 * stdlib/Makefile (tests): Add testcase.
14757 * manual/startup.texi (Environment Access): Document
14758 secure_getenv.
14759 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14760 __libc_secure_getenv.
14761 * inet/ruserpass.c (ruserpass): Likewise.
14762 * malloc/mtrace.c (mtrace): Likewise.
14763 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14764 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14765 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14766 * sysdeps/posix/tempname.c: Likewise. Evaluate
14767 HAVE_SECURE_GETENV.
14768 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14769 __secure_getenv to __libc_secure_getenv.
14770 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14772 Likewise.
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14774 Likewise.
14775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14777 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14782
14783 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14784
14785 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14786 (struct La_i86_retval): Likewise.
14787 (struct La_x86_64_regs): Likewise.
14788 (struct La_x86_64_retval): Likewise.
14789 (struct La_x32_regs): Likewise.
14790 (struct La_x32_retval): Likewise.
14791 (struct La_ppc32_regs): Likewise.
14792 (struct La_ppc32_retval): Likewise.
14793 (struct La_ppc64_regs): Likewise.
14794 (struct La_ppc64_retval): Likewise.
14795 (struct La_sh_regs): Likewise.
14796 (struct La_sh_retval): Likewise.
14797 (struct La_s390_32_regs): Likewise.
14798 (struct La_s390_32_retval): Likewise.
14799 (struct La_s390_64_regs): Likewise.
14800 (struct La_s390_64_retval): Likewise.
14801 (struct La_sparc32_regs): Likewise.
14802 (struct La_sparc32_retval): Likewise.
14803 (struct La_sparc64_regs): Likewise.
14804 (struct La_sparc64_retval): Likewise.
14805 (struct audit_ifaces): Remove architecture-specific pltenter and
14806 pltexit members.
14807 * sysdeps/i386/ldsodefs.h: New file.
14808 * sysdeps/powerpc/ldsodefs.h: Likewise.
14809 * sysdeps/s390/ldsodefs.h: Likewise.
14810 * sysdeps/sh/ldsodefs.h: Likewise.
14811 * sysdeps/sparc/ldsodefs.h: Likewise.
14812 * sysdeps/x86_64/ldsodefs.h: Likewise.
14813
14814 2012-07-25 Marek Polacek <polacek@redhat.com>
14815
14816 [BZ #6808]
14817 * math/libm-test.inc (yn_test): Add another test.
14818 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14819 to ERANGE when the result is +-Inf.
14820 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14821 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14822 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14823 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14824
14825 2012-07-24 Joseph Myers <joseph@codesourcery.com>
14826
14827 * conform/data/time.h-data (NULL): Use macro-constant. Require
14828 equal to 0.
14829 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14830 clock_t.
14831 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14832
14833 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14834
14835 * configure.in <sysdeps resolving>: Correct printing
14836 Implies_before.
14837 * configure: Regenerate.
14838
14839 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14840
14841 * math/w_ilogb.c: Include <limits.h>.
14842 * math/w_ilogbl.c: Likewise.
14843
14844 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14845
14846 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14847 va_copy. Document allowing for unavailable va_copy only as
14848 pre-C99 compatibility.
14849 * manual/string.texi (Copying and Concatenation): Use va_copy
14850 instead of __va_copy in concat example.
14851
14852 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14853
14854 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14855 (__sendto): Use create_address_port. Initialize APORT and deallocate
14856 it if not null.
14857
14858 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14859 with O_NOLINK passed to __file_name_lookup.
14860
14861 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14862 with O_NOLINK passed to __file_name_lookup.
14863
14864 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14865 negative N or less than NGIDS.
14866
14867 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14868 type to string_t. Set ERANGE as errno and return it if NAME is not big
14869 enough. Use memcpy instead of strncpy.
14870
14871 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14872
14873 * elf/Makefile (check-data): Remove.
14874 (localplt.data): New vpath directive.
14875 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14876 instead of $(check-data).
14877 * scripts/data/localplt-generic.data: Move to ...
14878 * sysdeps/generic/localplt.data: ... here.
14879 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14880 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14881 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14883 ... here.
14884 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14886 ... here.
14887 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14889 ... here.
14890 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14892 ... here.
14893 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14895 ... here.
14896 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14898 ... here.
14899
14900 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14901
14902 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14903 PPC32 and PPC64 files.
14904 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14905 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14906
14907 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14908
14909 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14910 __makecontext_ret to ...
14911 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14912 ... here and call exit if uc_link is NULL. New file.
14913 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14914 __makecontext_ret.S.
14915 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14916 __makecontext_ret to ...
14917 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14918 ... here and call exit if uc_link is NULL. New file.
14919 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14920 __makecontext_ret.S.
14921
14922 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14923
14924 * elf/elf.h (R_390_IRELATIVE): New definition.
14925 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14926 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14927 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14928 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14929 (elf_machine_lazy_rel): Likewise.
14930 * sysdeps/s390/dl-irel.h: New file.
14931 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14932 * sysdeps/s390/s390-64/memset.S: New asm code.
14933 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14934 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14935 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14936 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14937 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14938 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14939 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14940 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14941 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14942 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14943 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14944 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14945 * sysdeps/s390/s390-32/memset.S: New asm code.
14946 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14947
14948 2012-07-17 Marek Polacek <polacek@redhat.com>
14949
14950 [BZ #14349]
14951 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14952 * sysdeps/s390/s390-64/configure.in: Likewise.
14953 * sysdeps/sparc/configure.in: Likewise.
14954 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14955 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14956 * sysdeps/i386/configure.in: Likewise.
14957 * sysdeps/x86_64/configure.in: Likewise.
14958 * sysdeps/sh/configure.in: Likewise.
14959 * sysdeps/s390/s390-32/configure: Regenerated.
14960 * sysdeps/s390/s390-64/configure: Likewise.
14961 * sysdeps/x86_64/configure: Likewise.
14962 * sysdeps/sh/configure: Likewise.
14963 * sysdeps/powerpc/powerpc64/configure: Likewise.
14964 * sysdeps/powerpc/powerpc32/configure: Likewise.
14965 * sysdeps/sparc/configure: Likwise.
14966 * sysdeps/i386/configure: Likewise.
14967
14968 * elf/dl-open.c: Comment fixes.
14969
14970 2012-07-17 Joseph Myers <joseph@codesourcery.com>
14971
14972 * Makefile [CXX] (check-data): Remove.
14973 [CXX] (c++-types.data): New vpath directive.
14974 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14975 vpath. Do not allow for C++ type data being missing.
14976 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14977 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14978 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14979 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14980 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14981 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14982 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14984 ... here.
14985 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14987 ... here.
14988 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14990 ... here.
14991 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14993 ... here.
14994 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14996 ... here.
14997 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14999 ... here.
15000 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15002 ... here.
15003 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15005
15006 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15007 definitions to architecture-specific files.
15008 (TLS_IE): Likewise.
15009 (TLS_LD): Likewise.
15010 (TLS_GD): Likewise.
15011 * sysdeps/i386/tls-macros.h: New file.
15012 * sysdeps/powerpc/tls-macros.h: Likewise.
15013 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15014 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15015 * sysdeps/sh/tls-macros.h: Likewise.
15016 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15017 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15018 * sysdeps/x86_64/tls-macros.h: Likewise.
15019
15020 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15021
15022 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15023 zero value for regular exit case.
15024
15025 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15026 (__start_context): Preserve zero value for regular exit case.
15027
15028 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15029 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15030
15031 * manual/setjmp.texi (setcontext): Clarify normal process
15032 termination when uc_link is the null pointer.
15033 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15034 exit call.
15035
15036 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15037
15038 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15039 preprocessor. Test for each exception mask separately.
15040
15041 2012-07-16 Andreas Jaeger <aj@suse.de>
15042
15043 * po/ru.po: Update from translation team.
15044
15045 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15046
15047 * conform/data/string.h-data (NULL): Use macro-constant. Require
15048 equal to 0.
15049 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15050 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15051 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15052 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15053 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15054
15055 2012-07-13 Andreas Jaeger <aj@suse.de>
15056
15057 * po/fr.po: Update from translation team.
15058
15059 2012-07-12 Marek Polacek <polacek@redhat.com>
15060
15061 [BZ #14173]
15062 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15063 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15064 loop condition.
15065
15066 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15067
15068 [BZ #13717]
15069 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15070 Change to 2.4.1 where previously 2.4.0.
15071 * sysdeps/unix/sysv/linux/configure: Regenerated.
15072 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15073 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15074 version.
15075 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15076 (__ASSUME_AT_CLKTCK): Remove.
15077 (__ASSUME_AT_PAGESIZE): Likewise.
15078 (__ASSUME_AT_XID): Likewise.
15079 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15080 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15081 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15082 unconditionally.
15083 (HAVE_AUX_PAGESIZE): Likewise.
15084 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15085 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15086 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15087
15088 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15089
15090 [BZ #14307]
15091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15092 the temporary buffer used to invoke __gethostbyname2_r,
15093 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15094 host_data / struct gaih_addrtuple.
15095 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15096 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15097 header file nss/nsswitch.h.
15098 * nss/nsswitch.h (global scope): Add definition of implementation
15099 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15100 resolv/nss_dns/dns-host.c).
15101
15102 2012-07-11 Andreas Jaeger <aj@suse.de>
15103
15104 * po/fr.po: Update from translation team.
15105
15106 * po/sv.po: Update from translation team
15107 * po/fr.po: Another update from translation team.
15108
15109 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15110
15111 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15112 for subnormals or multiply small sinh result by itself.
15113 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15115
15116 2012-07-11 David S. Miller <davem@davemloft.net>
15117
15118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15119
15120 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15121
15122 [BZ #14347]
15123 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15124 (INTERNAL_MARK): Shift it here.
15125
15126 2012-07-10 Marek Polacek <polacek@redhat.com>
15127
15128 [BZ #14151]
15129 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15130 libc_cv_asm_global_directive with .globl.
15131 * configure: Regenerated.
15132 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15133 with .globl.
15134 * sysdeps/i386/configure: Regenerated.
15135 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15136 with .globl.
15137 * sysdeps/x86_64/configure: Regenerated.
15138 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15139 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15140 * elf/tst-unique2mod2.c: Likewise.
15141 * elf/tst-unique2mod1.c: Likewise.
15142 * elf/tst-unique1mod2.c: Likewise.
15143 * elf/tst-unique1mod1.c: Likewise.
15144 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15145 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15146 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15147 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15148 * sysdeps/mach/sysdep.h: Likewise.
15149 * sysdeps/i386/sysdep.h: Likewise.
15150 * sysdeps/i386/i386-mcount.S: Likewise.
15151 * sysdeps/x86_64/_mcount.S: Likewise.
15152 * sysdeps/x86_64/sysdep.h: Likewise.
15153 * sysdeps/sh/_mcount.S: Likewise.
15154 * sysdeps/sh/sysdep.h: Likewise.
15155 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15156 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15157 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15158 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15159 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15160 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15161 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15162 * locale/localeinfo.h: Likewise.
15163 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15164 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15165
15166 2012-07-09 Roland McGrath <roland@hack.frob.com>
15167
15168 [BZ #14336]
15169 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15170 system".
15171 * manual/message.texi (The Uniforum approach): Likewise.
15172 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15173 (glibc iconv Implementation): Likewise.
15174
15175 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15176
15177 [BZ #14337]
15178 * math/s_clog.c (__clog): Avoid scaling a value down where that
15179 could result in underflow.
15180 * math/s_clog10.c (__clog10): Likewise.
15181 * math/s_clog10f.c (__clog10f): Likewise.
15182 * math/s_clog10l.c (__clog10l): Likewise.
15183 * math/s_clogf.c (__clogf): Likewise.
15184 * math/s_clogl.c (__clogl): Likewise.
15185 * math/libm-test.inc (clog_test): Add more tests.
15186 (clog10_test): Likewise.
15187 * sysdeps/i386/fpu/libm-test-ulps: Update.
15188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15189
15190 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15191
15192 [BZ #14283]
15193 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15194 by 7 not 8 to examine high bit of fractional part.
15195
15196 [BZ #14042]
15197 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15198 for call to __mcount_internal.
15199 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15200 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15201 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15202
15203 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15204
15205 [BZ #14154]
15206 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15207 approximation for values within 0x1p-13f of an odd multiple of
15208 pi/4.
15209 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15210 exception. Add more tests.
15211 * sysdeps/i386/fpu/libm-test-ulps: Update.
15212
15213 [BZ #6778]
15214 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15215 inputs and return -1 for them. Do not check for +Inf in case not
15216 reachable for +Inf.
15217 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15218 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15219 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15220 and return -1 for them. Do not check for +Inf in case not
15221 reachable for +Inf.
15222 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15223 define.
15224 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15225 and return -1 for them. Do not check for +Inf in case not
15226 reachable for +Inf.
15227 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15228 spurious underflow.
15229 * sysdeps/i386/fpu/libm-test-ulps: Update.
15230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15231
15232 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15233
15234 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15235
15236 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15237
15238 [BZ #14157]
15239 [BZ #14331]
15240 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15241 could result in spurious underflow. Scale down values above
15242 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15243 * math/s_csqrtf.c (__csqrtf): Likewise.
15244 * math/s_csqrtl.c (__csqrtl): Likewise.
15245 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15246 spurious underflow.
15247 * sysdeps/i386/fpu/libm-test-ulps: Update.
15248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15249
15250 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15251
15252 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15253 xopen-msg.sed.
15254 * catgets/xopen-msg.awk: New file.
15255 * catgets/xopen-msg.sed: Removed.
15256
15257 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15258 po2text.sed.
15259 * intl/po2test.awk: New file.
15260 * intl/po2test.sed: Removed.
15261
15262 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15263
15264 [BZ #14328]
15265 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15266 or multiply small sinh result by itself.
15267 * math/s_ctanf.c (__ctanf): Likewise.
15268 * math/s_ctanh.c (__ctanh): Likewise.
15269 * math/s_ctanhf.c (__ctanhf): Likewise.
15270 * math/s_ctanhl.c (__ctanhl): Likewise.
15271 * math/s_ctanl.c (__ctanl): Likewise.
15272 * math/libm-test.inc (ctan_test_tonearest): New function.
15273 (ctan_test_towardzero): Likewise.
15274 (ctan_test_downward): Likewise.
15275 (ctan_test_upward): Likewise.
15276 (ctanh_test_tonearest): Likewise.
15277 (ctanh_test_towardzero): Likewise.
15278 (ctanh_test_downward): Likewise.
15279 (ctanh_test_upward): Likewise.
15280 (main): Call these new functions.
15281 * sysdeps/i386/fpu/libm-test-ulps: Update.
15282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15283
15284 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15285
15286 * .gitignore: Delete /ports entry.
15287
15288 2012-07-03 Andreas Jaeger <aj@suse.de>
15289
15290 * po/bg.po: Update from translation team.
15291 * po/cs.po: Likewise.
15292 * po/de.po: Likewise.
15293 * po/hr.po: Likewise.
15294 * po/nl.pl: Likewise.
15295 * po/pl.po: Likewise.
15296 * po/vi.po: Likewise.
15297
15298 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15299
15300 * Makeconfig [!+link] (+link-before-libc): New variable.
15301 [!+link] (+link-after-libc): Likewise.
15302 [!+link] (+link-tests): Likewise.
15303 [!+link] (+link): Define in terms of $(+link-before-libc) and
15304 $(+link-after-libc).
15305 [!+link-static] (+link-static-before-libc): New variable.
15306 [!+link-static] (+link-static-after-libc): Likewise.
15307 [!+link-static] (+link-static-tests): Likewise.
15308 [!+link-static] (+link-static): Define in terms of
15309 $(+link-static-before-libc) and $(+link-static-after-libc).
15310 [build-shared] (link-libc-before-gnulib): New variable.
15311 [build-shared] (link-libc-tests): Likewise.
15312 [build-shared] (link-libc): Define in terms of
15313 $(link-libc-before-gnulib).
15314 [!build-shared] (link-libc-tests): New variable.
15315 (link-libc-static-tests): New variable.
15316 [!gnulib] (gnulib-arch): New variable.
15317 [!gnulib] (gnulib-tests): Likewise.
15318 [!gnulib] (static-gnulib-arch): Likewise.
15319 [!gnulib] (static-gnulib-tests): Likewise.
15320 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15321 Define with "=" instead of ":=".
15322 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15323 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15324 * Rules (binaries-all-notests): New variable.
15325 (binaries-all-tests): Likewise.
15326 (binaries-static-notests): Likewise.
15327 (binaries-static-tests): Likewise.
15328 (binaries-all): Define using $(binaries-all-notests) and
15329 $(binaries-all-tests).
15330 (binaries-static): Define using $(binaries-static-notests) and
15331 $(binaries-static-tests).
15332 (binaries-shared-tests): New variable.
15333 (binaries-shared-notests): Likewise.
15334 (binaries-shared): Remove variable.
15335 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15336 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15337 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15338 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15339 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15340 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15341 * elf/Makefile (sln-modules): New variable.
15342 (extra-objs): Add $(sln-modules:=.o).
15343 (ldconfig-modules): Add static-stubs.
15344 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15345 * elf/static-stubs.c: New file.
15346
15347 [BZ #14283]
15348 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15349 by 7 not 8 to examine high bit of fractional part. Use volatile
15350 variables when splitting into final array of floats if
15351 __FLT_EVAL_METHOD__ != 0.
15352 * math/libm-test.inc (cos_test): Add another test.
15353 (sin_test): Likewise.
15354 * sysdeps/i386/fpu/libm-test-ulps: Update.
15355
15356 [BZ #14273]
15357 * math/libm-test.inc (cosh_test): Add more tests.
15358
15359 * version.h (RELEASE): Set to "development".
15360 (VERSION): Set to "2.16.90".
15361
15362 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15363
15364 * NEWS: Update copyright. Remove last-updated date.
15365 Mention math library bug fixes and timezone data changes.
15366 * README: Mention GNU/Hurd, x32, and HPPA support status.
15367
15368 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15369
15370 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15371
15372 2012-06-27 Andreas Jaeger <aj@suse.de>
15373
15374 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15375
15376 2012-06-25 Andreas Jaeger <aj@suse.de>
15377
15378 * sysdeps/s390/fpu/libm-test-ulps: Update.
15379
15380 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15381 Thomas Schwinge <thomas@codesourcery.com>
15382
15383 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15384 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15385 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15386 fanotify_mark.
15387
15388 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15389
15390 * sysdeps/mach/start.c: Remove file.
15391 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15392 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15393 * sysdeps/sh/init-first.c: Likewise.
15394
15395 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15396 registers for frame unwinding purposes, add CFI directives.
15397 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15398 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15399 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15400 Likewise.
15401
15402 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15403 __fortify_fail returning.
15404 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15405
15406 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15407 sysdeps/sh/____longjmp_chk.S.
15408 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15409 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15410 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15411 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15412
15413 * sysdeps/sh/abort-instr.h: New file.
15414 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15415 process in case exit returns.
15416
15417 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15418 initialize the GOT register before use.
15419
15420 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15421 calculation of ARGC > 4.
15422
15423 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15424 meaningful names to some local labels.
15425
15426 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15427 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15428
15429 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15430 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15431 (__arch_compare_and_exchange_val_16_acq): Likewise.
15432 (__arch_compare_and_exchange_val_32_acq): Likewise.
15433 (atomic_exchange_and_add): Fix gUSA sequence.
15434 (atomic_add): Likewise.
15435 (atomic_add_negative): Likewise.
15436 (atomic_add_zero): Likewise.
15437 (atomic_bit_test_set): Likewise.
15438
15439 2012-06-22 Andreas Schwab <schwab@redhat.com>
15440
15441 [BZ #13579]
15442 * include/link.h (struct link_map): Add l_free_initfini.
15443 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15444 l_initfini.
15445 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15446 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15447 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15448 set.
15449
15450 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15451
15452 * configure.in: Use AC_LANG_SOURCE.
15453 * configure: Regenerate.
15454
15455 2012-06-22 Roland McGrath <roland@hack.frob.com>
15456
15457 * configure.in (libc_cv_localstatedir): New substituted variable.
15458 * configure: Regenerated.
15459 * config.make.in (localstatedir): New variable, substituted from
15460 libc_cv_localstatedir.
15461 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15462 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15463 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15464 * sysdeps/gnu/configure: Regenerated.
15465
15466 2012-06-21 Jeff Law <law@redhat.com>
15467
15468 [BZ #14277]
15469 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15470 free. Simplify list management for _LIBC case.
15471
15472 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15473
15474 [BZ #14273]
15475 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15476 Clear sign bit of 64-bit integer value before comparing against
15477 overflow value.
15478
15479 * sysdeps/mach/configure: Regenerated.
15480
15481 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15482
15483 [BZ #14278]
15484 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15485
15486 2012-06-21 Jeff Law <law@redhat.com>
15487
15488 [BZ #13882]
15489 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15490 uint16_t for elements in the "seen" array to avoid char overflows.
15491 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15492 * elf/dl-open.c (dl_open_worker): Likewise.
15493
15494 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15495
15496 * scripts/list-sources.sh: Scan PORTS for translations.
15497 * po/libc.pot: Regenerated.
15498
15499 2012-06-21 Andreas Jaeger <aj@suse.de>
15500
15501 [BZ #12194]
15502 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15503 warning.
15504 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15505 * bits/byteswap-16.h (__bswap_16): Likewise.
15506 * bits/byteswap.h (__bswap_constant_16): Likewise.
15507
15508 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15509
15510 [BZ #14117]
15511 * sysdeps/i386/fpu_control.h: Removed.
15512 * sysdeps/x86_64/fpu_control.h: Moved to ...
15513 * sysdeps/x86/fpu_control.h: Here.
15514
15515 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15516 (_FPU_SETCW): Likewise.
15517
15518 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15519
15520 [BZ #14117]
15521 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15522 * sysdeps/x86/fpu/bits/mathinline.h: This.
15523 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15524
15525 [BZ #14050]
15526 [BZ #14117]
15527 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15528 functions if __x86_64__ is defined.
15529
15530 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15531
15532 * string/endian.h: Add !__ASSEMBLER__ condition for including
15533 conversion interfaces.
15534
15535 2012-06-15 Joseph Myers <joseph@codesourcery.com>
15536
15537 [BZ #14241]
15538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15539 of ABS(x) in calculating zero to negative powers other than odd
15540 integers.
15541 * math/libm-test.inc (pow_test): Add more tests.
15542
15543 2012-06-15 Andreas Jaeger <aj@suse.de>
15544
15545 * manual/contrib.texi (Contributors): Update entry of Liubov
15546 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15547 Machado Filho.
15548
15549 2012-06-15 Cyril Hrubis <metan@ucw.cz>
15550
15551 * string/string.h: Add __wur to GNU version of strerror_r.
15552
15553 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15554
15555 [BZ #14229]
15556 * string/Makefile (tests): Add tst-strtok_r.
15557 * string/tst-strtok_r.c: New file.
15558 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15559 RAX_LP/RDX_LP on SAVE_PTR.
15560
15561 2012-06-14 Roland McGrath <roland@hack.frob.com>
15562
15563 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15564
15565 2012-06-14 Joseph Myers <joseph@codesourcery.com>
15566
15567 * libm_test.inc (csqrt_test): Allow more spurious underflow
15568 exceptions.
15569 (j0_test): Likewise.
15570 (j1_test): Likewise.
15571 (y0_test): Likewise.
15572 (y1_test): Likewise.
15573
15574 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15575
15576 * po/Makefile (libc.pot): Use UTF-8 charset.
15577
15578 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15579
15580 [BZ #14210]
15581 Suppress sign-conversion warning from FD_SET.
15582 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15583 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15584 not unsigned long int.
15585 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15586
15587 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15588
15589 [BZ #14050]
15590 [BZ #14117]
15591 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15592 __extern_always_inline instead of __extern_inline.
15593 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15594 (__signbit): Likewise.
15595 (__signbitl): Support C++ namespace.
15596 (lrintf): New inline function.
15597 (lrint): Likewise.
15598 (llrintf): Likewise.
15599 (llrint): Likewise.
15600 (fmaxf): Likewise.
15601 (fmax): Likewise.
15602 (fminf): Likewise.
15603 (fmin): Likewise.
15604 (rint): Likewise.
15605 (rintf): Likewise.
15606 (ceil): Likewise.
15607 (ceilf): Likewise.
15608 (floor): Likewise.
15609 (floorf): Likewise.
15610 (nearbyint): Likewise.
15611 (nearbyintf): Likewise.
15612
15613 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15614
15615 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15616 non-default versions.
15617
15618 2012-06-11 Roland McGrath <roland@hack.frob.com>
15619
15620 [BZ #14218]
15621 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15622
15623 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15624
15625 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15626 (FE_UPWARD, FE_DOWNWARD): Don't define.
15627 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15628 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15629
15630 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15631 reading it.
15632 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15633 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15634
15635 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15636
15637 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15638 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15639 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15640 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15641
15642 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15643
15644 [BZ #14117]
15645 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15646 * sysdeps/i386/fpu/Implies: New file.
15647 * sysdeps/x86_64/fpu/Implies: Likewise.
15648 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15649 * sysdeps/x86/fpu/bits/fenv.h: This.
15650
15651 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15652 __SSE_MATH__.
15653
15654 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15655
15656 [BZ #14134]
15657 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15658 character 0xffff that matches the last element of the
15659 conversion table.
15660
15661 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15662
15663 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15664 fmodl commit.
15665
15666 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15667
15668 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15669 values higher than 25.6283.
15670
15671 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15672
15673 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15674 subnormal exponent extraction and add some __builtin_expect.
15675 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15676 Fix for subnormal mantissa calculation.
15677
15678 2012-06-04 Mike Frysinger <vapier@gentoo.org>
15679
15680 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15681 cpu2 is -1 and errno is not ENOSYS.
15682
15683 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15684
15685 [BZ #14117]
15686 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15687 * sysdeps/x86/bits/string.h: This.
15688 * sysdeps/x86_64/bits/string.h: Removed.
15689
15690 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15691 if not compiling for x86-64, but compiling for >= i486.
15692
15693 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15694 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15695
15696 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15697 New macro from Linux kernel 3.4.0.
15698 (FP_XSTATE_MAGIC2): Likewise.
15699 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15700 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15701 (struct _fpx_sw_bytes): New struct.
15702 (struct _xsave_hdr): Likewise.
15703 (struct _ymmh_state): Likewise.
15704 (struct _xstate): Likewise.
15705
15706 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15707 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15708 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15709 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15710 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15711 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15712
15713 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15714 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15715 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15716 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15717 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15718 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15719
15720 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15721
15722 [BZ #13743]
15723 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15724 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15725 (sysdep_headers): Include sys/platform/ppc.h.
15726 * sysdeps/powerpc/test-gettimebase.c: Test for
15727 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15728 * manual/Makefile (appendices): Include platform.texi.
15729 * manual/contrib.texi (Contributors): Update @node pointers.
15730 * manual/maint.texi (Maintenance): Likewise.
15731 (Platform): New node.
15732 * manual/platform.texi: New file. Document the new features.
15733
15734 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15735 Jakub Jelinek <jakub@redhat.com>
15736
15737 [BZ #14188]
15738 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15739 where __builtin_expect is unavailable.
15740
15741 2012-06-03 David S. Miller <davem@davemloft.net>
15742
15743 * stdlib/longlong.h: Updated from GCC.
15744
15745 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15746
15747 [BZ #14042]
15748 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15749 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15750 __mcount_internal.
15751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15752 (GLIBC_2.16): Likewise.
15753
15754 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15755
15756 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15757
15758 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15759
15760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15761 (default-abi): New variable.
15762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15763 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15764 variable.
15765 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15766 Likewise.
15767 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15768 Likewise.
15769 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15770 Likewise.
15771
15772 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15773 definition. Document in comment.
15774
15775 2012-06-01 David S. Miller <davem@davemloft.net>
15776
15777 * stdlib/longlong.h: Updated from GCC.
15778
15779 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15780
15781 [BZ #14117]
15782 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15783 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15784 sys/debugreg.h sys/io.h here.
15785 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15786 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15787 sys/io.h.
15788 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15789 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15790 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15791 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15792 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15793 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15794
15795 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15796 Define only if __x86_64__ is defined.
15797
15798 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15799
15800 [BZ #14048]
15801 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15802 Use int64_t for variable i.
15803 * math/libm-test.inc (fmod_test): Add more tests.
15804
15805 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15806 z computation is not scheduled after fetestexcept.
15807 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15808 Use math_force_eval instead of asm to ensure calculation scheduled
15809 before exception test.
15810 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15811 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15812
15813 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15814
15815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15816 computation is not scheduled after fetestexcept.
15817
15818 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15819
15820 [BZ #14117]
15821 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15822 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15823
15824 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15825
15826 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15827 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15828
15829 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15830
15831 [BZ #14117]
15832 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15833 <bits/wordsize.h>.
15834 (__WCHAR_MIN): Support __WORDSIZE == 64.
15835 (__WCHAR_MAX): Likewise.
15836
15837 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15838 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15839
15840 [BZ #14183]
15841 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15842 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15843
15844 [BZ #14117]
15845 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15846 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15847
15848 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15849 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15850
15851 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15852 Defined to 1 if __x86_64__ isn't defined.
15853 (_STAT_VER_LINUX_OLD): New.
15854 (st_atime): Remove duplicate.
15855 (st_mtime): Likewise.
15856 (st_ctime): Likewise.
15857
15858 2012-05-31 David S. Miller <davem@davemloft.net>
15859
15860 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15861 entries.
15862
15863 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15864
15865 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15866 gen-libm-test.pl.
15867
15868 [BZ #14132]
15869 * elf/dl-reloc.c: Include <_itoa.h>.
15870 (_dl_reloc_bad_type): Remove use of INTUSE.
15871 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15872 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15873 * stdio-common/psiginfo.c (psiginfo): Likewise.
15874 * stdio-common/psignal.c (psignal): Likewise.
15875 * string/strsignal.c (strsignal): Likewise.
15876 * include/signal.h (_sys_siglist): Declare hidden proto.
15877 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15878 INTVARDEF with libc_hidden_data_def.
15879 * stdio-common/itoa-udigits.c: Likewise.
15880 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15881 (_itoa_lower_digits_internal): Remove declaration.
15882 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15883 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15884 (_sys_sigabbrev_internal): Remove aliases.
15885 (_sys_siglist): Define hidden alias.
15886
15887 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15888
15889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15890 bits/sysctl.h.
15891
15892 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15893
15894 [BZ #14117]
15895 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15896 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15897
15898 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15899 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15900 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15901 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15902 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15903 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15904
15905 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15906 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15907 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15908
15909 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15910 with __addr.
15911 (insw): Likewise.
15912 (insl): Likewise.
15913 (outsb): Likewise.
15914 (outsw): Likewise.
15915 (outsl): Likewise.
15916
15917 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15918 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15919 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15920
15921 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15922 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15923 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15924 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15925 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15926 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15927
15928 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15929 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15930
15931 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15932 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15933
15934 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15935 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15936 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15937
15938 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15939 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15940 to ...
15941 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15942
15943 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15944 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15945 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15946
15947 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15948 for x86-64.
15949 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15950
15951 2012-05-31 Joseph Myers <joseph@codesourcery.com>
15952
15953 * math/math.h (M_El): Use two more decimal places.
15954 (M_LOG2El): Likewise.
15955 (M_LOG10El): Likewise.
15956 (M_LN2l): Likewise.
15957 (M_LN10l): Likewise.
15958 (M_PIl): Likewise.
15959 (M_PI_2l): Likewise.
15960 (M_PI_4l): Likewise.
15961 (M_1_PIl): Likewise.
15962 (M_2_PIl): Likewise.
15963 (M_2_SQRTPIl): Likewise.
15964 (M_SQRT2l): Likewise.
15965 (M_SQRT1_2l): Likewise.
15966
15967 2012-05-31 David S. Miller <davem@davemloft.net>
15968
15969 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15970 values between float registers.
15971 * sysdeps/sparc/sparc64/memset.S: Likewise.
15972 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15973
15974 2012-05-31 Mike Frysinger <vapier@gentoo.org>
15975
15976 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15977 -D_FORTIFY_SOURCE=1.
15978 (CPPFLAGS-tst-longjmp_chk.c): Define.
15979 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15980 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15981 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15982 CFLAGS-tst-wchar-h.c.
15983
15984 2012-05-31 Marek Polacek <polacek@redhat.com>
15985
15986 [BZ #14132]
15987 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15988 __endmntent_internal): Remove declaration.
15989 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15990 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15991 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15992
15993 2012-05-30 David S. Miller <davem@davemloft.net>
15994
15995 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15996 (___Q_simulate_exceptions): Use real FP ops rather than writing
15997 into the %fsr.
15998 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15999 Likewise.
16000
16001 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16002
16003 [BZ #14117]
16004 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16005 * sysdeps/x86/bits/xtitypes.h: This.
16006
16007 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16008 * sysdeps/x86/bits/wordsize.h: This.
16009
16010 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16011 * sysdeps/x86/bits/huge_vall.h: This.
16012
16013 * sysdeps/i386/bits/select.h: Removed.
16014 * sysdeps/x86_64/bits/select.h: Renamed to ...
16015 * sysdeps/x86/bits/select.h: This.
16016
16017 * sysdeps/i386/bits/setjmp.h: Removed.
16018 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16019 * sysdeps/x86/bits/setjmp.h: This.
16020
16021 * sysdeps/i386/bits/mathdef.h: Removed.
16022 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16023 * sysdeps/x86/bits/mathdef.h: This.
16024
16025 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16026
16027 [BZ #14132]
16028 * include/sys/socket.h (__connect_internal)
16029 (__libc_sa_len_internal): Remove declaration.
16030 (__connect, __libc_sa_len): Declare hidden_proto.
16031 (SA_LEN): Remove use of INTUSE.
16032 * socket/connect.c: Add libc_hidden_def.
16033 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16034 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16035 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16036 alias.
16037 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16038 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16039 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16040 of adding _internal alias.
16041
16042 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16043
16044 [BZ #14117]
16045 * sysdeps/i386/bits/link.h: Removed.
16046 * sysdeps/i386/bits/linkmap.h: Likewise.
16047 * sysdeps/x86_64/bits/link.h: Renamed to ...
16048 * sysdeps/x86/bits/link.h: This.
16049 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16050 * sysdeps/x86/bits/linkmap.h: This.
16051
16052 * sysdeps/i386/bits/endian.h: Removed.
16053 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16054 * sysdeps/x86/bits/endian.h: This.
16055
16056 * sysdeps/i386/bits/byteswap.h: Removed.
16057 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16058 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16059 * sysdeps/x86/bits/byteswap.h: This.
16060 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16061 * sysdeps/x86/bits/byteswap-16.h: This.
16062 * sysdeps/i386/Implies: Add x86.
16063 * sysdeps/x86_64/Implies: Likewise.
16064
16065 2012-05-30 David S. Miller <davem@davemloft.net>
16066
16067 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16068 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16069 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16070 (FP_TRAPPING_EXCEPTIONS): Define.
16071 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16072 (FP_TRAPPING_EXCEPTIONS): Define.
16073 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16074 subnormals only when inexact has been signalled or underflow
16075 exceptions are enabled.
16076 (_FP_PACK_CANONICAL): Likewise.
16077
16078 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16079
16080 [BZ #14183]
16081 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16082 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16083
16084 2012-05-30 Richard Henderson <rth@twiddle.net>
16085
16086 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16087 with #ifndef NOT_IN_libc.
16088
16089 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16090 marked to avoid plt entry.
16091
16092 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16093
16094 [BZ #14112]
16095 * Makeconfig (default-abi): New macro.
16096 (abi-includes): Likewise.
16097 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16098 $(abi-$(default-abi)-lib-soname) for soname if defined.
16099 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16100 abi-variants.
16101 * Makefile (installed-stubs): Likewise.
16102 * include/stubs-biarch.h: Removed.
16103 * scripts/lib-names.awk: Only handle one library at a time.
16104 * scripts/soversions.awk: Remove WORDSIZE support.
16105 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16106 entries.
16107 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16108 Removed.
16109 (syscall-list-default-condition): Likewise.
16110 (syscall-list-default-condition): Likewise.
16111 (syscall-list-includes): Likewise.
16112 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16113 syscall-list-* with abi-*. Handle undefined abi-variants.
16114 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16115 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16116 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16117 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16118 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16119 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16120 Removed.
16121 (syscall-list-32-options): Likewise.
16122 (syscall-list-32-condition): Likewise.
16123 (syscall-list-64-options): Likewise.
16124 (syscall-list-64-condition): Likewise.
16125 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16126 macro.
16127 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16128 Renamed to ...
16129 (abi-*): This.
16130 (abi-64-ld-soname): New macro.
16131 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16132 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16133 Renamed to ...
16134 (abi-*): This.
16135 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16136 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16137
16138 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16139
16140 * sysdeps/unix/sysv/linux/kernel-features.h
16141 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16142 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16143 include <kernel-features.h>.
16144 [!__NR_ftruncate64]: Remove conditional code.
16145 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16146 [__NR_ftruncate64]: Make code unconditional.
16147 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16148 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16149 include <kernel-features.h>.
16150 [!__NR_ftruncate64]: Remove conditional code.
16151 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16152 [__NR_ftruncate64]: Make code unconditional.
16153 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16155 include <kernel-features.h>.
16156 [!__NR_ftruncate64]: Remove conditional code.
16157 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16158 [__NR_ftruncate64]: Make code unconditional.
16159 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16161 include <kernel-features.h>.
16162 [!__NR_ftruncate64]: Remove conditional code.
16163 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16164 [__NR_ftruncate64]: Make code unconditional.
16165 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16166
16167 * configure.in (libc_cv_fpie): Weaken to a compile test using
16168 LIBC_TRY_CC_OPTION.
16169 * configure: Regenerated.
16170
16171 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16172
16173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16177 Refreshed.
16178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16184 Refreshed.
16185
16186 2012-05-27 David S. Miller <davem@davemloft.net>
16187
16188 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16189 (___Q_zero): New.
16190 (__Q_simulate_exceptions): Return void. Change to simulate
16191 exceptions by writing into the %fsr.
16192 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16193 (__Qp_handle_exceptions): Likewise.
16194 (numbers): Delete.
16195 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16196 __Qp_handle_exceptions.
16197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16198 __Qp_handle_exceptions.
16199 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16200 as unused and give dummy FP_RND_NEAREST initializer.
16201 (FP_INHIBIT_RESULTS): Define.
16202 (___Q_simulate_exceptions): Update declaration.
16203 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16204 formatting.
16205 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16206 as unused and give dummy FP_RND_NEAREST initializer.
16207 (__Qp_handle_exceptions): Update declaration.
16208 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16209 formatting.
16210
16211 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16212
16213 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16214 the temporary FPU control word.
16215 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16216 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16217 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16218 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16219 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16220 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16221 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16222 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16223 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16224 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16225 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16226
16227 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16228
16229 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16230 fields.
16231
16232 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16233
16234 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16235 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16236 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16237 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16238 Likewise.
16239 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16240 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16241 Likewise.
16242
16243 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16244
16245 * po/h.po: Update from translation team.
16246
16247 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16248
16249 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16250
16251 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16252 handling of denormals.
16253 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16254 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16255 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16256 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16260 Likewise.
16261
16262 2012-05-26 Marek Polacek <polacek@redhat.com>
16263
16264 [BZ #14152]
16265 * math/libm-test.inc (fma_test): Don't always expect underflow
16266 exception.
16267
16268 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16269
16270 [BZ #12416]
16271 * elf/tst-execstack.c: Include stackinfo.h.
16272 (do_test): Adjust test case to ensure that pthread_getattr_np
16273 behaviour remains the same after marking stack executable.
16274
16275 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16276
16277 * sysdeps/unix/sysv/linux/kernel-features.h
16278 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16279 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16280 kernel-features.h.
16281 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16282 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16283 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16284 kernel-features.h.
16285 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16286 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16287
16288 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16289
16290 * configure.in: Define the default includes to being none.
16291 * configure: Regenerated.
16292
16293 2012-05-25 Roland McGrath <roland@hack.frob.com>
16294
16295 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16296 * sysdeps/x86_64/setjmp.S: Likewise.
16297 * sysdeps/i386/bsd-setjmp.S: Likewise.
16298 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16299 * sysdeps/i386/setjmp.S: Likewise.
16300 * sysdeps/i386/__longjmp.S: Likewise.
16301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16302 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16303
16304 * include/stap-probe.h: New file.
16305 * configure.in: Handle --enable-systemtap.
16306 * configure: Regenerated.
16307 * config.h.in (USE_STAP_PROBE): New #undef.
16308 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16309 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16310 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16311
16312 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16313
16314 [BZ #13717]
16315 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16316 to 2.4.0 where earlier.
16317 * sysdeps/unix/sysv/linux/configure: Regenerated.
16318 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16319 <kernel-features.h>.
16320 [__ASSUME_32BITUIDS]: Make code unconditional.
16321 [!__ASSUME_32BITUIDS]: Remove conditional code.
16322 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16323 <kernel-features.h>.
16324 [__ASSUME_32BITUIDS]: Make code unconditional.
16325 [!__ASSUME_32BITUIDS]: Remove conditional code.
16326 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16327 [__ASSUME_32BITUIDS]: Make code unconditional.
16328 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16329 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16330 <kernel-features.h>.
16331 [__ASSUME_32BITUIDS]: Make code unconditional.
16332 [!__ASSUME_32BITUIDS]: Remove conditional code.
16333 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16334 <kernel-features.h>.
16335 [__ASSUME_32BITUIDS]: Make code unconditional.
16336 [!__ASSUME_32BITUIDS]: Remove conditional code.
16337 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16338 <kernel-features.h>.
16339 [__ASSUME_32BITUIDS]: Make code unconditional.
16340 [!__ASSUME_32BITUIDS]: Remove conditional code.
16341 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16342 <kernel-features.h>.
16343 [__ASSUME_32BITUIDS]: Make code unconditional.
16344 [!__ASSUME_32BITUIDS]: Remove conditional code.
16345 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16346 <kernel-features.h>.
16347 [__ASSUME_32BITUIDS]: Make code unconditional.
16348 [!__ASSUME_32BITUIDS]: Remove conditional code.
16349 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16350 <kernel-features.h>.
16351 [__ASSUME_32BITUIDS]: Make code unconditional.
16352 [!__ASSUME_32BITUIDS]: Remove conditional code.
16353 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16354 <kernel-features.h>.
16355 [__ASSUME_32BITUIDS]: Make code unconditional.
16356 [!__ASSUME_32BITUIDS]: Remove conditional code.
16357 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16358 <kernel-features.h>.
16359 [__ASSUME_32BITUIDS]: Make code unconditional.
16360 [!__ASSUME_32BITUIDS]: Remove conditional code.
16361 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16362 <kernel-features.h>.
16363 [__ASSUME_32BITUIDS]: Make code unconditional.
16364 [!__ASSUME_32BITUIDS]: Remove conditional code.
16365 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16366 <kernel-features.h>.
16367 [__ASSUME_32BITUIDS]: Make code unconditional.
16368 [!__ASSUME_32BITUIDS]: Remove conditional code.
16369 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16370 <kernel-features.h>.
16371 [__NR_setresgid] (__setresgid): Do not declare.
16372 [__ASSUME_32BITUIDS]: Make code unconditional.
16373 [!__ASSUME_32BITUIDS]: Remove conditional code.
16374 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16375 <kernel-features.h>.
16376 [__NR_setresuid] (__setresuid): Do not declare.
16377 [__ASSUME_32BITUIDS]: Make code unconditional.
16378 [!__ASSUME_32BITUIDS]: Remove conditional code.
16379 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16380 <kernel-features.h>.
16381 [__ASSUME_32BITUIDS]: Make code unconditional.
16382 [!__ASSUME_32BITUIDS]: Remove conditional code.
16383 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16384 <kernel-features.h>.
16385 [__ASSUME_32BITUIDS]: Make code unconditional.
16386 [!__ASSUME_32BITUIDS]: Remove conditional code.
16387 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16388 <kernel-features.h>.
16389 [__ASSUME_32BITUIDS]: Make code unconditional.
16390 [!__ASSUME_32BITUIDS]: Remove conditional code.
16391 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16392 <kernel-features.h>.
16393 [__ASSUME_32BITUIDS]: Make code unconditional.
16394 [!__ASSUME_32BITUIDS]: Remove conditional code.
16395 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16396 <kernel-features.h>.
16397 [__ASSUME_32BITUIDS]: Make code unconditional.
16398 [!__ASSUME_32BITUIDS]: Remove conditional code.
16399 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16400 <kernel-features.h>.
16401 [__ASSUME_32BITUIDS]: Make code unconditional.
16402 [!__ASSUME_32BITUIDS]: Remove conditional code.
16403 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16404 <kernel-features.h>.
16405 [__ASSUME_32BITUIDS]: Make code unconditional.
16406 [!__ASSUME_32BITUIDS]: Remove conditional code.
16407 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16408 <kernel-features.h>.
16409 [__ASSUME_32BITUIDS]: Make code unconditional.
16410 [!__ASSUME_32BITUIDS]: Remove conditional code.
16411 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16412 <kernel-features.h>.
16413 [__ASSUME_32BITUIDS]: Make code unconditional.
16414 [!__ASSUME_32BITUIDS]: Remove conditional code.
16415 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16416 <kernel-features.h>.
16417 [__ASSUME_32BITUIDS]: Make code unconditional.
16418 [!__ASSUME_32BITUIDS]: Remove conditional code.
16419 * sysdeps/unix/sysv/linux/kernel-features.h
16420 (__ASSUME_SETRESUID_SYSCALL): Remove.
16421 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16422 (__ASSUME_32BITUIDS): Likewise.
16423 (__ASSUME_LDT_WORKS): Likewise.
16424 (__ASSUME_O_DIRECTORY): Likewise.
16425 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16426 architecture but not kernel version.
16427 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16428 (__ASSUME_MMAP2_SYSCALL): Likewise.
16429 (__ASSUME_STAT64_SYSCALL): Likewise.
16430 (__ASSUME_IPC64): Likewise.
16431 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16432 <kernel-features.h>.
16433 [__ASSUME_32BITUIDS]: Make code unconditional.
16434 [!__ASSUME_32BITUIDS]: Remove conditional code.
16435 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16436 <kernel-features.h>.
16437 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16438 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16439 132096]: Remove conditional code.
16440 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16441 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16442 <kernel-features.h>.
16443 [__ASSUME_32BITUIDS]: Make code unconditional.
16444 [!__ASSUME_32BITUIDS]: Remove conditional code.
16445 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16446 <kernel-features.h>.
16447 [__ASSUME_32BITUIDS]: Make code unconditional.
16448 [!__ASSUME_32BITUIDS]: Remove conditional code.
16449 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16450 <kernel-features.h>.
16451 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16452 unconditional.
16453 (__setresgid): Do not declare.
16454 [__ASSUME_32BITUIDS]: Make code unconditional.
16455 [!__ASSUME_32BITUIDS]: Remove conditional code.
16456 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16457 <kernel-features.h>.
16458 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16459 unconditional.
16460 (__setresuid): Do not declare.
16461 [__ASSUME_32BITUIDS]: Make code unconditional.
16462 [!__ASSUME_32BITUIDS]: Remove conditional code.
16463 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16464 <kernel-features.h>.
16465 [__ASSUME_32BITUIDS]: Make code unconditional.
16466 [!__ASSUME_32BITUIDS]: Remove conditional code.
16467 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16468 <kernel-features.h>.
16469 [__ASSUME_32BITUIDS]: Make code unconditional.
16470 [!__ASSUME_32BITUIDS]: Remove conditional code.
16471
16472 2012-05-25 Richard Henderson <rth@twiddle.net>
16473
16474 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16475 dl_hwcap to ifunc resolver.
16476 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16477 elf_ifunc_invoke.
16478 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16479 dl_hwcap to ifunc resolver.
16480 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16481
16482 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16483
16484 [BZ #14153]
16485 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16486 for |x| <= 2**-26, not 2**-57.
16487 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16488 exception.
16489
16490 2012-05-24 Jeff Law <law@redhat.com>
16491
16492 * stdio-common/Makefile (tests): Add bug25.
16493 * stdio-common/bug25.c: New test.
16494
16495 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16496
16497 [BZ #13576]
16498 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16499 multiple of MALLOC_ALIGNMENT in size.
16500 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16501
16502 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16503
16504 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16505 Require >= 256.
16506 (FILENAME_MAX): Use macro-int-constant.
16507 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16508 (_IOFBF): Use macro-int-constant.
16509 (_IOLBF): Likewise.
16510 (_IONBF): Likewise.
16511 (SEEK_CUR): Likewise.
16512 (SEEK_END): Likewise.
16513 (SEEK_SET): Likewise.
16514 (TMP_MAX): Likewise.
16515 (EOF): Use macro-int-constant. Require < 0.
16516 (NULL): Use macro-constant. Require == 0.
16517 (stdin): Require type to be FILE *.
16518 (stdout): Likewise.
16519 (stderr): Likewise.
16520 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16521 macro-int-constant.
16522 (EXIT_SUCCESS): Likewise.
16523 (NULL): Use macro-constant. Require == 0.
16524 (RAND_MAX): Use macro-int-constant.
16525 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16526 [C99-based standards] (strtof): Require function.
16527 [C99-based standards] (strtold): Likewise.
16528 [C99-based standards] (strtoll): Likewise.
16529 [C99-based standards] (strtoull): Likewise.
16530 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16531 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16532 [ISO || ISO99 || ISO11] (math.h): Likewise.
16533 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16534 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16535 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16536
16537 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16538
16539 [BZ #14132]
16540 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16541 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16542 * intl/dgettext.c (DCGETTEXT): Likewise.
16543 * intl/gettext.c (DCGETTEXT): Likewise.
16544 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16545 * posix/regex_internal.h (gettext): Likewise.
16546 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16547 Remove declaration.
16548 * include/argz.h (__argz_count_internal)
16549 (__argz_stringify_internal): Remove declaration.
16550 (__argz_count, __argz_stringify): Declare hidden proto.
16551 * intl/dcgettext.c: Remove use of INTDEF.
16552 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16553 * string/argz-stringify.c: Likewise.
16554 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16555 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16556 Declare hidden proto.
16557 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16558 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16559 Declare hidden proto.
16560 * include/stdio.h (__asprintf_internal): Don't declare.
16561 (__asprintf): Don't define as macro. Declare hidden proto.
16562 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16563 (__fsetlocking): Declare hidden proto.
16564 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16565 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16566 hidden proto.
16567 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16568 (_IO_setlinebuf): Remove use of INTUSE.
16569 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16570 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16571 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16572 Remove declaration.
16573 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16574 (_IO_do_flush): Remove use of INTUSE.
16575 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16576 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16577 (_IO_adjust_column, _IO_least_wmarker)
16578 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16579 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16580 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16581 (_IO_default_doallocate, _IO_wdefault_doallocate)
16582 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16583 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16584 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16585 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16586 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16587 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16588 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16589 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16590 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16591 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16592 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16593 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16594 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16595 proto.
16596 (_IO_flush_all_internal, _IO_adjust_column_internal)
16597 (_IO_default_uflow_internal, _IO_default_finish_internal)
16598 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16599 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16600 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16601 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16602 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16603 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16604 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16605 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16606 (_IO_file_close_internal, _IO_file_close_it_internal)
16607 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16608 (_IO_file_init_internal, _IO_file_attach_internal)
16609 (_IO_file_fopen_internal, _IO_file_read_internal)
16610 (_IO_file_sync_internal, _IO_file_seek_internal)
16611 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16612 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16613 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16614 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16615 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16616 (_IO_list_all_internal, _IO_link_in_internal)
16617 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16618 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16619 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16620 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16621 (_IO_do_write_internal, _IO_padn_internal)
16622 (_IO_getline_info_internal, _IO_getline_internal)
16623 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16624 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16625 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16626 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16627 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16628 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16629 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16630 with libc_hidden_ver, remove use of INTUSE.
16631 * libio/genops.c: Likewise.
16632 * libio/freopen.c: Likewise.
16633 * libio/freopen64.c: Likewise.
16634 * libio/iofclose.c: Likewise.
16635 * libio/iofdopen.c: Likewise.
16636 * libio/iofflush.c: Likewise.
16637 * libio/iofflush_u.c: Likewise.
16638 * libio/iofgets.c: Likewise.
16639 * libio/iofgets_u.c: Likewise.
16640 * libio/iofopen.c: Likewise.
16641 * libio/iofopncook.c: Likewise.
16642 * libio/iofread.c: Likewise.
16643 * libio/iofread_u.c: Likewise.
16644 * libio/ioftell.c: Likewise.
16645 * libio/iofwrite.c: Likewise.
16646 * libio/iogetline.c: Likewise.
16647 * libio/iogets.c: Likewise.
16648 * libio/iogetwline.c: Likewise.
16649 * libio/iopadn.c: Likewise.
16650 * libio/iopopen.c: Likewise.
16651 * libio/ioseekoff.c: Likewise.
16652 * libio/ioseekpos.c: Likewise.
16653 * libio/iosetbuffer.c: Likewise.
16654 * libio/iosetvbuf.c: Likewise.
16655 * libio/ioungetc.c: Likewise.
16656 * libio/ioungetwc.c: Likewise.
16657 * libio/iovdprintf.c: Likewise.
16658 * libio/iovsprintf.c: Likewise.
16659 * libio/iovsscanf.c: Likewise.
16660 * libio/memstream.c: Likewise.
16661 * libio/obprintf.c: Likewise.
16662 * libio/oldfileops.c: Likewise.
16663 * libio/oldiofclose.c: Likewise.
16664 * libio/oldiofdopen.c: Likewise.
16665 * libio/oldiofopen.c: Likewise.
16666 * libio/oldiopopen.c: Likewise.
16667 * libio/oldstdfiles.c: Likewise.
16668 * libio/putc.c: Likewise.
16669 * libio/setbuf.c: Likewise.
16670 * libio/setlinebuf.c: Likewise.
16671 * libio/stdfiles.c: Likewise.
16672 * libio/strops.c: Likewise.
16673 * libio/vasprintf.c: Likewise.
16674 * libio/vscanf.c: Likewise.
16675 * libio/vsnprintf.c: Likewise.
16676 * libio/vswprintf.c: Likewise.
16677 * libio/wfiledoalloc.c: Likewise.
16678 * libio/wfileops.c: Likewise.
16679 * libio/wgenops.c: Likewise.
16680 * libio/wmemstream.c: Likewise.
16681 * libio/wstrops.c: Likewise.
16682 * libio/__fpurge.c: Likewise.
16683 * libio/__fsetlocking.c: Likewise.
16684 * assert/assert.c: Likewise.
16685 * debug/fgets_chk.c: Likewise.
16686 * debug/fgets_u_chk.c: Likewise.
16687 * debug/fread_chk.c: Likewise.
16688 * debug/fread_u_chk.c: Likewise.
16689 * debug/gets_chk.c: Likewise.
16690 * debug/obprintf_chk.c: Likewise.
16691 * debug/vasprintf_chk.c: Likewise.
16692 * debug/vdprintf_chk.c: Likewise.
16693 * debug/vsnprintf_chk.c: Likewise.
16694 * debug/vsprintf_chk.c: Likewise.
16695 * malloc/mtrace.c: Likewise.
16696 * misc/error.c: Likewise.
16697 * misc/syslog.c: Likewise.
16698 * stdio-common/asprintf.c: Likewise.
16699 * stdio-common/fxprintf.c: Likewise.
16700 * stdio-common/getw.c: Likewise.
16701 * stdio-common/isoc99_fscanf.c: Likewise.
16702 * stdio-common/isoc99_scanf.c: Likewise.
16703 * stdio-common/isoc99_vfscanf.c: Likewise.
16704 * stdio-common/isoc99_vscanf.c: Likewise.
16705 * stdio-common/isoc99_vsscanf.c: Likewise.
16706 * stdio-common/printf-prs.c: Likewise.
16707 * stdio-common/printf_fp.c: Likewise.
16708 * stdio-common/printf_fphex.c: Likewise.
16709 * stdio-common/printf_size.c: Likewise.
16710 * stdio-common/putw.c: Likewise.
16711 * stdio-common/scanf.c: Likewise.
16712 * stdio-common/sprintf.c: Likewise.
16713 * stdio-common/tmpfile.c: Likewise.
16714 * stdio-common/vfprintf.c: Likewise.
16715 * stdio-common/vfscanf.c: Likewise.
16716 * stdlib/strfmon_l.c: Likewise.
16717 * sunrpc/openchild.c: Likewise.
16718 * sunrpc/xdr_stdio.c: Likewise.
16719 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16720 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16721
16722 2012-05-24 Roland McGrath <roland@hack.frob.com>
16723
16724 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16725
16726 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16727 in the third column, to generate for the shared library an IFUNC
16728 that uses _dl_vdso_vsym.
16729 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16730 * Makeconfig (object-suffixes-noshared): New variable.
16731
16732 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16733 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16734 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16735 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16736
16737 [BZ #14132]
16738 * include/sys/time.h (__gettimeofday): Remove macro.
16739 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16740 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16741 Remove INTDEF.
16742 (__gettimeofday): Add libc_hidden_def.
16743 (gettimeofday): Add libc_hidden_weak.
16744 * sysdeps/mach/gettimeofday.c: Likewise.
16745 * sysdeps/posix/gettimeofday.c: Likewise.
16746 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16747 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16748 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16749 (__gettimeofday_internal): Remove strong_alias.
16750 (__gettimeofday): Add libc_hidden_def.
16751 (gettimeofday): Add libc_hidden_weak.
16752 * sysdeps/unix/syscalls.list (gettimeofday):
16753 Remove __gettimeofday_internal alias.
16754
16755 2012-05-24 Daniel Jacobowitz <drow@false.org>
16756 H.J. Lu <hongjiu.lu@intel.com>
16757
16758 [BZ #12495]
16759 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16760 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16761 (largebin_index_32_big): New.
16762 (largebin_index): Use it for 16-byte alignment.
16763 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16764 correction with front_misalign.
16765
16766 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16767
16768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16770 Likewise.
16771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16772 Likewise.
16773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16774 Likewise.
16775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16776 Likewise.
16777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16778 Likewise.
16779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16780 Likewise.
16781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16782 Likewise.
16783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16784 Likewise.
16785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16786 Likewise.
16787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16788 Likewise.
16789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16790 Likewise.
16791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16792 Likewise.
16793
16794 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16795 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16796
16797 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16798
16799 [BZ #10846]
16800 [BZ #14036]
16801 * math/libm-test.inc (exp_test): Add test from bug 14036.
16802 (pow_test): Add test from bug 10846.
16803
16804 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16805 and other flags.
16806 (special_function): Do not include flags in test name.
16807 (parse_args): Likewise.
16808 * sysdeps/i386/fpu/libm-test-ulps: Update.
16809 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16810 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16811 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16813
16814 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16815 exceptions.
16816 * math/libm-test.inc ("Philosophy"): Update comment about
16817 exception testing.
16818 (UNDERFLOW_EXCEPTION): New macro.
16819 (UNDERFLOW_EXCEPTION_OK): Likewise.
16820 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16821 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16822 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16823 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16824 (INVALID_EXCEPTION_OK): Update value.
16825 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16826 (OVERFLOW_EXCEPTION_OK): Likewise.
16827 (IGNORE_ZERO_INF_SIGN): Likewise.
16828 (test_exceptions): Handle underflow exceptions.
16829 (acos_test): Update for underflow exception expectations.
16830 (cexp_test): Likewise.
16831 (clog_test): Likewise.
16832 (clog10_test): Likewise.
16833 (csqrt_test): Likewise.
16834 (ctan_test): Likewise.
16835 (ctanh_test): Likewise.
16836 (exp_test): Likewise.
16837 (exp10_test): Likewise.
16838 (exp2_test): Likewise.
16839 (expm1_test): Likewise.
16840 (fma_test): Likewise.
16841 (j0_test): Likewise.
16842 (jn_test): Likewise.
16843 (nexttoward_test): Likewise.
16844 (pow_test): Likewise.
16845 (scalbn_test): Likewise.
16846 (scalbln_test): Likewise.
16847 (tan_test): Likewise.
16848 (y1_test): Likewise.
16849 * sysdeps/i386/fpu/libm-test-ulps: Update.
16850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16851
16852 2012-05-23 David S. Miller <davem@davemloft.net>
16853
16854 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16855 (__libc_sigaction): Remove unused local variables.
16856
16857 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16858
16859 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16860
16861 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16862
16863 mktime: avoid signed integer overflow
16864 * time/mktime.c (__mktime_internal): Do not mishandle the case
16865 where diff == INT_MIN.
16866
16867 mktime: simplify computation of average
16868 * time/mktime.c (ranged_convert): Use new time_t_avg function
16869 instead of rolling our own (probably-slower) code.
16870
16871 mktime: do not assume signed right shift propagates sign bit
16872 * time/mktime.c (isdst_differ): New static function.
16873 (__mktime_internal): No need to normalize tm_isdst now.
16874 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16875 tm_isdst values.
16876
16877 mktime: merge another wrapv change from gnulib
16878 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16879 from some compilers.
16880
16881 mktime: remove incorrect attempt at unusual arithmetics
16882 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16883 The code didn't really work on such machines anyway.
16884 (TYPE_MINIMUM): Assume two's complement.
16885 (twos_complement_arithmetic): Verify that long_int and time_t
16886 are two's complement (or unsigned, in the latter case).
16887
16888 mktime: check signed shifts on long_int and time_t, too
16889 * time/mktime.c (SHR): Check that shifts work as desired
16890 on the types long_int and time_t too, as SHR is used on
16891 such types.
16892
16893 mktime: do not assume 'long' is wide enough
16894 * time/mktime.c (verify): Move decl up.
16895 (long_int): New type.
16896 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16897 to remove assumption in the code that 'long' is wide enough to
16898 store year values. This assumption is not true on x32 and on
16899 some non-glibc platforms.
16900
16901 mktime: merge wrapv change from gnulib
16902 * time/mktime.c (WRAPV): New macro.
16903 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16904 (guess_time_tm, __mktime_internal): Do not assume that signed
16905 integer overflow wraps around; modern compilers generate code
16906 where this assumption is no longer valid.
16907
16908 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16909
16910 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16911 Replace "jmp L(pseudo_end)" with "ret".
16912 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16913 Likewise.
16914
16915 2012-05-23 Andreas Jaeger <aj@suse.de>
16916
16917 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16918 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16919
16920 2012-05-23 Andreas Jaeger <aj@suse.de>
16921 Maximilian Attems <max@stro.at>
16922
16923 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16924 New macros.
16925
16926 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16927
16928 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16929 code so that pseudo_end is just ret and the stack pointer is
16930 correct also for static library in error case.
16931
16932 2012-05-23 Joseph Myers <joseph@codesourcery.com>
16933
16934 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16935 move to syscalls.list.
16936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16940
16941 * manual/install.texi (Running make install): Do not mention Linux
16942 kernel version for which pt_chown is not needed.
16943 (Linux): Do not mention problems with nscd with 2.0 kernels.
16944 * INSTALL: Regenerated.
16945
16946 2012-05-23 Andreas Jaeger <aj@suse.de>
16947
16948 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16949 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16950 macro.
16951 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16952 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16953 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16954 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16955 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16956 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16957 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16958 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16959 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16960 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16961 * sysdeps/unix/sysv/linux/bits/in.h
16962 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16963
16964 2012-05-22 Roland McGrath <roland@hack.frob.com>
16965
16966 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16967 (PREPARE_VERSION): Just use assert instead, it will be elided
16968 under [NDEBUG] anyway.
16969
16970 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16971
16972 * sysdeps/unix/sysv/linux/Makefile: Include
16973 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16974 (sysdep_routines): Remove sysctl.
16975 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16976 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16977 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16978 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16979 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16980
16981 2012-05-22 Andreas Jaeger <aj@suse.de>
16982
16983 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16984 that pseudo_end is just ret and the stack pointer is correct also
16985 for static library in error case.
16986
16987 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16988
16989 [BZ #14122]
16990 * nss/nsswitch.c (defconfig_entries): New variable.
16991 (__nss_database_lookup): Don't leak defconfig entries.
16992 (nss_parse_service_list): Don't leak on error paths.
16993 (free_database_entries): New function.
16994 (free_defconfig): New function.
16995 (free_mem): Move common code to free_database_entries.
16996
16997 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16998
16999 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17000 Add arch_prctl.
17001 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17002
17003 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17004 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17006 New macro.
17007 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17008 (INTERNAL_SYSCALL_TYPES): Likewise.
17009 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17010 (LOAD_REGS_TYPES_[1-6]): Likewise.
17011 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17012 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17013
17014 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17015
17016 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17017 copysignl for GLIBC_2_0.
17018 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17019 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17020 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17021 logbl for GLIBC_2_0.
17022 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17023 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17024
17025 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17026
17027 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17028 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17029
17030 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17031 Use "neg %eax".
17032
17033 * time/mktime.c: Update copyright years.
17034
17035 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17036
17037 mktime: merge comment-quoting-style change from gnulib
17038 * time/mktime.c: Quote 'like this' in comments.
17039 The GNU coding standards suggest that we no longer quote `like this',
17040 as "`" and "'" are typically rendered asymmetrically nowadays.
17041 The typical gnulib style is to quote 'like this' when quoting
17042 code, and "like this" when quoting English.
17043
17044 * time/mktime.c (compile-command): Add "-I.".
17045
17046 mktime: merge mktime-internal.h change from gnulib
17047 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17048
17049 mktime: merge time_r change from gnulib
17050 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17051
17052 mktime: merge DEBUG change from gnulib
17053 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17054 case system <time.h> has a #define.
17055
17056 mktime: merge <sys/types.h> change from gnulib
17057 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17058 since <time.t> is now guaranteed to define time_t.
17059
17060 mktime: merge HAVE_CONFIG_H change from gnulib
17061 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17062
17063 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17064
17065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17066 Use "neg %eax".
17067
17068 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17069 __rlim_t cast.
17070 (struct rusage): Use anonymous union to pad each field to
17071 __syscall_slong_t.
17072
17073 2012-05-21 David S. Miller <davem@davemloft.net>
17074
17075 * Makefules (o-iterator): Remove .s cases.
17076 (compile-command.s): Delete.
17077 (COMPILE.s): Delete.
17078 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17079
17080 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17081
17082 * configure.in (libc_cv_predef_stack_protector): Only consider
17083 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17084 * configure: Regenerated.
17085
17086 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17087
17088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17089 New macro. Use R*LP on int and pointer.
17090 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17091 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17092 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17093 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17094
17095 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17096 [__WORDSIZE_TIME64_COMPAT32] instead of
17097 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17098 (struct utmp): Likewise.
17099 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17100 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17101 Renamed to ...
17102 (__WORDSIZE_TIME64_COMPAT32): This.
17103 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17104 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17105 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17106 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17107 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17108 (__WORDSIZE_TIME64_COMPAT32): New macro.
17109
17110 2012-05-21 Andreas Jaeger <aj@suse.de>
17111
17112 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17113 only if [SHARED]. Add prototype for __wcschr_ia32.
17114
17115 2012-05-21 Roland McGrath <roland@hack.frob.com>
17116
17117 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17118 of %rbp unmolested in the jmp_buf while mangling the low bits.
17119 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17120 unmolested high bits of %rbp while demangling the low bits.
17121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17122
17123 2012-05-21 Andreas Jaeger <aj@suse.de>
17124
17125 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17126 * sunrpc/svc_simple.c: Use it for registerrpc.
17127 * sunrpc/xcrypt.c: Use it for passwd2des.
17128
17129 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17130
17131 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17132
17133 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17134 Don't define if [__SYSCALL_WORDSIZE != 32].
17135 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17136 New macro.
17137
17138 2012-05-21 Bruno Haible <bruno@clisp.org>
17139 Andreas Jaeger <aj@suse.de>
17140
17141 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17142 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17143 inptr and inend for must_buffer_ch.
17144 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17145 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17146 * stdio-common/Makefile (tests): Remove bug15.
17147 (bug15-ENV): Remove macro.
17148 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17149 anymore.
17150
17151 2012-05-19 Andreas Jaeger <aj@suse.de>
17152 Roland McGrath <roland@hack.frob.com>
17153
17154 * manual/contrib.texi: Completely rewritten. It contains now an
17155 alphabetical list of contributors and their contributions.
17156
17157 2012-05-21 Richard Henderson <rth@twiddle.net>
17158
17159 * misc/getauxval.c (__getauxval): Use unsigned long int.
17160 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17161 (getauxval): Use unsigned long int.
17162
17163 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17164
17165 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17166
17167 2012-05-21 Roland McGrath <roland@hack.frob.com>
17168
17169 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17170 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17171 __alignof__ (long double).
17172
17173 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17174
17175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17176
17177 2012-05-20 Richard Henderson <rth@twiddle.net>
17178
17179 * misc/getauxval.c: New file.
17180 * misc/sys/auxv.h: New file.
17181 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17182 (routines): Add getauxval.
17183 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17184 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17185 * elf/dl-sysdep.c (_dl_auxv): Remove.
17186 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17187 * elf/dl-support.c (_dl_auxv): New variable.
17188 (_dl_aux_init): Initialize it.
17189 * manual/startup.texi (Auxiliary Vector): New node.
17190 * sysdeps/generic/bits/hwcap.h: New file.
17191 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17192 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17193 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17194 * sysdeps/sparc/sysdep.h: ... here. Include it.
17195 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17196 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17198 Update.
17199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17207
17208 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17209
17210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17211
17212 2012-05-19 David S. Miller <davem@davemloft.net>
17213
17214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17215
17216 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17217
17218 [BZ #14123]
17219 * math/s_ccosh.c: Include <float.h>
17220 (__ccosh): Avoid internal overflow calculating sinh and cosh
17221 values before multiplying by sin and cos values.
17222 * math/s_ccoshf.c: Likewise.
17223 * math/s_ccoshl.c: Likewise.
17224 * math/s_csin.c: Likewise.
17225 * math/s_csinf.c: Likewise.
17226 * math/s_csinl.c: Likewise.
17227 * math/s_csinh.c: Likewise.
17228 * math/s_csinhf.c: Likewise.
17229 * math/s_csinhl.c: Likewise.
17230 * math/libm-test.inc (ccos_test): Add more tests.
17231 (ccosh_test): Likewise.
17232 (csin_test): Likewise.
17233 (csinh_test): Likewise.
17234 * sysdeps/i386/fpu/libm-test-ulps: Update.
17235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17236
17237 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17238
17239 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17240 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17241
17242 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17243
17244 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17245
17246 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17247 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17248 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17249 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17250 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17251 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17252 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17253 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17254 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17255 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17256 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17257 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17258 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17259 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17260 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17261 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17262 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17263 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17264 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17265 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17266 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17267 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17268 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17269 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17270 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17271 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17272 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17273 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17274 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17275 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17276 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17277
17278 2012-05-18 Andreas Jaeger <aj@suse.de>
17279
17280 * csu/.gitignore: Delete.
17281
17282 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17283
17284 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17285 (timex): Use __syscall_slong_t.
17286
17287 2012-05-18 Andreas Jaeger <aj@suse.de>
17288 Carlos O'Donell <carlos_odonell@mentor.com>
17289
17290 * manual/install.texi (Configuring and compiling): Update
17291 description about files modified in the source directory.
17292 * INSTALL: Regenerated.
17293
17294 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17295
17296 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17297 value. Use "or" to set return value to -1.
17298 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17299 negate return value.
17300
17301 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17302
17303 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17304 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17305 failure if the compiler has Graphite support disabled.
17306 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17307 Likewise.
17308 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17309 CFLAGS-memmove.c): Likewise.
17310 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17311 Likewise.
17312
17313 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17314
17315 * sysdeps/x86_64/x32/_itoa.h: New file.
17316
17317 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17318 getdents system call only if kernel and user dirents have the
17319 same d_ino and d_off.
17320
17321 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17322 LLONG_MAX != LONG_MAX.
17323 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17324 (_fitoa_word): Likewise.
17325
17326 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17327 years.
17328 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17329 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17330 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17331
17332 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17333 include <bits/wordsize.h>. Check __x86_64__ instead of
17334 __WORDSIZE.
17335 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17336 if __x86_64__ is defined. Use anonymous union on fpstate.
17337
17338 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17339 anonymous union.
17340
17341 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17342
17343 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17344 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17345 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17346 Refer to _rtld_local_ro instead of _rtld_global_ro.
17347 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17348 Likewise.
17349 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17350 Likewise.
17351 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17352 Likewise.
17353 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17354 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17355 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17356
17357 * sysdeps/powerpc/powerpc32/dl-machine.c
17358 (__elf_machine_runtime_setup) [PROF]: Don't reference
17359 _dl_prof_resolve.
17360
17361 2012-05-18 Andreas Jaeger <aj@suse.de>
17362
17363 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17364 function only available for GCCs before 3.4 since GCC 3.4
17365 introduced a builtin.
17366 (lrint): Likewise.
17367 (llrintf): Likewise.
17368 (llrint): Likewise.
17369 (fmaxf): Likewise.
17370 (fmax): Likewise.
17371 (fminf): Likewise.
17372 (fmin): Likewise.
17373 (rint): Likewise.
17374 (rintf): Likewise.
17375 (nearbyint): Likewise.
17376 (nearbyintf): Likewise.
17377 (ceil): Likewise.
17378 (ceilf): Likewise.
17379 (floor): Likewise.
17380 (floorf): Likewise.
17381
17382 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17383
17384 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17385 on both fields and cast pointer to __syscall_ulong_t.
17386
17387 * bits/types.h (__fsword_t): New type.
17388 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17389 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17390 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17391 (__FSWORD_T_TYPE): Likewise.
17392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17393 (__FSWORD_T_TYPE): Likewise.
17394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17395 (__FSWORD_T_TYPE): Likewise.
17396 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17397 (__FSWORD_T_TYPE): Likewise.
17398 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17399 __SWORD_TYPE with __fsword_t.
17400 (statfs64): Likewise.
17401
17402 2012-05-17 David S. Miller <davem@davemloft.net>
17403
17404 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17405
17406 2012-05-17 Andreas Jaeger <aj@suse.de>
17407
17408 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17409 warning.
17410
17411 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17412
17413 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17414
17415 2012-05-17 Andreas Jaeger <aj@suse.de>
17416
17417 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17418 when it is used.
17419
17420 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17421
17422 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17423
17424 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17425
17426 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17427 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17428
17429 2012-05-17 Andreas Jaeger <aj@suse.de>
17430 Carlos O'Donell <carlos_odonell@mentor.com>
17431
17432 [BZ #14059]
17433 * sysdeps/x86_64/multiarch/init-arch.h
17434 (bit_YMM_Usable): Rename to...
17435 (bit_AVX_Usable): ... this.
17436 (bit_FMA4_Usable): New macro.
17437 (bit_XMM_state): New macro.
17438 (bit_YMM_state): New macro.
17439 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17440 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17441 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17442 (CPUID_OSXSAVE): New macro.
17443 (CPUID_AVX): New macro.
17444 (CPUID_FMA4): New macro.
17445 (index_YMM_Usable): Rename to...
17446 (index_AVX_Usable): ... this.
17447 (HAS_AVX): Use HAS_ARCH_FEATURE.
17448 (HAS_FMA4): Likewise.
17449 (HAS_YMM_USABLE): Remove.
17450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17451 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17452 are present.
17453 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17454 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17455 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17456 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17457 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17458
17459 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17460
17461 * math/libm-test.c: Support platforms without multiple rounding modes.
17462 * math/bug-nextafter.c: Support platforms without FP exceptions.
17463 * math/bug-nexttoward.c: Likewise.
17464 * math/test-fenv.c: Likewise.
17465 * math/test-misc.c: Likewise.
17466 * stdlib/bug-getcontext.c: Likewise.
17467
17468 2012-05-17 Andreas Jaeger <aj@suse.de>
17469
17470 * manual/examples/search.c (critter_cmp): Change signature to
17471 avoid warnings.
17472 * manual/string.texi (Collation Functions): Likewise.
17473
17474 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17475
17476 * bits/types.h: Fold copyright years.
17477 * bits/typesizes.h: Likewise.
17478 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17482 * time/time.h: Likewise.
17483
17484 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17485
17486 [BZ #208]
17487 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17488 in instead of returning them. Return void.
17489 (__libc_mallinfo): Accumulate over all arenas.
17490 (__malloc_stats): Adjust for change in int_mallinfo interface.
17491
17492 2012-05-16 Roland McGrath <roland@hack.frob.com>
17493
17494 [BZ #10375]
17495 * configure.in (NM): Add AC_CHECK_TOOL for it.
17496 (libc_extra_cflags): New substituted variable.
17497 Check for -fstack-protector being used implicitly.
17498 * configure: Regenerated.
17499 * config.make.in (config-extra-cflags): New variable,
17500 gets @libc_extra_cflags@.
17501 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17502
17503 [BZ #10375]
17504 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17505 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17506 * configure: Regenerated.
17507 * config.make.in (CPPUNDEFS): New substituted variable.
17508 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17509 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17510 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17511
17512 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17513
17514 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17515 (mq_attr): Use __syscall_slong_t.
17516
17517 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17518
17519 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17520 Check __x86_64__ instead of __WORDSIZE.
17521 (_STAT_VER_LINUX): Likewise.
17522 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17523 __syscall_ulong_t and __syscall_slong_t.
17524 (stat64): Likewise.
17525
17526 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17527
17528 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17529
17530 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17531
17532 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17533
17534 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17535
17536 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17537 __syscall_ulong_t.
17538
17539 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17540 include <bits/wordsize.h>. Check __x86_64__ instead of
17541 __WORDSIZE.
17542 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17543 defined.
17544 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17545
17546 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17547 include <bits/wordsize.h>. Check __x86_64__ instead of
17548 __WORDSIZE.
17549 (user_regs_struct): Use "__extension__ unsigned long long"
17550 instead of "unsigned long" if __x86_64__ is defined.
17551 (user): Likewise. Pad after pointer field if __ILP32__ is
17552 defined.
17553
17554 2012-05-16 Joseph Myers <joseph@codesourcery.com>
17555
17556 * configure.in (makeinfo): Require version 4.5 or later. Allow
17557 versions 5 to 9.
17558 * configure: Regenerated.
17559 * manual/install.texi (texinfo): Increase version requirement to
17560 4.5 or later.
17561 * INSTALL: Regenerated.
17562
17563 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17564
17565 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17566
17567 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17568
17569 * sysdeps/x86_64/x32/ffs.c: New file.
17570
17571 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17572 __syscall_ulong_t.
17573 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17574 defined. Use __syscall_ulong_t.
17575 (shminfo): Use __syscall_ulong_t.
17576 (shm_info): Likewise.
17577
17578 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17579 __syscall_ulong_t.
17580
17581 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17582 <bits/wordsize.h>.
17583 (msgqnum_t): Use __syscall_ulong_t.
17584 (msglen_t): Likewise.
17585 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17586 __syscall_ulong_t.
17587
17588 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17589 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17590
17591 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17592
17593 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17594 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17595
17596 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17597 __syscall_slong_t.
17598
17599 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17600 include <bits/wordsize.h>. Check __x86_64__ instead of
17601 __WORDSIZE.
17602
17603 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17604 "unsigned long long int" if __x86_64__ is defined.
17605 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17606
17607 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17608 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17609 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17610
17611 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17612 <stdint.h>.
17613 (GET_PC): Cast to uintptr_t first.
17614 (GET_FRAME): Likewise.
17615 (GET_STACK): Likewise.
17616
17617 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17618 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17619 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17620 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17621 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17622 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17623 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17624 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17625 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17626 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17627 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17628 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17629 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17630 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17631 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17632 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17633 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17634 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17635 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17636 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17637 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17638 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17639 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17640 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17641 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17642 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17643 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17644 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17645 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17646
17647 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17648
17649 * Makerules (+depfiles): Also collect depfiles from .oS in
17650 $(extra-objs).
17651 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17652 .oS, $(libnldbl-routines)).
17653
17654 * Makerules (native-compile-mkdep-flags): Define.
17655 * sunrpc/Makefile (extra-objs): Add $(addprefix
17656 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17657 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17658 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17659 calling $(make-target-directory).
17660
17661 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17662
17663 * bits/types.h (__snseconds_t): Removed.
17664 * time/time.h (struct timespec): Replace __snseconds_t with
17665 __syscall_slong_t.
17666 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17667 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17668 Likewise.
17669 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17670 (__SNSECONDS_T_TYPE): Likewise.
17671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17672 (__SNSECONDS_T_TYPE): Likewise.
17673 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17674 (__SNSECONDS_T_TYPE): Likewise.
17675
17676 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17677
17678 * sysdeps/mach/hurd/bits/typesizes.h
17679 (__SYSCALL_SLONG_TYPE): New macro.
17680 (__SYSCALL_ULONG_TYPE): Likewise.
17681
17682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17683
17684 * bits/types.h (__syscall_slong_t): New type.
17685 (__syscall_ulong_t): Likewise.
17686
17687 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17688 (__SYSCALL_ULONG_TYPE): Likewise.
17689 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17690 (__SYSCALL_SLONG_TYPE): Likewise.
17691 (__SYSCALL_ULONG_TYPE): Likewise.
17692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17693 (__SYSCALL_SLONG_TYPE): Likewise.
17694 (__SYSCALL_ULONG_TYPE): Likewise.
17695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17696 (__SYSCALL_SLONG_TYPE): Likewise.
17697 (__SYSCALL_ULONG_TYPE): Likewise.
17698
17699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17700
17701 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17702 Add sigaltstack-offsets.sym.
17703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17704 <sigaltstack-offsets.h>.
17705 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17706 longjmp_msg pointer.
17707 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17708 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17709 signal stack.
17710 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17711
17712 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17713
17714 * elf/stackguard-macros.h: Remove file.
17715 * sysdeps/generic/stackguard-macros.h: New file.
17716 * sysdeps/i386/stackguard-macros.h: Likewise.
17717 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17718 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17719 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17720 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17721 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17722 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17723 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17724 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17725 <elf/stackguard-macros.h>.
17726
17727 [BZ #14109]
17728 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17729 __aligned__ in attribute.
17730 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17731 (gregset_t): Likewise.
17732
17733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17734
17735 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17736 * sysdeps/x86_64/64/Implies-after: Here. New file.
17737 * sysdeps/x86_64/x32/Implies-after: New file.
17738
17739 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17740
17741 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17742 and access return value for _dl_profile_fixup. Use R10_LP to
17743 load frame size.
17744
17745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17746
17747 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17748
17749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17750
17751 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17752 * sysdeps/x86_64/x32/sysdep.h: New file.
17753
17754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17755
17756 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17757 * sysdeps/x86_64/setjmp.S: Likewise.
17758
17759 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17760
17761 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17762 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17763 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17764 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17765 remove unused global constant.
17766
17767 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17768
17769 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17770 include of <not-cancel.h>.
17771
17772 2012-05-15 Roland McGrath <roland@hack.frob.com>
17773
17774 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17775
17776 2012-05-15 Jeff Law <law@redhat.com>
17777 Andreas Jaeger <aj@suse.de>
17778
17779 [BZ #13594]
17780 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17781 out from...
17782 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17783 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17784 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17785 code changing __hst_map_handle.map.
17786
17787 2012-05-15 Roland McGrath <roland@hack.frob.com>
17788
17789 * configure.in (sysnames): Look for Implies-before and Implies-after
17790 files.
17791 * configure: Regenerated.
17792
17793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17794
17795 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17796 8-byte data alignment with LP_SIZE alignment.
17797
17798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17799
17800 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17801 into R10_LP.
17802
17803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17804
17805 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17806
17807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17808
17809 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17810 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17811 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17812 Likewise.
17813 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17814
17815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17816
17817 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17818 (stackinfo_sub_sp): Likewise.
17819
17820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17821
17822 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17823 RAX_LP.
17824
17825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17826
17827 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17828 into R*_LP.
17829
17830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17831
17832 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17833 sizes into R*_LP.
17834
17835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17836
17837 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17838
17839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17840
17841 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17842 into R11_LP and load __x86_64_shared_cache_size_half into
17843 R8_LP.
17844
17845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17846
17847 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17848 R8_LP.
17849
17850 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17851
17852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17853 logb for POWER7.
17854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17855 logbf for POWER7.
17856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17857 logbl for POWER7.
17858 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17859 powerpc32/power7/fpu/s_logb.c via #include.
17860 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17861 powerpc32/power7/fpu/s_logbf.c via #include.
17862 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17863 powerpc32/power7/fpu/s_logbl.c via #include.
17864
17865 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17866
17867 * README.libm: Remove file.
17868
17869 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17870
17871 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17872 count for x32. Use R*_LP and omit operand-size suffix.
17873
17874 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17877 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17878 * sysdeps/x86_64/x32/shlib-versions: New file.
17879
17880 2012-05-14 Roland McGrath <roland@hack.frob.com>
17881
17882 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17883 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17884 Use _dl_fatal_printf instead.
17885
17886 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17887
17888 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17889 set if not set by the user. Do not allow for being unset.
17890 * sysdeps/unix/sysv/linux/configure: Regenerated.
17891
17892 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17893
17894 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17895 the `q' suffix from lea and replace .quad with ASM_ADDR.
17896
17897 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17898
17899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17900 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17901 instead of $17.
17902 (PTR_DEMANGLE): Likewise.
17903
17904 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17905
17906 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17907 (LP_OP): Likewise.
17908 (ASM_ADDR): Likewise.
17909 (RAX_LP): Likewise.
17910 (RBP_LP): Likewise.
17911 (RBX_LP): Likewise.
17912 (RCX_LP): Likewise.
17913 (RDI_LP): Likewise.
17914 (RSI_LP): Likewise.
17915 (RSP_LP): Likewise.
17916 (R8_LP): Likewise.
17917 (R9_LP): Likewise.
17918 (R10_LP): Likewise.
17919 (R10_LP): Likewise.
17920 (R11_LP): Likewise.
17921 (R12_LP): Likewise.
17922 (R13_LP): Likewise.
17923 (R14_LP): Likewise.
17924 (R15_LP): Likewise.
17925
17926 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17927
17928 * sysdeps/x86_64/x32/dl-machine.h: New file.
17929
17930 2012-05-14 Andreas Jaeger <aj@suse.de>
17931
17932 * manual/Makefile (subdir): Remove export of subdir.
17933 (all): Remove target.
17934 (.PHONY): Remove all from list.
17935 (mkinstalldirs): Remove.
17936 (.PHONY): Remove installdirs from list.
17937 ($(inst_infodir)/libc.info): Use make-target-directory.
17938 (installdirs): Remove.
17939 (subdir_%): Remove.
17940 (glibc-targets): Remove.
17941 (lib): Remove.
17942 (stubs): Remove.
17943 ($(objpfx)stubs ../po/manual.pot): Remove.
17944 ($(objpfx)stamp%): Remove.
17945 (make-target-directory): Remove.
17946 (subdir_install): Remove.
17947 (routines): Remove.
17948 (aux): Remove.
17949 (sources): Remove.
17950 (objects): Remove.
17951 (headers): Remove.
17952
17953 [BZ #13750]
17954 * manual/.gitignore: Remove, it's not needed anymore.
17955 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17956 all files in it.
17957 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17958 directory.
17959 (texis): Renamed to $(objpfx)texis.
17960 (texis-path): New, contains path to generated files.
17961 (chapters.%): Use texis-path for complete path, add extra argument
17962 libc-texinfo.sh.
17963 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17964 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17965 (summary,texi, stamp-summary): Use complete path of
17966 files. Generate files in build dir.
17967 (dir-add.texi): Build in build dir.
17968 (libm-err.texi,stamp-libm-err): Likewise.
17969 (version.texi, stamp-version): Likewise.
17970 (.%c.texi): Likewise.
17971 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17972 (mostlyclean): Remove target.
17973 (realclean): Remove target.
17974 (generated): Add new variable with contents from mostlyclean and
17975 realclean, remove entries duplicated in common-mostlyclean, add
17976 stamp-libm-err and stamp-version.
17977 (generated-dirs): Add libc directory.
17978 ($(inst_infodir)/libc.info): Install files from build dir.
17979
17980 * manual/install.texi (Configuring and compiling): Adjust since
17981 the info files are not part of the tar ball anymore.
17982
17983 2012-05-14 Andreas Jaeger <aj@suse.de>
17984
17985 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17986 variable.
17987
17988 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17989
17990 [BZ #13717]
17991 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17992 to 2.2.0 where earlier.
17993 * sysdeps/unix/sysv/linux/configure: Regenerated.
17994 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17995 Remove conditional code.
17996 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17997 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17998 Remove conditional code.
17999 [!__NR_lchown]: Likewise.
18000 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18001 [__NR_lchown]: Likewise.
18002 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18003 comment referencing __ASSUME_LCHOWN_SYSCALL.
18004 * sysdeps/unix/sysv/linux/i386/sigaction.c
18005 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18006 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18007 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18008 Remove conditional code.
18009 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18010 (__protocol_available): Remove #if 0 code.
18011 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18012 conditional code.
18013 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18014 * sysdeps/unix/sysv/linux/kernel-features.h
18015 (__ASSUME_GETCWD_SYSCALL): Don't define.
18016 (__ASSUME_REALTIME_SIGNALS): Likewise.
18017 (__ASSUME_PREAD_SYSCALL): Likewise.
18018 (__ASSUME_PWRITE_SYSCALL): Likewise.
18019 (__ASSUME_POLL_SYSCALL): Likewise.
18020 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18021 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18022 non-SPARC.
18023 (__ASSUME_SIOCGIFNAME): Don't define.
18024 (__ASSUME_MSG_NOSIGNAL): Likewise.
18025 (__ASSUME_SENDFILE): Define unconditionally.
18026 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18027 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18028 conditional code.
18029 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18030 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18031 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18032 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18033 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18034 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18035 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18037 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18040 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18043 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18046 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18049 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18052 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18055 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18056 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18058 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18059 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18060 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18061 Remove conditional code.
18062 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18063 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18064 Remove conditional code.
18065 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18066 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18067 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18068 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18069 Remove conditional code.
18070 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18071 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18072 Remove conditional code.
18073 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18074 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18075 Remove conditional code.
18076 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18077 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18078 Remove conditional code.
18079 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18080 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18081 Remove conditional code.
18082 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18083 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18084 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18085 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18086 * sysdeps/unix/sysv/linux/sigaction.c
18087 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18088 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18089 * sysdeps/unix/sysv/linux/sigpending.c
18090 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18091 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18092 * sysdeps/unix/sysv/linux/sigprocmask.c
18093 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18094 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18095 * sysdeps/unix/sysv/linux/sigsuspend.c
18096 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18097 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18098 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18099 (__libc_missing_rt_sigs): Remove.
18100 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18101 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18102 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18103 Remove conditional code.
18104 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18105 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18106 return 1.
18107 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18108 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18109 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18110 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18111
18112 2012-05-14 Andreas Jaeger <aj@suse.de>
18113
18114 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18115 it's not used in glibc.
18116 (__coshm1): Likewise.
18117 (__acosh1p): Likewise.
18118 (__sgn): Likewise.
18119
18120 * manual/string.texi (Copying and Concatenation): Add missing
18121 variable in concat example.
18122 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18123
18124 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18125
18126 [BZ #14103]
18127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18128 __builtin_clzl with __builtin_clzll.
18129
18130 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18131
18132 [BZ #14104]
18133 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18134 libc_freeres_ptr.
18135
18136 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18137
18138 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18139 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18140 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18141 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18142
18143 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18144
18145 * NEWS: Update ia64 info.
18146
18147 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18148
18149 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18150 used as bcopy.
18151
18152 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18153
18154 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18155 * sysdeps/unix/syscalls.list (dup3): Likewise.
18156 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18157 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18158
18159 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18160
18161 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18162 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18163
18164 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18165
18166 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18167 thread pointer.
18168 (TLS_IE): Use mov/add instead of movq/addq to load thread
18169 pointer.
18170 (TLS_GD_PREFIX): New.
18171 (TLS_GD): Use it.
18172
18173 2012-05-11 David S. Miller <davem@davemloft.net>
18174
18175 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18176 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18177 (_FPU_SETCW): Likewise.
18178
18179 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18180
18181 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18182 is 32-byte aligned.
18183
18184 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18185
18186 [BZ #11837]
18187 * iconvdata/gb18030.c: Update tables.
18188 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18189 characters specially.
18190 (BODY for TO_LOOP): Add encoding of missing ranges.
18191
18192 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18193
18194 [BZ #13673]
18195 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18196 * sysdeps/mach/hurd/dup3.c: Likewise.
18197 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18198 * sysdeps/powerpc/memmove.c:: Likewise.
18199
18200 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18201
18202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18203 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18204
18205 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18206
18207 * elf/elf.h (R_X86_64_RELATIVE64): New.
18208 (R_X86_64_NUM): Updated.
18209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18210 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18211 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18212 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18213 tst-quad1pie tst-quad2pie
18214 (modules-names): Add tst-quadmod1 tst-quadmod2.
18215 ($(objpfx)tst-quad1): New dependency.
18216 ($(objpfx)tst-quad2): Likewise.
18217 ($(objpfx)tst-quad1pie): Likewise.
18218 ($(objpfx)tst-quad2pie): Likewise.
18219 * sysdeps/x86_64/tst-quad1.c: New file.
18220 * sysdeps/x86_64/tst-quad1pie.c: New file.
18221 * sysdeps/x86_64/tst-quad2.c: Likewise.
18222 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18223 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18224 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18225 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18226 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18227
18228 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18229
18230 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18231 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18232 * streams/stropts.h (t_scalar_t): Define type.
18233
18234 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18235 (_PATH_PRESERVE): Set to "/var/lib".
18236 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18237
18238 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18239 instead of int.
18240
18241 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18242 if __dir_mkfile succeeded.
18243
18244 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18245 checking for _hurd_dtablesize. Unlock it right after having
18246 finished _hurd_dtable allocation.
18247
18248 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18249
18250 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18251 * sysdeps/mach/hurd/configure: Regenerated.
18252 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18253 special-casing to...
18254 * sysdeps/gnu/configure.in: ... this new file.
18255 * sysdeps/unix/sysv/linux/configure: Regenerated.
18256 * sysdeps/gnu/configure: New generated file.
18257
18258 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18259 for Linux: use nsec instead of usec, as well as:
18260 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18261 members of type struct timespec.
18262 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18263 New macros.
18264 (struct stat64): Likewise.
18265 (_STATBUF_ST_NSEC): New macro.
18266 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18267
18268 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18269 __strtoul_internal rather than strtoul.
18270
18271 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18272
18273 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18274 and reject them.
18275
18276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18277
18278 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18279 which preserves existing values.
18280 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18281
18282 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18283
18284 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18285 TIMEOUT values. Return EINVAL for NFDS values either negative or
18286 greater than FD_SETSIZE.
18287
18288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18289
18290 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18291 allocated, call __vm_protect to finish enabling the existing space, and
18292 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18293 allocate the remainder.
18294
18295 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18296
18297 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18298 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18299
18300 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18301
18302 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18303 sysdeps/mach/hurd/readlink.c.
18304
18305 * posix/tst-sysconf.c (posix_options): Only use
18306 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18307 _POSIX_SYNCHRONIZED_IO when they are defined
18308 * sysdeps/mach/hurd/bits/posix_opt.h:
18309 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18310 (_XOPEN_REALTIME): Undefine macro.
18311 (_XOPEN_REALTIME_THREADS): Undefine macro.
18312 (_XOPEN_SHM): Undefine macro.
18313 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18314 macro to -1.
18315 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18316 macro to -1.
18317 (_POSIX_ASYNC_IO): Undefine macro.
18318 (_POSIX_PRIORITIZED_IO): Undefine macro.
18319 (_POSIX_SPIN_LOCKS): Define macro to -1.
18320
18321 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18322 SA_NODEFER, SA_RESETHAND.
18323 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18324 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18325 F_DUPFD_CLOEXEC.
18326
18327 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18328
18329 * elf/Makefile (pldd-modules): Define unconditionally.
18330
18331 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18332
18333 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18334
18335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18336
18337 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18338 Return ENOENT when name is empty.
18339 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18340
18341 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18342
18343 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18344
18345 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18346
18347 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18348
18349 Fix mlock in all cases except non-readable pages.
18350 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18351 instead of VM_PROT_ALL as parameter to __vm_wire function.
18352
18353 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18354 (__mkdir): When path is `/', just fail with EEXIST.
18355 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18356
18357 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18358
18359 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18360 <sys/uio.h> (for writev).
18361 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18362 and <sys/param.h> (for MIN).
18363
18364 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18365
18366 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18367 REQUESTED_TIME. Properly set the remaining time and return EINTR
18368 if interrupted.
18369
18370 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18371
18372 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18373 Depend on against $(link-rpcuserlibs).
18374
18375 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18376
18377 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18378 (__libc_stack_end): Do not use attribute_relro.
18379 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18380 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18381 to libthread-provided value.
18382 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18383 attribute_relro.
18384
18385 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18386
18387 [BZ #3748]
18388 * bits/libc-lock.h (__libc_once_get): New macro.
18389 * sysdeps/mach/bits/libc-lock.h: Likewise.
18390 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18391 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18392 instead of using implementation details.
18393
18394 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18395 * libio/freopen.c: Likewise.
18396 * libio/freopen64.c: Likewise.
18397 * misc/syslog.c: Likewise.
18398 * nscd/connections.c: Likewise.
18399 * nscd/netgroupcache.c: Likewise.
18400 * sysdeps/posix/getcwd.c: Likewise.
18401
18402 2012-05-10 Roland McGrath <roland@hack.frob.com>
18403
18404 * math/w_ilogbf.c: Add #include <limits.h>.
18405
18406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18407
18408 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18409 path instead of returning without unlocking.
18410
18411 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18412 immediate-write ioctls.
18413 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18414
18415 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18416
18417 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18418 __builtin_frame_address instead of making assumptions about the
18419 location of the return address relative to DATA. Force early load of
18420 the return address.
18421 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18422 __builtin_frame_address.
18423
18424 dup3 for GNU Hurd.
18425 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18426 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18427 implement dup3 and do some further code clean-ups.
18428 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18429 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18430
18431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18432
18433 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18434
18435 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18436 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18437 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18438 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18439 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18440 d->port.lock.
18441
18442 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18443 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18444 when handler == SIG_ERR, not when handler != SIG_ERR.
18445
18446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18447
18448 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18449 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18450 definitions.
18451
18452 accept4 for GNU Hurd.
18453 * include/sys/socket.h (__libc_accept4): New prototype.
18454 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18455 to implement __libc_accept4.
18456 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18457 __libc_accept4.
18458 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18459
18460 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18461 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18462 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18463 signal-defines.sym.
18464
18465 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18466
18467 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18468
18469 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18470
18471 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18472 assertion on O_CLOEXEC flag.
18473 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18474 * hurd/intern-fd.c: Likewise.
18475 * hurd/port2fd.c: Likewise.
18476
18477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18478
18479 [BZ #3906]
18480 * bits/in.h (IPV6_PKTINFO): Define new macro.
18481 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18482
18483 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18484
18485 [BZ #13954]
18486 [BZ #13955]
18487 [BZ #13956]
18488 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18489 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18490 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18491 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18493 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18494 * math/libm-test.inc (logb_test) : Additional logb tests.
18495
18496 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18497 Andreas Jaeger <aj@suse.de>
18498
18499 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18500 * configure: Regenerated.
18501 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18502 * config.make.in (link-obsolete-rpc): New substituted variable.
18503 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18504 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18505 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18506 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18507 so that libc.a contains the symbols.
18508 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18509 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18510 * sunrpc/auth_none.c: Likewise.
18511 * sunrpc/auth_unix.c: Likewise.
18512 * sunrpc/authdes_prot.c: Likewise.
18513 * sunrpc/authuxprot.c: Likewise.
18514 * sunrpc/clnt_gen.c: Likewise.
18515 * sunrpc/clnt_perr.c: Likewise.
18516 * sunrpc/clnt_raw.c: Likewise.
18517 * sunrpc/clnt_simp.c: Likewise.
18518 * sunrpc/clnt_tcp.c: Likewise.
18519 * sunrpc/clnt_udp.c: Likewise.
18520 * sunrpc/clnt_unix.c: Likewise.
18521 * sunrpc/des_crypt.c: Likewise.
18522 * sunrpc/des_soft.c: Likewise.
18523 * sunrpc/get_myaddr.c: Likewise.
18524 * sunrpc/key_call.c: Likewise.
18525 * sunrpc/key_prot.c: Likewise.
18526 * sunrpc/netname.c: Likewise.
18527 * sunrpc/pm_getmaps.c: Likewise.
18528 * sunrpc/pm_getport.c: Likewise.
18529 * sunrpc/pmap_clnt.c: Likewise.
18530 * sunrpc/pmap_prot.c: Likewise.
18531 * sunrpc/pmap_prot2.c: Likewise.
18532 * sunrpc/pmap_rmt.c: Likewise.
18533 * sunrpc/publickey.c: Likewise.
18534 * sunrpc/rpc_cmsg.c: Likewise.
18535 * sunrpc/rpc_common.c: Likewise.
18536 * sunrpc/rpc_dtable.c: Likewise.
18537 * sunrpc/rpc_prot.c: Likewise.
18538 * sunrpc/rpc_thread.c: Likewise.
18539 * sunrpc/rtime.c: Likewise.
18540 * sunrpc/svc.c: Likewise.
18541 * sunrpc/svc_auth.c: Likewise.
18542 * sunrpc/svc_raw.c: Likewise.
18543 * sunrpc/svc_run.c: Likewise.
18544 * sunrpc/svc_tcp.c: Likewise.
18545 * sunrpc/svc_udp.c: Likewise.
18546 * sunrpc/svc_unix.c: Likewise.
18547 * sunrpc/svcauth_des.c: Likewise.
18548 * sunrpc/xcrypt.c: Likewise.
18549 * sunrpc/xdr.c: Likewise.
18550 * sunrpc/xdr_array.c: Likewise.
18551 * sunrpc/xdr_float.c: Likewise.
18552 * sunrpc/xdr_intXX_t.c: Likewise.
18553 * sunrpc/xdr_mem.c: Likewise.
18554 * sunrpc/xdr_rec.c: Likewise.
18555 * sunrpc/xdr_ref.c: Likewise.
18556 * sunrpc/xdr_sizeof.c: Likewise.
18557 * sunrpc/xdr_stdio.c: Likewise.
18558
18559 2012-05-10 Roland McGrath <roland@hack.frob.com>
18560
18561 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18562 change. Update copyright years.
18563
18564 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18565
18566 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18567
18568 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18569 Joseph Myers <joseph@codesourcery.com>
18570 Paul Pluzhnikov <ppluzhnikov@google.com>
18571
18572 [BZ #14012]
18573 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18574 requiring rpcgen.
18575 [cross-compiling] (extra-libs): Likewise.
18576 [cross-compiling] (extra-libs-others): Likewise.
18577 [cross-compiling] (librpcsvc-routines): Likewise.
18578 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18579 [cross-compiling] (omit-deps): Likewise.
18580 (sunrpc-CPPFLAGS): New variable.
18581 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18582 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18583 (cross-rpcgen-objs): New variable.
18584 (extra-objs): Append $(cross-rpcgen-objs).
18585 ($(cross-rpcgen-objs)): New rule.
18586 ($(objpfx)cross-rpcgen): Likewise.
18587 (rpcgen-cmd): Define to use $(built-program-file). Expand
18588 comment.
18589 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18590 ($(objpfx)x%.stmp): Likewise.
18591 * sunrpc/proto.h [IS_IN_build] (_): Define.
18592 [IS_IN_build] (_libc_intl_domainname): Likewise.
18593
18594 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18595
18596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18597 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18598 and R_X86_64_TPOFF64.
18599
18600 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18601
18602 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18603 sysdeps/unix/sysv/syscalls.list.
18604 (stime): Likewise.
18605 (utime): Likewise.
18606 * sysdeps/unix/sysv/syscalls.list: Remove file.
18607
18608 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18609
18610 [BZ #3440]
18611 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18612 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18613 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18614 (__LC_IDENTIFICATION): Make these macros useful in #if
18615 expressions, as required by C99.
18616
18617 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18618
18619 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18620 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18621 after this.
18622
18623 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18624
18625 * stdlib/longlong.h: Updated from GCC.
18626
18627 2012-05-09 Andreas Jaeger <aj@suse.de>
18628
18629 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18630 default is first entry.
18631 (run_mode): Set type.
18632 (main): Remove informal message about syslog.
18633 (options): Fix typo.
18634
18635 [BZ #14053]
18636 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18637 to asm.
18638 (lrint): Likewise.
18639 (llrintf): Likewise.
18640 (llrint): Likewise.
18641 (rint): Likewise.
18642 (rintf): Likewise.
18643 (nearbyint): Likewise.
18644 (nearbyintf): Likewise.
18645
18646 2012-05-09 Andreas Jaeger <aj@suse.de>
18647 Pedro Alves <palves@redhat.com>
18648
18649 * nscd/nscd.c (run_mode): Use enum.
18650 (main): Cleanup coding style issue.
18651
18652 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
18653 Andreas Jaeger <aj@suse.de>
18654
18655 * nscd/nscd.c (go_background): Replaced with...
18656 (run_mode): ... this.
18657 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18658 (options): Add -F --foreground.
18659 (main): Implement it.
18660 (parse_opt): Parse it.
18661
18662 2012-05-09 Andreas Jaeger <aj@suse.de>
18663
18664 [BZ #14083]
18665 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18666 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18667 -Wconversion warning.
18668 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18669 Likewise.
18670
18671 2012-05-09 Joseph Myers <joseph@codesourcery.com>
18672
18673 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18674 == 0.
18675 (LC_ALL): Use macro-int-constant.
18676 (LC_COLLATE): Likewise.
18677 (LC_CTYPE): Likewise.
18678 (LC_MESSAGES): Likewise.
18679 (LC_MONETARY): Likewise.
18680 (LC_NUMERIC): Likewise.
18681 (LC_TIME): Likewise.
18682 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18683 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18684 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18685 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18686 Specify type.
18687 [C99-based standards] (float_t): Expect type.
18688 [C99-based standards] (double_t): Expect type.
18689 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18690 type.
18691 [C99-based standards] (HUGE_VALL): Likewise.
18692 [C99-based standards] (INFINITY): Likewise.
18693 [C99-based standards] (NAN): Likewise.
18694 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18695 [C99-based standards] (FP_NAN): Likewise.
18696 [C99-based standards] (FP_NORMAL): Likewise.
18697 [C99-based standards] (FP_SUBNORMAL): Likewise.
18698 [C99-based standards] (FP_ZERO): Likewise.
18699 [C99-based standards] (FP_FAST_FMA): Use
18700 optional-macro-int-constant. Specify type. Require == 1.
18701 [C99-based standards] (FP_FAST_FMAF): Likewise.
18702 [C99-based standards] (FP_FAST_FMAL): Likewise.
18703 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18704 [C99-based standards] (FP_ILOGBNAN): Likewise.
18705 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18706 Specify type.
18707 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18708 [C99-based standards] (math_errhandling): Specify type.
18709 [ISO99 || ISO11] (signgam): Do not allow.
18710 [non-C99-based standards] (copysignf): Do not allow.
18711 [non-C99-based standards] (exp2f): Likewise.
18712 [non-C99-based standards] (log2f): Likewise.
18713 [non-C99-based standards] (modff): Allow.
18714 [non-C99-based standards] (erff): Do not allow.
18715 [non-C99-based standards] (erfcf): Likewise.
18716 [non-C99-based standards] (gammaf): Likewise.
18717 [non-C99-based standards] (hypotf): Likewise.
18718 [non-C99-based standards] (j0f): Likewise.
18719 [non-C99-based standards] (j1f): Likewise.
18720 [non-C99-based standards] (jnf): Likewise.
18721 [non-C99-based standards] (lgammaf): Likewise.
18722 [non-C99-based standards] (tgammaf): Likewise.
18723 [non-C99-based standards] (y0f): Likewise.
18724 [non-C99-based standards] (y1f): Likewise.
18725 [non-C99-based standards] (ynf): Likewise.
18726 [non-C99-based standards] (isnanf): Likewise.
18727 [non-C99-based standards] (acoshf): Likewise.
18728 [non-C99-based standards] (asinhf): Likewise.
18729 [non-C99-based standards] (atanhf): Likewise.
18730 [non-C99-based standards] (cbrtf): Likewise.
18731 [non-C99-based standards] (expm1f): Likewise.
18732 [non-C99-based standards] (ilogbf): Likewise.
18733 [non-C99-based standards] (log1pf): Likewise.
18734 [non-C99-based standards] (logbf): Likewise.
18735 [non-C99-based standards] (nextafterf): Likewise.
18736 [non-C99-based standards] (remainderf): Likewise.
18737 [non-C99-based standards] (rintf): Likewise.
18738 [non-C99-based standards] (scalbf): Likewise.
18739 [non-C99-based standards] (copysignl): Likewise.
18740 [non-C99-based standards] (exp2l): Likewise.
18741 [non-C99-based standards] (log2l): Likewise.
18742 [non-C99-based standards] (modfl): Allow.
18743 [non-C99-based standards] (erfl): Do not allow.
18744 [non-C99-based standards] (erfcl): Likewise.
18745 [non-C99-based standards] (gammal): Likewise.
18746 [non-C99-based standards] (hypotl): Likewise.
18747 [non-C99-based standards] (j0l): Likewise.
18748 [non-C99-based standards] (j1l): Likewise.
18749 [non-C99-based standards] (jnl): Likewise.
18750 [non-C99-based standards] (lgammal): Likewise.
18751 [non-C99-based standards] (tgammal): Likewise.
18752 [non-C99-based standards] (y0l): Likewise.
18753 [non-C99-based standards] (y1l): Likewise.
18754 [non-C99-based standards] (ynl): Likewise.
18755 [non-C99-based standards] (isnanl): Likewise.
18756 [non-C99-based standards] (acoshl): Likewise.
18757 [non-C99-based standards] (asinhl): Likewise.
18758 [non-C99-based standards] (atanhl): Likewise.
18759 [non-C99-based standards] (cbrtl): Likewise.
18760 [non-C99-based standards] (expm1l): Likewise.
18761 [non-C99-based standards] (ilogbl): Likewise.
18762 [non-C99-based standards] (log1pl): Likewise.
18763 [non-C99-based standards] (logbl): Likewise.
18764 [non-C99-based standards] (nextafterl): Likewise.
18765 [non-C99-based standards] (remainderl): Likewise.
18766 [non-C99-based standards] (rintl): Likewise.
18767 [non-C99-based standards] (scalbl): Likewise.
18768 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18769 [non-C99-based standards] (FP_*): Do not allow.
18770 [C99-based standards] (FP_*): Change to
18771 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18772 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18773 allow.
18774 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18775 (SIG_ERR): Likewise.
18776 [X/Open-based standards] (SIG_HOLD): Likewise.
18777 (SIG_IGN): Likewise.
18778 (SIGABRT): Use macro-int-constant. Specify type. Require
18779 positive value.
18780 (SIGFPE): Likewise.
18781 (SIGILL): Likewise.
18782 (SIGINT): Likewise.
18783 (SIGSEGV): Likewise.
18784 (SIGTER): Likewise.
18785 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18786 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18787 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18788 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18789 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18790 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18791 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18792 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18793 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18794 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18795 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18796 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18797 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18798 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18799 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18800 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18801 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18802 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18803 [X/Open-based standards] (SIGTRAP): Likewise.
18804 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18805 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18806 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18807 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18808 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18809 allow.
18810
18811 2012-05-08 Ian Wienand <ianw@vmware.com>
18812
18813 [BZ #14080]
18814 * time/tzset.c (__tzset_parse_tz): Update default rules for
18815 daylight time changes in the Energy Policy Act of 2005.
18816
18817 2012-05-09 Andreas Jaeger <aj@suse.de>
18818
18819 [BZ #13983]
18820 * elf/ldconfig.c (parse_conf): Change string to make clear that
18821 ldconfig only issued a warning if ld.so.conf does not exist.
18822
18823 2012-05-08 David S. Miller <davem@davemloft.net>
18824
18825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18826 movxtod instead of popping the value on the stack.
18827
18828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18829
18830 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18831
18832 * config.h.in: Add HAVE_ARM_PCS_VFP.
18833
18834 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
18835
18836 [BZ #13979]
18837 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18838 checking but the checks are disabled for any reason.
18839
18840 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18841
18842 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18843 and ELF64_R_TYPE with ELFW(R_TYPE).
18844
18845 2012-05-08 Joseph Myers <joseph@codesourcery.com>
18846
18847 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18848 (ulimit): Likewise.
18849
18850 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18851 (settimeofday): Likewise.
18852
18853 2012-05-08 Mike Frysinger <vapier@gentoo.org>
18854
18855 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18856 a struct th_u2 inside the union, and move tu_block/tu_code into
18857 a new th_u3 union of tu_block/tu_code inside of that. Move
18858 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18859 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18860 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18861 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18862 (th_stuff): Change to th_u1.tu_stuff.
18863 (th_data): Define.
18864 (th_msg): Change to th_u1.th_u2.tu_data.
18865
18866 2012-05-07 David S. Miller <davem@davemloft.net>
18867
18868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18869
18870 [BZ #14074]
18871 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18872 (SETUP_PIC_REG): Use it.
18873 (SETUP_PIC_REG_LEAF): Use it.
18874
18875 2012-05-07 Joseph Myers <joseph@codesourcery.com>
18876
18877 [BZ #13885]
18878 [BZ #13923]
18879 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18880 USE_AS_EXPM1L.
18881 (EXPL_FINITE): Likewise.
18882 (FLDLOG): Likewise.
18883 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18884 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18885 e_expl.S.
18886 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18887 USE_AS_EXPM1L.
18888 (EXPL_FINITE): Likewise.
18889 (FLDLOG): Likewise.
18890 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18891 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18892 e_expl.S.
18893 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18894 test of -max_value argument for long double.
18895 * sysdeps/i386/fpu/libm-test-ulps: Update.
18896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18897
18898 2012-05-06 David S. Miller <davem@davemloft.net>
18899
18900 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18901 quad soft-float symbols whose references which are compiler
18902 generated.
18903 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18904
18905 2012-05-06 Joseph Myers <joseph@codesourcery.com>
18906
18907 [BZ #13884]
18908 [BZ #13914]
18909 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18910 USE_AS_EXP10L.
18911 (EXPL_FINITE): Likewise.
18912 (FLDLOG): Likewise.
18913 (c0): Likewise.
18914 (c1): Likewise.
18915 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18916 Adjust comments for base varying.
18917 (__expl_finite): Change alias to EXPL_FINITE.
18918 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18919 e_expl.S.
18920 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18921 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18923 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18924 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18925 USE_AS_EXP10L.
18926 (EXPL_FINITE): Likewise.
18927 (FLDLOG): Likewise.
18928 (c0): Likewise.
18929 (c1): Likewise.
18930 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18931 Adjust comments for base varying.
18932 (__expl_finite): Change alias to EXPL_FINITE.
18933 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18934 tests for bugs.
18935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18936
18937 [BZ #14064]
18938 * math/libm-test.inc (check_float_internal): Correct ulp
18939 calculation for subnormal expected results.
18940
18941 2012-05-06 Andreas Jaeger <aj@suse.de>
18942
18943 * Makeconfig (+math-flags): New, set to -frounding-math.
18944 (+cflags): Add +math-flags so that all of glibc gets compiled with
18945 it.
18946
18947 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18948
18949 2012-05-05 Joseph Myers <joseph@codesourcery.com>
18950
18951 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18952 Disable one test.
18953
18954 [BZ #13787]
18955 [BZ #13922]
18956 [BZ #14036]
18957 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18958 (__ieee754_expl): Allow for and saturate large arguments.
18959 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18960 (u_threshold): Likewise.
18961 (__exp): Call __ieee754_exp before checking for overflow and
18962 underflow.
18963 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18964 (u_threshold): Likewise.
18965 (__expf): Call __ieee754_expf before checking for overflow and
18966 underflow.
18967 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18968 (u_threshold): Likewise.
18969 (__expl): Call __ieee754_expl before checking for overflow and
18970 underflow.
18971 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18972 (__ieee754_expl): Allow for and saturate large arguments.
18973 * math/libm-test.inc (exp_test): Add another test. Do not allow
18974 missing overflow exception on overflow.
18975 (expm1_test): Do not allow missing overflow exception on overflow.
18976
18977 * sysdeps/i386/fpu/e_expl.c: Move to ...
18978 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18979 rather than using inline asm.
18980 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18981 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18982 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18983
18984 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18985 (nice): Likewise.
18986 (poll): Likewise.
18987 (signal): Likewise.
18988 (time): Likewise.
18989 (times): Likewise.
18990
18991 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18992
18993 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18994 sysdeps/unix/common/syscalls.list.
18995 (fchmod): Likewise.
18996 (fchown): Likewise.
18997 (ftruncate): Likewise.
18998 (getrusage): Likewise.
18999 (gettimeofday): Likewise.
19000 (setpgid): Likewise.
19001 (setregid): Likewise.
19002 (setreuid): Likewise.
19003 (sigaction): Likewise.
19004 (truncate): Likewise.
19005 (vhangup): Likewise.
19006 * sysdeps/unix/common/syscalls.list: Remove file.
19007 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19008 * sysdeps/unix/sysv/linux/Implies: Likewise.
19009
19010 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19011
19012 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19014 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19015 Moved to ...
19016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19017 Here.
19018 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19019 to ...
19020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19021 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19022 to ...
19023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19024 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19025 to ...
19026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19027 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19028 to ...
19029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19030 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19031 to ...
19032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19033 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19034 to ...
19035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19036 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19037 to ...
19038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19039 Here.
19040 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19041 to ...
19042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19043 Here.
19044 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19045 to ...
19046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19047 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19048 Moved to ...
19049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19050 Here.
19051 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19052 to ...
19053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19054
19055 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19056
19057 * sysdeps/unix/common/bits/dirent.h: Remove file.
19058 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19059
19060 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19061 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19062 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19063 * sysdeps/unix/bsd/isatty.c: Likewise.
19064 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19065 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19066 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19067
19068 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19069
19070 [BZ #13563]
19071 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19072 long double comparison inaccuracies.
19073 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19075
19076 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19077
19078 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19079 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19080
19081 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19082
19083 [BZ #14049]
19084 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19085 nonzero digits before rounding a hex value.
19086 * stdlib/tst-strtod.c (tests): Add another test.
19087
19088 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19089
19090 * sysdeps/s390/fpu/libm-test-ulps: Update.
19091
19092 2012-05-03 Andreas Jaeger <aj@suse.de>
19093
19094 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19095 does not get optimized out.
19096 (malloc_opt_barrier): New.
19097
19098 2012-05-03 Andreas Jaeger <aj@suse.de>
19099 Roland McGrath <roland@hack.frob.com>
19100
19101 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19102 intermediate file deletion.
19103 (generated): Add .symlist files.
19104
19105 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19106
19107 [BZ #13775]
19108 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19109 Redirect under this condition.
19110 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19111 [__USE_GNU] (__dprintf_chk): Not under this condition.
19112 [__USE_GNU] (__vdprintf_chk): Likewise.
19113 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19114 under this condition.
19115 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19116 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19117 [__USE_XOPEN2K8] (vdprintf): Likewise.
19118 [__USE_GNU] (__dprintf_chk): Not under this condition.
19119 [__USE_GNU] (__vdprintf_chk): Likewise.
19120 [__USE_GNU] (dprintf): Likewise.
19121 [__USE_GNU] (vdprintf): Likewise.
19122
19123 2012-05-03 Roland McGrath <roland@hack.frob.com>
19124
19125 * elf/Makefile (common-generated): Set this instead of generated for
19126 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19127 $(all-built-dso)-derived lists.
19128
19129 2012-05-03 Andreas Jaeger <aj@suse.de>
19130
19131 * sysdeps/i386/fpu/libm-test-ulps: Update.
19132
19133 * FAQ: Removed.
19134 * FAQ.in: Likewise.
19135 * scripts/gen-FAQ.pl: Likewise.
19136 * manual/install.texi (Installation): Point to online location of
19137 FAQ.
19138 * Makefile (files-for-dist): Remove FAQ.
19139 (FAQ): Remove.
19140
19141 2012-05-02 Allan McRae <allan@archlinux.org>
19142
19143 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19144 (LDFLAGS-reldepmod5.so): Likewise.
19145 (LDFLAGS-reldep6mod1.so): Likewise.
19146 (LDFLAGS-reldep6mod4.so): Likewise.
19147 (LDFLAGS-reldep8mod3.so): Likewise.
19148 (LDFLAGS-unload4mod1.so): Likewise.
19149 (LDFLAGS-unload4mod2.so): Likewise.
19150 (LDFLAGS-tst-initorder): Likewise.
19151 (LDFLAGS-tst-initordera2.so): Likewise.
19152 (LDFLAGS-tst-initordera3.so): Likewise.
19153 (LDFLAGS-tst-initordera4.so): Likewise.
19154 (LDFLAGS-tst-initorderb2.so): Likewise.
19155 (LDFLAGS-noload): Likewise.
19156 (LDFLAGS-next): Likewise.
19157 (LDFLAGS-order2mod1.so): Likewise.
19158 (LDFLAGS-order2mod2.so): Likewise.
19159 (LDFLAGS-tst-initorder2): Likewise.
19160 (LDFLAGS-tst-initorder2a.so): Likewise.
19161 (LDFLAGS-tst-initorder2b.so): Likewise.
19162 (LDFLAGS-tst-initorder2c.so): Likewise.
19163 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19164
19165 2012-05-02 David S. Miller <davem@davemloft.net>
19166
19167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19168
19169 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19170
19171 [BZ #14055]
19172 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19173
19174 2012-05-02 Andreas Jaeger <aj@suse.de>
19175
19176 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19177 since we manipulate rounding mode.
19178 (CPPFLAGS-test-idouble.c): Likewise.
19179 (CPPFLAGS-test-ifloat.c): Likewise.
19180 (CFLAGS-test-ldouble.c): Likewise.
19181 (CFLAGS-test-double.c): Likewise.
19182 (CFLAGS-test-float.c): Likewise.
19183 (CFLAGS-test-misc.c): Likewise.
19184 (CFLAGS-test-test-fenv.c): Likewise.
19185
19186 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19187
19188 [BZ #2550]
19189 [BZ #2570]
19190 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19191 comparisons to determine direction to adjust input.
19192
19193 2012-05-01 Roland McGrath <roland@hack.frob.com>
19194
19195 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19196 output to the target.
19197
19198 * scripts/localplt.awk: New file.
19199 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19200 (check-localplt-CFLAGS): Variable removed.
19201 ($(all-built-dso:=.jmprel)): New static pattern rule.
19202 (generated): Add those targets.
19203 (localplt-built-dso): New variable.
19204 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19205
19206 * elf/check-localplt.c: File removed.
19207
19208 * scripts/check-execstack.awk: New file.
19209 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19210 (check-execstack-CFLAGS): Variable removed.
19211 ($(objpfx)check-execstack.h): Target removed.
19212 ($(objpfx)execstack-default): New target.
19213 (generated): Add that instead of check-execstack.h.
19214 ($(all-built-dso:=.phdr)): New static pattern rule.
19215 (generated): Add those targets.
19216 * elf/check-execstack.c: File removed.
19217
19218 * scripts/check-textrel.awk: New file.
19219 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19220 (check-textrel-CFLAGS): Variable removed.
19221 (all-built-dso): Use := to define.o
19222 ($(all-built-dso:=.dyn)): New static pattern rule.
19223 (generated): Add those targets.
19224 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19225 * config.make.in (READELF): New substituted variable.
19226 * elf/check-textrel.c: File removed.
19227
19228 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19229
19230 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19231 allow.
19232 * conform/data/ctype.h-data [C99-based standards] (isblank):
19233 Expect function.
19234 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19235 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19236 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19237 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19238 Specify type. Require positive value.
19239 (EILSEQ): Likewise.
19240 (ERANGE): Likewise.
19241 [ISO || POSIX] (EILSEQ): Do not expect.
19242 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19243 Specify type. Require positive value.
19244 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19245 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19246 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19247 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19248 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19249 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19250 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19251 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19252 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19253 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19254 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19255 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19256 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19257 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19258 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19259 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19260 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19261 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19262 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19263 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19264 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19265 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19266 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19267 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19268 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19269 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19270 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19271 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19272 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19273 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19274 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19275 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19276 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19277 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19278 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19279 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19280 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19281 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19282 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19283 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19284 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19285 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19286 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19287 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19288 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19289 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19290 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19291 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19292 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19293 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19294 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19295 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19296 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19297 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19298 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19299 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19300 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19301 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19302 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19303 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19304 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19305 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19306 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19307 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19308 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19309 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19310 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19311 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19312 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19313 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19314 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19315 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19316 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19317 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19318 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19319 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19320 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19321 Require >= 2.
19322 (FLT_ROUNDS): Expect as macro, not constant.
19323 (FLT_MANT_DIG): Use macro-int-constant.
19324 (DBL_MANT_DIG): Likewise.
19325 (LDBL_MANT_DIG): Likewise.
19326 (FLT_DIG): Likewise.
19327 (DBL_DIG): Likewise.
19328 (LDBL_DIG): Likewise.
19329 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19330 (DBL_MIN_EXP): Likewise.
19331 (LDBL_MIN_EXP): Likewise.
19332 (FLT_MAX_EXP): Use macro-int-constant.
19333 (DBL_MAX_EXP): Likewise.
19334 (LDBL_MAX_EXP): Likewise.
19335 (FLT_MAX_10_EXP): Likewise.
19336 (DBL_MAX_10_EXP): Likewise.
19337 (LDBL_MAX_10_EXP): Likewise.
19338 (FLT_MAX): Use macro-constant.
19339 (DBL_MAX): Likewise.
19340 (LDBL_MAX): Likewise.
19341 (FLT_EPSILON): Use macro-constant. Give upper bound.
19342 (DBL_EPSILON): Likewise.
19343 (LDBL_EPSILON): Likewise.
19344 (FLT_MIN): Likewise.
19345 (DBL_MIN): Likewise.
19346 (LDBL_MIN): Likewise.
19347 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19348 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19349 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19350 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19351 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19352 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19353 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19354 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19355 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19356 [ISO11] (FLT_TRUE_MIN): Likewise.
19357 [ISO11] (LDBL_TRUE_MIN): Likewise.
19358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19359 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19360 (SCHAR_MIN): Use macro-int-constant. Specify type.
19361 (SCHAR_MAX): Likewise.
19362 (UCHAR_MAX): Likewise.
19363 (CHAR_MIN): Likewise.
19364 (CHAR_MAX): Likewise.
19365 (MB_LEN_MAX): Use macro-int-constant.
19366 (SHRT_MIN): Use macro-int-constant. Specify type.
19367 (SHRT_MAX): Likewise.
19368 (USHRT_MAX): Likewise.
19369 (INT_MAX): Likewise.
19370 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19371 bound negative.
19372 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19373 bound with "U".
19374 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19375 bound with "L".
19376 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19377 bound negative. Suffix upper bound with "L".
19378 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19379 bound with "UL".
19380 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19381 Specify type.
19382 [C99-based standards] (LLONG_MAX): Likewise.
19383 [C99-based standards] (ULLONG_MAX): Likewise.
19384 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19385 == 0.
19386 [ISO11] (max_align_t): Require type.
19387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19388
19389 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19390 from $CFLAGS, without defining away __attribute__ calls.
19391 (checknamespace): Use $CFLAGS_namespace.
19392
19393 * conform/conformtest.pl (@keywords): Only include C99 keywords
19394 for standards based on C99 or C11.
19395
19396 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19397 Disable tests.
19398 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19399 UNIX98]: Likewise.
19400
19401 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19402 usability of symbols in #if.
19403
19404 * conform/conformtest.pl: If macro or constant types start
19405 "promoted:", expect the symbol to be of the following type
19406 promoted by the integer promotions.
19407
19408 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19409 in one place. Also handle "macro-constant".
19410
19411 * conform/conformtest.pl: Only accept expected macro values with
19412 "==". Parse all "macro" lines in one place.
19413 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19414
19415 * conform/conformtest.pl: Handle braced types on "constant" lines
19416 instead of handling "typed-constant".
19417 * conform/data/signal.h-data: Use "constant" instead of
19418 "typed-constant".
19419
19420 * conform/conformtest.pl: Handle "optional-" at start of lines in
19421 one place rather than duplicating several cases. Handle each
19422 format of "macro" line with initial "optional-".
19423
19424 * conform/conformtest.pl: Only accept expected constant or
19425 optional-constant values with "==". Parse all "constant" lines in
19426 one place. Parse all "optional-constant" lines in one place.
19427 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19428 * conform/data/fmtmsg.h-data: Likewise.
19429 * conform/data/netinet/in.h-data: Likewise.
19430 * conform/data/tar.h-data: Likewise.
19431 * conform/data/limits.h-data: Use "==" form on "constant" and
19432 "optional-constant" lines.
19433
19434 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19435 Use -std=c99 for XOPEN2K.
19436 (@knownproblems): Remove.
19437 (newtoken): Don't check %isknown.
19438
19439 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19440 Do not expect macro.
19441 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19442 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19443 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19444 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19445 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19446 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19447 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19448 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19449 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19450 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19451 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19452 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19453 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19454 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19455 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19456 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19457 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19458 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19459 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19460 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19461 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19462 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19463 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19464 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19465 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19466 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19467 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19468 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19469 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19470 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19471 [XPG3] (acosh): Likewise.
19472 [XPG3] (asinh): Likewise.
19473 [XPG3] (atanh): Likewise.
19474 [XPG3] (cbrt): Likewise.
19475 [XPG3] (expm1): Likewise.
19476 [XPG3] (ilogb): Likewise.
19477 [XPG3] (log1p): Likewise.
19478 [XPG3] (logb): Likewise.
19479 [XPG3] (nextafter): Likewise.
19480 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19481 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19482 [XPG3] (remainder): Likewise.
19483 [XPG3] (rint): Likewise.
19484 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19485 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19486 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19487 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19488 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19489 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19490 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19491 [UNIX98 || XOPEN2K] (scalb): Expect.
19492 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19493 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19494 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19495 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19496 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19497 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19498 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19499 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19500 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19501 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19502 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19503 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19504 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19505 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19506 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19507 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19508 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19509 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19510 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19511 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19512 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19513 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19514 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19515 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19516 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19517 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19518 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19519 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19520 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19521 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19522 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19523 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19524 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19525 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19526 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19527 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19528 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19529 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19530 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19531 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19532 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19533 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19534 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19535 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19536 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19537 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19538 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19539 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19540 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19541 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19542 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19543 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19544 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19545 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19546 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19547 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19548 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19549 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19550 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19551 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19552 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19553 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19554 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19555 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19556 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19557 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19558 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19559 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19560 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19561 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19562 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19563 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19564 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19565 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19566 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19567 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19568 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19569 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19570 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19571 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19572 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19573 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19574 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19576 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19577 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19578 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19579 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19580 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19581 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19582 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19586 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19587 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19593 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19594 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19604 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19605 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19606 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19607 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19608 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19609 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19610 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19611 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19612 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19613 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19614 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19615 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19616 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19617 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19618 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19619 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19621 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19622 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19623 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19624 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19625 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19626 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19629
19630 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19631 _XOPEN_SOURCE_EXTENDED for XPG4.
19632
19633 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19634
19635 * Makeconfig (localtime): Remove variable.
19636 (inst_localtime-file): Likewise.
19637
19638 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19639
19640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19641 Update.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19643 Update.
19644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19645 Update.
19646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19647 Update.
19648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19649 Update.
19650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19651 Update.
19652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19653 Update.
19654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19655 Update.
19656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19657 Update.
19658
19659 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19660
19661 [BZ #2550]
19662 [BZ #2570]
19663 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19664 comparisons to determine direction to adjust input.
19665 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19666 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19667 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19668 Likewise.
19669 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19670 Likewise.
19671 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19672 Likewise.
19673 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19674 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19675 Likewise.
19676 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19677 Likewise.
19678 * math/libm-test.inc (nexttoward_test): Add more tests.
19679
19680 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19681
19682 [BZ #14040]
19683 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19684 in version GLIBC_2.1, not GLIBC_2.0.
19685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19686 Likewise.
19687
19688 2012-04-30 Joseph Myers <joseph@codesourcery.com>
19689
19690 [BZ #13942]
19691 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19692 (1 - x) * (1 + x).
19693 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19694 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19695 * math/libm-test.inc (acos_test): Add more tests.
19696 (asin_test): Likewise.
19697 * sysdeps/i386/fpu/libm-test-ulps: Update.
19698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19699
19700 [BZ #14034]
19701 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19702 of square root.
19703 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19704 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19705 * math/libm-test.inc (acos_test_tonearest): New function.
19706 (acos_test_towardzero): Likewise.
19707 (acos_test_downward): Likewise.
19708 (acos_test_upward): Likewise.
19709 (asin_test_tonearest): Likewise.
19710 (asin_test_towardzero): Likewise.
19711 (asin_test_downward): Likewise.
19712 (asin_test_upward): Likewise.
19713 (main): Call the new functions.
19714 * sysdeps/i386/fpu/libm-test-ulps: Update.
19715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19716
19717 [BZ #13884]
19718 [BZ #13924]
19719 * math/e_exp10.c: Include <float.h>.
19720 (__ieee754_exp10): Handle underflow here rather than multiplying
19721 large negative argument by M_LN10.
19722 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19723 of __ieee754_expf.
19724 * math/e_exp10l.c: Include <float.h>.
19725 (__ieee754_exp10l): Handle underflow here rather than multiplying
19726 large negative argument by M_LN10l.
19727 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19728 spurious overflow exception on underflow.
19729
19730 2012-04-29 Marek Polacek <polacek@redhat.com>
19731
19732 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19733 (__fortify_function): New macro.
19734 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19735 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19736 __extern_always_inline.
19737 * libio/bits/stdio2.h: Likewise.
19738 * libio/bits/stdio.h: Likewise.
19739 * string/string.h: Likewise.
19740 * string/bits/string3.h: Likewise.
19741 * include/stdio.h: Likewise.
19742 * stdlib/bits/stdlib.h: Likewise.
19743 * stdlib/stdlib.h: Likewise.
19744 * rt/bits/mqueue2.h: Likewise.
19745 * rt/mqueue.h: Likewise.
19746 * posix/bits/unistd.h: Likewise.
19747 * posix/unistd.h: Likewise.
19748 * io/bits/poll2.h: Likewise.
19749 * io/bits/fcntl2.h: Likewise.
19750 * io/fcntl.h: Likewise.
19751 * io/sys/poll.h: Likewise.
19752 * misc/bits/syslog.h: Likewise.
19753 * misc/bits/syslog-ldbl.h: Likewise.
19754 * misc/sys/syslog.h: Likewise.
19755 * socket/bits/socket2.h: Likewise.
19756 * socket/sys/socket.h: Likewise.
19757 * debug/tst-chk1.c: Likewise.
19758 * wcsmbs/bits/wchar2.h: Likewise.
19759 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19760 * wcsmbs/wchar.h: Likewise.
19761
19762 2012-04-29 Andreas Jaeger <aj@suse.de>
19763
19764 * Makerules (tests): Remove enable-check-abi protection.
19765 (check-abi-warn): Remove.
19766 (check-abi-%): Remove check-abi-warn usage.
19767
19768 * configure.in: Remove check-abi configure option.
19769 * configure: Regenerated.
19770 * config.make.in (enable-check-abi): Remove.
19771
19772 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19773
19774 [BZ #14033]
19775 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19776 double functions to double *_finite functions.
19777
19778 [BZ #13941]
19779 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19780 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19781 LDBL_MIN_EXP.
19782 * stdio-common/Makefile (tests): Add tst-sprintf3.
19783 * stdio-common/tst-sprintf3.c: New file.
19784
19785 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19786 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19787
19788 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19789
19790 * conform/conformtest.pl: Remove duplicate typed-constant
19791 handling.
19792
19793 2012-04-28 David S. Miller <davem@davemloft.net>
19794
19795 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19796 (check-abi-%): Remove AWK script prerequisite and explicit
19797 abilist directory.
19798 (check-abi): Rewrite to just diff the symlist with the abilist.
19799 (config-tls, config-abi-config): Delete, no longer used.
19800 (update-abi-%): Remove AWK script and explicit abilist directory.
19801 (update-abi): Rewrite to simply compare and conditionally copy the
19802 symlist and the sysdep abilist file. Remove update-abi-config
19803 checks.
19804 * abilist/ld.abilist: Remove.
19805 * abilist/libBrokenLocale.abilist: Remove.
19806 * abilist/libanl.abilist: Remove.
19807 * abilist/libcrypt.abilist: Remove.
19808 * abilist/libdl.abilist: Remove.
19809 * abilist/librt.abilist: Remove.
19810 * abilist/libthread_db.abilist: Remove.
19811 * abilist/libutil.abilist: Remove.
19812 * scripts/extract-abilist.awk: Remove.
19813 * scripts/merge-abilist.awk: Remove.
19814 * sysdeps/generic/libcidn.abilist: New file.
19815 * sysdeps/generic/libnss_compat.abilist: New file.
19816 * sysdeps/generic/libnss_db.abilist: New file.
19817 * sysdeps/generic/libnss_dns.abilist: New file.
19818 * sysdeps/generic/libnss_files.abilist: New file.
19819 * sysdeps/generic/libnss_hesiod.abilist: New file.
19820 * sysdeps/generic/libnss_nis.abilist: New file.
19821 * sysdeps/generic/libnss_nisplus.abilist: New file.
19822 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19823 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19824 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19825 file.
19826 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19827 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19828 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19829 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19830 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19831 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19832 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19833 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19834 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19835 file.
19836 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19837 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19838 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19839 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19840 file.
19841 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19842 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19843 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19844 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19845 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19846 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19847 file.
19848 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19849 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19850 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19851 file.
19852 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19854 New file.
19855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19856 New file.
19857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19858 New file.
19859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19860 New file.
19861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19862 New file.
19863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19864 New file.
19865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19866 New file.
19867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19868 New file.
19869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19870 New file.
19871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19872 New file.
19873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19874 New file.
19875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19876 New file.
19877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19878 New file.
19879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19880 file.
19881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19882 New file.
19883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19884 New file.
19885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19886 file.
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19888 New file.
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19890 New file.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19892 file.
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19894 New file.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19896 New file.
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19898 New file.
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19900 New file.
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19902 New file.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19904 New file.
19905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19907 file.
19908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19909 New file.
19910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19911 file.
19912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19913 file.
19914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19915 file.
19916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19917 file.
19918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19919 file.
19920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19921 New file.
19922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19923 file.
19924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19925 file.
19926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19927 New file.
19928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19929 file.
19930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19932 file.
19933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19934 New file.
19935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19936 file.
19937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19938 file.
19939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19940 file.
19941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19942 file.
19943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19944 file.
19945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19946 New file.
19947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19948 file.
19949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19950 file.
19951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19952 New file.
19953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19954 file.
19955 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19956 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19957 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19958 file.
19959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19960 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19961 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19962 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19963 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19964 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19965 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19966 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19967 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19968 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19971 file.
19972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19973 New file.
19974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19975 file.
19976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19977 file.
19978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19979 file.
19980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19981 file.
19982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19983 file.
19984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19985 New file.
19986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19987 New file.
19988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19989 file.
19990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19991 New file.
19992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19993 file.
19994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19996 file.
19997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19998 New file.
19999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20000 file.
20001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20002 file.
20003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20004 file.
20005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20006 file.
20007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20008 file.
20009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20010 New file.
20011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20012 New file.
20013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20014 file.
20015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20016 New file.
20017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20018 file.
20019
20020 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20021
20022 * conform/conformtest.pl: Fix typo in handling typed-constant from
20023 allow-header.
20024
20025 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20026
20027 * README: Cut down references to pre-2.6 Linux kernels and
20028 Linuxthreads. Update lists of configurations in libc and ports
20029 and sort alphabetically. Say "or newer" with Linux kernel version
20030 requirements.
20031
20032 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20033
20034 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20035
20036 [BZ #887]
20037 * math/libm-test.inc (logb_test_downward): New test to expose
20038 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20039 rounding mode.
20040
20041 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20042
20043 [BZ #14027]
20044 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20045 to be done.
20046 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20047 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20048
20049 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20050
20051 * sysdeps/unix/i386/brk.S: Remove file.
20052 * sysdeps/unix/i386/dl-brk.S: Likewise.
20053 * sysdeps/unix/i386/pipe.S: Likewise.
20054 * sysdeps/unix/i386/sigreturn.S: Likewise.
20055 * sysdeps/unix/i386/syscall.S: Likewise.
20056 * sysdeps/unix/i386/vfork.S: Likewise.
20057 * sysdeps/unix/i386/wait.S: Likewise.
20058
20059 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20060 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20061
20062 * configure.in (arm*-none*): Do not allow without
20063 --enable-hacker-mode.
20064 (netbsd*): Remove case setting base_os.
20065 (386bsd*): Likewise.
20066 (freebsd*): Likewise.
20067 (bsdi*): Likewise.
20068 (osf*): Likewise.
20069 (sunos*): Likewise.
20070 (ultrix*): Likewise.
20071 (newsos*): Likewise.
20072 (dynix*): Likewise.
20073 (*bsd*): Likewise.
20074 (sysv*): Likewise.
20075 (isc*): Likewise.
20076 (esix*): Likewise.
20077 (sco*): Likewise.
20078 (minix*): Likewise.
20079 (irix4*): Likewise.
20080 (irix6*): Likewise.
20081 (solaris[2-9]*): Likewise.
20082 (none): Likewise.
20083 * configure: Regenerated.
20084
20085 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20086
20087 [BZ #11521]
20088 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20089 overflow or cancellation in calculating denominator.
20090 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20091 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20092 down expression to avoid unexpected rounding in newer GCCs.
20093 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20094
20095 2012-04-26 David S. Miller <davem@davemloft.net>
20096
20097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20098 long-double compat symbols.
20099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20112
20113 2012-04-25 David S. Miller <davem@davemloft.net>
20114
20115 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20116 HWCAP_* values only after the memory barriers have been defined.
20117 (atomic_full_barrier): Define.
20118 (atomic_read_barrier): Define.
20119 (atomic_write_barrier): Define.
20120
20121 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20122
20123 * shlib-versions: Add libgcc_s version information.
20124 * sysdeps/generic/libgcc_s.h: Remove.
20125 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20126 libgcc_s.h.
20127 * sysdeps/gnu/unwind-resume.c: Likewise.
20128 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20129
20130 2012-04-25 David S. Miller <davem@davemloft.net>
20131
20132 * sysdeps/unix/sparc/brk.S: Delete.
20133 * sysdeps/unix/sparc/dl-brk.S: Delete.
20134 * sysdeps/unix/sparc/pipe.S: Delete.
20135 * sysdeps/unix/sparc/sysdep.S: Delete.
20136 * sysdeps/unix/sparc/sysdep.h: Delete.
20137 * sysdeps/unix/sparc/vfork.S: Delete.
20138 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20139 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20140 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20141 ret_ERRVAL, r0, r1, MOVE): Define.
20142 (JUMPTARGET): Remove.
20143 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20144 sysdeps/unix/sparc/sysdep.h
20145 (ENTRY, END): Remove.
20146 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20147
20148 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20149
20150 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20151 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20152 -DIS_IN_build.
20153
20154 * timezone/README: Update upstream location and email address for
20155 tzcode and tzdata.
20156 * timezone/zdump.c: Update from tzcode 2012b.
20157 * timezone/zic.c: Likewise.
20158
20159 * configure.in (libc_cv_as_needed): Remove test.
20160 * configure: Regenerated.
20161 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20162 conditional definition.
20163 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20164 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20165 * config.make.in (have-as-needed): Remove variable.
20166
20167 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20168 Paul Pluzhnikov <ppluzhnikov@google.com>
20169
20170 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20171 strings correctly.
20172
20173 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20174
20175 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20176 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20177 * sysdeps/sh/strlen.S: Likewise.
20178
20179 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20180
20181 * sysdeps/unix/fork.S: Remove file.
20182 * sysdeps/unix/i386/fork.S: Likewise.
20183 * sysdeps/unix/sparc/fork.S: Likewise.
20184
20185 * sysdeps/unix/system.c: Remove file.
20186 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20187
20188 * sysdeps/unix/getegid.S: Remove file.
20189 * sysdeps/unix/geteuid.S: Likewise.
20190
20191 2012-04-24 Roland McGrath <roland@hack.frob.com>
20192
20193 * scripts/check-localplt.awk: New file.
20194 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20195 of diff.
20196 * scripts/data/localplt-generic.data: Add a comment.
20197
20198 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20199 NODE when __dir_mkfile failed.
20200 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20201 Reported by Ludovic Courtès <ludo@gnu.org>.
20202
20203 2012-04-24 Andreas Jaeger <aj@suse.de>
20204
20205 * Makerules (common-clean): Also remove gen-as-const-headers
20206 files.
20207
20208 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20209
20210 * Makerules (native-compile): Do not change working directory for
20211 build. Use $(OUTPUT_OPTION) in command.
20212 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20213
20214 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20215
20216 [BZ #13886]
20217 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20218 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20219 * math/libm-test.inc (floor_test): Add more tests.
20220 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20221
20222 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20223
20224 * sysdeps/unix/getdents.c: Remove file.
20225 * sysdeps/unix/sysv/getdents.c: Likewise.
20226 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20227
20228 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20229 sysdeps/unix/mman/syscalls.list.
20230 (mmap): Likewise.
20231 (mprotect): Likewise.
20232 (msync): Likewise.
20233 (munmap): Likewise.
20234 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20235 * sysdeps/unix/mman/syscalls.list: Remove.
20236 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20237
20238 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20239 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20240 * configure: Regenerated.
20241 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20242 $(libgcc_s_suffix).
20243 * config.make.in (libgcc_s_suffix): Remove variable.
20244
20245 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20246
20247 * sysdeps/unix/sysv/gethostname.c: Move to ...
20248 * sysdeps/posix/gethostname.c: ... here.
20249
20250 * sysdeps/unix/execve.S: Remove file.
20251
20252 * sysdeps/unix/_exit.S: Remove file.
20253
20254 2012-04-23 Andreas Jaeger <aj@suse.de>
20255
20256 [BZ #13739]
20257 * manual/Makefile: Remove make dist support, there's no
20258 need for a stand-alone documentation tar ball.
20259 (TEXI2DVI): Define always, it's not in Makeconfig.
20260 (dist): Removed.
20261 (tar-it): Removed.
20262 (edition): Removed.
20263 (glibc-doc-$(edition).tar): Removed
20264 (%.Z): Removed.
20265 (%.gz): Removed.
20266 (%.uu): Removed.
20267 (ETAGS): Remove, it's in Makeconfig.
20268 (move-if-change): Remove, it's in Makeconfig.
20269
20270 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20271
20272 [BZ #13970]
20273 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20274 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20275 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20276 (strtod_l, strtof_l, strtold_l): Remove __wur.
20277 It is not necessarily an error to ignore strtol's return value.
20278 One can reliably look at the stored endptr to decide whether
20279 the number had valid syntax.
20280
20281 2012-04-21 Andreas Jaeger <aj@suse.de>
20282
20283 [BZ #13739]
20284 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20285
20286 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20287
20288 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20289 * sysdeps/unix/sysv/Versions: Remove file.
20290
20291 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20292
20293 [BZ #13927]
20294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20295
20296 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20297
20298 [BZ #7064]
20299 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20300 version from __vm86.
20301
20302 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20303
20304 * sysdeps/unix/common/lxstat.c: Remove file.
20305 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20306
20307 * sysdeps/unix/sysv/Makefile: Remove file.
20308
20309 * sysdeps/unix/sysv/direct.h: Remove file.
20310
20311 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20312 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20313 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20314 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20315 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20316 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20317 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20318
20319 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20320
20321 * sysdeps/unix/xmknod.c: Remove file.
20322 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20323
20324 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20325
20326 * sysdeps/unix/sysv/i386/time.S: Remove file.
20327
20328 * sysdeps/unix/fxstat.c: Remove file.
20329 * sysdeps/unix/xstat.c: Likewise.
20330 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20331
20332 * sysdeps/unix/sysv/sigaction.c: Remove file.
20333
20334 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20335 (sysdep_headers): Remove variable.
20336 [termio.h not in sysdep_headers] (generated): Likewise.
20337 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20338 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20339 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20340 * sysdeps/unix/sysv/tcflow.c: Likewise.
20341 * sysdeps/unix/sysv/tcflush.c: Likewise.
20342 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20343 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20344 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20345 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20346 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20347
20348 * sysdeps/unix/siglist.c: Remove file.
20349
20350 * sysdeps/unix/getppid.S: Remove file.
20351
20352 * sysdeps/unix/mkdir.c: Remove file.
20353 * sysdeps/unix/rmdir.c: Likewise.
20354
20355 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20356
20357 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20358 ERR_MAX value.
20359 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20360 errlist-compat value.
20361
20362 2012-04-18 David S. Miller <davem@davemloft.net>
20363
20364 * sysdeps/generic/memcopy.h (reg_char): Delete.
20365 * debug/strcat_chk.c: Use char, not reg_char.
20366 * debug/strcpy_chk.c: Likewise.
20367 * debug/strncat_chk.c: Likewise.
20368 * debug/strncpy_chk.c: Likewise.
20369 * string/memchr.c: Likewise.
20370 * string/memrchr.c: Likewise.
20371 * string/rawmemchr.c: Likewise.
20372 * string/strcat.c: Likewise.
20373 * string/strchr.c: Likewise.
20374 * string/strchrnul.c: Likewise.
20375 * string/strcmp.c: Likewise.
20376 * string/strcpy.c: Likewise.
20377 * string/strncat.c: Likewise.
20378 * string/strncmp.c: Likewise.
20379 * string/strncpy.c: Likewise.
20380
20381 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20382
20383 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20384 __builtin_memcopy is called when src and dest ranges are known to not
20385 overlap.
20386
20387 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20388
20389 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20390 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20391 fwd_align_merge macro call.
20392 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20393 bwd_align_merge macro call.
20394 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20395
20396 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20397
20398 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20399 bwd_align_merge macros.
20400 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20401 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20402 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20403
20404 2012-04-18 David S. Miller <davem@davemloft.net>
20405
20406 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20407
20408 2012-04-18 Andreas Jaeger <aj@suse.de>
20409
20410 [BZ# 6794]
20411 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20412 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20413 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20414
20415 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20416 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20417 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20418
20419 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20420 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20421 Adjust for changed ldbl-128 files.
20422
20423 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20424 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20425 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20426
20427 2012-04-17 David S. Miller <davem@davemloft.net>
20428
20429 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20430
20431 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20432
20433 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20434 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20435 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20436 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20437 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20438 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20439
20440 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20441
20442 [BZ #6794]
20443 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20444 * math/libm-test.inc: Add ilogb errno and exception tests.
20445 * math/w_ilogb.c: New file: ilogb wrapper.
20446 * math/w_ilogbf.c: New file: ilogbf wrapper.
20447 * math/w_ilogbl.c: New file: ilogbl wrapper.
20448 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20449 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20450 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20451 exception being thrown with 0.0 as argument.
20452 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20453 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20454 exception being thrown with 0.0 as argument.
20455 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20456 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20457 exception being thrown with 0.0 as argument.
20458 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20459 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20460 exception being thrown with 0.0 as argument.
20461 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20462 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20463 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20464 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20465 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20466 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20467 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20468 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20469 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20470
20471 2012-04-17 Petr Baudis <pasky@ucw.cz>
20472
20473 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20474 with altivec.
20475
20476 2012-04-16 Marek Polacek <polacek@redhat.com>
20477
20478 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20479
20480 2012-04-16 Marek Polacek <polacek@redhat.com>
20481
20482 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20483 operands of fdivp instruction.
20484
20485 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20486
20487 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20488 * elf/tst-auditmod3b.c: Likewise.
20489 * elf/tst-auditmod4b.c: Likewise.
20490 * elf/tst-auditmod5b.c: Likewise.
20491 * elf/tst-auditmod6b.c: Likewise.
20492 * elf/tst-auditmod6c.c: Likewise.
20493 * elf/tst-auditmod7b.c: Likewise.
20494 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20495 * sysdeps/x86_64/preconfigure.in: Likewise.
20496 * sysdeps/x86_64/preconfigure: Regenerated.
20497
20498 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20499
20500 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20501 __ILP32__.
20502
20503 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20504
20505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20506 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20507
20508 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20509
20510 [BZ #13973]
20511 * locale/iso-639.def: Fix gl language name. Spotted by
20512 Yaron Shahrabani.
20513
20514 2012-04-12 Roland McGrath <roland@hack.frob.com>
20515
20516 [BZ #2074]
20517 * libio/libio.h (__io_write_fn): Update comment.
20518
20519 2012-04-12 Petr Baudis <pasky@ucw.cz>
20520
20521 [BZ #2074]
20522 * stdio.texi (Hook Functions): The user provided writer function
20523 is not allowed to return -1.
20524
20525 2012-04-11 David S. Miller <davem@davemloft.net>
20526
20527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20528
20529 2012-04-11 Mike Frysinger <vapier@gentoo.org>
20530
20531 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20532 Add a leading slash to rtkaio.
20533
20534 2012-04-11 Jim Meyering <meyering@redhat.com>
20535
20536 [BZ #11959]
20537 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20538 It is not necessarily an error to ignore fwrite's return
20539 value. One can reliably use ferror to test for errors after
20540 the fact.
20541
20542 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20543
20544 * bits/types.h (__snseconds_t): New type.
20545 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20546
20547 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20548 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20549 (__SNSECONDS_T_TYPE): Likewise.
20550 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20551 (__SNSECONDS_T_TYPE): Likewise.
20552 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20553 (__SNSECONDS_T_TYPE): Likewise.
20554
20555 2012-04-10 Andreas Jaeger <aj@suse.de>
20556
20557 [BZ #2636]
20558 * manual/time.texi (Processor Time): Return type of times is
20559 elapsed real time since an arbitrary point in the past.
20560 (CPU Time): Move CLK_TCK from here...
20561 (Processor Time): ...to here. Correct description.
20562 * manual/conf.texi (Constants for Sysconf): Correct description of
20563 _SC_CLK_TCK.
20564
20565 2012-04-10 David S. Miller <davem@davemloft.net>
20566
20567 [BZ #13967]
20568 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20569 where the is a gap between DT_REL(A) and DT_JMPREL.
20570
20571 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20572
20573 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20574 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20575 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20576
20577 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20578
20579 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20580 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20581 (dl_main): Handle --inhibit-cache.
20582 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20583 _dl_inhibit_cache.
20584 * elf/dl-load.c (_dl_map_object): Use it.
20585 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20586
20587 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20588
20589 [BZ #13872]
20590 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20591 (__ieee754_powl): Saturate large exponents rather than testing for
20592 overflow of y*log2(x).
20593 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20594 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20595 exceptions.
20596
20597 [BZ #11521]
20598 * math/s_ctan.c: Include <float.h>.
20599 (__ctan): Avoid internal overflow or cancellation in calculating
20600 denominator.
20601 * math/s_ctanf.c: Likewise.
20602 * math/s_ctanl.c: Likewise.
20603 * math/s_ctanh.c: Likewise.
20604 * math/s_ctanhf.c: Likewise.
20605 * math/s_ctanhl.c: Likewise.
20606 * math/libm-test.inc (ctan_test): Add more tests.
20607 (ctanh_test): Likewise.
20608 * sysdeps/i386/fpu/libm-test-ulps: Update.
20609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20610
20611 2012-04-09 Andreas Jaeger <aj@suse.de>
20612
20613 [BZ #6894]
20614 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20615 is an optional BSD extension.
20616
20617 [BZ #10254]
20618 * manual/stdio.texi (Opening Streams): Document additional fopen
20619 parameters.
20620
20621 2012-04-09 Roland McGrath <roland@hack.frob.com>
20622
20623 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20624 %eax without telling the compiler.
20625
20626 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20627
20628 [BZ # 13963]
20629 * manual/install.texi: Use sourceware.org.
20630
20631 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20632
20633 [BZ #13873]
20634 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20635 (__ieee754_pow): Generate overflow and underflow using huge*huge
20636 and tiny*tiny rather than just returning constant infinity or zero
20637 for large exponents.
20638 * math/libm-test.inc (pow_test): Require overflow exceptions for
20639 applicable cases of large exponents.
20640
20641 [BZ #706]
20642 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20643 (__ieee754_pow): Use iterative multiplication algorithm only for
20644 integer exponents with absolute value below 1024. Check for odd
20645 integer exponents when using algorithm for real exponents.
20646 * math/libm-test.inc (pow_test): Add more tests.
20647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20648
20649 2012-04-08 Joseph Myers <joseph@codesourcery.com>
20650
20651 [BZ #13705]
20652 * math/libm-test.inc (exp_test): Do not allow overflow exception
20653 on underflow test.
20654
20655 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20656
20657 [BZ #13705]
20658 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20659 instead of __kernel_standard_f.
20660
20661 2012-04-08 Mike Frysinger <vapier@gentoo.org>
20662
20663 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20664 * sysdeps/x86_64/memset_chk.S: Likewise.
20665
20666 2012-04-08 Andreas Jaeger <aj@suse.de>
20667
20668 [BZ #10153]
20669 * manual/startup.texi (Environment Access): Describe return value
20670 for putenv and setenv.
20671
20672 [BZ #6895]
20673 * manual/filesys.texi (Directory Entries): Add description for
20674 DT_LNK.
20675
20676 [BZ #6890]
20677 * manual/filesys.texi (Directory Entries): Clarify that it's file
20678 system not operating system in the description of DT_UNKNOWN.
20679
20680 [BZ #6578]
20681 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20682
20683 2012-04-08 Stephen Compall <s11@member.fsf.org>
20684
20685 [BZ #6649]
20686 * manual/llio.texi (Opening and Closing Files): Add cross
20687 reference to explain mode argument.
20688
20689 2012-04-07 Mike Frysinger <vapier@gentoo.org>
20690
20691 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20692 * sysdeps/x86_64/memset_chk.S: Likewise.
20693
20694 2012-04-07 David S. Miller <davem@davemloft.net>
20695
20696 * elf/elf.h (R_SPARC_WDISP10): Define.
20697 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20698 R_SPARC_SIZE32.
20699 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20700 R_SPARC_SIZE64 and R_SPARC_H34.
20701
20702 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20703
20704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20705 conditions and remove no longer applicable assertion.
20706
20707 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20708
20709 * bits/byteswap.h: Include <features.h>.
20710 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20711 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20712
20713 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20714
20715 * bits/byteswap.h (__bswap_16): Removed.
20716 Include <bits/byteswap-16.h> to get __bswap_16.
20717 * sysdeps/i386/bits/byteswap.h: Likewise.
20718 * sysdeps/s390/bits/byteswap.h: Likewise.
20719 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20720 * bits/byteswap-16.h: New file.
20721 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20722 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20723 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20724 * string/Makefile (headers): Add bits/byteswap-16.h.
20725
20726 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20727
20728 [BZ #13895]
20729 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20730 extra indirection.
20731 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20732 * nss/tst-nss-static.c: New.
20733
20734 2012-04-06 Robert Millan <rmh@gnu.org>
20735
20736 [BZ #6486]
20737 * manual/llio.texi (File Position Primitive): lseek
20738 refers to WHENCE when it really means OFFSET.
20739
20740 2012-04-06 Andreas Jaeger <aj@suse.de>
20741
20742 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20743 strncmp declarations.
20744
20745 * abilist/libc.abilist: Add __poll and __ppoll.
20746
20747 2012-04-05 David S. Miller <davem@davemloft.net>
20748
20749 * scripts/check-local-headers.sh: Accept a host triplet in the
20750 path matched by the exclude regexp.
20751
20752 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20753 definition.
20754 * sysdeps/powerpc/powerpc32/dl-machine.h
20755 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20756 * sysdeps/s390/s390-32/dl-machine.h
20757 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20758 * sysdeps/sparc/sparc32/dl-machine.h
20759 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20760 * sysdeps/sparc/sparc64/dl-machine.h
20761 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20762
20763 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20764 lazy binding.
20765 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20766 undefined symbol errors.
20767
20768 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20769 DT_NEEDED entries.
20770
20771 2012-04-05 Michael Matz <matz@suse.de>
20772
20773 [BZ #13592]
20774 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20775
20776 2012-04-05 Andreas Jaeger <aj@suse.de>
20777
20778 [BZ #13908]
20779 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20780 comment.
20781
20782 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20783
20784 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20785 which ROUND is no valid rounding mode.
20786
20787 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20788
20789 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20790 read again.
20791 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20792
20793 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20794
20795 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20796 an exception using FPU order intentionally.
20797
20798 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20799
20800 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20801 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20802 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20803 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20804
20805 2012-04-05 Simon Josefsson <simon@josefsson.org>
20806
20807 [BZ #12340]
20808 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20809 EINVAL when BUFLEN is too smal.
20810
20811 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20812
20813 [BZ #13553]
20814 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20815 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20816
20817 2012-04-03 Andreas Jaeger <aj@suse.de>
20818
20819 [BZ #13938]
20820 * manual/setjmp.texi (System V contexts): Fix sentence.
20821
20822 [BZ #13926]
20823 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20824 New macro for this case.
20825 [!__GNUC__] (__bswap_64): New inline function for this case.
20826 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20827 * bits/byteswap.h: Likewise.
20828 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20829 ull, guard with __GLIBC_HAVE_LONG_LONG.
20830
20831 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20832 __GLIBC_HAVE_LONG_LONG.
20833
20834 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20835 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20836
20837 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20838
20839 [BZ #13691]
20840 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20841 inptr and inend, rather than using last_ch.
20842
20843 2012-04-02 David S. Miller <davem@davemloft.net>
20844
20845 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20846 * stdio-common/printf-parse.h (read_int): Change return type to
20847 'int', return -1 on INT_MAX overflow.
20848 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20849 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20850 overflows INT_MAX. Check for overflow of in-format-string precision
20851 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20852 SIZE_MAX not INT_MAX for integer overflow test.
20853 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20854 skip the construct in the format string but do not record anything.
20855 * stdio-common/bug22.c: Adjust to test both width/prevision
20856 INT_MAX overflow as well as total length INT_MAX overflow. Check
20857 explicitly for proper errno values.
20858
20859 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20860
20861 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20862 CHAR_MAX.
20863 * string/test-strcmp.c [! WIDE]: Likewise.
20864 * time/tst-mktime2.c: Likewise for INT_MAX.
20865 * string/test-string.h: #include <sys/param.h> for MIN.
20866
20867 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20868 * sysdeps/i386/init-first.c (init): Likewise.
20869 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20870 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20871 * sysdeps/sh/init-first.c (init): Likewise.
20872
20873 2012-04-01 Ulrich Drepper <drepper@gmail.com>
20874
20875 * po/ru.po: Update from translation team.
20876 * po/vi.po: Likewise.
20877
20878 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20879
20880 * resolv/nss_dns/dns-host.c: Merge copyright years.
20881
20882 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20883
20884 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20885 Optimize memcpy with prefetch if
20886 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20887 src, dst pointers have unequal 16 byte alignments.
20888
20889 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20890
20891 [BZ #13928]
20892 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20893 from a CNAME entry and return the minimum ttl for the query.
20894 (gaih_getanswer_slice): Likewise.
20895
20896 2012-03-30 Jeff Law <law@redhat.com>
20897
20898 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20899 due to long keys.
20900 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20901 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20902
20903 * resolv/nss_dns/dns-host.c: Update copyright year.
20904
20905 2012-03-30 Ulrich Drepper <drepper@gmail.com>
20906
20907 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20908 requests to save a system call. Fix check that all bytes are sent.
20909
20910 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20911 comments for sendmmsg.
20912
20913 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20914
20915 [BZ #13691]
20916 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20917 with only 1 character between 0x0041 and 0x01b0.
20918 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20919 * wcsmbs/tst-mbsnrtowcs.c: New file.
20920
20921 2012-03-29 David S. Miller <davem@davemloft.net>
20922
20923 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20924 small copies by hand.
20925
20926 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20927
20928 [BZ #13761]
20929 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20930 _nss_compat_initgroups_dyn): Fall back to malloc/free
20931 for large group memberships.
20932
20933 2012-03-28 David S. Miller <davem@davemloft.net>
20934
20935 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20936 that branches into memcpy.
20937 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20938 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20939 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20940 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20942 bits.
20943 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20944 implementation too.
20945 * sysdeps/sparc/mempcpy.S: New file.
20946
20947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20948 the IFUNC routine in the libc case.
20949 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20950
20951 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20952 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20953 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20954 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20955 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20956 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20957 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20958 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20959
20960 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20961 loop to 256 bytes instead of 64 bytes and fix test signedness.
20962
20963 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20964 * sysdeps/sparc/sparc32/Makefile: rather than here...
20965 * sysdeps/sparc/sparc64/Makefile: and here.
20966
20967 2012-03-28 Ulrich Drepper <drepper@gmail.com>
20968
20969 * malloc/mallocbug.c: Avoid warnings about unused variables.
20970
20971 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20972
20973 [BZ #13760]
20974 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20975 in the right place. Discard and retry query if response is
20976 larger than input buffer size.
20977
20978 2012-03-28 Joseph Myers <joseph@codesourcery.com>
20979
20980 [BZ #369]
20981 [BZ #2678]
20982 [BZ #3866]
20983 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20984 x for large integer exponent.
20985 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20986 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20987 sign of result as needed afterwards.
20988 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20989 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20990 result for underflowing pow the same as for overflow.
20991 (__kernel_standard_l): Handle powl overflow and underflow here
20992 rather than calling __kernel_standard.
20993 * math/libm-test.inc (pow_test): Add more tests.
20994
20995 [BZ #3868]
20996 [BZ #13879]
20997 [BZ #13910]
20998 [BZ #13911]
20999 [BZ #13912]
21000 [BZ #13913]
21001 [BZ #13915]
21002 [BZ #13916]
21003 [BZ #13917]
21004 [BZ #13918]
21005 [BZ #13919]
21006 [BZ #13920]
21007 [BZ #13921]
21008 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21009 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21010 (__kernel_standard_l): New function.
21011 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21012 __kernel_standard.
21013 * math/w_acosl.c (__acosl): Likewise.
21014 * math/w_asinl.c (__asinl): Likewise.
21015 * math/w_atan2l.c (__atan2l): Likewise.
21016 * math/w_atanhl.c (__atanhl): Likewise.
21017 * math/w_coshl.c (__coshl): Likewise.
21018 * math/w_exp10l.c (__exp10l): Likewise.
21019 * math/w_exp2l.c (__exp2l): Likewise.
21020 * math/w_fmodl.c (__fmodl): Likewise.
21021 * math/w_hypotl.c (__hypotl): Likewise.
21022 * math/w_j0l.c (__j0l, __y0l): Likewise.
21023 * math/w_j1l.c (__j1l, __y1l): Likewise.
21024 * math/w_jnl.c (__jnl, __ynl): Likewise.
21025 * math/w_lgammal.c (__lgammal): Likewise.
21026 * math/w_log10l.c (__log10l): Likewise.
21027 * math/w_log2l.c (__log2l): Likewise.
21028 * math/w_logl.c (__logl): Likewise.
21029 * math/w_powl.c (__powl): Likewise.
21030 * math/w_remainderl.c (__remainderl): Likewise.
21031 * math/w_scalbl.c (sysv_scalbl): Likewise.
21032 * math/w_sinhl.c (__sinhl): Likewise.
21033 * math/w_sqrtl.c (__sqrtl): Likewise.
21034 * math/w_tgammal.c (__tgammal): Likewise.
21035 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21036 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21037 * math/libm-test.inc (acos_test): Add more tests.
21038 (acosh_test): Likewise.
21039 (asin_test): Likewise.
21040 (atanh_test): Likewise.
21041 (exp_test): Likewise.
21042 (exp10_test): Likewise.
21043 (exp2_test): Likewise.
21044 (expm1_test): Likewise.
21045 (lgamma_test): Likewise.
21046 (log_test): Likewise.
21047 (log10_test): Likewise.
21048 (log1p_test): Likewise.
21049 (log2_test): Likewise.
21050 (pow_test): Do not allow some spurious overflow exceptions.
21051 (sqrt_test): Add more tests.
21052 (tgamma_test): Likewise.
21053 (y0_test): Likewise.
21054 (y1_test): Likewise.
21055 (yn_test): Likewise.
21056
21057 2012-03-27 Anton Blanchard <anton@samba.org>
21058
21059 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21060 MAP_HUGETLB.
21061 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21062 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21063 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21064
21065 2012-03-27 David S. Miller <davem@davemloft.net>
21066
21067 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21068
21069 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21070 have-as-vis3 check.
21071
21072 2012-03-27 Andreas Jaeger <aj@suse.de>
21073
21074 * sysdeps/x86_64/elf/configure.in: Moved to ...
21075 * sysdeps/x86_64/configure.in: ... here.
21076 * sysdeps/x86_64/elf/start.S: Moved to ...
21077 * sysdeps/x86_64/start.S: ... here.
21078 * sysdeps/x86_64/elf/configure: Delete.
21079
21080 * sysdeps/x86_64/configure.in: Merge contents from
21081 sysdeps/i386/configure.in (without i686 check).
21082
21083 * sysdeps/i386/elf/Versions: Merge into ...
21084 * sysdeps/i386/Versions: ... this.
21085 * sysdeps/i386/elf/Versions: Delete file.
21086 * sysdeps/i386/elf/start.S: Moved to ...
21087 * sysdeps/i386/start.S: ...here.
21088 * sysdeps/i386/elf/configure.in: Merge into...
21089 * sysdeps/i386/configure.in: ...here.
21090 * sysdeps/i386/elf/configure.in: Delete file.
21091 * sysdeps/i386/elf/configure: Delete file.
21092
21093 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21094 * debug/backtracesyms.c: ... here.
21095 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21096 * debug/backtracesymsfd.c: ... here.
21097 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21098 * sysdeps/generic/ifunc-sel.h: ... here.
21099
21100 * sysdeps/unix/i386/start.c: Delete file.
21101 * sysdeps/unix/sparc/start.c: Delete file.
21102 * sysdeps/unix/start.c: Delete file.
21103
21104 * sysdeps/sh/elf/configure.in: Moved to ...
21105 * sysdeps/sh/configure.in: ... here.
21106 * sysdeps/sh/elf/start.S: Moved to ...
21107 * sysdeps/sh/start.S: ... here.
21108 * sysdeps/sh/elf/configure: Delete file.
21109
21110 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21111 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21112 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21113 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21114 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21115 * sysdeps/powerpc/powerpc64/start.S: here.
21116 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21117 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21118 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21119 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21120 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21121
21122 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21123 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21124 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21125 * sysdeps/powerpc/powerpc32/start.S: ... here.
21126 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21127 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21128 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21129
21130 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21131 * sysdeps/powerpc/ifunc-sel.h: ... here.
21132 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21133 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21134
21135 * sysdeps/sparc/elf/configure.in: Moved to ...
21136 * sysdeps/sparc/configure.in: ... here.
21137 * sysdeps/sparc/elf/configure: Delete file.
21138 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21139 * sysdeps/sparc/sparc32/start.S: ... here.
21140 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21141 * sysdeps/sparc/sparc64/start.S: ... here.
21142 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21143 * sysdeps/sparc/sparc32/Makefile: ... this.
21144 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21145 * sysdeps/sparc/sparc64/Makefile: ... this.
21146
21147 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21148 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21149 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21150 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21151 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21152 * sysdeps/s390/s390-32/setjmp.S: ... here.
21153 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21154 * sysdeps/s390/s390-32/configure.in: ... here.
21155 * sysdeps/s390/s390-32/elf/configure: Delete file.
21156 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21157 * sysdeps/s390/s390-32/start.S: ... here.
21158
21159 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21160 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21161 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21162 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21163 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21164 * sysdeps/s390/s390-64/setjmp.S: ... here.
21165 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21166 * sysdeps/s390/s390-64/configure.in: ... here
21167 * sysdeps/s390/s390-64/elf/configure: Delete file.
21168 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21169 * sysdeps/s390/s390-64/start.S: ... here.
21170 * sysdeps/s390/s390-64/elf/configure: Delete.
21171
21172 * configure.in: Remove support for elf directories in sysdeps.
21173
21174 * configure: Regenerated.
21175 * sysdeps/i386/configure: Regenerated.
21176 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21177 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21178 * sysdeps/s390/s390-32/configure: Regenerated.
21179 * sysdeps/s390/s390-64/configure: Regenerated.
21180 * sysdeps/sh/configure: Regenerated.
21181 * sysdeps/sparc/configure: Regenerated.
21182 * sysdeps/x86_64/configure: Regenerated.
21183
21184 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21185
21186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21187
21188 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21189 denormal result into account.
21190
21191 2012-03-25 Roland McGrath <roland@hack.frob.com>
21192
21193 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21194 Reported by Allan McRae <allan@archlinux.org>.
21195
21196 2012-03-23 Jeff Law <law@redhat.com>
21197
21198 * nss/getnssent.c (__nss_getent): Fix typo.
21199
21200 2012-03-23 David S. Miller <davem@davemloft.net>
21201
21202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21203
21204 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21205
21206 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21207 to pad to uint64_t for each field.
21208 (dl_tls_index): Replace unsigned long with uint64_t.
21209
21210 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21211 Paul Pluzhnikov <ppluzhnikov@google.com>
21212
21213 [BZ #6528]
21214 * grp/Makefile (otherlibs): Don't set it.
21215 * inet/Makefile (otherlibs): Likewise.
21216 * login/Makefile (otherlibs): Likewise.
21217 * nscd/Makefile (otherlibs): Likewise.
21218 * posix/Makefile (otherlibs): Likewise.
21219 * pwd/Makefile (otherlibs): Likewise.
21220 * rt/Makefile (otherlibs): Likewise.
21221 * sunrpc/Makefile (otherlibs): Likewise.
21222 * nss/Makefile (otherlibs): Likewise.
21223 Add libnss_files to routines and static-only-routines.
21224 ($(objpfx)getent): Remove rule.
21225 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21226 static-only-routines.
21227
21228 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21229
21230 [BZ #13892]
21231 * math/s_cexp.c: Include <float.h>.
21232 (__cexp): Handle exp result overflowing not necessarily
21233 overflowing both real and imaginary parts of result.
21234 * math/s_cexpf.c: Likewise.
21235 * math/s_cexpl.c: Likewise.
21236 * math/libm-test.inc (cexp_test): Add more tests.
21237 * sysdeps/i386/fpu/libm-test-ulps: Update.
21238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21239
21240 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21241
21242 * include/link.h (ELFW): New macro.
21243 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21244 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21245
21246 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21247
21248 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21249 with uint64_t.
21250
21251 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21252
21253 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21254 declaration.
21255 (struct La_x32_retval): Likewise.
21256
21257 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21258
21259 * sysdeps/x86_64/preconfigure.in: New file.
21260 * sysdeps/x86_64/preconfigure: New generated file.
21261
21262 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21263
21264 [BZ #13824]
21265 * math/e_exp2l.c: Include <float.h>.
21266 (__ieee754_exp2l): Handle overflow and underflow cases
21267 separately. Only pass fractional part of argument to
21268 __ieee754_expl.
21269 * math/libm-test.inc (exp2_test): Add more tests.
21270
21271 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21272 negating x to take absolute value.
21273 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21274 Likewise.
21275 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21276 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21277 Likewise.
21278 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21279 computing low part if x was negated.
21280 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21281
21282 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21283
21284 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21285 la_x32_gnu_pltexit.
21286 (pltexit): Cast int_retval to ptrdiff_t.
21287 * elf/tst-auditmod3b.c: Likewise.
21288 * elf/tst-auditmod4b.c: Likewise.
21289 * elf/tst-auditmod5b.c: Likewise.
21290 * elf/tst-auditmod6b.c: Likewise.
21291 * elf/tst-auditmod6c.c: Likewise.
21292 * elf/tst-auditmod7b.c: Likewise.
21293
21294 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21295 and x32_gnu_pltexit.
21296
21297 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21298 __ELF_NATIVE_CLASS.
21299 (La_x32_regs): New macro.
21300 (La_x32_retval): Likewise.
21301 (la_x32_gnu_pltenter): New function prototype.
21302 (la_x32_gnu_pltexit): Likewise.
21303
21304 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21305
21306 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21307 exponent.
21308
21309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21310
21311 * configure.in (libc_cv_cc_nofma): Check for option to disable
21312 generation of FMA instructions.
21313 * configure: Regenerate.
21314 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21315 * sysdeps/ieee754/dbl-64/Makefile: New file.
21316 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21317 Remove brandred-fma4.
21318 (CFLAGS-brandred-fma4.c): Remove.
21319 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21320 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21321 define.
21322 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21323 define.
21324
21325 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21326
21327 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21328 LLONG_MAX != LONG_MAX.
21329 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21330 (_fitoa_word): Likewise.
21331 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21332 LLONG_MAX != LONG_MAX.
21333 * stdio-common/_itowa.h: Include <_itoa.h>.
21334 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21335 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21336 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21337 only if not defined.
21338 (_ITOA_WORD_TYPE): Likewise.
21339 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21340 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21341
21342 2012-03-21 David S. Miller <davem@davemloft.net>
21343
21344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21345
21346 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21347
21348 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21349 of x86_64 when setting libc_cv_slibdir, libdir and
21350 libc_cv_localedir.
21351 * sysdeps/unix/sysv/linux/configure: Regenerated.
21352
21353 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21354
21355 * manual/lang.texi (Old Varargs): Remove section.
21356 (How Variadic): Update menu.
21357 (va_start): Do not mention varargs.h.
21358
21359 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21360 Joseph Myers <joseph@codesourcery.com>
21361
21362 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21363 link test.
21364 * configure: Regenerated.
21365
21366 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21367
21368 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21369 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21370 conformtest.pl
21371
21372 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21373
21374 * NOTES: Remove.
21375 * Makefile (files-for-dist): Remove NOTES.
21376 (NOTES): Remove rule.
21377 * README: Don't refer to NOTES.
21378 * manual/creature.texi: Don't include macros.texi.
21379 * manual/intro.texi (creature.texi): Remove comment referring to
21380 NOTES.
21381
21382 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21383 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21384 * configure: Regenerated.
21385 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21386 LIBC_TRY_CC_OPTION.
21387 (libc_cv_as_i686): Likewise.
21388 (libc_cv_cc_avx): Likewise.
21389 (libc_cv_cc_sse2avx): Likewise.
21390 (libc_cv_cc_fma4): Likewise.
21391 (libc_cv_cc_novzeroupper): Likewise.
21392 * sysdeps/i386/configure: Regenerated.
21393
21394 [BZ #13883]
21395 * sysdeps/i386/fpu/s_cexp.S: Remove.
21396 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21397 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21398 * math/libm-test.inc (cexp_test): Add more tests.
21399 * sysdeps/i386/fpu/libm-test-ulps: Update.
21400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21401
21402 2012-03-21 Allan McRae <allan@archlinux.org>
21403
21404 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21405
21406 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21407
21408 [BZ #13871]
21409 * math/w_exp2.c: Do not include <float.h>.
21410 (o_threshold, u_threshold): Remove.
21411 (__exp2): Calculate result before checking finiteness and calling
21412 __kernel_standard.
21413 * math/w_exp2f.c: Likewise.
21414 * math/w_exp2l.c: Likewise.
21415 * math/libm-test.inc (exp2_test): Require overflow exception for
21416 1e6 input.
21417
21418 [BZ #3866]
21419 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21420 range of signed 64-bit integers before using fistpll. Remove
21421 checks for whether integers fit in mantissa bits.
21422 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21423 the range of signed 32-bit integers before using fistpl. Remove
21424 checks for whether integers fit in mantissa bits.
21425 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21426 (__ieee754_powl): Test for y outside the range of signed 64-bit
21427 integers before using fistpll. Reduce 64-bit values to 63-bit
21428 ones as needed.
21429 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21430 divide-by-zero is raised for zero to large negative powers.
21431 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21432 (__ieee754_powl): Test for y outside the range of signed 64-bit
21433 integers before using fistpll. Reduce 64-bit values to 63-bit
21434 ones as needed.
21435 * math/libm-test.inc (pow_test): Add more tests.
21436
21437 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21438
21439 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21440 <stdio-common/_itoa.h>.
21441 * debug/segfault.c: Likewise.
21442 * elf/dl-cache.c: Likewise.
21443 * elf/dl-minimal.c: Likewise.
21444 * elf/dl-misc.c: Likewise.
21445 * elf/dl-sysdep.c: Likewise.
21446 * elf/dl-version.c: Likewise.
21447 * elf/rtld.c: Likewise.
21448 * hurd/hurdsock.c: Likewise.
21449 * hurd/lookup-retry.c: Likewise.
21450 * malloc/malloc.c: Likewise.
21451 * malloc/mtrace.c: Likewise.
21452 * nscd/nscd_getgr_r.c: Likewise.
21453 * nscd/nscd_getpw_r.c: Likewise.
21454 * nscd/nscd_getserv_r.c: Likewise.
21455 * posix/getopt_init.c: Likewise.
21456 * posix/wordexp.c: Likewise.
21457 * stdio-common/_itoa.c: Likewise.
21458 * stdio-common/printf_fphex.c: Likewise.
21459 * stdio-common/vfprintf.c: Likewise.
21460 * string/_strerror.c: Likewise.
21461 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21462 * sysdeps/i386/i686/hp-timing.h: Likewise.
21463 * sysdeps/mach/_strerror.c: Likewise.
21464 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21465 * sysdeps/mach/hurd/sethostid.c: Likewise.
21466 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21467 * sysdeps/mach/xpg-strerror.c: Likewise.
21468 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21469 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21470 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21471 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21472 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21473 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21474 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21475 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21476 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21477 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21478 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21479 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21480 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21481 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21482 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21483 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21484 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21485 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21486 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21487 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21488 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21489
21490 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21491
21492 * stdio-common/_itoa.h: Moved to ...
21493 * sysdeps/generic/_itoa.h: Here.
21494
21495 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21496
21497 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21498 instead of "_itoa.h" and "_itowa.h".
21499 * stdio-common/vfprintf.: Likewise.
21500
21501 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21502
21503 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21504 <bits/wordsize.h>.
21505 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21506 (__signbit): Likwise.
21507 (llrintf): Likwise.
21508 (llrint): Likwise.
21509
21510 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21511
21512 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21513 __WORDSIZE != 64.
21514
21515 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21516
21517 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21518 OVERFLOW_EXCEPTION_OK.
21519 * math/libm-test.inc ("Philosophy"): Update comment about
21520 exception testing.
21521 (OVERFLOW_EXCEPTION): Define.
21522 (OVERFLOW_EXCEPTION_OK): Likewise.
21523 (INVALID_EXCEPTION_OK): Renumber.
21524 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21525 (IGNORE_ZERO_INF_SIGN): Likewise.
21526 (test_exceptions): Handle FE_OVERFLOW.
21527 (exp10_test): Expect overflow exceptions.
21528 (exp2_test): Likewise.
21529 (expm1_test): Likewise.
21530 (nextafter_test): Likewise.
21531 (pow_test): Likewise.
21532 (scalbn_test): Likewise.
21533 (scalbln_test): Likewise.
21534
21535 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21536
21537 * sysdeps/x86_64/bits/atomic.h
21538 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21539 64bit integer.
21540 (atomic_exchange_acq): Likewise.
21541 (__arch_exchange_and_add_body): Likewise.
21542 (__arch_add_body): Likewise.
21543 (atomic_add_negative): Likewise.
21544 (atomic_add_zero): Likewise.
21545
21546 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21547
21548 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21549 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21550
21551 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21552
21553 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21554 Check __x86_64__ instead of __WORDSIZE.
21555
21556 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21557
21558 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21559
21560 2012-03-19 David S. Miller <davem@davemloft.net>
21561
21562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21563
21564 * sysdeps/sparc/fpu/fenv_private.h: New file.
21565 * sysdeps/sparc/fpu/math_private.h: Use it.
21566 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21567 Remove.
21568 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21569 (libc_feholdexcept_setroundl): Remove.
21570 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21571 Remove.
21572 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21573 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21574
21575 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21576
21577 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21578 int64_t instead of long int.
21579 (INSERT_WORDS64): Likwise.
21580
21581 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21582
21583 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21584 _Unwind_GetCFA return to _Unwind_Ptr first.
21585
21586 2012-03-19 Joseph Myers <joseph@codesourcery.com>
21587
21588 [BZ #13629]
21589 * math/s_clog.c: Include <float.h>.
21590 (__clog): Scale large or subnormal inputs.
21591 * math/s_clogf.c: Likewise.
21592 * math/s_clogl.c: Likewise.
21593 * math/s_clog10.c: Include <float.h>.
21594 (M_LOG10_2): Define.
21595 (__clog10): Scale large or subnormal inputs.
21596 * math/s_clog10f.c: Likewise.
21597 * math/s_clog10l.c: Likewise.
21598 * math/libm-test.inc (clog_test): Add more tests.
21599 (clog10_test): Likewise.
21600 * sysdeps/i386/fpu/libm-test-ulps: Update.
21601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21602
21603 [BZ #11451]
21604 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21605 x and y.
21606 * math/libm-test.inc (atan2_test): Add another test.
21607
21608 * Makerules (common-objdir-compile): Remove.
21609 * sysdeps/unix/Makefile (config-generated): Do not add
21610 $(unix-generated) to variable.
21611 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21612 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21613 Remove rule.
21614 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21615 Likewise.
21616 [generic bits/local_lim.h] (before-compile): Do not append to
21617 variable.
21618 [generic bits/local_lim.h] (common-generated): Likewise.
21619 [generic sys/param.h] (before-compile): Do not append to variable.
21620 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21621 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21622 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21623 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21624 include.
21625 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21626 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21627 [generic sys/param.h] ($(addprefix
21628 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21629 [generic sys/param.h] (common-generated): Do not append to
21630 variable.
21631 [generic sys/param.h] (sysdep_headers): Likewise.
21632 [generic bits/errno.h] (before-compile): Do not append to
21633 variable.
21634 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21635 rule.
21636 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21637 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21638 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21639 [generic bits/errno.h] (common-generated): Do not append to
21640 variable.
21641 [generic bits/ioctls.h] (before-compile): Do not append to
21642 variable.
21643 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21644 rule.
21645 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21646 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21647 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21648 rule.
21649 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21650 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21651 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21652 [generic bits/ioctls.h] (common-generated): Do not append to
21653 variable.
21654 [generic sys/syscall.h] (syscall.h): Remove variable.
21655 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21656 rule.
21657 [generic sys/syscall.h] (before-compile): Do not append to
21658 variable.
21659 [generic sys/syscall.h] (common-generated): Likewise.
21660 * sysdeps/unix/errnos-tmpl.c: Remove file.
21661 * sysdeps/unix/errnos.awk: Likewise.
21662 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21663 * sysdeps/unix/ioctls.awk: Likewise.
21664 * sysdeps/unix/mk-local_lim.c: Likewise.
21665 * sysdeps/unix/snarf-ioctls: Likewise.
21666
21667 2012-03-19 Richard Henderson <rth@twiddle.net>
21668
21669 * sysdeps/i386/fpu/fenv_private.h: New file.
21670 * sysdeps/i386/fpu/math_private.h: Use it.
21671 (math_opt_barrier, math_force_eval): Remove.
21672 (libc_feholdexcept_setround_53bit): Remove.
21673 (libc_feupdateenv_53bit): Remove.
21674 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21675 (math_opt_barrier, math_force_eval): Remove.
21676 (libc_feholdexcept): Remove.
21677 (libc_feholdexcept_setround): Remove.
21678 (libc_fetestexcept, libc_fesetenv): Remove.
21679 (libc_feupdateenv_test): Remove.
21680 (libc_feupdateenv, libc_feholdsetround): Remove.
21681 (libc_feresetround): Remove.
21682
21683 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21684 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21685
21686 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21687 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21688 (libc_feupdateenv_testl): New.
21689 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21690 (libc_feupdateenv_testf): New.
21691 (libc_feupdateenv): Use libc_feupdateenv_test.
21692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21693 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21694
21695 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21696 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21697 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21698 (libc_feresetround_noex): New.
21699 (libc_feresetround_noexf): New.
21700 (libc_feresetround_noexl): New.
21701 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21702 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21703 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21704 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21705 SET_RESTORE_ROUND.
21706 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21707 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21708 (__cos): Likewise.
21709 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21710 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21711 SET_RESTORE_ROUND_NOEX.
21712 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21713 SET_RESTORE_ROUND_NOEXF.
21714 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21715 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21716 (libc_feholdsetroundf): New.
21717 (libc_feresetround, libc_feresetroundf): New.
21718
21719 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21720 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21721 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21722
21723 * sysdeps/generic/math_private.h: Include <fenv.h>.
21724 (default_libc_feholdexcept): New.
21725 (default_libc_feholdexcept_setround): New.
21726 (default_libc_fesetenv, default_libc_feupdateenv): New.
21727 (libc_feholdexcept): Only define if undefined.
21728 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21729 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21730 (libc_feholdexcept_setroundl): Likewise.
21731 (libc_feholdexcept_setround_53bit): Likewise.
21732 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21733 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21734 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21735 (libc_feupdateenv_53bit): Likewise.
21736 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21737 (libc_feholdexcept): Convert from macro to inline function.
21738 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21739 (libc_fesetenv, libc_feupdateenv): Likewise.
21740
21741 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21742 not previously defined.
21743 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21744 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21745 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21746 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21747 * sysdeps/ieee754/flt-32/math_private.h: New file.
21748 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21749 math_private.h below SET_FLOAT_WORD.
21750 (__isnan, __isinf_ns, __finite): Remove.
21751 (__isnanf, __isinf_nsf, __finitef): Remove.
21752
21753 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21754
21755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21756
21757 2012-03-17 David S. Miller <davem@davemloft.net>
21758
21759 [BZ #6471]
21760 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21761 for 2.16.
21762
21763 2012-03-16 David S. Miller <davem@davemloft.net>
21764
21765 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21766 warnings.
21767
21768 [BZ #6471]
21769 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21770 properly.
21771 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21772 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21773 sysdep_routines when subdir is sysvipc.
21774 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21775 __getshmlba helper.
21776
21777 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21778
21779 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21780
21781 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21782 [__LP64__].
21783
21784 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21785
21786 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21787 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21788 (__lround): Renamed to ...
21789 (__llround): This. Replace long int with long long int.
21790 Define lround functions as aliases of llround functions.
21791 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21792
21793 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21794
21795 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21796 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21797 adresses to uintptr_t. Replace "long int" and "unsigned long
21798 int" with "greg_t" on va_arg.
21799
21800 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21801
21802 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21803 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21804
21805 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21806 Move e_machine check before EI_CLASS check. Handle x32
21807 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21808 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21809 SKIP_EM_IA_64 and include
21810 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21811
21812 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21813 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21814 (add_system_dir): New macro.
21815
21816 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21817 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21818
21819 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21820
21821 [BZ #2551]
21822 [BZ #2552]
21823 [BZ #2553]
21824 [BZ #2554]
21825 [BZ #2562]
21826 [BZ #2563]
21827 [BZ #2565]
21828 [BZ #2566]
21829 [BZ #2576]
21830 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21831 (y0): Likewise.
21832 * math/w_j0f.c (j0f): Likewise.
21833 (y0f): Likewise.
21834 * math/w_j0l.c (__j0l): Likewise.
21835 (__y0l): Likewise.
21836 * math/w_j1.c (j1): Likewise.
21837 (y1): Likewise.
21838 * math/w_j1f.c (j1f): Likewise.
21839 (y1f): Likewise.
21840 * math/w_j1l.c (__j1l): Likewise.
21841 (__y1l): Likewise.
21842 * math/w_jn.c (jn): Likewise.
21843 (yn): Likewise.
21844 * math/w_jnf.c (jnf): Likewise.
21845 (ynf): Likewise.
21846 * math/w_jnl.c (__jnl): Likewise.
21847 (__ynl): Likewise.
21848 * math/libm-test.inc (j0_test): Add more tests.
21849 (j1_test): Likewise.
21850 (jn_test): Likewise. Add trailing semicolon to existing test.
21851 (y0_test): Likewise.
21852 (y1_test): Likewise.
21853 * sysdeps/i386/fpu/libm-test-ulps: Update.
21854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21855
21856 [BZ #13851]
21857 [BZ #13854]
21858 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21859 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21860 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21861 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21862 (__tanl): Set errno for infinite argument.
21863 * sysdeps/i386/fpu/mptan.c: Remove.
21864 * sysdeps/i386/fpu/s_tan.S: Likewise.
21865 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21866 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21867 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21868 * math/libm-test.inc (tan_test): Add more tests and enable more
21869 tests for double and long double.
21870 * sysdeps/i386/fpu/libm-test-ulps: Update.
21871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21872
21873 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21874
21875 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21876 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21877
21878 2012-03-16 Roland McGrath <roland@hack.frob.com>
21879
21880 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21881 * configure.in: Use it for both main tree and add-ons.
21882 * configure: Regenerated.
21883
21884 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21885
21886 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21887
21888 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21889
21890 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21891 in comment.
21892
21893 [BZ #13851]
21894 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21895 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21896 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21897 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21898 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21899 infinite argument.
21900 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21901 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21902 != 0 for prec == 2.
21903 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21904 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21905 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21906 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21907 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21908 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21909 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21910 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21911 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21912 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21913 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21914 * math/libm-test.inc (cos_test): Add more tests and enable more
21915 tests for long double.
21916 (sin_test): Likewise.
21917 (sincos_test): Likewise.
21918 * sysdeps/i386/fpu/libm-test-ulps: Update.
21919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21920
21921 2012-03-16 David S. Miller <davem@davemloft.net>
21922
21923 * sysdeps/sparc/fpu/math_private.h: New file.
21924
21925 2012-03-15 David S. Miller <davem@davemloft.net>
21926
21927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21928 file.
21929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21931 file.
21932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21938 sysdep routines.
21939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21940
21941 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21942 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21943
21944 * sysdeps/sparc/sparc-ifunc.h: New file.
21945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21946 sparc-ifunc.h
21947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21949 Likewise.
21950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21951 Likewise.
21952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21956 Likewise.
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21962 Likewise.
21963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21964 Likewise.
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21969 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21971 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21972 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21983 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21984 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21985 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21986 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21989
21990 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21991
21992 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21993 scaling.
21994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21995
21996 2012-03-15 Andreas Jaeger <aj@suse.de>
21997
21998 [BZ #13852]
21999 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22000 ieee754/flt-32 implementation for sin, cos and sincos.
22001 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22002 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22003 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22004 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22005 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22006 ieee754/flt-32 implementation for tan.
22007
22008 * math/libm-test.inc (cos_test): Enable some large input tests for
22009 float as well
22010 (sin_test): Likewise.
22011 (sincos_test): Likewise.
22012 (tan_test): Add tests for large input.
22013
22014 * sysdeps/i386/fpu/libm-test-ulps: Update.
22015
22016 2012-03-15 Andreas Jaeger <aj@suse.de>
22017
22018 [BZ #13658]
22019 * math/libm-test.inc (cos_test): Add more test cases.
22020 (sin_test): Likewise.
22021 (sincos_test): Likewise.
22022
22023 2012-03-15 Andreas Jaeger <aj@suse.de>
22024
22025 [BZ #13837]
22026 * math/libm-test.inc (cos_test): Add a test case for large input
22027 value.
22028 (sin_test): Likewise.
22029 (sincos_test): Likewise.
22030
22031 2012-03-15 Andreas Jaeger <aj@suse.de>,
22032 Joseph Myers <joseph@codesourcery.com>
22033
22034 [BZ #13658]
22035 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22036 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22037 * sysdeps/i386/fpu/branred.c: Likewise.
22038 * sysdeps/i386/fpu/dosincos.c: Likewise.
22039 * sysdeps/i386/fpu/mpa.c: Likewise.
22040 * sysdeps/i386/fpu/s_cos.S: Likewise.
22041 * sysdeps/i386/fpu/s_sin.S: Likewise.
22042 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22043 * sysdeps/i386/fpu/sincos32.c: Likewise.
22044
22045 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22046 Define.
22047 (libc_feupdateenv_53bit): Define.
22048 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22049 Define.
22050 (libc_feupdateenv_53bit): Define.
22051
22052 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22053 53 bit (without extend i386 double precision).
22054
22055 * math/libm-test.inc (sincos_test): Add tests for large input.
22056 (sin): Likewise.
22057 (cos): Likewise.
22058
22059 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22060
22061 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22062
22063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22064
22065 2012-03-15 David S. Miller <davem@davemloft.net>
22066
22067 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22068 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22069 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22070 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22083 file.
22084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22086 file.
22087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22089 file.
22090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22092 file.
22093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22094 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22095 fmin/fmax sysdep routines.
22096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22097
22098 2012-03-14 David S. Miller <davem@davemloft.net>
22099
22100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22106 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22120 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22124 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22125 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22126 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22127 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22129 routines.
22130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22131 file.
22132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22134 file.
22135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22137 file.
22138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22140 file.
22141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22143 file.
22144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22146 file.
22147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22148 file.
22149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22150 file.
22151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22152 file.
22153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22154 New file.
22155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22156 file.
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22158 file.
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22161 file.
22162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22164 file.
22165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22167 file.
22168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22170 VIS3 routines.
22171
22172 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22173 New file.
22174
22175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22176
22177 * sysdeps/sparc/configure.in: New file.
22178 * sysdeps/sparc/configure: Generate.
22179 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22180 * configure: Regenerate.
22181 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22182 * config.make.in (have-as-vis3): New.
22183 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22184 available use -Av9d instead of -Av9a.
22185 * sysdeps/sparc/sparc64/Makefile: Likewise.
22186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22188 New file.
22189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22190 file.
22191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22192 New file.
22193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22194 file.
22195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22196 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22197 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22198 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22199 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22200
22201 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22202 fzeros/fnegs to load 0x80000000 into a float register instead of
22203 using the stack.
22204 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22205
22206 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22207
22208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22209 bits/syscall.h.
22210 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22211 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22212 ($(inst_includedir)/bits/syscall.h): Remove rule.
22213 ($(objpfx)bits/syscall.d): Include instead of
22214 $(objpfx)syscall-list.d.
22215 (generated): Change syscall-list.h and syscall-list.d to
22216 bits/syscall.h and bits/syscall.d.
22217
22218 2012-03-14 Roland McGrath <roland@hack.frob.com>
22219
22220 [BZ #13846]
22221 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22222
22223 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22224
22225 [BZ #13841]
22226 * math/s_csqrt.c: Include <float.h>.
22227 (__csqrt): Scale large or subnormal inputs.
22228 * math/s_csqrtf.c: Likewise.
22229 * math/s_csqrtl.c: Likewise.
22230 * math/libm-test.inc (csqrt_test): Add more tests.
22231 * sysdeps/i386/fpu/libm-test-ulps: Update.
22232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22233
22234 [BZ #13840]
22235 * math/libm-test.inc (hypot_test): Add more tests.
22236
22237 2012-03-13 David S. Miller <davem@davemloft.net>
22238
22239 [BZ #13840]
22240 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22241 double-precision for the calculation instead of scaling.
22242
22243 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22244
22245 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22246 manipulate bits before adding and subtracting TWO52[sx].
22247 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22248 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22249 Likewise.
22250 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22251
22252 2012-03-13 David S. Miller <davem@davemloft.net>
22253
22254 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22255 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22257 rtld-global-offsets.h
22258 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22259
22260 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22261 large parameters.
22262
22263 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22264
22265 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22266 'err' in the ifdef scope in which it is actually used.
22267
22268 * nss/nss_db/db-init.c: Include string.h
22269
22270 2012-03-12 David S. Miller <davem@davemloft.net>
22271
22272 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22273 masking out of the most significant byte of random value used.
22274 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22275 Fix coding style in previous change.
22276
22277 * sysdeps/unix/sysv/linux/kernel-features.h
22278 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22279 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22280 expression.
22281 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22282 later.
22283
22284 2012-03-11 David S. Miller <davem@davemloft.net>
22285
22286 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22287 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22288 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22289 for 'resultvar' otherwise things get truncated on 64-bit.
22290
22291 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22292 Fix masking out of the most significant byte of random value used.
22293
22294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22295
22296 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22297
22298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22299
22300 2012-03-09 David S. Miller <davem@davemloft.net>
22301
22302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22303 variables with appropriate CPP guards.
22304 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22305 frame pointer, not the stack pointer. Correct layout comments. Fix test
22306 on resulting framesize and the management of the outregs buffer for pltexit.
22307 Preserve floating point return values across _dl_call_pltexit call.
22308 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22309 framesize and the management of the outregs buffer for pltexit.
22310 Preserve floating point return values across _dl_call_pltexit
22311 call.
22312 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22313 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22314 (print_exit): Fix format string for return register value.
22315
22316 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22317
22318 * sunrpc/Makefile (others): Add rpcgen.
22319 ($(objpfx)rpcgen): Remove special build rule and dependency on
22320 libc.
22321 * sunrpc/rpcgen.c: New file.
22322
22323 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22324
22325 [BZ #13673]
22326 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22327 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22328 * sysdeps/i386/crti.S: Likewise.
22329 * sysdeps/i386/crtn.S: Likewise.
22330 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22331 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22332 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22333 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22334 * sysdeps/sh/crti.S: Likewise.
22335 * sysdeps/sh/crtn.S: Likewise.
22336 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22337
22338 [BZ #13673]
22339 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22340 with URL.
22341 * locale/programs/locfile-kw.gperf: Likewise.
22342 * locale/programs/charmap-kw.h: Regenerated.
22343 * locale/programs/locfile-kw.h: Likewise.
22344
22345 [BZ #13673]
22346 * intl/plural.y: Replace FSF snail mail address with URL.
22347 * intl/plural.c: Regenerated.
22348
22349 2012-03-09 Richard Henderson <rth@twiddle.net>
22350
22351 * include/math_private.h: Remove file.
22352 * math/math_private.h: Move file ...
22353 * sysdeps/generic/math_private.h: ... here.
22354
22355 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22356 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22357 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22358
22359 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22360 and <math_private.h>.
22361 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22362 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22363 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22364 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22365 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22367 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22369 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22370 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22372 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22373 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22374 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22375 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22376 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22377 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22378 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22379 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22380 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22382 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22383 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22385 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22386 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22387 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22388 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22390 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22391 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22392 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22393 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22394 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22395 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22396 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22397 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22398 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22399 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22400 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22401 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22402 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22403 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22406 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22408 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22410 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22440 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22441 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22442 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22443 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22444 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22445 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22447 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22449 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22450 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22451 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22452 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22453 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22454 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22455 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22456 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22457 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22458 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22459 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22460 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22461 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22462 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22463 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22464 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22465 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22466 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22467 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22468 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22469 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22470 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22471 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22472 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22473 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22474 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22475 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22476 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22477 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22478 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22479 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22480 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22481 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22482 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22483 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22484 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22485 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22486 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22487 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22488 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22489 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22490 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22491 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22492 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22493 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22494 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22495 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22496 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22497 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22498 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22499 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22500 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22501 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22502 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22503 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22504 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22505 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22506 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22507 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22508 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22509 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22510 * sysdeps/ieee754/k_standard.c: Likewise.
22511 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22512 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22513 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22514 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22515 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22516 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22517 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22518 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22519 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22520 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22521 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22522 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22523 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22524 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22525 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22526 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22527 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22528 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22529 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22530 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22531 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22532 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22533 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22534 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22535 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22536 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22537 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22538 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22539 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22540 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22541 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22542 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22543 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22544 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22545 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22546 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22547 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22548 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22549 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22550 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22551 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22552 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22553 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22554 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22555 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22556 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22557 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22559 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22560 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22562 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22563 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22564 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22565 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22566 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22572 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22573 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22574 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22626 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22630 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22631 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22633 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22638 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22643 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22659 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22660 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22661 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22669 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22671 * sysdeps/ieee754/s_lib_version.c: Likewise.
22672 * sysdeps/ieee754/s_matherr.c: Likewise.
22673 * sysdeps/ieee754/s_signgam.c: Likewise.
22674 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22675 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22676 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22677 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22678 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22679 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22680 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22681 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22682 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22683 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22684 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22685 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22686 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22687 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22688 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22689 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22690 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22691 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22692 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22693 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22694 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22695
22696 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22697
22698 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22699 * sunrpc/rpc_main.c: Likewise.
22700 * sunrpc/rpc_svcout.c: Likewise.
22701
22702 2012-03-09 David S. Miller <davem@davemloft.net>
22703
22704 * include/math_private.h: New file.
22705
22706 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22707
22708 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22709 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22710 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22711 from <bits/socket_type.h>.
22712 (enum __socket_type): Don't define here.
22713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22715 bits/socket_type.h.
22716
22717 [BZ #13566]
22718 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22719 checking __USE_GNU.
22720
22721 * Makerules ($(inst_includedir)/%.h): New rule.
22722 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22723 (install-others): Remove variable setting.
22724 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22725
22726 2012-03-08 Richard Henderson <rth@twiddle.net>
22727
22728 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22729 from macro to inline function; merge with the
22730 !__LIBC_INTERNAL_MATH_INLINES version.
22731 (__ieee754_sqrtf): Likewise.
22732
22733 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22734 to inline function.
22735 (__rintf, __floor, __floorf): Likewise.
22736
22737 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22738 macro to inline function.
22739 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22740
22741 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22742 not <math/math_private.h>.
22743
22744 2012-03-08 David S. Miller <davem@davemloft.net>
22745
22746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22747 copyright year.
22748 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22749
22750 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22751
22752 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22753 normalization.
22754 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22755 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22756
22757 2012-03-08 Ulrich Drepper <drepper@gmail.com>
22758
22759 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22760 be defined individually, they must be defined as a block. Define
22761 S for printing a string instead of hidint the different by using a
22762 macro for adding the 'l'.
22763 * stdio-common/tst-fphex-wide.c: Adjust.
22764
22765 2012-03-07 Marek Polacek <polacek@redhat.com>
22766
22767 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22768
22769 2012-03-08 Marek Polacek <polacek@redhat.com>
22770
22771 [BZ #13806]
22772 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22773 * stdio-common/tst-fphex.c: Define a few macros to make the
22774 test reusable. Use them.
22775 * stdio-common/tst-fphex-wide.c: New file.
22776
22777 2012-03-08 Joseph Myers <joseph@codesourcery.com>
22778
22779 [BZ #6911]
22780 * manual/macros.texi (gnusystems): New macro.
22781 (nongnusystems): Likewise.
22782 (gnulinuxhurdsystems): Likewise.
22783 (gnuhurdsystems): Likewise..
22784 (gnulinuxsystems): Likewise.
22785 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22786 variants of the GNU system, not "GNU system".
22787 * manual/conf.texi: Likewise.
22788 * manual/errno.texi: Likewise. Update example of errno macro
22789 expansion.
22790 * manual/filesys.texi: Likewise.
22791 (getumask): Document as specific to GNU/Hurd.
22792 * manual/install.texi: Likewise. Reword some references to
22793 GNU/Linux.
22794 * manual/intro.texi: Likewise.
22795 * manual/io.texi: Likewise.
22796 (File Name Portability): Detail which constraints are inapplicable
22797 to all GNU systems and which are only inapplicable to GNU/Hurd.
22798 * manual/job.texi: Likewise.
22799 * manual/llio.texi: Likewise.
22800 (O_NOCTTY): Document as present on GNU/Linux.
22801 * manual/maint.texi: Likewise.
22802 * manual/memory.texi: Likewise.
22803 * manual/pattern.texi: Likewise.
22804 * manual/pipe.texi: Likewise.
22805 * manual/process.texi: Likewise.
22806 * manual/resource.texi: Likewise.
22807 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22808 child on GNU/Hurd.
22809 * manual/setjmp.texi: Likewise.
22810 * manual/signal.texi: Likewise.
22811 * manual/startup.texi: Likewise.
22812 * manual/stdio.texi: Likewise.
22813 * manual/terminal.texi: Likewise.
22814 (ONLCR): Document as POSIX.
22815 (OXTABS): Document availability on GNU/Linux as XTABS.
22816 (ONOEOT): Document availability separately from other bits.
22817 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22818 * manual/time.texi: Likewise.
22819 * manual/users.texi: Likewise.
22820 * INSTALL: Regenerated.
22821 * sysdeps/gnu/errlist.c: Regenerated.
22822
22823 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22824 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22825 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22826 puts.
22827 * configure: Regenerated.
22828
22829 2012-03-07 Joseph Myers <joseph@codesourcery.com>
22830
22831 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22832 default includes instead of AC_HEADER_CHECK.
22833 * sysdeps/i386/configure: Regenerated.
22834
22835 [BZ #10716]
22836 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22837 * math/s_cacoshf.c (__cacoshf): Likewise.
22838 * math/s_cacoshl.c (__cacoshl): Likewise.
22839 * math/s_casinh.c (__casinh): Set signs of result from argument.
22840 * math/s_casinhf.c (__casinhf): Likewise.
22841 * math/s_casinhl.c (__casinhl): Likewise.
22842 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22843 (casinh_test): Add more tests.
22844 * sysdeps/i386/fpu/libm-test-ulps: Update.
22845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22846
22847 2012-03-07 Ulrich Drepper <drepper@gmail.com>
22848
22849 * po/zh_TW.po: Update from translation team.
22850
22851 * login/Makefile (distribute): Remove variable.
22852 * catgets/Makefile: Likewise.
22853 * mach/Makefile: Likewise.
22854 * malloc/Makefile: Likewise.
22855 * misc/Makefile: Likewise.
22856 * iconv/Makefile: Likewise.
22857 * nscd/Makefile: Likewise.
22858 * hurd/Makefile: Likewise.
22859 * manual/Makefile: Likewise.
22860 * locale/Makefile: Likewise.
22861 * intl/Makefile: Likewise.
22862 * conform/Makefile: Likewise.
22863 * nss/Makefile: Likewise.
22864 * time/Makefile: Likewise.
22865 * soft-fp/Makefile: Likewise.
22866 * dirent/Makefile: Likewise.
22867 * gmon/Makefile: Likewise.
22868 * po/Makefile: Likewise.
22869 * rt/Makefile: Likewise.
22870 * socket/Makefile: Likewise.
22871 * math/Makefile: Likewise.
22872 * signal/Makefile: Likewise.
22873 * debug/Makefile: Likewise.
22874 * elf/Makefile: Likewise.
22875 * timezone/Makefile: Likewise.
22876 * stdlib/Makefile: Likewise.
22877 * iconvdata/Makefile: Likewise.
22878 * sunrpc/Makefile: Likewise.
22879 * io/Makefile: Likewise.
22880 * argp/Makefile: Likewise.
22881 * inet/Makefile: Likewise.
22882 * hesiod/Makefile: Likewise.
22883 * grp/Makefile: Likewise.
22884 * csu/Makefile: Likewise.
22885 * wctype/Makefile: Likewise.
22886 * crypt/Makefile: Likewise.
22887 * libio/Makefile: Likewise.
22888 * string/Makefile: Likewise.
22889 * nis/Makefile: Likewise.
22890 * resolv/Makefile: Likewise.
22891 * stdio-common/Makefile: Likewise.
22892 * wcsmbs/Makefile: Likewise.
22893 * dlfcn/Makefile: Likewise.
22894 * posix/Makefile: Likewise.
22895
22896 [BZ #6959]
22897 * timezone/Makefile: Don't install timezone files, just the programs
22898 and scripts.
22899
22900 2012-03-06 Ulrich Drepper <drepper@gmail.com>
22901
22902 * nss/databases.def: Add missing gshadow entry.
22903
22904 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22905
22906 2012-03-06 Marek Polacek <polacek@redhat.com>
22907
22908 [BZ #13726]
22909 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22910 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22911 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22912 * stdio-common/tst-long-dbl-fphex.c: New file.
22913
22914 2012-03-06 David S. Miller <davem@davemloft.net>
22915
22916 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22917 (set_obp_int): New function.
22918 (get_obp_int): New function.
22919 (__get_clockfreq_via_dev_openprom): Likewise.
22920 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22921 Avoid unused variable warnings on 'val' and use builtin_expect.
22922 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22923 __builtin_expect.
22924 (INLINE_CLONE_SYSCALL): Likewise.
22925
22926 2012-03-05 David S. Miller <davem@davemloft.net>
22927
22928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22929
22930 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22931
22932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22933
22934 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22935 only for |x| >= 40.
22936 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22937
22938 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
22939
22940 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22941 Replace gettimeofday with __vdso_gettimeofday.
22942
22943 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22944 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22945 __vdso_clock_gettime and __vdso_getcpu.
22946
22947 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22948 time with __vdso_time.
22949
22950 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22951
22952 * manual/lang.texi (size_t): Note types to which size_t may be
22953 equivalent with the GNU C Library, but do not describe when
22954 differences between them are significant.
22955
22956 2012-03-05 Andreas Jaeger <aj@suse.de>
22957
22958 * sysdeps/i386/fpu/libm-test-ulps: Update.
22959
22960 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22961
22962 [BZ #3976]
22963 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22964 (__ieee754_pow): Save and restore rounding mode and use
22965 round-to-nearest for main computations.
22966 * math/libm-test.inc (pow_test_tonearest): New function.
22967 (pow_test_towardzero): Likewise.
22968 (pow_test_downward): Likewise.
22969 (pow_test_upward): Likewise.
22970 (main): Call the new functions.
22971 * sysdeps/i386/fpu/libm-test-ulps: Update.
22972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22973
22974 [BZ #3976]
22975 * math/libm-test.inc (cosh_test_tonearest): New function.
22976 (cosh_test_towardzero): Likewise.
22977 (cosh_test_downward): Likewise.
22978 (cosh_test_upward): Likewise.
22979 (sinh_test_tonearest): Likewise.
22980 (sinh_test_towardzero): Likewise.
22981 (sinh_test_downward): Likewise.
22982 (sinh_test_upward): Likewise.
22983 (main): Call the new functions.
22984 * sysdeps/i386/fpu/libm-test-ulps: Update.
22985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22986
22987 2012-03-05 Tom de Vries <tom@codesourcery.com>
22988
22989 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22990 default stack guard is set in last bytes.
22991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22992
22993 2012-03-05 Kees Cook <keescook@chromium.org>
22994
22995 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22996
22997 [BZ #13656]
22998 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22999 possibly allocate from heap instead of stack.
23000 * stdio-common/bug-vfprintf-nargs.c: New file.
23001 * stdio-common/Makefile (tests): Add nargs overflow test.
23002
23003 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23004
23005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23006
23007 2012-03-03 Marek Polacek <polacek@redhat.com>
23008
23009 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23010 * math/math_private.h: Likewise.
23011 * stdlib/tst-strtod.c: Likewise.
23012 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23013 * sysdeps/x86_64/bits/atomic.h: Likewise.
23014
23015 2012-03-02 David S. Miller <davem@davemloft.net>
23016
23017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23021 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23022 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23023 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23024 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23025
23026 2012-03-02 Roland McGrath <roland@hack.frob.com>
23027
23028 [BZ #13792]
23029 * manual/examples/README: New file, says the example source files
23030 can be used under GPL>=2.
23031 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23032 line containing just "*/".
23033 * manual/examples/add.c: Add copyright header (GPL>=2).
23034 * manual/examples/argp-ex1.c: Likewise.
23035 * manual/examples/argp-ex2.c: Likewise.
23036 * manual/examples/argp-ex3.c: Likewise.
23037 * manual/examples/argp-ex4.c: Likewise.
23038 * manual/examples/atexit.c: Likewise.
23039 * manual/examples/db.c: Likewise.
23040 * manual/examples/dir.c: Likewise.
23041 * manual/examples/dir2.c: Likewise.
23042 * manual/examples/execinfo.c: Likewise.
23043 * manual/examples/filecli.c: Likewise.
23044 * manual/examples/filesrv.c: Likewise.
23045 * manual/examples/fmtmsgexpl.c: Likewise.
23046 * manual/examples/genpass.c: Likewise.
23047 * manual/examples/inetcli.c: Likewise.
23048 * manual/examples/inetsrv.c: Likewise.
23049 * manual/examples/isockad.c: Likewise.
23050 * manual/examples/longopt.c: Likewise.
23051 * manual/examples/memopen.c: Likewise.
23052 * manual/examples/memstrm.c: Likewise.
23053 * manual/examples/mkfsock.c: Likewise.
23054 * manual/examples/mkisock.c: Likewise.
23055 * manual/examples/mygetpass.c: Likewise.
23056 * manual/examples/pipe.c: Likewise.
23057 * manual/examples/popen.c: Likewise.
23058 * manual/examples/rprintf.c: Likewise.
23059 * manual/examples/search.c: Likewise.
23060 * manual/examples/select.c: Likewise.
23061 * manual/examples/setjmp.c: Likewise.
23062 * manual/examples/sigh1.c: Likewise.
23063 * manual/examples/sigusr.c: Likewise.
23064 * manual/examples/stpcpy.c: Likewise.
23065 * manual/examples/strdupa.c: Likewise.
23066 * manual/examples/strftim.c: Likewise.
23067 * manual/examples/strncat.c: Likewise.
23068 * manual/examples/subopt.c: Likewise.
23069 * manual/examples/swapcontext.c: Likewise.
23070 * manual/examples/termios.c: Likewise.
23071 * manual/examples/testopt.c: Likewise.
23072 * manual/examples/testpass.c: Likewise.
23073 * manual/examples/timeval_subtract.c: Likewise.
23074
23075 [BZ #13792]
23076 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23077 function to ...
23078 * manual/timeval_subtract.c.texi: ... here, new file.
23079
23080 2012-03-02 David S. Miller <davem@davemloft.net>
23081
23082 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23083
23084 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23085
23086 [BZ #3976]
23087 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23088 (__sin): Save and restore rounding mode and use round-to-nearest
23089 for all computations.
23090 (__cos): Save and restore rounding mode and use round-to-nearest
23091 for all computations.
23092 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23093 <fenv.h>.
23094 (tan): Save and restore rounding mode and use round-to-nearest for
23095 all computations.
23096 * math/libm-test.inc (cos_test_tonearest): New function.
23097 (cos_test_towardzero): Likewise.
23098 (cos_test_downward): Likewise.
23099 (cos_test_upward): Likewise.
23100 (sin_test_tonearest): Likewise.
23101 (sin_test_towardzero): Likewise.
23102 (sin_test_downward): Likewise.
23103 (sin_test_upward): Likewise.
23104 (tan_test_tonearest): Likewise.
23105 (tan_test_towardzero): Likewise.
23106 (tan_test_downward): Likewise.
23107 (tan_test_upward): Likewise.
23108 (main): Call the new functions.
23109 * sysdeps/i386/fpu/libm-test-ulps: Update.
23110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23111
23112 [BZ #10135]
23113 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23114 small n, then large n, before computing and testing k+n.
23115 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23116 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23117 Likewise.
23118 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23119 Likewise.
23120 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23121 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23122 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23123 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23124 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23125 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23126 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23127 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23128 * math/libm-test.inc (scalbn_test): Add more tests.
23129 (scalbln_test): Likewise.
23130
23131 * manual/filesys.texi (mode_t): Describe constraints on size and
23132 signedness, not exact equivalence to a particular type.
23133 (ino_t): Likewise.
23134 (ino64_t): Likewise.
23135 (dev_t): Likewise.
23136 (nlink_t): Likewise.
23137 (blkcnt_t): Likewise.
23138 (blkcnt64_t): Likewise.
23139 * manual/llio.texi (off_t): Likewise.
23140
23141 [BZ #3976]
23142 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23143 (__ieee754_exp): Save and restore rounding mode and use
23144 round-to-nearest for all computations.
23145 * math/libm-test.inc (exp_test_tonearest): New function.
23146 (exp_test_towardzero): Likewise.
23147 (exp_test_downward): Likewise.
23148 (exp_test_upward): Likewise.
23149 (main): Call the new functions.
23150 * sysdeps/i386/fpu/libm-test-ulps: Update.
23151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23152
23153 2012-03-01 Chris Demetriou <cgd@google.com>
23154
23155 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23156 have predictable order.
23157
23158 2012-03-01 David S. Miller <davem@davemloft.net>
23159
23160 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23161
23162 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23163 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23164 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23165 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23166
23167 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23168 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23169 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23171 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23172 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23173 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23174 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23175 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23176
23177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23178
23179 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23180 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23181 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23182
23183 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23184 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23185 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23186 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23187 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23188 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23189 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23190 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23191 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23192 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23193 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23194 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23195 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23196 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23197 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23198 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23199 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23200 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23201 * sysdeps/sparc/elf/configure: Regenerated.
23202
23203 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23204
23205 * configure.in (AS, LD): Require binutils 2.20 or later.
23206 * configure: Regenerated.
23207 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23208 as required minimum version.
23209 * INSTALL: Regenerated.
23210
23211 [BZ #2541]
23212 [BZ #4108]
23213 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23214 before squaring exponent.
23215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23216 bottom long double and 27 bits of top long double before squaring
23217 exponent.
23218 * math/libm-test.inc (erfc_test): Add more tests.
23219 * sysdeps/i386/fpu/libm-test-ulps: Update.
23220 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23222
23223 2012-03-01 Kai Tietz <ktietz@redhat.com>
23224
23225 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23226 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23227 containing bit-fields.
23228 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23229 * soft-fp/single.h (_FP_UNION_S): Likewise.
23230 * soft-fp/double.h (_FP_UNION_D): Likewise.
23231
23232 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23233
23234 [BZ #13786]
23235 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23236 not include ../strcmp.S.
23237 [USE_AS_STRNCASECMP_L]: Likewise.
23238 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23239 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23240 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23241 (__strncasecmp_l_ia32): Define as alias to
23242 __strncasecmp_l_nonascii.
23243
23244 [BZ #5794]
23245 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23246 * sysdeps/i386/fpu/libm-test-ulps: Update.
23247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23248
23249 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23251
23252 2012-02-29 Jeff Law <law@redhat.com>
23253
23254 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23255 out of bounds read.
23256
23257 2012-02-29 Marek Polacek <polacek@redhat.com>
23258
23259 [BZ #13706]
23260 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23261 * elf/Makefile: Add rules to run tst-unused-dep.out.
23262
23263 2012-02-28 David S. Miller <davem@davemloft.net>
23264
23265 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23266 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23267 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23268 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23269 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23270 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23271
23272 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23273
23274 * math/libm-test.inc (llround_test): Move one test from
23275 lround_test. Use TEST_f_L in moved test.
23276 (lround_test): Move misplaced test to llround_test. Add testcase
23277 from bug 2561.
23278
23279 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23280
23281 * sysdeps/x86_64/fpu/e_expf.S: New file.
23282 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23283
23284 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23285
23286 [BZ #13637]
23287 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23288 of remain_len that may cause incomplete multi-byte character and
23289 false match.
23290 * posix/bug-regex33.c: New file.
23291 * posix/Makefile (tests): Add bug-regex33.
23292
23293 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23294
23295 * manual/macros.texi: New file.
23296 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23297 * manual/libc.texinfo: Include macros.texi.
23298 * manual/creatute.texi: Likewise.
23299 * manual/install.texi: Likewise.
23300 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23301 @glibcadj{} in references to the GNU C Library.
23302 * manual/charset.texi: Likewise.
23303 * manual/conf.texi: Likewise.
23304 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23305 when not using those macros.
23306 * manual/creature.texi: Likewise.
23307 * manual/crypt.texi: Likewise.
23308 * manual/errno.texi: Likewise.
23309 * manual/filesys.texi: Likewise.
23310 * manual/header.texi: Likewise.
23311 * manual/install.texi: Likewise.
23312 * manual/intro.texi: Likewise.
23313 * manual/io.texi: Likewise.
23314 * manual/job.texi: Likewise.
23315 * manual/lang.texi: Likewise.
23316 * manual/libc.texiinfo: Likewise.
23317 * manual/llio.texi: Likewise.
23318 * manual/locale.texi: Likewise.
23319 * manual/maint.texi: Likewise.
23320 * manual/math.texi: Likewise.
23321 * manual/memory.texi: Likewise.
23322 * manual/message.texi: Likewise.
23323 * manual/nss.texi: Likewise.
23324 * manual/pattern.texi: Likewise.
23325 * manual/process.texi: Likewise.
23326 * manual/resource.texi: Likewise.
23327 * manual/search.texi: Likewise.
23328 * manual/setjmp.texi: Likewise.
23329 * manual/signal.texi: Likewise.
23330 * manual/socket.texi: Likewise.
23331 * manual/startup.texi: Likewise.
23332 * manual/stdio.texi: Likewise.
23333 * manual/string.texi: Likewise.
23334 * manual/sysinfo.texi: Likewise.
23335 * manual/syslog.texi: Likewise.
23336 * manual/terminal.texi: Likewise.
23337 * manual/time.texi: Likewise.
23338 * manual/users.texi: Likewise.
23339 * INSTALL: Regenerated.
23340 * NOTES: Regenerated.
23341 * sysdeps/gnu/errlist.c: Regenerated.
23342
23343 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23344
23345 * include/dirent.h: Include <dirstream.h> before
23346 <dirent/dirent.h>.
23347
23348 2012-02-28 David S. Miller <davem@davemloft.net>
23349
23350 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23351 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23352 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23353 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23354
23355 2012-02-27 David S. Miller <davem@davemloft.net>
23356
23357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23359 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23360 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23361
23362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23363 frame pointer instead of stack pointer relative arg slot.
23364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23365 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23366 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23367
23368 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23369
23370 [BZ #3992]
23371 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23372
23373 2012-02-27 David S. Miller <davem@davemloft.net>
23374
23375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23379 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23380 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23381 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23382 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23383
23384 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23385
23386 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23387 later. Allow versions 5-9.
23388 * configure: Regenerated.
23389 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23390 required minimum version and 4.6 as recommended version. Do not
23391 mention bugs in GCC 2.7 and 2.8.
23392 * INSTALL: Regenerated.
23393
23394 2012-02-27 David S. Miller <davem@davemloft.net>
23395
23396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23400 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23401 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23402 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23403 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23404
23405 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23406 manipulate bits before adding and subtracting TWO112[sx].
23407 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23408
23409 2012-02-27 Roland McGrath <roland@hack.frob.com>
23410
23411 [BZ #13775]
23412 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23413 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23414 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23415 being in POSIX, because they are in 1003.1-2008.
23416
23417 * rt/tst-aio.c: Include <fcntl.h>.
23418 * rt/tst-aio7.c: Likewise.
23419 * rt/tst-aio64.c: Likewise.
23420
23421 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23422
23423 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23424
23425 * manual/install.texi (--with-headers): Describe headers as
23426 interface headers, not private headers.
23427 (Specific advice for GNU/Linux systems): Describe use of headers
23428 from "make headers_install", not private headers from older
23429 kernels.
23430 * INSTALL: Regenerated.
23431 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23432 Change to 2.6.19.
23433 * sysdeps/unix/sysv/linux/configure: Regenerated.
23434
23435 * manual/llio.texi (fclean): Remove documentation.
23436
23437 * manual/Makefile (libc-texi-generated): New variable. Include
23438 version.texi.
23439 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23440 $(libc-texi-generated), not duplicated list of files.
23441 (version.texi, stamp-version): New rules.
23442 (realclean): Remove $(libc-texi-generated), not individual files
23443 from that list. Do not remove dir-add.texinfo.
23444 * manual/libc.texinfo: Comment out uses of edition numbers and
23445 references to printed manual. Remove last-updated dates.
23446 (EDITION): Comment out.
23447 (ISBN): Likewise.
23448 (VERSION, UPDATED): Remove.
23449 (version.texi): Include.
23450
23451 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23452
23453 * sysdeps/posix/spawni.c: Include <signal.h>.
23454 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23455 * sysdeps/pthread/aio_fsync.c: Likewise.
23456
23457 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23458
23459 * conform/Makefile (tests): Run only when not cross-compiling and
23460 when fast-check is not defined.
23461
23462 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23463 * conform/data/limits.h-data: Fixes for POSIX2008.
23464 * conform/run-conformtest.sh: Run all tests.
23465 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23466 headers.
23467 * include/bits/dlfcn.h: Likewise.
23468 * include/langinfo.h: Likewise.
23469 * include/monetary.h: Likewise.
23470 * include/sys/poll.h: Likewise.
23471
23472 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23473 for __USE_GNU.
23474 * posix/spawn.h: Define __need_sigset_t.
23475 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23476 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23477 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23478 to get sigevent_t only.
23479 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23480 only for __USE_GNU.
23481 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23482 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23483 process_vm_writev only for __USE_GNU.
23484 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23485
23486 * conform/Makefile: For now ignore errors from run-conformtest.
23487 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23488 POSIX to avoid namespace pollution. Don't prepend headers.
23489 * conform/data/aio.h-data: Fixes for POSIX testing.
23490 * conform/data/fcntl.h-data: Likewise.
23491 * conform/data/glob.h-data: Likewise.
23492 * conform/data/grp.h-data: Likewise.
23493 * conform/data/pthread.h-data: Likewise.
23494 * conform/data/pwd.h-data: Likewise.
23495 * conform/data/signal.h-data: Likewise.
23496 * conform/data/spawn.h-data: Likewise.
23497 * conform/data/stdio.h-data: Likewise.
23498 * conform/data/stdlib.h-data: Likewise.
23499 * conform/data/stropts.h-data: Likewise.
23500 * conform/data/sys/mman.h-data: Likewise.
23501 * conform/data/sys/stat.h-data: Likewise.
23502 * conform/data/sys/types.h-data: Likewise.
23503 * conform/data/sys/wait.h-data: Likewise.
23504 * conform/data/time.h-data: Likewise.
23505 * conform/data/unistd.h-data: Likewise.
23506 * conform/data/utime.h-data: Likewise.
23507
23508 * io/sys/stat.h: fchmod was always in POSIX.
23509 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23510 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23511 * rt/aio.h: Define __need_timespec before including <time.h>.
23512 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23513 struct. Add forward declaration of pthread_attr_t and use it in
23514 sigevent.
23515 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23516 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23517 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23518 always remove CLK_TCK definition.
23519
23520 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23521
23522 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23523
23524 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23525
23526 * conform/run-conformtest.sh: New file.
23527 * conform/Makefile: Run run-conformtest for tests.
23528 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23529 support.
23530
23531 * conform/data/uchar.h-data: New file.
23532 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23533 * conform/data/arpa/inet.h-data: Likewise.
23534 * conform/data/assert.h-data: Likewise.
23535 * conform/data/complex.h-data: Likewise.
23536 * conform/data/cpio.h-data: Likewise.
23537 * conform/data/ctype.h-data: Likewise.
23538 * conform/data/dirent.h-data: Likewise.
23539 * conform/data/dlfcn.h-data: Likewise.
23540 * conform/data/errno.h-data: Likewise.
23541 * conform/data/fcntl.h-data: Likewise.
23542 * conform/data/float.h-data: Likewise.
23543 * conform/data/fmtmsg.h-data: Likewise.
23544 * conform/data/fnmatch.h-data: Likewise.
23545 * conform/data/ftw.h-data: Likewise.
23546 * conform/data/glob.h-data: Likewise.
23547 * conform/data/grp.h-data: Likewise.
23548 * conform/data/iconv.h-data: Likewise.
23549 * conform/data/inttypes.h-data: Likewise.
23550 * conform/data/langinfo.h-data: Likewise.
23551 * conform/data/libgen.h-data: Likewise.
23552 * conform/data/limits.h-data: Likewise.
23553 * conform/data/locale.h-data: Likewise.
23554 * conform/data/math.h-data: Likewise.
23555 * conform/data/monetary.h-data: Likewise.
23556 * conform/data/mqueue.h-data: Likewise.
23557 * conform/data/ndbm.h-data: Likewise.
23558 * conform/data/net/if.h-data: Likewise.
23559 * conform/data/netdb.h-data: Likewise.
23560 * conform/data/netinet/in.h-data: Likewise.
23561 * conform/data/nl_types.h-data: Likewise.
23562 * conform/data/poll.h-data: Likewise.
23563 * conform/data/pthread.h-data: Likewise.
23564 * conform/data/pwd.h-data: Likewise.
23565 * conform/data/regex.h-data: Likewise.
23566 * conform/data/sched.h-data: Likewise.
23567 * conform/data/search.h-data: Likewise.
23568 * conform/data/semaphore.h-data: Likewise.
23569 * conform/data/setjmp.h-data: Likewise.
23570 * conform/data/signal.h-data: Likewise.
23571 * conform/data/spawn.h-data: Likewise.
23572 * conform/data/stdarg.h-data: Likewise.
23573 * conform/data/stdio.h-data: Likewise.
23574 * conform/data/stdlib.h-data: Likewise.
23575 * conform/data/string.h-data: Likewise.
23576 * conform/data/strings.h-data: Likewise.
23577 * conform/data/stropts.h-data: Likewise.
23578 * conform/data/sys/ipc.h-data: Likewise.
23579 * conform/data/sys/mman.h-data: Likewise.
23580 * conform/data/sys/msg.h-data: Likewise.
23581 * conform/data/sys/resource.h-data: Likewise.
23582 * conform/data/sys/select.h-data: Likewise.
23583 * conform/data/sys/sem.h-data: Likewise.
23584 * conform/data/sys/shm.h-data: Likewise.
23585 * conform/data/sys/socket.h-data: Likewise.
23586 * conform/data/sys/stat.h-data: Likewise.
23587 * conform/data/sys/statvfs.h-data: Likewise.
23588 * conform/data/sys/time.h-data: Likewise.
23589 * conform/data/sys/timeb.h-data: Likewise.
23590 * conform/data/sys/times.h-data: Likewise.
23591 * conform/data/sys/types.h-data: Likewise.
23592 * conform/data/sys/uio.h-data: Likewise.
23593 * conform/data/sys/un.h-data: Likewise.
23594 * conform/data/sys/utsname.h-data: Likewise.
23595 * conform/data/sys/wait.h-data: Likewise.
23596 * conform/data/syslog.h-data: Likewise.
23597 * conform/data/tar.h-data: Likewise.
23598 * conform/data/termios.h-data: Likewise.
23599 * conform/data/utime.h-data: Likewise.
23600 * conform/data/utmpx.h-data: Likewise.
23601 * conform/data/varargs.h-data: Likewise.
23602 * conform/data/wchar.h-data: Likewise.
23603 * conform/data/wctype.h-data: Likewise.
23604 * conform/data/wordexp.h-data: Likewise.
23605
23606 * include/stropts.h: New file.
23607 * include/uchar.h: New file.
23608 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23609 * include/assert.h: Likewise.
23610 * include/ctype.h: Likewise.
23611 * include/dirent.h: Likewise.
23612 * include/dlfcn.h: Likewise.
23613 * include/fcntl.h: Likewise.
23614 * include/fnmatch.h: Likewise.
23615 * include/glob.h: Likewise.
23616 * include/grp.h: Likewise.
23617 * include/libio.h: Likewise.
23618 * include/locale.h: Likewise.
23619 * include/math.h: Likewise.
23620 * include/net/if.h: Likewise.
23621 * include/netdb.h: Likewise.
23622 * include/netinet/in.h: Likewise.
23623 * include/pthread.h: Likewise.
23624 * include/pwd.h: Likewise.
23625 * include/regex.h: Likewise.
23626 * include/sched.h: Likewise.
23627 * include/search.h: Likewise.
23628 * include/setjmp.h: Likewise.
23629 * include/signal.h: Likewise.
23630 * include/stdio.h: Likewise.
23631 * include/stdlib.h: Likewise.
23632 * include/string.h: Likewise.
23633 * include/sys/cdefs.h: Likewise.
23634 * include/sys/mman.h: Likewise.
23635 * include/sys/msg.h: Likewise.
23636 * include/sys/resource.h: Likewise.
23637 * include/sys/select.h: Likewise.
23638 * include/sys/socket.h: Likewise.
23639 * include/sys/stat.h: Likewise.
23640 * include/sys/statvfs.h: Likewise.
23641 * include/sys/time.h: Likewise.
23642 * include/sys/times.h: Likewise.
23643 * include/sys/uio.h: Likewise.
23644 * include/sys/utsname.h: Likewise.
23645 * include/sys/wait.h: Likewise.
23646 * include/termios.h: Likewise.
23647 * include/time.h: Likewise.
23648 * include/ulimit.h: Likewise.
23649 * include/unistd.h: Likewise.
23650 * include/utime.h: Likewise.
23651 * include/wchar.h: Likewise.
23652 * include/wctype.h: Likewise.
23653 * include/wordexp.h: Likewise.
23654
23655 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23656
23657 * time/time.h: TIME_UTC must be a macro.
23658 Make timespec_get available for ISO C11 only as well.
23659
23660 2012-02-24 Ulrich Drepper <drepper@gmail.com>
23661
23662 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23663 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23664
23665 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23666
23667 * configure.in: Use -o not -a in test for unsupported multi-arch.
23668
23669 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23670
23671 * manual/texinfo.tex: Update to version 2012-01-19.16.
23672
23673 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23674
23675 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23676
23677 2012-02-24 Roland McGrath <roland@hack.frob.com>
23678
23679 [BZ #13738]
23680 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23681 * manual/fdl-1.3.texi: New file.
23682 * manual/fdl-1.1.texi: File removed.
23683
23684 [BZ #13738]
23685 * manual/libc.texinfo (FDL_VERSION): New @set.
23686 Use it for mention of FDL in cover text.
23687 (Documentation License): Use it in @include file name.
23688
23689 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23690 Roland McGrath <roland@hack.frob.com>
23691
23692 [BZ #5461]
23693 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23694 not LONG_LONG_MAX and LONG_LONG_MIN.
23695 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23696 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23697 name.
23698 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23699
23700 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23701
23702 [BZ #2547]
23703 [BZ #11365]
23704 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23705 manipulate bits before adding and subtracting TWO23[sx].
23706 * math/libm-test.inc (nearbyint_test): Add more tests.
23707
23708 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23709
23710 [BZ #2548]
23711 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23712 bits before adding and subtracting TWO23[sx].
23713 * math/libm-test.inc (rint_test): Add more tests.
23714 (rint_test_tonearest): Likewise.
23715 (rint_test_towardzero): Likewise.
23716 (rint_test_downward): Likewise.
23717 (rint_test_upward: Likewise.
23718
23719 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23720
23721 [BZ #10110]
23722 * include/stdc-predef.h: New file. Extracted from features.h.
23723 * include/features.h: Include stdc-predef.h.
23724 * Makefile (headers): Add stdc-predef.h.
23725 * CONFORMANCE (Compiler limitations): Update.
23726
23727 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23728
23729 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23730
23731 2012-02-21 David S. Miller <davem@davemloft.net>
23732
23733 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23734 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23735
23736 2012-02-20 David S. Miller <davem@davemloft.net>
23737
23738 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23739 using a normal save/restore sequence, rather than allocating a
23740 dummy stack frame just to store a frame pointer and restore.
23741 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23742
23743 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23744
23745 * manual/install.texi: Fix stray word in line-wrapped comment.
23746
23747 2012-02-20 David S. Miller <davem@davemloft.net>
23748
23749 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23750 both binutils and gcc support GOTDATA.
23751
23752 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23753 "rd %pc" in the PIC register setup sequences.
23754
23755 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23756 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23757 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23758 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23759 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23760 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23761 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23762 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23763 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23764 (SYSCALL_ERROR_HANDLER): Likewise.
23765 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23766 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23768 (SYSCALL_ERROR_HANDLER): Likewise.
23769
23770 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23771 (HAVE_GCC_GOTDATA): New.
23772 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23773 relocation support in both binutils and gcc.
23774 * sysdeps/sparc/elf/configure: Regenerate.
23775
23776 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23777 * sysdeps/sparc/sparc32/elf/configure: Delete.
23778 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23779 * sysdeps/sparc/sparc64/elf/configure: Delete.
23780 * sysdeps/sparc/elf/configure.in: New file.
23781 * sysdeps/sparc/elf/configure: Generate.
23782
23783 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23784 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23785 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23786 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23787 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23788
23789 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23790
23791 * manual/install.texi: Do not mention specific glibc version
23792 numbers.
23793 * manual/libc.texinfo (VERSION, UPDATED): Update.
23794 (@copying): Use @copyright{} and range of years.
23795
23796 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23797
23798 [BZ #13695]
23799 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23800 [crti.S not in sysdirs] (generated): Do not append.
23801 [crti.S not in sysdirs] (omit-deps): Likewise.
23802 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23803 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23804 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23805 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23806 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23807 Likewise.
23808 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23809 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23810 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23811 * csu/defs.awk: Remove file.
23812 * sysdeps/generic/initfini.c: Likewise.
23813 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23814 variable.
23815 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23816 Likewise.
23817
23818 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23819
23820 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23821 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23822 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23823 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23824 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23825 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23826 <bits/epoll.h>.
23827 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23828 (__EPOLL_PACKED): Define to empty if not defined by
23829 <bits/epoll.h>.
23830 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23832 bits/epoll.h.
23833
23834 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23835
23836 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23837 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23838 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23839 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23840 <bits/timerfd.h>.
23841 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23843 bits/timerfd.h.
23844
23845 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23846
23847 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23848 in C locale.
23849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23850 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23851 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23853
23854 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23855
23856 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23857 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23858
23859 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23860
23861 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23862 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23863 defined.
23864 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23865 Likewise.
23866 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23867 entry for 2.16.
23868
23869 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23870
23871 * math/w_acos.c: Use non-signaling floating-point comparisons.
23872 * math/w_acosf.c: Likewise.
23873 * math/w_acosh.c: Likewise.
23874 * math/w_acoshf.c: Likewise.
23875 * math/w_acoshl.c: Likewise.
23876 * math/w_acosl.c: Likewise.
23877 * math/w_asin.c: Likewise.
23878 * math/w_asinf.c: Likewise.
23879 * math/w_asinl.c: Likewise.
23880 * math/w_atanh.c: Likewise.
23881 * math/w_atanhf.c: Likewise.
23882 * math/w_atanhl.c: Likewise.
23883 * math/w_exp2.c: Likewise.
23884 * math/w_exp2f.c: Likewise.
23885 * math/w_exp2l.c: Likewise.
23886 * math/w_j0.c: Likewise.
23887 * math/w_j0f.c: Likewise.
23888 * math/w_j0l.c: Likewise.
23889 * math/w_j1.c: Likewise.
23890 * math/w_j1f.c: Likewise.
23891 * math/w_j1l.c: Likewise.
23892 * math/w_jn.c: Likewise.
23893 * math/w_jnf.c: Likewise.
23894 * math/w_log.c: Likewise.
23895 * math/w_log10.c: Likewise.
23896 * math/w_log10f.c: Likewise.
23897 * math/w_log10l.c: Likewise.
23898 * math/w_log2.c: Likewise.
23899 * math/w_log2f.c: Likewise.
23900 * math/w_log2l.c: Likewise.
23901 * math/w_logf.c: Likewise.
23902 * math/w_logl.c: Likewise.
23903 * math/w_sqrt.c: Likewise.
23904 * math/w_sqrtf.c: Likewise.
23905 * math/w_sqrtl.c: Likewise.
23906 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23907 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23908 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23909 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23910 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23911
23912 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23913
23914 [BZ #9739]
23915 * manual/string.texi (strnlen): Use correct parameter name in
23916 equivalent expression.
23917
23918 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23919
23920 [BZ #11174]
23921 * manual/users.texi (seteuid): Consistently use neweuid for
23922 argument name.
23923
23924 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23925
23926 [BZ #13704]
23927 * manual/nss.texi (Services in the NSS configuration): Correct
23928 list of services in example configuration file.
23929
23930 2012-02-19 Nick Bowler <nbowler@draconx.ca>
23931
23932 [BZ #11322]
23933 * manual/arith.texi: Remove statements about negative zero
23934 behaving identically to zero.
23935
23936 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23937
23938 [BZ #5993]
23939 * manual/install.texi: Do not document upgrading from libc5.
23940
23941 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23942
23943 [BZ #4596]
23944 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23945
23946 2012-02-18 David S. Miller <davem@davemloft.net>
23947
23948 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23949 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23950 %o7 across the call.
23951 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23952 instead.
23953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23954 SETUP_PIC_REG_LEAF.
23955 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23956 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23957 * sysdeps/sparc/crtn.S: Likewise.
23958
23959 2012-02-17 Ulrich Drepper <drepper@gmail.com>
23960
23961 * aout/Makefile: Remove.
23962
23963 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23964
23965 [BZ #13058]
23966 * manual/examples/argp-ex1.c (main): Format definition in GNU
23967 style.
23968 * manual/examples/argp-ex2.c (main): Likewise.
23969 * manual/examples/argp-ex3.c (main): Likewise.
23970 * manual/examples/argp-ex4.c (main): Likewise.
23971 * manual/examples/longopt.c (main): Use new-style prototype
23972 definition.
23973 * manual/examples/strncat.c (main): Specify return type and use
23974 (void) for arguments.
23975 * manual/examples/subopt.c (main): Use char **argv argument.
23976
23977 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23978
23979 [BZ #5077]
23980 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23981 rounding modes.
23982
23983 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23984
23985 [BZ #6907]
23986 * manual/string.texi (strchr): Change when strchrnul is
23987 recommended.
23988
23989 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23990
23991 [BZ #174]
23992 * manual/locale.texi (setlocale): Document LOCPATH.
23993
23994 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23995
23996 [BZ #10210]
23997 * manual/process.texi (execle): Move @dots{} before last argument.
23998
23999 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24000
24001 [BZ #12047]
24002 * manual/charset.texi (Generic Charset Conversion): Fix typo
24003 (LC_TYPE -> LC_CTYPE).
24004
24005 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24006
24007 [BZ #5805]
24008 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24009 (scalbnf): Likewise.
24010 (scalbnl): Likewise.
24011 (scalbln): Likewise.
24012 (scalblnf): Likewise.
24013 (scalblnl): Likewise.
24014 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24015 (vwarnx): Likewise.
24016 (verr): Likewise.
24017 (verrx): Likewise.
24018 * manual/filesys.texi (telldir): Use braces around return type.
24019 * manual/llio.texi (mmap): Add space after comma.
24020 (mmap64): Likewise.
24021 * manual/math.texi (jn): Use @var{} on parameter names.
24022 (jnf): Likewise.
24023 (jnl): Likewise.
24024 (yn): Likewise.
24025 (ynf): Likewise.
24026 (ynl): Likewise.
24027 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24028 line.
24029 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24030 "...".
24031 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24032 (sched_get_priority_max): Likewise.
24033 * manual/signal.texi (sigvec): Add space after comma.
24034 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24035 names.
24036 (if_indextoname): Likewise.
24037 (if_freenameindex): Likewise.
24038 (sendto): Use ',' instead of '.' in prototype.
24039 * manual/startup.texi (syscall): Use @dots{} instead of literal
24040 "...".
24041 * manual/stdio.texi (__fpending): Separate initial words of
24042 paragraph from @deftypefun line.
24043 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24044 "...".
24045 (vsyslog): Use @var{} on parameter names.
24046 * manual/terminal.texi (stty): Use @var{} on parameter names.
24047 * manual/users.texi (getutmp): Use @var{} on parameter names.
24048 (getutmpx): Likewise.
24049
24050 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24051
24052 [BZ #6884]
24053 * manual/stdio.texi (fopen): Fix typos in description of
24054 ",ccs=STRING".
24055
24056 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24057
24058 [BZ #4026]
24059 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24060 get clock_id definition.
24061
24062 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24063
24064 [BZ #4822]
24065 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24066 (madvise): Cast every argument to void on its own.
24067
24068 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24069
24070 [BZ #9902]
24071 * manual/startup.texi (Exit Status): Fix typo.
24072
24073 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24074
24075 [BZ #10140]
24076 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24077 * manual/examples/argp-ex2.c: Likewise.
24078 * manual/examples/argp-ex3.c: Likewise.
24079
24080 2012-02-16 Richard Henderson <rth@redhat.com>
24081
24082 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24083 * sysdeps/s390/s390-32/initfini.c: Remove.
24084 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24085 * sysdeps/s390/s390-64/initfini.c: Remove.
24086
24087 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24088
24089 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24090 compiler output for sysdeps/generic/initfini.c.
24091 * sysdeps/sh/elf/initfini.c: Remove file.
24092
24093 2012-02-16 David S. Miller <davem@davemloft.net>
24094
24095 [BZ #11494]
24096 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24097
24098 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24099 * sysdeps/sparc/crti.S: New file.
24100 * sysdeps/sparc/crtn.S: New file.
24101 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24102 * sysdeps/sparc/sparc64/Makefile: Likewise.
24103
24104 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24105
24106 [BZ #3335]
24107 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24108
24109 2012-02-15 Roland McGrath <roland@hack.frob.com>
24110
24111 [BZ #4822]
24112 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24113
24114 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24115 (write, read, close): Likewise.
24116 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24117
24118 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24119
24120 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24121 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24122 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24123 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24124 <bits/signalfd.h>.
24125 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24127 bits/signalfd.h.
24128
24129 2012-02-14 Marek Polacek <polacek@redhat.com>
24130
24131 * sysdeps/x86_64/crti.S: New file.
24132 * sysdeps/x86_64/crtn.S: New file.
24133 * sysdeps/x86_64/elf/initfini.c: Remove file.
24134
24135 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24136
24137 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24138 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24139 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24140 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24141 <bits/inotify.h>.
24142 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24144 bits/inotify.h.
24145
24146 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24147
24148 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24149 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24150 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24151 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24152 <bits/eventfd.h>.
24153 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24155 bits/eventfd.h.
24156
24157 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24158
24159 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24160 __feraiseexcept instead of feraiseexcept.
24161
24162 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24163 nanosleep invocations.
24164 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24165 strings, and add error checking for a nanosleep invocations.
24166
24167 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24168
24169 Replace FSF snail mail address with URLs, as per GNU coding standards.
24170 Most of the snail mail addresses were wrong anyway, and omitting
24171 them makes the source code easier to maintain. Almost all of the
24172 changes are to license notices and to locale LC_IDENTIFICATION
24173 addresses, except for this one:
24174 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24175 not its snail mail address.
24176
24177 2012-02-09 Richard Henderson <rth@twiddle.net>
24178
24179 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24180 of kernel-features.h.
24181
24182 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24183
24184 2012-02-08 Marek Polacek <polacek@redhat.com>
24185
24186 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24187 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24188 * sysdeps/gnu/_G_config.h: Likewise.
24189 * sysdeps/generic/_G_config.h: Likewise.
24190
24191 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24192
24193 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24194 tests.
24195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24196
24197 * sysdeps/powerpc/powerpc32/crti.S: New file.
24198 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24199 * sysdeps/powerpc/powerpc64/crti.S: New file.
24200 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24201
24202 * Makeconfig (have-initfini): Don't set.
24203 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24204 * configure.in (nopic_initfini): Don't substitute.
24205 * config.h.in (HAVE_INITFINI): Don't #undef.
24206 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24207 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24208
24209 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24210
24211 Support crti.S and crtn.S provided directly by architectures.
24212 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24213 [crti.S in sysdirs] (omit-deps): Likewise.
24214 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24215 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24216 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24217 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24218 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24219 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24220 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24221 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24222 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24223 compiler output for sysdeps/generic/initfini.c.
24224 * sysdeps/i386/elf/Makefile: Remove file.
24225 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24226
24227 2012-02-07 Marek Polacek <polacek@redhat.com>
24228
24229 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24230 * sysdeps/gnu/_G_config.h: Likewise.
24231 * sysdeps/mach/hurd/_G_config.h: Likewise.
24232
24233 2012-02-07 Marek Polacek <polacek@redhat.com>
24234
24235 * math/Makefile (tests): Add tst-CMPLX2.
24236 * math/tst-CMPLX2.c: New file.
24237
24238 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24239
24240 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24241
24242 * math/libm-test.inc (jn_test): Add missing L suffix.
24243
24244 2012-02-06 Marek Polacek <polacek@redhat.com>
24245
24246 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24247 * sysdeps/i386/fpu/e_powf.S: Likewise.
24248 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24249 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24250 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24251 * sysdeps/i386/fpu/e_pow.S: Likewise.
24252 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24253 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24254 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24255 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24256 * sysdeps/i386/fpu/e_log2.S: Likewise.
24257 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24258 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24259 * sysdeps/i386/fpu/e_powl.S: Likewise.
24260 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24261 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24262 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24263 * sysdeps/i386/fpu/e_logl.S: Likewise.
24264 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24265 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24266 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24267 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24268 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24269 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24270 * sysdeps/i386/fpu/e_log.S: Likewise.
24271 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24272 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24273 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24274 * sysdeps/i386/fpu/e_logf.S: Likewise.
24275 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24276 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24277 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24278 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24279 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24280 * sysdeps/i386/fpu/e_log10.S: Likewise.
24281 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24282 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24283 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24284 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24285 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24286 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24287 * sysdeps/i386/asm-syntax.h: Likewise.
24288 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24289 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24290 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24291 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24292 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24293 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24294 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24295 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24296 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24297 * sysdeps/powerpc/sysdep.h: Likewise.
24298 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24299 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24300
24301 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24302
24303 [BZ #411]
24304 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24305
24306 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24307
24308 * sysdeps/i386/sysdep.h: Include <features.h>.
24309 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24310 version.
24311
24312 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24313
24314 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24315 Define.
24316 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24317 LOAD_PIC_REG_STR.
24318
24319 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24320
24321 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24322 (SETUP_PIC_REG): Use GET_PC_THUNK.
24323 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24324 macro.
24325
24326 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24327
24328 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24329 for non-PIC compilation.
24330 (SETUP_PIC_REG): Add .p2align directive.
24331 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24332 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24333 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24334 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24336 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24337 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24338 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24339 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24340 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24341 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24342 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24343 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24344 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24345 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24346 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24347 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24348 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24349 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24350 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24351 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24352 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24353 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24354 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24355 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24357 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24358 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24359 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24360 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24361 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24362 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24363 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24364 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24365 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24366 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24367 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24368 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24369 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24370 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24371 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24372
24373 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24374
24375 * math/tst-CMPLX.c: Include <stdio.h>.
24376
24377 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24378
24379 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24380 float.
24381 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24382 * sysdeps/sparc/bits/mathdef.h: Likewise.
24383
24384 2012-01-31 Marek Polacek <polacek@redhat.com>
24385
24386 * libio/libio.h: Don't define _PARAMS.
24387 * locale/programs/config.h: Don't define PARAMS.
24388 * stdlib/strtol_l.c: Likewise.
24389 (__strtol_l): Remove PARAMS from the prototype.
24390
24391 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24392
24393 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24394 names. Just use the correct names. Remove unnecessary wrapper
24395 functions.
24396 * malloc/arena.c: Likewise.
24397 * malloc/hooks.c: Likewise.
24398
24399 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24400 ARENA_TEST says not to. Simplify test for creation of a new arena.
24401 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24402
24403 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24404
24405 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24406 into tail calls.
24407 (update_get_addr): New function.
24408 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24409 GET_ADDR_MODULE parameter.
24410
24411 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24412
24413 * crypt/cert.c: Remove __STDC__ conditionals.
24414 * crypt/crypt-entry.c: Likewise.
24415 * crypt/crypt_util.c: Likewise.
24416 * libio/filedoalloc.c: Likewise.
24417 * libio/fileops.c: Likewise.
24418 * libio/genops.c: Likewise.
24419 * libio/iofclose.c: Likewise.
24420 * libio/iofdopen.c: Likewise.
24421 * libio/iofopen.c: Likewise.
24422 * libio/iofopen64.c: Likewise.
24423 * libio/iogetdelim.c: Likewise.
24424 * libio/iopopen.c: Likewise.
24425 * libio/obprintf.c: Likewise.
24426 * libio/oldfileops.c: Likewise.
24427 * libio/oldiofclose.c: Likewise.
24428 * libio/oldiofdopen.c: Likewise.
24429 * libio/oldiofopen.c: Likewise.
24430 * libio/oldiopopen.c: Likewise.
24431 * libio/wfiledoalloc.c: Likewise.
24432 * libio/wgenops.c: Likewise.
24433 * locale/programs/xmalloc.c: Likewise.
24434 * misc/syslog.c: Likewise.
24435 * stdio-common/xbug.c: Likewise.
24436 * string/memchr.c: Likewise.
24437 * string/memcmp.c: Likewise.
24438 * string/memrchr.c: Likewise.
24439 * string/rawmemchr.c: Likewise.
24440 * sysdeps/posix/getcwd.c: Likewise.
24441 * time/strftime_l.c: Likewise.
24442
24443 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24444
24445 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24446 * config.make.in (config-cflags-sse2avx): Define.
24447 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24448 Fix typo.
24449
24450 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24451
24452 * scripts/config.guess: Update from upstream config git repository.
24453 * scripts/config.sub: Likewise.
24454
24455 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24456
24457 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24458 (EM_NUM): Update.
24459 (R_TILEPRO_*, R_TILEGX_*): New macros.
24460
24461 * scripts/firstversions.awk: Fix bug in version range handling.
24462
24463 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24464
24465 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24466
24467 * include/sys/epoll.h: New file.
24468 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24469 libc_hidden_def.
24470
24471 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24472
24473 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24474 Avoid unnecessary __WORDSIZE == 64 test.
24475 (fmaxf): Use VEX format if possible.
24476 (fmax): Likewise.
24477 (fminf): Likewise.
24478 (fmin): Likewise.
24479
24480 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24481 * math/math_private.h: Remove libc_fegetround* and
24482 libc_fesetround*.
24483 * sysdeps/i386/configure.in: Check for -msse2avx.
24484 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24485 also if SSE2AVX is defined.
24486 Remove libc_fegetround* and libc_fesetround*.
24487 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24488 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24489 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24490 of HAS_YMM_USABLE.
24491 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24492 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24493 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24494 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24495 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24496
24497 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24498
24499 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24500
24501 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24502 size is not set.
24503 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24504
24505 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24506
24507 [BZ #13618]
24508 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24509 relocation.
24510 * Makeconfig (libm): Define.
24511 * elf/Makefile: Add rules to build and run tst-relsort1.
24512 * elf/tst-relsort1.c: New file.
24513 * elf/tst-relsort1mod1.c: New file.
24514 * elf/tst-relsort1mod2.c: New file.
24515
24516 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24517
24518 * math/s_ldexp.c: Remove __STDC__ conditionals.
24519 * math/s_ldexpf.c: Likewise.
24520 * math/s_ldexpl.c: Likewise.
24521 * math/s_nextafter.c: Likewise.
24522 * math/s_nexttowardf.c: Likewise.
24523 * math/s_significand.c: Likewise.
24524 * math/s_significandf.c: Likewise.
24525 * math/s_significandl.c: Likewise.
24526 * math/w_jnl.c: Likewise.
24527 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24528 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24529 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24530 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24531 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24533 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24534 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24535 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24536 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24537 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24538 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24539 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24540 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24541 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24542 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24543 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24544 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24546 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24547 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24548 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24549 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24551 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24552 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24553 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24554 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24555 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24556 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24557 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24558 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24559 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24560 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24561 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24562 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24563 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24564 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24565 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24566 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24567 * sysdeps/ieee754/k_standard.c: Likewise.
24568 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24569 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24577 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24579 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24583 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24585 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24586 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24587 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24590 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24597 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24600 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24620 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24621 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24622 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24623 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24627 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24629 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24631 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24632 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24634 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24642 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24643 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24647 * sysdeps/ieee754/s_matherr.c: Likewise.
24648 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24649 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24650 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24651 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24652
24653 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24654
24655 * crypt/md5.h: Remove __STDC__ conditionals.
24656 * libio/libioP.h: Likewise.
24657 * locale/programs/config.h: Likewise.
24658 * sysdeps/generic/sysdep.h: Likewise.
24659 * sysdeps/i386/asm-syntax.h: Likewise.
24660 * sysdeps/s390/asm-syntax.h: Likewise.
24661 * sysdeps/unix/sysdep.h: Likewise.
24662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24664
24665 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24666
24667 * libio/libio.h: Remove __STDC__ conditionals.
24668 * malloc/obstack.h: Likewise.
24669 * math/complex.h: Likewise.
24670 * math/math.h: Likewise.
24671 * sysdeps/generic/_G_config.h: Likewise.
24672 * sysdeps/gnu/_G_config.h: Likewise.
24673 * sysdeps/mach/hurd/_G_config.h: Likewise.
24674 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24675 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24676 * sysdeps/sparc/bits/mathdef.h: Likewise.
24677
24678 2012-01-26 Ulrich Drepper <drepper@gmail.com>
24679
24680 [BZ #13583]
24681 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24682 Clean up HAS_* macros.
24683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24684 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24685 possible.
24686 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24687 HAS_AVX.
24688 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24689 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24690 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24691 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24692 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24693
24694 2012-01-25 Joseph Myers <joseph@codesourcery.com>
24695
24696 * elf/tst-unique3.cc (gets): Remove declaration.
24697 * elf/tst-unique3lib.cc (gets): Likewise.
24698 * elf/tst-unique3lib2.cc (gets): Likewise.
24699 * elf/tst-unique4.cc (gets): Likewise.
24700
24701 2012-01-24 Ulrich Drepper <drepper@gmail.com>
24702
24703 * include/stdio.h: Add C++ protection. Add gets declarations and
24704 definitions.
24705 * debug/tst-chk1.c: Don't declare gets here.
24706 * stdio-common/tst-gets.c: Likewise.
24707
24708 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24709
24710 * posix/glob: Remove directory.
24711
24712 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24713
24714 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24715
24716 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24717
24718 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24719 of the non-standard EPFNOSUPPORT.
24720
24721 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24722
24723 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24724 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24725 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24726
24727 2012-01-21 Ulrich Drepper <drepper@gmail.com>
24728
24729 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24730
24731 2012-01-20 Ulrich Drepper <drepper@gmail.com>
24732
24733 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24734 transient errors.
24735 * nscd/grpcache.c (cache_addgr): Likewise.
24736 * nscd/hstcache.c (cache_addhst): Likewise.
24737 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24738 * nscd/pwdcache.c (cache_addpw): Likewise.
24739 * nscd/servicescache.c (cache_addserv): Likewise.
24740
24741 2012-01-16 Ulrich Drepper <drepper@gmail.com>
24742
24743 * malloc/malloc.c: Various cleanups.
24744 * malloc/hooks.c: Likewise.
24745
24746 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24747 * stdlib/bug-fmtmsg1.c: New file.
24748
24749 * stdlib/fmtmsg.c (init): Add missing unlock.
24750 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24751
24752 2012-01-12 Marek Polacek <polacek@redhat.com>
24753
24754 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24755 and _GNU_SOURCE.
24756
24757 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24758
24759 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24760 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24761 macro to ensure uniqueness of label name.
24762 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24763 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24764
24765 2012-01-11 Ulrich Drepper <drepper@gmail.com>
24766
24767 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24768
24769 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24770 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24771 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24773
24774 2012-01-10 Ulrich Drepper <drepper@gmail.com>
24775
24776 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24777
24778 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24779 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24780 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24781
24782 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24783
24784 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24785 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24786 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24787 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24788
24789 * math/bits/math-finite.h: Add ldexp support.
24790
24791 2012-01-10 Marek Polacek <polacek@redhat.com>
24792
24793 * locale/programs/localedef.h (show_archive_content): Add noreturn
24794 attribute.
24795
24796 2012-01-09 Ulrich Drepper <drepper@gmail.com>
24797
24798 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24799
24800 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24801
24802 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24803
24804 * io/Makefile (headers): Add bits/poll2.h.
24805
24806 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24807
24808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24809 typo #include statement.
24810
24811 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24812
24813 * include/sys/cdefs.h: Define __attribute_alloc_size.
24814 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24815 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24816 * elf/pldd.c: Likewise.
24817 * iconv/iconv_charmap.c: Likewise.
24818 * iconv/iconvconfig.c: Likewise.
24819 * iconv/strtab.c: Likewise.
24820 * locale/programs/locale.c: Likewise.
24821 * locale/programs/localedef.h: Likewise.
24822 * locale/programs/simple-hash.c: Likewise.
24823 * nscd/nscd.h: Likewise.
24824 * nss/makedb.c: Likewise.
24825 * sysdeps/generic/ldconfig.h: Likewise.
24826 * locale/programs/localedef.c: Remove xmalloc prototype.
24827 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24828
24829 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24830
24831 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24832 appropriate.
24833
24834 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24835
24836 * math/Makefile (tests): Add tst-CMPLX.
24837 * math/tst-CMPLX.c: New file.
24838
24839 * math/complex.h (CMPLXL): Fix typo.
24840
24841 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24842 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24843 GLIBC_2.16.
24844 * debug/tst-chk1.c: Add poll and ppoll tests.
24845 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24846 * include/sys/poll.h: Add hidden proto for ppoll.
24847 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24848 * sysdeps/mach/hurd/ppoll.c: Likewise.
24849 * io/ppoll.c: Likewise.
24850 * debug/poll_chk.c: New file.
24851 * debug/ppoll_chk.c: New file.
24852 * include/bits/poll2.h: New file.
24853 * io/bits/poll2.h: New file.
24854
24855 [BZ #1350]
24856 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24857
24858 * configure.in: static is always set to yes. Remove.
24859 * config.make.in: Don't set build-static.
24860 * Makeconfig: Remove use of build-static.
24861 * dlfcn/Makefile: Likewise.
24862 * elf/Makefile: Likewise.
24863 * math/Makefile: Likewise.
24864 * misc/Makefile: Likewise.
24865 * nptl/Makefile: Likewise.
24866 * sysdeps/mach/hurd/Makefile: Likewise.
24867
24868 * configure.in: PWD_P is not used anymore.
24869 * config.make.in: Remove PWD_P entry.
24870
24871 * configure.in: Remove last remnants of RANLIB.
24872 No need to check for signed size_t anymore.
24873 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24874 and IA-64.
24875 Remove __builtin_expect test because we require at least gcc 3.4.
24876 * aclocal.m4: Likewise.
24877
24878 * wcsmbs/mbrtoc16.c: Implement using towc function.
24879 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24880 * wcsmbs/wcsmbsload.c: Likewise.
24881 * iconv/gconv_simple.c: Likewise.
24882 * iconv/gconv_int.h: Likewise.
24883 * iconv/gconv_builtin.h: Likewise.
24884 * iconv/iconv_prog.c: Remove CHAR16 handling.
24885
24886 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24887
24888 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24889
24890 * configure.in: Remove --with-elf and --enable-bounded options.
24891 Dont set base_machine for ia64. More non-ELF conditions removed.
24892 Remove testing and setting of leading underscore information.
24893 * config.make.in (build-bounded): Set to no.
24894 * config.h.in: Remove NO_UNDERSCORES entry.
24895 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24896 them.
24897 * csu/start.c: Remove !NO_UNDERSCORE code.
24898 * locale/localeinfo.h: Likewise.
24899 * sysdeps/generic/machine-gmon.h: Likewise.
24900 * sysdeps/generic/sysdep.h: Likewise.
24901 * sysdeps/i386/sysdep.h: Likewise.
24902 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24903 * sysdeps/mach/sysdep.h: Likewise.
24904 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24905 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24906 * sysdeps/sh/sysdep.h: Likewise.
24907 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24908 * sysdeps/unix/i386/sysdep.S: Likewise.
24909 * sysdeps/unix/sparc/start.c: Likewise.
24910 * sysdeps/unix/sparc/sysdep.S: Likewise.
24911 * sysdeps/unix/sparc/sysdep.h: Likewise.
24912 * sysdeps/unix/start.c: Likewise.
24913 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24914 * sysdeps/x86_64/sysdep.h: Likewise.
24915
24916 2012-01-07 Ulrich Drepper <drepper@gmail.com>
24917
24918 [BZ #13553]
24919 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24920 for non-gcc.
24921 * argp/argp-fmtstream.h: Use const instead __const.
24922 * argp/argp.h: Likewise.
24923 * assert/assert.h: Likewise.
24924 * bits/fenv.h: Likewise.
24925 * bits/sched.h: Likewise.
24926 * bits/sigset.h: Likewise.
24927 * bits/sigthread.h: Likewise.
24928 * catgets/nl_types.h: Likewise.
24929 * conform/data/pthread.h-data: Likewise.
24930 * crypt/crypt-private.h: Likewise.
24931 * crypt/crypt.h: Likewise.
24932 * crypt/crypt_util.c: Likewise.
24933 * ctype/ctype.h: Likewise.
24934 * debug/execinfo.h: Likewise.
24935 * debug/mbsnrtowcs_chk.c: Likewise.
24936 * debug/mbsrtowcs_chk.c: Likewise.
24937 * debug/wcsnrtombs_chk.c: Likewise.
24938 * debug/wcsrtombs_chk.c: Likewise.
24939 * debug/wcstombs_chk.c: Likewise.
24940 * dirent/dirent.h: Likewise.
24941 * dlfcn/dlfcn.h: Likewise.
24942 * elf/neededtest4.c: Likewise.
24943 * grp/grp.h: Likewise.
24944 * gshadow/gshadow.h: Likewise.
24945 * iconv/gconv.h: Likewise.
24946 * iconv/gconv_int.h: Likewise.
24947 * iconv/gconv_simple.c: Likewise.
24948 * iconv/iconv.h: Likewise.
24949 * iconv/loop.c: Likewise.
24950 * iconv/skeleton.c: Likewise.
24951 * include/aio.h: Likewise.
24952 * include/aliases.h: Likewise.
24953 * include/argz.h: Likewise.
24954 * include/arpa/inet.h: Likewise.
24955 * include/assert.h: Likewise.
24956 * include/dirent.h: Likewise.
24957 * include/dlfcn.h: Likewise.
24958 * include/execinfo.h: Likewise.
24959 * include/fcntl.h: Likewise.
24960 * include/fenv.h: Likewise.
24961 * include/glob.h: Likewise.
24962 * include/grp.h: Likewise.
24963 * include/libintl.h: Likewise.
24964 * include/mntent.h: Likewise.
24965 * include/netdb.h: Likewise.
24966 * include/pwd.h: Likewise.
24967 * include/rpc/netdb.h: Likewise.
24968 * include/sched.h: Likewise.
24969 * include/search.h: Likewise.
24970 * include/shadow.h: Likewise.
24971 * include/signal.h: Likewise.
24972 * include/stdio.h: Likewise.
24973 * include/stdlib.h: Likewise.
24974 * include/string.h: Likewise.
24975 * include/sys/socket.h: Likewise.
24976 * include/sys/stat.h: Likewise.
24977 * include/sys/statfs.h: Likewise.
24978 * include/sys/statvfs.h: Likewise.
24979 * include/sys/syslog.h: Likewise.
24980 * include/sys/time.h: Likewise.
24981 * include/sys/uio.h: Likewise.
24982 * include/time.h: Likewise.
24983 * include/unistd.h: Likewise.
24984 * include/utmp.h: Likewise.
24985 * include/wchar.h: Likewise.
24986 * include/wctype.h: Likewise.
24987 * inet/aliases.h: Likewise.
24988 * inet/arpa/inet.h: Likewise.
24989 * inet/netinet/ether.h: Likewise.
24990 * inet/netinet/in.h: Likewise.
24991 * intl/libintl.h: Likewise.
24992 * io/bits/fcntl2.h: Likewise.
24993 * io/fcntl.h: Likewise.
24994 * io/ftw.h: Likewise.
24995 * io/sys/poll.h: Likewise.
24996 * io/sys/stat.h: Likewise.
24997 * io/sys/statfs.h: Likewise.
24998 * io/sys/statvfs.h: Likewise.
24999 * io/utime.h: Likewise.
25000 * libio/bits/stdio.h: Likewise.
25001 * libio/bits/stdio2.h: Likewise.
25002 * libio/libio.h: Likewise.
25003 * libio/libioP.h: Likewise.
25004 * libio/stdio.h: Likewise.
25005 * locale/lc-ctype.c: Likewise.
25006 * locale/locale.h: Likewise.
25007 * login/utmp.h: Likewise.
25008 * malloc/arena.c: Likewise.
25009 * malloc/malloc.c: Likewise.
25010 * malloc/malloc.h: Likewise.
25011 * malloc/mcheck.c: Likewise.
25012 * malloc/mtrace.c: Likewise.
25013 * math/bits/mathcalls.h: Likewise.
25014 * math/fenv.h: Likewise.
25015 * math/math_private.h: Likewise.
25016 * misc/bits/error.h: Likewise.
25017 * misc/bits/syslog.h: Likewise.
25018 * misc/err.h: Likewise.
25019 * misc/error.h: Likewise.
25020 * misc/fstab.h: Likewise.
25021 * misc/mntent.h: Likewise.
25022 * misc/regexp.h: Likewise.
25023 * misc/search.h: Likewise.
25024 * misc/sgtty.h: Likewise.
25025 * misc/sys/mman.h: Likewise.
25026 * misc/sys/syslog.h: Likewise.
25027 * misc/sys/uio.h: Likewise.
25028 * misc/sys/xattr.h: Likewise.
25029 * misc/ttyent.h: Likewise.
25030 * nis/rpcsvc/ypclnt.h: Likewise.
25031 * nss/nss.h: Likewise.
25032 * posix/bits/unistd.h: Likewise.
25033 * posix/fnmatch.h: Likewise.
25034 * posix/glob.h: Likewise.
25035 * posix/sched.h: Likewise.
25036 * posix/spawn.h: Likewise.
25037 * posix/sys/wait.h: Likewise.
25038 * posix/unistd.h: Likewise.
25039 * posix/wordexp.h: Likewise.
25040 * pwd/pwd.h: Likewise.
25041 * resolv/netdb.h: Likewise.
25042 * resource/sys/resource.h: Likewise.
25043 * rt/aio.h: Likewise.
25044 * rt/bits/mqueue2.h: Likewise.
25045 * rt/mqueue.h: Likewise.
25046 * shadow/shadow.h: Likewise.
25047 * signal/signal.h: Likewise.
25048 * socket/send.c: Likewise.
25049 * socket/sendto.c: Likewise.
25050 * socket/sys/socket.h: Likewise.
25051 * stdio-common/printf.h: Likewise.
25052 * stdlib/bits/stdlib.h: Likewise.
25053 * stdlib/fmtmsg.h: Likewise.
25054 * stdlib/monetary.h: Likewise.
25055 * stdlib/stdlib.h: Likewise.
25056 * stdlib/ucontext.h: Likewise.
25057 * streams/stropts.h: Likewise.
25058 * string/argz.h: Likewise.
25059 * string/bits/string2.h: Likewise.
25060 * string/string.h: Likewise.
25061 * string/strings.h: Likewise.
25062 * sunrpc/rpc/auth.h: Likewise.
25063 * sunrpc/rpc/auth_des.h: Likewise.
25064 * sunrpc/rpc/clnt.h: Likewise.
25065 * sunrpc/rpc/netdb.h: Likewise.
25066 * sunrpc/rpc/pmap_clnt.h: Likewise.
25067 * sunrpc/rpc/xdr.h: Likewise.
25068 * sysdeps/generic/inttypes.h: Likewise.
25069 * sysdeps/generic/net/if.h: Likewise.
25070 * sysdeps/generic/sys/swap.h: Likewise.
25071 * sysdeps/gnu/net/if.h: Likewise.
25072 * sysdeps/gnu/utmpx.h: Likewise.
25073 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25074 * sysdeps/i386/i486/bits/string.h: Likewise.
25075 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25076 * sysdeps/s390/bits/string.h: Likewise.
25077 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25078 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25079 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25080 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25081 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25082 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25083 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25084 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25085 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25086 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25087 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25088 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25089 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25090 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25091 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25092 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25093 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25095 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25096 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25097 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25098 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25099 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25100 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25101 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25102 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25103 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25104 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25105 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25106 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25107 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25108 * sysvipc/sys/ipc.h: Likewise.
25109 * sysvipc/sys/msg.h: Likewise.
25110 * sysvipc/sys/sem.h: Likewise.
25111 * sysvipc/sys/shm.h: Likewise.
25112 * termios/termios.h: Likewise.
25113 * time/sys/time.h: Likewise.
25114 * time/time.h: Likewise.
25115 * wcsmbs/bits/wchar2.h: Likewise.
25116 * wcsmbs/uchar.h: Likewise.
25117 * wcsmbs/wchar.h: Likewise.
25118 * wctype/wctype.h: Likewise.
25119
25120 [BZ #13551]
25121 * Makeconfig: Remove all but ELF support including AIX support.
25122 * Makerules: Likewise.
25123 * config.h.in: Likewise.
25124 * config.make.in: Likewise.
25125 * configure: Likewise.
25126 * configure.in: Likewise.
25127 * csu/Makefile: Likewise.
25128 * csu/version.c: Likewise.
25129 * debug/Makefile: Likewise.
25130 * dlfcn/Makefile: Likewise.
25131 * elf/Makefile: Likewise.
25132 * extra-lib.mk: Likewise.
25133 * iconv/Makefile: Likewise.
25134 * include/libc-symbols.h: Likewise.
25135 * include/shlib-compat.h: Likewise.
25136 * resolv/Makefile: Likewise.
25137 * resolv/res_libc.c: Likewise.
25138 * rt/Makefile: Likewise.
25139 * sysdeps/i386/asm-syntax.h: Likewise.
25140 * sysdeps/i386/sysdep.h: Likewise.
25141 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25142 * sysdeps/mach/sysdep.h: Likewise.
25143 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25144 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25145 * sysdeps/s390/asm-syntax.h: Likewise.
25146 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25147 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25148 * sysdeps/sh/sysdep.h: Likewise.
25149 * sysdeps/unix/sparc/sysdep.h: Likewise.
25150 * sysdeps/wordsize-32/divdi3.c: Likewise.
25151 * sysdeps/x86_64/sysdep.h: Likewise.
25152
25153 * argp/Versions: Remove _argp_unlock_xxx.
25154
25155 [BZ #13559]
25156 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25157 * abilist/libBrokenLocale.abilist: Likewise.
25158 * abilist/libanl.abilist: Likewise.
25159 * abilist/libc.abilist: Likewise.
25160 * abilist/libcrypt.abilist: Likewise.
25161 * abilist/libdl.abilist: Likewise.
25162 * abilist/libm.abilist: Likewise.
25163 * abilist/libnsl.abilist: Likewise.
25164 * abilist/libpthread.abilist: Likewise.
25165 * abilist/libresolv.abilist: Likewise.
25166 * abilist/librt.abilist: Likewise.
25167 * abilist/libthread_db.abilist: Likewise.
25168 * abilist/libutil.abilist: Likewise.
25169 * abilist/libnss_db.abilist: New file.
25170
25171 * scripts/abilist.awk: Add support for indirect functions.
25172
25173 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25174
25175 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25176
25177 * shlib-versions: Remove entries for ports architectures.
25178
25179 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25180 files in ports.
25181 * elf/stackguard-macros.h: Remove support for IA-64.
25182 * elf/tst-auditmod1.c: Likewise.
25183 * sysdeps/generic/ldsodefs.h: Likewise.
25184
25185 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25186 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25187 configure files.
25188
25189 [BZ #13552]
25190 * configure.in: Remove --enable-omitfp support.
25191 * FAQ.in: Adjust.
25192 * config.make.in: Likewise.
25193 * Makeconfig: Likewise.
25194 * manual/install.texi: Likewise.
25195
25196 In case anyone cares, the IA-64 architecture could move to ports.
25197 * sysdeps/ia64/*: Removed.
25198 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25199 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25200
25201 [BZ #13555]
25202 * configure.in: Remove entries for unsupported architectures.
25203
25204 [BZ #13533]
25205 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25206 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25207 routines.
25208 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25209 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25210 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25211 fall back to using wcrtomb.
25212 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25213 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25214 renaming.
25215 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25216 * wcsmbs/tst-c16c32-1.c: New file.
25217
25218 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25219 local variable.
25220
25221 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25222
25223 * elf/tst-unique3.cc: Add explicit declaration of gets.
25224 * elf/tst-unique3lib.cc: Likewise.
25225 * elf/tst-unique3lib2.cc: Likewise.
25226 * elf/tst-unique4.cc: Likewise.
25227
25228 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25229
25230 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25231
25232 [BZ #13566]
25233 * assert/assert.h (static_assert): Don't define for C++.
25234 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25235 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25236
25237 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25238
25239 * iconv/loop.c (single loop): Fix assertion in storing of
25240 remaining bytes.
25241
25242 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25243
25244 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25245
25246 * posix/getconf.c: Update copyright year.
25247 * nss/getent.c: Likewise.
25248 * nss/makedb.c: Likewise.
25249 * iconv/iconvconfig.c: Likewise.
25250 * iconv/iconv_prog.c: Likewise.
25251 * elf/ldconfig.c: Likewise.
25252 * elf/pldd.c: Likewise.
25253 * elf/sotruss.ksh: Likewise.
25254 * catgets/gencat.c: Likewise.
25255 * csu/version.c: Likewise.
25256 * elf/ldd.bash.in: Likewise.
25257 * elf/sprof.c (print_version): Likewise.
25258 * locale/programs/locale.c: Likewise.
25259 * locale/programs/localedef.c: Likewise.
25260 * login/programs/pt_chown.c: Likewise.
25261 * nscd/nscd.c (print_version): Likewise.
25262 * debug/xtrace.sh: Likewise.
25263 * malloc/memusage.sh: Likewise.
25264 * malloc/mtrace.pl: Likewise.
25265 * debug/catchsegv.sh: Likewise.
25266
25267 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25268
25269 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25270 pure attribute.
25271
25272 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25273
25274 [BZ #13533]
25275 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25276 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25277 transformations.
25278 * iconv/gconv_int.h: Likewise.
25279 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25280 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25281 from libc for GLIBC_2.16.
25282 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25283 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25284 * wcsmbs/uchar.h: Really define mbstate_t.
25285 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25286 * wcsmbs/c16rtomb.c: New file.
25287 * wcsmbs/mbrtoc16.c: New file.
25288 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25289 for C/POSIX locale.
25290 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25291 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25292
25293 * wcsmbs/wchar.h: Add missing __restrict.
25294
25295 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25296
25297 [BZ #13532]
25298 * time/Makefile (routines): Add timespec_get.
25299 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25300 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25301 timespec for ISO C11.
25302 * time/timespec_get.c: New file.
25303 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25304 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25305
25306 [BZ #13531]
25307 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25308 * stdlib/stdlib.h: Declare aligned_alloc.
25309 * Versions.def: Add GLIBC_2.16 for libc.
25310 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25311
25312 [BZ 13527]
25313 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25314 ISO C11.
25315
25316 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25317 code.
25318
25319 [BZ #13528]
25320 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25321
25322 [BZ #13529]
25323 * assert/assert.h (static_assert): Define.
25324
25325 * version.h: Update for 2.16 development version.
25326
25327 [BZ #13526]
25328 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25329 _ISOC11_SOURCE.
25330
25331 * version.h (RELEASE): Bump for 2.15 release.
25332 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25333
25334 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25335 Patch by Marek Polacek <mpolacek@redhat.com>.
25336
25337 * bits/byteswap.h: Protect long long constants with __extension__.
25338 * sysdeps/i386/bits/byteswap.h: Likewise.
25339 * sysdeps/ia64/bits/byteswap.h: Likewise.
25340 * sysdeps/s390/bits/byteswap.h: Likewise.
25341 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25342
25343 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25344
25345 [BZ #13540]
25346 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25347 destination buffer.
25348 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25349
25350 2011-12-23 Marek Polacek <polacek@redhat.com>
25351
25352 * elf/dl-addr.c (determine_info): Add inline keyword.
25353 * elf/tst-auditmod4b.c (check_avx): Likewise.
25354 * elf/tst-auditmod6b.c (check_avx): Likewise.
25355 * elf/tst-auditmod6c.c (check_avx): Likewise.
25356 * elf/tst-auditmod7b.c (check_avx): Likewise.
25357
25358 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25359
25360 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25361 !__SSE_MATH__.
25362
25363 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25364
25365 [BZ #13540]
25366 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25367 processing for last bytes.
25368
25369 2011-08-06 Bruno Haible <bruno@clisp.org>
25370
25371 [BZ #13061]
25372 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25373 U+0385, not to U+1FEE.
25374
25375 [BZ #13062]
25376 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25377 entry for U+00A5 U+0301.
25378
25379 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25380
25381 [BZ #13166]
25382 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25383 buffer for the output is too small.
25384
25385 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25386 optimization.
25387
25388 [BZ #13185]
25389 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25390 SSE flags if possible.
25391
25392 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25393
25394 [BZ #13540]
25395 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25396 processing for last bytes.
25397
25398 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25399
25400 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25401 (syscall-list-default-options, syscall-list-default-condition)
25402 (syscall-list-includes): Define.
25403 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25404 list of ABIs and options and #if conditions for each ABI. Do not
25405 handle common syscalls between ABIs specially.
25406 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25407 Remove.
25408 (syscall-list-variants, syscall-list-32bit-options)
25409 (syscall-list-32bit-condition, syscall-list-64bit-options)
25410 (syscall-list-64bit-condition): Define.
25411 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25412 (syscall-list-variants, syscall-list-32bit-options)
25413 (syscall-list-32bit-condition, syscall-list-64bit-options)
25414 (syscall-list-64bit-condition): Define.
25415 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25416 Remove.
25417 (syscall-list-variants, syscall-list-32bit-options)
25418 (syscall-list-32bit-condition, syscall-list-64bit-options)
25419 (syscall-list-64bit-condition): Define.
25420 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25421 Remove.
25422 (syscall-list-variants, syscall-list-32bit-options)
25423 (syscall-list-32bit-condition, syscall-list-64bit-options)
25424 (syscall-list-64bit-condition): Define.
25425
25426 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25427
25428 * locale/iso-639.def: Add brx entry.
25429
25430 [BZ #13328]
25431 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25432 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25433
25434 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25435 __feraiseexcept_renamed.
25436
25437 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25438
25439 [BZ #13538]
25440 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25441 EPOLLET with unsigned values.
25442 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25443 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25444
25445 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25446 to large cancellation.
25447 * math/s_cacoshf.c: Likewise.
25448 * math/s_cacoshl.c: Likewise.
25449
25450 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25451
25452 [BZ #13305]
25453 [BZ #12786]
25454 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25455 * math/s_cacoshf.c: Likewise.
25456 * math/s_cacoshl.c: Likewise.
25457
25458 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25459
25460 [BZ #13439]
25461 * iconv/gconv.h: Define __GCONV_SWAP.
25462 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25463 * iconvdata/utf-16.c: Likewise.
25464 * iconvdata/utf-32.c: Likewise.
25465
25466 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25467
25468 [BZ #13524]
25469 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25470 numerator after shifting it by one limb.
25471
25472 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25473
25474 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25475 under [__USE_EXTERN_INLINES].
25476
25477 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25478
25479 [BZ #13446]
25480 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25481
25482 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25483
25484 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25485 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25486 optimized code.
25487 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25488 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25489 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25490 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25491 for strncasecmp/strncasecmp_l compilation.
25492 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25493 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25494
25495 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25496
25497 [BZ #13484]
25498 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25499 of __asm__.
25500
25501 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25502
25503 [BZ #13506]
25504 * time/tzfile.c (__tzfile_read): Check values from file header.
25505
25506 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25507
25508 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25509 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25510 * powerpc/powerpc32/dl-start.S: Likewise.
25511 * powerpc/powerpc32/elf/start.S: Likewise.
25512 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25513 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25514 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25515 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25516 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25517 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25518 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25519 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25520 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25521 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25522 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25523 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25524 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25525 * powerpc/powerpc32/memset.S: Likewise.
25526 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25527 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25528 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25529 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25530 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25531 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25532 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25533 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25534 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25535 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25536 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25537 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25538 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25539
25540 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25541
25542 * math/libm-test.inc: Added more nearbyint tests.
25543 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25544 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25545 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25546 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25547
25548 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25549
25550 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25551 FD_CLOEXEC.
25552
25553 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25554
25555 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25556 Add wcscpy-ssse3 wcscpy-c.
25557 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25558 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25559 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25560 * sysdeps/x86_64/wcschr.S: New file.
25561 * sysdeps/x86_64/wcsrchr.S: New file.
25562 * string/test-strcmp.c: Remove checking of wcscmp function for
25563 wrong alignments.
25564 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25565 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25566 wcsrchr-sse2 wcsrchr-c.
25567 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25568 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25569 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25570 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25571 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25572 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25573 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25574 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25575 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25576 * wcsmbc/wcschr.c (WCSCHR): New macro.
25577
25578 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25579
25580 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25581 * wcsmbs/test-wcsrchr.c: New file.
25582 * string/test-strrchr.c: Add wcsrchr support.
25583 (WIDE): New macro.
25584 * wcsmbs/test-wcscpy.c: New file.
25585 * string/test-strcpy.c: Add wcscpy support.
25586 (WIDE): New macro.
25587
25588 2011-12-10 Ulrich Drepper <drepper@gmail.com>
25589
25590 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25591 the inner loop.
25592
25593 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25594
25595 [BZ #13472]
25596 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25597
25598 2011-12-04 Ulrich Drepper <drepper@gmail.com>
25599
25600 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25601 Minor optimizations.
25602
25603 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25604 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25605 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25606
25607 2011-12-03 Ulrich Drepper <drepper@gmail.com>
25608
25609 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25610 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25611 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25612 for gcc to avoid warnings.
25613 * inet/Makefile (tests): Add tst-checks.
25614 * inet/tst-checks.c: New file.
25615
25616 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25617 warning.
25618
25619 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25620 __wmemcmp_sse2.
25621
25622 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25623 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25624
25625 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25626
25627 2011-12-02 Ulrich Drepper <drepper@gmail.com>
25628
25629 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25630 problem.
25631
25632 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25633
25634 2011-11-29 Joseph Myers <joseph@codesourcery.com>
25635
25636 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25637 conditional on GCC version.
25638 (__arch_compare_and_exchange_val_8_acq)
25639 (__arch_compare_and_exchange_val_16_acq)
25640 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25641 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25642 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25643
25644 2011-12-02 Joseph Myers <joseph@codesourcery.com>
25645
25646 * sysdeps/sh/backtrace.c: New file.
25647
25648 2011-12-02 Andreas Schwab <schwab@redhat.com>
25649
25650 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25651 parenthesis.
25652
25653 2011-12-01 Andreas Schwab <schwab@redhat.com>
25654
25655 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25656 falling back to utime.
25657
25658 2011-11-30 Andreas Schwab <schwab@redhat.com>
25659
25660 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25661 expectations for float.
25662
25663 2011-11-29 Andreas Schwab <schwab@redhat.com>
25664
25665 * locale/weight.h (findidx): Add parameter len.
25666 * locale/weightwc.h (findidx): Likewise.
25667 * posix/fnmatch_loop.c (FCT): Adjust caller.
25668 * posix/regcomp.c (build_equiv_class): Likewise.
25669 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25670 * posix/regexec.c (check_node_accept_bytes): Likewise.
25671 * string/strcoll_l.c (STRCOLL): Likewise.
25672 * string/strxfrm_l.c (STRXFRM): Likewise.
25673
25674 2011-11-17 Ulrich Drepper <drepper@gmail.com>
25675
25676 * Makefile.in: Remove CVSOPT handling.
25677 * configure.in: Remove use of AC_REVISION.
25678 * iconvdata/Makefile (distribute): No need to filter out CVS.
25679 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25680 handling.
25681
25682 2011-11-16 Andreas Schwab <schwab@redhat.com>
25683
25684 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25685 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25686 [USE_AS_STRNCASECMP_L]: Likewise.
25687 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25688 NO_TLS_DIRECT_SEG_REFS.
25689 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25690 Fix argument offsets for non-PIC.
25691 [USE_AS_STRNCASECMP_L]: Likewise.
25692 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25693 NO_TLS_DIRECT_SEG_REFS.
25694
25695 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25696
25697 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25698 O_CLOEXEC.
25699 * locale/loadlocale.c (_nl_load_locale): Likewise.
25700
25701 2011-11-15 Andreas Schwab <schwab@redhat.com>
25702
25703 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25704 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25705 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25706 (SYSCALL_GETTIME): Set errno on error.
25707
25708 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25709 count references to noai6ai_cached.
25710
25711 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25712
25713 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25714
25715 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25716 FD_CLOEXEC for /proc/self/maps.
25717
25718 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25719 FD_CLOEXEC for /proc/meminfo.
25720
25721 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25722 gai.conf.
25723
25724 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25725 FD_CLOEXEC for given file.
25726
25727 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25728
25729 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25730 FD_CLOEXEC for /etc/hosts.
25731 (_gethtent): Likewise.
25732
25733 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25734
25735 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25736 cancellation and set FD_CLOEXEC for /etc/netgroup.
25737
25738 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25739 reading /etc/publickey.
25740
25741 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25742 allow cancellation when reading /etc/group.
25743
25744 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25745 cancellation.
25746 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25747
25748 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25749 when using data file.
25750
25751 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25752
25753 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25754 (write_nis_obj): Use "c" and "e" in fopen.
25755
25756 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25757
25758 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25759
25760 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25761
25762 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25763
25764 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25765 locale.alias.
25766
25767 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25768
25769 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25770
25771 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25772
25773 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25774 file parsing and set FD_CLOEXEC.
25775
25776 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25777
25778 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25779
25780 2011-11-14 Andreas Schwab <schwab@redhat.com>
25781
25782 * malloc/arena.c (arena_get2): Don't call reused_arena when
25783 _int_new_arena failed.
25784
25785 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25786
25787 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25788 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25789 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25790 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25791 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25792 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25793 to compile strcasecmp and strncasecmp.
25794 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25795 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25796
25797 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25798
25799 2011-11-13 Ulrich Drepper <drepper@gmail.com>
25800
25801 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25802 locale-defines.sym to gen-as-const-headers.
25803 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25804 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25805 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25806 to compile strcasecmp and strncasecmp.
25807 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25808 strcasecmp_l and strncasecmp_l.
25809 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25810 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25811 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25812 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25813 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25814 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25815 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25816 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25817 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25818 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25819 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25820
25821 2011-11-12 Ulrich Drepper <drepper@gmail.com>
25822
25823 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25824 result of SYSDEP_GETTIME_CPU to retval.
25825 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25826 parameter list to macro. Remove trailing semicolon. Adjust users.
25827
25828 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25829 variable.
25830
25831 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25832 mantissa words.
25833 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25834
25835 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25836 from unused variable.
25837
25838 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25839 DWARF definitions.
25840 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25841 for assembling.
25842
25843 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25844 over namespaces.
25845
25846 * sunrpc/rpc_prot.c (rejected): Fix case value.
25847
25848 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25849 unsigned long long int to avoid warnings in shift.
25850
25851 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25852 of use of trans.
25853 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25854 variable tmp.
25855
25856 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25857 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25858 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25859
25860 * nis/nis_table.c (nis_list): Use variable of correct type for
25861 result of __follow_path call.
25862
25863 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25864
25865 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25866 of math functions ceil, trunc, floor, round, and sqrt, when
25867 avaliable on the platform.
25868 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25869 name clash.
25870 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25871 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25872 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25873
25874 2011-10-30 Marek Polacek <mpolacek@redhat.com>
25875
25876 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25877 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25878
25879 2011-11-11 Roland McGrath <roland@hack.frob.com>
25880
25881 * include/unistd.h: Fix __readlink return type.
25882 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25883
25884 2011-11-11 Ulrich Drepper <drepper@gmail.com>
25885
25886 * stdlib/ucontext.h: Undo last change for makecontext.
25887
25888 2011-11-11 Andreas Schwab <schwab@redhat.com>
25889
25890 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25891
25892 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25893 * setjmp/setjmp.h: Mark functions as non-leaf.
25894 * setjmp/bits/setjmp2.h: Likewise.
25895 * stdlib/ucontext.h: Likewise.
25896
25897 2011-11-10 Andreas Schwab <schwab@redhat.com>
25898
25899 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25900 (reused_arena): Don't check arena limit.
25901 (arena_get2): Atomically check arena limit.
25902
25903 2011-11-08 Ulrich Drepper <drepper@gmail.com>
25904
25905 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25906 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25907
25908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25909 instructions.
25910
25911 2011-11-07 Andreas Schwab <schwab@redhat.com>
25912
25913 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25914 handler when locking.
25915
25916 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25917 Fix size of allocated buffer.
25918
25919 2011-11-04 Andreas Schwab <schwab@redhat.com>
25920
25921 [BZ #10103]
25922 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25923 declarations for long double functions.
25924 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25925
25926 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25927
25928 2011-11-03 Andreas Schwab <schwab@redhat.com>
25929
25930 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25931 installed.
25932
25933 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25934 is disabled.
25935
25936 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25937
25938 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25939
25940 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25941
25942 * include/alloca.h (stackinfo_alloca_round): Define.
25943 (extend_alloca): Use it.
25944 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25945 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25946 here.
25947
25948 * scripts/check-local-headers.sh: Ignore libaudit.h.
25949
25950 * nscd/Makefile (extra-objs): Make recursively expanded.
25951
25952 2011-11-01 Ulrich Drepper <drepper@gmail.com>
25953
25954 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25955 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25956
25957 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25958 * posix/tst-rfc3484-2.c: Likewise.
25959 * posix/tst-rfc3484-3.c: Likewise.
25960
25961 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25962 process_vm_writev.
25963 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25964 process_vm_writev.
25965 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25966 process_vm_writev from libc using GLIBC_2.15 version.
25967
25968 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25969
25970 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25971
25972 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25973 stack usage.
25974
25975 2011-10-31 Ulrich Drepper <drepper@gmail.com>
25976
25977 [BZ #13367]
25978 * nss/getent.c (initgroups_keys): Show error message in case no group
25979 names are given.
25980
25981 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25982 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25983 __bump_nl_timestamp.
25984 * nscd/connections (nscd_init): When host database is served open
25985 netlink socket and request notification about configuration changes.
25986 (main_loop_poll): Track netlink file descriptor and bump timestamp
25987 in case data becomes available.
25988 (main_loop_epoll): Likewise.
25989 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25990 (database_pers_head): Add extra_data fileds.
25991 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25992 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25993 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25994 Adjust caller.
25995 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25996 in6ai data, call __free_in6ai.
25997 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25998 Add -DHAVE_NETLINK.
25999 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26000 interface information. Reuse previous data if netlink timestamp
26001 is not changed.
26002 (__bump_nl_timestamp): New function.
26003 (__free_in6ai): New function.
26004
26005 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26006
26007 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26008 close_not_cancel_no_status here.
26009 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26010
26011 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26012
26013 [BZ #13276]
26014 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26015 return value.
26016
26017 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26018 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26019 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26020
26021 2011-07-03 Andreas Jaeger <aj@suse.de>
26022
26023 [BZ #10709]
26024 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26025 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26026 * math/libm-test.inc (sin_test): Add test case.
26027
26028 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26029
26030 [BZ #13337]
26031 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26032 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26033
26034 * elf/chroot_canon.c (chroot_canon): Cleanups.
26035
26036 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26037
26038 [BZ #13335]
26039 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26040 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26041
26042 * string/test-strchr.c: Make usable for strchrnul testing.
26043 * string/test-strchrnul.c: New file.
26044 * string/Makefile (strop-tests): Add strchrnul.
26045
26046 * po/it.po: Update from translation team.
26047 * po/es.po: Likewise.
26048
26049 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26050
26051 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26052 the three constants needed as parameters. Drop the others.
26053 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26054 __m128i_strloadu_tolower.
26055 Create and initialize variable zero and use it in all the places
26056 where _mm_setzero_si128 was used.
26057
26058 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26059 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26060 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26061 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26062 anymore.
26063 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26064 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26065 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26066 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26067 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26068 __mpranred, __mptan.
26069 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26070 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26071 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26072 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26073 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26074 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26075 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26076 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26077 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26078
26079 2011-10-28 Andreas Schwab <schwab@redhat.com>
26080
26081 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26082 redefine if SHARED.
26083 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26084
26085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26086 wide char related routines to wcsmbs subdir.
26087
26088 2011-10-27 Andreas Schwab <schwab@redhat.com>
26089
26090 [BZ #13344]
26091 * misc/sys/cdefs.h (__THROWNL): Define.
26092 * posix/unistd.h: Use __THREADNL instead of __THREAD
26093 for memory synchronization functions.
26094
26095 2011-10-26 Roland McGrath <roland@hack.frob.com>
26096
26097 [BZ #13349]
26098 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26099 doesn't exist.
26100 * manual/stdio.texi (Obstack Streams): Node removed.
26101
26102 2011-10-26 Andreas Schwab <schwab@redhat.com>
26103
26104 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26105 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26106 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26107
26108 * math/math_private.h (math_force_eval): Allow non-addressable
26109 arguments.
26110 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26111
26112 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26113
26114 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26115 file is not needed.
26116
26117 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26119 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26120 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26121 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26122 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26123 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26124 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26125 Add AVX variants.
26126 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26127 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26128 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26129 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26130 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26131 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26132 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26133 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26134 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26135 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26136 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26137 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26138 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26139 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26140 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26141 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26142 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26143 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26144 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26145
26146 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26147 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26148
26149 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26150 place. Use VEX encoding when compiling for AVX.
26151
26152 2011-10-25 Andreas Schwab <schwab@redhat.com>
26153
26154 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26155 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26156
26157 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26158
26159 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26160
26161 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26162 useless if() expression.
26163 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26165 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26166 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26167 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26168 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26171 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26172 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26173 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26174 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26175 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26176 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26177 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26178 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26179 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26181 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26182
26183 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26184
26185 2011-10-25 Andreas Schwab <schwab@redhat.com>
26186
26187 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26188 condition.
26189 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26190
26191 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26192
26193 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26194 .text section. Avoid duplicate constants.
26195 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26205 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26207 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26210 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26212 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26218 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26219 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26220 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26221 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26222 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26223 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26224 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26225 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26226 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26227 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26228 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26229 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26230 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26231 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26232 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26233 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26234 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26235 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26236 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26237 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26238 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26239 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26240
26241 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26242
26243 * sysdeps/x86_64/dla.h: Move to ...
26244 * sysdeps/x86_64/fpu/dla.h: ...here.
26245 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26246 situations. Use __builtin_fma only for gcc 4.6 and up.
26247
26248 * config.make.in: Add have-mfma4 entry.
26249 * configure.in: Substitute libc_cv_cc_fma4.
26250 * math/Makefile (dbl-only-routines): Add sincostab.
26251 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26252 Use __sincostab not sincos.
26253 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26254 name is a macro.
26255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26259 using __copysign.
26260 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26261 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26262 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26263 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26264 and __inv.
26265 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26266 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26267 __copysign.
26268 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26269 define aliases when function name is a macro.
26270 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26271 sysdeps/ieee754/dbl-64/sincos.tbl.
26272 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26273 fma4-enabled routines.
26274 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26275 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26276 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26277 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26278 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26279 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26280 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26281 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26282 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26283 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26284 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26285 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26286 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26287 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26288 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26289 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26290 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26291 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26292 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26293 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26294 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26295 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26296 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26297 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26299 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26300 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26301 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26302 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26303 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26304
26305 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26306 rename.
26307 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26308 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26310 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26311 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26312 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26313 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26314 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26315
26316 2011-10-24 Andreas Schwab <schwab@redhat.com>
26317
26318 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26319
26320 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26321
26322 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26323
26324 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26325 prediction.
26326 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26327
26328 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26329 Remove unused variable magic_bits.
26330 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26331
26332 * string/strnlen.c: Define and use STRNLEN macro.
26333 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26334 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26335 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26336 * wcsmbs/wcslen.c: Define and use WCSLEN.
26337 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26338 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26339 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26340 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26341 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26342 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26343 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26344
26345 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26346
26347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26348 strnlen-sse2-no-bsf.
26349 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26350 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26351 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26352 Add strnlen support.
26353 (USE_AS_STRNLEN): New macro.
26354 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26355 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26356 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26357 * sysdeps/x86_64/wcslen.S: New file.
26358
26359 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26360
26361 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26362 XMM-moves are used for copying on small sizes.
26363
26364 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26365
26366 * wcsmbs/Makefile (strop-tests): Add wcschr.
26367 * wcsmbs/test-wcschr.c: New file.
26368 * string/test-strchr.c: Update.
26369 Add wcschr support.
26370 (WIDE): New macro.
26371
26372 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26373
26374 * wcsmbs/Makefile (strop-tests): Add wcslen.
26375 * wcsmbs/test-wcslen.c: New file.
26376 * string/test-strlen.c: Update.
26377 Add wcslen support.
26378 (WIDE): New macro.
26379
26380 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26381
26382 * po/it.po: Update from translation team.
26383
26384 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26385
26386 * sysdeps/x86_64/wcscmp.S: Update.
26387 Fix wrong comparison semantics.
26388 wcscmp shall use signed comparison not unsigned.
26389 Don't use substraction to avoid overflow bug.
26390 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26391 * wcsmbc/wcscmp.c: Likewise.
26392 * string/test-strcmp.c: Likewise.
26393 Add new tests to check cases with negative values.
26394
26395 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26396
26397 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26398 * sysdeps/x86_64/dla.h: ...here. New file.
26399 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26404 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26406 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26408
26409 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26410
26411 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26412 __ynl_finite aliases.
26413
26414 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26415
26416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26417
26418 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26419 define DLA_FMA.
26420 [DLA_FMA] (EMULV): Use DLA_FMA.
26421 [DLA_FMA] (MUL12): Use EMULV.
26422 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26423 that are not needed.
26424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26428 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26431
26432 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26433
26434 * math/s_nan.c: Undef __nan.
26435 * math/s_nanf.c: Undef __nanf.
26436 * math/s_nanl.c: Undef __nanl.
26437 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26438 "math_private.h".
26439
26440 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26441
26442 * math/s_catan.c: Add branch predictions.
26443 * math/s_catanf.c: Likewise.
26444 * math/s_catanh.c: Likewise.
26445 * math/s_catanhf.c: Likewise.
26446 * math/s_catanhl.c: Likewise.
26447 * math/s_catanl.c: Likewise.
26448 * math/s_cexp.c: Likewise.
26449 * math/s_cexpf.c: Likewise.
26450 * math/s_cexpl.c: Likewise.
26451 * math/s_clog.c: Likewise.
26452 * math/s_clog10.c: Likewise.
26453 * math/s_clog10f.c: Likewise.
26454 * math/s_clog10l.c: Likewise.
26455 * math/s_clogf.c: Likewise.
26456 * math/s_clogl.c: Likewise.
26457 * math/s_csqrt.c: Likewise.
26458 * math/s_csqrtf.c: Likewise.
26459 * math/s_csqrtl.c: Likewise.
26460 * math/s_ctanf.c: Likewise.
26461 * math/s_ctanh.c: Likewise.
26462 * math/s_ctanhf.c: Likewise.
26463 * math/s_ctanhl.c: Likewise.
26464 * math/s_ctanl.c: Likewise.
26465
26466 * math/math_private.h: Define __nan, __nanf, __nanl.
26467 * math/s_cacosh.c: Include <math_private.h>.
26468 * math/s_cacoshl.c: Likewise.
26469 * math/s_casinh.c: Likewise.
26470 * math/s_casinhf.c: Likewise.
26471 * math/s_casinhl.c: Likewise.
26472 * math/s_ccos.c: Rely entire on ccosh.
26473 * math/s_ccosf.c: Rely entire on ccoshf.
26474 * math/s_ccosl.c: Rely entirely on ccoshl.
26475 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26476 Remove tests for FE_INVALID.
26477 * math/s_ccoshf.c: Likewise.
26478 * math/s_ccoshl.c: Likewise.
26479 * math/s_csin.c: Likewise.
26480 * math/s_csinf.c: Likewise.
26481 * math/s_csinh.c Likewise.
26482 * math/s_csinhf.c: Likewise.
26483 * math/s_csinhl.c: Likewise.
26484 * math/s_csinl.c: Likewise.
26485 * math/s_ctan.c: Likewise.
26486 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26487 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26488 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26489
26490 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26491
26492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26493 compilation problems.
26494
26495 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26496 __builtin_expect.
26497
26498 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26499
26500 * sysdeps/i386/configure.in: Test for -mfma4 option.
26501 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26502 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26503 COMMON_CPUID_INDEX_80000001.
26504 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26505 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26506 use it if FMA3 is not supported.
26507 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26508
26509 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26510 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26511
26512 2011-10-20 Andreas Schwab <schwab@redhat.com>
26513
26514 [BZ #12892]
26515 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26516 it would create a cycle with a link time dependency.
26517
26518 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26519
26520 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26521 instruction.
26522 * string/Makefile (strop-tests): Add rawmemchr.
26523 * string/test-rawmemchr.c: New file.
26524
26525 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26526 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26527 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26528 when compiling str{,n}casecmp and when AVX is available. Hook up
26529 new optimized code in initializers.
26530
26531 2011-10-19 Andreas Schwab <schwab@redhat.com>
26532
26533 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26534 __feraiseexcept instead of feraiseexcept.
26535
26536 2011-10-18 Ulrich Drepper <drepper@gmail.com>
26537
26538 * math/math_private.h: Define defaults for libc_fetestexcept and
26539 libc_feupdateenv.
26540 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26541 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26542 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26543 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26544 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26545 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26546 libc_fetestexcept and libc_feupdateenv.
26547
26548 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26549 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26550 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26551 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26552 libc_feholdexcept_setround.
26553
26554 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26555 Add s_nearbyint-c and s_nearbyintf-c.
26556 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26557 nearbyintf inlines.
26558 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26559 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26560 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26561 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26562
26563 * math/math_private.h: Define defaults for libc_fegetround,
26564 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26565 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26566 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26567 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26568 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26569 standard functions.
26570 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26571 Remove comments and hacks for old compiler versions.
26572 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26573 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26574 libc_feholdexceptl.
26575
26576 2011-10-18 Andreas Schwab <schwab@redhat.com>
26577
26578 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26579 (__feraiseexcept_renamed): Add __NTH.
26580 (feraiseexcept): Add __NTH. Rename local variables to fix
26581 namespace violations.
26582
26583 2011-10-17 Ulrich Drepper <drepper@gmail.com>
26584
26585 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26586
26587 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26588
26589 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26590 recently added interfaces.
26591 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26592
26593 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26594 about macro parameter expansion.
26595
26596 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26597 __NO_MATH_INLINES is defined. Cleanups.
26598
26599 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26600 and __floorf is target has SSE4.1.
26601 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26602 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26603 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26604 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26605
26606 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26607 name.
26608 (floorf): Likewise.
26609
26610 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26611
26612 2011-10-17 Andreas Schwab <schwab@redhat.com>
26613
26614 * misc/sys/cdefs.h: Fix last change.
26615
26616 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26617 database lookup.
26618
26619 2011-10-16 Ulrich Drepper <drepper@gmail.com>
26620
26621 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26622
26623 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26624 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26626 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26629 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26630 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26631 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26632 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26633 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26634 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26635 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26636 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26637 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26638 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26639 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26640 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26641 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26642 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26643 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26644 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26645
26646 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26647 ceil, ceilf, floor, floorf.
26648
26649 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26650 Perform IRELATIVE relocations last.
26651
26652 * elf/do-rel.h: Add another parameter nrelative, replacing the
26653 local variable with the same name. Change name of the function
26654 to end in Rel or Rela (uppercase).
26655 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26656 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26657 elf_dynamic_do_##reloc function.
26658
26659 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26660
26661 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26662 is sufficient, at least on modern CPUs.
26663
26664 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26665
26666 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26667 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26668
26669 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26670 __expl_finite.
26671 * math/bits/math-finite.h: Add entries for exp.
26672 * math/e_expl.c: Add __*_finite alias.
26673 * sysdeps/i386/fpu/e_exp.S: Likewise.
26674 * sysdeps/i386/fpu/e_expf.S: Likewise.
26675 * sysdeps/i386/fpu/e_expl.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26677 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26678 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26681 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26682 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26683
26684 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26685 is sufficient, at least on modern CPUs.
26686
26687 * ctype/ctype-info.c (__ctype_init): Define.
26688 * include/ctype.h (__ctype_init): Declare.
26689 (__ctype_b_loc): The variable is always initialized.
26690 (__ctype_toupper_loc): Likewise.
26691 (__ctype_tolower_loc): Likewise.
26692 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26693 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26694
26695 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26696
26697 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26698
26699 * configure.in: Also look in $cxxmachine/include for C++ system
26700 headers.
26701
26702 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26703
26704 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26705 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26706 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26707 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26708 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26709 (USE_AS_WMEMCMP): New macro.
26710 Fixing indents.
26711 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26712 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26713 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26714 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26716 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26717 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26718 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26719 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26720 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26721 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26722 (USE_AS_WMEMCMP): New macro.
26723 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26724 * sysdeps/string/test-memcmp.c: Update.
26725 Fix simple_wmemcmp.
26726 Add new tests.
26727 * wcsmbs/wmemcmp.c: Update.
26728 (WMEMCMP): New macro.
26729 Fix overflow bug.
26730
26731 2011-10-12 Andreas Jaeger <aj@suse.de>
26732
26733 [BZ #13268]
26734 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26735
26736 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26737
26738 * libio/iofwide.c (do_length): Avoid warning.
26739
26740 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26741
26742 2011-10-14 Ulrich Drepper <drepper@gmail.com>
26743
26744 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26745
26746 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26747 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26748 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26749 * sysdeps/i386/i686/fpu/e_log.S: New file.
26750 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26751 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26752
26753 * ctype/ctype.h: Add support for inlined isXXX functions when
26754 compiling C++ code.
26755
26756 2011-10-14 Andreas Schwab <schwab@redhat.com>
26757
26758 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26759
26760 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26761
26762 2011-10-13 Roland McGrath <roland@hack.frob.com>
26763
26764 [BZ #13291]
26765 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26766
26767 2011-10-13 Andreas Schwab <schwab@redhat.com>
26768
26769 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26770 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26771 feraiseexcept.
26772
26773 * sysdeps/x86_64/memrchr.S: Check for zero size.
26774
26775 * string/stratcliff.c: Add memrchr tests.
26776
26777 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26778
26779 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26780 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26781 rawmemchr-sse2 rawmemchr-sse2-bsf.
26782 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26783 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26784 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26785 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26786 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26787 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26788 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26789 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26790 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26791 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26792 * string/memrchr.c (MEMRCHR): New macro.
26793
26794 2011-10-12 Ulrich Drepper <drepper@gmail.com>
26795
26796 Add integration with gcc's -ffinite-math-only and optimize wrapper
26797 functions in libm.
26798 * Versions.def: Define GLIBC_2.15 version for libm.
26799 * math/Makefile (headers): Add bits/math-finite.h.
26800 * math/bits/math-finite.h: New file.
26801 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26802 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26803 * math/e_acoshl.c: Add __*_finite alias.
26804 * math/e_acosl.c: Likewise.
26805 * math/e_asinl.c: Likewise.
26806 * math/e_atan2l.c: Likewise.
26807 * math/e_atanhl.c: Likewise.
26808 * math/e_coshl.c: Likewise.
26809 * math/e_exp10.c: Likewise.
26810 * math/e_exp10f.c: Likewise.
26811 * math/e_exp10l.c: Likewise.
26812 * math/e_exp2l.c: Likewise.
26813 * math/e_fmodl.c: Likewise.
26814 * math/e_gammal_r.c: Likewise.
26815 * math/e_hypotl.c: Likewise.
26816 * math/e_j0l.c: Likewise.
26817 * math/e_j1l.c: Likewise.
26818 * math/e_jnl.c: Likewise.
26819 * math/e_lgammal_r.c: Likewise.
26820 * math/e_log10l.c: Likewise.
26821 * math/e_log2l.c: Likewise.
26822 * math/e_logl.c: Likewise.
26823 * math/e_powl.c: Likewise.
26824 * math/e_sinhl.c: Likewise.
26825 * math/e_sqrtl.c: Likewise.
26826 * math/e_scalb.c: Completely rewritten and optimized.
26827 * math/e_scalbf.c: Likewise.
26828 * math/e_scalbl.c: Likewise.
26829 * math/w_acos.c: Likewise.
26830 * math/w_acosf.c: Likewise.
26831 * math/w_acosl.c: Likewise.
26832 * math/w_acosh.c: Likewise.
26833 * math/w_acoshf.c: Likewise.
26834 * math/w_acoshl.c: Likewise.
26835 * math/w_asin.c: Likewise.
26836 * math/w_asinf.c: Likewise.
26837 * math/w_asinl.c: Likewise.
26838 * math/w_atan2.c: Likewise.
26839 * math/w_atan2f.c: Likewise.
26840 * math/w_atan2l.c: Likewise.
26841 * math/w_atanh.c: Likewise.
26842 * math/w_atanhf.c: Likewise.
26843 * math/w_atanhl.c: Likewise.
26844 * math/w_exp10.c: Likewise.
26845 * math/w_exp10f.c: Likewise.
26846 * math/w_exp10l.c: Likewise.
26847 * math/w_fmod.c: Likewise.
26848 * math/w_fmodf.c: Likewise.
26849 * math/w_fmodl.c: Likewise.
26850 * math/w_j0.c: Likewise.
26851 * math/w_j0f.c: Likewise.
26852 * math/w_j0l.c: Likewise.
26853 * math/w_j1.c: Likewise.
26854 * math/w_j1f.c: Likewise.
26855 * math/w_j1l.c: Likewise.
26856 * math/w_jn.c: Likewise.
26857 * math/w_jnf.c: Likewise.
26858 * math/w_log.c: Likewise.
26859 * math/w_logf.c: Likewise.
26860 * math/w_logl.c: Likewise.
26861 * math/w_log10.c: Likewise.
26862 * math/w_log10f.c: Likewise.
26863 * math/w_log10l.c: Likewise.
26864 * math/w_log2.c: Likewise.
26865 * math/w_log2f.c: Likewise.
26866 * math/w_log2l.c: Likewise.
26867 * math/w_pow.c: Likewise.
26868 * math/w_powf.c: Likewise.
26869 * math/w_powl.c: Likewise.
26870 * math/w_remainder.c: Likewise.
26871 * math/w_remainderf.c: Likewise.
26872 * math/w_remainderl.c: Likewise.
26873 * math/w_scalb.c: Likewise.
26874 * math/w_scalbf.c: Likewise.
26875 * math/w_scalbl.c: Likewise.
26876 * math/w_sqrt.c: Likewise.
26877 * math/w_sqrtf.c: Likewise.
26878 * math/w_sqrtl.c: Likewise.
26879 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26880 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26881 used.
26882 * math/math_private.h: Declare __kernel_standard_f.
26883 * math/w_cosh.c: Remove cruft and optimize a bit.
26884 * math/w_coshf.c: Likewise.
26885 * math/w_coshl.c: Likewise.
26886 * math/w_exp2.c: Likewise.
26887 * math/w_exp2f.c: Likewise.
26888 * math/w_exp2l.c: Likewise.
26889 * math/w_hypot.c: Likewise.
26890 * math/w_hypotf.c: Likewise.
26891 * math/w_hypotl.c: Likewise.
26892 * math/w_lgamma.c: Likewise.
26893 * math/w_lgamma_r.c: Likewise.
26894 * math/w_lgammaf.c: Likewise.
26895 * math/w_lgammaf_r.c: Likewise.
26896 * math/w_lgammal.c: Likewise.
26897 * math/w_lgammal_r.c: Likewise.
26898 * math/w_sinh.c: Likewise.
26899 * math/w_sinhf.c: Likewise.
26900 * math/w_sinhl.c: Likewise.
26901 * math/w_tgamma.c: Likewise.
26902 * math/w_tgammaf.c: Likewise.
26903 * math/w_tgammal.c: Likewise.
26904 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26905 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26906 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26907 Minor optimizations. Pretty printing. Remove cruft.
26908 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26909 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26910 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26911 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26912 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26913 * sysdeps/i386/fpu/e_asin.S: Likewise.
26914 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26915 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26916 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26917 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26918 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26919 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26920 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26921 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26922 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26923 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26924 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26925 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26926 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26927 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26928 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26929 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26930 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26931 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26932 * sysdeps/i386/fpu/e_log.S: Likewise.
26933 * sysdeps/i386/fpu/e_log10.S: Likewise.
26934 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26935 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26936 * sysdeps/i386/fpu/e_log2.S: Likewise.
26937 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26938 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26939 * sysdeps/i386/fpu/e_logf.S: Likewise.
26940 * sysdeps/i386/fpu/e_logl.S: Likewise.
26941 * sysdeps/i386/fpu/e_pow.S: Likewise.
26942 * sysdeps/i386/fpu/e_powf.S: Likewise.
26943 * sysdeps/i386/fpu/e_powl.S: Likewise.
26944 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26945 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26946 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26947 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26948 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26949 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26950 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26951 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26952 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26953 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26954 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26955 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26956 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26957 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26958 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26959 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26960 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26961 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26962 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26963 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26964 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26965 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26966 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26967 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26968 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26969 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26970 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26973 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26974 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26975 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26976 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26977 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26978 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26979 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26980 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26981 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26982 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26983 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26984 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26985 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26986 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26987 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26988 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26989 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26990 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26991 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26992 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26993 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26994 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26995 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26996 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26997 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26998 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26999 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27001 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27002 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27003 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27004 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27005 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27006 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27007 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27008 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27009 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27010 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27011 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27012 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27013 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27014 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27015 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27016 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27018 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27019 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27020 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27021 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27022 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27023 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27024 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27025 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27026 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27027 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27028 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27029 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27030 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27031 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27033 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27035 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27036 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27037 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27038 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27039 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27040 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27041 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27044 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27045 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27046 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27047 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27048 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27049 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27050 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27051 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27052 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27053 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27054 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27055 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27056 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27057 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27058 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27059 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27060 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27061 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27062 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27063 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27064 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27065 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27066 (__isnanf): Likewise.
27067 (__isinf_ns): Likewise.
27068 (__isinf_nsf): Likewise.
27069 (__finite): Likewise.
27070 (__finitef): Likewise.
27071 (__ieee754_sqrt): Define as macro.
27072 (__ieee754_sqrtf): Define as macro.
27073 (__ieee754_sqrtl): Define as macro.
27074 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27075 inlined copy.
27076 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27077 __FINITE_MATH_ONLY__ consistent.
27078 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27079
27080 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27081
27082 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27083 of rawmemchr.
27084
27085 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27086
27087 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27088
27089 * po/ja.po: Update from translation team.
27090
27091 2011-10-08 Roland McGrath <roland@hack.frob.com>
27092
27093 * locale/programs/locarchive.c (prepare_address_space): New function.
27094 (create_archive, enlarge_archive, open_archive): Use it.
27095
27096 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27097 inside [SHARED], where it is used.
27098
27099 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27100
27101 * nss/getent.c (netgroup_keys): Remove unused variable.
27102 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27103
27104 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27105
27106 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27107 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27108 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27109 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27110 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27111 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27112 * math/Makefile (libm-calls): Add s_isinf_ns.
27113 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27114 * math/multc3.c: Likewise.
27115 * math/s_casin.c: Likewise.
27116 * math/s_casinf.c: Likewise.
27117 * math/s_casinl.c: Likewise.
27118 * math/s_ccos.c: Likewise.
27119 * math/s_ccosf.c: Likewise.
27120 * math/s_ccosl.c: Likewise.
27121 * math/s_ctan.c: Likewise.
27122 * math/s_ctanf.c: Likewise.
27123 * math/s_ctanh.c: Likewise.
27124 * math/s_ctanhf.c: Likewise.
27125 * math/s_ctanhl.c: Likewise.
27126 * math/s_ctanl.c: Likewise.
27127 * math/w_fmod.c: Likewise.
27128 * math/w_fmodf.c: Likewise.
27129 * math/w_fmodl.c: Likewise.
27130 * math/w_remainder.c: Likewise.
27131 * math/w_remainderf.c: Likewise.
27132 * math/w_remainderl.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27134 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27135 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27137 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27138 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27139 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27140 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27141
27142 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27143 of the number.
27144 * stdio-common/printf_fphex.c: Likewise.
27145 * stdio-common/printf_size.c: Likewise.
27146
27147 * math/e_exp10.c: Include math_private.h using <...> not "...".
27148 * math/e_exp10f.c: Likewise.
27149 * math/e_exp10l.c: Likewise.
27150 * math/e_exp2l.c: Likewise.
27151 * math/e_j0l.c: Likewise.
27152 * math/e_j1l.c: Likewise.
27153 * math/e_jnl.c: Likewise.
27154 * math/e_lgammal_r.c: Likewise.
27155 * math/e_rem_pio2l.c: Likewise.
27156 * math/e_scalb.c: Likewise.
27157 * math/e_scalbf.c: Likewise.
27158 * math/e_scalbl.c: Likewise.
27159 * math/k_cosl.c: Likewise.
27160 * math/k_sinl.c: Likewise.
27161 * math/k_tanl.c: Likewise.
27162 * math/s_cacoshf.c: Likewise.
27163 * math/s_catan.c: Likewise.
27164 * math/s_catanf.c: Likewise.
27165 * math/s_catanh.c: Likewise.
27166 * math/s_catanhf.c: Likewise.
27167 * math/s_catanhl.c: Likewise.
27168 * math/s_catanl.c: Likewise.
27169 * math/s_ccosh.c: Likewise.
27170 * math/s_ccoshf.c: Likewise.
27171 * math/s_ccoshl.c: Likewise.
27172 * math/s_cexp.c: Likewise.
27173 * math/s_cexpf.c: Likewise.
27174 * math/s_cexpl.c: Likewise.
27175 * math/s_clog.c: Likewise.
27176 * math/s_clog10.c: Likewise.
27177 * math/s_clog10f.c: Likewise.
27178 * math/s_clog10l.c: Likewise.
27179 * math/s_clogf.c: Likewise.
27180 * math/s_clogl.c: Likewise.
27181 * math/s_csin.c: Likewise.
27182 * math/s_csinf.c: Likewise.
27183 * math/s_csinh.c: Likewise.
27184 * math/s_csinhf.c: Likewise.
27185 * math/s_csinhl.c: Likewise.
27186 * math/s_csinl.c: Likewise.
27187 * math/s_csqrt.c: Likewise.
27188 * math/s_csqrtf.c: Likewise.
27189 * math/s_csqrtl.c: Likewise.
27190 * math/s_ctan.c: Likewise.
27191 * math/s_ctanf.c: Likewise.
27192 * math/s_ctanh.c: Likewise.
27193 * math/s_ctanhf.c: Likewise.
27194 * math/s_ctanhl.c: Likewise.
27195 * math/s_ctanl.c: Likewise.
27196 * math/s_ldexp.c: Likewise.
27197 * math/s_ldexpf.c: Likewise.
27198 * math/s_ldexpl.c: Likewise.
27199 * math/s_significand.c: Likewise.
27200 * math/s_significandf.c: Likewise.
27201 * math/s_significandl.c: Likewise.
27202 * math/w_acos.c: Likewise.
27203 * math/w_acosf.c: Likewise.
27204 * math/w_acosh.c: Likewise.
27205 * math/w_acoshf.c: Likewise.
27206 * math/w_acoshl.c: Likewise.
27207 * math/w_acosl.c: Likewise.
27208 * math/w_asin.c: Likewise.
27209 * math/w_asinf.c: Likewise.
27210 * math/w_asinl.c: Likewise.
27211 * math/w_atan2.c: Likewise.
27212 * math/w_atan2f.c: Likewise.
27213 * math/w_atan2l.c: Likewise.
27214 * math/w_atanh.c: Likewise.
27215 * math/w_atanhf.c: Likewise.
27216 * math/w_atanhl.c: Likewise.
27217 * math/w_cosh.c: Likewise.
27218 * math/w_coshf.c: Likewise.
27219 * math/w_coshl.c: Likewise.
27220 * math/w_dremf.c: Likewise.
27221 * math/w_exp10.c: Likewise.
27222 * math/w_exp10f.c: Likewise.
27223 * math/w_exp10l.c: Likewise.
27224 * math/w_exp2.c: Likewise.
27225 * math/w_exp2f.c: Likewise.
27226 * math/w_fmod.c: Likewise.
27227 * math/w_fmodf.c: Likewise.
27228 * math/w_fmodl.c: Likewise.
27229 * math/w_hypot.c: Likewise.
27230 * math/w_hypotf.c: Likewise.
27231 * math/w_hypotl.c: Likewise.
27232 * math/w_j0.c: Likewise.
27233 * math/w_j0f.c: Likewise.
27234 * math/w_j0l.c: Likewise.
27235 * math/w_j1.c: Likewise.
27236 * math/w_j1f.c: Likewise.
27237 * math/w_j1l.c: Likewise.
27238 * math/w_jn.c: Likewise.
27239 * math/w_jnf.c: Likewise.
27240 * math/w_jnl.c: Likewise.
27241 * math/w_lgamma.c: Likewise.
27242 * math/w_lgamma_r.c: Likewise.
27243 * math/w_lgammaf.c: Likewise.
27244 * math/w_lgammaf_r.c: Likewise.
27245 * math/w_lgammal.c: Likewise.
27246 * math/w_lgammal_r.c: Likewise.
27247 * math/w_log.c: Likewise.
27248 * math/w_log10.c: Likewise.
27249 * math/w_log10f.c: Likewise.
27250 * math/w_log10l.c: Likewise.
27251 * math/w_log2.c: Likewise.
27252 * math/w_log2f.c: Likewise.
27253 * math/w_log2l.c: Likewise.
27254 * math/w_logf.c: Likewise.
27255 * math/w_logl.c: Likewise.
27256 * math/w_pow.c: Likewise.
27257 * math/w_powf.c: Likewise.
27258 * math/w_powl.c: Likewise.
27259 * math/w_remainder.c: Likewise.
27260 * math/w_remainderf.c: Likewise.
27261 * math/w_remainderl.c: Likewise.
27262 * math/w_scalb.c: Likewise.
27263 * math/w_scalbf.c: Likewise.
27264 * math/w_scalbl.c: Likewise.
27265 * math/w_sinh.c: Likewise.
27266 * math/w_sinhf.c: Likewise.
27267 * math/w_sinhl.c: Likewise.
27268 * math/w_sqrt.c: Likewise.
27269 * math/w_sqrtf.c: Likewise.
27270 * math/w_sqrtl.c: Likewise.
27271 * math/w_tgamma.c: Likewise.
27272 * math/w_tgammaf.c: Likewise.
27273 * math/w_tgammal.c: Likewise.
27274
27275 * po/ja.po: Update from translation team.
27276
27277 2011-09-29 Andreas Jaeger <aj@suse.de>
27278
27279 [BZ #13179]
27280 * sunrpc/netname.c (netname2host): Fix logic.
27281
27282 [BZ #6779]
27283 [BZ #6783]
27284 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27285 correctly.
27286 * math/w_remainder.c (__remainder): Likewise.
27287 * math/w_remainderf.c (__remainderf): Likewise.
27288 * math/libm-test.inc (remainder_test): Add test cases.
27289
27290 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27291
27292 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27293 sdiv_qrnnd.
27294
27295 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27296
27297 * string/test-memcmp.c: Avoid unncessary #defines.
27298 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27299
27300 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27301
27302 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27303 Use new sse2 version for core i3 - i7 as it's faster
27304 than sse42 version.
27305 (bit_Prefer_PMINUB_for_stringop): New.
27306 * sysdeps/x86_64/rawmemchr.S: Update.
27307 Replace with faster SSE2 version.
27308 * sysdeps/x86_64/memrchr.S: New file.
27309 * sysdeps/x86_64/memchr.S: Update.
27310 Replace with faster SSE2 version.
27311
27312 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27313
27314 * elf/dl-load.c (lose): Add cast to avoid warning.
27315
27316 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27317
27318 * po/ca.po: Update from translation team.
27319
27320 * inet/getnetgrent_r.c: Hook up nscd.
27321 * nscd/Makefile (routines): Add nscd_netgroup.
27322 (nscd-modules): Add netgroupcache.
27323 (CFLAGS-netgroupcache.c): Define.
27324 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27325 (cache_search): Add const to second parameter.
27326 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27327 INNETGR.
27328 (dbs): Add netgrdb entry.
27329 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27330 (verify_persistent_db): Handle netgrdb.
27331 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27332 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27333 GETFDNETGR.
27334 (netgroup_response_header): Define.
27335 (innetgroup_response_header): Define.
27336 (datahead): Add netgroup_response_header and innetgroup_response_header
27337 elements.
27338 * nscd/nscd.conf: Add entries for netgroup cache.
27339 * nscd/nscd.h (dbtype): Add netgrdb.
27340 (_PATH_NSCD_NETGROUP_DB): Define.
27341 (netgroup_iov_disabled): Declare.
27342 (xmalloc, xcalloc, xrealloc): Move declarations here.
27343 (cache_search): Adjust prototype.
27344 Add netgroup-related prototypes.
27345 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27346 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27347 (__nscd_innetgr): Declare.
27348 * nscd/selinux.c (perms): Use access_vector_t as element type and
27349 add netgroup-related initializers.
27350 * nscd/netgroupcache.c: New file.
27351 * nscd/nscd_netgroup.c: New file.
27352 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27353 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27354 For four parameters use innetgr.
27355 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27356 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27357 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27358 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27359
27360 * nscd/connections.c (register_traced_file): Don't register file
27361 for disabled databases.
27362
27363 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27364
27365 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27366
27367 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27368 from tree and freeing node.
27369
27370 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27371
27372 * nss/nsswitch.c (__nss_database_lookup): Handle
27373 nss_parse_service_list out of memory case.
27374
27375 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27376
27377 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27378 out of memory case.
27379
27380 2011-10-04 Andreas Schwab <schwab@redhat.com>
27381
27382 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27383 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27384 pass it down.
27385 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27386 elf_machine_rela, elf_machine_lazy_rel.
27387 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27388 (ELF_DYNAMIC_DO_REL): Likewise.
27389 (ELF_DYNAMIC_DO_RELA): Likewise.
27390 (ELF_DYNAMIC_RELOCATE): Likewise.
27391 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27392 to ELF_DYNAMIC_DO_REL.
27393 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27394 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27395 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27396 elf_machine_rela.
27397 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27398 skip_ifunc, don't call ifunc function if non-zero.
27399 (elf_machine_rela): Likewise.
27400 (elf_machine_lazy_rel): Likewise.
27401 (elf_machine_lazy_rela): Likewise.
27402 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27403 (elf_machine_lazy_rel): Likewise.
27404 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27405 Likewise.
27406 (elf_machine_lazy_rel): Likewise.
27407 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27408 Likewise.
27409 (elf_machine_lazy_rel): Likewise.
27410 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27411 (elf_machine_lazy_rel): Likewise.
27412 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27413 (elf_machine_lazy_rel): Likewise.
27414 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27415 (elf_machine_lazy_rel): Likewise.
27416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27417 (elf_machine_lazy_rel): Likewise.
27418 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27419 (elf_machine_lazy_rel): Likewise.
27420 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27421 (elf_machine_lazy_rel): Likewise.
27422
27423 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27424
27425 * nss/nss_files/files-init.c (_nss_files_init): Use static
27426 initialization for all the *_traced_file variables.
27427
27428 2011-09-28 Andreas Schwab <schwab@redhat.com>
27429
27430 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27431
27432 2011-09-27 Roland McGrath <roland@hack.frob.com>
27433
27434 [BZ #13226]
27435 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27436
27437 2011-09-27 Andreas Schwab <schwab@redhat.com>
27438
27439 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27440 Reread the line before reparsing it.
27441
27442 2011-09-26 Andreas Schwab <schwab@redhat.com>
27443
27444 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27445
27446 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27447 Maxim Kuvyrkov <maxim@codesourcery.com>
27448 Joseph Myers <joseph@codesourcery.com>
27449
27450 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27451 if needed for __stack_chk_guard.
27452
27453 2011-09-19 Roland McGrath <roland@hack.frob.com>
27454
27455 * sysdeps/posix/spawni.c (script_execute): Always define it.
27456 It will be optimized away if unused.
27457 (maybe_script_execute): New function.
27458 (__spawni): Call it.
27459
27460 * Makerules: Don't include tls.make.
27461 (config-tls): Always set to thread.
27462 * tls.make.c: File removed.
27463
27464 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27465
27466 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27467 * config.make.in (CPPFLAGS-config): New substituted variable.
27468
27469 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27470
27471 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27472
27473 [BZ #13192]
27474 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27475 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27476
27477 2011-09-15 Roland McGrath <roland@hack.frob.com>
27478
27479 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27480 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27482 (CALL_FAIL): Likewise.
27483 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27484 (CALL_FAIL): Macro removed.
27485 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27486
27487 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27488
27489 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27490 for __FINITE_MATH_ONLY__ == 1.
27491
27492 2011-09-15 Andreas Schwab <schwab@redhat.com>
27493
27494 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27495 __ieee754_sqrt instead of sqrt.
27496 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27497 __ieee754_sqrtf instead of sqrtf.
27498 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27499 __floorf instead of floorf.
27500 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27501 __floorf, __truncf instead of floorf, truncf.
27502
27503 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27504
27505 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27506
27507 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27508 __extern_always_inline.
27509 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27510 32-bit.
27511
27512 2011-09-14 Andreas Schwab <schwab@redhat.com>
27513
27514 * elf/rtld.c (dl_main): Also relocate in dependency order when
27515 doing symbol dependency testing.
27516
27517 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27518
27519 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27520 Always define `refsym'.
27521
27522 2011-09-13 Andreas Schwab <schwab@redhat.com>
27523
27524 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27525 (__FD_ELT): Renamed from __FDELT.
27526 * misc/bits/select2.h (__FD_ELT): Likewise.
27527 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27528 __FD_MASK instead of __FDELT, __FDMASK.
27529 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27530 Likewise.
27531 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27532 Likewise.
27533
27534 * elf/Makefile (gen-ldd): Fix pattern.
27535
27536 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27537 (init_tls): Likewise.
27538
27539 2011-09-12 Ulrich Drepper <drepper@gmail.com>
27540
27541 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27542
27543 2011-09-12 Andreas Schwab <schwab@redhat.com>
27544
27545 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27546 `struct cmsghdr *' instead of `void *'.
27547 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27548 Likewise.
27549
27550 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27551
27552 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27553 if non-absolute.
27554 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27555 ldd_rewrite_script.
27556
27557 2011-09-11 Ulrich Drepper <drepper@gmail.com>
27558
27559 * configure.in: Remove --with-tls option.
27560 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27561 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27562 out in case it is missing.
27563 * sysdeps/ia64/elf/configure.in: Likewise.
27564 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27565 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27566 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27567 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27568 * sysdeps/sh/elf/configure.in: Likewise.
27569 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27570 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27571 * sysdeps/x86_64/elf/configure.in: Likewise.
27572 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27573 * sysdeps/mach/hurd/tls.h: Likewise.
27574
27575 [BZ #13067]
27576 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27577
27578 [BZ #13090]
27579 * configure.in: Fix use of AC_INIT.
27580
27581 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27582
27583 2011-09-10 Ulrich Drepper <drepper@gmail.com>
27584
27585 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27586 __set_errno.
27587 * malloc/hooks.c: Likewise.
27588
27589 [BZ #11929]
27590 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27591 variables statically.
27592 (narenas): Initialize.
27593 (list_lock): Initialize.
27594 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27595 initializtion of main_arena and list_lock. Small cleanups.
27596 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27597 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27598 Add initializers to main_arena and mp_.
27599 (malloc_state): Remove pagesize member. Change all users to use
27600 GLRO(dl_pagesize).
27601
27602 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27603 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27604 is always initialized.
27605
27606 * malloc/malloc.c: Removed unused configurations and dead code.
27607 * malloc/arena.c: Likewise.
27608 * malloc/hooks.c: Likewise.
27609 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27610
27611 * include/tls.h: Removed. USE___THREAD must always be defined.
27612 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27613 * elf/dl-libc.c: Likewise.
27614 * elf/dl-tsd.c: Likewise.
27615 * include/errno.h: Likewise.
27616 * include/netdb.h: Likewise.
27617 * include/resolv.h: Likewise.
27618 * inet/herrno-loc.c: Likewise.
27619 * inet/herrno.c: Likewise.
27620 * malloc/arena.c: Likewise.
27621 * malloc/hooks.c: Likewise.
27622 * malloc/malloc.c: Likewise.
27623 * resolv/res-state.c: Likewise.
27624 * resolv/res_libc.c: Likewise.
27625 * sysdeps/i386/dl-machine.h: Likewise.
27626 * sysdeps/ia64/dl-machine.h: Likewise.
27627 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27628 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27629 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27630 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27631 * sysdeps/sh/dl-machine.h: Likewise.
27632 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27633 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27634 * sysdeps/unix/i386/sysdep.S: Likewise.
27635 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27636 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27637 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27638 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27639 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27640 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27641 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27642 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27645 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27646 * sysdeps/x86_64/dl-machine.h: Likewise.
27647 * tls.make.c: Likewise.
27648
27649 * configure.in: Remove --with-__thread option. Make tests for
27650 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27651 tls_model attribute fail if no support is available. Remove
27652 USE_IN_LIBIO.
27653 * Makeconfig: Adjust for dropped configure option. All features are
27654 now mandatory.
27655 * Makerules: Likewise.
27656 * Versions.def: Likewise.
27657 * argp/argp-fmtstream.c: Likewise.
27658 * argp/argp-fmtstream.h: Likewise.
27659 * argp/argp-help.c: Likewise.
27660 * assert/assert.c: Likewise.
27661 * config.h.in: Likewise.
27662 * config.make.in: Likewise.
27663 * configure: Likewise.
27664 * configure.in: Likewise.
27665 * csu/Versions: Likewise.
27666 * csu/init.c: Likewise.
27667 * elf/tst-audit2.c: Likewise.
27668 * elf/tst-tls10.c: Likewise.
27669 * elf/tst-tls10.h: Likewise.
27670 * elf/tst-tls11.c: Likewise.
27671 * elf/tst-tls12.c: Likewise.
27672 * elf/tst-tls14.c: Likewise.
27673 * elf/tst-tlsmod11.c: Likewise.
27674 * elf/tst-tlsmod12.c: Likewise.
27675 * elf/tst-tlsmod13.c: Likewise.
27676 * elf/tst-tlsmod13a.c: Likewise.
27677 * elf/tst-tlsmod14a.c: Likewise.
27678 * elf/tst-tlsmod15b.c: Likewise.
27679 * elf/tst-tlsmod16a.c: Likewise.
27680 * elf/tst-tlsmod16b.c: Likewise.
27681 * elf/tst-tlsmod7.c: Likewise.
27682 * elf/tst-tlsmod8.c: Likewise.
27683 * elf/tst-tlsmod9.c: Likewise.
27684 * gmon/gmon.c: Likewise.
27685 * grp/fgetgrent_r.c: Likewise.
27686 * grp/putgrent.c: Likewise.
27687 * hurd/fopenport.c: Likewise.
27688 * include/libc-symbols.h: Likewise.
27689 * include/tls.h: Likewise.
27690 * intl/gettextP.h: Likewise.
27691 * intl/loadinfo.h: Likewise.
27692 * locale/global-locale.c: Likewise.
27693 * locale/localeinfo.h: Likewise.
27694 * mach/devstream.c: Likewise.
27695 * malloc/arena.c: Likewise.
27696 * malloc/set-freeres.c: Likewise.
27697 * misc/err.c: Likewise.
27698 * misc/getttyent.c: Likewise.
27699 * misc/mntent_r.c: Likewise.
27700 * posix/getopt.c: Likewise.
27701 * posix/wordexp.c: Likewise.
27702 * pwd/fgetpwent_r.c: Likewise.
27703 * resolv/Versions: Likewise.
27704 * resolv/res_hconf.c: Likewise.
27705 * shadow/fgetspent_r.c: Likewise.
27706 * shadow/putspent.c: Likewise.
27707 * stdio-common/printf_fphex.c: Likewise.
27708 * stdio-common/tmpfile.c: Likewise.
27709 * stdlib/abort.c: Likewise.
27710 * stdlib/fmtmsg.c: Likewise.
27711 * sunrpc/auth_unix.c: Likewise.
27712 * sunrpc/clnt_perr.c: Likewise.
27713 * sunrpc/clnt_tcp.c: Likewise.
27714 * sunrpc/clnt_udp.c: Likewise.
27715 * sunrpc/clnt_unix.c: Likewise.
27716 * sunrpc/openchild.c: Likewise.
27717 * sunrpc/svc_simple.c: Likewise.
27718 * sunrpc/svc_tcp.c: Likewise.
27719 * sunrpc/svc_udp.c: Likewise.
27720 * sunrpc/svc_unix.c: Likewise.
27721 * sunrpc/xdr.c: Likewise.
27722 * sunrpc/xdr_array.c: Likewise.
27723 * sunrpc/xdr_rec.c: Likewise.
27724 * sunrpc/xdr_ref.c: Likewise.
27725 * sunrpc/xdr_stdio.c: Likewise.
27726
27727 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27728
27729 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27730
27731 2011-07-03 Andreas Jaeger <aj@suse.de>
27732
27733 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27734 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27735 regenerate with gen-libm-tests.pl.
27736
27737 2010-05-12 Petr Baudis <pasky@suse.cz>
27738
27739 [BZ #11589]
27740 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27741 around j0() zero points by switching to j1().
27742 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27745 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27746
27747 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27748
27749 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27750 instead of 0.
27751 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27752 instead of 0.
27753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27754 Patch in part by Pavel Roskin <proski@gnu.org>.
27755
27756 [BZ #13138]
27757 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27758 realloc.
27759 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27760 Free memory block if necessary.
27761
27762 [BZ #12847]
27763 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27764 be NULL. Don't lock in this case.
27765
27766 2011-09-09 Roland McGrath <roland@hack.frob.com>
27767
27768 * elf/elf.h (ELFOSABI_GNU): New macro.
27769 (ELFOSABI_LINUX): Define to that.
27770
27771 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27772
27773 * string/strncat.c (strncat): Undef the symbol in case it has been
27774 defined in bits/string.h.
27775
27776 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27777
27778 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27779
27780 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27781 link map.
27782
27783 2011-08-17 Andreas Jaeger <aj@suse.de>
27784
27785 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27786
27787 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27788 Ian Lance Taylor <iant@google.com>
27789
27790 * math/libm-test.inc (lround_test): New testcase.
27791 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27792
27793 2011-09-08 Ulrich Drepper <drepper@gmail.com>
27794
27795 * Makefile: Remove support for automatic cvs check-ins.
27796 * Makerules: Likewise.
27797 * config.make.in: Likewise.
27798 * configure.in: Likewise.
27799 * intl/Makefile: Likewise.
27800 * locale/Makefile: Likewise.
27801 * po/Makefile: Likewise.
27802 * posix/Makefile: Likewise.
27803 * sysdeps/gnu/Makefile: Likewise.
27804 * sysdeps/mach/hurd/Makefile: Likewise.
27805 * sysdeps/sparc/sparc32/Makefile: Likewise.
27806
27807 [BZ #13118]
27808 * posix/Makefile (bug-regex32-ENV): Define.
27809 Patch by John Stanley <jpsinthemix@verizon.net>.
27810
27811 * misc/Makefile (headers): Add bits/select2.h.
27812 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27813 * misc/bits/select2.h: New file.
27814 * include/bits/select2.h: New file.
27815 * debug/Makefile (routines): Add fdelt_chk.
27816 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27817 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27818 FD_ISSET.
27819 * debug/fdelt_chk.c: New file.
27820
27821 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27822 * wcsmbs/test-wmemcmp.c: Likewise.
27823 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27824 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27825
27826 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27827
27828 * string/Makefile (strop-tests): Add memcmp.
27829 * string/test-wmemcmp.c: New file.
27830 * string/test-memcmp.c: Add wmemcmp support.
27831
27832 2011-09-08 Roland McGrath <roland@hack.frob.com>
27833
27834 [BZ #13153]
27835 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27836 2011-07-19 change.
27837
27838 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27839 garbage value in a __mach_port_mod_refs call in the cases of the
27840 task-self and thread-self ports.
27841
27842 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27843
27844 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27845
27846 2011-09-08 Andreas Schwab <schwab@redhat.com>
27847
27848 * elf/dl-load.c (lose): Check for non-null L.
27849
27850 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27851
27852 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27853
27854 * elf/dl-libc.c (dlerror_run): Pass back error code from
27855 dl_catch_error.
27856
27857 [BZ #13123]
27858 * elf/dl-load.c (lose): Free l_origin if it is valid.
27859
27860 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27861 names.
27862 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27863 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27865 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27866 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27867 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27868
27869 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27870
27871 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27872 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27873 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27874 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27875 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27876 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27877 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27878 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27879 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27880 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27881
27882 2011-08-15 Alan Modra <amodra@gmail.com>
27883
27884 [BZ #13092]
27885 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27886 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27887 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27888 ppc_mcount to static-only-routines.
27889 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27890 __mcount_internal.
27891 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27892 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27893
27894 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27895
27896 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27897 for finite and infinity parameters.
27898
27899 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27900
27901 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27902 and add nop instructions for throughput optimization.
27903 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27904
27905 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27906
27907 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27908 aligned copy for power7 with vector-scalar instructions.
27909 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27910
27911 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27912
27913 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27914 AVX check.
27915
27916 2011-09-07 Andreas Schwab <schwab@redhat.com>
27917
27918 [BZ #13144]
27919 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27920 last change.
27921
27922 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27923
27924 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27925 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27926 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27927 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27928 clock_gettime.
27929
27930 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27931
27932 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27933 Forgot to demangle the pointer.
27934
27935 * sysdeps/i386/sysdep.h: Define atom_text_section.
27936 * sysdeps/x86_64/sysdep.h: Likewise.
27937 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27938 section with atom_text_section.
27939 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27940 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27941 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27942 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27943 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27944
27945 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27946 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27947 already be defined. Change to take two parameters and don't assign
27948 result to variable. Adjust all users.
27949 Define INTERNAL_GETTIME if not already defined.
27950 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27951 call.
27952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27953 HAVE_CLOCK_GETTIME_VSYSCALL.
27954 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27955
27956 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27957 gettimeofday vsyscall, just use time.
27958
27959 2011-09-06 Andreas Schwab <schwab@redhat.com>
27960
27961 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27962 <errno.h>.
27963
27964 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27965
27966 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27967 syscall on x86-64.
27968 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27969 syscall.
27970 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27971 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27972 syscall if possible.
27973
27974 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27975
27976 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27977 e_ident. Don't pass to find_mapsXX.
27978 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27979
27980 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27981
27982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27983 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27984 * sysdeps/x86_64/multiarch/strchr.S: Update.
27985 Check bit_slow_BSF bit.
27986 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27987 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27988 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27989
27990 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27991
27992 [BZ #13134]
27993 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27994 before glibc 2.15.
27995 (tryshell): Define.
27996 (__spawni): Change last parameter to be flag. Test
27997 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27998 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27999 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28000 * posix/spawni.c: Likewise.
28001 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28002 * posix/spawnp.c: Likewise. Change normal version to use
28003 SPAWN_XFLAGS_USE_PATH.
28004 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28005 SPAWN_XFLAGS_TRY_SHELL.
28006
28007 [BZ #13150]
28008 * posix/glob.h: Remove gcc 1.x support.
28009
28010 [BZ #13068]
28011 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28012
28013 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28014
28015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28016 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28017 strrchr-sse2-bsf
28018 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28019 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28020 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28021 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28022 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28023 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28024
28025 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28026
28027 * sysdeps/x86_64/wcscmp.S: New file.
28028
28029 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28030 wcscmp-c wcscmp-sse2
28031 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28032 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28033 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28034 * wcsmbs/wcscmp.c: Allow renaming.
28035
28036 2011-09-05 David S. Miller <davem@davemloft.net>
28037
28038 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28039 stack slot, rather than the struct return pointer slot.
28040 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28041 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28043 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28044
28045 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28046
28047 * po/ja.po: Update from translation team.
28048
28049 [BZ #13144]
28050 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28051 kernel in 64-bit binaries.
28052
28053 2011-09-01 David S. Miller <davem@davemloft.net>
28054
28055 * elf/elf.h (HWCAP_SPARC_*): Move to..
28056 * sysdeps/sparc/sysdep.h: this new file and add new values.
28057 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28058 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28059 _DL_HWCAP_COUNT to 24.
28060 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28061 entries.
28062 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28063 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28064 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28065 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28066 instead of magic constants.
28067 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28068
28069 2011-08-31 David S. Miller <davem@davemloft.net>
28070
28071 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28072 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28073 Reimplement to do errno handling inline.
28074 (SYSCALL_ERROR_HANDLER): New macro.
28075 (__SYSCALL_STRING): Do not do errno handling in asm.
28076 (__CLONE_SYSCALL_STRING): Delete.
28077 (__INTERNAL_SYSCALL_STRING): Delete.
28078 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28079 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28080 (PSEUDO): Reimplement to do errno handling inline.
28081 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28082 (SYSCALL_ERROR_HANDLER): New macro.
28083 (__SYSCALL_STRING): Do not do errno handling in asm.
28084 (__CLONE_SYSCALL_STRING): Delete.
28085 (__INTERNAL_SYSCALL_STRING): Delete.
28086 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28087 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28088 i386.
28089 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28090 (inline_syscall*): Add 'err' argument.
28091 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28092 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28093 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28094 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28095
28096 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28097 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28098
28099 2011-08-30 Andreas Schwab <schwab@redhat.com>
28100
28101 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28102
28103 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28104
28105 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28106 directive.
28107
28108 2011-08-24 David S. Miller <davem@davemloft.net>
28109
28110 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28111
28112 2011-08-24 Andreas Schwab <schwab@redhat.com>
28113
28114 * elf/Makefile: Add rules to build and run unload8 test.
28115 * elf/unload8.c: New file.
28116 * elf/unload8mod1.c: New file.
28117 * elf/unload8mod1x.c: New file.
28118 * elf/unload8mod2.c: New file.
28119 * elf/unload8mod3.c: New file.
28120
28121 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28122 it wasn't used.
28123
28124 2011-08-23 David S. Miller <davem@davemloft.net>
28125
28126 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28127 subtract stack bias.
28128 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28129 %sp not %fp in calculations.
28130 (_JMPBUF_UNWINDS_ADJ): Likewise.
28131
28132 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28133 (aio_suspend): Call it to force an exception region around the
28134 AIO_MISC_WAIT() invocation.
28135
28136 2011-08-23 Andreas Schwab <schwab@redhat.com>
28137
28138 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28139 backslash.
28140
28141 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28142
28143 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28144 protection macro.
28145 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28146 and <dl-machine.h>.
28147 (Elf64_FuncDesc): Remove.
28148
28149 2011-08-22 David S. Miller <davem@davemloft.net>
28150
28151 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28152 sigaltstack check, add missing cfi directives.
28153 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28154 missing cfi directives, and sigaltstack handling.
28155
28156 2011-08-16 Andreas Schwab <schwab@redhat.com>
28157
28158 [BZ #11724]
28159 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28160 object is seen twice.
28161 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28162
28163 * elf/Makefile (distribute): Add tst-initorder2.c.
28164 (tests): Add tst-initorder2.
28165 (modules-names): Add tst-initorder2a tst-initorder2b
28166 tst-initorder2c tst-initorder2d. Add rules to build them.
28167 ($(objpfx)tst-initorder2.out): New rule.
28168 * elf/tst-initorder2.c: New file.
28169 * elf/tst-initorder2.exp: New file.
28170
28171 2011-08-22 Andreas Schwab <schwab@redhat.com>
28172
28173 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28174
28175 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28176 dependencies back to end of function.
28177
28178 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28179 $(elfobjdir)/ld.so.
28180
28181 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28182
28183 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28184 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28185 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28186 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28187 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28188 of __vdso_gettimeofday.
28189 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28190 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28191 attribute_hidden.
28192 (_libc_vdso_platform_setup): Remove initialization of
28193 __vdso_gettimeofday and __vdso_time.
28194
28195 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28196
28197 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28198 and fgetc_unlocked.
28199 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28200 getc_unlocked.
28201
28202 * elf/dl-open.c (add_to_global): Report additions to the global scope
28203 for LD_DEBUG=scopes.
28204 (dl_open_worker): Also print scope of newly loaded dependencies.
28205 (_dl_show_scope): Indicate if there is no scope.
28206
28207 [BZ #13114]
28208 * stdio-common/Makefile (tests): Add bug24.
28209 * stdio-common/bug24.c: New file.
28210
28211 2011-08-19 Andreas Jaeger <aj@suse.de>
28212
28213 [BZ #13114]
28214 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28215 non-existant file when using close-on-exec mode.
28216
28217 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28218
28219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28220 the very first instruction.
28221
28222 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28223 the CFI state in the end.
28224 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28225 inclusion of dl-trampoline.h.
28226 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28227
28228 2011-08-19 Andreas Schwab <schwab@redhat.com>
28229
28230 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28231 expectations for long double.
28232
28233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28234 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28235
28236 2011-08-14 David S. Miller <davem@davemloft.net>
28237
28238 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28239 artificual limit depends upon the system page size.
28240
28241 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28242
28243 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28244 * resolv/Makefile: Define CFLAGS-libresolv.
28245
28246 2011-08-17 Andreas Schwab <schwab@redhat.com>
28247
28248 * nss/makedb.c (compute_tables): Make variables used in nested
28249 function static.
28250
28251 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28252
28253 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28254 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28255 if buffer was too small.
28256
28257 * elf/pldd.c (main): Attach to all threads in the process.
28258 Rewrite /proc handling to use *at functions.
28259
28260 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28261
28262 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28263 specifies first scope to show.
28264 (dl_open_worker): Update callers. Move printing scope of new
28265 object to before the relocation.
28266 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28267 * sysdeps/generic/ldsodefs.h: Update declaration.
28268
28269 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28270 string for the scope number.
28271
28272 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28273
28274 * nscd/servicescache.c (cache_addserv): Make sure written is always
28275 initialized.
28276
28277 2011-08-14 Roland McGrath <roland@hack.frob.com>
28278
28279 * sysdeps/i386/i486/bits/atomic.h
28280 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28281 statement expression, so as to suppress "set but not used" warning.
28282 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28283
28284 * string/strncat.c (STRNCAT): Use prototype definition.
28285
28286 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28287 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28288 -Iprograms here.
28289 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28290 (localedef-modules): Add localedef.
28291 (locale-modules): Add locale.
28292
28293 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28294 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28295 to avoid a warning.
28296
28297 2011-08-14 David S. Miller <davem@davemloft.net>
28298
28299 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28300 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28301
28302 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28303
28304 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28305 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28306 * elf/rtld.c (dl_main): Set l_name of vDSO.
28307 Call _dl_show_scope when DL_DEBUG_SCOPES.
28308 (process_dl_debug): Recognize scopes flag and also set it for all.
28309 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28310 Declare _dl_show_scope.
28311
28312 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28313 (do_dlopen): Pass caller_dlopen to dl_open.
28314 (__libc_dlopen_mode): Initialize caller_dlopen.
28315
28316 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28317 of libc. Make tolower call locale-independent. Optimize a bit by
28318 using isdigit instead of isalnum.
28319 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28320
28321 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28322
28323 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28324 was a dependency or dynamically loaded.
28325
28326 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28327
28328 * intl/l10nflist.c: Allow architecture-specific pop function.
28329 * sysdeps/x86_64/l10nflist.c: New file.
28330
28331 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28332 classification.
28333
28334 2011-08-10 Andreas Schwab <schwab@redhat.com>
28335
28336 * include/dirent.h: Add libc_hidden_proto for scandirat and
28337 scandirat64. Don't declare __scandirat64.
28338 * dirent/scandirat.c: Add libc_hidden_def.
28339 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28340 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28341
28342 2011-08-10 David S. Miller <davem@davemloft.net>
28343
28344 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28345 enum.
28346 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28347 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28348 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28349
28350 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28351
28352 * Versions.def [libc]: Add GLIBC_2.15.
28353 * dirent/Makefile (routines): Add scandirat and scandirat64.
28354 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28355 GLIBC_2.15.
28356 * dirent/dirent.h: Declare scandirat and scandirat64.
28357 * dirent/scandirat.c: New file.
28358 * dirent/scandirat64.c: New file.
28359 * sysdeps/wordsize-64/scandirat.c: New file.
28360 * sysdeps/wordsize-64/scandirat64.c: New file.
28361 * dirent/opendir.c: Define opendirat.
28362 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28363 using scandirat.
28364 * dirent/scandir64.c: Adjust for scandir.c change.
28365 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28366 __scandirat64, and __scandir_cancel_handler.
28367 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28368 additional parameter and use openat instead of open (outside of ld.so).
28369 Add new __opendir as wrapper around __opendirat.
28370 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28371 here without requiring old scandirat implementation.
28372
28373 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28374
28375 * dirent/scandir.c (cancel_handler): Renamed to
28376 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28377 defined. Adjust users.
28378 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28379 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28380
28381 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28382
28383 * string/test-string.h (IMPL): Use __STRING to expand name and then
28384 stringify it.
28385
28386 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28387 of cleanups.
28388
28389 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28390
28391 * string/Makefile: Update.
28392 (strop-tests): Append strncat.
28393 * string/test-wcscmp.c: New file.
28394 New comprehensive test for wcscmp.
28395 * string/test-strcmp.c: Update.
28396 (WIDE): New define.
28397
28398 2011-07-22 Andreas Schwab <schwab@redhat.com>
28399
28400 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28401 line.
28402
28403 2011-07-26 Andreas Schwab <schwab@redhat.com>
28404
28405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28406 encoding to ACE if AI_IDN.
28407
28408 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28409
28410 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28411 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28412
28413 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28414
28415 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28416 Fix overflow bug in strncat.
28417 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28418
28419 * string/test-strncat.c: Update.
28420 Add new tests for checking overflow bugs.
28421
28422 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28423
28424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28425 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28426 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28427 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28428 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28429 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28430 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28431 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28432 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28433
28434 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28435 (USE_AS_STRCAT): Define.
28436 Add strcat and strncat support.
28437 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28438
28439 2011-07-25 Andreas Schwab <schwab@redhat.com>
28440
28441 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28442 __n bigger than INT_MAX+1.
28443 (__strncmp_g): Likewise.
28444
28445 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28446
28447 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28448 * libio/stido.h: Likewise.
28449
28450 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28451 (AF_NFC): Define.
28452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28453 (AF_NFC): Define.
28454
28455 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28456 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28457 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28458 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28459 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28460
28461 [BZ #13021]
28462 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28463 installed.
28464
28465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28466 typo.
28467 (_dl_x86_64_save_sse): Likewise.
28468
28469 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28470
28471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28472 OSXSAVE.
28473 (_dl_x86_64_save_sse): Likewise.
28474
28475 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28476
28477 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28478
28479 2011-07-21 Andreas Schwab <schwab@redhat.com>
28480
28481 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28482 change.
28483 (_dl_x86_64_save_sse): Use correct AVX check.
28484
28485 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28486
28487 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28488 bug in strncpy/strncat.
28489 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28490
28491 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28492
28493 * string/tester.c (test_strcat): Add tests for different alignments
28494 of source and destination.
28495 (test_strncat): Likewise.
28496
28497 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28498
28499 [BZ #12852]
28500 * posix/glob.c (glob): Check passed in values before using them in
28501 expressions to avoid some overflows.
28502 (glob_in_dir): Likewise.
28503
28504 [BZ #13007]
28505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28506 check for AVX enablement so that we don't crash with old kernels and
28507 new hardware.
28508 * elf/tst-audit4.c: Add same checks here.
28509 * elf/tst-audit6.c: Likewise.
28510
28511 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28512
28513 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28514
28515 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28516
28517 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28518
28519 * po/cs.po: Update from translation team.
28520 * po/bg.po: Likewise.
28521
28522 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28523
28524 * misc/sys/cdefs.h: Add support for const attribute.
28525 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28526 to gnu_dev_{major,minor,makedev} functions.
28527
28528 2011-07-20 Marek Polacek <mpolacek@redhat.com>
28529
28530 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28531
28532 2011-07-20 Andreas Schwab <schwab@redhat.com>
28533
28534 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28535 strlen results.
28536
28537 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28538
28539 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28540 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28541 register in order to avoid conflicts with the soft frame pointer
28542 being held in r11 when necessary.
28543 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28544 (INTERNAL_VSYSCALL_NCS): Likewise.
28545
28546 2011-07-14 Marek Polacek <mpolacek@redhat.com>
28547
28548 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28549 * elf/dl-fini.c (_dl_fini): Adjust caller.
28550 * elf/dl-close.c (_dl_close_worker): Likewise.
28551 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28552
28553 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28554
28555 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28556 "aux_cache->nlibs < 0".
28557
28558 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28559 in the reload-count case.
28560
28561 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28562
28563 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28564 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28565 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28566 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28567 * sysdeps/x86_64/multiarch/strcat.S: New file.
28568 * sysdeps/x86_64/multiarch/strncat.S: New file.
28569 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28570 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28571 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28572 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28573 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28574 (USE_AS_STRCAT): Define.
28575 Add strcat and strncat support.
28576 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28578 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28579 * string/strncat.c: Update.
28580 (USE_AS_STRNCAT): Define.
28581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28582 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28583 and i7.
28584 * sysdeps/x86_64/multiarch/init-arch.h
28585 (bit_Prefer_PMINUB_for_stringop): New.
28586 (index_Prefer_PMINUB_for_stringop): Likewise.
28587 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28588 bit_Prefer_PMINUB_for_stringop.
28589
28590 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28591
28592 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28593 buffer64.
28594 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28595 of casting of buffer.
28596 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28597 buffer32 and buffer64.
28598 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28599 writes instead of casting of buffer.
28600 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28601 buffer32.
28602 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28603 casting of buffer.
28604
28605 2011-07-19 Andreas Schwab <schwab@redhat.com>
28606
28607 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28608
28609 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28610
28611 * nscd/nscd.c (termination_handler): Don't do anything for a database
28612 if it has not yet been initialized.
28613
28614 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28615
28616 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28617
28618 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28619
28620 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28621
28622 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28623
28624 * po/nl.po: Update from translation team.
28625 * po/sv.po: Likewise.
28626
28627 2011-07-16 Roland McGrath <roland@hack.frob.com>
28628
28629 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28630 now disallowed by GCC.
28631
28632 * configure.in (use-default-link): Default to yes if a test -shared
28633 link meets our qualifications.
28634 * configure: Regenerated.
28635
28636 * config.make.in (output-format): New variable.
28637 * configure.in: Check for ld --print-output-format support.
28638 * configure: Regenerated.
28639 * Makerules ($(common-objpfx)format.lds)
28640 [$(output-format) != unknown]: Just use $(output-format),
28641 instead of the linker-script munging.
28642
28643 2011-07-14 Roland McGrath <roland@hack.frob.com>
28644
28645 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28646 of $(common-objpfx)shlib.lds.
28647 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28648
28649 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28650 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28651
28652 * configure.in (-z relro check): Adjust test code to add a large
28653 writable data section after it.
28654 * configure: Regenerated.
28655
28656 2011-07-11 Roland McGrath <roland@hack.frob.com>
28657
28658 * configure.in (-z relro check): Fix test code to make the variable
28659 truly const.
28660 * configure: Regenerated.
28661
28662 2011-07-11 Ulrich Drepper <drepper@gmail.com>
28663
28664 * nscd/nscd.h (struct traced_file): Define.
28665 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28666 elements. Add traced_files.
28667 (inotify_fd): Declare.
28668 (register_traced_file): Declare.
28669 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28670 (inotify_fd): Export.
28671 (resolv_conf_descr): Remove.
28672 (nscd_init): Move inotify descriptor creation to main.
28673 Don't register files for notification here.
28674 (register_traced_file): New function.
28675 (invalidate_cache): Don't use reset_res to determine whether to call
28676 res_init, go through the list of registered files.
28677 (main_loop_poll): The inotify descriptors are now stored in the
28678 structures for the traced files.
28679 (main_loop_epoll): Likewise
28680 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28681 to __nss_disable_nscd.
28682 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28683 for a database anymore. Check the records for all the registered
28684 files instead.
28685 * nss/Makefile (libnss_files-routines): Add files-init.
28686 (libnss_db-routines): Add db-init.
28687 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28688 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28689 * nss/nss_db/db-init.c: New file.
28690 * nss/nss_files/files-init.c: New file.
28691 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28692 __nss_lookup_function.
28693 (__nss_lookup_function): Call nss_load_library.
28694 (nss_load_all_libraries): New function.
28695 (__nss_disable_nscd): Take parameter with callback function for files
28696 to register. Set is_nscd. Load all the DSOs for the NSS modules
28697 used for the cached services.
28698 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28699 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28700 options for features to all the files in nscd.
28701
28702 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28703
28704 2011-07-10 Roland McGrath <roland@hack.frob.com>
28705
28706 * csu/elf-init.c (__libc_csu_init): Comment typo.
28707
28708 2011-07-09 Ulrich Drepper <drepper@gmail.com>
28709
28710 * po/pl.po: Update from translation team.
28711 * po/ja.po: Likewise.
28712 * po/ru.po: Likewise.
28713 * po/ko.po: Likewise.
28714 * po/fr.po: Likewise.
28715
28716 2011-07-09 Roland McGrath <roland@hack.frob.com>
28717
28718 * configure.in (.ctors/.dtors header and trailer check):
28719 Use an empirical test on a built program.
28720 * configure: Regenerated.
28721
28722 * configure.in (-z relro check): Use an empirical test on a built DSO.
28723 Detect, but do not require, on ia64.
28724 * configure: Regenerated.
28725
28726 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28727 Update tests that use readelf to use $READELF instead.
28728 * configure: Regenerated.
28729
28730 2011-07-08 Ulrich Drepper <drepper@gmail.com>
28731
28732 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28733 if the result is not used.
28734
28735 2011-07-05 Andreas Jaeger <aj@suse.de>
28736
28737 [BZ#9696]
28738 * stdlib/tst-strtod.c: Add testcase.
28739
28740 2011-07-07 Ulrich Drepper <drepper@gmail.com>
28741
28742 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28743 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28744 The latter has a higher limit. Take additional parameter to pass to
28745 the new function.
28746 (__pathconf): Pass file to __statfs_link_max.
28747 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28748 __statfs_link_max.
28749 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28750 __statfs_link_max.
28751
28752 [BZ #12868]
28753 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28754 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28755 Handle Lustre.
28756 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28757 (__statfs_filesize_max): Likewise.
28758 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28759
28760 2011-07-05 Andreas Jaeger <aj@suse.de>
28761
28762 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28763
28764 2011-07-06 Marek Polacek <mpolacek@redhat.com>
28765
28766 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28767 `status' variable.
28768 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28769 Likewise.
28770
28771 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28772
28773 * Makefile (strop-tests): Add strncat.
28774 * string/test-strncat.c: New file.
28775
28776 2011-06-30 Marek Polacek <mpolacek@redhat.com>
28777
28778 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28779
28780 2011-06-21 Andreas Jaeger <aj@suse.de>
28781
28782 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28783 Copy rule from iconvdata/Makefile.
28784
28785 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28786
28787 [BZ #12922]
28788 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28789 but no long options are defined, just return 'W'.
28790
28791 2011-06-22 Marek Polacek <mpolacek@redhat.com>
28792
28793 [BZ #9696]
28794 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28795
28796 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28797
28798 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28799 netgroups to read.
28800 (innetgr): Likewise.
28801
28802 2011-07-05 Roland McGrath <roland@hack.frob.com>
28803
28804 * config.make.in (install_root): Default to $(DESTDIR).
28805
28806 2011-07-05 Ulrich Drepper <drepper@gmail.com>
28807
28808 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28809
28810 2011-07-02 Roland McGrath <roland@hack.frob.com>
28811
28812 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28813
28814 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28815 containing directory rather than embedding absolute directory names.
28816
28817 * scripts/check-local-headers.sh: Rewritten using awk.
28818 Match by word, not by line. Print error messages for matches.
28819 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28820
28821 * Makerules [shlib-lds-flags empty]:
28822 ($(common-objpfx)libc_pic.opts): New target.
28823 ($(common-objpfx)libc_pic.os.clean): New target.
28824 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28825
28826 * config.make.in (OBJCOPY): New variable.
28827 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28828 * configure: Regenerated.
28829
28830 * config.make.in (use-default-link): New variable.
28831 * configure.in (use_default_link): Grok --with-default-link to set it.
28832 * configure: Regenerated.
28833 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28834 (shlib-lds, shlib-lds-flags): Define to empty.
28835
28836 * Makerules (shlib-lds): New variable.
28837 (shlib-lds-flags): New variable.
28838 (build-shlib, build-moduile, build-module-asneeded): Use it.
28839 ($(common-objpfx)libc.so): Use $(shlib-lds).
28840 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28841 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28842
28843 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28844 DT_FLAGS/DT_FLAGS_1 with zero flags.
28845
28846 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28847 linker script munging.
28848
28849 2011-07-02 Ulrich Drepper <drepper@gmail.com>
28850
28851 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28852 as 128-bit value.
28853 * crypt/sha512.c (sha512_process_block): Perform total addition using
28854 128-bit if possible.
28855 (__sha512_finish_ctx): Likewise.
28856 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28857 as 64-bit value.
28858 * crypt/sha256.c (SWAP64): Define.
28859 (sha256_process_block): Perform total addition using 64-bit if
28860 possible.
28861 (__sha256_finish_ctx): Likewise.
28862
28863 2011-07-01 Ulrich Drepper <drepper@gmail.com>
28864
28865 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28866 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28867 * nscd/hstcache.c (cache_addhst): Likewise.
28868 * nscd/grpcache.c (cache_addgr): Likewise.
28869 * nscd/aicache.c (addhstaiX): Likewise
28870 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28871
28872 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
28873
28874 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28875 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28876 * nscd/hstcache.c (cache_addhst): Likewise.
28877 * nscd/grpcache.c (cache_addgr): Likewise.
28878 * nscd/aicache.c (addhstaiX): Likewise
28879
28880 2011-07-01 Andreas Schwab <schwab@redhat.com>
28881
28882 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28883 domain only when needed.
28884
28885 2011-06-30 Andreas Schwab <schwab@redhat.com>
28886
28887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28888 is always restored.
28889
28890 2011-06-29 Ulrich Drepper <drepper@gmail.com>
28891
28892 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28893 are re-adding the entry.
28894 * nscd/servicescache.c (cache_addserv): Likewise.
28895
28896 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28897
28898 * sysdeps/generic/dl-irel.h: fix protection against multiple
28899 inclusions.
28900 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28901
28902 2011-06-28 Ulrich Drepper <drepper@gmail.com>
28903
28904 [BZ #12935]
28905 * malloc/memusage.sh: Fix quoting in message.
28906 * debug/xtrace.sh: Likewise.
28907
28908 * configure.in: Remove support for --experimental-malloc option, make
28909 it the default.
28910 * config.make.in: Likewise.
28911 * malloc/Makefile: Likewise.
28912
28913 2011-06-27 Andreas Schwab <schwab@redhat.com>
28914
28915 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28916 two-byte characters.
28917
28918 2011-06-27 Roland McGrath <roland@hack.frob.com>
28919
28920 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28921 AC_CACHE_CHECK invocation.
28922 * configure: Regenerated.
28923
28924 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28925
28926 2011-06-27 Ulrich Drepper <drepper@gmail.com>
28927
28928 [BZ #12350]
28929 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28930 bit from old_res_options.
28931
28932 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28933
28934 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28935 value type for setfct.
28936
28937 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28938
28939 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28940 __gettimeofday instead of gettimeofday.
28941
28942 2011-06-26 Ulrich Drepper <drepper@gmail.com>
28943
28944 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28945
28946 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28947
28948 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28949
28950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28951 info.
28952
28953 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28954
28955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28956 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28957 strcpy-sse2-unaligned strncpy-sse2-unaligned
28958 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28959 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28960 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28961 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28962 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28963 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28964 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28965 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28966 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28967 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28968 (STRCPY): Support SSE2 and SSSE3 versions.
28969
28970 2011-06-24 Ulrich Drepper <drepper@gmail.com>
28971
28972 [BZ #12874]
28973 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28974 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28975 kernels which artificially limit size of requests.
28976
28977 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28978
28979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28980 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28981 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28982 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28983 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28984 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28985 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28986 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28987 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28988 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28989 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28990 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28991 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28992 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28993 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28995 Enable unaligned load optimization for Intel Core i3, i5 and i7
28996 processors.
28997 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28998 Define.
28999 (index_Fast_Unaligned_Load): Define.
29000 (HAS_FAST_UNALIGNED_LOAD): Define.
29001
29002 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29003
29004 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29005
29006 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29007
29008 [BZ #12907]
29009 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29010 until it is clear that the information is realy needed.
29011 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29012
29013 2011-06-22 Andreas Schwab <schwab@redhat.com>
29014
29015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29016
29017 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29018
29019 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29020 /sys/devices/system/cpu/online if it is usable.
29021
29022 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29023 reading the information from the /proc filesystem to once a second.
29024
29025 2011-06-21 Andreas Jaeger <aj@suse.de>
29026
29027 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29028 NULL after inclusion of kernel headers.
29029
29030 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29031
29032 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29033 calls to internal_setent.
29034
29035 [BZ #12885]
29036 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29037 addresses using gethostbyname4_r ignore IPv4 addresses.
29038
29039 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29040 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29041
29042 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29043
29044 2011-06-20 David S. Miller <davem@davemloft.net>
29045
29046 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29047 inclusions.
29048 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29049
29050 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29051 (elf_irel): Use it.
29052 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29053 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29054 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29055 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29056 * sysdeps/x86_64/dl-irel.h: Likewise.
29057
29058 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29059 * elf/dl-sym.c: Likewise.
29060
29061 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29062
29063 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29064 need to dereference resplen2.
29065
29066 2011-06-14 Andreas Schwab <schwab@redhat.com>
29067
29068 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29069
29070 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29071
29072 * Makeconfig: Define vardbdir and inst_vardbdir.
29073 * nss/Makefile: Add rules to install db-Makefile.
29074
29075 * nss/nss_db/db-XXX.c: Cleanup.
29076
29077 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29078 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29079 GLIBC_PRIVATE.
29080 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29081 * nss/makedb.c: Implement -g option to specify that value strings
29082 are generated and should not be added to table iterated over for
29083 get*ent calls.
29084 * nss/nss_db/db-initgroups.c: New file.
29085
29086 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29087 interface.
29088
29089 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29090 (internal_getgrouplist): Adjust to name change.
29091 Update use_initgroups_entry if this is not the first call.
29092 * nss/databases.def: Add initgroups entry.
29093
29094 * nss/makedb.c (compute_tables): Check result of multiple hash table
29095 sizes to minimize maximum chain length.
29096
29097 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29098
29099 * Versions.def: Add entry for libnss_db.
29100 * shlib-versions: Likewise.
29101 * nss/Makefile: Add rules to build libnss_db.
29102 * nss/Versions: Add libnss_db information. Organize libnss_files
29103 entries better.
29104 * nss/db-Makefile: Add gshadow support. Change rules for the new
29105 makedb progra. Some minor improvements to generate smaller files.
29106 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29107 here from...
29108 * nss/makedb.c: ...here.
29109 Improve database format to be smaller and require less memory at
29110 runtime.
29111 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29112 db anymore.
29113 * nss/nss_db/db-netgrp.c: Likewise.
29114 * nss/nss_db/db-open.c: Likewise.
29115 * nss/nss_files/flies-XXX.x: Adjust comments.
29116 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29117 * nss/nss_files/files-grp.c: Likewise.
29118 * nss/nss_files/files-hosts.c: Likewise.
29119 * nss/nss_files/files-network.c: Likewise.
29120 * nss/nss_files/files-proto.c: Likewise.
29121 * nss/nss_files/files-pwd.c: Likewise.
29122 * nss/nss_files/files-rpc.c: Likewise.
29123 * nss/nss_files/files-service.c: Likewise.
29124 * nss/nss_files/files-sgrp.c: Likewise.
29125 * nss/nss_files/files-spwd.c: Likewise.
29126 * nss/nss_db/db-alias.c: Removed.
29127 * nss/nss_db/dummy-db.h: Removed.
29128
29129 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29130
29131 * nss/makedb.c: Rewritten to not use database library.
29132 * nss/Makefile: Update to build new makedb program.
29133
29134 2011-06-14 Andreas Jaeger <aj@suse.de>
29135
29136 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29137 memset declaration.
29138
29139 2011-06-10 Andreas Schwab <schwab@redhat.com>
29140
29141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29142 tmpbuf.
29143
29144 2011-06-10 Roland McGrath <roland@hack.frob.com>
29145
29146 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29147 * elf/Makefile ($(objpfx)ld.so): Likewise.
29148
29149 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29150 Don't list ld.so twice in dependencies.
29151
29152 * posix/bug-regex31.c: Include <stdlib.h>.
29153
29154 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29155
29156 * nis/nss_compat/compat-spwd.c
29157 (getspent_next_nss_netgr): Remove unused variable.
29158 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29159
29160 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29161 nonmembers" output to use the right array.
29162
29163 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29164
29165 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29166
29167 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29168 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29169 * catgets/gencat.c (read_input_file): Likewise.
29170 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29171
29172 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29173 variable definition inside #if's controlling its use.
29174
29175 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29176
29177 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29178
29179 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29180
29181 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29182 unreachable code.
29183
29184 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29185
29186 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29187 * configure: Regenerated.
29188
29189 * Makerules: Revert last change.
29190 * elf/Makefile: Likewise.
29191
29192 2011-06-09 Roland McGrath <roland@hack.frob.com>
29193
29194 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29195 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29196 (reloc-link): Likewise.
29197
29198 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29199
29200 * elf/Makefile: Add rules to build pldd.
29201 * elf/pldd.c: New file.
29202 * elf/pldd-xx.c: New file.
29203
29204 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29205
29206 * version.h: Update for 2.15 development version.
29207
29208 2011-06-07 David S. Miller <davem@davemloft.net>
29209
29210 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29211 ifuncs.
29212 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29213 elf_machine_lazy_rel): Likewise.
29214 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29216 elf_machine_lazy_rel): Likewise.
29217 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29218 dl_hwcap via passed in argument.
29219 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29220 Likewise.
29221
29222 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29223
29224 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29225
29226 2011-06-06 Roland McGrath <roland@hack.frob.com>
29227
29228 [BZ #12849]
29229 * manual/fdl-1.1.texi: New file, verbatim from:
29230 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29231 * manual/lgpl-2.1.texi: New file, verbatim from:
29232 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29233 * manual/Makefile (licenses): New variable, list those new file names.
29234 (texis): Use it.
29235 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29236
29237 * manual/fdl.texi: File removed.
29238 * manual/lesser.texi: File removed.
29239 * manual/libc.texinfo (Copying, Documentation License):
29240 Use new @include file names, put @appendix directive before @include.
29241
29242 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29243
29244 [BZ #12841]
29245 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29246 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29247 (mq_open): Add __NTH.
29248
29249 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29250
29251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29252 Assume Intel Core i3/i5/i7 processor if AVX is available.
29253
29254 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29255
29256 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29257 typo.
29258
29259 2011-05-31 Andreas Schwab <schwab@redhat.com>
29260
29261 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29262 memory. Use alloca_account. Fix memory leak when retrying.
29263
29264 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29265
29266 * version.h (RELEASE): Bump for 2.14 release.
29267 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29268
29269 * config.make.in (RANLIB): Remove entry.
29270
29271 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29272
29273 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29274 (libc.pot): Work around missing support for .ksh extension in xgettext.
29275
29276 [BZ #12684]
29277 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29278 if both request failed.
29279 (send_dg): In case of server errors clear resplen or *resplen2.
29280
29281 [BZ #12454]
29282 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29283 when there are multiple maps.
29284 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29285 (_dl_fini): Remove test here.
29286
29287 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29288
29289 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29290
29291 [BZ #12350]
29292 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29293 bit from old_res_options.
29294 (gaih_inet): Likewise.
29295
29296 [BZ #11099]
29297 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29298 as signed.
29299
29300 * resolv/res_init.c (res_setoptions): Make the code more compact.
29301
29302 [BZ #11558]
29303 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29304 set RES_USEVC.
29305
29306 [BZ #11634]
29307 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29308
29309 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29310
29311 [BZ #11781]
29312 * malloc/malloc.h: Declare malloc hook variables as volatile.
29313
29314 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29315 in last patch.
29316
29317 [BZ #11799]
29318 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29319 raise in the comment.
29320 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29321 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29322 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29323
29324 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29325
29326 [BZ #12811]
29327 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29328 grow the buffers more if it already has to be sufficient.
29329 (build_wcs_upper_buffer): Likewise.
29330 * posix/regexec.c (check_matching): Likewise.
29331 (clean_state_log_if_needed): Likewise.
29332 (extend_buffers): Don't enlarge buffers beyond size of the input
29333 buffer.
29334 Patches mostly by Emil Wojak <emil@wojak.eu>.
29335 * posix/bug-regex32.c: New file.
29336 * posix/Makefile (tests): Add bug-regex32.
29337
29338 * locale/findlocale.c (_nl_find_locale): Return right away if
29339 _nl_explode_name failed.
29340 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29341
29342 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29343
29344 * debug/xtrace.sh: Unify messages.
29345 * malloc/memusage.sh: Likewise.
29346
29347 [BZ #12813]
29348 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29349 time symbol from vDSO. Substitute with vsyscall if not available.
29350 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29351 __vdso_time.
29352
29353 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29354 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29355 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29356 Add sendmmsg and internal_sendmmsg.
29357 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29358 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29359 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29360
29361 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29362 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29363 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29364
29365 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29366
29367 [BZ #12813]
29368 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29369 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29370 available.
29371 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29372 __vdso_getcpu.
29373
29374 [BZ #12814]
29375 * iconvdata/Makefile (tests): Add bug-iconv9.
29376 * iconvdata/bug-iconv9.c: New file.
29377
29378 2011-05-27 Andreas Schwab <schwab@redhat.com>
29379
29380 [BZ #12814]
29381 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29382
29383 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29384
29385 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29386 (struct user_regs_struct): Change intcs field back to cs.
29387
29388 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29389
29390 * po/ja.po: Update from translation team.
29391
29392 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29393
29394 [BZ #12795]
29395 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29396 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29397
29398 2011-05-20 Andreas Schwab <schwab@redhat.com>
29399
29400 * stdlib/longlong.h: Update from GCC.
29401
29402 2011-05-23 Andreas Schwab <schwab@redhat.com>
29403
29404 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29405 parameter name.
29406 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29407 Add parameter name.
29408 (__sysconf): Pass it down.
29409
29410 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29411
29412 [BZ #12671]
29413 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29414 some situations.
29415 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29416 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29417 add in in __libc_use_alloca calls. Adjust callers.
29418 (glob): Use malloc in some situations.
29419
29420 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29421 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29422 pltexit.
29423
29424 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29425
29426 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29427 and CLOCK_BOOTTIME_ALARM.
29428
29429 [BZ #12782]
29430 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29431 is returned.
29432
29433 * string/_strerror.c (__strerror_r): Print negative errors as signed
29434 numbers.
29435
29436 [BZ #12777]
29437 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29438 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29439 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29440
29441 * configure.in: Fix typo in redirection and correct removal of test
29442 files in two cases.
29443
29444 [BZ #12788]
29445 * locale/setlocale.c (new_composite_name): Fix test to check for
29446 identical name of all categories.
29447
29448 [BZ #12792]
29449 * libio/filedoalloc.c (local_isatty): New function.
29450 (_IO_file_doallocate): Use local_isatty.
29451 * stdio-common/perror.c (perror): In case a new stream is used
29452 forward the stream error.
29453 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29454 error flag.
29455
29456 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29457
29458 [BZ #11869]
29459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29460 alloca.
29461 * include/alloca.h (extend_alloca_account): Define.
29462
29463 [BZ #11857]
29464 * posix/regex.h: Fix comments with documentation of user-accessible
29465 fields after compilation and describe correct free'ing of pattern
29466 after re_compile_pattern.
29467 Patch by Reuben Thomas <rrt@sc3d.org>.
29468
29469 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29470
29471 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29472 and -mno-altivec to prevent the compiler from using Altivec and/or
29473 VSX instructions when the corresponding registers are not available.
29474
29475 2011-05-19 Andreas Schwab <schwab@redhat.com>
29476
29477 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29478
29479 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29480
29481 * libio/freopen.c (freopen): Use __dup2, not dup2.
29482 * libio/freopen64.c (freopen64): Likewise.
29483
29484 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29485
29486 [BZ #12775]
29487 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29488 * math/Makefile (tests): Add test-powl.
29489 (CFLAGS-test-powl.c): Define.
29490 * math/test-powl.c: New file.
29491
29492 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29493
29494 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29495
29496 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29497
29498 [BZ #11837]
29499 * iconvdata/gb18030.c: Update to GB18020-2005.
29500
29501 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29502
29503 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29504 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29505 Patch by Aharon Robbins <arnold@skeeve.com>.
29506
29507 [BZ #11892]
29508 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29509 on the stack.
29510
29511 [BZ #11895]
29512 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29513 through underflows.
29514
29515 [BZ #12766]
29516 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29517 point to strings before performing equality test for error_one_per_line
29518 mode.
29519
29520 [BZ #11697]
29521 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29522
29523 [BZ #11820]
29524 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29525 (struct user_fpregs_struct): Avoid __uint*_t types.
29526
29527 [BZ #6420]
29528 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29529 symbol info. Use it instead of calling _dl_addr locally.
29530 (lock_and_info): New function.
29531 (tr_freehook): Call lock_and_info and pass symbol info as additional
29532 parameter to tr_where.
29533 (tr_mallochook): Likewise.
29534 (tr_reallochook): Likewise.
29535 (tr_memalignhook): Likewise.
29536
29537 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29538 used and couldn't be at all thread-safe.
29539
29540 2011-05-15 Ulrich Drepper <drepper@gmail.com>
29541
29542 * libio/freopen.c (freopen): Don't close old file descriptor
29543 before the new one is opened. Instead dup the new file descriptor
29544 to the old one after the new stream is created.
29545 * libio/freopen64.c (freopen64): Likewise.
29546 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29547 * libio/fileops.c (_IO_new_file_close_it): Handle new
29548 _IO_FLAGS2_NOCLOSE flag.
29549 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29550 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29551 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29552 _IO_FLAGS2_NOCLOSE flag.
29553 * include/unistd.h: Add hidden_proto for dup3.
29554 Define __have_dup3.
29555 * io/dup3.c: Define hidden symbol.
29556 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29557
29558 [BZ #7101]
29559 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29560 when an incomplete long option is used.
29561 * posix/tst-getopt_long1.c: New file.
29562 * posix/Makefile (tests): Add tst-getopt_long1.
29563
29564 [BZ #10138]
29565 * scripts/config.guess: Update from autoconf-2.68.
29566 * scripts/config.sub: Likewise.
29567
29568 [BZ #10157]
29569 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29570 tests into ...
29571 (has_cpuclock): ...this. New function.
29572 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29573 macro here based on has_cpuclock code.
29574
29575 [BZ #10149]
29576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29577 First byte (not low byte) is now always NUL.
29578 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29579
29580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29581 Use non-cancelable interfaces.
29582
29583 [BZ #9809]
29584 * locale/iso-639.def: Add entry for Sorani.
29585
29586 [BZ #11901]
29587 * include/stdlib.h: Move include protection to the right place.
29588 Define abort_msg_s. Declare __abort_msg with it.
29589 * stdlib/abort.c (__abort_msg): Adjust type.
29590 * assert/assert.c (__assert_fail_base): New function. Majority
29591 of code from __assert_fail. Allocate memory for __abort_msg with
29592 mmap.
29593 (__assert_fail): Now call __assert_fail_base.
29594 * assert/assert-perr.c: Remove bulk of implementation. Use
29595 __assert_fail_base.
29596 * include/assert.hL Declare __assert_fail_base.
29597 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29598 mmap.
29599 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29600
29601 2011-05-14 Ulrich Drepper <drepper@gmail.com>
29602
29603 [BZ #11952]
29604 [BZ #12453]
29605 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29606 until all modules are registered in the DTV.
29607 * elf/Makefile: Add rules to build and run tst-tls19.
29608 * elf/tst-tls19.c: New file.
29609 * elf/tst-tls19mod1.c: New file.
29610 * elf/tst-tls19mod2.c: New file.
29611 * elf/tst-tls19mod3.c: New file.
29612 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29613
29614 [BZ #12083]
29615 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29616 correctly.
29617
29618 [BZ #12601]
29619 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29620 two-byte sequence errors.
29621 * iconvdata/Makefile (tests): Add bug-iconv8.
29622 * iconvdata/bug-iconv8.c: New file.
29623
29624 [BZ #12626]
29625 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29626 buf2 definition.
29627
29628 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29629
29630 [BZ #12432]
29631 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29632 (dummy_getcfa): New function.
29633 (init): Get _Unwind_GetCFA address, use dummy if not found.
29634 (backtrace_helper): In recursion check, also check whether CFA changes.
29635 (__backtrace): Completely initialize arg.
29636
29637 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29638 storing incomplete byte sequence in state object. Avoid testing for
29639 guaranteed too small input if we know there is enough data available.
29640
29641 2011-05-11 Andreas Schwab <schwab@redhat.com>
29642
29643 * Makeconfig (+link-pie): Indent.
29644 * Rules (binaries-pie): Define if $(have-fpie) and
29645 $(build-shared).
29646 (binaries-shared): Also filter out $(binaries-pie).
29647 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29648 * nscd/Makefile (others-pie): Add nscd.
29649 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29650 ($(objpfx)nscd): Remove command override.
29651 * login/Makefile (others-pie): Add pt_chown.
29652 ($(objpfx)pt_chown): Remove command override.
29653 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29654 remove command overrides.
29655
29656 2011-05-13 Ulrich Drepper <drepper@gmail.com>
29657
29658 * libio/tst_putwc.c: Fix error messages.
29659
29660 [BZ #12724]
29661 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29662 currently writing and seek to current position when not.
29663 * libio/Makefile (tests): Add bug-fclose1.
29664 * libio/bug-fclose1.c: New file.
29665
29666 2011-05-12 Ulrich Drepper <drepper@gmail.com>
29667
29668 [BZ #12511]
29669 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29670 don't set DF_1_NODELETE here.
29671 (do_lookup_x): When entering new entry test for copy relocation
29672 and if necessary set DF_1_NODELETE flag.
29673 * elf/tst-unique4.cc: New file.
29674 * elf/tst-unique4.h: New file.
29675 * elf/tst-unique4lib.cc: New file.
29676 * elf/Makefile: Add rules to build and run tst-unique4.
29677 Patch by Piotr Bury <pbury@goahead.com>.
29678
29679 2011-05-11 Ulrich Drepper <drepper@gmail.com>
29680
29681 [BZ #12052]
29682 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29683
29684 [BZ #12625]
29685 * misc/mntent_r.c (addmntent): Flush the stream after the output
29686
29687 [BZ #12393]
29688 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29689 (is_trusted_path_normalize): Skip initial colon. Append slash
29690 to empty buffer. Duplicate is_trusted_path code but allow
29691 constructed patch to be prefix.
29692 (is_dst): Allow $ORIGIN followed by /.
29693 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29694 Correct testing of result of is_trusted_path_normalize
29695 (decompose_rpath): Fix warning.
29696
29697 2011-05-10 Ulrich Drepper <drepper@gmail.com>
29698
29699 [BZ #11257]
29700 * grp/initgroups.c (internal_getgrouplist): When we found the service
29701 list through the initgroups entry in nsswitch.conf do not always
29702 continue on a successful lookup. Don't always use the
29703 __nss_group_database value if it is set.
29704 * nss/nsswitch.conf (initgroups): Change action for successful db
29705 lookup to continue for compatibility.
29706
29707 2011-05-09 Ulrich Drepper <drepper@gmail.com>
29708
29709 [BZ #11532]
29710 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29711 and CP774 modules.
29712 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29713 and CP774 modules.
29714 * iconvdata/tst-tables.sh: Likewise.
29715 * iconvdata/cp770.c: New file.
29716 * iconvdata/cp771.c: New file.
29717 * iconvdata/cp772.c: New file.
29718 * iconvdata/cp773.c: New file.
29719 * iconvdata/cp774.c: New file.
29720 * iconvdata/testdata/CP770: New file.
29721 * iconvdata/testdata/CP770..UTF8: New file.
29722 * iconvdata/testdata/CP771: New file.
29723 * iconvdata/testdata/CP771..UTF8: New file.
29724 * iconvdata/testdata/CP772: New file.
29725 * iconvdata/testdata/CP772..UTF8: New file.
29726 * iconvdata/testdata/CP773: New file.
29727 * iconvdata/testdata/CP773..UTF8: New file.
29728 * iconvdata/testdata/CP774: New file.
29729 * iconvdata/testdata/CP774..UTF8: New file.
29730
29731 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29732 END CHARMAP line.
29733 * iconvdata/gen-8bit-gap.sh: Likewise.
29734 * iconvdata/gen-8bit.sh: Likewise.
29735
29736 * locale/iso-639.def: Add ary entry.
29737
29738 [BZ #11258]
29739 * locale/C-translit.h.in: Add U20A1 transliteration.
29740
29741 [BZ #12178]
29742 * locale/iso-639.def: Add wae entry.
29743 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29744
29745 [BZ #12545]
29746 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29747 for n.
29748
29749 [BZ #12711]
29750 * locale/C-translit.h.in: Add entry for U20B9.
29751 Patch by pravin.d.s@gmail.com.
29752
29753 2011-05-08 Ulrich Drepper <drepper@gmail.com>
29754
29755 [BZ #12713]
29756 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29757 ENAMETOOLONG use generic getcwd.
29758 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29759 in rtld. Use *stat64.
29760 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29761 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29762 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29763 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29764 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29765 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29766 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29767 __fstatat64 macros.
29768 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29769 * dirent/rewinddir.c: Add libc_hidden_def.
29770 * sysdeps/mach/hurd/rewinddir.c: Likewise.
29771 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
29772
29773 * include/dirent.h (__alloc_dir): Add flags parameter.
29774 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29775 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29776 __alloc_dir.
29777 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29778 from fdopendir if O_CLOEXEC is already set.
29779
29780 2011-03-15 Alan Modra <amodra@gmail.com>
29781
29782 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29783 l_tls_firstbyte_offset non-zero. Save padding offset in
29784 l_tls_firstbyte_offset for later use.
29785 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29786 freeing static tls block.
29787
29788 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29789
29790 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29791 where #ifdef was intended. The intent is to prevent ARG_MAX from
29792 being defined by the kernel headers.
29793
29794 2011-05-07 Ulrich Drepper <drepper@gmail.com>
29795
29796 [BZ #12734]
29797 * resolv/resolv.h: Define RES_NOTLDQUERY.
29798 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29799 no-tld-query and set RES_NOTLDQUERY.
29800 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29801 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29802 modern BIND to search name as TLD unless forbidden.
29803
29804 2011-05-07 Petr Baudis <pasky@suse.cz>
29805 Ulrich Drepper <drepper@gmail.com>
29806
29807 [BZ #12393]
29808 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29809 (is_trusted_path): ...to here.
29810 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29811 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29812 using is_trusted_path_normalize() in setuid scripts.
29813
29814 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29815
29816 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29817 __BEGIN/__END_DECLS.
29818
29819 2011-05-06 Ulrich Drepper <drepper@gmail.com>
29820
29821 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29822 NSS_STATUS_NOTFOUND if no record was found.
29823
29824 2011-05-05 Andreas Schwab <schwab@redhat.com>
29825
29826 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29827 (headers-not-in-tirpc): Remove rpc/netdb.h
29828 * resolv/netdb.h: Revert last change.
29829
29830 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29831
29832 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29833 circular dependency between libgcc.a and libc.a.
29834
29835 2011-05-05 Andreas Schwab <schwab@redhat.com>
29836
29837 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29838 * nis/Makefile: Don't install rpcsvc/*.
29839 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29840 instead of <rpc/types.h>.
29841 (MAXHOSTNAMELEN): Define.
29842
29843 2011-05-03 Andreas Schwab <schwab@redhat.com>
29844
29845 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29846
29847 2011-04-28 Maciej Babinski <mbabinski@google.com>
29848
29849 [BZ #12714]
29850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29851 gethostbyname4_r when IPv6 results are possible.
29852
29853 2011-05-02 Ulrich Drepper <drepper@gmail.com>
29854
29855 [BZ #12723]
29856 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29857 _PC_PIPE_BUF handling.
29858
29859 2011-04-30 Bruno Haible <bruno@clisp.org>
29860
29861 [BZ #12717]
29862 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29863 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29864 to 'int'.
29865 * inet/getnameinfo.c (getnameinfo): Likewise.
29866
29867 2011-04-29 Ulrich Drepper <drepper@gmail.com>
29868
29869 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29870 to groups setting in database lookup.
29871 * nss/nsswitch.conf: Add initgroups entry.
29872
29873 2011-04-22 Ulrich Drepper <drepper@gmail.com>
29874
29875 [BZ #12685]
29876 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29877 mode string.
29878 Patch by Eric Blake <eblake@redhat.com>.
29879
29880 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29881
29882 * sunrpc/Makefile (need-export-routines): Add svc_run.
29883 (routines): Remove svc_run.
29884 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29885 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29886 * sunrpc/svc_run.c (svc_run): Likewise.
29887 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29888
29889 2011-04-21 Ulrich Drepper <drepper@gmail.com>
29890
29891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29892 problem in reallocation in last patch.
29893
29894 2011-04-20 Ulrich Drepper <drepper@gmail.com>
29895
29896 * sunrpc/Makefile: Move inclusion of Rules.
29897
29898 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29899
29900 * nss/nss_files/files-initgroups.c: New file.
29901 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29902 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29903 _nss_files_initgroups_dyn.
29904
29905 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29906
29907 * elf/elf.h (R_ARM_IRELATIVE): Define.
29908
29909 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29910
29911 * po/ru.po: Update from translation team.
29912
29913 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29914
29915 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29916 dependencies.
29917
29918 2011-02-06 Mike Frysinger <vapier@gentoo.org>
29919
29920 [BZ #12653]
29921 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29922 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29923 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29924 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29925 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29926
29927 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29928
29929 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29930 differing bytes.
29931 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29932 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29933 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29934
29935 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29936
29937 [BZ #12420]
29938 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29939 storing it.
29940 * stdlib/bug-getcontext.c: New file.
29941 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29942
29943 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29944
29945 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29946 instructions into .machine "z9-109".
29947 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29948 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29949
29950 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29951
29952 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29953 between environment variables and auxiliary vector.
29954
29955 2011-04-16 Ulrich Drepper <drepper@gmail.com>
29956
29957 * Makefile: Add rules to build linkobj/libc.so.
29958 * include/libc-symbols.h: Define libc_hidden_nolink.
29959 * include/rpc/auth.h: Mark functions which are to be hidden.
29960 * include/rpc/auth_des.h: Likewise.
29961 * include/rpc/auth_unix.h: Likewise.
29962 * include/rpc/clnt.h: Likewise.
29963 * include/rpc/des_crypt.h: Likewise.
29964 * include/rpc/key_prot.h: Likewise.
29965 * include/rpc/pmap_clnt.h: Likewise.
29966 * include/rpc/pmap_prot.h: Likewise.
29967 * include/rpc/pmap_rmt.h: Likewise.
29968 * include/rpc/rpc_msg.h: Likewise.
29969 * include/rpc/svc.h: Likewise.
29970 * include/rpc/svc_auth.h: Likewise.
29971 * include/rpc/xdr.h: Likewise.
29972 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29973 * nss/Makefile: Likewise.
29974 * sunrpc/Makefile: Don't install headers. Build library with normal
29975 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29976 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29977 for the compat linking library. Remove use of INTDEF/INTUSE.
29978 * sunrpc/auth_none.c: Likewise.
29979 * sunrpc/auth_unix.c: Likewise.
29980 * sunrpc/authdes_prot.c: Likewise.
29981 * sunrpc/authuxprot.c: Likewise.
29982 * sunrpc/clnt_gen.c: Likewise.
29983 * sunrpc/clnt_perr.c: Likewise.
29984 * sunrpc/clnt_raw.c: Likewise.
29985 * sunrpc/clnt_simp.c: Likewise.
29986 * sunrpc/clnt_tcp.c: Likewise.
29987 * sunrpc/clnt_udp.c: Likewise.
29988 * sunrpc/clnt_unix.c: Likewise.
29989 * sunrpc/des_crypt.c: Likewise.
29990 * sunrpc/des_soft.c: Likewise.
29991 * sunrpc/get_myaddr.c: Likewise.
29992 * sunrpc/key_call.c: Likewise.
29993 * sunrpc/key_prot.c: Likewise.
29994 * sunrpc/netname.c: Likewise.
29995 * sunrpc/pm_getmaps.c: Likewise.
29996 * sunrpc/pm_getport.c: Likewise.
29997 * sunrpc/pmap_clnt.c: Likewise.
29998 * sunrpc/pmap_prot.c: Likewise.
29999 * sunrpc/pmap_prot2.c: Likewise.
30000 * sunrpc/pmap_rmt.c: Likewise.
30001 * sunrpc/publickey.c: Likewise.
30002 * sunrpc/rpc_cmsg.c: Likewise.
30003 * sunrpc/rpc_common.c: Likewise.
30004 * sunrpc/rpc_dtable.c: Likewise.
30005 * sunrpc/rpc_prot.c: Likewise.
30006 * sunrpc/rpc_thread.c: Likewise.
30007 * sunrpc/rtime.c: Likewise.
30008 * sunrpc/svc.c: Likewise.
30009 * sunrpc/svc_auth.c: Likewise.
30010 * sunrpc/svc_authux.c: Likewise.
30011 * sunrpc/svc_raw.c: Likewise.
30012 * sunrpc/svc_run.c: Likewise.
30013 * sunrpc/svc_simple.c: Likewise.
30014 * sunrpc/svc_tcp.c: Likewise.
30015 * sunrpc/svc_udp.c: Likewise.
30016 * sunrpc/svc_unix.c: Likewise.
30017 * sunrpc/svcauth_des.c: Likewise.
30018 * sunrpc/xcrypt.c: Likewise.
30019 * sunrpc/xdr.c: Likewise.
30020 * sunrpc/xdr_array.c: Likewise.
30021 * sunrpc/xdr_float.c: Likewise.
30022 * sunrpc/xdr_intXX_t.c: Likewise.
30023 * sunrpc/xdr_mem.c: Likewise.
30024 * sunrpc/xdr_rec.c: Likewise.
30025 * sunrpc/xdr_ref.c: Likewise.
30026 * sunrpc/xdr_sizeof.c: Likewise.
30027 * sunrpc/xdr_stdio.c: Likewise.
30028
30029 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30030
30031 [BZ #12650]
30032 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30033 * sysdeps/ia64/dl-tls.h: Likewise.
30034 * sysdeps/powerpc/dl-tls.h: Likewise.
30035 * sysdeps/s390/dl-tls.h: Likewise.
30036 * sysdeps/sh/dl-tls.h: Likewise.
30037 * sysdeps/sparc/dl-tls.h: Likewise.
30038 * sysdeps/x86_64/dl-tls.h: Likewise.
30039 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30040
30041 2011-03-14 Andreas Schwab <schwab@redhat.com>
30042
30043 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30044 rpath element also skip the following colon.
30045 (expand_dynamic_string_token): Add is_path parameter and pass
30046 down to DL_DST_REQUIRED and _dl_dst_substitute.
30047 (decompose_rpath): Call expand_dynamic_string_token with
30048 non-zero is_path. Ignore empty rpaths.
30049 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30050 with zero is_path.
30051
30052 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30053
30054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30055 Make cancelable.
30056
30057 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30058
30059 [BZ #12655]
30060 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30061 Patch by Filipe David Manana <fdmanana@apache.org>.
30062
30063 2011-04-07 Andreas Schwab <schwab@redhat.com>
30064
30065 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30066 Maintain aligned stack.
30067 (CHECK_RSP): Remove unused macro.
30068
30069 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30070
30071 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30072 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30073
30074 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30075
30076 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30077
30078 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30079
30080 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30081
30082 [BZ #12518]
30083 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30084 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30085 * sysdeps/x86_64/memmove.c: New file.
30086 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30087 (memcpy): Renamed to ...
30088 (__new_memcpy): This.
30089 (memcpy): Provide GLIBC_2_14 memcpy.
30090 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30091 (memcpy): Provide GLIBC_2_2_5 memcpy.
30092
30093 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30094
30095 [BZ #12631]
30096 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30097
30098 2011-03-30 Andreas Schwab <schwab@redhat.com>
30099
30100 * misc/syncfs.c: New file.
30101 * misc/Makefile (routines): Add syncfs.
30102 * posix/unistd.h: Declare syncfs.
30103 * sysdeps/unix/syscalls.list: Add syncfs.
30104
30105 2011-04-01 Andreas Schwab <schwab@redhat.com>
30106
30107 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30108 open_by_handle_at.
30109 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30112 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30114 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30116
30117 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30118
30119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30120 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30121 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30123 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30125 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30126
30127 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30128 sync_file_range.c with -fexceptions.
30129 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30130 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30131 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30132 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30133 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30134 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30135 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30136 sync_file_range as cancellation point
30137 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30138 now a wrapper around __call_sync_file_range with cancellation handling.
30139 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30140 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30141 function name to __call_sync_file_range.
30142 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30143 Add call_sync_file_range.
30144
30145 2011-04-01 Andreas Schwab <schwab@redhat.com>
30146
30147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30148 bits/timex.h.
30149
30150 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30151
30152 * iconv/iconv.h: Fix typo in comment.
30153 * io/fcntl.h: Likewise.
30154 * libio/stdio.h: Likewise.
30155 * posix/spawn.h: Likewise.
30156 * posix/unistd.h: Likewise.
30157 * stdlib/stdlib.h: Likewise.
30158 * time/time.h: Likewise.
30159 * wcsmbs/wchar.h: Likewise.
30160
30161 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30162 open_by_handle): Add.
30163 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30164 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30165 Augment a few comments.
30166 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30167 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30168 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30171 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30172 open_by_handle.
30173
30174 * io/fcntl.h (AT_EMPTY_PATH): Define.
30175
30176 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30177
30178 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30179 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30180 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30181 to...
30182 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30183 * Versions.def: Add GLIBC_2.14.
30184 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30185 Export.
30186
30187 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30188
30189 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30190 round counter.
30191 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30192
30193 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30194
30195 [BZ #12597]
30196 * string/test-strncmp.c (do_page_test): New function.
30197 (check2): Likewise.
30198 (test_main): Call check2.
30199 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30200
30201 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30202
30203 [BZ #12587]
30204 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30205 Handle cache information in CPU leaf 4.
30206 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30207
30208 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30209
30210 [BZ #12583]
30211 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30212 character representation.
30213 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30214
30215 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30216
30217 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30218 END(__isnan) to END(__isnanf) to match function entry point/label
30219 EALIGN(__isnanf,...).
30220
30221 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30222
30223 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30224
30225 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30226
30227 [BZ #12510]
30228 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30229 copy from the symbol referenced in the relocation to initialize the
30230 used variable.
30231 Patch by Piotr Bury <pbury@goahead.com>.
30232 * elf/Makefile: Add rules to build and tst-unique3.
30233 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30234 * elf/tst-unique3.cc: New file.
30235 * elf/tst-unique3.h: New file.
30236 * elf/tst-unique3lib.cc: New file.
30237 * elf/tst-unique3lib2.cc: New file.
30238
30239 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30240
30241 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30242
30243 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30244 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30245 to _start.
30246
30247 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30248
30249 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30250 to-be-loaded object along a path to loader is ld.so.
30251
30252 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30253 Ulrich Drepper <drepper@gmail.com>
30254
30255 * sysdeps/x86_64/memset.S: After aligning destination, code
30256 branches to different locations depending on the value of
30257 misalignment, when multiarch is enabled. Fix this.
30258
30259 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30260
30261 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30262 Set _x86_64_preferred_memory_instruction for AMD processsors.
30263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30264 Set bit_Prefer_SSE_for_memop for AMD processors.
30265
30266 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30267
30268 * libio/fmemopen.c (fmemopen): Optimize a bit.
30269
30270 2011-03-03 Andreas Schwab <schwab@redhat.com>
30271
30272 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30273
30274 2011-03-03 Roland McGrath <roland@redhat.com>
30275
30276 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30277
30278 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30279
30280 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30281 __bzero_ultra1 instead of __memset_ultra1.
30282
30283 2011-02-23 Andreas Schwab <schwab@redhat.com>
30284 Ulrich Drepper <drepper@gmail.com>
30285
30286 [BZ #12509]
30287 * include/link.h (struct link_map): Add l_orig_initfini.
30288 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30289 returning unsuccessfully.
30290 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30291 close of a file loaded at startup, restore the original l_initfini
30292 list.
30293 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30294 list, store the pointer.
30295 * elf/Makefile ($(objpfx)noload-mem): New rule.
30296 (noload-ENV): Define.
30297 (tests): Add $(objpfx)noload-mem.
30298 * elf/noload.c: Include <memcheck.h>.
30299 (main): Call mtrace. Close all opened handles.
30300
30301 2011-02-17 Andreas Schwab <schwab@redhat.com>
30302
30303 [BZ #12454]
30304 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30305 dependencies are missing.
30306
30307 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30308
30309 Fix __if_freereq crash: Unlike the generic version which uses free,
30310 Hurd needs munmap.
30311 * sysdeps/mach/hurd/ifreq.h: New file.
30312
30313 2011-01-27 Petr Baudis <pasky@suse.cz>
30314 Ulrich Drepper <drepper@gmail.com>
30315
30316 [BZ 12445]#
30317 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30318 to extend_alloca().
30319 * stdio-common/bug23.c: New file.
30320 * stdio-common/Makefile (tests): Add bug23.
30321
30322 2010-09-28 Andreas Schwab <schwab@redhat.com>
30323 Ulrich Drepper <drepper@gmail.com>
30324
30325 [BZ #12489]
30326 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30327 before performing relro protection. At old place add assertion
30328 to make sure nothing changed.
30329
30330 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30331 Glauber de Oliveira Costa <glommer@gmail.com>
30332
30333 * elf/elf.h: Add new ARM TLS relocs.
30334
30335 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30336
30337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30338 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30339 cast from r3.
30340 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30341 'tests' variable.
30342 * sysdeps/wordsize-64/tst-writev.c: New file.
30343
30344 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30345
30346 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30347 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30348 insns in _dl_start to prevent a TOC reference before relocs are
30349 resolved.
30350
30351 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30352
30353 [BZ #12469]
30354 * Makeconfig: Remove RANLIB definition.
30355 * Makerules: Don't use RANLIB.
30356 * aclocal.m4: Remove ranlib test.
30357 * configure.in: No need to check for ranlib.
30358 * elf/rtld-Rules: Don't use RANLIB.
30359
30360 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30361
30362 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30363 protection macro.
30364 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30365 inclusion protection macro.
30366
30367 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30368 SIGRTMIN and SIGRTMAX and print information in that case only when
30369 SIGRTMIN is defined.
30370
30371 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30372
30373 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30374 arginfo fn returning -1.
30375
30376 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30377 and thousands string is zero terminated.
30378
30379 2011-02-03 Andreas Schwab <schwab@redhat.com>
30380
30381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30382 sysdeps/unix/sysv/linux/bits/socket.h.
30383
30384 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30385
30386 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30387 (__CPU_COUNT): Remove old macros.
30388 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30389 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30390 (__CPU_ALLOC, __CPU_FREE): Add macros.
30391 (__sched_cpualloc, __sched_cpufree): Add declarations.
30392
30393 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30394
30395 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30396 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30397 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30398 (readdhstai): Return value of addhstaiX call.
30399 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30400 (addgrbyX): Return value returned by cache_addgr.
30401 (readdgrbyname): Return value returned by addgrbyX.
30402 (readdgrbygid): Likewise.
30403 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30404 (addpwbyX): Return value returned by cache_addpw.
30405 (readdpwbyname): Return value returned by addhstbyX.
30406 (readdpwbyuid): Likewise.
30407 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30408 (addservbyX): Return value returned by cache_addserv.
30409 (readdservbyname): Return value returned by addservbyX:
30410 (readdservbyport): Likewise.
30411 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30412 (addhstbyX): Return value returned by cache_addhst.
30413 (readdhstbyname): Return value returned by addhstbyX.
30414 (readdhstbyaddr): Likewise.
30415 (readdhstbynamev6): Likewise.
30416 (readdhstbyaddrv6): Likewise.
30417 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30418 (readdinitgroups): Return value returned by addinitgroupsX.
30419 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30420 (prune_cache): Keep track of timeout value of re-added entries.
30421 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30422 * nscd/nscd.h: Adjust prototypes of readd* functions.
30423
30424 2011-02-04 Roland McGrath <roland@redhat.com>
30425
30426 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30427 (nis_stats): Likewise.
30428 * nis/nis_modify.c (nis_modify): Likewise.
30429 * nis/nis_remove.c (nis_remove): Likewise.
30430 * nis/nis_add.c (nis_add): Likewise.
30431
30432 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30433
30434 * posix/fnmatch_loop.c: Add some consts.
30435
30436 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30437
30438 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30439
30440 [BZ #12460]
30441 * config.make.in (config-cflags-novzeroupper): Define.
30442 * configure.in: Substitute libc_cv_cc_novzeroupper.
30443 * elf/Makefile (AVX-CFLAGS): Define.
30444 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30445 (CFLAGS-tst-auditmod4a.c): Likewise.
30446 (CFLAGS-tst-auditmod4b.c): Likewise.
30447 (CFLAGS-tst-auditmod6b.c): Likewise.
30448 (CFLAGS-tst-auditmod6c.c): Likewise.
30449 (CFLAGS-tst-auditmod7b.c): Likewise.
30450 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30451
30452 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30453
30454 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30455 function to the callback.
30456 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30457
30458 2011-02-02 Andreas Schwab <schwab@redhat.com>
30459
30460 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30461 of errno.
30462
30463 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30464
30465 [BZ #11724]
30466 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30467 of constructors.
30468 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30469 of destructors.
30470 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30471
30472 [BZ #11724]
30473 * elf/Makefile: Add rules to build and run new test.
30474 * elf/tst-initorder.c: New file.
30475 * elf/tst-initorder.exp: New file.
30476 * elf/tst-initordera1.c: New file.
30477 * elf/tst-initordera2.c: New file.
30478 * elf/tst-initordera3.c: New file.
30479 * elf/tst-initordera4.c: New file.
30480 * elf/tst-initorderb1.c: New file.
30481 * elf/tst-initorderb2.c: New file.
30482 * elf/tst-order-a1.c: New file.
30483 * elf/tst-order-a2.c: New file.
30484 * elf/tst-order-a3.c: New file.
30485 * elf/tst-order-a4.c: New file.
30486 * elf/tst-order-b1.c: New file.
30487 * elf/tst-order-b2.c: New file.
30488 * elf/tst-order-main.c: New file.
30489 New test case by George Gensure <werkt0@gmail.com>.
30490
30491 2010-10-01 Andreas Schwab <schwab@redhat.com>
30492
30493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30494 decoding ACE if AI_CANONIDN.
30495
30496 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30497
30498 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30499
30500 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30501
30502 * version.h (RELEASE): Bump for 2.13 release.
30503 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30504
30505 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30506
30507 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30508 MADV_NOHUGEPAGE.
30509 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30510 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30511 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30512 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30513 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30514 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30515
30516 * posix/getconf.c: Update copyright year.
30517 * catgets/gencat.c: Likewise.
30518 * csu/version.c: Likewise.
30519 * debug/catchsegv.sh: Likewise.
30520 * debug/xtrace.sh: Likewise.
30521 * elf/ldconfig.c: Likewise.
30522 * elf/ldd.bash.in: Likewise.
30523 * elf/sprof.c (print_version): Likewise.
30524 * iconv/iconv_prog.c: Likewise.
30525 * iconv/iconvconfig.c: Likewise.
30526 * locale/programs/locale.c: Likewise.
30527 * locale/programs/localedef.c: Likewise.
30528 * malloc/memusage.sh: Likewise.
30529 * malloc/mtrace.pl: Likewise.
30530 * nscd/nscd.c (print_version): Likewise.
30531 * nss/getent.c: Likewise.
30532
30533 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30534 PF_CAIF, and PF_ALG.
30535 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30536
30537 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30538
30539 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30540 (modules-names): Use them.
30541 (ifunc-test-modules, ifunc-pie-tests): Define.
30542 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30543 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30544 (test-extras): Likewise.
30545 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30546 $(compile-command.c).
30547 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30548 (all-built-dso): Define.
30549 (check-textrel.out, check-execstack.out): Depend on it.
30550
30551 * configure.in: Don't override --enable-multi-arch.
30552
30553 2011-01-15 Ulrich Drepper <drepper@gmail.com>
30554
30555 [BZ #6812]
30556 * nscd/hstcache.c (tryagain): Define.
30557 (cache_addhst): Return tryagain not notfound for temporary errors.
30558 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30559 failed.
30560
30561 2011-01-14 Ulrich Drepper <drepper@gmail.com>
30562
30563 [BZ #10563]
30564 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30565 to make the syscall.
30566 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30567
30568 [BZ #12378]
30569 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30570 and fall back to matching as normal character if the string ends before
30571 the matching ']' is found. This is what POSIX requires.
30572 * posix/testfnm.c: Adjust test result.
30573 * posix/globtest.sh: Adjust test result. Add new test.
30574 * posix/tst-fnmatch.input: Likewise.
30575 * posix/tst-fnmatch2.c: Add new test.
30576
30577 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30578
30579 * elf/Makefile (check-execstack): Revert last change. Depend on
30580 check-execstack.h.
30581 (check-execstack.h): New target.
30582 (generated): Add check-execstack.h.
30583 * elf/check-execstack.c: Include "check-execstack.h".
30584 (main): Revert last change.
30585 (handle_file): Return zero if GNU_STACK is absent and
30586 DEFAULT_STACK_PERMS doesn't include PF_X.
30587
30588 2011-01-13 Ulrich Drepper <drepper@gmail.com>
30589
30590 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30591 in child fails because the descriptor is already closed.
30592 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30593 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30594 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30595
30596 [BZ #12397]
30597 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30598 syscall.
30599
30600 [BZ #10484]
30601 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30602 temporary buffer used to handle multi lookups locally.
30603 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30604
30605 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30606
30607 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30608 loader is ld.so.
30609
30610 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30611
30612 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30613 alignment for SSE2.
30614
30615 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30616
30617 [BZ #12394]
30618 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30619 characters. When rounding increased number of integer digits recompute
30620 number of groups.
30621 * stdio-common/tst-grouping.c: New file.
30622 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30623
30624 2011-01-09 Ulrich Drepper <drepper@gmail.com>
30625
30626 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30627 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30628
30629 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30630 void.
30631 * bits/select.h: Likewise.
30632
30633 2011-01-08 Ulrich Drepper <drepper@gmail.com>
30634
30635 * po/ja.po: Update from translation team.
30636
30637 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
30638
30639 [BZ #11155]
30640 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30641 implementation just like for lxstat, fxstatat, et al.
30642
30643 2010-12-27 Jim Meyering <meyering@redhat.com>
30644
30645 [BZ #12348]
30646 * posix/regexec.c (build_trtable): Return failure indication upon
30647 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30648
30649 2010-12-25 Ulrich Drepper <drepper@gmail.com>
30650
30651 [BZ #12201]
30652 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30653 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30654 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30655 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30656
30657 [BZ #12207]
30658 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30659
30660 [BZ #12204]
30661 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30662 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30663
30664 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30665
30666 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30667 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30668 script has SORT_BY_INIT_PRIORITY.
30669 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30670 NO_CTORS_DTORS_SECTIONS is defined.
30671 * elf/soinit.c: Likewise.
30672 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30673 NO_CTORS_DTORS_SECTIONS is defined.
30674 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30675 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30676 * sysdeps/sh/init-first.c: Likewise.
30677 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30678
30679 2010-12-24 Ulrich Drepper <drepper@gmail.com>
30680
30681 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30682 always use the slow path.
30683
30684 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30685
30686 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30687 similar rule which adds the sysdep directories to the header search in
30688 order to pick up the correct platform stackinfo.h.
30689 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30690 perform test if it is, otherwise return successfully without testing.
30691 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30692 DEFAULT_STACK_PERMS define in stackinfo.h.
30693 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30694 defined in stackinfo.h.
30695 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30696 DEFAULT_STACK_PERMS defined in stackinfo.h.
30697 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30698 * sysdeps/ia64/stackinfo.h: Likewise.
30699 * sysdeps/s390/stackinfo.h: Likewise.
30700 * sysdeps/sh/stackinfo.h: Likewise.
30701 * sysdeps/sparc/stackinfo.h: Likewise.
30702 * sysdeps/x86_64/stackinfo.h: Likewise.
30703 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30704 PF_X for powerpc64. Retain PF_X for powerpc32.
30705
30706 2010-12-19 Ulrich Drepper <drepper@gmail.com>
30707
30708 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30709 accurately.
30710 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30711 GETDENTS_64BIT_ALIGNED.
30712
30713 2010-12-14 Ulrich Drepper <dreper@gmail.com>
30714
30715 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30716
30717 2010-12-10 Andreas Schwab <schwab@redhat.com>
30718
30719 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30720 _GNU_SOURCE.
30721
30722 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30723 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30724 Remove __restrict.
30725 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30726 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30727
30728 2010-12-09 Ulrich Drepper <drepper@gmail.com>
30729
30730 [BZ #11655]
30731 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30732 are initialized.
30733
30734 2010-12-09 Jakub Jelinek <jakub@redhat.com>
30735
30736 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30737
30738 2010-12-03 Ulrich Drepper <drepper@gmail.com>
30739
30740 * po/it.po: Update from translation team.
30741
30742 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30743
30744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30745 unused codes.
30746
30747 2010-11-30 Ulrich Drepper <drepper@gmail.com>
30748
30749 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30750
30751 2010-11-24 Andreas Schwab <schwab@redhat.com>
30752
30753 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30754 specially.
30755 (gaih_getanswer_slice): Likewise.
30756
30757 2010-10-20 Jakub Jelinek <jakub@redhat.com>
30758
30759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30760
30761 2010-05-31 Petr Baudis <pasky@suse.cz>
30762
30763 [BZ #11149]
30764 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30765 silently even in the chroot mode.
30766
30767 2010-11-22 Ulrich Drepper <drepper@gmail.com>
30768
30769 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30770 last patch a bit. Pretty printing
30771
30772 2010-05-31 Petr Baudis <pasky@suse.cz>
30773
30774 [BZ #10085]
30775 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30776 initialization of skip_initgroups_dyn.
30777
30778 2010-11-19 Ulrich Drepper <drepper@gmail.com>
30779
30780 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30781 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30782
30783 2010-11-16 Ulrich Drepper <drepper@gmail.com>
30784
30785 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30786
30787 2010-11-11 Andreas Schwab <schwab@redhat.com>
30788
30789 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30790 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30791 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30792 ($(objpfx)tst-fnmatch-mem): New rule.
30793 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30794 * posix/tst-fnmatch.c (main): Call mtrace.
30795
30796 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30797
30798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30799 Support Intel processor model 6 and model 0x2c.
30800
30801 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
30802
30803 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30804 signed comparison.
30805
30806 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30807
30808 [BZ #12205]
30809 * string/test-strncasecmp.c (check_result): New function.
30810 (do_one_test): Use it.
30811 (check1): New function.
30812 (test_main): Use it.
30813 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30814 Support strcasecmp and strncasecmp.
30815
30816 2010-11-08 Ulrich Drepper <drepper@gmail.com>
30817
30818 [BZ #12194]
30819 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30820 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30821
30822 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30823
30824 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30825 IFUNC support.
30826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30827 memset-x86-64.
30828 * sysdeps/x86_64/multiarch/bzero.S: New file.
30829 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30830 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30831 * sysdeps/x86_64/multiarch/memset.S: New file.
30832 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30834 Set bit_Prefer_SSE_for_memop for Intel processors.
30835 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30836 Define.
30837 (index_Prefer_SSE_for_memop): Define.
30838 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30839
30840 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
30841
30842 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30843 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30844
30845 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30846
30847 [BZ #12191]
30848 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30849 (__x86_64_raw_data_cache_size_half): Likewise.
30850 (__x86_64_raw_shared_cache_size): Likewise.
30851 (__x86_64_raw_shared_cache_size_half): Likewise.
30852
30853 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30854 (__x86_64_raw_data_cache_size_half): Likewise.
30855 (__x86_64_raw_shared_cache_size): Likewise.
30856 (__x86_64_raw_shared_cache_size_half): Likewise.
30857 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30858 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30859 and __x86_64_raw_shared_cache_size_half. Round
30860 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30861 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30862 to multiple of 256 bytes.
30863
30864 2010-11-03 Ulrich Drepper <drepper@gmail.com>
30865
30866 [BZ #12167]
30867 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30868 of inacessible symlinks. Verify result of symlink before returning it.
30869 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30870 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30871
30872 2010-10-28 Erich Ritz <erichritz@gmail.com>
30873
30874 * math/math.h (isinf): Fix typo in comment.
30875
30876 2010-11-01 Ulrich Drepper <drepper@gmail.com>
30877
30878 * po/da.po: Update from translation team.
30879
30880 2010-10-26 Ulrich Drepper <drepper@gmail.com>
30881
30882 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30883 is added to the list.
30884
30885 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30886 Ulrich Drepper <drepper@gmail.com>
30887
30888 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30889 the global list here. Move code to...
30890 (_dl_add_to_namespace_list): ...here. New function.
30891 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30892 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30893 * elf/dl-load.c (lose): Don't remove the element from the list.
30894 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30895 (_dl_map_object): Likewise.
30896
30897 2010-10-25 Ulrich Drepper <drepper@gmail.com>
30898
30899 [BZ #12159]
30900 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30901 into all bytes of SSE register.
30902 Patch by Richard Li <richardpku@gmail.com>.
30903
30904 2010-10-24 Ulrich Drepper <drepper@gmail.com>
30905
30906 [BZ #12140]
30907 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30908 perturbing.
30909
30910 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30911
30912 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30913 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30914 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30915 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30917 submachine.
30918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30919
30920 2010-10-22 Andreas Schwab <schwab@redhat.com>
30921
30922 * include/dlfcn.h (__RTLD_SECURE): Define.
30923 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30924 mode & __RTLD_SECURE instead.
30925 (open_path): Rename preloaded parameter to secure.
30926 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30927 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30928 * elf/dl-deps.c (openaux): Likewise.
30929 * elf/rtld.c (struct map_args): Remove is_preloaded.
30930 (map_doit): Don't use it.
30931 (dl_main): Likewise.
30932 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30933 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30934
30935 2010-09-09 Andreas Schwab <schwab@redhat.com>
30936
30937 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30938 (sysd-rules-targets): Remove duplicates.
30939 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30940 rtld-%.$o dependency.
30941
30942 2010-10-18 Andreas Schwab <schwab@redhat.com>
30943
30944 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30945 _dl_map_object do it.
30946
30947 2010-10-19 Ulrich Drepper <drepper@gmail.com>
30948
30949 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30950 fast fma builtins, define the macros in the C99 standard.
30951 (FP_FAST_FMAF): Likewise.
30952 (FP_FAST_FMAL): Likewise.
30953 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30954
30955 * bits/mathdef.h: Update copyright year.
30956 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30957
30958 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30959
30960 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30961 builtins, define the macros in the C99 standard.
30962 (FP_FAST_FMAF): Likewise.
30963 (FP_FAST_FMAL): Likewise.
30964 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30965 multiply/add.
30966 (FP_FAST_FMAF): Likewise.
30967
30968 2010-10-15 Jakub Jelinek <jakub@redhat.com>
30969
30970 [BZ #3268]
30971 * math/libm-test.inc (fma_test): Some new testcases.
30972 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30973 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30974 y and infinite z. Do multiplication by C already in long double.
30975 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30977 y and infinite z. Do bitwise or of inexact bit into u.d.
30978 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30979 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30980 * sysdeps/i386/fpu/s_fma.S: Removed.
30981 * sysdeps/i386/fpu/s_fmal.S: Removed.
30982
30983 2010-10-16 Jakub Jelinek <jakub@redhat.com>
30984
30985 [BZ #3268]
30986 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30988 computation is not scheduled after fetestexcept. Fix value
30989 of minimum denormal long double.
30990
30991 2010-10-14 Jakub Jelinek <jakub@redhat.com>
30992
30993 [BZ #3268]
30994 * math/libm-test.inc (fma_test): Add some more tests.
30995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30996 correctly.
30997
30998 2010-10-15 Andreas Schwab <schwab@redhat.com>
30999
31000 * scripts/data/localplt-s390-linux-gnu.data: New file.
31001 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31002
31003 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31004
31005 [BZ #3268]
31006 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31007 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31008 instead of dbl-64.
31009 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31010 inlines.
31011 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31013 if one of x and y is very large and the other is subnormal.
31014 * sysdeps/s390/fpu/s_fmaf.c: New file.
31015 * sysdeps/s390/fpu/s_fma.c: New file.
31016 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31017 * sysdeps/powerpc/fpu/s_fma.S: New file.
31018 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31019 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31020 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31021
31022 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31023
31024 [BZ #3268]
31025 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31026 fma tests.
31027 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31028 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31029 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31030 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31031 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31032 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31034
31035 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31036
31037 [BZ #12078]
31038 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31039 * posix/bug-regex31.input: Add test case.
31040
31041 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31042
31043 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31044 * posix/bug-regex31.input: New file.
31045
31046 [BZ #12078]
31047 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31048 (parse_sub_exp): Fix last change, use postorder.
31049
31050 * posix/bug-regex31.c: New file.
31051 * posix/Makefile: Add rules to build and run bug-regex31.
31052
31053 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31054
31055 [BZ #12078]
31056 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31057
31058 [BZ #12108]
31059 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31060 to have entries in sys_siglist.
31061
31062 [BZ #12093]
31063 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31064 be NULL.
31065
31066 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31067
31068 [BZ #3268]
31069 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31070 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31071 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31072 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31073 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31074 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31075 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31076 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31077 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31078 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31079 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31080 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31081 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31082 * math/ftestexcept.c (fetestexcept): Likewise.
31083 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31084 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31085 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31086 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31087 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31088 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31089 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31090
31091 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31092
31093 [BZ #12107]
31094 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31095 newline.
31096
31097 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31098
31099 * string/bug-strstr1.c: New file.
31100 * string/Makefile: Add rules to build and run bug-strstr1.
31101
31102 2010-10-05 Eric Blake <eblake@redhat.com>
31103
31104 [BZ #12092]
31105 * string/str-two-way.h (two_way_long_needle): Always clear memory
31106 when skipping input due to the shift table.
31107
31108 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31109
31110 [BZ #12005]
31111 * malloc/mcheck.c: Handle large requests.
31112
31113 [BZ #12077]
31114 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31115 for strncmp and strncasecmp.
31116 * string/stratcliff.c: Add tests for strcmp and strncmp.
31117 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31118
31119 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31120
31121 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31122 __set_fpscr.
31123
31124 2010-09-30 Andreas Jaeger <aj@suse.de>
31125
31126 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31127 (CGROUP_SUPER_MAGIC): Define.
31128 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31129 Handle btrfs and cgroup file systems.
31130 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31131 Likewise.
31132
31133 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31134
31135 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31136 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31137
31138 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31139
31140 [BZ #12067]
31141 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31142 trying to locate the ELF header.
31143
31144 2010-09-27 Andreas Schwab <schwab@redhat.com>
31145
31146 [BZ #11611]
31147 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31148 Mask out sign-bit copies when constructing f_fsid.
31149
31150 2010-09-24 Petr Baudis <pasky@suse.cz>
31151
31152 * debug/stack_chk_fail_local.c: Add missing licence exception.
31153 * debug/warning-nop.c: Likewise.
31154
31155 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31156
31157 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31158 implementing getdents64 using getdents syscall, set d_type if
31159 __ASSUME_GETDENTS32_D_TYPE.
31160
31161 2010-09-16 Andreas Schwab <schwab@redhat.com>
31162
31163 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31164 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31165
31166 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31167
31168 [BZ #12037]
31169 * posix/unistd.h: Undo change of feature selection for ftruncate from
31170 2010-01-11.
31171
31172 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31173
31174 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31175 detection.
31176
31177 2010-09-20 Andreas Schwab <schwab@redhat.com>
31178
31179 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31180 fanotify_mark.
31181 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31182
31183 2010-09-14 Andreas Schwab <schwab@redhat.com>
31184
31185 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31186 variables after CHECK_SP call.
31187 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31188
31189 2010-09-13 Andreas Schwab <schwab@redhat.com>
31190 Ulrich Drepper <drepper@redhat.com>
31191
31192 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31193 re-relocationg ld.so.
31194 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31195 _dl_init_paths call.
31196 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31197 here anymore.
31198
31199 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31200
31201 * resolv/res_init.c (__res_vinit): Count the default server we added.
31202
31203 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31204 Ulrich Drepper <drepper@redhat.com>
31205
31206 [BZ #11968]
31207 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31208 (____longjmp_chk): Use %ebx for saving value across system call.
31209 Add unwind info.
31210
31211 2010-09-06 Andreas Schwab <schwab@redhat.com>
31212
31213 * manual/Makefile: Don't mix pattern rules with normal rules.
31214
31215 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31216
31217 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31218 operation.
31219 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31220 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31221 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31222 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31223 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31224 Likewise.
31225
31226 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31227
31228 [BZ #11979]
31229 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31230 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31231
31232 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31233
31234 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31235 * sysdeps/x86_64/addmul_1.S: Likewise.
31236 * sysdeps/x86_64/lshift.S: Likewise.
31237 * sysdeps/x86_64/mul_1.S: Likewise.
31238 * sysdeps/x86_64/rshift.S: Likewise.
31239 * sysdeps/x86_64/sub_n.S: Likewise.
31240 * sysdeps/x86_64/submul_1.S: Likewise.
31241
31242 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31243
31244 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31245 Define __sched_param instead of SCHED_* and sched_param when
31246 <bits/sched.h> is included with __need_schedparam defined.
31247 * bits/sched.h [__need_schedparam]
31248 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31249 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31250 (__defined_schedparam): Define to 1.
31251 (__sched_param): New structure, identical to sched_param.
31252 (__need_schedparam): Undefine.
31253
31254 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31255
31256 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31257 (epoll_create1): Declare.
31258
31259 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31260
31261 2010-08-31 Andreas Schwab <schwab@redhat.com>
31262
31263 [BZ #7066]
31264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31265 shifting retval into place.
31266
31267 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31268
31269 * nis/rpcsvc/nis.h: Update copyright notice.
31270 * nis/rpcsvc/nis.x: Likewise.
31271 * nis/rpcsvc/nis_callback.h: Likewise.
31272 * nis/rpcsvc/nis_callback.x: Likewise.
31273 * nis/rpcsvc/nis_object.x: Likewise.
31274 * nis/rpcsvc/nis_tags.h: Likewise.
31275 * nis/rpcsvc/yp.h: Likewise.
31276 * nis/rpcsvc/yp.x: Likewise.
31277 * nis/rpcsvc/ypupd.h: Likewise.
31278 * nis/yp_xdr.c: Likewise.
31279 * nis/ypupdate_xdr.c: Likewise.
31280
31281 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31282 mainly the body of pmap_getport. Add parameters to specify timeouts.
31283 (pmap_getport): Use __libc_rpc_getport.
31284 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31285 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31286 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31287
31288 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31289
31290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31291 fanotify_mark.
31292
31293 2010-08-27 Roland McGrath <roland@redhat.com>
31294
31295 * sysdeps/i386/i686/multiarch/Makefile
31296 (CFLAGS-varshift.c): New variable.
31297
31298 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31299
31300 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31301 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31302
31303 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31304
31305 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31306
31307 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31308
31309 * sysdeps/x86_64/strlen.S: Unroll the loop.
31310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31311 strlen-sse2 strlen-sse2-bsf.
31312 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31313 __strlen_no_bsf if bit_Slow_BSF is set.
31314 (__strlen_sse42): Removed.
31315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31316 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31317
31318 2010-08-25 Roland McGrath <roland@redhat.com>
31319
31320 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31321 * sysdeps/x86_64/multiarch/varshift.c: New file.
31322 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31323 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31324 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31325 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31326
31327 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31328
31329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31330 strlen-sse2 strlen-sse2-bsf.
31331 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31332 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31333 (__strlen_sse2): Removed.
31334 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31335 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31337 bit_Slow_BSF for Atom.
31338 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31339 (index_Slow_BSF): Define.
31340 (HAS_SLOW_BSF): Define.
31341
31342 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31343
31344 [BZ #10851]
31345 * resolv/res_init.c (__res_vinit): When no server address at all
31346 is given default to loopback.
31347
31348 2010-08-24 Roland McGrath <roland@redhat.com>
31349
31350 * configure.in: Remove config-name.h generation.
31351 * configure: Regenerated.
31352 * config-name.in: File removed.
31353 * scripts/config-uname.sh: New file.
31354 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31355 ($(objdir)config-name.h): New target.
31356
31357 * sunrpc/rpc_parse.h: Avoid nested comment.
31358
31359 2010-08-24 Richard Henderson <rth@redhat.com>
31360 Ulrich Drepper <drepper@redhat.com>
31361 H.J. Lu <hongjiu.lu@intel.com>
31362
31363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31365 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31366 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31367 _mm_alignr_epi8 with _mm_loadu_si128.
31368 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31369 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31370 (__m128i_shift_right): Removed.
31371 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31372 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31373 * sysdeps/x86_64/multiarch/varshift.h: New file.
31374 * sysdeps/x86_64/multiarch/varshift.S: New file.
31375
31376 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31377
31378 * configure.in: Move assembler checks to before sysdep dir checking.
31379
31380 2010-08-20 Petr Baudis <pasky@suse.cz>
31381
31382 * LICENSES: Sync the sunrpc license.
31383
31384 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31385
31386 * sunrpc/auth_des.c: Update copyright notice once again.
31387 * sunrpc/auth_none.c: Likewise.
31388 * sunrpc/auth_unix.c: Likewise.
31389 * sunrpc/authdes_prot.c: Likewise.
31390 * sunrpc/authuxprot.c: Likewise.
31391 * sunrpc/bindrsvprt.c: Likewise.
31392 * sunrpc/clnt_gen.c: Likewise.
31393 * sunrpc/clnt_perr.c: Likewise.
31394 * sunrpc/clnt_raw.c: Likewise.
31395 * sunrpc/clnt_simp.c: Likewise.
31396 * sunrpc/clnt_tcp.c: Likewise.
31397 * sunrpc/clnt_udp.c: Likewise.
31398 * sunrpc/clnt_unix.c: Likewise.
31399 * sunrpc/des_crypt.c: Likewise.
31400 * sunrpc/des_soft.c: Likewise.
31401 * sunrpc/get_myaddr.c: Likewise.
31402 * sunrpc/getrpcport.c: Likewise.
31403 * sunrpc/key_call.c: Likewise.
31404 * sunrpc/key_prot.c: Likewise.
31405 * sunrpc/openchild.c: Likewise.
31406 * sunrpc/pm_getmaps.c: Likewise.
31407 * sunrpc/pm_getport.c: Likewise.
31408 * sunrpc/pmap_clnt.c: Likewise.
31409 * sunrpc/pmap_prot.c: Likewise.
31410 * sunrpc/pmap_prot2.c: Likewise.
31411 * sunrpc/pmap_rmt.c: Likewise.
31412 * sunrpc/rpc/auth.h: Likewise.
31413 * sunrpc/rpc/auth_unix.h: Likewise.
31414 * sunrpc/rpc/clnt.h: Likewise.
31415 * sunrpc/rpc/des_crypt.h: Likewise.
31416 * sunrpc/rpc/key_prot.h: Likewise.
31417 * sunrpc/rpc/netdb.h: Likewise.
31418 * sunrpc/rpc/pmap_clnt.h: Likewise.
31419 * sunrpc/rpc/pmap_prot.h: Likewise.
31420 * sunrpc/rpc/pmap_rmt.h: Likewise.
31421 * sunrpc/rpc/rpc.h: Likewise.
31422 * sunrpc/rpc/rpc_des.h: Likewise.
31423 * sunrpc/rpc/rpc_msg.h: Likewise.
31424 * sunrpc/rpc/svc.h: Likewise.
31425 * sunrpc/rpc/svc_auth.h: Likewise.
31426 * sunrpc/rpc/types.h: Likewise.
31427 * sunrpc/rpc/xdr.h: Likewise.
31428 * sunrpc/rpc_clntout.c: Likewise.
31429 * sunrpc/rpc_cmsg.c: Likewise.
31430 * sunrpc/rpc_common.c: Likewise.
31431 * sunrpc/rpc_cout.c: Likewise.
31432 * sunrpc/rpc_dtable.c: Likewise.
31433 * sunrpc/rpc_hout.c: Likewise.
31434 * sunrpc/rpc_main.c: Likewise.
31435 * sunrpc/rpc_parse.c: Likewise.
31436 * sunrpc/rpc_parse.h: Likewise.
31437 * sunrpc/rpc_prot.c: Likewise.
31438 * sunrpc/rpc_sample.c: Likewise.
31439 * sunrpc/rpc_scan.c: Likewise.
31440 * sunrpc/rpc_scan.h: Likewise.
31441 * sunrpc/rpc_svcout.c: Likewise.
31442 * sunrpc/rpc_tblout.c: Likewise.
31443 * sunrpc/rpc_util.c: Likewise.
31444 * sunrpc/rpc_util.h: Likewise.
31445 * sunrpc/rpcinfo.c: Likewise.
31446 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31447 * sunrpc/rpcsvc/key_prot.x: Likewise.
31448 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31449 * sunrpc/rpcsvc/mount.x: Likewise.
31450 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31451 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31452 * sunrpc/rpcsvc/rex.x: Likewise.
31453 * sunrpc/rpcsvc/rstat.x: Likewise.
31454 * sunrpc/rpcsvc/rusers.x: Likewise.
31455 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31456 * sunrpc/rpcsvc/spray.x: Likewise.
31457 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31458 * sunrpc/rtime.c: Likewise.
31459 * sunrpc/svc.c: Likewise.
31460 * sunrpc/svc_auth.c: Likewise.
31461 * sunrpc/svc_authux.c: Likewise.
31462 * sunrpc/svc_raw.c: Likewise.
31463 * sunrpc/svc_run.c: Likewise.
31464 * sunrpc/svc_simple.c: Likewise.
31465 * sunrpc/svc_tcp.c: Likewise.
31466 * sunrpc/svc_udp.c: Likewise.
31467 * sunrpc/svc_unix.c: Likewise.
31468 * sunrpc/svcauth_des.c: Likewise.
31469 * sunrpc/xcrypt.c: Likewise.
31470 * sunrpc/xdr.c: Likewise.
31471 * sunrpc/xdr_array.c: Likewise.
31472 * sunrpc/xdr_float.c: Likewise.
31473 * sunrpc/xdr_mem.c: Likewise.
31474 * sunrpc/xdr_rec.c: Likewise.
31475 * sunrpc/xdr_ref.c: Likewise.
31476 * sunrpc/xdr_sizeof.c: Likewise.
31477 * sunrpc/xdr_stdio.c: Likewise.
31478
31479 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31480 handling.
31481
31482 2010-08-19 Andreas Schwab <schwab@redhat.com>
31483
31484 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31485
31486 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31487
31488 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31489 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31490 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31491 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31492 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31493 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31494 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31495 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31496 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31497 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31498 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31499 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31500 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31501 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31502
31503 2010-07-26 Anton Blanchard <anton@samba.org>
31504
31505 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31506 * malloc/arena.c (heap_trim): Likewise.
31507
31508 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31509
31510 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31511 here. Not...
31512 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31513 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31514
31515 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31516
31517 * sysdeps/i386/elf/Makefile: New file.
31518
31519 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31520
31521 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31522 from fanotify_init.
31523 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31524 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31525
31526 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31527
31528 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31529 of strncasecmp_l.
31530 * sysdeps/multiarch/strcmp.S: Likewise.
31531
31532 2010-08-14 Ulrich Drepper <drepper@redhat.com>
31533
31534 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31535 strncase_l-nonascii.
31536 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31537 Add strncase_l-ssse3.
31538 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31539 * sysdeps/x86_64/strcmp.S: Likewise.
31540 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31541 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31542 * sysdeps/x86_64/strncase.S: New file.
31543 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31544 * sysdeps/x86_64/strncase_l.S: New file.
31545 * string/Makefile (strop-tests): Add strncasecmp.
31546 * string/test-strncasecmp.c: New file.
31547
31548 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31549 warning.
31550
31551 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31552 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31553
31554 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31555
31556 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31557
31558 2010-08-12 Ulrich Drepper <drepper@redhat.com>
31559
31560 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31561 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31562 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31563
31564 2010-05-01 Alan Modra <amodra@gmail.com>
31565
31566 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31567 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31568 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31569 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31570 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31571 tidying. Don't tail-call __sigjmp_save for static lib.
31572 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31573 save location.
31574 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31575 (CALL_MCOUNT): Add eh info, and nop after bl.
31576 (TAIL_CALL_SYSCALL_ERROR): New macro.
31577 (PSEUDO_RET): Use it.
31578 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31579 Correct save location of integer regs and cr.
31580 (_dl_profile_resolve): Correct cr save location. Delete nops
31581 after bl when SHARED. Reduce cfi size a little by better
31582 placement of cfi directives.
31583 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31584 make a stack frame. Instead use parm save area as a temp.
31585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31586 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31588 Don't make a stack frame for parent, use parm save area.
31589 Increase child stack frame to 112 bytes. Don't save unused reg,
31590 and adjust reg usage. Set up cfi on error recovery and
31591 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31593 (__makecontext): Add dummy nop after jump to exit.
31594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31595 Use correct parm save area and cr save, reduce stack frame.
31596 Correct cfi for possible PSEUDO_RET frame setup.
31597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31598 Branch to local label emitted by PSEUDO_RET rather than
31599 __syscall_error.
31600
31601 2010-08-12 Andreas Schwab <schwab@redhat.com>
31602
31603 [BZ #11904]
31604 * locale/programs/locale.c (print_assignment): New function.
31605 (show_locale_vars): Use it.
31606
31607 2010-08-11 Ulrich Drepper <drepper@redhat.com>
31608
31609 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31610 field.
31611 (struct statfs64): Likewise.
31612 (_STATFS_F_FLAGS): Define.
31613 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31614 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31615 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31616 (ST_VALID): Define locally.
31617 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31618 __statvfs_getflags, use the provided value.
31619 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31620 __ASSUME_STATFS_F_FLAGS.
31621
31622 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31623
31624 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31625 Add sys/fanotify.h.
31626 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31627 fanotify_mask for GLIBC_2.13.
31628 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31629 fanotify_init and fanotify_mark.
31630 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31631 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31632
31633 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31634 Add prlimit.
31635 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31636 prlimit64 for GLIBC_2.13.
31637 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31638 prlimit64.
31639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31640 syscall.
31641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31642 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31643 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31644 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31646 add prlimit alias.
31647 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31648
31649 [BZ #11903]
31650 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31651 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31652
31653 * nss/Makefile: Add rules to build and run tst-nss-test1.
31654 * shlib-versions: Add entry for libnss_test1.
31655 * nss/nss_test1.c: New file.
31656 * nss/tst-nss-test1.c: New file.
31657
31658 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31659 (__nss_configure_lookup): Set appropriate entry in
31660 __nss_configure_lookup to true.
31661 * nss/nsswitch.h: Define enum with indeces of databases in
31662 databases and __nss_database_custom arrays. Declare
31663 __nss_database_custom.
31664 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31665 to avoid using nscd when custom rules are installed.
31666 * nss/getXXbyYY_r.c: Likewise.
31667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31668
31669 * nss/nss_files/files-parse.c: Whitespace fixes.
31670
31671 2010-08-09 Ulrich Drepper <drepper@redhat.com>
31672
31673 [BZ #11883]
31674 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31675 * posix/fnmatch_loop.c: Likewise.
31676
31677 2010-07-17 Andi Kleen <ak@linux.intel.com>
31678
31679 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31680 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31681 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31682 * Versions.def [GLIBC_2.13]: Add.
31683
31684 2010-08-06 Ulrich Drepper <drepper@redhat.com>
31685
31686 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31687 Also fail if tpwd after pwuid call is NULL.
31688
31689 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31690
31691 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31692 when converting to ms.
31693
31694 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31695
31696 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31697 EOPNOTSUPP errors with ENOTTY.
31698 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31699 EOPNOTSUPP errors with ENOTTY.
31700
31701 2010-07-31 Ulrich Drepper <drepper@redhat.com>
31702
31703 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31704 Add strcasecmp_l-ssse3.
31705 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31706 strcasecmp.
31707 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31708 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31709 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31710
31711 2010-07-30 Ulrich Drepper <drepper@redhat.com>
31712
31713 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31714
31715 * string/Makefile (strop-tests): Add strcasecmp.
31716 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31717 strcasecmp_l-nonascii.
31718 (gen-as-const-headers): Add locale-defines.sym.
31719 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31720 * sysdeps/x86_64/strcasecmp.S: New file.
31721 * sysdeps/x86_64/strcasecmp_l.S: New file.
31722 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31723 * sysdeps/x86_64/locale-defines.sym: New file.
31724 * string/test-strcasecmp.c: New file.
31725
31726 * string/test-strcasestr.c: Test both ends of the range of characters.
31727 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31728
31729 2010-07-29 Roland McGrath <roland@redhat.com>
31730
31731 [BZ #11856]
31732 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31733
31734 2010-07-27 Ulrich Drepper <drepper@redhat.com>
31735
31736 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31737 for ld.so.
31738
31739 2010-07-27 Andreas Schwab <schwab@redhat.com>
31740
31741 * manual/memory.texi (Malloc Tunable Parameters): Document
31742 M_PERTURB.
31743
31744 2010-07-26 Roland McGrath <roland@redhat.com>
31745
31746 [BZ #11840]
31747 * configure.in (-fgnu89-inline check): Set and substitute
31748 gnu89_inline, not libc_cv_gnu89_inline.
31749 * configure: Regenerated.
31750 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31751
31752 2010-07-26 Ulrich Drepper <drepper@redhat.com>
31753
31754 * string/test-strnlen.c: New file.
31755 * string/Makefile (strop-tests): Add strnlen.
31756 * string/tester.c (test_strnlen): Add a few more test cases.
31757 * string/tst-strlen.c: Better error reporting.
31758
31759 * sysdeps/x86_64/strnlen.S: New file.
31760
31761 2010-07-24 Ulrich Drepper <drepper@redhat.com>
31762
31763 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31764 lower-latency instructions.
31765
31766 2010-07-23 Ulrich Drepper <drepper@redhat.com>
31767
31768 * string/test-strcasestr.c: New file.
31769 * string/test-strstr.c: New file.
31770 * string/Makefile (strop-tests): Add strstr and strcasestr.
31771 * string/str-two-way.h: Don't undefine MAX.
31772 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31773
31774 2010-07-21 Andreas Schwab <schwab@redhat.com>
31775
31776 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31777 strcasestr-nonascii.
31778 (CFLAGS-strcasestr-nonascii.c): Define.
31779 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31780 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31781 Remove unused attribute.
31782
31783 2010-07-20 Roland McGrath <roland@redhat.com>
31784
31785 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31786 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31787 ld.so.cache was broken. With it, there is no way to disable dsocaps
31788 like LD_HWCAP_MASK can disable hwcaps.
31789
31790 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31791
31792 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31793
31794 2010-07-16 Ulrich Drepper <drepper@redhat.com>
31795
31796 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31797 call in strcasestr.
31798 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31799 __strcasestr_sse42_nonascii.
31800 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31801 strcasestr-nonascii.c.
31802 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31803
31804 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
31805
31806 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31807 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31808 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31809 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31810
31811 2010-07-09 Ulrich Drepper <drepper@redhat.com>
31812
31813 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31814 fcntl.
31815
31816 2010-07-06 Andreas Schwab <schwab@redhat.com>
31817
31818 [BZ #11577]
31819 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31820 dl_signal_cerror.
31821
31822 2010-07-06 Ulrich Drepper <drepper@redhat.com>
31823
31824 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31825 _PC_PIPE_BUF using F_GETPIPE_SZ.
31826
31827 2010-07-05 Roland McGrath <roland@redhat.com>
31828
31829 * manual/arith.texi (Rounding Functions): Fix rint description
31830 implicit in round description.
31831
31832 2010-07-02 Ulrich Drepper <drepper@redhat.com>
31833
31834 * elf/Makefile: Fix linking for a few tests to make recent linker
31835 happy.
31836
31837 2010-06-30 Andreas Schwab <schwab@redhat.com>
31838
31839 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31840 $(common-objpfx)libc_nonshared.a.
31841
31842 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
31843
31844 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31845 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31846 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31847 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31848 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31849 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31850 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31851 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31866 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31867 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31868 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31869 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31870 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31871 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31872 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31873 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31874 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31875 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31876 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31877 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31892
31893 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31894
31895 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31896 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31897 * string/memmove.c (memmove): Renamed to ...
31898 (MEMMOVE): ...this. Default to memmove.
31899 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31900 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31901 (END_CHK): Define.
31902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31903 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31904 mempcpy-ssse3-back memmove-ssse3-back.
31905 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31906 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31907 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31908 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31909 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31910 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31911 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31912 * sysdeps/x86_64/multiarch/memmove.c: New file.
31913 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31914 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31915 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31916 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31917 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31918 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31919 Define.
31920 (index_Fast_Copy_Backward): Define.
31921 (HAS_ARCH_FEATURE): Define.
31922 (HAS_FAST_REP_STRING): Define.
31923 (HAS_FAST_COPY_BACKWARD): Define.
31924
31925 2010-06-21 Andreas Schwab <schwab@redhat.com>
31926
31927 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31928 Restore proper fallback handling.
31929
31930 2010-06-19 Ulrich Drepper <drepper@redhat.com>
31931
31932 [BZ #11701]
31933 * posix/group_member.c (__group_member): Correct checking loop.
31934
31935 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31936 OOM in getpwuid_r correctly. Return error number when the caller
31937 should return, otherwise -1.
31938 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31939 call returning > 0 value.
31940 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31941
31942 2010-06-07 Andreas Schwab <schwab@redhat.com>
31943
31944 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31945 libc_nonshared.a from targets in modules-names.
31946
31947 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31948
31949 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31950 requires it.
31951
31952 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
31953
31954 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31955 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31957 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31958
31959 2010-06-02 Andreas Schwab <schwab@redhat.com>
31960
31961 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31962
31963 2010-06-14 Ulrich Drepper <drepper@redhat.com>
31964
31965 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31966 and F_GETPIPE_SZ.
31967 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31968 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31970 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31971 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31972 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31973
31974 2010-06-14 Roland McGrath <roland@redhat.com>
31975
31976 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31977
31978 2010-06-07 Jakub Jelinek <jakub@redhat.com>
31979
31980 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31981 __REDIRECT followed by __THROW.
31982 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31983 * posix/getopt.h (getopt): Likewise.
31984
31985 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31986
31987 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31988 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31989 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31990 in AT_FLAGS.
31991 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31992 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31993
31994 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
31995
31996 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31997
31998 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31999
32000 [BZ #11640]
32001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32002 Properly check family and model.
32003
32004 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32005
32006 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32007
32008 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32009
32010 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32011
32012 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32013
32014 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32015 symbol reference.
32016
32017 2010-05-19 Andreas Schwab <schwab@redhat.com>
32018
32019 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32020 symbol reference.
32021
32022 2010-05-21 Andreas Schwab <schwab@redhat.com>
32023
32024 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32025 and internal_recvmmsg.
32026 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32027 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32028 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32029 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32030
32031 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32032 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32033 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32034
32035 2010-05-20 Andreas Schwab <schwab@redhat.com>
32036
32037 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32038
32039 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32040
32041 POWER7 optimizations.
32042 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32043 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32044
32045 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32046
32047 * version.h: Update for 2.13 development version.
32048
32049 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32050
32051 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32052 exceptions. Return 0.
32053
32054 2010-05-07 Roland McGrath <roland@redhat.com>
32055
32056 * elf/ldconfig.c (main): Add a const.
32057
32058 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32059
32060 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32061 (args_options): Add no-idn option.
32062 (ahosts_keys_int): Add idn_flags to ai_flags.
32063 (parse_option): Handle 'i' option to clear idn_flags.
32064
32065 * malloc/malloc.c (_int_free): Possible race in the most recently
32066 added check. Only act on the data if no current modification
32067 happened.
32068
32069 See ChangeLog.17 for earlier changes.