]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update PO files.
[thirdparty/glibc.git] / ChangeLog
1 2016-08-04 Carlos O'Donell <carlos@redhat.com>
2
3 * po/de.po: Updated from Translation Project.
4 * po/fi.po: Likewise.
5 * po/sv.po: Likewise.
6
7 2016-08-04 Florian Weimer <fweimer@redhat.com>
8
9 Use sysdep.o from libc.a in static libraries.
10 * sysdeps/unix/sysv/linux/i386/Makefile
11 (libpthread-shared-only-routines): Add sysdep.
12 (librt-shared-only-routines): Likewise.
13
14 2016-08-03 Joseph Myers <joseph@codesourcery.com>
15
16 * math/tgmath.h (nextdown): Define if
17 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18 (nextup): Likewise.
19
20 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
21 macro.
22 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
23 Document.
24 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
25 Document macro.
26 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
27 (exp10f): Likewise.
28 (exp10l): Likewise.
29 * math/bits/mathcalls.h (exp10): Declare if
30 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31
32 * manual/arith.texi (nextup): Fix typo in last change.
33
34 2016-08-03 Zack Weinberg <zackw@panix.com>
35
36 [BZ #19239]
37 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
38 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
39 define major, minor, and makedev to issue deprecation warnings on use.
40 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
41 previously-activated deprecation warnings for these macros and prevent
42 subsequent inclusions of this header from having any effect.
43 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
44 including <sys/sysmacros.h>, and undefine it again afterward.
45
46 2016-08-03 Zack Weinberg <zackw@panix.com>
47
48 * sysdeps/generic/sys/sysmacros.h: Delete file.
49 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
50 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
51 * bits/sysmacros.h: ... here; this encoding is now the generic
52 encoding. Now defines only the following macros:
53 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
54 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
55 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
56
57 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
58 bits/sysmacros.h and the above new macros to generate the
59 public implementations of major, minor, and makedev.
60 * misc/tst-makedev.c: New test.
61 * include/sys/sysmacros.h: New wrapper.
62
63 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
64 (routines): Add makedev.
65 (tests): Add tst-makedev.
66 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
67 gnu_dev_makedev.
68 * posix/Makefile (headers): Remove sys/sysmacros.h.
69 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
70
71 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
72 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
73 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
74 * sysdeps/unix/sysv/linux/alpha/libc.abilist
75 * sysdeps/unix/sysv/linux/arm/libc.abilist
76 * sysdeps/unix/sysv/linux/hppa/libc.abilist
77 * sysdeps/unix/sysv/linux/i386/libc.abilist
78 * sysdeps/unix/sysv/linux/ia64/libc.abilist
79 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
80 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
81 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
82 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
83 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
84 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
85 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
86 * sysdeps/unix/sysv/linux/nios2/libc.abilist
87 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
89 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
90 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
91 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
92 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
93 * sysdeps/unix/sysv/linux/sh/libc.abilist
94 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
95 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
96 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
97 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
98 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
99 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
100 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
101 Add GLIBC_2.25.
102
103 * include/features.h (__glibc_clang_prereq): New macro.
104 * misc/sys/cdefs.h (__glibc_clang_has_extension)
105 (__attribute_deprecated_msg__): New macros.
106
107 2016-08-03 Joseph Myers <joseph@codesourcery.com>
108
109 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
110 macro.
111 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
112 * manual/arith.texi (issignaling): Document as ISO from TS
113 18661-1:2014.
114 (nextup): Likewise.
115 (nextupf): Likewise.
116 (nextupl): Likewise.
117 (nextdown): Likewise.
118 (nextdownf): Likewise.
119 (nextdownl): Likewise.
120 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
121 macro.
122 * math/math.h: Define
123 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
124 <bits/libc-header-start.h> instead of including <features.h>.
125 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
126 [__USE_GNU].
127 * math/bits/mathcalls.h (nextdown): Declare if
128 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
129 (nextup): Likewise.
130 (__issignaling): Likewise.
131
132 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
133
134 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
135 check, and remove __glibc_likely hint
136 from FP_INFINITE check.
137 * s_csinhf.c (__csinhf): Likewise.
138
139 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
140 hint from FP_INFINITE check.
141 * s_csinhl.c (__csinhl): Likewise.
142
143 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
144
145 * math/Makefile (libm-calls): Insert F placeholder into
146 object names. Move w_lgamma_compat* routines into
147 (libm-compat-calls): New variable.
148 (libm-compat-calls-ldouble-yes): New variable.
149 (calls): Insert F placeholder.
150 (generated): Redefine using new type-foreach macro call.
151 (routines): Likewise.
152
153 (types): New variable to hold a list of symbolic names
154 for each type supported by the target machine.
155 (libm-routines): Redefine using new types variable.
156 (type-foreach): macro to replace fooF with the
157 appropriately suffixed foo for each types.
158
159 (type-ldouble-suffix): New variable.
160 (type-ldouble-routines): Likewise.
161 (type-ldouble-yes): Likewise.
162 (type-double-suffix): Likewise.
163 (type-double-routines): Likewise.
164 (type-float-suffix): Likewise.
165 (type-float-routines): Likewise.
166
167 (dbl-only-routines): Remove.
168 (long-c-yes): Likewise.
169 (long-m-routines): Likewise.
170 (long-m-support): Likewise.
171 (long-m-yes): Likewise.
172 (test-longdouble-yes): Likewise.
173
174 (test-float.o): Simplify by increasing the scope of the
175 recipe which adds libm-test.stmp to the vector types.
176 (test-ifloat.o): Likewise.
177 (test-float-finite.o): Likewise.
178 (test-double.o): Likewise
179 (test-idouble.o): Likewise.
180 (test-double-finite.o): Likewise.
181 (test-ldouble.o): Likewise
182 (test-ildoubl.o): Likewise.
183 (test-ldouble-finite.o): Likewise.
184
185 (libm-tests): Redefine type tests using foreach and the
186 list of types in types.
187
188 (CPPFLAGS-test-ildoubl.c): Rename to
189 (CPPFLAGS-test-ildouble.c): New variable
190
191 * math/test-ildoubl.c: Rename to
192 * math/test-ildouble.c: New file.
193
194 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
195
196 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
197 Use fabsl instead of fabs.
198 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
199 Likewise.
200 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
201 Add long double suffix to constant to ensure proper
202 promotion to long double.
203
204 2016-08-03 Tom Tromey <tom@tromey.com>
205
206 [BZ #20311]
207 * nptl_db/Makefile (headers): Add proc_service.h.
208 * nptl_db/proc_service.h: Add include guard. Use
209 __BEGIN/__END_DECLS.
210 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
211 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
212 arguments.
213
214
215 2016-08-03 Florian Weimer <fweimer@redhat.com>
216
217 [BZ #17730]
218 Avoid using memalign for TCB allocations.
219 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
220 (_dl_allocate_tls_storage): Use malloc and manual alignment.
221 Avoid alignment gap in the TLS_DTV_AT_TP case.
222 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
223 determine the pointer to free.
224 * nptl/tst-tls3-malloc.c: New test.
225 * nptl/Makefile (tests): Add it.
226 (tst-tls3-malloc): Link with libdl, libpthread.
227 (LDFLAGS-tst-tls3-malloc): Set.
228 (tst-tls3-malloc.out): Depend on DSO used in test.
229
230 2016-08-03 Florian Weimer <fweimer@redhat.com>
231
232 [BZ #17730]
233 Avoid using memalign for TLS allocations.
234 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
235 is_static member with to_free member.
236 (union dtv): Use struct dtv_pointer.
237 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
238 dtv_pointer instead of is_static.
239 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
240 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
241 instead of val.
242 (allocate_dtv_entry): New function.
243 (allocate_and_init): Return struct dtv_pointer. Call
244 allocate_dtv_entry instead of __libc_memalign.
245 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
246 instead of val.
247 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
248 instead of is_static. Adjust call to allocate_and_init.
249 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
250 struct dtv_pointer instead of val.
251
252 2016-08-03 Florian Weimer <fweimer@redhat.com>
253
254 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
255 (MALLOC_ALIGN_MASK): Move ...
256 * malloc/malloc-internal.h: ... to here.
257 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
258
259 2016-08-03 Joseph Myers <joseph@codesourcery.com>
260
261 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
262 (UDP_ENCAP_GTP1U): Likewise.
263
264 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
265 (PF_MAX): Update value.
266 (AF_QIPCRTR): New macro.
267
268 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
269
270 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
271 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
272 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
273 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
274 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
275 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
276 s_truncf-vis3, s_trunc-vis3.
277 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
278 (CFLAGS-s_ceil-vis3.c): Likewise.
279 (CFLAGS-s_floorf-vis3.c): Likewise.
280 (CFLAGS-s_floor-vis3.c): Likewise.
281 (CFLAGS-s_truncf-vis3.c): Likewise.
282 (CFLAGS-s_trunc-vis3.c): Likewise.
283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
291 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
292 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
293 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
294 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
295
296 2016-08-02 David S. Miller <davem@davemloft.net>
297
298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
299 (__nearbyint_vis3): Don't check for sNaN before float register is
300 loaded with the incoming argument.
301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
302 (__nearbyintf_vis3): Likewise.
303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
304 Likewise.
305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
306 Likewise.
307
308 * string/test-strncmp.c (do_test_limit): Make sure the test data
309 stream is aligned as required for the type "CHAR".
310 (do_test): Likewise.
311
312 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
313
314 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
315 by beq instructions jumping to the end of the function.
316 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
317 clobber list. Use "i" constraint instead of "X".
318 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
319 of "X".
320
321 2016-08-02 Joseph Myers <joseph@codesourcery.com>
322
323 * bits/libc-header-start.h: New file.
324 * Makefile (headers): Add bits/libc-header-start.h.
325 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
326 (__GLIBC_USE): New macro.
327 * libio/stdio.h: Define
328 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
329 <bits/libc-header-start.h> instead of including <features.h>.
330 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
331 (open_memstream): Likewise.
332 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
333 (__asprintf): Likewise.
334 (asprintf): Likewise.
335 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
336 (getdelim): Likewise.
337 (getline): Likewise.
338 * string/string.h: Define
339 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
340 <bits/libc-header-start.h> instead of including <features.h>.
341 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
342 (strndup): Likewise.
343 * wcsmbs/wchar.h: Define
344 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
345 <bits/libc-header-start.h> instead of including <features.h>.
346 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
347 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
348
349 2016-08-02 Florian Weimer <fweimer@redhat.com>
350
351 Support linking against compatibility symbols, for use in tests.
352 * include/libc-symbols.h (symbol_version_reference): New macro.
353 (symbol_version): Use it.
354 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
355 (compat_symbol): Use compat_symbol_reference.
356 (compat_symbol_1, compat_symbol_2): Remove.
357 (compat_symbol_reference, compat_symbol_reference_1)
358 (compat_symbol_reference_2): New macro. Use
359 symbol_version_reference.
360
361 2016-08-02 Florian Weimer <fweimer@redhat.com>
362
363 [BZ #19469]
364 * malloc/Makefile (CPPFLAGS): Compile tests with
365 -DTEST_NO_MALLOPT.
366 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
367
368 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
369
370 [BZ #20033]
371 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
372 finite version.
373 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
374 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
375 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
376 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
377 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
378 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
379 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
380 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
381 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
382 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
383 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
384 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
385 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
386 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
387 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
388 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
389 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
390 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
391 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
392 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
393 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
394 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
395 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
396 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
397 in zero power.
398
399 2016-08-02 Florian Weimer <fweimer@redhat.com>
400
401 [BZ #20370]
402 * malloc/arena.c (get_free_list): Update comment. Assert that
403 arenas on the free list have no attached threads.
404 (remove_from_free_list): New function.
405 (reused_arena): Call it.
406
407 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
408
409 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
410 when it is a NaN.
411 [_IEEE_FP_INEXACT] Remove.
412 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
413 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
414 when it is a NaN.
415 [_IEEE_FP_INEXACT] Remove.
416 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
417 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
418 when it is a NaN.
419 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
420 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
421 when its absolute value is greater than 0x1.0p52.
422 [_IEEE_FP_INEXACT] Remove.
423 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
424 when its absolute value is greater than 0x1.0p23.
425 [_IEEE_FP_INEXACT] Remove.
426
427 2016-08-01 Carlos O'Donell <carlos@redhat.com>
428
429 * version.h (RELEASE): Set to "development"
430 (VERSION): Set to 2.24.90.
431 * NEWS: Add 2.25 section.
432
433 * version.h (RELEASE): Set to "stable"
434 (VERSION): Set to 2.24.
435 * include/features.h (__GLIBC_MINOR__): Set to 24.
436
437 * NEWS: Add 2.24 fixed bugs.
438 * po/libc.pot: Regenerate.
439
440 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
441
442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
443 [$(subdir) = math] (libm-sysdep_routines): Remove.
444 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
445 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
446 s_truncf-vis3, s_trunc-vis3.
447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
449 file.
450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
483 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
484 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
485 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
486 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
487 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
488 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
489 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
490 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
491 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
492 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
493
494 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
495
496 [BZ #20384]
497 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
498 test-double-libmvec-sincos-avx-main.o,
499 test-double-libmvec-sincos-avx2-main.o,
500 test-double-libmvec-sincos-main.o,
501 test-float-libmvec-sincosf-avx-main.o,
502 test-float-libmvec-sincosf-avx2-main.o and
503 test-float-libmvec-sincosf-main.o.
504 test-float-libmvec-sincosf-avx512-main.o.
505 ($(objpfx)test-double-libmvec-sincos): Also link with
506 $(objpfx)test-double-libmvec-sincos-main.o.
507 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
508 $(objpfx)test-double-libmvec-sincos-avx-main.o.
509 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
510 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
511 ($(objpfx)test-float-libmvec-sincosf): Also link with
512 $(objpfx)test-float-libmvec-sincosf-main.o.
513 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
514 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
515 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
516 test-double-libmvec-sincos-avx512-main.o and
517 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
518 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
519 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
520 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
521 (CFLAGS-test-double-libmvec-sincos.c): Removed.
522 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
523 (CFLAGS-test-double-libmvec-sincos-main.c): New.
524 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
525 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
526 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
527 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
528 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
529 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
530 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
531 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
532 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
533 -DREQUIRE_AVX2.
534 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
535 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
536 -DREQUIRE_AVX512F.
537 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
538 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
539 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
540 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
541 file.
542 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
543 Likewise.
544 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
545 Likewise.
546 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
547 Likewise.
548 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
549 Likewise.
550 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
551 Likewise.
552 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
553 Likewise.
554 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
555 Likewise.
556
557 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
558
559 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
560
561 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
562
563 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
564 and typo in a comment about AT_HWCAP entry.
565
566 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
567
568 * sysdeps/aarch64/libm-test-ulps: Updated.
569
570 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
571
572 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
573 of r13 as it is not restored in mvcle case.
574
575 2016-07-19 Mike Frysinger <vapier@gentoo.org>
576
577 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
578 Rename "ret" to "__ret".
579 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
580 inline_syscall5, inline_syscall6): Likewise.
581
582 2016-07-19 Will Newton <will.newton@gmail.com>
583
584 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
585 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
586 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
587 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
588 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
589
590 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
591
592 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
593 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
594 -mfpmath=387 with $(rtld-CFLAGS).
595 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
596 $(rtld-CFLAGS).
597
598 2016-07-18 Ross Burton <ross.burton@intel.com>
599 Khem Raj <raj.khem@gmail.com>
600
601 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
602 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
603 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
604 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
605 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
606 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
607 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
608 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
609 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
610 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
611 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
612 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
613 R_METAG_TLS_DTPOFF): New.
614
615 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
616 Matt Clay <mclay@lycos.com>
617
618 [BZ #20357]
619 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
620 to call __mpsin/__mpcos and to negate values.
621 * math/auto-libm-test-in: Add test.
622 * math/auto-libm-test-out: Regenerate.
623
624 2016-07-18 Zack Weinberg <zackw@panix.com>
625
626 * grp/Makefile: Don't install the internal header grp-merge.h.
627
628 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
629
630 * sysdeps/aarch64/libm-test-ulps: Regenerated.
631
632 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
633
634 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
635
636 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
637
638 [BZ #15368]
639 * sysdeps/unix/sysv/linux/nptl-signals.h
640 (__nptl_clear_internal_signals): New function.
641 (__libc_signal_block_all): Likewise.
642 (__libc_signal_block_app): Likewise.
643 (__libc_signal_restore_set): Likewise.
644 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
645 implementation.
646 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
647 the cached pid/tid value in pthread structure.
648
649 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
650
651 [BZ #20347]
652 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
653
654 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
655
656 [BZ #20348]
657 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
658 preadv64, pwrite64 and pwritev64.
659
660 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
661
662 [BZ #20350]
663 * posix/tst-preadwrite.c: Renamed to ...
664 * posix/tst-preadwrite-common.c: This.
665 (PREAD): Removed.
666 (PWRITE): Likewise.
667 (STRINGIFY): Likewise.
668 (STRINGIFY2): Likewise.
669 (do_prepare): Make it static and remove function arguments.
670 (do_test): Likewise.
671 (PREPARE): Updated.
672 (TEST_FUNCTION): New.
673 (name): Make it static.
674 (fd): Likewise.
675 (do_prepare): Use create_temp_file.
676 (do_test): Renamed to ...
677 (do_test_with_offset): This. Make it static and accept offset.
678 Properly check return value of PWRITE and PREAD. Return bytes
679 read. Don't close fd nor unlink name.
680 * posix/tst-preadwrite.c: Rewrite.
681 * posix/tst-preadwrite64.c: Likewise.
682
683 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
684
685 [BZ #20309]
686 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
687 -mtls-dialect=gnu2 works.
688 * configure: Regenerated.
689 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
690 (tests): Add tst-gnu2-tls1.
691 (modules-names): Add tst-gnu2-tls1mod.
692 ($(objpfx)tst-gnu2-tls1): New.
693 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
694 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
695 * elf/tst-gnu2-tls1.c: New file.
696 * elf/tst-gnu2-tls1mod.c: Likewise.
697 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
698 bytes for push in the PLT entry to align the stack.
699
700 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
701
702 [BZ #20349]
703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
704
705 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
706
707 [BZ #18707]
708 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
709 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
710
711 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
712
713 * sysdeps/unix/sysv/linux/sysdep.h
714 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
715 guards.
716 * misc/tst-preadvwritev-common.c: New file.
717 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
718 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
719 a check for files larger than 2GB.
720
721 * sysdeps/unix/sysv/linux/mips/kernel-features.h
722 (__ASSUME_OFF_DIFF_OFF64): Remove define.
723 * sysdeps/unix/sysv/linux/pread.c
724 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
725 __OFF_T_MATCHES_OFF64_T.
726 * sysdeps/unix/sysv/linux/pread64.c
727 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
728 * sysdeps/unix/sysv/linux/preadv.c
729 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
730 * sysdeps/unix/sysv/linux/preadv64.c
731 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
732 * sysdeps/unix/sysv/linux/pwrite.c
733 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
734 * sysdeps/unix/sysv/linux/pwrite64.c
735 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
736 * sysdeps/unix/sysv/linux/pwritev.c
737 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
738 * sysdeps/unix/sysv/linux/pwritev64.c
739 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
740
741 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
742
743 * sysdeps/unix/sysv/linux/tile/kernel-features.h
744 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
745
746 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
747
748 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
749
750 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
751
752 [BZ #20240]
753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
754 (CFLAGS-s_modf-ppc32.c): New variable.
755 (CFLAGS-s_modff-ppc32.c): Likewise.
756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
757 (CFLAGS-s_modf-ppc64.c): Likewise.
758 (CFLAGS-s_modff-ppc64.c): Likewise.
759
760 2016-07-07 Andreas Schwab <schwab@suse.de>
761
762 [BZ #20263]
763 * nptl/tst-robust10.c: New test.
764 * nptl/Makefile (tests): Add tst-robust10.
765
766 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
767
768 [BZ #20263]
769 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
770
771 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
772
773 * sysdeps/s390/linkmap.h (struct link_map_machine):
774 Remove member gotplt and add member jmprel.
775 * sysdeps/s390/s390-32/dl-machine.h
776 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
777 instead of gotplt with &got[3].
778 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
779 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
780
781 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
782
783 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
784
785 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
786
787 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
788 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
789 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
790 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
791 * libio/vtables.c (_IO_vtable_check)
792 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
793 * libio/libioP.h (IO_set_accept_foreign_vtables)
794 [!PTR_MANGLE]: Do not call PTR_MANGLE.
795
796 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
797
798 [BZ #20314]
799 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
800 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
801 $(common-objpfx)cmath.
802 ($(common-objpfx)cstdlib): New target.
803 ($(common-objpfx)cmath): Likewise.
804
805 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
806
807 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
808
809 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
810
811 [BZ #20327]
812 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
813 are not part of the string.
814
815 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
816
817 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
818 * nptl/tst-cancel4-common.h (fifoname): New variable.
819 (fifofd): Likewise.
820 (cl_fifo): New function.
821 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
822 SIGINT.
823 (tf_open): Add early cancel test.
824
825 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
826
827 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
828
829 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
830
831 * sysdeps/generic/ldsodefs.h
832 (dl_symbol_visibility_binds_local_p): New inline function.
833 * elf/dl-addr.c (determine_info): Treat hidden and internal
834 symbols as local.
835 * elf/dl-lookup.c (do_lookup_x): Likewise.
836 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
837
838 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
839
840 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
841 invalid exception for a sNaN input.
842 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
843 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
844 (__nearbyint_vis3): Likewise
845 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
846 (__nearbyintf_vis3): Likewise
847 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
848 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
849 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
850 Likewise.
851 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
852 Likewise.
853
854 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
855
856 [BZ #20139]
857 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
858 (HAVE_AVX512DQ_ASM_SUPPORT): This.
859 * sysdeps/x86_64/configure.ac: Require assembler from binutils
860 2.24 or above.
861 (HAVE_AVX512_ASM_SUPPORT): Removed.
862 (HAVE_AVX512DQ_ASM_SUPPORT): New.
863 * sysdeps/x86_64/configure: Regenerated.
864 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
865 check unconditional.
866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
867 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
868 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
869 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
870 Likewise.
871 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
872 Likewise.
873 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
874 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
875 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
876 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
877 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
878 Likewise.
879 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
880 Likewise.
881 * sysdeps/x86_64/multiarch/memset.S: Likewise.
882 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
883 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
884 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
885 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
886 Likewise.
887 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
888 Likewise.
889 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
890 Likewise.
891 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
892 Likewise.
893 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
894 Likewise.
895 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
896 Likewise.
897 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
898 Likewise.
899 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
900 Likewise.
901 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
902 Likewise.
903 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
904 Likewise.
905 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
906 Likewise.
907
908 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
909
910 [BZ #20024]
911 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
912 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
913 of this implementation of vector function.
914 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
915 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
916 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
917 Likewise.
918 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
919 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
920 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
921 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
922 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
923 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
924 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
925 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
926 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
927 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
928 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
929 for testing vector sincos with fixed ABI.
930 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
931 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
932 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
933 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
934 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
935 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
936 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
937 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
938 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
939 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
940 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
941 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
942 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
943 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
944 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
945 * sysdeps/x86_64/fpu/Makefile: Added new tests.
946
947 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
948
949 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
950
951 2016-06-30 Anton Blanchard <anton@samba.org>
952
953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
954 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
955 s_sinf-ppc64.
956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
959 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
960
961 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
962
963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
965 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
966 e_expf-ppc64.
967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
970 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
971
972 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
973
974 [BZ #20277]
975 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
976 when SHARED is defined.
977
978 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
979
980 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
981 (index_arch_Prefer_ERMS): Likewise.
982 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
983 __memcpy_erms for Prefer_ERMS.
984 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
985 (__memmove_erms): Enabled for libc.a.
986 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
987 __memmove_erms or Prefer_ERMS.
988 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
989 __mempcpy_erms for Prefer_ERMS.
990 * sysdeps/x86_64/multiarch/memset.S (memset): Return
991 __memset_erms for Prefer_ERMS.
992
993 2016-06-30 Andreas Schwab <schwab@suse.de>
994
995 [BZ #20262]
996 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
997 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
998 of memory.
999
1000 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1001
1002 [BZ #18645]
1003 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1004 (test-extras): Add tst-cleanupx4aux.
1005 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
1006 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1007 tst-cleanupx4aux.o.
1008 * nptl/tst-cleanupx4aux.c: New file.
1009
1010 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
1011
1012 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1013
1014 2016-06-29 Andreas Schwab <schwab@suse.de>
1015
1016 [BZ #20260]
1017 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1018 address before the beginning of the string as an integer to avoid
1019 array-bounds warning.
1020
1021 2016-06-28 Richard Henderson <rth@redhat.com>
1022
1023 * elf/elf.h (EM_BPF): New.
1024 (EM_NUM): Update.
1025 (R_BPF_NONE, R_BPF_MAP_FD): New.
1026
1027 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1028 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1029 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1030 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1031 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1032 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1033 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1034 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1035 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1036 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1037 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1038 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1039 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1040 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1041 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1042 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1043 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1044 (EM_NUM): Update.
1045
1046 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
1047
1048 [BZ #18960]
1049 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1050 Set _nl_current_LC_CATEGORY_used to two instead of one.
1051
1052 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
1053
1054 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1055 (do_test): ... this.
1056 (TEST_FUNCTION): New macro.
1057 Include test-skeleton.c.
1058 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1059 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1060
1061 2016-06-27 Joseph Myers <joseph@codesourcery.com>
1062
1063 [BZ #15479]
1064 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1065 floating-point environment rather than just control word.
1066 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1067 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1068 floating-point environment, with "invalid" exceptions merged in,
1069 rather than just control word.
1070 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1071 * math/libm-test.inc (trunc_test_data): Do not allow spurious
1072 "inexact" exceptions.
1073
1074 [BZ #15479]
1075 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1076 floating-point environment rather than just control word.
1077 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1078 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1079 floating-point environment, with "invalid" exceptions merged in,
1080 rather than just control word.
1081 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1082 * math/libm-test.inc (floor_test_data): Do not allow spurious
1083 "inexact" exceptions.
1084
1085 [BZ #15479]
1086 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1087 floating-point environment rather than just control word.
1088 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1089 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1090 floating-point environment, with "invalid" exceptions merged in,
1091 rather than just control word.
1092 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1093 * math/libm-test.inc (ceil_test_data): Do not allow spurious
1094 "inexact" exceptions.
1095
1096 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
1097
1098 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1099 __libc_vfork.
1100 (__vfork) [IS_IN (libc)]: Remove alias.
1101 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1102 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1103 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1104
1105 2016-06-24 Torvald Riegel <triegel@redhat.com>
1106
1107 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1108 of atomic_compare_and_exchange_bool_rel.
1109 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1110 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1111 catomic_compare_and_exchange_bool_rel): Remove.
1112 * sysdeps/aarch64/atomic-machine.h
1113 (atomic_compare_and_exchange_bool_rel): Likewise.
1114 * sysdeps/alpha/atomic-machine.h
1115 (atomic_compare_and_exchange_bool_rel): Likewise.
1116 * sysdeps/arm/atomic-machine.h
1117 (atomic_compare_and_exchange_bool_rel): Likewise.
1118 * sysdeps/mips/atomic-machine.h
1119 (atomic_compare_and_exchange_bool_rel): Likewise.
1120 * sysdeps/microblaze/atomic-machine.h
1121 ( __arch_compare_and_exchange_bool_8_rel,
1122 __arch_compare_and_exchange_bool_16_rel): Likewise.
1123 * sysdeps/powerpc/atomic-machine.h
1124 ( __arch_compare_and_exchange_bool_8_rel,
1125 __arch_compare_and_exchange_bool_16_rel): Likewise.
1126 * sysdeps/powerpc/powerpc32/atomic-machine.h
1127 ( __arch_compare_and_exchange_bool_32_rel,
1128 __arch_compare_and_exchange_bool_64_rel): Likewise.
1129 * sysdeps/powerpc/powerpc64/atomic-machine.h
1130 ( __arch_compare_and_exchange_bool_32_rel,
1131 __arch_compare_and_exchange_bool_64_rel): Likewise.
1132 * sysdeps/tile/atomic-machine.h
1133 (atomic_compare_and_exchange_bool_rel): Likewise.
1134
1135 2016-06-23 Joseph Myers <joseph@codesourcery.com>
1136
1137 [BZ #20296]
1138 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1139 when either argument is a NaN.
1140 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1141 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1142
1143 * math/libm-test.inc (snan_value_ld): New macro.
1144 (isgreater_test_data): Add sNaN tests.
1145 (isgreaterequal_test_data): Likewise.
1146 (isless_test_data): Likewise.
1147 (islessequal_test_data): Likewise.
1148 (islessgreater_test_data): Likewise.
1149 (isunordered_test_data): Likewise.
1150 (nextafter_test_data): Likewise.
1151 (nexttoward_test_data): Likewise.
1152 (remainder_test_data): Likewise.
1153 (remquo_test_data): Likewise.
1154 (significand_test_data): Likewise.
1155 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1156
1157 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
1158
1159 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1160 environment macros are defined.
1161 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1162
1163 2016-06-23 Florian Weimer <fweimer@redhat.com>
1164
1165 [BZ #20191]
1166 Implement vtable verification in libio.
1167 * Makerules (shlib.lds): Place __libc_IO_vtables section.
1168 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1169 * debug/vdprintf_chk.c (__vdprintf_chk): Call
1170 _IO_new_file_init_internal instead of _IO_file_init.
1171 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1172 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1173 * libio/Makefile (routines): Add vtables.
1174 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1175 (_IO_init): Remove, not for internal use.
1176 (_IO_init_internal): Declare, internal replacement for _IO_init.
1177 (_IO_file_init): Remove, not for internal use.
1178 (_IO_new_file_init): Remove, not for internal use.
1179 (_IO_new_file_init_internal): Declare, internal replacement for
1180 _IO_new_file_init.
1181 (_IO_old_file_init): Remove, not for internal use.
1182 (_IO_old_file_init_internal): Declare, internal replacement for
1183 _IO_old_file_init.
1184 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1185 internal use.
1186 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1187 Declare.
1188 (libio_vtable): New macro.
1189 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1190 functions.
1191 * libio/fileops.c (_IO_new_file_init_internal): Rename from
1192 _IO_new_file_init.
1193 (_IO_new_file_init): New externally visible wrapper which disables
1194 vtable verification.
1195 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1196 Define as vtables.
1197 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1198 (_IO_init): New externally visible wrapper which disables
1199 vtable verification.
1200 * libio/iofdopen.c (_IO_new_fdopen): Call
1201 _IO_new_file_init_internal instead of _IO_file_init. Adjust
1202 comment.
1203 * libio/iofopen.c (__fopen_internal): Call
1204 _IO_new_file_init_internal instead of _IO_file_init.
1205 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1206 Define as vtables.
1207 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1208 _IO_new_file_init_internal instead of _IO_file_init.
1209 * libio/iopopen.c (_IO_new_popen): Likewise.
1210 (_IO_proc_jumps): Define as vtable.
1211 * libio/iovdprintf.c (_IO_vdprintf): Call
1212 _IO_new_file_init_internal instead of _IO_file_init.
1213 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1214 (__open_memstream): Call _IO_init_internal instead of _IO_init.
1215 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1216 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1217 _IO_old_file_init.
1218 (_IO_old_file_init): New externally visible wrapper which disables
1219 vtable verification.
1220 (_IO_old_file_jumps): Define as vtable.
1221 * libio/oldiofdopen.c (_IO_old_fdopen): Call
1222 _IO_old_file_init_internal instead of _IO_old_file_init.
1223 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1224 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1225 (_IO_old_proc_jumps): Define as vtable.
1226 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1227 Define as vtables.
1228 * libio/vtables.c: New file.
1229 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1230 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1231 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1232 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1233 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1234 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1235 instead of _IO_init.
1236
1237 2016-06-23 Florian Weimer <fweimer@redhat.com>
1238
1239 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1240
1241 2016-06-23 Florian Weimer <fweimer@redhat.com>
1242
1243 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1244 potentially unused.
1245
1246 2016-06-22 Florian Weimer <fweimer@redhat.com>
1247
1248 * test-skeleton.c (write_message): New function.
1249 * malloc/tst-mallocfork2.c (write_message): Remove.
1250 * debug/tst-longjmp_chk2.c (write_indented): New function.
1251 (write_message): Remove.
1252 (stackoverflow_handler): Call write_indented.
1253
1254 2016-06-22 Joseph Myers <joseph@codesourcery.com>
1255
1256 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1257 "inexact" exceptions after fnstenv.
1258 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1259 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1260 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1261
1262 2015-06-22 Zack Weinberg <zackw@panix.com>
1263
1264 * sysdeps/generic/bits/hwcap.h: Moved to ...
1265 * bits/hwcap.h: Here.
1266
1267 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
1268
1269 * sysdeps/aarch64/memcpy.S (memcpy):
1270 Further tuning for performance.
1271
1272 2016-06-21 Florian Weimer <fweimer@redhat.com>
1273
1274 [BZ #20284]
1275 * malloc/arena.c (reused_arena): Do not return NULL if we start
1276 out with a non-corrupted arena.
1277
1278 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1279
1280 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1281 * misc/tst-preadvwritev.c: New file.
1282 * misc/tst-preadvwritev64.c: Likewise.
1283 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1284 usage.
1285 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1286 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1287 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1288 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1289
1290 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
1291
1292 [BZ #19654]
1293 * sysdeps/x86_64/fpu/Makefile: Added new tests.
1294 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1295 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1296 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1297 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1298 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1299 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1300 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1301 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1302 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1303 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1304 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1305 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1306 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1307 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1308 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1309 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1310 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1311 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1312 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1313 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1314 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1315 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1316 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1317 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1318 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1319
1320 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1321
1322 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1323 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1324
1325 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1326
1327 * sysdeps/aarch64/memcpy.S (memcpy):
1328 Rewrite of optimized memcpy and memmove.
1329 * sysdeps/aarch64/memmove.S (memmove): Remove
1330 memmove code (merged into memcpy.S).
1331
1332 2016-06-20 Florian Weimer <fweimer@redhat.com>
1333
1334 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1335 * sysdeps/generic/dl-dtv.h: New file.
1336 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1337 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1338 (dtv_t): Remove.
1339 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1340 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1341 (dtv_t): Remove.
1342 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1343 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1344 (dtv_t): Remove.
1345 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1346 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1347 (dtv_t): Remove.
1348 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1349 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1350 (dtv_t): Remove.
1351 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1352 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1353 (dtv_t): Remove.
1354 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1355 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1356 (dtv_t): Remove.
1357 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1358 (dtv_t): Remove.
1359 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1360 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1361 (dtv_t): Remove.
1362 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1363 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1364 (dtv_t): Remove.
1365 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1366 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1367 (dtv_t): Remove.
1368 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1369 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1370 (dtv_t): Remove.
1371 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1372 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1373 (dtv_t): Remove.
1374 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1375 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1376 (dtv_t): Remove.
1377 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1378 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1379 (dtv_t): Remove.
1380 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1381 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1382 (dtv_t): Remove.
1383
1384 2016-06-20 Florian Weimer <fweimer@redhat.com>
1385
1386 Revert symbol poisoning of __malloc_initialize_hook.
1387 * include/stdc-predef.h (__malloc_initialize_hook): Remove
1388 poisoning.
1389 * malloc/Makefile: Remove un-poisoning.
1390 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1391 instead of old__malloc_initialize_hook.
1392 * malloc/malloc-hooks.h: Likewise.
1393 * malloc/malloc.c: Likewise.
1394 * malloc/mcheck-init.c: Likewise.
1395
1396 2016-06-19 Carlos O'Donell <carlos@redhat.com>
1397
1398 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1399
1400 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
1401
1402 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1403 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1404 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1405 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1406
1407 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1408
1409 * NEWS: Mention addition of nextup and nextdown.
1410 * manual/arith.texi: Document nextup and nextdown.
1411 * manual/libm-err-tab.pl: Add nextup and nextdown.
1412 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1413 * math/Versions (libm): Add GLIBC_2.24.
1414 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1415 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1416 Add new test.
1417 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1418 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1419 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1420 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1421 (nextup_test_data): Likewise.
1422 (nextdown_test_data): Likewise.
1423 * math/s_nextdown.c: New file.
1424 * math/s_nextdownf.c: Likewise.
1425 * math/s_nextdownl.c: Likewise.
1426 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1427 F(nextup): New function.
1428 F(nextdown): Likewise.
1429 * math/tgmath.h: Add nextup and nextdown.
1430 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1431 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1432 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1433 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1434 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1435 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1436 Add nextup and nextdown.
1437 (CFLAGS-nldbl-nextup.c): New variable.
1438 (CFLAGS-nldbl-nextdown.c): Likewise.
1439 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1440 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1441 * sysdeps/nacl/libm.abilist: Update.
1442 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1443 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1444 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1445 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1446 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1447 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1448 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1449 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1450 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1451 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1452 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1453 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1456 Likewise.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1460 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1461 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1462 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1463 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1466 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1467 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1468 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1469 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1470
1471 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1472
1473 * manual/pattern.texi: Fix typos & grammar errors.
1474
1475 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1476
1477 * manual/search.texi: Fix typos & grammar errors.
1478
1479 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1480
1481 * manual/message.texi: Fix typos & grammar errors.
1482
1483 2016-06-16 Mike Frysinger <vapier@gentoo.org>
1484
1485 * manual/contrib.texi: Fix spelling typos.
1486 * manual/crypt.texi: Likewise.
1487 * manual/filesys.texi: Likewise.
1488 * manual/locale.texi: Likewise.
1489 * manual/message.texi: Likewise.
1490 * manual/nss.texi: Likewise.
1491 * manual/string.texi: Likewise.
1492
1493 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1494
1495 * manual/locale.texi: Fix typos & grammar errors.
1496
1497 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1498
1499 * manual/charset.texi: Fix typos & grammar errors.
1500
1501 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1502
1503 * manual/string.texi: Fix typos.
1504
1505 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1506
1507 * manual/ctype.texi: Fix typos.
1508
1509 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1510
1511 * manual/memory.texi: Fix various typos & grammar errors.
1512
1513 2016-06-14 Joseph Myers <joseph@codesourcery.com>
1514
1515 [BZ #20255]
1516 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
1517 * math/libm-test.inc (fdim_test_data): Add another test.
1518
1519 [BZ #6796]
1520 [BZ #20255]
1521 [BZ #20256]
1522 * math/s_fdim.c: Include <math_private.h>.
1523 (__fdim): Use math_narrow_eval on result.
1524 * math/s_fdimf.c: Include <math_private.h>.
1525 (__fdimf): Use math_narrow_eval on result.
1526 * sysdeps/i386/fpu/s_fdim.S: Remove file.
1527 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1528 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1529 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1530 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1531 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1532 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1533 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1534 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1535 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1536 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1537 * math/libm-test.inc (fdim_test_data): Expect errno setting on
1538 overflow. Add sNaN tests.
1539
1540 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1541 fpclassify.
1542 * math/s_fdimf.c (__fdimf): Likewise.
1543 * math/s_fdiml.c (__fdiml): Likewise.
1544
1545 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1546
1547 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1548 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1550 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1551 ifunc'ed strcasecmp/strncasecmp.
1552 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1553 [EALIGN]: Removed.
1554 [END]: Likewise.
1555 [__strcasecmp]: Define instead of the above to control symbol name.
1556 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1557 for __strcasecmp_power8.
1558 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1559 for __strncasecmp_power8.
1560 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1561 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1562 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1563 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1564 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1565 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1566
1567 2016-06-13 Joseph Myers <joseph@codesourcery.com>
1568
1569 [BZ #20252]
1570 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1571 arguments when second argument is a NaN.
1572 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1573 qNaN tests.
1574
1575 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1576 (conj_test_data): Likewise.
1577 (copysign_test_data): Likewise.
1578 (creal_test_data): Likewise.
1579 (fma_test_data): Likewise.
1580 (fmod_test_data): Likewise.
1581
1582 [BZ #20250]
1583 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1584 itself.
1585 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1586 zero input to itself.
1587 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1588 Likewise.
1589 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1590 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1591 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1592 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1593 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1594
1595 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1596
1597 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1598 * nptl/tst-cancel4-common.c: New file.
1599 * nptl/tst-cancel4-common.h: Likewise.
1600 * nptl/tst-cancel4.c: Move common definitions to
1601 tst-cancel4-common.{c,h} file.
1602 * nptl/tst-cancel4_1.c: New test.
1603 * nptl/tst-cancel4_2.c: New test.
1604
1605 2016-06-13 Florian Weimer <fweimer@redhat.com>
1606
1607 [BZ #20248]
1608 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1609 (write_message): New function.
1610 (stackoverflow_handler): Call it instead of printf, to avoid
1611 excessive stack usage by printf.
1612 (do_test): Restore SIGSEGV, SIGBUS default handlers.
1613
1614 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1615
1616 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1617 (prio_inherit_missing): Remove define.
1618 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1619 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1620 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1621 Likewise.
1622 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1623 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1624 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1625 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1626 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1627 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1628
1629 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1630
1631 [BZ #19670]
1632 [BZ #19672]
1633
1634 * io/test-lfs.c (do_prepare): Use xmalloc.
1635 * io/tst-fcntl.c (do_prepare): Likewise.
1636 * libio/tst-fopenloc.c (do_bz17916): Likewise.
1637 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1638 * login/tst-utmp.c (do_prepare): Likewise.
1639 * posix/tst-exec.c (do_prepare): Likewise.
1640 * posix/tst-pathconf.c (prepare): Likewise.
1641 * posix/tst-spawn.c (do_prepare): Likewise.
1642 * posix/tst-truncate.c (do_prepare): Likewise.
1643 * rt/tst-aio.c (do_prepare): Likewise.
1644 * rt/tst-aio64.c (do_prepare): Likewise.
1645
1646 2016-06-11 Florian Weimer <fweimer@redhat.com>
1647
1648 [BZ #20237]
1649 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1650 (get*ent): Set entidx to NULL during initialization. If entidx is
1651 NULL, start iteration from the beginning.
1652
1653 2016-06-11 Florian Weimer <fweimer@redhat.com>
1654
1655 * malloc/malloc.c (musable): Return correct size for dumped fake
1656 mmapped chunk.
1657
1658 2016-06-11 Florian Weimer <fweimer@redhat.com>
1659
1660 [BZ #20222]
1661 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1662 (_IO_cookie_write): Likewise.
1663 (_IO_cookie_seek): Likewise.
1664 (_IO_cookie_close): Likewise.
1665 (_IO_old_cookie_seek): Likewise.
1666 (set_callbacks): New function.
1667 (_IO_cookie_init): Call set_callbacks to copy callbacks.
1668
1669 2016-06-11 Marko Myllynen <myllynen@redhat.com>
1670
1671 * locale/programs/localedef.c (oldstyle_tables): Remove.
1672 * locale/programs/localedef.h (oldstyle_tables): Likewise.
1673
1674 2016-06-10 Joseph Myers <joseph@codesourcery.com>
1675
1676 [BZ #20240]
1677 * math/Makefile (CFLAGS-s_modf.c): New variable.
1678 (CFLAGS-s_modff.c): Likewise.
1679 (CFLAGS-s_modfl.c): Likewise.
1680 * math/libm-test.inc (modf_test_data): Add sNaN tests.
1681
1682 2016-06-09 Carlos O'Donell <carlos@redhat.com>
1683
1684 [BZ #20215]
1685 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1686 [!__GNUC_PREREQ (3,2)]: Likewise.
1687
1688 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
1689
1690 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1691 (msghdr.msg_controllen): Likewise.
1692 (cmsghdr.cmsg_len): Likewise.
1693 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1694 ptw-oldsendmsg.
1695 (CFLAGS-oldrecvmsg.c): Remove rule.
1696 (CFLAGS-oldsendmsg.c): Likewise.
1697 (CFLAGS-recvmsg.c): Add rule.
1698 (CFLAGS-sendmsg.c): Likewise.
1699 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1700 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1701 (CFLAGS-recvmsg.c): Remove rule.
1702 (CFLAGS-sendmsg.c): Likewise.
1703 (CFLAGS-oldrecvmsg.c): Likewise.
1704 (CFLAGS-oldsendmsg.c): Likewise.
1705 (CFLAGS-recvmmsg.c): Likewise.
1706 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1707 to kernel defined interfaces.
1708 (msghdr.msg_controllen): Likewise.
1709 (cmsghdr.cmsg_len): Likewise.
1710 (msghdr.__glibc_reserved1): Remove member.
1711 (msghdr.__glibc_reserved2): Likewise.
1712 (cmsghdr.__glibc_reserved1): Likewise.
1713 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1714 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1715 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1716 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1717 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1718 version.
1719 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1720 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1721 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1722 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1723 Remove recvmsg and sendmsg.
1724 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1725 Likewise.
1726 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1727 Likewise.
1728 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1729 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1730 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1731 Likewise.
1732 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1733 Likewise.
1734 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1735 [libc] (GLIBC_2.24): Likewise.
1736 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1737 Likewise.
1738 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1739 Likewise.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1741 [libc] (GLIBC_2.24): Likewise.
1742 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1743 Likewise.
1744 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1745 Likewise.
1746 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1747 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1748 Likewise.
1749 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1750 Likewise.
1751 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1752 Likewise.
1753 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1754 Likewise.
1755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1756 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1757 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1758 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1759 version for {recv,send,recm,sendm}msg.
1760 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1761 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1762 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1763 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1764 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1765 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1766 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1767 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1768 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1769 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1770 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1771 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1773 Likewise.
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1775 Likewise.
1776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1778 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1779 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1780 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1781 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1782 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1786 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1787 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1788 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1789
1790 2016-06-10 Florian Weimer <fweimer@redhat.com>
1791
1792 [BZ #19564]
1793 Remove __malloc_initialize_hook from the API.
1794 * malloc/malloc.h (__malloc_initialize_hook): Remove.
1795 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1796 #pragma GCC poison.
1797 * malloc/malloc-hooks.h: New file.
1798 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1799 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1800 (old__malloc_initialize_hook): Rename from
1801 __malloc_initialize_hook to evade poisoning. Turn into compat
1802 symbol.
1803 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1804 __malloc_initialize_hook.
1805 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1806 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1807 * manual/memory.texi (Hooks for Malloc): Remove
1808 __malloc_initialize_hook. Adjust hook example.
1809
1810 2016-06-09 Joseph Myers <joseph@codesourcery.com>
1811
1812 [BZ #20235]
1813 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1814 itself.
1815 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1816 * math/libm-test.inc (log2_test_data): Add sNaN tests.
1817
1818 [BZ #20234]
1819 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1820 infinity or NaN input to itself.
1821
1822 [BZ #20233]
1823 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1824 to itself.
1825
1826 [BZ #20232]
1827 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1828 itself.
1829
1830 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
1831
1832 * sysdeps/x86_64/start.S (_start): Always indirect branch to
1833 __libc_start_main via GOT.
1834
1835 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 * sysdeps/x86_64/memcopy.h: New file.
1838 * sysdeps/x86_64/wordcopy.c: Likewise.
1839
1840 2016-06-09 Florian Weimer <fweimer@redhat.com>
1841
1842 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1843 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1844 <cstdlib>.
1845 (optimization_barrier): New.
1846 (do_test): Use it. Call quick_exit in the global namespace.
1847 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1848 instead of <cstdlib>, <thread>.
1849 (optimization_barrier): New.
1850 (non_main_thread): Adjust declaration. Call optimization_barrier.
1851 Call quick_exit in the global namespace.
1852 (do_test): Call optimization_barrier. Use pthread_create,
1853 pthread_join instead of std::thread.
1854
1855 2016-06-09 Andreas Schwab <schwab@suse.de>
1856
1857 [BZ #19755]
1858 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1859 new entries in auto-propagate mode.
1860 * nscd/grpcache.c (cache_addgr): Likewise.
1861
1862 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1863
1864 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1865 New functions.
1866 (add_temp_file): Use them.
1867
1868 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
1869
1870 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1871
1872 2016-06-08 Joseph Myers <joseph@codesourcery.com>
1873
1874 [BZ #20229]
1875 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1876 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1877 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1878
1879 [BZ #20228]
1880 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1881 itself.
1882 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1883 * math/libm-test.inc (log10_test_data): Add sNaN tests.
1884
1885 [BZ #20227]
1886 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1887 itself.
1888 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1889 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1890 * math/libm-test.inc (log_test_data): Add sNaN tests.
1891
1892 [BZ #20226]
1893 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1894 itself.
1895 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1896 * math/libm-test.inc (exp_test_data): Add sNaN tests.
1897 (exp10_test_data): Likewise.
1898 (expm1_test_data): Likewise.
1899
1900 [BZ #20225]
1901 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1902 itself.
1903 * math/s_ldexpf.c (__ldexpf): Likewise.
1904 * math/s_ldexpl.c (__ldexpl): Likewise.
1905 * math/w_scalbln.c (__w_scalbln): Likewise.
1906 * math/w_scalblnf.c (__w_scalblnf): Likewise.
1907 * math/w_scalblnl.c (__w_scalblnl): Likewise.
1908 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1909 (scalbln_test_data): Likewise.
1910
1911 [BZ #20224]
1912 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1913 argument to itself.
1914 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1915
1916 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1917
1918 [BZ #19776]
1919 * sysdeps/x86_64/memcpy.S: Make it dummy.
1920 * sysdeps/x86_64/mempcpy.S: Likewise.
1921 * sysdeps/x86_64/memmove.S: New file.
1922 * sysdeps/x86_64/memmove_chk.S: Likewise.
1923 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1924 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1925 * sysdeps/x86_64/memmove.c: Removed.
1926 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1927 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1928 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1929 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1930 Likewise.
1931 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1932 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1934 memcpy-sse2-unaligned, memmove-avx-unaligned,
1935 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1937 (__libc_ifunc_impl_list): Replace
1938 __memmove_chk_avx512_unaligned_2 with
1939 __memmove_chk_avx512_unaligned. Remove
1940 __memmove_chk_avx_unaligned_2. Replace
1941 __memmove_chk_sse2_unaligned_2 with
1942 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
1943 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
1944 with __memmove_avx512_unaligned. Replace
1945 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1946 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
1947 with __memcpy_chk_avx512_unaligned. Remove
1948 __memcpy_chk_avx_unaligned_2. Replace
1949 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1950 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
1951 Replace __memcpy_avx512_unaligned_2 with
1952 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
1953 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
1954 with __mempcpy_chk_avx512_unaligned. Remove
1955 __mempcpy_chk_avx_unaligned_2. Replace
1956 __mempcpy_chk_sse2_unaligned_2 with
1957 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
1958 Replace __mempcpy_avx512_unaligned_2 with
1959 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
1960 Replace __mempcpy_sse2_unaligned_2 with
1961 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
1962 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1963 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1964 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1965 if processor has ERMS. Default to __memcpy_sse2_unaligned.
1966 (ENTRY): Removed.
1967 (END): Likewise.
1968 (ENTRY_CHK): Likewise.
1969 (libc_hidden_builtin_def): Likewise.
1970 Don't include ../memcpy.S.
1971 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1972 __memcpy_chk_avx512_unaligned_erms and
1973 __memcpy_chk_avx512_unaligned. Use
1974 __memcpy_chk_avx_unaligned_erms and
1975 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1976 Default to __memcpy_chk_sse2_unaligned.
1977 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1978 Change function suffix from unaligned_2 to unaligned.
1979 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1980 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1981 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1982 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
1983 (ENTRY): Removed.
1984 (END): Likewise.
1985 (ENTRY_CHK): Likewise.
1986 (libc_hidden_builtin_def): Likewise.
1987 Don't include ../mempcpy.S.
1988 (mempcpy): New. Add a weak alias.
1989 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1990 __mempcpy_chk_avx512_unaligned_erms and
1991 __mempcpy_chk_avx512_unaligned. Use
1992 __mempcpy_chk_avx_unaligned_erms and
1993 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1994 Default to __mempcpy_chk_sse2_unaligned.
1995
1996 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1997
1998 [BZ #19881]
1999 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2000 into ...
2001 * sysdeps/x86_64/memset.S: This.
2002 (__bzero): Removed.
2003 (__memset_tail): Likewise.
2004 (__memset_chk): Likewise.
2005 (memset): Likewise.
2006 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2007 defined.
2008 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2009 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2010 (__memset_zero_constant_len_parameter): Check SHARED instead of
2011 PIC.
2012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2013 memset-avx2 and memset-sse2-unaligned-erms.
2014 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2015 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2016 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2017 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2018 (__bzero): Enabled.
2019 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2020 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2021 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
2022 or __memset_avx2_unaligned_erms if processor has ERMS. Support
2023 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2024 (memset): Removed.
2025 (__memset_chk): Likewise.
2026 (MEMSET_SYMBOL): New.
2027 (libc_hidden_builtin_def): Replace __memset_sse2 with
2028 __memset_sse2_unaligned.
2029 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2030 __memset_chk_sse2 and __memset_chk_avx2 with
2031 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2032 Use __memset_chk_sse2_unaligned_erms or
2033 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
2034 __memset_chk_avx512_unaligned_erms and
2035 __memset_chk_avx512_unaligned.
2036
2037 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2038
2039 * math/gen-auto-libm-test.c (fp_format_desc): remove
2040 suffix member.
2041 (output_generic_value): Remove usage of suffix member,
2042 and the resulting unuse of the fp_format argument.
2043 (output_for_one_input_case): Remove unused fp_format
2044 parameter.
2045
2046 * math/auto-libm-test-out: Regenerate.
2047
2048 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2049 usage with TEST_COND_ibm128.
2050 (TEST_COND_flt_32): Remove.
2051 (TEST_COND_dbl_64): Remove.
2052 (TEST_COND_ldbl_96_intel): Remove.
2053 (TEST_COND_ldbl_96_m68k): Remove.
2054 (TEST_COND_ldbl_128): Remove.
2055
2056 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2057
2058 * auto-libm-test-in:
2059 Replace flt-32 usage with binary32.
2060 Replace dbl-64 usage with binary64.
2061 Replace ldbl-intel-96 usage with intel96.
2062 Replace ldbl-m68k-96 usage with m68k96.
2063 Replace ldbl-128ibm usage with ibm128.
2064 Replace ldbl-128 usage with binary128.
2065
2066 * auto-libm-test-out: Regenerate.
2067
2068 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2069
2070 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2071 (parse_ulps): Dynamically generate type name matching
2072 string from all_floats.
2073 (get_ulps): Generate the ulps as an array instead.
2074 (output_ulps): Dynamically compose the type based
2075 on the number of supported formats, and print
2076 the indices as type specific helper macros.
2077
2078 * math/libm-test.inc: Remove comment about CHOOSE.
2079 (ulp_data): Generate the type in libm-test-ulps.h.
2080 (ULP_IDX): New macro.
2081 (find_ulps): Update usage of max_ulp.
2082
2083 * math/test-double-vlen2.h (CHOOSE): Remove.
2084 * math/test-double-vlen4.h (CHOOSE): Likewise.
2085 * math/test-double-vlen8.h (CHOOSE): Likewise.
2086 * math/test-float.c (CHOOSE): Likewise.
2087 * math/test-float-finite.c (CHOOSE): Likewise.
2088 * math/test-double.c (CHOOSE): Likewise.
2089 * math/test-double-finite.c (CHOOSE): Likewise.
2090 * math/test-idouble.c (CHOOSE): Likewise.
2091 * math/test-ifloat.c (CHOOSE): Likewise.
2092 * math/test-ildoubl.c (CHOOSE): Likewise.
2093 * math/test-ldouble-finite.c (CHOOSE): Likewise.
2094 * math/test-ldouble.c (CHOOSE): Likewise.
2095
2096 * math/test-float.h (TEST_FLOAT): Remove.
2097 * math/test-double.h (TEST_DOUBLE): Likewise.
2098 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2099
2100 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2101
2102 * math/gen-libm-test.pl: (apply_lit): New subroutine.
2103 (parse_args): Strip C suffix from floating point literals
2104 typed with 'f' and wrap them with LIT().
2105
2106 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2107 (test_ff_f_data_nexttoward): Rename to
2108 (test_fj_f_data): New struct.
2109 (nexttoward_test_data): Relabel tests as
2110 TEST_fj_f instead of TEST_ff_f.
2111
2112 2016-06-08 Florian Weimer <fweimer@redhat.com>
2113
2114 Emacs bug 23726.
2115 * malloc/malloc.c (dumped_main_arena_start): Update comment.
2116 (__libc_realloc): Correct size computation for dumped fake mmapped
2117 chunks.
2118
2119 2016-06-07 Joseph Myers <joseph@codesourcery.com>
2120
2121 [BZ #20219]
2122 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2123 to itself.
2124 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2125
2126 [BZ #20218]
2127 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2128 to itself.
2129 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2130
2131 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
2132
2133 [BZ #20195]
2134 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2135 check to ...
2136 (init_cpu_features): Here.
2137
2138 2016-06-07 Carlos O'Donell <carlos@redhat.com>
2139
2140 [BZ #20214]
2141 * sysdeps/unix/sysv/linux/bits/in.h
2142 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2143 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2144 Define to 1.
2145 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2146 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2147 Define to 0.
2148 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2149 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2150
2151 2016-06-06 Carlos O'Donell <carlos@redhat.com>
2152
2153 [BZ #20198]
2154 * stdlib/Makefile (tests): Add tst-quick_exit, and
2155 tst-thread-quick_exit.
2156 [ifeq ($(have-cxx-thread_local),yes)]
2157 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2158 (CFLAGS-tst-thread-quick_exit.o): Likewise.
2159 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2160 (LDLIBS-tst-thread-quick_exit): Likewise.
2161 [ifneq ($(have-cxx-thread_local),yes)]
2162 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2163 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2164 If run_dtors is true call __call_tls_dtors.
2165 (exit): Call __run_exit_handlers with run_dtors set to true.
2166 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2167 definition.
2168 * stdlib/quick_exit.c (quick_exit): Remove function.
2169 (__new_quick_exit): New function.
2170 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2171 function.
2172 * stdlib/tst-quick_exit.cc: New file.
2173 * stdlib/tst-thread-quick_exit.cc: New file.
2174 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2175 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2176 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2177 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2178 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2179 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2180 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2181 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2182 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2183 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2184 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2185 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2186 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2187 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2188 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2189 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2194 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2195 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2196 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2197 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2198 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2201 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2202 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2203 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2204
2205 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
2206
2207 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2208 a typo in comments.
2209
2210 2016-06-06 Joseph Myers <joseph@codesourcery.com>
2211
2212 [BZ #20213]
2213 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2214 argument to itself.
2215 * math/libm-test.inc (asin_test_data): Add sNaN tests.
2216
2217 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2218
2219 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2220 required flags.
2221 (CFLAGS-pwritev64.c): Likewise.
2222 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2223 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2224 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2225 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2226 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2227 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2228 syscall from auto-generation.
2229 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2230 [WORDSIZE == 64] (pwritev64): Remove macro.
2231 [!PWRITEV] (PWRITEV): Likewise.
2232 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2233 [!PWRITEV] (PWRITE): Likewise.
2234 [!PWRITEV] (OFF_T): Likewise.
2235 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2236 (LO_HI_LONG): Remove macro.
2237 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2238 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2239 (PWRITEV): Remove macro.
2240 (PWRITEV_REPLACEMENTE): Likewise.
2241 (PWRITE): Likewise.
2242 (OFF_T): Likewise.
2243 (pwritev64): New function.
2244 * nptl/tst-cancel4.c (tf_writev): Add test.
2245
2246 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2247 required flags.
2248 (CFLAGS-preadv64.c): Likewise.
2249 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2250 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2251 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2252 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2253 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2254 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2255 syscall from auto-generation.
2256 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2257 [WORDSIZE == 64] (preadv64): Remove macro.
2258 [!PREADV] (PREADV): Likewise.
2259 [!PREADV] (PREADV_REPLACEMENT): Likewise.
2260 [!PREADV] (PREAD): Likewise.
2261 [!PREADV] (OFF_T): Likewise.
2262 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2263 (LO_HI_LONG): Remove macro.
2264 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2265 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2266 (PREADV): Remove macro.
2267 (PREADV_REPLACEMENTE): Likewise.
2268 (PREAD): Likewise.
2269 (OFF_T): Likewise.
2270 (preadv64): New function.
2271 * nptl/tst-cancel4.c (tf_preadv): Add test.
2272
2273 2016-06-06 Joseph Myers <joseph@codesourcery.com>
2274
2275 [BZ #20212]
2276 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2277 argument to itself.
2278 * math/libm-test.inc (acos_test_data): Add sNaN tests.
2279
2280 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2281
2282 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2283 New symbol defined as libc_hidden_def.
2284 (strcasestr): Became a weak alias to __strcasestr.
2285 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2286 according to multi-arch support. Move __stpncpy hidden
2287 definition from here to...
2288 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
2289 symbol stpncpy.
2290 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2291 libc_hidden_builtin_def.
2292 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2293 memset symbol to use when multi-arch support is available.
2294
2295 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
2296
2297 * dlfcn/tst-rec-dlopen.c: Include string.h.
2298
2299 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2300
2301 * manual/install.texi: Remove mention of --without-tls
2302 * INSTALL: Regenerate.
2303
2304 2016-06-05 Florian Weimer <fweimer@redhat.com>
2305
2306 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2307 Remove.
2308 (call_function, interposed_malloc_called): New variables.
2309 (malloc): New function.
2310 (do_test): Do not change malloc hooks. Initialize malloc. Set
2311 and clear call_function as needed.
2312
2313 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
2314
2315 * include/wchar.h (__wmemset): Use __typeof.
2316
2317 2016-06-03 Carlos O'Donell <carlos@redhat.com>
2318
2319 * include/wchar.h (__wmemset): Declare function without typeof.
2320
2321 2016-06-03 Joseph Myers <joseph@codesourcery.com>
2322
2323 [BZ #20205]
2324 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2325 exponent when incrementing negative subnormal with low mantissa
2326 word zero.
2327 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2328 Add another test.
2329
2330 2016-06-03 Florian Weimer <fweimer@redhat.com>
2331
2332 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2333 __wmemset instead of wmemset.
2334
2335 2016-06-02 Carlos O'Donell <carlos@redhat.com>
2336
2337 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2338 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2339 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2340 __USE_KERNEL_IPV6_DEFS to 0.
2341 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2342 Update comment.
2343
2344 2016-06-01 Florian Weimer <fweimer@redhat.com>
2345
2346 [BZ #19861]
2347 Do not use IFUNC resolver with potentially unrelocated symbol.
2348 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2349 (DEFINE_FORK): Remove macro and inline definition.
2350 (fork_alias): Renamed from fork_ifunc.
2351 (__fork_alias): Renamed from __fork_ifunc.
2352
2353 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
2354
2355 [BZ 19653]
2356 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2357 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2358
2359 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2360
2361 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2362 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2363 i386-linux-gnu).
2364 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2365 Set to no.
2366 * sysdeps/mach/hurd/configure: Refresh.
2367
2368 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2369
2370 [BZ #20178]
2371 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2372 on failure instead of exit.
2373
2374 2016-05-30 Roland McGrath <roland@hack.frob.com>
2375
2376 [BZ #3629]
2377 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2378 of POSIX.1-2008.
2379
2380 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2381
2382 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2383 Use PLT entry for calling _hurd_self_sigstate.
2384
2385 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2386
2387 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2388 available logical processors with SMT level type sharing L2
2389 cache for Intel processors.
2390
2391 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2392
2393 [BZ #20160]
2394 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2395 argument to itself before returning the result.
2396 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2397 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2398 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2399 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2400 Likewise.
2401 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2402 Likewise.
2403 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2404 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2405 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2406 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2407 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2408 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2409
2410 [BZ #20160]
2411 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2412 argument to itself before returning the result.
2413 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2414 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2415 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2416 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2417 Likewise.
2418 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2419 Likewise.
2420 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2421 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2422 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2423 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2424 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2425 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2426
2427 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2428
2429 * libm-test.inc: Replace usage of M_El with
2430 (lit_e): New macro.
2431
2432 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2433
2434 * libm-test.inc: Replace usage of M_PI_4l with
2435 (lit_pi_4_d): New macro.
2436
2437 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2438
2439 * libm-test.inc: Replace usage of M_PIl with
2440 (lit_pi): New macro.
2441
2442 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2443
2444 * libm-test.inc: Replace usage of M_PI2l with
2445 (lit_pi_2_d): New macro.
2446
2447 * math/test-double.h (LITM): New macro.
2448 * math/test-float.h (LITM): Likewise.
2449 * math/test-ldouble.h (LITM): Likewise.
2450
2451 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2452
2453 * libm-test.inc (M_PI_34l): Rename to
2454 (lit_pi_3_m_4_d): New Macro.
2455 (M_PI_34_LOG10El): Rename to
2456 (lit_pi_3_m_4_ln10_m_d): New Macro.
2457 (M_PI2_LOG10El): Rename to
2458 (lit_pi_2_ln10_m_d): New Macro.
2459 (M_PI4_LOG10El): Rename to
2460 (lit_pi_4_ln10_m_d): New Macro.
2461 (M_PI_LOG10El): Rename to
2462 (lit_pi_ln10_d): New Macro.
2463
2464 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2465
2466 [BZ #20157]
2467 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2468 determine whether to negate low half if [_ARCH_PPCGR], and integer
2469 comparison otherwise.
2470 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2471 determine whether to negate low half.
2472
2473 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2474 (NO_TEST_INLINE_DOUBLE): Likewise.
2475 (TEST_COND_x86_64): Likewise.
2476 (TEST_COND_x86): Likewise.
2477 (M_PI_6l): Likewise.
2478
2479 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2480
2481 * math/libm-test.inc:
2482 (TEST_FLOAT): Change usage to TEST_COND_binary32.
2483 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2484 (TEST_LDOUBLE): Update usage to evaluate as true if
2485 the guarded tests match the property being tested.
2486 (LDBL_MAX_EXP): Change to MAX_EXP.
2487 (LDBL_MIN_EXP): Change to MIN_EXP.
2488 (LDBL_MANT_DIG): Change to MANT_DIG, except for
2489 nexttoward tests.
2490
2491 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2492
2493 * math/libm-test.inc:
2494 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2495 (TYPE_MIN): Likewise.
2496 (TYPE_TRUE_MIN): Likewise.
2497 (TYPE_MAX): Likewise.
2498 (MIN_EXP): Likewise.
2499 (MAX_EXP): Likewise.
2500 (MANT_DIG): Likewise.
2501
2502 (FSTR_MAX): New macro.
2503 (__CONCATX): Likewise.
2504 (QTYPE_STR): Likewise.
2505 (TEST_COND_binary32): Likewise.
2506 (TEST_COND_binary64): Likewise.
2507 (TEST_COND_binary128): Likewise.
2508 (TEST_COND_ibm128): Likewise.
2509 (TEST_COND_intel96): Likewise.
2510 (TEST_COND_m68k96): Likewise.
2511
2512 (TEST_COND_flt_32): Redefine as equivalent format test macro.
2513 (TEST_COND_dbl_64): Likewise.
2514 (TEST_COND_ldbl_96_intel): Likewise.
2515 (TEST_COND_ldbl_96_m68k): Likewise.
2516 (TEST_COND_ldbl_128): Likewise.
2517 (TEST_COND_ldbl_128ibm): Likewise.
2518
2519 (plus_zero): Redefine using LIT macro.
2520 (minus_zero): Likewise.
2521 (plus_infty): Redefine as (INF).
2522 (minux_infty): Redefine as (-INF).
2523 (max_value): Redefine as TYPE_MAX.
2524 (min_value): Redefine as TYPE_MIN.
2525 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2526
2527 (print_float): Refactor to use snprintf to convert FLOAT values
2528 to string. This brings it closer to dropin replacement of strtof
2529 for the TS 18661 defined types.
2530 (update_stats): Likewise.
2531 (print_complex_function_ulps): Likewise.
2532 (print_max_error): Likewise.
2533 (print_complex_max_error): Likewise.
2534 (check_float_internal): Likewise.
2535
2536 * math/test-float.h (PREFIX): New macro.
2537 (LIT): Likewise.
2538 (TYPE_STR): Likewise.
2539 (FTOSTR): Likewise.
2540
2541 * math/test-double.h (PREFIX): New macro.
2542 (LIT): Likewise.
2543 (TYPE_STR): Likewise.
2544 (FTOSTR): Likewise.
2545
2546 * math/test-ldouble.h (PREFIX): New macro.
2547 (LIT): Likewise.
2548 (TYPE_STR): Likewise.
2549 (FTOSTR): Likewise.
2550
2551 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2552
2553 [BZ #20156]
2554 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2555 to itself when zero or not finite.
2556 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2557 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2558 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2559 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2560
2561 2016-05-26 Joseph Myers <joseph@codesourcery.com>
2562
2563 [BZ #20153]
2564 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2565 x * x + x for infinities and NaNs.
2566
2567 [BZ #20151]
2568 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2569 argument to itself before returning result.
2570 (__ieee754_y0l): Likewise.
2571 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2572 (__ieee754_y1l).
2573
2574 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2575 (atan_test_data): Likewise.
2576 (ceil_test_data): Likewise.
2577 (cos_test_data): Likewise.
2578 (cosh_test_data): Likewise.
2579 (erf_test_data): Likewise.
2580 (exp2_test_data): Likewise.
2581 (fabs_test_data): Likewise.
2582 (floor_test_data): Likewise.
2583 (ilogb_test_data): Likewise.
2584 (j0_test_data): Likewise.
2585 (j1_test_data): Likewise.
2586 (jn_test_data): Likewise.
2587 (lgamma_test_data): Likewise.
2588 (lrint_test_data): Likewise.
2589 (llrint_test_data): Likewise.
2590 (logb_test_data): Likewise.
2591 (lround_test_data): Likewise.
2592 (llround_test_data): Likewise.
2593 (nearbyint_test_data): Likewise.
2594 (rint_test_data): Likewise.
2595 (round_test_data): Likewise.
2596 (sin_test_data): Likewise.
2597 (sincos_test_data): Likewise.
2598 (sinh_test_data): Likewise.
2599 (sqrt_test_data): Likewise.
2600 (tan_test_data): Likewise.
2601 (tanh_test_data): Likewise.
2602 (tgamma_test_data): Likewise.
2603 (trunc_test_data): Likewise.
2604 (y0_test_data): Likewise.
2605 (y1_test_data): Likewise.
2606 (yn_test_data): Likewise.
2607
2608 * math/libm-test.inc: Update comment about NaN testing.
2609 (TEST_SNAN): New macro.
2610 (snan_value): Likewise.
2611 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2612 (fpclassify_test_data): Add sNaN tests.
2613 (isfinite_test_data): Likewise.
2614 (isinf_test_data): Likewise.
2615 (isnan_test_data): Likewise.
2616 (isnormal_test_data): Likewise.
2617 (issignaling_test_data): Likewise.
2618 (signbit_test_data): Likewise.
2619 * math/gen-libm-test.pl (%beautify): Add snan_value.
2620 (show_exceptions): Add argument $test_snan.
2621 (parse_args): Handle snan_value as non-finite. Update call to
2622 show_exceptions.
2623 * math/Makefile (libm-test-no-inline-cflags): Add
2624 -fsignaling-nans.
2625
2626 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2627
2628 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2629 (CFLAGS-oldsendmsg.c): Add rule.
2630 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2631 Correct recvmsg symbol name.
2632 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2633 Likewise.
2634
2635 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2636
2637 * sysdeps/unix/sysv/linux/Makefile
2638 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2639 oldsendmmsg.
2640 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2641 sendmmsg.
2642 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2643 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2644 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2645 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2647 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2648 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2650 Likewise.
2651 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2652 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2653 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2654 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2655 iovlen and controllen fields to adjust to POSIX specification.
2656 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2657
2658 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2659 and change to correct expected type.
2660 (msghdr.msg_controllen): Likewise.
2661 (cmsghdr.cmsg_len): Likewise.
2662 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2663 expected POSIX assumption about the size.
2664 (msghdr.msg_controllen): Likewise.
2665 (msghdr.__glibc_reserved1): Likewise.
2666 (msghdr.__glibc_reserved2): Likewise.
2667 (cmsghdr.cmsg_len): Likewise.
2668 (cmsghdr.__glibc_reserved1): Likewise.
2669 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2670 Add ptw-oldrecvmsg and ptw-oldsendmsg.
2671 (CFLAGS-sendmsg.c): Remove rule.
2672 (CFLAGS-recvmsg.c): Likewise.
2673 (CFLAGS-oldsendmsg.c): Add rule.
2674 (CFLAGS-oldrecvmsg.c): Likewise.
2675 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2676 recvmsg and sendmsg.
2677 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2678 Likewise.
2679 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2680 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2681 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2682 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2683 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2684 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2685 Likewise.
2686 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2687 Likewise.
2688 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2689 Likewise.
2690 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2691 Likewise.
2692 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2693 Likewise.
2694 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2695 Likewise.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2697 (GLIBC_2.24): Likewise.
2698 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2699 Likewise.
2700 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2701 Likewise.
2702 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2703 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2704 Likewise.
2705 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2706 Likewise.
2707 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2708 Likewise.
2709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2710 (GLIBC_2.24): Likewise.
2711 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2712 Likewise.
2713 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2714 Likewise.
2715 * sysdeps/unix/sysv/linux/Makefile
2716 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2717 (CFLAGS-sendmsg.c): Add rule.
2718 (CFLAGS-recvmsg.c): Likewise.
2719 (CFLAGS-oldsendmsg.c): Likewise.
2720 (CFLAGS-oldrecvmsg.c): Likewise.
2721 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2722 initialization.
2723 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2724 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2725 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2726 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2727 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2728 iovlen and controllen fields to adjust to POSIX specification.
2729 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2730 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2731 added recvmsg and sendmsg.
2732 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2733 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2734 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2735 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2736 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2737 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2738 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2739 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2740 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2741 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2742 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2743 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2745 Likewise.
2746 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2748 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2749 Likewise.
2750 Likewise.
2751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2752 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2753 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2754 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2755 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2756 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2758 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2760 Likewise.
2761 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2762 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2763
2764 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2765 from auto-generation.
2766 (sendmsg): Likewise.
2767 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2768 (sendmsg): Likewise.
2769 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2770 (sendmsg): Likewise.
2771 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2772 (sendmsg): Likewise.
2773 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2774 (sendmsg): Likewise.
2775 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2776 (sendmsg): Likewise.
2777 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2778 Likewise.
2779 (sendmsg): Likewise.
2780 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2781 (sendmsg): Likewise.
2782 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2783 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2784 Remove.
2785 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2786 Likewise.
2787 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2788 Undefine.
2789 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2790 Likewise.
2791 * sysdeps/unix/sysv/linux/kernel-features.h
2792 (__ASSUME_SENDMSG_SYSCALL): Define.
2793 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2794 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2795 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2796 Remove.
2797 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2798 Likewise.
2799 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2800 Undefine.
2801 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2802 Likewise.
2803 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2804 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2805 Remove.
2806 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2807 Likewise.
2808 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2809 Undefine.
2810 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2811 Likewise.
2812 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2813 (__ASSUME_SENDMSG_SYSCALL): Undefine.
2814 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2815 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2816 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2817 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2818 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2819 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2820 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2821
2822 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2823
2824 * stdlib/gen-tst-strtod-round.c: Add backslash to
2825 compile command in comment.
2826 (printfp): Remove the literal suffix, and define an infinite
2827 value as INF to avoid expansion clash with INFINITY.
2828 (round_str): Remove the literal suffix.
2829 (round_for_all): Likewise, remove the now duplicate ldbl-64
2830 entry, and remove some magic constants.
2831
2832 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2833 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
2834 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2835 (_CONCAT): New macro.
2836 (CONCAT): Likewise.
2837 (CHOOSE_ld): Likewise.
2838 (CHOOSE_f): Likewise.
2839 (CHOOSE_d): Likewise.
2840 (FTYPE_MEMBER): Likewise.
2841 (BOOL_MEMBER): Likewise.
2842 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2843 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2844 (_XNTRY): Likewise.
2845 (XNTRY): Likewise.
2846 (_ENTRY): Likewise.
2847 (ENTRY): Likewise.
2848 (test_exactness): Generate members via macro.
2849 (test_results): Likewise.
2850 (test): Update members.
2851 (TEST): Redefine using new macros.
2852 (INF): New macro.
2853 (fetestmodes): New structure.
2854 (do_test): Refactor to be type generic.
2855 (test_in_one_mode): Refactor duplicate code into
2856 (GEN_ONE_TEST): New macro.
2857
2858 * stdlib/tst-strtod-round-data.h: Regenerate.
2859
2860 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2861 Extend to pass additional arbitrary parameters to
2862 generators.
2863
2864 2016-05-25 Joseph Myers <joseph@codesourcery.com>
2865
2866 [BZ #15479]
2867 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2868 floating-point state after first floating-point operation on
2869 input. Restore full floating-point state instead of just rounding
2870 mode.
2871 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2872 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2873 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2874 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2875 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2876
2877 [BZ #15479]
2878 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2879 floating-point state after first floating-point operation on
2880 input. Restore full floating-point state instead of just rounding
2881 mode.
2882 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2883 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2884 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2885 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2886 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2887
2888 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2889
2890 [BZ #19727]
2891 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2892 valid high surrogate.
2893 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2894 of an utf16 surrogate.
2895 * iconv/gconv_simple.c (BODY): Likewise.
2896 * iconvdata/bug-iconv12.c: New file.
2897 * iconvdata/Makefile (tests): Add bug-iconv12.
2898
2899 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2900
2901 [BZ #19726]
2902 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2903 outptrp in case of an illegal input.
2904 * iconv/tst-iconv6.c: New file.
2905 * iconv/Makefile (tests): Add tst-iconv6.
2906
2907 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2908
2909 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2910 an error in case of a value in range of an utf16 low surrogate.
2911
2912 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2913
2914 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2915 an error in case of a value in range of an utf16 low surrogate.
2916
2917 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2918
2919 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2920 Move to ...
2921 * sysdeps/s390/Makefile: ... here.
2922 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2923 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2924 (BRANCH_ON_COUNT): New define.
2925 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2926 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2927 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2928 run on s390-32, too.
2929 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2930 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2931 run on s390-32, too.
2932 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2933 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2934 run on s390-32, too.
2935
2936 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2937
2938 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2939 etf3eh or new vector loop-variant.
2940
2941 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2942
2943 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2944 etf3eh or new vector loop-variant.
2945
2946 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2947
2948 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2949 or new vector loop-variant.
2950
2951 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2952
2953 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2954 Rename to TR_LOOP and usage of tr instead of troo instruction.
2955
2956 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2957
2958 * sysdeps/s390/multiarch/gconv_simple.c: New File.
2959 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2960
2961 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2962
2963 * sysdeps/s390/multiarch/8bit-generic.c: New File.
2964 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2965 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2966 New override define.
2967 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2968
2969 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2970
2971 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2972 * sysdeps/s390/configure.ac: Add test for S390 vector register
2973 support in gcc.
2974 * sysdeps/s390/configure: Regenerated.
2975
2976 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2977
2978 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2979 Install file from $(objpfx)gconv-modules.
2980 ($(objpfx)gconv-modules): Concatenate architecture specific file
2981 in variable sysdeps-gconv-modules and gconv-modules in src dir.
2982 * sysdeps/s390/gconv-modules: New file.
2983 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2984 Deleted.
2985 ($(objpfx)gconv-modules-s390): Deleted.
2986 (sysdeps-gconv-modules): New variable.
2987
2988 2016-05-24 Joseph Myers <joseph@codesourcery.com>
2989
2990 [BZ #15479]
2991 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2992 of immediate operand to rounding instruction.
2993 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2994 Likewise.
2995 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2996 Likewise.
2997 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2998 Likewise.
2999
3000 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3001
3002 * math/libm-test.inc (MIN_EXP): Directly define as
3003 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3004
3005 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3006
3007 * math/libm-test.inc (MANT_DIG): Directly define as
3008 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3009
3010 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3011
3012 * stdlib/gen-tst-strtod-round.c (main):
3013 Change usage to more closely match the generated
3014 output. Add usage and compilation instructions.
3015 (string_to_fp): Add and use FILE* parameter as
3016 output target.
3017 (print_fp): Likewise.
3018 (round_str): Likewise.
3019 (round_for_all): Likewise.
3020 * stdlib/tst-strtod-round.c (tests): Move into
3021 * stdlib/tst-strtod-round-data.h: New file.
3022
3023 2016-05-24 Joseph Myers <joseph@codesourcery.com>
3024
3025 [BZ #15479]
3026 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3027 (__round): Do not force "inexact" exception.
3028 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3029 variable.
3030 (__round): Do not force "inexact" exception.
3031 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3032 (__roundf): Do not force "inexact" exception.
3033 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3034 (__roundl): Do not force "inexact" exception.
3035 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3036 (__roundl): Do not force "inexact" exception.
3037 * math/libm-test.inc (round_test_data): Do not allow spurious
3038 "inexact" exceptions.
3039
3040 [BZ #15479]
3041 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3042 exception in comment.
3043 (huge): Remove variable.
3044 (__floor): Do not force "inexact" exception.
3045 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3046 "inexact" exception in comment.
3047 (huge): Remove variable.
3048 (__floor): Do not force "inexact" exception.
3049 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3050 exception in comment.
3051 (huge): Remove variable.
3052 (__floorf): Do not force "inexact" exception.
3053 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3054 exception in comment.
3055 (huge): Remove variable.
3056 (__floorl): Do not force "inexact" exception.
3057
3058 [BZ #15479]
3059 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3060 exception in comment.
3061 (huge): Remove variable.
3062 (__ceil): Do not force "inexact" exception.
3063 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3064 "inexact" exception in comment.
3065 (huge): Remove variable.
3066 (__ceil): Do not force "inexact" exception.
3067 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3068 (__ceilf): Do not force "inexact" exception.
3069 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3070 exception in comment.
3071 (huge): Remove variable.
3072 (__ceill): Do not force "inexact" exception.
3073
3074 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
3075
3076 * config.h.in (BIND_NOW): New.
3077 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
3078 * configure: Regenerated.
3079 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3080 indirect branch via the GOT slot.
3081
3082 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3083
3084 [BZ #19765]
3085 * sysdeps/s390/mempcpy.S: New File.
3086 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3087 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3088 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3089 Add mempcpy variants.
3090 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3091 (memcpy): Adjust to be usable from mempcpy entry point.
3092 (__memcpy_mvcle): Likewise.
3093 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3094 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3095 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3096 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3097 (__memcpy_z10): Likewise.
3098 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3099
3100 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3101
3102 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3103 Remove __GI_ symbol.
3104 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3105 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3106 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3107 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3108 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3109 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3110
3111 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3112
3113 * sysdeps/s390/s390-64/memcpy.S (memcpy):
3114 Use cghi instead of chi to compare 64bit value.
3115
3116 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3117
3118 * sysdeps/s390/s390-32/memcpy.S (memcpy):
3119 Jump to 1MB check before executing mvc-loop.
3120
3121 2016-05-24 Florian Weimer <fweimer@redhat.com>
3122
3123 [BZ #6527]
3124 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3125 unconditionally.
3126 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3127
3128 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3129
3130 * stdlib/tst-strtod6.c (do_test): Use new type generic
3131 invocation of the test function.
3132 (test): Refactor into ...
3133 (TEST_STRTOD): New macro base function.
3134
3135 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3136
3137 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3138 (TEST_STRTOD): New macro.
3139 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3140
3141 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3142
3143 * stdlib/tst-strtod6.c (do_test): Use new type generic
3144 invocation of the test function.
3145 (test): Refactor into ...
3146 (TEST_STRTOD): New macro base function.
3147
3148 2016-05-23 Florian Weimer <fweimer@redhat.com>
3149
3150 CVE-2016-4429
3151 [BZ #20112]
3152 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3153 payload.
3154
3155 2016-05-23 Florian Weimer <fweimer@redhat.com>
3156
3157 [BZ #20111]
3158 * bits/sockaddr.h (_SS_SIZE): Define.
3159 * bits/socket.h (_SS_SIZE): Remove.
3160 (_SS_PADSIZE): Adjust to account for all padding.
3161 (struct sockaddr_storage): Update comment. Avoid implicit
3162 padding.
3163 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3164 (_SS_PADSIZE): Adjust to account for all padding.
3165 (struct sockaddr_storage): Update comment. Avoid implicit
3166 padding.
3167 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3168 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3169 (_SS_PADSIZE): Adjust to account for all padding.
3170 (struct sockaddr_storage): Update comment. Avoid implicit
3171 padding.
3172 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3173 __SS_SIZE is 126 in this version.
3174 * inet/tst-sockaddr.c: New file.
3175 * inet/Makefile (tests): Add tst-sockaddr.c
3176 (tst-sockaddr.c): Compile with non-strict aliasing.
3177
3178 2016-05-23 Joseph Myers <joseph@codesourcery.com>
3179
3180 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3181 [XPG3 || XPG4].
3182 (NL_ARGMAX): Also expect for [XPG3].
3183 (NL_LANGMAX): Likewise.
3184 (NL_MSGMAX): Likewise.
3185 (NL_NMAX): Likewise.
3186 (NL_SETMAX): Likewise.
3187 (NL_TEXTMAX): Likewise.
3188 (NZERO): Likewise.
3189 (TMP_MAX): Likewise.
3190 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3191 variable.
3192
3193 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3194 (PF_MAX): Update value.
3195 (AF_KCM): New macro.
3196 (SOL_NETBEUI): Likewise.
3197 (SOL_LLC): Likewise.
3198 (SOL_DCCP): Likewise.
3199 (SOL_NETLINK): Likewise.
3200 (SOL_TIPC): Likewise.
3201 (SOL_RXRPC): Likewise.
3202 (SOL_PPPOL2TP): Likewise.
3203 (SOL_BLUETOOTH): Likewise.
3204 (SOL_PNPIPE): Likewise.
3205 (SOL_RDS): Likewise.
3206 (SOL_IUCV): Likewise.
3207 (SOL_CAIF): Likewise.
3208 (SOL_ALG): Likewise.
3209 (SOL_NFC): Likewise.
3210 (SOL_KCM): Likewise.
3211 (MSG_BATCH): New enum value and macro.
3212
3213 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
3214
3215 [BZ #18185]
3216 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3217 sharing L2 cache to 2 for Knights Landing.
3218
3219 2016-05-20 Joseph Myers <joseph@codesourcery.com>
3220
3221 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3222 (FTW_DP): Do not expect for [XPG3 || XPG4].
3223 (FTW_SL): Do not expect for [XPG3].
3224 (FTW_SLN): Likewise.
3225 (FTW_PHYS): Likewise.
3226 (FTW_MOUNT): Likewise.
3227 (FTW_DEPTH): Likewise.
3228 (FTW_CHDIR): Likewise.
3229 (nftw): Likewise.
3230 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3231 variable.
3232
3233 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
3234
3235 * manual/errno.texi: Fix various typos & grammar errors.
3236
3237 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
3238
3239 * manual/intro.texi: Fix duplicated typo.
3240
3241 2016-05-19 Joseph Myers <joseph@codesourcery.com>
3242
3243 [BZ #13304]
3244 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3245 <float.h>, <math_private.h> and <stdlib.h>.
3246 (add_split): New function.
3247 (mul_split): Likewise.
3248 (ext_val): New typedef.
3249 (store_ext_val): New function.
3250 (mul_ext_val): New function.
3251 (compare): New function.
3252 (add_split_ext): New function.
3253 (__fmal): After checking for Inf, NaN and zero, compute result as
3254 an exact sum of scaled double values in round-to-nearest before
3255 adding those up and adjusting for other rounding modes.
3256 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3257 tests of fma.
3258 * math/auto-libm-test-out: Regenerated.
3259
3260 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
3261
3262 [BZ #20119]
3263 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3264 processor level type mask for CPUID with EAX == 11.
3265
3266 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
3267
3268 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3269 logical threads if the HTT bit is 0.
3270 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3271 (index_cpu_HTT): Likewise.
3272 (reg_HTT): Likewise.
3273
3274 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
3275
3276 [BZ #20115]
3277 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3278 Remove alignments on jump targets.
3279
3280 2016-05-19 Joseph Myers <joseph@codesourcery.com>
3281
3282 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3283 (getpwent): Likewise.
3284 (setpwent): Likewise.
3285 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3286 variable.
3287
3288 * conform/data/search.h-data (insque): Do not expect for [XPG3].
3289 (remque): Likewise.
3290 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3291 variable.
3292
3293 2016-05-18 Joseph Myers <joseph@codesourcery.com>
3294
3295 * math/libm-test.inc: Update comment not to refer to signs of NaNs
3296 not being tested.
3297
3298 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3299
3300 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3301 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
3302 call.
3303 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3304 (__condvar_cleanup1): Likewise.
3305
3306 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3307
3308 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3309 New
3310 (__pthread_unwind): Renamed to ...
3311 (PTHREAD_UNWIND): This.
3312 (__pthread_enable_asynccancel): Replace
3313 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3314
3315 2016-05-18 Joseph Myers <joseph@codesourcery.com>
3316
3317 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3318 (CLONE_NEWCGROUP): New macro.
3319
3320 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3321 (Q_GETNEXTQUOTA): New macro.
3322
3323 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3324
3325 [BZ #19907]
3326 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3327 buffer updated by the previous run.
3328 * string/test-memcpy.c (do_one_test): Likewise.
3329 * benchtests/bench-memmove.c (do_one_test): Add a comment.
3330 * string/test-memmove.c (do_one_test): Likewise.
3331
3332 2016-05-17 Joseph Myers <joseph@codesourcery.com>
3333
3334 [BZ #20094]
3335 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3336 not [__USE_XOPEN].
3337 (unlockpt): Likewise.
3338 (ptsname): Likewise.
3339 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3340 variable.
3341
3342 [BZ #20076]
3343 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3344 instead of [__USE_UNIX98].
3345 (S_ISSOCK): Likewise.
3346 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3347 variable.
3348
3349 [BZ #20074]
3350 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3351 [__USE_POSIX].
3352 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3353 variable.
3354
3355 [BZ #20051]
3356 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3357 (ttyslot): Do not declare.
3358 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3359 (ttyslot): New prototype.
3360 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3361 variable.
3362 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3363
3364 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3365
3366 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3367
3368 2016-05-13 Florian Weimer <fweimer@redhat.com>
3369
3370 Fix race condition in tst-mallocfork2, use fewer resources.
3371 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3372 to current process group.
3373 (signal_sender): Yield in the non-sleeping case.
3374
3375 2016-05-13 Joseph Myers <joseph@codesourcery.com>
3376
3377 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3378 (ecvt): Likewise.
3379 (fcvt): Likewise.
3380 (gcvt): Likewise.
3381 (getsubopt): Likewise.
3382 (grantpt): Likewise.
3383 (initstate): Likewise.
3384 (l64a): Likewise.
3385 (mktemp): Likewise.
3386 (mkstemp): Likewise.
3387 (ptsname): Likewise.
3388 (random): Likewise.
3389 (realpath): Likewise.
3390 (setstate): Likewise.
3391 (srandom): Likewise.
3392 (ttyslot): Likewise.
3393 (unlockpt): Likewise.
3394 (valloc): Likewise.
3395
3396 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3397 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3398 variable.
3399
3400 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
3401
3402 [BZ #20072]
3403 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3404 init_cpu_features only if SHARED is defined.
3405 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3406
3407 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
3408
3409 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3410 non-inclusive caches on Intel processors.
3411
3412 2016-05-13 Florian Weimer <fweimer@redhat.com>
3413
3414 * malloc/malloc.c (dumped_main_arena_start)
3415 (dumped_main_arena_end): New variables.
3416 (DUMPED_MAIN_ARENA_CHUNK): New macro.
3417 (do_check_chunk): Skip dumped fake mmapped chunks.
3418 (munmap_chunk): Likewise.
3419 (__libc_free): Do not adjust statistics for fake mmapped chunks.
3420 (__libc_realloc): Adjust hardening check. Always copy dumped fake
3421 mmapped chunks.
3422 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3423 Mark dumped chunks as using mmap. Update dumped_main_arena_start
3424 and dumped_main_arena_end to cover the dumped heap.
3425
3426 2016-05-12 Joseph Myers <joseph@codesourcery.com>
3427
3428 * conform/data/time.h-data (getdate_err): Do not expect for
3429 [XPG3].
3430 (getdate): Likewise.
3431 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3432 variable.
3433
3434 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3435 (F_ULOCK): Likewise.
3436 (F_TEST): Likewise.
3437 (F_TLOCK): Likewise.
3438 (useconds_t): Likewise.
3439 (intptr_t): Do not expect for [XPG3] or [XPG4].
3440 (brk): Do not expect for [XPG3]
3441 (fchown): Likewise.
3442 (fchdir): Likewise.
3443 (ftruncate): Likewise.
3444 (getdtablesize): Likewise.
3445 (gethostid): Likewise.
3446 (getpagesize): Likewise.
3447 (getpgid): Likewise.
3448 (getsid): Likewise.
3449 (getwd): Likewise.
3450 (lchown): Likewise.
3451 (lockf): Likewise.
3452 (readlink): Likewise.
3453 (sbrk): Likewise.
3454 (setpgrp): Likewise.
3455 (setregid): Likewise.
3456 (setreuid): Likewise.
3457 (symlink): Likewise.
3458 (sync): Likewise.
3459 (truncate): Likewise.
3460 (ualarm): Likewise.
3461 (usleep): Likewise.
3462 (vfork): Likewise.
3463 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3464 variable.
3465
3466 [BZ #20054]
3467 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3468 not [__USE_UNIX98].
3469 * conform/data/unistd.h-data (gethostname): Do not expect for
3470 [XPG3].
3471
3472 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3473 [!POSIX] (S_IFBLK): Likewise.
3474 [!POSIX] (S_IFCHR): Likewise.
3475 [!POSIX] (S_IFIFO): Likewise.
3476 [!POSIX] (S_IFREG): Likewise.
3477 [!POSIX] (S_IFDIR): Likewise.
3478 [!POSIX] (S_IFLNK): Likewise.
3479 [!POSIX] (S_IFSOCK): Likewise.
3480 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3481 variable.
3482 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3483
3484 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
3485
3486 * sysdeps/aarch64/memset.S (__memset):
3487 Rewrite of optimized memset.
3488
3489 2016-05-12 Florian Weimer <fweimer@redhat.com>
3490
3491 [BZ #19703]
3492 Partially async-signal-safe fork for single-threaded processes.
3493 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3494 variable. Do not acquire and reset/release malloc and libio locks
3495 in single-threaded processes.
3496 * malloc/tst-mallocfork2.c: New file.
3497 * malloc/Makefile (tests): Add it.
3498
3499 2016-05-12 Florian Weimer <fweimer@redhat.com>
3500
3501 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3502 argument. Use scratch buffer instead of extend_alloca.
3503 (gethosts): Use scratch buffer instead of extend_alloca.
3504 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
3505 extend_alloca.
3506 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3507
3508 2016-05-11 Joseph Myers <joseph@codesourcery.com>
3509
3510 [BZ #20055]
3511 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3512 instead of [__USE_UNIX98].
3513 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3514 [__USE_UNIX98].
3515 * conform/data/termios.h-data (tcgetsid): Do not expect for
3516 [XPG3].
3517 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3518 variable.
3519 (test-xfail-XPG4/termios.h/conform): Likewise.
3520
3521 2016-05-11 Florian Weimer <fweimer@redhat.com>
3522
3523 Do not use mcheck in localedef.
3524 * locale/programs/localedef.c (turn_on_mcheck)
3525 (__malloc_initialize_hook): Remove.
3526
3527 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3528
3529 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3530 * sysdeps/s390/s390-64/Makefile: Likewise.
3531
3532 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
3533
3534 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3535 Remove ifunc-defines.sym.
3536 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3537 Likewise.
3538 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3539 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3540 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3541 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3542 rtld-global-offsets.sym.
3543 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3544 * sysdeps/x86/cpu-features-offsets.sym: This.
3545 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3546 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3547
3548 2016-05-10 Joseph Myers <joseph@codesourcery.com>
3549
3550 [BZ #20073]
3551 * io/sys/stat.h (fchmod): Declare for
3552 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3553 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3554 variable.
3555
3556 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3557 [XPG3] (S_IFSOCK): Likewise.
3558 [XPG3] (S_ISVTX): Likewise.
3559 [XPG3] (S_ISLNK): Likewise.
3560 [XPG3] (S_ISSOCK): Likewise.
3561 [XPG3] (fchmod): Likewise.
3562 [XPG3] (lstat): Likewise.
3563 [XPG3] (mknod): Likewise.
3564
3565 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3566 [XPG3]. Expect type long and XFAIL for [XPG4].
3567 (st_blocks): Likewise.
3568
3569 [BZ #20044]
3570 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3571 (pthread_atfork): New prototype.
3572 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3573 variable.
3574
3575 [BZ #20043]
3576 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3577 prototype.
3578
3579 2016-05-10 Florian Weimer <fweimer@redhat.com>
3580
3581 [BZ #20017]
3582 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3583 gmtime.
3584
3585 2016-05-10 Florian Weimer <fweimer@redhat.com>
3586
3587 [BZ #19994]
3588 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3589 flag in _res.options.
3590
3591 2016-05-09 Joseph Myers <joseph@codesourcery.com>
3592
3593 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3594 [XPG3 || XPG4].
3595 (blksize_t): Likewise.
3596 (clockid_t): Likewise.
3597 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3598 variable.
3599 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3600
3601 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3602
3603 * sysdeps/unix/sysv/linux/s390/init-first.c:
3604 Add VDSO_SYMBOL(getcpu).
3605 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3606 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3607 Add VDSO_SYMBOL(getcpu).
3608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3609 New define HAVE_GETCPU_VSYSCALL.
3610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3611
3612 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
3613
3614 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3615 instead of <sysdeps/x86_64/cacheinfo.c>.
3616 * sysdeps/x86_64/cacheinfo.c: Moved to ...
3617 * sysdeps/x86/cacheinfo.c: Here.
3618
3619 2016-05-04 Florian Weimer <fweimer@redhat.com>
3620
3621 * malloc/malloc-internal.h: Adjust header file guard.
3622
3623 2016-05-04 Florian Weimer <fweimer@redhat.com>
3624
3625 [BZ #19787]
3626 * inet/getnameinfo.c (check_sprintf_result): New function.
3627 (CHECKED_SNPRINTF): New macro.
3628 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3629 to the host buffer.
3630 (gni_host_local): Use checked_copy to copy the host name.
3631 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3632 (gni_serv_local): Use checked_copy to copy the service name.
3633 (getnameinfo): Remove unnecessary truncation of result buffers.
3634
3635 2016-05-04 Florian Weimer <fweimer@redhat.com>
3636
3637 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3638 in case of inet_ntop failure.
3639
3640 2016-05-04 Florian Weimer <fweimer@redhat.com>
3641
3642 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3643 avoid long lines.
3644 (gni_host_inet_numeric): Likewise. Reduce scope of local
3645 variables.
3646 (gni_host_inet, gni_host_local): Add comment.
3647 (gni_host): Add comment. Use temporary to avoid long lines.
3648
3649 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3650
3651 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3652 registers specifiers where general purpose registers specifiers should
3653 have been used.
3654
3655 2016-05-04 Florian Weimer <fweimer@redhat.com>
3656
3657 [BZ #19779]
3658 CVE-2016-1234
3659 Avoid copying names of directory entries.
3660 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3661 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3662 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3663 (struct readdir_result): New type.
3664 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3665 (GL_READDIR): New macros.
3666 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3667 (convert_dirent, convert_dirent64): New functions.
3668 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
3669 convert_dirent64. Adjust references to the readdir result.
3670 * sysdeps/unix/sysv/linux/i386/glob64.c:
3671 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3672 * posix/bug-glob2.c (LONG_NAME): Define.
3673 (filesystem): Add LONG_NAME.
3674 (my_DIR): Increase the size of room_for_dirent.
3675
3676 2016-05-03 Joseph Myers <joseph@codesourcery.com>
3677
3678 [BZ #20041]
3679 * misc/sys/select.h (__need_timespec): Only define if
3680 [__USE_XOPEN2K].
3681 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3682 variable.
3683 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3684 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3685 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3686
3687 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3688 Segher Boessenkool <segher@gcc.gnu.org>
3689
3690 [BZ #20004]
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3692 (__novec_swapcontext): Add missing load.
3693
3694 2016-05-02 Joseph Myers <joseph@codesourcery.com>
3695
3696 [BZ #20023]
3697 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3698 <time.h>.
3699 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3700 variable.
3701 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3702
3703 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3704
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3706 flags CLONE_VM compare.
3707
3708 2016-05-02 Florian Weimer <fweimer@redhat.com>
3709
3710 [BZ #20031]
3711 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3712 completely empty.
3713
3714 2016-05-02 Florian Weimer <fweimer@redhat.com>
3715
3716 [BZ #19573]
3717 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3718 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3719 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3720 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3721 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3722 (hesiod_free_list): Mark as hidden.
3723 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3724 res_set, res_get.
3725 * hesiod/hesiod.c: Remove unnecessary forward declarations.
3726 (init, __hesiod_res_get, __hesiod_res_set): Remove.
3727 (hesiod_init): Remove obsolete res_ninit call.
3728 (hesiod_end): Do not free resolver state. Do not invoke callback.
3729 (hesiod_bind): Do not call init.
3730 (get_txt_records): Use res_mkquery, res_send instead of
3731 res_nmkquery, res_nsend.
3732 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3733 instead of _nss_hesiod_init.
3734 (_nss_hesiod_initgroups_dyn): Likewise.
3735 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3736 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3737 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3738
3739 2016-05-02 Florian Weimer <fweimer@redhat.com>
3740
3741 * hesiod/hesiod_p.h (DEF_RHS): Remove.
3742 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3743
3744 2016-05-02 Florian Weimer <fweimer@redhat.com>
3745
3746 * hesiod/hesiod.h: Remove RCS keyword.
3747 * hesiod/hesiod_p.h: Likewise.
3748
3749 * hesiod/hesiod.c: Likewise.
3750
3751 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
3752
3753 [BZ #12450]
3754 * locale/iso-639.def: Add Samogitian/sgs.
3755
3756 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
3757
3758 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3759
3760 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3761
3762 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
3763 Carlos O'Donell <carlos@redhat.com>
3764
3765 [BZ #19072]
3766 * grp/Makefile (headers): Add grp-merge.h
3767 (routines): Add grp-merge.
3768 * grp/getgrgid_r.c: Include grp-merge.h.
3769 (DEEPCOPY_FN): Define.
3770 (MERGE_FN): Define.
3771 * grp/getgrname_r.c: Include grp-merge.h.
3772 (DEEPCOPY_FN): Define.
3773 (MERGE_FN): Define.
3774 * grp/grp-merge.c: New file.
3775 * grp/grp-merge.h: New file.
3776 * include/grp-merge.h: New file.
3777 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3778 __copy_grp@GLIBC_PRIVATE.
3779 * manual/nss.texi (Actions in the NSS configuration): Describe
3780 return, continue, and merge.
3781 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3782 (DEEPCOPY_FN): Define.
3783 (MERGE_FN): Define.
3784 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3785 (DEEPCOPY_FN): Define.
3786 (MERGE_FN): Define.
3787 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3788 [!MERGE_FN]: Define __merge_einval.
3789 (CHECK_MERGE): Define.
3790 (REENTRANT_NAME): Process merge if do_merge is true.
3791 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3792 (__nss_getent_r): Likewise.
3793 * nss/nsswitch.c (nss_parse_service_list): Likewise.
3794 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3795
3796 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3797
3798 [BZ #20012]
3799 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3800 length to calculate the buffer to read.
3801 (fmemopen_write): Set the buffer position based on bytes written.
3802 (fmemopen_seek): Return EINVAL for invalid whence modes.
3803
3804 [BZ #19957]
3805 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3806 tst-getpid2.
3807 (test): Add tst-clone2.
3808 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3809 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3810 pid/tid fields for CLONE_VM.
3811 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3812 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3813 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3814 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3815 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3816 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3817 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3818 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3820 Likewise.
3821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3822 Likewise.
3823 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3824 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3825 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3826 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3827 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3828 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3829 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3830 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3831
3832 2016-04-29 Florian Weimer <fweimer@redhat.com>
3833
3834 [BZ #19642]
3835 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3836 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3837 (gni_serv_local, gni_serv): New functions extracted from
3838 getnameinfo.
3839 (getnameinfo): Call gni_host and gni_serv to perform the
3840 processing. Always free scratch buffer.
3841
3842 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3843
3844 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3845 remaining bytes in the dest string, with zeros.
3846
3847 2016-04-29 Florian Weimer <fweimer@redhat.com>
3848
3849 [BZ #20010]
3850 CVE-2016-3706
3851 * sysdeps/posix/getaddrinfo.c
3852 (convert_hostent_to_gaih_addrtuple): New function.
3853 (gethosts): Call convert_hostent_to_gaih_addrtuple.
3854 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3855 AF_INET data.
3856
3857 2016-04-29 Florian Weimer <fweimer@redhat.com>
3858
3859 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3860 callback function gl_readdir.
3861 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3862 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3863 (glob_in_dir): Remove len. Use strdup instead of malloc and
3864 memcpy to copy the name.
3865 * manual/pattern.texi (Calling Glob): Document requirements for
3866 implementations of the gl_readdir callback function.
3867 * manual/examples/mkdirent.c: New example.
3868 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3869 per the manual guidance.
3870 * posix/tst-gnuglob.c (my_readdir): Likewise.
3871
3872 2016-04-28 Joseph Myers <joseph@codesourcery.com>
3873
3874 [BZ #20014]
3875 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3876 not [__USE_POSIX].
3877 (getchar_unlocked): Likewise.
3878 (putc_unlocked): Likewise.
3879 (putchar_unlocked): Likewise.
3880 (flockfile): Likewise.
3881 (ftrylockfile): Likewise.
3882 (funlockfile): Likewise.
3883 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3884 variable.
3885 (test-xfail-XPG4/stdio.h/conform): Likewise.
3886
3887 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3888 Expect constant.
3889 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3890 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3891 variable.
3892 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3893 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3894
3895 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3896 [__USE_LARGEFILE64] (off64_t): Likewise.
3897 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3898 variable.
3899
3900 2016-04-28 Florian Weimer <fweimer@redhat.com>
3901
3902 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3903
3904 2016-04-28 Florian Weimer <fweimer@redhat.com>
3905
3906 * resolv/inet_addr.c: Reindent preprocessor conditionals.
3907 * resolv/res_init.c: Likewise.
3908 * resolv/res_mkquery.c: Likewise.
3909
3910 2016-04-28 Florian Weimer <fweimer@redhat.com>
3911
3912 * resolv/res_init.c (isascii): Do not define. Use definition in
3913 <ctype.h>.
3914 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3915 (LOG_AUTH): Remove.
3916 (SPRINTF): Remove, adjust caller.
3917 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3918
3919 2016-04-28 Florian Weimer <fweimer@redhat.com>
3920
3921 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3922 SUNSECURITY conditional.
3923 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3924
3925 2016-04-28 Florian Weimer <fweimer@redhat.com>
3926
3927 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3928 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3929 Remove BSD-related preprocessor conditionals.
3930 * conf/portability.h: Remove.
3931
3932 2016-04-28 Florian Weimer <fweimer@redhat.com>
3933
3934 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3935 * resolv/res_data.c: Likewise.
3936
3937 2016-04-28 Florian Weimer <fweimer@redhat.com>
3938
3939 * resolv/res_comp.c: Remove code conditional on __ultrix__.
3940 * resolv/res_data.c: Remove code conditional on ultrix.
3941
3942 2016-04-28 Florian Weimer <fweimer@redhat.com>
3943
3944 * resolv/res_init.c (RFC1535): Do not define. Remove
3945 RFC1535 preprocessor conditionals.
3946 * resolv/README: Update. Do not claim strict RFC 1535 compliance
3947 because there configuration options which make the resolver
3948 behavior different.
3949
3950 2016-04-28 Florian Weimer <fweimer@redhat.com>
3951
3952 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
3953 RESOLVSORT preprocessor conditionals.
3954 * resolv/nss_dns/dns-host.c: Likewise.
3955 * resolv/res_init.c: Likewise.
3956
3957 2016-04-28 Florian Weimer <fweimer@redhat.com>
3958
3959 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
3960 is never defined.
3961
3962 2016-04-28 Florian Weimer <fweimer@redhat.com>
3963
3964 * inet/inet_lnaof.c: Remove SCSS keyword.
3965 * inet/inet_mkadr.c: Likewise.
3966 * inet/inet_net.c: Likewise.
3967 * inet/inet_netof.c: Likewise.
3968 * inet/rcmd.c: Likewise.
3969 * inet/rexec.c: Likewise.
3970 * inet/ruserpass.c: Likewise.
3971
3972 2016-04-28 Florian Weimer <fweimer@redhat.com>
3973
3974 * resolv/inet_addr.c: Remove _LIBC conditionals.
3975 * resolv/res_data.c: Likewise.
3976 * resolv/res_init.c: Likewise.
3977 * resolv/res_mkquery.c: Likewise.
3978 * resolv/res_libc.c: Update comment.
3979 * resolv/README: Update.
3980
3981 2016-04-28 Florian Weimer <fweimer@redhat.com>
3982
3983 * resolv/gethnamaddr.c: Remove SCSS keyword.
3984 * resolv/herror.c: Likewise.
3985 * resolv/inet_addr.c: Likewise.
3986 * resolv/inet_net_ntop.c: Likewise.
3987 * resolv/inet_net_pton.c: Likewise.
3988 * resolv/inet_neta.c: Likewise.
3989 * resolv/inet_ntop.c: Likewise.
3990 * resolv/inet_pton.c: Likewise.
3991 * resolv/ns_date.c: Remove RCS keyword.
3992 * resolv/ns_name.c: Likewise.
3993 * resolv/ns_netint.c: Likewise.
3994 * resolv/ns_parse.c: Likewise.
3995 * resolv/ns_print.c: Likewise.
3996 * resolv/ns_samedomain.c: Likewise.
3997 * resolv/ns_ttl.c: Likewise.
3998 * resolv/nsap_addr.c: Likewise.
3999 * resolv/res_comp.c: Remove SCSS and RCS keyword.
4000 * resolv/res_data.c: Remove RCS keyword.
4001 * resolv/res_debug.c: Remove SCSS and RCS keyword.
4002 * resolv/res_init.c: Likewise.
4003 * resolv/res_mkquery.c: Likewise.
4004 * resolv/res_query.c: Likewise.
4005 * resolv/res_send.c: Likewise.
4006
4007 2016-04-27 Joseph Myers <joseph@codesourcery.com>
4008
4009 * conform/data/stdio.h-data (fdopen): Expect also for
4010 [XPG3 || XPG4].
4011
4012 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4013 (fseeko): Likewise.
4014 (ftello): Likewise.
4015 (ftrylockfile): Likewise.
4016 (funlockfile): Likewise.
4017 (getc_unlocked): Likewise.
4018 (getchar_unlocked): Likewise.
4019 (putc_unlocked): Likewise.
4020 (putchar_unlocked): Likewise.
4021
4022 2016-04-27 Florian Weimer <fweimer@redhat.com>
4023
4024 [BZ #19868]
4025 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4026 DNS packet syntax checks (which were not needed before). Skip
4027 over non-PTR records.
4028
4029 2016-04-27 Florian Weimer <fweimer@redhat.com>
4030
4031 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4032 definition. Include <stddef.h> instead.
4033
4034 2016-04-27 Florian Weimer <fweimer@redhat.com>
4035
4036 [BZ #19831]
4037 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4038 function.
4039 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4040 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4041
4042 2016-04-27 Florian Weimer <fweimer@redhat.com>
4043
4044 [BZ #19862]
4045 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4046 (getanswer_r): Do not call syslog.
4047 (gaih_getanswer_slice): Likewise.
4048 * resolv/gethnamaddr.c (AskedForGot): Remove.
4049 (getanswer): Do not call syslog.
4050 (gethostbyaddr): Likewise.
4051
4052 2016-04-27 Joseph Myers <joseph@codesourcery.com>
4053
4054 * conform/data/signal.h-data (union sigval): Expect also if
4055 [XOPEN2K].
4056 (struct sigevent): Likewise.
4057 (SIGEV_NONE): Likewise.
4058 (SIGEV_SIGNAL): Likewise.
4059 (SIGEV_THREAD): Likewise.
4060 (SIGRTMIN): Likewise.
4061 (SIGRTMAX): Likewise.
4062 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4063 variable.
4064 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4065
4066 2016-04-27 Florian Weimer <fweimer@redhat.com>
4067
4068 [BZ #19830]
4069 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4070 (gaih_getanswer_slice): Likewise.
4071 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4072 Also check for availability of RR metadata.
4073
4074 2016-04-27 Florian Weimer <fweimer@redhat.com>
4075
4076 [BZ #19825]
4077 * resolv/res_send.c (send_vc): Remove early *resplen2
4078 initialization. Set *resplen2 on socket error. Call
4079 close_and_return_error for other errors.
4080
4081 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4082
4083 * sysdeps/unix/sysv/linux/netiucv/iucv.h
4084 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4085 (SCM_IUCV_TRGCLS): New define.
4086
4087 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4088
4089 [BZ #20005]
4090 * libio/fmemopen.c (fmemopen_write): Update internal position after
4091 write.
4092 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4093 * stdio-common/tst-fmemopen4.c: New file..
4094
4095 2016-04-26 Joseph Myers <joseph@codesourcery.com>
4096
4097 [BZ #19996]
4098 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4099 not [__USE_XOPEN2K].
4100 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4101 variable.
4102
4103 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4104 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4105 variable.
4106
4107 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4108 [__USE_XOPEN2K8].
4109 [__USE_LARGEFILE64] (off64_t): Likewise.
4110 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4111 variable.
4112
4113 2016-04-25 Joseph Myers <joseph@codesourcery.com>
4114
4115 [BZ #19989]
4116 * libio/stdio.h (cuserid): Do not declare if
4117 [__USE_XOPEN2K && !__USE_GNU].
4118 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4119 variable.
4120
4121 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4122
4123 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4124 (sysdep_routines): Add P8 and PPC64 strcspn targets.
4125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4126 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4127 ifunc'ed strcspn.
4128 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4129 [EALIGN]: Removed.
4130 [END]: Likewise
4131 [STRSPN]: Define instead of the above to control symbol name.
4132 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4133 New file.
4134 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4135 Likewise.
4136 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4137 Likewise.
4138 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4139 Likewise.
4140 * sysdeps/powerpc/powerpc64/power8/strspn.S:
4141 [INITIAL_MASK]: New macro.
4142 [STRCSPN]: Likewise.
4143 [UPDATE_MASK]: Likewise.
4144 [USE_AS_STRCSPN]: Lisewise.
4145
4146 2016-04-25 Florian Weimer <fweimer@redhat.com>
4147
4148 [BZ #19931]
4149 * stdio-common/tst-vfprintf-width-prec.c: New file.
4150 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4151 (tests-special): Add tst-vfprintf-width-prec-mem.out.
4152 (generated): Add mtrace-related files.
4153 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4154 (tst-%-mem.out): New pattern rule, replaces
4155 tst-printf-bz18872-mem.out.
4156 * stdio-common/vfprintf.c (vfprintf): When handling a precision
4157 specifier, deallocate any previously allocated work buffer.
4158
4159 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4160
4161 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4162 Add nop before __startcontext, add explaining comments.
4163
4164 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
4165
4166 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4167 any more. Notably since IPV6_PKTINFO has been reintroduced with a
4168 completely different API.
4169
4170 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4171 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4172 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4173 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4174 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4175 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4176 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4177 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4178 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4179 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4180
4181 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
4182
4183 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4184
4185 2016-04-23 Mike Frysinger <vapier@gentoo.org>
4186
4187 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4188 when it is the default of 0.
4189
4190 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4191
4192 * sysdeps/powerpc/locale-defines.sym: Add new macros.
4193 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4194 (sysdep_routines): Add new strcasestr targets.
4195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4196 (__libc_ifunc_impl_list): Likewise.
4197 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4198 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4199 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4200 * sysdeps/powerpc/powerpc64/power8/Makefile:
4201 New file to add strcasestr-ppc64 to sysdep_routines.
4202 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4203 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4204
4205 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
4206
4207 * benchtests/Makefile (wcsmbs-benchset): Include only for
4208 native builds and runs.
4209 (LOCALES): Likewise.
4210 (bench-build): Build timing-type here instead of the bench
4211 target. Generate locale only for native builds.
4212 * benchtests/README: Add note for cross-building.
4213
4214 * benchtests/Makefile (bench-clean): Clean up extra-objs.
4215
4216 * benchtests/README: Update README to include instructions on
4217 using bench-build.
4218
4219 * Makefile.in (bench-build): New target.
4220 * Rules (PHONY): Add bench-build target.
4221 * benchtests/Makefile (bench): Depend on bench-build.
4222 (bench-build): New target.
4223
4224 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4225
4226 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4227 profil_reply_port.
4228 (profile_waiter): Do not initialize profil_reply_port.
4229 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4230 frequency instead of tick length in us.
4231
4232 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
4233
4234 [BZ #18712]
4235 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4236 (__old_mempcpy_small): Likewise.
4237 (__old_strcpy_small): Likewise.
4238 (__old_stpcpy_small): Likewise.
4239 (__old_strpbrk_c2): Fix compat symbol name.
4240 (__old_strpbrk_c3): Likewise.
4241 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4242 (__mempcpy_small): Remove.
4243 (__strcpy_small): Remove.
4244 (__stpcpy_small): Remove.
4245
4246 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
4247
4248 [BZ #19400]
4249 * locale/iso-639.def: Add the Talossan/tzl language.
4250
4251 2016-04-16 Mike Frysinger <vapier@gentoo.org>
4252
4253 [BZ #16983]
4254 * locale/programs/ld-address.c (address_finish): Update postal_fmt
4255 comment. Add "ln" to strchr check on postal_fmt.
4256
4257 2016-04-16 Mike Frysinger <vapier@gentoo.org>
4258
4259 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4260 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
4261 tel_dom_fmt.
4262
4263 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4264
4265 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4266 (sysdep_routines): Added __strlen_power8.
4267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4268 __strlen_power8 entry.
4269 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4270 Implementation for POWER8.
4271 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4272 for __strlen_power8.
4273 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4274 Implementation for POWER8.
4275
4276 2016-04-15 Mike Frysinger <vapier@gentoo.org>
4277
4278 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4279
4280 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
4281
4282 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4283 Goldmont and Airmont processors.
4284
4285 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
4286
4287 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4288 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4289 (__STRING2_SMALL_GET32): Remove.
4290 (memset): Remove.
4291 (__memset_1): Remove.
4292 (__memset_gc): Remove.
4293 (__mempcpy): Remove.
4294 (mempcpy): Remove.
4295 (__mempcpy_args): Remove.
4296 (strchr): Remove.
4297 (strcpy): Remove.
4298 (strcpy_args): Remove.
4299 (__stpcpy_args): Remove.
4300 (__strcmp_cc): Remove.
4301 (__strcmp_gc): Remove.
4302 (strstr): Remove.
4303
4304 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
4305
4306 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4307 * nis/nis_call.c (nis_server_cache_add): Likewise.
4308
4309 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4310
4311 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4312
4313 2016-04-14 Florian Weimer <fweimer@redhat.com>
4314
4315 * malloc/arena.c (__malloc_fork_lock_parent)
4316 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4317 internal_function attribute.
4318
4319 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
4320
4321 * stdio-common/printf_fp.c (__printf_fp_l):
4322 Rename ___printf_fp_l to __printf_fp_l and
4323 remove strong alias. Use libc_hidden_def instead
4324 of ldbl_hidden_def macro.
4325
4326 2016-04-14 Florian Weimer <fweimer@redhat.com>
4327
4328 Remove malloc hooks from fork handler. They are no longer needed
4329 because malloc runs right before fork, and no malloc calls from
4330 other fork handlers are not possible anymore.
4331 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4332 declarations.
4333 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4334 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4335 (atfork_recursive_cntr): Remove.
4336 (__malloc_fork_lock_parent): Do not override malloc hooks and
4337 thread_arena.
4338 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4339 thread_arena.
4340 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
4341 thread_arena instead of save_arena.
4342
4343 2016-04-14 Florian Weimer <fweimer@redhat.com>
4344
4345 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4346 (thread_atfork, thread_atfork_static): Remove.
4347 * sysdeps/mach/hurd/malloc-machine.h:
4348 (thread_atfork, thread_atfork_static): Remove.
4349
4350 2016-04-14 Florian Weimer <fweimer@redhat.com>
4351
4352 [BZ #19431]
4353 Run the malloc fork handler as late as possible to avoid deadlocks.
4354 * malloc/malloc-internal.h: New file.
4355 * malloc/malloc.c: Include it.
4356 * malloc/arena.c (ATFORK_MEM): Remove.
4357 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4358 Update comment.
4359 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4360 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4361 Remove outdated comment.
4362 (ptmalloc_init): Do not call thread_atfork. Remove
4363 thread_atfork_static.
4364 * malloc/tst-malloc-fork-deadlock.c: New file.
4365 * Makefile (tests): Add tst-malloc-fork-deadlock.
4366 (tst-malloc-fork-deadlock): Link against libpthread.
4367 * manual/memory.texi (Aligned Memory Blocks): Update safety
4368 annotation comments.
4369 * sysdeps/nptl/fork.c (__libc_fork): Call
4370 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4371 __malloc_fork_unlock_child.
4372 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4373
4374 2016-04-14 Florian Weimer <fweimer@redhat.com>
4375
4376 [BZ #19613]
4377 Remove union wait.
4378 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4379 (w_stopsig, w_stopval): Remove.
4380 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4381 stat_loc argument.
4382 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4383 (__WAIT_STATUS_DEFN): Remove.
4384 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4385 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4386 (wait, wait3, wait4): Use int * for the stat_loc argument.
4387 * posix/wait.c (__wait): Likewise.
4388 * posix/wait3.c (__wait3): Likewise.
4389 * posix/wait4.c (__wait4): Likewise.
4390 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4391 (__WAIT_STATUS_DEFN): Remove.
4392 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4393 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4394 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4395 argument.
4396 * sysdeps/posix/wait.c (__libc_wait): Likewise.
4397 * sysdeps/posix/wait3.c (__wait3): Likewise.
4398 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4399 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4400 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4401 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4402 stat_loc argument.
4403 * manual/process.texi (BSD Wait Functions): Remove union wait.
4404
4405 2016-04-13 Andreas Schwab <schwab@suse.de>
4406
4407 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4408 (test-extras): Add tst-tlsalign-vars.
4409 * math/Makefile: Wrap long lines.
4410 (libm-vec-test-wrappers): Define.
4411 (test-extras): Add $(libm-vec-test-wrappers).
4412 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4413 * nss/Makefile (extra-test-objs): Add nss_test1.os.
4414 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4415 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4416 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4417 (extra-test-objs): Add corresponding objects.
4418
4419 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
4420
4421 [BZ #19928]
4422 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4423 New.
4424 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4425 times of shared cache size.
4426 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4427 (VMOVNT): New.
4428 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4429 (VMOVNT): Likewise.
4430 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4431 (VMOVNT): Likewise.
4432 (VMOVU): Changed to movups for smaller code sizes.
4433 (VMOVA): Changed to movaps for smaller code sizes.
4434 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4435 comments.
4436 (PREFETCH): New.
4437 (PREFETCH_SIZE): Likewise.
4438 (PREFETCHED_LOAD_SIZE): Likewise.
4439 (PREFETCH_ONE_SET): Likewise.
4440 Rewrite to use forward and backward loops, which move 4 vector
4441 registers at a time, to support overlapping addresses and use
4442 non temporal store if size is above the threshold and there is
4443 no overlap between destination and source.
4444
4445 2016-04-12 Alex Smith <alex.smith@imgtec.com>
4446
4447 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4448 Include dl-vdso.
4449 * sysdeps/unix/sysv/linux/mips/Versions: Add
4450 __vdso_clock_gettime.
4451 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4452 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4453 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4454 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4455 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4456 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4457 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4458 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4459 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4460
4461 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4462
4463 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4464 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4465 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4466 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4467 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4468 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4471 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4473 syscalls generation.
4474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4475 [__NR_pwrite64] (__NR_write): Remove define.
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4477 [__NR_pwrite64] (__NR_write): Remove define.
4478 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4479 Remove define.
4480 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4481 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4482 Remove define.
4483 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4484 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4485 Linux implementation as base.
4486 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4487
4488 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4489 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4491 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4494 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4495 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4496 syscall generation.
4497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4498 [__NR_pread64] (__NR_pread): Remove define.
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4500 [__NR_pread64] (__NR_pread): Likewise.
4501 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4502 define.
4503 (__libc_pread): Use SYSCALL_LL macro on offset argument.
4504 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4505 Remove define.
4506 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4507 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4508 Linux implementation as base.
4509 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4510 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4511 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4512
4513 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4514 definition.
4515 (__ALIGNMENT_COUNT): Likewise.
4516 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4517 (__ALIGNMENT_COUNT): Likewise.
4518 (SYSCALL_LL): New define.
4519 (SYSCALL_LL64): Likewise.
4520 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4521 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4522 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4523 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4524
4525 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4526 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4527 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4528 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4529 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4530 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4531
4532 2016-04-11 Florian Weimer <fweimer@redhat.com>
4533
4534 [BZ #19865]
4535 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4536 original buffer before retry.
4537
4538 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4539
4540 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4541 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4542 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4543 GLRO(dl_auxv) list.
4544 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4545 including <ldsodefs.h>.
4546 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4547
4548 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
4549
4550 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4551 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4552 $(CPPFLAGS).
4553
4554 2016-04-09 Khem Raj <raj.khem@gmail.com>
4555
4556 [BZ #17950]
4557 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4558 Add -mfpmath=387.
4559
4560 2016-04-09 Mike Frysinger <vapier@gentoo.org>
4561
4562 * sysdeps/i386/configure.ac: Change == to = when calling test.
4563 * sysdeps/x86_64/configure.ac: Likewise.
4564 * sysdeps/i386/configure: Regenerated.
4565 * sysdeps/x86_64/configure: Likewise.
4566
4567 2016-04-08 Mike Frysinger <vapier@gentoo.org>
4568
4569 [BZ #16137]
4570 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4571 * benchtests/bench-strcoll.c (input_files): Likewise.
4572 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4573 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4574 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4575
4576 2016-04-08 Joseph Myers <joseph@codesourcery.com>
4577
4578 [BZ #19929]
4579 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4580 [__USE_XOPEN2K8 && !__USE_GNU].
4581 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4582 variable.
4583
4584 [BZ #19925]
4585 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4586 define if [!__USE_MISC && __USE_XOPEN2K].
4587 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4588 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4590 Likewise.
4591 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4592 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4593 variable.
4594 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4595
4596 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4597
4598 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4599 (sysdep_routines): Add new strspn targets.
4600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4601 (__libc_ifunc_impl_list): Add strspn.
4602 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4603 New file.
4604 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4605 Likewise.
4606 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4607 Likewise.
4608 * sysdeps/powerpc/powerpc64/power8/strspn.S:
4609 Likewise.
4610
4611 2016-04-07 Florian Weimer <fweimer@redhat.com>
4612
4613 * misc/hsearch_r.c: Include <limits.h>.
4614
4615 2016-04-07 Florian Weimer <fweimer@redhat.com>
4616
4617 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4618
4619 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4620
4621 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4622 (MEMCPY_SYMBOL): New.
4623 (MEMPCPY_SYMBOL): Likewise.
4624 (MEMMOVE_CHK_SYMBOL): Likewise.
4625 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4626 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4627 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
4628 Provide alias for memcpy in libc.a and ld.so.
4629
4630 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4631
4632 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4633 (MEMSET_CHK_SYMBOL): New. Define if not defined.
4634 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4635 Disabled fro now.
4636 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4637 symbols. Properly check USE_MULTIARCH on __memset symbols.
4638
4639 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4640
4641 * benchtests/Makefile (string-benchset): Add memcpy-large,
4642 memmove-large and memset-large.
4643 * benchtests/bench-memcpy-large.c: New file.
4644 * benchtests/bench-memmove-large.c: Likewise.
4645 * benchtests/bench-memmove-large.c: Likewise.
4646 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4647
4648 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
4649
4650 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4651 32-bit displacement to avoid long nop between instructions.
4652
4653 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
4654
4655 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4656 a comment on VMOVU and VMOVA.
4657
4658 2016-04-04 Florian Weimer <fweimer@redhat.com>
4659
4660 [BZ #19633]
4661 Use specified locale for number formatting in strfmon_l.
4662 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4663 (__nl_lookup_word): New inline functions.
4664 * include/printf.h (__print_fp_l): Declare.
4665 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4666 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
4667 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4668 (___printf_fp): New function.
4669 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4670 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4671 * stdlib/tst-strfmon_l.c (do_test): New test.
4672 * stdlib/Makefile (tests): Add kt.
4673 (LOCALES): Build additional locales.
4674 (tst-strfmon_l.out): Require locales.
4675
4676 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
4677
4678 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4679 if not in libc.
4680 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4681 Likewise.
4682 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4683 Likewise.
4684 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4685 Likewise.
4686
4687 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
4688
4689 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4690 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4691 with unaligned_erms.
4692 (__memmove_erms): Skip if source == destination.
4693 (__memmove_unaligned_erms): Don't check source == destination
4694 first.
4695
4696 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4697
4698 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4699 bit_arch_Fast_Copy_Backward for Intel Core proessors.
4700
4701 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4702
4703 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4704 * string/strspn.c (strspn): Likewise.
4705
4706 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4707
4708 * benchtests/bench-memset.c (do_test): Support 64-byte
4709 alignment.
4710 (test_main): Test 64-byte alignment.
4711
4712 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4713
4714 * benchtests/bench-memmove.c (test_main): Test 64-byte
4715 alignment.
4716
4717 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4718
4719 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4720
4721 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4722
4723 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4724 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4725 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4726
4727 * string/strpbrk.c (strpbrk): Rewrite function.
4728 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4729 (__strpbrk_c2): Likewise.
4730 (__strpbrk_c3): Likewise.
4731 * string/string-inlines.c
4732 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4733 Likewise.
4734 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4735 Likewise.
4736
4737 * string/strspn.c (strcspn): Rewrite function.
4738 * string/bits/string2.h (strspn): Use __builtin_strcspn.
4739 (__strspn_c1): Remove inline function.
4740 (__strspn_c2): Likewise.
4741 (__strspn_c3): Likewise.
4742 * string/string-inlines.c
4743 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4744 compatibility symbol.
4745 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4746 Likewise.
4747 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4748 Likewise.
4749 * string/string-inlines.c: Include generic version.
4750
4751 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
4752 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4753
4754 * string/Version (libc): Add GLIBC_2.24.
4755 * string/strcspn.c (strcspn): Rewrite function.
4756 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4757 (__strcspn_c1): Remove inline function.
4758 (__strcspn_c2): Likewise.
4759 (__strcspn_c3): Likewise.
4760 * string/string-inline.c
4761 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4762 compatibility symbol.
4763 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4764 Likewise.
4765 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4766 Likewise.
4767 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4768
4769 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4770
4771 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4772 Use ahi instead of aghi to adjust stack pointer.
4773
4774 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4775
4776 [BZ #19853]
4777 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4778 TEST to take significant digits as second parameter.
4779 [TEST]: Redefine in terms of TEST_N taking 30
4780 significant digits.
4781 (do_test): Add test case to demonstrate precision
4782 failure in the ldbl-128ibm printf.
4783 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4784 (__mpn_extract_long_double): Carry 7 extra intermediate
4785 bits of precision to aide computing difference when
4786 signs differ.
4787
4788 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
4789
4790 [BZ #19881]
4791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4792 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4793 memset-avx512-unaligned-erms.
4794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4795 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4796 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4797 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4798 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4799 __memset_sse2_unaligned_erms, __memset_erms,
4800 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4801 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4802 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4803 file.
4804 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4805 Likewise.
4806 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4807 Likewise.
4808 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4809 Likewise.
4810
4811 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
4812
4813 [BZ #19776]
4814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4815 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4816 memmove-avx512-unaligned-erms.
4817 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4818 (__libc_ifunc_impl_list): Test
4819 __memmove_chk_avx512_unaligned_2,
4820 __memmove_chk_avx512_unaligned_erms,
4821 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4822 __memmove_chk_sse2_unaligned_2,
4823 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4824 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4825 __memmove_avx512_unaligned_erms, __memmove_erms,
4826 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4827 __memcpy_chk_avx512_unaligned_2,
4828 __memcpy_chk_avx512_unaligned_erms,
4829 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4830 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4831 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4832 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4833 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4834 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4835 __mempcpy_chk_avx512_unaligned_erms,
4836 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4837 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4838 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4839 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4840 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4841 __mempcpy_erms.
4842 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4843 file.
4844 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4845 Likwise.
4846 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4847 Likwise.
4848 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4849 Likwise.
4850
4851 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4852
4853 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4854 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4855 (La_s390_64_regs): Likewise.
4856 (La_s390_32_retval): Append vector register lrv_v24.
4857 (La_s390_64_retval): Likeweise.
4858 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4859 Handle extended structs La_s390_32_regs and La_s390_32_retval.
4860 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4861 Handle extended structs La_s390_64_regs and La_s390_64_retval.
4862
4863 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4864
4865 [BZ #19916]
4866 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4867 to create a non-vector/vector version for _dl_runtime_resolve and
4868 _dl_runtime_profile. Move implementation to ...
4869 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4870 (_dl_runtime_resolve) Save and restore fpr/vrs.
4871 (_dl_runtime_profile) Save and restore vrs and fix some issues
4872 if _dl_call_pltexit is called.
4873 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4874 Choose the correct resolver function if running on a machine with vx.
4875 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4876 to create a non-vector/vector version for _dl_runtime_resolve and
4877 _dl_runtime_profile. Move implementation to ...
4878 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4879 (_dl_runtime_resolve) Save and restore fpr/vrs.
4880 (_dl_runtime_profile) Save and restore vrs and fix some issues
4881 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4882 Choose the correct resolver function if running on a machine with vx.
4883
4884 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4885
4886 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4887
4888 2016-03-31 Florian Weimer <fweimer@redhat.com>
4889
4890 [BZ #19509]
4891 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4892 skip_map != NULL.
4893 * elf/tst-dlsym-error.c: New file.
4894 * elf/Makefile (tests): Add tst-dlsym-error.
4895 (tst-dlsym-error): Link against libdl.
4896
4897 2016-03-29 Joseph Myers <joseph@codesourcery.com>
4898
4899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4900 (__ASSUME_FUTIMESAT): Remove macro.
4901 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4902
4903 2016-03-29 Florian Weimer <fweimer@redhat.com>
4904
4905 [BZ #19879]
4906 CVE-2016-3075
4907 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4908 copy name.
4909
4910 2016-03-29 Florian Weimer <fweimer@redhat.com>
4911
4912 [BZ #19837]
4913 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4914 error if parse_line fails.
4915
4916 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4917
4918 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4919 (index_cpu_ERMS): Likewise.
4920 (reg_ERMS): Likewise.
4921
4922 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
4923
4924 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4925 PER_LINUX_FDPIC): Add.
4926
4927 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4928
4929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4930 memcpy-avx512-no-vzeroupper.
4931 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4932 to ...
4933 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4934 (MEMCPY): Don't define.
4935 (MEMCPY_CHK): Likewise.
4936 (MEMPCPY): Likewise.
4937 (MEMPCPY_CHK): Likewise.
4938 (MEMPCPY_CHK): Renamed to ...
4939 (__mempcpy_chk_avx512_no_vzeroupper): This.
4940 (MEMPCPY_CHK): Renamed to ...
4941 (__mempcpy_chk_avx512_no_vzeroupper): This.
4942 (MEMCPY_CHK): Renamed to ...
4943 (__memmove_chk_avx512_no_vzeroupper): This.
4944 (MEMCPY): Renamed to ...
4945 (__memmove_avx512_no_vzeroupper): This.
4946 (__memcpy_avx512_no_vzeroupper): New alias.
4947 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4948
4949 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4950
4951 [BZ #18858]
4952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4953 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4954 and mempcpy-avx512-no-vzeroupper.
4955 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4956 New.
4957 (MEMPCPY): Likewise.
4958 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4959 (MEMPCPY_CHK): New.
4960 (MEMPCPY): Likewise.
4961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4962 (MEMPCPY): Likewise.
4963 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4964 (MEMPCPY): Likewise.
4965 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4966 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4967 Likewise.
4968 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4969 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4970
4971 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4972 Amit Pawar <Amit.Pawar@amd.com>
4973
4974 [BZ #19583]
4975 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4976 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4977 processors. Set Fast_Copy_Backward for AMD Excavator
4978 processors.
4979 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4980 New.
4981 (index_arch_Fast_Unaligned_Copy): Likewise.
4982 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4983 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4984
4985 2016-03-25 Florian Weimer <fweimer@redhat.com>
4986
4987 [BZ #19791]
4988 * resolv/res_send.c (close_and_return_error): New function.
4989 (send_dg): Initialize *resplen2 after reopen failure. Call
4990 close_and_return_error for error returns. On error paths without
4991 __res_iclose, initialze *resplen2 explicitly. Update comment for
4992 successful return.
4993
4994 2016-03-25 Florian Weimer <fweimer@redhat.com>
4995
4996 [BZ# 19860]
4997 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4998 zero if the compiler does not provide the AVX512F bit.
4999
5000 2016-03-24 Joseph Myers <joseph@codesourcery.com>
5001
5002 [BZ #19848]
5003 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5004 from 8 to 4.
5005 (__ieee754_powl): Compare integer exponent against 4 not 8.
5006 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5007 from 8 to 4.
5008 (__ieee754_powl): Compare integer exponent against 4 not 8.
5009 * math/auto-libm-test-in: Add more tests of pow.
5010 * math/auto-libm-test-out: Regenerated.
5011 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5013
5014 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
5015
5016 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5017 Make code unconditional.
5018 [!__NR_utimensat]: Remove conditional code.
5019 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5020 Make code unconditional.
5021 [!__NR_utimensat]: Remove conditional code.
5022 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5023 Make code unconditional.
5024 [!__NR_utimensat]: Remove conditional code.
5025
5026 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
5027
5028 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5029 Make code unconditional.
5030
5031 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
5032
5033 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5034 call-clobbered %eax on retry path.
5035 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5036
5037 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
5038
5039 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5040 Don't set %rcx twice before "rep movsb".
5041
5042 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
5043
5044 [BZ #19583]
5045 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5046 inline. Check family before setting family, model and
5047 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
5048 bits here.
5049 (init_cpu_features): Replace HAS_CPU_FEATURE and
5050 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5051 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
5052 for Intel processors with usable AVX2. Call get_common_indeces
5053 for other processors with family == NULL.
5054 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5055 (CPU_FEATURES_ARCH_P): Likewise.
5056 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5057 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5058
5059 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5060
5061 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5062 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5063 $(shared-thread-library) instead of hardcoding the path to libpthread.
5064
5065 2016-03-22 Joseph Myers <joseph@codesourcery.com>
5066
5067 * sysdeps/unix/sysv/linux/kernel-features.h
5068 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5069 * sysdeps/unix/sysv/linux/getdents.c
5070 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5071 [!have_no_getdents64_defined]: Likewise.
5072 (__GETDENTS): Remove __have_no_getdents64 conditional.
5073
5074 2016-03-21 Joseph Myers <joseph@codesourcery.com>
5075
5076 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5077 Remove macro.
5078 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5079 <kernel-features.h>.
5080 (signalfd) [__NR_signalfd4]: Make code unconditional.
5081 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5082
5083 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5084
5085 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5086 style.
5087
5088 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
5089
5090 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5091 (__pthread_enable_asynccancel): Use JUMPTARGET to call
5092 __pthread_unwind.
5093 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5094 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5095 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5096 (__condvar_cleanup1): Likewise.
5097
5098 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
5099
5100 [BZ #19822]
5101 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5102 move it to the final $@ location.
5103
5104 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5105
5106 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5107 access where posix_spawn success and pid argument is null.
5108 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5109 success case.
5110
5111 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
5112
5113 * sysdeps/mach/hurd/i386/c++-types.data: New file.
5114
5115 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5116
5117 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5118 and __fcntl.
5119 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5120 __fcntl only.
5121 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5122 adding attribute_hidden to __open and __fcntl.
5123
5124 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5125 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5126 depend on libc-modules.h,
5127 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5128
5129 2016-03-17 Joseph Myers <joseph@codesourcery.com>
5130
5131 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5132 Remove macro.
5133 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5134 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5135 entry.
5136
5137 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5138 Remove macro.
5139 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5140 include <kernel-features.h>.
5141 [!__ASSUME_FALLOCATE]: Remove conditional code.
5142 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5143
5144 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
5145
5146 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5147 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5148 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5149 (_ZGVdN4v_cos_avx2): Likewise.
5150 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5151 (_ZGVdN4v_cos): Likewise.
5152 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5153 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5154 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5155 (_ZGVdN4v_exp_avx2): Likewise.
5156 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5157 (_ZGVdN4v_exp): Likewise.
5158 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5159 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5160 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5161 (_ZGVdN4v_log_avx2): Likewise.
5162 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5163 (_ZGVdN4v_log): Likewise.
5164 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5165 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5166 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5167 (_ZGVdN4vv_pow_avx2): Likewise.
5168 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5169 (_ZGVdN4vv_pow): Likewise.
5170 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5171 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5172 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5173 (_ZGVdN4v_sin_avx2): Likewise.
5174 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5175 (_ZGVdN4v_sin): Likewise.
5176 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5177 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5178 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5179 (_ZGVdN4vvv_sincos_avx2): Likewise.
5180 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5181 (_ZGVdN4vvv_sincos): Likewise.
5182 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5183 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5184 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5185 (_ZGVbN4v_cosf_sse4): Likewise.
5186 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5187 (_ZGVdN8v_cosf_avx2): Likewise.
5188 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5189 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5190 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5191 (_ZGVbN4v_expf_sse4): Likewise.
5192 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5193 (_ZGVdN8v_expf_avx2): Likewise.
5194 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5195 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5196 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5197 (_ZGVbN4v_logf_sse4): Likewise.
5198 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5199 (_ZGVdN8v_logf_avx2): Likewise.
5200 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5201 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5202 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5203 (_ZGVbN4vv_powf_sse4): Likewise.
5204 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5205 (_ZGVdN8vv_powf_avx2): Likewise.
5206 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5207 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5208 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5209 (_ZGVbN4vvv_sincosf_sse4): Likewise.
5210 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5211 (_ZGVdN8vvv_sincosf_avx2): Likewise.
5212 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5213 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5214 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5215 (_ZGVbN4v_sinf_sse4): Likewise.
5216 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5217 (_ZGVdN8v_sinf_avx2): Likewise.
5218 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5219 Use JUMPTARGET to call callee.
5220 (WRAPPER_IMPL_SSE2_ff): Likewise.
5221 (WRAPPER_IMPL_SSE2_fFF): Likewise.
5222 (WRAPPER_IMPL_AVX): Likewise.
5223 (WRAPPER_IMPL_AVX_ff): Likewise.
5224 (WRAPPER_IMPL_AVX_fFF): Likewise.
5225 (WRAPPER_IMPL_AVX512): Likewise.
5226 (WRAPPER_IMPL_AVX512_ff): Likewise.
5227 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5228 Likewise.
5229 (WRAPPER_IMPL_SSE2_ff): Likewise.
5230 (WRAPPER_IMPL_SSE2_fFF): Likewise.
5231 (WRAPPER_IMPL_AVX): Likewise.
5232 (WRAPPER_IMPL_AVX_ff): Likewise.
5233 (WRAPPER_IMPL_AVX_fFF): Likewise.
5234 (WRAPPER_IMPL_AVX512): Likewise.
5235 (WRAPPER_IMPL_AVX512_ff): Likewise.
5236 (WRAPPER_IMPL_AVX512_fFF): Likewise.
5237
5238 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5239
5240 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5241 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5242 qualifier.
5243 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5244 internal_function qualifiers.
5245
5246 2016-03-15 Carlos O'Donell <carlos@redhat.com>
5247
5248 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5249 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5250 * math/atest-exp.c (exp_mpn): Mark chk unused.
5251 * math/atest-exp2.c (exp_mpn): Likwise.
5252 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5253 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5254
5255 2016-03-15 Joseph Myers <joseph@codesourcery.com>
5256
5257 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5258 Remove macro.
5259 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5260 <kernel-features.h>.
5261 [__NR_ppoll]: Make code unconditional.
5262 [!__ASSUME_PPOLL]: Remove conditional code.
5263
5264 * sysdeps/unix/sysv/linux/kernel-features.h
5265 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5266 (__ASSUME_ACCEPT4): Likewise.
5267 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5268 Define.
5269 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5270 Likewise.
5271 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5272 Likewise.
5273 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5274 Likewise.
5275 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5276 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5277 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5278 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5279 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5280 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5281 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5282 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5283 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5284 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5285 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5286 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5287 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5288 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5289 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5290 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5291 Likewise.
5292 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5293 Likewise.
5294 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5295 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5296 0x040300].
5297 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5298 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5299 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5300 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5301 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5302 0x030300].
5303 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5304 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5305 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5306 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5307 0x040300].
5308 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5309 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5310 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5311 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5312 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5313 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5314 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5315 0x030300].
5316 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5317 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5318 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5319 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5320 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5321 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5322 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5323 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5324 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5325 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5326 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5327 0x040300].
5328 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5329 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5330 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5331 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5332 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5333 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5334 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5335 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5336 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5337 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5338 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5339 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5340 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5341 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5342 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5343 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5344 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5345 Likewise.
5346 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5347 Likewise.
5348
5349 2016-03-15 Andreas Schwab <schwab@suse.de>
5350
5351 [BZ #19257]
5352 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5353 statp->_u._ext.nscount as loop count.
5354
5355 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
5356
5357 * math/test-signgam-finite-c99.c: Also #undef
5358 __LIBC_INTERNAL_MATH_INLINES.
5359 * math/test-signgam-main.c: Likewise.
5360
5361 2016-03-14 Joseph Myers <joseph@codesourcery.com>
5362
5363 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5364 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5365 (MADV_FREE): Likewise.
5366 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5367 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5368 EPOLLEXCLUSIVE.
5369
5370 2016-03-14 Carlos O'Donell <carlos@redhat.com>
5371
5372 * timezone/README: Remove mention of checktab.awk. Mention wiki
5373 SharedSourceFiles.
5374
5375 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
5376
5377 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5378 WUNTRACED.
5379
5380 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5381
5382 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5383 order to match the type of p when calling atomic_exchange_acq().
5384
5385 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5386
5387 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5388 cfi_offset calls.
5389 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5390 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5391 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5392 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5393 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5394
5395 2016-03-10 Carlos O'Donell <carlos@redhat.com>
5396
5397 * timezone/checktab.awk: Removed.
5398
5399 2016-03-10 Joseph Myers <joseph@codesourcery.com>
5400
5401 * manual/math.texi (Errors in Math Functions): Document relaxed
5402 accuracy goals for IBM long double.
5403 * math/libm-test.inc (test_exceptions): Always allow spurious
5404 "underflow" and "inexact" exceptions for IBM long double.
5405
5406 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
5407
5408 [BZ #19762]
5409 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5410 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5411 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5412 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5413 (bit_arch_*): This for feature array.
5414 (bit_*): Renamed to ...
5415 (bit_cpu_*): This for cpu array.
5416 (index_*): Renamed to ...
5417 (index_arch_*): This for feature array.
5418 (index_*): Renamed to ...
5419 (index_cpu_*): This for cpu array.
5420 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5421 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5422 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5423 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5424 bit_##name with index_cpu_##name and bit_cpu_##name.
5425 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5426 bit_##name with index_arch_##name and bit_arch_##name.
5427
5428 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
5429
5430 [BZ #19792]
5431 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5432 Terminate FDE before return label.
5433
5434 2016-03-09 Joseph Myers <joseph@codesourcery.com>
5435
5436 [BZ #19790]
5437 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5438 (rintl): Define as macro.
5439 [USE_AS_NEARBYINTL] (__rintl): Likewise.
5440 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5441 of fesetround. Ensure results are evaluated before end of scope.
5442 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5443 USE_AS_NEARBYINTL and include s_rintl.c.
5444 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5445 Disable exception traps in new environment.
5446 (libc_feholdsetround_ppc_ctx): Likewise.
5447
5448 2016-03-08 Roland McGrath <roland@hack.frob.com>
5449
5450 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5451 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5452 (tst_audit10_aux) [__AVX512F__]: ... here.
5453
5454 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
5455
5456 * include/sys/auxv.h: New file.
5457
5458 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
5459
5460 [BZ #19759]
5461 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5462
5463 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5464
5465 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5466 operand modifier.
5467 (feclearexcept): Likewise.
5468
5469 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5470
5471 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5472 to reflect the entire 32-bit HWCAP.
5473 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5474 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
5475
5476 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
5477
5478 [BZ #19783]
5479 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5480 $(test-via-rtld-prefix).
5481 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5482
5483 2016-03-08 Florian Weimer <fweimer@redhat.com>
5484
5485 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5486 union wait. Report any non-zero exit status as error.
5487
5488 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5489
5490 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5491 configured with --enable-hardcoded-path-in-tests.
5492
5493 2016-03-08 Joseph Myers <joseph@codesourcery.com>
5494
5495 [BZ #19677]
5496 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5497 (__ieee754_remainderl): Put zero low parts in canonical form.
5498 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5499 file. Based on
5500 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5501 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5502 with wrapper round test-fmodrem-ldbl-128ibm.c.
5503 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5504 file.
5505 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5506 Likewise.
5507 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5508 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5509
5510 2016-03-07 Florian Weimer <fweimer@redhat.com>
5511
5512 [BZ #19610]
5513 * elf/ldconfig.c (opt_link): Update comment.
5514 (options): Update help string for option -X.
5515 (search_dir): Unlink stale symbolic link only if updating symbolic
5516 links.
5517 * elf/tst-ldconfig-X.sh: New file.
5518 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5519 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5520
5521 2016-03-07 Andreas Schwab <schwab@suse.de>
5522
5523 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5524 needed arguments.
5525
5526 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
5527
5528 [BZ #15333]
5529 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5530 to lstat64.
5531
5532 2016-03-07 Florian Weimer <fweimer@redhat.com>
5533
5534 * libio/filedoalloc.c (isatty): Remove.
5535 (local_isatty): Add comment. Call __isatty directly.
5536 (_IO_file_doallocate): Update comment. Assume _LIBC.
5537 * libio/wfiledoalloc.c (isatty): Remove.
5538 (_IO_wfile_doallocate): Update comment.
5539
5540 2016-03-07 Florian Weimer <fweimer@redhat.com>
5541
5542 [BZ #19269]
5543 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5544 tst-audit4-aux.o.
5545 (tst-audit10): Depend on tst-audit10-aux.o.
5546 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5547 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5548 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5549 instead of inline AVX code.
5550 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5551 instead of inline AVX512 code.
5552 * sysdeps/x86_64/tst-audit4-aux.c: New file
5553 * sysdeps/x86_64/tst-audit10-aux.c: New file
5554
5555 [BZ #19648]
5556 * test-skeleton.c (main): Do not set RLIMIT_DATA.
5557
5558 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5559
5560 [BZ #14750]
5561 [BZ #10354]
5562 [BZ #18433]
5563 * include/sched.h (__clone): Add hidden prototype.
5564 (__clone2): Likewise.
5565 * include/unistd.h (__dup): Likewise.
5566 * posix/Makefile (tests): Add tst-spawn2.
5567 * posix/tst-spawn2.c: New file.
5568 * sysdeps/posix/dup.c (__dup): Add hidden definition.
5569 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5570 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5571 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5572 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5573 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5574 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5575 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5576 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5577 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5578 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5580 Likewise.
5581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5582 Likewise.
5583 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5584 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5585 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5586 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5587 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5588 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5589 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5590 * sysdeps/unix/sysv/linux/nptl-signals.h
5591 (____nptl_is_internal_signal): New function.
5592 * sysdeps/unix/sysv/linux/spawni.c: New file.
5593
5594 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5595 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5596 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5597 * posix/tst-execvp2.c (do_test): Likewise.
5598 * posix/tst-execvp3.c (do_test): Likewise.
5599 * posix/tst-execvp4.c (do_test): Likewise.
5600 * posix/tst-execvpe1.c: New file.
5601 * posix/tst-execvpe2.c: Likewise.
5602 * posix/tst-execvpe3.c: Likewise.
5603 * posix/tst-execvpe4.c: Likewise.
5604 * posix/tst-execvpe5.c: Likewise.
5605 * posix/tst-execvpe6.c: Likewise.
5606
5607 [BZ #19534]
5608 * posix/execl.c (execl): Remove dynamic memory allocation.
5609 * posix/execle.c (execle): Likewise.
5610 * posix/execlp.c (execlp): Likewise.
5611
5612 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
5613
5614 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5615 Replace .text with .text.avx512.
5616 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5617 Likewise.
5618
5619 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
5620
5621 * sysdeps/generic/libnsl.abilist: New file.
5622 * sysdeps/generic/libutil.abilist: New file.
5623
5624 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
5625
5626 [BZ #19762]
5627 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5628 HAS_ARCH_FEATURE with Fast_Rep_String.
5629 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5630 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5631 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5632 Likewise.
5633 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5634 Likewise.
5635 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5636 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5637 Likewise.
5638 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5639 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5640 Likewise.
5641
5642 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5643
5644 [BZ #19745]
5645 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5646 with *%rax in call.
5647
5648 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5649
5650 [BZ #19745]
5651 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5652 with *__libc_start_main@GOTPCREL(%rip) in call.
5653
5654 2016-03-04 Roland McGrath <roland@hack.frob.com>
5655
5656 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5657 inside conditional for nonempty $(CXX).
5658
5659 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5660 nonempty.
5661
5662 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5663 to test for empty $(CXX) rather than $(CXX) of "no".
5664
5665 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5668
5669 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
5670 H.J. Lu <hongjiu.lu@intel.com>
5671
5672 [BZ #18880]
5673 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5674 instead of Slow_BSF, and also check for Fast_Copy_Backward to
5675 enable __memcpy_ssse3_back.
5676
5677 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
5678
5679 [BZ #19758]
5680 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5681 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5682
5683 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5684
5685 [BZ #19490]
5686 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5687 (__fentry__): Likewise.
5688
5689 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
5690
5691 * gmon/Makefile (noprof): Add $(sysdep_noprof).
5692 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5693
5694 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
5695
5696 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5697 __mcount_internal directly.
5698 (C_LABEL(__fentry__)): Likewise.
5699 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5700 directly.
5701
5702 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
5703
5704 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5705 (__start_context): Call __setcontext directly.
5706
5707 2016-02-26 Joseph Myers <joseph@codesourcery.com>
5708
5709 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5710 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5711 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5712 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5713 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5714 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5715 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5716 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5717 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5718 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5719 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5720 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5721 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5722 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5723 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5724 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5725 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5726 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5727 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5728 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5729 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5730 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5731 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5732 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5733 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5734 Remove conditional code.
5735 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5736 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5737 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5738 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5739 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5740 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5741 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5742 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5743 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5744 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5745 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5746 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5747
5748 2016-02-24 Marko Myllynen <myllynen@redhat.com>
5749
5750 * NEWS (2.23): Fix typo in bug 19048 text.
5751
5752 2016-02-24 Carlos O'Donell <carlos@redhat.com>
5753
5754 [BZ #14259]
5755 * Makeconfig: Rename msgcatdir to localedir.
5756 Rename inst_msgcatdir to inst_localedir.
5757 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5758 * config.make.in: Add localedir.
5759 * elf/Makefile ($(objpfx)sotruss): Use localedir.
5760 (ldd-rewrite): Likewise.
5761 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5762 (install-others): Use inst_localedir.
5763 (CPPFLAGS): Use localedir.
5764 * locale/Makefile (locale-CPPFLAGS): Likewise.
5765 * po/Makefile (mo-installed): Use inst_localedir.
5766
5767 [BZ #19575]
5768 * localedata/charmaps/GB18030: Update comments regarding PAU to
5769 non-PUA mappings.
5770
5771 2016-02-24 Joseph Myers <joseph@codesourcery.com>
5772
5773 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5774 test for header.
5775 * sysdeps/unix/sysv/linux/configure: Regenerated.
5776 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5777 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5778 Remove conditional code.
5779 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5780
5781 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5782 Define to 3.2.0.
5783 (arch_minimum_kernel): Likewise.
5784 * sysdeps/unix/sysv/linux/configure: Regenerated.
5785 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5786 Define to 2.6.32.
5787 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5788 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5789 (arch_minimum_kernel): Define to 2.6.32.
5790 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5791 * README: Document Linux 3.2 requirement.
5792 * manual/install.texi (Linux): Document Linux 3.2 headers
5793 requirement.
5794 * INSTALL: Regenerated.
5795
5796 2016-02-24 Andreas Schwab <schwab@suse.de>
5797
5798 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5799 if !NO_LONG_DOUBLE.
5800
5801 2016-02-22 Roland McGrath <roland@hack.frob.com>
5802
5803 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5804 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5805
5806 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
5807
5808 [BZ #19512]
5809 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5810
5811 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
5812
5813 * posix/tst-dir.c: Include libc-internal.h.
5814
5815 2016-02-20 Florian Weimer <fweimer@redhat.com>
5816
5817 [BZ #19056]
5818 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5819 * manual/filesys.texi (Reading/Closing Directory): Mention
5820 deprecaion.
5821 * posix/tst-dir.c (main): Disable deprecation warning in test.
5822
5823 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
5824
5825 [BZ #19679]
5826 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5827 Renamed to ...
5828 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
5829 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5830 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
5831 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5832 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5833 * sysdeps/x86_64/dl-trampoline.h
5834 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5835 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5836
5837 2016-02-19 Mark Wielaard <mjw@redhat.com>
5838
5839 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5840
5841 2016-02-19 Mark Wielaard <mjw@redhat.com>
5842
5843 * elf/elf.h (R_386_GOT32X): New.
5844 (R_386_NUM): Update.
5845 (R_X86_64_GOTPCRELX: New.
5846 (R_X86_64_REX_GOTPCRELX): New.
5847 (R_X86_64_NUM): Update.
5848
5849 2016-02-19 Mike Frysinger <vapier@gentoo.org>
5850
5851 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5852
5853 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
5854
5855 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5856 assign attr->stackaddr to it, and adjust it down when
5857 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
5858 [_STACK_GROWS_UP]: Delete assert.
5859 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5860 Implement stack grows up logic.
5861 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5862 stack grows up logic.
5863
5864 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5865
5866 * NEWS: Update with 2.24 template.
5867
5868 2016-02-19 Joseph Myers <joseph@codesourcery.com>
5869
5870 [BZ #19678]
5871 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5872 Ensure +0.0 is returned when taking the next value below the least
5873 positive value.
5874
5875 2016-02-19 Florian Weimer <fweimer@redhat.com>
5876
5877 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5878 available. Do not define NO_THREADS.
5879 * malloc/malloc.c: Do not check NO_THREADS.
5880 * malloc/arena.c: Likewise.
5881
5882 2016-02-19 Florian Weimer <fweimer@redhat.com>
5883
5884 * malloc/malloc.c (__libc_mallinfo): Update comment.
5885 (struct malloc_par): Remove max_total_mem member, it was always 0.
5886 (int_mallinfo): Store 0 into usmblks (no functional change).
5887 * malloc/hooks.c (struct malloc_state): Document that
5888 max_total_mem is always 0.
5889 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5890 always 0.
5891 * manual/memory.texi (Statistics of Malloc): Likewise.
5892
5893 2016-02-19 Florian Weimer <fweimer@redhat.com>
5894
5895 * malloc/malloc.c (sysmalloc): Do not update arena_max.
5896 * malloc/arena.c (arena_max): Remove.
5897 (heap_trim, _int_new_arena): Do not update arena_max.
5898
5899 2016-02-19 Florian Weimer <fweimer@redhat.com>
5900
5901 * resolv/res_init.c (res_ninit): Update comment.
5902
5903 2016-02-19 Florian Weimer <fweimer@redhat.com>
5904
5905 [BZ #19505]
5906 * posix/spawn_int.h: Add headers and include guard.
5907 (__spawn_valid_fd): New function.
5908 * posix/spawn_faction_addopen.c
5909 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5910 * posix/spawn_faction_addclose.c
5911 (posix_spawn_file_actions_addclose): Likewise.
5912 * posix/spawn_faction_adddup2.c
5913 (posix_spawn_file_actions_adddup2): Likewise. Add check for
5914 second file descriptor.
5915 * posix/spawn_valid_fd.c: New file.
5916 * posix/tst-posix_spawn-fd.c: New file.
5917 * posix/Makefile (routines): Add spawn_valid_fd.
5918 (tests): Add tst-posix_spawn-fd.
5919
5920 2016-02-19 Florian Weimer <fweimer@redhat.com>
5921
5922 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5923 (do_test): Limit the number of arenas, so that we can use fewer
5924 outer threads. Limit timeout to 3 seconds, in preparation for a
5925 larger TIMEOUT value.
5926
5927 2016-02-19 Joseph Myers <joseph@codesourcery.com>
5928
5929 [BZ #19674]
5930 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5931 sign in overflowing and underflowing results when overflow or
5932 underflow is detected early. Include sign in result before rather
5933 than after scaling.
5934
5935 [BZ #19603]
5936 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5937 (__ieee754_remainderl): Adjust sign of integer version of low part
5938 when taking absolute value of high part.
5939 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5940 * math/libm-test.inc (remainder_test_data): Add another test.
5941 (remquo_test_data): Likewise.
5942
5943 2016-02-18 Joseph Myers <joseph@codesourcery.com>
5944
5945 [BZ #19602]
5946 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5947 equal high parts and both low parts zero specially.
5948 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5949 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5950 Add test-fmodl-ldbl-128ibm.
5951
5952 [BZ #19595]
5953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5954 common logic for all cases of shifting subnormal results. Do not
5955 insert sign bit in shifted mantissa. Always pass -1023 as biased
5956 exponent to ldbl_insert_mantissa in subnormal case.
5957
5958 [BZ #19594]
5959 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5960 on high and low parts then adjust result and use
5961 ldbl_canonicalize_int if needed.
5962
5963 [BZ #19593]
5964 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5965 on high part and __floor or __ceil on low part then use
5966 ldbl_canonicalize_int if needed.
5967
5968 [BZ #19592]
5969 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5970 high and low parts then use ldbl_canonicalize_int if needed.
5971
5972 [BZ #17899]
5973 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5974 New function.
5975 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5976 on high and low parts then use ldbl_canonicalize_int if needed.
5977
5978 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5979
5980 * configure: Regenerated.
5981
5982 * po/libc.pot: Regenerated.
5983
5984 * po/be.po: Updated translation.
5985 * po/bg.po: Likewise.
5986 * po/ca.po: Likewise.
5987 * po/cs.po: Likewise.
5988 * po/da.po: Likewise.
5989 * po/el.po: Likewise.
5990 * po/eo.po: Likewise.
5991 * po/es.po: Likewise.
5992 * po/fi.po: Likewise.
5993 * po/fr.po: Likewise.
5994 * po/gl.po: Likewise.
5995 * po/hr.po: Likewise.
5996 * po/hu.po: Likewise.
5997 * po/ia.po: Likewise.
5998 * po/id.po: Likewise.
5999 * po/it.po: Likewise.
6000 * po/ja.po: Likewise.
6001 * po/lt.po: Likewise.
6002 * po/nb.po: Likewise.
6003 * po/nl.po: Likewise.
6004 * po/pt_BR.po: Likewise.
6005 * po/rw.po: Likewise.
6006 * po/sk.po: Likewise.
6007 * po/sl.po: Likewise.
6008 * po/sv.po: Likewise.
6009 * po/tr.po: Likewise.
6010 * po/zh_CN.po: Likewise.
6011 * po/zh_TW.po: Likewise.
6012
6013 * version.h (RELEAES): Set to "development".
6014 (VERSION): Set to 2.23.90.
6015
6016 * version.h (RELEASE): Set to "stable".
6017 (VERSION): Set to 2.23.
6018 * include/feature.h (__GLIBC_MINOR__): Set to 23.
6019
6020 * NEWS: Updated fixed bugs.
6021
6022 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
6023 Wilco Dijkstra <wdijkstr@arm.com>
6024
6025 [BZ #19462]
6026 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6027 (_STRING_INLINE_unaligned): This.
6028 * include/string.h: Include <string_private.h>.
6029 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6030 _STRING_INLINE_unaligned.
6031 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6032 (_STRING_INLINE_unaligned): New.
6033 * sysdeps/aarch64/string_private.h: New file.
6034 * sysdeps/generic/string_private.h: Likewise.
6035 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6036 * sysdeps/s390/string_private.h: Likewise.
6037 * sysdeps/x86/string_private.h: Likewise.
6038 * sysdeps/m68k/m680x0/m68020/bits/string.h
6039 (_STRING_ARCH_unaligned): Renamed to ...
6040 (_STRING_INLINE_unaligned): This.
6041 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6042 to ...
6043 (_STRING_INLINE_unaligned): This.
6044 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6045 to ...
6046 (_STRING_INLINE_unaligned): This.
6047 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6048 to ...
6049 (_STRING_INLINE_unaligned): This.
6050
6051 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
6052 H.J. Lu <hongjiu.lu@intel.com>
6053
6054 [BZ #19590]
6055 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6056 relocation.
6057
6058 2016-02-15 Carlos O'Donell <carlos@redhat.com>
6059
6060 [BZ #18665]
6061 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6062 *herrno_p.
6063 (gaih_getanswer): Document functional behviour. Return tryagain
6064 if any result is tryagain.
6065 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6066 when freed.
6067 * resolv/res_send.c: Add copyright text.
6068 (__libc_res_nsend): Document that MAXPACKET is expected.
6069 (send_vc): Document. Remove buffer reuse.
6070 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6071 size of the buffer. Add Dprint for truncated UDP buffer.
6072
6073 2016-02-14 Carlos O'Donell <carlos@redhat.com>
6074
6075 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6076 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6077 * INSTALL: Regenerate.
6078
6079 2016-02-14 Jakub Jelinek <jakub@redhat.com>
6080 Jonathan Wakely <jwakely@redhat.com>
6081 Carlos O'Donell <carlos@redhat.com>
6082
6083 [BZ 19439]
6084 * math/Makefile (tests): Add test-math-isinff.
6085 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6086 * math/bits/mathcalls.h [__USE_MISC]: Use
6087 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6088 functions not in C++11 and which don't conflict e.g. isinff,
6089 isinfl etc.
6090 * math/test-math-isinff.cc: New file.
6091
6092 2016-02-12 Florian Weimer <fweimer@redhat.com>
6093
6094 * misc/bug18240.c (do_test): Set RLIMIT_AS.
6095
6096 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6097
6098 [BZ #19529]
6099 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6100
6101 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6102
6103 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6104
6105 2016-02-01 Joseph Myers <joseph@codesourcery.com>
6106
6107 [BZ #19550]
6108 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6109 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6110 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6111 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6112 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6113 New syscall entry.
6114 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6115 New syscall entry.
6116 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6117 syscall entry.
6118
6119 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
6120
6121 [BZ #18240]
6122 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6123 unsigned int wraparound.
6124
6125 2016-01-27 Florian Weimer <fweimer@redhat.com>
6126
6127 [BZ #18240]
6128 * misc/bug18240.c: New test.
6129 * misc/Makefile (tests): Add it.
6130
6131 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
6132 Joseph Myers <joseph@codesourcery.com>
6133
6134 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6135 load in branch delay slot when less than a word of input left.
6136
6137 2016-01-27 Andreas Schwab <schwab@suse.de>
6138
6139 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6140 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6141 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6142 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6143
6144 2016-01-26 David S. Miller <davem@davemloft.net>
6145
6146 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6147
6148 2016-01-25 David S. Miller <davem@davemloft.net>
6149
6150 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6151 __sqrtl_finite.
6152 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6153 instead using versioned_symbol.
6154 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6155 of entries.
6156
6157 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6158 __sqrtl_finite to GLIBC_2.23
6159
6160 2016-01-25 Ricchard Henderson <rth@redhat.com>
6161
6162 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6163
6164 2016-01-25 Andreas Schwab <schwab@suse.de>
6165
6166 [BZ #17514]
6167 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6168 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6169 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6170 * nptl/tst-mutex-errorcheck.c: New file.
6171
6172 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6173
6174 [BZ #18560]
6175 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6176 (IPCOP_semop): Likewise.
6177 (IPCOP_semget): Likewise.
6178 (IPCOP_semctl): Likewise.
6179 (IPCOP_msgsnd): Likewise.
6180 (IPCOP_msgrcv): Likewise.
6181 (IPCOP_msgget): Likewise.
6182 (IPCOP_msgctl): Likewise.
6183 (IPCOP_shmat): Likewise.
6184 (IPCOP_shmdt): Likewise.
6185 (IPCOP_shmget): Likewise.
6186 (IPCOP_shmctl): Likewise.
6187
6188 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
6189
6190 * string/tst-endian.c: Include <libc-internal.h>.
6191 (do_test): Ignore tautological-compare warnings around
6192 "htobeXX (beXXtoh (i)) != i" and
6193 "htoleXX (leXXtoh (i)) != i" if-statements.
6194
6195 2016-01-24 David S. Miller <davem@davemloft.net>
6196
6197 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6198 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6199 alias.
6200 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6201 __sqrtl_finite.
6202
6203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6204
6205 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
6206
6207 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6208 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6209 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6210
6211 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6212
6213 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6214 (thread_func): Use new function to simplify barrier check.
6215 (do_test): Use new function to simplify checking barrier exit
6216 code, and actually join the child thread.
6217
6218 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6219
6220 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6221 semicolon.
6222 (__libc_tend): Likewise.
6223 (__libc_tabort): Likewise.
6224
6225 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
6226
6227 * sysdeps/nios2/libm-test-ulps: Update.
6228 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6229 (__gtsf2): Likewise.
6230 (__unorddf2): Likewise.
6231 (__unordsf2): Likewise.
6232 (__ledf2): Likewise.
6233
6234 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
6235
6236 * nis/nis_table.c (__follow_path): Disable diagnostic for
6237 uninitialized variable that is a false positive for gcc 4.7.
6238 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6239
6240 2016-01-20 Roland McGrath <roland@hack.frob.com>
6241
6242 * sysdeps/nacl/lowlevellock-futex.h
6243 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6244 Always evaluate PRIVATE argument.
6245
6246 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
6247
6248 [BZ #19490]
6249 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6250 (pthread_cond_broadcast): Use ENTRY/END
6251 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6252 (pthread_cond_signal): Likewise.
6253 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6254 Likewise.
6255 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6256 Likewise.
6257 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6258 Likewise.
6259
6260 2016-01-20 Joseph Myers <joseph@codesourcery.com>
6261
6262 * sysdeps/ieee754/dbl-64/s_finite.c
6263 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6264 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6265 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6266 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6267 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6268
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6270 (__gtsf2): Add as optional for libc.so.
6271 (__unordsf2): Likewise.
6272 (__signbit): Remove for libc.so.
6273 (__signbitl): Likewise.
6274
6275 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
6276
6277 * iconvdata/bug-iconv11.c (test_ibm93x):
6278 Use %zu printf format specifier for size_t argument.
6279
6280 2016-01-19 Joseph Myers <joseph@codesourcery.com>
6281
6282 * math/gen-libm-test.pl (parse_ulps): Do not reduce
6283 already-recorded ulps.
6284 * sysdeps/arm/libm-test-ulps: Regenerated.
6285 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6286 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6287 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6288
6289 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
6290 Paul Pluzhnikov <ppluzhnikov@google.com>
6291
6292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6293 assembler not supporting AVX-512.
6294
6295 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
6296
6297 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6298
6299 2016-01-18 Joseph Myers <joseph@codesourcery.com>
6300
6301 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6302 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6303
6304 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6305
6306 * sysdeps/arm/libm-test-ulps: Regenerated.
6307
6308 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6309
6310 [BZ #19451]
6311 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6312
6313 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6314
6315 [BZ #19486]
6316 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6317 * sysdeps/generic/fix-fp-int-convert-overflow.h
6318 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6319 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6320 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6321 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6322 Likewise.
6323 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6324 Avoid conversions to long int where inexact exceptions
6325 could be raised.
6326 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6327 Likewise.
6328 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6329 Avoid conversions to long long int where inexact exceptions
6330 could be raised.
6331 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6332 Likewise.
6333
6334 2016-01-17 Mike Frysinger <vapier@gentoo.org>
6335
6336 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6337 * configure: Regenerated.
6338
6339 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
6340
6341 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6342
6343 2016-01-16 Mike Frysinger <vapier@gentoo.org>
6344
6345 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6346 outside of comment.
6347
6348 2016-01-15 Torvald Riegel <triegel@redhat.com>
6349
6350 * nptl/tst-barrier1.c: Add description on first line.
6351 * nptl/tst-barrier2.c: Likewise.
6352 * nptl/tst-barrier3.c: Likewise.
6353 * nptl/tst-barrier4.c: Likewise.
6354 * nptl/tst-barrier5.c: Likewise.
6355
6356 2016-01-15 Torvald Riegel <triegel@redhat.com>
6357
6358 [BZ #18868]
6359 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6360
6361 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
6362
6363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6365 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6366 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6367 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6368 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6369 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6370 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6371 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6372 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6373 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6374
6375 2016-01-15 Torvald Riegel <triegel@redhat.com>
6376
6377 [BZ #13065]
6378 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6379 new implementation.
6380 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6381 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6382 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6383 (BARRIER_IN_THRESHOLD): New macro.
6384 * nptl/pthread_barrierattr_setpshared.c
6385 (pthread_barrierattr_setpshared): Clean up.
6386 * nptl/tst-barrier4.c: Correct comment.
6387 * nptl/tst-barrier5.c: New file.
6388 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6389 (gen-as-const-headers): Remove lowlevelbarrier.sym.
6390 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6391 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6392 * nptl/lowlevelbarrier.sym: Remove.
6393 * nptl/DESIGN-barrier.txt: Remove.
6394 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6395 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6396 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6397 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6398 error.
6399 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6400 implementation.
6401
6402 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6403
6404 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6405 (do_child): Mask SIGRTMIN while thr is running.
6406
6407 2016-01-15 Martin Sebor <msebor@redhat.com>
6408
6409 [BZ #19432]
6410 * iconvdata/Makefile: Add bug-iconv11.
6411 * iconvdata/bug-iconv11.c: New test.
6412 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6413 * iconvdata/ibm933.c: Same.
6414 * iconvdata/ibm935.c: Same.
6415 * iconvdata/ibm937.c: Same.
6416 * iconvdata/ibm939.c: Same.
6417
6418 2016-01-15 Martin Sebor <msebor@redhat.com>
6419
6420 [BZ #19443]
6421 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6422 [DEBUG] (_ufc_set_bits): Declare used.
6423 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6424 [DEBUG] (print_all): Declare used.
6425 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6426 operands of the ternary ?: expression to target type.
6427 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6428 calling the undeclared abort.
6429 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6430
6431 2016-01-15 Martin Sebor <msebor@redhat.com>
6432
6433 [BZ #18755]
6434 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6435 warnings.
6436 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6437 (__gai_create_helper_thread): Same.
6438 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6439 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6440 to suppress -Wmaybe-uninitialized warnings.
6441
6442 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
6443
6444 [BZ #19465]
6445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6446 inside if.
6447 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6448 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6449 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6450
6451 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
6452
6453 [BZ #19466]
6454 * time/tst-mktime2.c (time_t_max): Removed.
6455 (time_t_min): Likewise.
6456 (TYPE_SIGNED): New.
6457 (TYPE_MINIMUM): Likewise.
6458 (TYPE_MAXIMUM): Likewise.
6459 (TIME_T_MIN): Likewise.
6460 (TIME_T_MAX): Likewise.
6461 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6462 and TIME_T_MIN.
6463 (do_test): Likewise.
6464
6465 2016-01-14 Amit Pawar <amit.pawar@amd.com>
6466
6467 [BZ #19467]
6468 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6469 index_Fast_Unaligned_Load flag for Excavator family CPUs.
6470
6471 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
6472
6473 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6474
6475 2016-01-13 Carlos O'Donell <carlos@redhat.com>
6476
6477 * benchtests/Makefile (PYTHON): Define.
6478 (bench-func): Use $(PYTHON) to run python scripts.
6479 ($(objpfx)bench-%.c): Likewise.
6480
6481 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
6482
6483 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6484 leading slash when `file_name' is "/".
6485
6486 2016-01-12 Joseph Myers <joseph@codesourcery.com>
6487
6488 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6489 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6490 Likewise.
6491 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6492 Likewise.
6493 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6494 Likewise.
6495 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6496 enum constant and macro.
6497 (PTRACE_SETSIGMASK): Likewise.
6498 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6499 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6500 (PTRACE_GETSIGMASK): Likewise.
6501 (PTRACE_SETSIGMASK): Likewise.
6502 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6503 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6504 Likewise.
6505 (PTRACE_SETSIGMASK): Likewise.
6506 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6507 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6508 (PTRACE_GETSIGMASK): Likewise.
6509 (PTRACE_SETSIGMASK): Likewise.
6510 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6511 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6512 Likewise.
6513 (PTRACE_SETSIGMASK): Likewise.
6514 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6515 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6516 Likewise.
6517 (PTRACE_SETSIGMASK): Likewise.
6518 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6519 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6520 Likewise.
6521 (PTRACE_SETSIGMASK): Likewise.
6522 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6523
6524 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
6525 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6526
6527 [BZ #19439]
6528 * math/bits/mathcalls.h
6529 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6530 prototype.
6531 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6532
6533 2016-01-11 Andreas Schwab <schwab@suse.de>
6534
6535 [BZ #19253]
6536 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6537 cache when TZDEFRULES was used.
6538 * time/tst-tzname.c: New file.
6539 * time/Makefile (test): Add tst-tzname.
6540 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6541 * timezone/Makefile (test-zones): Add $(posixrules-file).
6542 ($(testdata)/$(posixrules-file)): New rule.
6543
6544 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
6545
6546 Fix doc quoting problems with Texinfo 5
6547 Without this change, in the info file output, Texinfo 5 quotes code
6548 in text with undirected single quotes 'like this' and generates
6549 code examples that with many PDF readers cannot be cut out of PDFs
6550 and pasted into code.
6551 * manual/libc.texinfo: Configure the libc manual like the GNU
6552 Emacs manual, by using @documentencoding and setting
6553 txicodequoteundirected and txicodequotebacktick. This way,
6554 Texinfo 5 quotes code in text with directed single quotes ‘like
6555 this’ and produces examples that can be cut out of PDFs. This
6556 change causes Texinfo 5 to generate info files that contain UTF-8
6557 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6558 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6559
6560 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6561
6562 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6563 __libc_tabort, __libc_tend): New wrappers that enforce compiler
6564 barriers to their respective compiler built-ins.
6565 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6566 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6567 * sysdeps/powerpc/sysdep.h: Likewise.
6568 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6569 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6570 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6571
6572 2016-01-08 Marko Myllynen <myllynen@redhat.com>
6573
6574 * scripts/config.guess: Revert previous shebang change.
6575 * scripts/config.sub: Likewise.
6576 * scripts/mkinstalldirs: Likewise.
6577
6578 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6579
6580 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6581 PPC_FEATURE2_HAS_IEEE128.
6582 * sysdeps/powerpc/dl-procinfo.c:
6583 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6584
6585 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
6586
6587 [BZ #19415]
6588 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6589 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
6590 (_dl_lookup_address): Rewrite using function resolver trampoline.
6591 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6592 two bits in address.
6593
6594 2016-01-07 Mike Frysinger <vapier@gentoo.org>
6595
6596 * longlong.h: Change !__SHMEDIA__ to
6597 (!defined (__SHMEDIA__) || !__SHMEDIA__).
6598 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6599
6600 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
6601 Joseph Myers <joseph@codesourcery.com>
6602 Mark Shinwell <shinwell@codesourcery.com>
6603 Andrew Stubbs <ams@codesourcery.com>
6604 Rich Felker <dalias@libc.org>
6605
6606 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6607
6608 2016-01-07 Richard Henderson <rth@redhat.com>
6609
6610 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6611
6612 2016-01-07 Mike Frysinger <vapier@gentoo.org>
6613
6614 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6615 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6616 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6617 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6618 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6619
6620 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
6621 Joseph Myers <joseph@codesourcery.com>
6622
6623 * timezone/private.h: Update from tzcode 2015g.
6624 * timezone/tzfile.h: Likewise.
6625 * timezone/tzselect.ksh: Likewise.
6626 * timezone/zdump.c: Likewise.
6627 * timezone/zic.c: Likewise.
6628 * timezone/ialloc.c: Remove file.
6629 * timezone/scheck.c: Likewise.
6630 * timezone/Makefile (extra-objs): Remove variable.
6631 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6632 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6633 -Wno-maybe-uninitialized.
6634 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6635 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6636 (CFLAGS-ialloc.c): Remove variable.
6637 (CFLAGS-scheck.c): Likewise.
6638 * timezone/README: Update list of files from tzcode.
6639
6640 2016-01-07 Khem Raj <raj.khem@gmail.com>
6641
6642 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6643 instead of __fxprintf when _LIBC is undefined.
6644
6645 2016-01-07 Marko Myllynen <myllynen@redhat.com>
6646
6647 * catgets/test-gencat.sh: Remove space after shebang.
6648 * conform/GlibcConform.pm: Likewise.
6649 * conform/check-header-lists.sh: Likewise.
6650 * conform/conformtest.pl: Likewise.
6651 * conform/linknamespace.pl: Likewise.
6652 * conform/list-header-symbols.pl: Likewise.
6653 * debug/catchsegv.sh: Likewise.
6654 * elf/genrtldtbl.awk: Likewise.
6655 * elf/tst-pathopt.sh: Likewise.
6656 * elf/tst-rtld-load-self.sh: Likewise.
6657 * grp/tst_fgetgrent.sh: Likewise.
6658 * iconvdata/gen-8bit-gap-1.sh: Likewise.
6659 * iconvdata/gen-8bit-gap.sh: Likewise.
6660 * iconvdata/gen-8bit.sh: Likewise.
6661 * iconvdata/run-iconv-test.sh: Likewise.
6662 * intl/tst-gettext.sh: Likewise.
6663 * intl/tst-gettext2.sh: Likewise.
6664 * intl/tst-gettext4.sh: Likewise.
6665 * intl/tst-gettext6.sh: Likewise.
6666 * intl/tst-translit.sh: Likewise.
6667 * io/ftwtest-sh: Likewise.
6668 * libio/test-freopen.sh: Likewise.
6669 * locale/gen-translit.pl: Likewise.
6670 * malloc/tst-mtrace.sh: Likewise.
6671 * manual/check-safety.sh: Likewise.
6672 * manual/libc-texinfo.sh: Likewise.
6673 * manual/tsort.awk: Likewise.
6674 * manual/xtract-typefun.awk: Likewise.
6675 * nptl/tst-cancel-wrappers.sh: Likewise.
6676 * nptl/tst-tls6.sh: Likewise.
6677 * posix/globtest.sh: Likewise.
6678 * posix/tst-getconf.sh: Likewise.
6679 * posix/wordexp-tst.sh: Likewise.
6680 * scripts/check-c++-types.sh: Likewise.
6681 * scripts/check-local-headers.sh: Likewise.
6682 * scripts/config.guess: Likewise.
6683 * scripts/config.sub: Likewise.
6684 * scripts/cpp: Likewise.
6685 * scripts/cross-test-ssh.sh: Likewise.
6686 * scripts/documented.sh: Likewise.
6687 * scripts/evaluate-test.sh: Likewise.
6688 * scripts/gen-libc-abis: Likewise.
6689 * scripts/gen-sorted.awk: Likewise.
6690 * scripts/list-fixed-bugs.py: Likewise.
6691 * scripts/merge-test-results.sh: Likewise.
6692 * scripts/mkinstalldirs: Likewise.
6693 * scripts/rellns-sh: Likewise.
6694 * scripts/test-installation.pl: Likewise.
6695 * scripts/update-copyrights: Likewise.
6696 * stdio-common/tst-printf.sh: Likewise.
6697 * stdio-common/tst-unbputc.sh: Likewise.
6698 * stdlib/tst-fmtmsg.sh: Likewise.
6699 * stdlib/tst-setcontext3.sh: Likewise.
6700 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6701 * sysdeps/unix/make-syscalls.sh: Likewise.
6702
6703 2016-01-06 John David Anglin <dave.anglin@bell.net>
6704
6705 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6706 asm stw with atomic_exchange_rel. Add explanatory comment.
6707 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6708 Likewise.
6709
6710 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
6711
6712 [BZ #19122]
6713 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6714 * sysdeps/generic/dl-unistd.h: New file.
6715 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6716
6717 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
6718
6719 [BZ #19122]
6720 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6721 * sysdeps/generic/dl-mman.h: New file.
6722 * sysdeps/mach/hurd/dl-mman.h: Likewise.
6723
6724 2016-01-05 Joseph Myers <joseph@codesourcery.com>
6725
6726 * manual/texinfo.tex: Update to version 2016-01-04.21 with
6727 trailing whitespace removed.
6728 * scripts/config.guess: Update to version 2016-01-01.
6729 * scripts/config.sub: Update to version 2016-01-01.
6730 * scripts/move-if-change: Update from gnulib.
6731
6732 2016-01-04 Anton Blanchard <anton@samba.org>
6733
6734 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6735 for array indices.
6736 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6737
6738 2016-01-04 Joseph Myers <joseph@codesourcery.com>
6739
6740 * NEWS: Update copyright dates.
6741 * catgets/gencat.c (print_version): Likewise.
6742 * csu/version.c (banner): Likewise.
6743 * debug/catchsegv.sh: Likewise.
6744 * debug/pcprofiledump.c (print_version): Likewise.
6745 * debug/xtrace.sh (do_version): Likewise.
6746 * elf/ldconfig.c (print_version): Likewise.
6747 * elf/ldd.bash.in: Likewise.
6748 * elf/pldd.c (print_version): Likewise.
6749 * elf/sotruss.sh: Likewise.
6750 * elf/sprof.c (print_version): Likewise.
6751 * iconv/iconv_prog.c (print_version): Likewise.
6752 * iconv/iconvconfig.c (print_version): Likewise.
6753 * locale/programs/locale.c (print_version): Likewise.
6754 * locale/programs/localedef.c (print_version): Likewise.
6755 * login/programs/pt_chown.c (print_version): Likewise.
6756 * malloc/memusage.sh (do_version): Likewise.
6757 * malloc/memusagestat.c (print_version): Likewise.
6758 * malloc/mtrace.pl: Likewise.
6759 * manual/libc.texinfo: Likewise.
6760 * nptl/version.c (banner): Likewise.
6761 * nscd/nscd.c (print_version): Likewise.
6762 * nss/getent.c (print_version): Likewise.
6763 * nss/makedb.c (print_version): Likewise.
6764 * posix/getconf.c (main): Likewise.
6765 * scripts/test-installation.pl: Likewise.
6766 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6767
6768 * All files with FSF copyright notices: Update copyright dates
6769 using scripts/update-copyrights.
6770 * intl/plural.c: Regenerated.
6771 * locale/programs/charmap-kw.h: Likewise.
6772 * locale/programs/locfile-kw.h: Likewise.
6773
6774 2016-01-02 Helge Deller <deller@gmx.de>
6775
6776 [BZ #19285]
6777 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6778 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6779 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6780 (MADV_xxK_PAGES): Remove.
6781
6782 2016-01-01 Mike Frysinger <vapier@gentoo.org>
6783
6784 [BZ #15421]
6785 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6786 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
6787 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6788 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6789
6790 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
6791
6792 [BZ #19408]
6793 * sysdeps/unix/sysv/linux/personality.c: New file.
6794 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6795 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6796 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6797 (sysdep_routines): Add personality.
6798 (tests): Add tst-personality.
6799 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6800 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6801 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6802 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6803 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6804 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6805 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6806 Likewise.
6807 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6808 Likewise.
6809 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6810 Likewise.
6811 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6812 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6813 Likewise.
6814
6815 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
6816
6817 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6818 (PATH_ARM_SYSTYPE): Remove.
6819 (PATH_CPUINFO): Likewise.
6820 (IO_BASE_FOOTBRIDGE): Likewise.
6821 (IO_SHIFT_FOOTBRIDGE): Likewise.
6822 (struct platform): Likewise.
6823 (init_iosys): Remove compatibility code for 2.4 kernels.
6824 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6825
6826 2015-12-29 Florian Weimer <fweimer@redhat.com>
6827
6828 * malloc/tst-malloc-thread-fail.c: New file.
6829 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6830 (tst-malloc-thread-fail): Link against libpthread.
6831
6832 2015-12-29 Mike Frysinger <vapier@gentoo.org>
6833
6834 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
6835 (get_parser): New function.
6836 (main): New function.
6837
6838 2015-12-29 Rob Wu <rob@robwu.nl>
6839
6840 [BZ #19369]
6841 * resolv/res_init.c (__res_vinit): Reset defdname before use.
6842
6843 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
6844
6845 [BZ #19270]
6846 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6847
6848 2015-12-28 Mike Frysinger <vapier@gentoo.org>
6849
6850 [BZ #15421]
6851 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6852
6853 2015-12-23 Torvald Riegel <triegel@redhat.com>
6854
6855 [BZ #13690]
6856 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6857 after releasing it.
6858 (__lll_robust_unlock): Likewise.
6859 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6860 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6861 (lll_robust_unlock): Likewise.
6862 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6863 Prevent warnings in callers.
6864
6865 2015-12-23 Florian Weimer <fweimer@redhat.com>
6866
6867 * malloc/arena.c (list_lock): Update comment.
6868
6869 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6870
6871 * sysdeps/powerpc/hwcapinfo.c: Export symbol
6872 __parse_hwcap_and_convert_at_platform to libc.a.
6873
6874 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6875
6876 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6877 platform and feature support for POWER9.
6878 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6879 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6880 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6881 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6882 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6883 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6884 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6885 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6886
6887 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6888
6889 Harmonize generic stdio-lock support with nptl
6890
6891 This fixes build when _IO_funlockfile is a macro, fixes build where
6892 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6893 stack unwind.
6894
6895 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6896 _IO_release_lock ): Use cleanup attribute on new
6897 _IO_acquire_lock_file variable instead of assuming that
6898 _IO_release_lock will be called.
6899 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6900 _IO_acquire_lock_needs_exceptions_enabled.
6901 (_IO_acquire_lock_clear_flags2): New macro.
6902
6903 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6904
6905 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6906
6907 2015-12-21 Florian Weimer <fweimer@redhat.com>
6908
6909 [BZ #19182]
6910 * malloc/arena.c (list_lock): Document lock ordering requirements.
6911 (free_list_lock): New lock.
6912 (ptmalloc_lock_all): Comment on free_list_lock.
6913 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6914 (detach_arena): Update comment. free_list_lock is now needed.
6915 (_int_new_arena): Use free_list_lock around detach_arena call.
6916 Acquire arena lock after list_lock. Add comment, including FIXME
6917 about incorrect synchronization.
6918 (get_free_list): Switch to free_list_lock.
6919 (reused_arena): Acquire free_list_lock around detach_arena call
6920 and attached threads counter update. Add two FIXMEs about
6921 incorrect synchronization.
6922 (arena_thread_freeres): Switch to free_list_lock.
6923 * malloc/malloc.c (struct malloc_state): Update comments to
6924 mention free_list_lock.
6925
6926 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
6927
6928 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6929 Remove functions.
6930 (sloww, sloww1): Accept argument to offset quadrant.
6931 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6932 quadrant.
6933 (__sin, __cos): Consolidate common code into new functions.
6934 (reduce_sincos_1, do_sincos_1): New functions.
6935 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6936
6937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6938 code to new functions.
6939 (reduce_sincos_2, do_sincos_2): New functions.
6940 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6941
6942 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6943 common code for sincos.
6944 (__cos) [!IN_SINCOS]: Likewise.
6945 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6946 New function.
6947 (__sincos): Use it.
6948
6949 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
6950
6951 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6952 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6953 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6954
6955 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
6956
6957 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6960 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6961 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6962 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6963 index_Prefer_No_VZEROUPPER): New feature.
6964 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6965 Prefer_No_VZEROUPPER for Knights Landing.
6966
6967 015-12-18 Torvald Riegel <triegel@redhat.com>
6968
6969 * math/atest-exp2.c (mp_exp_m1): Remove.
6970
6971 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6972
6973 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6974 syscalls.
6975 (__SYSCALL0): New macro.
6976 (__SYSCALL1): Likewise.
6977 (__SYSCALL2): Likewise.
6978 (__SYSCALL3): Likewise.
6979 (__SYSCALL4): Likewise.
6980 (__SYSCALL5): Likewise.
6981 (__SYSCALL6): Likewise.
6982 (__SYSCALL_CONCAT_X): Likewise.
6983 (__SYSCALL_CONCAT): Likewise.
6984 (__SYSCALL_DIST): Likewise.
6985 (__SYSCALL_CALL): Likewise.
6986
6987 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
6988
6989 [BZ #19363]
6990 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6991
6992 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6993
6994 [BZ #19375]
6995 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6996 negative subnormals.
6997
6998 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
6999
7000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7001 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7002 (INTERNAL_SYSCALL_NCS): Use it.
7003 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7004
7005 2015-12-16 Florian Weimer <fweimer@redhat.com>
7006
7007 [BZ #19243]
7008 * malloc/arena.c (get_free_list): Remove assert and adjust
7009 reference count handling. Add comment about reused_arena
7010 interaction.
7011 (reused_arena): Add comments abount get_free_list interaction.
7012 * malloc/tst-malloc-thread-exit.c: New file.
7013 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7014 (tst-malloc-thread-exit): Link against libpthread.
7015
7016 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
7017
7018 [BZ #19367]
7019 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7020 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7021 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7022 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7023 (index_Prefer_MAP_32BIT_EXEC): Likewise.
7024
7025 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
7026
7027 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7028 Silvermont optimizations for Knights Landing.
7029
7030 2015-12-15 Andreas Schwab <schwab@suse.de>
7031
7032 [BZ #17197]
7033 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7034 immediately after emitting SI.
7035 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7036 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7037 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7038 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7039 * iconvdata/bug-iconv10.c: New file.
7040 * iconvdata/Makefile (tests): Add bug-iconv10.
7041 ($(objpfx)bug-iconv10.out): New rule.
7042
7043 2015-12-15 Florian Weimer <fweimer@redhat.com>
7044
7045 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7046 aliasing violation.
7047
7048 2015-12-14 Joseph Myers <joseph@codesourcery.com>
7049
7050 [BZ #18472]
7051 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7052 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7053 conditionals for them.
7054 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7055 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7057 sys/kdaemon.h.
7058 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7059 compat-only syscall, obsoleted in glibc 2.23.
7060 (create_module): Likewise.
7061 (get_kernel_syms): Likewise.
7062 (query_module): Likewise.
7063 (uselib): Likewise.
7064 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7065
7066 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
7067
7068 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7069 <linux/version.h>.
7070 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7071 conditional code.
7072 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7073 and ioshift_name initialization.
7074
7075 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
7076
7077 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7078 Fix indentation.
7079
7080 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
7081
7082 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7083
7084 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
7085
7086 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7087
7088 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
7089 Jakub Wilk <jwilk@debian.org>
7090
7091 [BZ #19347]
7092 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7093 to change the group of the device to the tty group.
7094
7095 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
7096
7097 Split large string section; add truncation advice
7098 * manual/examples/strncat.c: Remove.
7099 This example was misleading, as the code would have undefined
7100 behavior if "hello" was longer than SIZE. Anyway, the manual
7101 shouldn't encourage strncpy+strncat for this sort of thing.
7102 * manual/string.texi (Copying Strings and Arrays): Split into
7103 three sections Copying Strings and Arrays, Concatenating Strings,
7104 and Truncating Strings, as this section was way too long. All
7105 cross-referenced changed. Add advice about string-truncation
7106 functions. Remove misleading strncat example.
7107
7108 2015-12-10 Carlos O'Donell <carlos@redhat.com>
7109
7110 * manual/nss.texi (NSS Modules Interface): Document
7111 NSS_STATUS_NOTFOUND and SUCCESS.
7112
7113 2015-12-09 Mike FABIAN <mfabian@redhat.com>
7114
7115 [BZ 18568]
7116 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7117 201505L, for Unicode 8.
7118
7119 2015-12-09 Carlos O'Donell <carlos@redhat.com>
7120
7121 * locale/C-translit.h: Regenerate.
7122
7123 2015-12-09 Mike FABIAN <mfabian@redhat.com>
7124
7125 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7126 and U+0153.
7127
7128 2015-12-09 Joseph Myers <joseph@codesourcery.com>
7129
7130 [BZ #19351]
7131 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7132 expanding log(1+z), compare z rather than its square with epsilon
7133 to determine when to avoid evaluating the expansion.
7134
7135 [BZ #19350]
7136 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7137 Increase overflow threshold.
7138
7139 [BZ #19349]
7140 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7141 when small.
7142
7143 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7144 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7145 New macro.
7146 [__LINUX_KERNEL_VERSION >= 0x040300]
7147 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7148 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7149 Likewise.
7150 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7151 Likewise.
7152 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7153 Likewise.
7154 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7155 Likewise.
7156 [__LINUX_KERNEL_VERSION >= 0x040300]
7157 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7158 [__LINUX_KERNEL_VERSION >= 0x040300]
7159 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7160 [__LINUX_KERNEL_VERSION >= 0x040300]
7161 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7162 [__LINUX_KERNEL_VERSION >= 0x040300]
7163 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7164 [__LINUX_KERNEL_VERSION >= 0x040300]
7165 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7166 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7167 Likewise.
7168 [__LINUX_KERNEL_VERSION >= 0x040300]
7169 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7170 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7171 Likewise.
7172 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7173 Likewise.
7174 [__LINUX_KERNEL_VERSION >= 0x040300]
7175 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7176 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7177 Likewise.
7178 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7179 Likewise.
7180 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7181 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7182 Likewise.
7183 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7184 Likewise.
7185 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7186 Likewise.
7187 [__LINUX_KERNEL_VERSION >= 0x040300]
7188 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7189 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7190 Likewise.
7191 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7192 Likewise.
7193 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7194 Likewise.
7195 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7196 Likewise.
7197 [__LINUX_KERNEL_VERSION >= 0x040300]
7198 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7199 [__LINUX_KERNEL_VERSION >= 0x040300]
7200 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7201 [__LINUX_KERNEL_VERSION >= 0x040300]
7202 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7203 [__LINUX_KERNEL_VERSION >= 0x040300]
7204 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7205 [__LINUX_KERNEL_VERSION >= 0x040300]
7206 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7207 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7208 Likewise.
7209 [__LINUX_KERNEL_VERSION >= 0x040300]
7210 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7211 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7212 Likewise.
7213 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7214 Likewise.
7215 [__LINUX_KERNEL_VERSION >= 0x040300]
7216 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7217 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7218 Likewise.
7219 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7220 Likewise.
7221 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7222 (__ASSUME_SOCKET_SYSCALL): Likewise.
7223 (__ASSUME_BIND_SYSCALL): Likewise.
7224 (__ASSUME_CONNECT_SYSCALL): Likewise.
7225 (__ASSUME_LISTEN_SYSCALL): Likewise.
7226 (__ASSUME_ACCEPT_SYSCALL): Likewise.
7227 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7228 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7229 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7230 (__ASSUME_SEND_SYSCALL): Likewise.
7231 (__ASSUME_SENDTO_SYSCALL): Likewise.
7232 (__ASSUME_RECV_SYSCALL): Likewise.
7233 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7234 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7235 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7236 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7237 (__ASSUME_SENDMSG_SYSCALL): Likewise.
7238 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7239 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7240 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7241 Likewise.
7242 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7243 Likewise.
7244 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7245 Likewise.
7246 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7247 Likewise.
7248 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7249 Likewise.
7250 [__LINUX_KERNEL_VERSION >= 0x020625]
7251 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7252 [__LINUX_KERNEL_VERSION >= 0x020625]
7253 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7254 [__LINUX_KERNEL_VERSION >= 0x020625]
7255 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7256 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7257 Likewise.
7258 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7259 Likewise.
7260 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7261 Likewise.
7262 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7263 Likewise.
7264 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7265 Likewise.
7266 [__LINUX_KERNEL_VERSION >= 0x020625]
7267 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7268 [__LINUX_KERNEL_VERSION >= 0x020625]
7269 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7270 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7271 Likewise.
7272 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7273 Likewise.
7274
7275 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
7276
7277 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7278 record the current if the current ABI and CPU support the FP64
7279 extension.
7280 (has-modd-spreg): Define to record the current if the current ABI and
7281 CPU support 32-bit floating point values in odd FPU registers.
7282 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7283 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7284 $(has-modd-spreg) equals yes.
7285 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7286 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7287 $(has-modd-spreg) equal yes.
7288
7289 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
7290
7291 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7292 basename.
7293
7294 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
7295
7296 * benchtests/Makefile (bench-math): Move ffs and ffsll...
7297 (bench-string): ... here.
7298 (bench): Add bench-string.
7299 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7300 to *-benchset to reflect what they are.
7301 (benchset): Adjust.
7302
7303 * benchtests/sincos-inputs: Add inputs from sin-inputs and
7304 cos-inputs.
7305
7306 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
7307
7308 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7309 __attribute__ ((__simd__)) for vector math function declarations.
7310
7311 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
7312
7313 Fix typo in strncat, wcsncat manual entries
7314 * manual/string.texi (Copying and Concatenation): Fix typos in
7315 sample implementations of strncat and wcsncat, by having them use
7316 the old value of the destination length, not the new one.
7317
7318 2015-12-04 Joseph Myers <joseph@codesourcery.com>
7319
7320 [BZ #16961]
7321 [BZ #16962]
7322 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7323 string on the stack for strtod.
7324 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7325 a string on the stack for strtof.
7326 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7327 constructing a string on the stack for strtold.
7328 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7329 __strtold_nan to GLIBC_PRIVATE.
7330 * math/test-nan-overflow.c: New file.
7331 * math/test-nan-payload.c: Likewise.
7332 * math/Makefile (tests): Add test-nan-overflow and
7333 test-nan-payload.
7334
7335 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
7336
7337 Consistency about byte vs character in string.texi
7338 * manual/string.texi (String and Array Utilities):
7339 Distinguish more carefully among bytes, multibyte characters,
7340 and wide characters. Use "byte" when talking about C 'char',
7341 to distinguish it more clearly from multibyte characters.
7342 Say "wide character" or "multibyte character" instead of
7343 "character", when a wide or multibyte character is intended.
7344 Similarly for "multibyte string" versus "string".
7345 Define these terms more carefully.
7346
7347 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
7348
7349 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7350 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7351 Likewise.
7352 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7353 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7354 * sysdeps/sh/math_private.h: New file.
7355 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7356 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7357 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7358 long double function name.
7359 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7360 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7361 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7362 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7363 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7365 Remove __finitel, __isinfl, and __isnanl.
7366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7367 Likewise.
7368 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7370 Remove __finitel.
7371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7372 Likewise.
7373 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7374
7375 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
7376
7377 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7378 installed libmvec_nonshared.a.
7379
7380 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7381
7382 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7383 (sysdep_routines): Likewise.
7384 (sysdep-rtld-routines): Likewise.
7385 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7386 [$(subdir) = nptl](tests-static): test-get_hwcap-static
7387 * sysdeps/powerpc/Versions: Added new
7388 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7389 * sysdeps/powerpc/hwcapinfo.c: New file.
7390 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7391 and parse hwcap, hwcap2 and platform number information.
7392 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
7393 to store HWCAP+HWCAP2 and platform number.
7394 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7395 for HWCAP+HWCAP2 and platform number in the TCB.
7396 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
7397 the HWCAP, HWCAP2 and platform number in the TCB.
7398 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7399 (TLS_INIT_TP): Included calls to add the hwcap and
7400 at_platform values in the TCB in TP initialization.
7401 (TLS_DEFINE_INIT_TP): Likewise.
7402 (THREAD_GET_HWCAP): New macro.
7403 (THREAD_SET_HWCAP): Likewise.
7404 (THREAD_GET_AT_PLATFORM): Likewise.
7405 (THREAD_SET_AT_PLATFORM): Likewise.
7406 * sysdeps/powerpc/powerpc32/dl-machine.h:
7407 (dl_platform_init): New function that calls
7408 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7409 powerpc32.
7410 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7411 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
7412 this functionality, static linking case.
7413 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
7414 linking case.
7415 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7416 __parse_hwcap_and_convert_at_platform for the static linking case.
7417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7418 Included the new __parse_hwcap_and_convert_at_platform symbol in the
7419 ABI list for GLIBC 2.23.
7420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7421 Likewise.
7422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7423 Likewise.
7424
7425 2015-12-02 Ludovic Courtès <ludo@gnu.org>
7426
7427 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7428 * configure: Regenerate.
7429 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7430 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
7431
7432 2015-12-02 Carlos O'Donell <carlos@redhat.com>
7433
7434 * iconvdata/ibm930.c: Add comment explaining encoding uses.
7435 * iconvdata/ibm933.c: Likewise.
7436 * iconvdata/ibm935.c: Likewise.
7437 * iconvdata/ibm937.c: Likewise.
7438 * iconvdata/ibm939.c: Likewise.
7439
7440 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7441
7442 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7443 pthread_join.
7444 * nptl/tst-cancel21.c (tf): Likewise.
7445
7446 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
7447
7448 [BZ #19313]
7449 * bits/typesizes.h (__CPU_MASK_TYPE): New.
7450 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7451 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7452 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7453 Likewise.
7454 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7455 Likewise.
7456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7457 Likewise.
7458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7459 Likewise.
7460 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7461 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7462 unsigned long int with __CPU_MASK_TYPE.
7463
7464 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7465
7466 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7467
7468 2015-12-01 Joseph Myers <joseph@codesourcery.com>
7469
7470 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7471 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7472 t512.x.
7473 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7474
7475 2015-11-30 Amit Pawar <amit.pawar@amd.com>
7476
7477 [BZ #19214]
7478 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7479 argument to return extended model. Update family and model
7480 with extended family and model when family == 0x0f.
7481 (init_cpu_features): Updated.
7482
7483 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7484
7485 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7486 signed off_t, so 32bit bigger than 2GiB values are fine actually.
7487
7488 * sysdeps/mach/hurd/mmap64.c: New file.
7489
7490 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
7491
7492 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7493 rights for its main user thread in NEWTASK.
7494
7495 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
7496
7497 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7498 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7499
7500 2015-11-27 Carlos O'Donell <carlos@redhat.com>
7501
7502 [BZ #14259]
7503 * Makeconfig: Rename localedir to complocaledir.
7504 Rename inst_localedir to inst_complocaledir.
7505 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7506 * config.make.in: Use complocaledir and libc_cv_complocaledir.
7507 * configure.ac: Use libc_cv_complocaledir.
7508 * configure: Regenerate.
7509 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7510 -DCOMPLOCALEDIR.
7511 * locale/findlocale.c: Use COMPLOCALEDIR.
7512 * locale/loadarchive.c: Likewise.
7513 * locale/programs/locale.c: Likewise.
7514 * locale/programs/localedef.c: Likewise.
7515 * locale/programs/locarchive.c: Likewise.
7516 * localedata/Makefile: Use inst_complocaledir.
7517 * sysdeps/gnu/configure: Regenerate.
7518 * sysdeps/hppa/configure: Regenerate.
7519 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7520 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7522 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7523 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7524 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7525 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7526
7527 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
7528
7529 [BZ #19058]
7530 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7531 AS_NEEDED.
7532 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7533 workaround.
7534 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7535 libmvec-static-only-routines): Added new file.
7536 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7537
7538 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7539
7540 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7541 of interrupted RPC instead of restoring it.
7542
7543 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7544 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7545 libc_hidden_def.
7546 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7547 into initialized data instead of common. Define rtld_hidden_data_def.
7548 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7549 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7550 libc_hidden_def.
7551 (if_freenameindex): Add libc_hidden_weak.
7552 (if_nameindex): Add libc_hidden_weak.
7553 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7554 __open64.
7555 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7556 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7557 * sysdeps/mach/nanosleep.c: Include <time.h>
7558 (__nanosleep): Rename to __libc_nanosleep.
7559 (__nanosleep): Add weak_alias.
7560 (nanosleep): Update alias.
7561
7562 2015-11-24 Joseph Myers <joseph@codesourcery.com>
7563
7564 * stdlib/strtod_nan.c: New file.
7565 * stdlib/strtod_nan_double.h: Likewise.
7566 * stdlib/strtod_nan_float.h: Likewise.
7567 * stdlib/strtod_nan_main.c: Likewise.
7568 * stdlib/strtod_nan_narrow.h: Likewise.
7569 * stdlib/strtod_nan_wide.h: Likewise.
7570 * stdlib/strtof_nan.c: Likewise.
7571 * stdlib/strtold_nan.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7574 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7575 * wcsmbs/wcstod_nan.c: Likewise.
7576 * wcsmbs/wcstof_nan.c: Likewise.
7577 * wcsmbs/wcstold_nan.c: Likewise.
7578 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7579 strtold_nan.
7580 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7581 wcstof_nan.
7582 * include/stdlib.h (__strtof_nan): Declare and use
7583 libc_hidden_proto.
7584 (__strtod_nan): Likewise.
7585 (__strtold_nan): Likewise.
7586 (__wcstof_nan): Likewise.
7587 (__wcstod_nan): Likewise.
7588 (__wcstold_nan): Likewise.
7589 * include/wchar.h (____wcstoull_l_internal): Declare.
7590 * stdlib/strtod_l.c: Do not include <ieee754.h>.
7591 (____strtoull_l_internal): Remove declaration.
7592 (STRTOF_NAN): Define macro.
7593 (SET_MANTISSA): Remove macro.
7594 (STRTOULL): Likewise.
7595 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7596 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7597 (STRTOF_NAN): Define macro.
7598 (SET_MANTISSA): Remove macro.
7599 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7600 (SET_MANTISSA): Remove macro.
7601 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7602 macro.
7603 (SET_MANTISSA): Remove macro.
7604 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7605 macro.
7606 (SET_MANTISSA): Remove macro.
7607 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7608 (SET_MANTISSA): Remove macro.
7609 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7610 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7611 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7612
7613 [BZ #19266]
7614 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7615 upper case and lower case letters inside NAN(), not using TOLOWER.
7616 * stdlib/tst-strtod-nan-locale-main.c: New file.
7617 * stdlib/tst-strtod-nan-locale.c: Likewise.
7618 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7619 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7620 Depend on $(gen-locales).
7621 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7622 * wcsmbs/tst-wcstod-nan-locale.c: New file.
7623 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7624 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7625 Depend on $(gen-locales).
7626 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7627
7628 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
7629
7630 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7631
7632 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7634 __finitel, __isinfl, and __isnanl.
7635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7636 Likewise.
7637 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7639 __finitel.
7640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7641 Likewise.
7642 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7643
7644 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
7645
7646 * malloc/memusage.c (me): Remove redundant getenv call.
7647
7648 2015-10-24 Florian Weimer <fweimer@redhat.com>
7649
7650 [BZ #19143]
7651 [BZ #19164]
7652 * nptl/check-cpuset.h: Remove.
7653 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7654 Remove CPU set size check.
7655 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7656 Likewise.
7657 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7658 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7659 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7660 (__pthread_setaffinity_new): Remove CPU set size check.
7661 * sysdeps/unix/sysv/linux/sched_setaffinity.c
7662 (__kernel_cpumask_size): Remove.
7663 (__sched_setaffinity_new): Remove CPU set size check.
7664 * manual/threads.texi (Default Thread Attributes): Remove stale
7665 reference to check_cpuset_attr, determine_cpumask_size in comment.
7666 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7667 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
7668 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7669 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7670 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7671 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7672 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7673 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7674 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7675 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7676 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7677 skeleton test file.
7678 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
7679 tst-affinity-pid.
7680
7681 2015-11-24 Florian Weimer <fweimer@redhat.com>
7682
7683 * scripts/update-abilist.sh: New file.
7684 * Makefile (+subdir_targets): Add subdir_update-all-abi.
7685 * Makerules (update-all-abi-%, update-all-abi)
7686 (subdir_update-all-abi): New targets.
7687 * elf/Makefile (update-all-abi): New target.
7688
7689 2015-11-24 Florian Weimer <fweimer@redhat.com>
7690
7691 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7692 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7693 (__libc_lock_define_initialized): Use it.
7694 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7695 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7696 * malloc/malloc.c (main_arena): Likewise.
7697 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7698 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7699
7700 2015-11-23 Joseph Myers <joseph@codesourcery.com>
7701
7702 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7703 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7704 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7705 (PTRACE_O_MASK): Update value.
7706 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7707 New value in enum __ptrace_setoptions.
7708 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7709 (PTRACE_O_MASK): Update value.
7710 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7711 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7712 (PTRACE_O_MASK): Update value.
7713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7714 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7715 (PTRACE_O_MASK): Update value.
7716 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7717 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7718 (PTRACE_O_MASK): Update value.
7719 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7720 New value in enum __ptrace_setoptions.
7721 (PTRACE_O_MASK): Update value.
7722 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7723 New value in enum __ptrace_setoptions.
7724 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7725 (PTRACE_O_MASK): Update value.
7726
7727 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7728 New macro.
7729 (PACKET_AUXDATA): Likewise.
7730 (PACKET_ORIGDEV): Likewise.
7731 (PACKET_VERSION): Likewise.
7732 (PACKET_HDRLEN): Likewise.
7733 (PACKET_RESERVE): Likewise.
7734 (PACKET_TX_RING): Likewise.
7735 (PACKET_LOSS): Likewise.
7736 (PACKET_VNET_HDR): Likewise.
7737 (PACKET_TX_TIMESTAMP): Likewise.
7738 (PACKET_TIMESTAMP): Likewise.
7739 (PACKET_FANOUT): Likewise.
7740 (PACKET_TX_HAS_OFF): Likewise.
7741 (PACKET_QDISC_BYPASS): Likewise.
7742 (PACKET_ROLLOVER_STATS): Likewise.
7743 (PACKET_FANOUT_DATA): Likewise.
7744 (PACKET_MR_UNICAST): Likewise.
7745
7746 [BZ #19242]
7747 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7748 (TOUPPER): Likewise.
7749 * stdlib/tst-strtol-locale-main.c: New file.
7750 * stdlib/tst-strtol-locale.c: Likewise.
7751 * stdlib/Makefile (tests): Add tst-strtol-locale.
7752 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7753 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7754 Depend on $(gen-locales).
7755 * wcsmbs/tst-wcstol-locale.c: New file.
7756 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7757 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7758 tr_TR.ISO-8859-9.
7759 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7760 Depend on $(gen-locales).
7761
7762 2015-11-20 Roland McGrath <roland@hack.frob.com>
7763
7764 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7765 __glibc_likely instead of __builtin_expect. After falling back to
7766 dyncode_create in a non-ET_DYN case, use the allocate_code_data
7767 system interface to register the code pages as occupied.
7768
7769 2015-11-20 Joseph Myers <joseph@codesourcery.com>
7770
7771 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7772 [!ARM_MATH_PRIVATE_H].
7773 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7774 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7775 [!HPPA_MATH_PRIVATE_H].
7776 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7777 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7778 to [!I386_MATH_PRIVATE_H].
7779 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7780 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7781 Change guard to [!M68K_MATH_PRIVATE_H].
7782 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7783 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7784 guard to [!MICROBLAZE_MATH_PRIVATE_H].
7785 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7786 macro.
7787 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7788 [!MIPS_MATH_PRIVATE_H].
7789 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7790 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7791 [!NIO2_MATH_PRIVATE_H].
7792 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7793 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7794 [!TILE_MATH_PRIVATE_H].
7795 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7796
7797 [BZ #15421]
7798 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7799 initialize with 0 and define as weak alias of __signgam.
7800 * include/math.h [!_ISOMAC] (__signgam): Declare.
7801 * math/Makefile (libm-calls): Add w_lgamma_compat.
7802 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7803 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7804 test-signgam-ullong-init.
7805 (tests-static): Add test-signgam-uchar-static,
7806 test-signgam-uchar-init-static, test-signgam-uint-static,
7807 test-signgam-uint-init-static, test-signgam-ullong-static and
7808 test-signgam-ullong-init-static.
7809 (CFLAGS-test-signgam-uchar.c): New variable.
7810 (CFLAGS-test-signgam-uchar-init.c): Likewise.
7811 (CFLAGS-test-signgam-uchar-static.c): Likewise.
7812 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7813 (CFLAGS-test-signgam-uint.c): Likewise.
7814 (CFLAGS-test-signgam-uint-init.c): Likewise.
7815 (CFLAGS-test-signgam-uint-static.c): Likewise.
7816 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7817 (CFLAGS-test-signgam-ullong.c): Likewise.
7818 (CFLAGS-test-signgam-ullong-init.c): Likewise.
7819 (CFLAGS-test-signgam-ullong-static.c): Likewise.
7820 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7821 * math/Versions (libm): Add GLIBC_2.23.
7822 * math/lgamma-compat.h: New file.
7823 * math/test-signgam-main.c: Likewise.
7824 * math/test-signgam-uchar-init-static.c: Likewise.
7825 * math/test-signgam-uchar-init.c: Likewise.
7826 * math/test-signgam-uchar-static.c: Likewise.
7827 * math/test-signgam-uchar.c: Likewise.
7828 * math/test-signgam-uint-init-static.c: Likewise.
7829 * math/test-signgam-uint-init.c: Likewise.
7830 * math/test-signgam-uint-static.c: Likewise.
7831 * math/test-signgam-uint.c: Likewise.
7832 * math/test-signgam-ullong-init-static.c: Likewise.
7833 * math/test-signgam-ullong-init.c: Likewise.
7834 * math/test-signgam-ullong-static.c: Likewise.
7835 * math/test-signgam-ullong.c: Likewise.
7836 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7837 wrapper of w_lgamma_main.c.
7838 * math/w_lgamma_compat.c: New file.
7839 * math/w_lgamma_compatf.c: Likewise.
7840 * math/w_lgamma_compatl.c: Likewise.
7841 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
7842 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7843 defining compatibility symbols.
7844 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
7845 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7846 wrapper of w_lgammaf_main.c.
7847 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
7848 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7849 defining compatibility symbols.
7850 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
7851 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7852 wrapper of w_lgammal_main.c.
7853 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
7854 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7855 defining compatibility symbols.
7856 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
7857 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7858 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7859 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
7860 <lgamma-compat.h>.
7861 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
7862 (__ieee754_gamma): Define as alias.
7863 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7864 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
7865 <lgamma-compat.h>.
7866 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
7867 (__ieee754_gammaf): Define as alias.
7868 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7869 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
7870 <lgamma-compat.h>.
7871 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
7872 (__ieee754_gammal): Define as alias.
7873 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7874 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
7875 <math/w_lgamma_compat.c>.
7876 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7877 Define as alias of __lgamma_compat and use in defining lgammal.
7878 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7879 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
7880 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7881 (USE_AS_COMPAT): New macro.
7882 (LGAMMA_OLD_VER): Undefine and redefine.
7883 (lgammal): Do not define here.
7884 (gammal): Only define here if [GAMMA_ALIAS].
7885 * conform/linknamespace.pl (@whitelist): Remove signgam.
7886 * sysdeps/nacl/libm.abilist: Update.
7887 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7888 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7889 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7890 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7891 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7892 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7893 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7894 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7895 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7896 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7897 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7898 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7900 Likewise.
7901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7902 Likewise.
7903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7904 Likewise.
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7906 Likewise.
7907 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7908 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7909 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7910 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7911 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7913 Likewise.
7914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7915 Likewise.
7916 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7917 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7918 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7919
7920 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7921
7922 [BZ #16364]
7923 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7924 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7925
7926 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7927
7928 * sysdeps/s390/fpu/bits/mathinline.h:
7929 Use __asm__ [__volatile__] instead of asm [volatile].
7930 * sysdeps/s390/abort-instr.h: Likewise.
7931 * sysdeps/s390/atomic-machine.h: Likewise.
7932 * sysdeps/s390/bits/string.h: Likewise.
7933 * sysdeps/s390/dl-tls.h: Likewise.
7934 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7935 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7936 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7937 * sysdeps/s390/fpu/fesetround.c: Likewise.
7938 * sysdeps/s390/fpu/fpu_control.h: Likewise.
7939 * sysdeps/s390/fpu/s_fma.c: Likewise.
7940 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7941 * sysdeps/s390/memusage.h: Likewise.
7942 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7943 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7944 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7945 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7946 * sysdeps/s390/nptl/tls.h: Likewise.
7947 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7948 * sysdeps/s390/s390-32/backtrace.c: Likewise.
7949 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7950 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7951 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7952 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7953 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7954 * sysdeps/s390/s390-64/backtrace.c: Likewise.
7955 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7956 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7957 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7958 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7959 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7960 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7961 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7962 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7963 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7964 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7965 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7966 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7967 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7968 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7969 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7970
7971 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7972 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7973
7974 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7975 Add lwarx hint, and use macro for acquire instruction.
7976 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7977 Likewise.
7978 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7979 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7980 update to use new atomic macros.
7981
7982 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7983
7984 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7985 (__lll_trylock_elision): Fix setting of adapt_count.
7986 * sysdeps/unix/sysv/linux/powerpc/htm.h
7987 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7988 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7989 (_ABORT_SYSCALL): Renumber, and clarify definition.
7990 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7991
7992 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7993
7994 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7995 after system headers to prevent MIN/MAX redefinition. Define
7996 HAVE_ALLOCA to preserve builtin alloca usage.
7997
7998 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
7999
8000 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8001 static and don't set or restore rounding.
8002 (__cos)[IN_SINCOS]: Likewise.
8003 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8004 (__sincos): Set and restore rounding mode. Remove check for infinite
8005 or NaN input.
8006
8007 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8008
8009 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8010 as used.
8011
8012 2015-11-16 Florian Weimer <fweimer@redhat.com>
8013
8014 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8015
8016 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
8017
8018 * config.make.in (have-glob-dat-reloc): New.
8019 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
8020 target supports GLOB_DAT relocaton. AC_SUBST.
8021 * configure: Regenerated.
8022 * elf/Makefile (tests): Add tst-prelink.
8023 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8024 (tst-prelink-ENV): New.
8025 ($(objpfx)tst-prelink-conflict.out): Likewise.
8026 ($(objpfx)tst-prelink-cmp.out): Likewise.
8027 * sysdeps/x86/tst-prelink.c: Moved to ...
8028 * elf/tst-prelink.c: Here.
8029 * sysdeps/x86/tst-prelink.exp: Moved to ...
8030 * elf/tst-prelink.exp: Here.
8031 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8032 (tst-prelink-ENV): Removed.
8033 ($(objpfx)tst-prelink-conflict.out): Likewise.
8034 ($(objpfx)tst-prelink-cmp.out): Likewise.
8035 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8036
8037 2015-11-13 Joseph Myers <joseph@codesourcery.com>
8038
8039 [BZ #14551]
8040 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8041 (__mpn_construct_long_double): If high part overflows to infinity,
8042 set errno and recompute overflowed result of the correct sign.
8043 * sysdeps/ieee754/ldbl-128ibm/Makefile
8044 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8045 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8046 $(libm).
8047 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8048
8049 2015-11-12 Joseph Myers <joseph@codesourcery.com>
8050
8051 [BZ #15479]
8052 [BZ #19238]
8053 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8054 floating-point state after first operation on input. Restore full
8055 state rather than just rounding mode.
8056 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8057 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8058 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8059
8060 [BZ #19235]
8061 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8062 add 0.5 to integer arguments.
8063 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8064 Likewise.
8065 (.LC2): New object.
8066
8067 2015-11-11 Mike Frysinger <vapier@gentoo.org>
8068
8069 * scripts/pylintrc (reports): Set to no.
8070
8071 2015-11-10 Roland McGrath <roland@hack.frob.com>
8072
8073 * elf/dl-load.c (open_verify): Take new argument FD.
8074 Skip __open call if passed FD is not -1.
8075 (_dl_map_object, open_path): Update callers.
8076 * elf/dl-sysdep-open.h: New file.
8077 * elf/dl-load.c: Include it.
8078 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8079 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8080 * sysdeps/nacl/dl-sysdep-open.h: New file.
8081 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8082 from libc to rtld.
8083
8084 2015-11-10 Joseph Myers <joseph@codesourcery.com>
8085
8086 [BZ #19228]
8087 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8088 and restore full floating-point state.
8089 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8090 Likewise.
8091 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8092 Likewise.
8093 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8094 Likewise.
8095 * math/test-nearbyint-except-2.c: New file.
8096 * math/Makefile (tests): Add test-nearbyint-except-2.
8097
8098 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
8099
8100 [BZ #19178]
8101 * sysdeps/x86/Makefile (tests): Add tst-prelink.
8102 (tst-prelink-ENV): New.
8103 ($(objpfx)tst-prelink-conflict.out): Likewise.
8104 ($(objpfx)tst-prelink-cmp.out): Likewise.
8105 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8106 * sysdeps/x86/tst-prelink.c: New file.
8107 * sysdeps/x86/tst-prelink.exp: Likewise.
8108
8109 2015-11-10 Joseph Myers <joseph@codesourcery.com>
8110
8111 * math/auto-libm-test-in: Add another test of pow.
8112 * math/auto-libm-test-out: Regenerated.
8113 * math/libm-test.inc (pow_test_data): Add another test.
8114
8115 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8116
8117 [BZ #19219]
8118 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8119 weak_alias to nearbyintl.
8120
8121 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
8122
8123 * sysdeps/aarch64/bits/string.h: New file.
8124 (_STRING_ARCH_unaligned): Define.
8125
8126 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
8127
8128 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8129 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8130 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8131 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8133
8134 2015-11-09 Ulrich Drepper <drepper@gmail.com>
8135
8136 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8137 for original name of the DSO. Add it to the name list of the DSO
8138 if it is actually given.
8139 (_dl_map_object): Keep track of whether an audit module rewrote
8140 the file name. If yes, pass the original name to
8141 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
8142 debugging is enabled, log the change of the file name.
8143 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8144 _dl_map_object_from_fd.
8145 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8146 * elf/tst-audit11.c: New file
8147 * elf/tst-auditmod11.c: New file.
8148 * elf/tst-audit11mod1.c: New file.
8149 * elf/tst-audit11mod2.c: New file.
8150 * elf/tst-audit11mod2.map: New file.
8151 * elf/tst-audit12.c: New file
8152 * elf/tst-auditmod12.c: New file.
8153 * elf/tst-audit12mod1.c: New file.
8154 * elf/tst-audit12mod2.c: New file.
8155 * elf/tst-audit12mod2.map: New file.
8156 * elf/tst-audit12mod3.c: New file.
8157
8158 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
8159
8160 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8161 Don't create weak aliases,
8162 because versioned symbols are created later.
8163 * sysdeps/s390/s390-32/setjmp.S
8164 (setjmp, _setjmp): Remove weak and rename to an unique name
8165 in SHARED case due to existing versioned symbols.
8166 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8167 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8168 (getcontext): Create weak alias only in non SHARED case.
8169 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8170
8171 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
8172
8173 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8174 (__ASSUME_*_SYSCALL) Define new macros.
8175 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8176 Remove socketcall syscalls.
8177 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8178 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8179 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8180 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8181 * sysdeps/unix/sysv/linux/send.c (__libc_send):
8182 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8183
8184 2015-11-09 Florian Weimer <fweimer@redhat.com>
8185
8186 [BZ #12926]
8187 Terminate process on invalid netlink response.
8188 * sysdeps/unix/sysv/linux/netlinkaccess.h
8189 (__netlink_assert_response): Declare.
8190 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8191 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8192 (sysdep_routines): Add netlink_assert_response.
8193 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8194 __netlink_assert_response.
8195 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8196 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8197 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8198 __netlink_assert_response.
8199
8200 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
8201
8202 [BZ #19178]
8203 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8204 (RTYPE_CLASS_PLT): Likewise.
8205 (RTYPE_CLASS_COPY): Likewise.
8206 (RTYPE_CLASS_TLS): Likewise.
8207 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8208 to set relocation type class for DL_DEBUG_PRELINK. Keep only
8209 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8210 DL_DEBUG_PRELINK.
8211
8212 2015-11-06 Joseph Myers <joseph@codesourcery.com>
8213
8214 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8215 calls with argument -0.5.
8216 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8217
8218 * configure.ac (libc_cv_z_nodelete): Remove configure test.
8219 (libc_cv_z_nodlopen): Likewise.
8220 (libc_cv_z_initfirst): Likewise.
8221 * configure: Regenerated.
8222
8223 2015-11-06 Florian Weimer <fweimer@redhat.com>
8224
8225 Simplify abilist format to be line-based.
8226 * scripts/abilist.awk: Collect descriptors in the descs variable.
8227 (emit): Write descs variable and sort it
8228 externally, with sort.
8229 * sysdeps/**/*.abilist: Convert to new format.
8230
8231 2015-11-06 Mark Wielaard <mjw@redhat.com>
8232
8233 [BZ #11460]
8234 * io/Makefile (routines): Add fts64.
8235 (tests): Add tst-fts and tst-fts-lfs.
8236 (CFLAGS-fts64.c): New.
8237 * io/Versions (GLIBC_2.23): New.
8238 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8239 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8240 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8241 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8242 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8243 (FTSENT64): Likewise.
8244 (fts64_children): Likewise.
8245 (fts64_close): Likewise.
8246 (fts64_open): Likewise.
8247 (fts64_read): Likewise.
8248 (fts64_set): Likewise.
8249 * io/fts64.c: New file.
8250 * io/tst-fts.c: New test.
8251 * io/tst-fts-lfs.c: Likewise.
8252 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8253 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8254 fts64_set.
8255 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8256 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8257 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8258 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8259 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8260 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8261 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8262 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8263 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8264 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8265 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8266 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8267 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8269 Likewise.
8270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8271 Likewise.
8272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8274 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8275 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8276 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8278 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8281 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8282 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8283 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8284 * sysdeps/wordsize-64/fts.c: New file.
8285 * sysdeps/wordsize-64/fts64.c: Likewise.
8286 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8287 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8288 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8289 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8290
8291 2015-11-05 Joseph Myers <joseph@codesourcery.com>
8292
8293 * math/libm-test.inc (NON_FINITE): New macro.
8294 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8295 * math/gen-libm-test.pl (show_exceptions): Add argument
8296 $non_finite.
8297 (parse_args): Update call to show_exceptions.
8298 * math/test-math-finite.h: New file.
8299 * math/test-math-no-finite.h: Likewise.
8300 * math/test-double-finite.c: Likewise.
8301 * math/test-float-finite.c: Likewise.
8302 * math/test-ldouble-finite.c: Likewise.
8303 * math/test-double.c: Include "test-math-no-finite.h".
8304 * math/test-float.c: Include "test-math-no-finite.h".
8305 * math/test-ldouble.c: Include "test-math-no-finite.h".
8306 * math/test-math-inline.h (TEST_FINITE): New macro.
8307 * math/test-math-vector.h (TEST_FINITE): Likewise.
8308 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8309 (libm-tests): Add test-float-finite and test-double-finite.
8310 ($(objpfx)test-float-finite.o): New dependency on
8311 $(objpfx)libm-test.stmp.
8312 ($(objpfx)test-double-finite.o): Likewise.
8313 ($(objpfx)test-ldouble-finite.o): Likewise.
8314 (libm-test-no-inline-cflags): New variable.
8315 (libm-test-finite-cflags): Likewise.
8316 (CFLAGS-test-float-finite.c): Likewise.
8317 (CFLAGS-test-double-finite.c): Likewise.
8318 (CFLAGS-test-ldouble-finite.c): Likewise.
8319 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8320 (CFLAGS-test-double.c): Likewise.
8321 (CFLAGS-test-ldouble.c): Likewise.
8322
8323 2015-11-05 Roland McGrath <roland@hack.frob.com>
8324
8325 * io/fcntl.c (__fcntl): Add ... to prototype.
8326 * misc/ioctl.c (__ioctl): Likewise.
8327 * misc/syscall.c (syscall): Likewise.
8328
8329 2015-11-05 Joseph Myers <joseph@codesourcery.com>
8330
8331 * scripts/list-fixed-bugs.py: New file.
8332
8333 [BZ #19213]
8334 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8335 returned for argument 1.
8336 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8337 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8338 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8339 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8340 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8341 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8342
8343 [BZ #19211]
8344 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8345 __USE_XOPEN], not if [!__USE_ISOC99].
8346 (lgammaf): Likewise.
8347 (lgammal): Likewise.
8348 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8349 (gammaf): Likewise.
8350 (gammal): Likewise.
8351 * math/test-signgam-finite-c11.c: New file.
8352 * math/test-signgam-finite-c99.c: Likewise.
8353 * math/test-signgam-finite.c: Likewise.
8354 * math/Makefile (tests): Add test-signgam-finite,
8355 test-signgam-finite-c99 and test-signgam-finite-c11.
8356 (CFLAGS-test-signgam-finite.c): New variable.
8357 (CFLAGS-test-signgam-finite-c99.c): Likewise.
8358 (CFLAGS-test-signgam-finite-c11.c): Likewise.
8359
8360 [BZ #19212]
8361 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8362 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8363 500].
8364 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8365 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8366 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8367 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8368 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8369 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8370 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8371 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8372 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8373 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8374
8375 [BZ #19209]
8376 * math/bits/math-finite.h (ldexp): Remove declaration.
8377 (ldexpf): Likewise.
8378 (ldexpl): Likewise.
8379
8380 [BZ #19205]
8381 * math/bits/math-finite.h (acosf): Condition declaration on
8382 [__USE_ISOC99].
8383 (acosl): Likewise.
8384 (acoshf): Likewise.
8385 (acoshl): Likewise.
8386 (asinf): Likewise.
8387 (asinl): Likewise.
8388 (atan2f): Likewise.
8389 (atan2l): Likewise.
8390 (atanhf): Likewise.
8391 (atanhl): Likewise.
8392 (coshf): Likewise.
8393 (coshl): Likewise.
8394 (expf): Likewise.
8395 (expl): Likewise.
8396 (fmodf): Likewise.
8397 (fmodl): Likewise.
8398 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8399 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8400 (j0l): Likewise.
8401 (y0f): Likewise.
8402 (y0l): Likewise.
8403 (j1f): Likewise.
8404 (j1l): Likewise.
8405 (y1f): Likewise.
8406 (y1l): Likewise.
8407 (jnf): Likewise.
8408 (jnl): Likewise.
8409 (ynf): Likewise.
8410 (ynl): Likewise.
8411 (lgammaf_r): Condition declaration on [__USE_ISOC99].
8412 (lgammal_r): Likewise.
8413 (__lgamma_r_finite): New declaration.
8414 (__lgammaf_r_finite): Likewise.
8415 (__lgammal_r_finite): Likewise.
8416 (lgamma): Use __lgamma_r_finite.
8417 (lgammaf): Condition definition on [__USE_ISOC99]. Use
8418 __lgammaf_r_finite.
8419 (lgammal): Condition definition on [__USE_ISOC99]. Use
8420 __lgammal_r_finite.
8421 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
8422 __lgamma_r_finite.
8423 (gammaf): Condition definition on [__USE_ISOC99]. Use
8424 __lgammaf_r_finite.
8425 (gammal): Condition definition on [__USE_ISOC99]. Use
8426 __lgammal_r_finite.
8427 (logf): Condition declaration on [__USE_ISOC99].
8428 (logl): Likewise.
8429 (log10f): Likewise.
8430 (log10l): Likewise.
8431 (ldexpf): Likewise.
8432 (ldexpl): Likewise.
8433 (powf): Likewise.
8434 (powl): Likewise.
8435 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8436 __USE_ISOC99].
8437 (remainderf): Condition declaration on [__USE_ISOC99].
8438 (remainderl): Likewise.
8439 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8440 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8441 (scalbl): Likewise.
8442 (sinhf): Condition declaration on [__USE_ISOC99].
8443 (sinhl): Likewise.
8444 (sqrtf): Likewise.
8445 (sqrtl): Likewise.
8446
8447 2015-11-04 Joseph Myers <joseph@codesourcery.com>
8448
8449 * sysdeps/arm/atomic-machine.h
8450 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8451 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8452 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8453 Remove conditional code.
8454 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8455 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8456 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8457 Change conditional to [__ASSEMBLER__].
8458 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8459 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8460 [!__ASSEMBLER__].
8461 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8462 code.
8463 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8464 conditional macro definitions.
8465 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8466 (__arch_compare_and_exchange_val_16_acq): Likewise.
8467 (__arch_compare_and_exchange_val_32_acq): Likewise.
8468 (atomic_exchange_and_add): Likewise.
8469 (atomic_add): Likewise.
8470 (atomic_add_negative): Likewise.
8471 (atomic_add_zero): Likewise.
8472 (atomic_bit_set): Likewise.
8473 (atomic_bit_test_set): Likewise.
8474 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8475 code unconditional.
8476 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8477
8478 * math/test-math-errno.h: New file.
8479 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8480 empty.
8481 (TEST_ERRNO): New macro.
8482 (TEST_EXCEPTIONS): Likewise.
8483 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8484 (TEST_EXCEPTIONS): Likewise.
8485 * math/test-math-vector.h (TEST_ERRNO): Likewise.
8486 * math/test-double.c: Include "test-math-errno.h".
8487 * math/test-float.c: Likewise.
8488 * math/test-ldouble.c: Likewise.
8489 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8490 code unconditional.
8491 (test_exceptions): Only run code if TEST_EXCEPTIONS.
8492 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8493 unconditional.
8494 (test_errno): Only run code if TEST_ERRNO.
8495 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8496
8497 2015-11-04 Florian Weimer <fweimer@redhat.com>
8498
8499 * nptl/tst-once5.cc: Remove attribution.
8500
8501 2015-11-04 Joseph Myers <joseph@codesourcery.com>
8502
8503 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8504 sqrt, tan, tanh, y0, y1 and yn.
8505 * math/auto-libm-test-out: Regenerated.
8506 * math/libm-test.inc (scalb_test_data): Add more tests.
8507 (scalbn_test_data): Likewise.
8508 (scalbln_test_data): Likewise.
8509 (signbit_test_data): Likewise.
8510 (sin_test_data): Likewise.
8511 (sincos_test_data): Likewise.
8512 (sinh_test_data): Likewise.
8513 (sqrt_test_data): Likewise.
8514 (tan_test_data): Likewise.
8515 (tanh_test_data): Likewise.
8516 (tgamma_test_data): Likewise.
8517 (y0_test_data): Likewise.
8518 (y1_test_data): Likewise.
8519 (yn_test_data): Likewise.
8520 (significand_test_data): Likewise.
8521 * sysdeps/i386/fpu/libm-test-ulps: Update.
8522
8523 2015-11-03 David Kastrup <dak@gnu.org>
8524
8525 [BZ #18604]
8526 * assert/assert.h (assert): Don't macro-expand failed assertion
8527 expression in error message.
8528 * malloc/malloc.c (assert): Likewise.
8529
8530 2015-11-03 Joseph Myers <joseph@codesourcery.com>
8531
8532 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8533 test.
8534 * configure: Regenerated.
8535
8536 2015-11-02 Joseph Myers <joseph@codesourcery.com>
8537
8538 * math/libm-test.inc (modf_test_data): Add more tests.
8539 (nearbyint_test_data): Likewise.
8540 (nextafter_test_data): Likewise.
8541 (nexttoward_test_data): Likewise.
8542 (pow_test_data): Likewise.
8543 (remainder_test_data): Likewise.
8544 (remquo_test_data): Likewise.
8545 (rint_test_data): Likewise.
8546
8547 [BZ #19201]
8548 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8549 Check for zero remainder in case of large exponents and ensure
8550 correct sign of result in that case.
8551 * math/libm-test.inc (remainder_test_data): Add more tests.
8552
8553 [BZ #6799]
8554 * math/s_nextafter.c: Include <errno.h>.
8555 (__nextafter): Set errno on overflow and underflow.
8556 * math/s_nexttowardf.c: Include <errno.h>.
8557 (__nexttowardf): Set errno on overflow and underflow.
8558 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8559 (__nextafterl): Set errno on overflow and underflow.
8560 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8561 (__nexttoward): Set errno on overflow and underflow.
8562 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8563 (__nexttowardf): Set errno on overflow and underflow.
8564 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8565 (__nextafterf): Set errno on overflow and underflow.
8566 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8567 (__nextafterl): Set errno on overflow and underflow.
8568 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8569 (__nexttoward): Set errno on overflow and underflow.
8570 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8571 (__nexttowardf): Set errno on overflow and underflow.
8572 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8573 (__nextafterl): Set errno on overflow and underflow.
8574 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8575 (__nexttoward): Set errno on overflow and underflow.
8576 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8577 (__nexttowardf): Set errno on overflow and underflow.
8578 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8579 (__nexttoward): Set errno on overflow and underflow.
8580 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8581 (__nexttowardf): Set errno on overflow and underflow.
8582 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8583 (__nldbl_nexttowardf): Set errno on overflow and underflow.
8584 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8585 (__nextafterl): Set errno on overflow and underflow.
8586 * math/libm-test.inc (nextafter_test_data): Do not allow errno
8587 setting to be missing on overflow. Add more tests.
8588 (nexttoward_test_data): Likewise.
8589
8590 * configure.ac (libc_cv_initfini_array): Remove configure test.
8591 * configure: Regenerated.
8592
8593 2015-10-29 Joseph Myers <joseph@codesourcery.com>
8594
8595 [BZ #19189]
8596 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8597 non-finite argument handle arguments with negative sign.
8598
8599 * math/libm-test.inc (j0_test_data): Do not test sign of zero
8600 result from infinite argument.
8601 (j1_test_data): Likewise.
8602 (jn_test_data): Likewise.
8603 (y0_test_data): Likewise.
8604 (y1_test_data): Likewise.
8605 (yn_test_data): Likewise.
8606
8607 [BZ #16171]
8608 * math/w_remainder.c (drem): Define as weak alias of __remainder.
8609 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8610 * math/w_remainderf.c (dremf): Define as weak alias of
8611 __remainderf.
8612 * math/w_remainderl.c (dreml): Define as weak alias of
8613 __remainderl.
8614 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8615 __remainder.
8616 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8617 __remainderf.
8618 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8619 __remainderl.
8620 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8621 weak alias of remainderl.
8622 * sysdeps/ieee754/ldbl-opt/w_remainder.c
8623 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8624 alias of __remainder.
8625 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8626 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8627 strong alias of __remainderl.
8628 (dreml): Use long_double_symbol.
8629 * math/Makefile (libm-calls): Remove w_drem.
8630 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8631 (CFLAGS-nldbl-drem.c): Remove variable.
8632 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8633 * math/w_drem.c: Remove file.
8634 * math/w_dremf.c: Likewise.
8635 * math/w_dreml.c: Likewise.
8636 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8637 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8638 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8639
8640 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8641 * sysdeps/i386/configure: Regenerated.
8642 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8643 * sysdeps/x86_64/configure: Regenerated.
8644
8645 * configure.ac (libc_cv_asm_protected_directive): Remove configure
8646 test.
8647 (libc_cv_visibility_attribute): Likewise.
8648 (libc_cv_protected_data): Test unconditionally.
8649 (libc_cv_broken_visibility_attribute): Remove configure test.
8650 (libc_cv_have_sdata_section): Test unconditionally.
8651 * configure: Regenerated.
8652
8653 * include/libc-internal.h (libc_max_align_t): Remove typedef.
8654 * include/scratch_buffer.h: Include <stddef.h> instead of
8655 <libc-internal.h>.
8656 (struct scratch_buffer): Use max_align_t instead of
8657 libc_max_align_t.
8658
8659 2015-10-29 Florian Weimer <fweimer@redhat.com>
8660
8661 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8662 instead of extend_alloca. Change control flow to avoid a goto.
8663 Remove assert which is trivially always true.
8664
8665 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8666
8667 [BZ #16068]
8668 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8669 (FE_ALL_EXCEPT_X86): New macro.
8670 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8671 FE_ALL_EXCEPT. Ensure precision control is included in
8672 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8673 handle "denormal operand exception" and clear FZ and DAZ bits.
8674 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8675 (FE_ALL_EXCEPT_X86): New macro.
8676 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8677 FE_ALL_EXCEPT. Ensure precision control is included in
8678 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8679 handle "denormal operand exception" and clear FZ and DAZ bits.
8680 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8681 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8682 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8683 test-fenv-x87 and test-fenv-sse-2.
8684 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8685
8686 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8687 * math/test-double.h (BUILD_COMPLEX): New macro.
8688 * math/test-float.h (BUILD_COMPLEX): Likewise.
8689 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8690
8691 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8692 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8693 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8695 instead of DBL_DENORM_MIN in comment.
8696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8697 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8698 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8699 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8701 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8702
8703 2015-10-28 Florian Weimer <fweimer@redhat.com>
8704
8705 [BZ# 19048]
8706 * malloc/malloc.c (struct malloc_state): Update comment. Add
8707 attached_threads member.
8708 (main_arena): Initialize attached_threads.
8709 * malloc/arena.c (list_lock): Update comment.
8710 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8711 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8712 (deattach_arena): New function.
8713 (_int_new_arena): Initialize arena reference count and deattach
8714 replaced arena.
8715 (get_free_list, reused_arena): Update reference count and deattach
8716 replaced arena.
8717 (arena_thread_freeres): Update arena reference count and only put
8718 unreferenced arenas on the free list.
8719
8720 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8721
8722 [BZ #19181]
8723 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8724 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8725 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8726 * math/test-fenv-clear-main.c: New file.
8727 * math/test-fenv-clear.c: Likewise.
8728 * math/Makefile (tests): Add test-fenv-clear.
8729 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8730 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8731 test-fenv-clear-sse.
8732 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8733
8734 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8735 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8736 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8737
8738 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8739
8740 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8741 static libc.
8742
8743 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8744
8745 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8746 test.
8747 * sysdeps/i386/configure: Regenerated.
8748 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8749 test.
8750 * sysdeps/x86_64/configure: Regenerated.
8751 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8753 memset-avx2 unconditionally instead of conditionally on
8754 [$(config-cflags-avx2) = yes].
8755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8756 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8757 unconditional.
8758 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8759 * sysdeps/x86_64/multiarch/memset_chk.S
8760 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8761 to [IS_IN (libc) && SHARED].
8762
8763 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8764
8765 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8766 configure test.
8767 * sysdeps/arm/configure: Regenerated.
8768 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8769 Define variable if not already defined.
8770
8771 [BZ #17404]
8772 * sysdeps/mips/atomic-machine.h
8773 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8774 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8775 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8776
8777 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8778 unconditional.
8779 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8780 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8781 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8782 unconditional.
8783 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8784 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8785 unconditional.
8786 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8787 * stdlib/setenv.c
8788 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8789 code unconditional.
8790 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8791 Remove conditional code.
8792 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8793 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8794 unconditional.
8795 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8796 code.
8797 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8798 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8799 unconditional.
8800 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8801 code.
8802 * sysdeps/ieee754/ldbl-128/k_tanl.c
8803 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8804 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8805 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8806 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8807 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8808 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8809 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8810 unconditional.
8811 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8812 code.
8813 * sysdeps/ieee754/ldbl-96/k_tanl.c
8814 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8815 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8816
8817 * nptl/tst-initializers1-c11.c: New file.
8818 * nptl/tst-initializers1-gnu11.c: Likewise.
8819 * nptl/Makefile (tests): Add these new tests.
8820 (CFLAGS-tst-initializers1-c11.c): New variable.
8821 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8822
8823 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8824 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8825 instead of -std=gnu99.
8826 * configure.ac (systemtap): Test with -std=gnu11 instead of
8827 -std=gnu99.
8828 * configure: Regenerated.
8829 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8830 in compilation command in comment.
8831
8832 * sysdeps/nptl/configure.ac: Remove file.
8833 * sysdeps/nptl/configure: Remove generated file.
8834 * configure.ac (libc_cv_forced_unwind): Do not substitute.
8835 * configure: Regenerated.
8836 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8837 * config.make.in (have-forced-unwind): Remove variable.
8838 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8839 unconditional.
8840 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8841 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8842 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8843 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8844 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8845 unconditional.
8846
8847 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8848
8849 [BZ #19174]
8850 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8851 .skip_lock_out_of_tbegin_retries.
8852 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8853 (__lll_lock_elision): Likewise, and respect a value of
8854 try_tbegin <= 0.
8855
8856 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8857
8858 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8859 statement.
8860
8861 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8862
8863 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8864 variable.
8865 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8866 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8867
8868 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8869 of -std=c1x -D_ISOC11_SOURCE.
8870
8871 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8872 * configure: Regenerated.
8873 * manual/install.texi (Tools for Compilation): Document
8874 requirement for GCC 4.7 or later.
8875 * INSTALL: Regenerated.
8876
8877 2015-10-27 Ludovic Courtès <ludo@gnu.org>
8878
8879 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8880 on CNT to a conditional jump to 'puntdata'.
8881
8882 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8883
8884 * configure.ac (libc_cv_gcc___thread): Remove configure test.
8885 (libc_cv_gcc_tls_model_attr): Likewise.
8886 * configure: Regenerated.
8887
8888 * configure.ac (libc_cv_need_minus_P): Remove configure test.
8889 * configure: Regenerated.
8890 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8891
8892 2015-10-26 Joseph Myers <joseph@codesourcery.com>
8893
8894 * configure.ac (old_glibc_headers): Remove configure test.
8895 * configure: Regenerated.
8896 * config.make.in (old-glibc-headers): Remove variable.
8897 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8898 (install): Remove dependency on remove-old-headers.
8899 (headers2_0): Remove variable.
8900 (remove-old-headers): Remove rule.
8901
8902 * configure.ac (libc_cv_dot_text): Remove configure test.
8903 (libc_cv_asm_set_directive): Use .text instead of
8904 ${libc_cv_dot_text} in configure test.
8905 * configure: Regenerated.
8906
8907 2015-10-26 Florian Weimer <fweimer@redhat.com>
8908
8909 [BZ #19168]
8910 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8911
8912 2015-10-26 Florian Weimer <fweimer@redhat.com>
8913
8914 * configure.ac (CXX): Clear the variable if the C++ toolchain does
8915 not support static linking.
8916 * configure: Regenerate.
8917
8918 2015-10-23 Joseph Myers <joseph@codesourcery.com>
8919
8920 * math/libm-test.inc (check_float_internal): Do not special-case
8921 errors up to 0.5 ulp.
8922
8923 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8924 log2.
8925 * math/auto-libm-test-out: Regenerated.
8926 * math/libm-test.inc (MAX_EXP): New macro.
8927 (ilogb_test_data): Add more tests.
8928 (isfinite_test_data): Likewise.
8929 (isgreater_test_data): Likewise.
8930 (isgreaterequal_test_data): Likewise.
8931 (isinf_test_data): Likewise.
8932 (isless_test_data): Likewise.
8933 (islessequal_test_data): Likewise.
8934 (islessgreater_test_data): Likewise.
8935 (isnan_test_data): Likewise.
8936 (isnormal_test_data): Likewise.
8937 (issignaling_test_data): Likewise.
8938 (isunordered_test_data): Likewise.
8939 (j0_test_data): Likewise.
8940 (j1_test_data): Likewise.
8941 (jn_test_data): Likewise.
8942 (lgamma_test_data): Likewise.
8943 (log_test_data): Likewise.
8944 (log10_test_data): Likewise.
8945 (log1p_test_data): Likewise.
8946 (log2_test_data): Likewise.
8947 (logb_test_data): Likewise.
8948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8949
8950 [BZ #18611]
8951 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8952 avoid excess range and precision on underflow.
8953 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8954 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8955 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8956 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8957 underflow.
8958 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8960 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8961 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8962 * math/auto-libm-test-in: Do not allow missing errno setting for
8963 tests of j1 and jn.
8964 * math/auto-libm-test-out: Regenerated.
8965
8966 2015-10-22 Joseph Myers <joseph@codesourcery.com>
8967
8968 [BZ #15491]
8969 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8970 floating-point environment instead of clearing all exceptions.
8971 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8972 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8973 merging in "invalid" exceptions from frndint.
8974 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8975 * math/test-nearbyint-except.c: New file.
8976 * math/Makefile (tests): Add test-nearbyint-except.
8977
8978 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
8979
8980 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8981
8982 * sysdeps/tile/libm-test-ulps: Regenerated.
8983
8984 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8985
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8987 (__NR_sync_file_range2): Assume it is always defined.
8988 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8989 (__NR_sync_file_range): Assume it is always defined.
8990
8991 2015-10-22 Andreas Schwab <schwab@suse.de>
8992
8993 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8994 INTERNAL_SYSCALL_ERRNO.
8995 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8996 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8997 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8998 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8999 Likewise.
9000 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9001
9002 2015-10-21 Joseph Myers <joseph@codesourcery.com>
9003
9004 * io/tst-fcntl.c (fd): New static variable.
9005 (do_prepare): Open temporary file here....
9006 (do_test): ...not here.
9007
9008 * io/ftwtest-sh: Also trap on exit to remove temporary files.
9009
9010 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
9011
9012 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9013 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9014 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9015 Moved before "#ifdef __ASSEMBLER__".
9016
9017 2015-10-21 Joseph Myers <joseph@codesourcery.com>
9018
9019 [BZ #19156]
9020 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9021 arguments very close to 0.
9022
9023 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
9024
9025 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9026 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9027
9028 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
9029
9030 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9031 New. Defined for GCC 5 and above when not compiling for
9032 profiling.
9033 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9034
9035 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9036 Renamed to ...
9037 (CFLAGS-epoll_pwait.o): This.
9038 (CFLAGS-mmap.c): Renamed to ...
9039 (CFLAGS-mmap.o): This.
9040 (CFLAGS-mmap64.c): Renamed to ...
9041 (CFLAGS-mmap64.o): This.
9042 (CFLAGS-epoll_pwait.os): New.
9043 (CFLAGS-mmap.os): Likewise.
9044 (CFLAGS-mmap64.os): Likewise.
9045 (CFLAGS-semtimedop.os): Likewise.
9046 (CFLAGS-semtimedop.c): Renamed to ...
9047 (CFLAGS-semtimedop.o): This.
9048
9049 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9050
9051 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9052 warning message.
9053
9054 2015-10-21 Joseph Myers <joseph@codesourcery.com>
9055
9056 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9057 * Makefile ($(objpfx)c++-types-check.out): Filter out
9058 $(+gccwarn-c) instead of -Wstrict-prototypes.
9059
9060 * io/fts.c (fts_open): Convert to prototype-style function
9061 definition.
9062 * malloc/mcheck.c (mcheck): Likewise.
9063 (mcheck_pedantic): Likewise.
9064 * posix/regexec.c (re_search_2_stub): Likewise. Use
9065 internal_function.
9066 (re_search_internal): Likewise.
9067 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9068 prototype-style function definition.
9069 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9070 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9071 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9072 (xdr_utmpptr): Likewise.
9073 (xdr_utmparr): Likewise.
9074 (xdr_utmpidle): Likewise.
9075 (xdr_utmpidleptr): Likewise.
9076 (xdr_utmpidlearr): Likewise.
9077
9078 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9079 log, log10 and log2.
9080 * math/auto-libm-test-out: Regenerated.
9081 * math/libm-test.inc (fmod_test_data): Add more tests.
9082 (fpclassify_test_data): Likewise.
9083 (frexp_test_data): Likewise.
9084 (hypot_test_data): Likewise.
9085 (ilogb_test_data): Likewise.
9086
9087 2015-10-20 Joseph Myers <joseph@codesourcery.com>
9088
9089 * debug/fortify_fail.c (__fortify_fail): Convert to
9090 prototype-style function definition. Use internal_function.
9091 * libio/genops.c (save_for_backup): Convert to prototype-style
9092 function definition.
9093 * libio/wgenops.c (save_for_wbackup): Likewise.
9094 * login/grantpt.c (grantpt): Likewise.
9095 * login/ptsname.c (ptsname): Likewise.
9096 (__ptsname_r): Likewise.
9097 * login/unlockpt.c (unlockpt): Likewise.
9098 * mach/msgserver.c (__mach_msg_server): Likewise.
9099 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9100 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9101 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9102 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9103 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9104 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9105 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9106 Likewise.
9107 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
9108 internal_function.
9109 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9110 prototype-style function definition.
9111 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9112 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9113 (__pthread_create_2_0): Likewise.
9114 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9115 * nptl/register-atfork.c (__register_atfork): Likewise.
9116 * posix/glob.c (glob): Likewise.
9117 * posix/regcomp.c (re_comp): Likewise.
9118 * posix/regexec.c (re_exec): Likewise.
9119 * stdlib/add_n.c [__STDC__]: Make code unconditional.
9120 [!__STDC__]: Remove conditional code.
9121 * stdlib/cmp.c [__STDC__]: Make code unconditional.
9122 [!__STDC__]: Remove conditional code.
9123 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9124 [!__STDC__]: Remove conditional code.
9125 * stdlib/divrem.c [__STDC__]: Make code unconditional.
9126 [!__STDC__]: Remove conditional code.
9127 * stdlib/lshift.c [__STDC__]: Make code unconditional.
9128 [!__STDC__]: Remove conditional code.
9129 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9130 [!__STDC__]: Remove conditional code.
9131 * stdlib/mul.c [__STDC__]: Make code unconditional.
9132 [!__STDC__]: Remove conditional code.
9133 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9134 [!__STDC__]: Remove conditional code.
9135 * stdlib/rshift.c [__STDC__]: Make code unconditional.
9136 [!__STDC__]: Remove conditional code.
9137 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9138 function definition.
9139 (STRTOF): Likewise.
9140 * stdlib/strtod_l.c (__STRTOF): Likewise.
9141 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9142 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9143 (__strtol_l): Likewise.
9144 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9145 [!__STDC__]: Remove conditional code.
9146 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9147 definition.
9148 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9149 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9150 type.
9151 (__strcasecmp): Convert to prototype-style function definition.
9152 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9153 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9154 type.
9155 (__strncasecmp): Convert to prototype-style function definition.
9156 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9157 * sunrpc/xdr.c (xdr_union): Likewise.
9158 * sunrpc/xdr_array.c (xdr_array): Likewise.
9159 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9160 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9161 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9162 Likewise.
9163 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9164 Likewise.
9165 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9166 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9167 Likewise.
9168 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9169 (LOCALE_PARAM_PROTO): Likewise.
9170 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9171 argument type.
9172 (ut_argument_spec): Remove macro.
9173 (ut_argument_spec_iso): Rename to ut_argument_spec.
9174 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
9175 prototype-style function definition.
9176 (memcpy_uppcase): Likewise.
9177 (__strftime_internal): Likewise.
9178 (my_strftime): Likewise.
9179 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9180 (LOCALE_PARAM_DECL): Likewise.
9181 [_LIBC] (LOCALE_PARAM): Include argument type.
9182 (__strptime_internal): Convert to prototype-style function
9183 definition.
9184 (strptime): Likewise.
9185 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9186 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9187 type.
9188 (__wcscasecmp): Convert to prototype-style function definition.
9189 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9190 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9191 type.
9192 (__wcsncasecmp): Convert to prototype-style function definition.
9193
9194 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9195 function definition.
9196 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9197 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9198 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9199 * elf/dl-minimal.c (_itoa): Likewise.
9200 * hurd/hurdmalloc.c (malloc): Likewise.
9201 (free): Likewise.
9202 (realloc): Likewise.
9203 * inet/inet6_option.c (inet6_option_space): Likewise.
9204 (inet6_option_init): Likewise.
9205 (inet6_option_append): Likewise.
9206 (inet6_option_alloc): Likewise.
9207 (inet6_option_next): Likewise.
9208 (inet6_option_find): Likewise.
9209 * io/ftw.c (FTW_NAME): Likewise.
9210 (NFTW_NAME): Likewise.
9211 (NFTW_NEW_NAME): Likewise.
9212 (NFTW_OLD_NAME): Likewise.
9213 * libio/iofwide.c (_IO_fwide): Likewise.
9214 * libio/strops.c (_IO_str_init_static_internal): Likewise.
9215 (_IO_str_init_static): Likewise.
9216 (_IO_str_init_readonly): Likewise.
9217 (_IO_str_overflow): Likewise.
9218 (_IO_str_underflow): Likewise.
9219 (_IO_str_count): Likewise.
9220 (_IO_str_seekoff): Likewise.
9221 (_IO_str_pbackfail): Likewise.
9222 (_IO_str_finish): Likewise.
9223 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9224 (_IO_wstr_overflow): Likewise.
9225 (_IO_wstr_underflow): Likewise.
9226 (_IO_wstr_count): Likewise.
9227 (_IO_wstr_seekoff): Likewise.
9228 (_IO_wstr_pbackfail): Likewise.
9229 (_IO_wstr_finish): Likewise.
9230 * locale/programs/localedef.c (normalize_codeset): Likewise.
9231 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9232 (add_locales_to_archive): Likewise.
9233 (delete_locales_from_archive): Likewise.
9234 * malloc/malloc.c (__libc_mallinfo): Likewise.
9235 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9236 * misc/tsearch.c (__tfind): Likewise.
9237 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9238 * nptl/pthread_attr_getdetachstate.c
9239 (__pthread_attr_getdetachstate): Likewise.
9240 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9241 Likewise.
9242 * nptl/pthread_attr_getinheritsched.c
9243 (__pthread_attr_getinheritsched): Likewise.
9244 * nptl/pthread_attr_getschedparam.c
9245 (__pthread_attr_getschedparam): Likewise.
9246 * nptl/pthread_attr_getschedpolicy.c
9247 (__pthread_attr_getschedpolicy): Likewise.
9248 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9249 Likewise.
9250 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9251 Likewise.
9252 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9253 Likewise.
9254 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9255 Likewise.
9256 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9257 (__pthread_attr_init_2_0): Likewise.
9258 * nptl/pthread_attr_setdetachstate.c
9259 (__pthread_attr_setdetachstate): Likewise.
9260 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9261 Likewise.
9262 * nptl/pthread_attr_setinheritsched.c
9263 (__pthread_attr_setinheritsched): Likewise.
9264 * nptl/pthread_attr_setschedparam.c
9265 (__pthread_attr_setschedparam): Likewise.
9266 * nptl/pthread_attr_setschedpolicy.c
9267 (__pthread_attr_setschedpolicy): Likewise.
9268 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9269 Likewise.
9270 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9271 Likewise.
9272 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9273 Likewise.
9274 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9275 Likewise.
9276 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9277 Likewise.
9278 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9279 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9280 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9281 use internal_function.
9282 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9283 prototype-style function definition.
9284 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9285 (__pthread_mutex_cond_lock_adjust): Likewise. Use
9286 internal_function.
9287 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9288 Convert to prototype-style function definition.
9289 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9290 Likewise.
9291 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9292 Likewise.
9293 (__pthread_mutex_unlock): Likewise.
9294 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9295 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9296 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9297 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9298 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9299 * nss/makedb.c (process_input): Likewise.
9300 * posix/fnmatch.c (__strchrnul): Likewise.
9301 (__wcschrnul): Likewise.
9302 (fnmatch): Likewise.
9303 * posix/fnmatch_loop.c (FCT): Likewise.
9304 * posix/glob.c (globfree): Likewise.
9305 (__glob_pattern_type): Likewise.
9306 (__glob_pattern_p): Likewise.
9307 * posix/regcomp.c (re_compile_pattern): Likewise.
9308 (re_set_syntax): Likewise.
9309 (re_compile_fastmap): Likewise.
9310 (regcomp): Likewise.
9311 (regerror): Likewise.
9312 (regfree): Likewise.
9313 * posix/regexec.c (regexec): Likewise.
9314 (re_match): Likewise.
9315 (re_search): Likewise.
9316 (re_match_2): Likewise.
9317 (re_search_2): Likewise.
9318 (re_search_stub): Likewise. Use internal_function
9319 (re_copy_regs): Likewise.
9320 (re_set_registers): Convert to prototype-style function
9321 definition.
9322 (prune_impossible_nodes): Likewise. Use internal_function.
9323 * resolv/inet_net_pton.c (inet_net_pton): Convert to
9324 prototype-style function definition.
9325 (inet_net_pton_ipv4): Likewise.
9326 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9327 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9328 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9329 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9330 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9331 Make variadic.
9332 * time/strptime_l.c (localtime_r): Convert to prototype-style
9333 function definition.
9334 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9335 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9336 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9337 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9338
9339 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9340 definition.
9341 (_ufc_doit_r): Likewise.
9342 * crypt/crypt_util.c (_ufc_copymem): Likewise.
9343 (_ufc_output_conversion_r): Likewise.
9344 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9345 * inet/rcmd.c (rcmd_af): Likewise.
9346 (rcmd): Likewise.
9347 (ruserok_af): Likewise.
9348 (ruserok): Likewise.
9349 (ruserok2_sa): Likewise.
9350 (ruserok_sa): Likewise.
9351 (iruserok_af): Likewise.
9352 (iruserok): Likewise.
9353 (__ivaliduser): Likewise.
9354 (__validuser2_sa): Likewise.
9355 * inet/rexec.c (rexec_af): Likewise.
9356 (rexec): Likewise.
9357 * inet/ruserpass.c (ruserpass): Likewise.
9358 * locale/programs/xmalloc.c (xcalloc): Likewise.
9359 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9360 * math/w_drem.c (__drem): Likewise.
9361 * math/w_dremf.c (__dremf): Likewise.
9362 * math/w_dreml.c (__dreml): Likewise.
9363 * misc/daemon.c (daemon): Likewise.
9364 * resolv/res_debug.c (p_fqnname): Likewise.
9365 * stdlib/div.c (div): Likewise.
9366 * string/memcmp.c (memcmp_bytes): Likewise.
9367 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9368 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9369
9370 * crypt/cert.c (main): Convert to prototype-style function
9371 definition.
9372 * io/pipe.c (__pipe): Likewise.
9373 * io/pipe2.c (__pipe2): Likewise.
9374 * misc/futimesat.c (futimesat): Likewise.
9375 * misc/utimes.c (__utimes): Likewise.
9376 * posix/execve.c (__execve): Likewise.
9377 * posix/execvp.c (execvp): Likewise.
9378 * posix/execvpe.c (__execvpe): Likewise.
9379 * posix/fexecve.c (fexecve): Likewise.
9380 * socket/socketpair.c (socketpair): Likewise.
9381 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9382 * stdlib/erand48.c (erand48): Likewise.
9383 * stdlib/erand48_r.c (__erand48_r): Likewise.
9384 * stdlib/jrand48.c (jrand48): Likewise.
9385 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9386 * stdlib/lcong48.c (lcong48): Likewise.
9387 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9388 * stdlib/nrand48.c (nrand48): Likewise.
9389 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9390 * stdlib/seed48.c (seed48): Likewise.
9391 * stdlib/seed48_r.c (__seed48_r): Likewise.
9392 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9393 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9394 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9395
9396 2015-10-19 Joseph Myers <joseph@codesourcery.com>
9397
9398 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9399 * configure: Regenerated.
9400 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9401 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9402 unconditional.
9403 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9404 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9405 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9406 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9407 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9408 unconditional.
9409 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9410
9411 * posix/Makefile (CFLAGS-regex.c): Remove variable.
9412 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9413
9414 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9415 function definition.
9416 * crypt/crypt_util.c (__encrypt_r): Likewise.
9417 * libio/genops.c (_IO_no_init): Likewise.
9418 * libio/iofopncook.c (_IO_fopencookie): Likewise.
9419 (_IO_old_fopencookie): Likewise.
9420 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9421 * libio/iogetline.c (_IO_getline): Likewise.
9422 (_IO_getline_info): Likewise.
9423 * libio/iogetwline.c (_IO_getwline): Likewise.
9424 (_IO_getwline_info): Likewise.
9425 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9426 * libio/vswprintf.c (_IO_vswprintf): Likewise.
9427 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9428 (find_entry): Likewise.
9429 (iterate_table): Likewise.
9430 (lookup): Likewise.
9431 * login/forkpty.c (forkpty): Likewise.
9432 * misc/hsearch_r.c (__hsearch_r): Likewise.
9433 * misc/select.c (__select): Likewise.
9434 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9435 Likewise.
9436 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9437 Likewise.
9438 * nptl/old_pthread_cond_timedwait.c
9439 (__pthread_cond_timedwait_2_0): Likewise.
9440 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9441 * nptl/pthread_barrierattr_getpshared.c
9442 (pthread_barrierattr_getpshared): Likewise.
9443 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9444 Likewise.
9445 * nptl/pthread_mutex_setprioceiling.c
9446 (pthread_mutex_setprioceiling): Likewise.
9447 * nptl/pthread_mutexattr_getprioceiling.c
9448 (pthread_mutexattr_getprioceiling): Likewise.
9449 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9450 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9451 Likewise.
9452 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9453 Likewise.
9454 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9455 Likewise.
9456 * socket/recvfrom.c (__recvfrom): Likewise.
9457 * socket/sendto.c (__sendto): Likewise.
9458 * socket/setsockopt.c (__setsockopt): Likewise.
9459 * stdio-common/_itoa.c (_itoa): Likewise.
9460 * stdio-common/_itowa.c (_itowa): Likewise.
9461 * stdio-common/reg-printf.c (__register_printf_specifier):
9462 Likewise.
9463 (__register_printf_function): Likewise.
9464 * stdio-common/tempname.c (__path_search): Likewise.
9465 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9466 * stdlib/mul_1.c (mpn_mul_1): Likewise.
9467 * stdlib/random_r.c (__initstate_r): Likewise.
9468 * stdlib/setenv.c (__add_to_environ): Likewise.
9469 * stdlib/submul_1.c (mpn_submul_1): Likewise.
9470 * streams/getpmsg.c (getpmsg): Likewise.
9471 * streams/putmsg.c (putmsg): Likewise.
9472 * streams/putpmsg.c (putpmsg): Likewise.
9473 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9474 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9475 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9476 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9477 * sunrpc/pm_getport.c (pmap_getport): Likewise.
9478 * sunrpc/svc_udp.c (cache_get): Likewise.
9479 * sunrpc/xdr_array.c (xdr_vector): Likewise.
9480 * sysdeps/mach/hurd/getcwd.c
9481 (__canonicalize_directory_name_internal): Likewise.
9482 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9483 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9484 * sysdeps/mach/hurd/select.c (__select): Likewise.
9485 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9486 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9487 * sysdeps/sparc/nptl/pthread_barrier_init.c
9488 (__pthread_barrier_init): Likewise.
9489 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9490 (__pthread_cond_timedwait): Likewise.
9491 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9492 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9493 Likewise.
9494 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9495 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9496 Likewise.
9497 * sysvipc/semtimedop.c (semtimedop): Likewise.
9498 * time/setitimer.c (__setitimer): Likewise.
9499 * time/strftime_l.c (emacs_strftime): Likewise.
9500
9501 2015-10-19 Mike Frysinger <vapier@gentoo.org>
9502
9503 * config.make.in (have-ssp): Delete.
9504 (stack-protector): New variable.
9505 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
9506 cache test for -fstack-protector-strong. Export stack_protector to
9507 the best ssp flag.
9508 * configure: Regenerated.
9509 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9510 * nscd/Makefile (CFLAGS-nscd): Likewise.
9511 * resolv/Makefile (CFLAGS-libresolv): Likewise.
9512
9513 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
9514
9515 [BZ #19122]
9516 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9517 attribute_hidden.
9518
9519 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9520
9521 [BZ #18743]
9522 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9523 code to...
9524 (ELIDE_LOCK): ...here.
9525 (__get_new_count): New function with part of the code from
9526 __elide_lock that updates the value of adapt_count after a
9527 transaction abort.
9528 (__elided_trylock): Moved this code to...
9529 (ELIDE_TRYLOCK): ...here.
9530
9531 2015-10-19 Mike Frysinger <vapier@gentoo.org>
9532
9533 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9534 * configure: Regenerate.
9535 * INSTALL: Regenerate.
9536 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9537 and tweak grammar.
9538
9539 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
9540
9541 * login/programs/pt_chown.c: Include signal.h
9542 (main): Clear any signal mask from the parent process.
9543
9544 2015-10-19 Joseph Myers <joseph@codesourcery.com>
9545
9546 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9547 * configure: Regenerated.
9548 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9549 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9550 $(gnu89-inline-CFLAGS).
9551
9552 * configure.ac (libc_cv_asm_weak_directive): Remove configure
9553 test.
9554 (libc_cv_asm_weakext_directive): Likewise.
9555 * configure: Regenerated.
9556 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9557 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9558 * include/libc-symbols.h
9559 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9560 #error.
9561 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9562 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9563
9564 * sysdeps/arm/backtrace.c (__backtrace): Convert to
9565 prototype-style function definition.
9566 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9567 * sysdeps/i386/ffs.c (__ffs): Likewise.
9568 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9569 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9570 Likewise.
9571 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9572 Likewise.
9573 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9574 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9575 Likewise.
9576 * sysdeps/m68k/ffs.c (__ffs): Likewise.
9577 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9578 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9579 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9580 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9581 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9582 * sysdeps/mach/hurd/access.c (__access): Likewise.
9583 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9584 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9585 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9586 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9587 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9588 (cthread_getspecific): Likewise.
9589 (cthread_setspecific): Likewise.
9590 (__libc_getspecific): Likewise.
9591 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9592 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9593 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9594 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9595 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9596 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9597 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9598 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9599 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9600 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9601 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9602 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9603 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9604 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9605 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9606 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9607 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9608 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9609 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9610 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9611 * sysdeps/mach/hurd/link.c (__link): Likewise.
9612 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9613 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9614 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9615 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9616 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9617 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9618 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9619 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9620 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9621 * sysdeps/mach/hurd/rename.c (rename): Likewise.
9622 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9623 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9624 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9625 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9626 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9627 * sysdeps/mach/hurd/send.c (__send): Likewise.
9628 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9629 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9630 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9631 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9632 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9633 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9634 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9635 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9636 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9637 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9638 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9639 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9640 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9641 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9642 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9643 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9644 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9645 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9646 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9647 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9648 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9649 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9650 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9651 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9652 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9653 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9654 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9655 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9656 * sysdeps/posix/alarm.c (alarm): Likewise.
9657 * sysdeps/posix/cuserid.c (cuserid): Likewise.
9658 * sysdeps/posix/dirfd.c (dirfd): Likewise.
9659 * sysdeps/posix/dup.c (__dup): Likewise.
9660 * sysdeps/posix/dup2.c (__dup2): Likewise.
9661 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9662 (main): Likewise.
9663 * sysdeps/posix/flock.c (__flock): Likewise.
9664 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9665 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9666 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9667 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9668 * sysdeps/posix/isatty.c (__isatty): Likewise.
9669 * sysdeps/posix/killpg.c (killpg): Likewise.
9670 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9671 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9672 * sysdeps/posix/raise.c (raise): Likewise.
9673 * sysdeps/posix/remove.c (remove): Likewise.
9674 * sysdeps/posix/rename.c (rename): Likewise.
9675 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9676 * sysdeps/posix/seekdir.c (seekdir): Likewise.
9677 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9678 * sysdeps/posix/sigignore.c (sigignore): Likewise.
9679 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9680 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9681 * sysdeps/posix/sigset.c (sigset): Likewise.
9682 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9683 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9684 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9685 * sysdeps/posix/time.c (time): Likewise.
9686 * sysdeps/posix/ttyname.c (getttyname): Likewise.
9687 (ttyname): Likewise.
9688 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9689 * sysdeps/posix/utime.c (utime): Likewise.
9690 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9691 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9692 Likewise.
9693 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9694 (pthread_spin_trylock): Likewise.
9695 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9696 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9697 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9698 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9699 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9700 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9701 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9702 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9703 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9704 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9705 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9706 * sysdeps/s390/ffs.c (__ffs): Likewise.
9707 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9708 Likewise.
9709 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9710 Likewise.
9711 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9712 Likewise.
9713 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9714 (pthread_barrier_destroy): Likewise.
9715 * sysdeps/sparc/nptl/pthread_barrier_wait.c
9716 (__pthread_barrier_wait): Likewise.
9717 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9718 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9719 (__pthread_barrier_wait): Likewise.
9720 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9721 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9722 (memcmp_not_common_alignment): Likewise.
9723 (MEMCMP): Likewise.
9724 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9725 (_wordcopy_fwd_dest_aligned): Likewise.
9726 (_wordcopy_bwd_aligned): Likewise.
9727 (_wordcopy_bwd_dest_aligned): Likewise.
9728 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9729 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9730 * sysdeps/unix/bsd/stty.c (stty): Likewise.
9731 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9732 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9733 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9734 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9735 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9736 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9737 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9738 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9739 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9740 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9741 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9742 * sysdeps/unix/stime.c (stime): Likewise.
9743 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9744 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9745 Likewise. Use internal_function.
9746 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9747 Convert to prototype-style function definition.
9748 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9749 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9750 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9751 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9752 Likewise. Use internal_function.
9753 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9754 prototype-style function definition
9755 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9756 Likewise.
9757 (__getlogin_r): Likewise.
9758 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9759 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9760 (__pthread_cond_broadcast): Likewise.
9761 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9762 (__pthread_cond_destroy): Likewise.
9763 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9764 (__pthread_cond_init): Likewise.
9765 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9766 (__pthread_cond_signal): Likewise.
9767 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9768 (__pthread_cond_wait): Likewise.
9769 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9770 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9771 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9772 Likewise.
9773 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9774 Likewise.
9775 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9776 Likewise.
9777 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9778 Likewise.
9779 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9781 (__ftruncate64): Likewise.
9782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9783 (truncate64): Likewise.
9784 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9785 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9786 (pthread_getcpuclockid): Likewise.
9787 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9788 Likewise.
9789 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9790 Likewise.
9791 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9792 Likewise.
9793 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9794 Likewise.
9795 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9796 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9797 (__libc_sigaction): Likewise.
9798 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9799 Likewise.
9800 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9801 (__sigprocmask): Likewise.
9802 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9803 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9804 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9805 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9806 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9807 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9808 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9809 Likewise.
9810 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9811 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9812 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9813 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9814 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9815 Likewise.
9816 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9817 (__sigprocmask): Likewise.
9818 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9819 (cfgetispeed): Likewise.
9820 (cfsetospeed): Likewise.
9821 (cfsetispeed): Likewise.
9822 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9823 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9824 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9825 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9826 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9827 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9828 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9829 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9830 Likewise.
9831 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9832 Likewise.
9833 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9834 Likewise.
9835 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9836 Likewise.
9837 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9838
9839 2015-10-17 Florian Weimer <fweimer@redhat.com>
9840
9841 sunrpc: Rewrite with explicit TLS access using __thread.
9842 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9843 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9844 directly.
9845 (__rpc_thread_variables): Access thread_rpc_vars directly.
9846 Eliminate redundant assignment of the tvp variable.
9847
9848 2015-10-17 Florian Weimer <fweimer@redhat.com>
9849
9850 malloc: Rewrite with explicit TLS access using __thread.
9851 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9852 (tsd_setspecific, tsd_getspecific): Remove.
9853 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9854 (tsd_setspecific, tsd_getspecific): Likewise.
9855 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9856 (tsd_setspecific, tsd_getspecific): Likewise.
9857 * malloc/arena.c (thread_arena): New TLS variable.
9858 (arena_key): Remove variable.
9859 (arena_get): Use thread_arena.
9860 (arena_lookup): Remove macro.
9861 (malloc_atfork, free_atfork, ptmalloc_lock_all)
9862 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9863 (_int_new_arena, get_free_list, reused_arena)
9864 (arena_thread_freeres): Use thread_arena.
9865 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9866 tsd_getspecific, tsd_setspecific from safety annotations.
9867 (Allocating Cleared Space): Remove arena_lookup from safety
9868 annotations.
9869
9870 2015-10-17 Florian Weimer <fweimer@redhat.com>
9871
9872 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9873 struct scratch_buffer instead of extend_alloca.
9874
9875 2015-10-17 Florian Weimer <fweimer@redhat.com>
9876
9877 * sysdeps/unix/sysv/linux/kernel-features.h
9878 (__ASSUME_SOCK_CLOEXEC): Remove.
9879 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9880 (__have_paccept): Remove unused macro.
9881 * include/unistd.h (__have_sock_cloexec): Remove declaration.
9882 * misc/syslog.c (openlog_internal): Remove fallback code for
9883 !__ASSUME_SOCK_CLOEXEC.
9884 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9885 missing SOCK_CLOEXEC.
9886 * nscd/connections.c (have_sock_cloexec): Remove definition.
9887 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9888 * nscd/nscd_helper.c (open_socket): Remove fallback code for
9889 !__ASSUME_SOCK_CLOEXEC.
9890 * resolv/res_send.c (__have_o_nonblock): Remove definition.
9891 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9892 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9893 definition.
9894 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9895 code for !__ASSUME_SOCK_CLOEXEC.
9896
9897 2015-10-17 Florian Weimer <fweimer@redhat.com>
9898
9899 [BZ #18982]
9900 * manual/stdio.texi (Variable Arguments Output): Add portability
9901 note, explaining that vfprintf clobbers the va_list pointer.
9902
9903 2015-10-16 Joseph Myers <joseph@codesourcery.com>
9904
9905 * math/libm-test.inc (fabs_test_data): Add more tests.
9906 (fdim_test_data): Likewise.
9907 (fma_test_data): Likewise.
9908 (fmax_test_data): Likewise.
9909 (fmin_test_data): Likewise.
9910 (fmod_test_data): Likewise.
9911
9912 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
9913
9914 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
9915 data.
9916
9917 2015-10-16 Joseph Myers <joseph@codesourcery.com>
9918
9919 * math/libm-test.inc (ceil_test_data): Add more tests and more
9920 expectations for "inexact".
9921 (floor_test_data): Add more tests.
9922 (round_test_data): Likewise.
9923 (trunc_test_data): Likewise.
9924
9925 * crypt/cert.c (good_bye): Convert to prototype-style function
9926 definition.
9927 (get8): Likewise.
9928 (put8): Likewise.
9929 * crypt/crypt-entry.c (crypt): Likewise.
9930 (__fcrypt): Likewise.
9931 * crypt/crypt_util.c (_ufc_prbits): Likewise.
9932 (_ufc_set_bits): Likewise.
9933 (_ufc_clearmem): Likewise.
9934 (__init_des_r): Likewise.
9935 (shuffle_sb): Likewise.
9936 (shuffle_sb): Likewise.
9937 (_ufc_setup_salt_r): Likewise.
9938 (_ufc_mk_keytab_r): Likewise.
9939 (_ufc_dofinalperm_r): Likewise.
9940 (encrypt): Likewise.
9941 (__setkey_r): Likewise.
9942 (setkey): Likewise.
9943 * crypt/md5.c (md5_init_ctx): Likewise.
9944 (md5_read_ctx): Likewise.
9945 (md5_finish_ctx): Likewise.
9946 (md5_stream): Likewise.
9947 (md5_buffer): Likewise.
9948 (md5_process_bytes): Likewise.
9949 * crypt/sha256.c (__sha256_init_ctx): Likewise.
9950 (__sha256_finish_ctx): Likewise.
9951 (__sha256_process_bytes): Likewise.
9952 * crypt/sha512.c (__sha512_init_ctx): Likewise.
9953 (__sha512_finish_ctx): Likewise.
9954 (__sha512_process_bytes): Likewise.
9955 * ctype/isctype.c (__isctype): Likewise.
9956 * debug/backtrace.c (__backtrace): Likewise.
9957 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9958 * debug/fgets_chk.c (__fgets_chk): Likewise.
9959 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9960 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9961 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9962 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9963 * debug/memset_chk.c (__memset_chk): Likewise.
9964 * debug/strcat_chk.c (__strcat_chk): Likewise.
9965 * debug/strncat_chk.c (__strncat_chk): Likewise.
9966 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9967 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9968 * dirent/dirfd.c (dirfd): Likewise.
9969 * dirent/getdents.c (__getdirentries): Likewise.
9970 * dirent/getdents64.c (getdirentries64): Likewise.
9971 * dirent/rewinddir.c (__rewinddir): Likewise.
9972 * dirent/seekdir.c (seekdir): Likewise.
9973 * dirent/telldir.c (telldir): Likewise.
9974 * elf/sln.c (makesymlinks): Likewise.
9975 (makesymlink): Likewise.
9976 * gmon/gmon.c (__moncontrol): Likewise.
9977 (__monstartup): Likewise.
9978 (write_hist): Likewise.
9979 (write_call_graph): Likewise.
9980 (write_bb_counts): Likewise.
9981 * grp/setgroups.c (setgroups): Likewise.
9982 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9983 * inet/inet_net.c (inet_network): Likewise.
9984 * inet/inet_netof.c (inet_netof): Likewise.
9985 * inet/rcmd.c (rresvport_af): Likewise.
9986 (rresvport): Likewise.
9987 * io/access.c (__access): Likewise.
9988 * io/chdir.c (__chdir): Likewise.
9989 * io/chmod.c (__chmod): Likewise.
9990 * io/chown.c (__chown): Likewise.
9991 * io/close.c (__close): Likewise.
9992 * io/creat.c (creat): Likewise.
9993 * io/creat64.c (creat64): Likewise.
9994 * io/dup.c (__dup): Likewise.
9995 * io/dup2.c (__dup2): Likewise.
9996 * io/dup3.c (__dup3): Likewise.
9997 * io/euidaccess.c (__euidaccess): Likewise.
9998 * io/faccessat.c (faccessat): Likewise.
9999 * io/fchmod.c (__fchmod): Likewise.
10000 * io/fchmodat.c (fchmodat): Likewise.
10001 * io/fchown.c (__fchown): Likewise.
10002 * io/fchownat.c (fchownat): Likewise.
10003 * io/fcntl.c (__fcntl): Likewise.
10004 * io/flock.c (__flock): Likewise.
10005 * io/fts.c (fts_load): Likewise.
10006 (fts_close): Likewise.
10007 (fts_read): Likewise.
10008 (fts_set): Likewise.
10009 (fts_children): Likewise.
10010 (fts_build): Likewise.
10011 (fts_stat): Likewise.
10012 (fts_sort): Likewise.
10013 (fts_alloc): Likewise.
10014 (fts_lfree): Likewise.
10015 (fts_palloc): Likewise.
10016 (fts_padjust): Likewise.
10017 (fts_maxarglen): Likewise.
10018 (fts_safe_changedir): Likewise.
10019 * io/getwd.c (getwd): Likewise.
10020 * io/isatty.c (__isatty): Likewise.
10021 * io/lchown.c (__lchown): Likewise.
10022 * io/link.c (__link): Likewise.
10023 * io/linkat.c (linkat): Likewise.
10024 * io/lseek.c (__libc_lseek): Likewise.
10025 * io/mkdir.c (__mkdir): Likewise.
10026 * io/mkdirat.c (mkdirat): Likewise.
10027 * io/mkfifo.c (mkfifo): Likewise.
10028 * io/mkfifoat.c (mkfifoat): Likewise.
10029 * io/open.c (__libc_open): Likewise.
10030 * io/open64.c (__libc_open64): Likewise.
10031 * io/readlink.c (__readlink): Likewise.
10032 * io/readlinkat.c (readlinkat): Likewise.
10033 * io/rmdir.c (__rmdir): Likewise.
10034 * io/symlink.c (__symlink): Likewise.
10035 * io/symlinkat.c (symlinkat): Likewise.
10036 * io/ttyname.c (ttyname): Likewise.
10037 * io/ttyname_r.c (__ttyname_r): Likewise.
10038 * io/umask.c (__umask): Likewise.
10039 * io/unlink.c (__unlink): Likewise.
10040 * io/unlinkat.c (unlinkat): Likewise.
10041 * io/utime.c (utime): Likewise.
10042 * libio/clearerr.c (clearerr): Likewise.
10043 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10044 * libio/feof.c (_IO_feof): Likewise.
10045 * libio/feof_u.c (feof_unlocked): Likewise.
10046 * libio/ferror.c (_IO_ferror): Likewise.
10047 * libio/ferror_u.c (ferror_unlocked): Likewise.
10048 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10049 * libio/fileno.c (__fileno): Likewise.
10050 * libio/fputc.c (fputc): Likewise.
10051 * libio/fputc_u.c (fputc_unlocked): Likewise.
10052 * libio/fputwc.c (fputwc): Likewise.
10053 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10054 * libio/freopen.c (freopen): Likewise.
10055 * libio/freopen64.c (freopen64): Likewise.
10056 * libio/fseek.c (fseek): Likewise.
10057 * libio/fseeko.c (fseeko): Likewise.
10058 * libio/fseeko64.c (fseeko64): Likewise.
10059 * libio/ftello.c (__ftello): Likewise.
10060 * libio/ftello64.c (ftello64): Likewise.
10061 * libio/fwide.c (fwide): Likewise.
10062 * libio/genops.c (_IO_un_link): Likewise.
10063 (_IO_link_in): Likewise.
10064 (_IO_least_marker): Likewise.
10065 (_IO_switch_to_main_get_area): Likewise.
10066 (_IO_switch_to_backup_area): Likewise.
10067 (_IO_switch_to_get_mode): Likewise.
10068 (_IO_free_backup_area): Likewise.
10069 (_IO_switch_to_put_mode): Likewise.
10070 (__overflow): Likewise.
10071 (__underflow): Likewise.
10072 (__uflow): Likewise.
10073 (_IO_setb): Likewise.
10074 (_IO_doallocbuf): Likewise.
10075 (_IO_default_underflow): Likewise.
10076 (_IO_default_uflow): Likewise.
10077 (_IO_default_xsputn): Likewise.
10078 (_IO_sgetn): Likewise.
10079 (_IO_default_xsgetn): Likewise.
10080 (_IO_sync): Likewise.
10081 (_IO_default_setbuf): Likewise.
10082 (_IO_default_seekpos): Likewise.
10083 (_IO_default_doallocate): Likewise.
10084 (_IO_init): Likewise.
10085 (_IO_old_init): Likewise.
10086 (_IO_default_sync): Likewise.
10087 (_IO_default_finish): Likewise.
10088 (_IO_default_seekoff): Likewise.
10089 (_IO_sputbackc): Likewise.
10090 (_IO_sungetc): Likewise.
10091 (_IO_set_column): Likewise.
10092 (_IO_set_column): Likewise.
10093 (_IO_adjust_column): Likewise.
10094 (_IO_get_column): Likewise.
10095 (_IO_init_marker): Likewise.
10096 (_IO_remove_marker): Likewise.
10097 (_IO_marker_difference): Likewise.
10098 (_IO_marker_delta): Likewise.
10099 (_IO_seekmark): Likewise.
10100 (_IO_unsave_markers): Likewise.
10101 (_IO_nobackup_pbackfail): Likewise.
10102 (_IO_default_pbackfail): Likewise.
10103 (_IO_default_seek): Likewise.
10104 (_IO_default_stat): Likewise.
10105 (_IO_default_read): Likewise.
10106 (_IO_default_write): Likewise.
10107 (_IO_default_showmanyc): Likewise.
10108 (_IO_default_imbue): Likewise.
10109 (_IO_iter_next): Likewise.
10110 (_IO_iter_file): Likewise.
10111 * libio/getc.c (_IO_getc): Likewise.
10112 * libio/getwc.c (_IO_getwc): Likewise.
10113 * libio/iofclose.c (_IO_new_fclose): Likewise.
10114 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10115 * libio/iofflush.c (_IO_fflush): Likewise.
10116 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10117 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10118 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10119 * libio/iofgets.c (_IO_fgets): Likewise.
10120 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10121 * libio/iofgetws.c (fgetws): Likewise.
10122 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10123 * libio/iofopen64.c (_IO_fopen64): Likewise.
10124 * libio/iofopncook.c (_IO_cookie_read): Likewise.
10125 (_IO_cookie_write): Likewise.
10126 (_IO_cookie_seek): Likewise.
10127 (_IO_cookie_close): Likewise.
10128 (_IO_cookie_seekoff): Likewise.
10129 (_IO_old_cookie_seek): Likewise.
10130 * libio/iofputs.c (_IO_fputs): Likewise.
10131 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10132 * libio/iofputws.c (fputws): Likewise.
10133 * libio/iofputws_u.c (fputws_unlocked): Likewise.
10134 * libio/iofread.c (_IO_fread): Likewise.
10135 * libio/iofread_u.c (__fread_unlocked): Likewise.
10136 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10137 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10138 * libio/ioftell.c (_IO_ftell): Likewise.
10139 * libio/iofwrite.c (_IO_fwrite): Likewise.
10140 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10141 * libio/iogets.c (_IO_gets): Likewise.
10142 * libio/iopadn.c (_IO_padn): Likewise.
10143 * libio/iopopen.c (_IO_new_proc_open): Likewise.
10144 (_IO_new_popen): Likewise.
10145 (_IO_new_proc_close): Likewise.
10146 * libio/ioputs.c (_IO_puts): Likewise.
10147 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10148 (_IO_seekoff): Likewise.
10149 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10150 (_IO_seekpos): Likewise.
10151 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10152 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10153 * libio/ioungetc.c (_IO_ungetc): Likewise.
10154 * libio/ioungetwc.c (ungetwc): Likewise.
10155 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10156 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10157 * libio/iowpadn.c (_IO_wpadn): Likewise.
10158 * libio/libc_fatal.c (__libc_fatal): Likewise.
10159 * libio/memstream.c (__open_memstream): Likewise.
10160 (_IO_mem_sync): Likewise.
10161 (_IO_mem_finish): Likewise.
10162 * libio/oldfileops.c (_IO_old_file_init): Likewise.
10163 (_IO_old_file_close_it): Likewise.
10164 (_IO_old_file_finish): Likewise.
10165 (_IO_old_file_fopen): Likewise.
10166 (_IO_old_file_attach): Likewise.
10167 (_IO_old_file_setbuf): Likewise.
10168 (_IO_old_do_write): Likewise.
10169 (old_do_write): Likewise.
10170 (_IO_old_file_underflow): Likewise.
10171 (_IO_old_file_overflow): Likewise.
10172 (_IO_old_file_sync): Likewise.
10173 (_IO_old_file_seekoff): Likewise.
10174 (_IO_old_file_write): Likewise.
10175 (_IO_old_file_xsputn): Likewise.
10176 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10177 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10178 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10179 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10180 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10181 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10182 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10183 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10184 (_IO_old_popen): Likewise.
10185 (_IO_old_proc_close): Likewise.
10186 * libio/oldpclose.c (__old_pclose): Likewise.
10187 * libio/pclose.c (__new_pclose): Likewise.
10188 * libio/peekc.c (_IO_peekc_locked): Likewise.
10189 * libio/putc.c (_IO_putc): Likewise.
10190 * libio/putc_u.c (putc_unlocked): Likewise.
10191 * libio/putchar.c (putchar): Likewise.
10192 * libio/putchar_u.c (putchar_unlocked): Likewise.
10193 * libio/putwc.c (putwc): Likewise.
10194 * libio/putwc_u.c (putwc_unlocked): Likewise.
10195 * libio/putwchar.c (putwchar): Likewise.
10196 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10197 * libio/rewind.c (rewind): Likewise.
10198 * libio/setbuf.c (setbuf): Likewise.
10199 * libio/setlinebuf.c (setlinebuf): Likewise.
10200 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10201 * libio/vscanf.c (_IO_vscanf): Likewise.
10202 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10203 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10204 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10205 * libio/wgenops.c (_IO_least_wmarker): Likewise.
10206 (_IO_switch_to_main_wget_area): Likewise.
10207 (_IO_switch_to_wbackup_area): Likewise.
10208 (_IO_wsetb): Likewise.
10209 (_IO_wdefault_pbackfail): Likewise.
10210 (_IO_wdefault_finish): Likewise.
10211 (_IO_wdefault_uflow): Likewise.
10212 (__woverflow): Likewise.
10213 (__wuflow): Likewise.
10214 (__wunderflow): Likewise.
10215 (_IO_wdefault_xsputn): Likewise.
10216 (_IO_wdefault_xsgetn): Likewise.
10217 (_IO_wdoallocbuf): Likewise.
10218 (_IO_wdefault_doallocate): Likewise.
10219 (_IO_switch_to_wget_mode): Likewise.
10220 (_IO_free_wbackup_area): Likewise.
10221 (_IO_switch_to_wput_mode): Likewise.
10222 (_IO_sputbackwc): Likewise.
10223 (_IO_sungetwc): Likewise.
10224 (_IO_adjust_wcolumn): Likewise.
10225 (_IO_init_wmarker): Likewise.
10226 (_IO_wmarker_delta): Likewise.
10227 (_IO_seekwmark): Likewise.
10228 (_IO_unsave_wmarkers): Likewise.
10229 * libio/wmemstream.c (open_wmemstream): Likewise.
10230 (_IO_wmem_sync): Likewise.
10231 (_IO_wmem_finish): Likewise.
10232 * locale/nl_langinfo.c (nl_langinfo): Likewise.
10233 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10234 * locale/programs/simple-hash.c (init_hash): Likewise.
10235 (delete_hash): Likewise.
10236 (insert_entry): Likewise.
10237 (set_entry): Likewise.
10238 (next_prime): Likewise.
10239 (is_prime): Likewise.
10240 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10241 (xmalloc): Likewise.
10242 (xrealloc): Likewise.
10243 * locale/programs/xstrdup.c (xstrdup): Likewise.
10244 * localedata/collate-test.c (xstrcoll): Likewise.
10245 * localedata/xfrm-test.c (xstrcmp): Likewise.
10246 * login/getlogin_r.c (__getlogin_r): Likewise.
10247 * login/getpt.c (__posix_openpt): Likewise.
10248 * login/login_tty.c (login_tty): Likewise.
10249 * login/setlogin.c (setlogin): Likewise.
10250 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10251 (mach_msg_destroy_port): Likewise.
10252 (mach_msg_destroy_memory): Likewise.
10253 * malloc/mcheck.c (flood): Likewise.
10254 * misc/acct.c (acct): Likewise.
10255 * misc/brk.c (__brk): Likewise.
10256 * misc/chflags.c (chflags): Likewise.
10257 * misc/chroot.c (chroot): Likewise.
10258 * misc/fchflags.c (fchflags): Likewise.
10259 * misc/fstab.c (getfsspec): Likewise.
10260 (getfsfile): Likewise.
10261 * misc/fsync.c (fsync): Likewise.
10262 * misc/ftruncate.c (__ftruncate): Likewise.
10263 * misc/ftruncate64.c (__ftruncate64): Likewise.
10264 * misc/getdomain.c (getdomainname): Likewise.
10265 (getdomainname): Likewise.
10266 * misc/gethostname.c (__gethostname): Likewise.
10267 * misc/getpass.c (getpass): Likewise.
10268 * misc/getttyent.c (skip): Likewise.
10269 (value): Likewise.
10270 * misc/gtty.c (gtty): Likewise.
10271 * misc/hsearch.c (hsearch): Likewise.
10272 (hcreate): Likewise.
10273 * misc/hsearch_r.c (__hcreate_r): Likewise.
10274 (__hdestroy_r): Likewise.
10275 * misc/ioctl.c (__ioctl): Likewise.
10276 * misc/mkdtemp.c (mkdtemp): Likewise.
10277 * misc/mkostemp.c (mkostemp): Likewise.
10278 * misc/mkostemp64.c (mkostemp64): Likewise.
10279 * misc/mkostemps.c (mkostemps): Likewise.
10280 * misc/mkostemps64.c (mkostemps64): Likewise.
10281 * misc/mkstemp.c (mkstemp): Likewise.
10282 * misc/mkstemp64.c (mkstemp64): Likewise.
10283 * misc/mkstemps.c (mkstemps): Likewise.
10284 * misc/mkstemps64.c (mkstemps64): Likewise.
10285 * misc/mktemp.c (__mktemp): Likewise.
10286 * misc/preadv.c (preadv): Likewise.
10287 * misc/preadv64.c (preadv64): Likewise.
10288 * misc/pwritev.c (pwritev): Likewise.
10289 * misc/pwritev64.c (pwritev64): Likewise.
10290 * misc/readv.c (__readv): Likewise.
10291 * misc/revoke.c (revoke): Likewise.
10292 * misc/setdomain.c (setdomainname): Likewise.
10293 * misc/setegid.c (setegid): Likewise.
10294 * misc/seteuid.c (seteuid): Likewise.
10295 * misc/sethostid.c (sethostid): Likewise.
10296 * misc/sethostname.c (sethostname): Likewise.
10297 * misc/setregid.c (__setregid): Likewise.
10298 * misc/setreuid.c (__setreuid): Likewise.
10299 * misc/sstk.c (sstk): Likewise.
10300 * misc/stty.c (stty): Likewise.
10301 * misc/syscall.c (syscall): Likewise.
10302 * misc/syslog.c (setlogmask): Likewise.
10303 * misc/truncate.c (__truncate): Likewise.
10304 * misc/truncate64.c (truncate64): Likewise.
10305 * misc/ualarm.c (ualarm): Likewise.
10306 * misc/usleep.c (usleep): Likewise.
10307 * misc/ustat.c (ustat): Likewise.
10308 * misc/writev.c (__writev): Likewise.
10309 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10310 * nptl/old_pthread_cond_broadcast.c
10311 (__pthread_cond_broadcast_2_0): Likewise.
10312 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10313 Likewise.
10314 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10315 Likewise.
10316 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10317 Likewise.
10318 * nptl/pt-raise.c (raise): Likewise.
10319 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10320 Likewise.
10321 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10322 * nptl/pthread_barrierattr_destroy.c
10323 (pthread_barrierattr_destroy): Likewise.
10324 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10325 Likewise.
10326 * nptl/pthread_barrierattr_setpshared.c
10327 (pthread_barrierattr_setpshared): Likewise.
10328 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10329 Likewise.
10330 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10331 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10332 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10333 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10334 Likewise.
10335 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10336 Likewise.
10337 * nptl/pthread_condattr_getpshared.c
10338 (pthread_condattr_getpshared): Likewise.
10339 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10340 Likewise.
10341 * nptl/pthread_condattr_setpshared.c
10342 (pthread_condattr_setpshared): Likewise.
10343 * nptl/pthread_detach.c (pthread_detach): Likewise.
10344 * nptl/pthread_equal.c (__pthread_equal): Likewise.
10345 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10346 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10347 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10348 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10349 Likewise.
10350 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10351 Likewise.
10352 * nptl/pthread_mutex_getprioceiling.c
10353 (pthread_mutex_getprioceiling): Likewise.
10354 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10355 Likewise.
10356 * nptl/pthread_mutexattr_getprotocol.c
10357 (pthread_mutexattr_getprotocol): Likewise.
10358 * nptl/pthread_mutexattr_getpshared.c
10359 (pthread_mutexattr_getpshared): Likewise.
10360 * nptl/pthread_mutexattr_getrobust.c
10361 (pthread_mutexattr_getrobust): Likewise.
10362 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10363 Likewise.
10364 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10365 Likewise.
10366 * nptl/pthread_mutexattr_setprioceiling.c
10367 (pthread_mutexattr_setprioceiling): Likewise.
10368 * nptl/pthread_mutexattr_setprotocol.c
10369 (pthread_mutexattr_setprotocol): Likewise.
10370 * nptl/pthread_mutexattr_setpshared.c
10371 (pthread_mutexattr_setpshared): Likewise.
10372 * nptl/pthread_mutexattr_setrobust.c
10373 (pthread_mutexattr_setrobust): Likewise.
10374 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10375 Likewise.
10376 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10377 Likewise.
10378 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10379 Likewise.
10380 * nptl/pthread_rwlockattr_getkind_np.c
10381 (pthread_rwlockattr_getkind_np): Likewise.
10382 * nptl/pthread_rwlockattr_getpshared.c
10383 (pthread_rwlockattr_getpshared): Likewise.
10384 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10385 Likewise.
10386 * nptl/pthread_rwlockattr_setkind_np.c
10387 (pthread_rwlockattr_setkind_np): Likewise.
10388 * nptl/pthread_rwlockattr_setpshared.c
10389 (pthread_rwlockattr_setpshared): Likewise.
10390 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10391 Likewise.
10392 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10393 Likewise.
10394 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10395 Likewise.
10396 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10397 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10398 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10399 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10400 * nptl/sem_close.c (sem_close): Likewise.
10401 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10402 * nptl/sem_init.c (__old_sem_init): Likewise.
10403 * nptl/sigaction.c (__sigaction): Likewise.
10404 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10405 * posix/_exit.c (_exit): Likewise.
10406 * posix/alarm.c (alarm): Likewise.
10407 * posix/confstr.c (confstr): Likewise.
10408 * posix/fpathconf.c (__fpathconf): Likewise.
10409 * posix/getgroups.c (__getgroups): Likewise.
10410 * posix/getpgid.c (__getpgid): Likewise.
10411 * posix/group_member.c (__group_member): Likewise.
10412 * posix/pathconf.c (__pathconf): Likewise.
10413 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10414 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10415 * posix/setgid.c (__setgid): Likewise.
10416 * posix/setpgid.c (__setpgid): Likewise.
10417 * posix/setuid.c (__setuid): Likewise.
10418 * posix/sleep.c (__sleep): Likewise.
10419 * posix/sysconf.c (__sysconf): Likewise.
10420 * posix/times.c (__times): Likewise.
10421 * posix/uname.c (__uname): Likewise.
10422 * posix/waitid.c (__waitid): Likewise.
10423 * pwd/getpw.c (__getpw): Likewise.
10424 * resolv/base64.c (b64_pton): Likewise.
10425 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10426 * resolv/gethnamaddr.c (Dprintf): Likewise.
10427 (gethostbyname): Likewise.
10428 (gethostbyname2): Likewise.
10429 (gethostbyaddr): Likewise.
10430 (_sethtent): Likewise.
10431 (_gethtbyname): Likewise.
10432 (_gethtbyname2): Likewise.
10433 (_gethtbyaddr): Likewise.
10434 (map_v4v6_address): Likewise.
10435 (map_v4v6_hostent): Likewise.
10436 (addrsort): Likewise.
10437 (ht_sethostent): Likewise.
10438 (ht_gethostbyname): Likewise.
10439 (ht_gethostbyaddr): Likewise.
10440 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10441 (inet_net_ntop_ipv4): Likewise.
10442 * resolv/inet_neta.c (inet_neta): Likewise.
10443 * resolv/inet_ntop.c (inet_ntop): Likewise.
10444 (inet_ntop4): Likewise.
10445 (inet_ntop6): Likewise.
10446 * resolv/inet_pton.c (__inet_pton): Likewise.
10447 (inet_pton4): Likewise.
10448 (inet_pton6): Likewise.
10449 * resolv/res_debug.c (loc_aton): Likewise.
10450 (loc_ntoa): Likewise.
10451 * resource/getpriority.c (__getpriority): Likewise.
10452 * resource/getrusage.c (__getrusage): Likewise.
10453 * resource/nice.c (nice): Likewise.
10454 * resource/setpriority.c (__setpriority): Likewise.
10455 * resource/setrlimit64.c (setrlimit64): Likewise.
10456 * resource/vlimit.c (vlimit): Likewise.
10457 * resource/vtimes.c (vtimes): Likewise.
10458 * rt/aio_error.c (aio_error): Likewise.
10459 * rt/aio_return.c (aio_return): Likewise.
10460 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10461 * signal/kill.c (__kill): Likewise.
10462 * signal/killpg.c (killpg): Likewise.
10463 * signal/raise.c (raise): Likewise.
10464 * signal/sigaction.c (__sigaction): Likewise.
10465 * signal/sigaddset.c (sigaddset): Likewise.
10466 * signal/sigaltstack.c (sigaltstack): Likewise.
10467 * signal/sigandset.c (sigandset): Likewise.
10468 * signal/sigblock.c (__sigblock): Likewise.
10469 * signal/sigdelset.c (sigdelset): Likewise.
10470 * signal/sigempty.c (sigemptyset): Likewise.
10471 * signal/sigfillset.c (sigfillset): Likewise.
10472 * signal/sighold.c (sighold): Likewise.
10473 * signal/sigignore.c (sigignore): Likewise.
10474 * signal/sigintr.c (siginterrupt): Likewise.
10475 * signal/sigisempty.c (sigisemptyset): Likewise.
10476 * signal/sigismem.c (sigismember): Likewise.
10477 * signal/signal.c (signal): Likewise.
10478 * signal/sigorset.c (sigorset): Likewise.
10479 * signal/sigpause.c (__sigpause): Likewise.
10480 * signal/sigpending.c (sigpending): Likewise.
10481 * signal/sigprocmask.c (__sigprocmask): Likewise.
10482 * signal/sigrelse.c (sigrelse): Likewise.
10483 * signal/sigreturn.c (__sigreturn): Likewise.
10484 * signal/sigset.c (sigset): Likewise.
10485 * signal/sigsetmask.c (__sigsetmask): Likewise.
10486 * signal/sigstack.c (sigstack): Likewise.
10487 * signal/sigsuspend.c (__sigsuspend): Likewise.
10488 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10489 * signal/sysv_signal.c (__sysv_signal): Likewise.
10490 * socket/accept.c (accept): Likewise.
10491 * socket/accept4.c (__libc_accept4): Likewise.
10492 * socket/bind.c (__bind): Likewise.
10493 * socket/connect.c (__connect): Likewise.
10494 * socket/getpeername.c (getpeername): Likewise.
10495 * socket/getsockname.c (__getsockname): Likewise.
10496 * socket/getsockopt.c (getsockopt): Likewise.
10497 * socket/listen.c (__listen): Likewise.
10498 * socket/recv.c (__recv): Likewise.
10499 * socket/recvmsg.c (__recvmsg): Likewise.
10500 * socket/send.c (__send): Likewise.
10501 * socket/sendmsg.c (__sendmsg): Likewise.
10502 * socket/shutdown.c (shutdown): Likewise.
10503 * socket/sockatmark.c (sockatmark): Likewise.
10504 * socket/socket.c (__socket): Likewise.
10505 * stdio-common/ctermid.c (ctermid): Likewise.
10506 * stdio-common/cuserid.c (cuserid): Likewise.
10507 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10508 * stdio-common/remove.c (remove): Likewise.
10509 * stdio-common/rename.c (rename): Likewise.
10510 * stdio-common/renameat.c (renameat): Likewise.
10511 * stdio-common/tempname.c (__gen_tempname): Likewise.
10512 * stdio-common/xbug.c (InitBuffer): Likewise.
10513 (AppendToBuffer): Likewise.
10514 (ReadFile): Likewise.
10515 * stdlib/a64l.c (a64l): Likewise.
10516 * stdlib/drand48_r.c (drand48_r): Likewise.
10517 * stdlib/getcontext.c (getcontext): Likewise.
10518 * stdlib/getenv.c (getenv): Likewise.
10519 * stdlib/l64a.c (l64a): Likewise.
10520 * stdlib/llabs.c (llabs): Likewise.
10521 * stdlib/lldiv.c (lldiv): Likewise.
10522 * stdlib/lrand48_r.c (lrand48_r): Likewise.
10523 * stdlib/mrand48_r.c (mrand48_r): Likewise.
10524 * stdlib/putenv.c (putenv): Likewise.
10525 * stdlib/random.c (__srandom): Likewise.
10526 (__initstate): Likewise.
10527 (__setstate): Likewise.
10528 * stdlib/random_r.c (__srandom_r): Likewise.
10529 (__setstate_r): Likewise.
10530 (__random_r): Likewise.
10531 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10532 * stdlib/setcontext.c (setcontext): Likewise.
10533 * stdlib/setenv.c (setenv): Likewise.
10534 (unsetenv): Likewise.
10535 * stdlib/srand48.c (srand48): Likewise.
10536 * stdlib/srand48_r.c (__srand48_r): Likewise.
10537 * stdlib/swapcontext.c (swapcontext): Likewise.
10538 * stdlib/system.c (__libc_system): Likewise.
10539 * stdlib/tst-strtod.c (expand): Likewise.
10540 * stdlib/tst-strtol.c (expand): Likewise.
10541 * stdlib/tst-strtoll.c (expand): Likewise.
10542 * streams/fattach.c (fattach): Likewise.
10543 * streams/fdetach.c (fdetach): Likewise.
10544 * streams/getmsg.c (getmsg): Likewise.
10545 * streams/isastream.c (isastream): Likewise.
10546 * string/ffs.c (__ffs): Likewise.
10547 * string/ffsll.c (ffsll): Likewise.
10548 * string/memcmp.c (memcmp_common_alignment): Likewise.
10549 (memcmp_not_common_alignment): Likewise.
10550 (MEMCMP): Likewise.
10551 * string/memcpy.c (memcpy): Likewise.
10552 * string/memmove.c (MEMMOVE): Likewise.
10553 * string/memset.c (memset): Likewise.
10554 * string/rawmemchr.c (RAWMEMCHR): Likewise.
10555 * string/strchrnul.c (STRCHRNUL): Likewise.
10556 * string/strerror.c (strerror): Likewise.
10557 * string/strndup.c (__strndup): Likewise.
10558 * string/strverscmp.c (__strverscmp): Likewise.
10559 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10560 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10561 (clnttcp_freeres): Likewise.
10562 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10563 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10564 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10565 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10566 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10567 (xdr_callhdr): Likewise.
10568 * sunrpc/rpcinfo.c (udpping): Likewise.
10569 (tcpping): Likewise.
10570 (pstatus): Likewise.
10571 (pmapdump): Likewise.
10572 (brdcst): Likewise.
10573 (deletereg): Likewise.
10574 (getprognum): Likewise.
10575 (getvers): Likewise.
10576 (get_inet_address): Likewise.
10577 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10578 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10579 (svcudp_stat): Likewise.
10580 (svcudp_recv): Likewise.
10581 (svcudp_reply): Likewise.
10582 (svcudp_getargs): Likewise.
10583 (svcudp_freeargs): Likewise.
10584 (svcudp_destroy): Likewise.
10585 * sunrpc/xdr.c (xdr_bytes): Likewise.
10586 (xdr_netobj): Likewise.
10587 (xdr_string): Likewise.
10588 (xdr_wrapstring): Likewise.
10589 * sunrpc/xdr_float.c (xdr_float): Likewise.
10590 (xdr_double): Likewise.
10591 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10592 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10593 * sysvipc/ftok.c (ftok): Likewise.
10594 * sysvipc/msgctl.c (msgctl): Likewise.
10595 * sysvipc/msgget.c (msgget): Likewise.
10596 * sysvipc/msgrcv.c (msgrcv): Likewise.
10597 * sysvipc/msgsnd.c (msgsnd): Likewise.
10598 * sysvipc/semget.c (semget): Likewise.
10599 * sysvipc/semop.c (semop): Likewise.
10600 * sysvipc/shmat.c (shmat): Likewise.
10601 * sysvipc/shmctl.c (shmctl): Likewise.
10602 * sysvipc/shmdt.c (shmdt): Likewise.
10603 * sysvipc/shmget.c (shmget): Likewise.
10604 * termios/cfmakeraw.c (cfmakeraw): Likewise.
10605 * termios/speed.c (cfgetospeed): Likewise.
10606 (cfgetispeed): Likewise.
10607 (cfsetospeed): Likewise.
10608 (cfsetispeed): Likewise.
10609 * termios/tcflow.c (tcflow): Likewise.
10610 * termios/tcflush.c (tcflush): Likewise.
10611 * termios/tcgetattr.c (__tcgetattr): Likewise.
10612 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10613 * termios/tcgetsid.c (tcgetsid): Likewise.
10614 * termios/tcsendbrk.c (tcsendbreak): Likewise.
10615 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10616 * time/adjtime.c (__adjtime): Likewise.
10617 * time/dysize.c (dysize): Likewise.
10618 * time/ftime.c (ftime): Likewise.
10619 * time/getitimer.c (__getitimer): Likewise.
10620 * time/gettimeofday.c (__gettimeofday): Likewise.
10621 * time/gmtime.c (__gmtime_r): Likewise.
10622 (gmtime): Likewise.
10623 * time/localtime.c (__localtime_r): Likewise.
10624 (localtime): Likewise.
10625 * time/offtime.c (__offtime): Likewise.
10626 * time/settimeofday.c (__settimeofday): Likewise.
10627 * time/stime.c (stime): Likewise.
10628 * time/strftime_l.c (tm_diff): Likewise.
10629 (iso_week_days): Likewise.
10630 * time/strptime.c (strptime): Likewise.
10631 * time/time.c (time): Likewise.
10632 * time/timespec_get.c (timespec_get): Likewise.
10633 * time/tzset.c (tzset_internal): Likewise.
10634 (compute_change): Likewise.
10635 (__tz_compute): Likewise.
10636 * wcsmbs/btowc.c (__btowc): Likewise.
10637 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10638 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10639 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10640 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10641 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10642 * wcsmbs/wcscat.c (__wcscat): Likewise.
10643 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10644 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10645 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10646 * wcsmbs/wcscspn.c (wcscspn): Likewise.
10647 * wcsmbs/wcsdup.c (wcsdup): Likewise.
10648 * wcsmbs/wcslen.c (__wcslen): Likewise.
10649 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10650 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10651 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10652 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10653 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10654 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10655 * wcsmbs/wcsspn.c (wcsspn): Likewise.
10656 * wcsmbs/wcsstr.c (wcsstr): Likewise.
10657 * wcsmbs/wcstok.c (wcstok): Likewise.
10658 * wcsmbs/wctob.c (wctob): Likewise.
10659 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10660 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10661 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10662 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10663 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10664 * wcsmbs/wmemset.c (__wmemset): Likewise.
10665 * wctype/wcfuncs.c (__towlower): Likewise.
10666 (__towupper): Likewise.
10667
10668 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10669 (lll_unlock_elision): Add adapt_count parameter.
10670
10671 2015-10-15 Joseph Myers <joseph@codesourcery.com>
10672
10673 * sysdeps/nptl/configure.ac: Do not give errors based on the
10674 results of top-level configure tests.
10675 * sysdeps/nptl/configure: Regenerated.
10676
10677 * configure.ac (libc_cv_Bgroup): Remove configure test.
10678 * configure: Regenerated.
10679 * config.make.in (have-Bgroup): Remove variable.
10680
10681 * configure.ac (sizeof_long_double): Remove configure test.
10682 * configure: Regenerated.
10683 * config.make.in (sizeof-long-double): Remove variable.
10684
10685 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10686 * configure: Regenerated.
10687 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10688 variable.
10689 (exceptions): Likewise.
10690 * sysdeps/arm/configure: Regenerated.
10691 * config.make.in (exceptions): Remove variable.
10692 * Makeconfig (uses-callbacks): Use -fexceptions instead of
10693 $(exceptions).
10694 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10695 (CFLAGS-vdprintf_chk.c): Likewise.
10696 (CFLAGS-printf_chk.c): Likewise.
10697 (CFLAGS-fprintf_chk.c): Likewise.
10698 (CFLAGS-vprintf_chk.c): Likewise.
10699 (CFLAGS-vfprintf_chk.c): Likewise.
10700 (CFLAGS-gets_chk.c): Likewise.
10701 (CFLAGS-fgets_chk.c): Likewise.
10702 (CFLAGS-fgets_u_chk.c): Likewise.
10703 (CFLAGS-fread_chk.c): Likewise.
10704 (CFLAGS-fread_u_chk.c): Likewise.
10705 (CFLAGS-wprintf_chk.c): Likewise.
10706 (CFLAGS-fwprintf_chk.c): Likewise.
10707 (CFLAGS-vwprintf_chk.c): Likewise.
10708 (CFLAGS-vfwprintf_chk.c): Likewise.
10709 (CFLAGS-fgetws_chk.c): Likewise.
10710 (CFLAGS-fgetws_u_chk.c): Likewise.
10711 * libio/Makefile (CFLAGS-fileops.c): Likewise.
10712 (CFLAGS-fputc.c): Likewise.
10713 (CFLAGS-fputwc.c): Likewise.
10714 (CFLAGS-freopen64.c): Likewise.
10715 (CFLAGS-freopen.c): Likewise.
10716 (CFLAGS-fseek.c): Likewise.
10717 (CFLAGS-fseeko64.c): Likewise.
10718 (CFLAGS-fseeko.c): Likewise.
10719 (CFLAGS-ftello64.c): Likewise.
10720 (CFLAGS-ftello.c): Likewise.
10721 (CFLAGS-fwide.c): Likewise.
10722 (CFLAGS-genops.c): Likewise.
10723 (CFLAGS-getc.c): Likewise.
10724 (CFLAGS-getchar.c): Likewise.
10725 (CFLAGS-getwc.c): Likewise.
10726 (CFLAGS-getwchar.c): Likewise.
10727 (CFLAGS-iofclose.c): Likewise.
10728 (CFLAGS-iofflush.c): Likewise.
10729 (CFLAGS-iofgetpos64.c): Likewise.
10730 (CFLAGS-iofgetpos.c): Likewise.
10731 (CFLAGS-iofgets.c): Likewise.
10732 (CFLAGS-iofgetws.c): Likewise.
10733 (CFLAGS-iofputs.c): Likewise.
10734 (CFLAGS-iofputws.c): Likewise.
10735 (CFLAGS-iofread.c): Likewise.
10736 (CFLAGS-iofsetpos64.c): Likewise.
10737 (CFLAGS-iofsetpos.c): Likewise.
10738 (CFLAGS-ioftell.c): Likewise.
10739 (CFLAGS-iofwrite.c): Likewise.
10740 (CFLAGS-iogetdelim.c): Likewise.
10741 (CFLAGS-iogetline.c): Likewise.
10742 (CFLAGS-iogets.c): Likewise.
10743 (CFLAGS-iogetwline.c): Likewise.
10744 (CFLAGS-ioputs.c): Likewise.
10745 (CFLAGS-ioseekoff.c): Likewise.
10746 (CFLAGS-ioseekpos.c): Likewise.
10747 (CFLAGS-iosetbuffer.c): Likewise.
10748 (CFLAGS-iosetvbuf.c): Likewise.
10749 (CFLAGS-ioungetc.c): Likewise.
10750 (CFLAGS-ioungetwc.c): Likewise.
10751 (CFLAGS-oldfileops.c): Likewise.
10752 (CFLAGS-oldiofclose.c): Likewise.
10753 (CFLAGS-oldiofgetpos64.c): Likewise.
10754 (CFLAGS-oldiofgetpos.c): Likewise.
10755 (CFLAGS-oldiofsetpos64.c): Likewise.
10756 (CFLAGS-oldiofsetpos.c): Likewise.
10757 (CFLAGS-peekc.c): Likewise.
10758 (CFLAGS-putc.c): Likewise.
10759 (CFLAGS-putchar.c): Likewise.
10760 (CFLAGS-putwc.c): Likewise.
10761 (CFLAGS-putwchar.c): Likewise.
10762 (CFLAGS-rewind.c): Likewise.
10763 (CFLAGS-wfileops.c): Likewise.
10764 (CFLAGS-wgenops.c): Likewise.
10765 (CFLAGS-oldiofopen.c): Likewise.
10766 (CFLAGS-iofopen.c): Likewise.
10767 (CFLAGS-iofopen64.c): Likewise.
10768 (CFLAGS-oldtmpfile.c): Likewise.
10769 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10770 (CFLAGS-fprintf.c): Likewise.
10771 (CFLAGS-printf.c): Likewise.
10772 (CFLAGS-vfwprintf.c): Likewise.
10773 (CFLAGS-vfscanf.c): Likewise.
10774 (CFLAGS-vfwscanf.c): Likewise.
10775 (CFLAGS-fscanf.c): Likewise.
10776 (CFLAGS-scanf.c): Likewise.
10777 (CFLAGS-isoc99_vfscanf.c): Likewise.
10778 (CFLAGS-isoc99_vscanf.c): Likewise.
10779 (CFLAGS-isoc99_fscanf.c): Likewise.
10780 (CFLAGS-isoc99_scanf.c): Likewise.
10781 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10782 (CFLAGS-isoc99_fwscanf.c): Likewise.
10783 (CFLAGS-isoc99_vwscanf.c): Likewise.
10784 (CFLAGS-isoc99_vfwscanf.c): Likewise.
10785
10786 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10787 after mkstemp64.
10788 * login/tst-utmp.c (do_prepare): Likewise.
10789 * rt/tst-aio.c (do_prepare): Likewise.
10790 * rt/tst-aio64.c (do_prepare): Likewise.
10791
10792 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10793
10794 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10795 (__lll_lock_elision): Remove adapt_count decrement...
10796 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10797 (__lll_trylock_elision): Likewise.
10798 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10799 (__lll_unlock_elision): ... to here. And utilize
10800 new adapt_count parameter.
10801 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10802 (__lll_unlock_elision): Update to include adapt_count
10803 parameter.
10804 (lll_unlock_elision): Pass pointer to adapt_count
10805 variable.
10806
10807 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10808
10809 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10810 Add elision adapt_count parameter to list of arguments.
10811 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10812 (lll_unlock_elision): Update with new parameter list
10813 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10814 (lll_unlock_elision): Likewise.
10815 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10816 (lll_unlock_elision): Likewise.
10817
10818 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10819
10820 [BZ #19122]
10821 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10822 attribute_hidden.
10823
10824 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10825 attribute_hidden.
10826 [IS_IN (rtld)] (__strdup): Likewise.
10827 [IS_IN (rtld)] (__strerror_r): Likewise.
10828 [IS_IN (rtld)] (__strsep_g): Likewise.
10829 [IS_IN (rtld)] (memchr): Likewise.
10830 [IS_IN (rtld)] (memcmp): Likewise.
10831 [IS_IN (rtld)] (memcpy): Likewise.
10832 [IS_IN (rtld)] (memmove): Likewise.
10833 [IS_IN (rtld)] (memset): Likewise.
10834 [IS_IN (rtld)] (rawmemchr): Likewise.
10835 [IS_IN (rtld)] (stpcpy): Likewise.
10836 [IS_IN (rtld)] (strchr): Likewise.
10837 [IS_IN (rtld)] (strcmp): Likewise.
10838 [IS_IN (rtld)] (strlen): Likewise.
10839 [IS_IN (rtld)] (strnlen): Likewise.
10840 [IS_IN (rtld)] (strsep): Likewise.
10841
10842 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10843 attribute_hidden.
10844 [IS_IN (rtld)] (__strtoul_internal): Likewise.
10845
10846 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10847 attribute_hidden.
10848 [IS_IN (rtld)] (__libc_sigaction): Likewise.
10849
10850 * include/setjmp.h (__longjmp): Add attribute_hidden.
10851 [IS_IN (rtld)] (__sigsetjmp): Likewise.
10852
10853 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10854 Add attribute_hidden.
10855
10856 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10857 [IS_IN (rtld)] (__open): Likewise.
10858 [IS_IN (rtld)] (__fcntl): Likewise.
10859
10860 * include/dirent.h (__opendirat): Add attribute_hidden.
10861 (__getdents): Likewise.
10862 (__getdents64): Likewise.
10863 (__alloc_dir): Likewise.
10864 [IS_IN (rtld)] (__closedir): Likewise.
10865 [IS_IN (rtld)] (__fdopendir): Likewise.
10866 [IS_IN (rtld)] (__readdir): Likewise.
10867 [IS_IN (rtld)] (__readdir64): Likewise.
10868 [IS_IN (rtld)] (__rewinddir): Likewise.
10869
10870 * include/dlfcn.h (_dl_catch_error): Moved to ...
10871 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10872 attribute_hidden.
10873
10874 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10875 (_itoa_word): Likewise.
10876
10877 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10878 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10879 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10880 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10881 (_dl_higher_prime_number): Likewise.
10882 (_dl_debug_printf_c): Likewise.
10883 (_dl_signal_cerror): Likewise.
10884 (_dl_receive_error): Likewise.
10885 (_dl_reloc_bad_type): Likewise.
10886 (_dl_resolve_conflicts): Likewise.
10887 (_dl_check_all_versions): Likewise.
10888 (_dl_check_map_versions): Likewise.
10889 (_dl_sort_fini): Likewise.
10890 (_dl_debug_initialize): Likewise.
10891 (_dl_init_paths): Likewise.
10892 (_dl_show_auxv): Likewise.
10893 (_dl_next_ld_env_entry): Likewise.
10894 (_dl_important_hwcaps): Likewise.
10895 (_dl_load_cache_lookup): Likewise.
10896 (_dl_update_slotinfo): Likewise.
10897 (_dl_show_scope): Likewise.
10898
10899 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10900 attribute_hidden.
10901 (_wordcopy_fwd_dest_aligned): Likewise.
10902 (_wordcopy_bwd_aligned): Likewise.
10903 (_wordcopy_bwd_dest_aligned): Likewise.
10904
10905 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10906 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10907 Likewise.
10908 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10909 Likewise.
10910 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10911
10912 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10913
10914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10915 GCC 5 requirement.
10916
10917 2015-10-15 Joseph Myers <joseph@codesourcery.com>
10918
10919 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10920 test.
10921 * sysdeps/i386/configure: Regenerated.
10922 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10923 code unconditional.
10924
10925 * configure.ac (libc_cv_asm_previous_directive): Remove configure
10926 test.
10927 (libc_cv_asm_popsection_directive): Likewise.
10928 * configure: Regenerated.
10929 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10930 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10931 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10932 (__make_section_unallocated): Make definition unconditional.
10933 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10934 Remove conditional definition.
10935 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10936 (__make_section_unallocated): Likewise.
10937
10938 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10939 * configure: Regenerated.
10940 * config.make.in (static-libgcc): Remove variable.
10941 * Makerules (build-shlib-helper): Use -static-libgcc instead of
10942 $(static-libgcc).
10943 (build-module-helper): Likewise.
10944
10945 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10946 * configure: Regenerated.
10947
10948 2015-10-15 Florian Weimer <fweimer@redhat.com>
10949
10950 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10951 (struct char_buffer): New type.
10952 (char_buffer_start, char_buffer_size, char_buffer_error)
10953 (char_buffer_rewind, char_buffer_add): New functions.
10954 (ADDW): Remove macro, replaced by the char_buffer_add function.
10955 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10956 of extend_alloca. Make control flow more explicit.
10957
10958 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10959
10960 [BZ #19137]
10961 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10962 Add -fomit-frame-pointer.
10963 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10964
10965 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10966
10967 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10968 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10969 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10970 only if !__GNUC_PREREQ (5,0).
10971 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10972 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10973 (INTERNAL_SYSCALL_NCS): Likewise.
10974 (LOADREGS_0): New macro for GCC 5.
10975 (ASMARGS_0): Likewise.
10976 (LOADREGS_1): Likewise.
10977 (ASMARGS_1): Likewise.
10978 (LOADREGS_2): Likewise.
10979 (ASMARGS_2): Likewise.
10980 (LOADREGS_3): Likewise.
10981 (ASMARGS_3): Likewise.
10982 (LOADREGS_4): Likewise.
10983 (ASMARGS_4): Likewise.
10984 (LOADREGS_5): Likewise.
10985 (ASMARGS_5): Likewise.
10986 (LOADREGS_6): Likewise.
10987 (ASMARGS_6): Likewise.
10988
10989 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10990
10991 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10992 -fomit-frame-pointer.
10993 (CFLAGS-mmap64.c): Likewise.
10994 (CFLAGS-semtimedop.c): Likewise.
10995 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10996 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10997 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10998 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10999
11000 2015-10-15 Florian Weimer <fweimer@redhat.com>
11001
11002 [BZ #18928]
11003 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11004 _dl_pointer_guard member.
11005 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11006 initializer.
11007 (security_init): Always set up pointer guard.
11008 (process_envvars): Do not process LD_POINTER_GUARD.
11009
11010 2015-10-14 Joseph Myers <joseph@codesourcery.com>
11011
11012 [BZ #19134]
11013 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11014 (.LC2): Likewise.
11015 (.LC3): Likewise.
11016 (__lround): Do not add 0.5 to integer or out-of-range arguments.
11017
11018 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
11019
11020 [BZ #19129]
11021 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11022 r0 and r1.
11023
11024 2015-10-14 Namhyung Kim <namhyung@gmail.com>
11025
11026 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11027
11028 2015-10-14 Carlos O'Donell <carlos@redhat.com>
11029
11030 * include/stap-probe.h: Fix macro definition formatting.
11031
11032 2015-10-14 Florian Weimer <fweimer@redhat.com>
11033
11034 [BZ #19074]
11035 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11036 load and store num_ifs.
11037
11038 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
11039
11040 [BZ #18822]
11041 * sysdeps/unix/sysv/linux/sched_getaffinity.c
11042 (__sched_getaffinity_new): Add libc_hidden_proto and
11043 libc_hidden_def.
11044
11045 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
11046
11047 [BZ #19007]
11048 * scripts/localplt.awk: Also allow GOT references.
11049 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11050 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11051 with "+ REL R_386_GLOB_DAT".
11052 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11053 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11054
11055 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
11056
11057 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11058 INLINE_SYSCALL_ERROR_RETURN_VALUE.
11059 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11060 Likewise.
11061 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11062 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11063 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11064 INTERNAL_SYSCALLINTERNAL_SYSCALL and
11065 INLINE_SYSCALL_ERROR_RETURN_VALUE.
11066 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11067 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11068 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11069 Likewise.
11070 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11071
11072 2015-10-13 Joseph Myers <joseph@codesourcery.com>
11073
11074 [BZ #19125]
11075 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11076 <math_private.h> and <stdint.h>.
11077 (__llround): Avoid conversions to and from long long int, and
11078 subtractions, where those might raise spurious exceptions.
11079 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11080 <math_private.h> and <stdint.h>.
11081 (__llroundf): Avoid conversions to and from long long int, and
11082 subtractions, where those might raise spurious exceptions.
11083
11084 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
11085
11086 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11087 INLINE_SYSCALL_ERROR_RETURN_VALUE.
11088 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11089 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11090 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11091 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11092 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11093 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11094 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11095 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11096 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11097 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11098 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11099 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11100 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11101 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11102 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11103 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11104 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11105 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11106 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11107 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11108 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11109 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11110 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11111 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11112 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11113 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11114 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11115 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11116 (__xstat64_conv): Likewise.
11117 (__xstat32_conv): Likewise.
11118
11119 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
11120
11121 * sysdeps/unix/sysv/linux/sysdep.h: New file.
11122 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11123 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11124 <sysdeps/unix/sysv/linux/sysdep.h>.
11125 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11126 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11127 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11128 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11129 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11130 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11131 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11132 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11133 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11138 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11139 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11141 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11142 (sysdep-dl-routines): Add sysdep.
11143 [$(subdir) == nptl] (libpthread-routines): Likewise.
11144 [$(subdir) == rt] (librt-routines): Likewise.
11145 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11146 PIC when branching to SYSCALL_ERROR_LABEL.
11147 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11148 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11149 <sysdeps/unix/sysv/linux/sysdep.h>.
11150 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11151 (SYSCALL_ERROR_ERRNO): Removed.
11152 (SYSCALL_ERROR_HANDLER): Changed to empty.
11153 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11154 (__syscall_error): New prototype.
11155 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11156 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11157
11158 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
11159
11160 [BZ #19124]
11161 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11162 (_dl_runtime_resolve_avx512): Make it a hidden alias of
11163 _dl_runtime_resolve_avx.
11164 (_dl_runtime_profile_avx512): Make it a hidden alias of
11165 _dl_runtime_profile_avx.
11166
11167 2015-10-13 Joseph Myers <joseph@codesourcery.com>
11168
11169 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11170 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11171 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11172 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11173
11174 [BZ #16422]
11175 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11176 New configure test.
11177 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11178 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11179 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11180 <math_private.h> and <stdint.h>.
11181 (__llrint): Avoid conversions to long long int where those might
11182 raise spurious exceptions.
11183 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11184 <math_private.h> and <stdint.h>.
11185 (__llrintf): Avoid conversions to long long int where those might
11186 raise spurious exceptions.
11187
11188 2015-10-12 Andreas Schwab <schwab@suse.de>
11189
11190 [BZ #18969]
11191 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
11192 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11193 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
11194 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11195 $(gen-locales).
11196 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
11197 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11198 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11199 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11200 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11201 $(gen-locales).
11202 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
11203 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11204 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11205 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11206 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11207 ($(objpfx)tst-ftell-active-handler.out)
11208 ($(objpfx)tst-ftell-append.out)
11209 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11210 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11211 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11212 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11213 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
11214 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11215 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11216 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11217 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11218 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11219 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11220 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11221 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11222 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11223 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11224 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11225 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11226 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11227 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
11228 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11229 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11230 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11231 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11232 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
11233 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11234 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11235 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11236 $(gen-locales).
11237 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
11238 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11239 $(gen-locales).
11240 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
11241 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11242 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11243 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11244 $(gen-locales).
11245 * libio/tst_wprintf2.c (main): Use explicit locale.
11246 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11247
11248 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11249
11250 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11251 __msg_sig_post.
11252 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11253
11254 2015-10-09 Joseph Myers <joseph@codesourcery.com>
11255
11256 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11257 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11258
11259 * sysdeps/arm/libm-test-ulps: Regenerated.
11260
11261 [BZ #15470]
11262 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11263
11264 [BZ #16399]
11265 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11266 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11267 and <fix-fp-int-convert-overflow.h>.
11268 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11269 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11270 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11271 and <fix-fp-int-convert-overflow.h>.
11272 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11273 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11274 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11275 <fix-fp-int-convert-overflow.h>.
11276 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11277 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11278 * sysdeps/ieee754/dbl-64/s_lround.c: Include
11279 <fix-fp-int-convert-overflow.h>.
11280 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11281 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11282 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11283 and <fix-fp-int-convert-overflow.h>.
11284 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11285 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11286 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11287 <limits.h> and <fix-fp-int-convert-overflow.h>.
11288 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11289 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11290 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11291 and <fix-fp-int-convert-overflow.h>.
11292 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11293 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11294 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11295 and <fix-fp-int-convert-overflow.h>.
11296 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11297 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11298 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11299
11300 2015-10-09 Carlos O'Donell <carlos@redhat.com>
11301
11302 [BZ #18589]
11303 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11304 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11305 $(gen-locales).
11306
11307 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11308 Phil Blundell <pb@pbcl.net>
11309
11310 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11311 * nptl/tst-cancel26.c: New file.
11312 * nptl/tst-cancel27.c: Likewise.
11313
11314 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
11315
11316 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11317 __ILP32__ isn't defined.
11318 (lrint): Likewise.
11319 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11320 (lrintf): Likewise.
11321 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11322 (lrintl): Likewise.
11323 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11324 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11325 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11326
11327 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11328
11329 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11330 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11331
11332 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11333 file.
11334 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11335 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11336
11337 2015-10-09 Joseph Myers <joseph@codesourcery.com>
11338
11339 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11340 configure test.
11341 * sysdeps/i386/configure: Regenerated.
11342 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11343 configure test.
11344 * sysdeps/x86_64/configure: Regenerated.
11345 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11346 Make code unconditional.
11347
11348 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11349 test.
11350 * sysdeps/i386/configure: Regenerated.
11351 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11352 test.
11353 * sysdeps/x86_64/configure: Regenerated.
11354 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11355 Make code unconditional.
11356 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11357 Likewise.
11358 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11359 Likewise.
11360 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11361 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11362 code unconditional.
11363 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11364 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11365 code unconditional.
11366 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11367 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11368 code unconditional.
11369 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11370 code unconditional.
11371 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11372 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11373 code unconditional.
11374 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11375 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11376 code unconditional.
11377 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11378 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11379 code unconditional.
11380 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11381 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11382 code unconditional.
11383 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11384 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11385
11386 [BZ #19095]
11387 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11388 mantissa to long int before shifting left.
11389
11390 2015-10-08 Joseph Myers <joseph@codesourcery.com>
11391
11392 [BZ #19094]
11393 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11394 <limits.h>.
11395 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11396 when result overflows but exception would not result from cast.
11397 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11398 <limits.h>.
11399 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11400 when result overflows but exception would not result from cast.
11401 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11402 <limits.h>.
11403 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11404 when result overflows but exception would not result from cast.
11405 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11406 <limits.h>.
11407 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11408 when result overflows but exception would not result from cast.
11409 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11410 <limits.h>.
11411 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11412 when result overflows but exception would not result from cast.
11413 * math/libm-test.inc (lrint_test_data): Add more tests.
11414 (llrint_test_data): Likewise.
11415
11416 2015-10-08 Roland McGrath <roland@hack.frob.com>
11417
11418 [BZ #18872]
11419 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11420 Move out from under [$(run-built-tests) = yes] conditional.
11421 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11422 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11423
11424 2015-10-08 Carlos O'Donell <carlos@redhat.com>
11425
11426 [BZ #18589]
11427 * string/Makefile (tests): Add bug-strcoll2.
11428 (LOCALES): Add cs_CZ.UTF-8.
11429 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11430
11431 [BZ #18589]
11432 * string/bug-strcoll2.c: New file.
11433 * locale/categories.def: Revert commit
11434 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11435 * locale/langinfo.h: Likewise.
11436 * locale/localeinfo.h: Likewise.
11437 * locale/C-collate.c: Likewise.
11438 * locale/programs/ld-collate.c (collate_output): Likewise.
11439 * string/strcoll_l.c (STRDIFF): Likewise.
11440 (STRCOLL): Likewise.
11441 * wcsmbs/wcscoll_l.c: Likewise.
11442
11443 2015-10-08 Joseph Myers <joseph@codesourcery.com>
11444
11445 * math/libm-test.inc (lround_test_data): Do not expect the absence
11446 of "inexact" for some tests with non-integer arguments.
11447 (llround_test_data): Likewise.
11448
11449 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11450 test.
11451 (libc_cv_cc_sse2avx): Likewise.
11452 * sysdeps/i386/configure: Regenerated.
11453 * sysdeps/i386/i686/multiarch/Makefile
11454 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11455 [$(subdir) = math].
11456 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11457 code unconditional.
11458 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11459 Likewise.
11460 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11461 Likewise.
11462 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11463 Likewise.
11464 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11465 test.
11466 (libc_cv_cc_sse2avx): Likewise.
11467 * sysdeps/x86_64/configure: Regenerated.
11468 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11469 unconditional.
11470 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11471 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11472 unconditional.
11473 (_dl_runtime_profile)
11474 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11475 conditional code.
11476 * sysdeps/x86_64/fpu/multiarch/Makefile
11477 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11478 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11479 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11480 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11481 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11482 * sysdeps/x86_64/fpu/multiarch/e_log.c
11483 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11484 * sysdeps/x86_64/fpu/multiarch/s_atan.c
11485 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11486 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11487 Likewise.
11488 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11489 Likewise.
11490 * sysdeps/x86_64/fpu/multiarch/s_sin.c
11491 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11492 * sysdeps/x86_64/fpu/multiarch/s_tan.c
11493 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11494 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11495 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11496 (HAVE_SSE2AVX_SUPPORT): Likewise.
11497
11498 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
11499
11500 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11501 instead of #pragma optimize.
11502
11503 2015-10-07 Carlos O'Donell <carlos@redhat.com>
11504
11505 [BZ #17195]
11506 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11507 as is similarly done in systrim and _int_free already.
11508
11509 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11510
11511 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11512
11513 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11514
11515 [BZ #19088]
11516 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11517 <limits.h>.
11518 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11519 overflows but exception would not result from cast.
11520 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11521 and <limits.h>.
11522 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11523 overflows but exception would not result from cast.
11524 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11525 <limits.h>.
11526 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11527 overflows but exception would not result from cast.
11528 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11529 <limits.h>.
11530 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11531 overflows but exception would not result from cast.
11532 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11533 <limits.h>.
11534 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11535 overflows but exception would not result from cast.
11536 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11537 <limits.h>.
11538 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11539 overflows but exception would not result from cast.
11540 * math/libm-test.inc (lround_test_data): Add more tests.
11541 (llround_test_data): Likewise.
11542
11543 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
11544
11545 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11546 (CFLAGS-ialloc.c): Ditto.
11547 (CFLAGS-scheck.c): Ditto.
11548
11549 2015-10-07 Carlos O'Donell <carlos@redhat.com>
11550
11551 [BZ #19086]
11552 * manual/filesys.texi (Storage Allocation): Fix argument order for
11553 posix_fallocate64.
11554
11555 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11556
11557 [BZ #19085]
11558 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11559 exponent below 48 inside case for non-overflowing exponent.
11560 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11561
11562 2015-10-07 Florian Weimer <fweimer@redhat.com>
11563
11564 * iconvdata/cp737.h (from_idx): Add const.
11565 * iconvdata/cp775.h (from_idx): Likewise.
11566
11567 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11568
11569 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11570 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11571 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11572
11573 [BZ #19079]
11574 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11575 file, conditioned on [!_LP64].
11576 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11577 [!_LP64] (__lround): Do not define as function or alias.
11578 [!_LP64] (lround): Likewise.
11579 [!_LP64] (__lroundl): Likewise.
11580 [!_LP64] (lroundl): Likewise.
11581 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11582 macro.
11583 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11584 Likewise.
11585
11586 2015-10-06 Joseph Myers <joseph@codesourcery.com>
11587
11588 * math/libm-test.inc (lrint_test_data): Add more tests.
11589 (llrint_test_data): Likewise.
11590 (lround_test_data): Likewise.
11591 (llround_test_data): Likewise.
11592
11593 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11594 (llrint_test_data): Add tests used for lrint.
11595
11596 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11597 test.
11598 * sysdeps/i386/configure: Regenerated.
11599 * sysdeps/i386/i686/multiarch/Makefile
11600 [$(config-cflags-sse4) = yes]: Make code unconditional.
11601 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11602 Likewise.
11603 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11604 Likewise.
11605 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11606 test.
11607 * sysdeps/x86_64/configure: Regenerated.
11608 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11609 Make code unconditional.
11610 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11611 Likewise.
11612 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11613 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11614
11615 * scripts/rpm2dynsym.sh: Remove file.
11616
11617 2015-10-06 Florian Weimer <fweimer@redhat.com>
11618
11619 * configure.ac (libc_cv_cxx_thread_local): Define.
11620 * configure: Regenerate.
11621 * config.make.in (have-cxx-thread_local): Define.
11622 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11623 (LDLIBS-tst-thread_local1): Define.
11624 (tests): Add tst-thread_local1.
11625 [have-cxx-thread_local != yes] (tests-unsupported): Add
11626 tst-thread_local1.
11627 * nptl/tst-thread_local1.cc: New file.
11628
11629 2015-10-06 Joseph Myers <joseph@codesourcery.com>
11630
11631 [BZ #19078]
11632 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11633 (u_thres): Likewise.
11634 (__expl): Determine whether to call __kernel_standard_l based on
11635 value of result, not argument.
11636
11637 * math/libm-test.inc (scalb_test_data): Add more expectations for
11638 the "inexact" exception.
11639
11640 [BZ #19077]
11641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11642 0.0L for argument 1.0L.
11643
11644 [BZ #19076]
11645 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11646 constant 0.0L when computing infinite result.
11647
11648 2015-10-06 Florian Weimer <fweimer@redhat.com>
11649
11650 [BZ #10432]
11651 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11652 malloc_usable_size.
11653
11654 2015-10-06 Florian Weimer <fweimer@redhat.com>
11655
11656 [BZ #19018]
11657 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11658 Mangle function pointer before storing it.
11659 (__call_tls_dtors): Demangle function pointer before calling it.
11660
11661 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11662
11663 [BZ #19012]
11664 * iconv/gconv_db.c (gen_steps): Check for additional errors.
11665 Clean up on failure.
11666
11667 2015-10-05 Joseph Myers <joseph@codesourcery.com>
11668
11669 [BZ #19071]
11670 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11671 long int variable to store possibly incremented high part of
11672 mantissa.
11673 * math/libm-test.inc (lround_test_data): Add tests used for
11674 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
11675 for tests requiring 64-bit long. Do not condition tests on
11676 [TEST_FLOAT] unnecessarily.
11677 (llround_test_data): Add tests used for lround. Add another
11678 expectation for the "inexact" exception. Do not condition tests
11679 on [TEST_FLOAT] unnecessarily.
11680
11681 [BZ #887]
11682 [BZ #19049]
11683 [BZ #19050]
11684 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11685 * sysdeps/ieee754/dbl-64/e_log10.c: Include
11686 <fix-int-fp-convert-zero.h>.
11687 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11688 * sysdeps/ieee754/dbl-64/e_log2.c: Include
11689 <fix-int-fp-convert-zero.h>.
11690 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11691 * sysdeps/ieee754/dbl-64/s_erf.c: Include
11692 <fix-int-fp-convert-zero.h>.
11693 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11694 * sysdeps/ieee754/dbl-64/s_logb.c: Include
11695 <fix-int-fp-convert-zero.h>.
11696 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11697 * sysdeps/ieee754/flt-32/e_log10f.c: Include
11698 <fix-int-fp-convert-zero.h>.
11699 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11700 * sysdeps/ieee754/flt-32/e_log2f.c: Include
11701 <fix-int-fp-convert-zero.h>.
11702 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11703 * sysdeps/ieee754/flt-32/s_erff.c: Include
11704 <fix-int-fp-convert-zero.h>.
11705 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11706 * sysdeps/ieee754/flt-32/s_logbf.c: Include
11707 <fix-int-fp-convert-zero.h>.
11708 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11709 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11710 <fix-int-fp-convert-zero.h>.
11711 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11712 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11713 <fix-int-fp-convert-zero.h>.
11714 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11715 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11716 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11717 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11718 file.
11719 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11720
11721 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11722
11723 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11724
11725 2015-10-02 Joseph Myers <joseph@codesourcery.com>
11726
11727 [BZ #19059]
11728 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11729 overflowing computation.
11730 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11731 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11732 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11733 Likewise.
11734 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11735 Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11737 Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11739 Likewise.
11740 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11741 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11742 Likewise.
11743 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11744 Likewise.
11745 * math/libm-test.inc (nexttoward_test_data): Add more tests.
11746
11747 * nss/rewrite_field.c (__nss_rewrite_field): Use
11748 internal_function.
11749 * nss/valid_field.c (__nss_valid_field): Likewise.
11750 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11751
11752 2015-10-02 Florian Weimer <fweimer@redhat.com>
11753
11754 [BZ #18724]
11755 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11756 (__nss_invalid_field_characters, __nss_valid_field)
11757 (__nss_valid_list_field, __nss_rewrite_field): Declare.
11758 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11759 tst-field.c: New file.
11760 * nss/Makefile (routines): Add valid_field, rewrite_field.
11761 (tests-static): Define unconditionally.
11762 (tests): Include tests-static.
11763 [build-static-nss] (tests-static): Use append.
11764 [build-static-nss] (tests): Remove modification.
11765 * nss/getent.c (print_group): Call putgrent. Report error.
11766 (print_gshadow): Call putsgent. Report error.
11767 (print_passwd): Call putpwent. Report error.
11768 (print_shadow): Call putspent. Report error.
11769 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11770 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11771 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
11772 name, password, directory, shell fields for valid syntax. Rewrite
11773 GECOS field to match syntax.
11774 * pwd/Makefile (tests): Add tst-putpwent.
11775 * pwd/tst-putpwent.c: New file.
11776 * grp/putgrent.c (putgrent): Convert to ISO function definition.
11777 Check grName, grpasswd, gr_mem fields for valid syntax.
11778 Change loop variable i to size_t.
11779 * grp/Makefile (tests): Add tst-putgrent.
11780 * grp/tst-putgrent.c: New file.
11781 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11782 valid syntax.
11783 * shadow/Makefile (tests): Add tst-putspent.
11784 * shadow/tst-putspent.c: New file.
11785 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11786 sg_mem fields for valid syntax.
11787 * gshadow/Makefile (tests): Add tst-putsgent.
11788 * gshadow/tst-putsgent.c: New file.
11789
11790 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11791
11792 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11793 assembly instructions.
11794
11795 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11796
11797 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11798 prefix from operands.
11799
11800 2015-10-01 Joseph Myers <joseph@codesourcery.com>
11801
11802 [BZ #16347]
11803 [BZ #19046]
11804 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11805 <libc-internal.h>.
11806 (MAXLGM): Do not use diagnostic control macros.
11807 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11808 threshold for ldbl-128ibm.
11809 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11810 instead of multiplying by log then subtracting.
11811 * math/auto-libm-test-in: Add more tests of lgamma.
11812 * math/auto-libm-test-out: Regenerated.
11813
11814 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11815 (TYPE_HEX_DIG): Likewise.
11816 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11817 precisions when printing floating-point numbers.
11818 (check_float_internal): Likewise.
11819
11820 2015-09-30 Joseph Myers <joseph@codesourcery.com>
11821
11822 [BZ #16620]
11823 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11824 of log (10) rounded downward to 48 bits.
11825 (log10_low): Use corresponding low part of log (10).
11826
11827 [BZ #19032]
11828 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11829 compute result as (x - x) / (x - x) not as 0 / 0.
11830 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11831 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11832
11833 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11834 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11835 and expm1.
11836 * math/auto-libm-test-out: Regenerated.
11837 * math/libm-test.inc (acos_test_data): Add more tests.
11838 (asin_test_data): Likewise.
11839 (asinh_test_data): Likewise.
11840 (atan_test_data): Likewise.
11841 (atanh_test_data): Likewise.
11842 (atan2_test_data): Likewise.
11843 (cbrt_test_data): Likewise.
11844 (ceil_test_data): Likewise.
11845 (copysign_test_data): Likewise.
11846 (cos_test_data): Likewise.
11847 (cosh_test_data): Likewise.
11848 (erf_test_data): Likewise.
11849 (erfc_test_data): Likewise.
11850 (exp_test_data): Likewise.
11851 (exp10_test_data): Likewise.
11852 (exp2_test_data): Likewise.
11853 (expm1_test_data): Likewise.
11854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11855
11856 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
11857
11858 [BZ #19006]
11859 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11860 to ...
11861 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11862 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11863 to ...
11864 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11865 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11866 to ...
11867 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11868 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11869 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11870 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11871 to ...
11872 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11873 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11874 Moved to ...
11875 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11876 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11877 Moved to ...
11878 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11879 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11880 to ...
11881 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11882 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11883 Moved to ...
11884 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11885 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11886 to ...
11887 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11888 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11889 Removed.
11890 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11891 Likewise.
11892 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11893 Likewise.
11894 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11895 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11896 Likewise.
11897 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11898 Likewise.
11899 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11900 Likewise.
11901 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11902 Likewise.
11903 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11904 Likewise.
11905 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11906 Likewise.
11907 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11908 Likewise.
11909 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11910 Likewise.
11911 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11912 Likewise.
11913 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11914 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11915 Likewise.
11916 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11917 Likewise.
11918 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11919 Likewise.
11920 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11921 Likewise.
11922 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11923 Likewise.
11924 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11925 Replace ../i486/pthread_cond_timedwait.S with
11926 ../pthread_cond_timedwait.S.
11927
11928 2015-09-30 Joseph Myers <joseph@codesourcery.com>
11929
11930 * math/libm-test.inc (acos_test_data): Refine expectations for
11931 errno and "inexact" exceptions.
11932 (acosh_test_data): Likewise.
11933 (asin_test_data): Likewise.
11934 (asinh_test_data): Likewise.
11935 (atan_test_data): Likewise.
11936 (atanh_test_data): Likewise.
11937 (atan2_test_data): Likewise.
11938 (cbrt_test_data): Likewise.
11939 (ceil_test_data): Likewise.
11940 (copysign_test_data): Likewise.
11941 (cosh_test_data): Likewise.
11942 (erf_test_data): Likewise.
11943 (erfc_test_data): Likewise.
11944 (exp_test_data): Likewise.
11945 (exp10_test_data): Likewise.
11946 (exp2_test_data): Likewise.
11947 (expm1_test_data): Likewise.
11948 (fabs_test_data): Likewise.
11949 (floor_test_data): Likewise.
11950 (fma_test_data): Likewise.
11951 (fmax_test_data): Likewise.
11952 (fmin_test_data): Likewise.
11953 (fmod_test_data): Likewise.
11954 (fpclassify_test_data): Likewise.
11955 (frexp_test_data): Likewise.
11956 (hypot_test_data): Likewise.
11957 (ilogb_test_data): Likewise.
11958 (isgreater_test_data): Likewise.
11959 (isgreaterequal_test_data): Likewise.
11960 (isinf_test_data): Likewise.
11961 (isless_test_data): Likewise.
11962 (islessequal_test_data): Likewise.
11963 (islessgreater_test_data): Likewise.
11964 (isnan_test_data): Likewise.
11965 (isnormal_test_data): Likewise.
11966 (issignaling_test_data): Likewise.
11967 (isunordered_test_data): Likewise.
11968 (j0_test_data): Likewise.
11969 (j1_test_data): Likewise.
11970 (jn_test_data): Likewise.
11971 (lgamma_test_data): Likewise.
11972 (lrint_test_data): Likewise.
11973 (llrint_test_data): Likewise.
11974 (log_test_data): Likewise.
11975 (log10_test_data): Likewise.
11976 (log1p_test_data): Likewise.
11977 (log2_test_data): Likewise.
11978 (logb_test_data): Likewise.
11979 (lround_test_data): Likewise.
11980 (llround_test_data): Likewise.
11981 (modf_test_data): Likewise.
11982 (nearbyint_test_data): Likewise.
11983 (nextafter_test_data): Likewise.
11984 (nexttoward_test_data): Likewise.
11985 (pow_test_data): Likewise.
11986 (remainder_test_data): Likewise.
11987 (remquo_test_data): Likewise.
11988 (rint_test_data): Likewise.
11989 (round_test_data): Likewise.
11990 (signbit_test_data): Likewise.
11991 (sinh_test_data): Likewise.
11992 (sqrt_test_data): Likewise.
11993 (tanh_test_data): Likewise.
11994 (tgamma_test_data): Likewise.
11995 (trunc_test_data): Likewise.
11996 (y0_test_data): Likewise.
11997 (y1_test_data): Likewise.
11998 (yn_test_data): Likewise.
11999 (significand_test_data): Likewise.
12000
12001 2015-09-29 Carlos O'Donell <carlos@redhat.com>
12002
12003 * manual/filesys.texi (Storage Allocation): Document that
12004 posix_fallocate emulation fails when fd is open with O_WRONLY.
12005
12006 2015-09-28 Joseph Myers <joseph@codesourcery.com>
12007
12008 [BZ #19016]
12009 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12010 allow more cases with X^2 + Y^2 >= 0.5.
12011 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
12012 normal element in sum instead of special-casing based on values of
12013 arguments.
12014 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12015 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
12016 -1 as normal element in sum instead of special-casing based on
12017 values of arguments.
12018 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12019 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12020 (__x2y2m1): Update comment.
12021 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
12022 as normal element in sum instead of special-casing based on values
12023 of arguments.
12024 * math/s_clog.c (__clog): Handle more cases using log1p without
12025 hypot.
12026 * math/s_clog10.c (__clog10): Likewise.
12027 * math/s_clog10f.c (__clog10f): Likewise.
12028 * math/s_clog10l.c (__clog10l): Likewise.
12029 * math/s_clogf.c (__clogf): Likewise.
12030 * math/s_clogl.c (__clogl): Likewise.
12031 * math/auto-libm-test-in: Add more tests of clog and clog10.
12032 * math/auto-libm-test-out: Regenerated.
12033 * sysdeps/i386/fpu/libm-test-ulps: Update.
12034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12035
12036 2015-09-28 Martin Sebor <msebor@redhat.com>
12037
12038 [BZ #18969]
12039 * string/Makefile (LOCALES): Define.
12040 (gen-locales.mk): Include.
12041 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12042 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12043 * string/tst-strxfrm2.c (do_test): Print the name of the locale
12044 on setlocale failure.
12045
12046 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12047
12048 [BZ #18985]
12049 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12050 (__strftime_internal): Likewise.
12051 * time/tst-strftime.c (do_bz18985): New test.
12052 (do_test): Call it.
12053
12054 2015-09-26 Joseph Myers <joseph@codesourcery.com>
12055
12056 [BZ #18956]
12057 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12058 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
12059 extracting high part.
12060 * math/auto-libm-test-in: Add another test of pow.
12061 * math/auto-libm-test-out: Regenerated.
12062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12063
12064 2015-09-25 Joseph Myers <joseph@codesourcery.com>
12065
12066 [BZ #18825]
12067 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12068 New macro.
12069 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12070 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12071 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12072 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12073 DBL_NARROW_EVAL, reloading the PIC register as needed.
12074 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12075 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12076 FLT_NARROW_EVAL. Use separate return path for case when first
12077 argument is NaN.
12078 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
12079 DEFINE_LDBL_MIN.
12080 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12081 PIC register.
12082 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12083 math_check_force_underflow_nonneg.
12084 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12085 underflow for subnormal result.
12086 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12087 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12088 math_check_force_underflow_nonneg.
12089 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12090 math_check_force_underflow.
12091 * sysdeps/x86_64/fpu/x86_64-math-asm.h
12092 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12093 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
12094 DEFINE_LDBL_MIN.
12095 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12096 * math/auto-libm-test-in: Add more tests of pow.
12097 * math/auto-libm-test-out: Regenerated.
12098
12099 2015-09-25 Florian Weimer <fweimer@redhat.com>
12100
12101 * nss/bug17079.c (init_test_items): Add diagnostic for
12102 inconsistent entries.
12103 (test_buffer_size): Skip inconsistent entries.
12104
12105 2015-09-25 Joseph Myers <joseph@codesourcery.com>
12106
12107 [BZ #13304]
12108 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12109 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12110 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12111
12112 [BZ #13304]
12113 * sysdeps/microblaze/s_fma.c: New file.
12114 * sysdeps/microblaze/s_fmaf.c: Likewise.
12115 * sysdeps/microblaze/sfp-machine.h: Likewise.
12116
12117 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
12118
12119 [BZ #17250]
12120 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12121 member.
12122
12123 2015-09-24 Joseph Myers <joseph@codesourcery.com>
12124
12125 [BZ #18803]
12126 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12127 (MO): New macro.
12128 (__ieee754_hypot) [PIC]: Load PIC register.
12129 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12130 DBL_NARROW_EVAL.
12131 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12132 math_check_force_underflow_nonneg in case where result might be
12133 tiny.
12134 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12135 Likewise.
12136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12137 Likewise.
12138 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12139 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12140 * math/auto-libm-test-in: Add more tests of hypot.
12141 * math/auto-libm-test-out: Regenerated.
12142
12143 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
12144
12145 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12146
12147 2015-09-24 Joseph Myers <joseph@codesourcery.com>
12148
12149 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12150 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12151 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12152 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12153 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12154 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12155 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12156
12157 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12158 LOAD_PIC_REG.
12159
12160 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12161 (FLT_CHECK_FORCE_UFLOW): Likewise.
12162 (DBL_CHECK_FORCE_UFLOW): Likewise.
12163 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12164 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12165 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12166 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12167 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12168 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12169 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12170 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12171 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12172 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12173 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12174 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12175 (flt_min): Replace with use of DEFINE_FLT_MIN.
12176 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12177 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12178 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12179 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12180 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12181 (flt_min): Replace with use of DEFINE_FLT_MIN.
12182 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12183 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12184 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12185 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12186 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12187 (flt_min): Replace with use of DEFINE_FLT_MIN.
12188 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12189 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12190 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12191 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12192 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12193 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12194 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12195 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12196 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12197 (__atan): Use DBL_CHECK_FORCE_UFLOW.
12198 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12199 (flt_min): Replace with use of DEFINE_FLT_MIN.
12200 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12201 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12202 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12203 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
12204 main computation.
12205 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12206 (flt_min): Replace with use of DEFINE_FLT_MIN.
12207 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
12208 main computation.
12209 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12210 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12211 (MO): New macro.
12212 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12213 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12214 (flt_min): Replace with use of DEFINE_FLT_MIN.
12215 (MO): New macro.
12216 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12217 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12218 (__log1pl): Use MO.
12219
12220 [BZ #19003]
12221 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12222 $(config-cflags-nofma).
12223
12224 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
12225
12226 * sysdeps/aarch64/libm-test-ulps: Regenerated.
12227
12228 2015-09-23 Joseph Myers <joseph@codesourcery.com>
12229
12230 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12231 (TWO127): Likewise.
12232
12233 * sysdeps/generic/math_private.h (fabs_tg): New macro.
12234 (min_of_type): Likewise.
12235 (math_check_force_underflow): Likewise.
12236 (math_check_force_underflow_nonneg): Likewise.
12237 (math_check_force_underflow_complex): Likewise.
12238 * math/e_exp2l.c (__ieee754_exp2l): Use
12239 math_check_force_underflow_nonneg.
12240 * math/k_casinh.c (__kernel_casinh): Likewise.
12241 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12242 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12243 * math/s_catan.c (__catan): Use
12244 math_check_force_underflow_complex.
12245 * math/s_catanf.c (__catanf): Likewise.
12246 * math/s_catanh.c (__catanh): Likewise.
12247 * math/s_catanhf.c (__catanhf): Likewise.
12248 * math/s_catanhl.c (__catanhl): Likewise.
12249 * math/s_catanl.c (__catanl): Likewise.
12250 * math/s_ccosh.c (__ccosh): Likewise.
12251 * math/s_ccoshf.c (__ccoshf): Likewise.
12252 * math/s_ccoshl.c (__ccoshl): Likewise.
12253 * math/s_cexp.c (__cexp): Likewise.
12254 * math/s_cexpf.c (__cexpf): Likewise.
12255 * math/s_cexpl.c (__cexpl): Likewise.
12256 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12257 * math/s_clog10.c (__clog10): Likewise.
12258 * math/s_clog10f.c (__clog10f): Likewise.
12259 * math/s_clog10l.c (__clog10l): Likewise.
12260 * math/s_clogf.c (__clogf): Likewise.
12261 * math/s_clogl.c (__clogl): Likewise.
12262 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12263 * math/s_csinf.c (__csinf): Likewise.
12264 * math/s_csinh.c (__csinh): Likewise.
12265 * math/s_csinhf.c (__csinhf): Likewise.
12266 * math/s_csinhl.c (__csinhl): Likewise.
12267 * math/s_csinl.c (__csinl): Likewise.
12268 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12269 * math/s_csqrtf.c (__csqrtf): Likewise.
12270 * math/s_csqrtl.c (__csqrtl): Likewise.
12271 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12272 * math/s_ctanf.c (__ctanf): Likewise.
12273 * math/s_ctanh.c (__ctanh): Likewise.
12274 * math/s_ctanhf.c (__ctanhf): Likewise.
12275 * math/s_ctanhl.c (__ctanhl): Likewise.
12276 * math/s_ctanl.c (__ctanl): Likewise.
12277 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12278 instead of volatile.
12279 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12280 math_check_force_underflow.
12281 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12282 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12283 volatile when forcing underflow.
12284 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12285 math_check_force_underflow_nonneg.
12286 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12287 Likewise.
12288 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12289 math_check_force_underflow.
12290 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12291 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12292 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12293 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12294 math_check_force_underflow_nonneg.
12295 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12296 math_check_force_underflow.
12297 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12299 instead of volatile.
12300 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12301 math_check_force_underflow.
12302 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12303 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12304 math_check_force_underflow_nonneg.
12305 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12306 math_check_force_underflow.
12307 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12308 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12309 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12310 math_check_force_underflow_nonneg.
12311 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12312 Likewise.
12313 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12314 math_check_force_underflow.
12315 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12316 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12317 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12318 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12319 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12320 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12321 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12322 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12323 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12324 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12325 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12326 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12327 Likewise.
12328 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12329 math_check_force_underflow_nonneg.
12330 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12331 Likewise.
12332 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12333 math_check_force_underflow.
12334 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12335 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12336 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12337 Likewise.
12338 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12339 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12340 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12341 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12342 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12343 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12345 instead of volatile.
12346 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12347 math_check_force_underflow.
12348 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12350 math_check_force_underflow.
12351 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12352 Likewise.
12353 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12354 Use math_check_force_underflow_nonneg.
12355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12356 math_check_force_underflow.
12357 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12358 Likewise.
12359 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12360 Likewise.
12361 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12362 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12363 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12364 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12365 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12366 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12367 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12368 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12369 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12370 math_check_force_underflow_nonneg.
12371 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12372 math_check_force_underflow.
12373 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12374 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12375 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12376 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12377 math_check_force_underflow_nonneg.
12378 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12379 math_check_force_underflow.
12380 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12381 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12382 instead of volatile.
12383 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12384 math_check_force_underflow.
12385
12386 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12387 * stdlib/strtod_l.c: Include <math_private.h>.
12388 (overflow_value): Use math_narrow_eval.
12389 (underflow_value): Likewise.
12390 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12391 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12392 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12393 (__ieee754_gamma_r): Likewise.
12394 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12395 Likewise.
12396 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12397 Likewise.
12398 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12399 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12400 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12401 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12402 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12403 (__ieee754_gammaf_r): Likewise.
12404 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12405 Likewise.
12406 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12407 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12408 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12409 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12410 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12411 volatile.
12412 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12413 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12414 math_narrow_eval.
12415 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12416 Likewise.
12417 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12418 Likewise.
12419 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12420 Likewise.
12421 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12422 volatile.
12423 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12424 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12425 math_narrow_eval.
12426 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12427 Likewise.
12428 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12429 Likewise.
12430
12431 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
12432
12433 * nptl/Versions: Remove ignored symbols.
12434
12435 2015-09-22 Florian Weimer <fweimer@redhat.com>
12436
12437 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
12438 * nss/Makefile (tests): Update.
12439
12440 2015-09-22 Florian Weimer <fweimer@redhat.com>
12441
12442 * nss/bug18287.c: New file.
12443 * nss/Makefile (tests): Add bug18287.
12444
12445 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12446
12447 * mach/Versions (__mach_host_self_): Add symbol.
12448
12449 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
12450
12451 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12452 vm_page_size.
12453
12454 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12455
12456 Really fix sysdeps/i386/fpu/s_scalbn.S build
12457
12458 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12459 (libc: GLIBC_2_22): Remove unused version set.
12460
12461 2015-09-18 Mike Frysinger <vapier@gentoo.org>
12462
12463 * config.make.in (enable-timezone-tools): New variable.
12464 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12465 (enable_timezone_tools): Export to generated files.
12466 * configure: Regenerate.
12467 * INSTALL: Regenerate.
12468 * manual/install.texi (--disable-timezone-tools): Document new flag.
12469 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12470 ifeq ($(enable-timezone-tools),yes) check.
12471
12472 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12473
12474 * timezone/Makefile: Revert previous change.
12475
12476 [BZ #18980]
12477 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12478 (DEFINE_DBL_MIN): Likewise.
12479 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12480 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12481 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12482 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12483 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12484 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12485 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12486 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12487 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12488 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12489 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12490 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12491 (flt_min): Replace with use of DEFINE_FLT_MIN.
12492 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12493 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12494 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12495 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12496 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12497 (flt_min): Replace with use of DEFINE_FLT_MIN.
12498 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12499 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12500 (flt_min): Replace with use of DEFINE_FLT_MIN.
12501 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12502 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12503 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12504 (__ieee754_hypot): Use DBL_NARROW_EVAL.
12505 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12506 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12507 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12508 (__ieee754_pow): Use DBL_NARROW_EVAL.
12509 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12510 (__ieee754_powf): Use FLT_NARROW_EVAL.
12511 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12512 (__ieee754_expf_sse2): Convert double-precision result to single
12513 precision.
12514 * sysdeps/i386/fpu/libm-test-ulps: Update.
12515
12516 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12517
12518 * timezone/Makefile: Ignore unused variable errors due to private.h
12519 (time_t_min) and (time_t_max).
12520 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
12521 Likewise.
12522
12523 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12524
12525 [BZ #18981]
12526 * sysdeps/i386/fpu/i386-math-asm.h: New file.
12527 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12528 (__ieee754_scalb): Use DBL_NARROW_EVAL.
12529 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12530 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12531 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12532 (__scalbn): Use DBL_NARROW_EVAL.
12533 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12534 (__scalbnf): Use FLT_NARROW_EVAL.
12535
12536 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12537
12538 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12539 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12540 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12541 * stdio-common/printf_fp.c (___printf_fp):
12542 Use signbit to get the sign. Use isinf macro to allow inlining.
12543 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12544 * stdio-common/printf_size.c (__printf_size): Likewise.
12545
12546 2015-09-18 Mike Frysinger <vapier@gentoo.org>
12547
12548 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12549
12550 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12551
12552 [BZ #18980]
12553 * sysdeps/generic/math_private.h: Include <float.h>.
12554 (math_narrow_eval): New macro.
12555 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12556 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12557 math_narrow_eval on overflowing return value.
12558 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12559 Likewise.
12560 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12561 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12562 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12563 Likewise.
12564 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12565
12566 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12567
12568 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12569 * math/Makefile: Remove isinf_ns.c.
12570 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12571 * math/multc3.c (__multc3): Likewise.
12572 * math/s_casin.c (__casin): Likewise.
12573 * math/s_casinf.c (__casinf): Likewise.
12574 * math/s_casinl.c (__casinl): Likewise.
12575 * math/s_cproj.c (__cproj): Likewise.
12576 * math/s_cprojf.c (__cprojf): Likewise.
12577 * math/s_cprojl.c (__cprofl): Likewise.
12578 * math/s_ctan.c (__ctan): Likewise.
12579 * math/s_ctanf.c (__ctanf): Likewise.
12580 * math/s_ctanh.c (__ctanh): Likewise.
12581 * math/s_ctanhf.c (__ctanhf): Likewise.
12582 * math/s_ctanhl.c (__ctanhl): Likewise.
12583 * math/s_ctanl.c (__ctanl): Likewise.
12584 * math/w_fmod.c (__fmod): Likewise.
12585 * math/w_fmodf.c (__fmodf): Likewise.
12586 * math/w_fmodl.c (_fmodl): Likewise.
12587 * math/w_remainder.c (__remainder): Likewise.
12588 * math/w_remainderf.c (__remainderf): Likewise.
12589 * math/w_remainderl.c (__remainderl): Likewise.
12590 * math/w_scalb.c (__scalb): Likewise.
12591 * math/w_scalbf.c (__scalbf): Likewise.
12592 * math/w_scalbl.c (__scalbl): Likewise.
12593 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12594 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12595 with isinf.
12596 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12598 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12599 __isinf_nsf with isinf.
12600 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12602 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12603 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12604 with isinf.
12605 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12606 __isinf_nsl with isinf.
12607 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12608 with isinf.
12609 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12610 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12611 __isinf_nsl with isinf.
12612 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12613 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12614 with isinf.
12615
12616 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12617
12618 * resolv/base64.c (rcsid): Remove unused static.
12619 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12620 static. (tqpi1): Likewise.
12621 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12622 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12623 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12624 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12625 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12626 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12627 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12628 * timezone/private.h (time_t_min): Likewise. (time_t_max):
12629 Likewise.
12630
12631 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
12632
12633 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12634 <nptl/pthreadP.h>.
12635 (_longjmp_unwind): Use __libc_ptf_call.
12636 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12637
12638 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
12639
12640 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12641 * sysdeps/arm/__longjmp.S: Likewise.
12642
12643 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12644
12645 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12646 Use __builtin_signbit.
12647 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12648 Use __builtin_signbitf.
12649 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12650 Use __builtin_signbitl.
12651 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12652 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12653
12654 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12655
12656 [BZ #15367]
12657 [BZ #17441]
12658
12659 * math/Makefile: Build test-snan.c with -fsignaling-nans.
12660 * math/math.h (fpclassify): Use __builtin_fpclassify when
12661 available. (signbit): Use __builtin_signbit(f/l).
12662 (isfinite): Use__builtin_isfinite. (isnormal): Use
12663 __builtin_isnormal. (isnan): Use __builtin_isnan.
12664 (isinf): Use __builtin_isinf_sign.
12665
12666 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12667
12668 * benchtests/Makefile: Add bench-math-inlines, link with libm.
12669 * benchtests/bench-math-inlines.c: New benchmark.
12670 * benchtests/bench-util.h: New file.
12671 * benchtests/bench-util.c: New file.
12672 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12673
12674 2015-09-18 Carlos O'Donell <carlos@redhat.com>
12675
12676 * elf/tst-dlmopen1.c: Define TEST_SO.
12677 (do_test): Use TEST_SO.
12678
12679 * elf/dl-load.c: Include libc-internal.h.
12680 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12681
12682 2015-09-18 Vincent Bernat <vincent@bernat.im>
12683
12684 [BZ #17887]
12685 * time/strptime_l.c (__strptime_internal): Make %z accept
12686 [+-]HH:MM time zones.
12687
12688 2015-09-18 Vincent Bernat <vincent@bernat.im>
12689
12690 [BZ #17886]
12691 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12692 valid time zone.
12693
12694 2015-09-17 Mike Frysinger <vapier@gentoo.org>
12695
12696 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12697 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12698 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12699 (__ASSUME_FDATASYNC): Delete.
12700
12701 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12702
12703 * conform/linknamespace.pl: Require weak undefined symbols to be
12704 in the standard namespace.
12705 (%strong_syms): Rename to %seen_syms.
12706 (%strong_seen): Rename to %seen_where.
12707
12708 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
12709
12710 [BZ #18970]
12711 * misc/error.c (error): Replace pthread_setcancelstate with
12712 __pthread_setcancelstate.
12713 (error_at_line): Likewise.
12714 * posix/wordexp.c (parse_comm): Likewise.
12715 * stdlib/fmtmsg.c (fmtmsg): Likewise.
12716 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12717 (__pthread_setcancelstate): This.
12718 (pthread_setcancelstate): Add an alias.
12719 * nptl/nptl-init.c (pthread_functions): Replace
12720 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12721 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12722 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12723 hidden_proto.
12724 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12725 it with hidden_def.
12726 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12727 (pthread_setcancelstate): Renamed to ...
12728 (__pthread_setcancelstate): This.
12729 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12730 __libc_ptf_call with __pthread_setcancelstate.
12731
12732 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12733 Andreas Schwab <schwab@suse.de>
12734
12735 [BZ #17118]
12736 * math/s_ctan.c (__ctan): Determine sign of zero real part of
12737 result when imaginary part of argument is infinite using sine and
12738 cosine.
12739 * math/s_ctanf.c (__ctanf): Likewise.
12740 * math/s_ctanl.c (__ctanl): Likewise.
12741 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12742 of result when real part of argument is infinite using sine and
12743 cosine.
12744 * math/s_ctanhf.c (__ctanhf): Likewise.
12745 * math/s_ctanhl.c (__ctanhl): Likewise.
12746 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12747 (ctanh_test_data): Add more tests of ctanh.
12748
12749 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12750
12751 [BZ #15384]
12752 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12753 bit-mask as in subtraction.
12754 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12755 Likewise.
12756 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12757 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12758 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12759
12760 [BZ #18951]
12761 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12762 underflow exception for small results.
12763 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12764 Likewise.
12765 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12766 Likewise.
12767 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12768 Likewise.
12769 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12770 Likewise.
12771 * math/auto-libm-test-in: Add more tests of tgamma.
12772 * math/auto-libm-test-out: Regenerated.
12773
12774 2015-09-17 Andreas Schwab <schwab@suse.de>
12775
12776 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12777
12778 2015-09-16 Joseph Myers <joseph@codesourcery.com>
12779
12780 [BZ #18977]
12781 * math/bits/mathcalls.h
12782 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12783 not declare.
12784 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12785 Likewise.
12786 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12787 Likewise.
12788 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12789 Likewise.
12790 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12791 Likewise.
12792 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12793 Likewise.
12794 * conform/data/math.h-data
12795 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12796 function.
12797 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12798 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12799 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12800 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12801 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12802 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12803 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12804 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12805 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12806 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12807 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12808
12809 [BZ #6803]
12810 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12811 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12812 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12813 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12814 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12815 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12816 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12817 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12818 [NO_LONG_DOUBLE] (scalbnl): Likewise.
12819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12820 Likewise.
12821 [NO_LONG_DOUBLE] (scalbnl): Likewise.
12822 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12824 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12825 long_double_symbol calls.
12826 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12827 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12828 strong alias of __ldexpl.
12829 (scalbnl): Define using long_double_symbol.
12830 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12831 Remove alias.
12832 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12833 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12834 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12835 (scalbln_test_data): Add more errno expectations.
12836
12837 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
12838
12839 Cache the host port like we cache the task port. This way we do not
12840 need to call the kernel just to get the port. Furthermore, we no
12841 longer increase the reference count on every invocation of
12842 `mach_host_self'.
12843
12844 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12845 Protect declarations against the macro expansion.
12846 * mach/mach_init.c (__mach_host_self_): New variable.
12847 (mach_init): Initialize `__mach_host_self_'.
12848 * mach/mach_init.h (__mach_host_self_): New declaration.
12849 (__mach_host_self, mach_host_self): New macros.
12850 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12851 Release reference.
12852
12853 2015-09-16 Joseph Myers <joseph@codesourcery.com>
12854
12855 [BZ #4404]
12856 * po/de.po: Update from Translation Project.
12857
12858 [BZ #16415]
12859 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12860 (__expm1l): Remove code to handle positive infinity and overflow.
12861 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12862 variable.
12863 (__expm1l): Remove code to handle positive infinity and overflow.
12864
12865 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
12866 Paul Pluzhnikov <ppluzhnikov@google.com>
12867
12868 [BZ #18872]
12869 * stdio-common/Makefile (tst-printf-bz18872): New test.
12870 (tst-printf-bz18872-mem.out): Likewise.
12871 * stdio-common/tst-printf-bz18872.sh: Generate new test.
12872 * stdio-common/vfprintf.c: Fix memory leaks.
12873
12874 2015-09-16 Andreas Schwab <schwab@suse.de>
12875
12876 [BZ #17244]
12877 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12878 Remove extra va_start/va_end calls.
12879
12880 [BZ #17243]
12881 * posix/execl.c (execl): Add missing va_end.
12882 * posix/execle.c (execle): Likewise.
12883 * posix/execlp.c (execlp): Likewise.
12884
12885 2015-09-15 Roland McGrath <roland@hack.frob.com>
12886
12887 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12888 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12889
12890 2015-09-15 Joseph Myers <joseph@codesourcery.com>
12891
12892 [BZ #18967]
12893 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
12894 undefine around includes of <bits/mathcalls.h>.
12895 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12896 not declare function.
12897 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12898 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12899 (scalb): Likewise.
12900 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12901 not define macro.
12902 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12903 variable.
12904 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12905 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12906 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12907
12908 [BZ #18857]
12909 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12910 return non-finite argument without doing ordered comparisons on
12911 it.
12912
12913 [BZ #16296]
12914 * math/fenv.h (fegetround): Use __attribute_pure__.
12915 * include/fenv.h (__fegetround): Likewise.
12916
12917 [BZ #18595]
12918 * math/s_ctan.c (__ctan): Force underflow exception for results
12919 whose real or imaginary part has small absolute value.
12920 * math/s_ctanf.c (__ctanf): Likewise.
12921 * math/s_ctanh.c (__ctanh): Likewise.
12922 * math/s_ctanhf.c (__ctanhf): Likewise.
12923 * math/s_ctanhl.c (__ctanhl): Likewise.
12924 * math/s_ctanl.c (__ctanl): Likewise.
12925 * math/auto-libm-test-in: Do not allow missing underflow for ctan
12926 and ctanh. Add more tests of ctan and ctanh.
12927
12928 [BZ #15918]
12929 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12930 handling of cases where one argument is an infinity.
12931
12932 [BZ #18875]
12933 [BZ #18966]
12934 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12935 (MO): New macro.
12936 (__ieee754_exp10): For small results, force underflow exception
12937 and remove excess range and precision from return value.
12938 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12939 (MO): New macro.
12940 (__ieee754_exp10f): For small results, force underflow exception
12941 and remove excess range and precision from return value.
12942 * math/auto-libm-test-in: Add more tests of exp10.
12943 * math/auto-libm-test-out: Regenerated.
12944
12945 2015-09-14 Joseph Myers <joseph@codesourcery.com>
12946
12947 [BZ #18875]
12948 [BZ #18961]
12949 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12950 (MO): New macro.
12951 (__ieee754_exp): For small results, force underflow exception and
12952 remove excess range and precision from return value.
12953 (__exp_finite): Likewise.
12954 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12955 (MO): New macro.
12956 (__ieee754_expf): For small results, force underflow exception and
12957 remove excess range and precision from return value.
12958 (__expf_finite): Likewise.
12959 * math/auto-libm-test-in: Add more tests of exp.
12960 * math/auto-libm-test-out: Regenerated.
12961
12962 [BZ #16521]
12963 [BZ #18875]
12964 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12965 small results.
12966 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12967 (MO): New macro.
12968 (__ieee754_exp2): For small results, force underflow exception and
12969 remove excess range and precision from return value.
12970 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12971 (MO): New macro.
12972 (__ieee754_exp2f): For small results, force underflow exception
12973 and remove excess range and precision from return value.
12974 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12975 (MO): New macro.
12976 (__ieee754_exp2l): Force underflow exception for small results.
12977 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12978 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12979 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12980 (MO): New macro.
12981 (__ieee754_exp2l): Force underflow exception for small results.
12982 * math/auto-libm-test-in: Add more tests or exp2.
12983 * math/auto-libm-test-out: Regenerated.
12984
12985 2015-09-14 Carlos O'Donell <carlos@redhat.com>
12986
12987 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12988
12989 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12990 /dev/null.
12991
12992 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12993
12994 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12995 io fs process)): Drop spurious backslash.
12996
12997 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12998
12999 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13000 Use sysinfo system call instead of parsing /proc/meminfo.
13001 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13002 Likewise.
13003
13004 2015-09-11 Mike Frysinger <vapier@gentoo.org>
13005
13006 [BZ #16985]
13007 * programs/localedef.c (main): Display argv[remaining] when
13008 output_path is NULL.
13009
13010 2015-09-11 Joseph Myers <joseph@codesourcery.com>
13011
13012 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13013 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13014 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13015 tanh.
13016 * math/auto-libm-test-out: Regenerated.
13017 * sysdeps/i386/fpu/libm-test-ulps: Update.
13018 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13019 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13021
13022 2015-09-11 Roland McGrath <roland@hack.frob.com>
13023
13024 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13025 Use 'override' keyword to freeze the value here, preventing
13026 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13027
13028 2015-09-11 Joseph Myers <joseph@codesourcery.com>
13029
13030 [BZ #14912]
13031 * sysdeps/aarch64/bits/atomic.h: Move to ...
13032 * sysdeps/aarch64/atomic-machine.h: ...here.
13033 (_AARCH64_BITS_ATOMIC_H): Rename macro to
13034 _AARCH64_ATOMIC_MACHINE_H.
13035 * sysdeps/alpha/bits/atomic.h: Move to ...
13036 * sysdeps/alpha/atomic-machine.h: ...here.
13037 * sysdeps/arm/bits/atomic.h: Move to ...
13038 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
13039 * bits/atomic.h: Move to ...
13040 * sysdeps/generic/atomic-machine.h: ...here.
13041 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13042 * sysdeps/i386/bits/atomic.h: Move to ...
13043 * sysdeps/i386/atomic-machine.h: ...here.
13044 * sysdeps/ia64/bits/atomic.h: Move to ...
13045 * sysdeps/ia64/atomic-machine.h: ...here.
13046 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13047 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13048 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13049 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13050 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13051 * sysdeps/microblaze/bits/atomic.h: Move to ...
13052 * sysdeps/microblaze/atomic-machine.h: ...here.
13053 * sysdeps/mips/bits/atomic.h: Move to ...
13054 * sysdeps/mips/atomic-machine.h: ...here.
13055 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13056 * sysdeps/powerpc/bits/atomic.h: Move to ...
13057 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
13058 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13059 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
13060 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
13061 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13062 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
13063 <atomic-machine.h> instead of <bits/atomic.h>.
13064 * sysdeps/s390/bits/atomic.h: Move to ...
13065 * sysdeps/s390/atomic-machine.h: ...here.
13066 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13067 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13068 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13069 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13070 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13071 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13072 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13073 * sysdeps/tile/bits/atomic.h: Move to ...
13074 * sysdeps/tile/atomic-machine.h: ...here.
13075 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13076 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
13077 <sysdeps/tile/atomic-machine.h> instead of
13078 <sysdeps/tile/bits/atomic.h>.
13079 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13080 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13081 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
13082 <sysdeps/tile/atomic-machine.h> instead of
13083 <sysdeps/tile/bits/atomic.h>.
13084 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13085 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13086 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
13087 <sysdeps/arm/atomic-machine.h> instead of
13088 <sysdeps/arm/bits/atomic.h>.
13089 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13090 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13091 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13092 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13093 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13094 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13095 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13096 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13097 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13098 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13099 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13100 * sysdeps/x86_64/bits/atomic.h: Move to ...
13101 * sysdeps/x86_64/atomic-machine.h: ...here.
13102 * include/atomic.h: Include <atomic-machine.h> instead of
13103 <bits/atomic.h>.
13104
13105 * sysdeps/mips/mips32/libm-test-ulps: Update.
13106 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13107
13108 [BZ #18952]
13109 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13110 not convert non-integer negative arguments to int to determine the
13111 value of signgam.
13112 * math/auto-libm-test-in: Add more tests of lgamma.
13113 * math/auto-libm-test-out: Regenerated.
13114
13115 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13116 cosh, csqrt, erfc, expm1 and lgamma.
13117 * math/auto-libm-test-out: Regenerated.
13118 * sysdeps/i386/fpu/libm-test-ulps: Update.
13119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13120
13121 2015-09-10 Joseph Myers <joseph@codesourcery.com>
13122
13123 [BZ #2542]
13124 [BZ #2543]
13125 [BZ #2558]
13126 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13127 __lgamma_neg for arguments from -28.0 to -2.0.
13128 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13129 __lgamma_negf for arguments from -15.0 to -2.0.
13130 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13131 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13132 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13133 Call __lgamma_negl for arguments from -33.0 to -2.0.
13134 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13135 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13136 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13137 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13143 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13144 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13145 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13146 (__lgamma_neg): Likewise.
13147 (__lgamma_negl): Likewise.
13148 (__lgamma_product): Likewise.
13149 (__lgamma_productl): Likewise.
13150 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13151 * math/auto-libm-test-in: Add more tests of lgamma.
13152 * math/auto-libm-test-out: Regenerated.
13153 * sysdeps/i386/fpu/libm-test-ulps: Update.
13154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13155
13156 2015-09-09 Justin Maggard <jmaggard@netgear.com>
13157
13158 [BZ #18675]
13159 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13160
13161 2015-09-08 Joseph Myers <joseph@codesourcery.com>
13162
13163 [BZ #14912]
13164 * bits/libc-lock.h: Move to ...
13165 * sysdeps/generic/libc-lock.h: ...here.
13166 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13167 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13168 * sysdeps/mach/hurd/libc-lock.h: ...here.
13169 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13170 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13171 * sysdeps/mach/bits/libc-lock.h: Move to ...
13172 * sysdeps/mach/libc-lock.h: ...here.
13173 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13174 * sysdeps/nptl/bits/libc-lock.h: Move to ...
13175 * sysdeps/nptl/libc-lock.h: ...here.
13176 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13177 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13178 * sysdeps/nptl/libc-lockP.h: ...here.
13179 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13180 * crypt/crypt_util.c: Include <libc-lock.h> instead of
13181 <bits/libc-lock.h>.
13182 * dirent/scandir-tail.c: Likewise.
13183 * dlfcn/dlerror.c: Likewise.
13184 * elf/dl-close.c: Likewise.
13185 * elf/dl-iteratephdr.c: Likewise.
13186 * elf/dl-lookup.c: Likewise.
13187 * elf/dl-open.c: Likewise.
13188 * elf/dl-support.c: Likewise.
13189 * elf/dl-writev.h: Likewise.
13190 * elf/rtld.c: Likewise.
13191 * grp/fgetgrent.c: Likewise.
13192 * gshadow/fgetsgent.c: Likewise.
13193 * gshadow/sgetsgent.c: Likewise.
13194 * iconv/gconv_conf.c: Likewise.
13195 * iconv/gconv_db.c: Likewise.
13196 * iconv/gconv_dl.c: Likewise.
13197 * iconv/gconv_int.h: Likewise.
13198 * iconv/gconv_trans.c: Likewise.
13199 * include/link.h: Likewise.
13200 * inet/getnameinfo.c: Likewise.
13201 * inet/getnetgrent.c: Likewise.
13202 * inet/getnetgrent_r.c: Likewise.
13203 * intl/bindtextdom.c: Likewise.
13204 * intl/dcigettext.c: Likewise.
13205 * intl/finddomain.c: Likewise.
13206 * intl/gettextP.h: Likewise.
13207 * intl/loadmsgcat.c: Likewise.
13208 * intl/localealias.c: Likewise.
13209 * intl/textdomain.c: Likewise.
13210 * libidn/idn-stub.c: Likewise.
13211 * libio/libioP.h: Likewise.
13212 * locale/duplocale.c: Likewise.
13213 * locale/freelocale.c: Likewise.
13214 * locale/newlocale.c: Likewise.
13215 * locale/setlocale.c: Likewise.
13216 * login/getutent_r.c: Likewise.
13217 * login/getutid_r.c: Likewise.
13218 * login/getutline_r.c: Likewise.
13219 * login/utmp-private.h: Likewise.
13220 * login/utmpname.c: Likewise.
13221 * malloc/mtrace.c: Likewise.
13222 * misc/efgcvt.c: Likewise.
13223 * misc/error.c: Likewise.
13224 * misc/fstab.c: Likewise.
13225 * misc/getpass.c: Likewise.
13226 * misc/mntent.c: Likewise.
13227 * misc/syslog.c: Likewise.
13228 * nis/nis_call.c: Likewise.
13229 * nis/nis_callback.c: Likewise.
13230 * nis/nss-default.c: Likewise.
13231 * nis/nss_compat/compat-grp.c: Likewise.
13232 * nis/nss_compat/compat-initgroups.c: Likewise.
13233 * nis/nss_compat/compat-pwd.c: Likewise.
13234 * nis/nss_compat/compat-spwd.c: Likewise.
13235 * nis/nss_nis/nis-alias.c: Likewise.
13236 * nis/nss_nis/nis-ethers.c: Likewise.
13237 * nis/nss_nis/nis-grp.c: Likewise.
13238 * nis/nss_nis/nis-hosts.c: Likewise.
13239 * nis/nss_nis/nis-network.c: Likewise.
13240 * nis/nss_nis/nis-proto.c: Likewise.
13241 * nis/nss_nis/nis-pwd.c: Likewise.
13242 * nis/nss_nis/nis-rpc.c: Likewise.
13243 * nis/nss_nis/nis-service.c: Likewise.
13244 * nis/nss_nis/nis-spwd.c: Likewise.
13245 * nis/nss_nisplus/nisplus-alias.c: Likewise.
13246 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13247 * nis/nss_nisplus/nisplus-grp.c: Likewise.
13248 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13249 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13250 * nis/nss_nisplus/nisplus-network.c: Likewise.
13251 * nis/nss_nisplus/nisplus-proto.c: Likewise.
13252 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13253 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13254 * nis/nss_nisplus/nisplus-service.c: Likewise.
13255 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13256 * nis/ypclnt.c: Likewise.
13257 * nptl/libc_pthread_init.c: Likewise.
13258 * nss/getXXbyYY.c: Likewise.
13259 * nss/getXXent.c: Likewise.
13260 * nss/getXXent_r.c: Likewise.
13261 * nss/nss_db/db-XXX.c: Likewise.
13262 * nss/nss_db/db-netgrp.c: Likewise.
13263 * nss/nss_db/nss_db.h: Likewise.
13264 * nss/nss_files/files-XXX.c: Likewise.
13265 * nss/nss_files/files-alias.c: Likewise.
13266 * nss/nsswitch.c: Likewise.
13267 * posix/regex_internal.h: Likewise.
13268 * posix/wordexp.c: Likewise.
13269 * pwd/fgetpwent.c: Likewise.
13270 * resolv/res_hconf.c: Likewise.
13271 * resolv/res_libc.c: Likewise.
13272 * shadow/fgetspent.c: Likewise.
13273 * shadow/lckpwdf.c: Likewise.
13274 * shadow/sgetspent.c: Likewise.
13275 * socket/opensock.c: Likewise.
13276 * stdio-common/reg-modifier.c: Likewise.
13277 * stdio-common/reg-printf.c: Likewise.
13278 * stdio-common/reg-type.c: Likewise.
13279 * stdio-common/vfprintf.c: Likewise.
13280 * stdio-common/vfscanf.c: Likewise.
13281 * stdlib/abort.c: Likewise.
13282 * stdlib/cxa_atexit.c: Likewise.
13283 * stdlib/fmtmsg.c: Likewise.
13284 * stdlib/random.c: Likewise.
13285 * stdlib/setenv.c: Likewise.
13286 * string/strsignal.c: Likewise.
13287 * sunrpc/auth_none.c: Likewise.
13288 * sunrpc/bindrsvprt.c: Likewise.
13289 * sunrpc/create_xid.c: Likewise.
13290 * sunrpc/key_call.c: Likewise.
13291 * sunrpc/rpc_thread.c: Likewise.
13292 * sysdeps/arm/backtrace.c: Likewise.
13293 * sysdeps/generic/ldsodefs.h: Likewise.
13294 * sysdeps/generic/stdio-lock.h: Likewise.
13295 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13296 * sysdeps/i386/backtrace.c: Likewise.
13297 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13298 * sysdeps/m68k/backtrace.c: Likewise.
13299 * sysdeps/mach/hurd/cthreads.c: Likewise.
13300 * sysdeps/mach/hurd/dirstream.h: Likewise.
13301 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13302 * sysdeps/nptl/malloc-machine.h: Likewise.
13303 * sysdeps/nptl/stdio-lock.h: Likewise.
13304 * sysdeps/posix/dirstream.h: Likewise.
13305 * sysdeps/posix/getaddrinfo.c: Likewise.
13306 * sysdeps/posix/system.c: Likewise.
13307 * sysdeps/pthread/aio_suspend.c: Likewise.
13308 * sysdeps/s390/s390-32/backtrace.c: Likewise.
13309 * sysdeps/s390/s390-64/backtrace.c: Likewise.
13310 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13311 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13312 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13313 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13314 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13315 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13316 * sysdeps/unix/sysv/linux/system.c: Likewise.
13317 * sysdeps/x86_64/backtrace.c: Likewise.
13318 * time/alt_digit.c: Likewise.
13319 * time/era.c: Likewise.
13320 * time/tzset.c: Likewise.
13321 * wcsmbs/wcsmbsload.c: Likewise.
13322 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13323 instead of <bits/libc-lock.h> in comment.
13324
13325 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
13326
13327 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13328 Only use .set mips2 if the current ISA is below mips2.
13329 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13330 Likewise.
13331 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13332 mips32r2 if the current ISA is below mips32r2.
13333 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13334 (TLS_IE): Updated to use the TLD_RDHWR macro.
13335 (TLS_LE): Likewise.
13336 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13337 __ASSEMBLER__ condition.
13338
13339 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13340
13341 Fix parallel build of before-compile targets.
13342
13343 * sysdeps/mach/Makefile ($(patsubst
13344 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13345 mach-before-compile target.
13346 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13347 io fs process)): Move rule to dedicated hurd-before-compile target.
13348
13349 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13350
13351 Fix rules generating headers in hurd/ and mach/ when initial make call
13352 has subdir= explicitly set.
13353
13354 * sysdeps/mach/Makefile ($(patsubst
13355 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13356 calling $(MAKE).
13357 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13358 io fs process)): Force subdir to hurd when calling $(MAKE).
13359 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13360 subdir to mach when calling $(MAKE).
13361
13362 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
13363
13364 Check sysheaders when looking for Mach and Hurd headers
13365
13366 * sysdeps/mach/configure.ac: Add sysheaders check.
13367 * sysdeps/mach/configure: Regenerate.
13368 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13369 * sysdeps/mach/hurd/configure: Regenerate.
13370
13371 2015-09-04 Roland McGrath <roland@hack.frob.com>
13372
13373 [BZ #18921]
13374 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13375 Fix inverted sense of test of 'o_directory_works' value.
13376 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13377 Bernhard Voelker <mail@bernhard-voelker.de>.
13378
13379 2015-09-04 Joseph Myers <joseph@codesourcery.com>
13380
13381 [BZ #14912]
13382 * bits/linkmap.h: Move to ...
13383 * sysdeps/generic/linkmap.h: ...here.
13384 * sysdeps/aarch64/bits/linkmap.h: Move to ...
13385 * sysdeps/aarch64/linkmap.h: ...here.
13386 * sysdeps/arm/bits/linkmap.h: Move to ...
13387 * sysdeps/arm/linkmap.h: ...here.
13388 * sysdeps/hppa/bits/linkmap.h: Move to ...
13389 * sysdeps/hppa/linkmap.h: ...here.
13390 * sysdeps/ia64/bits/linkmap.h: Move to ...
13391 * sysdeps/ia64/linkmap.h: ...here.
13392 * sysdeps/mips/bits/linkmap.h: Move to ...
13393 * sysdeps/mips/linkmap.h: ...here.
13394 * sysdeps/s390/bits/linkmap.h: Move to ...
13395 * sysdeps/s390/linkmap.h: ...here.
13396 * sysdeps/sh/bits/linkmap.h: Move to ...
13397 * sysdeps/sh/linkmap.h: ...here.
13398 * sysdeps/x86/bits/linkmap.h: Move to ...
13399 * sysdeps/x86/linkmap.h: ...here.
13400 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13401
13402 2015-09-04 Andreas Schwab <schwab@suse.de>
13403
13404 [BZ #18635]
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13406 (__makecontext): Terminate FDE before return label.
13407 (__novec_makecontext): Likewise.
13408
13409 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13410
13411 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13412 first member of struct sv in syscall macro.
13413
13414 2015-09-04 Joseph Myers <joseph@codesourcery.com>
13415
13416 [BZ #14912]
13417 * bits/stdio-lock.h: Move to ...
13418 * sysdeps/generic/stdio-lock.h: ...here.
13419 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13420 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13421 * sysdeps/nptl/stdio-lock.h: ...here.
13422 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13423 * include/libio.h: Include <stdio-lock.h> instead of
13424 <bits/stdio-lock.h>.
13425 * sysdeps/nptl/fork.c: Likewise.
13426 * sysdeps/pthread/flockfile.c: Likewise.
13427 * sysdeps/pthread/ftrylockfile.c: Likewise.
13428 * sysdeps/pthread/funlockfile.c: Likewise.
13429
13430 [BZ #14912]
13431 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13432 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13433 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13434 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13435 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13436 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13437 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13438
13439 2015-09-03 Roland McGrath <roland@hack.frob.com>
13440
13441 * elf/Makefile (test-xfail-tst-protected1a): New variable.
13442 (test-xfail-tst-protected1b): New variable.
13443
13444 2015-09-03 Joseph Myers <joseph@codesourcery.com>
13445
13446 [BZ #14912]
13447 * bits/libc-tsd.h: Move to ...
13448 * sysdeps/generic/libc-tsd.h: ...here.
13449 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13450 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13451 * sysdeps/mach/hurd/libc-tsd.h: ...here.
13452 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13453 * include/ctype.h: Include <libc-tsd.h> instead of
13454 <bits/libc-tsd.h>.
13455 * include/rpc/rpc.h: Likewise.
13456 * locale/localeinfo.h: Likewise.
13457 * sunrpc/rpc_thread.c: Likewise.
13458 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13459 * sysdeps/nptl/malloc-machine.h: Likewise.
13460
13461 * Makefile (headers): Remove bits/libc-lock.h.
13462 * libio/Makefile (headers): Remove bits/stdio-lock.h.
13463
13464 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13465 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13466 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13467 <bits/stdio-lock.h>.
13468 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13469 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13470
13471 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13472
13473 [BZ #18757]
13474 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13475 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13476 BZ #18757.
13477
13478 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13479
13480 * malloc/mtrace.pl: Filter out NULL entries.
13481
13482 2015-09-01 Joseph Myers <joseph@codesourcery.com>
13483
13484 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13485 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13486 macro.
13487
13488 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13489 (TCP_CC_INFO): Likewise.
13490 (TCP_SAVE_SYN): Likewise.
13491 (TCP_SAVED_SYN): Likewise.
13492
13493 2015-08-31 Brett Neumeier <brett@neumeier.us>
13494
13495 [BZ #18870]
13496 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13497
13498 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
13499
13500 [BZ #18873]
13501 Fix broken overflow check in posix_fallocate
13502 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13503 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13504 Fix parenthesization typo.
13505
13506 2015-08-28 Mike Frysinger <vapier@gentoo.org>
13507
13508 [BZ #18887]
13509 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13510 tst-mntent-blank-passno.
13511 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13512 * misc/tst-mntent-blank-corrupt.c: New test.
13513 * misc/tst-mntent-blank-passno.c: New test ripped from ...
13514 * misc/tst-mntent.c (do_test): ... here.
13515
13516 2015-08-29 Mike Frysinger <vapier@gentoo.org>
13517
13518 [BZ #4404]
13519 * po/de.po: Fix SIGALRM typo.
13520
13521 2015-08-28 James Perkins <james@loowit.net>
13522
13523 * time/tst-strptime2.c (tests): Replace short list of test
13524 strings for strptime %z specifier with code which exhaustively
13525 tests every combination of sign and 0 to 5 digits. Tests for
13526 rejection of invalid strings.
13527
13528 2015-08-28 James Perkins <james@loowit.net>
13529
13530 [BZ #16141]
13531 * time/strptime_l.c (__strptime_internal): Fix %z minutes
13532 calculation, removing incorrect decimal time rounding, so that
13533 all minute values result in a valid seconds value.
13534 * time/strptime_l.c (__strptime_internal): Extend %z time zone
13535 offset range limits to UTC-99:59 through UTC+99:59 to parse
13536 current and historical use cases.
13537 * time/tst-strptime2.c (tests): Modify and add tests for the
13538 strptime %z input field descriptor, specifically conversion of
13539 minutes to seconds and validating an offset range of -9959 to
13540 +9959.
13541
13542 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13543 Dmitry V. Levin <ldv@altlinux.org>
13544
13545 [BZ #18877]
13546 * posix/Makefile (tests): Add tst-mmap-offset.
13547 * posix/tst-mmap.c: New file.
13548 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13549 offset calculation for negative values.
13550
13551 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13552
13553 * sysdeps/i386/init-arch.h: New file.
13554 * sysdeps/i386/i586/init-arch.h: Likewise.
13555 * sysdeps/i386/i686/init-arch.h: Likewise.
13556 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13557 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
13558 * sysdeps/x86/cpu-features.h (bit_I586): New.
13559 (bit_I686): Likewise.
13560 (bit_CX8): Likewise.
13561 (bit_CMOV): Likewise.
13562 (index_CX8): Likewise.
13563 (index_CMOV): Likewise.
13564 (index_I586): Likewise.
13565 (index_I686): Likewise.
13566 (reg_CX8): Likewise.
13567 (reg_CMOV): Likewise.
13568 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13569 available at compile-time.
13570 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13571 available at compile-time.
13572 * sysdeps/x86/init-arch.h (USE_I586): New macro.
13573 (USE_I686): Likewise.
13574
13575 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13576
13577 * sysdeps/i386/bcopy.S: New file.
13578 * sysdeps/i386/bzero.S: Likewise.
13579 * sysdeps/i386/memcpy.S: Likewise.
13580 * sysdeps/i386/memmove.S: Likewise.
13581 * sysdeps/i386/mempcpy.S: Likewise.
13582 * sysdeps/i386/memset.S: Likewise.
13583 * sysdeps/i386/bzero.c: Removed.
13584 * sysdeps/i386/memset.c: Likewise.
13585 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13586 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13587 * sysdeps/i386/i586/memset_chk.S: Likewise.
13588 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13589 * sysdeps/i386/memcpy_chk.S: Here.
13590 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13591 * sysdeps/i386/memmove_chk.S: Here.
13592 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13593 * sysdeps/i386/mempcpy_chk.S: Likewise.
13594 * sysdeps/i386/i686/memset_chk.S: Moved to ...
13595 * sysdeps/i386/memset_chk.S: Likewise.
13596
13597 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
13598
13599 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13600 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13601 file, move DIAG_POP_NEEDS_COMMENT to end of file.
13602 * soft-fp/fmadf4.c: Ditto.
13603 * soft-fp/fmatf4.c: Ditto.
13604
13605 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13606
13607 * sysdeps/i386/i586/Implies: Removed.
13608 * sysdeps/i386/i686/Implies: Likewise.
13609
13610 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13611
13612 * sysdeps/i386/i486/strlen.S: Moved to ...
13613 * sysdeps/i386/strlen.S: Here.
13614
13615 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13616
13617 * sysdeps/i386/i486/strcat.S: Moved to ...
13618 * sysdeps/i386/strcat.S: Here.
13619
13620 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13621
13622 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13623 * sysdeps/i386/pthread_spin_trylock.S: Here.
13624 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13625 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13626
13627 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13628
13629 * sysdeps/i386/i486/string-inlines.c: Moved to ...
13630 * sysdeps/i386/string-inlines.c: Here.
13631
13632 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13633
13634 * sysdeps/i386/i486/htonl.S: Moved ...
13635 * sysdeps/i386/htonl.S: here.
13636
13637 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13638
13639 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13640 * sysdeps/i386/bits/atomic.h: Here.
13641
13642 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13643
13644 * sysdeps/i386/i486/Versions: Removed.
13645
13646 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
13647
13648 [BZ #2898]
13649 * misc/mktemp.c: Add mkdtemp to the link_warning message.
13650 Based on patch by Aurelien Jarno.
13651
13652 2015-08-26 Stan Shebs <stanshebs@google.com>
13653
13654 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13655 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13656
13657 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13658
13659 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13660 * sysdeps/powerpc/dl-procinfo.c:
13661 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13662 feature so it shows when LD_SHOW_AUXV=1.
13663
13664 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13665
13666 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13667 (__arch_compare_and_exchange_val_32_acq): Remove and use common
13668 definition. ISA 2.07B no longer requires full sync.
13669
13670 2015-08-26 Mike Frysinger <vapier@gentoo.org>
13671
13672 [BZ #18863]
13673 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13674 (si_call_addr): Define.
13675 (si_syscall): Define.
13676 (si_arch): Define.
13677
13678 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
13679
13680 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13681 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13682 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13683 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13684 (__memset_zero_constant_len_parameter): New.
13685 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13686 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13687 (__memset_zero_constant_len_parameter): Don't define if
13688 __memset_chk or USE_AS_BZERO are defined.
13689
13690 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13691 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13692 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13693
13694 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13695 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13696 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13697 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
13698 comments.
13699 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13700 -mno-mmx for $(all-rtld-routines).
13701 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13702 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
13703 i386.
13704
13705 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13706
13707 * sysdeps/generic/unwind.h
13708 (_Unwind_Word): Use __mode__(__unwind_word__)
13709 instead of __mode__(__word__).
13710 (_Unwind_Sword): Likewise.
13711
13712 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13713 (MAX_NEEDED_INPUT): New define.
13714 (MAX_NEEDED_OUTPUT): New define.
13715
13716 * NEWS: New item for IBM z13 string optimizations.
13717
13718 * sysdeps/s390/multiarch/memrchr-c.c: New File.
13719 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13720 * sysdeps/s390/multiarch/memrchr.c: Likewise.
13721 * sysdeps/s390/multiarch/Makefile
13722 (sysdep_routines): Add memrchr functions.
13723 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13724 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13725
13726 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13727 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13728 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13729 * sysdeps/s390/multiarch/Makefile
13730 (sysdep_routines): Add wmemcmp functions.
13731 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13732 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13733 * benchtests/bench-wmemcmp.c: New File.
13734 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13735
13736 * sysdeps/s390/multiarch/wmemset-c.c: New File.
13737 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13738 * sysdeps/s390/multiarch/wmemset.c: Likewise.
13739 * sysdeps/s390/multiarch/Makefile
13740 (sysdep_routines): Add wmemset functions.
13741 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13742 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13743 * wcsmbs/wmemset.c: Use WMEMSET if defined.
13744 * string/test-memset.c: Add wmemset support.
13745 * wcsmbs/test-wmemset.c: New File.
13746 * wcsmbs/Makefile (strop-tests): Add wmemset.
13747 * benchtests/bench-memset.c: Add wmemset support.
13748 * benchtests/bench-wmemset.c: New File.
13749 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13750
13751 * sysdeps/s390/multiarch/memccpy-c.c: New File.
13752 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13753 * sysdeps/s390/multiarch/memccpy.c: Likewise.
13754 * sysdeps/s390/multiarch/Makefile
13755 (sysdep_routines): Add memccpy functions.
13756 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13757 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13758 * string/memccpy.c: Use MEMCCPY if defined.
13759
13760 * sysdeps/s390/multiarch/memchr-vx.S: New File.
13761 * sysdeps/s390/multiarch/memchr.c: Likewise.
13762 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13763 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13764 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13765 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13766 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13767 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13768 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13769 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13770 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13771 and rawmemchr functions.
13772 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13773 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13774 and wmemchr.
13775 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13776 * string/test-memchr.c: Add wmemchr support.
13777 * wcsmbs/test-wmemchr.c: New File.
13778 * wcsmbs/Makefile (strop-tests): Add wmemchr.
13779 * benchtests/bench-memchr.c: Add wmemchr support.
13780 * benchtests/bench-wmemchr.c: New File.
13781 * benchtests/Makefile (wcsmbs-bench): wmemchr.
13782
13783 * sysdeps/s390/multiarch/strcspn-c.c: New File.
13784 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13785 * sysdeps/s390/multiarch/strcspn.c: Likewise.
13786 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13787 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13788 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13789 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13790 wcscspn functions.
13791 * sysdeps/s390/multiarch/ifunc-impl-list.c
13792 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13793 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13794 * string/test-strcspn.c: Add wcscspn support.
13795 * wcsmbs/test-wcscspn.c: New File.
13796 * wcsmbs/Makefile (strop-tests): Add wcscspn.
13797 * benchtests/bench-strcspn.c: Add wcscspn support.
13798 * benchtests/bench-wcscspn.c: New File.
13799 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13800
13801 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13802 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13803 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13804 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13805 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13806 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13807 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13808 wcspbrk functions.
13809 * sysdeps/s390/multiarch/ifunc-impl-list.c
13810 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13811 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13812 * string/test-strpbrk.c: Add wcspbrk support.
13813 * wcsmbs/test-wcspbrk.c: New File.
13814 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13815 * benchtests/bench-strpbrk.c: Add wcspbrk support.
13816 * benchtests/bench-wcspbrk.c: New File.
13817 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13818
13819 * sysdeps/s390/multiarch/strspn-c.c: New File.
13820 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13821 * sysdeps/s390/multiarch/strspn.c: Likewise.
13822 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13823 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13824 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13825 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13826 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13827 wcsspn functions.
13828 * sysdeps/s390/multiarch/ifunc-impl-list.c
13829 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13830 * string/test-strspn.c: Add wcsspn support.
13831 * wcsmbs/test-wcsspn.c: New File.
13832 * wcsmbs/Makefile (strop-tests): Add wcsspn.
13833 * benchtests/bench-strspn.c: Add wcsspn support.
13834 * benchtests/bench-wcsspn.c: New File.
13835 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13836
13837 * sysdeps/s390/multiarch/strrchr-c.c: New File.
13838 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13839 * sysdeps/s390/multiarch/strrchr.c: Likewise.
13840 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13841 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13842 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13843 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13844 wcsrchr functions.
13845 * sysdeps/s390/multiarch/ifunc-impl-list.c
13846 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13847 * benchtests/bench-wcsrchr.c: New File.
13848 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13849
13850 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13851 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13852 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13853 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13854 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13855 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13856 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13857 wcschrnul functions.
13858 * sysdeps/s390/multiarch/ifunc-impl-list.c
13859 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13860 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13861 * string/test-strchr.c: Add wcschrnul support.
13862 * wcsmbs/test-wcschrnul.c: New File.
13863 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13864 * benchtests/bench-strchr.c: Add wcschrnul support.
13865 * benchtests/bench-wcschrnul.c: New File.
13866 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13867
13868 * sysdeps/s390/multiarch/strchr-c.c: New File.
13869 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13870 * sysdeps/s390/multiarch/strchr.c: Likewise.
13871 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13872 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13873 * sysdeps/s390/multiarch/wcschr.c: Likewise.
13874 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13875 wcschr functions.
13876 * sysdeps/s390/multiarch/ifunc-impl-list.c
13877 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13878 * string/strchr.c (STRCHR): Define and use macro.
13879 * benchtests/bench-wcschr.c: New File.
13880 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13881
13882 * sysdeps/s390/multiarch/strncmp-c.c: New File.
13883 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13884 * sysdeps/s390/multiarch/strncmp.c: Likewise.
13885 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13886 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13887 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13888 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13889 wcsncmp functions.
13890 * sysdeps/s390/multiarch/ifunc-impl-list.c
13891 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13892 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13893 * benchtests/bench-strncmp.c: Add wcsncmp support.
13894 * benchtests/bench-wcsncmp.c: New File.
13895 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13896
13897 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13898 * sysdeps/s390/multiarch/strcmp.c: Likewise.
13899 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13900 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13901 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13902 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13903 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13904 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13905 wcscmp functions.
13906 * sysdeps/s390/multiarch/ifunc-impl-list.c
13907 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13908 * string/strcmp.c (STRCMP): Define and use macro.
13909 * benchtests/bench-wcscmp.c: New File.
13910 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13911 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13912 instead of _HAVE_STRING_ARCH_memchr.
13913
13914 * sysdeps/s390/multiarch/strncat-c.c: New File.
13915 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13916 * sysdeps/s390/multiarch/strncat.c: Likewise.
13917 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13918 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13919 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13920 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13921 wcsncat functions.
13922 * sysdeps/s390/multiarch/ifunc-impl-list.c
13923 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13924 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13925 * string/test-strncat.c: Add wcsncat support.
13926 * wcsmbs/test-wcsncat.c: New File.
13927 * wcsmbs/Makefile (strop-tests): Add wcsncat.
13928 * benchtests/bench-strncat.c: Add wcsncat support.
13929 * benchtests/bench-wcsncat.c: New File.
13930 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13931
13932 * sysdeps/s390/multiarch/strcat-c.c: New File.
13933 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13934 * sysdeps/s390/multiarch/strcat.c: Likewise.
13935 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13936 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13937 * sysdeps/s390/multiarch/wcscat.c: Likewise.
13938 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13939 wcscat functions.
13940 * sysdeps/s390/multiarch/ifunc-impl-list.c
13941 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13942 * string/strcat.c (STRCAT): Define and use macro.
13943 * wcsmbs/wcscat.c: Use WCSCAT if defined.
13944 * string/test-strcat.c: Add wcscat support.
13945 * wcsmbs/test-wcscat.c: New File.
13946 * wcsmbs/Makefile (strop-tests): Add wcscat.
13947 * benchtests/bench-strcat.c: Add wcscat support.
13948 * benchtests/bench-wcscat.c: New File.
13949 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13950
13951 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13952 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13953 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13954 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13955 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13956 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13957 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13958 wcpncpy functions.
13959 * sysdeps/s390/multiarch/ifunc-impl-list.c
13960 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13961 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13962 * string/test-stpncpy.c: Add wcpncpy support.
13963 * wcsmbs/test-wcpncpy.c: New File.
13964 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13965 * benchtests/bench-stpncpy.c: Add wcpncpy support.
13966 * benchtests/bench-wcpncpy.c: New File.
13967 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13968
13969 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13970 * sysdeps/s390/multiarch/strncpy.c: Likewise.
13971 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13972 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13973 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13974 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13975 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13976 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13977 wcsncpy functions.
13978 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13979 * sysdeps/s390/multiarch/ifunc-impl-list.c
13980 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13981 * string/test-strncpy.c: Add wcsncpy support.
13982 * wcsmbs/test-wcsncpy.c: New File.
13983 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13984 * benchtests/bench-strncpy.c: Add wcsncpy support.
13985 * benchtests/bench-wcsncpy.c: New File.
13986 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13987
13988 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13989 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13990 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13991 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13992 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13993 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13994 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13995 wcpcpy functions.
13996 * string/stpcpy.c: Use STPCPY if defined.
13997 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13998 * sysdeps/s390/multiarch/ifunc-impl-list.c
13999 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14000 * string/test-stpcpy.c: Add wcpcpy support.
14001 * wcsmbs/test-wcpcpy.c: New File.
14002 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14003 * benchtests/bench-stpcpy.c: Add wcpcpy support.
14004 * benchtests/bench-wcpcpy.c: New File.
14005 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14006
14007 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14008 * sysdeps/s390/multiarch/strcpy.c: Likewise.
14009 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14010 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14011 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14012 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14013 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14014 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14015 wcscpy functions.
14016 * sysdeps/s390/multiarch/ifunc-impl-list.c
14017 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14018 * benchtests/bench-wcscpy.c: New File.
14019 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14020
14021 * sysdeps/s390/multiarch/strnlen-c.c: New File.
14022 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14023 * sysdeps/s390/multiarch/strnlen.c: Likewise.
14024 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14025 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14026 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14027 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14028 wcsnlen functions.
14029 * sysdeps/s390/multiarch/ifunc-impl-list.c
14030 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14031 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14032 * string/test-strnlen.c: Add wcsnlen support.
14033 * wcsmbs/test-wcsnlen.c: New File.
14034 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14035 * benchtests/bench-strnlen.c: Add wcsnlen support.
14036 * benchtests/bench-wcsnlen.c: New File.
14037 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14038
14039 * sysdeps/s390/multiarch/Makefile: New File.
14040 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14041 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14042 * sysdeps/s390/multiarch/strlen.c: Likewise.
14043 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14044 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14045 * sysdeps/s390/multiarch/wcslen.c: Likewise.
14046 * string/strlen.c (STRLEN): Define and use macro.
14047 * sysdeps/s390/multiarch/ifunc-impl-list.c
14048 (IFUNC_VX_IMPL): New macro function.
14049 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14050 * benchtests/Makefile (wcsmbs-bench): New variable.
14051 (string-bench-all): Added wcsmbs-bench.
14052 * benchtests/bench-wcslen.c: New File.
14053
14054 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14055 s390_vx_libc_ifunc2): New macro function.
14056
14057 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14058 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14059 assembler support.
14060 * sysdeps/s390/configure: Regenerated.
14061
14062 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14063 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14064
14065 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14066 * sysdeps/s390/dl-procinfo.h: Add vector capability.
14067 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14068
14069 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14070 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14071 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14072 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14073 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14074 (memcmp, bcmp): Use __memcmp_default as alias source.
14075 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14076 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14077 Rename to __memcmp_default.
14078 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14079 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14080 (memcpy): Use __memcpy_default as alias source.
14081 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14082 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14083 Rename to __memcpy_default.
14084 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14085 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14086 (memset): Use __memset_default as alias source.
14087 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14088 * sysdeps/s390/s390-32/memset.S (__memset_g5):
14089 Rename to __memset_default.
14090 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14091 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14092 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14093 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14094 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14095 (memcmp, bcmp): Use __memcmp_default as alias source.
14096 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14097 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14098 Rename to __memcmp_default.
14099 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14100 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14101 (memcpy): Use __memcpy_default as alias source.
14102 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14103 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14104 Rename to __memcpy_default.
14105 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14106 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14107 (memset): Use __memset_default as alias source.
14108 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14109 * sysdeps/s390/s390-64/memset.S (__memset_z900):
14110 Rename to __memset_default.
14111 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14112 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14113
14114 [BZ #18610]
14115 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14116 __ieee_instruction_pointer to __unused.
14117 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14118 __ieee_instruction_pointer.
14119 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14120 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14121 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14122 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14123 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14124 Mark dxc-field as reserved.
14125
14126 2015-08-25 Roland McGrath <roland@hack.frob.com>
14127
14128 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14129 if the weak reference is not null.
14130
14131 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
14132
14133 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14134
14135 [BZ #11214]
14136 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14137
14138 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14139
14140 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14141 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14142 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14143 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14144 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14145 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14146 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14147 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14148 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14149 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14150 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14151 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14152 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14153 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14154 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14155 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14156 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14157 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14158
14159 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14160
14161 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14162 register other than r0 for tabort, it has special meaning.
14163 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14164 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14165 transaction before starting syscall.
14166
14167 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14168
14169 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14170
14171 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
14172
14173 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14174
14175 * sysdeps/x86_64/rtld-memcmp.c: Removed.
14176 * sysdeps/x86_64/rtld-memset.S: Likewise.
14177 * sysdeps/x86_64/rtld-strchr.S: Likewise.
14178 * sysdeps/x86_64/rtld-strlen.S: Likewise.
14179 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14180 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14181
14182 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14183
14184 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
14185
14186 * debug/strcpy_chk.c: Improve performance.
14187 * debug/stpcpy_chk.c: Likewise.
14188 * sysdeps/x86_64/strcpy_chk.S: Remove.
14189 * sysdeps/x86_64/stpcpy_chk.S: Remove.
14190
14191 [BZ #18240]
14192 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14193
14194 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
14195
14196 [BZ #15128]
14197 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14198 ifuncmain8.
14199 (modules-names): Add ifuncmod8.
14200 ($(objpfx)ifuncmain8): New rule.
14201 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14202 <cpuid.h>.
14203 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14204 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14205 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14206 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14207 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14208 * sysdeps/x86_64/dl-trampoline.h: Likewise.
14209 * sysdeps/x86_64/ifuncmain8.c: New file.
14210 * sysdeps/x86_64/ifuncmod8.c: Likewise.
14211 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14212 Removed.
14213 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14214 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14215 Change rtld_savespace_sse to __glibc_unused2.
14216 (RTLD_CHECK_FOREIGN_CALL): Removed.
14217 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14218 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14219 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14220
14221 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
14222
14223 * sysdeps/aarch64/bzero.S (__bzero): Remove.
14224
14225 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
14226
14227 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14228 Unconditionally set __fpcr to avoid uninialized warning.
14229 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14230
14231 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14232
14233 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14234 is corrupt.
14235
14236 * malloc/arena.c (arena_get2): Drop unused argument.
14237 (arena_lock): Adjust.
14238 (arena_get_retry): Likewise.
14239
14240 2015-08-24 Andreas Schwab <schwab@suse.de>
14241
14242 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14243 Don't define.
14244 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14245 (__ASSUME_IPC64): Don't undef.
14246 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14247 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14248 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14249 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14250 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14251 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14252 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14253 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14254 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14255 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14256 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14257 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14258 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14259 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14260 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14261 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14262 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14263 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14264 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14265 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14266 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14267
14268 2015-08-21 Mike Frysinger <vapier@gentoo.org>
14269
14270 * manual/Makefile (install): Only build manual when perl is available.
14271
14272 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14273
14274 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14275 '#undef memcpy' by '#undef memchr'.
14276
14277 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14278
14279 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14280 memchr not point to the internal __GI_memchr implementation.
14281
14282 2015-08-20 Joseph Myers <joseph@codesourcery.com>
14283
14284 * timezone/Makefile (CFLAGS-zdump.c): Remove
14285 -Wno-strict-prototypes.
14286 (CFLAGS-zic.c): Likewise.
14287 (CFLAGS-ialloc.c): Likewise.
14288 (CFLAGS-scheck.c): Likewise.
14289
14290 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14291 -Wno-error=undef.
14292
14293 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14294
14295 * i386/i686/multiarch/strcasestr-c.c: Removed.
14296 * x86_64/multiarch/strcasestr.c: Likewise.
14297 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14298 Remove strcasestr.
14299
14300 2015-08-20 Joseph Myers <joseph@codesourcery.com>
14301
14302 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14303
14304 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14305 variables for high and low parts before possibly modifying them.
14306
14307 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14308
14309 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14310 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14311 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14312 of "multiarch/init-arch.h".
14313 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14314 * sysdeps/x86/init-arch.h: This.
14315
14316 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14317
14318 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14319 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14320
14321 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
14322
14323 [BZ #17787]
14324 * manual/macros.texi: Add twoexp macro.
14325 * manual/filesys.texi: Fix exponents.
14326 * manual/llio.texi: Likewise.
14327 * manual/stdio.texi: Likewise.
14328
14329 2015-08-20 Florian Weimer <fweimer@redhat.com>
14330
14331 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14332 incorrect use.
14333
14334 2015-08-19 Joseph Myers <joseph@codesourcery.com>
14335
14336 [BZ #18370]
14337 * math/s_csqrt.c (__csqrt): Force underflow exception for results
14338 whose real or imaginary part has small absolute value.
14339 * math/s_csqrtf.c (__csqrtf): Likewise.
14340 * math/s_csqrtl.c (__csqrtl): Likewise.
14341 * math/auto-libm-test-in: Add more tests of csqrt.
14342 * math/auto-libm-test-out: Regenerated.
14343 * sysdeps/i386/fpu/libm-test-ulps: Update.
14344
14345 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14346
14347 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14348 __ppc_set_ppr_very_low): New functions.
14349 * manual/platform.texi: Add documentation about
14350 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14351
14352 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
14353
14354 * string/stpncpy.c (stpncpy): Improve performance using
14355 __strnlen/memcpy/memset.
14356
14357 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
14358
14359 [BZ #18796]
14360 * scripts/test-installation.pl: Don't add -lmvec to build options if
14361 libmvec wasn't built.
14362
14363 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
14364
14365 [BZ #14341]
14366 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14367 case when there is a gap between DT_REL and DT_JMPREL sections.
14368 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14369 (LDFLAGS-tst-split-dynreloc): New.
14370 (tst-split-dynreloc-ENV): Likewise.
14371 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14372 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14373
14374 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14375
14376 [BZ #18822]
14377 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14378 attribute_hidden.
14379 (__xstat64_conv): Likewise.
14380 (__xstat32_conv): Likewise.
14381
14382 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14383
14384 [BZ #18822]
14385 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14386 Don't load %ebx when calling __setcontext. Call __setcontext
14387 with HIDDEN_JUMPTARGET.
14388 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14389 libc_hidden_def.
14390
14391 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14392
14393 * sysdeps/i386/i686/Makefile
14394 [$(subdir) == string] (sysdep_routines): Moved to ...
14395 * sysdeps/i386/Makefile: Here.
14396 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14397 * sysdeps/i386/cacheinfo.c: Here.
14398 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14399 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14400 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14401 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14402
14403 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14404
14405 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14406 __i586__ is defined.
14407 (HAS_I686): Defined to 1 if __i686__ is defined.
14408
14409 2015-08-19 Joseph Myers <joseph@codesourcery.com>
14410
14411 * elf/Makefile [$(have-z-execstack) = yes]
14412 (CPPFLAGS-tst-execstack.c): New variable.
14413
14414 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14415 conditional to [defined UTMPX || _HAVE_UT_TYPE].
14416 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14417 UTMPX || _HAVE_UT_TV].
14418 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14419 UTMPX || _HAVE_UT_TV - 0].
14420
14421 2015-08-18 Joseph Myers <joseph@codesourcery.com>
14422
14423 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14424 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14425 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14426
14427 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14428
14429 * sysdeps/powerpc/dl-procinfo.c:
14430 (_dl_powerpc_cap_flags): Added missing strings for some
14431 hwcap features.
14432 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14433
14434 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
14435
14436 Port the 0x7efe...feff pattern to GCC 6.
14437 See Steve Ellcey's bug report in:
14438 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14439 * string/memrchr.c (MEMRCHR):
14440 * string/rawmemchr.c (RAWMEMCHR):
14441 * string/strchr.c (strchr):
14442 * string/strchrnul.c (STRCHRNUL):
14443 Rewrite code to avoid issues with signed shift overflow.
14444
14445 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
14446
14447 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14448 whether cpuid is available only if HAS_CPUID is 0.
14449 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14450 (HAS_I586): Likewise.
14451 (HAS_I686): Likewise.
14452
14453 2015-08-18 Zack Weinberg <zackw@panix.com>
14454
14455 * misc/Versions (libc): Add GLIBC_2.23.
14456
14457 2015-08-18 Alan Modra <amodra@gmail.com>
14458
14459 [BZ #18421]
14460 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14461 .Lp__global.
14462 (_start): Load %dp via .Lp__global.
14463 [!SHARED]: Use .section .rodata.
14464
14465 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14466
14467 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14468 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14469
14470 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14471
14472 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14473 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14474
14475 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14476
14477 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14478 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14479
14480 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14481
14482 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14483 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14484
14485 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14486
14487 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14488 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14489
14490 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14491
14492 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14493 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14494
14495 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14496
14497 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14498
14499 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14500
14501 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14502 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
14503 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14504 (__ASSUME_LWS_CAS): Delete.
14505
14506 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14507
14508 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14509 * sysdeps/hppa/configure: Regenerated.
14510 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14511 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14512 * sysdeps/hppa/nptl/tls.h: Likewise.
14513
14514 2015-08-17 Joseph Myers <joseph@codesourcery.com>
14515
14516 [BZ #18823]
14517 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14518 for scaling up small arguments.
14519 * math/s_csqrtf.c (__csqrtf): Likewise.
14520 * math/s_csqrtl.c (__csqrtl): Likewise.
14521 * math/auto-libm-test-in: Add more tests of csqrt.
14522 * math/auto-libm-test-out: Regenerated.
14523
14524 2015-08-17 Andreas Schwab <schwab@suse.de>
14525
14526 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14527 version set GLIBC_2.19.
14528
14529 2015-08-16 Zack Weinberg <zackw@panix.com>
14530
14531 [BZ #18681]
14532 * misc/regexp.h: This interface is no longer supported.
14533 Remove all contents, leaving only an #error directive.
14534 * misc/regexp.c (loc1, loc2, locs, step, advance):
14535 Demote to compatibility symbols.
14536
14537 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14538
14539 [BZ #18084]
14540 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14541 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14542 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14543 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14544 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14545 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14546 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14547 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14548 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14549
14550 2015-08-15 Zack Weinberg <zackw@panix.com>
14551
14552 [BZ #18795]
14553 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14554 buffer length is known to be too large, not if it's known to be
14555 small enough.
14556 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14557 overflow at runtime, involving a length parameter, twice: once
14558 with a compile-time constant length parameter, once without.
14559
14560 2015-08-14 Joseph Myers <joseph@codesourcery.com>
14561
14562 [BZ #18824]
14563 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14564 scaling x * y up instead of down.
14565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14567 * math/auto-libm-test-in: Add more tests of fma.
14568 * math/auto-libm-test-out: Regenerated.
14569
14570 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14571
14572 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14573
14574 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14575
14576 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14577 unnecessary movq.
14578 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14579 Likewise.
14580
14581 2015-08-13 Joseph Myers <joseph@codesourcery.com>
14582
14583 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14584 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14585 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14586 and tgamma.
14587 * math/auto-libm-test-out: Regenerated.
14588 * sysdeps/i386/fpu/libm-test-ulps: Update.
14589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14590
14591 [BZ #16520]
14592 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14593 (__tanh): Force underflow exception for arguments with small
14594 absolute value.
14595 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14596 (__tanhf): Force underflow exception for arguments with small
14597 absolute value.
14598 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14599 (__tanhl): Force underflow exception for arguments with small
14600 absolute value.
14601 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14602 (__tanhl): Force underflow exception for arguments with small
14603 absolute value.
14604 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14605 (__tanhl): Force underflow exception for arguments with small
14606 absolute value.
14607 * math/auto-libm-test-in: Add more tests of tanh.
14608 * math/auto-libm-test-out: Regenerated.
14609 * sysdeps/i386/fpu/libm-test-ulps: Update.
14610
14611 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14612
14613 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14614 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14615
14616 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14617
14618 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14619 <cpuid.h>.
14620
14621 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14622
14623 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14624 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14625
14626 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14627
14628 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14629 Remove $(objpfx)init-arch.o.
14630 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14631 init-arch.
14632 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14633 (INIT_ARCH_EXT): Defined as empty.
14634 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14635 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14636 __init_cpu_features call. Replace HAS_XXX with
14637 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14638 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14639 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14640 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14641 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14642 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14643 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14644 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14645 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14646 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14647 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14648 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14649 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14650 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14651 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14652 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14653 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14654 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14655 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14656 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14657 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14658 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14659 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14660 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14661 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14662 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14663 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14664 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14665 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14666 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14667 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14668 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14669 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14670 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14671 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14672 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14673
14674 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14675
14676 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14677 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14678 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14679 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14680 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14681 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14682 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14683 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14684 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14685 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14686 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14687 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
14688 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14689 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14690 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14691 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14692 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14693 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14694 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14695 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14696 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14697 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14698 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14699 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14700 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14701 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14702 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14703 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14704 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14705 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14706 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14707 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14708 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14709 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14710 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14711 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14712 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14713 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14714 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14715 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14716 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14717 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14718 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14719
14720 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14721
14722 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14723 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14724 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14725 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14726 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14727 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14728 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14729 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14730 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14733 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14734 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14735 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14736 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14737 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14738 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14739 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14740 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14741 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14743 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14744 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14745 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14746 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14747 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14748 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14749 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
14750 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14751 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14752 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14753 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14754 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14755 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14756 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14757 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14758 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14759 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14760 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14761 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14762 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14763 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14764 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14765
14766 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14767
14768 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14769 (dl_platform_init): Call init_cpu_features.
14770 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14771 * sysdeps/i386/i686/cacheinfo.c
14772 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14773 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14774 * sysdeps/i386/i686/multiarch/Versions: Removed.
14775 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14776 Removed.
14777 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14778 * sysdeps/unix/sysv/linux/x86/Makefile
14779 (libpthread-sysdep_routines): Remove init-arch.
14780 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14781 <sysdeps/x86_64/dl-procinfo.c> instead of
14782 sysdeps/generic/dl-procinfo.c>.
14783 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14784 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14785 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14786 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14787 [$(subdir) == elf] (tests-static): Add
14788 tst-get-cpu-features-static.
14789 * sysdeps/x86/Versions: New file.
14790 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14791 * sysdeps/x86/cpu-features.c: Likewise.
14792 * sysdeps/x86/cpu-features.h: Likewise.
14793 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14794 * sysdeps/x86/libc-start.c: Likewise.
14795 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14796 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14797 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14798 * sysdeps/x86_64/dl-procinfo.c: Likewise.
14799 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14800 Assume USE_MULTIARCH is defined and don't check it.
14801 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14802 (is_amd): Likewise.
14803 (max_cpuid): Likewise.
14804 (intel_check_word): Likewise.
14805 (__cache_sysconf): Don't call __init_cpu_features.
14806 (__x86_preferred_memory_instruction): Removed.
14807 (init_cacheinfo): Don't call __init_cpu_features. Replace
14808 __cpu_features with GLRO(dl_x86_cpu_features).
14809 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14810 (dl_platform_init): Call init_cpu_features.
14811 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14812 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14813 * sysdeps/x86_64/multiarch/Versions: Removed.
14814 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14815 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14816 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14817 Removed.
14818 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14819
14820 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14821
14822 [BZ #18820]
14823 * libio/Makefile (test-fmemopen-mem): New test.
14824 * libio/test-fmemopen.c (do_bz18820): New test.
14825 * libio/fmemopen.c (__fmemopen): Fix memory leak.
14826 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14827
14828 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14829
14830 [BZ #16734]
14831 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14832 (FREE_BUF): Delete.
14833 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14834 * libio/genops.c (_IO_setb): Use malloc and free directly.
14835 (_IO_default_doallocate, _IO_default_finish): Likewise.
14836 ( _IO_unbuffer_all): Likewise.
14837 ( libc_freeres_fn): Likewise.
14838 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14839 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14840 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14841 (_IO_wdefault_doallocate): Likewise.
14842
14843 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14844
14845 [BZ #18086]
14846 * sysdeps/posix/nice.c (nice): Restore old errno.
14847 * posix/tst-nice.c (do_test): Add test for BZ #18086.
14848
14849 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
14850
14851 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14852
14853 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14854
14855 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14856 __bcopy and add a weak_alias to bcopy.
14857 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14858 for static build.
14859
14860 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14861 cleanup macro usage.
14862 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14863 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14864 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14865 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14866 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14867 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14868 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14869 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14870 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14871 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14872 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14873 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14874 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14875 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14876 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14877 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14878 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14879 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14880 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14881
14882 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14883 libc_hidden_def.
14884 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14885
14886 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14887 (sysdep_routines): Add strstr-ppc64.
14888 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14889
14890 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
14891
14892 [BZ #18778]
14893 * elf/Makefile (tests): Add Add tst-nodelete2.
14894 (modules-names): Add tst-nodelete2mod.
14895 (tst-nodelete2mod.so-no-z-defs): New.
14896 ($(objpfx)tst-nodelete2): Likewise.
14897 ($(objpfx)tst-nodelete2.out): Likewise.
14898 (LDFLAGS-tst-nodelete2): Likewise.
14899 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14900 out of loop through all loaded libraries.
14901 * elf/tst-nodelete2.c: New file.
14902 * elf/tst-nodelete2mod.c: Likewise.
14903 * elf/tst-znodelete-zlib.cc: Delete.
14904
14905 2015-08-11 Andreas Schwab <schwab@suse.de>
14906
14907 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14908 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14909 (__openat64_nocancel): Likewise.
14910
14911 2015-08-11 Joseph Myers <joseph@codesourcery.com>
14912
14913 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14914 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14915 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14916 * math/auto-libm-test-out: Regenerated.
14917 * sysdeps/i386/fpu/libm-test-ulps: Update.
14918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14919
14920 2015-08-10 Joseph Myers <joseph@codesourcery.com>
14921
14922 [BZ #18790]
14923 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14924 threshold for returning +/- 1.
14925 * math/auto-libm-test-in: Add more tests of tanh.
14926 * math/auto-libm-test-out: Regenerated.
14927 * sysdeps/i386/fpu/libm-test-ulps: Update.
14928
14929 2015-08-10 Andreas Schwab <schwab@suse.de>
14930
14931 [BZ #18781]
14932 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14933 MORE_OFLAGS to oflag.
14934 * io/test-lfs.c (do_test): Test openat64.
14935
14936 2015-08-10 Joseph Myers <joseph@codesourcery.com>
14937
14938 [BZ #18789]
14939 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14940 smaller threshold for returning the argument.
14941 * math/auto-libm-test-in: Add more tests of sinh.
14942 * math/auto-libm-test-out: Regenerated.
14943 * sysdeps/i386/fpu/libm-test-ulps: Update.
14944
14945 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
14946
14947 [BZ #18674]
14948 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14949 break.
14950
14951 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
14952
14953 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14954 (generated): Don't add $(addprefix z.,$(tzfiles)).
14955
14956 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14957
14958 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14959 * scripts/sysd-rules.awk: Likewise.
14960
14961 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14962
14963 * iconvdata/tst-tables.sh: Change echo -n to printf.
14964 * nss/db-Makefile: Likewise.
14965 * posix/tst-getconf.sh: Likewise.
14966 * stdio-common/tst-unbputc.sh: Likewise.
14967
14968 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14969
14970 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14971 MADV_*_PAGES defines behind this feature check.
14972
14973 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
14974
14975 [BZ #18480]
14976 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14977 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14978 Define.
14979 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14980 LOAD_REGS_5, LOAD_REGS_6): Update.
14981 (INTERNAL_SYSCALL): Update using new LOAD defines.
14982 (INTERNAL_SYSCALL_NCS): Likewise.
14983 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14984
14985 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14986
14987 [BZ #16734]
14988 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14989
14990 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14991
14992 [BZ #17905]
14993 * catgets/Makefile (tst-catgets-mem): New test.
14994 * catgets/catgets.c (catopen): Don't use unbounded alloca.
14995 * catgets/open_catalog.c (__open_catalog): Likewise.
14996 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14997
14998 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
14999
15000 [BZ #18787]
15001 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15002 clobber registers.
15003 (atomic_compare_and_exchange_val_acq): Use register asms to assign
15004 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
15005 Cast return to __typeof (oldval).
15006
15007 2015-08-08 Mike Frysinger <vapier@gentoo.org>
15008
15009 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15010 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
15011 and delete sys/syscall.h include.
15012
15013 2015-08-07 Joseph Myers <joseph@codesourcery.com>
15014
15015 [BZ #16517]
15016 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15017 (tan): Force underflow exception for arguments with small absolute
15018 value.
15019 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15020 (__kernel_tanf): Force underflow exception for arguments with
15021 small absolute value.
15022 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15023 (__kernel_tanl): Force underflow exception for arguments with
15024 small absolute value.
15025 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15026 (__kernel_tanl): Force underflow exception for arguments with
15027 small absolute value.
15028 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15029 (__kernel_tanl): Force underflow exception for arguments with
15030 small absolute value.
15031 * math/auto-libm-test-in: Add more tests of tan.
15032 * math/auto-libm-test-out: Regenerated.
15033
15034 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
15035
15036 Fix sysdeps/i386/fpu/s_scalbn.S build
15037
15038 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15039
15040 2015-08-07 Mike Frysinger <vapier@gentoo.org>
15041
15042 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15043
15044 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
15045
15046 Fix gcrt0.o compilation
15047
15048 When static-start-installed-name is different from
15049 start-installed-name, we must not use the shared objects.
15050
15051 * csu/Makefile
15052 (extra-objs): Add gmon-start.o when building shared library and
15053 $(static-start-installed-name) is different from
15054 $(start-installed-name).
15055 $(objpfx)g$(static-start-installed-name): When building shared
15056 library and $(static-start-installed-name) is different from
15057 $(static-start-installed-name), revert to non-shared rule,
15058 i.e. using $(objpfx)% and gmon-start.o.
15059
15060 2015-08-06 Joseph Myers <joseph@codesourcery.com>
15061
15062 [BZ #16519]
15063 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15064 (__ieee754_sinh): Force underflow exception for arguments with
15065 small absolute value.
15066 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15067 (__ieee754_sinhf): Force underflow exception for arguments with
15068 small absolute value.
15069 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15070 (__ieee754_sinhl): Force underflow exception for arguments with
15071 small absolute value.
15072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15073 (__ieee754_sinhl): Force underflow exception for arguments with
15074 small absolute value.
15075 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15076 (__ieee754_sinhl): Force underflow exception for arguments with
15077 small absolute value.
15078 * math/auto-libm-test-in: Add more tests of sinh.
15079 * math/auto-libm-test-out: Regenerated.
15080 * sysdeps/i386/fpu/libm-test-ulps: Update.
15081
15082 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15083
15084 * libio/oldfileops.c: Include unistd.h.
15085
15086 2015-08-06 Mike Frysinger <vapier@gentoo.org>
15087
15088 * stdlib/isomac.c: Include ctype.h.
15089
15090 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
15091
15092 * dirent/tst-seekdir.c (main): Converted to ...
15093 (do_test): ... this.
15094 (TEST_FUNCTION): New macro.
15095 Include test-skeleton.c.
15096 * elf/tst-dlmodcount.c (main): Converted to ...
15097 (do_test): ... this.
15098 (TEST_FUNCTION): New macro.
15099 Include test-skeleton.c.
15100 * elf/tst-order-main.c (main): Converted to ...
15101 (do_test): ... this.
15102 (TEST_FUNCTION): New macro.
15103 Include test-skeleton.c.
15104 * elf/tst-pie2.c (main): Converted to ...
15105 (do_test): ... this.
15106 (TEST_FUNCTION): New macro.
15107 Include test-skeleton.c.
15108 * inet/tst-ether_aton.c (main): Converted to ...
15109 (do_test): ... this.
15110 (TEST_FUNCTION): New macro.
15111 Include test-skeleton.c.
15112 * misc/tst-mntent.c (main): Converted to ...
15113 (do_test): ... this.
15114 (TEST_FUNCTION): New macro.
15115 Include test-skeleton.c.
15116 * misc/tst-tsearch.c (main): Converted to ...
15117 (do_test): ... this.
15118 (TEST_FUNCTION): New macro.
15119 Include test-skeleton.c.
15120 * posix/tst-regexloc.c (main): Converted to ...
15121 (do_test): ... this.
15122 (TEST_FUNCTION): New macro.
15123 Include test-skeleton.c.
15124 * resolv/tst-aton.c (main): Converted to ...
15125 (do_test): ... this.
15126 (TEST_FUNCTION): New macro.
15127 Include test-skeleton.c.
15128 * stdio-common/test-fwrite.c (main): Converted to ...
15129 (do_test): ... this.
15130 (TEST_FUNCTION): New macro.
15131 Include test-skeleton.c.
15132 * stdio-common/tst-ferror.c (main): Converted to ...
15133 (do_test): ... this.
15134 (TEST_FUNCTION): New macro.
15135 Include test-skeleton.c.
15136 * stdio-common/tst-printf.c (main): Converted to ...
15137 (do_test): ... this.
15138 (TEST_FUNCTION): New macro.
15139 Include test-skeleton.c.
15140 * stdio-common/tst-printfsz.c (main): Converted to ...
15141 (do_test): ... this.
15142 (TEST_FUNCTION): New macro.
15143 Include test-skeleton.c.
15144 * stdlib/tst-strtod.c (main): Converted to ...
15145 (do_test): ... this.
15146 (TEST_FUNCTION): New macro.
15147 Include test-skeleton.c.
15148 * string/tst-strlen.c (main): Converted to ...
15149 (do_test): ... this.
15150 (TEST_FUNCTION): New macro.
15151 Include test-skeleton.c.
15152 * string/tst-svc.c (main): Converted to ...
15153 (do_test): ... this.
15154 (TEST_FUNCTION): New macro.
15155 Include test-skeleton.c.
15156 * time/tst-strptime.c (main): Converted to ...
15157 (do_test): ... this.
15158 (TEST_FUNCTION): New macro.
15159 Include test-skeleton.c.
15160 * timezone/tst-timezone.c (main): Converted to ...
15161 (do_test): ... this.
15162 (TEST_FUNCTION): New macro.
15163 Include test-skeleton.c.
15164
15165 2015-08-05 Zack Weinberg <zackw@panix.com>
15166
15167 * misc/regexp.h: Update comments.
15168
15169 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
15170
15171 [BZ #18635]
15172 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15173 before return label.
15174
15175 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15176
15177 [BZ #18661]
15178 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15179 when calling __errno_location.
15180 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15181 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15182
15183 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15184
15185 [BZ #18661]
15186 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15187 (__lll_timedwait_tid): Align stack to 16 bytes when calling
15188 __gettimeofday.
15189
15190 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15191
15192 [BZ #18661]
15193 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15194 (__start_context): Don't use pop to restore %rdi so that stack
15195 is aligned to 16 bytes when calling __setcontext.
15196
15197 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15198
15199 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15200 only for libc.
15201 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15202
15203 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15204
15205 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15206 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
15207 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15208
15209 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15210
15211 * string/memccpy.c (memccpy):
15212 Improve performance by using memchr/memcpy/__mempcpy.
15213
15214 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15215
15216 * string/strncpy.c (strncpy):
15217 Improve performance by using __strnlen/memcpy.
15218
15219 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15220
15221 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15222 Optimize to avoid an unnecessary FPCR read.
15223
15224 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15225
15226 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15227 Optimize to reduce FPCR/FPSR accesses.
15228
15229 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15230
15231 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15232 dead->data[category] != NULL.
15233
15234 2015-08-05 Joseph Myers <joseph@codesourcery.com>
15235
15236 [BZ #18647]
15237 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15238 and |x| close to 1, use absolute value of x when computing log.
15239 * math/auto-libm-test-in: Add more tests of pow.
15240 * math/auto-libm-test-out: Regenerated.
15241
15242 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15243
15244 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15245 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15246 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15247
15248 2015-08-05 Marko Myllynen <myllynen@redhat.com>
15249
15250 [BZ #18525]
15251 * locales/km_KH: Remove timezone definition.
15252 * locales/lo_LA: Likewise.
15253 * locales/my_MM: Likewise.
15254 * locales/nan_TW@latin: Likewise.
15255 * locales/th_TH: Likewise.
15256 * locales/uk_UA: Likewise.
15257
15258 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
15259
15260 [BZ #18265]
15261 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15262 (wcsncat): Likewise.
15263 (wcscmp): Likewise.
15264 (wcsncmp): Likewise.
15265
15266 2015-08-05 Mike Frysinger <vapier@gentoo.org>
15267
15268 * test-skeleton.c (usage): New function.
15269 (main): Call usage when opt is '?'.
15270
15271 2015-08-05 Mike Frysinger <vapier@gentoo.org>
15272
15273 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15274 before first use.
15275
15276 2015-08-05 Mike Frysinger <vapier@gentoo.org>
15277
15278 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15279 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
15280 in there too.
15281
15282 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
15283
15284 * version.h (RELEASE): Set to "development".
15285 (VERSION): Set to "2.22.90"
15286
15287 * version.h (RELEASE): Set to "stable".
15288 (VERSION): Set to "2.22"
15289 * include/features.h (__GLIBC_MINOR__): Set to 22.
15290
15291 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
15292
15293 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15294 Restructure macro to avoid "value computed is not used" warning.
15295 (atomic_compare_and_exchange_val_acq): Likewise.
15296
15297 2015-08-04 Andreas Schwab <schwab@suse.de>
15298
15299 [BZ #18635]
15300 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15301 ret.
15302 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15303
15304 2015-08-01 Carlos O'Donell <carlos@redhat.com>
15305
15306 * po/pl.po: Updated translation.
15307 * po/uk.po: Likewise.
15308 * po/fi.po: Likewise.
15309 * po/ko.po: Likewise.
15310 * po/ru.po: Likewise.
15311 * po/vi.po: Likewise.
15312
15313 2015-07-31 Zack Weinberg <zackw@panix.com>
15314
15315 [BZ #18681]
15316 * regexp.h: Add unconditional #warning stating that this header
15317 will be removed soon. Revise banner comment to match.
15318 (compile): Consistently use ERROR instead of RETURN to report
15319 errors (partial fix for bz#18681).
15320 * regexp.c: Don't include regexp.h. Remove some unnecessary
15321 declarations.
15322
15323 2015-07-31 Carlos O'Donell <carlos@redhat.com>
15324
15325 * po/libc.pot: Regenerated.
15326
15327 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
15328
15329 [BZ #18740]
15330 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15331 float-vlen4-arch-ext-cflags): Removed.
15332 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15333 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15334
15335 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15336
15337 [BZ #14113]
15338 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15339 aligned to __aligned__.
15340 (pthread_cond_t, pthread_rwlock_t): Likewise.
15341
15342 2015-07-30 Torvald Riegel <triegel@redhat.com>
15343
15344 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15345
15346 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15347
15348 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15349 (struct sigaction): Change sa_flags from a long to an int, and add
15350 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15351
15352 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15353
15354 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15355 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15356 sysdeps/generic/sysdep.h include.
15357 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15358 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
15359 sysdeps/hppa/sysdep.h.
15360 (ENTRY, PSEUDO): Undefine before defining.
15361
15362 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15363
15364 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15365 from scratch to use INTERNAL_SYSCALL.
15366
15367 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
15368
15369 [BZ #18078]
15370 * scripts/check-localplt.awk: Support alternate relocations.
15371 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15372 sections.
15373 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15374 malloc entries with + REL R_386_GLOB_DAT.
15375 * sysdeps/x86_64/localplt.data: New file.
15376
15377 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
15378
15379 [BZ #18731]
15380 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15381 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15382 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15383
15384 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15385
15386 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15387
15388 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15389
15390 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15391 directly in terms of __sync_fetch_and_add and delete (int) cast.
15392
15393 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15394
15395 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15396 the -D_ASM_IA64_CURRENT_H flag.
15397
15398 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15399
15400 [BZ #18641]
15401 * pwd/pwd.h (putpwent): Delete __nonnull markings.
15402
15403 2015-07-27 Andreas Schwab <schwab@suse.de>
15404
15405 * conform/conformtest.pl (checknamespace): Filter out string
15406 literals while tokenizing.
15407
15408 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
15409
15410 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15411 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15412 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15413
15414 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
15415
15416 * nptl/tst-join7mod.c: Add #include <string.h>.
15417
15418 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
15419
15420 * sysdeps/nios2/libm-test-ulps: Update.
15421
15422 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
15423
15424 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15425 Fix order of arguments to the rt_sigprocmask syscall.
15426 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15427 Likewise.
15428
15429 2015-07-24 Roland McGrath <roland@hack.frob.com>
15430
15431 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15432
15433 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15434
15435 [BZ #18457]
15436 * nptl/Makefile (tests): New test case tst-join7.
15437 (modules-names): New test case module tst-join7mod.
15438 * nptl/tst-join7.c: New file.
15439 * nptl/tst-join7mod.c: New file.
15440 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15441 all translation units in libc.so, libpthread.so and rtld.
15442
15443 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15444
15445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15446
15447 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
15448
15449 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15450 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15451 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15452 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15453 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15454 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15455 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15456 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15457 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15458 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15459 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15460 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15461 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15462 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15463 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15464 implementation.
15465
15466 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15467
15468 [BZ #17711]
15469 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15470 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15471 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15472 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15473 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15474 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15475
15476 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15477
15478 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15479 instead of just saying load lock in the comments.
15480
15481 2015-07-23 Roland McGrath <roland@hack.frob.com>
15482
15483 * sysdeps/unix/Subdirs: Moved ...
15484 * sysdeps/posix/Subdirs: ... here.
15485 * login/pty.h (struct termios, struct winsize): Add forward decls.
15486 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15487 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15488 * sysdeps/arm/nacl/libc.abilist: Updated.
15489 * sysdeps/nacl/libutil.abilist: New file.
15490
15491 * bits/signum.h: Update comments to mention 1003.1-2013 too.
15492 (SIGWINCH): New macro.
15493
15494 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15495 * sysdeps/arm/nacl/libc.abilist: Add it.
15496
15497 2015-07-23 Mike Frysinger <vapier@gentoo.org>
15498
15499 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15500
15501 2015-07-23 Mike Frysinger <vapier@gentoo.org>
15502
15503 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15504 Swap __glibc_reserved0 and sa_flags order.
15505
15506 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15507
15508 [BZ #18657]
15509 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15510 are pending TLS destructor calls.
15511 * include/link.h (struct link_map): Add concurrency note for
15512 L_TLS_DTOR_COUNT.
15513 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15514 Don't touch the link map flag. Atomically increment
15515 l_tls_dtor_count.
15516 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15517 Avoid taking the load lock and don't touch the link map flag.
15518 * stdlib/tst-tls-atexit-nodelete.c: New test case.
15519 * stdlib/Makefile (tests): Use it.
15520 * stdlib/tst-tls-atexit.c (do_test): dlopen
15521 tst-tls-atexit-lib.so again before dlclose. Add conditionals
15522 to allow tst-tls-atexit-nodelete test case to use it.
15523
15524 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15525
15526 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15527 to bits/types.h.
15528 (msgqnum_t): New typedef.
15529 (msglen_t): Likewise.
15530 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
15531 and msg_qbytes type to msglen_t.
15532
15533 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15534
15535 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15536 pad0 to __glibc_reserved0.
15537 (struct stat64): Likewise.
15538
15539 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15540
15541 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15542 Change sa_flags from a long to an int and add __glibc_reserved0 before
15543 it for padding.
15544
15545 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15546
15547 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15548 anonymous by deleting "siginfo" name.
15549
15550 2015-07-21 Roland McGrath <roland@hack.frob.com>
15551
15552 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15553 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15554 rather than __nacl_irt_filename.
15555 * sysdeps/nacl/xstat.c (__xstat): Likewise.
15556
15557 * NEWS: New item for arm-nacl port.
15558 * sysdeps/arm/nacl/libc.abilist: New file.
15559 * sysdeps/nacl/ld.abilist: New file.
15560 * sysdeps/nacl/libBrokenLocale.abilist: New file.
15561 * sysdeps/nacl/libanl.abilist: New file.
15562 * sysdeps/nacl/libcrypt.abilist: New file.
15563 * sysdeps/nacl/libdl.abilist: New file.
15564 * sysdeps/nacl/libm.abilist: New file.
15565 * sysdeps/nacl/libpthread.abilist: New file.
15566 * sysdeps/nacl/libresolv.abilist: New file.
15567 * sysdeps/nacl/librt.abilist: New file.
15568
15569 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
15570
15571 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15572 __startcontext to initialize the new context.
15573 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15574 up CFI directive to forbid further backtracing.
15575
15576 2015-07-21 Marko Myllynen <myllynen@redhat.com>
15577
15578 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15579 reference.
15580 * charmaps/ANSI_X3.4-1968: Likewise.
15581 * charmaps/BS_4730: Likewise.
15582 * charmaps/BS_VIEWDATA: Likewise.
15583 * charmaps/CP1250: Likewise.
15584 * charmaps/CP1251: Likewise.
15585 * charmaps/CP1252: Likewise.
15586 * charmaps/CP1253: Likewise.
15587 * charmaps/CP1254: Likewise.
15588 * charmaps/CP1255: Likewise.
15589 * charmaps/CP1256: Likewise.
15590 * charmaps/CSN_369103: Likewise.
15591 * charmaps/EBCDIC-DK-NO: Likewise.
15592 * charmaps/GB_1988-80: Likewise.
15593 * charmaps/GREEK-CCITT: Likewise.
15594 * charmaps/GREEK7: Likewise.
15595 * charmaps/INIS-8: Likewise.
15596 * charmaps/ISIRI-3342: Likewise.
15597 * charmaps/ISO_2033-1983: Likewise.
15598 * charmaps/ISO_5427-EXT: Likewise.
15599 * locales/POSIX: Likewise.
15600 * locales/ar_SA: Likewise.
15601 * locales/be_BY: Likewise.
15602 * locales/be_BY@latin: Likewise.
15603 * locales/ca_ES: Likewise.
15604 * locales/cs_CZ: Likewise.
15605 * locales/da_DK: Likewise.
15606 * locales/de_BE: Likewise.
15607 * locales/de_CH: Likewise.
15608 * locales/de_LU: Likewise.
15609 * locales/en_AU: Likewise.
15610 * locales/en_BW: Likewise.
15611 * locales/en_CA: Likewise.
15612 * locales/en_DK: Likewise.
15613 * locales/en_GB: Likewise.
15614 * locales/en_IE: Likewise.
15615 * locales/en_NZ: Likewise.
15616 * locales/en_ZA: Likewise.
15617 * locales/en_ZW: Likewise.
15618 * locales/es_AR: Likewise.
15619 * locales/es_BO: Likewise.
15620 * locales/es_CL: Likewise.
15621 * locales/es_CO: Likewise.
15622 * locales/es_DO: Likewise.
15623 * locales/es_EC: Likewise.
15624 * locales/es_ES: Likewise.
15625 * locales/es_HN: Likewise.
15626 * locales/es_MX: Likewise.
15627 * locales/es_PA: Likewise.
15628 * locales/es_PE: Likewise.
15629 * locales/es_PY: Likewise.
15630 * locales/es_SV: Likewise.
15631 * locales/es_US: Likewise.
15632 * locales/es_UY: Likewise.
15633 * locales/es_VE: Likewise.
15634 * locales/et_EE: Likewise.
15635 * locales/fa_IR: Likewise.
15636 * locales/fo_FO: Likewise.
15637 * locales/fr_CA: Likewise.
15638 * locales/fr_CH: Likewise.
15639 * locales/gv_GB: Likewise.
15640 * locales/he_IL: Likewise.
15641 * locales/hr_HR: Likewise.
15642 * locales/id_ID: Likewise.
15643 * locales/is_IS: Likewise.
15644 * locales/it_CH: Likewise.
15645 * locales/iw_IL: Likewise.
15646 * locales/kl_GL: Likewise.
15647 * locales/ko_KR: Likewise.
15648 * locales/kw_GB: Likewise.
15649 * locales/lg_UG: Likewise.
15650 * locales/lt_LT: Likewise.
15651 * locales/lv_LV: Likewise.
15652 * locales/mi_NZ: Likewise.
15653 * locales/nhn_MX: Likewise.
15654 * locales/nl_BE: Likewise.
15655 * locales/pl_PL: Likewise.
15656 * locales/sk_SK: Likewise.
15657 * locales/sl_SI: Likewise.
15658 * locales/sv_FI: Likewise.
15659 * locales/tl_PH: Likewise.
15660 * locales/tr_TR: Likewise.
15661 * locales/vi_VN: Likewise.
15662
15663 2015-07-21 Khem Raj <raj.khem@gmail.com>
15664
15665 [BZ #17475]
15666 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15667 of tu_IN and bh_IN.
15668
15669 2015-07-21 Mike Frysinger <vapier@gentoo.org>
15670
15671 [BZ #18694]
15672 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15673 bits/wordsize.h.
15674 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15675
15676 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15677
15678 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15679 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15680 (spawn_thread): New function.
15681 (load): Rename to reg_dtor_and_close. Move dlopen to...
15682 (do_test): ... here. Use IS_LOADED to test for its
15683 availability.
15684
15685 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
15686
15687 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15688
15689 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
15690
15691 [BZ #18696]
15692 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15693 si_addr_bnd.
15694 (si_lower): New.
15695 (si_upper): Likewise.
15696
15697 2015-07-16 David S. Miller <davem@davemloft.net>
15698
15699 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15700
15701 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15702
15703 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15704 buffer.
15705 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15706 fail output information.
15707
15708 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15709
15710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15711 and strstr-ppc64..
15712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15713 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15714 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15715 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15716 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15717
15718 2015-07-16 Mike Frysinger <vapier@gentoo.org>
15719
15720 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15721 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15722 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15723 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15724
15725 2015-07-16 Mike Frysinger <vapier@gentoo.org>
15726
15727 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15728 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15729 rtld_hidden_proto.
15730 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15731
15732 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15733
15734 * tst-nodelete-opened.c (do_test): Add comment to clarify how
15735 the test can fail.
15736
15737 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15738
15739 [BZ #18676]
15740 * elf/tst-nodelete-opened.c: New test case.
15741 * elf/tst-nodelete-opened-lib.c: New test case module.
15742 * elf/Makefile (tests, modules-names): Use them.
15743 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15744 early.
15745
15746 2015-07-15 David S. Miller <davem@davemloft.net>
15747
15748 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15749 futex-intenal.h
15750 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15751 * sysdeps/sparc/sparc64/Makefile: Likewise.
15752 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15753 Remove space from macro define.
15754 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15755
15756 2015-07-15 Pravin Satpute <psatpute@redhat.com>
15757
15758 [BZ #17475]
15759 * locale/iso-639.def: Update Bhili and Tulu language codes as
15760 per iso639-3.
15761
15762 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
15763
15764 * elf/tst-leaks1.c (main): Converted to ...
15765 (do_test): ... this.
15766 (TEST_FUNCTION): New macro.
15767 Include test-skeleton.c.
15768 * localedata/tst-langinfo.c (main): Converted to ...
15769 (do_test): ... this.
15770 (TEST_FUNCTION): New macro.
15771 Include test-skeleton.c.
15772 * math/test-fpucw.c (main): Converted to ...
15773 (do_test): ... this.
15774 (TEST_FUNCTION): New macro.
15775 Include test-skeleton.c.
15776 * math/test-tgmath.c (main): Converted to ...
15777 (do_test): ... this.
15778 (TEST_FUNCTION): New macro.
15779 Include test-skeleton.c.
15780 * math/test-tgmath2.c (main): Converted to ...
15781 (do_test): ... this.
15782 (TEST_FUNCTION): New macro.
15783 Include test-skeleton.c.
15784 * setjmp/tst-setjmp.c (main): Converted to ...
15785 (do_test): ... this.
15786 (TEST_FUNCTION): New macro.
15787 Include test-skeleton.c.
15788 * stdio-common/tst-sscanf.c (main): Converted to ...
15789 (do_test): ... this.
15790 (TEST_FUNCTION): New macro.
15791 Include test-skeleton.c.
15792 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15793 (do_test): ... this.
15794 (TEST_FUNCTION): New macro.
15795 Include test-skeleton.c.
15796
15797 * elf/tst-audit9.c (main): Converted to ...
15798 (do_test): ... this.
15799 (TEST_FUNCTION): New macro.
15800 Include test-skeleton.c.
15801
15802 2015-07-15 Mike Frysinger <vapier@gentoo.org>
15803
15804 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15805
15806 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15807
15808 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15809 New variable.
15810
15811 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15812
15813 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15814
15815 2015-07-14 Roland McGrath <roland@hack.frob.com>
15816
15817 * sysdeps/generic/dl-fileid.h: New file.
15818 * sysdeps/posix/dl-fileid.h: New file.
15819 * sysdeps/nacl/dl-fileid.h: New file.
15820 * include/link.h: Include <dl-fileid.h>.
15821 (struct link_map): Replace l_dev and l_ino with l_file_id.
15822 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15823 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
15824 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
15825
15826 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15827
15828 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15829
15830 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15831
15832 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15833 Add iff $CXX is set.
15834 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15835 Likewise.
15836 (tst-nodelete-zmodiff): Likewise.
15837 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15838
15839 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15840
15841 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15842
15843 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
15844
15845 * sysdeps/aarch64/fpu/math_private.h
15846 (define math_opt_barrier): Add AArch64 version.
15847 (math_force_eval): Likewise.
15848
15849 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
15850
15851 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15852
15853 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
15854
15855 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15856 %ld with %jd and cast to intmax_t.
15857 (do_test_length_zero): Likewise.
15858
15859 2015-07-10 Roland McGrath <roland@hack.frob.com>
15860
15861 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15862
15863 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
15864
15865 * sysdeps/tile/libm-test-ulps: Regenerated.
15866
15867 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15868 Comment out the whole function, not just its body.
15869
15870 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15871
15872 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15873 locks.
15874
15875 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15876
15877 2015-07-10 Torvald Riegel <triegel@redhat.com>
15878
15879 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15880 (sem_assume_only_signals_cause_futex_EINTR): Remove.
15881
15882 2015-07-10 Torvald Riegel <triegel@redhat.com>
15883
15884 * sysdeps/nptl/futex-internal.h: New file.
15885 * sysdeps/nacl/futex-internal.h: New file.
15886 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15887 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15888 error checking.
15889 (setxid_unmark_thread): Likewise.
15890 (__nptl_setxid): Likewise.
15891 (__wait_lookup_done): Likewise.
15892 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15893 * nptl/nptl-init.c (sighandler_setxid): Likewise.
15894 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15895 * nptl/pthread_once.c (clear_once_control): Likewise.
15896 (__pthread_once_slow): Likewise.
15897 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15898 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15899 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15900 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15901 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15902 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15903 Likewise.
15904 (__pthread_rwlock_rdlock): Likewise.
15905 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15906 Likewise.
15907 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15908 Likewise.
15909 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15910 Likewise.
15911 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15912 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15913 Likewise.
15914 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15915 __ASSUME_PRIVATE_FUTEX check.
15916 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15917 Check that shared futexes are supported.
15918 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15919 wrappers with error checking.
15920 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15921 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15922 * nptl/pthread_barrierattr_setpshared.c
15923 (pthread_barrierattr_setpshared): Check that shared futexes are
15924 supported.
15925 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15926 Likewise.
15927 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15928 Likewise.
15929 * nptl/sem_init.c (futex_private_if_supported): Remove.
15930 (__new_sem_init): Adapt and check that shared futexes are supported.
15931 * nptl/sem_open.c (sem_open): Likewise.
15932 * nptl/sem_post.c (futex_wake): Remove.
15933 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15934 (do_futex_wait): Use futex wrappers with error checking.
15935 * nptl/sem_wait.c: Include lowlevellock.h.
15936 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15937 Use futex_supports_pshared.
15938 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15939 Use futex wrappers with error checking.
15940 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15941 Likewise.
15942 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15943 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15944 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15945 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15946 (futex_wake): Likewise.
15947 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15948 (do_futex_wait): Use futex wrappers with error checking.
15949 (__new_sem_wait_slow): Update EINTR handling.
15950 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15951
15952 2015-07-09 Martin Sebor <msebor@redhat.com>
15953
15954 [BZ #18435]
15955 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15956 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15957 * nptl/Makefile (test-xfail-tst-once5): Define.
15958
15959 2015-07-09 Roland McGrath <roland@hack.frob.com>
15960
15961 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15962 * elf/dl-minimal.c: For readability, reorder some definitions and
15963 introduce more page breaks. Include <stdio.h>.
15964 (__libc_fatal): New function.
15965
15966 * include/unistd.h: Add rtld_hidden_proto for _exit.
15967 * posix/_exit.c: Add rtld_hidden_def.
15968 * sysdeps/mach/hurd/_exit.c: Likewise.
15969 * sysdeps/nacl/_exit.c: Likewise.
15970 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15971 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15972
15973 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
15974
15975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15976 bndmov encoding with zero displacement.
15977
15978 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
15979 H.J. Lu <hongjiu.lu@intel.com>
15980
15981 [BZ #18134]
15982 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15983 * sysdeps/i386/configure: Regenerated.
15984 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15985 (_dl_runtime_profile): Save and restore Intel MPX return bound
15986 registers when calling _dl_call_pltexit. Add
15987 PRESERVE_BND_REGS_PREFIX before return.
15988 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15989 (LRV_BND1_OFFSET): Likewise.
15990 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15991 lrv_bnd1.
15992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15993 typo in bndmov encoding.
15994 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15995 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
15996 branch instructions to preserve bounds.
15997
15998 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15999
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16001 [GLIBC_2.22]: Add fmemopen.
16002
16003 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
16004
16005 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16006 returns an error, also try to use host port from __mach_host_self for
16007 the __vm_wire call.
16008 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16009
16010 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
16011
16012 [BZ #18400]
16013 [BZ #18648]
16014 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16015 Fix pr_uid and pr_gid members.
16016 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16017 definition to elf_greg_t.
16018
16019 2015-07-08 Roland McGrath <roland@hack.frob.com>
16020
16021 [BZ #18383]
16022 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16023 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16024 * sysdeps/arm/configure: Regenerated.
16025 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16026 (test-xfail-tst-tlsalign-static): Variable removed.
16027
16028 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16029 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16030 rather than explicit 'ln -s'.
16031
16032 * resolv/rpc/netdb.h: New file.
16033 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16034
16035 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16036
16037 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16038 length buffers.
16039 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16040 test-skeleton.c.
16041
16042 [BZ #6544]
16043 [BZ #11216]
16044 [BZ #12836]
16045 [BZ #13151]
16046 [BZ #13152]
16047 [BZ #14292]
16048 * include/stdio.h (fmemopen): Remove hidden prototype.
16049 (__fmemopen): Add new hidden prototype.
16050 * libio/Makefile: Add oldfmemopen object.
16051 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16052 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16053 compliance.
16054 * libio/oldfmemopen.c: New file: old fmemopen implementation for
16055 symbol compatibility.
16056 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16057 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16058 fmemopen.
16059 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16060 on append and read mode.
16061 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16062 fmemopen.
16063 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16064 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16065 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16066 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16067 Likewise.
16068 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16069 [GLIBC_2.22]: Likewise.
16070 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16071 Likewise.
16072 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16073 Likewise.
16074 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16075 [GLIBC_2.22]: Likewise.
16076 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16077 [GLIBC_2.22]: Likewise.
16078 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16079 [GLIBC_2.22]: Likewise.
16080 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16081 [GLIBC_2.22]: Likewise.
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16083 [GLIBC_2.22]: Likewise.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16085 [GLIBC_2.22]: Likewise.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16087 [GLIBC_2.22]: Likewise.
16088 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16089 Likewise.
16090 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16091 Likewise.
16092 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16093 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16094 [GLIBC_2.22]: Likewise.
16095 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16096 [GLIBC_2.22]: Likewise.
16097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16098 [GLIBC_2.22]: Likewise.
16099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16100 [GLIBC_2.22]: Likewise.
16101 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16102 Likewise.
16103 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16104 Likewise.
16105 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16106 Likewise.
16107 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16108 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16109
16110 2015-07-08 Carlos O'Donell <carlos@redhat.com>
16111
16112 [BZ #18643]
16113 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16114 IPV6_PATHMTU, and IPV6_DONTFRAG.
16115
16116 2015-07-08 Feng Gao <gfree.wind@gmail.com>
16117
16118 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16119 and _IO_UNBUFFERED.
16120 * libio/oldfileops.c: Likewise.
16121 * libio/wfileops.c: Likewise.
16122
16123 2015-07-08 Mike Frysinger <vapier@gentoo.org>
16124
16125 * nscd/selinux.c: Delete selinux/flask.h include.
16126
16127 2015-07-08 Mike Frysinger <vapier@gentoo.org>
16128
16129 [BZ #18641]
16130 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16131 (putpwent): Likewise.
16132 (getpwnam): Likewise.
16133 (getpwent_r): Likewise.
16134 (getpwuid_r): Likewise.
16135 (getpwnam_r): Likewise.
16136 (fgetpwent_r): Likewise.
16137
16138 2015-07-08 Carlos O'Donell <carlos@redhat.com>
16139
16140 [BZ #18557]
16141 * inet/rcmd.c (__validuser2_sa): Check user first to
16142 short-circuit host check.
16143
16144 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
16145 Mikhail Ilin <m.ilin@samsung.com>
16146
16147 [BZ #17833]
16148 * elf/Makefile (tests): Add tst-nodelete.
16149 (modules-names): Add tst-nodelete-uniquemod.
16150 (tst-nodelete-uniquemod.so-no-z-defs): New.
16151 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16152 (tst-nodelete-zmod.so-no-z-defs): Likewise.
16153 ($(objpfx)tst-nodelete): Likewise.
16154 ($(objpfx)tst-nodelete.out): Likewise.
16155 (LDFLAGS-tst-nodelete): Likewise.
16156 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16157 * elf/dl-close.c (_dl_close_worker): Add a parameter to
16158 implement forced object deletion.
16159 (_dl_close): Pass false to _dl_close_worker.
16160 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16161 * elf/tst-nodelete.cc: New file.
16162 * elf/tst-nodeletelib.cc: Likewise.
16163 * elf/tst-znodeletelib.cc: Likewise.
16164 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16165
16166 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16167
16168 [BZ #18508]
16169 * stdlib/Makefile ($(objpfx)tst-makecontext3):
16170 Depend on $(libdl).
16171 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16172 is not called infinitely times.
16173 (backtrace_helper): New function.
16174 (trace_arg): New struct.
16175 (st1): Enlarge stack size.
16176 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16177 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16178 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16179 Likewise.
16180
16181 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16182
16183 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16184
16185 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16186
16187 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16188 Include sys/types.h instead of bits/types.h.
16189 Remove inclusion of bits/wordsize.h.
16190
16191 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
16192
16193 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16194 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16195 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16196 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16197 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16198 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16199
16200 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
16201
16202 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16203 link-defines.sym.
16204 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16205 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16206 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16207 and LR_SIZE.
16208 * sysdeps/i386/link-defines.sym: New file.
16209
16210 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
16211
16212 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16213 (modules-names): Add tst-auditmod3a tst-auditmod3b.
16214 ($(objpfx)tst-audit3): New rule.
16215 ($(objpfx)tst-audit3.out): Likewise.
16216 * sysdeps/i386/tst-audit3.c: New file.
16217 * sysdeps/i386/tst-audit3.h: Likewise.
16218 * sysdeps/i386/tst-auditmod3a.c: Likewise.
16219 * sysdeps/i386/tst-auditmod3b.c: Likewise.
16220
16221 2015-07-07 Torvald Riegel <triegel@redhat.com>
16222
16223 [BZ #18633]
16224 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16225 pointer in C code.
16226 (__strcat_c): Likewise.
16227 (__strcat_g): Likewise.
16228
16229 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
16230
16231 [BZ #18592]
16232 * misc/sbrk.c: Set errno to ENOMEM on overflow.
16233
16234 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
16235
16236 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16237 New function. (__ieee754_sqrtf): New function.
16238 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16239 New function.
16240 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16241 New function.
16242
16243 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
16244
16245 * sysdeps/ieee754/support.c: Remove unused file.
16246
16247 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
16248
16249 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16250 registers instead of d ones so the layout is kernel abi compatible.
16251 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16252 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16253 Likewise.
16254
16255 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16256
16257 * sysdeps/aarch64/libm-test-ulps: Regenerated.
16258
16259 2015-07-01 Joseph Myers <joseph@codesourcery.com>
16260
16261 [BZ #18619]
16262 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16263 and return argument in case of subnormal argument.
16264
16265 2015-07-01 Martin Sebor <msebor@redhat.com>
16266
16267 [BZ #18435]
16268 * nptl/Makefile: Add tst-once5.cc.
16269 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16270 Remove macro redefinitions.
16271 * nptl/tst-once5.cc: New test.
16272
16273 2015-07-01 Joseph Myers <joseph@codesourcery.com>
16274
16275 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16276
16277 * sysdeps/arm/libm-test-ulps: Regenerated.
16278
16279 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16280 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16281
16282 2015-06-30 Torvald Riegel <triegel@redhat.com>
16283
16284 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16285 lll_lock_wait_private and lll_futex_wake probes.
16286
16287 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16288 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16289 Likewise.
16290 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16291 atomic_spin_nop.
16292 * sysdeps/x86_64/bits/atomic.h: Likewise.
16293 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16294 to atomic_spin_nop and move ...
16295 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16296 ... here and ...
16297 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16298 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16299 atomic_spin_nop instead of BUSY_WAIT_NOP.
16300 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16301 Likewise.
16302 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16303 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16304 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16305 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16306 instead of atomic_delay.
16307
16308 2015-06-29 Joseph Myers <joseph@codesourcery.com>
16309
16310 [BZ #18613]
16311 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16312 X_ADJ not X when adjusting exponent.
16313 (__ieee754_gamma_r): Do intermediate computations in
16314 round-to-nearest then adjust overflowing and underflowing results
16315 as needed.
16316 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16317 of X_ADJ not X when adjusting exponent.
16318 (__ieee754_gammaf_r): Do intermediate computations in
16319 round-to-nearest then adjust overflowing and underflowing results
16320 as needed.
16321 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16322 log of X_ADJ not X when adjusting exponent.
16323 (__ieee754_gammal_r): Do intermediate computations in
16324 round-to-nearest then adjust overflowing and underflowing results
16325 as needed. Use 1.0L not 1.0f as numerator of division.
16326 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16327 log of X_ADJ not X when adjusting exponent.
16328 (__ieee754_gammal_r): Do intermediate computations in
16329 round-to-nearest then adjust overflowing and underflowing results
16330 as needed. Use 1.0L not 1.0f as numerator of division.
16331 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16332 of X_ADJ not X when adjusting exponent.
16333 (__ieee754_gammal_r): Do intermediate computations in
16334 round-to-nearest then adjust overflowing and underflowing results
16335 as needed. Use 1.0L not 1.0f as numerator of division.
16336 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
16337 to auto-libm-test-in.
16338 (tgamma_test): Use ALL_RM_TEST.
16339 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
16340 tests of tgamma with spurious-overflow.
16341 * math/auto-libm-test-out: Regenerated.
16342 * math/gen-libm-have-vector-test.sh: Do not check for START.
16343 * sysdeps/i386/fpu/libm-test-ulps: Update.
16344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16345
16346 [BZ #18612]
16347 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16348 arguments, just return 0.5 times the argument, with underflow
16349 forced as needed.
16350 * math/auto-libm-test-in: Add more tests of j1.
16351 * math/auto-libm-test-out: Regenerated.
16352
16353 [BZ #16559]
16354 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16355 (__ieee754_j1): Force underflow exception for small results.
16356 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16357 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16358 (__ieee754_j1f): Force underflow exception for small results.
16359 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16360 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16361 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16362 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16363 (__ieee754_j1l): Force underflow exception for small results.
16364 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16365 * math/auto-libm-test-in: Add more tests of j1 and jn.
16366 * math/auto-libm-test-out: Regenerated.
16367
16368 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16369 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16370 (PF_MPLS): Likewise.
16371 (AF_IB): Likewise.
16372 (AF_MPLS): Likewise.
16373 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16374 value and macro.
16375 (MS_RMT_MASK): Include MS_LAZYTIME.
16376
16377 2015-06-26 Mel Gorman <mgorman@suse.de>
16378
16379 [BZ #18502]
16380 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16381 already minimal.
16382
16383 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
16384
16385 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16386 (DT_MIPS_NUM): Update.
16387 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16388 DT_MIPS_RLD_MAP_REL.
16389
16390 2015-06-25 Joseph Myers <joseph@codesourcery.com>
16391
16392 [BZ #16559]
16393 [BZ #18602]
16394 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16395 round-to-nearest internally then recompute results that
16396 underflowed to zero in the original rounding mode.
16397 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16398 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16400 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16401 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16402 * sysdeps/i386/fpu/libm-test-ulps: Update.
16403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16404
16405 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
16406
16407 * NEWS: Fixed description of link with vector math library.
16408
16409 2015-06-25 Andreas Schwab <schwab@suse.de>
16410
16411 [BZ #18549]
16412 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16413 * libio/test-fmemopen.c (do_test): Add test for it.
16414
16415 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
16416
16417 [BZ #17841]
16418 * Makeconfig (no-pie-ldflag): New.
16419 (+link): Set to $(+link-pie) if default to PIE.
16420 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16421 * config.make.in (build-pie-default): New.
16422 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
16423 is default. AC_SUBST.
16424 * configure: Regenerated.
16425 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16426
16427 2015-06-24 Roland McGrath <roland@hack.frob.com>
16428
16429 * nptl/descr.h (struct pthread): Change type of field setxid_futex
16430 to 'unsigned int'.
16431
16432 * resolv/gai_misc.h (struct waitlist): Change type of field
16433 counterp to 'volatile unsigned int *'.
16434 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16435 FUTEXADDR and OLDVAL.
16436 * resolv/getaddrinfo_a.c (getaddrinfo_a):
16437 Give local variable TOTAL type 'volatile unsigned int'.
16438 (struct async_waitlist): Change type of field counter to 'unsigned int'.
16439 * resolv/gai_suspend.c (gai_suspend):
16440 Give local variable CNTR type 'unsigned int'.
16441
16442 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16443 counterp to 'volatile unsigned int *'.
16444 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16445 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16446 (aio_suspend): Give local variable CNTR type 'unsigned int'.
16447 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16448 Give local variable TOTAL type 'volatile unsigned int'.
16449 (struct async_waitlist): Change type of field counter to 'unsigned int'.
16450
16451 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
16452
16453 [BZ #18383]
16454 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16455 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
16456 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16457 comment for i386/x86-64.
16458 (test-xfail-tst-tlsalign-extern-static): Removed.
16459
16460 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16461
16462 * math/test-double.h: New file.
16463 * math/test-float.h: Likewise.
16464 * math/test-ldouble.h: Likewise.
16465 * math/test-math-inline.h: Likewise.
16466 * math/test-math-no-inline.h: Likewise.
16467 * math/test-math-scalar.h: Likewise.
16468 * math/test-math-vector.h: Likewise.
16469 * math/test-vec-loop.h: Remove file. Contents moved into
16470 test-math-vector.h.
16471 * math/libm-test.inc (MATHCONST): Do not document macro.
16472 * math/test-double.c: Include test-double.h, test-math-no-inline.h
16473 and test-math-scalar.h.
16474 (FUNC): Remove macro.
16475 (FUNC_TEST): Likewise.
16476 (FLOAT): Likewise.
16477 (MATHCONST): Likewise.
16478 (PRINTF_EXPR): Likewise.
16479 (PRINTF_XEXPR): Likewise.
16480 (PRINTF_NEXPR): Likewise.
16481 (TEST_DOUBLE): Likewise.
16482 (TEST_MATHVEC): Likewise.
16483 (__NO_MATH_INLINES): Likewise.
16484 * math/test-float.c: Include test-float.h, test-math-no-inline.h
16485 and test-math-scalar.h.
16486 (FUNC): Remove macro.
16487 (FUNC_TEST): Likewise.
16488 (FLOAT): Likewise.
16489 (MATHCONST): Likewise.
16490 (PRINTF_EXPR): Likewise.
16491 (PRINTF_XEXPR): Likewise.
16492 (PRINTF_NEXPR): Likewise.
16493 (TEST_FLOAT): Likewise.
16494 (TEST_MATHVEC): Likewise.
16495 (__NO_MATH_INLINES): Likewise.
16496 * math/test-idouble.c: Include test-double.h, test-math-inline.h
16497 and test-math-scalar.h.
16498 (FUNC): Remove macro.
16499 (FUNC_TEST): Likewise.
16500 (FLOAT): Likewise.
16501 (MATHCONST): Likewise.
16502 (PRINTF_EXPR): Likewise.
16503 (PRINTF_XEXPR): Likewise.
16504 (PRINTF_NEXPR): Likewise.
16505 (TEST_DOUBLE): Likewise.
16506 (TEST_MATHVEC): Likewise.
16507 (TEST_INLINE): Likewise.
16508 (__NO_MATH_INLINES): Likewise.
16509 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16510 test-math-scalar.h.
16511 (FUNC): Remove macro.
16512 (FUNC_TEST): Likewise.
16513 (FLOAT): Likewise.
16514 (MATHCONST): Likewise.
16515 (PRINTF_EXPR): Likewise.
16516 (PRINTF_XEXPR): Likewise.
16517 (PRINTF_NEXPR): Likewise.
16518 (TEST_FLOAT): Likewise.
16519 (TEST_MATHVEC): Likewise.
16520 (TEST_INLINE): Likewise.
16521 (__NO_MATH_INLINES): Likewise.
16522 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16523 and test-math-scalar.h.
16524 (FUNC): Remove macro.
16525 (FUNC_TEST): Likewise.
16526 (FLOAT): Likewise.
16527 (MATHCONST): Likewise.
16528 (PRINTF_EXPR): Likewise.
16529 (PRINTF_XEXPR): Likewise.
16530 (PRINTF_NEXPR): Likewise.
16531 (TEST_LDOUBLE): Likewise.
16532 (TEST_MATHVEC): Likewise.
16533 (TEST_INLINE): Likewise.
16534 (__NO_MATH_INLINES): Likewise.
16535 * math/test-ldouble.c: Include test-ldouble.h,
16536 test-math-no-inline.h and test-math-scalar.h.
16537 (FUNC): Remove macro.
16538 (FUNC_TEST): Likewise.
16539 (FLOAT): Likewise.
16540 (MATHCONST): Likewise.
16541 (PRINTF_EXPR): Likewise.
16542 (PRINTF_XEXPR): Likewise.
16543 (PRINTF_NEXPR): Likewise.
16544 (TEST_LDOUBLE): Likewise.
16545 (TEST_MATHVEC): Likewise.
16546 (__NO_MATH_INLINES): Likewise.
16547 * math/test-double-vlen2.h: Include test-double.h,
16548 test-math-no-inline.h and test-math-vector.h.
16549 (FLOAT): Remove macro.
16550 (FUNC): Likewise.
16551 (MATHCONST): Likewise.
16552 (PRINTF_EXPR): Likewise.
16553 (PRINTF_XEXPR): Likewise.
16554 (PRINTF_NEXPR): Likewise.
16555 (TEST_DOUBLE): Likewise.
16556 (TEST_MATHVEC): Likewise.
16557 (__NO_MATH_INLINES): Likewise.
16558 (CNCT): Likewise.
16559 (CONCAT): Likewise.
16560 (WRAPPER_NAME): Likewise.
16561 (WRAPPER_DECL): Likewise.
16562 (WRAPPER_DECL_ff): Likewise.
16563 (WRAPPER_DECL_fFF): Likewise.
16564 (VECTOR_WRAPPER): Likewise.
16565 (VECTOR_WRAPPER_ff): Likewise.
16566 (VECTOR_WRAPPER_fFF): Likewise.
16567 (VEC_LEN): New macro.
16568 * math/test-double-vlen4.h: Include test-double.h,
16569 test-math-no-inline.h and test-math-vector.h.
16570 (FLOAT): Remove macro.
16571 (FUNC): Likewise.
16572 (MATHCONST): Likewise.
16573 (PRINTF_EXPR): Likewise.
16574 (PRINTF_XEXPR): Likewise.
16575 (PRINTF_NEXPR): Likewise.
16576 (TEST_DOUBLE): Likewise.
16577 (TEST_MATHVEC): Likewise.
16578 (__NO_MATH_INLINES): Likewise.
16579 (CNCT): Likewise.
16580 (CONCAT): Likewise.
16581 (WRAPPER_NAME): Likewise.
16582 (WRAPPER_DECL): Likewise.
16583 (WRAPPER_DECL_ff): Likewise.
16584 (WRAPPER_DECL_fFF): Likewise.
16585 (VECTOR_WRAPPER): Likewise.
16586 (VECTOR_WRAPPER_ff): Likewise.
16587 (VECTOR_WRAPPER_fFF): Likewise.
16588 (VEC_LEN): New macro.
16589 * math/test-double-vlen8.h: Include test-double.h,
16590 test-math-no-inline.h and test-math-vector.h.
16591 (FLOAT): Remove macro.
16592 (FUNC): Likewise.
16593 (MATHCONST): Likewise.
16594 (PRINTF_EXPR): Likewise.
16595 (PRINTF_XEXPR): Likewise.
16596 (PRINTF_NEXPR): Likewise.
16597 (TEST_DOUBLE): Likewise.
16598 (TEST_MATHVEC): Likewise.
16599 (__NO_MATH_INLINES): Likewise.
16600 (CNCT): Likewise.
16601 (CONCAT): Likewise.
16602 (WRAPPER_NAME): Likewise.
16603 (WRAPPER_DECL): Likewise.
16604 (WRAPPER_DECL_ff): Likewise.
16605 (WRAPPER_DECL_fFF): Likewise.
16606 (VECTOR_WRAPPER): Likewise.
16607 (VECTOR_WRAPPER_ff): Likewise.
16608 (VECTOR_WRAPPER_fFF): Likewise.
16609 (VEC_LEN): New macro.
16610 * math/test-float-vlen4.h: Include test-float.h,
16611 test-math-no-inline.h and test-math-vector.h.
16612 (FLOAT): Remove macro.
16613 (FUNC): Likewise.
16614 (MATHCONST): Likewise.
16615 (PRINTF_EXPR): Likewise.
16616 (PRINTF_XEXPR): Likewise.
16617 (PRINTF_NEXPR): Likewise.
16618 (TEST_FLOAT): Likewise.
16619 (TEST_MATHVEC): Likewise.
16620 (__NO_MATH_INLINES): Likewise.
16621 (CNCT): Likewise.
16622 (CONCAT): Likewise.
16623 (WRAPPER_NAME): Likewise.
16624 (WRAPPER_DECL): Likewise.
16625 (WRAPPER_DECL_ff): Likewise.
16626 (WRAPPER_DECL_fFF): Likewise.
16627 (VECTOR_WRAPPER): Likewise.
16628 (VECTOR_WRAPPER_ff): Likewise.
16629 (VECTOR_WRAPPER_fFF): Likewise.
16630 (VEC_LEN): New macro.
16631 * math/test-float-vlen8.h: Include test-float.h,
16632 test-math-no-inline.h and test-math-vector.h.
16633 (FLOAT): Remove macro.
16634 (FUNC): Likewise.
16635 (MATHCONST): Likewise.
16636 (PRINTF_EXPR): Likewise.
16637 (PRINTF_XEXPR): Likewise.
16638 (PRINTF_NEXPR): Likewise.
16639 (TEST_FLOAT): Likewise.
16640 (TEST_MATHVEC): Likewise.
16641 (__NO_MATH_INLINES): Likewise.
16642 (CNCT): Likewise.
16643 (CONCAT): Likewise.
16644 (WRAPPER_NAME): Likewise.
16645 (WRAPPER_DECL): Likewise.
16646 (WRAPPER_DECL_ff): Likewise.
16647 (WRAPPER_DECL_fFF): Likewise.
16648 (VECTOR_WRAPPER): Likewise.
16649 (VECTOR_WRAPPER_ff): Likewise.
16650 (VECTOR_WRAPPER_fFF): Likewise.
16651 (VEC_LEN): New macro.
16652 * math/test-float-vlen16.h: Include test-float.h,
16653 test-math-no-inline.h and test-math-vector.h.
16654 (FLOAT): Remove macro.
16655 (FUNC): Likewise.
16656 (MATHCONST): Likewise.
16657 (PRINTF_EXPR): Likewise.
16658 (PRINTF_XEXPR): Likewise.
16659 (PRINTF_NEXPR): Likewise.
16660 (TEST_FLOAT): Likewise.
16661 (TEST_MATHVEC): Likewise.
16662 (__NO_MATH_INLINES): Likewise.
16663 (CNCT): Likewise.
16664 (CONCAT): Likewise.
16665 (WRAPPER_NAME): Likewise.
16666 (WRAPPER_DECL): Likewise.
16667 (WRAPPER_DECL_ff): Likewise.
16668 (WRAPPER_DECL_fFF): Likewise.
16669 (VECTOR_WRAPPER): Likewise.
16670 (VECTOR_WRAPPER_ff): Likewise.
16671 (VECTOR_WRAPPER_fFF): Likewise.
16672 (VEC_LEN): New macro.
16673 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16674 test-vec-loop.h.
16675 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16676 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16677 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16678 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16679 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16680 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16681 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16682
16683 2015-06-24 Roland McGrath <roland@hack.frob.com>
16684
16685 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16686 (__getlogin_r): ... this.
16687
16688 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16689
16690 [BZ #18594]
16691 * math/s_ccosh.c (__ccosh): Compare with least normal value
16692 instead of comparing class with FP_SUBNORMAL.
16693 * math/s_ccoshf.c (__ccoshf): Likewise.
16694 * math/s_ccoshl.c (__ccoshl): Likewise.
16695 * math/s_cexp.c (__cexp): Likewise.
16696 * math/s_cexpf.c (__cexpf): Likewise.
16697 * math/s_cexpl.c (__cexpl): Likewise.
16698 * math/s_csin.c (__csin): Likewise.
16699 * math/s_csinf.c (__csinf): Likewise.
16700 * math/s_csinh.c (__csinh): Likewise.
16701 * math/s_csinhf.c (__csinhf): Likewise.
16702 * math/s_csinhl.c (__csinhl): Likewise.
16703 * math/s_csinl.c (__csinl): Likewise.
16704 * math/s_ctan.c (__ctan): Likewise.
16705 * math/s_ctanf.c (__ctanf): Likewise.
16706 * math/s_ctanh.c (__ctanh): Likewise.
16707 * math/s_ctanhf.c (__ctanhf): Likewise.
16708 * math/s_ctanhl.c (__ctanhl): Likewise.
16709 * math/s_ctanl.c (__ctanl): Likewise.
16710 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16711 csin, csinh, ctan and ctanh.
16712 * math/auto-libm-test-out: Regenerated.
16713 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16714 * sysdeps/i386/fpu/libm-test-ulps: Update.
16715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16716
16717 2015-06-24 Roland McGrath <roland@hack.frob.com>
16718
16719 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16720 return value is wrong, print the expected value too.
16721
16722 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
16723
16724 [BZ #18585]
16725 * elf/readlib.c (is_gdb_python_file): New.
16726 (process_file): Don't issue errors on filenames with -gdb.py
16727 suffix.
16728
16729 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16730
16731 * math/auto-libm-test-in: Add more tests of csin and csinh.
16732 * math/auto-libm-test-out: Regenerated.
16733 * math/libm-test.inc (csin_test_data): Remove tests moved to
16734 auto-libm-test-in.
16735 (csinh_test_data): Likewise.
16736
16737 [BZ #18593]
16738 * math/s_csin.c (__csin): Negate before rather than after possibly
16739 overflowing multiplication.
16740 * math/s_csinf.c (__csinf): Likewise.
16741 * math/s_csinh.c (__csinh): Likewise.
16742 * math/s_csinhf.c (__csinhf): Likewise.
16743 * math/s_csinhl.c (__csinhl): Likewise.
16744 * math/s_csinl.c (__csinl): Likewise.
16745 * math/auto-libm-test-in: Add some tests of csin and csinh.
16746 * math/auto-libm-test-out: Regenerated.
16747 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16748 (csinh_test_data): Likewise.
16749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16750
16751 [BZ #18586]
16752 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16753 underflow exception for small results.
16754
16755 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
16756
16757 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16758 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16759 variable and included header.
16760 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16761 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16762 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16763 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16764 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16765 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16766 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16767 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16768 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16769 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16770 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16771 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16772 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16773 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16774 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16775 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16776
16777 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16778
16779 [BZ #16526]
16780 [BZ #16538]
16781 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16782 (__sin): Force underflow exception for arguments with small
16783 absolute value.
16784 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16785 (__kernel_sinf): Force underflow exception for arguments with
16786 small absolute value.
16787 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16788 (__kernel_sincosl): Force underflow exception for arguments with
16789 small absolute value.
16790 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16791 (__kernel_sinl): Force underflow exception for arguments with
16792 small absolute value.
16793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16794 (__kernel_sincosl): Force underflow exception for arguments with
16795 small absolute value.
16796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16797 (__kernel_sinl): Force underflow exception for arguments with
16798 small absolute value.
16799 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16800 (__kernel_sinl): Force underflow exception for arguments with
16801 small absolute value.
16802 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16803 (__kernel_sinf): Force underflow exception for arguments with
16804 small absolute value.
16805 * math/auto-libm-test-in: Add more tests of sin and sincos.
16806 * math/auto-libm-test-out: Regenerated.
16807
16808 [BZ #18245]
16809 [BZ #18583]
16810 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16811 (__kernel_standard_l): Use feholdexcept and fesetenv around
16812 conversion to double instead of special-casing overflow and
16813 underflow.
16814 * math/libm-test.inc (fmod_test_data): Add more tests.
16815 (remainder_test_data): Likewise.
16816 (sqrt_test_data): Likewise.
16817
16818 2015-06-23 Torvald Riegel <triegel@redhat.com>
16819
16820 [BZ #17403]
16821 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16822 atomic_read_barrier, atomic_write_barrier): Define.
16823 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16824 atomic_read_barrier, atomic_write_barrier): Define.
16825
16826 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16827
16828 * math/Makefile [$(PERL) != no]
16829 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16830 dependency on libm-test.stmp below the inclusion of Rules.
16831
16832 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
16833
16834 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16835 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16836 and included header.
16837 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16838 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16839 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16840 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16841 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16842 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16843 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16844 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16845 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16846 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16847 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16848 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16849 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16850 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16851 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16852 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16853 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16854 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16855 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16856
16857 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16858
16859 [BZ #18371]
16860 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16861 intermediate but not final result might underflow.
16862 * math/s_csqrtf.c (__csqrtf): Likewise.
16863 * math/s_csqrtl.c (__csqrtl): Likewise.
16864 * math/auto-libm-test-in: Add more tests of csqrt.
16865 * math/auto-libm-test-out: Regenerated.
16866 * sysdeps/i386/fpu/libm-test-ulps: Update.
16867
16868 [BZ #18219]
16869 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16870 threshold on absolute value of exponent for which scaling is used.
16871 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16872 * math/auto-libm-test-in: Add more tests of exp2.
16873 * math/auto-libm-test-out: Regenerated.
16874
16875 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
16876
16877 [BZ #17977]
16878 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16879 when initializing interface list, based on the bug analysis
16880 and the patch proposed by Eric Newton.
16881 * resolv/tst-res_hconf_reorder.c: New test.
16882 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16883 tst-res_hconf_reorder.
16884 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16885 and $(shared-thread-library).
16886 (tst-res_hconf_reorder-ENV): New variable.
16887
16888 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16889 in comment.
16890
16891 2015-06-22 Joseph Myers <joseph@codesourcery.com>
16892
16893 [BZ #16353]
16894 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16895 (__expm1): Force underflow exception for arguments with small
16896 absolute value.
16897 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16898 (__expm1f): Force underflow exception for arguments with small
16899 absolute value.
16900 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16901 (__expm1): Force underflow exception for arguments with small
16902 absolute value.
16903 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16904 (__expm1f): Force underflow exception for arguments with small
16905 absolute value.
16906 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16907 Check for small arguments before calling __expm1.
16908 * math/auto-libm-test-in: Do not mark underflow exceptions as
16909 possibly missing for bug 16353.
16910 * math/auto-libm-test-out: Regenerated.
16911
16912 2015-06-22 Andreas Schwab <schwab@suse.de>
16913
16914 [BZ #18513]
16915 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16916 PTR queries.
16917
16918 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
16919
16920 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16921
16922 * string/strcoll_l.c: Remove unused struct element idxnow.
16923
16924 2015-06-21 Joseph Myers <joseph@codesourcery.com>
16925
16926 [BZ #18569]
16927 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16928 underflow and return argument in case of subnormal argument.
16929 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16930 Likewise.
16931 * math/auto-libm-test-in: Add more tests of expm1.
16932 * math/auto-libm-test-out: Regenerated.
16933
16934 [BZ #16361]
16935 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16936 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16937 tiny results.
16938 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16939 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16940 tiny results.
16941 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
16942 mark underflow exceptions as possibly missing for bug 16361.
16943 * math/auto-libm-test-out: Regenerated.
16944
16945 2015-06-19 Joseph Myers <joseph@codesourcery.com>
16946
16947 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16948 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16949 Remove variable.
16950 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16951 (test-xfail-XOPEN2K8/utmpx.h/conform).
16952
16953 * conform/conformtest.pl ($xerrors): New variable.
16954 (note_error): New function.
16955 (compiletest): New argument $xfail. Use not_error.
16956 (runtest): Likewise.
16957 (top level): Handle xfail- lines. Update calls to compiletest and
16958 runtest. Handle xfail- and optional- in headers listed with
16959 allow-header.
16960 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16961 (O_EXEC): Likewise.
16962 (O_SEARCH): Likewise.
16963 * conform/data/stropts.h-data (ioctl): Likewise.
16964 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16965 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16966 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16967 (msghdr.msg_controllen): Likewise.
16968 (cmsghdr.cmsg_len): Likewise.
16969 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16970 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16971 variable.
16972 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16973 (test-xfail-XPG4/stropts.h/conform): Likewise.
16974 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16975 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16976 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16977 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16978 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16979 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16980 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16981 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16982 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16983 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16984 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16985 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16986 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16987 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16988 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16989 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16990 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16991 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16992 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16993
16994 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
16995
16996 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16997 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16998 definitions for proper unfolding of __MATHDECL_VEC.
16999
17000 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17001
17002 * benchtests/bench-strcoll.c:
17003 Include string.h.
17004 (main): Remove unused variable res.
17005
17006 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17007
17008 * timezone/Makefile (%/UTC %/Universal):
17009 Generate test-result files for UTC and Universal.
17010
17011 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17012
17013 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17014
17015 2015-06-18 Joseph Myers <joseph@codesourcery.com>
17016
17017 [BZ #16350]
17018 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17019 for arguments with small absolute value.
17020 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17021 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17022 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17023 (__asinh): Force underflow exception for arguments with small
17024 absolute value.
17025 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17026 (__asinhf): Force underflow exception for arguments with small
17027 absolute value.
17028 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17029 (__asinhl): Force underflow exception for arguments with small
17030 absolute value.
17031 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17032 (__asinhl): Force underflow exception for arguments with small
17033 absolute value.
17034 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17035 (__asinhl): Force underflow exception for arguments with small
17036 absolute value.
17037 * math/auto-libm-test-in: Do not mark underflow exceptions as
17038 possibly missing for bug 16350.
17039 * math/auto-libm-test-out: Regenerated.
17040
17041 * include/bits/ipc.h: Remove file.
17042 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17043 variable.
17044 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17045 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17046 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17047 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17048 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17049 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17050 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17051 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17052 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17053
17054 * math/auto-libm-test-in: Remove spurious underflow allowance for
17055 tests of cexp.
17056 * math/auto-libm-test-out: Regenerated.
17057
17058 [BZ #18558]
17059 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17060 unconditional definition.
17061 (MCAST_BLOCK_SOURCE): Likewise.
17062 (MCAST_UNBLOCK_SOURCE): Likewise.
17063 (MCAST_LEAVE_GROUP): Likewise.
17064 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17065 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17066 (MCAST_MSFILTER): Likewise.
17067 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17068 Remove variable.
17069 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17070 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17071 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17072 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17073 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17074
17075 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
17076
17077 * NEWS: Mention addition of x86_64 vector sincosf.
17078 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17079 * math/test-float-vlen4.h: Likewise.
17080 * math/test-float-vlen8.h: Likewise.
17081 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17082 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17083 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17084 * sysdeps/x86_64/fpu/Versions: New versions added.
17085 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17086 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17087 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17088 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17089 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17090 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17091 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17092 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17093 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17094 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17095 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17096 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17097 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17098 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17099 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17100 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17101 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17102 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17103 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17104 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17105 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17106 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17107 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17108 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17109
17110 * NEWS: Mention addition of x86_64 vector sincos.
17111 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17112 * math/math.h (__MATHDECL_VEC): New macro.
17113 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17114 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17115 declaration under condition.
17116 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17117 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17118 TEST_VEC_LOOP change.
17119 * math/test-double-vlen4.h: Likewise.
17120 * math/test-double-vlen8.h: Likewise.
17121 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17122 * math/test-float-vlen4.h: Likewise.
17123 * math/test-float-vlen8.h: Likewise.
17124 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17125 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17126 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17127 * sysdeps/x86_64/fpu/Versions: New versions added.
17128 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17129 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17130 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17131 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17133 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17134 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17136 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17137 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17138 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17139 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17140 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17141 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17142 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17143 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17144 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17145 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17146 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17147 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17148 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17149 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17150 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17151 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17152
17153 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17154 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17155 redirections for powf.
17156 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17157 * sysdeps/x86_64/fpu/Versions: New versions added.
17158 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17159 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17160 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17161 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17162 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17163 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17164 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17165 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17166 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17167 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17168 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17169 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17170 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17171 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17172 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17173 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17174 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17175 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17176 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17177 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17178 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17179 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17180 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17181 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17182 * math/test-float-vlen16.h: Fixed 2 argument macro.
17183 * math/test-float-vlen4.h: Likewise.
17184 * math/test-float-vlen8.h: Likewise.
17185 * NEWS: Mention addition of x86_64 vector powf.
17186
17187 2015-06-17 Joseph Myers <joseph@codesourcery.com>
17188
17189 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17190 and redefine.
17191 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17192 and redefine.
17193 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17194 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17195 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17196
17197 [BZ #18553]
17198 * resource/getpriority.c (getpriority): Rename to __getpriority
17199 and define as weak alias of __getpriority.
17200 * resource/setpriority.c (setpriority): Rename to __setpriority
17201 and define as weak alias of __setpriority.
17202 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17203 __getpriority and define as weak alias of __getpriority.
17204 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17205 __setpriority and define as weak alias of __setpriority.
17206 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17207 strong name.
17208 (setpriority): Use __setpriority as strong name.
17209 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17210 __getpriority and define as weak alias of __getpriority.
17211 * include/sys/resource.h (__getpriority): Declare. Use
17212 libc_hidden_proto.
17213 (__setpriority): Likewise.
17214 (getpriority): Don't use libc_hidden_proto.
17215 (setpriority): Likewise.
17216 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17217 getpriority. Call __setpriority instead of setpriority.
17218 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17219 Remove variable.
17220
17221 [BZ #18547]
17222 * misc/getttyent.c (getttynam): Rename to __getttynam and define
17223 as weak alias of __getttynam. Use prototype function definition.
17224 Call __setttyent, __getttyent and __endttyent instead of
17225 setttyent, getttyent and endttyent.
17226 (getttyent): Rename to __getttyent and define as weak alias of
17227 __getttyent. Call __setttyent instead of setttyent. Call
17228 __fgets_unlocked instead of fgets_unlocked.
17229 (setttyent): Rename to __setttyent and define as weak alias of
17230 __setttyent.
17231 (endttyent): Rename to __endttyent and define as weak alias of
17232 __endttyent.
17233 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
17234 (__setttyent): Likewise.
17235 (__endttyent): Likewise.
17236 (getttyent): Don't use libc_hidden_proto.
17237 (setttyent): Likewise.
17238 (endttyent): Likewise.
17239 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17240 __endttyent instead of setttyent, getttyent and endttyent.
17241 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17242 Remove variable.
17243
17244 [BZ #18546]
17245 * socket/recv.c (__recv): Use libc_hidden_def.
17246 * socket/socket.c (__socket): Likewise.
17247 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17248 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17249 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17250 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17251 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17252 libc_hidden_def.
17253 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17254 libc_hidden_weak.
17255 * include/sys/socket.h (__socket): Do not use attribute_hidden.
17256 Use libc_hidden_proto.
17257 (__recv): Likewise.
17258 * socket/Versions (libc): Export __recv and __socket at version
17259 GLIBC_PRIVATE.
17260 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17261 instead of recv.
17262 (init_mq_netlink): Call __socket instead of socket.
17263 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17264 Remove variable.
17265
17266 [BZ #18545]
17267 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17268 __mq_timedreceive and define as alias of __mq_timedreceive. Use
17269 hidden_weak.
17270 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17271 define as alias of __mq_timedsend. Use hidden_weak.
17272 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17273 __mq_timedsend as strong name.
17274 (mq_timedreceive): Use __mq_timedreceive as strong name.
17275 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
17276 (__mq_timedreceive): Likewise.
17277 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17278 __mq_timedreceive instead of mq_timedreceive.
17279 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17280 instead of mq_timedsend.
17281 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17282 Remove variable.
17283
17284 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17285 hidden_def and hidden_weak instead of libc_hidden_def and
17286 libc_hidden_weak.
17287 (top level): Refer to hidden_def in comment.
17288 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17289 macro. Use it instead of libc_hidden_def.
17290 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17291 specify __GI_* name explicitly.
17292 (mq_timedreceive): Likewise.
17293 (mq_setattr): Likewise.
17294
17295 [BZ #18544]
17296 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17297 __pthread_barrier_init and define as weak alias of
17298 __pthread_barrier_init.
17299 * sysdeps/sparc/nptl/pthread_barrier_init.c
17300 (pthread_barrier_init): Likewise.
17301 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17302 __pthread_barrier_wait and define as weak alias of
17303 __pthread_barrier_wait.
17304 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17305 (pthread_barrier_wait): Likewise.
17306 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17307 (pthread_barrier_wait): Likewise.
17308 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17309 (pthread_barrier_wait): Likewise.
17310 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17311 (pthread_barrier_wait): Likewise.
17312 * nptl/Versions (libpthread): Export __pthread_barrier_init and
17313 __pthread_barrier_wait at version GLIBC_PRIVATE.
17314 * include/pthread.h (__pthread_barrier_init): Declare.
17315 (__pthread_barrier_wait): Likewise.
17316 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17317 Call __pthread_barrier_wait instead of pthread_barrier_wait.
17318 (helper_thread): Likewise.
17319 (init_mq_netlink): Call __pthread_barrier_init instead of
17320 pthread_barrier_init.
17321
17322 [BZ #18542]
17323 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17324 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17325 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
17326 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17327 vswscanf.
17328 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17329 Remove variable.
17330
17331 [BZ #18540]
17332 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17333 strong alias of _IO_fflush. Use libc_hidden_def.
17334 * libio/iofflush_u.c (fflush_unlocked): Rename to
17335 __fflush_unlocked and define as weak alias of __fflush_unlocked.
17336 Use libc_hidden_weak.
17337 * include/stdio.h (__fflush_unlocked): Declare. Use
17338 libc_hidden_proto.
17339 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17340 fflush_unlocked.
17341 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17342 Remove variable.
17343
17344 [BZ #18539]
17345 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17346 define as weak alias of __addseverity.
17347 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17348 Remove variable.
17349 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17350 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17351 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17352
17353 [BZ #18536]
17354 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17355 (__tfind): Likewise.
17356 (__tdelete): Likewise.
17357 (__twalk): Likewise.
17358 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17359 __twalk to GLIBC_PRIVATE.
17360 * include/search.h (__tsearch): Use libc_hidden_proto.
17361 (__tfind): Likewise.
17362 (__tdelete): Likewise.
17363 (__twalk): Likewise.
17364 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17365 Call __tdelete instead of tdelete.
17366 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17367 tfind. Call __tsearch instead of tsearch.
17368 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17369 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17370 Remove variable.
17371 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17372
17373 [BZ #18534]
17374 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17375 (dprintf): Define as a weak alias of __dprintf, not a strong
17376 alias.
17377 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
17378 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17379 dprintf.
17380 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17381 Remove variable.
17382 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17383 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17384
17385 [BZ #18533]
17386 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17387 not a strong alias.
17388 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17389 Remove variable.
17390
17391 [BZ #18532]
17392 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17393 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
17394 (in6addr_loopback): Rename to __in6addr_loopback and define as
17395 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
17396 * include/netinet/in.h (__in6addr_loopback): Declare. Use
17397 libc_hidden_proto.
17398 (__in6addr_any): Likewise.
17399 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17400 in6addr_any.
17401 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17402 variable.
17403 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17404
17405 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
17406
17407 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17408 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17409 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17410 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17411 redirections for pow.
17412 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17413 * sysdeps/x86_64/fpu/Versions: New versions added.
17414 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17415 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17416 build of SSE, AVX2 and AVX512 IFUNC versions.
17417 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17418 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17419 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17420 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17421 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17422 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17423 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17424 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17425 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17426 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17427 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17428 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17429 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17430 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17431 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17432 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17433 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17434 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17435 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17436 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17437 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17438 * NEWS: Mention addition of x86_64 vector pow.
17439
17440 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17441 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17442 redirections for expf.
17443 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17444 * sysdeps/x86_64/fpu/Versions: New versions added.
17445 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17446 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17447 build of SSE, AVX2 and AVX512 IFUNC versions.
17448 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17449 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17450 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17451 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17452 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17453 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17454 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17455 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17456 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17457 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17458 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17459 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17460 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17461 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17462 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17463 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17464 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17465 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17466 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17467 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17468 * NEWS: Mention addition of x86_64 vector expf.
17469
17470 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17471 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17472 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17473 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17474 redirections for exp.
17475 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17476 * sysdeps/x86_64/fpu/Versions: New versions added.
17477 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17478 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17479 build of SSE, AVX2 and AVX512 IFUNC versions.
17480 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17481 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17482 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17483 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17484 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17485 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17486 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17487 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17488 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17489 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17490 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17491 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17492 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17493 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17494 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17495 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17496 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17497 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17498 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17499 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17500 * NEWS: Mention addition of x86_64 vector exp.
17501
17502 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17503 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17504 redirections for logf.
17505 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17506 * sysdeps/x86_64/fpu/Versions: New versions added.
17507 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17508 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17509 build of SSE, AVX2 and AVX512 IFUNC versions.
17510 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17511 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17512 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17513 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17514 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17515 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17516 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17517 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17518 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17519 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17520 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17521 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17522 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17523 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17524 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17525 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17526 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17527 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17528 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17529 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17530 * NEWS: Mention addition of x86_64 vector logf.
17531
17532 * bits/libm-simd-decl-stubs.h: Added stubs for log.
17533 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17534 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17535 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17536 redirections for log.
17537 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17538 * sysdeps/x86_64/fpu/Versions: New versions added.
17539 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17540 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17541 build of SSE, AVX2 and AVX512 IFUNC versions.
17542 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17543 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17544 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17545 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17546 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17547 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17548 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17549 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17550 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17551 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17552 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17553 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17554 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17555 test.
17556 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17557 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17558 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17559 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17560 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17561 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17562 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17563 * NEWS: Mention addition of x86_64 vector log.
17564
17565 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
17566
17567 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17568 cfi_adjust_cfa_offset argument.
17569 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17570 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17571
17572 [BZ #18034]
17573 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17574 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17575 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17576 ordering using ldar.
17577 (_dl_tlsdesc_dynamic): Likewise.
17578 (_dl_tlsdesc_return_lazy): Likewise.
17579 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17580 relaxed atomics instead of volatile and synchronize with release store.
17581 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17582 volatile.
17583 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17584
17585 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
17586
17587 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17588 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17589 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17590 * sysdeps/x86_64/fpu/Versions: New versions added.
17591 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17592 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17593 build of SSE, AVX2 and AVX512 IFUNC versions.
17594 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17595 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17596 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17597 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17598 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17599 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17600 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17601 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17602 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17603 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17604 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17605 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17606 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17607 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17608 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17609 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17610 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17611 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17612 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17613 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17614 * NEWS: Mention addition of x86_64 vector sinf.
17615
17616 2015-06-14 Joseph Myers <joseph@codesourcery.com>
17617
17618 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17619 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17620 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17621 Remove variable.
17622 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17623 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17624
17625 2015-06-12 Joseph Myers <joseph@codesourcery.com>
17626
17627 [BZ #18530]
17628 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17629 strong alias of _IO_fputs. Use libc_hidden_def.
17630 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17631 and define as weak alias of __fputs_unlocked. Use
17632 libc_hidden_weak.
17633 * include/stdio.h (__fputs_unlocked): Declare. Use
17634 libc_hidden_proto.
17635 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17636 fputs_unlocked.
17637
17638 [BZ #18529]
17639 * resolv/netdb.h [__USE_POSIX]: Change condition to
17640 [__USE_XOPEN2K].
17641 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17642 not expect.
17643 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17644 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17645 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17646 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17647 [XPG4 || UNIX98] (AI_ALL): Likewise.
17648 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17649 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17650 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17651 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17652 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17653 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17654 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17655 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17656 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17657 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17658 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17659 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17660 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17661 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17662 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17663 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17664 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17665 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17666 [XPG4 || UNIX98] (gai_strerror): Likewise.
17667 [XPG4 || UNIX98] (getaddrinfo): Likewise.
17668 [XPG4 || UNIX98] (getnameinfo): Likewise.
17669
17670 [BZ #18528]
17671 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17672 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17673 __USE_XOPEN2K8].
17674 (getgrent): Likewise.
17675 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17676 expect.
17677 [XPG3 || POSIX2008] (endgrent): Likewise.
17678 [XPG3] (setgrent): Likewise.
17679 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17680 variable.
17681 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17682
17683 [BZ #18527]
17684 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17685 define as weak alias of __getlogin_r. Use libc_hidden_weak.
17686 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17687 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17688 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17689 * include/unistd.h (__getlogin_r): Declare. Use
17690 libc_hidden_proto.
17691 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17692 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17693 variable.
17694 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17695 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17696 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17697
17698 2015-06-12 Martin Sebor <msebor@redhat.com>
17699
17700 [BZ #18512]
17701 * Makerules (check-install-supported): New target.
17702 (install): Add check-install-supported as a dependency.
17703 * manual/install.texi (Installing the C Library): Document
17704 that overriding prefix and exec_prefix is not supported.
17705 Mention DESTDIR.
17706 * INSTALL: Regenerate from the above.
17707
17708 2015-06-12 Joseph Myers <joseph@codesourcery.com>
17709
17710 [BZ #18519]
17711 * posix/Versions (libc): Export __libc_pread at version
17712 GLIBC_PRIVATE.
17713 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17714 instead of pread.
17715 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17716 variable.
17717
17718 [BZ #18522]
17719 * misc/efgcvt_r.c
17720 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17721 (cvt_symbol): Use weak_alias instead of strong_alias.
17722 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17723 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17724 Remove variable.
17725 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17726 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17727
17728 [BZ #18520]
17729 * inet/herrno.c (h_errno): Rename to __h_errno.
17730 (__libc_h_errno): Define as alias of __h_errno not h_errno.
17731 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17732 to __h_errno instead of h_errno.
17733 * nptl/herrno.c (h_errno): Rename to __h_errno.
17734 (__h_errno_location): Refer to __h_errno not h_errno.
17735 * resolv/Versions (h_errno): Rename to __h_errno.
17736 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17737 Remove variable.
17738 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17739
17740 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
17741
17742 * configure.ac: More strict check for AVX512 assembler support.
17743 * configure: Regenerated.
17744
17745 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17746 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17747 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17748 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17749 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17750 * sysdeps/x86_64/fpu/Versions: New versions added.
17751 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17752 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17753 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17754 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17755 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17756 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17757 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17758 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17759 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17760 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17761 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17762 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17763 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17764 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17765 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17766 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17767 test.
17768 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17769 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17770 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17771 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17772 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17773 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17774 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17775 * NEWS: Mention addition of x86_64 vector sin.
17776
17777 2015-06-11 Florian Weimer <fweimer@redhat.com>
17778
17779 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17780 comment.
17781
17782 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
17783
17784 [BZ #18479]
17785 * nptl/pt-interp.c: New file.
17786 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17787 Add pt-interp.
17788 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17789 $(common-objpfx)runtime-linker.h.
17790
17791 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
17792
17793 * Makeconfig (+interp): Remove unused variable.
17794 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17795 only. Depend on $(common-objpfx)runtime-linker.h instead of
17796 $(elf-objpfx)runtime-linker.h.
17797 ($(elf-objpfx)runtime-linker.h): Rename to
17798 $(common-objpfx)runtime-linker.h and move ...
17799 * Makerules [$(build-shared) = yes]: ... here.
17800 * elf/interp.c: Include <runtime-linker.h> instead of
17801 <elf/runtime-linker.h>.
17802
17803 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17804
17805 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17806 (__gettimeofday_syscall): Remove vsyscall fallback.
17807 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17808 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17809 Add syscall fallback function.
17810 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17811 if vDSO is not present.
17812 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17813 fallback function.
17814 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17815 present.
17816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17817 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17818
17819 2015-06-09 Joseph Myers <joseph@codesourcery.com>
17820
17821 [BZ #18497]
17822 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17823 of wcscmp.
17824 (wcscmp): Define as weak alias of WCSCMP.
17825 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17826 wcscoll.
17827 (USE_HIDDEN_DEF): Define.
17828 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17829 __wcscoll. Don't use libc_hidden_weak.
17830 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17831 wcscmp.
17832 * sysdeps/i386/i686/multiarch/wcscmp-c.c
17833 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17834 __GI_wcscmp.
17835 (weak_alias): Undefine and redefine.
17836 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17837 __wcscmp and define as weak alias of __wcscmp.
17838 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17839 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
17840 (__wcscoll): Likewise.
17841 (wcscmp): Don't use libc_hidden_proto.
17842 (wcscoll): Likewise.
17843 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17844 wcscoll.
17845 * posix/regexec.c (check_node_accept_bytes): Likewise.
17846 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17847 variable.
17848 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17849 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17850
17851 [BZ #18507]
17852 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17853 __fstatvfs and define as weak alias of __fstatvfs. Use
17854 libc_hidden_weak.
17855 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17856 and define as weak alias of __statvfs. Use libc_hidden_weak.
17857 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17858 Define as alias of __fstatvfs, not fstatvfs.
17859 (fstatvfs64): Likewise.
17860 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17861 Define as alias of __statvfs, not statvfs.
17862 (statvfs64): Likewise.
17863 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17864 Remove variable.
17865
17866 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17867
17868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17869 (HAVE_GETCPU_VSYSCALL): Define.
17870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17871 (HAVE_GETCPU_VSYSCALL): Likewise.
17872 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17873 * sysdeps/unix/sysv/linux/sched_getcpu.c
17874 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17875 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17876 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17877 prototype.
17878 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17879 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17880 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17882 Define.
17883 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17884 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17885 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17887
17888 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
17889
17890 * sysdeps/x86_64/fpu/Makefile: New file.
17891 * sysdeps/x86_64/fpu/Versions: New file.
17892 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17893 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17894 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17895 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17896 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17897 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17898 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17899 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17900 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17901 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17902 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17903 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17904 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17905 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17906 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17907 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17908 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17909 * sysdeps/x86_64/configure.ac: Options for libmvec build.
17910 * sysdeps/x86_64/configure: Regenerated.
17911 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17912 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17913 * manual/install.texi (Configuring and compiling): Document
17914 --disable-mathvec.
17915 * INSTALL: Regenerated.
17916 * NEWS: Mention addition of libmvec and x86_64 vector cos.
17917
17918 * math/Makefile: Added rules for vector tests.
17919 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17920 declaration under condition.
17921 * math/test-double-vlen2.h: New file.
17922 * math/test-double-vlen4.h: New file.
17923 * math/test-double-vlen8.h: New file.
17924 * math/test-vec-loop.h: Added initialization macro.
17925 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17926 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17927 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17928 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17929 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17930 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17931 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17932 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17933 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17934 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17935 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17936
17937 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17938 * sysdeps/x86_64/fpu/Versions: New versions added.
17939 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17940 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17941 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17942 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17943 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17944 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17945 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17946 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17947 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17948 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17949 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17950 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17951 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17952 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17953 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17954 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17955 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17956 * NEWS: Mention addition of x86_64 vector cosf.
17957
17958 * math/Makefile: Added CFLAGS for new tests.
17959 * math/test-float-vlen16.h: New file.
17960 * math/test-float-vlen4.h: New file.
17961 * math/test-float-vlen8.h: New file.
17962 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17963 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17964 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17965 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17966 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17967 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17968 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17969 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17970 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17971 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17972 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17973
17974 2015-06-09 Marko Myllynen <myllynen@redhat.com>
17975
17976 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17977 * locale/programs/ld-ctype.c: Likewise.
17978
17979 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
17980
17981 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17982 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17983 bit_ZMM16_31_state): New macro.
17984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17985 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17986
17987 2015-06-08 Joseph Myers <joseph@codesourcery.com>
17988
17989 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17990
17991 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
17992
17993 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17994
17995 2015-06-05 Joseph Myers <joseph@codesourcery.com>
17996
17997 [BZ #18498]
17998 * libio/memstream.c (open_memstream): Rename to __open_memstream
17999 and define as weak alias of __open_memstream.
18000 * include/stdio.h (__open_memstream): Declare. Use
18001 libc_hidden_proto.
18002 (open_memstream): Don't use libc_hidden_proto.
18003 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18004 open_memstream.
18005 * posix/getopt.c (_getopt_internal_r): Likewise.
18006 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18007 variable.
18008 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18009 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18010 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18011
18012 [BZ #18496]
18013 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18014 instead of wcrtomb.
18015
18016 [BZ #18483]
18017 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18018 [__USE_XOPEN2K8]. Remove redundant #endif.
18019 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18020 Remove redundant #if.
18021 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18022 Remove variable.
18023 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18024 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18025
18026 [BZ #18495]
18027 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18028 (__iswlower): Likewise.
18029 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
18030 (__iswlower): Likewise.
18031 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18032 instead of towlower.
18033 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18034 instead of iswlower. Call __towupper instead of towupper.
18035 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18036 instead of iswalnum.
18037
18038 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18039
18040 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18041 errors to stderr.
18042
18043 2015-06-05 Florian Weimer <fweimer@redhat.com>
18044
18045 [BZ #15661]
18046 [BZ #17322]
18047 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18048 Check for overflow properly. Check for O_APPEND. Ignore large
18049 file system block sizes. Add comments about problems.
18050 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18051 * manual/filesys.texi (Storage Allocation): New node.
18052
18053 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18054
18055 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18056 cancellable syscalls.
18057 (SYS_ify): Add guard to no redefine it.
18058 (INLINE_SYSCALL): Likewise.
18059 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18060 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18061 SYSCALL_CANCEL instead.
18062 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18063 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18064 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18065 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18066 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18067 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18068 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18069 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18070 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18071 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18072 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18073 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18074 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18075 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18076 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18077 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18078 Likewise.
18079 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18080 (__libc_pread64): Likewise.
18081 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18082 (__libc_preadv): Likewise.
18083 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18084 (__libc_readv64): Likewise.
18085 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18086 (__libc_pwrite): Likewise.
18087 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18088 (__libc_pwrite64): Likewise.
18089 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18090 (__libc_pwritev): Likewise.
18091 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18092 (__libc_pwritev64): Likewise.
18093 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18094 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18095 (sync_file_range): Likewise.
18096 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18097 Likewise.
18098 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18099 Likewise.
18100 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18101 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18102 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18103 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18104 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18105 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18106 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18107 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18109 Likewise.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18111 (__libc_read64): Likewise.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18113 Likewise.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18115 Likewise.
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18117 Likewise.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18119 Likewise.
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18121 (__libc_pread64): Likewise.
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18123 Likewise.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18125 (__libc_pwrite64): Likewise.
18126 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18127 (sync_file_range): Likewise.
18128 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18129 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18130 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18131 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18132 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18133 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18134 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18135 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18136 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18137 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18138 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18139 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18140 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18141 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18142 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18143 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18144 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18145 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18146 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18147 Likewise.
18148 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18149 Likewise.
18150 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18151 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18152 Likewise.
18153 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18154 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18155 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18156 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18157 Likewise.
18158 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18159 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18160 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18161 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18162 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18163
18164 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
18165
18166 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18167 Include dl-vdso.
18168 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18169 Use VDSO routines for gettimeofday, clock_gettime if
18170 available.
18171 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18172 Declare VDSO symbols.
18173 * sysdeps/unix/sysv/linux/arm/sysdep.h:
18174 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18175 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18176 * sysdeps/unix/sysv/linux/arm/Versions: Add
18177 __vdso_clock_gettime.
18178
18179 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18180
18181 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18182 be an inline implementation regardless of library is built within.
18183 (open_not_cancel_2): Likewise.
18184 (__read_nocancel): Likewise.
18185 (__write_nocancel): Likewise.
18186 (openat_not_cancel): Likewise.
18187 (openat_not_cancel_3): Likewise.
18188 (openat64_not_cancel): Likewise.
18189 (openat64_not_cancel_3): Likewise.
18190 (__close_nocancel): Likewise.
18191 (pause_not_cancel): Likewise.
18192 (nanosleep_not_cancel): Likewise.
18193 (sigsuspend_not_cancel): Likewise.
18194
18195 2015-06-04 Torvald Riegel <triegel@redhat.com>
18196
18197 [BZ #14958]
18198 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18199 wake-up.
18200 (__pthread_rwlock_rdlock_slow): Likewise.
18201 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18202 Likewise.
18203 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18204 Likewise.
18205 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18206 * nptl/tst-rwlock16.c: New file.
18207 * nptl/Makefile (tests): Add new test.
18208
18209 2015-06-04 Torvald Riegel <triegel@redhat.com>
18210
18211 [BZ #18324]
18212 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18213 missing wake-up of readers.
18214 * nptl/tst-rwlock15.c: New file.
18215 * nptl/Makefile (tests): Add new test.
18216
18217 2015-06-03 Roland McGrath <roland@hack.frob.com>
18218
18219 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18220 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18221 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18222 and __nacl_supply_interface_rtld.
18223 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18224 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18225 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18226 Add __nacl_supply_interface_rtld.
18227 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18228
18229 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
18230
18231 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18232 isfinite.
18233 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18234 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18235
18236 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
18237
18238 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18239 __signbit* with standard C99 macros.
18240 * math/e_exp10l.c: Likewise.
18241 * math/e_exp2l.c: Likewise.
18242 * math/e_scalb.c: Likewise.
18243 * math/e_scalbf.c: Likewise.
18244 * math/e_scalbl.c: Likewise.
18245 * math/s_ldexp.c: Likewise.
18246 * math/s_ldexpf.c: Likewise.
18247 * math/s_ldexpl.c: Likewise.
18248 * math/w_atan2.c: Likewise.
18249 * math/w_atan2f.c: Likewise.
18250 * math/w_atan2l.c: Likewise.
18251 * math/w_cosh.c: Likewise.
18252 * math/w_coshf.c: Likewise.
18253 * math/w_coshl.c: Likewise.
18254 * math/w_exp10.c: Likewise.
18255 * math/w_exp10f.c: Likewise.
18256 * math/w_exp10l.c: Likewise.
18257 * math/w_exp2.c: Likewise.
18258 * math/w_exp2f.c: Likewise.
18259 * math/w_exp2l.c: Likewise.
18260 * math/w_fmod.c: Likewise.
18261 * math/w_fmodf.c: Likewise.
18262 * math/w_fmodl.c: Likewise.
18263 * math/w_hypot.c: Likewise.
18264 * math/w_hypotf.c: Likewise.
18265 * math/w_hypotl.c: Likewise.
18266 * math/w_jnl.c: Likewise.
18267 * math/w_lgamma.c: Likewise.
18268 * math/w_lgamma_r.c: Likewise.
18269 * math/w_lgammaf.c: Likewise.
18270 * math/w_lgammaf_r.c: Likewise.
18271 * math/w_lgammal.c: Likewise.
18272 * math/w_lgammal_r.c: Likewise.
18273 * math/w_pow.c: Likewise.
18274 * math/w_powf.c: Likewise.
18275 * math/w_powl.c: Likewise.
18276 * math/w_remainder.c: Likewise.
18277 * math/w_remainderf.c: Likewise.
18278 * math/w_remainderl.c: Likewise.
18279 * math/w_scalb.c: Likewise.
18280 * math/w_scalbf.c: Likewise.
18281 * math/w_scalbl.c: Likewise.
18282 * math/w_scalbln.c: Likewise.
18283 * math/w_scalblnf.c: Likewise.
18284 * math/w_scalblnl.c: Likewise.
18285 * math/w_sinh.c: Likewise.
18286 * math/w_sinhf.c: Likewise.
18287 * math/w_sinhl.c: Likewise.
18288 * math/w_tgamma.c: Likewise.
18289 * math/w_tgammaf.c: Likewise.
18290 * math/w_tgammal.c: Likewise.
18291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18292 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18293 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18294 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18295 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18297 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18298 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18299 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18300 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18301 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18322 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18323 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18324 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18325 * stdio-common/printf_fp.c: Likewise.
18326 * stdio-common/printf_fphex.c: Likewise.
18327 * stdio-common/printf_size.c: Likewise.
18328
18329 2015-06-03 Joseph Myers <joseph@codesourcery.com>
18330
18331 [BZ #18470]
18332 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18333 strnlen.
18334 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18335 Remove variable.
18336 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18337 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18338 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18339 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18340 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18341 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18342 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18343 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18344 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18345 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18346
18347 [BZ #18468]
18348 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18349 weak alias of __wmemchr. Use libc_hidden_weak.
18350 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
18351 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18352 instead of wmemchr.
18353
18354 2015-06-02 Roland McGrath <roland@hack.frob.com>
18355
18356 [BZ #18383]
18357 * elf/tst-tlsalign-extern.c: New file.
18358 * elf/tst-tlsalign-extern-static.c: New file.
18359 * elf/tst-tlsalign-vars.c: New file.
18360 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18361 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18362 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18363 ($(objpfx)tst-tlsalign-extern-static): Likewise.
18364 (test-xfail-tst-tlsalign-extern-static): New variable.
18365
18366 2015-06-02 Joseph Myers <joseph@codesourcery.com>
18367
18368 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18369 Use variable name _sc_err instead of err.
18370 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18371 instead of ret.
18372 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18373 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18374 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18375 (INLINE_SYSCALL): Likewise.
18376
18377 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18378 * include/string.h (__strnlen): Use libc_hidden_proto.
18379 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18380 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18381 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18382 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18383 (libc_hidden_def): Undefine and redefine.
18384 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18385 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18386 __GI_strnlen.
18387 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18388 libc_hidden_def.
18389 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18390
18391 [BZ #18469]
18392 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18393 weak alias of __towlower. Use libc_hidden_weak.
18394 (towupper): Rename to __towupper and define as weak alias of
18395 __towupper. Use libc_hidden_weak.
18396 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
18397 (__towupper): Likewise.
18398 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18399 __towlower instead of towlower.
18400
18401 2015-06-02 Roland McGrath <roland@hack.frob.com>
18402
18403 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18404 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18405
18406 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
18407
18408 * sysdeps/aarch64/libm-test-ulps: Update.
18409
18410 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18411
18412 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18413 Define.
18414 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18416 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18417 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18418 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18419 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18420 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18421
18422 2015-06-01 Martin Sebor <msebor@redhat.com>
18423
18424 [BZ #18116]
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18426 (__setcontext): Use extended four-operand version of mtsf whenever
18427 possible.
18428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18429 (__novec_swapcontext): Likewise.
18430
18431 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18432
18433 * benchtests/scripts/compare_bench.py: New file.
18434 * benchtests/scripts/import_bench.py (mean): New function.
18435 (split_list): Likewise.
18436 (do_for_all_timings): Likewise.
18437 (compress_timings): Likewise.
18438
18439 * benchtests/scripts/import_bench.py: New file.
18440 * benchtests/scripts/validate_benchout.py: Import import_bench
18441 instead of jsonschema.
18442 (validate_bench): Remove function.
18443 (main): Use import_bench.
18444
18445 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
18446
18447 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18448 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18449
18450 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18451
18452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18453
18454 2015-05-28 Roland McGrath <roland@hack.frob.com>
18455
18456 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18457 set THREAD_SELF->tid to a magic value and futex-wake it.
18458 Pass its address to the thread_exit system call.
18459 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18460 bit is clear.
18461 * sysdeps/nacl/lowlevellock.h: New file.
18462 * sysdeps/nacl/lll_timedwait_tid.c: New file.
18463
18464 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18465 Add TIMEOUT to current time, don't subtract it.
18466
18467 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
18468
18469 [BZ #2981]
18470 [BZ #18422]
18471 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18472 ($(objpfx)tst-audit2.out): Also depend on
18473 $(objpfx)tst-auditmod9b.so.
18474 * elf/tst-audit2.c: Include <dlfcn.h>.
18475 (calloc_called): New.
18476 (calloc): Allow to be called more than once.
18477 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18478
18479 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
18480
18481 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18482 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18483
18484 2015-05-27 Marko Myllynen <myllynen@redhat.com>
18485
18486 * stdlib/monetary.h: Fix comment.
18487
18488 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
18489
18490 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18491 Avoid using variables in #defines that might cause shadowing.
18492 (INTERNAL_VSYSCALL_CALL): Likewise.
18493
18494 2015-05-26 Roland McGrath <roland@hack.frob.com>
18495
18496 * sysdeps/nacl/lll_timedlock_wait.c: New file.
18497
18498 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18499 * nptl/lll_timedlock_wait.c: ... to this new file.
18500 * nptl/Makefile (libpthread-routines): Add it.
18501 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18502 * nptl/lll_timedwait_tid.c: ... to this new file.
18503 * nptl/Makefile (libpthread-routines): Add it.
18504 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18505 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18506 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18507 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18508 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18509 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18510 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18511 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18512 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18513 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18514
18515 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18516
18517 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18518 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18519 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18520 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18521 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18522 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18523 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18524 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18525 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18526 * sysdeps/unix/sysv/linux/tile/sysdep.h
18527 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18528 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18529 using vDSO syscall macro.
18530
18531 2015-05-26 Andriy Rysin <arysin@gmail.com>
18532
18533 [BZ #17293]
18534 * uk_UA: Fix sorting order for Ukrainian locale
18535
18536 2015-05-26 Marko Myllynen <myllynen@redhat.com>
18537
18538 * stdlib/monetary.h: Fix comment.
18539
18540 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
18541
18542 [BZ #18234]
18543 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18544 st_mtim and st_ctim members.
18545 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18546 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18547 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18548 (struct stat64): Likewise.
18549 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18550 (struct stat64): Likewise.
18551 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18552 (struct stat64): Likewise.
18553
18554 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18555
18556 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18557 Define and include sysdep-vdso.h.
18558 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18559 Likewise.
18560 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18561 Likewise.
18562 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18563 Define with VDSO_SYMBOL and use PTR_MANGLE.
18564 (__vdso_clock_gettime): Likewise.
18565 (__vdso_clock_getres): Likewise.
18566 (_libc_vdso_platform_setup): Likewise.
18567 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18568 Likewise.
18569 (_libc_vdso_platform_setup): Likewise.
18570 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18571 Likewise.
18572 (__vdso_clock_gettime): Likewise.
18573 (__vdso_clock_getres): Likewise.
18574 (__vdso_get_tbfreq): Likewise.
18575 (__vdso_getcpu): Likewise.
18576 (__vdso_time): Likewise.
18577 (__vdso_sigtramp_rt64): Likewise.
18578 (__vdso_signtramp32): Likewise.
18579 (__vdso_sigtramp_rt32): Likewise.
18580 (_libc_vdso_platform_setup): Likewise.
18581 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18582 Likewise.
18583 (__vdso_clock_gettime): Likewise.
18584 (__vdso_clock_getres): Likewise.
18585 (_libc_vdso_platform_setup): Likewise.
18586 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18587 Likewise.
18588 (__vdso_clock_gettime): Likewise.
18589 (_libc_vdso_platform_setup): Likewise.
18590 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18591 Likewise.
18592 (__vdso_getcpu): Likewise.
18593 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18594 Use VDSO_SYMBOL macro to define.
18595 (__vdso_clock_gettime): Likewise.
18596 (__vdso_clock_getres): Likewise.
18597 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18598 Likewise.
18599 (__vdso_clock_gettime): Likewise.
18600 (__vdso_clock_getres): Likewise.
18601 (__vdso_get_tbfreq): Likewise.
18602 (__vdso_getcpu): Likewise.
18603 (__vdso_time): Likewise.
18604 (__vdso_sigtramp_rt64): Likewise.
18605 (__vdso_signtramp32): Likewise.
18606 (__vdso_sigtramp_rt32): Likewise.
18607 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18608 Likewise.
18609 (__vdso_clock_gettime): Likewise.
18610 (__vdso_clock_getres): Likewise.
18611 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18612 Likewise.
18613 (__vdso_clock_gettime): Likewise.
18614 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18615 Likewise.
18616 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
18617 macro.
18618 (INTERNAL_VSYSCALL): Likewise.
18619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18620 Remove macro.
18621 (INTERNAL_VSYSCALL): Likewise.
18622 (INTERNAL_VSYSCALL_NCS): Likewise.
18623 (INTERNAL_VSYSCALL_CALL): New macro.
18624 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18625 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18626 Likewise.
18627 (INTERNAL_VSYSCALL): Likewise.
18628 (INTERNAL_VSYSCALL_NCS): Likewise.
18629 (INTERNAL_VSYSCALL_CALL): New macro.
18630 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18632 (INLINE_VSYSCALL): Remove macro.
18633 (INTERNAL_VSYSCALL): Remove macro.
18634 (INTERNAL_VSYSCALL_NCS): Remove macro.
18635 (INTERNAL_VSYSCALL_CALL): New macro.
18636 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18637 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18638 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18639 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18640 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18642 (INLINE_VSYSCALL): Remove macro.
18643 (INTERNAL_VSYSCALL): Likewise.
18644 (INTERNAL_VSYSCALL_NCS): Likewise.
18645 (INTERNAL_VSYSCALL_CALL): New macro.
18646 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18647 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18648 PTR_DEMANGLE on vDSO pointer.
18649 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18650 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18651 macro.
18652 (INTERNAL_SYSCALL): Likewise.
18653 (INTERNAL_VSYSCALL_NCS): Remove macro.
18654 (INTERNAL_VSYSCALL_CALL): New macro.
18655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18656 Remove macro.
18657 (INTERNAL_VSYSCALL): Likewise.
18658 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18659 sysdep-vdso.h instead of libc-vdso.h.
18660 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18661 definition.
18662 (INLINE_VSYSCALL): Likewise.
18663 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18664 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18665 definition.
18666 (INLINE_VSYSCALL): Likewise.
18667 (INTERNAL_VSYSCALL): Likewise.
18668 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18669 * sysdeps/unix/sysv/linux/timespec_get.c
18670 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18671 (timespec_get): Use ANSI prototype.
18672 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18673 and definition for Linux.
18674
18675 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
18676
18677 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18678 * include/libc-symbols.h: libmvec_hidden_* macro series added.
18679
18680 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
18681
18682 [BZ #2981]
18683 [BZ #18410]
18684 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18685 for missing DT_PLTRELSZ.
18686
18687 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
18688
18689 Remove obsolete aliases that broke 'locale -a'
18690 [BZ #18412]
18691 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18692 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18693 breaking some applications that use 'locale -a' output.
18694 Change the encoding of this file from Latin-1 to ASCII to avoid
18695 other potential problems with people grepping this file.
18696
18697 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18698
18699 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18700 -fasynchronous-unwind-tables.
18701 (CFLAGS-sendto.c): Likewise.
18702 (CFLAGS-sendmsg.c): Likewise.
18703 (CFLAGS-connect.c): Likewise.
18704 (CFLAGS-recvmsg.c): Likewise.
18705 (CFLAGS-recvfrom.c): Likewise.
18706 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18707 (SOCKETCALL): New macro: non-cancellable socketcall.
18708 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18709 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18710 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18711 * sysdeps/unix/sysv/linux/accept.c: New file.
18712 * sysdeps/unix/sysv/linux/bind.c: Likewise.
18713 * sysdeps/unix/sysv/linux/connect.c: Likewise.
18714 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18715 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18716 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18717 * sysdeps/unix/sysv/linux/listen.c: Likewise.
18718 * sysdeps/unix/sysv/linux/recv.c: Likewise.
18719 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18720 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18721 * sysdeps/unix/sysv/linux/send.c: Likewise.
18722 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18723 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18724 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18725 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18726 * sysdeps/unix/sysv/linux/socket.c: Likewise.
18727 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18728 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18729 prototype.
18730 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18731 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18732 instead of __internal_xxx function.
18733 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18734 prototype.
18735 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18736 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18737 instead of __internal_xxx function.
18738 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18739 prototype.
18740 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18741 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18742 instead of __internal_xxx function.
18743 * sysdeps/unix/sysv/linux/accept.S: Remove file.
18744 * sysdeps/unix/sysv/linux/bind.S: Likewise.
18745 * sysdeps/unix/sysv/linux/connect.S: Likewise.
18746 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18747 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18748 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18749 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18750 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18751 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18752 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18753 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18754 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18755 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18756 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18757 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18758 * sysdeps/unix/sysv/linux/listen.S: Likewise.
18759 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18760 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18761 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18762 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18765 * sysdeps/unix/sysv/linux/recv.S: Likewise.
18766 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18767 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18768 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18769 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18770 * sysdeps/unix/sysv/linux/send.S: Likewise.
18771 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18772 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18773 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18774 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18775 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18776 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18777 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18778 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18779 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18780 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18781 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18782 socketcall is implemented in GLIBC.
18783
18784 2015-05-22 Joseph Myers <joseph@codesourcery.com>
18785
18786 * soft-fp/fmadf4.c: Include <libc-internal.h>.
18787 (__fma): Ignore uninitialized warnings around packing.
18788 * soft-fp/fmasf4.c: Include <libc-internal.h>.
18789 (__fmaf): Ignore uninitialized warnings around packing.
18790 * soft-fp/fmatf4.c: Include <libc-internal.h>.
18791 (__fmal): Ignore uninitialized warnings around packing.
18792
18793 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18794 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18795 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18796 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18797
18798 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18799 switch statement into default case.
18800 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18801
18802 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18803 a conditional in forcing "inexact".
18804 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18805 Likewise.
18806
18807 2015-05-22 Roland McGrath <roland@hack.frob.com>
18808
18809 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18810 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18811 for each INTERNAL_SYSCALL use.
18812
18813 2015-05-22 Joseph Myers <joseph@codesourcery.com>
18814
18815 [BZ #438]
18816 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18817 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18818 variable.
18819
18820 [BZ #18444]
18821 * string/basename.c (basename): Rename to __basename and define as
18822 weak alias of __basename. Use libc_hidden_weak.
18823 * include/string.h (__basename): Declare. Use libc_hidden_proto.
18824 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18825 __basename instead of basename.
18826 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18827 Remove variable.
18828 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18829
18830 2015-05-18 Florian Weimer <fweimer@redhat.com>
18831
18832 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18833 (_IO_JUMPS_FILE_plus): New.
18834 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18835 _IO_CAST_FIELD_ACCESS.
18836 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18837 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18838 * libio/freopen.c (freopen): Likewise.
18839 * libio/freopen64.c (freopen64): Likewise.
18840 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18841 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18842 * libio/iofwide.c (_IO_fwide): Likewise.
18843 * libio/memstream.c (open_memstream): Likewise.
18844 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18845 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18846 * libio/oldiopopen.c (_IO_old_popen): Likewise.
18847
18848 2015-05-21 Joseph Myers <joseph@codesourcery.com>
18849
18850 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18851 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18852 NADJ.
18853 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18854 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18855 NADJ.
18856 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18857 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18858 NADJ.
18859
18860 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18861 (p == 4) case.
18862
18863 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18864 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18865 Remove variable.
18866 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18867 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18868 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18869
18870 2015-05-21 Florian Weimer <fweimer@redhat.com>
18871
18872 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18873 Adjust jump table label generation macros.
18874
18875 2015-05-21 Florian Weimer <fweimer@redhat.com>
18876
18877 * stdio-common/vfprintf.c (vfprintf): Move local variables
18878 args_malloced, specs, specs_malloced, and the code after
18879 do_positional to the printf_positional function.
18880 (printf_positional): New function.
18881
18882 2015-05-21 Florian Weimer <fweimer@redhat.com>
18883
18884 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18885 function.
18886 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18887 STEP4_TABLE, process_arg): Move macro definitions
18888 out of the vfprintf function. (Cosmetic change only.)
18889
18890 2015-05-21 Carlos O'Donell <carlos@redhat.com>
18891
18892 * benchtests/Makefile (stdio-common-bench): Define.
18893 (benchset): Add stdio-common-bench.
18894 * sprintf-inputs: New file.
18895 * sprintf-source.c: New file.
18896
18897 2015-05-21 Andreas Schwab <schwab@suse.de>
18898
18899 [BZ #13028]
18900 [BZ #17053]
18901 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18902 of struct __res_state.
18903 * resolv/res_send.c (__libc_res_nsend): Likewise.
18904 (get_nsaddr): New function.
18905 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18906 statp directly.
18907
18908 2015-05-20 Joseph Myers <joseph@codesourcery.com>
18909
18910 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18911 -D_POSIX_C_SOURCE=199506L.
18912
18913 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18914
18915 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18916 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18917 Do not mention otherwise.
18918 [POSIX] (_XOPEN_VERSION): Do not expect.
18919 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18920 [POSIX] (_POSIX2_C_BIND): Likewise.
18921 [POSIX] (_POSIX2_VERSION): Likewise.
18922 [POSIX] (_XOPEN_XPG2): Likewise.
18923 [POSIX] (_XOPEN_XPG3): Likewise.
18924 [POSIX] (_XOPEN_XPG4): Likewise.
18925 [POSIX] (_XOPEN_UNIX): Likewise.
18926 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18927 [POSIX] (_POSIX_BARRIERS): Likewise.
18928 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18929 [POSIX] (_POSIX_CPUTIME): Likewise.
18930 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18931 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18932 [POSIX] (_POSIX_SHELL): Likewise.
18933 [POSIX] (_POSIX_SPAWN): Likewise.
18934 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18935 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18936 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18937 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18938 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18939 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18940 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18941 [POSIX] (_XBS5_LP64_OFF64): Likewise.
18942 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18943 [POSIX] (_POSIX_TIMEOUTS): Likewise.
18944 [POSIX] (_POSIX2_PBS): Likewise.
18945 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18946 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18947 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18948 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18949 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18950 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18951 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18952 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18953 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18954 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18955 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18956 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18957 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18958 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18959 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18960 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18961 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18962 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18963 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18964 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18965 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18966 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18967 [POSIX] (_SC_2_C_BIND): Likewise.
18968 [POSIX] (_SC_2_C_VERSION): Likewise.
18969 [POSIX] (_SC_2_PBS): Likewise.
18970 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18971 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18972 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18973 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18974 [POSIX] (_SC_2_PBS_TRACK): Likewise.
18975 [POSIX] (_SC_ATEXIT_MAX): Likewise.
18976 [POSIX] (_SC_BARRIERS): Likewise.
18977 [POSIX] (_SC_BASE): Likewise.
18978 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18979 [POSIX] (_SC_DEVICE_IO): Likewise.
18980 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18981 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18982 [POSIX] (_SC_FD_MGMT): Likewise.
18983 [POSIX] (_SC_FIFO): Likewise.
18984 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18985 [POSIX] (_SC_FILE_LOCKING): Likewise.
18986 [POSIX] (_SC_FILE_SYSTEM): Likewise.
18987 [POSIX] (_SC_IOV_MAX): Likewise.
18988 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18989 [POSIX] (_SC_NETWORKING): Likewise.
18990 [POSIX] (_SC_PAGE_SIZE): Likewise.
18991 [POSIX] (_SC_PASS_MAX): Likewise.
18992 [POSIX] (_SC_PIPE): Likewise.
18993 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18994 [POSIX] (_SC_REGEXP): Likewise.
18995 [POSIX] (_SC_SHELL): Likewise.
18996 [POSIX] (_SC_SIGNALS): Likewise.
18997 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18998 [POSIX] (_SC_SPIN_LOCKS): Likewise.
18999 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19000 [POSIX] (_SC_USER_GROUPS): Likewise.
19001 [POSIX] (_SC_USER_GROUPS_R): Likewise.
19002 [POSIX] (_SC_STREAMS): Likewise.
19003 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19004 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19005 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19006 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19007 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19008 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19009 [POSIX] (_PC_FILESIZEBITS): Likewise.
19010 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19011 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19012 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19013 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19014 [POSIX] (uid_t): Likewise.
19015 [POSIX] (gid_t): Likewise.
19016 [POSIX] (off_t): Likewise.
19017 [POSIX] (pid_t): Likewise.
19018 [POSIX] (cuserid): Allow.
19019 (_SC_2_CHAR_TERM): Require constant.
19020 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19021 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19022 variable.
19023
19024 2015-05-20 Roland McGrath <roland@hack.frob.com>
19025
19026 * sysdeps/nacl/pthread-pids.h: New file.
19027 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19028 (create_thread): Use __nacl_get_tid to initialize PD->tid.
19029
19030 * nptl/pthread-pids.h: New file.
19031 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19032 * nptl/nptl-init.c: Include <pthread-pids.h>.
19033 (__pthread_initialize_minimal_internal):
19034 Call __pthread_initialize_pids instead of set_tid_address syscall.
19035
19036 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19037 * sysdeps/posix/usleep.c: ... here.
19038
19039 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19040
19041 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19042 call_pselect6 object.
19043 [$(subdir) = io]: Remove call_sync_file_range object.
19044 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19045 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19046 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19047 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19048
19049 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
19050
19051 * math/s_cproj.c: Add include "math_private.h".
19052 * math/s_cprojf.c: Likewise.
19053 * math/s_cprojl.c: Likewise.
19054
19055 2015-05-19 Joseph Myers <joseph@codesourcery.com>
19056
19057 [BZ #18244]
19058 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19059 high mantissa bit when testing whether P is a NaN.
19060 * math/libm-test.inc (remainder_test_data): Add more tests.
19061 (remquo_test_data): Likewise.
19062
19063 [BZ #18049]
19064 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19065 below -32, return the argument, with underflow if subnormal.
19066 * math/auto-libm-test-in: Add more tests of atanh.
19067 * math/auto-libm-test-out: Regenerated.
19068
19069 2015-05-19 Roland McGrath <roland@hack.frob.com>
19070
19071 [BZ #18434]
19072 * nptl/tst-sem15.c: New file.
19073 * nptl/Makefile (tests): Add it.
19074 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19075 s/<</>>/ to fix typo in EOVERFLOW check.
19076 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19077
19078 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19079
19080 * manual/strings.texi (envz_remove): Fix typo in safety
19081 annotations.
19082
19083 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
19084 Steve Ellcey <sellcey@imgtec.com>
19085
19086 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19087 in order to avoid strict alias warnings.
19088 (iruserok_af): Ditto for ra.
19089
19090 2015-05-19 James Lemke <jwlemke@codesourcery.com>
19091
19092 [BZ #17581]
19093 * malloc/hooks.c
19094 (magicbyte): Convert to a function and avoid returning 0x01.
19095 (mem2mem_check): Avoid using a length byte equal to the magic byte.
19096 (mem2chunk_check): Fix unsigned comparisons to zero.
19097 Hoist defs of sz and magic.
19098
19099 2015-05-19 Richard Henderson <rth@redhat.com>
19100
19101 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19102
19103 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19104
19105 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19106
19107 [BZ #16159]
19108 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19109 * malloc/arena.c (arena_lock): Check if arena is corrupt.
19110 (reused_arena): Find a non-corrupt arena.
19111 (heap_trim): Pass arena to unlink.
19112 * malloc/hooks.c (malloc_check_get_size): Pass arena to
19113 malloc_printerr.
19114 (top_check): Likewise.
19115 (free_check): Likewise.
19116 (realloc_check): Likewise.
19117 * malloc/malloc.c (malloc_printerr): Add arena argument.
19118 (unlink): Likewise.
19119 (munmap_chunk): Adjust.
19120 (ARENA_CORRUPTION_BIT): New macro.
19121 (arena_is_corrupt): Likewise.
19122 (set_arena_corrupt): Likewise.
19123 (sysmalloc): Use mmap if there are no usable arenas.
19124 (_int_malloc): Likewise.
19125 (__libc_malloc): Don't fail if arena_get returns NULL.
19126 (_mid_memalign): Likewise.
19127 (__libc_calloc): Likewise.
19128 (__libc_realloc): Adjust for additional argument to
19129 malloc_printerr.
19130 (_int_free): Likewise.
19131 (malloc_consolidate): Likewise.
19132 (_int_realloc): Likewise.
19133 (_int_memalign): Don't touch corrupt arenas.
19134 * malloc/tst-malloc-backtrace.c: New test case.
19135
19136 * Makefile (summarize-tests): Fix return value on success.
19137
19138 * manual/string.texi (Envz Functions): Add envz_remove.
19139
19140 2015-05-18 Roland McGrath <roland@hack.frob.com>
19141
19142 * sysdeps/posix/opendir.c: Include <stdbool.h>.
19143 (invalid_name): New function, broken out of ...
19144 (__opendirat): ... here. Call it.
19145 (need_isdir_precheck): New function, broken out of ...
19146 (__opendirat): ... here. Call it.
19147 Use __fxstatat64, not __xstatat64.
19148 (opendir_oflags): New function, broken out of ...
19149 (__opendirat): ... here. Call it.
19150 (opendir_tail): New function, broken out of ...
19151 (__opendirat): ... here. Call it.
19152 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19153 opendir_tail, rather than punting to __opendirat.
19154 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19155
19156 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19157
19158 * .gitignore: Ignore generated *.pyc.
19159
19160 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
19161
19162 * include/stdio.h: Define __need_wint_t.
19163 * test-skeleton.c: Avoid `for' loop initial declaration.
19164 * nptl/tst-initializers1.c: Use test-skeleton.c.
19165
19166 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19167
19168 [BZ #18418]
19169 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19170
19171 2015-05-15 Joseph Myers <joseph@codesourcery.com>
19172
19173 [BZ #16352]
19174 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19175 (__ieee754_atanh): Force underflow exception for results with
19176 small absolute value.
19177 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19178 (__ieee754_atanhf): Force underflow exception for results with
19179 small absolute value.
19180 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19181 (__ieee754_atanh): Force underflow exception for results with
19182 small absolute value.
19183 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19184 (__ieee754_atanhf): Force underflow exception for results with
19185 small absolute value.
19186 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19187 (__ieee754_atanhl): Force underflow exception for results with
19188 small absolute value.
19189 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19190 (__ieee754_atanhl): Force underflow exception for results with
19191 small absolute value.
19192 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19193 (__ieee754_atanhl): Force underflow exception for results with
19194 small absolute value.
19195 * math/auto-libm-test-in: Do not allow missing underflow
19196 exceptions from atanh.
19197 * math/auto-libm-test-out: Regenerated.
19198
19199 [BZ #18221]
19200 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19201 2**-28 as threshold for returning x or +/- 1/x.
19202 * math/auto-libm-test-in: Add more tests of tan.
19203 * math/auto-libm-test-out: Regenerated.
19204
19205 [BZ #18220]
19206 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19207 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19208 * math/auto-libm-test-in: Add another test of lgamma.
19209 * math/auto-libm-test-out: Regenerated.
19210
19211 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
19212
19213 * stdio-common/printf_fp.c (___printf_fp): Use abs.
19214 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
19215 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19216 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19217 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
19218 (ADD2A): Use fabs. (SUB2A): Use fabs.
19219 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19220 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19221 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19222 (log1): Use fabs. (my_log2): Use fabs.
19223 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19224 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19225 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19226 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19228 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
19229 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
19230 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
19231 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
19232 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19233 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19234
19235 2015-05-15 Joseph Myers <joseph@codesourcery.com>
19236
19237 [BZ #18217]
19238 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19239 as threshold for returning 1 - x.
19240 * math/auto-libm-test-in: Add more tests of erfc.
19241 * math/auto-libm-test-out: Regenerated.
19242
19243 2015-05-14 Joseph Myers <joseph@codesourcery.com>
19244
19245 [BZ #18196]
19246 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19247 threshold for large arguments.
19248 * math/auto-libm-test-in: Add another test of atan.
19249 * math/auto-libm-test-out: Regenerated.
19250
19251 [BZ #16339]
19252 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19253 (__log1p): Force underflow exception for results with small
19254 absolute value.
19255 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19256 (__log1pf): Force underflow exception for results with small
19257 absolute value.
19258 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19259 (__log1p): Force underflow exception for results with small
19260 absolute value.
19261 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19262 (__log1pf): Force underflow exception for results with small
19263 absolute value.
19264 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19265 (__log1pl): Force underflow exception for results with small
19266 absolute value.
19267 * math/auto-libm-test-in: Do not allow missing underflow
19268 exceptions from log1p.
19269 * math/auto-libm-test-out: Regenerated.
19270
19271 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
19272 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19273
19274 [BZ #16704]
19275 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19276
19277 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
19278
19279 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19280 (libmvec): New variable.
19281 * configure.ac: Added option for mathvec build.
19282 * configure: Regenerated.
19283 * mathvec/Depend: New file.
19284 * mathvec/Makefile: New file.
19285 * shlib-versions: Added libmvec.
19286 * math/Makefile: Added rule for libm.so installation.
19287
19288 * bits/math-vector.h: New file.
19289 * bits/libm-simd-decl-stubs.h: New header.
19290 * math/Makefile (headers): Added new header
19291 libm-simd-decl-stubs.h.
19292 * math/math.h (__MATHCALL_VEC): New macro.
19293
19294 * math/gen-libm-have-vector-test.sh: Script generates series of macros
19295 for conditions in testing functions.
19296 * math/Makefile: Added call of libm-have-vector-test.sh.
19297 * math/libm-test.inc (HAVE_VECTOR): New macros.
19298
19299 * math/libm-test.inc: START refactored.
19300 * math/test-double.c (TEST_MATHVEC): Add define.
19301 * math/test-float.c: Likewise.
19302 * math/test-idouble.c: Likewise.
19303 * math/test-ifloat.c: Likewise.
19304 * math/test-ildoubl.c: Likewise.
19305 * math/test-ldouble.c: Likewise.
19306 * sysdeps/generic/math-tests-arch.h
19307 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19308 architecture check.
19309
19310 * math/test-double.c (FUNC_TEST): New macro.
19311 * math/test-float.c: Likewise.
19312 * math/test-idouble.c: Likewise.
19313 * math/test-ifloat.c: Likewise.
19314 * math/test-ildoubl.c: Likewise.
19315 * math/test-ldouble.c: Likewise.
19316 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19317
19318 2015-05-13 Roland McGrath <roland@hack.frob.com>
19319
19320 * sysdeps/nacl/fdopendir.c: New file.
19321
19322 * dirent/scandir-tail.c: New file.
19323 * dirent/scandir64-tail.c: New file.
19324 * dirent/Makefile (routines): Add them.
19325 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19326 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19327 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19328 [!SCANDIR] (SCANDIR_TAIL): New macro.
19329 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19330 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19331 (SCANDIRAT): Macro removed.
19332 (SCANDIR_TAIL): New macro.
19333 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19334 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19335 (SCANDIRAT): Just call __opendirat and __scandir_tail.
19336 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19337 (READDIR): Macro removed.
19338 (SCANDIR_TAIL): New macro.
19339 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19340 (SCANDIR_TAIL): New macro.
19341
19342 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19343 * dirent/scandir-cancel.c: ... to this new file.
19344 * dirent/Makefile (routines): Add it.
19345 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19346 * sysdeps/unix/sysv/linux/i386/scandir64.c
19347 (SKIP_SCANDIR_CANCEL): Macro removed.
19348 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19349
19350 * dirent/tst-scandir.c: New file.
19351 * dirent/tst-scandir64.c: New file.
19352 * dirent/Makefile (tests): Add them.
19353
19354 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
19355
19356 [BZ #18409]
19357 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19358
19359 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
19360
19361 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19362 list.
19363
19364 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
19365
19366 * benchtests/bench-strcoll.c: New benchmark.
19367 * benchtests/Makefile: Generate locales and run benchmark.
19368 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19369 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19370 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19371 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19372 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19373 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19374 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19375 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19376 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19377 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19378 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19379 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19380 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19381 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19382 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19383 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19384 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19385 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19386 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19387 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19388 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19389 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19390 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19391 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19392
19393 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
19394
19395 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19396 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19397
19398 2015-05-12 Roland McGrath <roland@hack.frob.com>
19399
19400 * posix/uname-values.h: New file.
19401 * posix/uname.c: Include that instead of <config-name.h>.
19402 * sysdeps/nacl/uname-values.h: New file.
19403 * sysdeps/arm/nacl/uname-values.h: New file.
19404
19405 2015-05-12 Joseph Myers <joseph@codesourcery.com>
19406
19407 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19408 splitting into fields.
19409
19410 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
19411
19412 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19413 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19414 * locale/localeinfo.h: Add enum collation_encoding_type.
19415 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19416 * programs/ld-collate.c (collate_output): Add encoding type info.
19417 * string/strcoll_l.c (STRDIFF): New function.
19418 * (STRCOLL): Use STRDIFF to skip over equal prefix.
19419 * wcsmbs/wcscoll_l.c: Define STRDIFF.
19420
19421 2015-05-11 Joseph Myers <joseph@codesourcery.com>
19422
19423 [BZ #18397]
19424 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19425 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
19426 <fpu_control.h> instead of <math/fpu_control.c>.
19427 * sysdeps/mips/mips32/fpu/Makefile: New file.
19428
19429 2015-05-11 Andreas Schwab <schwab@suse.de>
19430
19431 [BZ #18007]
19432 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19433 nss_endgrent.
19434 (_nss_compat_endgrent): Call nss_endgrent.
19435 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19436 nss_endpwent.
19437 (_nss_compat_endpwent): Call nss_endpwent.
19438 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19439 needent, call nss_setspent only if non-zero.
19440 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19441 (internal_endspent): Don't call nss_endspent.
19442 (_nss_compat_endspent): Call nss_endspent.
19443 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19444 Remove. All uses removed.
19445 (internal_setent): Remove parameter stayopen, add parameter
19446 stream. Use it instead of global variable.
19447 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19448 (internal_endent, internal_getent): Add parameter stream. Use it
19449 instead of global variable.
19450 (CONCAT(_nss_files_end,ENTNAME))
19451 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19452 (_nss_files_get##name##_r): Pass local stream. Remove locking.
19453 * nss/nss_files/files-alias.c (position, last_use): Remove. All
19454 uses removed.
19455 (internal_setent, internal_endent): Add parameter stream. Use it
19456 instead of global variable.
19457 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19458 stream.
19459 (get_next_alias): Add parameter stream.
19460 (_nss_files_getaliasent_r): Pass global stream.
19461 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
19462 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19463 (_nss_files_gethostbyname4_r): Pass local stream to
19464 internal_setent, internal_getent and internal_endent. Remove
19465 locking.
19466
19467 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19468
19469 * tst-strfmon1.c (tests): Update expected currency symbol.
19470
19471 2015-05-08 Roland McGrath <roland@hack.frob.com>
19472
19473 * sysdeps/nacl/gethostname.c: New file.
19474
19475 2015-05-08 Joseph Myers <joseph@codesourcery.com>
19476
19477 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19478 and sinh.
19479 * math/auto-libm-test-out: Regenerated.
19480 * sysdeps/i386/fpu/libm-test-ulps: Update.
19481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19482
19483 2015-05-08 Carlos O'Donell <carlos@redhat.com>
19484
19485 [BZ #18125]
19486 * stdlib/tst-setcontext3.c: New file.
19487 * stdlib/tst-setcontext3.sh: New file.
19488 * stdlib/Makefile (tests): Add tst-setcontext3.
19489 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19490 to verify test program created output file.
19491 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19492 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19493 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19494 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19495
19496 2015-05-06 Roland McGrath <roland@hack.frob.com>
19497
19498 [BZ #18383]
19499 * elf/tst-tlsalign.c: New file.
19500 * elf/tst-tlsalign-static.c: New file.
19501 * elf/tst-tlsalign-lib.c: New file.
19502 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19503 (tests-static): Add tst-tlsalign-static.
19504 (modules-names): Add tst-tlsalign-lib.
19505 (test-xfail-tst-tlsalign): New variable.
19506 (test-xfail-tst-tlsalign-static): New variable.
19507
19508 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19509 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19510
19511 2015-05-06 Joseph Myers <joseph@codesourcery.com>
19512
19513 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19514 csqrt, erfc, sin and sincos.
19515 * math/auto-libm-test-out: Regenerated.
19516 * sysdeps/i386/fpu/libm-test-ulps: Update.
19517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19518
19519 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
19520
19521 * sysdeps/aarch64/libm-test-ulps: Update.
19522
19523 2015-05-05 Joseph Myers <joseph@codesourcery.com>
19524
19525 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19526 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19527 * math/auto-libm-test-out: Regenerated.
19528 * sysdeps/i386/fpu/libm-test-ulps: Update.
19529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19530
19531 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
19532
19533 [BZ #18265]
19534 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19535 (wcsncpy): Likewise.
19536
19537 2015-05-05 Florian Weimer <fweimer@redhat.com>
19538
19539 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19540 Assume __ASSUME_FALLOCATE is always true.
19541 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19542 (__posix_fallocate64_l64): Likweise.
19543 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19544 (posix_fallocate): Likewise.
19545 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19546 (__posix_fallocate64_l64): Likewise.
19547 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19548 [!__ASSUME_FALLOCATE]: Add comment.
19549
19550 2015-05-05 Florian Weimer <fweimer@redhat.com>
19551
19552 * sysdeps/unix/sysv/linux/i386/Makefile
19553 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19554 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19555 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19556 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19557 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19558 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19559 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19560
19561 2015-05-02 Joseph Myers <joseph@codesourcery.com>
19562
19563 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19564 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19565 tgamma.
19566 * math/auto-libm-test-out: Regenerated.
19567 * sysdeps/i386/fpu/libm-test-ulps: Update.
19568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19569
19570 2015-05-01 Joseph Myers <joseph@codesourcery.com>
19571
19572 * math/auto-libm-test-in: Add more tests of tgamma.
19573 * math/auto-libm-test-out: Regenerated.
19574 * sysdeps/i386/fpu/libm-test-ulps: Update.
19575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19576
19577 * math/auto-libm-test-in: Add more tests of tanh.
19578 * math/auto-libm-test-out: Regenerated.
19579 * sysdeps/i386/fpu/libm-test-ulps: Update.
19580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19581
19582 * math/auto-libm-test-in: Add more tests of tan.
19583 * math/auto-libm-test-out: Regenerated.
19584 * sysdeps/i386/fpu/libm-test-ulps: Update.
19585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19586
19587 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19588 * math/auto-libm-test-out: Regenerated.
19589 * sysdeps/i386/fpu/libm-test-ulps: Update.
19590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19591
19592 * math/auto-libm-test-in: Add another test of pow.
19593 * math/auto-libm-test-out: Regenerated.
19594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19595
19596 * math/auto-libm-test-in: Add more tests of lgamma.
19597 * math/auto-libm-test-out: Regenerated.
19598 * sysdeps/i386/fpu/libm-test-ulps: Update.
19599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19600
19601 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19602 log1p.
19603 * math/auto-libm-test-out: Regenerated.
19604 * sysdeps/i386/fpu/libm-test-ulps: Update.
19605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19606
19607 2015-05-01 Mark Wielaard <mjw@redhat.com>
19608
19609 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19610 Elf64_Chdr structs and ELFCOMPRESS constants.
19611
19612 2015-05-01 Joseph Myers <joseph@codesourcery.com>
19613
19614 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19615 expm1.
19616 * math/auto-libm-test-out: Regenerated.
19617 * sysdeps/i386/fpu/libm-test-ulps: Update.
19618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19619
19620 * math/auto-libm-test-in: Add more tests of erf and erfc.
19621 * math/auto-libm-test-out: Regenerated.
19622 * sysdeps/i386/fpu/libm-test-ulps: Update.
19623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19624
19625 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
19626
19627 * config.h.in (HAVE_AARCH64_BE): Add.
19628
19629 2015-04-30 Joseph Myers <joseph@codesourcery.com>
19630
19631 * math/auto-libm-test-in: Add more tests of csqrt.
19632 * math/auto-libm-test-out: Regenerated.
19633 * sysdeps/i386/fpu/libm-test-ulps: Update.
19634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19635
19636 * math/auto-libm-test-in: Add more tests of cosh and sinh.
19637 * math/auto-libm-test-out: Regenerated.
19638 * sysdeps/i386/fpu/libm-test-ulps: Update.
19639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19640
19641 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19642
19643 2015-04-29 Roland McGrath <roland@hack.frob.com>
19644
19645 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19646 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19647
19648 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19649 (euidaccess, eaccess): Define as weak aliases.
19650
19651 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19652 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
19653 but __suseconds_t is often 'long int' so some sources assume that
19654 type is being used (e.g. they use %ld to print tv_usec).
19655
19656 2015-04-29 Florian Weimer <fweimer@redhat.com>
19657
19658 [BZ #18007]
19659 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19660 (CVE-2014-8121)
19661 * nss/tst-nss-getpwent.c: New file.
19662 * nss/Makefile (tests): Add new test.
19663
19664 2015-04-28 Joseph Myers <joseph@codesourcery.com>
19665
19666 [BZ #18346]
19667 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19668 exponents less than 48 as cases where high part of mantissa needs
19669 examining to determine whether argument is integral.
19670 * math/libm-test.inc (round_test_data): Add more tests.
19671
19672 2015-04-28 Mark Wielaard <mjw@redhat.com>
19673
19674 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19675
19676 2015-04-27 David S. Miller <davem@davemloft.net>
19677
19678 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19679 __tls_get_addr.
19680 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19681
19682 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
19683
19684 [BZ#18333]
19685 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19686
19687 2015-04-27 Florian Weimer <fweimer@redhat.com>
19688
19689 [BZ#18333]
19690 * time/tzset.c (parse_tzname): Return error on memory allocation
19691 failure.
19692 * test-skeleton.c (struct temp_name_list): Change type of name
19693 member to non-const.
19694 (add_temp_file): Create a copy of the file name.
19695 (delete_temp_files): Deallocate memory.
19696 (create_temp_file): Add comment.
19697
19698 2015-04-24 Florian Weimer <fweimer@redhat.com>
19699
19700 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19701 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19702
19703 2015-04-24 Roland McGrath <roland@hack.frob.com>
19704
19705 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19706 * sysdeps/arm/configure: Regenerated.
19707
19708 2015-04-24 Florian Weimer <fweimer@redhat.com>
19709
19710 [BZ #17715]
19711 * time/tzfile.c (__tzfile_read): Check for large values of
19712 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
19713 * time/tzset.c (__tzstring_len): New function, based on the old
19714 __tzstring function.
19715 (__tzstring): Call __tzstring_len.
19716 (parse_tzname): New helper function extracted from
19717 __tzset_parse_tz. Call __tzstring_len, without making a copy of
19718 the input string.
19719 (parse_offset): New helper function extracted from
19720 __tzset_parse_tz. Replace switch with fallthrough with
19721 initialization before sscanf.
19722 (parse_rule): Likewise.
19723 (__tzset_parse_tz): Rewrite using the new helper functions. Use
19724 new-style function definition.
19725 * timezone/Makefile (tests): Add tst-tzset.
19726 (tst-tzset.out): Dependencies on time zone files.
19727 (tst-tzset-ENV): Set TZDIR.
19728 (testdata/XT%): Copy crafted time zone files.
19729 * timezone/README: Mention crafted time zone files.
19730 * timezone/testdata/XT1, timezone/testdata/XT2,
19731 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19732 files.
19733 * timezone/tst-tzset.c: New test.
19734
19735 2015-04-24 Florian Weimer <fweimer@redhat.com>
19736
19737 * Makeconfig (+gccwarn): Remove -Winline.
19738
19739 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19740
19741 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19742
19743 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19744
19745 * NEWS: Mention sysconf() cache information support for s390.
19746 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19747
19748 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
19749
19750 * math/k_casinh.c (__kernel_casinh): Use __copysign.
19751 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19752 (__nearbyint): Likewise.
19753 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19754 (copysignl): Likewise.
19755
19756 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
19757
19758 [BZ #18287]
19759 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19760 based on padding. (CVE-2015-1781)
19761
19762 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19763
19764 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19765 libc-vdso.h.
19766 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19767 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19768 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19769 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19770 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19771 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19772 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19773 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19774 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19775 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19776 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19777 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19778 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19779 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19780 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19781 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19782 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19783 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19784 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19785 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19786 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19787 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19788 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19789
19790 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
19791
19792 * stdlib/setenv.c (__add_to_environ):
19793 Dump core quickly if setenv (..., NULL, ...) is called.
19794 This time, do it the right way, and pacify GCC with a pragma.
19795
19796 2015-04-17 Roland McGrath <roland@hack.frob.com>
19797
19798 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19799 IMAP->l_prev cannot be null, and #if out the code for the contrary
19800 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19801 believe that NS (&_dl_ns[NSID]) could point outside the array.
19802
19803 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19804 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19805 before using NSID as an index.
19806
19807 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
19808
19809 [BZ #17825]
19810 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19811 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19812 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19813
19814 2015-04-17 Roland McGrath <roland@hack.frob.com>
19815
19816 Add preliminary port to Google Native Client on ARM.
19817 * abi-tags (.*-.*-nacl.*): New entry.
19818 * sysdeps/arm/nacl: New directory.
19819 * sysdeps/nacl: New directory.
19820
19821 2015-04-16 David S. Miller <davem@davemloft.net>
19822
19823 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19824 lowlevellock-futex.h
19825
19826 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
19827
19828 * sysdeps/tile/configure.ac: New file.
19829 * sysdeps/tile/configure: Regenerated.
19830
19831 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19832
19833 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
19834 conditionals for weak_alias and libc_hidden_weak.
19835 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19836 libc_hidden_weak and weak_alias.
19837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19838 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19839 and weak_alias for static one.
19840
19841 2015-04-15 David S. Miller <davem@davemloft.net>
19842
19843 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19844
19845 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19846
19847 [BZ #18206]
19848 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19849 Use signed comparision instead of substraction to avoid
19850 overflow bug.
19851 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19852 Take the sign of ret.
19853 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19854 Do not expect precise return values. Only the sign matters.
19855 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19856 * wcsmbs/test-wcsncmp.c: New File.
19857 * string/test-strncmp.c: Add wcsncmp support.
19858
19859 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19860
19861 [BZ #6792]
19862 * math/w_log1p.c: New file.
19863 * math/w_log1pf.c: Likewise.
19864 * math/w_log1pl.c: Likewise.
19865 * math/Makefile (libm-calls): Add w_log1p.
19866 * math/s_log1pl.c (log1pl): Remove weak_alias.
19867 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19868 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19869 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19870 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19871 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19872 [NO_LONG_DOUBLE] (log1pl): Likewise.
19873 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19874 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19875 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19876 (log1p): Remove long_double_symbol.
19877 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19878 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19879 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19880 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19881 remove weak_alias for corresponding log1p function.
19882 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19883 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19884 * sysdeps/ia64/fpu/w_log1p.c: New file.
19885 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19886 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19887 * math/libm-test.inc (log1p_test_data): Add errno expectations.
19888
19889 2015-04-10 Joseph Myers <joseph@codesourcery.com>
19890
19891 [BZ #18247]
19892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19893 decimal exponent by 1.
19894 * stdlib/tst-strtod-round-data: Add more tests.
19895 * stdlib/tst-strtod-round.c (tests): Regenerated.
19896
19897 2015-04-09 Joseph Myers <joseph@codesourcery.com>
19898
19899 * math/auto-libm-test-in: Add more tests of clog and clog10.
19900 * math/auto-libm-test-out: Regenerated.
19901 * sysdeps/i386/fpu/libm-test-ulps: Update.
19902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19903
19904 2015-04-09 Roland McGrath <roland@hack.frob.com>
19905
19906 * Makeconfig (module-cppflags): Exclude all .v.i files.
19907 (skip-module-cppflags): Variable removed.
19908
19909 * configure.ac (libc_config_ok): Initialize before reading
19910 preconfigure scripts, not after.
19911 * configure: Regenerated.
19912
19913 * test-skeleton.c (TIMEOUT): Move #define to top level.
19914 (main): Grok environment variable TEST_DIRECT. If set, print
19915 test expectation details into that file and then behave as if
19916 given --direct.
19917
19918 2015-04-09 Florian Weimer <fweimer@redhat.com>
19919
19920 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19921 warning on 32-bit.
19922
19923 2015-04-08 David S. Miller <davem@davemloft.net>
19924
19925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19926
19927 2015-04-08 Joseph Myers <joseph@codesourcery.com>
19928
19929 * math/auto-libm-test-in: Add more tests of atanh.
19930 * math/auto-libm-test-out: Regenerated.
19931 * sysdeps/i386/fpu/libm-test-ulps: Update.
19932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19933
19934 * math/auto-libm-test-in: Add more tests of atan.
19935 * math/auto-libm-test-out: Regenerated.
19936 * sysdeps/i386/fpu/libm-test-ulps: Update.
19937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19938
19939 2015-04-08 Florian Weimer <fweimer@redhat.com>
19940
19941 * elf/pldd.c (main): Rewrite to use struct
19942 scratch_buffer instead of extend_alloca.
19943 * elf/pldd-xx.c (find_maps): Likewise.
19944 * grp/initgroups.c: Include <scratch_buffer.h> instead of
19945 <alloca.h>.
19946 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19947 scratch_buffer instead of extend_alloca.
19948 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19949 grp/compat-initgroups.c.
19950 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19951 Rewrite to use struct scratch_buffer instead of extend_alloca.
19952 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19953 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19954
19955 2015-04-08 Joseph Myers <joseph@codesourcery.com>
19956
19957 * math/auto-libm-test-in: Add more tests of cbrt.
19958 * math/auto-libm-test-out: Regenerated.
19959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19960
19961 * math/auto-libm-test-in: Add more tests of cabs.
19962 * math/auto-libm-test-out: Regenerated.
19963 * sysdeps/i386/fpu/libm-test-ulps: Update.
19964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19965
19966 [BZ #18210]
19967 [BZ #18211]
19968 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19969 (__ieee754_atan2): Set FE_TONEAREST mode for internal
19970 computations.
19971 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19972 clog10.
19973 * math/auto-libm-test-out: Regenerated.
19974 * sysdeps/i386/fpu/libm-test-ulps: Update.
19975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19976
19977 [BZ #18197]
19978 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19979 (atan): Set FE_TONEAREST mode for internal computations.
19980 * math/auto-libm-test-in: Add more tests of atan.
19981 * math/auto-libm-test-out: Regenerated.
19982
19983 2015-04-07 James Cowgill <james410@cowgill.org.uk>
19984
19985 [BZ #17930]
19986 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19987
19988 2015-04-07 Florian Weimer <fweimer@redhat.com>
19989
19990 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19991
19992 2015-04-07 Florian Weimer <fweimer@redhat.com>
19993
19994 * include/scratch_buffer.h: New file.
19995 * malloc/scratch_buffer_grow.c: Likewise.
19996 * malloc/scratch_buffer_grow_preserve.c: Likewise.
19997 * malloc/scratch_buffer_set_array_size.c: Likewise.
19998 * malloc/tst-scratch_buffer.c: Likewise.
19999 * malloc/Makefile (routines): Add scratch_buffer_grow.
20000 (tests): Add test case.
20001 * malloc/Versions (GLIBC_PRIVATE): Export
20002 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20003 __libc_scratch_buffer_set_array_size.
20004
20005 2015-04-06 Richard Henderson <rth@redhat.com>
20006
20007 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20008 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20009
20010 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20011 unsigned int before printing.
20012
20013 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20014
20015 [BZ #17596]
20016 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20017 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20018
20019 2015-04-02 Florian Weimer <fweimer@redhat.com>
20020
20021 * include/libc-internal.h (libc_max_align_t): Define.
20022
20023 2015-04-02 Andreas Schwab <schwab@suse.de>
20024
20025 [BZ #16850]
20026 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20027
20028 2015-04-02 Mel Gorman <mgorman@suse.de>
20029
20030 [BZ #17195]
20031 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20032 as well as the main arena.
20033
20034 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
20035
20036 [BZ #18185]
20037 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20038 sharing L2 cache to 2 for Silvermont/Knights Landing.
20039
20040 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
20041
20042 [BZ #17711]
20043 * config.make.in (have-protected-data): New.
20044 * configure.ac: Check linker support for protected data symbol.
20045 * configure: Regenerated.
20046 * elf/Makefile (modules-names): Add tst-protected1moda and
20047 tst-protected1modb if $(have-protected-data) is yes.
20048 (tests): Add tst-protected1a and tst-protected1b if
20049 $(have-protected-data) is yes.
20050 ($(objpfx)tst-protected1a): New.
20051 ($(objpfx)tst-protected1b): Likewise.
20052 (tst-protected1modb.so-no-z-defs): Likewise.
20053 * elf/tst-protected1a.c: New file.
20054 * elf/tst-protected1b.c: Likewise.
20055 * elf/tst-protected1mod.h: Likewise.
20056 * elf/tst-protected1moda.c: Likewise.
20057 * elf/tst-protected1modb.c: Likewise.
20058
20059 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
20060
20061 [BZ #17711]
20062 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20063 indicates it is called from do_lookup_x on relocation against
20064 protected data, skip the data definion in the executable from
20065 copy reloc.
20066 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20067 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20068 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20069 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20070 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20071 otherwise to 0.
20072 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20073 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20074 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20075 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20076 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20077 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20078
20079 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
20080
20081 * sysdeps/nptl/pthread.h: Remove duplicate definition of
20082 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20083
20084 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
20085
20086 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20087 THREAD_SETMEM_NC.
20088 * sysdeps/x86_64/nptl/tls.h: Ditto.
20089
20090 2015-03-27 Roland McGrath <roland@hack.frob.com>
20091
20092 * dlfcn/tststatic.c (main): Converted to ...
20093 (do_test): ... this.
20094 (TEST_FUNCTION): New macro.
20095 Include test-skeleton.c.
20096
20097 2015-03-26 Alan Modra <amodra@gmail.com>
20098
20099 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20100 Don't segfault if ifunc resolver returns a NULL. Do set plt to
20101 zero for undefined weak.
20102 (elf_machine_plt_conflict): Similarly.
20103
20104 2015-03-25 Joseph Myers <joseph@codesourcery.com>
20105
20106 * math/auto-libm-test-in: Add more tests of acosh, asinh and
20107 atanh.
20108 * math/auto-libm-test-out: Regenerated.
20109 * sysdeps/i386/fpu/libm-test-ulps: Update.
20110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20111
20112 * math/auto-libm-test-in: Add another test of asin.
20113 * math/auto-libm-test-out: Regenerated.
20114 * sysdeps/i386/fpu/libm-test-ulps: Update.
20115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20116
20117 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20118 Remove macro.
20119 (LLL_EBX_REG): Likewise.
20120 (LLL_ENTER_KERNEL): Likewise.
20121
20122 * math/auto-libm-test-in: Add more tests of asin.
20123 * math/auto-libm-test-out: Regenerated.
20124 * sysdeps/i386/fpu/libm-test-ulps: Update.
20125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20126
20127 [BZ #18138]
20128 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20129 libc_do_syscall_args): New structure.
20130 (INTERNAL_SYSCALL_MAIN_0): New macro.
20131 (INTERNAL_SYSCALL_MAIN_1): Likewise.
20132 (INTERNAL_SYSCALL_MAIN_2): Likewise.
20133 (INTERNAL_SYSCALL_MAIN_3): Likewise.
20134 (INTERNAL_SYSCALL_MAIN_4): Likewise.
20135 (INTERNAL_SYSCALL_MAIN_5): Likewise.
20136 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
20137 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20138 Replace conditional definitions by conditional definitions of ....
20139 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
20140 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20141 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20142 (libpthread-sysdep_routines): Add libc-do-syscall.
20143 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20144 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20145 to __NR_futex not 240.
20146
20147 2015-03-25 Alan Modra <amodra@gmail.com>
20148
20149 * NEWS: Advertise TLS optimization.
20150 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20151 (DT_PPC_NUM): Increment.
20152 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20153 (CHECK_STATIC_TLS): Use here.
20154 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20155 TLS descriptors.
20156 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20157 * sysdeps/powerpc/dl-tls.c: New file.
20158 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20159 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20160 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20161 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20165
20166 2015-03-25 Alan Modra <amodra@gmail.com>
20167
20168 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20169 for overlapping .opd entries" to "support...".
20170 * sysdeps/powerpc/powerpc64/configure: Regenerate
20171
20172 2015-03-25 Joseph Myers <joseph@codesourcery.com>
20173
20174 * math/auto-libm-test-in: Add more tests of acos.
20175 * math/auto-libm-test-out: Regenerated.
20176 * sysdeps/i386/fpu/libm-test-ulps: Update.
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20178
20179 * math/auto-libm-test-in: Add more tests of expm1.
20180 * math/auto-libm-test-out: Regenerated.
20181 * sysdeps/i386/fpu/libm-test-ulps: Update.
20182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20183
20184 2015-03-24 Joseph Myers <joseph@codesourcery.com>
20185
20186 * math/auto-libm-test-in: Add more tests of cosh and sinh.
20187 * math/auto-libm-test-out: Regenerated.
20188 * sysdeps/i386/fpu/libm-test-ulps: Update.
20189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20190
20191 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20193
20194 * math/auto-libm-test-in: Add more tests of log2.
20195 * math/auto-libm-test-out: Regenerated.
20196 * sysdeps/i386/fpu/libm-test-ulps: Update.
20197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20198
20199 2015-03-23 Roland McGrath <roland@hack.frob.com>
20200
20201 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20202 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
20203 _IO_IS_APPENDING bit in READ_WRITE instead.
20204
20205 2015-03-23 Florian Weimer <fweimer@redhat.com>
20206
20207 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20208 (__determine_cpumask_size): Replace extend_alloca with a
20209 variable-length array. Do not treat res == 0 as an error.
20210
20211 2015-03-23 Florian Weimer <fweimer@redhat.com>
20212
20213 [BZ #18100]
20214 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20215 and integer overflow.
20216 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20217 (main): Add integer overflow tests.
20218 * manual/pattern.texi (Calling Wordexp): Document additional use
20219 for WRDE_SYNTAX.
20220
20221 2015-03-23 Alan Modra <amodra@gmail.com>
20222
20223 * config.h.in: Remove HAVE_ASM_PPC_REL16.
20224 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20225 and false branch of conditional.
20226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20227 Likewise.
20228
20229 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
20230
20231 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20232 libc-modules.h
20233 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20234 unused declaration of _hurd_intr_rpc_msg_in_trap.
20235 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20236 defined instead of whether it is non-zero.
20237 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20238 input constraint instead of both input and output constraint. Use ecx
20239 clobber instead of %ecx.
20240 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20241 mutex_unlock): Use a statement expression instead of an expression list.
20242 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20243 type to vm_size_t instead of vm_address_t.
20244 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20245 defined instead of whether it is non-zero.
20246 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20247 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20248 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20249 comparisons with mapaddr.
20250 * nscd/nscd-client.h: Include <time.h>.
20251 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20252 9th parameter to __vm_region instead of int.
20253 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20254 * scripts/check-local-headers.sh (exclude): Add device/,
20255 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20256 cthreads.h.
20257
20258 2015-03-19 Roland McGrath <roland@hack.frob.com>
20259
20260 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20261 to account for alignment padding.
20262 * sysdeps/arm/memmove.S: Likewise.
20263
20264 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
20265
20266 * sysdeps/unix/sysv/linux/generic/README: New file.
20267
20268 2015-03-18 Joseph Myers <joseph@codesourcery.com>
20269
20270 [BZ #18138]
20271 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20272 (futex_abstimed_wait)
20273 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20274 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20275 of lll_futex_timed_wait.
20276
20277 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
20278
20279 [BZ #17542]
20280 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20281
20282 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
20283
20284 [BZ #17090]
20285 [BZ #17620]
20286 [BZ #17621]
20287 [BZ #17628]
20288 * NEWS: Update.
20289 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20290 entries with Static TLS too. Skip entries past the end of the
20291 allocated DTV, from Alan Modra.
20292 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
20293 Static TLS DTV entry set up from...
20294 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20295 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20296 * nptl/allocatestack.c (init_one_static_tls): ... and here...
20297 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20298 for Static TLS.
20299 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
20300 that the slot we find is associated with the given map before
20301 using its generation count.
20302 * nptl_db/db_info.c: Include ldsodefs.h.
20303 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20304 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20305 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20306 (link_map::l_tls_offset): New struct field.
20307 (dtv_t::counter): Likewise.
20308 (rtld_global): New struct.
20309 (_rtld_global): New rtld variable.
20310 (dl_tls_dtv_slotinfo_list): New rtld global field.
20311 (dtv_slotinfo_list): New struct.
20312 (dtv_slotinfo): Likewise.
20313 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20314 (td_lookup): Rename to...
20315 (td_mod_lookup): ... this. Use new mod parameter instead of
20316 LIBPTHREAD_SO.
20317 * nptl_db/td_thr_tlsbase.c: Include link.h.
20318 (dtv_slotinfo_list, dtv_slotinfo): New functions.
20319 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
20320 addresses even if the DTV is out of date or missing them.
20321 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20322 index zero-length arrays.
20323 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20324 (td_lookup): Make it a macro implemented in terms of...
20325 (td_mod_lookup): ... this declaration.
20326 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20327 (DB_MAIN_VARIABLE): Likewise.
20328
20329 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
20330
20331 [BZ #18134]
20332 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20333
20334 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
20335
20336 * stdlib/setenv.c (__add_to_environ): Revert previous change.
20337
20338 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
20339
20340 [BZ #18128]
20341 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20342 (atomic_add, atomic_increment_and_test)
20343 (atomic_decrement_and_test): Fix 64-bit arithmetic.
20344
20345 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
20346
20347 * stdlib/setenv.c (__add_to_environ):
20348 Dump core quickly if setenv (..., NULL, ...) is called.
20349
20350 2015-03-13 Roland McGrath <roland@hack.frob.com>
20351
20352 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20353 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20354 all the necessary asm magic in one place.
20355 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20356 using those.
20357
20358 2015-03-13 Carlos O'Donell <carlos@redhat.com>
20359
20360 [BZ #14906]
20361 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20362 traced file mtime. Use consistent log message.
20363 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20364 (register_traced_file): Call install_watches. Always set mtime.
20365 (invalidate_cache): Iterate over all trace files. Call install_watches.
20366 (inotify_check_files): Don't inline. Handle watching parent
20367 directories and configuration file movement in and out.
20368 (handle_inotify_events): New function.
20369 (main_loop_poll): Call handle_inotify_events.
20370 (main_loop_epoll): Likewise.
20371 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20372 (struct traced_file): Use array of inotify fds. Add parent directory,
20373 and basename.
20374 (struct database_dyn): Remove unused file_mtime.
20375 (init_traced_file): New inline function.
20376 (define_traced_file): New macro.
20377 * nss/nss_db/db-init.c: Use define_traced_file.
20378 (_nss_db_init): Use init_traced_file.
20379 * nss/nss_files/files-init.c: Use define_traced_file.
20380 (_nss_files_init): Use init_traced_file.
20381
20382 2015-03-12 Joseph Myers <joseph@codesourcery.com>
20383
20384 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20385 [_LIBC]: Do not include <stdlib.h>.
20386 [!_LIBC] (abort): Remove declaration.
20387 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20388 _FP_STATIC_ASSERT instead of conditionally calling abort.
20389 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20390 (_FP_EXTEND_CNAN): Likewise.
20391 (FP_TRUNC): Likewise.
20392 (__FP_CLZ): Likewise.
20393 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20394
20395 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
20396
20397 * manual/string.texi (XPG basename): Fix prototype.
20398
20399 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20400
20401 [BZ #18080]
20402 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20403 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20404 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20405 (__setcontext): Likewise.
20406 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20407 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20408 Call rt_sigprocmask syscall one time to set new signal mask
20409 and retrieve the current signal mask instead of two calls.
20410 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20411 (__swapcontext): Likewise.
20412 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20413 * stdlib/tst-setcontext2.c: New file.
20414
20415 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20416
20417 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20418
20419 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
20420
20421 [BZ #18093]
20422 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20423 the wrong size.
20424
20425 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20426
20427 [BZ #18043]
20428 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20429
20430 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20431
20432 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20433 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20434 Remove define.
20435 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20436 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20437 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20438 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20439 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20440 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20441 define.
20442 * nptl_db/td_symbol_list.c (td_lookup): Remove
20443 HAVE_ASM_GLOBAL_DOT_NAME code.
20444 * sysdeps/powerpc/powerpc64/configure.ac: Remove
20445 HAVE_ASM_GLOBAL_DOT_NAME check.
20446 * sysdeps/powerpc/powerpc64/configure: Regenerate.
20447 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20448 (DOT_LABEL): Remove define.
20449 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20450 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20451 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20452 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20453 (__TLS_GET_ADDR): Likewise.
20454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20455 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20456
20457 2015-03-11 Carlos O'Donell <carlos@redhat.com>
20458
20459 [BZ #18111]
20460 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20461 (_FPU_SETCW): Initialize cw from fpsr before storing.
20462 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20463 (fesetexceptflag): Rewrite using fpu_control.h.
20464 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20465
20466 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
20467
20468 [BZ #18110]
20469 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20470 asms.
20471 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20472
20473 2015-03-11 Joseph Myers <joseph@codesourcery.com>
20474
20475 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20476 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20477 abort.
20478 (_FP_FMA): Likewise.
20479 (_FP_DIV): Likewise.
20480
20481 2015-03-10 Roland McGrath <roland@hack.frob.com>
20482
20483 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20484 with 0 in that case.
20485 * Makefile (summarize-tests): New canned sequence, factored out of
20486 commands for targets tests and xtests. Display summary lines that
20487 don't start with PASS: or XFAIL: rather than ones that do start with
20488 ERROR: or FAIL:. Make the commands fail if any summary lines fail
20489 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20490 do start with ERROR: or FAIL:.
20491 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20492 (except for [$(build-shared) = yes]).
20493 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20494 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20495 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20496 * nptl/Makefile: Revert 2015-03-04 changes.
20497 [$(CXX) empty] (tests-unsupported): New variable.
20498 * debug/Makefile: Likewise.
20499
20500 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20501 gnulib file. Replace __attribute with __attribute__ throughout.
20502
20503 2015-03-10 Carlos O'Donell <carlos@redhat.com>
20504
20505 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20506
20507 2015-03-10 Joseph Myers <joseph@codesourcery.com>
20508
20509 [BZ #18104]
20510 * math/auto-libm-test-in: Add another test of pow.
20511 * math/auto-libm-test-out: Regenerated.
20512
20513 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20514
20515 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20516 $(config-cflags-nofma).
20517
20518 2015-03-10 Joseph Myers <joseph@codesourcery.com>
20519
20520 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20521 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20522 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20523 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20524 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20525 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20526 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20527 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20528 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20529 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20530 Add comment on closing #endif.
20531
20532 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20533
20534 * posix/wordexp.c (CHAR_IN_SET): New macro.
20535 (parse_param): Use it.
20536
20537 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20538
20539 * sysdeps/powerpc/fpu/libm-test-ulps: update.
20540
20541 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20542
20543 [BZ #18043]
20544 * posix/wordexp.c (parse_param): Fix buffer overflow.
20545 * posix/wordexp-test.c (test_case): Add test case.
20546
20547 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20548
20549 [BZ #18042]
20550 * posix/wordexp.c (parse_backtick): Fix off-by-one.
20551 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20552
20553 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20554
20555 [BZ #18043]
20556 * posix/wordexp-test.c (test_case): Add test for BZ #18043
20557 (do_bz18043): Delete.
20558 (at_page_end): New.
20559 (testit): Refactor to have words at the edge of unreadable page.
20560
20561 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20562
20563 [BZ #16734]
20564 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20565 Cleanup read-only streams as well.
20566 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20567
20568 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20569
20570 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20571 <bits/libc-lockP.h>
20572
20573 2015-03-07 Joseph Myers <joseph@codesourcery.com>
20574
20575 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
20576 on [__KERNEL__].
20577 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20578 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20579 * soft-fp/op-common.h (_FP_DECL): Likewise.
20580
20581 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
20582
20583 * elf/ifuncdep2.c (global): Replace
20584 __attribute__((visibility("protected"))) with
20585 asm (".protected global").
20586 * elf/ifuncmod1.c (global): Likewise.
20587 * elf/ifuncmod5.c (global): Likewise.
20588
20589 2015-03-06 Joseph Myers <joseph@codesourcery.com>
20590
20591 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20592 <asm/sfp-machine.h> instead of <sfp-machine.h>.
20593
20594 2015-03-06 Roland McGrath <roland@hack.frob.com>
20595
20596 * manual/install.texi (Configuring and compiling):
20597 Document test-wrapper-env-only.
20598 * INSTALL: Regenerated.
20599
20600 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20601
20602 [BZ #18043]
20603 * posix/wordexp.c (parse_param): Fix buffer overflow.
20604 * posix/wordexp-test.c (do_bz18043): Add test case.
20605
20606 2015-03-06 Vincent Bernat <vincent@bernat.im>
20607
20608 * time/tst-strptime2.c (do_test): Ensure failing tests are
20609 reported correctly.
20610 * time/tst-strptime3.c (do_test): Likewise.
20611
20612 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
20613
20614 Fix aio_error thread-safety.
20615 * sysdeps/pthread/aio_error.c: New file
20616 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20617 synchronization.
20618
20619 2015-03-06 Florian Weimer <fweimer@redhat.com>
20620
20621 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20622 (group_number, vfprintf): Use it.
20623 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20624 (JUMP, REF): Use it.
20625 (WORK_BUFFER_SIZE): New enum constant.
20626 (process_arg, vfprintf): Use it.
20627
20628 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
20629
20630 * manual/errno.texi (Error Messages): Complete example function
20631 by adding missing #define.
20632 (program_invocation_name): Add statement indicating GNU
20633 extension and reference which header file declares the variable.
20634 (program_invocation_short_name): Likewise.
20635
20636 2015-03-06 Mike Frysinger <vapier@gentoo.org>
20637
20638 * manual/errno.texi (Error Messages): Delete strerror ISO C89
20639 compatibility note.
20640
20641 2015-03-05 Roland McGrath <roland@hack.frob.com>
20642
20643 * Makeconfig (test-wrapper-env-only): New variable.
20644 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20645 then use that with $(test-wrapper-env-only) rather than using
20646 $(test-wrapper-env) $(run-program-env) $($*-ENV).
20647
20648 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
20649
20650 [BZ #18082]
20651 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20652 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20653 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20654 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20655 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20656 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20657 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20658 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20659 Likewise.
20660 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20661 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20662 Likewise.
20663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20664 Likewise.
20665 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20666 Likewise.
20667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20668 Likewise.
20669 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20671 Likewise.
20672 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20673 Likewise.
20674 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20675 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20676
20677 2015-03-04 Roland McGrath <roland@hack.frob.com>
20678
20679 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20680 (ETH_ALEN): New macro.
20681 (struct ether_addr): Use it for length of ether_addr_octet.
20682
20683 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20684 (setdb): Don't call __nss_configure_lookup for "rpc".
20685 (do_test): Don't call test_rpc.
20686 (output_rpcent, test_rpc): Functions moved ...
20687 * sunrpc/test-rpcent.c: ... to this new file.
20688 * sunrpc/Makefile (tests): Add it.
20689
20690 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20691 __xpg_sigpause.
20692 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20693 * nptl/tst-signal6.c: Likewise.
20694 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20695 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20696
20697 * configure.ac (libc_cv_cxx_link_ok): New check.
20698 Reset CXX to empty if it fails to link.
20699 * configure: Regenerated.
20700 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20701 bug-atexit3-lib only if $(CXX) is nonempty.
20702 * nptl/Makefile (tests): Likewise for tst-cancel24.
20703 (tests, tests-static): Likewise for tst-cancel24-static.
20704 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20705 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20706 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20707 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20708
20709 2015-03-04 Andreas Schwab <schwab@suse.de>
20710
20711 [BZ #17631]
20712 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20713 for non-GCC compilers.
20714 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20715 Likewise.
20716
20717 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20718
20719 [BZ #17776]
20720 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20721 integer before bitwise and assembly operations.
20722 (feclearexcept): Likewise.
20723 * math/test-fenvinline.c: New file.
20724 * math/Makefile: Add test-fenvinline test.
20725
20726 2015-03-03 Alan Modra <amodra@gmail.com>
20727
20728 [BZ #16512]
20729 * scripts/localplt.awk: Strip off symbol version.
20730 * NEWS: Mention bug fix.
20731
20732 2015-03-02 Roland McGrath <roland@hack.frob.com>
20733
20734 * sysdeps/pthread/timer_routines.c
20735 (timer_free_list, thread_free_list, thread_active_list): Make static.
20736
20737 2015-03-02 Joseph Myers <joseph@codesourcery.com>
20738
20739 [BZ #17779]
20740 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20741 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20742 Undefine.
20743 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20744 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20745 Likewise.
20746 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20747 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20748 Likewise.
20749
20750 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20751
20752 [BZ #18036]
20753 * posix/fnmatch_loop.c (END): Detect invalid pattern.
20754 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20755
20756 2015-03-02 Andreas Schwab <schwab@suse.de>
20757
20758 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20759 variable name.
20760
20761 2015-03-02 Florian Weimer <fweimer@redhat.com>
20762
20763 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20764 Return error status.
20765
20766 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
20767
20768 [BZ #15969]
20769 * locale/findlocale.c (_nl_find_locale): Introduce const
20770 version of loc_name and drop unsafe type casts.
20771
20772 2015-02-27 Roland McGrath <roland@hack.frob.com>
20773
20774 * dlfcn/tststatic2.c (main): Converted to ...
20775 (do_test): ... this.
20776 (TEST_FUNCTION): New macro.
20777 Include test-skeleton.c.
20778
20779 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
20780
20781 [BZ #17711]
20782 * elf/Makefile (tests): Add vismain only if PIE is enabled.
20783 (tests-pie): Add vismain.
20784 (CFLAGS-vismain.c): New.
20785 * elf/vismain.c: Add comments for PIE requirement.
20786
20787 2015-02-27 Joseph Myers <joseph@codesourcery.com>
20788
20789 [BZ #18046]
20790 [BZ #18047]
20791 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20792 0x1p-56L as threshold for just returning the argument.
20793 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20794 0x1p-32L as threshold for just returning the argument.
20795 * math/auto-libm-test-in: Add more tests of atanh.
20796 * math/auto-libm-test-out: Regenerated.
20797 * sysdeps/i386/fpu/libm-test-ulps: Update.
20798 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20799
20800 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
20801
20802 * string/bcopy.c (bcopy): Call memmove for performance.
20803
20804 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
20805
20806 * string/bzero.c (__bzero): Call memset for performance.
20807
20808 2015-02-27 John David Anglin <dave.anglin@bell.net>
20809
20810 [BZ #18068]
20811 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20812 to 00100000.
20813
20814 2015-02-27 Joseph Myers <joseph@codesourcery.com>
20815
20816 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20817
20818 2015-02-26 Joseph Myers <joseph@codesourcery.com>
20819
20820 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20821 (__kernel_standard): Use CSTR macro when setting exc.name.
20822 * sysdeps/ieee754/Makefile [$(subdir) = math]
20823 (CFLAGS-k_standard.c): Remove variable.
20824
20825 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20826 setting p and q from "else if" to "else".
20827 (qzero): Likewise.
20828 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20829 (qone): Likewise.
20830 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20831 (qzerof): Likewise.
20832 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20833 (qonef): Likewise.
20834 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20835 (qzero): Likewise.
20836 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20837 (qone): Likewise.
20838
20839 [BZ #18038]
20840 [BZ #18039]
20841 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20842 return pi/2 for arguments below 0x1p-113L.
20843 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20844 return pi/2 for arguments below 0x1p-106L.
20845 * math/auto-libm-test-in: Add more tests of acos.
20846 * math/auto-libm-test-out: Regenerated.
20847
20848 [BZ #16351]
20849 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20850 (MO): New macro.
20851 (__ieee754_asin): Force underflow exception for results with small
20852 absolute value.
20853 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20854 (MO): New macro.
20855 (__ieee754_asinf): Force underflow exception for results with
20856 small absolute value.
20857 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20858 (__ieee754_asin): Force underflow exception for results with small
20859 absolute value.
20860 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20861 (__ieee754_asinf): Force underflow exception for results with
20862 small absolute value.
20863 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20864 (__ieee754_asinl): Force underflow exception for results with
20865 small absolute value.
20866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20867 (__ieee754_asinl): Force underflow exception for results with
20868 small absolute value.
20869 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20870 (__ieee754_asinl): Force underflow exception for results with
20871 small absolute value.
20872 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20873 Include <math.h>.
20874 * math/auto-libm-test-in: Do not mark underflow exceptions as
20875 possibly missing for bug 16351.
20876 * math/auto-libm-test-out: Regenerated.
20877
20878 [BZ #18030]
20879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20880 of power of 2 down when low part has opposite sign.
20881 * math/libm-test.inc (logb_test_data): Add more tests.
20882
20883 2015-02-26 Andreas Schwab <schwab@suse.de>
20884
20885 [BZ #18032]
20886 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20887 over collating symbol inside a bracket expression. Minor cleanup.
20888 * posix/tst-fnmatch3.c (do_test): Add test case.
20889
20890 2015-02-26 Joseph Myers <joseph@codesourcery.com>
20891
20892 [BZ #18029]
20893 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20894 Adjust exponent of power of 2 down when low part has opposite
20895 sign.
20896 * math/libm-test.inc (ilogb_test_data): Add more tests.
20897
20898 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
20899
20900 [BZ #15969]
20901 * locale/findlocale.c (_nl_find_locale): Fix constness error in
20902 the previous change.
20903
20904 [BZ #15969]
20905 * locale/findlocale.c (_nl_find_locale): Retry archive search
20906 after alias expansion.
20907
20908 2015-02-25 Roland McGrath <roland@hack.frob.com>
20909
20910 * iconv/tst-iconv3.c (main): Converted to ...
20911 (do_test): ... this.
20912 (TEST_FUNCTION): New macro.
20913 Include test-skeleton.c.
20914
20915 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20916 (convert): Make function static.
20917 (test_unalign): Likewise. Add const to argument pointee types.
20918 (main): Replace with static function do_test.
20919 Print "Succeeded." only if RET is zero.
20920 (TEST_FUNCTION): New macro.
20921 Include test-skeleton.c.
20922
20923 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20924 returns a null pointer.
20925
20926 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20927
20928 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20929 to __memcpy_ppc only for static builds.
20930
20931 2015-02-25 Joseph Myers <joseph@codesourcery.com>
20932
20933 [BZ #18020]
20934 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20935 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20936 * math/auto-libm-test-in: Add more tests of asinh.
20937 * math/auto-libm-test-out: Regenerated.
20938 * sysdeps/i386/fpu/libm-test-ulps: Update.
20939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20940
20941 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
20942
20943 [BZ #15850]
20944 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20945 and ip6_mtuinfo definitions here.
20946 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20947 in this define too. Update comment.
20948
20949 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
20950
20951 * elf/sprof.c (load_shobj): Tweak error message to match others.
20952
20953 2015-02-24 Kevin Easton <kevin@guarana.org>
20954
20955 [BZ #16145] (partial fix)
20956 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20957 to reduce lock contention.
20958
20959 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
20960
20961 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20962 (struct timex): Update time comment.
20963 (ADJ_SETOFFSET): Define.
20964
20965 2015-02-24 Joseph Myers <joseph@codesourcery.com>
20966
20967 [BZ #18019]
20968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20969 2**56 not 2**28 as threshold for log (2x) formula.
20970 * math/auto-libm-test-in: Add more tests of acosh.
20971 * math/auto-libm-test-out: Regenerated.
20972 * sysdeps/i386/fpu/libm-test-ulps: Update.
20973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20974
20975 2015-02-24 Mike Frysinger <vapier@gentoo.org>
20976
20977 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20978 parenthesis around the buf assignment.
20979 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20980
20981 2015-02-24 Joseph Myers <joseph@codesourcery.com>
20982
20983 [BZ #16783]
20984 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20985 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20986 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20987 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20988 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20989 * math/libm-test.inc (scalb_test_data): Add more tests.
20990
20991 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20992
20993 [BZ #17916]
20994 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20995 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20996
20997 2015-02-24 Eric Rannaud <e@nanocritical.com>
20998
20999 [BZ #17523]
21000 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21001 * io/bits/fcntl2.h (open): Use it.
21002 (openat): Likewise.
21003 * io/open.c (__libc_open): Likewise.
21004 * io/open64.c (__libc_open64): Likewise.
21005 * io/open64_2.c (__open64_2): Likewise.
21006 * io/open_2.c (__open_2): Likewise.
21007 * io/openat.c (__openat): Likewise.
21008 * io/openat64.c (__openat64): Likewise.
21009 * io/openat64_2.c (__openat64_2): Likewise.
21010 * io/openat_2.c (__openat_2): Likewise.
21011 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21012 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21013 * sysdeps/posix/open64.c (__libc_open64): Likewise.
21014 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21015 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21016 (__open_nocancel): Likewise.
21017 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21018 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21019 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21020
21021 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21022
21023 [BZ #14841]
21024 * resolv/gethnamaddr.c (getanswer): Skip logging if
21025 RES_USE_DNSSEC is set.
21026 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21027
21028 2015-02-24 Mike Frysinger <vapier@gentoo.org>
21029
21030 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21031
21032 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
21033
21034 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21035 201304L, for Unicode 7.
21036
21037 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
21038
21039 [BZ #17836]
21040 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21041 shared library. Add gmon-start.os otherwise.
21042 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21043 $(objpfx)gmon-start.os if builing shared library.
21044 ($(objpfx)g$(static-start-installed-name)): Likewise.
21045
21046 2015-02-23 Andreas Schwab <schwab@suse.de>
21047
21048 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21049
21050 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21051
21052 [BZ #17269]
21053 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21054 (enlarge_userbuf): Likewise.
21055
21056 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
21057
21058 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21059 * math/atest-exp.c (TIMEOUT): Adjust to 200.
21060 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21061 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21062
21063 2015-02-20 Joseph Myers <joseph@codesourcery.com>
21064
21065 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21066 expression inside statement expression.
21067
21068 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
21069
21070 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21071 <sysdeps/nptl/lowlevellock.h> and remove macros and
21072 functions that are now defined there.
21073 (SYS_futex): Remove.
21074 (lll_compare_and_swap): Remove.
21075 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21076
21077 2015-02-19 Joseph Myers <joseph@codesourcery.com>
21078
21079 [BZ #17999]
21080 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21081 instead of scandirat.
21082 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21083 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21084 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21085 __scandirat.
21086 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21087 (__scandirat): Declare. Use libc_hidden_proto.
21088 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21089 Remove variable.
21090 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21091
21092 2015-02-18 Joseph Myers <joseph@codesourcery.com>
21093
21094 [BZ #15319]
21095 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21096 (MO): New macro.
21097 (__ieee754_atan2): For results with small absolute value, force
21098 underflow exception and remove excess range and precision from
21099 return value.
21100 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21101 (MO): New macro.
21102 (__ieee754_atan2f): For results with small absolute value, force
21103 underflow exception and remove excess range and precision from
21104 return value.
21105 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21106 (MO): New macro.
21107 (__atan): For results with small absolute value, force underflow
21108 exception and remove excess range and precision from return value.
21109 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21110 (MO): New macro.
21111 (__atanf): For results with small absolute value, force underflow
21112 exception and remove excess range and precision from return value.
21113 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21114 <math.h>.
21115 (__ieee754_atan2): Force underflow exception for results with
21116 small absolute value.
21117 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21118 <math_private.h>.
21119 (atan): Force underflow exception for results with small absolute
21120 value.
21121 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21122 (__atanf): Force underflow exception for results with small
21123 absolute value.
21124 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21125 <math.h>.
21126 (__atanl): Force underflow exception for results with small
21127 absolute value.
21128 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21129 (__atanl): Force underflow exception for results with small
21130 absolute value.
21131 * sysdeps/x86/fpu/bits/mathinline.h
21132 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21133 (__ieee754_atan2): Only define inline for long double.
21134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21135 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21136 * math/auto-libm-test-in: Do not mark underflow exceptions as
21137 possibly missing for bug 15319. Add more tests of atan2.
21138 * math/auto-libm-test-out: Regenerated.
21139 * math/libm-test.inc (casin_test_data): Do not mark underflow
21140 exceptions as possibly missing for bug 15319.
21141 (casinh_test_data): Likewise.
21142 * sysdeps/i386/fpu/libm-test-ulps: Update.
21143
21144 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
21145
21146 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21147 * sysdeps/mips/bits/endian.h: Fix comments.
21148
21149 2015-02-18 Joseph Myers <joseph@codesourcery.com>
21150
21151 [BZ #17996]
21152 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21153 (hdestroy_r): Likewise.
21154 (hsearch_r): Likewise.
21155 (__hcreate_r): Declare and use libc_hidden_proto.
21156 (__hdestroy_r): Likewise.
21157 (__hsearch_r): Likewise.
21158 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21159 (hcreate): Call __hcreate_r instead of hcreate_r.
21160 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21161 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21162 as weak alias of __hcreate_r.
21163 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21164 __hdestroy_r.
21165 (hsearch_r): Rename to __hsearch_r and define as weak alias of
21166 __hsearch_r.
21167 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21168 Remove variable.
21169 (test-xfail-XPG4/search.h/linknamespace): Likewise.
21170 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21171 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21172 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21173
21174 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21175
21176 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21177 arena_lock into a single arena_get.
21178
21179 2015-02-17 Carlos O'Donell <carlos@redhat.com>
21180
21181 * dl-reloc.c: Inlucde libc-internal.h.
21182 (_dl_try_allocate_static_tls): Call ALIGN_UP.
21183 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21184 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21185 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21186 (grow_heap): Likewise.
21187 * malloc/malloc.c: Include libc-internal.h.
21188 (do_check_malloc): Call powerof2.
21189 (sysmalloc): Use pagesize. Call ALIGN_UP.
21190 (systrim): Use pagesize.
21191 (mremap_chunk): Use pagesize. Call ALIGN_UP.
21192 (__libc_valloc): Use pagesize.
21193 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21194
21195 2015-02-17 Joseph Myers <joseph@codesourcery.com>
21196
21197 [BZ #17991]
21198 * include/sys/resource.h (__getrlimit64): Declare. Use
21199 libc_hidden_proto.
21200 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21201 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
21202 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21203 getrlimit64.
21204 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21205 __getrlimit64.
21206 [!getrlimit64] (getrlimit64): Define as weak alias of
21207 __getrlimit64. Use libc_hidden_weak.
21208 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21209 using __getrlimit64 not __new_getrlimit64.
21210 (__GI_getrlimit64): Likewise.
21211 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21212 Likewise.
21213 (__GI_getrlimit64): Likewise.
21214 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21216 (getrlimit): Add __getrlimit64 alias.
21217 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21218 Likewise.
21219 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21220 Remove variable.
21221 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21222 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21223
21224 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
21225
21226 * libio/fileops.c: Add missing sys/mman.h
21227 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21228
21229 2015-02-17 Joseph Myers <joseph@codesourcery.com>
21230
21231 * manual/math.texi (Errors in Math Functions): Clarify goals
21232 regarding inexact and underflow exceptions.
21233
21234 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
21235
21236 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21237 * sysdeps/mips/memset.S: Ditto.
21238
21239 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
21240
21241 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21242
21243 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21244
21245 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21246 (__v1longjmp): Remove versioned symbol.
21247 (__v1siglongjmp): Remove alias and versioned symbol.
21248 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21249 (__v2siglongjmp): Likewise.
21250
21251 2015-02-16 Torvald Riegel <triegel@redhat.com>
21252
21253 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21254
21255 2015-02-16 Mike Frysinger <vapier@gentoo.org>
21256
21257 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21258
21259 2015-02-16 Joseph Myers <joseph@codesourcery.com>
21260
21261 [BZ #17987]
21262 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21263 zero result does not depend on the sign resulting from
21264 subtraction.
21265 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21266 Likewise.
21267 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21268 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21269 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21270 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21271 * math/libm-test.inc (remquo_test_data): Add more tests.
21272
21273 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
21274
21275 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21276 Problem reported by J William Piggott.
21277
21278 2015-02-16 Joseph Myers <joseph@codesourcery.com>
21279
21280 [BZ #17978]
21281 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21282 products 4 * y and 2 * y where those would overflow.
21283 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21284 Likewise.
21285 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21286 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21287 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21288 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21289 * math/libm-test.inc (remquo_test_data): Add more tests.
21290
21291 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21292
21293 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21294 [defined _COMPILING_NEWLIB].
21295 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21296 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21297
21298 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21299 [!defined __mips_isa_rev || __mips_isa_rev < 6].
21300
21301 2015-02-16 Torvald Riegel <triegel@redhat.com>
21302
21303 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21304 acquired.
21305
21306 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
21307
21308 [BZ #17792]
21309 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21310 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21311 HOST_STACK_END_ADDR): Likewise.
21312
21313 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
21314
21315 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21316 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21317 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21318
21319 2015-02-13 Roland McGrath <roland@hack.frob.com>
21320
21321 * sysdeps/generic/c++-types.data: New file.
21322 * sysdeps/generic/ld.abilist: New file.
21323 * sysdeps/generic/libBrokenLocale.abilist: New file.
21324 * sysdeps/generic/libanl.abilist: New file.
21325 * sysdeps/generic/libc.abilist: New file.
21326 * sysdeps/generic/libcrypt.abilist: New file.
21327 * sysdeps/generic/libdl.abilist: New file.
21328 * sysdeps/generic/libm.abilist: New file.
21329 * sysdeps/generic/libpthread.abilist: New file.
21330 * sysdeps/generic/libresolv.abilist: New file.
21331 * sysdeps/generic/librt.abilist: New file.
21332
21333 2015-02-13 Joseph Myers <joseph@codesourcery.com>
21334
21335 [BZ #17569]
21336 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21337 Compute absolute value of x as modified by fmod, not original
21338 value of x.
21339 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21340 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
21341 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
21342 RUN_TEST_ffI_f1_mod8.
21343 (remquo_test_data): Add more tests.
21344
21345 2015-02-13 Roland McGrath <roland@hack.frob.com>
21346
21347 * sysdeps/init_array/pt-crti.S: New file.
21348
21349 2015-02-13 Joseph Myers <joseph@codesourcery.com>
21350
21351 [BZ #17967]
21352 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21353 __builtin_fmaf instead of relying on contraction of a * b + c.
21354
21355 2015-02-12 J William Piggott <elseifthen@gmx.com>
21356
21357 [BZ #17969]
21358 * manual/time.texi: correct the zoneinfo path in the TZ Variable
21359 node.
21360
21361 2015-02-12 Joseph Myers <joseph@codesourcery.com>
21362
21363 [BZ #17964]
21364 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21365 __builtin_fma instead of relying on contraction of a * b + c.
21366
21367 2015-02-12 Roland McGrath <roland@hack.frob.com>
21368
21369 * Makeconfig (ASFLAGS): Add -Werror=undef.
21370 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21371 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21372 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21373
21374 * Makeconfig (after-link): New variable.
21375 (+link-pie, +link-pie-tests): Use it.
21376 (+link-static, +link-static-tests): Likewise.
21377 (+link, +link-tests): Likewise.
21378 * Makerules (build-module, build-module-asneeded): Likewise.
21379 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21380 Likewise.
21381 * elf/Makefile ($(objpfx)ld.so): Likewise.
21382
21383 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
21384
21385 [BZ #17965]
21386 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21387 both struct timeval and struct timespec.
21388
21389 2015-02-12 Joseph Myers <joseph@codesourcery.com>
21390
21391 [BZ #16560]
21392 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21393 and redefine.
21394 (__ieee754_exp2l): Do not multiply small fractional parts by
21395 M_LN2l.
21396 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21397 small argument.
21398 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21399 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21400 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21401 * math/auto-libm-test-in: Add more tests of exp2.
21402 * math/auto-libm-test-out: Regenerated.
21403
21404 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21405
21406 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21407 unaligned path.
21408
21409 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21410
21411 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21412 little endian.
21413
21414 2015-02-12 Andreas Schwab <schwab@suse.de>
21415
21416 [BZ #15790]
21417 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21418 Filter out elision flags from value returned in kind.
21419 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21420 * nptl/tst-pthread-mutexattr.c: New file.
21421
21422 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21423
21424 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21425 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21426 into gnu-gnu, and update comment to refer to abi-tags.
21427
21428 2015-02-11 Joseph Myers <joseph@codesourcery.com>
21429
21430 [BZ #15467]
21431 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21432 (__sincos): Set errno to EDOM for infinite argument.
21433 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21434 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21435 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21436 (__sincosl): Set errno to EDOM for infinite argument.
21437 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21438 (__sincosl): Set errno to EDOM for infinite argument.
21439 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21440 (__sincosl): Set errno to EDOM for infinite argument.
21441 * math/libm-test.inc (sincos_test_data): Test errno setting.
21442
21443 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
21444
21445 * string/strxfrm_l.c: Remove #define STRCMP.
21446 * string/strcoll_l.c: Remove #define STRLEN.
21447 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21448 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21449
21450 2015-02-10 Joseph Myers <joseph@codesourcery.com>
21451
21452 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21453 * sysdeps/mips/mips32/sfp-machine.h: ... here.
21454 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21455 * sysdeps/mips/mips64/Makefile: ... here.
21456 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21457 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21458 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21459 * sysdeps/mips/mips64/sfp-machine.h: ... here.
21460 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21461 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21462 * sysdeps/mips/mips64/n64/Implies: Likewise.
21463
21464 2015-02-10 Roland McGrath <roland@hack.frob.com>
21465
21466 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21467 <sys/time.h>, <string.h>, and <errno.h>.
21468 (dest_offset, dest_address, value, zero): Remove unused variables.
21469 (ldouble): Remove typedef.
21470 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21471 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
21472 1). Fix code style.
21473 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21474 (check): Function removed.
21475 (CHECK): New macro.
21476 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
21477 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21478 Don't call set_sigaction_FP and remove_sigaction_FP here.
21479 (ldouble_test): Just use 'long double' as macro argument, no need for
21480 the 'ldouble' typedef.
21481 (do_test): Set up SIGFPE handler at start, using plain signal rather
21482 than sigaction. Fix code style.
21483
21484 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
21485
21486 [BZ #17949]
21487 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21488 jump label.
21489
21490 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21491
21492 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21493 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21494
21495 * sysdeps/powerpc/configure.ac: Remove file.
21496 * sysdeps/powerpc/configure: Likewise.
21497
21498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21499 [sysdep_routines]: Remove wordcopy-power6 object.
21500 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21501 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21502 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21503 (__memmove_ppc32): Likewise.
21504 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21505 file.
21506 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21507 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21508 Remove preprocessor.
21509
21510 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21511 [sysdep_routines]: Remove wide chars objects.
21512 [wcsmbs]: New rule for wide char objects.
21513
21514 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21515 Remove wordcopy-power6 obejct.
21516 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21517 Use local call for wordcopy and memcpy symbols.
21518 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21519 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21520 implementation for loader.
21521 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21522
21523 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21524 Remove wordcopy-power7 object.
21525 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21526 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21527 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21528 (_wordcopy_fwd_dest_aligned): Likewise.
21529 (_wordcopy_bwd_aligned): Likewise.
21530 (_wordcopy_bwd_dest_aligned): Likewise.
21531
21532 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21533 Rewrite to call __memmove_ppc instead of include default
21534 implementation.
21535
21536 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21537 Remove wide chars objects.
21538 [wcsmbs]: New rule for wide char objects.
21539
21540 2015-02-09 Andreas Schwab <schwab@suse.de>
21541
21542 [BZ #17912]
21543 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21544 in terms of __O_DIRECTORY.
21545
21546 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21547
21548 * time/getdate.c: Include <stdbool.h>.
21549 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21550 call PTR_MANGLE.
21551 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21552 PTR_DEMANGLE.
21553
21554 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
21555
21556 Add ersatz _Static_assert on older C hosts
21557 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21558 pre-C11 C platform that is not known to support _Static_assert.
21559
21560 2015-02-07 Richard Braun <rbraun@sceen.net>
21561
21562 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21563 sigstate.
21564 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21565
21566 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
21567
21568 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21569 priority against unexistent AIO_PRIO_DELTA_MAX.
21570 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21571 instead of int.
21572 * misc/fchflags.c (fchflags): Likewise.
21573 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21574 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21575 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21576 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21577 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21578 Declare macros.
21579 [__USE_MISC] (chflags, fchflags): Declare functions.
21580 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21581 EINVAL when nfds is greater than FD_SETSIZE.
21582 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21583 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21584 45.
21585 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21586 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21587 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21588 MACH_RCV_TIMED_OUT.
21589 * hurd/hurd/signal.h (_hurd_self_sigstate,
21590 _hurd_critical_section_lock, _hurd_critical_section_unlock):
21591 Explicit casts from void *.
21592 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21593 * abi-tags: Rename gnu-gnu os into gnu.
21594
21595 [BZ #4719]
21596 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21597 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21598 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21599 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21600 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21601 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21602
21603 [BZ #17944]
21604 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21605 duplicates ADDR->sun_path with sockaddr LEN limitation.
21606 * sysdeps/mach/hurd/connect.c: Include <string.h>
21607 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21608 * sysdeps/mach/hurd/sendmsg.c: Likewise.
21609 * sysdeps/mach/hurd/sendto.c: Likewise.
21610 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21611 implementing it by hand.
21612
21613 2015-02-06 Roland McGrath <roland@hack.frob.com>
21614
21615 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21616 Use sfi_breg on ldr.
21617 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21618 Likewise.
21619
21620 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21621 it's defined.
21622 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21623 Test SIGSETXID only if it's defined.
21624
21625 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21626
21627 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21628 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
21629
21630 * nptl/tst-align2.c: Moved ...
21631 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21632 * nptl/Makefile (tests): Remove tst-align2.
21633 * sysdeps/unix/sysv/linux/Makefile
21634 [$(subdir) = nptl] (tests): Add tst-align-clone.
21635 * nptl/tst-getpid1.c: Moved ...
21636 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21637 * nptl/tst-getpid2.c: Moved ...
21638 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21639 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21640 * sysdeps/unix/sysv/linux/Makefile
21641 [$(subdir) = nptl] (tests): ... here.
21642 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21643 * sysdeps/unix/sysv/linux/Makefile
21644 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21645
21646 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21647 Drop trailing \n from perror argument. Use return rather than exit.
21648
21649 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21650 on [SA_SIGINFO].
21651 * nptl/tst-cancel21.c (do_test): Likewise.
21652 * debug/tst-backtrace6.c: Include <signal.h> first thing.
21653 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21654 [!SA_SIGINFO]: Make it a stub test.
21655
21656 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21657 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21658
21659 * posix/tst-getlogin.c: Move to ...
21660 * login/tst-getlogin.c: ... here.
21661 * posix/Makefile (tests): Move tst-getlogin to ...
21662 * login/Makefile (tests): ... here.
21663
21664 * libio/tst-atime.c (do_test): Move local variables SV and E
21665 inside [ST_NOATIME] conditional.
21666
21667 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21668
21669 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21670
21671 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21672 (wait_code): New function replaces macro.
21673 Call nanosleep rather than syscall.
21674
21675 * nptl/pt-system.c: Rewritten. Put everything under
21676 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21677 Use IFUNC to redirect when possible.
21678
21679 * nptl/pt-longjmp.c: Rewritten. Put everything under
21680 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21681 Use IFUNC to redirect when possible.
21682
21683 * nptl/pt-fork.c: Rewritten. Put everything under
21684 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21685 Use IFUNC to redirect when possible.
21686 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21687
21688 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21689 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21690 unconditionally nowadays. This included the only reference to
21691 __vdso_clock_gettime that appears outside libc proper.
21692 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21693 Remove version set (containing only __vdso_clock_gettime).
21694 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21695 Add attribute_hidden.
21696 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21697 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21698 libc_hidden_data_def.
21699 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21700 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21701
21702 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21703 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21704 setrpcent, and getrpcport to ...
21705 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21706 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21707 getrpcbynumber_r, and getrpcent_r to ...
21708 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21709 * inet/getrpcbyname.c: Moved ...
21710 * sunrpc/getrpcbyname.c: ... here.
21711 * inet/getrpcbyname_r.c: Moved ...
21712 * sunrpc/getrpcbyname_r.c: ... here.
21713 * inet/getrpcbynumber.c: Moved ...
21714 * sunrpc/getrpcbynumber.c: ... here.
21715 * inet/getrpcbynumber_r.c: Moved ...
21716 * sunrpc/getrpcbynumber_r.c: ... here.
21717 * inet/getrpcent.c: Moved ...
21718 * sunrpc/getrpcent.c: ... here.
21719 * inet/getrpcent_r.c: Moved ...
21720 * sunrpc/getrpcent_r.c: ... here.
21721 * inet/Makefile (routines): Move those to ...
21722 * sunrpc/Makefile (routines): ... here.
21723 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21724 the $(subdirs) list.
21725 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
21726 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21727 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21728 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21729
21730 * elf/Makefile (routines): Include $(all-dl-routines), not just
21731 $(dl-routines).
21732 (rtld-routines): Likewise. Use = rather than :=.
21733 * sysdeps/aarch64/Makefile [$(subdir) = elf]
21734 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21735 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21736 * sysdeps/arm/Makefile: Likewise.
21737 * sysdeps/i386/Makefile: Likewise.
21738 * sysdeps/x86_64/Makefile: Likewise.
21739 * sysdeps/hppa/Makefile [$(subdir) = elf]
21740 (sysdep_routines, sysdep-rtld-routines): Don't add
21741 $(sysdep-dl-routines) to these.
21742 * sysdeps/ia64/Makefile: Likewise.
21743 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21744 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21745 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21746 Don't add dl-static to these; sysdep-dl-routines alone is enough.
21747 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21748 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21749 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21750 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21751 * sysdeps/powerpc/Makefile [$(subdir) = elf]
21752 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21753 these; sysdep-dl-routines alone is enough.
21754
21755 2015-02-06 Joseph Myers <joseph@codesourcery.com>
21756
21757 [BZ #17932]
21758 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21759 where multiplication results in zero and third argument is finite
21760 and nonzero.
21761 * math/auto-libm-test-in: Add more tests of fma.
21762 * math/auto-libm-test-out: Regenerated.
21763
21764 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21765 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21766 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21767 (_FP_CMP_EQ): Likewise.
21768 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21769
21770 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21771 extra argument CHECK_NAN. Redefine as wrapper around
21772 _FP_EXTEND_CNAN.
21773
21774 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
21775
21776 * version.h (RELEASE): Set to "stable".
21777 (VERSION): Set to "2.21"
21778 * include/features.h (__GLIBC_MINOR__): Set to 21.
21779
21780 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21781
21782 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21783 Paul Eggert <eggert@cs.ucla.edu>
21784
21785 [BZ #16618]
21786 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21787 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21788 size in bytes. Store needed elements in wpmax. Use needed size
21789 in bytes for extend_alloca.
21790
21791 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
21792
21793 * manual/install.texi: Latest tested versions are GCC 4.9.2,
21794 binutls 2.25, and texinfo 5.2.
21795 * INSTALL: Regenerate.
21796 * sysdeps/nios2/configure: Regenerate.
21797 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21798 * manual/contrib.texi: Update.
21799 * po/be.po: Update.
21800 * po/bg.po: Update.
21801 * po/ca.po: Update.
21802 * po/cs.po: Update.
21803 * po/da.po: Update.
21804 * po/de.po: Update.
21805 * po/el.po: Update.
21806 * po/eo.po: Update.
21807 * po/es.po: Update.
21808 * po/fi.po: Update.
21809 * po/fr.po: Update.
21810 * po/gl.po: Update.
21811 * po/hr.po: Update.
21812 * po/hu.po: Update.
21813 * po/ia.po: Update.
21814 * po/id.po: Update.
21815 * po/it.po: Update.
21816 * po/ja.po: Update.
21817 * po/ko.po: Update.
21818 * po/lt.po: Update.
21819 * po/nb.po: Update.
21820 * po/nl.po: Update.
21821 * po/pl.po: Update.
21822 * po/pt_BR.po: Update.
21823 * po/ru.po: Update.
21824 * po/rw.po: Update.
21825 * po/sk.po: Update.
21826 * po/sl.po: Update.
21827 * po/sv.po: Update.
21828 * po/tr.po: Update.
21829 * po/uk.po: Update.
21830 * po/vi.po: Update.
21831 * po/zh_CN.po: Update.
21832 * po/zh_TW.po: Update.
21833
21834 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21835 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21836 * sysdeps/hppa/dl-irel.h: Remove #warning.
21837 * sysdeps/hppa/entry.h: Provide prototype for
21838 __canonicalize_funcptr_for_compare and cast argument.
21839 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21840 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21841 * sysdeps/hppa/sotruss-lib.c: New file.
21842 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21843 (atomic_compare_and_exchange_val_acq): Use __typeof__.
21844 (atomic_compare_and_exchange_bool_acq): Likewise.
21845 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21846 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21847
21848 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21849 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21850 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21851
21852 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
21853
21854 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21855 called function in non-PIC case.
21856
21857 2015-01-31 David S. Miller <davem@davemloft.net>
21858
21859 * sysdeps/sparc/sparc32/bits/atomic.h
21860 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21861 unlock not after it.
21862 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21863 volatile register usage warnings from the compiler.
21864
21865 * sysdeps/sparc/nptl/sem_init.c: Delete.
21866 * sysdeps/sparc/nptl/sem_post.c: Delete.
21867 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21868 * sysdeps/sparc/nptl/sem_wait.c: Delete.
21869 * sysdeps/sparc/sparc32/sem_init.c: New file.
21870 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21871 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21872 padding explicitly initialized.
21873 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21874 padding for in-semaphore spinlock.
21875 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21876 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21877 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21878 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21879 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21880 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21881 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21882 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21883 version.
21884 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21885 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21886
21887 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
21888
21889 [BZ #17801]
21890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21891 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21892 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21893 New.
21894 (index_AVX_Fast_Unaligned_Load): Likewise.
21895 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21896 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21897 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21898 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21899 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21900 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21901 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21902 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21903 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21904
21905 2015-01-29 Andreas Schwab <schwab@suse.de>
21906
21907 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21908
21909 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21910
21911 [BZ #17892]
21912 * nscd/nscd_stat.c (send_stats): Initialize DATA.
21913
21914 2015-01-28 Martin Sebor <msebor@redhat.com>
21915
21916 * math/README.libm-test: Clarify. Add "How to read the test output."
21917
21918 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
21919
21920 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21921 Define to 0.
21922
21923 2015-01-28 Joseph Myers <joseph@codesourcery.com>
21924
21925 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21926 (__HAVE_64B_ATOMICS): Define to 0.
21927
21928 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21929
21930 [BZ #17885]
21931 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21932 value to set as new flag.
21933
21934 [BZ #16576]
21935 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21936 and use _ARCH_PPCSQ instead.
21937 (__ieee754_sqrt): Likewise.
21938 (__ieee754_sqrtf): Likewise.
21939 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21940 _ARCH_PPCSQ is defined.
21941 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21942 fsqrt instruction.
21943 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21944 _ARCH_PPCSQ is defined.
21945 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21946 fsqrts instruction.
21947 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21948
21949 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21950
21951 * iconv/loop.c: Suppress array out of bound warning caused by GCC
21952 bug (GCC BZ #64739).
21953
21954 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
21955
21956 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21957 Mark _retval as used.
21958 (lll_futex_wake_unlock): Likewise.
21959 (lll_futex_timed_wait_requeue_pi): Likewise.
21960
21961 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21962 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21963 register variables.
21964
21965 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21966 libm_hidden_def.
21967
21968 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21969 (__bswap_64): Mark as __always_inline.
21970
21971 2015-01-25 Bram <bug_rh@spam.wizbit.be>
21972
21973 [BZ #15378]
21974 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21975 when none of the search directories exist.
21976
21977 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21978
21979 [BZ #17869]
21980 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21981 power8 in .machine directive.
21982
21983 [BZ #17868]
21984 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21985 set dependency from opd value.
21986
21987 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
21988
21989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21990 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21991 architecture.
21992
21993 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
21994
21995 [BZ #17870]
21996 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21997 with uint64_t.
21998 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21999 (uint64_t) 1.
22000 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22001 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22002 Replace 1UL with (uint64_t) 1.
22003 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22004 int with uint64_t.
22005
22006 2015-01-23 Roland McGrath <roland@hack.frob.com>
22007
22008 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22009 (if_freenameindex): Likewise.
22010
22011 * resource/getrlimit64.c: Add missing libc_hidden_def.
22012
22013 2015-01-22 Joseph Myers <joseph@codesourcery.com>
22014
22015 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22016 __label__.
22017 (_FP_FMA): Likewise.
22018 (_FP_TO_INT_ROUND): Likewise.
22019 (_FP_FROM_INT): Likewise.
22020
22021 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22022
22023 [BZ #16418]
22024 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22025 Make code racy and cancel safe.
22026
22027 2015-01-21 Carlos O'Donell <carlos@redhat.com>
22028
22029 * sysdeps/arm/unwind-resume.h: Fix copyright year.
22030 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22031 attribution.
22032
22033 * pwd/tst-getpw.c: Rewrite.
22034
22035 [BZ #17702]
22036 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22037 (modules-names): Add moddummy1 and moddummy2.
22038 ($(objpfx)tst-rec-dlopen): Define.
22039 * dlfcn/moddummy1.c: New file.
22040 * dlfcn/moddummy2.c: New file.
22041 * dlfcn/tst-rec-dlopen.c: New file.
22042 * elf/dl-cache.c (_dl_load_cache_lookup):
22043 Return char*. Copy result with alloca/strcpy/strdup.
22044 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22045 returns char*. Free cached. If not saving realname
22046 free cached.
22047 * elf/dl-open.c (dl_open_worker): Do not assert that
22048 _r_debug->r_state is RT_CONSISTENT.
22049 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22050 returns char*.
22051
22052 2015-01-21 Torvald Riegel <triegel@redhat.com>
22053 Carlos O'Donell <carlos@redhat.com>
22054
22055 [BZ #12674]
22056 * nptl/sem_waitcommon.c: New file.
22057 * nptl/sem_wait.c: Include sem_waitcommon.c.
22058 (__sem_wait_cleanup, do_futex_wait): Remove.
22059 (__new_sem_wait): Adapt.
22060 (__new_sem_trywait): New function.
22061 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22062 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22063 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22064 (sem_timedwait): Adapt.
22065 * nptl/sem_post.c (__new_sem_post): Adapt.
22066 (futex_wake): New function.
22067 (__old_sem_post): Add release MO fence.
22068 * nptl/sem_open.c (sem_open): Adapt.
22069 * nptl/sem_init.c (__new_sem_init): Adapt.
22070 (futex_private_if_supported): New function.
22071 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22072 (__old_sem_getvalue): Add using previous code.
22073 * sysdeps/nptl/internaltypes.h: Adapt.
22074 * nptl/tst-sem13.c (do_test): Adapt.
22075 * nptl/tst-sem11.c (main): Adapt.
22076 * nptl/sem_trywait.c: Remove.
22077 * nptl/DESIGN-sem.txt: Remove.
22078 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22079 (gen-as-const-headers): Remove structsem.sym.
22080 * nptl/structsem.sym: Remove.
22081 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22082 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22083 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22084 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22085 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22086 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22087 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22088 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22089 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22090 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22091 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22092 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22093 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22094 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22095 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22096 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22097 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22098 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22099 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22100 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22101 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22102 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22103
22104 2015-01-20 Carlos O'Donell <carlos@redhat.com>
22105
22106 * INSTALL: Regenerated.
22107
22108 * po/libc.pot: Regenerated.
22109
22110 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
22111 Sandra Loosemore <sandra@codesourcery.com>
22112 Andrew Jenner <andrew@codesourcery.com>
22113 Joseph Myers <joseph@codesourcery.com>
22114 Nathan Sidwell <nathan@codesourcery.com>
22115
22116 * NEWS: Mention new Nios II port.
22117 * sysdeps/nios2/Implies: New file.
22118 * sysdeps/nios2/Makefile: New file.
22119 * sysdeps/nios2/Subdirs: New file.
22120 * sysdeps/nios2/Versions: New file.
22121 * sysdeps/nios2/__longjmp.S: New file.
22122 * sysdeps/nios2/abort-instr.h: New file.
22123 * sysdeps/nios2/backtrace.c: New file.
22124 * sysdeps/nios2/bits/endian.h: New file.
22125 * sysdeps/nios2/bits/fenv.h: New file.
22126 * sysdeps/nios2/bits/link.h: New file.
22127 * sysdeps/nios2/bits/setjmp.h: New file.
22128 * sysdeps/nios2/bsd-_setjmp.S: New file.
22129 * sysdeps/nios2/bsd-setjmp.S: New file.
22130 * sysdeps/nios2/configure: New generated file.
22131 * sysdeps/nios2/configure.ac: New file.
22132 * sysdeps/nios2/crti.S: New file.
22133 * sysdeps/nios2/crtn.S: New file.
22134 * sysdeps/nios2/dl-init.c: New file.
22135 * sysdeps/nios2/dl-machine.h: New file.
22136 * sysdeps/nios2/dl-sysdep.h: New file.
22137 * sysdeps/nios2/dl-tls.h: New file.
22138 * sysdeps/nios2/dl-trampoline.S: New file.
22139 * sysdeps/nios2/gccframe.h: New file.
22140 * sysdeps/nios2/gmp-mparam.h: New file.
22141 * sysdeps/nios2/jmpbuf-offsets.h: New file.
22142 * sysdeps/nios2/jmpbuf-unwind.h: New file.
22143 * sysdeps/nios2/ldsodefs.h: New file.
22144 * sysdeps/nios2/libc-tls.c: New file.
22145 * sysdeps/nios2/libm-test-ulps: New file.
22146 * sysdeps/nios2/machine-gmon.h: New file.
22147 * sysdeps/nios2/math-tests.h: New file.
22148 * sysdeps/nios2/math_private.h: New file.
22149 * sysdeps/nios2/memusage.h: New file.
22150 * sysdeps/nios2/nptl/Makefile: New file.
22151 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22152 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22153 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22154 * sysdeps/nios2/nptl/pthreaddef.h: New file.
22155 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22156 * sysdeps/nios2/nptl/tls.h: New file.
22157 * sysdeps/nios2/preconfigure: New file.
22158 * sysdeps/nios2/s_fma.c: New file.
22159 * sysdeps/nios2/s_fmaf.c: New file.
22160 * sysdeps/nios2/setjmp.S: New file.
22161 * sysdeps/nios2/sfp-machine.h: New file.
22162 * sysdeps/nios2/sotruss-lib.c: New file.
22163 * sysdeps/nios2/stackguard-macros.h: New file.
22164 * sysdeps/nios2/stackinfo.h: New file.
22165 * sysdeps/nios2/start.S: New file.
22166 * sysdeps/nios2/sysdep.h: New file.
22167 * sysdeps/nios2/tls-macros.h: New file.
22168 * sysdeps/nios2/tst-audit.h: New file.
22169 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22170 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22171 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22172 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22173 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22174 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22175 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22176 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22177 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22178 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22179 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22180 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22181 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22182 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22183 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22184 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22185 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22186 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22187 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22188 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22189 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22190 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22191 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22192 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22193 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22194 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22195 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22196 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22197 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22198 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22199 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22200 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22201 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22202 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22203 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22204 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22205 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22206 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22207 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22208 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22209 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22210 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22211 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22212 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22213
22214 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22215
22216 [BZ #17844]
22217 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22218 (getutent): Use weak_alias in non SHARED case
22219 and default_symbol_version in SHARED case.
22220 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22221 (getutent_r, pututline): Likewise.
22222 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22223 (getutid): Likewise.
22224 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22225 (getutid_r): Likewise.
22226 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22227 (getutline): Likewise.
22228 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22229 (getutline_r): Likewise.
22230 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22231 (updwtmp): Likewise.
22232
22233 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22234
22235 [BZ #17848]
22236 * sysdeps/s390/s390-32/memcmp.S
22237 (memcmp_g5): Rename to __memcmp_g5.
22238 * sysdeps/s390/s390-32/memcpy.S
22239 (memcpy_g5): Rename to __memcpy_g5.
22240 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22241 (memcpy_mvcle) Rename to __memcpy_mvcle.
22242 * sysdeps/s390/s390-32/memset.S
22243 (memset_g5): Rename to __memset_g5.
22244 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22245 (IFUNC_RESOLVE): Prefix ifunc-resolve function
22246 and use prefixed functions.
22247 * sysdeps/s390/s390-32/multiarch/memcmp.S
22248 (memcmp_z196): Rename to __memcmp_z196.
22249 (memcmp_z10): Rename to __memcmp_z10.
22250 (memcmp): Set alias to __memcmp_g5.
22251 (bcmp): Set alias to __memcmp_g5.
22252 * sysdeps/s390/s390-32/multiarch/memcpy.S
22253 (memcpy_z196): Rename to __memcpy_z196.
22254 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22255 (memcpy_z10): Rename to __memcpy_z10.
22256 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22257 (memcpy): Set alias to __memcpy_g5.
22258 * sysdeps/s390/s390-32/multiarch/memset.S
22259 (memset_z196): Rename to __memset_z196.
22260 Jump to __memset_mvcle instead of memset_mvcle.
22261 (memset_z10): Rename to __memset_z10.
22262 Jump to __memset_mvcle instead of memset_mvcle.
22263 (memset_mvcle) Rename to __memset_mvcle.
22264 (memset): Set alias to __memset_g5.
22265 * sysdeps/s390/s390-64/memcmp.S
22266 (memcmp_z900): Rename to __memcmp_z900.
22267 * sysdeps/s390/s390-64/memcpy.S
22268 (memcpy_z900): Rename to __memcpy_z900.
22269 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22270 (memcpy_mvcle) Rename to __memcpy_mvcle.
22271 * sysdeps/s390/s390-64/memset.S
22272 (memset_z900): Rename to __memset_z900.
22273 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22274 (IFUNC_RESOLVE): Prefix ifunc-resolve function
22275 and use prefixed functions.
22276 * sysdeps/s390/s390-64/multiarch/memcmp.S
22277 (memcmp_z196): Rename to __memcmp_z196.
22278 (memcmp_z10): Rename to __memcmp_z10.
22279 (memcmp): Set alias to __memcmp_z900.
22280 (bcmp): Set alias to __memcmp_z900.
22281 * sysdeps/s390/s390-64/multiarch/memcpy.S
22282 (memcpy_z196): Rename to __memcpy_z196.
22283 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22284 (memcpy_z10): Rename to __memcpy_z10.
22285 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22286 (memcpy): Set alias to __memcpy_z900.
22287 * sysdeps/s390/s390-64/multiarch/memset.S
22288 (memset_z196): Rename to __memset_z196.
22289 Jump to __memset_mvcle instead of memset_mvcle.
22290 (memset_z10): Rename to __memset_z10.
22291 Jump to __memset_mvcle instead of memset_mvcle.
22292 (memset_mvcle) Rename to __memset_mvcle.
22293 (memset): Set alias to __memset_z900.
22294
22295 2015-01-14 Joseph Myers <joseph@codesourcery.com>
22296
22297 [BZ #17748]
22298 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22299 __fesetenv instead of fesetenv.
22300
22301 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22302
22303 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22304 macro.
22305
22306 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22307
22308 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22309 regression on LE.
22310
22311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22312 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22313 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22314 strncmp-power8 object.
22315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22316 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22317 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22318 * NEWS: Update.
22319
22320 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22321 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22322
22323 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22324 trailing byte check.
22325
22326 2015-01-13 David S. Miller <davem@davemloft.net>
22327
22328 * include/signal.h (__sigreturn): Guard with __USE_MISC.
22329
22330 2015-01-13 Roland McGrath <roland@hack.frob.com>
22331
22332 * login/logout.c (logout): Use memset rather than bzero.
22333 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22334 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22335 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22336 (_gethtbyaddr): Likewise.
22337 * locale/programs/simple-hash.c (bcopy): Macro removed.
22338
22339 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22340
22341 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22342 Add strcmp-power8 object.
22343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22344 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22345 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22346 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22347 __strcmp_power8 implementation.
22348 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22349 * NEWS: Update.
22350
22351 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22352 Add strncpy-power8 and stpncpy-power8 objects.
22353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22354 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22355 implementations.
22356 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22357 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22358 __stpncpy_power8 implementation.
22359 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22360 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22361 __strncpy_power8 implementation.
22362 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22363 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22364 * NEWS: Update.
22365
22366 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22367 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22368 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22369
22370 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22371 strncat-power8 object.
22372 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22373 __strcat_power8 implementation.
22374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22375 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22376 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22377 optimized strcat for power8.
22378
22379 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22380 strcpy-power8 and stpcpy-power8 objects.
22381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22382 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22383 implementations.
22384 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22385 multiarch stpcpy implementation for POWER8.
22386 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22387 multiarch strcpy implementation for POWER8.
22388 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22389 __strcpy_power8 function.
22390 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22391 stpcpy for POWER8.
22392 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22393 strcpy for POWER8.
22394 * NEWS: Update.
22395
22396 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
22397
22398 [BZ #16009]
22399 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22400 weights and rules. Use do_xfrm_cached if data fits in cache,
22401 do_xfrm otherwise. Moved former main loop to...
22402 * (do_xfrm_cached): New function.
22403 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22404 find_idx, find_position and stack_push.
22405 * (find_idx): New function.
22406 * (find_position): Likewise.
22407 * localedata/sort-test.sh: Added test run for do_xfrm.
22408 * localedata/xfrm-test.c (main): Added command line option
22409 -nocache to run the test with strings that are too large for
22410 the STRXFRM cache.
22411
22412 2015-01-13 Torvald Riegel <triegel@redhat.com>
22413
22414 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22415 variable to lll_futex_wake call, not the value itself.
22416
22417 2015-01-12 Joseph Myers <joseph@codesourcery.com>
22418
22419 [BZ #17803]
22420 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22421 twom64. Adjust value to 0x1p-64L.
22422 (__scalblnl): Only return standard underflowing result for K <=
22423 -64 not K <= -63; adjust exponent for underflowing result by 64
22424 not 63.
22425 * math/libm-test.inc (scalbn_test_data): Add more tests.
22426 (scalbln_test_data): Likewise.
22427
22428 [BZ #17834]
22429 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22430 0x1p63L.
22431 (__scalblnl): Get new exponent of adjusted subnormal value from ES
22432 not HX.
22433 * math/libm-test.inc (scalbn_test_data): Add more tests.
22434 (scalbln_test_data): Likewise.
22435
22436 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22437 Stefani Seibold <stefani@seibold.net>
22438
22439 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22440 (sysdep_routines): Add dl-vdso here, ...
22441 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22442 (sysdep_routines): ... not here.
22443 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22444 fallback when vDSO is not presented.
22445 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22446 Define with libc_hidden_proto/libc_hidden_data_def definitions.
22447 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22448 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22449 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22450 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22451 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22452 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22453 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22455 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
22456 fallback configurable symbol when vDSO is not available.
22457 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22458 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
22459 be able to redefine fallback symbol when vDSO is not available.
22460 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22461 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22462
22463 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22464
22465 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22466 (TLS_INIT_TP): Add tm_capable initialization.
22467 (TLS_DEFINE_INIT_TP): Likewise.
22468 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22469 TCB.
22470 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22471 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22472 calculation.
22473 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22474 transactoion is lock elision is built and TCB tm_capable is set.
22475 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22477 (INTERNAL_SYSCALL_NCS): Likewise.
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22479 (INTERNAL_SYSCALL_NCS): Likewise.
22480 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22481
22482 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22483 for powerpc.
22484 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22485 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22486 and remove it for 32 bits case.
22487 [pthread_rwlock_t] (__rwelision): New field for lock elision.
22488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22489 initialization.
22490 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22491 Disable lock elision with rdlocks if elision is not available.
22492
22493 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22494 (sysdep_routines): Add lock elision objects.
22495 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22496 [pthread_mutex_t] (__spins): Rework to add lock elision field.
22497 [pthread_mutex_t] (__elision): Add field.
22498 [__PTHREAD_SPINS]: Adjust to init lock elision field.
22499 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22500 elision definitions for powerpc.
22501 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22502 implementation of lock elision for powerpc.
22503 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22504 implementation of timed lock elision for powerpc.
22505 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22506 implementation of trylock with lock elision for powerpc.
22507 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22508 implementaion of unlock for lock elision for powerpc.
22509 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22510 automatic enable lock elision for mutexes.
22511 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22512 transaction execution definitions for powerpc.
22513 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22514 definitions.
22515 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22516 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22517 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22518 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22519 * NEWS: Update.
22520
22521 2015-01-09 Roland McGrath <roland@hack.frob.com>
22522
22523 * sysdeps/posix/shm-directory.c: Use <> rather than ""
22524 for #include of <shm-directory.h>.
22525
22526 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
22527
22528 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22529 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22530
22531 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
22532
22533 [BZ #17791]
22534 * NEWS: Mention bug fix.
22535 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22536 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22537 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22538
22539 2015-01-09 Torvald Riegel <triegel@redhat.com>
22540
22541 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22542
22543 2015-01-09 Torvald Riegel <triegel@redhat.com>
22544
22545 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22546
22547 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22548
22549 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22550 pointer and cast to uintptr_t.
22551
22552 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22553
22554 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22555 removed.
22556 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22557
22558 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22559
22560 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22561 of 0.
22562
22563 2015-01-08 Roland McGrath <roland@hack.frob.com>
22564
22565 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22566 <nptl/pthreadP.h> instead.
22567 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22568
22569 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22570 already defined.
22571 [__SIGRTMIN] (init): Function removed.
22572 [__SIGRTMIN] (initialized): Variable removed.
22573 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22574 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22575 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22576 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22577 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22578 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22579 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22580 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22581 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22582 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22583 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22584 * sysdeps/nptl/allocrtsig.c: New file.
22585 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22586 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22587 * sysdeps/generic/testrtsig.h: File removed.
22588
22589 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22590 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22591
22592 * nptl/nptl-init.c (pthread_functions): Conditionalize
22593 .ptr__nptl_setxid initialization on [SIGSETXID].
22594
22595 * sysdeps/nptl/sys/procfs.h: New file.
22596 * nptl_db/Makefile (headers): Add it.
22597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22598
22599 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22600 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22601 * nptl/pthread_attr_setaffinity.c: Include it.
22602 * nptl/pthread_setattr_default_np.c: Likewise.
22603 * nptl/check-cpuset.h: New file.
22604
22605 2015-01-08 Richard Henderson <rth@redhat.com>
22606
22607 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22608 (CFLAGS-tst-execstack-prog.c): Likewise.
22609 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22610
22611 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
22612 Sandra Loosemore <sandra@codesourcery.com>
22613 Andrew Jenner <andrew@codesourcery.com>
22614 Joseph Myers <joseph@codesourcery.com>
22615 Nathan Sidwell <nathan@codesourcery.com>
22616
22617 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22618 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22619 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22620 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22621 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22622 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22623 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22624 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22625 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22626 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22627 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22628 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22629 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22630 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22631 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22632 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22633 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22634
22635 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22636
22637 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22638 timespec struct member in syscall macro.
22639 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22640 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22641 first timeval struct member in syscall macro.
22642 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22643
22644 2015-01-07 Joseph Myers <joseph@codesourcery.com>
22645
22646 [BZ #17748]
22647 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22648 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22649 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22650 __feupdateenv and define as weak alias of __feupdateenv. Use
22651 libm_hidden_weak.
22652 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22653 libm_hidden_def.
22654 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22655 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
22656 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22657 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22658 libm_hidden_def.
22659 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22660 __feupdateenv and define as weak alias of __feupdateenv. Use
22661 libm_hidden_weak.
22662 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22663 libm_hidden_def.
22664 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22665 __feupdateenv and define as weak alias of __feupdateenv. Use
22666 libm_hidden_weak.
22667 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22668 libm_hidden_def.
22669 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22670 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22671 (__feupdateenv): Likewise.
22672 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22673 __feupdateenv and define as weak alias of __feupdateenv. Use
22674 libm_hidden_weak.
22675 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22676 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22677 libm_hidden_def.
22678 * sysdeps/tile/math_private.h (__feupdateenv): New inline
22679 function.
22680 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22681 libm_hidden_def.
22682 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22683 __feupdateenv instead of feupdateenv.
22684 (default_libc_feupdateenv_test): Likewise.
22685 (libc_feresetround_ctx): Likewise.
22686
22687 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22688
22689 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22690 prototype.
22691
22692 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
22693
22694 * posix/regcomp.c (parse_bracket_exp): Initialize type to
22695 COLL_SYM in a couple of places to avoid uninitialized variable
22696 wanings on tilegx gcc 4.8.2.
22697
22698 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
22699
22700 * sysdeps/aarch64/strcpy.S: New file.
22701 * sysdeps/aarch64/stpcpy.S: New file.
22702 * NEWS: Updated.
22703
22704 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
22705
22706 * sysdeps/aarch64/strrchr.S: New file.
22707 * NEWS: Updated.
22708
22709 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
22710
22711 [BZ #17658]
22712 * stdlib/setenv.c: Fix memory leak when setting large,
22713 duplicate string.
22714
22715 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
22716
22717 [BZ #17273]
22718 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22719 and tabs from buffer before parsing fstab entry.
22720 * misc/tst-mntent.c (main): Add test for mount entry with
22721 trailing spaces and tabs.
22722
22723 2015-01-06 Joseph Myers <joseph@codesourcery.com>
22724
22725 [BZ #17748]
22726 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
22727 * math/fesetround.c (fesetround): Rename to __fesetround and
22728 define as weak alias of __fesetround. Use libm_hidden_weak.
22729 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22730 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22731 * sysdeps/arm/fesetround.c (fesetround): Likewise.
22732 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22733 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22734 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22735 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22736 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22737 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22738 __fesetround_inline.
22739 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22740 __fesetround_inline instead of __fesetround.
22741 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22742 __fesetround and define as weak alias of __fesetround. Use
22743 libm_hidden_weak. Call __fesetround_inline instead of
22744 __fesetround.
22745 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22746 __fesetround and define as weak alias of __fesetround. Use
22747 libm_hidden_weak.
22748 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22749 Likewise.
22750 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22751 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22752 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22753 * sysdeps/tile/math_private.h (__fesetround): New inline function.
22754 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22755 __fesetround and define as weak alias of __fesetround. Use
22756 libm_hidden_weak.
22757 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22758 __fesetround instead of fesetround.
22759 (default_libc_feholdexcept_setround): Likewise.
22760 (libc_feholdsetround_ctx): Likewise.
22761 (libc_feholdsetround_noex_ctx): Likewise.
22762
22763 [BZ #17748]
22764 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22765 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22766 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22767 and define as weak alias of __fesetenv. Use libm_hidden_weak.
22768 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22769 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22770 define as weak alias of __fesetenv. Use libm_hidden_weak.
22771 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22772 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22773 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22774 define as weak alias of __fesetenv. Use libm_hidden_weak.
22775 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22776 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22777 define as weak alias of __fesetenv. Use libm_hidden_weak.
22778 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22779 libm_hidden_def.
22780 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22781 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22782 Likewise.
22783 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22784 define as weak alias of __fesetenv. Use libm_hidden_weak.
22785 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22786 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22787 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22788 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22789 and define as weak alias of __fesetenv. Use libm_hidden_weak.
22790 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22791 __fesetenv instead of fesetenv.
22792 (libc_feresetround_noex_ctx): Likewise.
22793 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22794 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22795 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22796 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22797 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22798 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22799 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22800 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22801 (__feupdateenv): Likewise.
22802 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22803 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22804 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22805 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22806
22807 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
22808
22809 [BZ #17806]
22810 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22811 addresses have been freed.
22812
22813 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
22814
22815 * resolv/res_init.c (__res_vinit): Improve comments about nserv
22816 and nservall.
22817
22818 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
22819
22820 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22821 Clean up check_pf allocation pattern. addresses
22822
22823 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22824
22825 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22826 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22827 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22828 * nptl/pthread_exit.c (__pthread_exit): Likewise.
22829 * nptl/pthread_join.c (pthread_join): Likewise.
22830 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22831 * sysdeps/posix/waitid.c (__waitid): Likewise.
22832 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22833 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22834 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22835 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22836 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22837 Likewise.
22838 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22839 (__libc_pread64): Likewise.
22840 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22841 (__libc_pwrite): Likewise.
22842 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22843 (__libc_pwrite64): Likewsie.
22844 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22845 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22846 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22847 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22848 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22849 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22850 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22852 Likewise.
22853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22854 (__libc_pread64): Likewise.
22855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22856 Likewise.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22858 (__libc_pwrite64): Likewise.
22859 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22860 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22861 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22862 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22863 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22864 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22865 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22866 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22867 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22868 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22869 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22870 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22871 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22872 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22873 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22874 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22875 Likewise.
22876
22877 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
22878
22879 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22880 (CFLAGS-test-double.c): Likewise.
22881 (CFLAGS-test-ldouble.c): Likewise.
22882 (CPPFLAGS-test-ifloat.c): Likewise.
22883 (CPPFLAGS-test-idouble.c): Likewise.
22884 (CPPFLAGS-test-ildoubl.c): Likewise.
22885 (CFLAGS-test-test-fenv.c): Remove variable.
22886 (CFLAGS-test-misc.c): Likewise.
22887
22888 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
22889
22890 [BZ #17797]
22891 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22892 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22893 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22894 CLOCKS_PER_SEC == 1000000.
22895 * time/clocktest.c (main): Replace %ld with %jd and cast to
22896 intmax_t.
22897
22898 2015-01-05 Roland McGrath <roland@hack.frob.com>
22899
22900 * sysdeps/generic/unwind-resume.h: New file.
22901 * sysdeps/gnu/unwind-resume.c: Include it.
22902 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22903 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22904 argument list.
22905 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22906 global rather than static.
22907 (_Unwind_Resume): Update user.
22908 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22909 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
22910 rather than static. Add __attribute__ ((cold)).
22911 (_Unwind_Resume, __gcc_personality_v0): Update callers.
22912 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22913 * sysdeps/arm/arm-unwind-resume.S: New file.
22914 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22915 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22916 * sysdeps/arm/Makefile [$(subdir) = csu]
22917 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22918 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22919 Add rt-arm-unwind-resume.
22920 [$(subdir) = nptl]
22921 (libpthread-sysdep_routines, libpthread-shared-only-routines):
22922 Add pt-arm-unwind-resume.
22923 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22924 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22925
22926 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22927
22928 [BZ #17748]
22929 * include/fenv.h (__feholdexcept): Declare. Use
22930 libm_hidden_proto.
22931 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22932 define as weak alias of __feholdexcept. Use libm_hidden_weak.
22933 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22934 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22935 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22936 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22937 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22938 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22939 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22940 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22941 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22942 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22943 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22944 (feholdexcept): Likewise.
22945 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22946 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22947 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22948 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22949 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22950 __feholdexcept instead of feholdexcept.
22951 (default_libc_feholdexcept_setround): Likewise.
22952
22953 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22954
22955 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22956 to avoid using stl/str to align destination.
22957
22958 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22959
22960 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22961
22962 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22963
22964 [BZ #17796]
22965 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22966 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22967 Define as weak alias not strong alias.
22968
22969 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22970
22971 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22972 bltzal with addiupc.
22973 (RTLD_START): Ditto.
22974
22975 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
22976
22977 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22978 for __vdso_* functions in declarations.
22979 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22980 definitions.
22981 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22982 INTERNAL_VSYSCALL): Use struct return types to check for error.
22983
22984 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22985 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22986 function with cast from llround().
22987 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22988 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22989 Define.
22990
22991 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22992
22993 [BZ #17793]
22994 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22995 Define as weak alias not strong alias.
22996
22997 [BZ #17635]
22998 * ctype/ctype-c99.c: New file. isblank implementation moved from
22999 ...
23000 * ctype/ctype-extn.c: ... here.
23001 (__isblank_l): Move to ...
23002 * ctype/ctype-c99_l.c: ... here. New file.
23003 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23004 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23005 Remove variable.
23006 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23007 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23008 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23009 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23010 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23011
23012 [BZ #17777]
23013 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23014 (posix_fadvise64): Define as weak alias not strong alias.
23015 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23016 (posix_fallocate64): Likewise.
23017 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23018 Remove variable.
23019 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23020 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23021 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23022 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23023 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23024
23025 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
23026
23027 [BZ #16191]
23028 * NEWS: Mention bug fix.
23029 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23030 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23031 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23032 (HOST_STACK_END_ADDR): Likewise.
23033
23034 2015-01-02 Joseph Myers <joseph@codesourcery.com>
23035
23036 [BZ #17748]
23037 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
23038 * math/fegetround.c (fegetround): Rename to __fegetround and
23039 define as weak alias of __fegetround. Use libm_hidden_weak.
23040 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23041 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23042 * sysdeps/arm/fegetround.c (fegetround): Likewise.
23043 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23044 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23045 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23046 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23047 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23048 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23049 Undefine after rather than before function definition; use
23050 parentheses around function name in definition.
23051 (__fegetround): Also undefine macro after function definition.
23052 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23053 __fegetround and define as weak alias of __fegetround. Use
23054 libm_hidden_weak. Do not undefine as macro.
23055 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23056 Likewise.
23057 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23058 __fegetround and define as weak alias of __fegetround. Use
23059 libm_hidden_weak.
23060 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23061 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23062 * sysdeps/tile/math_private.h (__fegetround): New inline function.
23063 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23064 __fegetround and define as weak alias of __fegetround. Use
23065 libm_hidden_weak.
23066 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23067 __fegetround instead of fegetround.
23068
23069 [BZ #17782]
23070 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23071 Condition macro definition on [__USE_MISC].
23072
23073 [BZ #17781]
23074 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23075 (struct sigaction): Change type of sa_flags field to int.
23076
23077 [BZ #17780]
23078 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23079 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23080 __glibc_reserved0.
23081
23082 * nptl/version.c (banner): Use single year in copyright notice.
23083
23084 * NEWS: Update copyright dates.
23085 * catgets/gencat.c (print_version): Likewise.
23086 * csu/version.c (banner): Likewise.
23087 * debug/catchsegv.sh: Likewise.
23088 * debug/pcprofiledump.c (print_version): Likewise.
23089 * debug/xtrace.sh (do_version): Likewise.
23090 * elf/ldconfig.c (print_version): Likewise.
23091 * elf/ldd.bash.in: Likewise.
23092 * elf/pldd.c (print_version): Likewise.
23093 * elf/sotruss.sh: Likewise.
23094 * elf/sprof.c (print_version): Likewise.
23095 * iconv/iconv_prog.c (print_version): Likewise.
23096 * iconv/iconvconfig.c (print_version): Likewise.
23097 * locale/programs/locale.c (print_version): Likewise.
23098 * locale/programs/localedef.c (print_version): Likewise.
23099 * login/programs/pt_chown.c (print_version): Likewise.
23100 * malloc/memusage.sh (do_version): Likewise.
23101 * malloc/memusagestat.c (print_version): Likewise.
23102 * malloc/mtrace.pl: Likewise.
23103 * manual/libc.texinfo: Likewise.
23104 * nptl/version.c (banner): Likewise.
23105 * nscd/nscd.c (print_version): Likewise.
23106 * nss/getent.c (print_version): Likewise.
23107 * nss/makedb.c (print_version): Likewise.
23108 * posix/getconf.c (main): Likewise.
23109 * scripts/test-installation.pl: Likewise.
23110 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23111
23112 2015-01-02 Will Newton <will.newton@linaro.org>
23113
23114 * sysdeps/arm/armv7/configure: Removed.
23115 * sysdeps/arm/armv7/configure.ac: Likewise.
23116
23117 2015-01-02 Joseph Myers <joseph@codesourcery.com>
23118
23119 * All files with FSF copyright notices: Update copyright dates
23120 using scripts/update-copyrights.
23121 * intl/plural.c: Regenerated.
23122 * locale/programs/charmap-kw.h: Likewise.
23123 * locale/programs/locfile-kw.h: Likewise.
23124
23125 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23126
23127 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23128
23129 2014-12-31 Joseph Myers <joseph@codesourcery.com>
23130
23131 [BZ #17748]
23132 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23133 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23134 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23135 and define as weak alias of __fegetenv. Use libm_hidden_weak.
23136 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23137 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23138 define as weak alias of __fegetenv. Use libm_hidden_weak.
23139 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23140 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23141 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23142 define as weak alias of __fegetenv. Use libm_hidden_weak.
23143 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23144 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23145 define as weak alias of __fegetenv. Use libm_hidden_weak.
23146 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23147 libm_hidden_def.
23148 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23149 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23150 Likewise.
23151 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23152 define as weak alias of __fegetenv. Use libm_hidden_weak.
23153 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23154 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23155 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23156 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23157 and define as weak alias of __fegetenv. Use libm_hidden_weak.
23158 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23159 __fegetenv instead of fegetenv.
23160 (libc_feholdsetround_noex_ctx): Likewise.
23161
23162 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
23163
23164 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23165 (Elf_MIPS_ABIFlags_v0): New structure.
23166 (EF_MIPS_FP64): Define.
23167 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23168 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23169 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23170 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23171 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23172 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23173 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23174 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23175 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23176 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23177 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23178 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23179 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23180 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23181 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23182 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23183 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23184 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23185 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23186 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23187 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23188 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23189 field.
23190 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23191 EF_MIPS_FP64.
23192 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23193 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23194 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23195 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23196 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23197 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23198 * sysdeps/mips/tst-abi-interlink.c: Likewise.
23199 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23200 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23201 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23202 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23203 record the current FP ABI extension.
23204 (mips-mode-switch): Define to show if kernel headers support mode
23205 switching.
23206 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23207 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23208 supported SYSV ABI version to 3.
23209 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23210 feature.
23211
23212 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23213 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23214
23215 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23216 path.
23217 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23218
23219 2014-12-31 Joseph Myers <joseph@codesourcery.com>
23220
23221 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23222 __fegetround and redefine to call __fegetround. Remove condition
23223 on [!__NO_MATH_INLINES].
23224 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23225 function.
23226 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23227 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23228 Remove macro.
23229 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23230 instead of <fenv_libc.h>.
23231 (__llrintl): Call fegetround instead of __fegetround.
23232 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23233 instead of <fenv_libc.h>.
23234 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23235 (__lrintl): Call fegetround instead of __fegetround.
23236 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23237 instead of <fenv_libc.h>.
23238 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23239 (__rintl): Call fegetround instead of __fegetround.
23240
23241 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23242
23243 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23244 arrays.
23245
23246 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
23247
23248 [BZ #17775]
23249 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23250 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23251 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23252
23253 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
23254
23255 * sysdeps/i386/tls-macros.h: Include <features.h>.
23256 (TLS_LE): Use non-PIC version for GCC >= 5.0.
23257 (TLS_IE): Likewise.
23258 (TLS_LD): Likewise.
23259 (TLS_GD): Likewise.
23260 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23261 define for GCC >= 5.0.
23262
23263 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
23264
23265 * math/test-fenv.c (test_single_exception, set_single_exc,
23266 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23267 feexcp_mask_test, feenable_test, fe_single_test): Add
23268 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23269 case where they are not used.
23270 * math/libm-test.inc: Likewise.
23271 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23272 unused in the absence of FP rounding/exception support.
23273 * stdio-common/tst-printf-round.c: Likewise.
23274 * stdlib/tst-strtod-round.c: Likewise.
23275 * stdlib/tst-strtod-underflow.c: Likewise.
23276
23277 2014-12-30 Joseph Myers <joseph@codesourcery.com>
23278
23279 [BZ #17723]
23280 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23281 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23282 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23283 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23284 libm_hidden_weak.
23285 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23286 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23287 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23288 libm_hidden_def.
23289 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23290 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23291 libm_hidden_weak.
23292 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23293 Likewise.
23294 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23295 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23296 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23297 libm_hidden_weak.
23298 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23299 libm_hidden_def.
23300 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23301 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23302 (__feraiseexcept): Likewise.
23303 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23304 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23305 libm_hidden_weak.
23306 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23307 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23308 libm_hidden_def.
23309 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23310 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23311 Use libm_hidden_def.
23312 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23313 libm_hidden_def.
23314 (feraiseexcept): Define as weak not strong alias. Use
23315 libm_hidden_weak.
23316 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23317 New inline function. Factored out of ...
23318 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
23319 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23320 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23321 feraiseexcept.
23322 * math/w_acos.c (__acos): Likewise.
23323 * math/w_asin.c (__asin): Likewise.
23324 * math/w_ilogb.c (__ilogb): Likewise.
23325 * math/w_j0.c (y0): Likewise.
23326 * math/w_j1.c (y1): Likewise.
23327 * math/w_jn.c (yn): Likewise.
23328 * math/w_log.c (__log): Likewise.
23329 * math/w_log10.c (__log10): Likewise.
23330 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23331 * sysdeps/aarch64/fpu/math_private.h
23332 (libc_feupdateenv_test_aarch64): Likewise.
23333 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23334 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23335 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23336 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23337 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23338 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23339 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23340 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23341 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23342 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23343
23344 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
23345
23346 [BZ #17732]
23347 * io/test-utime.c (main): Replace %ld with %jd and cast to
23348 intmax_t.
23349 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23350 * nptl/tst-mutex5.c: Include <stdint.h>.
23351 (do_test): Replace %ld with %jd and cast to intmax_t.
23352 * posix/tst-regex.c (run_test): Likewise.
23353 (run_test_backwards): Likewise.
23354 * rt/tst-clock.c: Include <stdint.h>.
23355 (clock_test): Replace %ld with %jd and cast to intmax_t.
23356 * rt/tst-cpuclock1.c: Include <stdint.h>.
23357 (do_test): Replace %lu with %ju and cast to uintmax_t.
23358 * rt/tst-cpuclock2.c: Include <stdint.h>.
23359 (do_test): Replace %lu with %ju and cast to uintmax_t.
23360 * rt/tst-mqueue1.c: Include <stdint.h>.
23361 (check_attrs): Replace %ld with %jd and cast to intmax_t.
23362 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23363 intmax_t.
23364 * rt/tst-mqueue4.c (do_test): Likewise.
23365 * rt/tst-timer4.c: Include <stdint.h>.
23366 (check_ts): Replace %ld with %jd and cast to intmax_t.
23367 (do_test): Likewise.
23368 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23369 and cast to intmax_t.
23370 * sysdeps/pthread/tst-timer.c (main): Likewise.
23371 * time/clocktest.c (main): Likewise.
23372 * time/tst-posixtz.c (do_test): Likewise.
23373 * timezone/tst-timezone.c (main): Likewise.
23374
23375 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
23376 H.J. Lu <hongjiu.lu@intel.com>
23377
23378 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23379 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23380 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23381 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23382 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23383 version if bit_Fast_Unaligned_Load is set.
23384 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23385 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23386 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23387 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23388 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23389 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23391 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23392 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23393 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23394 to 4.
23395 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23396 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23397 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23398 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23399
23400 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
23401
23402 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23403 instead of #if to avoid a Wundef warning.
23404 * stdlib/tst-limits.c (do_test): Likewise.
23405
23406 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23407 parallel other exception macros.
23408 (fegetenv): Convert from macro to extern inline so that it applies
23409 retroactively to inline functions already seen by the compiler.
23410 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23411
23412 * posix/Makefile (before-compile): Use $(objpfx) for
23413 posix-conf-vars-def.h.
23414
23415 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23416
23417 * posix/getconf.c (main): Use size_t for type of I.
23418 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23419 NSPEC.
23420
23421 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23422 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23423 * posix/posix-envs.def: Likewise.
23424 * sysdeps/posix/sysconf.c: Likewise.
23425 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23426 (specs): Remove array.
23427 * scripts/gen-posix-conf-vars.awk: Support generation of specs
23428 array.
23429
23430 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23431 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23432 (__sysconf): Use CONF_IS_* macros.
23433
23434 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23435 ($(objpfx)posix-conf-vars-def.h): New target.
23436 * posix/posix-conf-vars.list: New file.
23437 * posix/posix-conf-vars.h: New file.
23438 * posix/confstr.c: Include posix-conf-vars.h.
23439 (confstr): Use CONF_IS_* macros.
23440 * posix/posix-envs.def: Include posix-conf-vars.h. Use
23441 CONF_IS_* macros.
23442 * scripts/gen-posix-conf-vars.awk: New file.
23443
23444 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
23445
23446 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23447 fegetround): Add no-op macros to avoid linknamespace issues.
23448
23449 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23450 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23451
23452 * sysdeps/unix/sysv/linux/tile/sysdep.h
23453 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23454 assembly-specific section to avoid a redefinition warning.
23455
23456 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23457 long before casting to pointer to avoid a cast warning.
23458
23459 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
23460
23461 * sysdeps/tile/tilegx/Implies: New file.
23462
23463 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
23464
23465 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23466
23467 2014-12-23 Florian Weimer <fweimer@redhat.com>
23468
23469 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23470
23471 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23472
23473 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23474 not define.
23475 * sysdeps/unix/sysv/linux/utimes.c: Do not include
23476 <kernel-features.h>.
23477 (__utimes) [__NR_utimes]: Make code unconditional.
23478 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23479 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23480 (__ASSUME_UTIMES): Do not undefine.
23481 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23482 (__ASSUME_UTIMES): Likewise.
23483 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23484 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23485 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23486 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23487
23488 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
23489
23490 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23491
23492 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
23493
23494 [BZ #17747]
23495 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23496 alias to weak alias for j0l, y0l.
23497 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23498 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23499
23500 [BZ #17746]
23501 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23502 conversion.
23503
23504 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
23505
23506 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23507 to zero if not already defined.
23508
23509 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23510
23511 [BZ #17724]
23512 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23513 (__kernel_standard_f): Remove. Moved to k_standardf.c.
23514 (__kernel_standard_l): Remove. Moved to k_standardl.c with
23515 (char *) casts added.
23516 * sysdeps/ieee754/k_standardf.c: New file.
23517 * sysdeps/ieee754/k_standardl.c: Likewise.
23518 * math/Makefile (libm-support): Remove k_standard.
23519 (libm-calls): Add k_standard.
23520
23521 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23522
23523 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23524 Optimize to avoid an unnecessary FPCR read.
23525
23526 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23527
23528 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23529 Optimize to reduce FPCR/FPSR accesses.
23530
23531 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23532
23533 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23534 Call libc_fetestexcept_aarch64.
23535
23536 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23537
23538 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23539 Call libc_fesetround_aarch64.
23540
23541 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23542
23543 [BZ #17733]
23544 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23545 (__bind): Do not define as weak alias.
23546 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23547 define.
23548 (__getsockname): Do not define as weak alias.
23549
23550 2014-12-22 Will Newton <will.newton@linaro.org>
23551
23552 * manual/install.texi: Document that we require bison 2.7
23553 or above.
23554 * INSTALL: Regenerate.
23555 * configure.ac: Use AC_CHECK_PROG_VER instead of
23556 AC_PATH_PROG when checking for bison and check for
23557 version 2.7 or above.
23558 * configure: Regenerate.
23559
23560 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
23561
23562 [BZ #17745]
23563 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23564 * sysdeps/tile/ffsll.c (ffsll): To here.
23565
23566 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23567
23568 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
23569
23570 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23571 if not defined.
23572 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23573 definition.
23574 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23575 hidden ___tls_get_addr.
23576 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23577 hidden __tls_get_addr.
23578 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23579 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23580 Likewise.
23581
23582 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
23583
23584 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23585 _dl_init call.
23586
23587 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
23588
23589 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23590 from "call _dl_init@PLT".
23591 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23592
23593 2014-12-21 Anders Kaseorg <andersk@mit.edu>
23594
23595 * manual/search.texi: (Array Sort Function): Clarify stable sorting
23596 guarantees.
23597
23598 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
23599
23600 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23601
23602 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
23603
23604 [BZ #17744]
23605 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23606 strnlen.
23607
23608 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
23609
23610 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23611 of multu on MIPSr6.
23612 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23613 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23614 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23615 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23616 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23617
23618 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
23619
23620 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23621 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23622 (PTR_SUBU): Use subu for mips32r6/mips64r6.
23623 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23624 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23625 mips32r6/mips64r6.
23626 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23627
23628 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
23629
23630 * string/strncat.c (STRNCAT): Simplify implementation.
23631
23632 2014-12-19 David S. Miller <davem@davemloft.net>
23633
23634 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23635 access the quad as both a long double and as a series of 4 words.
23636
23637 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23638 link_map->l_info array access.
23639
23640 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
23641
23642 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23643
23644 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23645 * math/atest-exp2.c (TIMEOUT): Likewise.
23646 * math/atest-sincos.c (TIMEOUT): Likewise.
23647
23648 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23649
23650 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23651 -Wno-error with -fno-builtin-lround.
23652
23653 2014-12-19 Torvald Riegel <triegel@redhat.com>
23654
23655 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23656 Contains futex constants and functions moved over from ...
23657 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
23658 <lowlevellock-futex.h>.
23659 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23660 (lll_timedwait_tid): Add comments and parentheses around macro
23661 arguments.
23662
23663 2014-12-19 Torvald Riegel <triegel@redhat.com>
23664
23665 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23666 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
23667 (__lll_private_flag): Remove.
23668 (lll_futex_wait): Likewise.
23669 (lll_futex_timed_wait): Likewise.
23670 (lll_futex_wake): Likewise.
23671 (lll_futex_requeue): Likewise.
23672 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23673 (__lll_timedwait_tid): Spell out argument names.
23674 (lll_timedwait_tid): Add comments and parentheses around macro
23675 arguments.
23676 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23677 LLL_SHARED and LLL_PRIVATE usable from assembly code.
23678
23679 2014-12-19 Torvald Riegel <triegel@redhat.com>
23680
23681 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23682 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23683 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23684 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23685 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23686 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23687 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23688 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23689 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23690 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23691 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23692 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23693 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23694 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23695 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23696 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23697 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23698 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23699 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23700
23701 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23702
23703 * sysdeps/x86_64/x32/Makefile: New file.
23704
23705 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23706
23707 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23708 1L with (mp_limb_t) 1.
23709
23710 2014-12-17 Roland McGrath <roland@hack.frob.com>
23711
23712 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23713 * nptl/libc_pthread_init.c: ... here.
23714 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23715 * nptl/register-atfork.c: ... here.
23716
23717 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23718 Use pthread_sigmask rather than INTERNAL_SYSCALL.
23719 Use assert_perror to check its return value.
23720 (__gai_create_helper_thread): Likewise.
23721
23722 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23723
23724 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23725
23726 2014-12-17 Joseph Myers <joseph@codesourcery.com>
23727
23728 [BZ #17725]
23729 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23730 __profil_counter.
23731 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23732 Likewise.
23733 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23734 Likewise.
23735 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23736 Likewise.
23737 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23738 (profil_counter): Likewise.
23739 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23740 (profil_counter): Likewise.
23741 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23742 Likewise.
23743 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23744 Likewise.
23745 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23746 (profil_counter): Likewise.
23747 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23748 Likewise.
23749 [!__profil_counter] (profil_counter): Define as weak alias of
23750 __profil_counter.
23751 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23752 (profil_counter): Rename to __profil_counter.
23753 [!__profil_counter] (profil_counter): Define as weak alias of
23754 __profil_counter.
23755 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23756 (profil_counter): Rename to __profil_counter.
23757 [!__profil_counter] (profil_counter): Define as weak alias of
23758 __profil_counter.
23759 * sysdeps/posix/profil.c: Update comment referring to
23760 profil_counter.
23761 (__profil): Use __profil_counter instead of profil_counter.
23762 * sysdeps/posix/sprofil.c (profil_counter): Rename to
23763 __profil_counter. Use __profil_counter_ushort and
23764 __profil_counter_uint in definitions.
23765 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23766 instead of profil_counter_uint and profil_counter_ushort.
23767
23768 [BZ #17722]
23769 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23770 define as weak alias of __inet_makeaddr.
23771 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23772 as weak alias of __inet_addr.
23773 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23774 as weak alias of __inet_pton. Use libc_hidden_weak.
23775 * include/arpa/inet.h (__inet_pton): Declare. Use
23776 libc_hidden_proto.
23777 (inet_makeaddr): Don't use libc_hidden_proto.
23778 (__inet_makeaddr): Declare. Use libc_hidden_proto.
23779 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23780 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
23781 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23782 Remove variable.
23783 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23784 (test-xfail-POSIX/time.h/linknamespace): Likewise.
23785
23786 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
23787
23788 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23789
23790 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23791
23792 * stdio-common/bug-vfprintf-nargs.c (do_test):
23793 Cast value to intptr_t to avoid format warning
23794 for usage with PRIdPTR printing macro.
23795
23796 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23797
23798 * libio/tst-widetext.c (do_test):
23799 Use format type %td instead of %Zd for ptrdiff_t
23800 in order to avoid format warning.
23801
23802 2014-12-17 Andreas Schwab <schwab@suse.de>
23803
23804 * nscd/mem.c (gc): Add size_t cast to match printf format.
23805
23806 2014-12-16 Roland McGrath <roland@hack.frob.com>
23807
23808 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23809 (init): Apply PTR_MANGLE to pointers before storing them.
23810 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23811 before using them.
23812
23813 2014-12-16 Joseph Myers <joseph@codesourcery.com>
23814
23815 [BZ #17719]
23816 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23817 define as weak alias of __memrchr.
23818 (__memrchr): Do not define as strong alias of memrchr.
23819 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23820 Remove variable.
23821 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23822 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23823 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23824
23825 [BZ #17717]
23826 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23827 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
23828 (if_indextoname): Rename to __if_indextoname and define as weak
23829 alias of __if_indextoname. Use libc_hidden_weak.
23830 (if_freenameindex): Rename to __if_freenameindex and define as
23831 weak alias of __if_freenameindex.
23832 (if_nameindex): Rename to __if_nameindex and define as weak alias
23833 of __if_nameindex.
23834 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23835 __if_nametoindex and define as weak alias of __if_nametoindex.
23836 Use libc_hidden_weak.
23837 (if_freenameindex): Rename to __if_freenameindex and define as
23838 weak alias of __if_freenameindex.
23839 (if_nameindex): Rename to __if_nameindex and define as weak alias
23840 of __if_nameindex.
23841 (if_indextoname): Rename to __if_indextoname and define as weak
23842 alias of __if_indextoname. Use libc_hidden_weak.
23843 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23844 __if_nametoindex and define as weak alias of __if_nametoindex.
23845 Use libc_hidden_weak.
23846 (if_freenameindex): Rename to __if_freenameindex and define as
23847 weak alias of __if_freenameindex. Use libc_hidden_weak.
23848 (if_nameindex_netlink): Use __if_freenameindex instead of
23849 if_freenameindex.
23850 (if_nameindex): Rename to __if_nameindex and define as weak alias
23851 of __if_nameindex. Use libc_hidden_weak.
23852 (if_indextoname): Rename to __if_indextoname and define as weak
23853 alias of __if_indextoname. Use libc_hidden_weak.
23854 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23855 libc_hidden_proto.
23856 [!_ISOMAC] (__if_freenameindex): Likewise.
23857 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23858 if_nametoindex.
23859 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23860 variable.
23861 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23862 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23863 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23864 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23865 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23866 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23867 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23868
23869 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23870 Remove variable.
23871 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23872 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23873
23874 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23875
23876 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23877 subscript above bounds'
23878
23879 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23880 bounds.
23881
23882 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
23883
23884 * libio/tst-fopenloc.c: Use test-skeleton.c.
23885
23886 * stdlib/tst-bsearch.c: Use test-skeleton.c.
23887 (entry): Rename to ITEM.
23888 (do_test, comp): Adjust.
23889
23890 * stdio-common/tst-fseek.c: Use test-skeleton.c.
23891
23892 2014-12-16 Torvald Riegel <triegel@redhat.com>
23893
23894 * string/tester.c: Include <libc-internal.h>.
23895 (test_memset): Ignore -Wmemset-transposed-args.
23896
23897 2014-12-16 Torvald Riegel <triegel@redhat.com>
23898
23899 * misc/tst-mntent2.c (do_test): Fix warning.
23900
23901 2014-12-16 Torvald Riegel <triegel@redhat.com>
23902
23903 * elf/tst-unique4lib.cc(a): Mark as used.
23904
23905 2014-12-16 Florian Weimer <fweimer@redhat.com>
23906
23907 [BZ #17630]
23908 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23909 names.
23910
23911 2014-12-16 Allan McRae <allan@archlinux.org>
23912
23913 * stdio-common/Makefile (tests): Re-add bug26.
23914
23915 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
23916
23917 [BZ #17657]
23918 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23919 static array.
23920
23921 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
23922
23923 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23924 (__lll_lock_wait): Likewise.
23925 (__lll_timedlock_wait): Likewise.
23926 (__lll_timedwait_tid): Likewise.
23927 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23928 (__lll_robust_timedlock_wait): Likewise.
23929 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23930 (lll_cond_trylock): Likewise.
23931 (__lll_lock): Likewise.
23932 (__lll_robust_lock): Likewise.
23933 (__lll_cond_lock): Likewise.
23934 (lll_robust_cond_lock): Likewise.
23935 (__lll_timedlock): Likewise.
23936 (__lll_robust_timedlock): Likewise.
23937 (__lll_unlock): Likewise.
23938 (__lll_robust_unlock): Likewise.
23939 (lll_wait_tid): Likewise.
23940 (lll_timedwait_tid): Likewise.
23941
23942 2014-12-15 Torvald Riegel <triegel@redhat.com>
23943
23944 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23945
23946 2014-12-15 Torvald Riegel <triegel@redhat.com>
23947
23948 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23949
23950 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
23951
23952 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23953 * stdio-common/tst-sprintf.c: Likewise.
23954
23955 2014-12-15 Torvald Riegel <triegel@redhat.com>
23956
23957 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23958
23959 2014-12-15 Jeff Law <law@redhat.com>
23960
23961 [BZ #16617]
23962 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23963 on the heap. (CVE-2012-3406)
23964 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23965 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
23966 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23967
23968 2014-12-15 Will Newton <will.newton@linaro.org>
23969
23970 * manual/install.texi: Bump required version of texinfo
23971 to 4.7 from 4.5.
23972 * INSTALL: Regenerated.
23973 * configure.ac: Check for makeinfo version 4.7 and above.
23974 * configure: Regenerated.
23975
23976 2014-12-12 Roland McGrath <roland@hack.frob.com>
23977
23978 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23979 PREFIX, string constant to insert between directory and name.
23980 * sysdeps/posix/shm_open.c: Update caller.
23981 * sysdeps/posix/shm_unlink.c: Likewise.
23982 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23983 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23984 (SEM_SHM_PREFIX): New macro.
23985 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23986 [$(have-thread-library) = no].
23987 * nptl/Makefile (libpthread-routines): Add shm-directory.
23988 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23989 * sysdeps/nptl/shm-directory.h: New file.
23990 * sysdeps/posix/shm-directory.c
23991 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23992 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23993 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23994 INTERNAL_SYSCALL.
23995 (__where_is_shmfs): Function removed.
23996 (mountpoint, defaultmount, defaultdir, __namedsem_once):
23997 Variables removed.
23998 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23999 Use SHM_GET_NAME.
24000 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
24001
24002 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24003 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24004 unconditional for use inside libpthread.
24005 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24006
24007 2014-12-12 Roland McGrath <roland@hack.frob.com>
24008
24009 * nptl/pthread_getaffinity.c: New file.
24010 * nptl/pthread_setaffinity.c: New file.
24011 * nptl/pthread_getname.c: New file.
24012 * nptl/pthread_setname.c: New file.
24013
24014 * nptl/pthread_create.c (START_THREAD_DEFN)
24015 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24016
24017 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
24018 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24019
24020 * resolv/res_send.c (send_vc): Disable warning resplen may
24021 be used uninitialized.
24022
24023 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
24024
24025 * nptl/tst-mutex6.c
24026 (ATTR_NULL): New define checks ATTR against NULL.
24027 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24028 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24029
24030 2014-12-11 James Lemke <jwlemke@codesourcery.com>
24031
24032 [BZ #17581]
24033 * malloc/hooks.c
24034 (mem2mem_check): Revert my previous change.
24035 (malloc_check_get_size): Revert my previous change.
24036 (mem2chunk_check): Revert my previous change.
24037
24038 2014-12-11 Roland McGrath <roland@hack.frob.com>
24039
24040 * sysdeps/posix/shm-directory.c: New file.
24041 * sysdeps/posix/shm-directory.h: New file.
24042 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24043 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24044 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
24045 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24046 Transmute EPERM to EACCES.
24047 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24048 from ...
24049 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
24050 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24051
24052 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24053
24054 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24055 pointer and cast to uintptr_t.
24056 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24057 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24058 Add cast to avoid warning.
24059 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24060
24061 2014-12-11 Joseph Myers <joseph@codesourcery.com>
24062
24063 * nptl/semaphore.h: Move to ...
24064 * sysdeps/pthread/semaphore.h: ... here.
24065 * Makefile (installed-headers): Change nptl/semaphore.h to
24066 sysdeps/pthread/semaphore.h.
24067
24068 2014-12-11 Roland McGrath <roland@hack.frob.com>
24069
24070 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24071 generated error format strings.
24072
24073 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24074 -Wformat-extra-args warnings for scanf formats.
24075 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24076 test of zero-length format (duh).
24077 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24078 corner-case scanf format test.
24079 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24080 generated fprintf format string.
24081 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24082 corner-case sprintf format tests.
24083 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24084 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24085 -Wformat-extra-args warnings throughout.
24086 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24087 (CFLAGS-scanf4.c): Likewise.
24088 (CFLAGS-scanf7.c): Likewise.
24089 (CFLAGS-tst-sprintf.c): Likewise.
24090 (CFLAGS-tst-printf.c): Likewise.
24091 (CFLAGS-tst-printfsz.c): Likewise.
24092
24093 2014-12-11 Joseph Myers <joseph@codesourcery.com>
24094
24095 * include/cpio.h: New file.
24096 * include/fmtmsg.h: Likewise.
24097
24098 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
24099 corresponding format argument to size_t.
24100 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
24101 arguments.
24102 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
24103 corresponding format argument to size_t.
24104 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
24105 arguments.
24106 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
24107 corresponding format argument to size_t.
24108 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24109 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24110 (CFLAGS-tst-mbswcs2.c): Likewise.
24111 (CFLAGS-tst-mbswcs3.c): Likewise.
24112 (CFLAGS-tst-mbswcs4.c): Likewise.
24113 (CFLAGS-tst-mbswcs5.c): Likewise.
24114 (CFLAGS-tst-trans.c): Likewise.
24115
24116 2014-12-11 Roland McGrath <roland@hack.frob.com>
24117
24118 * posix/regexbug1.c (main): Use "%s" format with regerror results,
24119 rather than assuming they won't contain any '%'s.
24120
24121 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
24122
24123 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24124 inhibit_loop_to_libcall to avoid recursive calls.
24125 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24126 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24127
24128 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
24129
24130 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24131 prototype.
24132
24133 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
24134
24135 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24136 integer value instead of boolean.
24137
24138 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
24139
24140 * malloc/malloc.c: Fix powerof2 check.
24141
24142 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24143
24144 * locale/programs/locfile.h (maybe_swap_uint32):
24145 Remove inline and add unused attribute.
24146
24147 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24148
24149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24150 Truncating assembler expression to a .long expression.
24151
24152 2014-12-11 Andreas Schwab <schwab@suse.de>
24153
24154 * elf/rtld.c (struct map_args): Constify str member.
24155 (do_preload): Constify fname argument.
24156
24157 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24158
24159 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24160 constants definition.
24161
24162 2014-12-11 Andreas Schwab <schwab@suse.de>
24163
24164 [BZ #16657]
24165 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24166 FORCE_ELISION instead of DO_ELISION.
24167 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24168 Remove.
24169 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24170 Likewise.
24171
24172 * iconvdata/gconv-modules: Remove duplicate entry.
24173
24174 2014-12-11 Will Newton <will.newton@linaro.org>
24175
24176 Merge gettext 0.19.3 into intl/.
24177
24178 This involves a number of cosmetic changes to comments
24179 and ANSI function definitions and prototypes throughout
24180 all the files. The gettext copyright header is used but
24181 with the date ranges taken from the glibc copy.
24182
24183 * NEWS: Add gettext merge to 2.21.
24184 * intl/bindtextdom.c: Switch to gettext copyright.
24185 Use ANSI definitions and prototypes.
24186 Use gl_* locking primitives rather than __libc_* ones.
24187 Use __builtin_expect rather than __glibc_likely/unlikely.
24188 * intl/dcgettext.c: Switch to gettext copyright.
24189 Use ANSI definitions and prototypes.
24190 * intl/dcigettext.c: Switch to gettext copyright.
24191 Use ANSI definitions and prototypes.
24192 (INTDIV0_RAISES_SIGFPE): New define.
24193 Use gl_* locking primitives rather than __libc_* ones.
24194 Include eval-plural.h instead of plural-eval.c.
24195 Use __builtin_expect rather than __glibc_likely/unlikely.
24196 * intl/dcngettext.c: Switch to gettext copyright.
24197 Use ANSI definitions and prototypes.
24198 * intl/dgettext.c: Likewise.
24199 * intl/dngettext.c: Likewise.
24200 * intl/plural-eval.c: Renamed to...
24201 * intl/eval-plural.h: ...this.
24202 * intl/explodename.c: Switch to gettext copyright.
24203 Use ANSI definitions and prototypes.
24204 (_nl_explode_name): Use strchr instead of __rawmemchr.
24205 * intl/finddomain.c: Switch to gettext copyright.
24206 Use ANSI definitions and prototypes.
24207 Use gl_* locking primitives rather than __libc_* ones.
24208 (_nl_find_domain): Use malloc rather than alloca for
24209 allocation of temporary locale name.
24210 * intl/gettext.c: Switch to gettext copyright.
24211 Use ANSI definitions and prototypes.
24212 * intl/gettextP.h: Switch to gettext copyright.
24213 Use ANSI definitions and prototypes.
24214 Use gl_* locking primitives rather than __libc_* ones.
24215 * intl/gmo.h: Switch to gettext copyright.
24216 (struct sysdep_string): Move struct segment_pair outside of
24217 struct definition.
24218 * intl/hash-string.c: Use ANSI definitions and prototypes.
24219 * intl/hash-string.h: Switch to gettext copyright.
24220 Use ANSI definitions and prototypes.
24221 * intl/l10nflist.c: Switch to gettext copyright.
24222 Use ANSI definitions and prototypes.
24223 (_nl_normalize_codeset): Avoid integer overflow.
24224 * intl/loadinfo.h: Switch to gettext copyright.
24225 Use ANSI definitions and prototypes.
24226 (LIBINTL_DLL_EXPORTED): New define.
24227 (PATH_SEPARATOR): New define.
24228 * intl/loadmsgcat.c: Switch to gettext copyright.
24229 * intl/localealias.c: Switch to gettext copyright.
24230 Use ANSI definitions and prototypes.
24231 (_nl_expand_alias): Use PATH_SEPARATOR.
24232 * intl/ngettext.c: Switch to gettext copyright.
24233 Use ANSI definitions and prototypes.
24234 * intl/plural-exp.c: Likewise.
24235 * intl/plural-exp.h: Switch to gettext copyright.
24236 Use ANSI definitions and prototypes.
24237 (struct expression): Move definition of enum operator outside
24238 of struct definition.
24239 * intl/plural.c: Regenerate.
24240 * intl/plural.y: Switch to gettext copyright.
24241 Use ANSI definitions and prototypes.
24242 Port to bison 3.0.
24243 * intl/textdomain.c: Switch to gettext copyright.
24244 Use ANSI definitions and prototypes.
24245 Use gl_* locking primitives rather than __libc_* ones.
24246
24247 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
24248
24249 * debug/warning-nop.c: Add used atrribute.
24250
24251 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24252
24253 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24254
24255 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24256 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24257 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24258
24259 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24260 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24261
24262 [BZ #17634]
24263 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24264 Undefine after defining function. Define as weak alias of
24265 __wcschr. Use libc_hidden_weak.
24266 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
24267 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24268 (libc_hidden_def): Also define __GI___wcschr alias.
24269 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24270 __wcschr and define as weak alias of __wcschr.
24271 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24272 __wcschr.
24273 [!WCSCHR] (DEFAULT_WCSCHR): Define.
24274 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24275 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
24276 libc_hidden_weak. Do not use libc_hidden_def.
24277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24278 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24279 __GI___wcschr alias.
24280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24281 [IS_IN (libc)] (wcschr): Define as macro expanding to
24282 __redirect_wcschr.
24283 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24284 [IS_IN (libc)] (__wcschr_power6): Likewise.
24285 [IS_IN (libc)] (__wcschr_power7): Likewise.
24286 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
24287 instead of wcschr.
24288 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24289 __libc_wcschr.
24290 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24291 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24292 __wcschr and define as weak alias of __wcschr. Use
24293 libc_hidden_builtin_def.
24294 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24295 as weak alias of __wcschr. Use libc_hidden_weak.
24296 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24297 wcschr.
24298 * time/era.c (_nl_init_era_entries): Likewise.
24299 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24300 variable.
24301 (test-xfail-XPG3/time.h/linknamespace): Likewise.
24302 (test-xfail-XPG4/time.h/linknamespace): Likewise.
24303
24304 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24305
24306 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24307 format for long int variable.
24308
24309 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
24310
24311 [BZ #10672]
24312 * manual/search.texi: (Array Sort Function): Remove claim how to make
24313 qsort stable.
24314
24315 2014-12-10 Andreas Schwab <schwab@suse.de>
24316
24317 [BZ #12847]
24318 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24319 user-controlled locks.
24320
24321 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
24322
24323 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24324 register.
24325
24326 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24327
24328 * configure.ac (--disable-werror): New configure option.
24329 (enable_werror): New AC_SUBST.
24330 * configure: Regenerated.
24331 * config.make.in (enable-werror): New variable.
24332 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24333 -Wno-error=undef.
24334 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24335 * manual/install.texi (Configuring and compiling): Document
24336 --disable-werror.
24337 * INSTALL: Regenerated.
24338 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24339 (CFLAGS-tst-chk2.c): Likewise.
24340 (CFLAGS-tst-chk3.c): Likewise.
24341 (CFLAGS-tst-chk4.cc): Likewise.
24342 (CFLAGS-tst-chk5.cc): Likewise.
24343 (CFLAGS-tst-chk6.cc): Likewise.
24344 (CFLAGS-tst-lfschk1.c): Likewise.
24345 (CFLAGS-tst-lfschk2.c): Likewise.
24346 (CFLAGS-tst-lfschk3.c): Likewise.
24347 (CFLAGS-tst-lfschk4.cc): Likewise.
24348 (CFLAGS-tst-lfschk5.cc): Likewise.
24349 (CFLAGS-tst-lfschk6.cc): Likewise.
24350
24351 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24352 (main): Disable -Wdeprecated-declarations around calls to
24353 register_printf_function.
24354
24355 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24356 (do_test): Disable -Wdiv-by-zero around some calls to
24357 fwrite_unlocked and fread_unlocked.
24358
24359 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24360 (DIAG_POP_NEEDS_COMMENT): Likewise.
24361 (_DIAG_STR1): Likewise.
24362 (_DIAG_STR): Likewise.
24363 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24364 * stdio-common/bug21.c: Include <libc-internal.h>.
24365 (do_test): Disable -Wformat around call to sscanf.
24366 * stdio-common/scanf14.c: Include <libc-internal.h>.
24367 (main): Disable -Wformat around some calls to scanf functions.
24368
24369 2014-12-09 Torvald Riegel <triegel@redhat.com>
24370
24371 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24372
24373 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24374
24375 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24376 stack variable alignment.
24377
24378 2014-12-06 Joseph Myers <joseph@codesourcery.com>
24379
24380 [BZ #17682]
24381 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24382 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24383 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24384 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24385 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24386 __getrlimit instead of getrlimit.
24387 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24388 __gettimeofday instead of gettimeofday.
24389 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24390 Likewise.
24391 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24392 Likewise.
24393 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24394 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24395 Remove variable.
24396 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24397 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24398
24399 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24400
24401 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24402 for wide-character tests.
24403
24404 2014-12-04 Roland McGrath <roland@hack.frob.com>
24405
24406 * io/openat64.c: #include <libc-internal.h>
24407 (__openat64): Prototypify. Use ignore_value on MODE.
24408 * io/openat.c: Likewise.
24409 * misc/reboot.c: #include <libc-internal.h>
24410 (reboot): Prototypify. Use ignore_value on HOWTO.
24411 * misc/ptrace.c: #include <libc-internal.h>
24412 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
24413
24414 2014-12-04 Joseph Myers <joseph@codesourcery.com>
24415
24416 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24417 XPG4, UNIX98 and XOPEN2K.
24418 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24419 Remove variable.
24420 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24421
24422 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24423
24424 * libio/fileops.c: Use ISO C style for function definitions.
24425 * libio/iofopen.c: Likewise.
24426 * libio/wfileops.c: Likewise.
24427
24428 [BZ #17653]
24429 * libio/fileops.c (_IO_new_file_underflow): Unset cached
24430 offset on EOF.
24431 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24432 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24433 (fgets_func): Function pointer to fgets and fgetws.
24434 (do_ftell_test): Add test to verify ftell value after read
24435 EOF.
24436 (do_test): Set fgets_func.
24437
24438 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24439 O_TRUNC flag for w and w+ modes.
24440 (do_rewind_test): Likewise.
24441 (do_ftell_test): Likewise.
24442 (do_write_test): Likewise.
24443
24444 [BZ #17647]
24445 * libio/fileops.c (do_ftell): Seek only when there are
24446 unflushed writes.
24447 * libio/wfileops.c (do_ftell_wide): Likewise.
24448 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24449 test case.
24450 (do_one_test): Call it.
24451
24452 2014-12-03 Joseph Myers <joseph@codesourcery.com>
24453
24454 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24455 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24456 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24457 Remove variable.
24458 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24459 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24460 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24461
24462 2014-12-02 Joseph Myers <joseph@codesourcery.com>
24463
24464 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24465 Remove variable.
24466 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24467
24468 [BZ #17668]
24469 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24470 as weak alias of __getifaddrs. Use libc_hidden_weak.
24471 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24472 __freeifaddrs. Use libc_hidden_weak.
24473 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24474 define as weak alias of __getifaddrs. Use libc_hidden_weak.
24475 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24476 __freeifaddrs. Use libc_hidden_weak.
24477 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24478 __getifaddrs and define as weak alias of __getifaddrs. Use
24479 libc_hidden_weak.
24480 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24481 __freeifaddrs. Use libc_hidden_weak.
24482 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24483 Remove variable.
24484 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24485 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24486
24487 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
24488
24489 [BZ #17601]
24490 * sysdeps/mips/start.S (__start): Use indirect jump to call
24491 __libc_start_main.
24492
24493 2014-12-02 Joseph Myers <joseph@codesourcery.com>
24494
24495 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24496
24497 * nptl/tst-mutex1.c: Include <stdbool.h>.
24498 [!ATTR] (ATTR_NULL): New macro.
24499 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24500 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24501 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24502
24503 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24504 to char *.
24505
24506 [BZ #17665]
24507 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24508 Change conditional to [__USE_MISC].
24509
24510 [BZ #17664]
24511 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24512 fgets_unlocked.
24513 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24514 __fgets_unlocked.
24515 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24516 fgets_unlocked.
24517 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24518 Remove variable.
24519 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24520 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24521 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24522 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24523 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24524 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24525 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24526 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24527 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24528
24529 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24530
24531 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24532
24533 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24534 Remove strpbrk objects.
24535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24536 (__libc_ifunc_impl_list): Remove strpbrk implementation.
24537 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24538 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24539 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24540 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24541
24542 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24543 Remove strcspn objects.
24544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24545 (__libc_ifunc_impl_list): Remove strcspn implementation.
24546 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24547 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24548 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24549 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24550
24551 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24552 Remove strspn objetcs.
24553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24554 (__libc_ifunc_impl_list): Remove strspn implementation.
24555 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24556 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24557 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24558 * sysdeps/powerpc/powerpc64/strspn.S: New file.
24559
24560 2014-12-01 James Lemke <jwlemke@codesourcery.com>
24561
24562 [BZ #17581]
24563 * malloc/hooks.c
24564 (mem2mem_check): Add a terminator to the chain of checking blocks.
24565 (malloc_check_get_size): Use it here.
24566 (mem2chunk_check): Ditto.
24567
24568 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24569
24570 * sysdeps/powerpc/powerpc64/strtok.S: New file.
24571 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24572
24573 2014-11-29 Carlos O'Donell <carlos@redhat.com>
24574
24575 * bits/ioctl-types.h: Indent preprocessor directives correctly.
24576
24577 * nptl/nptl-init.c: Include libc-internal.h.
24578 (__pthread_initialize_minimal_internal): Use ROUND_UP.
24579
24580 * elf/ldconfig.c (search_dir): Expand comment.
24581
24582 2014-11-29 Joseph Myers <joseph@codesourcery.com>
24583
24584 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24585 variable.
24586 (linknamespace-symlist-stdlibs-tests): Likewise.
24587 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24588 instead of $(objpfx)symlist-stdlibs.
24589 (linknamespace-libs-isoc): New variable.
24590 (linknamespace-libs): Use $(linknamespace-libs-isoc).
24591 (linknamespace-libs-ISO): New variable.
24592 (linknamespace-libs-ISO99): Likewise.
24593 (linknamespace-libs-ISO11): Likewise.
24594 (linknamespace-libs-XPG3): Likewise.
24595 (linknamespace-libs-XPG4): Likewise.
24596 (linknamespace-libs-POSIX): Likewise.
24597 (linknamespace-libs-UNIX98): Likewise.
24598 (linknamespace-libs-XOPEN2K): Likewise.
24599 (linknamespace-libs-POSIX2008): Likewise.
24600 (linknamespace-libs-XOPEN2K8): Likewise.
24601 ($(objpfx)symlist-stdlibs): Replace by
24602 $(linknamespace-symlist-stdlibs-tests). Use
24603 $(linknamespace-libs-$*) as set of libraries.
24604 ($(linknamespace-header-tests)): Update dependencies. Use
24605 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24606 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24607 * conform/linknamespace.pl: Remove comment about considering
24608 definitions of symbols from irrelevant libraries.
24609
24610 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
24611
24612 [BZ #13862]
24613 * elf/dl-tls.c: Include <atomic.h>.
24614 (oom): Remove #ifdef SHARED/#endif.
24615 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24616 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
24617 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24618 big enough.
24619 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24620 * nptl/Makefile (tests): Add tst-stack4.
24621 (modules-names): Add tst-stack4mod.
24622 ($(objpfx)tst-stack4): New.
24623 (tst-stack4mod.sos): Likewise.
24624 ($(objpfx)tst-stack4.out): Likewise.
24625 ($(tst-stack4mod.sos)): Likewise.
24626 (clean): Likewise.
24627 * nptl/tst-stack4.c: New file.
24628 * nptl/tst-stack4mod.c: Likewise.
24629
24630 2014-11-27 J. Brown <jb999@gmx.de>
24631
24632 * sysdeps/x86/bits/string.h: Add recent CPUs.
24633
24634 2014-11-27 Joseph Myers <joseph@codesourcery.com>
24635
24636 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24637 sigblock.
24638
24639 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24640 feof.
24641
24642 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24643 variable.
24644
24645 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
24646
24647 * nscd/connections.c: Include libc-internal.h because of macro
24648 usage ignore_value.
24649
24650 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24651
24652 * string/bits/string3.h (__warn_memset_zero_len): Don't
24653 declare for gcc newer than 5.0.
24654 (memset): Don't test for zero-length __LEN for gcc newer than
24655 5.0.
24656
24657 2014-11-27 Joseph Myers <joseph@codesourcery.com>
24658
24659 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24660 size_t for %zu format.
24661
24662 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24663 difference, not %ju.
24664
24665 2014-11-26 Joseph Myers <joseph@codesourcery.com>
24666
24667 * include/libc-internal.h (ignore_value): New macro.
24668 * nscd/connections.c (restart): Wrap calls to setuid and setgid
24669 with ignore_value.
24670
24671 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24672 definition.
24673
24674 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24675 pthread_cleanup_push to void *.
24676
24677 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24678 Undefine.
24679
24680 [BZ #16619]
24681 [BZ #16740]
24682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24683 instead of 1L << 52.
24684
24685 * libio/bug-rewind.c (do_test): Check fwscanf return values.
24686 * libio/bug-rewind2.c (do_test): Likewise.
24687
24688 * debug/test-stpcpy_chk-ifunc.c: Remove file.
24689 * debug/test-strcpy_chk-ifunc.c: Likewise.
24690 * wcsmbs/test-wcschr-ifunc.c: Likewise.
24691 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24692 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24693 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24694 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24695 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24696 * Rules [$(multi-arch) = no] (tests): Do not filter out
24697 $(tests-ifunc).
24698 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24699 * debug/Makefile (tests-ifunc): Remove variable.
24700 (tests): Do not add $(tests-ifunc).
24701 * wcsmbs/Makefile (tests-ifunc): Remove variable.
24702 (tests): Do not add $(tests-ifunc).
24703 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24704 [TEST_IFUNC]: Remove conditionals.
24705 * string/test-string.h (TEST_IFUNC): Remove macro.
24706 [TEST_IFUNC]: Remove conditionals.
24707
24708 * string/test-strchr.c [!WIDE] (L): New macro.
24709 [WIDE] (L): Likewise.
24710 (check1): Use CHAR instead of char. Use L on string and character
24711 constants.
24712
24713 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
24714
24715 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24716 tests.
24717 * sysdeps/powerpc/bits/atomic.h
24718 (__arch_atomic_exchange_and_add_32_acq): Add definition.
24719 (__arch_atomic_exchange_and_add_32_rel): Likewise.
24720 (atomic_exchange_and_add_acq): Likewise.
24721 (atomic_exchange_and_add_rel): Likewise.
24722 * sysdeps/powerpc/powerpc32/bits/atomic.h
24723 (__arch_atomic_exchange_and_add_64_acq): Add definition.
24724 (__arch_atomic_exchange_and_add_64_rel): Likewise.
24725 * sysdeps/powerpc/powerpc64/bits/atomic.h
24726 (__arch_atomic_exchange_and_add_64_acq): Add definition.
24727 (__arch_atomic_exchange_and_add_64_rel): Likewise.
24728
24729 2014-11-26 Torvald Riegel <triegel@redhat.com>
24730
24731 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24732 Change synchronization of __sched_fifo_min_prio and
24733 __sched_fifo_max_prio.
24734 * nptl/pthread_mutexattr_getprioceiling.c
24735 (pthread_mutexattr_getprioceiling): Likewise.
24736 * nptl/pthread_mutexattr_setprioceiling.c
24737 (pthread_mutexattr_setprioceiling): Likewise.
24738 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24739 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24740 Likewise.
24741
24742 2014-11-26 Joseph Myers <joseph@codesourcery.com>
24743
24744 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24745 void.
24746
24747 2014-11-25 Joseph Myers <joseph@codesourcery.com>
24748
24749 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24750 third argument const.
24751
24752 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
24753
24754 fnmatch: work around GCC compiler warning bug with uninit var
24755 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24756 This works around a bug with x86-64 GCC 4.9.2 and earlier
24757 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24758 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24759 used uninitialized in this function [-Wmaybe-uninitialized]".
24760
24761 2014-11-25 Joseph Myers <joseph@codesourcery.com>
24762
24763 * posix/bug-regex31.c (main): Return RES not 0.
24764
24765 2014-11-25 Anton Blanchard <anton@samba.org>
24766
24767 * sysdeps/powerpc/bits/atomic.h
24768 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24769
24770 2014-11-24 Sterling Augustine <saugustine@google.com>
24771
24772 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24773
24774 2014-11-24 Ryan Cumming <etaoins@gmail.com>
24775
24776 [BZ #17608]
24777 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24778
24779 2014-11-24 Joseph Myers <joseph@codesourcery.com>
24780
24781 [BZ #17633]
24782 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24783 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24784 variable.
24785 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24786 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24787
24788 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
24789
24790 * string/strncpy.c (strncpy): Improve performance by using memset.
24791
24792 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
24793
24794 * string/strcpy.c (strcpy):
24795 Improve performance by using strlen and memcpy.
24796
24797 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
24798
24799 * string/strcoll_l.c (get_next_seq): __always_inline.
24800 * string/strcoll_l.c (do_compare): __always_inline.
24801
24802 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24803
24804 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24805 defined.
24806 * include/mqueue.h: Likewise.
24807 * include/stdlib.h: Likewise.
24808
24809 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24810 (get_null_defines): Adjust.
24811 * sunrpc/Makefile: Adjust comment.
24812 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24813 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24814 (CFLAGS-interp.c): Likewise.
24815 (CFLAGS-ldconfig.c): Likewise.
24816 (CPPFLAGS-.os): Likewise.
24817 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24818 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24819 * extra-modules.mk (extra-modules.mk): Likewise.
24820 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24821 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24822 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24823 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24824 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24825 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24826 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24827 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24828 * iconvdata/Makefile (CPPFLAGS): Likewise.
24829 (cpp-srcs-left): Add libof for all iconvdata routines.
24830 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24831 * include/assert.h: Likewise.
24832 * include/ctype.h: Likewise.
24833 * include/errno.h: Likewise.
24834 * include/libc-symbols.h: Likewise.
24835 * include/math.h: Likewise.
24836 * include/netdb.h: Likewise.
24837 * include/resolv.h: Likewise.
24838 * include/stdio.h: Likewise.
24839 * include/stdlib.h: Likewise.
24840 * include/string.h: Likewise.
24841 * include/sys/stat.h: Likewise.
24842 * include/wctype.h: Likewise.
24843 * intl/l10nflist.c: Likewise.
24844 * libidn/idn-stub.c: Likewise.
24845 * libio/libioP.h: Likewise.
24846 * nptl/libc_multiple_threads.c: Likewise.
24847 * nptl/pthreadP.h: Likewise.
24848 * posix/regex_internal.h: Likewise.
24849 * resolv/res_hconf.c: Likewise.
24850 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24851 * sysdeps/arm/memmove.S: Likewise.
24852 * sysdeps/arm/sysdep.h: Likewise.
24853 * sysdeps/generic/_itoa.h: Likewise.
24854 * sysdeps/generic/symbol-hacks.h: Likewise.
24855 * sysdeps/gnu/errlist.awk: Likewise.
24856 * sysdeps/gnu/errlist.c: Likewise.
24857 * sysdeps/i386/i586/memcpy.S: Likewise.
24858 * sysdeps/i386/i586/memset.S: Likewise.
24859 * sysdeps/i386/i686/memcpy.S: Likewise.
24860 * sysdeps/i386/i686/memmove.S: Likewise.
24861 * sysdeps/i386/i686/mempcpy.S: Likewise.
24862 * sysdeps/i386/i686/memset.S: Likewise.
24863 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24864 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24865 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24866 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24867 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24868 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24869 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24870 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24871 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24873 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24874 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24875 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24876 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24877 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24878 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24879 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24880 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24881 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24882 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24883 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24884 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24885 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24886 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24887 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24888 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24889 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24890 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24891 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24892 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24893 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24894 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24896 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24897 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24898 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24899 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24900 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24901 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24902 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24903 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24904 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24905 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24906 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24907 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24908 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24909 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24910 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24911 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24912 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24913 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24914 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24915 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24916 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24917 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24918 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24919 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24920 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24921 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24922 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24923 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24924 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24925 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24926 * sysdeps/nptl/bits/libc-lock.h: Likewise.
24927 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24928 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24929 * sysdeps/posix/closedir.c: Likewise.
24930 * sysdeps/posix/opendir.c: Likewise.
24931 * sysdeps/posix/readdir.c: Likewise.
24932 * sysdeps/posix/rewinddir.c: Likewise.
24933 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24934 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24935 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24936 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24937 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24939 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24940 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24941 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24942 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24943 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24944 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24945 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24946 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24947 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24948 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24949 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24950 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24951 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24952 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24953 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24954 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24955 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24956 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24957 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24958 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24959 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24960 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24961 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24968 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24969 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24970 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24971 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24972 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24973 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24974 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24975 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24976 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24977 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24978 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24979 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24980 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24981 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24982 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24983 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24984 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24985 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24986 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24987 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24988 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24989 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24990 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24991 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24992 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24993 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24994 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24995 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24996 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24997 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24998 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24999 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25000 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25001 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25002 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25003 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25004 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25005 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25006 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25007 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25008 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25009 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25010 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25011 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25012 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25013 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25014 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25015 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25016 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25017 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25018 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25019 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25020 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25021 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25022 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25023 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25024 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25025 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25026 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25027 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25029 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25030 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25031 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25032 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25033 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25034 * sysdeps/unix/alpha/sysdep.S: Likewise.
25035 * sysdeps/unix/alpha/sysdep.h: Likewise.
25036 * sysdeps/unix/make-syscalls.sh: Likewise.
25037 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25038 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25039 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25040 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25041 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25042 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25043 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25044 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25045 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25046 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25047 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25048 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25049 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25050 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25051 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25052 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25053 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25054 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25055 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25056 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25057 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25058 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25059 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25060 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25061 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25062 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25063 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25066 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25067 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25068 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25071 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25073 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25074 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25075 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25076 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25077 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25078 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25079 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25080 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25081 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25084 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25087 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25088 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25089 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25090 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25091 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25092 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25093 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25095 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25096 * sysdeps/x86_64/memcpy.S: Likewise.
25097 * sysdeps/x86_64/memmove.c: Likewise.
25098 * sysdeps/x86_64/memset.S: Likewise.
25099 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25100 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25101 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25102 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25103 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25104 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25105 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25106 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25107 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25108 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25109 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25110 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25111 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25112 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25113 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25114 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25115 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25116 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25117 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25118 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25119 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25120 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25121 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25122 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25123 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25124 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25125 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25126 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25127 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25128 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25129 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25130 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25131 * sysdeps/x86_64/strcmp.S: Likewise.
25132
25133 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25134
25135 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25136 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25137 * elf/rtld-Rules: Likewise.
25138 * elf/setup-vdso.h: Likewise.
25139 * include/assert.h: Likewise.
25140 * include/bits/stdlib-float.h: Likewise.
25141 * include/errno.h: Likewise.
25142 * include/sys/stat.h: Likewise.
25143 * include/unistd.h: Likewise.
25144 * sysdeps/aarch64/setjmp.S: Likewise.
25145 * sysdeps/alpha/setjmp.S: Likewise.
25146 * sysdeps/arm/__longjmp.S: Likewise.
25147 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25148 * sysdeps/arm/setjmp.S: Likewise.
25149 * sysdeps/arm/sysdep.h: Likewise.
25150 * sysdeps/generic/_itoa.h: Likewise.
25151 * sysdeps/generic/dl-sysdep.h: Likewise.
25152 * sysdeps/generic/ldsodefs.h: Likewise.
25153 * sysdeps/i386/dl-tls.h: Likewise.
25154 * sysdeps/i386/setjmp.S: Likewise.
25155 * sysdeps/m68k/setjmp.c: Likewise.
25156 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25157 * sysdeps/mach/hurd/opendir.c: Likewise.
25158 * sysdeps/posix/getcwd.c: Likewise.
25159 * sysdeps/posix/opendir.c: Likewise.
25160 * sysdeps/posix/profil.c: Likewise.
25161 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25162 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25163 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25164 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25165 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25166 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25167 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25168 * sysdeps/s390/dl-tls.h: Likewise.
25169 * sysdeps/s390/s390-32/setjmp.S: Likewise.
25170 * sysdeps/s390/s390-64/setjmp.S: Likewise.
25171 * sysdeps/sh/sh3/setjmp.S: Likewise.
25172 * sysdeps/sh/sh4/setjmp.S: Likewise.
25173 * sysdeps/unix/alpha/sysdep.h: Likewise.
25174 * sysdeps/unix/arm/sysdep.S: Likewise.
25175 * sysdeps/unix/i386/sysdep.S: Likewise.
25176 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25177 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25178 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25179 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25180 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25181 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25182 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25183 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25184 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25185 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25186 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25187 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25188 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25191 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25192 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25193 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25194 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25195 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25196 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25198 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25199 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25200 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25201 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25203 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25204 * sysdeps/x86_64/setjmp.S: Likewise.
25205
25206 * include/math.h: Use IS_IN instead of IS_IN_libm.
25207 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25211 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25212 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25219 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25221 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25223 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25224 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25227 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25228 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25229 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25230 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25231 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25232 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25233 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25234 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25235 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25236 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25237 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25238 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25239 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25241 Likewise.
25242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25243 Likewise.
25244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25245 Likewise.
25246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25247 Likewise.
25248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25249 Likewise.
25250 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25251 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25252 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25253 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25254 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25255 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25261 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25262 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25263 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25264 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25265 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25266 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25267 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25268 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25269 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25270 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25271 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25272 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25274 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25276 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25277
25278 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25279 * nptl/pthreadP.h: Likewise.
25280 * nptl_db/structs.def: Likewise.
25281 * sysdeps/arm/sysdep.h: Likewise.
25282 * sysdeps/nptl/bits/libc-lock.h: Likewise.
25283 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25284 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25285 * sysdeps/unix/alpha/sysdep.h: Likewise.
25286 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25287 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25288 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25289 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25290 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25291 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25292 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25293 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25294 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25295 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25296 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25297 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25298 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25299 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25304 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25305 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25306 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25307 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25308 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25309 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25310 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25311 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25312
25313 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25314 * nptl/pthreadP.h: Likewise.
25315 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25316 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25317 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25318 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25319 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25320 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25321 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25322 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25323 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25324 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25325 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25326 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25328 Likewise.
25329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25330 Likewise.
25331 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25333 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25336 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25337 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25338 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25339
25340 * dlfcn/dladdr.c: Use IS_IN.
25341 * dlfcn/dladdr1.c: Likewise.
25342 * dlfcn/dlclose.c: Likewise.
25343 * dlfcn/dlerror.c: Likewise.
25344 * dlfcn/dlinfo.c: Likewise.
25345 * dlfcn/dlmopen.c: Likewise.
25346 * dlfcn/dlopen.c: Likewise.
25347 * dlfcn/dlsym.c: Likewise.
25348 * dlfcn/dlvsym.c: Likewise.
25349
25350 * include/ifaddrs.h: Use IS_IN.
25351 * inet/check_pf.c: Likewise.
25352 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25353 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25354
25355 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25356 IS_IN_ldconfig.
25357 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25358 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25359
25360 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25361 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25362 IS_IN (libc).
25363
25364 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25365
25366 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25367 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25368 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25369 * include/libc-symbols.h (IS_IN_LIB): New macro.
25370 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25371 * include/netdb.h: Likewise.
25372 * include/stap-probe.h: Remove all uses of IN_LIB.
25373
25374 * Makeconfig (module-cppflags-real): Define MODULE_NAME
25375 instead of IN_MODULE.
25376 * include/libc-symbols.h (IN_MODULE): Define using
25377 MODULE_NAME.
25378 (PASTE_NAME, PASTE_NAME1): New macros.
25379 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25380 of IN_LIB.
25381 (STAP_PROBE_ASM): Likewise.
25382
25383 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
25384
25385 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25386 __mach_init in dlopened libc.
25387
25388 2014-11-22 Mike Frysinger <vapier@gentoo.org>
25389
25390 * sysdeps/arm/preconfigure.ac: Delete EABI check.
25391 * sysdeps/arm/preconfigure: Regenerate.
25392
25393 2014-11-21 Roland McGrath <roland@hack.frob.com>
25394
25395 * nptl/pthread_create.c (__pthread_create_2_1): Set
25396 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25397 when copying values from IATTR into PD.
25398
25399 2014-11-21 Will Newton <will.newton@linaro.org>
25400 Andrew Pinski <andrew.pinski@caviumnetworks.com>
25401
25402 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25403 Refactor inline-asm. Also add comment.
25404
25405 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25406 ElfW macro instead of hardcoded Elf64 types.
25407 (la_aarch64_gnu_pltenter): Likewise.
25408 * sysdeps/aarch64/dl-machine.h
25409 (elf_machine_runtime_setup): Use ElfW(Addr).
25410
25411 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25412 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25413 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25414 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25415 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25416 (R_AARCH64_TLS_DTPMOD64): Rename to ..
25417 (R_AARCH64_TLS_DTPMOD): This.
25418 (R_AARCH64_TLS_DTPREL64): Rename to ...
25419 (R_AARCH64_TLS_DTPREL): This.
25420 (R_AARCH64_TLS_TPREL64): Rename to ...
25421 (R_AARCH64_TLS_TPREL): This.
25422 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25423 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25424 R_AARCH64_TLS_TPREL64.
25425 (elf_machine_rela): Likewise.
25426
25427 2014-11-21 Torvald Riegel <triegel@redhat.com>
25428
25429 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25430 by setting it to 0. 64b atomics are not supported currently.
25431
25432 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25433
25434 [BZ #16469]
25435 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25436 search domain names.
25437
25438 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25439
25440 [BZ #16469]
25441 * NEWS: Update.
25442 * resolv/res_query.c (__libc_res_nquerydomain): Retain
25443 trailing dot.
25444 * posix/tst-getaddrinfo5.c: New.
25445 * posix/Makefile (tests): Add it.
25446
25447 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25448
25449 [BZ #14498]
25450 * NEWS: Fixed.
25451 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25452 after parsing line but before break_if_match.
25453 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25454 if there is a protocol mismatch.
25455
25456 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25457
25458 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25459 because the potential race is on the user-supplied stream.
25460
25461 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25462
25463 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25464 string literal if not passed a buffer.
25465 * manual/job.texi (ctermid): Update reasoning, note deviation
25466 from posix, suggest mtasurace when not passed a buffer, for
25467 future non-preliminary safety notes.
25468
25469 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25470
25471 * manual/users.texi (cuserid): Fix MT-Safety note for the case
25472 of not passing it a buffer.
25473 Reported by Peng Haitao.
25474
25475 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25476
25477 * manual/Makefile ($(objpfx)stamp-summary): Require
25478 check-safety.sh to pass.
25479 * manual/check-safety.sh: Wish for verification that every
25480 @deftypefn and @deftypefun is followed by a @safety remark.
25481
25482 2014-11-20 Roland McGrath <roland@hack.frob.com>
25483
25484 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25485
25486 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25487 PTHREAD_CANCEL_ASYNCHRONOUS.
25488 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25489 send SIGCANCEL.
25490
25491 * nptl/default-sched.h: New file.
25492 * sysdeps/unix/sysv/linux/default-sched.h: New file.
25493 * nptl/pthread_create.c: Include it.
25494 (__pthread_create_2_1): Use collect_default_sched instead of making
25495 Linux syscalls here directly.
25496
25497 2014-11-20 Torvald Riegel <triegel@redhat.com>
25498
25499 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25500 __pthread_once): Use C11 atomics.
25501
25502 2014-11-20 Torvald Riegel <triegel@redhat.com>
25503
25504 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25505
25506 2014-11-20 Torvald Riegel <triegel@redhat.com>
25507
25508 * include/atomic.h (__atomic_link_error, __atomic_check_size,
25509 atomic_thread_fence_acquire, atomic_thread_fence_release,
25510 atomic_thread_fence_seq_cst, atomic_load_relaxed,
25511 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25512 atomic_compare_exchange_weak_relaxed,
25513 atomic_compare_exchange_weak_acquire,
25514 atomic_compare_exchange_weak_release,
25515 atomic_exchange_acquire, atomic_exchange_release,
25516 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25517 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25518 atomic_fetch_and_acquire,
25519 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25520
25521 2014-11-20 Torvald Riegel <triegel@redhat.com>
25522
25523 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25524 USE_ATOMIC_COMPILER_BUILTINS): Define.
25525 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25526 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25527 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25528 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25529 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25530 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25531 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25532 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25533 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25534 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25535 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25536 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25537 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25538 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25539 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25540 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25541 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25542 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25543 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25544 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25545 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25546 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25547 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25548 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25549 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25550 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25551 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25552 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25553 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25554 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25555 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25556 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25557 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25558 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25559 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25560 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25561 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25562 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25563 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25564 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25565
25566 2014-11-19 Roland McGrath <roland@hack.frob.com>
25567
25568 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25569 the sched_priority value here. It was already checked when the user
25570 called pthread_attr_setschedparam.
25571
25572 * nptl/tst-bad-schedattr.c: New file.
25573 * nptl/Makefile (tests): Add it.
25574
25575 2014-11-19 Carlos O'Donell <carlos@redhat.com>
25576 Florian Weimer <fweimer@redhat.com>
25577 Joseph Myers <joseph@codesourcery.com>
25578 Adam Conrad <adconrad@0c3.net>
25579 Andreas Schwab <schwab@suse.de>
25580 Brooks <bmoses@google.com>
25581
25582 [BZ #17625]
25583 * wordexp-test.c (__dso_handle): Add prototype.
25584 (__register_atfork): Likewise.
25585 (__app_register_atfork): New function.
25586 (registered_forks): New global.
25587 (register_fork): New function.
25588 (test_case): Add 3 new tests for WRDE_CMDSUB.
25589 (main): Call __app_register_atfork.
25590 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25591 fork count is non-zero fail the test.
25592 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25593 is set.
25594 (parse_dollars): Remove check for WRDE_NOCMD.
25595 (parse_dquote): Likewise.
25596
25597 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25598
25599 * Makeconfig (built-modules): List non-library modules to be
25600 built.
25601 (module-cppflags): Include libc-modules.h for
25602 everything except shlib-versions.v.i.
25603 (CPPFLAGS): Use it.
25604 (before-compile): Add libc-modules.h.
25605 ($(common-objpfx)libc-modules.h,
25606 $(common-objpfx)libc-modules.stmp): New targets.
25607 (common-generated): Add libc-modules.h and libc-modules.stmp.
25608 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25609 * include/libc-symbols.h: Don't include libc-modules.h.
25610 * include/libc-modules.h: Remove file.
25611 * scripts/gen-libc-modules.awk: New script to generate
25612 libc-modules.h.
25613 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25614 Depend on libc-modules.stmp.
25615
25616 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25617
25618 * Makeconfig (in-module): Get value of libof set for the
25619 translation unit.
25620 (CPPFLAGS): Use $(in-module).
25621 * Makerules: Don't suffix routine names for nonlib.
25622 * include/libc-modules.h: New file.
25623 * include/libc-symbols.h: Include libc-modules.h
25624 (IS_IN): New macro to replace IS_IN_* macros.
25625 * elf/Makefile: Set libof-* for each routine.
25626 * elf/rtld-Rules: Likewise.
25627 * extra-modules.mk: Likewise.
25628 * iconv/Makefile: Likewise.
25629 * iconvdata/Makefile: Likewise.
25630 * locale/Makefile: Likewise.
25631 * malloc/Makefile: Likewise.
25632 * nss/Makefile: Likewise.
25633 * sysdeps/gnu/Makefile: Likewise.
25634 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25635 * sysdeps/unix/sysv/linux/Makefile: Likewise.
25636 * sysdeps/s390/s390-64/Makefile: Likewise.
25637 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
25638 CPPFLAGS for nscd instead of nonlib.
25639
25640 2014-11-18 Roland McGrath <roland@hack.frob.com>
25641
25642 * nptl/createthread.c: New file.
25643
25644 * nptl/createthread.c: Moved ...
25645 * sysdeps/unix/sysv/linux/createthread.c: ... here.
25646
25647 * nptl/createthread.c: Add proper top-line comment.
25648 (do_clone): Folded into ...
25649 (create_thread): ... here. Take new arguments STOPPED_START and
25650 THREAD_RAN. Always set PD->stopped_start to something here. Don't
25651 increment __nptl_threads, do event-reporting logic, do
25652 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25653 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
25654 resource cleanup if sched_setaffinity or sched_setscheduler fails,
25655 just send SIGCANCEL.
25656 * nptl/pthread_create.c: Forward-declare create_thread before
25657 including createthread.c.
25658 (start_thread): Use new macro START_THREAD_DEFN to replace defining
25659 declaration, and new macro START_THREAD_SELF to replace argument.
25660 Remove return statement.
25661 (report_thread_creation): New function.
25662 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
25663 synchronization logic, and __nptl_nthreads increment here, around
25664 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
25665 PD->parent_cancelhandling here, before create_thread. When
25666 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25667 __deallocate_stack, and ENOMEM translation here.
25668
25669 2014-11-18 Joseph Myers <joseph@codesourcery.com>
25670
25671 [BZ #17616]
25672 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25673 (mptwo): Rename to __mptwo.
25674 (__inv): Use __mptwo instead of mptwo.
25675 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25676 (mptwo): Rename to __mptwo.
25677 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25678 of mpone and __mptwo instead of mptwo.
25679 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25680 instead of mpone.
25681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25682 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25683 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25684 of mpone and __mptwo instead of mptwo.
25685 (__mpranred): Use __mpone instead of mpone.
25686 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25687 variable.
25688 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25689 (test-xfail-ISO99/math.h/linknamespace): Likewise.
25690 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25691 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25692 (test-xfail-ISO11/math.h/linknamespace): Likewise.
25693 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25694 (test-xfail-XPG3/math.h/linknamespace): Likewise.
25695 (test-xfail-XPG4/math.h/linknamespace): Likewise.
25696 (test-xfail-POSIX/math.h/linknamespace): Likewise.
25697 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25698 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25699 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25700 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25701 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25702 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25703 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25704 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25705 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25706 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25707
25708 2014-11-18 Tom de Vries <tom@codesoucery.com>
25709
25710 * manual/signal.texi (Primitives Interrupted by Signals): In section,
25711 replace BSD Handler xref with BSD Signal Handling.
25712
25713 2014-11-17 Richard Henderson <rth@redhat.com>
25714
25715 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25716 (_FP_PACK_RAW_2): Remove.
25717 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25718 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25719 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25720 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25721 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25722 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25723 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25724 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25725 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25726 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25727 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25728 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25729 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25730 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25731 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25732 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25733
25734 2014-11-14 Roland McGrath <roland@hack.frob.com>
25735
25736 * signal/signal.h [__USE_MISC]
25737 (struct sigvec): Remove type.
25738 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25739 (sigvec): Remove declaration.
25740 * sysdeps/posix/sigvec.c: Moved ...
25741 * signal/sigvec.c: ... here, replacing old file.
25742 (struct sigvec): New type, copied from old signal.h definition.
25743 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25744 (__sigvec): Convert definition to prototype.
25745 (sigvec): Replace weak_alias with compat_symbol.
25746 * signal/Versions (libc: GLIBC_2.21): New version set.
25747 * include/signal.h: Remove __sigvec declaration.
25748 * sysdeps/unix/bsd/sigvec.c: Remove file.
25749 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25750 * manual/signal.texi (BSD Handler): Remove subsection.
25751 Move siginterrupt up to ...
25752 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
25753 (Blocking in BSD): Fold subsection into its parent.
25754 * NEWS: Mention sigvec removal.
25755
25756 2014-11-14 Joseph Myers <joseph@codesourcery.com>
25757
25758 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25759 (DLA_FMS): Make definition conditional only on [__FMA4__].
25760 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25761 definition.
25762
25763 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25764 Make definition conditional only on [PROF].
25765 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25766 definition.
25767 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25768 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25769
25770 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25771 !__GNUC__].
25772 * include/signal.h (__sigpause): Move declaration above call to
25773 libc_hidden_proto.
25774 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25775 variable.
25776 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25777 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25778
25779 2014-11-14 David S. Miller <davem@davemloft.net>
25780
25781 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25782 Define before including <string/memcpy.c> and <string/mempcpy.c>.
25783
25784 2014-11-14 Joseph Myers <joseph@codesourcery.com>
25785
25786 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25787 * configure: Regenerated.
25788 * manual/install.texi (Tools for Compilation): Document a
25789 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25790 compiler verified to work.
25791 * INSTALL: Regenerated.
25792
25793 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25794 redeclare with asm name.
25795 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25796 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25797 including <string.h>.
25798 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25799 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25800 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25801 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25802 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25803 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25804 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25805
25806 2014-11-13 Joseph Myers <joseph@codesourcery.com>
25807
25808 * stdlib/strtol.c (__strtol): Use prototype definition.
25809
25810 [BZ #17594]
25811 * stdlib/strtol.c (SYM__): New macro.
25812 (SYM__1): Likewise.
25813 (__strtol): Likewise.
25814 (strtol): Rename to __strtol and define as weak alias of
25815 __strtol. Use libc_hidden_weak.
25816
25817 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25818
25819 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25820 Use numbered labels in inline assembly.
25821
25822 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25823
25824 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25825 Add setjmp LIBC_PROBE.
25826 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25827 Likewise.
25828 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25829 Add longjmp, longjmp_target LIBC_PROBE.
25830 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25831 Likewise.
25832
25833 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25834
25835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25836 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25837 to get rid of unused variable warning.
25838
25839 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25840
25841 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25842 Check for unwind_backtrace == NULL only in SHARED case.
25843 (__backchain_backtrace): Compile only in SHARED case.
25844 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25845 Likewise.
25846 (__backchain_backtrace): Declare as static.
25847
25848 2014-11-12 Roland McGrath <roland@hack.frob.com>
25849
25850 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25851 (__libc_multiple_threads_ptr): Variable moved ...
25852 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25853
25854 2014-11-12 Joseph Myers <joseph@codesourcery.com>
25855
25856 * conform/GlibcConform.pm: New file.
25857 * conform/conformtest.pl: Use GlibcConform module.
25858 * conform/linknamespace.pl: New file.
25859 * conform/list-header-symbols.pl: Likewise.
25860 * conform/Makefile (linknamespace-symlists-base): New variable.
25861 (linknamespace-symlists-tests): Likewise.
25862 (linknamespace-header-base): Likewise.
25863 (linknamespace-header-tests): Likewise.
25864 (tests-special): Add new tests.
25865 ($(linknamespace-symlists-tests)): New rule.
25866 (linknamespace-libs): New variable.
25867 ($(objpfx)symlist-stdlibs): New rule.
25868 ($(linknamespace-header-tests)): Likewise.
25869 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25870 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25871 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25872 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25873 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25874 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25875 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25876 (test-xfail-ISO/math.h/linknamespace): Likewise.
25877 (test-xfail-ISO/signal.h/linknamespace): Likewise.
25878 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25879 (test-xfail-ISO/time.h/linknamespace): Likewise.
25880 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25881 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25882 (test-xfail-ISO99/math.h/linknamespace): Likewise.
25883 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25884 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25885 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25886 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25887 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25888 (test-xfail-ISO11/math.h/linknamespace): Likewise.
25889 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25890 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25891 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25892 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25893 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25894 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25895 (test-xfail-XPG3/math.h/linknamespace): Likewise.
25896 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25897 (test-xfail-XPG3/search.h/linknamespace): Likewise.
25898 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25899 (test-xfail-XPG3/time.h/linknamespace): Likewise.
25900 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25901 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25902 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25903 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25904 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25905 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25906 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25907 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25908 (test-xfail-XPG4/math.h/linknamespace): Likewise.
25909 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25910 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25911 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25912 (test-xfail-XPG4/search.h/linknamespace): Likewise.
25913 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25914 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25915 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25916 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25917 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25918 (test-xfail-XPG4/time.h/linknamespace): Likewise.
25919 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25920 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25921 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25922 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25923 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25924 (test-xfail-POSIX/math.h/linknamespace): Likewise.
25925 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25926 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25927 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25928 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25929 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25930 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25931 (test-xfail-POSIX/time.h/linknamespace): Likewise.
25932 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25933 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25934 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25935 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25936 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25937 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25938 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25939 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25940 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25941 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25942 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25943 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25944 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25945 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25946 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25947 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25948 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25949 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25950 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25951 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25952 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25953 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25954 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25955 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25956 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25957 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25958 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25959 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25960 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25961 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25962 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25963 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25964 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25965 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25966 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25967 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25968 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25969 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25970 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25971 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25972 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25973 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25974 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25975 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25976 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25977 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25978 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25979 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25980 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25981 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25982 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25983 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25984 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25985 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25986 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25987 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25988 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25989 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25990 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25991 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25992 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25993 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25994 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25995 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25996 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25997 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25998 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25999 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26000 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26001 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26002 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26003 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26004 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26005 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26006 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26007 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26008 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26009 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26010 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26011 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26012 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26013 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26014 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26015 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26016 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26017 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26018 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26019 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26020 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26021 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26022 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26023 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26024 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26025 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26026 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26027 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26028 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26029 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26030
26031 [BZ #17589]
26032 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26033 of fgets_unlocked.
26034
26035 [BZ #17585]
26036 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26037 (memmem): Rename to __memmem and define as weak alias of
26038 __memmem. Use libc_hidden_weak.
26039 (__memmem): Use libc_hidden_def.
26040 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
26041 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26042 memmem.
26043
26044 [BZ #17582]
26045 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26046 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
26047 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26048 and define as weak alias of __fgets_unlocked. Use
26049 libc_hidden_weak.
26050 (__fgets_unlocked): Use libc_hidden_def.
26051 * include/stdio.h (__fgets_unlocked): Declare. Use
26052 libc_hidden_proto.
26053 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26054 __fgets_unlocked instead of fgets_unlocked.
26055 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26056 (GET_NPROCS_CONF_PARSER): Likewise.
26057 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26058 (GET_NPROCS_CONF_PARSER): Likewise.
26059
26060 [BZ #17574]
26061 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26062 weak alias of __wmemset. Use libc_hidden_weak.
26063 (__wmemset): Use libc_hidden_def.
26064 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
26065 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26066 of wmemset.
26067
26068 [BZ #17573]
26069 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26070 with asm name __mempcpy.
26071 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26072
26073 [BZ #17572]
26074 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26075 and define as weak alias of __rawmemchr.
26076 (__rawmemchr): Do not define as strong alias of rawmemchr.
26077
26078 [BZ #17571]
26079 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26080 alias of __qsort_r.
26081 (qsort): Call __qsort_r instead of qsort_r.
26082 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26083 (__qsort_r): Declare. Call libc_hidden_proto.
26084 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26085 instead of qsort_r.
26086 * nscd/gai.c (__qsort_r): Define to qsort_r.
26087 * posix/tst-rfc3484.c (__qsort_r): Likewise.
26088 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26089 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26090
26091 [BZ #17570]
26092 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26093 define as weak alias of __malloc_info.
26094
26095 [BZ #17584]
26096 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26097 as weak alias of __rewinddir. Don't use libc_hidden_def.
26098 (__rewinddir): Use libc_hidden_def.
26099 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26100 as weak alias of __rewinddir. Don't use libc_hidden_def.
26101 (__rewinddir): Use libc_hidden_def.
26102 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26103 weak alias of __rewinddir. Don't use libc_hidden_def.
26104 (__rewinddir): Use libc_hidden_def.
26105 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26106 (__rewinddir): Use libc_hidden_proto.
26107 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26108 rewinddir.
26109 (__getcwd): Use __rewinddir instead of rewinddir.
26110
26111 [BZ #17583]
26112 * libio/fileno.c (fileno): Rename to __fileno and define as weak
26113 alias of __fileno. Use libc_hidden_weak.
26114 (__fileno): Use libc_hidden_def.
26115 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26116 * libio/ftello.c (ftello): Rename to __ftello and define as weak
26117 alias of __ftello.
26118 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26119 __ftello.
26120 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26121 (__fread_unlocked): Define as strong alias of _IO_fread. Use
26122 libc_hidden_def.
26123 (fread_unlocked): Don't use libc_hidden_ver.
26124 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26125 and define as weak alias of __fread_unlocked. Don't use
26126 libc_hidden_def.
26127 (__fread_unlocked): Use libc_hidden_def.
26128 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
26129 (ftello): Don't use libc_hidden_proto.
26130 (__ftello): Declare. Use libc_hidden_proto.
26131 (fread_unlocked): Don't use libc_hidden_proto.
26132 (__fread_unlocked): Declare. Use libc_hidden_proto.
26133 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26134 and __ftello instead of fileno, fread_unlocked and ftello.
26135
26136 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26137
26138 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26139 GOT12.
26140 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26141 Likewise.
26142 (_dl_start_user): Likewise.
26143 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26144
26145 2014-11-12 Carlos O'Donell <carlos@redhat.com>
26146 Siddhesh Poyarekar <siddhesh@redhat.com>
26147
26148 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26149 Move argv and envp down instead of moving argc up.
26150 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26151
26152 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
26153
26154 [BZ #17506]
26155 * test-skeleton.c (main): Return successful if one of
26156 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26157 * string/tst-strcoll-overflow.c: Define expected status.
26158
26159 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
26160
26161 [BZ #17475]
26162 * locale/iso-639.def: Define Bhili and Tulu language codes.
26163
26164 2014-11-11 Alan Hayward <alan.hayward@arm.com>
26165
26166 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26167
26168 2014-11-10 Renlin Li <Renlin.Li@arm.com>
26169
26170 [BZ #17555]
26171 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26172
26173 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
26174
26175 * configure.ac: Updated check of minimal required version to
26176 2.22.
26177 * manual/install.texi (Tools for Compilation): Updated version
26178 number.
26179 * configure: Regenerated.
26180 * INSTALL: Likewise.
26181
26182 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
26183
26184 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26185 __tls_get_addr.
26186
26187 2014-11-07 Joseph Myers <joseph@codesourcery.com>
26188
26189 * include/sys/wait.h (__libc_waitpid): Remove declaration.
26190 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26191 (__waitpid): Don't define as alias. Use libc_hidden_def not
26192 libc_hidden_weak.
26193 (waitpid): Define as alias of __waitpid.
26194 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26195 __waitpid.
26196 (__waitpid): Don't define as alias. Use libc_hidden_def not
26197 libc_hidden_weak.
26198 (waitpid): Define as alias of __waitpid.
26199 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26200 __libc_waitpid alias.
26201 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26202 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26203 Likewise.
26204 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26205 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26206 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26207 alias.
26208 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26209 __waitpid.
26210 (__waitpid): Don't define as alias. Use libc_hidden_def not
26211 libc_hidden_weak.
26212 (waitpid): Define as alias of __waitpid.
26213
26214 2014-11-06 Carlos O'Donell <carlos@redhat.com>
26215
26216 * manual/llio.texi: Add comment that write safety has been
26217 fixed in Linux.
26218
26219 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26220 (localplt-build-dso): Add elf/ld.so.
26221 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26222 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26223 and free for ld.so.
26224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26225 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26227 Likewise.
26228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26229 Likewise.
26230 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26231 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26232 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26233 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26234 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26235 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26236 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26237 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26238 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26239 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26240 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26241
26242 2014-11-05 Joseph Myers <joseph@codesourcery.com>
26243
26244 [BZ #14132]
26245 * include/libc-symbols.h (INTUSE): Remove macro.
26246 (INTDEF): Likewise.
26247 (INTVARDEF): Likewise.
26248 (_INTVARDEF): Likewise.
26249 (INTDEF2): Likewise.
26250 (INTVARDEF2): Likewise.
26251 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26252 rtld_hidden_def instead of INTVARDEF.
26253 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26254 (_dl_starting_up_internal): Remove declaration.
26255 (_dl_starting_up): Use rtld_hidden_proto.
26256 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26257 declaration.
26258 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26259 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26260 _dl_starting_up.
26261 * elf/dl-writev.h (_dl_writev): Likewise.
26262 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26263 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26264 _dl_starting_up_internal.
26265
26266 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26267
26268 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26269 test-skeleton.c.
26270
26271 2014-11-05 Will Newton <will.newton@linaro.org>
26272
26273 * benchtests/Makefile: (bench-malloc): Add malloc thread
26274 scalability benchmark.
26275 * benchtests/bench-malloc-threads.c: New file.
26276
26277 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
26278
26279 * sysdeps/aarch64/strchrnul.S: New file.
26280
26281 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26282
26283 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26284 definition.
26285 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26286 Likwise.
26287 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26288 Likewise.
26289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26290 Likewise.
26291 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26292 Likewise.
26293 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26294 Likewise.
26295
26296 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
26297
26298 * catgets/test-gencat.c: Use test-skeleton.c.
26299 * catgets/tst-catgets.c: Likewise.
26300 * csu/tst-empty.c: Likewise.
26301 * elf/tst-audit2.c: Likewise.
26302 * elf/tst-global1.c: Likewise.
26303 * elf/tst-pathopt.c: Likewise.
26304 * elf/tst-piemod1.c: Likewise.
26305 * elf/tst-tls10.c: Likewise.
26306 * elf/tst-tls11.c: Likewise.
26307 * elf/tst-tls12.c: Likewise.
26308 * gnulib/tst-gcc.c: Likewise.
26309 * iconvdata/tst-e2big.c: Likewise.
26310 * iconvdata/tst-loading.c: Likewise.
26311 * iconv/tst-iconv1.c: Likewise.
26312 * iconv/tst-iconv2.c: Likewise.
26313 * inet/test-inet6_opt.c: Likewise.
26314 * inet/tst-gethnm.c: Likewise.
26315 * inet/tst-network.c: Likewise.
26316 * inet/tst-ntoa.c: Likewise.
26317 * intl/tst-codeset.c: Likewise.
26318 * intl/tst-gettext2.c: Likewise.
26319 * intl/tst-gettext3.c: Likewise.
26320 * intl/tst-ngettext.c: Likewise.
26321 * intl/tst-translit.c: Likewise.
26322 * io/test-stat.c: Likewise.
26323 * libio/test-fmemopen.c: Likewise.
26324 * libio/tst-freopen.c: Likewise.
26325 * libio/tst-sscanf.c: Likewise.
26326 * libio/tst-ungetwc1.c: Likewise.
26327 * libio/tst-ungetwc2.c: Likewise.
26328 * libio/tst-widetext.c: Likewise.
26329 * localedata/tst-ctype.c: Likewise.
26330 * localedata/tst-digits.c: Likewise.
26331 * localedata/tst-leaks.c: Likewise.
26332 * localedata/tst-mbswcs1.c: Likewise.
26333 * localedata/tst-mbswcs2.c: Likewise.
26334 * localedata/tst-mbswcs3.c: Likewise.
26335 * localedata/tst-mbswcs4.c: Likewise.
26336 * localedata/tst-mbswcs5.c: Likewise.
26337 * localedata/tst-setlocale.c: Likewise.
26338 * localedata/tst-trans.c: Likewise.
26339 * localedata/tst-wctype.c: Likewise.
26340 * localedata/tst-xlocale1.c: Likewise.
26341 * login/tst-grantpt.c: Likewise.
26342 * malloc/tst-calloc.c: Likewise.
26343 * malloc/tst-malloc.c: Likewise.
26344 * malloc/tst-mallocstate.c: Likewise.
26345 * malloc/tst-mcheck.c: Likewise.
26346 * malloc/tst-mtrace.c: Likewise.
26347 * malloc/tst-obstack.c: Likewise.
26348 * math/atest-exp2.c: Likewise.
26349 * math/atest-exp.c: Likewise.
26350 * math/atest-sincos.c: Likewise.
26351 * math/test-matherr.c: Likewise.
26352 * math/test-misc.c: Likewise.
26353 * math/test-powl.c: Likewise.
26354 * math/tst-definitions.c: Likewise.
26355 * misc/tst-dirname.c: Likewise.
26356 * misc/tst-efgcvt.c: Likewise.
26357 * misc/tst-fdset.c: Likewise.
26358 * misc/tst-hsearch.c: Likewise.
26359 * misc/tst-mntent2.c: Likewise.
26360 * nptl/tst-sem7.c: Likewise.
26361 * nptl/tst-sem8.c: Likewise.
26362 * nptl/tst-sem9.c: Likewise.
26363 * nss/test-netdb.c: Likewise.
26364 * posix/tst-fnmatch.c: Likewise.
26365 * posix/tst-getlogin.c: Likewise.
26366 * posix/tst-gnuglob.c: Likewise.
26367 * posix/tst-mmap.c: Likewise.
26368 * pwd/tst-getpw.c: Likewise.
26369 * resolv/tst-inet_ntop.c: Likewise.
26370 * rt/tst-timer.c: Likewise.
26371 * stdio-common/test-fseek.c: Likewise.
26372 * stdio-common/test-popen.c: Likewise.
26373 * stdio-common/test-vfprintf.c: Likewise.
26374 * stdio-common/tst-cookie.c: Likewise.
26375 * stdio-common/tst-fileno.c: Likewise.
26376 * stdio-common/tst-gets.c: Likewise.
26377 * stdio-common/tst-obprintf.c: Likewise.
26378 * stdio-common/tst-perror.c: Likewise.
26379 * stdio-common/tst-sprintf2.c: Likewise.
26380 * stdio-common/tst-sprintf3.c: Likewise.
26381 * stdio-common/tst-sprintf.c: Likewise.
26382 * stdio-common/tst-swprintf.c: Likewise.
26383 * stdio-common/tst-tmpnam.c: Likewise.
26384 * stdio-common/tst-unbputc.c: Likewise.
26385 * stdio-common/tst-wc-printf.c: Likewise.
26386 * stdlib/tst-environ.c: Likewise.
26387 * stdlib/tst-fmtmsg.c: Likewise.
26388 * stdlib/tst-limits.c: Likewise.
26389 * stdlib/tst-rand48-2.c: Likewise.
26390 * stdlib/tst-rand48.c: Likewise.
26391 * stdlib/tst-random2.c: Likewise.
26392 * stdlib/tst-random.c: Likewise.
26393 * stdlib/tst-strtol.c: Likewise.
26394 * stdlib/tst-strtoll.c: Likewise.
26395 * stdlib/tst-tls-atexit.c: Likewise.
26396 * stdlib/tst-xpg-basename.c: Likewise.
26397 * string/test-ffs.c: Likewise.
26398 * string/tst-bswap.c: Likewise.
26399 * string/tst-inlcall.c: Likewise.
26400 * string/tst-strtok.c: Likewise.
26401 * string/tst-strxfrm.c: Likewise.
26402 * sysdeps/x86_64/tst-audit10.c: Likewise.
26403 * sysdeps/x86_64/tst-audit3.c: Likewise.
26404 * sysdeps/x86_64/tst-audit4.c: Likewise.
26405 * sysdeps/x86_64/tst-audit5.c: Likewise.
26406 * time/tst-ftime_l.c: Likewise.
26407 * time/tst-getdate.c: Likewise.
26408 * time/tst-mktime3.c: Likewise.
26409 * time/tst-mktime.c: Likewise.
26410 * time/tst-posixtz.c: Likewise.
26411 * time/tst-strptime2.c: Likewise.
26412 * time/tst-strptime3.c: Likewise.
26413 * wcsmbs/tst-btowc.c: Likewise.
26414 * wcsmbs/tst-mbrtowc.c: Likewise.
26415 * wcsmbs/tst-mbsrtowcs.c: Likewise.
26416 * wcsmbs/tst-wchar-h.c: Likewise.
26417 * wcsmbs/tst-wcpncpy.c: Likewise.
26418 * wcsmbs/tst-wcrtomb.c: Likewise.
26419 * wcsmbs/tst-wcsnlen.c: Likewise.
26420 * wcsmbs/tst-wcstof.c: Likewise.
26421
26422 2014-11-04 Joseph Myers <joseph@codesourcery.com>
26423
26424 [BZ #14132]
26425 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26426 INTDEF.
26427 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26428 declaration.
26429 (_dl_mcount): Use rtld_hidden_proto.
26430 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26431 _dl_mcount.
26432 * elf/rtld.c (_rtld_global_ro): Likewise.
26433
26434 [BZ #14132]
26435 * elf/dl-init.c (_dl_init): Don't use INTDEF.
26436 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26437 of _dl_init_internal.
26438 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26439 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26440 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26441 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26442 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26443 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26444 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26445 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26446 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26447 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26448 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26449 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26450 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26451 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26452 * sysdeps/tile/dl-start.S (_start): Likewise.
26453 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26454 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26455
26456 [BZ #14132]
26457 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26458 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26459 (rtld_progname): Make macro definition unconditional.
26460 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26461 INTDEF.
26462 (dlmopen_doit): Do not use INTUSE with _dl_argv.
26463 (dl_main): Likewise.
26464 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26465 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26466 instead of _dl_argv_internal.
26467 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26468 __GI__dl_argv instead of INTUSE(_dl_argv).
26469 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26470 __GI__dl_argv instead of _dl_argv_internal.
26471
26472 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26473 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26474 macro.
26475 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26476 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26477 New macro.
26478 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26479 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26480 macro.
26481 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26482 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26483
26484 2014-11-04 Andreas Schwab <schwab@suse.de>
26485
26486 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26487
26488 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26489
26490 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26491 mtvsrd instruction in binary form.
26492
26493 2014-11-03 Andreas Schwab <schwab@suse.de>
26494
26495 [BZ #17522]
26496 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26497 for less than MB_LEN_MAX use a local buffer of that size.
26498 * libio/tst-fputws.c: New file.
26499 * libio/Makefile (tests): Add tst-fputws.
26500
26501 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
26502
26503 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26504 the size of the fpu_fr.fpu_dregs[] array.
26505
26506 2014-11-01 Joseph Myers <joseph@codesourcery.com>
26507
26508 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26509 (__nanosleep): Do not define as alias.
26510 (nanosleep): Define as alias of __nanosleep.
26511 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26512 __libc_nanosleep name.
26513
26514 2014-10-31 Joseph Myers <joseph@codesourcery.com>
26515
26516 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26517 install.texi in comment.
26518
26519 2014-10-31 Torvald Riegel <triegel@redhat.com>
26520
26521 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26522 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26523 ... add here and use lwsync or sync ...
26524 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26525 ... and add here using lwsync.
26526
26527 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
26528
26529 * elf/dl-machine-reject-phdr.h: New file.
26530 * elf/dl-load.c: #include that.
26531 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26532 if that returned true.
26533
26534 2014-10-31 Roland McGrath <roland@hack.frob.com>
26535
26536 [BZ #17496]
26537 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26538 gen-as-const-headers chunk. Add a big scare comment after the last
26539 safe place to touch before-compile.
26540
26541 2014-10-31 Joseph Myers <joseph@codesourcery.com>
26542
26543 * manual/install.texi (Tools for Compilation): Update autoconf
26544 version requirements.
26545 * INSTALL: Regenerated.
26546
26547 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26548 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26549 (__libc_pselect): Likewise.
26550
26551 [BZ #14138]
26552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26556
26557 2014-10-31 Torvald Riegel <triegel@redhat.com>
26558
26559 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26560 correct barrier instruction.
26561 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26562 Likewise.
26563 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26564 Likewise.
26565
26566 2014-10-30 Roland McGrath <roland@hack.frob.com>
26567
26568 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26569 after defining inlines. Instead, just use parens to defeat macro
26570 expansion of __isctype in its declaration.
26571
26572 2014-10-30 Joseph Myers <joseph@codesourcery.com>
26573
26574 * include/sys/uio.h (__libc_readv): Remove declaration.
26575 (__libc_writev): Likewise.
26576 * misc/readv.c (__libc_readv): Rename to __readv.
26577 (__readv): Do not define as alias.
26578 (readv): Define as alias of __readv.
26579 * misc/writev.c (__libc_writev): Rename to __writev.
26580 (__writev): Do not define as alias.
26581 (writev): Define as alias of __writev.
26582 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26583 (__readv): Do not define as alias.
26584 (readv): Define unconditionally as alias of __readv.
26585 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26586 (__writev): Do not define as alias.
26587 (writev): Define unconditionally as alias of __writev.
26588 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26589 name.
26590 (writev): Do not define __libc_writev name.
26591
26592 2014-10-30 Roland McGrath <roland@hack.frob.com>
26593
26594 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26595 (convert_charseq): New function, broken out of ...
26596 (use_from_charmap): ... here. Call it.
26597 (use_to_charmap): Use convert_charseq and free instead of duplicating
26598 its code with a variable-length stack struct.
26599
26600 2014-10-30 Joseph Myers <joseph@codesourcery.com>
26601
26602 * include/fcntl.h (__libc_creat): Remove declaration.
26603 * io/creat.c (__libc_creat): Rename to creat.
26604 (creat): Do not define as alias.
26605 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26606 of creat instead of __libc_creat.
26607 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26608 to creat.
26609 (creat): Do not define as alias.
26610 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26611 __libc_creat.
26612 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26613 __libc_creat name.
26614 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26615 Likewise.
26616
26617 2014-10-29 Carlos O'Donell <carlos@redhat.com>
26618
26619 * manual/llio.texi: Add comments discussing why write() may be
26620 considered MT-unsafe on Linux.
26621
26622 2014-10-28 Carlos O'Donell <carlos@redhat.com>
26623
26624 * dl-load.c (local_strdup): Remove.
26625 (expand_dynamic_string_token): Use __strdup.
26626 (decompose_rpath): Likewise.
26627 (_dl_map_object): Likewise.
26628
26629 2014-10-28 Joseph Myers <joseph@codesourcery.com>
26630
26631 [BZ #14132]
26632 * sysdeps/generic/unwind-dw2-fde.c
26633 (__register_frame_info_bases_internal): Do not declare.
26634 (__register_frame_info_table_bases_internal): Likewise.
26635 (__deregister_frame_info_bases_internal): Likewise.
26636 (__register_frame_info_bases): Declare and use hidden_proto before
26637 definition. Use hidden_def instead of INTDEF.
26638 (__register_frame_info_table_bases): Likewise.
26639 (__deregister_frame_info_bases): Likewise.
26640 (__register_frame_info): Do not use INTUSE.
26641 (__register_frame): Likewise.
26642 (__register_frame_info_table): Likewise.
26643 (__register_frame_table): Likewise.
26644 (__deregister_frame_info): Likewise.
26645 (__deregister_frame): Likewise.
26646
26647 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
26648
26649 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26650 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26651 not undefine.
26652 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26653 Likewise.
26654 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26655 Likewise.
26656
26657 2014-10-27 Joseph Myers <joseph@codesourcery.com>
26658
26659 [BZ #14138]
26660 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26661 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26662 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26663 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26664 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26665 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26666 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26667 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26668 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26669 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26670 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26671 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26672 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26673 syscall.
26674 (setfsuid): Likewise.
26675 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26676 (setfsuid): Likewise.
26677 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26678 (setfsuid): Likewise.
26679 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26680 Likewise.
26681 (setfsuid): Likewise.
26682 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26683 (setfsuid): Likewise.
26684 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26685 Likewise.
26686 (setfsuid): Likewise.
26687
26688 2014-10-27 Andreas Schwab <schwab@suse.de>
26689
26690 [BZ #17501]
26691 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26692 check for Slow_SSE4_2 feature bit.
26693 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26694 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26695 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26696 Likewise. Fix check for Fast_Unaligned_Load feature bit.
26697
26698 2014-10-24 Roland McGrath <roland@hack.frob.com>
26699
26700 * configure.ac: Validate compiler version with a empirical test of
26701 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26702 $CC -v output.
26703 * configure: Regenerated.
26704
26705 * inet/htons.c (htons): Prototypify.
26706 * inet/htonl.c (htonl): Likewise.
26707
26708 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26709
26710 * string/strncat.c (strncat): Improve performance by using strlen.
26711
26712 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26713
26714 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26715
26716 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26717
26718 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26719 Call libc_fetestexcept_aarch64.
26720
26721 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26722
26723 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26724 Call libc_feholdexcept_aarch64.
26725
26726 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26727
26728 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26729 Call get_rounding_mode.
26730
26731 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26732
26733 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26734 Simplify logic.
26735
26736 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26737
26738 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26739 Simplify logic.
26740
26741 2014-10-24 Joseph Myers <joseph@codesourcery.com>
26742
26743 [BZ #14138]
26744 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26745 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26746 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26747 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26748 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26749 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26750 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26751 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26752 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26753 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26754 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26755 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26756 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26757 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26758 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26759 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26760 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26761 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26762 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26763 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26764 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26765 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26766 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26767 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26768 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26769 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26770 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26771 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26772 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26773 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26774 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26775 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26776 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26777 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26778 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26779 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26780 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26781 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26782 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26783 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26784 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26785 syscall.
26786 (geteuid): Likewise.
26787 (getgid): Likewise.
26788 (getuid): Likewise.
26789 (getresgid): Likewise.
26790 (getresuid): Likewise.
26791 (getgroups): Likewise.
26792 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26793 (geteuid): Likewise.
26794 (getgid): Likewise.
26795 (getuid): Likewise.
26796 (getresgid): Likewise.
26797 (getresuid): Likewise.
26798 (getgroups): Likewise.
26799 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26800 (geteuid): Likewise.
26801 (getgid): Likewise.
26802 (getuid): Likewise.
26803 (getresgid): Likewise.
26804 (getresuid): Likewise.
26805 (getgroups): Likewise.
26806 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26807 Likewise.
26808 (geteuid): Likewise.
26809 (getgid): Likewise.
26810 (getuid): Likewise.
26811 (getresgid): Likewise.
26812 (getresuid): Likewise.
26813 (getgroups): Likewise.
26814 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26815 (geteuid): Likewise.
26816 (getgid): Likewise.
26817 (getuid): Likewise.
26818 (getresgid): Likewise.
26819 (getresuid): Likewise.
26820 (getgroups): Likewise.
26821 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26822 Likewise.
26823 (geteuid): Likewise.
26824 (getgid): Likewise.
26825 (getuid): Likewise.
26826 (getgroups): Likewise.
26827
26828 [BZ #14138]
26829 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26830 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26831 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26832 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26833 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26834 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26835 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26836 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26837 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26838 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26839 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26840 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26841 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26842 __chown.
26843 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26844 (lchown): Likewise.
26845 (fchown): Likewise.
26846 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26847 Likewise.
26848 (lchown): Likewise.
26849 (fchown): Likewise.
26850 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26851 (lchown): Likewise.
26852 (fchown): Likewise.
26853 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26854 Likewise.
26855 (lchown): Likewise.
26856 (fchown): Likewise.
26857
26858 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26859
26860 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26861 Simplify logic.
26862
26863 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26864
26865 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26866 Cleanup logic.
26867
26868 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26869
26870 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26871 Remove unused include.
26872
26873 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26874
26875 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26876 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26877 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26878 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26879
26880 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
26881 Helge Deller <deller@gmx.de>
26882
26883 [BZ #17508]
26884 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26885 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26886 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26887
26888 2014-10-23 Joseph Myers <joseph@codesourcery.com>
26889
26890 [BZ #14132]
26891 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26892 Remove macro definition.
26893 (__ashrdi3_v_glibc20): Likewise.
26894 (__lshrdi3_v_glibc20): Likewise.
26895 (__cmpdi2_v_glibc20): Likewise.
26896 (__ucmpdi2_v_glibc20): Likewise.
26897 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26898 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26899 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26900 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26901 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26902 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26903
26904 2014-10-22 Roland McGrath <roland@hack.frob.com>
26905
26906 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26907 old GNU extension [0] syntax.
26908 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26909 alloca rather than an array member with variable length.
26910 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26911 * nscd/nscd.c (invalidate_db): New function, broken out of ...
26912 (parse_opt): ... here. Likewise use alloca there.
26913 Validate the -i argument before checking for rootness.
26914 (send_shutdown): New function, broken out of ...
26915 (parse_opt): ... here.
26916
26917 2014-10-22 Roland McGrath <roland@hack.frob.com>
26918
26919 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26920 macro to get at the _rt_local_ro field.
26921 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26922 ([PIC] case) or _dl_hwcap ([!PIC] case).
26923 * sysdeps/arm/setjmp.S: Likewise.
26924
26925 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26926 * sysdeps/arm/configure.ac: New check to define it.
26927 * sysdeps/arm/configure: Regenerated.
26928 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26929 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26930 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26931 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26932 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26933 Use move/movt pair instead of a load.
26934 (LDST_GLOBAL): Macro removed.
26935 (LDR_GLOBAL): New macro replaces it.
26936 (LDR_HIDDEN): New macro.
26937 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26938 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26939
26940 * setjmp/tst-setjmp-static.c: New file.
26941 * setjmp/Makefile (tests): Add it.
26942 (tests-static): New variable.
26943
26944 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
26945
26946 [BZ #17485]
26947 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26948
26949 2014-10-21 Joseph Myers <joseph@codesourcery.com>
26950
26951 [BZ #14132]
26952 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26953
26954 2014-10-21 Roland McGrath <roland@hack.frob.com>
26955
26956 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26957
26958 2014-10-20 Roland McGrath <roland@hack.frob.com>
26959
26960 * io/fts.c (dirent_not_directory): New function.
26961 (fts_build): Call it.
26962
26963 2014-10-20 Roland McGrath <roland@hack.frob.com>
26964
26965 * nptl/version.c (__nptl_main): Use normal __write rather than
26966 INTERNAL_SYSCALL.
26967 (banner): Update copyright years.
26968
26969 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26970 gettimeofday.
26971 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26972 * nptl/pthread_cond_timedwait.c: Likewise.
26973 * nptl/pthread_mutex_timedlock.c: Likewise.
26974 * nptl/sem_timedwait.c: Likewise.
26975
26976 * sysdeps/nptl/bits/libc-lock.h
26977 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26978 (__libc_lock_init_recursive): Return void, not 0.
26979 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26980 (__libc_rwlock_init): Likewise.
26981 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26982
26983 2014-10-20 Torvald Riegel <triegel@redhat.com>
26984
26985 [BZ #15215]
26986 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26987 (__pthread_once_slow): ... here.
26988 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26989 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26990
26991 2014-10-20 Torvald Riegel <triegel@redhat.com>
26992
26993 [BZ #15215]
26994 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26995 __PTHREAD_ONCE_FORK_GEN_INCR): New.
26996 * sysdeps/nptl/fork.c (__libc_fork): Use them.
26997 * nptl/pthread_once.c (__pthread_once): Likewise.
26998 Update comments.
26999
27000 2014-10-20 Joseph Myers <joseph@codesourcery.com>
27001
27002 [BZ #14138]
27003 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27004 name.
27005 (writev): Use __libc_writev as strong name.
27006 * sysdeps/unix/sysv/linux/readv.c: Remove file.
27007 * sysdeps/unix/sysv/linux/writev.c: Likewise.
27008
27009 2014-10-17 Roland McGrath <roland@hack.frob.com>
27010
27011 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27012
27013 * sysdeps/i386/nptl/tls.h
27014 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27015 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27016 New macros.
27017 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27018 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27019 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27020 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27021 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27022 Call CHECK_THREAD_SYSINFO instead of doing an assert.
27023
27024 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27025 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27026 on [__NR_futex].
27027 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27028 broken out of ...
27029 (__pthread_mutex_init): ... here. Call it.
27030 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27031 Conditionalize PI cases on [__NR_futex].
27032 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27033 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27034 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27035
27036 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27037 conditional on [SIGSETXID].
27038 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27039 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27040 is defined. Likewise for SIGSETXID.
27041 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27042 Conditionalize definitions on [SIGSETXID].
27043 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27044 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27045 unblocking on [SIGCANCEL].
27046
27047 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27048 [__NR_set_robust_list].
27049
27050 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27051
27052 * string/strcoll_l.c (get_next_seq): Fix up formatting.
27053 (do_compare): Likewise.
27054
27055 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
27056
27057 [BZ #15884]
27058 * string/strcoll_l.c: Don't include stdio.h.
27059 (coll_seq): Remove members idxarr and rulearr.
27060 (get_next_seq_cached): Remove function.
27061 (get_next_seq): Likewise.
27062 (get_next_seq_nocache): Rename to get_next_seq.
27063 (do_compare): Remove function.
27064 (do_compare_nocache): Rename to do_compare.
27065 (STRCOLL): Remove weight and rules cache.
27066
27067 2014-10-16 Roland McGrath <roland@hack.frob.com>
27068
27069 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27070 * sysdeps/arm/sfp-machine.h: ... to here.
27071 * sysdeps/arm/Implies: Remove arm/soft-fp.
27072
27073 2014-10-14 Joseph Myers <joseph@codesourcery.com>
27074
27075 * conform/data/sys/utsname.h-data (*_t): Allow.
27076 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27077 [POSIX] (WEXITED): Do not expect constant.
27078 [POSIX] (WSTOPPED): Likewise.
27079 [POSIX] (WNOHANG): Likewise.
27080 [POSIX] (WNOWAIT): Likewise.
27081 [POSIX] (siginfo_t): Do not expect type or elements.
27082 [POSIX] (pid_t): Do not expect type.
27083 [POSIX] (signal.h): Do not allow header.
27084 [POSIX] (sys/resource.h): Likewise.
27085 [POSIX] (si_*): Do not allow pattern.
27086 [POSIX] (W*): Likewise.
27087 [POSIX] (P_*): Likewise.
27088 [POSIX] (BUS_*): Likewise.
27089 [POSIX] (CLD_*): Likewise.
27090 [POSIX] (FPE_*): Likewise.
27091 [POSIX] (ILL_*): Likewise.
27092 [POSIX] (POLL_*): Likewise.
27093 [POSIX] (SEGV_*): Likewise.
27094 [POSIX] (SI_*): Likewise.
27095 [POSIX] (TRAP_*): Likewise.
27096 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27097 variable.
27098
27099 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
27100
27101 [BZ #12926]
27102 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27103 infinite loop when __recvmsg returns 0.
27104
27105 2014-10-10 Joseph Myers <joseph@codesourcery.com>
27106
27107 * CANCEL-FCT-WAIVE: Remove file.
27108 * CANCEL-FILE-WAIVE: Likewise.
27109
27110 [BZ #14132]
27111 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27112 instead of INTVARDEF.
27113 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27114 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27115 rtld_hidden_data_def instead of INTVARDEF.
27116 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27117 * elf/dl-deps.c (expand_dst): Likewise.
27118 * elf/dl-load.c (_dl_dst_count): Likewise.
27119 (_dl_dst_substitute): Likewise.
27120 (decompose_rpath): Likewise.
27121 (_dl_init_paths): Likewise.
27122 (open_path): Likewise.
27123 (_dl_map_object): Likewise.
27124 * elf/rtld.c (dl_main): Likewise.
27125 (process_dl_audit): Likewise.
27126 (process_envvars): Likewise.
27127 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27128 Remove declaration.
27129 (__libc_enable_secure): Use rtld_hidden_proto.
27130
27131 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27132
27133 * elf/dl-load.c
27134 (add_path): New function broken out of _dl_rtld_di_serinfo.
27135 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
27136
27137 2014-10-09 Joseph Myers <joseph@codesourcery.com>
27138
27139 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27140 parentheses around macro arguments.
27141 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27142 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27143 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27144 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27145 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27146 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27147 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27148 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27149 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27150 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27151 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27152 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27153 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27154 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27155 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27156 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27157 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27158 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27159 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27160 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27161 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27162 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27163 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27164 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27165 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27166 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27167 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27168 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27169 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27170 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27171 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27172 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27173 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27174 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27175 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27176 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27177 Likewise.
27178 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27179 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27180 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27181 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27182 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27183 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27184 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27185 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27186 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27187 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27188 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27189 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27190 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27191 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27192 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27193 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27194 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27195 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27196 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27197 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27198 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27199 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27200 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27201 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27202 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27203 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27204 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27205 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27206 (_FP_FRAC_SRS_1): Likewise.
27207 (_FP_FRAC_CLZ_1): Likewise.
27208 (_FP_MUL_MEAT_1_imm): Likewise.
27209 (_FP_MUL_MEAT_1_wide): Likewise.
27210 (_FP_MUL_MEAT_1_hard): Likewise.
27211 (_FP_SQRT_MEAT_1): Likewise.
27212 (_FP_FRAC_ASSEMBLE_1): Likewise.
27213 (_FP_FRAC_DISASSEMBLE_1): Likewise.
27214 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27215 (__FP_CLZ_2): Likewise.
27216 (_FP_MUL_MEAT_2_wide): Likewise.
27217 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27218 (_FP_MUL_MEAT_2_gmp): Likewise.
27219 (_FP_MUL_MEAT_2_120_240_double): Likewise.
27220 (_FP_SQRT_MEAT_2): Likewise.
27221 (_FP_FRAC_ASSEMBLE_2): Likewise.
27222 (_FP_FRAC_DISASSEMBLE_2): Likewise.
27223 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27224 (_FP_FRAC_CLZ_4): Likewise.
27225 (_FP_MUL_MEAT_4_wide): Likewise.
27226 (_FP_MUL_MEAT_4_gmp): Likewise.
27227 (_FP_SQRT_MEAT_4): Likewise.
27228 (_FP_FRAC_ASSEMBLE_4): Likewise.
27229 (_FP_FRAC_DISASSEMBLE_4): Likewise.
27230 * soft-fp/op-common.h (_FP_CMP): Likewise.
27231 (_FP_CMP_EQ): Likewise.
27232 (_FP_CMP_UNORD): Likewise.
27233 (_FP_TO_INT): Likewise.
27234 (_FP_FROM_INT): Likewise.
27235 [!__FP_CLZ] (__FP_CLZ): Likewise.
27236 (_FP_DIV_HELP_imm): Likewise.
27237 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27238 Likewise.
27239 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27240 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27241 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27242 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27243 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27244 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27245 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27246 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27247 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27248 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27249 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27250 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27251 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27252 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27253 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27254 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27255 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27256 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27257 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27258 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27259 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27260 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27261 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27262 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27263 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27264 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27265 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27266 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27267 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27268 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27269 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27270 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27271 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27272 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27273 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27274 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27275 (FP_UNPACK_RAW_SP): Likewise.
27276 (FP_PACK_RAW_S): Likewise.
27277 (FP_PACK_RAW_SP): Likewise.
27278 (FP_UNPACK_S): Likewise.
27279 (FP_UNPACK_SP): Likewise.
27280 (FP_UNPACK_SEMIRAW_S): Likewise.
27281 (FP_UNPACK_SEMIRAW_SP): Likewise.
27282 (FP_PACK_S): Likewise.
27283 (FP_PACK_SP): Likewise.
27284 (FP_PACK_SEMIRAW_S): Likewise.
27285 (FP_PACK_SEMIRAW_SP): Likewise.
27286 (_FP_SQRT_MEAT_S): Likewise.
27287 (FP_CMP_S): Likewise.
27288 (FP_CMP_EQ_S): Likewise.
27289 (FP_CMP_UNORD_S): Likewise.
27290 (FP_TO_INT_S): Likewise.
27291 (FP_FROM_INT_S): Likewise.
27292
27293 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27294
27295 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27296 (FP_EX_INVALID_IMZ): Likewise.
27297 (FP_EX_INVALID_IMZ_FMA): Likewise.
27298 (FP_EX_INVALID_ISI): Likewise.
27299 (FP_EX_INVALID_ZDZ): Likewise.
27300 (FP_EX_INVALID_IDI): Likewise.
27301 (FP_EX_INVALID_SQRT): Likewise.
27302 (FP_EX_INVALID_CVI): Likewise.
27303 (FP_EX_INVALID_VC): Likewise.
27304 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27305 "invalid" exceptions.
27306 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27307 (_FP_ADD_INTERNAL): Likewise.
27308 (_FP_MUL): Likewise.
27309 (_FP_FMA): Likewise.
27310 (_FP_DIV): Likewise.
27311 (_FP_CMP_CHECK_NAN): Likewise.
27312 (_FP_SQRT): Likewise.
27313 (_FP_TO_INT): Likewise.
27314 (FP_EXTEND): Likewise.
27315
27316 2014-10-09 Allan McRae <allan@archlinux.org>
27317
27318 * po/fr.po: Update French translation from translation project.
27319
27320 2014-10-09 Joseph Myers <joseph@codesourcery.com>
27321
27322 [BZ #14132]
27323 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27324 of INTDEF.
27325 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27326 (__cxa_atexit): Use libc_hidden_proto.
27327 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27328
27329 [BZ #14132]
27330 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27331 declaration.
27332 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27333 [!_ISOMAC] (__iswspace_l_internal): Likewise.
27334 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27335 [!_ISOMAC] (__iswctype_internal): Likewise.
27336 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27337 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27338 alias.
27339 (fcntl): Remove __fcntl_internal alias.
27340 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27341 __connect_internal alias.
27342 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27343 Likewise.
27344
27345 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27346 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27347 FP_DENORM_ZERO.
27348 (_FP_CHECK_FLUSH_ZERO): New macro.
27349 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27350 (_FP_CMP): Likewise.
27351 (_FP_CMP_EQ): Likewise.
27352 (_FP_TO_INT): Do not set inexact for subnormal arguments if
27353 FP_DENORM_ZERO.
27354 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27355 (FP_TRUNC): Likewise.
27356
27357 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27358 treated as invalid conversion, not as normal exponent.
27359
27360 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27361 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
27362 (_FP_CMP_EQ): Likewise.
27363 (_FP_CMP_UNORD): Likewise.
27364 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27365 (FP_CMP_EQ_D): Likewise.
27366 (FP_CMP_UNORD_D): Likewise.
27367 * soft-fp/extended.h (FP_CMP_E): Likewise.
27368 (FP_CMP_EQ_E): Likewise.
27369 (FP_CMP_UNORD_E): Likewise.
27370 * soft-fp/quad.h (FP_CMP_Q): Likewise.
27371 (FP_CMP_EQ_Q): Likewise.
27372 (FP_CMP_UNORD_Q): Likewise.
27373 * soft-fp/single.h (FP_CMP_S): Likewise.
27374 (FP_CMP_EQ_S): Likewise.
27375 (FP_CMP_UNORD_S): Likewise.
27376 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27377 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27378 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27379 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27380 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27381 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27382 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27383 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27384 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27385 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27386 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27387 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27388 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27389 to FP_CMP_Q.
27390 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27391 FP_CMP_Q.
27392 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27393 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27394 FP_CMP_EQ_Q.
27395 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27396 FP_CMP_Q.
27397 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27398 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27399 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27400 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27401 FP_CMP_EQ_Q.
27402 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27403 FP_CMP_Q.
27404 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27405 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27406 FP_CMP_EQ_Q.
27407 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27408 FP_CMP_Q.
27409 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27410 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27411 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27412 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27413 FP_CMP_EQ_Q.
27414
27415 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27416 a subnormal result, set the underflow exception if trapping on
27417 underflow is enabled.
27418 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27419 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27420 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27421 redefine to 0.
27422 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27423 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27424 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27425 * soft-fp/extendxftf2.c (__extendxftf2): Use
27426 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27427
27428 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27429 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27430 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27431 FP_HANDLE_EXCEPTIONS.
27432 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27433 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27434 FP_HANDLE_EXCEPTIONS.
27435 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27436 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27437 FP_HANDLE_EXCEPTIONS.
27438 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27439 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27440 FP_HANDLE_EXCEPTIONS.
27441
27442 2014-10-08 Joseph Myers <joseph@codesourcery.com>
27443
27444 [BZ #14132]
27445 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27446 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27447 use INTUSE.
27448 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27449 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27450 Remove alias.
27451 (__adjtimex): Define using libc_hidden_ver.
27452 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27453 Remove declaration.
27454 (ntp_gettime): Call __adjtimex directly.
27455 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27456 Remove declaration.
27457 (ntp_gettimex): Call __adjtimex directly.
27458 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27459 __adjtimex_internal alias.
27460
27461 2014-10-08 Roland McGrath <roland@hack.frob.com>
27462
27463 [BZ #17460]
27464 * nscd/nscd.c (more_help): Rewrite list of tables collection
27465 using xstrdup and asprintf.
27466
27467 * nscd/nscd_conf.c: Remove local xstrdup declaration.
27468
27469 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27470 Roland McGrath <roland@hack.frob.com>
27471
27472 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27473 (do_lookup_unique): ... local function 'enter' here; update callers.
27474
27475 2014-10-06 Joseph Myers <joseph@codesourcery.com>
27476
27477 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27478 compat_symbol calls on [SHARED].
27479 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27480 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27481 Remove.
27482 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27483 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27484 (oldsetrlimit): Remove.
27485 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27487 (lchown): New syscall entry.
27488 (oldsetrlimit): Remove.
27489 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27490 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27491 (oldsetrlimit): Remove.
27492 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27493
27494 [BZ #14138]
27495 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27496 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27497 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27498 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27499 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27500 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27501 (fchown): Likewise.
27502 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27503 (fchown): Likewise.
27504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27505 Likewise.
27506
27507 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27508
27509 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27510 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27511 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27512 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27513 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27514 Likewise.
27515 (__old_sem_post): Likewise.
27516
27517 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
27518
27519 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27520 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27521 HAVE_CLOCK_GETTIME_VSYSCALL macros.
27522 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27523 Use INLINE_VSYSCALL macro.
27524 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27525 __vdso_clock_gettime.
27526 * sysdeps/unix/sysv/linux/tile/init-first.c
27527 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27528 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27529 __vdso_clock_gettime.
27530
27531 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27532 to set up frame more cleanly.
27533
27534 * sysdeps/tile/memcmp.c: New file.
27535
27536 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27537
27538 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27539 * sysdeps/tile/tilegx/strcasestr.c: New file.
27540 * sysdeps/tile/tilegx/strnlen.c: New file.
27541 * sysdeps/tile/tilegx/strstr.c: New file.
27542
27543 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27544
27545 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
27546
27547 * nptl/tst-setuid3.c: Write errors to stdout.
27548
27549 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27550
27551 * elf/dl-deps.c
27552 (preload): New functions broken out of _dl_map_object_deps.
27553 (_dl_map_object_deps): Remove a nested function. Update call sites.
27554
27555 2014-10-01 Joseph Myers <joseph@codesourcery.com>
27556
27557 [BZ #14138]
27558 * sysdeps/unix/sysv/linux/execve.c: Remove file.
27559 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27560
27561 2014-10-01 Steve Ellcey <sellcey@mips.com>
27562
27563 * sysdeps/mips/strcmp.S: New.
27564
27565 2014-09-30 Joseph Myers <joseph@codesourcery.com>
27566
27567 [BZ #14138]
27568 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27569 (linkat): Likewise.
27570 (mkdirat): Likewise.
27571 (readlinkat): Likewise.
27572 (renameat): Likewise.
27573 (symlinkat): Likewise.
27574 (unlinkat): Likewise.
27575 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27576 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27577 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27578 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27579 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27580 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27581 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27582
27583 2014-09-30 Will Newton <will.newton@linaro.org>
27584
27585 * math/math.h: Define long double math functions if
27586 _LIBC_TEST is defined.
27587 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27588
27589 * localedata/Makefile: Move assignment to tests-special
27590 into an ifdef testing run-built-tests.
27591 * timezone/Makefile: Likewise.
27592
27593 2014-09-29 Joseph Myers <joseph@codesourcery.com>
27594
27595 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27596 with $(BASH) not $(SHELL).
27597
27598 2014-09-29 Carlos O'Donell <carlos@redhat.com>
27599 Matthew LeGendre <legendre1@llnl.gov>
27600
27601 [BZ #17411]
27602 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27603 l_reloc_result.
27604
27605 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27606
27607 * stdio-common/printf_fp.c
27608 (hack_digit): New function, broken out of ...
27609 (__printf_fp): ... local function here. Update call sites.
27610 hack_digit now takes an additional parameter that is a pointer
27611 to a struct of the referenced locals. Those locals moved inside
27612 the struct and references updated.
27613
27614 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
27615
27616 * aclocal.m4: Require autoconf 2.69.
27617 * configure: Regenerated.
27618 * sysdeps/aarch64/configure: Likewise.
27619 * sysdeps/alpha/configure: Likewise.
27620 * sysdeps/arm/armv7/configure: Likewise.
27621 * sysdeps/arm/configure: Likewise.
27622 * sysdeps/ia64/configure: Likewise.
27623 * sysdeps/mach/configure: Likewise.
27624 * sysdeps/mips/configure: Likewise.
27625 * sysdeps/s390/configure: Likewise.
27626 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27628
27629 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27630 file.
27631 * sysdeps/ia64/configure.ac: Likewise.
27632
27633 2014-09-26 Joseph Myers <joseph@codesourcery.com>
27634
27635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27636 specify symbol version for ld.so. Do not include entry for
27637 libpthread.
27638 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27639 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27640 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27641
27642 [BZ #14171]
27643 * Makeconfig [$(build-shared) = yes]
27644 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27645 makefiles.
27646 [$(build-shared) = yes && $(soversions.mk-done) = t]
27647 ($(common-objpfx)gnu/lib-names.h): Remove rule.
27648 [$(build-shared) = yes && $(soversions.mk-done) = t]
27649 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
27650 to Makerules.
27651 [$(build-shared) = yes && $(soversions.mk-done) = t]
27652 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27653 here.
27654 [$(build-shared) = yes && $(soversions.mk-done) = t]
27655 (common-generated): Don't append gnu/lib-names.h and
27656 gnu/lib-names.stmp here.
27657 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27658 (lib-names-h-abi): New variable.
27659 [$(build-shared) = yes && $(soversions.mk-done) = t]
27660 (lib-names-stmp-abi): Likewise.
27661 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27662 abi-variants] (before-compile): Append
27663 $(common-objpfx)$(lib-names-h-abi).
27664 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27665 abi-variants] (common-generated): Append gnu/lib-names.h.
27666 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27667 abi-variants] (install-others-nosubdir): Depend on
27668 $(inst_includedir)/$(lib-names-h-abi).
27669 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27670 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27671 [$(build-shared) = yes && $(soversions.mk-done) = t]
27672 ($(common-objpfx)$(lib-names-h-abi)): New rule.
27673 [$(build-shared) = yes && $(soversions.mk-done) = t]
27674 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27675 [$(build-shared) = yes && $(soversions.mk-done) = t]
27676 (common-generated): Append $(lib-names-h-abi) and
27677 $(lib-names-stmp-abi).
27678 * scripts/lib-names.awk: Do not handle multi being set.
27679 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27680 Remove variable.
27681 (abi-lp64_be-ld-soname): Likewise.
27682 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27683 Likewise.
27684 (abi-hard-ld-soname): Likewise.
27685 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27686 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27687 Remove variable.
27688 (abi-o32_hard-ld-soname): Likewise.
27689 (abi-o32_soft_2008-ld-soname): Likewise.
27690 (abi-o32_hard_2008-ld-soname): Likewise.
27691 (abi-n32_soft-ld-soname): Likewise.
27692 (abi-n32_hard-ld-soname): Likewise.
27693 (abi-n32_soft_2008-ld-soname): Likewise.
27694 (abi-n32_hard_2008-ld-soname): Likewise.
27695 (abi-n64_soft-ld-soname): Likewise.
27696 (abi-n64_hard-ld-soname): Likewise.
27697 (abi-n64_soft_2008-ld-soname): Likewise.
27698 (abi-n64_hard_2008-ld-soname): Likewise.
27699 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27700 Likewise.
27701 (abi-64-v2-ld-soname): Likewise.
27702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27703 ld.so entries.
27704 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27705 variable.
27706 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27707 entry.
27708 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27709 variable.
27710 (abi-64-ld-soname): Likewise.
27711 (abi-x32-ld-soname): Likewise.
27712 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27713 entry.
27714 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27715
27716 2014-09-23 Joseph Myers <joseph@codesourcery.com>
27717
27718 [BZ #14138]
27719 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27720 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27721 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27722 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27723 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27724 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27725 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27726 syscall entry for GLIBC_2.2 symbol version.
27727 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27728 Likewise.
27729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27730 (setrlimit): Likewise.
27731 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27732 Likewise.
27733
27734 2014-09-23 Will Newton <will.newton@linaro.org>
27735
27736 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27737 _LINUX_ARM_SYSDEP_H include guard too.
27738 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27739 define.
27740
27741 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
27742
27743 * sysdeps/unix/sysv/linux/eventfd.c:
27744 Make first argument unsigned.
27745 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27746 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27747
27748 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
27749
27750 [BZ #16852]
27751 * socket/recvmmsg.c (recvmmsg): Drop const argument.
27752 * socket/sys/socket.h: Likewise.
27753 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27754
27755 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27756
27757 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27758
27759 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
27760
27761 * time/tst-ftime.c: New test.
27762 * time/Makefile (tests): Add tst-ftime.
27763
27764 2014-09-17 Joseph Myers <joseph@codesourcery.com>
27765
27766 * soft-fp/extended.h: Fix comment formatting.
27767 * soft-fp/op-1.h: Likewise.
27768 * soft-fp/op-2.h: Likewise.
27769 * soft-fp/op-4.h: Likewise.
27770 * soft-fp/op-8.h: Likewise.
27771 * soft-fp/op-common.h: Likewise.
27772 * soft-fp/soft-fp.h: Likewise.
27773
27774 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27775
27776 2014-09-16 Joseph Myers <joseph@codesourcery.com>
27777
27778 [BZ #6652]
27779 * Makeconfig (soversions-default-setname): Remove variable.
27780 ($(common-objpfx)soversions.i): Don't pass default_setname to
27781 soversions.awk.
27782 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27783 oldest_abi to abi-versions.awk.
27784 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27785 * config.make.in (oldest-abi): Remove variable.
27786 * configure.ac (--enable-oldest-abi): Remove configure option.
27787 * configure: Regenerated.
27788 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27789 text.
27790 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27791 * scripts/soversions.awk: Do not handle default_setname variable.
27792 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27793 variable.
27794 * sysdeps/mach/hurd/configure: Regenerated.
27795 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27796 variable.
27797 * sysdeps/unix/sysv/linux/configure: Regenerated.
27798
27799 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27800
27801 * elf/Makefile (CFLAGS-interp.c): Remove.
27802 ($(elf-objpfx)runtime-linker.h): Generate header with linker
27803 path string.
27804 * elf/interp.c: Include generated runtime-linker.h
27805
27806 * Makerules (lib%.so): Don't include $(+interp) in
27807 prerequisites.
27808 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27809 * dlfcn/eval.c: Remove file.
27810
27811 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27812 macros.
27813
27814 [BZ #17266]
27815 * misc/sys/cdefs.h: Define __extern_always_inline for clang
27816 4.2 and newer.
27817
27818 [BZ #17370]
27819 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27820
27821 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27822 Jakub Jelinek <jakub@redhat.com>
27823
27824 [BZ #17266]
27825 * libio/stdio.h: Check definition of __fortify_function
27826 instead of __extern_always_inline to include bits/stdio2.h.
27827 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27828 check if __extern_always_inline is defined.
27829 [__USE_MISC || __USE_XOPEN]: Likewise.
27830 [__USE_ISOC99] Likewise.
27831 * misc/sys/cdefs.h (__fortify_function): Define only if
27832 __extern_always_inline is defined.
27833 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27834 __extern_always_inline and __extern_inline only for g++-4.3
27835 and newer or a compatible gcc.
27836
27837 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
27838
27839 [BZ #17371]
27840 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27841 last change to handle zero prefix length.
27842
27843 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27844
27845 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27846 _SC_REGEX_VERSION.
27847
27848 * posix/getconf.c (vars): Add _POSIX_IPV6 and
27849 _POSIX_RAW_SOCKETS.
27850
27851 2014-09-13 Allan McRae <allan@archlinux.org>
27852
27853 * po/ru.po: Update Russian translation from translation project.
27854
27855 2014-09-12 Roland McGrath <roland@hack.frob.com>
27856
27857 * locale/programs/locale.c (show_locale_vars): Inline local function
27858 into its sole call site. Clean up some style nits.
27859 (print_item): New function, broken out of ...
27860 (show_info): ... local function here. Clean up style nits.
27861
27862 * locale/programs/ld-ctype.c (set_one_default): New function, broken
27863 out of ...
27864 (set_class_defaults): ... local function set_default here.
27865 Define set_default as a macro locally to pass constant parameters.
27866 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27867 rather than a shared local.
27868
27869 * stdlib/rpmatch.c (try): New function, broken out of ...
27870 (rpmatch): ... local function here. Also, prototypify definition.
27871
27872 2014-09-12 Joseph Myers <joseph@codesourcery.com>
27873
27874 * scripts/soversions.awk: Do not handle configuration names.
27875 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27876 vendor and os variables to soversions.awk.
27877 * configure.ac: Do not modify gnu-* host_os.
27878 * configure: Regenerated
27879 * shlib-versions: Remove first column with configuration names.
27880 * nptl/shlib-versions: Likewise.
27881 * nptl_db/shlib-versions: Likewise.
27882 * sysdeps/hppa/shlib-versions: Likewise.
27883 * sysdeps/m68k/shlib-versions: Likewise.
27884 * sysdeps/mach/hurd/shlib-versions: Likewise.
27885 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27886 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27887 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27888 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27889 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27890 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27891 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27892 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27894 Likewise.
27895 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27896 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27897 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27898 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27899 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27900 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27901 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27902 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27903
27904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27905 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27907 Regenerated.
27908 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27910 Condition symbol version definitions on [HAVE_ELFV2_ABI].
27911
27912 * shlib-versions: Remove OS-specific entries. Moved to files in
27913 sysdeps.
27914 * sysdeps/mach/hurd/shlib-versions: New file.
27915 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27916
27917 * nptl/shlib-versions: Remove architecture-specific entries.
27918 Moved to files in sysdeps.
27919 * shlib-versions: Likewise.
27920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27921 file.
27922 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27923 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27924 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27925 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27926
27927 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27928 (UDP_NO_CHECK6_RX): Likewise.
27929
27930 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27931
27932 * sysdeps/posix/sysconf.c (__sysconf): Spell
27933 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27934
27935 2014-08-12 Florian Weimer <fweimer@redhat.com>
27936
27937 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27938 loading.
27939 * iconv/Versions (__gconv_transliterate): Export for use from
27940 gconv modules.
27941 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27942 (struct __gconv_trans_data, __gconv_trans_fct,
27943 __gconv_trans_context_fct, __gconv_trans_query_fct,
27944 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27945 definitions.
27946 (struct __gconv_step_data): Remove __trans member.
27947 (__gconv_transliterate): Declaration moved from gconv_int.h. No
27948 longer hidden. Remove unused trans_data argument.
27949 * iconv/gconv_int.h (struct trans_struct): Remove definition.
27950 (__gconv_translit_find): Remove declaration.
27951 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
27952 prototype.
27953 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27954 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27955 trans_data argument. Add hidden definition.
27956 (__gconv_translit_find): Remove.
27957 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27958 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27959 * iconv/skeleton.c: Remove transliteration initialization.
27960 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27961 __gconv_step_data initialization.
27962 * libio/iofwide.c (__libio_translit_): Remove.
27963 (_IO_fwide): Adjust struct __gconv_step_data initialization.
27964 * wcsmbs/btowc.c (__btowc): Likewise.
27965 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27966 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27967 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27968 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27969 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27970 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27971 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27972 * wcsmbs/wctob.c (wctob): Likewise.
27973
27974 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27975
27976 [BZ #16194]
27977 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27978 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
27979 register usage.
27980 * sysdeps/x86/Makefile: Adjust.
27981
27982 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27983 Roland McGrath <roland@hack.frob.com>
27984
27985 * locale/weight.h: Add include guard.
27986 (findidx): Make static rather than auto; take new parameters
27987 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27988 * locale/weightwc.h: Likewise.
27989 * posix/fnmatch_loop.c
27990 (FCT): Change type of EXTRA from int32_t to wint_t.
27991 Don't include either header inside the function.
27992 Call FINDIDX rather than findidx, and pass new arguments.
27993 #undef FINDIDX at the end of the file.
27994 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27995 FINDIDX before including fnmatch_loop.c for the non-wide version.
27996 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27997 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27998 for the wide version.
27999 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28000 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28001 Pass new arguments to findidx.
28002 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28003 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28004 Don't #include it inside the function. Pass new arguments to findidx.
28005 * posix/regex_internal.h
28006 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28007 (re_string_elem_size_at): Don't #include it inside the function.
28008 Pass new arguments to findidx.
28009 * string/strcoll_l.c: #include WEIGHT_H at top level.
28010 (get_next_seq): Don't #include it inside the function.
28011 Pass new arguments to findidx.
28012 (get_next_seq_nocache): Likewise.
28013 * string/strxfrm_l.c: #include WEIGHT_H at top level.
28014 (STRXFRM): Don't #include it inside the function.
28015 Pass new arguments to findidx.
28016
28017 2014-09-11 Florian Weimer <fweimer@redhat.com>
28018
28019 [BZ #17344]
28020 * malloc/malloc.c (unlink): Turn asserts into a call to
28021 malloc_printerr.
28022
28023 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
28024
28025 [BZ #17370]
28026 * libio/wfileops (do_ftell_wide): Free OUT.
28027
28028 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
28029
28030 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28031
28032 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28033
28034 [BZ #17363]
28035 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28036 group if the current group is empty.
28037
28038 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28039
28040 * benchtests/bench-memset.c (test_main): Add more test from size
28041 from 32 to 512 bytes.
28042 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28043 Add POWER8 memset object.
28044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28045 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28046 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28047 implementation.
28048 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28049 Likewise.
28050 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28051 multiarch POWER8 memset optimization.
28052 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28053 POWER8 memset optimization.
28054
28055 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28056 Remove bzero multiarch objects.
28057 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28058 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28059 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28060 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28061 Remove define.
28062 [__bzero]: Redefine to specific name.
28063 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28064 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28065 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28066 define.
28067 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28068 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28069
28070 2014-09-10 Florian Weimer <fweimer@redhat.com>
28071
28072 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28073 warnings into errors.
28074
28075 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28076 __cxa_thread_atexit_impl prototype.
28077
28078 2014-09-09 Steve Ellcey <sellcey@mips.com>
28079
28080 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28081 Fix capitalization of error message.
28082
28083 2014-09-09 Steve Ellcey <sellcey@mips.com>
28084
28085 * sysdeps/mips/preconfigure: Modify ABI tests.
28086
28087 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
28088
28089 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28090
28091 2014-09-07 Roland McGrath <roland@hack.frob.com>
28092 Carlos O'Donell <carlos@systemhalted.org>
28093
28094 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28095 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28096 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28097 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28098 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28099 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28100 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28101 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28102 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28103 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28104 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28105 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28106 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28107 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28108 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28109 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28110 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28111 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28112 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28113 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28114 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28115 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28116 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28117 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28118 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28119 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28120 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28121 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28122 Deconditionalize the code that was previously under [RESET_PID].
28123 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28124 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28125 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28126 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28127 include sysdep.h.
28128
28129 2014-09-08 Allan McRae <allan@archlinux.org>
28130
28131 * version.h (RELEASE): Set to "development".
28132 (VERSION): Set to "2.20.90"
28133
28134 2014-09-07 Allan McRae <allan@archlinux.org
28135
28136 * version.h (RELEASE): Set to "stable".
28137 (VERSION): Set to "2.20"
28138 * include/features.h (__GLIBC_MINOR__): Set to 20.
28139
28140 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28141 Liebler.
28142
28143 * po/ko.po: Update Korean translation from translation project.
28144
28145 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
28146
28147 [BZ #17354]
28148 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28149 macro for handling signed relocations.
28150
28151 2014-09-03 Florian Weimer <fweimer@redhat.com>
28152
28153 [BZ #17325]
28154 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28155 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28156 assert.
28157 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28158 * iconvdata/ibm935.c (BODY): Likewise.
28159 * iconvdata/ibm937.c (BODY): Likewise.
28160 * iconvdata/ibm939.c (BODY): Likewise.
28161 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28162 assert.
28163 * iconvdata/Makefile (iconv-test.out): Pass module list to test
28164 script.
28165 * iconvdata/run-iconv-test.sh: New test loop for checking for
28166 decoder crashers.
28167
28168 2014-09-02 Khem Raj <raj.khem@gmail.com>
28169
28170 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28171 libm_hidden_ver.
28172
28173 2014-09-01 Allan McRae <allan@archlinux.org>
28174
28175 * po/eo.po: Update Esperanto translation from translation project.
28176
28177 * po/ca.po: Update Catalan translation from translation project.
28178
28179 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
28180
28181 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28182 __proc_dostop call.
28183
28184 2014-08-27 Mark Wielaard <mjw@redhat.com>
28185
28186 [BZ #17319]
28187 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28188 to call set_thread_area instead of hand written asm.
28189 (__NR_set_thread_area): Removed define.
28190 (TLS_FLAG_WRITABLE): Likewise.
28191 (__ASSUME_SET_THREAD_AREA): Remove check.
28192 (TLS_EBX_ARG): Remove define.
28193 (TLS_LOAD_EBX): Likewise.
28194
28195 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28196
28197 Simplify atomicity of socket creation in bind.
28198
28199 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28200 looking up the name after linking the file.
28201
28202 2014-08-27 Allan McRae <allan@archlinux.org>
28203
28204 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28205
28206 2014-08-26 Florian Weimer <fweimer@redhat.com>
28207
28208 [BZ #17187]
28209 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28210 trans_compare, open_translit, __gconv_translit_find):
28211 Remove module loading code.
28212
28213 2014-08-26 Allan McRae <allan@archlinux.org>
28214
28215 * po/vi.po: Update Vietnamese translation from translation project.
28216
28217 * po/uk.po: Update Ukrainian translation from translation project.
28218
28219 * po/fr.po: Update French translation from translation project.
28220
28221 * po/ru.po: Update Russian translation from translation project.
28222
28223 * po/pl.po: Update Polish translation from translation project.
28224
28225 * po/cs.po: Update Czech translation from translation project.
28226
28227 * po/de.po: Update German translation from translation project.
28228
28229 * po/bg.po: Update Bulgarian translation from translation project.
28230
28231 * po/sv.po: Update Sweedish translation from translation project.
28232
28233 * po/nl.po: Update Dutch translation from translation project.
28234
28235 * po/es.po: Update Spanish translation from translation project.
28236
28237 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28238
28239 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28240
28241 * catgets/Makefile (CPPFLAGS-gencat): Remove.
28242 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28243 (CPPFLAGS-iconvconfig): Likewise.
28244 * timezone/Makefile (CPPFLAGS-zic): Likewise.
28245
28246 * include/libc-symbols.h: Remove unnecessary check for
28247 NOT_IN_libc.
28248 * nptl/pthreadP.h: Likewise.
28249 * sysdeps/aarch64/setjmp.S: Likewise.
28250 * sysdeps/alpha/setjmp.S: Likewise.
28251 * sysdeps/arm/sysdep.h: Likewise.
28252 * sysdeps/i386/setjmp.S: Likewise.
28253 * sysdeps/m68k/setjmp.c: Likewise.
28254 * sysdeps/posix/getcwd.c: Likewise.
28255 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28256 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28257 * sysdeps/s390/s390-32/setjmp.S: Likewise.
28258 * sysdeps/s390/s390-64/setjmp.S: Likewise.
28259 * sysdeps/sh/sh3/setjmp.S: Likewise.
28260 * sysdeps/sh/sh4/setjmp.S: Likewise.
28261 * sysdeps/unix/alpha/sysdep.h: Likewise.
28262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28263 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28264 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28265 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28268 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28270 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28273 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28275 * sysdeps/x86_64/setjmp.S: Likewise.
28276
28277 2014-08-13 Joseph Myers <joseph@codesourcery.com>
28278
28279 [BZ #17263]
28280 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28281 <stdint.h>.
28282 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28283 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28284
28285 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28286
28287 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28288
28289 [BZ #17262]
28290 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28291 and __x86_64__ when disabling x87 inline functions.
28292
28293 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
28294
28295 [BZ #17259]
28296 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28297 asm statement with __cpuid_count.
28298
28299 2014-08-12 Mike Frysinger <vapier@gentoo.org>
28300
28301 * configure.ac: Change __ehdr_start code to dereference the struct.
28302 Run readelf on the output to look for relocations.
28303 * configure: Regenerated.
28304
28305 2014-08-12 Joseph Myers <joseph@codesourcery.com>
28306
28307 [BZ #17261]
28308 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28309 value to 0.
28310 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28311
28312 2014-08-12 Roland McGrath <roland@hack.frob.com>
28313
28314 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28315
28316 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
28317
28318 [BZ #16892]
28319 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28320 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28321
28322 2014-08-12 Sean Anderson <seanga2@gmail.com>
28323
28324 * malloc/malloc.c: Fix typo in comment.
28325
28326 2014-08-09 Allan McRae <allan@archlinux.org>
28327
28328 * Regenerate libc.po.
28329
28330 2014-08-08 Mike Frysinger <vapier@gentoo.org>
28331
28332 * intl/tst-gettext2.sh: Check every lang file for creation.
28333
28334 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
28335
28336 * sysdeps/aarch64/fpu/math_private.h
28337 (libc_feholdsetround_noex_aarch64_ctx): New function.
28338
28339 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
28340
28341 * sysdeps/arm/armv6/strcpy.S (strcpy):
28342 Fix performance issue in misaligned cases.
28343
28344 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28345
28346 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28347 Move definition from termios.h.
28348 (struct termio): Likewise.
28349 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28350 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28351 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28352 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28353 Likewise.
28354 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28355 Move definition to ioctl-types.h
28356 (struct termio): Likewise.
28357 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28358 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28359 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28360 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28361 Likewise.
28362
28363 2014-08-05 Richard Henderson <rth@redhat.com>
28364
28365 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28366 exceptions.
28367 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28368 Add fraiseexcpt.
28369 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28370 Use __feraiseexcept.
28371 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28372 Protect libm symbols with IS_IN_libm.
28373
28374 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28375
28376 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
28377
28378 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28379
28380 2014-08-04 Will Newton <will.newton@linaro.org>
28381
28382 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28383 file.
28384
28385 2014-08-04 Mike Frysinger <vapier@gentoo.org>
28386
28387 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28388 variants for each function.
28389
28390 2014-08-04 Roland McGrath <roland@hack.frob.com>
28391
28392 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28393 appended ...
28394 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28395 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28396 appended ...
28397 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28398 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28399 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28400 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28401 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28402 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28403 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28404 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28405 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28406 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28407 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28408 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28409 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28410 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28411 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28412 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28413 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28414 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28415 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28416 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28417 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28418 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28419 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28420 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28421 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28422 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28423 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28424 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28425 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28426 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28427 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28428 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28429 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28430 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28431 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28432 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28433 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28434 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28435 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28436 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28437 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28438 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28439 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28440 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28441 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28442 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28443 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28444 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28445 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28446 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28447 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28448 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28449 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28450 Update #include.
28451 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28452 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28453
28454 2014-08-04 Roland McGrath <roland@hack.frob.com>
28455
28456 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28457 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28458 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28459 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28460 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28461 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28462
28463 2014-08-04 Roland McGrath <roland@hack.frob.com>
28464
28465 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28466 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28467 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28468 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28469
28470 2014-08-04 Roland McGrath <roland@hack.frob.com>
28471
28472 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28473 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28474 (__libc_vfork): Define function under this name.
28475 (__vfork): Define as an alias.
28476 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28477 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28478
28479 2014-08-04 Roland McGrath <roland@hack.frob.com>
28480
28481 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28482 that was previously under [RESET_PID].
28483 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28484
28485 2014-08-04 Andreas Schwab <schwab@suse.de>
28486
28487 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28488
28489 2014-08-03 Mike Frysinger <vapier@gentoo.org>
28490
28491 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28492 (main): Likewise.
28493
28494 2014-08-01 Roland McGrath <roland@hack.frob.com>
28495
28496 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28497
28498 2014-08-01 Richard Henderon <rth@redhat.com>
28499
28500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28501 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28502 typo in exact zero test.
28503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28504 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28505 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28506
28507 2014-08-01 Roland McGrath <roland@hack.frob.com>
28508
28509 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28510 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28511 * sysdeps/arm/sysdep.h: ... here.
28512 [!__ASSEMBLER__]: Include <stdint.h>.
28513
28514 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28515
28516 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28517 (HAVE_WCTYPE_H): Likewise.
28518 (HAVE_ISWCTYPE): Likewise.
28519 (ENABLE_NLS): Likewise.
28520 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28521 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28522
28523 * posix/regex_internal.c: Check if DEBUG is defined and is
28524 set.
28525
28526 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28527 (HAVE_MBSRTOWCS): Likewise.
28528 * posix/fnmatch.c: Include string.h unconditionally.
28529
28530 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
28531
28532 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28533 reversal.
28534
28535 2014-07-31 Roland McGrath <roland@hack.frob.com>
28536
28537 * sysdeps/generic/safe-fatal.h: New file.
28538 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28539 * nptl/forward.c: Include it.
28540 (__pthread_unwind): Use __safe_fatal as default action, rather
28541 than a bogus use of INTERNAL_SYSCALL that could never work.
28542
28543 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28544 * configure.ac (libc_cv_builtin_trap): New test.
28545 * configure: Regenerated.
28546 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28547 (ABORT_INSTRUCTION): Define using __builtin_trap.
28548
28549 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28550 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28551 * sysdeps/nptl/nptl-signals.h: New file.
28552 * nptl/pthreadP.h: Include <nptl-signals.h>.
28553
28554 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
28555
28556 * sysdeps/s390/s390-64/utf16-utf32-z9.c
28557 (ONE_DIRECTION): Define.
28558 * sysdeps/s390/s390-64/utf8-utf16-z9.c
28559 (ONE_DIRECTION): Define.
28560 * sysdeps/s390/s390-64/utf8-utf32-z9.c
28561 (ONE_DIRECTION): Define.
28562
28563 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
28564
28565 * sysdeps/s390/Makefile: Delete file.
28566 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28567 * sysdeps/s390/__longjmp.c: Delete file.
28568 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28569 Remove fields __flags and __reserved.
28570 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28571 and add versioning.
28572 * sysdeps/s390/rtld-__longjmp.c: Delete file.
28573 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28574 * sysdeps/s390/rtld-setjmp.S: Likewise.
28575 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28576 * sysdeps/s390/s390-32/__longjmp.c: ... here.
28577 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28578 * sysdeps/s390/s390-32/setjmp.S: ... here.
28579 Add versioning.
28580 (__sigsetjmp): Remove setting __flags field.
28581 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28582 * sysdeps/s390/s390-64/__longjmp.c: ... here.
28583 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28584 * sysdeps/s390/s390-64/setjmp.S: ... here.
28585 Add versioning.
28586 (__sigsetjmp): Remove setting __flags field.
28587 * sysdeps/s390/setjmp.S: Delete file.
28588 * sysdeps/s390/sigjmp.c: Likewise.
28589 * sysdeps/s390/v1-longjmp.c: Likewise.
28590 * sysdeps/s390/v1-setjmp.h: Likewise.
28591 * sysdeps/s390/v1-sigjmp.c: Likewise.
28592 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28593 Remove v1-longjmp_chk.
28594 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28595 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28596 Include debug/longjmp_chk.c and add versioning.
28597 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28598 Include nptl/pt-longjmp.c and add versioning.
28599 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28600 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28601 Include __longjmp.c.
28602 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28603 Move to ...
28604 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28605 (__getcontext): Remove setting __flags field.
28606 Add versioning.
28607 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28608 Don't restore upper high grps.
28609 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28610 Likewise.
28611 (__swapcontext): Remove setting uc_flags field.
28612 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28613 Delete file.
28614 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28615 Include __longjmp.c.
28616 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28617 Move to ...
28618 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28619 (__getcontext): Remove setting __flags field.
28620 Add versioning.
28621 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28622 (__swapcontext): Remove setting uc_flags field.
28623 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28624 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28625 Remove fields uc_high_gprs and __reserved.
28626 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28627 New file with reverted content.
28628 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28629 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28630 Regenerated.
28631 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28632 Regenerated.
28633
28634 2014-07-31 Andreas Schwab <schwab@suse.de>
28635
28636 * config.h.in (HAVE_IFUNC): Define to 0.
28637 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28638 definedness.
28639
28640 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
28641
28642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28643 memmove-avx-unaligned, memcpy-avx-unaligned and
28644 mempcpy-avx-unaligned.
28645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28646 Add tests for AVX memcpy functions.
28647 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28648 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28649 memcpy_chk.
28650 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28651 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28652 memmove_chk.
28653 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28654 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28655 mempcpy_chk.
28656 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28657 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28658 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28659
28660 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28661
28662 [BZ #17213]
28663 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28664 powerpc64le.
28665
28666 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
28667
28668 [BZ #16839]
28669 * manual/llio.texi: Add section about open file description locks.
28670 * manual/examples/ofdlocks.c: Example of open file description
28671 lock usage.
28672 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28673 F_OFD_SETLK, and F_OFD_SETLKW.
28674
28675 2014-07-23 Allan McRae <allan@archlinux.org>
28676
28677 * po/es.po: Update Spanish translation from translation project.
28678
28679 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
28680
28681 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28682
28683 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
28684
28685 [BZ #17078]
28686 * sysdeps/arm/dl-machine.h (elf_machine_rela)
28687 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28688 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28689
28690 2014-07-17 Joseph Myers <joseph@codesourcery.com>
28691
28692 [BZ #17088]
28693 * math/fesetenv.c (__fesetenv)
28694 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28695 * math/feupdateenv.c (__feupdateenv)
28696 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28697
28698 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28699 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28700 (__ASSUME_SOCKETCALL): Do not define.
28701
28702 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28703 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28704 (__ASSUME_SOCKETCALL): Do not define.
28705 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28706 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28707 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28708 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28709 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28710 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28711 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28712 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28713
28714 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28715 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28716 (__ASSUME_SOCKETCALL): Do not define.
28717 (__ASSUME_IPC64): Define unconditionally.
28718 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28719 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28720 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28721 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28722 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28723 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28724 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28725 Likewise.
28726
28727 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28728 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28729 (__ASSUME_SOCKETCALL): Do not define.
28730 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28731 (__ASSUME_FUTEX_LOCK_PI): Likewise.
28732 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28733 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28734 (__ASSUME_REQUEUE_PI): Define unconditionally.
28735 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28736 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28737 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28738 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28739 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28740 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28741
28742 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28743 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28744 (__ASSUME_SOCKETCALL): Do not define.
28745 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28746 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28747 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28748 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28749 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28750 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28751
28752 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28753 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28754 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28755 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28756 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28757 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28758 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28759 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28760 (__ASSUME_GETCPU_SYSCALL): Likewise.
28761
28762 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28763 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
28764 cases for individual architectures.
28765 * sysdeps/gnu/configure: Regenerated.
28766 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28767 LIBC_SLIBDIR_RTLDDIR.
28768 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28769 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28770 LIBC_SLIBDIR_RTLDDIR.
28771 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28773 LIBC_SLIBDIR_RTLDDIR.
28774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28775 Regenerated.
28776 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28777 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28778 file.
28779 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28780 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28781 file.
28782 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28783 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28784 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28785 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28786
28787 * sysdeps/aarch64/shlib-versions: Move to ...
28788 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28789 * sysdeps/alpha/shlib-versions: Move to ...
28790 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28791 * sysdeps/arm/shlib-versions: Move to ...
28792 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28793 * sysdeps/hppa/shlib-versions: Move all contents except for
28794 libgcc_s entry to ...
28795 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
28796 entry from ...
28797 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
28798 * sysdeps/ia64/shlib-versions: Move to ...
28799 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
28800 entry from ...
28801 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
28802 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28803 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28804 * sysdeps/microblaze/shlib-versions: Move to ...
28805 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28806 * sysdeps/mips/shlib-versions: Move to ...
28807 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
28808 entry from ...
28809 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
28810 * sysdeps/tile/shlib-versions: Move to ...
28811 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28812 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28813 from ...
28814 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
28815 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28816 entry from ...
28817 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
28818
28819 2014-07-17 Will Newton <will.newton@linaro.org>
28820
28821 * sysdeps/arm/bits/atomic.h
28822 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28823 (__arch_compare_and_exchange_bool_16_int): Likewise.
28824 (__arch_compare_and_exchange_bool_64_int): Likewise.
28825
28826 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28827 into an #else block.
28828
28829 2014-07-16 Roland McGrath <roland@hack.frob.com>
28830
28831 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28832 just Linux configurations. Test empirically that the compiler sets
28833 __ARM_EABI__, rather than using the tuple to decide.
28834 * sysdeps/arm/preconfigure: Regenerated.
28835 * sysdeps/unix/sysv/linux/arm/configure: File removed.
28836 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28837 contents appended ...
28838 * sysdeps/arm/configure.ac: ... here.
28839 * sysdeps/arm/configure: Regenerated.
28840
28841 2014-07-15 Roland McGrath <roland@hack.frob.com>
28842
28843 * nptl/pthread_kill.c: New file.
28844 * nptl/pthread_sigmask.c: New file.
28845 * nptl/pthread_sigqueue.c: New file.
28846
28847 * sysdeps/nptl/lowlevellock.h: New file.
28848 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28849 * sysdeps/nptl/lowlevellock-futex.h: New file.
28850
28851 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28852 Remove dead declarations.
28853
28854 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
28855
28856 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28857 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28858 config-cflags-avx2.
28859 * sysdeps/x86_64/configure.ac: Likewise.
28860 * sysdeps/i386/configure: Regenerated.
28861 * sysdeps/x86_64/configure: Likewise.
28862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28863 memset-avx2 only if config-cflags-avx2 is yes.
28864 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28865 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28866 defined.
28867 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28868 only if HAVE_AVX2_SUPPORT is defined.
28869 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28870
28871 2014-07-14 Alan Modra <amodra@gmail.com>
28872
28873 [BZ #17153]
28874 * elf/elf.h (DT_PPC64_NUM): Correct value.
28875 * NEWS: Add to fixed bug list.
28876
28877 2014-07-13 Jim Meyering <meyering@fb.com>
28878
28879 [BZ 17150]
28880 regex: don't deref NULL upon heap allocation failure
28881 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28882 failure in one more place.
28883 To trigger the segfault, configure grep -with-included-regex,
28884 build it, and run these commands:
28885 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28886
28887 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
28888
28889 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28890
28891 2014-07-11 Richard Henderson <rth@redhat.com>
28892
28893 * sysdeps/aarch64/libm-test-ulps: Update.
28894
28895 2014-07-10 Florian Weimer <fweimer@redhat.com>
28896
28897 [BZ #17135]
28898 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28899 * nptl/allocatestack.c (__nptl_setxid_error): New function.
28900 (__nptl_setxid): Initialize error member. Call
28901 __nptl_setxid_error.
28902 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28903 * nptl/descr.h (struct xid_command): Add error member.
28904 * nptl/tst-setuid3.c: New file.
28905 * nptl/Makefile (tests): Add it.
28906
28907 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28908
28909 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28910 New define.
28911 (__lll_trylock): Use __lll_base_trylock.
28912 (__lll_cond_trylock): Likewise.
28913
28914 2014-07-10 Roland McGrath <roland@hack.frob.com>
28915
28916 * nptl/pthread_create.c (start_thread): Use atomic_or and
28917 lll_futex_wake directly rather than lll_robust_dead.
28918 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28919 (lll_robust_dead): Macro removed.
28920 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28921 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28922 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28923 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28924 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28925 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28926 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28927 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28928 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28929 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28930 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28931 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28932 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28933 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28934 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28935
28936 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28937 Use atomic_compare_and_exchange_val_acq directly rather than
28938 lll_robust_trylock.
28939 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28940 (__lll_robust_trylock, lll_robust_trylock): Removed.
28941 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28942 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28943 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28944 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28945 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28946 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28947 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28948 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28949 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28950 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28951 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28952 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28953 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28954 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28955
28956 2014-07-02 Florian Weimer <fweimer@redhat.com>
28957
28958 * manual/locale.texi (Locale Names): New section documenting
28959 locale name syntax. Adjust menu and node chaining accordingly.
28960 (Choosing Locale): Reference Locale Names, Locale Categories.
28961 Mention setting LC_ALL=C. Reflect that name syntax is now
28962 documented.
28963 (Locale Categories): New section title. Reference Locale Names.
28964 LC_ALL is an environment variable, but not a category.
28965 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28966 description, now in Locale Name. Reference that section. Locale
28967 name syntax is now documented.
28968
28969 2014-07-02 Florian Weimer <fweimer@redhat.com>
28970
28971 [BZ #17137]
28972 * locale/findlocale.c (name_present, valid_locale_name): New
28973 functions.
28974 (_nl_find_locale): Use the loc_name variable to store name
28975 candidates. Call name_present and valid_locale_name to check and
28976 validate locale names. Return an error if the locale is invalid.
28977
28978 2014-07-02 Florian Weimer <fweimer@redhat.com>
28979
28980 * locale/setlocale.c (setlocale): Use strdup for allocating
28981 composite name copy.
28982
28983 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28984
28985 Sync up with gnulib.
28986 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28987 [!_LIBC && ENABLE_NLS]: Include gettext.h.
28988 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28989 and _GL_ARG_NONNULL.
28990 [USE_UNLOCKED_IO]: Include unlocked-io.h.
28991 [!_LIBC]: Include code for Windows and Cygwin.
28992 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28993 Include prototype for int strerror_r.
28994 [!_LIBC] (is_open): New function.
28995 (flush_stdout): New function.
28996 (print_errno_message): Use it.
28997 (error): Likewise.
28998 (error_at_line): Likewise.
28999 (error_tail) Add function attribute macros. Use
29000 __builtin_expect.
29001
29002 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29003
29004 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29005
29006 * io/ftw.c: Include sys/param.h unconditionally.
29007
29008 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29009
29010 [BZ #17125]
29011 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29012 libc_freeres_ptr.
29013 (freecache): New function to free CACHE on exit.
29014
29015 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29016 initialization.
29017
29018 2014-07-09 David S. Miller <davem@davemloft.net>
29019
29020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29021
29022 * sysdeps/sparc/nptl/internaltypes.h: Delete.
29023 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29024 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29025 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29026 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29027 * sysdeps/sparc/nptl/sem_init.c: Likewise.
29028 * sysdeps/sparc/nptl/sem_post.c: Likewise.
29029 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29030 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29031 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29032 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29033 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29034 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29035
29036 2014-07-09 Andreas Schwab <schwab@suse.de>
29037
29038 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29039 output.
29040 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29041 (do_test): Likewise.
29042
29043 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29044
29045 2014-07-09 Will Newton <will.newton@linaro.org>
29046
29047 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29048 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29049 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29050 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29051 * sysdeps/hppa/start.S (_start): Likewise.
29052
29053 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29054
29055 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29056
29057 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29058 defined.
29059
29060 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29061
29062 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29063 after checking that it is non-NULL.
29064
29065 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29066
29067 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29068
29069 * sysdeps/powerpc/memmove.c: Remove file.
29070 * sysdeps/powerpc/powerpc32/power4/memcopy.h
29071 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29072 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29073 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29074 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29075 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29076 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29077 string memmove instead of removed powerpc one.
29078
29079 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29080 [weak_alias]: Fix compiler warning due trailing data.
29081 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29082 [weak_alias]: Likewise.
29083 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29084 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29085
29086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29087 (__libc_ifunc_impl_list): Add memmove functions.
29088
29089 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29090
29091 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29092 Remove code.
29093 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29094 Likewise.
29095 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29096 Likewise.
29097 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29098 Likewise.
29099 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29100 Likewise.
29101 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29102 Likewise.
29103 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29104 Likewise.
29105 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29106 Likewise.
29107 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29108 Likewise.
29109 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29110 Likewise.
29111 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29112 Likewise.
29113 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29114 Likewise.
29115 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29116 Likewise.
29117 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29118 Likewise.
29119 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29120 Likewise.
29121 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29122 Likewise.
29123 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29124 Likewise.
29125
29126 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29127
29128 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29129 to avoid alignment traps in non-cacheable memory.
29130 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29131
29132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29133 multiarch objects.
29134 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29135 file: multiarch power7 memmove.
29136 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29137 multiarch default memmove.
29138 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29139 multiarch memove for powerpc32/power4.
29140
29141 * string/bcopy.c: Use full path to include memmove.c.
29142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29143 multiarch objects.
29144 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29145 bcopy for powerpc64.
29146 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29147 bcopy for powerpc64.
29148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29149 and memmove implementations.
29150 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29151 optimized multiarch memmove for POWER7/powerpc64.
29152 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29153 default multiarch memmove for powerpc64.
29154 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29155 multiarch for powerpc64.
29156 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29157 for POWER7/powerpc64.
29158 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29159 memmove for POWER7/powerpc64.
29160
29161 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29162 glibc default one.
29163
29164 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29165 __ELF_NATIVE_CLASS equal to 64.
29166
29167 2014-07-07 Roland McGrath <roland@hack.frob.com>
29168
29169 * sysdeps/nptl/lowlevellock.h: File removed.
29170
29171 * NEWS: NPTL is no longer an add-on!
29172 * nptl/internaltypes.h: Moved ...
29173 * sysdeps/nptl/internaltypes.h: ... here.
29174 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29175 * sysdeps/nptl/fork.c: Likewise.
29176 * sysdeps/nptl/gai_misc.h: Likewise.
29177 * sysdeps/nptl/librt-cancellation.c: Likewise.
29178 * sysdeps/nptl/jmp-unwind.c: Likewise.
29179 * sysdeps/nptl/setxid.h: Likewise.
29180 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29181 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29182 * sysdeps/unix/sysv/linux/arm/Implies: New file.
29183 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29184 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29185 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29186 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29187 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29188 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29189 * sysdeps/unix/sysv/linux/mips/Implies: New file.
29190 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29191 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29192 * sysdeps/unix/sysv/linux/sh/Implies: New file.
29193 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29194 * sysdeps/unix/sysv/linux/tile/Implies: New file.
29195 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29196 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29197 * nptl/Makeconfig: Moved ...
29198 * sysdeps/nptl/Makeconfig: ... here.
29199 * nptl/configure: File removed.
29200 * nptl/ANNOUNCE: File removed.
29201 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29202 * sysdeps/unix/sysv/linux/configure: Regenerated.
29203
29204 * nptl/Makefile (routines): Add libc_pthread_init,
29205 libc_multiple_threads, register-atfork and unregister-atfork.
29206 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29207 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29208 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29209 pthread-pi-defines.sym, structsem.sym.
29210 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29211 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29212 [$(subdir) = nptl] (tests): Add tst-setgetname.
29213 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29214 * sysdeps/unix/sysv/linux/sigaction.c: Just include
29215 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29216 [!LIBC_SIGACTION]: Remove aliases.
29217 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29218 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29219 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29220 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29221 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29222 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29224 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29225 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29226 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29227 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29228 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29229 __libc_allocate_rtsig_private.
29230 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29231 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29232 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29233 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29234 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29235 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29236 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29237 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29238 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29239 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29240 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29241 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29242 * nptl/internaltypes.h: ... here.
29243 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29244 * sysdeps/nptl/jmp-unwind.c: ... here.
29245 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29246 * nptl/libc-lowlevellock.c: ... here.
29247 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29248 * nptl/libc_multiple_threads.c: ... here.
29249 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29250 * nptl/libc_pthread_init.c: ... here.
29251 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29252 * nptl/lowlevelbarrier.sym: ... here.
29253 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29254 * nptl/lowlevelcond.sym: ... here.
29255 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29256 * nptl/lowlevellock.c: ... here.
29257 * nptl/lowlevellock.h: Moved ...
29258 * sysdeps/nptl/lowlevellock.h: ... here.
29259 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29260 * nptl/lowlevelrobustlock.c: ... here.
29261 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29262 * nptl/lowlevelrobustlock.sym: ... here.
29263 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29264 * nptl/lowlevelrwlock.sym: ... here.
29265 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29266 * nptl/pt-fork.c: ... here.
29267 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29268 * nptl/pthread-pi-defines.sym: ... here.
29269 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29270 * nptl/pthread_attr_getaffinity.c: ... here.
29271 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29272 * nptl/pthread_attr_setaffinity.c: ... here.
29273 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29274 * nptl/pthread_mutex_cond_lock.c: ... here.
29275 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29276 Update #include.
29277 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29278 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29279 * nptl/pthread_once.c: ... here, replacing old file.
29280 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29281 * nptl/pthread_yield.c: ... here.
29282 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29283 * nptl/register-atfork.c: ... here.
29284 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29285 * nptl/sem_post.c: ... here.
29286 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29287 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29288 * nptl/sem_timedwait.c: ... here.
29289 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29290 * nptl/sem_trywait.c: ... here.
29291 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29292 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29293 * nptl/sem_wait.c: ... here.
29294 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29295 * nptl/structsem.sym: ... here.
29296 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29297 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29298 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29299 * nptl/unregister-atfork.c: ... here.
29300 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29301 * nptl/unwindbuf.sym: ... here.
29302 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29303 * sysdeps/nptl/fork.c: ... here.
29304 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29305 * sysdeps/nptl/fork.h: ... here.
29306 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29307 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29308 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29309 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29310 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29311 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29312 * sysdeps/unix/sysv/linux/getpid.c: ... here.
29313 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29314 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29315 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29316 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29317 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29318 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29319 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29320 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29321 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29322 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29323 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29324 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29325 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29326 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29327 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29328 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29329 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29330 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29331 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29332 * sysdeps/unix/sysv/linux/raise.c: ... here.
29333 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29334 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29335 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29336 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29337 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29338 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29339 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29340 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29341 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29342 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29343 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29344 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29345 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29346 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29347 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29348
29349 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29350
29351 * sysdeps/generic/memcopy.h: Add comment for
29352 MEMCPY_OK_FOR_FWD_MEMMOVE.
29353
29354 2014-07-04 Will Newton <will.newton@linaro.org>
29355
29356 * string/memchr.c: Merge from gnulib.
29357 [_LIBC]: Remove conditionals.
29358 (__ptr_t): Remove define.
29359 (LONG_MAX_32_BITS): Likewise.
29360 (LONG_MAX): Likewise.
29361 (MEMCHR): Use ANSI prototype and optimize algorithm.
29362
29363 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29364
29365 2014-07-03 Roland McGrath <roland@hack.frob.com>
29366
29367 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29368 (lll_futex_timed_wait_bitset): Fix syscall argument count.
29369
29370 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29371 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29372 in a bare environment with no <stdlib.h> installed.
29373 * sysdeps/nptl/configure: Regenerated.
29374
29375 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29376
29377 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29378 AC_EGREP_CPP for kernel header checks, so they only succeed if
29379 including <linux/version.h> actually works right.
29380 * sysdeps/unix/sysv/linux/configure: Regenerated.
29381
29382 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29383 value so it's not diagnosed as unused.
29384
29385 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29386 thing) with "ifeq ($(subdir),rt)".
29387
29388 2014-07-03 Richard Henderson <rth@redhat.com>
29389
29390 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29391 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29392 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29393
29394 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29395 (math_force_eval): New.
29396
29397 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29398 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29399
29400 * sysdeps/alpha/fpu/s_round.c: Remove file.
29401 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29402
29403 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29404 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29405 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29406 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29407 (_dl_start, print_statistics): Likewise.
29408 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29409 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29410
29411 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29412 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29413 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29414 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29415 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29416 (HP_SMALL_TIMING_AVAIL): Define.
29417 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29418 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29419 (HP_SMALL_TIMING_AVAIL): Define.
29420 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29421 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29422
29423 * sysdeps/aarch64/hp-timing.h: New file.
29424
29425 * sysdeps/generic/hp-timing.h: Remove dead comment.
29426 * sysdeps/generic/hp-timing-common.h: New file.
29427 * sysdeps/alpha/hp-timing.h: Include it.
29428 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29429 * sysdeps/i386/i686/hp-timing.h: Likewise.
29430 * sysdeps/ia64/hp-timing.h: Likewise.
29431 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29432 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29433 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29434 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29435 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29436 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29437 (hp_timing_t): New.
29438
29439 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29440 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29441 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29442 * elf/rtld.c (_dl_start_final): Likewise.
29443 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29444 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29445 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29446 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29447 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29448 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29449 (HP_TIMING_DIFF_INIT): Remove.
29450 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29451 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29452 (HP_TIMING_DIFF_INIT): Remove.
29453 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29454 * sysdeps/i386/i686/hp-timing.c: Remove file.
29455 * sysdeps/x86_64/hp-timing.c: Remove file.
29456 * sysdeps/ia64/hp-timing.c: Remove file.
29457 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29458 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29459 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29460 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29461
29462 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29463 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29464 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29465 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29466 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29467 (HP_TIMING_ACCUM): Remove.
29468 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29469 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29470 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29471
29472 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29473 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29474 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29475 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29477 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29478 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29479 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29480
29481 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29482
29483 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
29484
29485 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29486
29487 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29488
29489 Sync up with gettext.
29490 * intl/loadmsgcat.c: Define O_BINARY if not defined.
29491 [_MSC_VER]: Include malloc.h
29492 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29493 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29494 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
29495 TEMP_FAILURE_RETRY. Cast return of alloca.
29496 [!_LIBC] Call gl_rwlock_init.
29497 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29498
29499 2014-07-02 Roland McGrath <roland@hack.frob.com>
29500
29501 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29502 before checking its value.
29503
29504 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29505
29506 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29507
29508 * debug/memcpy_chk.c: Don't include pagecopy.h.
29509 * debug/mempcpy_chk.c: Likewise.
29510 * string/memcpy.c: Likewise.
29511 * string/memmove.c: Likewise.
29512 * sysdeps/powerpc/memmove.c: Likewise.
29513 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
29514 definition of PAGE_COPY_FWD_MAYBE here...
29515 * sysdeps/generic/pagecopy.h: ... from here.
29516 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29517
29518 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29519 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29520
29521 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29523 optimizations.
29524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29525 (__libc_ifunc_impl_list): Likewise.
29526 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29527 multiarch strcat for PPC64.
29528 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29529 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29530
29531 2014-07-02 Roland McGrath <roland@hack.frob.com>
29532
29533 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29534
29535 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29536
29537 * intl/loadmsgcat.c: Remove declaration of
29538 get_sysdep_segment_value.
29539 (get_sysdep_segment_value): Use ISO C style.
29540 (_nl_load_domain): Use ISO C style. Get rid of redundant
29541 semicolon. Fix typo and formatting in comment.
29542 (_nl_unload_domain): Use ISO C style.
29543
29544 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29545
29546 2014-07-02 Will Newton <will.newton@linaro.org>
29547
29548 * malloc/obstack.c: Merge from gnulib master.
29549 [HAVE_CONFIG_H]: Remove conditional code.
29550 [!_LIBC]: Include config.h.
29551 [!ELIDE_CODE]: Don't include inttypes.h, include
29552 stdint.h unconditionally.
29553 (print_and_abort): Mark as _Noreturn.
29554 (_obstack_allocated_p): Mark as __attribute_pure__.
29555 (obstack_free): Rename to __obstack_free.
29556 [!__attribute__]: Remove conditional code.
29557 * malloc/obstack.h: Merge from gnulib master.
29558 [__cplusplus]: Move conditional down.
29559 [!__attribute_pure__]: Define __attribute_pure__ here
29560 if it is not already defined.
29561 (_obstack_memory_used): Mark as __attribute_pure__.
29562 [!__obstack_free]: Define as obstack_free.
29563 [__GNUC__]: Remove check for ancient NeXT gcc.
29564
29565 2014-07-02 Will Newton <will.newton@linaro.org>
29566 Paul Eggert <eggert@cs.ucla.edu>
29567
29568 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29569
29570 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29571
29572 * resolv/gethnamaddr.c: Add comment warning that the file is
29573 not maintained.
29574
29575 2014-07-01 Carlos O'Donell <carlos@redhat.com>
29576
29577 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29578 entries.
29579
29580 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29581 entry for aio_cancel and aio_cancel64.
29582 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29583 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29584 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29585 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29586 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29587 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29588 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29589 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29590 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29591 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29592 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29593 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29594 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29595
29596 2014-07-01 Roland McGrath <roland@hack.frob.com>
29597
29598 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29599 * nptl/pthread_mutex_lock.c: Likewise.
29600 * nptl/pthread_mutex_timedlock.c: Likewise.
29601 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29602
29603 2014-07-01 Richard henderson <rth@redhat.com>
29604
29605 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29606 (__isnan, __isnanl): Remove.
29607 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29608
29609 * sysdeps/alpha/fpu/libm-test-ulps: Update.
29610
29611 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
29612
29613 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29614
29615 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29616
29617 * resolv/nss_dns/dns-host.c (getanswer_r)
29618 [MULTI_PTRS_ARE_ALIASES]: Remove code.
29619
29620 2014-07-01 Joseph Myers <joseph@codesourcery.com>
29621
29622 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29623 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29624 undefine.
29625 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29626 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29627
29628 2014-07-01 Roland McGrath <roland@hack.frob.com>
29629
29630 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29631 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29632
29633 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29634 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29635
29636 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29637 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29638 ... here.
29639 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29640 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29641
29642 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29643 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29644 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29645 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29646
29647 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29648 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29649 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29650 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29651 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29652 Moved ...
29653 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29654 ... here.
29655 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29656 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29657 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29658 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29659 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29660 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29661 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29662 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29663 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29664 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29665 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29666 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29667 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29668 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29669 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29670 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29671 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29672 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29673 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29674 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29675 ... here.
29676 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29677 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29678 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29679 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29680 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29681 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29682 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29683 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29684
29685 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
29686
29687 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29688 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29689 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29690 Add sysdep.
29691
29692 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29693
29694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29695
29696 2014-06-30 Joseph Myers <joseph@codesourcery.com>
29697
29698 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29699 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29700
29701 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29702
29703 * sysdeps/arm/libm-test-ulps: Regenerated.
29704
29705 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
29706 Roland McGrath <roland@hack.frob.com>
29707
29708 * test-skeleton.c (signal_handler): Kill the whole process group
29709 before killing the child individually.
29710 (main): Report any failure on `setpgid'.
29711
29712 2014-06-30 Roland McGrath <roland@hack.frob.com>
29713
29714 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29715 from _TLS_H to _ARM_NPTL_TLS_H.
29716 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29717 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29718
29719 2014-06-30 Joseph Myers <joseph@codesourcery.com>
29720
29721 [BZ #16539]
29722 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29723 (__expm1l): Return argument unchanged when small but not
29724 subnormal.
29725
29726 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29727 include macro name.
29728 (_FP_UNPACK_RAW_1_P): Likewise.
29729 (_FP_PACK_RAW_1): Likewise.
29730 (_FP_PACK_RAW_1_P): Likewise.
29731 (_FP_MUL_MEAT_1_wide): Likewise.
29732 (_FP_MUL_MEAT_DW_1_hard): Likewise.
29733 (_FP_MUL_MEAT_1_hard): Likewise.
29734 (_FP_DIV_MEAT_1_imm): Likewise.
29735 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29736 (_FP_DIV_MEAT_1_udiv): Likewise.
29737 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29738 (_FP_UNPACK_RAW_2): Likewise.
29739 (_FP_UNPACK_RAW_2_P): Likewise.
29740 (_FP_PACK_RAW_2): Likewise.
29741 (_FP_PACK_RAW_2_P): Likewise.
29742 (_FP_MUL_MEAT_DW_2_wide): Likewise.
29743 (_FP_MUL_MEAT_2_wide): Likewise.
29744 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29745 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29746 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29747 (_FP_MUL_MEAT_2_gmp): Likewise.
29748 (_FP_DIV_MEAT_2_udiv): Likewise.
29749 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29750 (_FP_FRAC_SRL_4): Likewise.
29751 (_FP_FRAC_SRST_4): Likewise.
29752 (_FP_FRAC_SRS_4): Likewise.
29753 (_FP_UNPACK_RAW_4): Likewise.
29754 (_FP_UNPACK_RAW_4_P): Likewise.
29755 (_FP_PACK_RAW_4): Likewise.
29756 (_FP_PACK_RAW_4_P): Likewise.
29757 (_FP_MUL_MEAT_DW_4_wide): Likewise.
29758 (_FP_MUL_MEAT_4_wide): Likewise.
29759 (_FP_MUL_MEAT_4_gmp): Likewise.
29760 (umul_ppppmnnn): Likewise.
29761 (_FP_DIV_MEAT_4_udiv): Likewise.
29762 (__FP_FRAC_ADD_4): Likewise.
29763 (__FP_FRAC_SUB_3): Likewise.
29764 (__FP_FRAC_SUB_4): Likewise.
29765 (__FP_FRAC_DEC_3): Likewise.
29766 (__FP_FRAC_DEC_4): Likewise.
29767 (__FP_FRAC_ADDI_4): Likewise.
29768 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29769 (_FP_FRAC_SRL_8): Likewise.
29770 (_FP_FRAC_SRS_8): Likewise.
29771
29772 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29773 include macro name.
29774 (FP_UNPACK_RAW_EP): Likewise.
29775 (FP_PACK_RAW_E): Likewise.
29776 (FP_PACK_RAW_EP): Likewise.
29777 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29778 (_FP_ISSIGNAN): Likewise.
29779 (_FP_ADD_INTERNAL): Likewise.
29780 (_FP_FMA): Likewise.
29781 (_FP_CMP): Likewise.
29782 (_FP_SQRT): Likewise.
29783 (_FP_TO_INT): Likewise.
29784 (_FP_FROM_INT): Likewise.
29785 (FP_EXTEND): Likewise.
29786 (_FP_DIV_MEAT_N_loop): Likewise.
29787
29788 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
29789
29790 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29791 throughout.
29792
29793 2014-06-29 Joseph Myers <joseph@codesourcery.com>
29794
29795 [BZ #17097]
29796 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29797 result with correct sign in case of exponents that produce
29798 overflow except for X very close to 1.
29799
29800 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
29801
29802 mktime: merge #if/#ifdef usage from glibc
29803 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29804 as that works with both Glibc's and Gnulib's style.
29805 See thread starting at Siddhesh Poyarekar's bug report at:
29806 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29807
29808 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29809
29810 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29811 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29812 * sysdeps/tile/tilegx/memmove.c: Remove file.
29813
29814 2014-06-27 Joseph Myers <joseph@codesourcery.com>
29815
29816 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29817 abi-name definition.
29818 * scripts/soversions.awk: Do not handle or generate ABI lines.
29819 * shlib-versions: Remove ABI entries.
29820 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29821 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29822
29823 2014-06-27 Roland McGrath <roland@hack.frob.com>
29824
29825 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29826 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29827 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29828 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29829 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29830 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29832 Moved ...
29833 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29834 ... here.
29835 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29836 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29837 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29838 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29839 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29840 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29841 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29842 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29843 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29844 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29846 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29847 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29848 Moved ...
29849 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29850 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29851 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29852 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29853 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29854 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29855 Moved ...
29856 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29857 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29858 Moved ...
29859 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29860 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29861 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29863 Moved ...
29864 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29865 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29866 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29867 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29868 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29869 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29870 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29871 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29872 Moved ...
29873 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29874 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29875 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29876 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29877 Moved ...
29878 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29879 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29880 Moved ...
29881 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29882 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29883 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29884 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29885 Moved ...
29886 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29887 ... here.
29888 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29889 Identical file removed.
29890 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29891 Moved ...
29892 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29893 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29894 Identical file removed.
29895 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29896 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29897 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29898 Moved ...
29899 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29900 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29901 Identical file removed.
29902 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29903 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29904 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29905 Identical file removed.
29906 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29907 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29908 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29909 Identical file removed.
29910 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29911 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29912 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29913 Identical file removed.
29914 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29915 Moved ...
29916 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29917 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29918 Identical file removed.
29919 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29920 Moved ...
29921 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29922 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29923 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29924 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29925 Identical file removed.
29926 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29927 Moved ...
29928 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29929 ... here.
29930 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29931 Identical file removed.
29932 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29933 Moved ...
29934 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29935 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29936 Identical file removed.
29937 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29938 Moved ...
29939 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29940 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29941 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29942 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29943 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29944 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29945 Moved ...
29946 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29947 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29948 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29949
29950 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29951 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29952 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29953 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29954 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29955
29956 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
29957
29958 [BZ #17092]
29959 * nscd/nscd.c (monitor_child): Return exit status of child
29960 instead of return value from wait syscall.
29961
29962 2014-06-27 Joseph Myers <joseph@codesourcery.com>
29963
29964 * configure.ac (libc_commonpagesize): Remove variable.
29965 (libc_relro_required): Likewise.
29966 (libc_cv_z_relro): Remove configure test.
29967 * configure: Regenerated.
29968 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29969 variable.
29970 (libc_relro_required): Likewise.
29971 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29972 (libc_relro_required): Likewise.
29973 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29974 (libc_relro_required): Likewise.
29975 * sysdeps/arm/preconfigure: Regenerated.
29976 * sysdeps/ia64/preconfigure: Remove file.
29977 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29978 variable.
29979 (libc_relro_required): Likewise.
29980
29981 [BZ #16561]
29982 [BZ #16562]
29983 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29984 (__ieee754_yn): Set FE_TONEAREST mode internally and then
29985 recompute overflowing results in original rounding mode.
29986 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29987 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29988 recompute overflowing results in original rounding mode.
29989 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29990 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29991 recompute overflowing results in original rounding mode.
29992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29993 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29994 recompute overflowing results in original rounding mode.
29995 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29996 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29997 recompute overflowing results in original rounding mode.
29998 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29999 (libc_feholdsetround_ctx): New macro.
30000 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30001 * sysdeps/i386/fpu/libm-test-ulps: Update.
30002 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30003
30004 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30005
30006 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30007 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30008 corresponding .cpsetup call.
30009
30010 2014-06-26 Roland McGrath <roland@hack.frob.com>
30011
30012 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30013 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30014 * sysdeps/arm/Makefile [$(subdir) = csu]
30015 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30016 (static-only-routines): Add aeabi_read_tp here.
30017 (shared-only-routines): Add libc-aeabi_read_tp here.
30018 (CFLAGS-libc-start.c): Add -fexceptions here.
30019 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30020 (sysdep_routines, static-only-routines, shared-only-routines):
30021 Don't add to these here.
30022 (CFLAGS-libc-start.c): Likewise.
30023
30024 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30025 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30026 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30027 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30028 * sysdeps/arm/Makefile [$(subdir) = rt]
30029 (librt-sysdep_routines, librt-shared-only-routines):
30030 Append rt-aeabi_unwind_cpp_pr1 here.
30031 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30032 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30033 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30034 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30035 Append nptl-aeabi_unwind_cpp_pr1 here.
30036 (tests): Filter out tst-cleanupx4 here.
30037 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30038 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30039 Don't do those here.
30040
30041 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30042
30043 * scripts/list-sources.sh: Do not handle ports specially.
30044
30045 2014-06-26 Roland McGrath <roland@hack.frob.com>
30046
30047 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30048 * sysdeps/arm/feupdateenv.c: Likewise.
30049
30050 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30051
30052 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30053
30054 * manual/texinfo.tex: Update to version 2014-05-05.10 with
30055 trailing whitespace removed.
30056 * scripts/config.guess: Update to version 2014-03-23.
30057 * scripts/config.sub: Update to version 2014-05-01
30058 * scripts/install-sh: Update to version 2013-12-25.23.
30059 * scripts/move-if-change: Update from gnulib.
30060
30061 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30062
30063 * debug/memmove_chk.c: Remove pagecopy.h include.
30064
30065 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
30066
30067 * time/mktime.c (leapyear): Remove inline keyword. The code is now
30068 identical to gnulib mktime.
30069
30070 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30071
30072 * configure.ac: Do not test for machine being rs6000. Do not test
30073 for powerpc*-*soft.
30074 * configure: Regenerated.
30075
30076 [BZ #11505]
30077 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30078 test.
30079 * configure: Regenerated.
30080 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30081 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30082 Remove configure test.
30083 * sysdeps/arm/configure: Regenerated.
30084 * sysdeps/nptl/configure.ac: Do not check
30085 libc_cv_asm_cfi_directives.
30086 * sysdeps/nptl/configure: Regenerated.
30087 * sysdeps/x86_64/nptl/configure.ac: Remove file.
30088 * sysdeps/x86_64/nptl/configure: Remove generated file.
30089 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30090 unconditional.
30091 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30092
30093 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30094
30095 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30096 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30097 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30098 it is defined.
30099
30100 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30101 instead of whether it is defined.
30102 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30103 * sysdeps/hppa/dl-machine.h: Likewise.
30104 * sysdeps/ia64/dl-machine.h: Likewise.
30105 * sysdeps/m68k/dl-machine.h: Likewise.
30106 * sysdeps/microblaze/dl-machine.h: Likewise.
30107 * sysdeps/mips/dl-machine.: Likewise.
30108 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30109 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30110 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30111 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30112 * sysdeps/sh/dl-machine.h: Likewise.
30113 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30114 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30115 * sysdeps/tile/dl-machine.h: Likewise.
30116 * sysdeps/x86_64/dl-machine.h: Likewise.
30117
30118 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30119 code.
30120 (verify_persistent_db): Likewise.
30121
30122 2014-06-26 Roland McGrath <roland@hack.frob.com>
30123
30124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30125 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30127 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30129 Moved ...
30130 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30131 ... here.
30132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30133 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30135 Identical file removed.
30136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30137 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30139 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30141 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30143 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30145 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30147 Moved ...
30148 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30150 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30152 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30154 Moved ...
30155 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30157 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30159 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30161 Identical file removed.
30162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30163 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30165 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30167 Moved ...
30168 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30169 ... here.
30170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30171 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30173 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30175 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30177 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30179 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30181 Moved ...
30182 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30184 Moved ...
30185 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30187 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30189 Moved ...
30190 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30192 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30193
30194 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30195 folded into ...
30196 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30197 * sysdeps/unix/sysv/linux/s390/Versions
30198 (libpthread: GLIBC_2.19): New version set.
30199 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30200 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30201 (librt: GLIBC_2.3.3): New version set.
30202 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30203 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30204 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30205 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30206 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30207 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30208 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30209 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30210 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30211 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30212 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30213 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30214 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30215 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30216 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30217 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30218 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30219 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30220 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30221 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30222 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30223 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30224 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30225 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30226 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30227 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30228 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30229 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30230 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30231 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30232 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30233 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30235 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30237 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30238 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30240 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30241 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30242 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30243 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30244 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30245 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30246 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30247
30248 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30249 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30250 (__libc_vfork): Define the function under this name.
30251 [!NOT_IN_libc] (__vfork): Make this an alias.
30252 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30253 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30254 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30255 (__libc_vfork): Define the function under this name.
30256 [!NOT_IN_libc] (__vfork): Make this an alias.
30257 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30258 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30259 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30261 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30262 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30263
30264 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30265 code that was previously under [RESET_PID].
30266 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30267 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30269
30270 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30271 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30272 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30273 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30274 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30275 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30276 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30277 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30278 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30279 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30280 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30281 Moved ...
30282 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30283 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30284 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30285 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30286 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30287 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30288 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30289 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30290 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30291 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30293 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30294 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30295 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30296 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30297 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30298 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30299 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30300 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30301 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30302 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30303 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30304 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30305 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30306 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30307 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30308 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30309 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30310 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30311
30312 2014-06-25 Roland McGrath <roland@hack.frob.com>
30313
30314 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30315 that was previously under [RESET_PID].
30316 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30317
30318 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30319
30320 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30321 not undefine and redefine.
30322 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30323 [O_CLOEXEC]: Make code unconditional.
30324 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30325 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30326 <kernel-features.h>.
30327 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30328 conditional variable definition.
30329 (shm_open) [O_CLOEXEC]: Make code unconditional.
30330 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30331 code.
30332
30333 * configure.ac (USE_REGPARMS): Don't define here.
30334 * configure: Regenerated.
30335 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30336 * sysdeps/i386/configure: Regenerated.
30337
30338 * nptl/createthread.c: Don't include kernel-features.h.
30339 * nptl/pthread_cancel.c: Likewise.
30340 * nptl/pthread_condattr_setclock.c: Likewise.
30341 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30342 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30343 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30344 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30345 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30346 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30347 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30348 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30349 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30350 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30351 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30352 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30353 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30354 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30355 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30356 * nscd/gai.c: Likewise.
30357 * nss/nss_db/db-open.c: Likewise.
30358 * sysdeps/generic/ldsodefs.h: Likewise.
30359 * sysdeps/sh/nptl/tls.h: Likewise.
30360 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30361 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30362 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30363 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30364 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30365 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30366 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30367 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30368 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30369 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30370 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30371 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30372 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30373 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30374 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30375 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30376 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30377 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30378 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30379 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30380 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30381 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30382 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30383 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30384 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30385 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30386 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30387 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30388 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30389 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30390 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30391 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30392 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30393 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30394 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30395 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30396 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30397 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30398 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30399 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30400 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30401 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30402 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30403 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30404 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30405 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30406 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30407 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30408 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30409 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30410 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30411 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30412 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30413 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30414 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30415 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30416 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30417 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30440 * sysdeps/unix/sysv/linux/pread.c: Likewise.
30441 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30442 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30443 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30444 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30445 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30446 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30447 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30448 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30449 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30450 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30451 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30452 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30453 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30454 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30455 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30456 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30457 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30458 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30459 * sysdeps/unix/sysv/linux/system.c: Likewise.
30460 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30461 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30462 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30463 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30464 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30465 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30466 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30467
30468 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30469 * configure: Regenerated.
30470 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30471
30472 * configure.ac (base_machine): Do not set specially for particular
30473 machines here.
30474 * configure: Regenerated.
30475 * sysdeps/powerpc/preconfigure: Move machine and base_machine
30476 settings from configure.ac.
30477 * sysdeps/i386/preconfigure: New file.
30478 * sysdeps/s390/preconfigure: Likewise.
30479 * sysdeps/sh/preconfigure: Likewise.
30480 * sysdeps/sparc/preconfigure: Likewise.
30481
30482 2014-06-25 Roland McGrath <roland@hack.frob.com>
30483
30484 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30485 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30486 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30487 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30488 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30489 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30490 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30491 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30492 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30493 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30494 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30495 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30496 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30497 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30498 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30499 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30500 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30501 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30502 * sysdeps/sparc/sparc64/Makefile: ... appended here.
30503
30504 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30505 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30506 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30507 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30508 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30509 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30510 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30511 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30512 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30513 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30514 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30515 * sysdeps/sparc/sparc32/sem_post.c: ... here.
30516 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30517 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30518 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30519 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30520 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30521 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30522 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30523 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30524 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30525 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30526 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30527 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30528 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30529 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30530 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30531 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30532 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30533 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30534 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30535 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30536 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30537 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30538 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30539 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30540 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30541 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30542
30543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30544 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30546 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30548 Moved ...
30549 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30550 ... here.
30551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30552 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30554 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30556 Moved ...
30557 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30559 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30561 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30563 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30565 Moved ...
30566 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30568 Moved ...
30569 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30571 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30573 Moved ...
30574 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30576 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30578 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30580 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30582 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30584 Moved ...
30585 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30586 ... here.
30587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30588 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30590 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30592 Moved ...
30593 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30595 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30597 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30599 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30601 Moved ...
30602 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30604 Moved ...
30605 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30607 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30609 Moved ...
30610 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30612 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30614 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30615
30616 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30617
30618 * timezone/checktab.awk: Update from tzcode 2014e.
30619 * timezone/private.h: Likewise.
30620 * timezone/tzfile.h: Likewise.
30621 * timezone/zdump.c: Likewise.
30622 * timezone/zic.c: Likewise.
30623
30624 * sysdeps/unix/sysv/linux/kernel-features.h
30625 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30626 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30627 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30628 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30629 Remove conditional code.
30630
30631 2014-06-25 Will Newton <will.newton@linaro.org>
30632
30633 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30634 (_dl_arm_cap_flags): Add HWCAP2 values.
30635 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30636 (_DL_HWCAP_COUNT): Increase to 37.
30637 (_DL_HWCAP_LAST): New define.
30638 (_DL_HWCAP2_LAST): New define.
30639 (_dl_procinfo): Add support for printing
30640 AT_HWCAP2 entries.
30641 (_dl_string_hwcap): Use _dl_hwcap_string.
30642
30643 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30644
30645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30646
30647 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30648
30649 * README: Do not mention ports directory.
30650
30651 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30652 Remove macro.
30653 * sysdeps/unix/sysv/linux/futimes.c: Do not include
30654 <kernel-features.h>.
30655 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30656 conditional variable definition.
30657 (__futimes): Update comment.
30658 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30659 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30660
30661 [BZ #16560]
30662 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30663 arguments close to 0.
30664 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30665 Likewise.
30666 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30667 Likewise.
30668 * math/auto-libm-test-in: Add more tests of exp10.
30669 * math/auto-libm-test-out: Regenerated.
30670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30671
30672 * sysdeps/unix/sysv/linux/kernel-features.h
30673 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30674 * sysdeps/unix/sysv/linux/readv.c: Do not include
30675 <kernel-features.h>.
30676 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30677 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30678 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30679 unconditional.
30680 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30681 conditional code.
30682 * sysdeps/unix/sysv/linux/writev.c: Do not include
30683 <kernel-features.h>.
30684 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30685 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30686 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30687 unconditional.
30688 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30689 conditional code.
30690
30691 2014-06-25 Will Newton <will.newton@linaro.org>
30692
30693 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30694 comment changes throughout the file. Remove checks
30695 for HAVE_*_H definitions that are not required.
30696 (__gen_tempname): Call abort if an unknown kind value is
30697 passed.
30698
30699 2014-06-25 Andreas Schwab <schwab@suse.de>
30700
30701 [BZ #17086]
30702 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30703 scalbln, scalblnf, scalblnl in libc.
30704
30705 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30706
30707 [BZ #17086]
30708 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30709 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30710 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30711
30712 2014-06-24 Roland McGrath <roland@hack.frob.com>
30713
30714 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30715 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30716 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30717 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30718 Update #include.
30719 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30720 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30721 Update #include.
30722 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30723 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30724 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30725 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30726 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30727 * sysdeps/x86/bits/pthreadtypes.h: ... here.
30728 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30729 * sysdeps/x86/bits/semaphore.h: ... here.
30730 * sysdeps/x86/nptl/elide.h: Moved ...
30731 * sysdeps/x86/elide.h: ... here.
30732 * sysdeps/x86_64/nptl/Implies: File removed.
30733 * sysdeps/i386/nptl/Implies: File removed.
30734
30735 2014-06-24 Joseph Myers <joseph@codesourcery.com>
30736
30737 [BZ #16539]
30738 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30739 return the argument for normal arguments with exponent below -64.
30740 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30741 Likewise.
30742 * math/auto-libm-test-in: Add another test of expm1.
30743 * math/auto-libm-test-out: Regenerated.
30744
30745 [BZ #16287]
30746 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30747 calling __erfcl for arguments at least 16.
30748 * math/auto-libm-test-in: Add more tests of erf.
30749 * math/auto-libm-test-out: Regenerated.
30750
30751 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30752 individual architectures.
30753 * sysdeps/unix/sysv/linux/configure: Regenerated.
30754 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30755 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30756 * sysdeps/unix/sysv/linux/powerpc/configure.ac
30757 (ldd_rewrite_script): Define variable.
30758 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30760 file.
30761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30762 generated file.
30763 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30764 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30765 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30766 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30767 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30768 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30769 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30770 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30771
30772 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30773
30774 [BZ #17084]
30775 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30776 Rename member __data.d to __data.__elision_data.
30777
30778 2014-06-24 Wilco <wdijkstr@arm.com>
30779
30780 * NEWS: Add 16918 to fixed bug list.
30781
30782 2014-06-24 Wilco <wdijkstr@arm.com>
30783
30784 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30785
30786 2014-06-24 Wilco <wdijkstr@arm.com>
30787
30788 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30789 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30790 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30791 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30792 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30793 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30794 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30795 Use _FPU_MASK_RM.
30796
30797 2014-06-24 Wilco <wdijkstr@arm.com>
30798
30799 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30800
30801 2014-06-24 Wilco <wdijkstr@arm.com>
30802
30803 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30804 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30805 * sysdeps/arm/fesetround.c (fesetround): Remove space.
30806 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30807
30808 2014-06-24 Wilco <wdijkstr@arm.com>
30809
30810 [BZ #16918]
30811 * sysdeps/arm/feupdateenv.c (feupdateenv):
30812 Rewrite to reduce FPSCR accesses and fix return value.
30813
30814 2014-06-24 Wilco <wdijkstr@arm.com>
30815
30816 * sysdeps/arm/fclrexcpt.c (feclearexcept):
30817 Optimize to avoid unnecessary FPSCR writes.
30818 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30819 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30820 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30821 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30822
30823 2014-06-24 Wilco <wdijkstr@arm.com>
30824
30825 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30826 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30827 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30828 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30829 Call libc_fetestexcept_vfp.
30830 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30831 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30832 __SOFTFP__ ifdef so that they can be built for softfp.
30833
30834 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30835
30836 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30837 argument type signed char.
30838
30839 * Makerules (check-abi): Dump diff of symlist if the test
30840 fails.
30841
30842 2014-06-23 Roland McGrath <roland@hack.frob.com>
30843
30844 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30845 using abort.
30846
30847 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30848 Remove unused variable ST.
30849
30850 2014-06-23 Joseph Myers <joseph@codesourcery.com>
30851
30852 [BZ #16354]
30853 [BZ #17061]
30854 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30855 small arguments before calling __expm1.
30856 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30857 small arguments before calling __expm1f.
30858 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30859 small arguments before calling __expm1l.
30860 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30861 Likewise.
30862 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30863 * math/auto-libm-test-in: Add more cosh tests. Do not allow
30864 spurious underflow for some cosh tests.
30865 * math/auto-libm-test-out: Regenerated.
30866 * sysdeps/i386/fpu/libm-test-ulps: Update.
30867
30868 [BZ #17050]
30869 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30870 (__ieee754_y1): Set errno if return value overflows.
30871 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30872 (__ieee754_y1f): Set errno if return value overflows.
30873 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30874 (__ieee754_y1l): Set errno if return value overflows.
30875 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30876 (__ieee754_y1l): Set errno if return value overflows.
30877 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30878 * math/auto-libm-test-out: Regenerated.
30879
30880 * math/gen-auto-libm-tests.c: Document use of
30881 ignore-zero-inf-sign.
30882 (input_flag_type): Add value flag_ignore_zero_inf_sign.
30883 (input_flags): Add ignore-zero-inf-sign.
30884 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30885 * math/gen-libm-test.pl (generate_testfile): Handle
30886 ignore-zero-inf-sign.
30887 * math/auto-libm-test-in: Mark some cpow tests with
30888 ignore-zero-inf-sign and some with xfail-rounding.
30889 * math/auto-libm-test-out: Regenerated.
30890 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30891 * sysdeps/i386/fpu/libm-test-ulps: Update.
30892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30893
30894 [BZ #16315]
30895 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30896 overflowing or underflowing operations take place with sign of
30897 result.
30898 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30899 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30900 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30901 (__ieee754_pow): Recompute overflowing and underflowing results in
30902 original rounding mode.
30903 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30904 (__powl_helper): Allow negative argument X and scale negated value
30905 as needed. Avoid passing value outside [-1, 1] to f2xm1.
30906 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30907 overflowing or underflowing operations take place with sign of
30908 result.
30909 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30910 Include <math.h>.
30911 * math/auto-libm-test-in: Add more tests of pow.
30912 * math/auto-libm-test-out: Regenerated.
30913 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30914 (pow_tonearest_test_data): Remove.
30915 (pow_test_tonearest): Likewise.
30916 (pow_towardzero_test_data): Likewise.
30917 (pow_test_towardzero): Likewise.
30918 (pow_downward_test_data): Likewise.
30919 (pow_test_downward): Likewise.
30920 (pow_upward_test_data): Likewise.
30921 (pow_test_upward): Likewise.
30922 (main): Don't call removed functions.
30923 * sysdeps/i386/fpu/libm-test-ulps: Update.
30924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30925
30926 2014-06-23 Roland McGrath <roland@hack.frob.com>
30927
30928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30929 Moved ...
30930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30932 Moved ...
30933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30935 Moved ...
30936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30938 Moved ...
30939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30941 File removed.
30942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30943 File removed.
30944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30945 File removed.
30946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30947 File removed.
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30949 File removed.
30950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30951 File removed.
30952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30953 File removed.
30954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30955 File removed.
30956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30957 File removed.
30958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30959 File removed.
30960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30961 File removed.
30962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30963 File removed.
30964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30965 Moved ...
30966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30968 Moved ...
30969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30970 ... here.
30971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30972 Moved ...
30973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30975 Moved ...
30976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30978 Moved ...
30979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30981 Moved ...
30982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30984 Moved ...
30985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30987 Moved ...
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30990 Moved ...
30991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30994 ... here.
30995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30996 Moved ...
30997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30999 Moved ...
31000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31001 ... here.
31002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31003 Moved ...
31004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31005 ... here.
31006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31007 Moved ...
31008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31009 ... here.
31010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31011 Moved ...
31012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31014 Moved ...
31015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31019 Moved ...
31020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31021 ... here.
31022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31023 Moved ...
31024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31025 ... here.
31026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31027 Moved ...
31028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31030 Moved ...
31031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31033 Moved ...
31034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31036 Moved ...
31037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31039 Moved ...
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31041 ... here.
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31043 Moved ...
31044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31046 Moved ...
31047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31049 Moved ...
31050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31052 Moved ...
31053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31057 Moved ...
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31060 Moved ...
31061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31063 Moved ...
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31065 ... here.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31067 Moved ...
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31069 ... here.
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31071 Moved ...
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31073 ... here.
31074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31075 Moved ...
31076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31078 Moved ...
31079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31081 Moved ...
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31084 Moved ...
31085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31086 ... here.
31087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31088 Moved ...
31089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31090 ... here.
31091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31092 Moved ...
31093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31094 ... here.
31095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31096 Moved ...
31097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31099 Moved ...
31100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31101
31102 2014-06-23 Will Newton <will.newton@linaro.org>
31103 Wilco <wdijkstr@arm.com>
31104
31105 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31106 implementation. Include get-rounding-mode.h.
31107 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31108 [!libc_feholdsetround_noex_ctx]: Define
31109 libc_feholdsetround_noex_ctx.
31110 [!libc_feholdsetround_noexf_ctx]: Define
31111 libc_feholdsetround_noexf_ctx.
31112 [!libc_feholdsetround_noexl_ctx]: Define
31113 libc_feholdsetround_noexl_ctx.
31114 (libc_feholdsetround_ctx): New function.
31115 (libc_feresetround_ctx): New function.
31116 (libc_feholdsetround_noex_ctx): New function.
31117 (libc_feresetround_noex_ctx): New function.
31118
31119 2014-06-23 Roland McGrath <roland@hack.frob.com>
31120
31121 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31122 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31123 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31124 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31125 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31126 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31127
31128 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31129 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31130 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31131 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31132 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31133 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31134 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31135 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31136 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31137 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31138 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31139 Moved ...
31140 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31141 ... here.
31142 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31143 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31144 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31145 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31146 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31147 Moved ...
31148 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31149 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31150 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31151 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31152 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31153 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31154 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31155 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31156 Moved ...
31157 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31158 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31159 Moved ...
31160 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31161 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31162 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31163 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31164 Moved ...
31165 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31166 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31167 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31168 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31169 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31170 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31171 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31172 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31173 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31174 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31175 Moved ...
31176 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31177 ... here.
31178 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31179 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31180 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31181 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31183 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31184 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31185 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31186 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31187 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31188 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31189 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31190 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31191 Moved ...
31192 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31193 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31194 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31195 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31196 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31197 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31198 Moved ...
31199 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31200 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31201 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31202 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31203 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31204
31205 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31206 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31207 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31208 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31209 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31210 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31211 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31212 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31214 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31215 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31216 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31217 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31218 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31219 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31220 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31221 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31222 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31223 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31224 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31225 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31226 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31227 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31228 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31229 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31230 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31231 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31232 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31233
31234 2014-06-23 Joseph Myers <joseph@codesourcery.com>
31235
31236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31237 (FALLOC_FL_COLLAPSE_RANGE): New macro.
31238 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31239 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31240 (IPV6_PMTUDISC_INTERFACE): Likewise.
31241 (IPV6_PMTUDISC_OMIT): Likewise.
31242
31243 2014-06-23 Andreas Schwab <schwab@suse.de>
31244
31245 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31246 Remove unused errout label.
31247
31248 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31249
31250 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31251 macro: hardware supports Vector Crypto instructions.
31252
31253 2014-06-23 Will Newton <will.newton@linaro.org>
31254
31255 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31256 rather than __builtin_expect.
31257
31258 * elf/dl-lookup.c (undefined_msg): Remove variable.
31259 (_dl_lookup_symbol_x): Replace undefined_msg with string
31260 literal.
31261
31262 * elf/dl-lookup.c (do_lookup_unique): New function.
31263 (do_lookup_x): Move STB_GNU_UNIQUE handling code
31264 to a separate function.
31265
31266 2014-06-23 Andreas Schwab <schwab@suse.de>
31267
31268 [BZ #17079]
31269 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31270 before reading the next line.
31271
31272 2014-06-23 Will Newton <will.newton@linaro.org>
31273
31274 * test-skeleton.c (signal_handler): Use printf and %m
31275 rather than perror. Use printf rather than fprintf to
31276 stderr. Use puts rather than fputs to stderr.
31277 (main): Likewise.
31278
31279 2014-06-22 Ludovic Courtès <ludo@gnu.org>
31280
31281 * nscd/nscd.c (thread_info_t): Remove typedef.
31282 (thread_info): Remove variable.
31283
31284 2014-06-21 Allan McRae <allan@archlinux.org>
31285
31286 * NEWS: Mention CVE-2014-4043.
31287
31288 2014-06-20 Roland McGrath <roland@hack.frob.com>
31289
31290 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31291 * nptl/smp.h: ... here.
31292
31293 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31294
31295 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31296 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31297 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31298 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31299
31300 * nptl/allocatestack.c: Include <stack-aliasing.h>.
31301 * nptl/stack-aliasing.h: New file.
31302 * sysdeps/i386/i686/stack-aliasing.h: New file.
31303 * sysdeps/i386/i686/nptl/Makefile: File removed.
31304 * sysdeps/x86_64/stack-aliasing.h: New file.
31305 * sysdeps/x86_64/nptl/Makefile
31306 (CFLAGS-pthread_create.c): Variable removed.
31307
31308 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31309 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31310 old file.
31311 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31312 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31313 old file.
31314
31315 2014-06-21 Joseph Myers <joseph@codesourcery.com>
31316
31317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
31318 (__ASSUME_SIGFRAME_V2): Remove macro.
31319 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31320 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31321 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31322 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31323 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31324 Declare as function. Remove conditional macro definitions.
31325 (__default_rt_sa_restorer): Likewise.
31326 (__default_sa_restorer_v1): Remove declaration.
31327 (__default_sa_restorer_v2): Likewise.
31328 (__default_rt_sa_restorer_v1): Likewise.
31329 (__default_rt_sa_restorer_v2): Likewise.
31330 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31331 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31332 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31333
31334 2014-06-20 Roland McGrath <roland@hack.frob.com>
31335
31336 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31337 (libpthread-routines): Add sysdep.
31338 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31339 * sysdeps/unix/sysv/linux/sparc/Versions
31340 (libpthread: GLIBC_2.3.3): New version set.
31341 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31342 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31343 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31344 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31345 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
31346 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31347 Moved ...
31348 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31349 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31350 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31351 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31352 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31353 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31354 * sysdeps/sparc/nptl/sem_init.c: ... here.
31355 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31356 * sysdeps/sparc/nptl/sem_post.c: ... here.
31357 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31358 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31359 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31360 * sysdeps/sparc/nptl/sem_wait.c: ... here.
31361 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31362 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31363 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31364 (libpthread-routines): Add cpu_relax.
31365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31366 File removed.
31367 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31368 (librt: GLIBC_2.3.3): New version set.
31369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31370 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31371 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31372 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31375 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31377 Moved ...
31378 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31380 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31382 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31384 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31386 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31388 Moved ...
31389 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31390 Update #include.
31391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31392 Moved ...
31393 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31394 Update #include.
31395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31396 Moved ...
31397 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31398 Update #include.
31399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31400 Moved ...
31401 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31402 Update #include.
31403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31404 Moved ...
31405 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31406 Update #include.
31407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31408 Moved ...
31409 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31410 Update #include.
31411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31412 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31418 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31420 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31422 Moved ...
31423 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31425 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31427 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31428
31429 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31430
31431 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31432 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31433 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31434 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31435 * nscd/nscd.c: Likewise.
31436 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31437 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31438 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31439 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31440
31441 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31442 <kernel-features.h>.
31443 (init_mq_netlink): Remove conditional have_sock_cloexec
31444 definitions. Remove code conditional on have_sock_cloexec < 0.
31445 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31446 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31447 * sysdeps/unix/sysv/linux/opensock.c: Do not include
31448 <kernel-features.h>.
31449 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31450 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31451
31452 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
31453
31454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31455 Add tests for memset_chk and memset.
31456
31457 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31458 with AVX2_Usable.
31459
31460 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
31461
31462 [BZ #16046]
31463 * elf/tst-dl-iter-static.c: New file.
31464 * elf/Makefile (tests-static): Add tst-dl-iter-static.
31465
31466 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31467 error.
31468
31469 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31470
31471 * sysdeps/unix/sysv/linux/kernel-features.h
31472 (__ASSUME_F_GETOWN_EX): Remove macro.
31473 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31474 <kernel-features.h>.
31475 (miss_F_GETOWN_EX): Remove variable or macro.
31476 (do_fcntl): Do not check miss_F_GETOWN_EX.
31477 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31478
31479 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31480 Remove macro.
31481 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31482 [!__ASSUME_AT_RANDOM]: Remove conditional code.
31483 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31484
31485 * sysdeps/unix/sysv/linux/kernel-features.h
31486 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31487 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31488 [ADJ_OFFSET_SS_READ]: Make code unconditional.
31489 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31490
31491 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
31492
31493 [BZ #17075]
31494 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31495 Fix calculation of the symbol's value.
31496 * sysdeps/arm/tst-armtlsdescloc.c: New file.
31497 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31498 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31499 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31500 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31501 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31502 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31503 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31504 (modules-names): Add `tst-armtlsdescmod',
31505 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31506 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31507 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31508 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31509 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31510 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31511 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31512 ($(objpfx)tst-armtlsdescloc): New dependency.
31513 ($(objpfx)tst-armtlsdescextnow): Likewise.
31514 ($(objpfx)tst-armtlsdescextlazy): Likewise.
31515 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31516 TLS scheme support.
31517 * sysdeps/arm/configure: Regenerate.
31518
31519 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31520
31521 * include/fcntl.h (__atfct_seterrno): Remove prototype.
31522 (__atfct_seterrno_2): Likewise.
31523 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31524 <kernel-features.h>.
31525 (__ASSUME_ATFCTS): Do not undefine and redefine.
31526 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31527 (__have_atfcts): Remove conditional definition.
31528 (__fxstatat([__NR_fstatat64]: Make code unconditional.
31529 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31530 unreachable if [__ASSUME_ATFCTS].
31531 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31532 not undefine and redefine.
31533 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31534 <kernel-features.h>.
31535 (faccessat) [__NR_faccessat]: Make code unconditional.
31536 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31537 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31538 <kernel-features.h>.
31539 (fchmodat) [__NR_fchmodat]: Make code unconditional.
31540 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31541 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31542 <kernel-features.h>.
31543 (fchownat) [__NR_fchownat]: Make code unconditional.
31544 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31545 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31546 <kernel-features.h>.
31547 (futimesat) [__NR_futimesat]: Make code unconditional.
31548 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31549 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31550 <kernel-features.h>.
31551 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31552 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31553 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31554 <kernel-features.h>.
31555 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31556 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31557 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31558 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31559 <kernel-features.h>.
31560 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31561 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31562 * sysdeps/unix/sysv/linux/linkat.c: Do not include
31563 <kernel-features.h>.
31564 (linkat) [__NR_linkat]: Make code unconditional.
31565 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31566 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31567 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31568 <kernel-features.h>.
31569 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31570 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31571 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31572 <kernel-features.h>.
31573 (mkdirat) [__NR_mkdirat]: Make code unconditional.
31574 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31575 * sysdeps/unix/sysv/linux/openat.c: Do not include
31576 <kernel-features.h>.
31577 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31578 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31579 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31580 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31581 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31582 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31583 <kernel-features.h>.
31584 (readlinkat) [__NR_readlinkat]: Make code unconditional.
31585 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
31586 result of INLINE_SYSCALL directly, not via int variable.
31587 * sysdeps/unix/sysv/linux/renameat.c: Do not include
31588 <kernel-features.h>.
31589 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31590 (renameat) [__NR_renameat]: Make code unconditional.
31591 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31592 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31593 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31594 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31595 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31596 (__ASSUME_ATFCTS): Do not undefine and redefine.
31597 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31598 <kernel-features.h>.
31599 (symlinkat) [__NR_symlinkat]: Make code unconditional.
31600 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31601 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31602 <kernel-features.h>.
31603 (unlinkat) [__NR_unlinkat]: Make code unconditional.
31604 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31605 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31606 (__ASSUME_ATFCTS): Do not undefine and redefine.
31607 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31608 <kernel-features.h>.
31609 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31610 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31611 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31612 <kernel-features.h>.
31613 (__xmknodat) [__NR_mknodat]: Make code unconditional.
31614 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31615
31616 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
31617
31618 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31619
31620 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
31621
31622 [BZ #17069]
31623 * posix/regcomp.c (parse_reg_exp): Deallocate partially
31624 constructed tree before returning error.
31625 * posix/bug-regexp36.c: Expand test case.
31626
31627 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
31628
31629 [BZ #6803]
31630 * math/libm-test.inc (scalbln_test_date):
31631 Add errno expectations.
31632 * math/w_scalblnf.c: New File.
31633 Add wrapper which checks for setting errno to ERANGE.
31634 Add weak_alias for corresponding scalbln function.
31635 * math/w_scalbln.c: Likewise.
31636 * math/w_scalblnl.c: Likewise.
31637 * math/Makefile (libm-calls): Add w_scalbln.
31638 * sysdeps/ieee754/flt-32/s_scalblnf.c:
31639 Remove weak_alias for corresponding scalbln function.
31640 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31642 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31643 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31644 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31645 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31646 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31647 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31648 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31649 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31650 Remove long_double_symbol for scalblnl function in libm, libc.
31651 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31652 Add wrapper which checks for setting errno to ERANGE.
31653 Add long_double_symbol for scalblnl function in libm, libc.
31654 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31655 Remove long_double_symbol for scalblnl in libm.
31656 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31657 Add wrapper which checks for setting errno to ERANGE.
31658 Add long_double_symbol for scalblnl function in libm.
31659 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31660 Do not use wrapper because of own implementation.
31661
31662 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
31663
31664 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31665 3 bytes for __pad1 for x32.
31666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31667
31668 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
31669 H.J. Lu <hongjiu.lu@intel.com>
31670
31671 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31672 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31673 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31674 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31675 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31676
31677 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
31678
31679 [BZ #17069]
31680 * posix/regcomp.c (parse_expression): Deallocate partially
31681 constructed tree before returning error.
31682 * posix/Makefile.c (tests): Add bug-regex36.
31683 (generated): Add bug-regex36.mtrace.
31684 (tests-special): Add $(objpfx)bug-regex36-mem.out
31685 (bug-regex36-ENV): New variable.
31686 ($(objpfx)bug-regex36-mem.out): New rule.
31687 * posix/bug-regex36.c: New file.
31688
31689 2014-06-19 Will Newton <will.newton@linaro.org>
31690
31691 * malloc/malloc.c (systrim): If extra is zero then return
31692 early.
31693
31694 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31695
31696 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31697
31698 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
31699
31700 * sysdeps/aarch64/strchr.S: New file.
31701
31702 2014-06-18 Joseph Myers <joseph@codesourcery.com>
31703
31704 [BZ #17022]
31705 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31706 from arguments -2 or below.
31707 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31708 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31709
31710 2014-06-18 Andreas Schwab <schwab@suse.de>
31711
31712 [BZ #17062]
31713 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31714 of a bracket expr not to run off the end of the string.
31715 * posix/Makefile (tests): Add tst-fnmatch3.
31716 * posix/tst-fnmatch3.c: New file.
31717
31718 2014-06-18 Joseph Myers <joseph@codesourcery.com>
31719
31720 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31721 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31722 [$(cross-compiling) = no]: Likewise.
31723 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31724 [$(cross-compiling) = no]: Likewise.
31725
31726 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31727
31728 [BZ #17031]
31729 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31730 double, adjusted for any remainder from the high double.
31731 * math/libm-test.inc (nearbyint): Add tests.
31732 (rint): Likewise.
31733
31734 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31735
31736 * nptl/sysdeps/powerpc/Makefile: Moved ...
31737 * sysdeps/powerpc/nptl/Makefile: ... here.
31738 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31739 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31740 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31741 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31742 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31743 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31744 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31745 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31746 * nptl/sysdeps/powerpc/tls.h: Moved ...
31747 * sysdeps/powerpc/nptl/tls.h: ... here.
31748
31749 2014-06-16 Joseph Myers <joseph@codesourcery.com>
31750
31751 [BZ #16681]
31752 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31753 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31754 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31755 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31756 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31757 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31758 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31759 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31760 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31761
31762 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
31763
31764 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31765
31766 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
31767
31768 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31769 defined operator.
31770
31771 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31772 $TIMEOUTFACTOR.
31773
31774 2014-06-16 Florian Weimer <fweimer@redhat.com>
31775
31776 [BZ #17058]
31777 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31778 non-executed part of the test.
31779
31780 2014-06-16 Andreas Schwab <schwab@suse.de>
31781
31782 * string/bits/string2.h (strdup, strndup): Update feature guard.
31783
31784 2014-06-14 David S. Miller <davem@davemloft.net>
31785
31786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31787
31788 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
31789
31790 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31791 that was previously under [RESET_PID].
31792 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31793
31794 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31795 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31796 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31797 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31798 (__libc_vfork): New strong alias.
31799 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31800
31801 2014-06-14 Andi Kleen <ak@linux.intel.com>
31802
31803 * sysdeps/generic/elide.h: New file.
31804
31805 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
31806
31807 * Makefile (installed-headers): Adjust path of pthread.h header.
31808
31809 2014-06-13 Roland McGrath <roland@hack.frob.com>
31810
31811 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31812 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31813 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31814 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31815
31816 * nptl/sysdeps/s390/Makefile: Moved ...
31817 * sysdeps/s390/nptl/Makefile: ... here.
31818 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31819 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31820 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31821 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31822 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31823 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31824 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31825 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31826 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31827 * sysdeps/s390/nptl/pthreaddef.h: ... here.
31828 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31829 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31830 * nptl/sysdeps/s390/tls.h: Moved ...
31831 * sysdeps/s390/nptl/tls.h: ... here.
31832
31833 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31834 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31835
31836 2014-06-13 David S. Miller <davem@davemloft.net>
31837
31838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31841 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31845 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31846 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31847 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31848 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31849 Remove RESET_PID cpp guards.
31850 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31851 Remove RESET_PID cpp guards.
31852 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31853
31854 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
31855
31856 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31857 __sp to uintptr_t.
31858
31859 2014-06-13 Andi Kleen <ak@linux.intel.com>
31860
31861 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31862 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31863 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31864 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31865 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31866 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31867 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31868 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31869 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31870 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31871 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31872 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31873 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31874 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31875 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31876 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31877 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31878 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31879 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31880 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31881
31882 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31883 (pthread_rwlock_rdlock): Add elision.
31884 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31885 (pthread_rwlock_wrlock): Add elision.
31886 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31887 (pthread_rwlock_trywrlock): Add elision.
31888 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31889 (pthread_rwlock_tryrdlock): Add elision.
31890 * nptl/pthread_rwlock_unlock.c: Include elide.h.
31891 (pthread_rwlock_tryrdlock): Add elision unlock.
31892 * nptl/sysdeps/pthread/pthread.h:
31893 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31894 (PTHREAD_RWLOCK_INITIALIZER,
31895 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31896 Handle new elision field.
31897 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31898 * sysdeps/arm/nptl/bits/pthreadtypes.h
31899 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31900 * sysdeps/sh/nptl/bits/pthreadtypes.h
31901 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31902 * sysdeps/tile/nptl/bits/pthreadtypes.h
31903 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31904 * sysdeps/a/nptl/bits/pthreadtypes.h
31905 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31906 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31907 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31908 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31909 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31910 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31911 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31912 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31913 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31914 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31915 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31916 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31917 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31918 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31919 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31920 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31921 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31922 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31923 (elision_init): Set try_xbegin to zero when no RTM.
31924 * sysdeps/x86/nptl/bits/pthreadtypes.h
31925 (pthread_rwlock_t): Change __pad1 to __rwelision.
31926 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31927
31928 2014-06-13 Andi Kleen <ak@linux.intel.com>
31929
31930 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31931 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31932 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31933 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31934
31935 2014-06-13 Meador Inge <meadori@codesourcery.com>
31936
31937 [BZ #16996]
31938 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31939 that the cached result has been set before returning it.
31940
31941 2014-06-12 Roland McGrath <roland@hack.frob.com>
31942
31943 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31944 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31945 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31946 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31947 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31948 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31949
31950 * nptl/sysdeps/sparc/Makefile: Moved ...
31951 * sysdeps/sparc/nptl/Makefile: ... here.
31952 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31953 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31954 * nptl/sysdeps/sparc/tls.h: Moved ...
31955 * sysdeps/sparc/nptl/tls.h: ... here.
31956 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31957 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31958 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31959 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31960 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31961 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31962 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31963 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31964 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31965 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31966 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31967 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31968 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31969 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31970 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31971 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31972 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31973 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31974 Update #include.
31975 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31976 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31977 Update #include.
31978 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31979 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31980 Update #include.
31981 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31982 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31983 Update #include.
31984
31985 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31986
31987 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31988 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31989
31990 * sysdeps/pthread/posix-timer.h: Include <list.h>.
31991 (struct list_links): Type removed.
31992 (struct thread_node, struct timer_node): Replace struct list_links
31993 with struct list_head.
31994 (list_unlink_ip): Likewise.
31995 * sysdeps/pthread/timer_routines.c
31996 (timer_free_list, thread_free_list, thread_active_list): Likewise.
31997 (list_append, list_insbefore): Likewise.
31998 (list_init): Function removed.
31999 (thread_init, init_module): Use INIT_LIST_HEAD instead.
32000 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32001 * sysdeps/pthread/Makefile: ... here, new file.
32002
32003 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32004 * sysdeps/nptl/Implies: ... here.
32005 * sysdeps/unix/sysv/linux/Implies: Add nptl.
32006 * nptl/sysdeps/pthread/list.h: Moved ...
32007 * include/list.h: ... here.
32008 * nptl/sysdeps/pthread/createthread.c: Moved ...
32009 * nptl/createthread.c: ... here.
32010 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32011 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32012 * nptl/pt-longjmp.c: ... here.
32013 * nptl/sysdeps/pthread/Makefile: Moved ...
32014 * sysdeps/nptl/Makefile: ... here.
32015 * nptl/sysdeps/pthread/Subdirs: Moved ...
32016 * sysdeps/nptl/Subdirs: ... here.
32017 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32018 * sysdeps/nptl/aio_misc.h: ... here.
32019 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32020 * sysdeps/nptl/bits/libc-lock.h: ... here.
32021 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32022 * sysdeps/nptl/bits/libc-lockP.h: ... here.
32023 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32024 * sysdeps/nptl/bits/stdio-lock.h: ... here.
32025 * nptl/sysdeps/pthread/configure: Moved ...
32026 * sysdeps/nptl/configure: ... here.
32027 * nptl/sysdeps/pthread/configure.ac: Moved ...
32028 * sysdeps/nptl/configure.ac: ... here.
32029 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32030 * sysdeps/nptl/gai_misc.h: ... here.
32031 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32032 * sysdeps/nptl/librt-cancellation.c: ... here.
32033 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32034 * sysdeps/nptl/malloc-machine.h: ... here.
32035 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32036 * sysdeps/nptl/pthread-functions.h: ... here.
32037 * nptl/sysdeps/pthread/pthread.h: Moved ...
32038 * sysdeps/nptl/pthread.h: ... here.
32039 * nptl/sysdeps/pthread/setxid.h: Moved ...
32040 * sysdeps/nptl/setxid.h: ... here.
32041 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32042 * sysdeps/nptl/sigfillset.c: ... here.
32043 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32044 * sysdeps/nptl/tcb-offsets.h: ... here.
32045 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32046 * sysdeps/nptl/tst-mqueue8x.c: ... here.
32047 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32048 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32049 * nptl/sysdeps/pthread/allocalim.h: Moved ...
32050 * sysdeps/pthread/allocalim.h: ... here.
32051 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32052 * sysdeps/pthread/bits/sigthread.h: ... here.
32053 * nptl/sysdeps/pthread/flockfile.c: Moved ...
32054 * sysdeps/pthread/flockfile.c: ... here.
32055 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32056 * sysdeps/pthread/ftrylockfile.c: ... here.
32057 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32058 * sysdeps/pthread/funlockfile.c: ... here.
32059 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32060 * sysdeps/pthread/posix-timer.h: ... here.
32061 * nptl/sysdeps/pthread/timer_create.c: Moved ...
32062 * sysdeps/pthread/timer_create.c: ... here.
32063 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32064 * sysdeps/pthread/timer_delete.c: ... here.
32065 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32066 * sysdeps/pthread/timer_getoverr.c: ... here.
32067 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32068 * sysdeps/pthread/timer_gettime.c: ... here.
32069 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32070 * sysdeps/pthread/timer_routines.c: ... here.
32071 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32072 * sysdeps/pthread/timer_settime.c: ... here.
32073 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32074 * sysdeps/pthread/tst-timer.c: ... here.
32075 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32076 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32077
32078 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32079 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32080
32081 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32082 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32083 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32084 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32085 Update #include target.
32086 * nptl/sysdeps/i386/i686/Makefile: Moved ...
32087 * sysdeps/i386/i686/nptl/Makefile: ... here.
32088 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32089 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32090 Update #include target.
32091 * nptl/sysdeps/i386/i686/tls.h: Moved ...
32092 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
32093 * nptl/sysdeps/i386/Makefile: Moved ...
32094 * sysdeps/i386/nptl/Makefile: ... here.
32095 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32096 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32097 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32098 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32099 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32100 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32101 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32102 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32103 * sysdeps/i386/nptl/pthreaddef.h: ... here.
32104 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32105 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32106 * nptl/sysdeps/i386/tls.h: Moved ...
32107 * sysdeps/i386/nptl/tls.h: ... here.
32108
32109 * sysdeps/sh/Makefile [$(subdir) = csu]
32110 (gen-as-const-headers): Add tcb-offsets.sym.
32111 * nptl/sysdeps/sh/Makefile: File removed.
32112 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32113 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32114 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32115 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32116 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32117 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32118 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32119 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32120 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32121 * sysdeps/sh/nptl/pthreaddef.h: ... here.
32122 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32123 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32124 * nptl/sysdeps/sh/tls.h: Moved ...
32125 * sysdeps/sh/nptl/tls.h: ... here.
32126 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32127 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32128 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32129 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32130 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32131 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32132 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32133 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32134 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32135 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32136 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32137 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32138 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32139 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32140 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32141 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32142 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32143 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32144 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32145 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32146 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32147 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32148 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32149 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32150 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32151 Moved ...
32152 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32153 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32154 Moved ...
32155 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32156 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32157 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32158 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32159 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32160 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32161 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32162 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32163 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32164 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32165 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32166 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32167 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32168 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32169 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32170 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32171 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32172 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32173 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32174
32175 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
32176
32177 * posix/spawn_faction_addopen.c: Include string.h.
32178
32179 2014-06-11 Roland McGrath <roland@hack.frob.com>
32180
32181 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32182 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32183 * nptl/sysdeps/x86_64/Makefile: Moved ...
32184 * sysdeps/x86_64/nptl/Makefile: ... here.
32185 * nptl/sysdeps/x86_64/configure: Moved ...
32186 * sysdeps/x86_64/nptl/configure: ... here.
32187 * nptl/sysdeps/x86_64/configure.ac: Moved ...
32188 * sysdeps/x86_64/nptl/configure.ac: ... here.
32189 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32190 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32191 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32192 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32193 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32194 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32195 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32196 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32197 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32198 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32199 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32200 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32201 * nptl/sysdeps/x86_64/tls.h: Moved ...
32202 * sysdeps/x86_64/nptl/tls.h: ... here.
32203 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32204 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32205 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32206 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32207
32208 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32209
32210 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32211
32212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32213
32214 2014-06-11 Joseph Myers <joseph@codesourcery.com>
32215
32216 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32217 type.
32218 [POSIX] (off_t): Likewise.
32219 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32220 [POSIX] (S_ISBLK): Require macro.
32221 [POSIX] (S_ISCHR): Likewise.
32222 [POSIX] (S_ISDIR): Likewise.
32223 [POSIX] (S_ISFIFO): Likewise.
32224 [POSIX] (S_ISREG): Likewise.
32225 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32226 optional-macro.
32227 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32228 type.
32229 [POSIX] (time_t): Likewise.
32230 [POSIX] (timer_t): Likewise.
32231
32232 2014-06-11 Florian Weimer <fweimer@redhat.com>
32233
32234 [BZ #17048]
32235 * posix/spawn_int.h (struct __spawn_action): Make the path string
32236 non-const to support deallocation.
32237 * posix/spawn_faction_addopen.c
32238 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32239 * posix/spawn_faction_destroy.c
32240 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
32241 path in all spawn_do_open actions.
32242 * posix/tst-spawn.c (do_test): Exercise the copy operation in
32243 posix_spawn_file_actions_addopen.
32244
32245 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
32246
32247 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32248 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32249 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32250 conditional code always true.
32251 (__libc_vfork): New alias.
32252
32253 2014-06-11 Roland McGrath <roland@hack.frob.com>
32254
32255 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32256 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32257
32258 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32259
32260 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32261 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32262
32263 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32264 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32265
32266 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32267 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32268
32269 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
32270
32271 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32272 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32273 multiarch strcmp for PPC64.
32274 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32275 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32277 multiarch optimizations.
32278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32279 (__libc_ifunc_impl_list): Likewise.
32280
32281 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32282
32283 * benchtests/scripts/validate_benchout.py: New script.
32284 * benchtests/Makefile (bench-func): Call it.
32285 * benchtests/scripts/benchout.schema.json: New file.
32286
32287 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
32288
32289 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32290 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32291 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32292 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32293 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32294 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32295 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32296 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32297 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32298 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32299 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32300 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32301 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32302 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32303 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32304 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32306 Moved ...
32307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32308 ... here.
32309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32310 Moved ...
32311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32313 Moved ...
32314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32315 ... here.
32316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32317 Moved ...
32318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32319 ... here.
32320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32321 Moved ...
32322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32324 Moved ...
32325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32326 ... here.
32327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32328 Moved ...
32329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32330 ... here.
32331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32332 Moved ...
32333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32335 Moved ...
32336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32337 ... here.
32338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32339 Moved ...
32340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32341 ... here.
32342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32343 Moved ...
32344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32345 ... here.
32346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32347 Moved ...
32348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32350 Moved ...
32351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32352 ... here.
32353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32354 Moved ...
32355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32356 ... here.
32357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32358 Moved ...
32359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32360 ... here.
32361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32362 Moved ...
32363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32365 Moved ...
32366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32367 ... here.
32368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32369 Moved ...
32370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32371 ... here.
32372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32373 Moved ...
32374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32376 Moved ...
32377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32378 ... here.
32379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32380 Moved ...
32381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32383 Moved ...
32384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32386 Moved ...
32387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32388 ... here.
32389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32390 Moved ...
32391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32392 ... here.
32393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32394 Moved ...
32395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32396 ... here.
32397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32398 Moved ...
32399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32401 Moved ...
32402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32403 ... here.
32404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32405 Moved ...
32406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32407 ... here.
32408 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32409 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32411 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32412 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32413 Moved ...
32414 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32415 ... here.
32416 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32417 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32419 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32420 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32421 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32422 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32423 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32424 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32425 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32426 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32427 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32428 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32429 Moved ...
32430 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32431 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32432 Moved ...
32433 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32434 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32435 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32436 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32437 Moved ...
32438 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32439 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32440 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32441 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32442 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32443 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32444 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32445
32446 2014-06-10 Wilco <wdijkstr@arm.com>
32447
32448 * math/test-fenv-return.c: New file.
32449 * math/Makefile: Add new test test-fenv-return.
32450
32451 2014-06-10 Joseph Myers <joseph@codesourcery.com>
32452
32453 [BZ #17042]
32454 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32455 when x - 1 is zero.
32456 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32457 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32458 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32459 0.0L for an argument of 1.0L.
32460 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32461 Likewise.
32462 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32463 value when x - 1 is zero.
32464 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32465 * sysdeps/i386/fpu/libm-test-ulps: Update.
32466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32467
32468 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
32469
32470 [BZ #15119]
32471 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32472
32473 2014-06-09 Roland McGrath <roland@hack.frob.com>
32474
32475 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32476 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32477
32478 2014-06-09 Roland McGrath <roland@hack.frob.com>
32479
32480 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32481 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32482
32483 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32484 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32485
32486 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32487 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32488
32489 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32490 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32491
32492 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32493 if not already defined.
32494 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32495 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32496 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32497 (TLS_INIT_TP): Use it.
32498 (TLS_DEFINE_INIT_TP): New macro.
32499 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32500
32501 2014-06-09 Joseph Myers <joseph@codesourcery.com>
32502
32503 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32504 constant.
32505 [POSIX] (IXANY): Likewise.
32506 [POSIX] (OLCUC): Likewise.
32507 [POSIX || POSIX2008] (CBAUD): Do not allow.
32508 [POSIX || POSIX2008] (DEFECHO): Likewise.
32509 [POSIX || POSIX2008] (ECHOCTL): Likewise.
32510 [POSIX || POSIX2008] (ECHOKE): Likewise.
32511 [POSIX || POSIX2008] (ECHOPRT): Likewise.
32512 [POSIX || POSIX2008] (EXTA): Likewise.
32513 [POSIX || POSIX2008] (EXTB): Likewise.
32514 [POSIX || POSIX2008] (FLUSHO): Likewise.
32515 [POSIX || POSIX2008] (LOBLK): Likewise.
32516 [POSIX || POSIX2008] (PENDIN): Likewise.
32517 [POSIX || POSIX2008] (SWTCH): Likewise.
32518 [POSIX || POSIX2008] (VDISCARD): Likewise.
32519 [POSIX || POSIX2008] (VDSUSP): Likewise.
32520 [POSIX || POSIX2008] (VLNEXT): Likewise.
32521 [POSIX || POSIX2008] (VREPRINT): Likewise.
32522 [POSIX || POSIX2008] (VSTATUS): Likewise.
32523 [POSIX || POSIX2008] (VWERASE): Likewise.
32524 (B*): Change to B[0123456789]*.
32525 * conform/data/time.h-data [POSIX || UNIX98]
32526 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32527 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32528 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32529 [POSIX] (tm_*): Do not allow.
32530
32531 2014-06-07 Joseph Myers <joseph@codesourcery.com>
32532
32533 * Makefile (install): Don't set LANGUAGE.
32534 * Makefile.in (install): Likewise.
32535 * assert/Makefile (test-assert-ENV): Remove variable.
32536 (test-assert-perr-ENV): Likewise.
32537 * elf/Makefile (neededtest4-ENV): Likewise.
32538 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32539 [$(cross-compiling) = no]: Don't set LANGUAGE.
32540 * io/ftwtest-sh (LANG): Remove variable.
32541 * libio/Makefile (tst-widetext-ENV): Likewise.
32542 * manual/install.texi (Running make install): Don't refer to
32543 environment settings for make install.
32544 * INSTALL: Regenerated.
32545 * nptl/tst-tls6.sh: Don't set LANG.
32546 * posix/globtest.sh (LANG): Remove variable.
32547 * string/Makefile (tester-ENV): Likewise.
32548 (inl-tester-ENV): Likewise.
32549 (noinl-tester-ENV): Likewise.
32550 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32551 [$(cross-compiling) = no]: Don't set LANGUAGE.
32552 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32553 without explicit environment settings.
32554
32555 2014-06-06 Roland McGrath <roland@hack.frob.com>
32556
32557 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32558 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32559 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32560 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32561
32562 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
32563
32564 * crypt/crypt-private.h [DOS]: Add some includes taken from the
32565 other files in the crypt directory.
32566 * crypt/crypt.c: Remove duplicate includes.
32567 * crypt/crypt-entry.c: Likewise.
32568 * crypt/crypt_util.c: Likewise.
32569
32570 2014-06-06 Joseph Myers <joseph@codesourcery.com>
32571
32572 * Makeconfig (run-program-env): New variable.
32573 (run-program-prefix-before-env): Likewise.
32574 (run-program-prefix-after-env): Likewise.
32575 (run-program-prefix): Define in terms of new variables.
32576 (built-program-cmd-before-env): New variable.
32577 (built-program-cmd-after-env): Likewise.
32578 (built-program-cmd): Define in terms of new variables.
32579 (test-program-prefix-before-env): New variable.
32580 (test-program-prefix-after-env): Likewise.
32581 (test-program-prefix): Define in terms of new variables.
32582 (test-program-cmd-before-env): New variable.
32583 (test-program-cmd-after-env): Likewise.
32584 (test-program-cmd): Define in terms of new variables.
32585 * Rules (make-test-out): Use $(run-program-env).
32586 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32587 (help): Do not mention environment variables. Mention
32588 --timeoutfactor option.
32589 (timeoutfactor): New variable.
32590 (blacklist_exports): Remove function.
32591 (exports): Remove variable.
32592 (command): Do not include ${exports}.
32593 * manual/install.texi (Configuring and compiling): Do not mention
32594 test wrappers preserving environment variables. Mention that last
32595 assignment to a variable must take precedence.
32596 * INSTALL: Regenerated.
32597 * benchtests/Makefile (run-bench): Use $(run-program-env).
32598 * catgets/Makefile ($(objpfx)test1.cat): Use
32599 $(built-program-cmd-before-env), $(run-program-env) and
32600 $(built-program-cmd-after-env).
32601 ($(objpfx)test2.cat): Do not specify environment variables
32602 explicitly.
32603 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32604 $(run-program-env) and $(built-program-cmd-after-env).
32605 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32606 $(run-program-env) and $(test-program-cmd-after-env).
32607 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32608 explicitly.
32609 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32610 run_program_env and test_program_cmd_after_env arguments.
32611 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32612 * elf/tst-pathopt.sh: Use run_program_env argument.
32613 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32614 $(test-wrapper-env) and $(run-program-env).
32615 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32616 run_program_env arguments.
32617 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32618 * intl/Makefile ($(objpfx)tst-gettext.out): Use
32619 $(test-program-prefix-before-env), $(run-program-env) and
32620 $(test-program-prefix-after-env).
32621 ($(objpfx)tst-gettext2.out): Likewise.
32622 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32623 run_program_env and test_program_prefix_after_env arguments.
32624 * intl/tst-gettext2.sh: Likewise.
32625 * intl/tst-gettext4.sh: Do not set environment variables
32626 explicitly.
32627 * intl/tst-gettext6.sh: Likewise.
32628 * intl/tst-translit.sh: Likewise.
32629 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32630 $(test-program-prefix-before-env), $(run-program-env) and
32631 $(test-program-prefix-after-env).
32632 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32633 run_program_env and test_program_prefix_after_env arguments.
32634 * math/Makefile (run-regen-ulps): Use $(run-program-env).
32635 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32636 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
32637 explicitly with each use of ${test_wrapper_env}.
32638 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32639 $(test-program-prefix-before-env), $(run-program-env) and
32640 $(test-program-prefix-after-env).
32641 * posix/tst-getconf.sh: Do not set environment variables
32642 explicitly.
32643 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32644 run_program_env and test_program_prefix_after_env arguments.
32645 * stdio-common/tst-printf.sh: Do not set environment variables
32646 explicitly.
32647 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32648 $(test-program-prefix-before-env), $(run-program-env) and
32649 $(test-program-prefix-after-env).
32650 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32651 run_program_env and test_program_prefix_after_env arguments.
32652 Split $test calls into $test_pre and $test.
32653 * timezone/Makefile (build-testdata): Use
32654 $(built-program-cmd-before-env), $(run-program-env) and
32655 $(built-program-cmd-after-env).
32656
32657 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32658
32659 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32660 strlen for non SHARED builds.
32661
32662 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32663
32664 * nptl/allocatestack.c (check_list): Inlined function...
32665 (__reclaim_stacks): ... here.
32666
32667 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
32668
32669 [BZ #15698]
32670 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32671 memory overrun.
32672
32673 2014-06-05 Joseph Myers <joseph@codesourcery.com>
32674
32675 * Rules (make-test-out): Include
32676 LOCPATH=$(common-objpfx)localedata in default environment.
32677 * debug/Makefile (tst-chk1-ENV): Remove variable.
32678 (tst-chk2-ENV): Likewise.
32679 (tst-chk3-ENV): Likewise.
32680 (tst-chk4-ENV): Likewise.
32681 (tst-chk5-ENV): Likewise.
32682 (tst-chk6-ENV): Likewise.
32683 (tst-lfschk1-ENV): Likewise.
32684 (tst-lfschk2-ENV): Likewise.
32685 (tst-lfschk3-ENV): Likewise.
32686 (tst-lfschk4-ENV): Likewise.
32687 (tst-lfschk5-ENV): Likewise.
32688 (tst-lfschk6-ENV): Likewise.
32689 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32690 (tst-iconv7-ENV): Likewise.
32691 * intl/Makefile (LOCPATH-ENV): Likewise.
32692 (tst-codeset-ENV): Likewise.
32693 (tst-gettext3-ENV): Likewise.
32694 (tst-gettext5-ENV): Likewise.
32695 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32696 (tst-fopenloc-ENV): Likewise.
32697 (tst-fgetws-ENV): Remove variable.
32698 (tst-ungetwc1-ENV): Likewise.
32699 (tst-ungetwc2-ENV): Likewise.
32700 (bug-ungetwc2-ENV): Likewise.
32701 (tst-swscanf-ENV): Likewise.
32702 (bug-ftell-ENV): Likewise.
32703 (tst-fgetwc-ENV): Likewise.
32704 (tst-fseek-ENV): Likewise.
32705 (tst-ftell-partial-wide-ENV): Likewise.
32706 (tst-ftell-active-handler-ENV): Likewise.
32707 (tst-ftell-append-ENV): Likewise.
32708 * posix/Makefile (tst-fnmatch-ENV): Likewise.
32709 (tst-regexloc-ENV): Likewise.
32710 (bug-regex1-ENV): Likewise.
32711 (tst-regex-ENV): Likewise.
32712 (tst-regex2-ENV): Likewise.
32713 (bug-regex5-ENV): Likewise.
32714 (bug-regex6-ENV): Likewise.
32715 (bug-regex17-ENV): Likewise.
32716 (bug-regex18-ENV): Likewise.
32717 (bug-regex19-ENV): Likewise.
32718 (bug-regex20-ENV): Likewise.
32719 (bug-regex22-ENV): Likewise.
32720 (bug-regex23-ENV): Likewise.
32721 (bug-regex25-ENV): Likewise.
32722 (bug-regex26-ENV): Likewise.
32723 (bug-regex30-ENV): Likewise.
32724 (bug-regex32-ENV): Likewise.
32725 (bug-regex33-ENV): Likewise.
32726 (bug-regex34-ENV): Likewise.
32727 (bug-regex35-ENV): Likewise.
32728 (tst-rxspencer-ENV): Likewise.
32729 (tst-rxspencer-no-utf8-ENV): Likewise.
32730 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32731 (tst-sscanf-ENV): Likewise.
32732 (tst-swprintf-ENV): Likewise.
32733 (tst-swscanf-ENV): Likewise.
32734 (test-vfprintf-ENV): Likewise.
32735 (scanf13-ENV): Likewise.
32736 (bug14-ENV): Likewise.
32737 (tst-grouping-ENV): Likewise.
32738 * stdlib/Makefile (tst-strtod-ENV): Likewise.
32739 (tst-strtod3-ENV): Likewise.
32740 (tst-strtod4-ENV): Likewise.
32741 (tst-strtod5-ENV): Likewise.
32742 (testmb2-ENV): Likewise./
32743 * string/Makefile (tst-strxfrm-ENV): Likewise.
32744 (tst-strxfrm2-ENV): Likewise.
32745 (bug-strcoll1-ENV): Likewise.
32746 (test-strcasecmp-ENV): Likewise.
32747 (test-strncasecmp-ENV): Likewise.
32748 * time/Makefile (tst-strptime-ENV): Likewise.
32749 (tst-ftime_l-ENV): Likewise.
32750 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32751 (tst-mbrtowc-ENV): Likewise.
32752 (tst-wcrtomb-ENV): Likewise.
32753 (tst-mbrtowc2-ENV): Likewise.
32754 (tst-c16c32-1-ENV): Likewise.
32755 (tst-mbsnrtowcs-ENV): Likewise.
32756
32757 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
32758
32759 * manual/resource.texi (How to get information about the memory
32760 subsystem?): Fix typo.
32761 Reported by Peon de la Parra Ivan <peon@keba.com>
32762
32763 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
32764
32765 [BZ #16882]
32766 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32767 (pthread_spin_lock): Branch out of spin loop to proper location.
32768 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32769 (pthread_spin_lock): Likewise.
32770
32771 * nptl/tst-spin4.c: New test.
32772 * nptl/Makefile (tests): Add tst-spin4.
32773
32774 2014-06-03 Andreas Schwab <schwab@suse.de>
32775
32776 [BZ #15946]
32777 * resolv/res_send.c (send_dg): Reload file descriptor after
32778 calling reopen.
32779
32780 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
32781
32782 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32783
32784 2014-06-03 Richard Henderson <rth@redhat.com>
32785
32786 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32787 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32788 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32789 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
32790 in the SAVE_PID block.
32791 (__libc_vfork): New alias.
32792 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32793
32794 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32795 child in registers, not on the stack. Remove RESET_PID conditionals.
32796 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32797
32798 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
32799
32800 * sysdeps/aarch64/libm-test-ulps: Regenerate.
32801
32802 2014-06-03 Wilco <wdijkstr@arm.com>
32803
32804 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32805 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32806 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32807 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32808 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32809 Likewise.
32810
32811 2014-06-03 Wilco <wdijkstr@arm.com>
32812
32813 * sysdeps/aarch64/fpu/math_private.h
32814 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32815 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32816 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32817 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32818 Fix declarations.
32819
32820 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32821
32822 * crypt/crypt-private.h: Include ufc-crypt.h.
32823 (__b64_from_24bit): Declare extern.
32824 * crypt/crypt_util.c(__b64_from_24bit): New function.
32825 (b64t): New static const variable.
32826 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32827 (b64t): Remove variable.
32828 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32829 * crypt/sha256-crypt.c: Include crypt-private.h.
32830 (b64t): Remove variable.
32831 (__sha256_crypt_r): Remove b64_from_24bit and replace
32832 with __b64_from_24bit.
32833 * crypt/sha512-crypt.c: Likewise.
32834
32835 2014-06-02 Roland McGrath <roland@hack.frob.com>
32836
32837 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32838 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32839 Label the code __libc_vfork rather than __vfork.
32840 [!NOT_IN_libc] (vfork): Define as weak alias.
32841 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32842 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32843 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32844
32845 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32846
32847 * malloc/malloc.c (malloc_info): Fix format specifier for
32848 n_mmaps.
32849
32850 2014-06-02 Wilco <wdijkstr@arm.com>
32851
32852 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32853 FPCR write.
32854
32855 2014-06-02 Wilco <wdijkstr@arm.com>
32856
32857 [BZ #17009]
32858 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32859 Rewrite to reduce FPCR/FPSR accesses.
32860
32861 2014-06-01 David S. Miller <davem@davemloft.net>
32862
32863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32864
32865 2014-05-31 David S. Miller <davem@davemloft.net>
32866
32867 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32868 to occur in round to nearest mode when |x| >= 2.0
32869
32870 2014-05-30 Richard Henderson <rth@twiddle.net>
32871
32872 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32873 (PSEUDO_RET_NOERRNO): Remove.
32874 (ret): Don't redefine.
32875 (ret_NOERRNO): Define in terms of ret.
32876 (ret_ERRVAL): Likewise.
32877
32878 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32879 use of PSEUDO_RET; perform the error check directly.
32880
32881 2014-05-30 Marko Myllynen <myllynen@redhat.com>
32882
32883 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32884 with __int128_t.
32885
32886 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32887
32888 * malloc/malloc (malloc_info): Fix formatting.
32889
32890 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32891 Roland McGrath <roland@hack.frob.com>
32892
32893 * malloc/malloc (malloc_info): Also print mmapped statistics.
32894
32895 2014-05-30 Roland McGrath <roland@hack.frob.com>
32896
32897 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32898 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32899
32900 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
32901
32902 * malloc/malloc.c (malloc_info): Inline mi_arena.
32903
32904 2014-05-29 Richard Henderson <rth@twiddle.net>
32905
32906 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32907 Remove comma before expanding ASM_ARGS_##nr.
32908 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32909 Make _x0 a strict output; make _x8 a strict input; adjust expansion
32910 of ASM_ARGS_##nr.
32911 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32912 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32913 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32914 (ASM_ARGS_1): Add leading comma.
32915
32916 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32917 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32918 to __errno_location.
32919 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32920 Remove the expected plt for __errno_location.
32921
32922 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32923 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32924 call to __read_tp.
32925
32926 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32927 Always allocate 64 bytes of stack frame. Use ldp/stp to create
32928 it and break it down.
32929 (DOCARGS_0, DOCARGS_1): Do nothing.
32930 (DOCARGS_2): Update to store into the new stack frame.
32931 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32932 (UNDOCARGS_1): Update to restore from the new stack frame.
32933 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32934 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32935
32936 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32937 (SINGLE_THREAD_P): New parameter for result regno.
32938 (PSEUDO): Update to match; use cbz instead of beq.
32939
32940 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32941 Use ENTRY to define the _nocancel entry point. Share the syscall
32942 and syscall error check paths with the cancel path.
32943 (PSEUDO_END): New.
32944
32945 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32946 whitespace; tabs before and after asm mnemonics.
32947
32948 2014-05-29 Eric Wong <normalperson@yhbt.net>
32949
32950 [BZ #15132]
32951 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32952 Call fstat64 or stat64 internally, depending on arguments passed.
32953 Replace stat buffer argument with file descriptor argument.
32954 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32955 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32956 Pass fd to __internal_statvfs instead of calling fstat64.
32957 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32958 Pass fd to __internal_statvfs64 instead of calling fstat64.
32959 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32960 Pass -1 to __internal_statvfs instead of calling stat64.
32961 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32962 Pass -1 to __internal_statvfs64 instead of calling stat64.
32963
32964 2014-05-28 Roland McGrath <roland@hack.frob.com>
32965
32966 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32967 that was previously under [RESET_PID].
32968 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32969
32970 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32971 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32972
32973 2014-05-27 Roland McGrath <roland@hack.frob.com>
32974
32975 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32976
32977 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32978 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32979
32980 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
32981
32982 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32983
32984 2014-05-27 Andreas Schwab <schwab@suse.de>
32985
32986 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32987 TLS_INIT_TP macro.
32988 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32989 * elf/rtld.c (init_tls, dl_main): Likewise.
32990 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32991 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32992 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32993 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32994 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32995 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32996 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32997 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32998 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32999 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33000 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33001 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33002 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33003 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33004 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33005 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33006 * sysdeps/generic/tls.h: Update description.
33007
33008 2014-05-27 Will Newton <will.newton@linaro.org>
33009
33010 [BZ #16990]
33011 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33012 and restore r2 rather than just restoring.
33013
33014 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33015
33016 [BZ #16724]
33017 * libio/tst-ftell-append.c: New test case.
33018 * libio/Makefile (tests): Add test case.
33019 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33020 append mode.
33021 * libio/wfileops.c (do_ftell_wide): Likewise.
33022
33023 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33024
33025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33026
33027 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33028 ...
33029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33031 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33032 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33033 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33034 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33035 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33036 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33038 Moved ...
33039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33041 Moved ...
33042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33043 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33044 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33045 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33046 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33047 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33048 ...
33049 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33050 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33051 Moved ...
33052 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33053 here.
33054 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33055 ...
33056 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33057 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33058 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33059
33060 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33061 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33062 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33063 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33064
33065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33066 merge into ...
33067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33069 ...
33070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33071 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33072 ...
33073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33074 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33075 Moved ...
33076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33077 here.
33078 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33079 Moved ...
33080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33082 Moved ...
33083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33084
33085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33086 conditional [RESET_PID].
33087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33088 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33089 removed.
33090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33091 removed.
33092
33093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33094 <tcb-offsets.h>.
33095 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33096 (__libc_vfork): New strong alias.
33097 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33098 removed.
33099 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33100 Removed.
33101
33102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33103 <tcb-offsets.h>.
33104 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33105 (__libc_vfork): New strong alias.
33106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33107 removed.
33108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33109 removed.
33110
33111 2014-05-26 Carlos O'Donell <carlos@redhat.com>
33112
33113 * malloc/malloc.c (mi_arena): New function.
33114 (malloc_info): Remove nested function mi_arena. Call non-nosted
33115 function mi_arena.
33116
33117 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33118
33119 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33120 by insrwi.
33121 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33122 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33123 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33124 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33125 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33126 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33127 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33128
33129 2014-05-26 Andreas Schwab <schwab@suse.de>
33130
33131 [BZ #16984]
33132 * locale/programs/repertoire.c (repertoire_read): Add slash
33133 between I18NPATH element and file name.
33134 * locale/programs/locfile.c (locfile_read): Likewise.
33135
33136 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
33137
33138 * nptl/pthread_mutexattr_settype.c
33139 (__pthread_mutexattr_settype):
33140 Disable lock elision for PTHREAD_MUTEX_NORMAL.
33141
33142 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
33143
33144 * nptl/tst-mutex5 (do_test):
33145 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33146
33147 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33148
33149 * benchtests/README: Document 'init' directive.
33150 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33151 BENCH_INIT.
33152 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33153 (parse_file): Recognize 'init' directive.
33154
33155 2014-05-26 Kyle McMartin <kyle@redhat.com>
33156
33157 [BZ #16796]
33158 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33159 alignment of struct pthread.
33160
33161 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33162
33163 [BZ #16878]
33164 * nscd/netgroupcache.c (addgetnetgrentX): Look for
33165 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33166 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33167 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33168
33169 2014-05-25 Richard Henderson <rth@twiddle.net>
33170
33171 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33172 (SINGLE_THREAD_P_PIC): Remove.
33173 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33174 (SINGLE_THREAD_P_PIC): Remove.
33175
33176 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33177 branch to syscall error ...
33178 (PSEUDO): ... here.
33179 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33180 from __local_syscall_error to .Lsyscall_error.
33181 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33182 (SYSCALL_ERROR): Update label name.
33183
33184 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33185 Do not use DOARGS/UNDOARGS.
33186 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33187 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33188 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33189 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33190 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33191
33192 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33193 block comment.
33194
33195 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33196 define if !NOT_IN_libc.
33197 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33198 define with non-default symbol versions.
33199
33200 2014-05-23 Richard Henderson <rth@twiddle.net>
33201
33202 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33203 (vfork, __vfork): Define via compat_symbol.
33204
33205 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33206 [!HAVE_IFUNC] (vfork_compat): Remove.
33207 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33208
33209 2014-05-23 Joseph Myers <joseph@codesourcery.com>
33210
33211 [BZ #16978]
33212 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33213 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33214 variable.
33215
33216 2014-05-23 Richard Henderson <rth@twiddle.net>
33217
33218 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33219 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33220 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33221 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33222
33223 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33224 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33225 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33226 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33227 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33228 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33229 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33230 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33231 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33232 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33233 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33234 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33235 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33236 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33237 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33238 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33239 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33240 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33241 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33242 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33243 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33244 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33245 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33246 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33247 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33248 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33249 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33250 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33251 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33252 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33253 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33254 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33255 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33256 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33257 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33258 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33259 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33260 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33261 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33262 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33263 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33264 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33265 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33266 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33267 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33268 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33269 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33270 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33271 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33272 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33273 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33274 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33275 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33276 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33278 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33279
33280 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33281 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33282 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
33283 before exiting on error.
33284 (__libc_vfork): New strong alias.
33285 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33286 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33287
33288 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33289 that was previously under [RESET_PID].
33290 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33291
33292 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33293
33294 2014-05-23 Joseph Myers <joseph@codesourcery.com>
33295
33296 [BZ #16977]
33297 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33298 value when x - 1 is zero.
33299 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33300 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33301 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33302 0.0L for an argument of 1.0L.
33303 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33304 Likewise.
33305 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33306 value when x - 1 is zero.
33307 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33308 * sysdeps/i386/fpu/libm-test-ulps: Update.
33309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33310
33311 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
33312
33313 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33314 alphasort and versionsort.
33315
33316 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33317
33318 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33319 macro.
33320 [copysignf]: Likewise.
33321
33322 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33323
33324 * crypt/md5-crypt.c: Fix formatting.
33325
33326 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
33327
33328 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33329 (b64_from_24bit): New function.
33330
33331 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33332
33333 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33334 libc_hidden_builtin_def to ifunc.
33335 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33336 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33337
33338 2014-05-21 Roland McGrath <roland@hack.frob.com>
33339
33340 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33341 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33342
33343 2014-05-21 Joseph Myers <joseph@codesourcery.com>
33344
33345 * nscd/Depend (linuxthreads): Remove.
33346 (nptl): Add.
33347 * resolv/Depend (linuxthreads): Remove.
33348 * rt/Depend (linuxthreads): Remove.
33349
33350 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33351 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33352 $(common-objpfx)elf/.
33353 (link-libc-before-gnulib): Likewise.
33354 (elfobjdir): Remove variable.
33355 * Makefile (install): Use $(elf-objpfx) instead of
33356 $(common-objpfx)elf/.
33357 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33358 $(elfobjdir)/.
33359 (link-libc-deps): Likewise.
33360 ($(common-objpfx)libc.so): Likewise.
33361 ($(common-objpfx)linkobj/libc.so): Likewise.
33362 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33363 instead of $(common-objpfx)elf/.
33364 (symbolic-link-list): Likewise.
33365 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33366 [$(cross-compiling) = no]: Likewise.
33367 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33368 $(elfobjdir)/.
33369 (static-gnulib-arch): Likewise.
33370 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33371 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33372 $(common-objpfx)elf/.
33373
33374 2014-05-21 Richard Henderson <rth@redhat.com>
33375
33376 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33377 (SINGLE_THREAD_P): Use the correct width load. Fold
33378 into the ldr offset.
33379
33380 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33381 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33382
33383 2014-05-20 Joseph Myers <joseph@codesourcery.com>
33384
33385 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33386 (libgcc_s_resume): Use __attribute_used__.
33387 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33388 Likewise.
33389
33390 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33391
33392 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33393 optimization when used with float constants.
33394
33395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33396
33397 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
33398
33399 [BZ #16915]
33400 * locale/nl_langinfo_l.c: Make direct reference to every
33401 _nl_current_CATEGORY symbol.
33402 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33403 (tests-static): Add tst-langinfo-static.
33404 (tests-special): Add tst-langinfo-static.out.
33405 ($(objpfx)tst-langinfo.out): Redirect output.
33406 ($(objpfx)tst-langinfo-static.out): New.
33407 * localedata/tst-langinfo.sh: Send output to stdout.
33408 * localedata/tst-langinfo-static.c: New file.
33409
33410 [BZ #16965]
33411 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33412 when the shift amount is modulo the limb size.
33413
33414 2014-05-20 Richard Henderson <rth@redhat.com>
33415
33416 [BZ #16967]
33417 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33418 Change type of sa_flags from unsigned int to int.
33419
33420 [BZ #16966]
33421 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33422
33423 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33424
33425 2014-05-20 Will Newton <will.newton@linaro.org>
33426
33427 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33428 Test the return value of the system call in the nocancel case.
33429
33430 2014-05-20 Will Newton <will.newton@linaro.org>
33431 Yvan Roux <yvan.roux@linaro.org>
33432
33433 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33434 #include of asm/ptrace.h.
33435 (PTRACE_GET_THREAD_AREA): Remove #undef.
33436 (PTRACE_GETHBPREGS): Likewise.
33437 (PTRACE_SETHBPREGS): Likewise.
33438 (struct user_regs_struct): New structure.
33439 (struct user_fpsimd_struct): New structure.
33440 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33441 #include of asm/ptrace.h and second #include of sys/user.h.
33442 (PTRACE_GET_THREAD_AREA): Remove #undef.
33443 (PTRACE_GETHBPREGS): Likewise.
33444 (PTRACE_SETHBPREGS): Likewise.
33445 (ELF_NGREG): Use new struct user_regs_struct.
33446 (elf_fpregset_t): Use new struct user_fpsimd_struct.
33447
33448 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33449
33450 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33451 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33452
33453 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
33454
33455 [BZ #16958]
33456 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33457 membar to avoid block loads/stores to overlap previous stores.
33458
33459 2014-05-17 Richard Henderson <rth@redhat.com>
33460
33461 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33462 Create the __##syscall_name##_nocancel entry point.
33463 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33464 Remove; let the sysdep-cancel.h code create it.
33465
33466 2014-05-17 David S. Miller <davem@davemloft.net>
33467
33468 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33469 Protect with __USE_GNU.
33470 (TIOCSET_TEMPT): Likewise.
33471 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33472 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33473 these are already provided in bits/ioctl-types.h
33474
33475 2014-05-16 Roland McGrath <roland@hack.frob.com>
33476
33477 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33478 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33479
33480 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33481 Use wait4 regardless of [__NR_waitpid].
33482
33483 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
33484
33485 PR libgcc/60166
33486 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33487 (_FP_NANSIGN_Q): Set the quiet bit.
33488
33489 2014-05-16 Joseph Myers <joseph@codesourcery.com>
33490
33491 * benchtests/Makefile
33492 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33493 not $(common-objpfx)math/libm.so.
33494 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33495 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33496 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33497 $(common-objpfx)dlfcn/libdl.so.
33498 ($(objpfx)tst-audit8): Depend on $(libm), not
33499 $(common-objpfx)math/libm.so.
33500 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33501 not $(common-objpfx)dlfcn/libdl.so.
33502 * math/Makefile
33503 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33504 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
33505 [$(build-shared) = yes].
33506 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33507 $(common-objpfx)nptl/libpthread.so.
33508 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33509 $(common-objpfx)math/libm.so$(libm.so-version) or
33510 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33511 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33512 $(common-objpfx)dlfcn/libdl.so.
33513 * setjmp/Makefile (link-libm): Remove variable.
33514 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33515 * stdio-common/Makefile (link-libm): Remove variable.
33516 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33517 * stdlib/Makefile (link-libm): Remove variable.
33518 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33519 ($(objpfx)tst-strtod-round): Likewise.
33520 ($(objpfx)tst-tininess): Likewise.
33521 ($(objpfx)tst-strtod-underflow): Likewise.
33522 ($(objpfx)tst-strtod6): Likewise.
33523 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33524 $(libdl), not $(common-objpfx)nptl/libpthread.so and
33525 $(common-objpfx)dlfcn/libdl.so.
33526
33527 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33528
33529 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33530 BSD terminal modes definitions.
33531
33532 2014-05-16 Roland McGrath <roland@hack.frob.com>
33533
33534 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33535 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33536
33537 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33538 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33539 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33540 Don't do #include_next.
33541 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33542 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33543 Don't do #include_next.
33544 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33545 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33546 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33547 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33548
33549 2014-05-16 Allan McRae <allan@archlinux.org>
33550
33551 * po/sv.po: Update Swedish translation from translation project.
33552
33553 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33554 in sed expression.
33555
33556 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
33557
33558 [BZ #16917]
33559 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33560 errno if the TIOCGPTN ioctl fails with an error different than
33561 EINVAL.
33562 * login/tst-ptsname.c: New file.
33563 * login/Makefile (tests): Add tst-ptsname.
33564
33565 [BZ #16943]
33566 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33567 and prlimit64.
33568
33569 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33570
33571 [BZ #16849]
33572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33573 herrno to return EAI_AGAIN.
33574
33575 2014-05-14 Roland McGrath <roland@hack.frob.com>
33576
33577 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33578 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33579 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33580 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33581 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33582 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33583 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33584 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33585 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33586 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33587 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33588 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33589 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33590 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33591 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33592 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33593 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33594 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33595 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33596 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33597 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33598 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33599 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33600 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33601 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33602 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33603 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33604 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33605 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33606 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33608 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33610 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33612 Moved ...
33613 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33615 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33617 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33619 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33621 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33623 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33625 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33627 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33629 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33631 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33633 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33635 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33637 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33639 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33641 Moved ...
33642 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33644 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33646 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33648 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33650 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33652 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33654 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33656 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33658 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33660 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33662 Moved ...
33663 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33665 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33666
33667 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33668 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33669 (libpthread-sysdep_routines): Add elision-related stuff here instead.
33670 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33671 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33672 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33673 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33674 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33675 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33676 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33677 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33678 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33679 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33680 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33681 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33682 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33683 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33684 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33685 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33686 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33687 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33688 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33689 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33690 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33691 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33692 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33693 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33694 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33695 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33696 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33697 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33698
33699 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33700 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33701
33702 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33703 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33704 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33705 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33706 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33707 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33708 Moved ...
33709 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33710 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33711 Moved ...
33712 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33713 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33714 Moved ...
33715 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33716 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33717 Moved ...
33718 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33719 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33720 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33721 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33722 Moved ...
33723 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33724 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33725 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33726 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33727 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33728 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33729 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33730 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33731 Moved ...
33732 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33733 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33734 Moved ...
33735 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33736 ... here.
33737 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33738 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33739 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33740 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33741 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33742 Moved ...
33743 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33744 ... here.
33745 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33746 Moved ...
33747 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33748 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33749 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33750 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33751 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33752 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33753 Moved ...
33754 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33755 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33756 Moved ...
33757 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33758 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33759 Moved ...
33760 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33761 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33762 Moved ...
33763 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33764 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33765 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33766 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33767 Moved ...
33768 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33769 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33770 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33771 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33772 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33773 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33774 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33775 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33776 Moved ...
33777 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33778 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33779 Moved ...
33780 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33781 ... here.
33782 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33783 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33784 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33785 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33786 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33787 Moved ...
33788 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33789 ... here.
33790 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33791 Moved ...
33792 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33793 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33794 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33795 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33796 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33797 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33798 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33799 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33800 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33801 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33802 Moved ...
33803 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33804 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33805 Moved ...
33806 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33807 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33808 Moved ...
33809 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33810 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33811 Moved ...
33812 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33813 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33814 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33815 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33816 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33817 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33818 Moved ...
33819 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33820 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33821 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33822 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33823 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33824 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33825 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33826 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33827 Moved ...
33828 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33829 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33830 Moved ...
33831 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33832 ... here.
33833 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33834 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33835 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33836 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33837 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33838 Moved ...
33839 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33840 ... here.
33841 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33842 Moved ...
33843 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33844 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33845 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33846 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33847 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33848 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33849 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33850 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33851 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33852 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33853 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33854
33855 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33856 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33857
33858 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33859 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33860
33861 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33862 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33863 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33864 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33865 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33866 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33867 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33868 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33869 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33870 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33871 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33872 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33873 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33874 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33875 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33876 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33877 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33878 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33879 Moved ...
33880 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33881 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33882 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33883 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33884 Moved ...
33885 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33886 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33887 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33888 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33889 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33890 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33891 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33892 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33893 Moved ...
33894 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33895 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33896 Moved ...
33897 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33898 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33899 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33900 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33901 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33902 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33903 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33904 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33905 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33906 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33907 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33908 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33909 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33910 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33911 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33912 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33913 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33914
33915 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33916 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33917 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33918 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33919 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33920
33921 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33922 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33923 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33924 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33925 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33926 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33927 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33928 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33929 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33930 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33931
33932 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33933 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33934
33935 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33936 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33937 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33938 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33939 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33940 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33941 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33942 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33943 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33944 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33945 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33946 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33947 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33948 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33949 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33950 Update #include.
33951 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33952 Likewise.
33953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33954 Likewise.
33955 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33956 Likewise.
33957 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33958 Likewise.
33959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33960 Likewise.
33961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33962 Likewise.
33963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33964 Likewise.
33965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33966 Likewise.
33967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33968 Likewise.
33969 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33970 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33971 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33972 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33973 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33974 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33975 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33976 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33977 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33978 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33979 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33980 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33981 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33982 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
33983 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
33984
33985 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33986 that was previously under [RESET_PID].
33987 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33988 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33989 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33990
33991 * sysdeps/i386/nptl/Implies: New file.
33992 * sysdeps/x86_64/nptl/Implies: New file.
33993 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33994 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33995 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33996 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33997
33998 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33999 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34000 (__libc_vfork): New strong alias.
34001 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34002 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34003
34004 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34005 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34006 (__libc_vfork): New strong alias.
34007 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34008 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34009
34010 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34011 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34012 (__libc_vfork): New strong alias.
34013 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34014 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34015 * nptl/pt-vfork.c: New file.
34016 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34017 (libpthread: GLIBC_2.20): New version set (empty).
34018
34019 2014-05-14 Will Newton <will.newton@linaro.org>
34020
34021 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34022 rather than #if.
34023
34024 2014-05-14 Joseph Myers <joseph@codesourcery.com>
34025
34026 [BZ #16564]
34027 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34028 arguments with exponent 65 or above.
34029 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34030 arguments 0x1p113L or above.
34031 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34032 to arguments 0x1p107L or above.
34033 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34034 positive arguments with exponent 65 or above.
34035 * math/auto-libm-test-in: Add more tests of log1p.
34036 * math/auto-libm-test-out: Regenerated.
34037
34038 [BZ #16928]
34039 * math/s_cacos.c (__cacos): Ensure zero real part of result from
34040 non-finite arguments is +0.
34041 * math/s_cacosf.c (__cacosf): Likewise.
34042 * math/s_cacosl.c (__cacosl): Likewise.
34043 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34044 * sysdeps/i386/fpu/libm-test-ulps: Update.
34045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34046
34047 [BZ #16927]
34048 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34049 value.
34050 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34051 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34052 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34053 for explicit high bit of mantissa when testing for argument equal
34054 to 1.
34055 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34056 * sysdeps/i386/fpu/libm-test-ulps: Update.
34057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34058
34059 [BZ #16516]
34060 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34061 (__erf): Scale by 16 instead of 8 in potentially underflowing
34062 case. Ensure exception if result actually underflows.
34063 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34064 (__erff): Scale by 16 instead of 8 in potentially underflowing
34065 case. Ensure exception if result actually underflows.
34066 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34067 (efx8): Remove variable.
34068 (__erfl): Scale by 16 instead of 8 in potentially underflowing
34069 case. Ensure exception if result actually underflows.
34070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34071 (efx8): Remove variable.
34072 (__erfl): Scale by 16 instead of 8 in potentially underflowing
34073 case. Ensure exception if result actually underflows.
34074 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34075 (efx8): Remove variable.
34076 (__erfl): Scale by 16 instead of 8 in potentially underflowing
34077 case. Ensure exception if result actually underflows.
34078 * math/auto-libm-test-in: Add more tests of erf.
34079 * math/auto-libm-test-out: Regenerated.
34080
34081 2014-05-14 Andreas Schwab <schwab@suse.de>
34082
34083 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34084 Remove code conditionalized on USE___THREAD.
34085
34086 * config.h.in (HAVE_PT_CHOWN): Define as 0.
34087 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34088 not definedness.
34089
34090 2014-05-14 Joseph Myers <joseph@codesourcery.com>
34091
34092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34093 Define unconditionally.
34094 (__ASSUME_O_CLOEXEC): Likewise.
34095 (__ASSUME_SOCK_CLOEXEC): Likewise.
34096 (__ASSUME_IN_NONBLOCK): Likewise.
34097 (__ASSUME_PIPE2): Likewise.
34098 (__ASSUME_EVENTFD2): Likewise.
34099 (__ASSUME_SIGNALFD4): Likewise.
34100 (__ASSUME_DUP3): Likewise.
34101 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34102 (__ASSUME_DUP3): Do not define.
34103 (__ASSUME_EVENTFD2): Likewise.
34104 (__ASSUME_IN_NONBLOCK): Likewise.
34105 (__ASSUME_O_CLOEXEC): Likewise.
34106 (__ASSUME_PIPE2): Likewise.
34107 (__ASSUME_SIGNALFD4): Likewise.
34108 (__ASSUME_SOCK_CLOEXEC): Likewise.
34109 (__ASSUME_UTIMES): Undefine.
34110 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34111 (__ASSUME_UTIMES): Do not define.
34112 (__ASSUME_O_CLOEXEC): Likewise.
34113 (__ASSUME_SOCK_CLOEXEC): Likewise.
34114 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34115 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34116 0x020621].
34117 (__ASSUME_PIPE2): Likewise.
34118 (__ASSUME_EVENTFD2): Likewise.
34119 (__ASSUME_SIGNALFD4): Likewise.
34120 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34121 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34122 Do not define.
34123 (__ASSUME_EVENTFD2): Likewise.
34124 (__ASSUME_SIGNALFD4): Likewise.
34125 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34126 (__ASSUME_32BITUIDS): Likewise.
34127 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34128 (__ASSUME_IPC64): Likewise.
34129 (__ASSUME_ST_INO_64_BIT): Likewise.
34130 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34131 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34132 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34133 (__ASSUME_UTIMES): Do not define.
34134 (__ASSUME_PSELECT): Likewise.
34135 (__ASSUME_PPOLL): Likewise.
34136 (__ASSUME_O_CLOEXEC): Likewise.
34137 (__ASSUME_SOCK_CLOEXEC): Likewise.
34138 (__ASSUME_IN_NONBLOCK): Likewise.
34139 (__ASSUME_PIPE2): Likewise.
34140 (__ASSUME_EVENTFD2): Likewise.
34141 (__ASSUME_SIGNALFD4): Likewise.
34142 (__ASSUME_DUP3): Likewise.
34143 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34144 (__ASSUME_UTIMES): Likewise.
34145 (__ASSUME_O_CLOEXEC): Likewise.
34146 (__ASSUME_SOCK_CLOEXEC): Likewise.
34147 (__ASSUME_IN_NONBLOCK): Likewise.
34148 (__ASSUME_PIPE2): Likewise.
34149 (__ASSUME_EVENTFD2): Likewise.
34150 (__ASSUME_SIGNALFD4): Likewise.
34151 (__ASSUME_DUP3): Likewise.
34152 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34153 (__ASSUME_UTIMES): Likewise.
34154 (__ASSUME_O_CLOEXEC): Likewise.
34155 (__ASSUME_SOCK_CLOEXEC): Likewise.
34156 (__ASSUME_IN_NONBLOCK): Likewise.
34157 (__ASSUME_PIPE2): Likewise.
34158 (__ASSUME_EVENTFD2): Likewise.
34159 (__ASSUME_SIGNALFD4): Likewise.
34160 (__ASSUME_DUP3): Likewise.
34161 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34162 Likewise.
34163 (__ASSUME_UTIMES): Likewise.
34164 (__ASSUME_EVENTFD2): Likewise.
34165 (__ASSUME_SIGNALFD4): Likewise.
34166 * sysdeps/unix/sysv/linux/tile/kernel-features.h
34167 (__ASSUME_O_CLOEXEC): Likewise.
34168 (__ASSUME_SOCK_CLOEXEC): Likewise.
34169 (__ASSUME_IN_NONBLOCK): Likewise.
34170 (__ASSUME_PIPE2): Likewise.
34171 (__ASSUME_EVENTFD2): Likewise.
34172 (__ASSUME_SIGNALFD4): Likewise.
34173 (__ASSUME_DUP3): Likewise.
34174 (__ASSUME_UTIMES): Undefine.
34175
34176 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34177 feclearexcept. Remove symbol versioning code.
34178 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
34179 symbol versioning code.
34180 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
34181 symbol versioning code.
34182 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34183 feupdateenv. Remove symbol versioning code.
34184 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34185 fegetexceptflag. Remove symbol versioning code.
34186 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34187 fesetexceptflag. Remove symbol versioning code.
34188 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34189 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
34190 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34191 (__posix_fadvise64_l32): Remove prototype.
34192 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34193 code.
34194
34195 2014-05-13 Roland McGrath <roland@hack.frob.com>
34196
34197 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34198 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34199 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34200 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34201
34202 2014-05-13 Sami Kerola <kerolasa@iki.fi>
34203
34204 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34205 current working directory
34206
34207 2014-05-13 Roland McGrath <roland@hack.frob.com>
34208
34209 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34210 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34211 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34212 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34213 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34214 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34215 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34216 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34217 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34218 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34219 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34220 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34221 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34222 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34223 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34224 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34225 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34226 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34227 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34228 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34229 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34230 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34231 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34232 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34233 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34234 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34235 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34236 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34237 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34238 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34239 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34240 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34241 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34242 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34243 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34244 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34245 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34246 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34247 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34248 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34249 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34250 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34251
34252 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34253 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34254
34255 * sysdeps/unix/sysv/linux/arm/Makefile
34256 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34257 Add rt-aeabi_unwind_cpp_pr1.
34258 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34259 Add nptl-aeabi_unwind_cpp_pr1.
34260 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34261 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34262 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34263 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34264 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34265 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34266
34267 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34268 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34269 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34270 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34271
34272 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34273 Deconditionalize the code that was previously under [RESET_PID].
34274 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34275
34276 * sysdeps/generic/exit-thread.h: New file.
34277 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34278 * include/unistd.h (__exit_thread): Remove declaration.
34279 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34280 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34281 * csu/libc-start.c: Include <exit-thread.h>.
34282 (LIBC_START_MAIN): Pass no argument to __exit_thread.
34283 * nptl/pthread_create.c: Include <exit-thread.h>.
34284 (start_thread): Call __exit_thread in place of __exit_thread_inline.
34285 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34286 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34287 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34288 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34289 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34290 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34291 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34292 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34293 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34294 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34295 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34296 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34297 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34298 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34299 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34300 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34301
34302 2014-05-13 Andreas Schwab <schwab@suse.de>
34303
34304 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34305
34306 2014-05-12 Joseph Myers <joseph@codesourcery.com>
34307
34308 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34309 (__ASSUME_UTIMES): Do not condition on kernel version.
34310 (__ASSUME_PSELECT): Define unconditionally.
34311 (__ASSUME_PPOLL): Likewise.
34312 (__ASSUME_ATFCTS): Likewise.
34313 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34314 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34315 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34316 (__ASSUME_UTIMENSAT): Define unconditionally.
34317 (__ASSUME_PRIVATE_FUTEX): Likewise.
34318 (__ASSUME_FALLOCATE): Likewise.
34319 (__ASSUME_O_CLOEXEC): Likewise.
34320 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34321 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34322 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34323 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34324 (__ASSUME_IN_NONBLOCK): Likewise.
34325 (__ASSUME_PIPE2): Likewise.
34326 (__ASSUME_EVENTFD2): Likewise.
34327 (__ASSUME_SIGNALFD4): Likewise.
34328 (__ASSUME_DUP3): Likewise.
34329 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34330 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34331 (__ASSUME_AT_RANDOM): Likewise.
34332 (__ASSUME_PREADV): Likewise.
34333 (__ASSUME_PWRITEV): Likewise.
34334 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34335 (__ASSUME_F_GETOWN_EX): Define unconditionally.
34336 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34337 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34338 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34339 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34340 (__ASSUME_O_CLOEXEC): Define unconditionally.
34341 (__ASSUME_PSELECT): Do not undefine conditionally.
34342 (__ASSUME_PPOLL): Likewise.
34343 (__ASSUME_ATFCTS): Likewise.
34344 (__ASSUME_SET_ROBUST_LIST): Likewise.
34345 (__ASSUME_UTIMENSAT): Likewise.
34346 (__ASSUME_FDATASYNC): Define unconditionally.
34347 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34348 (__ASSUME_SIGFRAME_V2): Likewise.
34349 )__ASSUME_EVENTFD2): Likewise.
34350 (__ASSUME_SIGNALFD4): Likewise.
34351 (__ASSUME_PSELECT): Do not undefine conditionally.
34352 (__ASSUME_PPOLL): Likewise.
34353 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34354 (__ASSUME_PSELECT): Define unconditionally.
34355 (__ASSUME_PPOLL): Likewise.
34356 (__ASSUME_O_CLOEXEC): Likewise.
34357 (__ASSUME_SOCK_CLOEXEC): Likewise.
34358 (__ASSUME_IN_NONBLOCK): Likewise.
34359 (__ASSUME_PIPE2): Likewise.
34360 (__ASSUME_EVENTFD2): Likewise.
34361 (__ASSUME_SIGNALFD4): Likewise.
34362 (__ASSUME_DUP3): Likewise.
34363 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34364 (__ASSUME_O_CLOEXEC): Likewise.
34365 (__ASSUME_SOCK_CLOEXEC): Likewise.
34366 (__ASSUME_IN_NONBLOCK): Likewise.
34367 (__ASSUME_PIPE2): Likewise.
34368 (__ASSUME_EVENTFD2): Likewise.
34369 (__ASSUME_SIGNALFD4): Likewise.
34370 (__ASSUME_DUP3): Likewise.
34371 * sysdeps/unix/sysv/linux/mips/kernel-features.h
34372 (__ASSUME_EVENTFD2): Likewise.
34373 (__ASSUME_SIGNALFD4): Likewise.
34374 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34375
34376 2014-05-12 Andreas Schwab <schwab@suse.de>
34377
34378 [BZ #16932]
34379 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34380 (_nss_nis_gethostbyname4_r): Return error if item length is larger
34381 than maximum RPC packet size.
34382 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34383 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34384 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34385 (_nss_nis_getservbyport_r): Likewise.
34386
34387 2014-05-12 Will Newton <will.newton@linaro.org>
34388
34389 * malloc/Makefile (tests): Add tst-mallopt.
34390 * malloc/tst-mallopt.c: New file.
34391
34392 2014-05-09 Roland McGrath <roland@hack.frob.com>
34393
34394 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34395 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34396
34397 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34398
34399 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34400 (tst-tlsmod6.so): Likewise.
34401
34402 2014-05-09 Roland McGrath <roland@hack.frob.com>
34403
34404 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34405
34406 2014-05-09 Joseph Myers <joseph@codesourcery.com>
34407
34408 [BZ #16064]
34409 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34410 and <dl-procinfo.h>.
34411 (__fegetenv): Save SSE state in envp->__eip if supported.
34412 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34413 envp->__eip if supported.
34414 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34415 and <dl-procinfo.h>.
34416 (__fesetenv): Always set __eip, __cs_selector, __opcode,
34417 __data_offset and __data_selector in environment to 0. Set SSE
34418 state if supported.
34419 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34420 test-fenv-sse.
34421 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34422 -mfpmath=sse.
34423 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34424
34425 2014-05-09 Will Newton <will.newton@linaro.org>
34426
34427 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34428 and libc_relro_required for ARM.
34429 * sysdeps/arm/preconfigure: Regenerate.
34430
34431 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
34432 Stefan Liebler <stli@linux.vnet.ibm.com>
34433
34434 * config.make.in (enable-lock-elision): New Makefile variable.
34435 * configure.ac: Likewise.
34436 * configure: Regenerate.
34437 * sysdeps/s390/configure.ac:
34438 Add check for gcc transactions support.
34439 * sysdeps/s390/configure: Regenerate.
34440 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34441 Build elision files if enabled.
34442 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34443 Add lock elision support for s390.
34444 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34445 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34446 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34447 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34448 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34449 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34450 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34451 Likewise.
34452 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34453 Likewise.
34454 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34455 Likewise.
34456 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34457 Likewise.
34458 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34459 (__lll_timedlock_elision, __lll_lock_elision)
34460 (__lll_unlock_elision, __lll_trylock_elision)
34461 (lll_timedlock_elision, lll_lock_elision)
34462 (lll_unlock_elision, lll_trylock_elision): Add.
34463 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34464 (pthread_mutex_t): Add lock elision support for s390.
34465
34466 2014-05-14 Wilco <wdijkstr@arm.com>
34467
34468 * sysdeps/arm/fclrexcpt.c: Cleanup.
34469 * sysdeps/arm/fedisblxcpt.c: Cleanup.
34470 * sysdeps/arm/feenablxcpt.c: Cleanup.
34471 * sysdeps/arm/fegetenv.c: Cleanup.
34472 * sysdeps/arm/fegetexcept.c: Cleanup.
34473 * sysdeps/arm/fegetround.c: Cleanup.
34474 * sysdeps/arm/feholdexcpt.c: Cleanup.
34475 * sysdeps/arm/fesetenv.c: Cleanup.
34476 * sysdeps/arm/fesetround.c: Cleanup.
34477 * sysdeps/arm/feupdateenv.c: Cleanup.
34478 * sysdeps/arm/fgetexcptflg.c: Cleanup.
34479 * sysdeps/arm/fraiseexcpt.c: Cleanup.
34480 * sysdeps/arm/fsetexcptflg.c: Cleanup.
34481 * sysdeps/arm/ftestexcept.c: Cleanup.
34482 * sysdeps/arm/get-rounding-mode.h: Cleanup.
34483 * sysdeps/arm/setfpucw.c: Cleanup.
34484
34485 2014-05-09 Will Newton <will.newton@linaro.org>
34486
34487 * sysdeps/arm/armv7/strcmp.S: New file.
34488 * NEWS: Mention addition of ARMv7 optimized strcmp.
34489
34490 2014-05-08 Roland McGrath <roland@hack.frob.com>
34491
34492 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34493 look for %.ac rather than %.in.
34494
34495 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34496 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34497 * sysdeps/mach/hurd/configure: Regenerated.
34498 * sysdeps/unix/sysv/linux/configure: Regenerated.
34499
34500 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34501
34502 2014-05-07 Steve Ellcey <sellcey@mips.com>
34503
34504 [BZ# 16922]
34505 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34506 (LONG_SUB): Ditto.
34507 (PTR_SUB): Ditto.
34508
34509 2014-05-07 Andreas Schwab <schwab@suse.de>
34510
34511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34512 when skipping over non-matching result from nscd.
34513
34514 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
34515
34516 [BZ #16876]
34517 * nptl/sockperf.c (client): Check socket return value.
34518
34519 [BZ #16877]
34520 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34521 nscd security class.
34522
34523 2014-05-06 Roland McGrath <roland@hack.frob.com>
34524
34525 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34526 * sysdeps/arm/unwind.h: ... here.
34527
34528 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
34529
34530 [BZ# 16916]
34531 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34532 Define.
34533
34534 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
34535
34536 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34537 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34538 multiarch strncpy for PPC64.
34539 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34540 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34542 multiarch optimizations.
34543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34544 (__libc_ifunc_impl_list): Likewise.
34545 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34546 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34547 multiarch stpncpy for PPC64.
34548 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34549 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34550
34551 2014-05-06 Andreas Schwab <schwab@suse.de>
34552
34553 [BZ #16912]
34554 * gmon/mcount.c (_MCOUNT_DECL): Use
34555 atomic_compare_and_exchange_bool_acq instead of
34556 catomic_compare_and_exchange_bool_acq.
34557
34558 2014-05-05 Roland McGrath <roland@hack.frob.com>
34559
34560 * elf/Makefile (others, install-bin): Remove pldd.
34561 (pldd-modules): Variable removed.
34562 ($(objpfx)pldd): Target removed.
34563 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34564 (others, install-bin): Append pldd here.
34565 ($(objpfx)pldd): New target.
34566
34567 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34568 to 0, so the first #if test emitted later doesn't see it undefined.
34569 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34570 * sysdeps/gnu/errlist.c: Regenerated.
34571
34572 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34573
34574 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34575 [libc_hidden_builtin_def]: Define to empty value.
34576 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34577 [libc_hidden_builtin_def]: Likewise.
34578 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34579 [libc_hidden_builtin_def]: Likewise.
34580 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34581 [libc_hidden_builtin_def]: Likewise.
34582 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34583 __redirect_memcpy and define ifunc as default hidden symbol.
34584 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34585 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34586
34587 2014-05-04 Adam Conrad <adconrad@0c3.net>
34588
34589 * locale/iso-4217.def: Reintroduce XDR currency.
34590
34591 2014-05-04 Allan McRae <allan@archlinux.org>
34592
34593 * po/eo.po: Update Esperanto translation from translation project.
34594
34595 2014-05-02 Carlos O'Donell <carlos@redhat.com>
34596
34597 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34598 and FEATURE_INDEX_MAX to 1.
34599 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34600
34601 2014-05-01 Steve Ellcey <sellcey@mips.com>
34602
34603 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34604 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34605 * iconvdata/big5.c (ONE_DIRECTION): Define.
34606 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34607 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34608 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34609 * iconvdata/cp932.c (ONE_DIRECTION): Define.
34610 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34611 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34612 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34613 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34614 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34615 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34616 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34617 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34618 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34619 * iconvdata/gbk.c (ONE_DIRECTION): Define.
34620 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34621 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34622 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34623 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34624 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34625 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34626 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34627 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34628 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34629 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34630 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34631 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34632 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34633 * iconvdata/iso646.c (ONE_DIRECTION): Define.
34634 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34635 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34636 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34637 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34638 * iconvdata/johab.c (ONE_DIRECTION): Define.
34639 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34640 * iconvdata/sjis.c (ONE_DIRECTION): Define.
34641 * iconvdata/t.61.c (ONE_DIRECTION): Define.
34642 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34643 * iconvdata/tscii.c (ONE_DIRECTION): Define.
34644 * iconvdata/uhc.c (ONE_DIRECTION): Define.
34645 * iconvdata/unicode.c (ONE_DIRECTION): Define.
34646 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34647 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34648 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34649
34650 2014-05-01 Roland McGrath <roland@hack.frob.com>
34651
34652 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34653 (_IO_JUMPS_OFFSET): Define to 0.
34654
34655 * nptl/sysdeps/pthread/bits/libc-lock.h
34656 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34657 (__libc_lock_define_initialized_recursive): Always define using
34658 initializer. Modern compilers treat uninitialized (implicit zero) and
34659 explicit zero initializers the same (i.e. put the datum in bss).
34660
34661 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
34662
34663 * nscd/nscd-client.h: Include <string.h>.
34664
34665 2014-05-01 David S. Miller <davem@davemloft.net>
34666
34667 [BZ #16885]
34668 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34669 multiple zero bytes exist at the end of a string.
34670 Reported by Aurelien Jarno <aurelien@aurel32.net>
34671
34672 * string/test-strcmp.c (check): Add explicit test for situations where
34673 there are multiple zero bytes after the first.
34674
34675 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
34676
34677 [BZ #16890]
34678 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34679 when compiling wprintf.
34680 * stdio-common/tstdiomisc.c (t3): New function.
34681 (main): Call it.
34682
34683 2014-05-01 Steve Ellcey <sellcey@mips.com>
34684
34685 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34686 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34687 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34688 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34689
34690 2014-05-01 Steve Ellcey <sellcey@mips.com>
34691
34692 * stdlib/longlong.h: Updated from GCC.
34693
34694 2014-05-01 Will Newton <will.newton@linaro.org>
34695 Bernard Ogden <bernie.ogden@linaro.org>
34696
34697 * NEWS: Update fixed bug list.
34698
34699 [BZ #15119]
34700 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34701
34702 2014-04-30 David S. Miller <davem@davemloft.net>
34703
34704 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34705 (libc_feholdexcept_setround_sparc_ctx): New function.
34706 (libc_fesetenv_sparc_ctx): Likewise.
34707 (libc_feupdateenv_sparc_ctx): Likewise.
34708 (libc_feholdsetround_sparc_ctx): Likewise.
34709 (libc_feholdexcept_setround_ctx): Define.
34710 (libc_feholdexcept_setroundf_ctx): Likewise.
34711 (libc_feholdexcept_setroundl_ctx): Likewise.
34712 (libc_fesetenv_ctx): Likewise.
34713 (libc_fesetenvf_ctx): Likewise.
34714 (libc_fesetenvl_ctx): Likewise.
34715 (libc_feupdateenv_ctx): Likewise.
34716 (libc_feupdateenvf_ctx): Likewise.
34717 (libc_feupdateenvl_ctx): Likewise.
34718 (libc_feresetround_ctx): Likewise.
34719 (libc_feresetroundf_ctx): Likewise.
34720 (libc_feresetroundl_ctx): Likewise.
34721 (libc_feholdsetround_ctx): Likewise.
34722 (libc_feholdsetroundf_ctx): Likewise.
34723 (libc_feholdsetroundl_ctx): Likewise.
34724
34725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34726 with __USE_GNU instead of XOPEN cpp guards.
34727
34728 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34729 0.
34730
34731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34732 with XOPEN cpp guards.
34733
34734 2014-04-30 Julian Brown <julian@codesourcery.com>
34735
34736 [BZ #16888]
34737 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34738 handling.
34739
34740 2014-04-30 Joseph Myers <joseph@codesourcery.com>
34741
34742 [BZ #9894]
34743 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34744 Change to 2.6.32.
34745 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34746 * sysdeps/unix/sysv/linux/configure: Regenerated.
34747 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34748 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34749 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34750 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34751 * README: Update reference to required Linux kernel version.
34752 * manual/install.texi (Linux): Update reference to required Linux
34753 kernel headers version.
34754 * INSTALL: Regenerated.
34755
34756 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34757 header inclusion.
34758 [POSIX] (limits.h): Likewise.
34759 [POSIX] (math.h): Likewise.
34760 [POSIX] (sys/wait.h): Likewise.
34761 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34762 function.
34763 [POSIX] (stddef.h): Do not allow header inclusion.
34764
34765 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34766
34767 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34768
34769 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
34770
34771 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34772 Return immediately after lll_futex_wake.
34773
34774 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34775
34776 [BZ #16791]
34777 * nscd/nscd-client.h (datahead_init_common): Initialize entire
34778 structure.
34779 (datahead_init_pos): Call datahead_init_common early.
34780 (datahead_init_neg): Likewise.
34781
34782 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34783 datahead_init_neg): New functions.
34784 * nscd/aicache.c (addhstaiX): Use them.
34785 * nscd/grpcache.c (cache_addgr): Likewise.
34786 * nscd/hstcache.c (cache_addhst): Likewise.
34787 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34788 * nscd/netgroupcache.c (do_notfound): Likewise.
34789 (addgetnetgrentX): Likewise.
34790 (addinnetgrX): Likewise.
34791 * nscd/pwdcache.c (cache_addpw): Likewise.
34792 * nscd/servicescache.c (cache_addserv): Likewise.
34793
34794 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34795 Atsushi Onoe <atsushi@onoe.org>
34796
34797 [BZ #14308]
34798 [BZ #12994]
34799 [BZ #13651]
34800 * resolv/res_query.c (__libc_res_nsearch): Return if at least
34801 one response is valid.
34802 * resolv/res_send.c (send_dg): Check for validity of other
34803 response if the current response is a referral.
34804
34805 2014-04-29 Steve Ellcey <sellcey@mips.com>
34806
34807 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34808
34809 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
34810
34811 [BZ #16823]
34812 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34813 Always divide by positive zero when computing -Inf result.
34814 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34815 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34816
34817 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34818
34819 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34820 FPSCR if value do not change.
34821 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34822 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34823 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34824 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34825 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34826 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34827 function.
34828
34829 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
34830
34831 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34832 * sysdeps/unix/sysv/linux/hppa: Move directory from
34833 ports/systeps/unix/sysv/linux/hppa.
34834 * README: Update listing for hppa-*-linux-gnu.
34835
34836 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
34837
34838 [BZ #16754]
34839 * manual/stdio.texi (Hook functions): Fix types of stream hook
34840 functions.
34841 [BZ #16854]
34842 * socket/sys/socket.h: Fix typo in comment.
34843
34844 2014-04-28 Wilco <wdijkstr@arm.com>
34845
34846 * sysdeps/arm/fenv_private.h: New file.
34847 * sysdeps/arm/math_private.h: New file.
34848 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34849
34850 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
34851
34852 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34853 with __int128_t.
34854 (La_x86_64_retval): Likewise.
34855
34856 2014-04-24 Ian Bolton <ian.bolton@arm.com>
34857
34858 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34859 fpsr if value didn't change.
34860 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34861 to fpcr if value didn't change.
34862 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34863 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34864 fpsr or fpcr if value didn't change.
34865 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34866 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34867 fpcr if value didn't change.
34868 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34869 to fpsr if value didn't change.
34870
34871 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34872
34873 * nptl/tst-sem3.c: Use test-skeleton.c
34874 (main): Rename to do_test. Use return instead of
34875 exit.
34876 * nptl/tst-sem4.c: Use test-skeleton.c
34877 (main): Rename to do_test.
34878
34879 2014-04-22 David S. Miller <davem@davemloft.net>
34880
34881 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34882 (struct sigaction): New struct member __glibc_reserved0, change
34883 type of sa_flags to int.
34884
34885 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
34886
34887 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34888 (COUNT_LEADING_ZEROS_0): Define for AArch64.
34889
34890 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34891
34892 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34893 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34894
34895 2014-04-22 Will Newton <will.newton@linaro.org>
34896 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
34897
34898 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34899 (__longjmp): Add longjmp and longjmp_target SystemTap
34900 probes.
34901 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34902 (__sigsetjmp): Add setjmp SystemTap probe.
34903
34904 2014-04-17 Carlos O'Donell <carlos@redhat.com>
34905
34906 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34907 match manual order.
34908
34909 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34910
34911 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34912
34913 * sysdeps/powerpc/fpu/fenv_private.h
34914 (libc_feholdexcept_setroundl_ctx): Define to
34915 libc_feholdexcept_setround_ppc_ctx.
34916 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34917 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34918 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34919 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34920
34921 2014-04-17 Ian Bolton <ian.bolton@arm.com>
34922
34923 * sysdeps/aarch64/math-tests.h: New file.
34924
34925 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
34926
34927 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34928 New.
34929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34930 Check and set bit_AVX2_Usable.
34931 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34932 macro.
34933 (bit_AVX2): Likewise.
34934 (index_AVX2_Usable): Likewise.
34935 (CPUID_AVX2): Likewise.
34936 (HAS_AVX2): Likewise.
34937
34938 2014-04-17 Will Newton <will.newton@linaro.org>
34939
34940 * manual/setjmp.texi (System V contexts): Add note that
34941 calling setcontext on a context created by a call to a
34942 signal handler is undefined. Update text to note that
34943 setcontext from a signal handler is possible but not
34944 recommended.
34945
34946 [BZ #16629]
34947 * stdlib/tst-setcontext.c: Include signal.h.
34948 (main): Check that the signal stack before and
34949 after swapcontext is the same.
34950
34951 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34952 Re-implement to restore registers in user code and avoid
34953 rt_sigreturn system call.
34954
34955 2014-04-17 Wilco <wdijkstr@arm.com>
34956
34957 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34958 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34959 * math/test-fenv.c: Skip exception trap tests on targets which only
34960 support non-stop mode.
34961
34962 2014-04-17 Ian Bolton <ian.bolton@arm.com>
34963 Wilco Dijkstra <wilco.dijkstra@arm.com>
34964
34965 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34966 (libc_feholdsetround_aarch64_ctx)
34967 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34968 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34969 (libc_feresetround_ctx, libc_feresetroundf_ctx)
34970 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34971 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34972 (libc_feresetround_noexl_ctx): Define.
34973
34974 2014-04-16 Richard Henderson <rth@redhat.com>
34975
34976 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34977
34978 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34979 unwind tables.
34980
34981 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34982 const from the non-libc, non-ldso copy.
34983
34984 * sysdeps/alpha/libm-test-ulps: Regenerate.
34985
34986 2014-04-16 Ian Bolton <ian.bolton@arm.com>
34987 Wilco Dijkstra <wilco.dijkstra@arm.com>
34988
34989 * sysdeps/aarch64/fpu/math_private.h: New file.
34990
34991 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
34992
34993 * sysdeps/aarch64/libm-test-ulps: Regenerate.
34994
34995 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
34996
34997 [BZ #16275]
34998 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34999 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35000 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35001 Intel MPX bound registers before _dl_profile_fixup.
35002 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35003 registers after _dl_profile_fixup. Save and restore bound
35004 registers bnd0/bnd1 when calling _dl_call_pltexit.
35005 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35006 (LR_BND_OFFSET): Likewise.
35007 (LRV_BND0_OFFSET): Likewise.
35008 (LRV_BND1_OFFSET): Likewise.
35009
35010 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35011
35012 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35013 to...
35014 * sysdeps/mach/hurd/i386/tls.h: ... here.
35015 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35016 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35017 fields.
35018
35019 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35020
35021 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35022
35023 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
35024
35025 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35026
35027 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
35028
35029 [BZ #14770]
35030 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35031 * sysdeps/s390/configure: Regenerate.
35032
35033 [BZ #16824]
35034 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35035 Set round-to-nearest internally to reduce error accumulation.
35036
35037 2014-04-16 Alan Modra <amodra@gmail.com>
35038
35039 [BZ #16740]
35040 [BZ #16619]
35041 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35042 * math/libm-test.inc (frexp_test_data): Add tests.
35043 * NEWS: Update fixed bug list.
35044
35045 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35046
35047 * benchtests/Makefile: Depend on libraries in build directory.
35048 (bench-math): Separate out math tests.
35049 (bench-pthread): Separate out pthread tests.
35050 (bench): Include math and pthread tests.
35051
35052 2014-04-14 Carlos O'Donell <carlos@redhat.com>
35053
35054 [BZ #16831]
35055 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35056 _dl_debug_initialize.
35057
35058 * configure.ac: Remove SELinux header check.
35059 * configure: Regenerate.
35060 * nscd/selinux.c (perms): Array of const char* to permission names.
35061 (nscd_request_avc_has_perm): Call security_deny_unknown to find
35062 default policy. Call string_to_security_class and string_to_av_perm to
35063 translate strings. Enforce default policy and call avs_has_perm with
35064 results of translated strings.
35065
35066 2014-04-13 David S. Miller <davem@davemloft.net>
35067
35068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35069
35070 2014-04-12 Allan McRae <allan@archlinux.org>
35071
35072 [BZ #16838]
35073 * manual/string.texi (Collation Functions): Fix qsort argument
35074 order in example.
35075 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35076
35077 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
35078
35079 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35080 Make the test a no-op if there are no exceptions defined.
35081
35082 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
35083
35084 * elf/Makefile (tests): make tst-dlopen-aout conditional on
35085 enable-hardcoded-path-in-tests
35086
35087 2014-04-11 Will Newton <will.newton@linaro.org>
35088
35089 * benchtests/Makefile (extra-objs): Add json-lib.o.
35090 (bench-func): Tidy up JSON output.
35091 * benchtests/bench-skeleton.c: Include json-lib.h.
35092 (main): Use JSON library functions to do output of
35093 benchmark results.
35094 * benchtests/bench-timing-type.c (main): Output the
35095 timing type simply, leaving formatting to the user.
35096 * benchtests/json-lib.c: New file.
35097 * benchtests/json-lib.h: Likewise.
35098
35099 2014-04-11 Torvald Riegel <triegel@redhat.com>
35100
35101 [BZ #15215]
35102 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35103 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
35104 memory barriers. Add comments.
35105 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35106 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35107 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35108 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35109 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35110 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35111
35112 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
35113
35114 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35115 * sysdeps/s390/s390-64/configure.ac: ... this ...
35116 * sysdeps/s390/configure.ac: ... to here.
35117 * sysdeps/s390/s390-32/configure: Delete file.
35118 * sysdeps/s390/s390-64/configure: Delete file.
35119 * sysdeps/s390/configure: Regenerate.
35120
35121 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
35122
35123 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35124
35125 2014-04-11 Will Newton <will.newton@linaro.org>
35126
35127 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35128 to zero if it is not defined elsewhere. (mtrim): Test
35129 the value of MALLOC_DEBUG with #if rather than #ifdef.
35130
35131 2014-04-10 Torvald Riegel <triegel@redhat.com>
35132
35133 * benchtests/pthread_once-inputs: New file.
35134 * benchtests/pthread_once-source.c: New file.
35135 * benchtests/README: Update documentation.
35136
35137 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
35138 H.J. Lu <hongjiu.lu@intel.com>
35139
35140 [BZ #16275]
35141 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35142 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35143 * sysdeps/x86_64/configure: Regenerated.
35144 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35145 macro.
35146 (REGISTER_SAVE_RAX): Likewise.
35147 (REGISTER_SAVE_RCX): Likewise.
35148 (REGISTER_SAVE_RDX): Likewise.
35149 (REGISTER_SAVE_RSI): Likewise.
35150 (REGISTER_SAVE_RDI): Likewise.
35151 (REGISTER_SAVE_R8): Likewise.
35152 (REGISTER_SAVE_R9): Likewise.
35153 (REGISTER_SAVE_BND0): Likewise.
35154 (REGISTER_SAVE_BND1): Likewise.
35155 (REGISTER_SAVE_BND2): Likewise.
35156 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
35157 bound registers when calling _dl_fixup.
35158
35159 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35160
35161 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35162 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35163 of its definition.
35164 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35165 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35166 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35167 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35168 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35169 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35170 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35171
35172 2014-04-09 Peter Brett <peter@peter-b.co.uk>
35173
35174 [BZ #15514]
35175 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35176 pathconf(_PC_NAME_MAX).
35177
35178 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35179
35180 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35181 Remove macro usage.
35182 (__PTHREAD_SPINS): Move definition to ...
35183 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35184 (__PTHREAD_SPINS): ... here.
35185 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35186 (__PTHREAD_SPIN): Likewise.
35187 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35188 (__PTHREAD_SPIN): Likewise.
35189 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35190 (__PTHREAD_SPIN): Likewise.
35191 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35192 (__PTHREAD_SPIN): Likewise.
35193 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35194 (__PTHREAD_SPIN): Likewise.
35195 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35196 (__PTHREAD_SPIN): Likewise.
35197 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35198 (__PTHREAD_SPIN): Likewise.
35199 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35200 (__PTHREAD_SPIN): Likewise.
35201 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35202 (__PTHREAD_SPIN): Likewise.
35203 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35204 (__PTHREAD_SPIN): Likewise.
35205 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35206 (__PTHREAD_SPIN): Likewise.
35207 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35208 (__PTHREAD_SPIN): Likewise.
35209
35210 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35211 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35212 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35213 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35214 imply folder.
35215 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35216 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35217 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35218 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35219 correct imply path.
35220 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35221 strlen symbol for non multi-arch builds.
35222 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35223 missing hidden_def and weak_alias.
35224
35225 2014-04-08 Carlos O'Donell <carlos@redhat.com>
35226
35227 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35228
35229 2014-04-07 Will Newton <will.newton@linaro.org>
35230
35231 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35232 and contents. [!_LIBC] Remove #ifndef and contents.
35233 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
35234 * string/memccpy.c (__memccpy): Use ANSI prototype.
35235 * string/memfrob.c (memfrob): Likewise.
35236 * string/strcoll.c (STRCOLL): Likewise.
35237 * string/strlen.c (strlen): Likewise.
35238 * string/strtok.c (STRTOK): Likewise.
35239 * string/strcat.c: Remove unused #include of memcopy.h.
35240 (strcat): Use ANSI prototype.
35241 * string/strchr.c: Remove unused #include of memcopy.h.
35242 (strchr): Use ANSI prototype.
35243 * string/strcmp.c: Remove unused #include of memcopy.h.
35244 (strcmp): Use ANSI prototype.
35245 * string/strcpy.c: Remove unused #include of memcopy.h.
35246 (strcpy): Use ANSI prototype.
35247
35248 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35249
35250 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35251 * config.make.in (config-extra-cppflags): Set it from
35252 libc_extra_cppflags.
35253 * configure.ac (libc_extra_cflags): Make it accumulate over
35254 configure fragments.
35255 (libc_extra_cppflags): New flag.
35256 * configure. Regenerate.
35257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35258 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35259 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35261
35262 [BZ #16815]
35263 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35264 result for FE_DOWNWARD rounding mode.
35265 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35266 Likewise.
35267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35268
35269 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
35270
35271 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35272 in function argument name.
35273
35274 2014-04-03 David Svoboda <svoboda@cert.org>
35275
35276 [BZ #5666]
35277 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35278 explicitly.
35279
35280 2014-04-03 Roland McGrath <roland@hack.frob.com>
35281
35282 * elf/dl-unmap-segments.h: New file.
35283 * sysdeps/generic/ldsodefs.h
35284 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35285 * elf/dl-close.c: Include <dl-unmap-segments.h>.
35286 * elf/dl-fptr.c: Likewise.
35287 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35288 * sysdeps/aarch64/tlsdesc.c: Likewise.
35289 * sysdeps/arm/tlsdesc.c: Likewise.
35290 * sysdeps/i386/tlsdesc.c: Likewise.
35291 * sysdeps/tile/dl-runtime.c: Likewise.
35292 * sysdeps/x86_64/tlsdesc.c: Likewise.
35293 * elf/dl-load.h: New file.
35294 * elf/dl-load.c: Include it.
35295 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35296 Macros moved to dl-load.h.
35297 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35298 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35299 Use _dl_unmap_segments in place of __munmap.
35300 Break out segment-mapping loop into ...
35301 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35302
35303 2014-04-03 Will Newton <will.newton@linaro.org>
35304
35305 * elf/dl-lookup.c (do_lookup_x): Remove comment
35306 referring to nested function and move variable
35307 declarations down to before first use.
35308
35309 2014-04-02 Joseph Myers <joseph@codesourcery.com>
35310
35311 [BZ #16799]
35312 [BZ #16800]
35313 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35314 with 0 numerator.
35315 * math/s_catanf.c (__catanf): Likewise.
35316 * math/s_catanh.c (__catanh): Likewise.
35317 * math/s_catanhf.c (__catanhf): Likewise.
35318 * math/s_catanhl.c (__catanhl): Likewise.
35319 * math/s_catanl.c (__catanl): Likewise.
35320 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35321 by positive zero when computing -Inf result.
35322 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35323 (catanh_test): Likewise.
35324 * sysdeps/i386/fpu/libm-test-ulps: Update.
35325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35326
35327 [BZ #16789]
35328 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35329 instead of using underflowing value in computing result.
35330 * math/s_clog10.c (__clog10): Likewise.
35331 * math/s_clog10f.c (__clog10f): Likewise.
35332 * math/s_clog10l.c (__clog10l): Likewise.
35333 * math/s_clogf.c (__clogf): Likewise.
35334 * math/s_clogl.c (__clogl): Likewise.
35335 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35336 (clog10_test): Likewise.
35337 * sysdeps/i386/fpu/libm-test-ulps: Update.
35338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35339
35340 2014-04-02 Alan Modra <amodra@gmail.com>
35341
35342 [BZ #16739]
35343 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35344 output when value is near a power of two. Use int64_t for lx and
35345 remove casts. Use decimal rather than hex exponent constants.
35346 Don't use long double multiplication when double will suffice.
35347 * math/libm-test.inc (nextafter_test_data): Add tests.
35348 * NEWS: Add 16739 and 16786 to bug list.
35349
35350 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35351
35352 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35353
35354 2014-04-01 Will Newton <will.newton@linaro.org>
35355
35356 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35357 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
35358
35359 2014-04-01 Florian Weimer <fweimer@redhat.com>
35360
35361 [BZ #13347]
35362 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35363 * nptl/tst-setuid2.c: New file.
35364 * nptl/Makefile (xtests): Add tst-setuid2.
35365
35366 2014-04-01 Alan Modra <amodra@gmail.com>
35367
35368 [BZ #16786]
35369 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35370
35371 2014-03-31 Joseph Myers <joseph@codesourcery.com>
35372
35373 [BZ #6803]
35374 [BZ #6804]
35375 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35376 set errno as appropriate.
35377 * math/w_scalbf.c (__scalbf): Likewise.
35378 * math/w_scalbl.c (__scalbl): Likewise.
35379 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35380 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35381 * math/libm-test.inc (scalb_test_data): Add errno expectations.
35382 Add more NaN tests.
35383
35384 [BZ #16349]
35385 * math/w_atan2.c: Include <errno.h>.
35386 (__atan2): Set errno for result underflowing to zero.
35387 * math/w_atan2f.c: Include <errno.h>.
35388 (__atan2f): Set errno for result underflowing to zero.
35389 * math/w_atan2l.c: Include <errno.h>.
35390 (__atan2l): Set errno for result underflowing to zero.
35391 * math/auto-libm-test-in: Don't allow missing errno for some atan2
35392 tests.
35393 * math/auto-libm-test-out: Regenerated.
35394
35395 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35396
35397 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35398 Encode instruction correctly in little endian.
35399 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35400 Likewise.
35401 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35402 Likewise.
35403 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35404 Likewise.
35405 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35406 Likewise.
35407
35408 2014-03-31 Joseph Myers <joseph@codesourcery.com>
35409
35410 [BZ #9894]
35411 * sysdeps/unix/sysv/linux/kernel-features.h
35412 [__sparc__ && !__arch64__ && !__sparc_v9__]
35413 (__ASSUME_SET_ROBUST_LIST): Do not define.
35414 [__sparc__ && !__arch64__ && !__sparc_v9__]
35415 (__ASSUME_FUTEX_LOCK_PI): Likewise.
35416 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35417 Likewise.
35418 * sysdeps/unix/sysv/linux/arm/kernel-features.h
35419 (__ASSUME_FUTEX_LOCK_PI): Undefine.
35420 (__ASSUME_REQUEUE_PI): Likewise.
35421 (__ASSUME_SET_ROBUST_LIST): Likewise.
35422 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35423 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35424 Undefine.
35425 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35426 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35427 Likewise.
35428 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35429 Likewise.
35430 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35431 Likewise.
35432 * sysdeps/unix/sysv/linux/mips/kernel-features.h
35433 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35434 Undefine.
35435 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35436 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35437 Likewise.
35438
35439 [BZ #16648]
35440 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35441 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35442 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35443
35444 2014-03-31 Will Newton <will.newton@linaro.org>
35445
35446 * benchtests/Makefile (bench): Add ffs and ffsll to list
35447 of tests.
35448 * benchtests/ffs-inputs: New file.
35449 * benchtests/ffsll-inputs: Likewise.
35450
35451 2014-03-29 Joseph Myers <joseph@codesourcery.com>
35452
35453 [BZ #16770]
35454 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35455 too large before casting to int.
35456 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35457 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35458 * math/libm-test.inc (scalb_test_data): Add more tests.
35459
35460 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35461
35462 * benchtests/Makefile (DETAILED_OPT): New make option.
35463 (bench-func): Run benchmark program with -d if DETAILED_OPT is
35464 set.
35465 * benchtests/bench-skeleton.c: Include stdbool.h.
35466 (main): Store and print timings per input.
35467 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35468 member to each argument value.
35469 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35470 (_print_arg_data): Initialize per-input timing to 0.
35471
35472 * benchtests/Makefile (timing-type): New binary.
35473 (bench-clean): Also remove bench-timing-type.
35474 (bench): New target for timing-type.
35475 (bench-func): Print output in JSON format.
35476 * benchtests/bench-skeleton.c (main): Print output in JSON
35477 format.
35478 * benchtests/bench-timing-type.c: New file.
35479 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35480 (TIMING_PRINT_STATS): Remove.
35481 * benchtests/scripts/bench.py (_print_arg_data): Store variant
35482 name separately.
35483
35484 * benchtests/bench-modf.c: Remove.
35485 * benchtests/modf-inputs: New inputs file.
35486
35487 2014-03-28 Joseph Myers <joseph@codesourcery.com>
35488
35489 [BZ #16362]
35490 * math/s_clog10.c (M_PI_LOG10E): New macro.
35491 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35492 imaginary parts are 0.
35493 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35494 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35495 imaginary parts are 0.
35496 * math/s_clog10l.c (M_PI_LOG10El): New macro.
35497 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35498 imaginary parts are 0.
35499 * math/libm-test.inc (clog10_test_data): Update expected results
35500 for when real and imaginary parts are 0.
35501
35502 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35503
35504 * elf/dl-load.c: Finish conversion of __builtin_expect into
35505 __glibc_{un}likely.
35506
35507 2014-03-27 Joseph Myers <joseph@codesourcery.com>
35508
35509 [BZ #16348]
35510 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35511 1+x for argument with exponent below -67.
35512 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35513 Likewise.
35514 * math/auto-libm-test-in: Add more tests of exp.
35515 * math/auto-libm-test-out: Regenerated.
35516
35517 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35518
35519 [BZ #16759]
35520 * inet/getnetgrent_r.c (get_nonempty_val): New function.
35521 (nscd_getnetgrent): Use it.
35522
35523 [BZ #16760]
35524 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35525 of stpcpy.
35526
35527 2014-03-27 Andi Kleen <ak@linux.intel.com>
35528
35529 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35530 (lll_robust_lock, lll_cond_lock, lll_timedlock)
35531 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35532 (lll_robust_unlock): Remove out of line section. Use cfi
35533 intrinsics.
35534 (LLL_STUB_UNWIND_INFO*): Remove.
35535 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35536 (lll_robust_lock, lll_cond_lock, lll_timedlock)
35537 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35538 (lll_robust_unlock): Remove out of line section. Use cfi
35539 intrinsics.
35540 (LLL_STUB_UNWIND_INFO*): Remove.
35541
35542 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35543
35544 [BZ #16758]
35545 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35546 blank values.
35547
35548 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
35549
35550 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35551
35552 2014-03-26 Joseph Myers <joseph@codesourcery.com>
35553
35554 [BZ #16198]
35555 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35556 fnstenv.
35557 * math/test-fenv-preserve.c: New file.
35558 * math/Makefile (tests): Add test-fenv-preserve.
35559
35560 2014-03-26 Will Newton <will.newton@linaro.org>
35561
35562 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35563
35564 2014-03-25 Roland McGrath <roland@hack.frob.com>
35565
35566 * scripts/versionlist.awk: Partition the version sets and emit all
35567 GLIBC_* (sorted) before all others (sorted).
35568
35569 2014-03-25 Joseph Myers <joseph@codesourcery.com>
35570
35571 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35572 GLIBC_2.2.5 version.
35573
35574 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35575
35576 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35577 calls.
35578
35579 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35580 previous change.
35581
35582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35583
35584 2014-03-25 Andreas Schwab <schwab@suse.de>
35585
35586 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35587 label to be used after in6ailist is initialized.
35588
35589 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35590
35591 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35592 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35593
35594 2014-03-25 Joseph Myers <joseph@codesourcery.com>
35595
35596 [BZ #16357]
35597 [BZ #16599]
35598 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35599 min_plus_half.
35600 (fp_formats): Update initializers.
35601 (init_fp_formats): Initialize new field.
35602 (output_for_one_input_case): Allow underflow for results up to
35603 min_plus_half.
35604 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35605 * math/auto-libm-test-in: Don't mark some underflows from asin and
35606 atanh as spurious.
35607 * math/auto-libm-test-out: Regenerated.
35608 * sysdeps/i386/fpu/libm-test-ulps: Update.
35609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35610
35611 2014-03-25 Andreas Schwab <schwab@suse.de>
35612
35613 * libio/Makefile (tst-ftell-partial-wide-ENV)
35614 (tst-ftell-active-handler-ENV): Define.
35615
35616 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
35617
35618 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35619
35620 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
35621
35622 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35623
35624 2014-03-24 Joseph Myers <joseph@codesourcery.com>
35625
35626 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35627 * sysdeps/x86_64/fpu/multiarch/e_exp.c
35628 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35629
35630 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
35631
35632 [BZ #16634]
35633 * elf/dl-load.c (open_verify): Add mode parameter.
35634 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35635 (open_path): Change from boolean 'secure' to complete flag 'mode'
35636 (_dl_map_object): Adjust.
35637 * elf/Makefile (tests): Add tst-dlopen-aout.
35638 * elf/tst-dlopen-aout.c: New test.
35639
35640 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
35641
35642 [BZ #16714]
35643 * sysdeps/unix/sysv/linux/s390/bits/stat.h
35644 (struct stat): Rename member pad0 to __glibc_reserved0.
35645
35646 [BZ #16712]
35647 * sysdeps/s390/s390-32/bits/wordsize.h
35648 (__WORDSIZE32_SIZE_ULONG): New define.
35649 * sysdeps/s390/s390-64/bits/wordsize.h
35650 (__WORDSIZE32_SIZE_ULONG): Likewise.
35651 * sysdeps/generic/stdint.h (SIZE_MAX):
35652 Define as UL if __WORDSIZE32_SIZE_ULONG.
35653
35654 [BZ #16713]
35655 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35656 (__glibc_reserved0): New variable.
35657 (sa_flags): Change type to int.
35658
35659 * posix/Makefile (before-compile): Use += before-compile instead
35660 of a :=.
35661
35662 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35663 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35664
35665 2014-03-20 Andreas Schwab <schwab@suse.de>
35666
35667 [BZ #16743]
35668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35669 non-matching result from nscd.
35670
35671 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35672
35673 * scripts/bench.py: Moved to ...
35674 * benchtests/scripts/bench.py: ... here.
35675 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35676
35677 2014-03-24 Andreas Schwab <schwab@suse.de>
35678
35679 [BZ #16002]
35680 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35681 alloca_account and account alloca use for struct in6ailist.
35682
35683 2014-03-24 Joseph Myers <joseph@codesourcery.com>
35684
35685 [BZ #16284]
35686 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35687 rounding mode to recompute results that overflow to infinity or
35688 underflow to zero.
35689 * math/auto-libm-test-in: Don't mark tests as expected to fail for
35690 bug 16284.
35691 * math/auto-libm-test-out: Regenerated.
35692 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35693 (ccosh_test): Likewise.
35694 (csin_test_data): Use plus_oflow.
35695 (csin_test): Use ALL_RM_TEST.
35696 (csinh_test_data): Use plus_oflow.
35697 (csinh_test): Use ALL_RM_TEST.
35698 * sysdeps/i386/fpu/libm-test-ulps: Update.
35699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35700
35701 2014-03-21 Joseph Myers <joseph@codesourcery.com>
35702
35703 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35704 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35705 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35706
35707 [BZ #16731]
35708 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35709 when x - 1 is zero.
35710 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35711 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35712 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35713 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35714 argument is 1.
35715 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35716 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35717 zero.
35718 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35719 * sysdeps/i386/fpu/libm-test-ulps: Update.
35720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35721
35722 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35723
35724 * scripts/bench.pl: Remove file.
35725 * scripts/bench.py: New benchmark script.
35726 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35727 * benchtests/README: Mention python dependency.
35728 * scripts/pylintrc: New file.
35729 * scripts/pylint: New file.
35730
35731 * bits/mathdef.h: Use #ifdef instead of #if.
35732 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35733 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35734 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35735 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35736 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35737 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35738
35739 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35740 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35741
35742 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35744 and strpbrk-ppc64 objects.
35745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35746 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35747 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35748 multiarch strpbrk for POWER7.
35749 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35750 multiarch strpbrk for PPC64.
35751 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35752 ifunc selector.
35753 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35754 strpbrk for POWER7.
35755
35756 2014-03-20 Joseph Myers <joseph@codesourcery.com>
35757
35758 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35759 (atan_test): Likewise.
35760 (atanh_test_data): Use NO_TEST_INLINE for two tests.
35761 (atanh_test): Use ALL_RM_TEST.
35762 (atan2_test_data): Likewise.
35763 (cabs_test): Likewise.
35764 (cacosh_test): Likewise.
35765 (carg_test): Likewise.
35766 (casin_test): Likewise.
35767 (casinh_test): Likewise.
35768 (cbrt_test): Likewise.
35769 (csqrt_test): Likewise.
35770 (erf_test): Likewise.
35771 (erfc_test): Likewise.
35772 (pow10_test): Likewise.
35773 (exp2_test): Likewise.
35774 (hypot_test): Likewise.
35775 (j0_test): Likewise.
35776 (j1_test): Likewise.
35777 (lgamma_test): Likewise.
35778 (gamma_test): Likewise.
35779 (sincos_test): Likewise.
35780 (tanh_test): Likewise.
35781 (y0_test): Likewise.
35782 (y1_test): Likewise.
35783 * sysdeps/i386/fpu/libm-test-ulps: Update.
35784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35785
35786 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35787
35788 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35790 and strcspn-ppc64 objects.
35791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35792 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35793 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35794 multiarch strcspn for POWER7.
35795 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35796 multiarch strcspn for PPC64.
35797 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35798 ifunc selector.
35799 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35800 strcspn for POWER7.
35801
35802 2014-03-20 Joseph Myers <joseph@codesourcery.com>
35803
35804 * math/gen-libm-test.pl (generate_testfile): Expect only function
35805 name as argument to AUTO_TESTS_* and pass results for all rounding
35806 modes to parse_args.
35807 (parse_auto_input): Separate inputs of automatic tests from
35808 outputs before storing in %auto_tests.
35809 * math/libm-test.inc (acos_test_data): Update call to
35810 AUTO_TESTS_f_f.
35811 (acos_test): Use ALL_RM_TEST.
35812 (acos_tonearest_test_data): Remove.
35813 (acos_test_tonearest): Likewise.
35814 (acos_towardzero_test_data): Likewise.
35815 (acos_test_towardzero): Likewise.
35816 (acos_downward_test_data): Likewise.
35817 (acos_test_downward): Likewise.
35818 (acos_upward_test_data): Likewise.
35819 (acos_test_upward): Likewise.
35820 (acosh_test_data): Update call to AUTO_TESTS_f_f.
35821 (asin_test_data): Likewise.
35822 (asin_test): Use ALL_RM_TEST.
35823 (asin_tonearest_test_data): Remove.
35824 (asin_test_tonearest): Likewise.
35825 (asin_towardzero_test_data): Likewise.
35826 (asin_test_towardzero): Likewise.
35827 (asin_downward_test_data): Likewise.
35828 (asin_test_downward): Likewise.
35829 (asin_upward_test_data): Likewise.
35830 (asin_test_upward): Likewise.
35831 (asinh_test_data): Update call to AUTO_TESTS_f_f.
35832 (atan_test_data): Likewise.
35833 (atanh_test_data): Likewise.
35834 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35835 (cabs_test_data): Update call to AUTO_TESTS_c_f.
35836 (carg_test_data): Likewise.
35837 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35838 (ccos_test_data): Update call to AUTO_TESTS_c_c.
35839 (ccosh_test_data): Likewise.
35840 (cexp_test_data): Likewise.
35841 (clog_test_data): Likewise.
35842 (clog10_test_data): Likewise.
35843 (cos_test_data): Update call to AUTO_TESTS_f_f.
35844 (cos_test): Use ALL_RM_TEST.
35845 (cos_tonearest_test_data): Remove.
35846 (cos_test_tonearest): Likewise.
35847 (cos_towardzero_test_data): Likewise.
35848 (cos_test_towardzero): Likewise.
35849 (cos_downward_test_data): Likewise.
35850 (cos_test_downward): Likewise.
35851 (cos_upward_test_data): Likewise.
35852 (cos_test_upward): Likewise.
35853 (cosh_test_data): Update call to AUTO_TESTS_f_f.
35854 (cosh_test): Use ALL_RM_TEST.
35855 (cosh_tonearest_test_data): Remove.
35856 (cosh_test_tonearest): Likewise.
35857 (cosh_towardzero_test_data): Likewise.
35858 (cosh_test_towardzero): Likewise.
35859 (cosh_downward_test_data): Likewise.
35860 (cosh_test_downward): Likewise.
35861 (cosh_upward_test_data): Likewise.
35862 (cosh_test_upward): Likewise.
35863 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35864 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35865 (ctan_test_data): Likewise.
35866 (ctan_test): Use ALL_RM_TEST.
35867 (ctan_tonearest_test_data): Remove.
35868 (ctan_test_tonearest): Likewise.
35869 (ctan_towardzero_test_data): Likewise.
35870 (ctan_test_towardzero): Likewise.
35871 (ctan_downward_test_data): Likewise.
35872 (ctan_test_downward): Likewise.
35873 (ctan_upward_test_data): Likewise.
35874 (ctan_test_upward): Likewise.
35875 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35876 (ctanh_test): Use ALL_RM_TEST.
35877 (ctanh_tonearest_test_data): Remove.
35878 (ctanh_test_tonearest): Likewise.
35879 (ctanh_towardzero_test_data): Likewise.
35880 (ctanh_test_towardzero): Likewise.
35881 (ctanh_downward_test_data): Likewise.
35882 (ctanh_test_downward): Likewise.
35883 (ctanh_upward_test_data): Likewise.
35884 (ctanh_test_upward): Likewise.
35885 (erf_test_data): Update call to AUTO_TESTS_f_f.
35886 (erfc_test_data): Likewise.
35887 (exp_test_data): Likewise.
35888 (exp_test): Use ALL_RM_TEST.
35889 (exp_tonearest_test_data): Remove.
35890 (exp_test_tonearest): Likewise.
35891 (exp_towardzero_test_data): Likewise.
35892 (exp_test_towardzero): Likewise.
35893 (exp_downward_test_data): Likewise.
35894 (exp_test_downward): Likewise.
35895 (exp_upward_test_data): Likewise.
35896 (exp_test_upward): Likewise.
35897 (exp10_test_data): Update call to AUTO_TESTS_f_f.
35898 (exp10_test): Use ALL_RM_TEST.
35899 (exp10_tonearest_test_data): Remove.
35900 (exp10_test_tonearest): Likewise.
35901 (exp10_towardzero_test_data): Likewise.
35902 (exp10_test_towardzero): Likewise.
35903 (exp10_downward_test_data): Likewise.
35904 (exp10_test_downward): Likewise.
35905 (exp10_upward_test_data): Likewise.
35906 (exp10_test_upward): Likewise.
35907 (exp2_test_data): Update call to AUTO_TESTS_f_f.
35908 (expm1_test_data): Likewise.
35909 (expm1_test): Use ALL_RM_TEST.
35910 (expm1_tonearest_test_data): Remove.
35911 (expm1_test_tonearest): Likewise.
35912 (expm1_towardzero_test_data): Likewise.
35913 (expm1_test_towardzero): Likewise.
35914 (expm1_downward_test_data): Likewise.
35915 (expm1_test_downward): Likewise.
35916 (expm1_upward_test_data): Likewise.
35917 (expm1_test_upward): Likewise.
35918 (fma_test_data): Update call to AUTO_TESTS_fff_f.
35919 (fma_test): Use ALL_RM_TEST.
35920 (fma_towardzero_test_data): Remove.
35921 (fma_test_towardzero): Likewise.
35922 (fma_downward_test_data): Likewise.
35923 (fma_test_downward): Likewise.
35924 (fma_upward_test_data): Likewise.
35925 (fma_test_upward): Likewise.
35926 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35927 (j0_test_data): Update call to AUTO_TESTS_f_f.
35928 (j1_test_data): Likewise.
35929 (jn_test_data): Update call to AUTO_TESTS_if_f.
35930 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35931 (log_test_data): Update call to AUTO_TESTS_f_f.
35932 (log10_test_data): Likewise.
35933 (log1p_test_data): Likewise.
35934 (log2_test_data): Likewise.
35935 (pow_test_data): Update call to AUTO_TESTS_ff_f.
35936 (pow_tonearest_test_data): Likewise.
35937 (sin_test_data): Update call to AUTO_TESTS_f_f.
35938 (sin_test): Use ALL_RM_TEST.
35939 (sin_tonearest_test_data): Remove.
35940 (sin_test_tonearest): Likewise.
35941 (sin_towardzero_test_data): Likewise.
35942 (sin_test_towardzero): Likewise.
35943 (sin_downward_test_data): Likewise.
35944 (sin_test_downward): Likewise.
35945 (sin_upward_test_data): Likewise.
35946 (sin_test_upward): Likewise.
35947 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35948 (sinh_test_data): Update call to AUTO_TESTS_f_f.
35949 (sinh_test): Use ALL_RM_TEST.
35950 (sinh_tonearest_test_data): Remove.
35951 (sinh_test_tonearest): Likewise.
35952 (sinh_towardzero_test_data): Likewise.
35953 (sinh_test_towardzero): Likewise.
35954 (sinh_downward_test_data): Likewise.
35955 (sinh_test_downward): Likewise.
35956 (sinh_upward_test_data): Likewise.
35957 (sinh_test_upward): Likewise.
35958 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35959 (sqrt_test): Use ALL_RM_TEST.
35960 (sqrt_tonearest_test_data): Remove.
35961 (sqrt_test_tonearest): Likewise.
35962 (sqrt_towardzero_test_data): Likewise.
35963 (sqrt_test_towardzero): Likewise.
35964 (sqrt_downward_test_data): Likewise.
35965 (sqrt_test_downward): Likewise.
35966 (sqrt_upward_test_data): Likewise.
35967 (sqrt_test_upward): Likewise.
35968 (tan_test_data): Update call to AUTO_TESTS_f_f.
35969 (tan_test): Use ALL_RM_TEST.
35970 (tan_tonearest_test_data): Remove.
35971 (tan_test_tonearest): Likewise.
35972 (tan_towardzero_test_data): Likewise.
35973 (tan_test_towardzero): Likewise.
35974 (tan_downward_test_data): Likewise.
35975 (tan_test_downward): Likewise.
35976 (tan_upward_test_data): Likewise.
35977 (tan_test_upward): Likewise.
35978 (tanh_test_data): Update call to AUTO_TESTS_f_f.
35979 (tgamma_test_data): Likewise.
35980 (y0_test_data): Likewise.
35981 (y1_test_data): Likewise.
35982 (yn_test_data): Update call to AUTO_TESTS_if_f.
35983 (main): Do not call removed functions.
35984
35985 2014-03-19 Joseph Myers <joseph@codesourcery.com>
35986
35987 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35988 (ldexp_test_data): Remove.
35989 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
35990 scalbn_test_data.
35991 (scalb_test): Use ALL_RM_TEST.
35992
35993 2014-03-19 Andreas Schwab <schwab@suse.de>
35994
35995 * nscd/nscd.service: Also invalidate netgroup cache on reload.
35996
35997 2014-03-19 Joseph Myers <joseph@codesourcery.com>
35998
35999 [BZ #16649]
36000 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36001 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36002 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36003 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36004 (__ASSUME_PREADV): Undefine.
36005 (__ASSUME_PWRITEV): Likewise.
36006
36007 2014-03-18 Roland McGrath <roland@hack.frob.com>
36008
36009 * bits/mman-linux.h: Add comment about non-Linux use.
36010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36011 bits/mman-linux.h resting place.
36012
36013 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36014 * bits/mman-linux.h: ... here.
36015
36016 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36017
36018 * conform/conformtest.pl: Add standard definition when calling C
36019 preprocessor on data files.
36020 (checknamespace): Remove unused variable.
36021
36022 2014-03-18 Joseph Myers <joseph@codesourcery.com>
36023
36024 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36025 minus_oflow, plus_uflow and minus_uflow in expected results.
36026 * math/libm-test.inc (scalbn_test_data): Add more tests of
36027 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
36028 minus_uflow.
36029 (scalbn_test): Use ALL_RM_TEST.
36030 (scalbln_test_data): Add more tests of negative arguments. Use
36031 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36032 (scalbln_test): Use ALL_RM_TEST.
36033
36034 2014-03-18 Roland McGrath <roland@hack.frob.com>
36035
36036 * scripts/abilist.awk: Ignore symbols marked with .hidden.
36037
36038 2014-03-18 Will Newton <will.newton@linaro.org>
36039
36040 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36041 inaccurate comment.
36042
36043 2014-03-18 Joseph Myers <joseph@codesourcery.com>
36044
36045 * Makerules [!subdir] (check-abi): Exit with error status if a
36046 test failed.
36047
36048 2014-03-17 Joseph Myers <joseph@codesourcery.com>
36049
36050 * math/libm-test.inc (nearbyint_test_data): Include all tests used
36051 for rint. Include results for all rounding modes.
36052 (nearbyint_test): Use ALL_RM_TEST.
36053 (rint_test_data): Include all tests used for nearbyint.
36054
36055 2014-03-17 Will Newton <will.newton@linaro.org>
36056
36057 * nptl/sysdeps/pthread/pthread.h: Revert previous
36058 change.
36059
36060 * sysdeps/generic/ldsodefs.h: Revert previous
36061 change.
36062
36063 * libio/genops.c: Revert previous change.
36064 * libio/libioP.h: Likewise.
36065 * stdio-common/vfprintf.c: Likewise.
36066
36067 * sysdeps/generic/math_private.h: Revert previous
36068 change.
36069
36070 * sysdeps/generic/math_private.h: Check whether
36071 HAVE_RM_CTX is defined with #ifdef rather
36072 than #if.
36073
36074 * argp/argp-fmtstream.h: Check whether
36075 __STRICT_ANSI__ is defined with #ifdef rather
36076 than #if.
36077 * argp/argp.h: Likewise.
36078
36079 * libio/genops.c: Check whether
36080 _IO_JUMPS_OFFSET is defined with #ifdef rather
36081 than #if.
36082 * libio/libioP.h: Likewise.
36083 * stdio-common/vfprintf.c: Likewise.
36084
36085 * sysdeps/generic/ldsodefs.h: Check whether
36086 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36087 than #if.
36088
36089 * nptl/sysdeps/pthread/pthread.h: Check
36090 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36091 its value.
36092
36093 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36094
36095 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36096 setting O_APPEND.
36097 * libio/tst-ftell-active-handler.c (do_append_test): Add a
36098 test case.
36099
36100 [BZ #16680]
36101 * libio/fileops.c (_IO_file_open): Seek to end of file but
36102 don't cache the offset.
36103 (get_file_offset): Remove function.
36104 (do_ftell): Use cached offset when available.
36105 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36106 don't cache the offset.
36107 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36108 case.
36109 (do_one_test): Call it.
36110 (do_ftell_test): Fix up expected old offset for a+ mode.
36111 * libio/wfileops.c (do_ftell_wide): Used cached offset when
36112 available.
36113
36114 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36115 up test status with function return status.
36116 (do_write_test): Likewise.
36117 (do_append_test): Likewise.
36118
36119 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36120 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36121 Remove.
36122
36123 2014-03-17 Joseph Myers <joseph@codesourcery.com>
36124
36125 * math/gen-libm-test.pl (parse_args): Handle results specified for
36126 each rounding mode separately.
36127 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36128 tests and results from lrint_tonearest_test_data,
36129 lrint_towardzero_test_data, lrint_downward_test_data and
36130 lrint_upward_test_data.
36131 (lrint_test): Use ALL_RM_TEST.
36132 (lrint_tonearest_test_data): Remove.
36133 (lrint_test_tonearest): Likewise.
36134 (lrint_towardzero_test_data): Likewise.
36135 (lrint_test_towardzero): Likewise.
36136 (lrint_downward_test_data): Likewise.
36137 (lrint_test_downward): Likewise.
36138 (lrint_upward_test_data): Likewise.
36139 (lrint_test_upward): Likewise.
36140 (llrint_test_data): Merge in per-rounding-mode tests and results
36141 from llrint_tonearest_test_data, llrint_towardzero_test_data,
36142 llrint_downward_test_data and llrint_upward_test_data.
36143 (llrint_test): Use ALL_RM_TEST.
36144 (llrint_tonearest_test_data): Remove.
36145 (llrint_test_tonearest): Likewise.
36146 (llrint_towardzero_test_data): Likewise.
36147 (llrint_test_towardzero): Likewise.
36148 (llrint_downward_test_data): Likewise.
36149 (llrint_test_downward): Likewise.
36150 (llrint_upward_test_data): Likewise.
36151 (llrint_test_upward): Likewise.
36152 (rint_test_data): Merge in per-rounding-mode tests and results
36153 from rint_tonearest_test_data, rint_towardzero_test_data,
36154 rint_downward_test_data and rint_upward_test_data. Add
36155 per-rounding-mode results for tests not in those arrays.
36156 (rint_test): Use ALL_RM_TEST.
36157 (rint_tonearest_test_data): Remove.
36158 (rint_test_tonearest): Likewise.
36159 (rint_towardzero_test_data): Likewise.
36160 (rint_test_towardzero): Likewise.
36161 (rint_downward_test_data): Likewise.
36162 (rint_test_downward): Likewise.
36163 (rint_upward_test_data): Likewise.
36164 (rint_test_upward): Likewise.
36165 (main): Don't call removed functions.
36166
36167 2014-03-14 Roland McGrath <roland@hack.frob.com>
36168
36169 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36170 "Compiled on ..." crapola. It is anti-useful.
36171
36172 2014-03-14 Joseph Myers <joseph@codesourcery.com>
36173
36174 * scripts/evaluate-test.sh: Handle fourth argument to determine
36175 whether test run should stop on failure.
36176 * Makeconfig (stop-on-test-failure): New variable.
36177 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36178 $(stop-on-test-failure).
36179 * Makefile (tests): Give a summary of results from testing and
36180 exit with failure status if they include an ERROR or FAIL.
36181 (xtests): Likewise.
36182 * manual/install.texi (Configuring and compiling): Mention
36183 stop-on-test-failure=y.
36184 * INSTALL: Regenerated.
36185
36186 2014-03-14 Roland McGrath <roland@hack.frob.com>
36187
36188 * scripts/versionlist.awk: New file.
36189 * Makerules [$(build-shared) = yes]
36190 (postclean-generated): Add Versions.def, not Versions.def.v and
36191 Versions.def.v.i.
36192 ($(common-objpfx)Versions.def.v.i): Target removed.
36193 ($(common-objpfx)Versions.def): New target.
36194 ($(common-objpfx)Versions.all): Depend on that rather that
36195 $(common-objpfx)Versions.def.v.
36196 * Versions.def: File removed.
36197
36198 * Makeconfig (+gccwarn): Add -Wundef.
36199 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36200 a dl-sysdep.h breaking its contract.
36201 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36202 * include/stackinfo.h: New file.
36203 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36204 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36205 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36206 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36207 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36208 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36209 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36210 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36211 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36212 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36213 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36214 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36215 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36216 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36217 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36218
36219 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36220
36221 [BZ #16707]
36222 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36223 implementation.
36224 * math/libm-test.inc (round_test_data): Add more tests.
36225
36226 [BZ #16706]
36227 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36228 implementation.
36229 * math/libm-test.inc (nearbyint_test_data): Add more tests.
36230
36231 [BZ #16701]
36232 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36233 implementation.
36234 * math/libm-test.inc (ceil_test_data): Add more tests.
36235
36236 * math/libm-test.inc (trunc_test_data): Add more tests related to
36237 BZ#16414.
36238
36239 2014-03-14 Roland McGrath <roland@hack.frob.com>
36240
36241 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36242 with #if rather than #ifdef.
36243 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36244
36245 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
36246
36247 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36248 first. Disable AVX-512 GCC support if assembler doesn't support
36249 it.
36250 * sysdeps/x86_64/configure: Regenerated.
36251
36252 2014-03-13 Carlos O'Donell <carlos@redhat.com>
36253
36254 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36255 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36256 (__old_pthread_attr_setstack): Likewise.
36257 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36258 [!_STACK_GROWS_DOWN]: Likewise.
36259
36260 2014-03-13 Mike Frysinger <vapier@gentoo.org>
36261
36262 * config.make.in (have-bash2): Delete.
36263 * configure.ac (libc_cv_have_bash2): Delete.
36264 * configure: Regenerate.
36265 * elf/Makefile (common-ldd-rewrite): Rename to ...
36266 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
36267 (sh-ldd-rewrite): Delete.
36268 (bash-ldd-rewrite): Delete.
36269 (have-bash2): Delete checks.
36270 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36271 ldd-rewrite.
36272
36273 * config.make.in (have-ksh): Delete.
36274 (KSH): Delete.
36275 * configure.ac (libc_cv_have_ksh): Delete.
36276 * configure: Regenerate.
36277
36278 * elf/Makefile: Delete $(have-ksh) check.
36279 ($(objpfx)sotruss): Change KSH to BASH.
36280 * elf/sotruss.ksh: Rename to ...
36281 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
36282 function style to match POSIX. Drop ksh vim mode setting.
36283
36284 * manual/time.texi (Specifying the Time Zone with TZ): Change
36285 Tuesday to Thursday.
36286
36287 * debug/tst-longjmp_chk2.c: Update header comment.
36288 (stackoverflow_handler): Add comment. Call assert on pass value.
36289
36290 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
36291
36292 [BZ #16194]
36293 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36294 (HAVE_AVX512_ASM_SUPPORT): Likewise.
36295 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36296 (La_x86_64_vector): Add zmm.
36297 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36298 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36299 ($(objpfx)tst-audit10): New target.
36300 ($(objpfx)tst-audit10.out): Likewise.
36301 (tst-audit10-ENV): New.
36302 (AVX512-CFLAGS): Likewise.
36303 (CFLAGS-tst-audit10.c): Likewise.
36304 (CFLAGS-tst-auditmod10a.c): Likewise.
36305 (CFLAGS-tst-auditmod10b.c): Likewise.
36306 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36307 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36308 * sysdeps/x86_64/configure: Regenerated.
36309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36310 AVX-512 zmm register support.
36311 (_dl_x86_64_save_sse): Likewise.
36312 (_dl_x86_64_restore_sse): Likewise.
36313 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36314 size vector registers.
36315 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36316 (ZMM_SIZE): Likewise.
36317 * sysdeps/x86_64/tst-audit10.c: New file.
36318 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36319 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36320
36321 2014-03-13 Roland McGrath <roland@hack.frob.com>
36322
36323 * configure.ac (HAVE_EHDR_START): New check.
36324 * configure: Regenerated.
36325 * config.h.in (HAVE_EHDR_START): New #undef.
36326 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36327 assuming the lowest-addressed segment maps the start of the file.
36328
36329 2014-03-13 Joseph Myers <joseph@codesourcery.com>
36330
36331 * INSTALL: Regenerated.
36332
36333 2014-03-13 Will Newton <will.newton@linaro.org>
36334
36335 * manual/setjmp.texi (System V contexts): Improve
36336 clarity and grammar of documentation.
36337
36338 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
36339
36340 [BZ #16381]
36341 * elf/Makefile (tests): Add tst-pie2.
36342 (tests-pie): Add tst-pie2.
36343 * elf/tst-pie2.c: New file.
36344 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36345 for ET_EXEC.
36346 * elf/rtld.c (map_doit): Load executable as lt_executable.
36347 (dl_main): Likewise.
36348
36349 2014-03-12 Joseph Myers <joseph@codesourcery.com>
36350
36351 [BZ #16642]
36352 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36353 (__ASSUME_PSELECT): Undefine.
36354
36355 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36356
36357 [BZ #16689]
36358 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36359 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36360 static build.
36361 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36362 selector for static builds.
36363
36364 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36365
36366 [BZ #16695]
36367 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36368 key in the buffer.
36369
36370 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36371
36372 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36373 IFUNC selector for static builds.
36374
36375 2014-03-11 Joseph Myers <joseph@codesourcery.com>
36376
36377 * sysdeps/mips/math_private.h [__mips_hard_float]
36378 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36379 libc_feresetround_mips_ctx.
36380 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36381 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36382 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36383
36384 [BZ #16677]
36385 * math/s_nextafter.c (__nextafter): Do not return value from
36386 overflowing computation.
36387 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36388 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36389 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36390 Likewise.
36391 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36392 Likewise.
36393 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36394 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36395
36396 2014-03-11 Roland McGrath <roland@hack.frob.com>
36397
36398 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36399 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36400 Move sfi_sp use from the load-multiple (that no longer sets sp) to
36401 the new mov targetting sp.
36402
36403 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36404
36405 [BZ #16683]
36406 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36407 Define it for static builds as well.
36408 (NO_BZERO_IMPL): Likewise.
36409
36410 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36411
36412 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36413 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36414 multiarch strspn for PPC64.
36415 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36416 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36418 (__libc_ifunc_impl_list): Likewise.
36419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36420 multiarch optimizations
36421 * string/strspn.c (strspn): Using macro to redefine symbol name.
36422
36423 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36424 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36425
36426 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36427 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36428 multiarch strncat for PPC64.
36429 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36430 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36432 (__libc_ifunc_impl_list): Likewise.
36433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36434 multiarch optimizations
36435
36436 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36437
36438 [BZ #16639]
36439 * nscd/nscd.service: Make service type forking.
36440
36441 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36442
36443 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36444 sign in non default rounding modes.
36445 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36446
36447 2014-03-08 Joseph Myers <joseph@codesourcery.com>
36448
36449 * math/libm-test.inc (ALL_RM_TEST): New macro.
36450 (ceil_test): Use ALL_RM_TEST.
36451 (cimag_test): Likewise.
36452 (conj_test): Likewise.
36453 (copysign_test): Likewise.
36454 (cproj_test): Likewise.
36455 (creal_test): Likewise.
36456 (fabs_test): Likewise.
36457 (floor_test): Likewise.
36458 (fmax_test): Likewise.
36459 (fmin_test): Likewise.
36460 (fmod_test): Likewise.
36461 (fpclassify_test): Likewise.
36462 (frexp_test): Likewise.
36463 (ilogb_test): Likewise.
36464 (isfinite_test): Likewise.
36465 (finite_test): Likewise.
36466 (isgreater_test): Likewise.
36467 (isgreaterequal_test): Likewise.
36468 (isinf_test): Likewise.
36469 (isless_test): Likewise.
36470 (islessequal_test): Likewise.
36471 (islessgreater_test): Likewise.
36472 (isnan_test): Likewise.
36473 (isnormal_test): Likewise.
36474 (issignaling_test): Likewise.
36475 (isunordered_test): Likewise.
36476 (logb_test): Likewise.
36477 (logb_downward_test_data): Remove.
36478 (logb_test_downward): Likewise.
36479 (lround_test): Use ALL_RM_TEST.
36480 (llround_test): Likewise.
36481 (modf_test): Likewise.
36482 (nexttoward_test): Likewise.
36483 (remainder_test): Likewise.
36484 (drem_test): Likewise.
36485 (remainder_tonearest_test_data): Likewise.
36486 (remainder_test_tonearest): Likewise.
36487 (drem_test_tonearest): Likewise.
36488 (remainder_towardzero_test_data): Likewise.
36489 (remainder_test_towardzero): Likewise.
36490 (drem_test_towardzero): Likewise.
36491 (remainder_downward_test_data): Likewise.
36492 (remainder_test_downward): Likewise.
36493 (drem_test_downward): Likewise.
36494 (remainder_upward_test_data): Likewise.
36495 (remainder_test_upward): Likewise.
36496 (drem_test_upward): Likewise.
36497 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
36498 (round_test): Use ALL_RM_TEST.
36499 (signbit_test): Likewise.
36500 (trunc_test): Likewise.
36501 (significand_test): Likewise.
36502 (main): Don't call removed functions.
36503
36504 2014-03-07 Joseph Myers <joseph@codesourcery.com>
36505
36506 [BZ #16674]
36507 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36508 || __USE_XOPEN2K8].
36509 (ILL_ILLOPN): Likewise.
36510 (ILL_ILLADR): Likewise.
36511 (ILL_ILLTRP): Likewise.
36512 (ILL_PRVOPC): Likewise.
36513 (ILL_PRVREG): Likewise.
36514 (ILL_COPROC): Likewise.
36515 (ILL_BADSTK): Likewise.
36516 (FPE_INTDIV): Likewise.
36517 (FPE_INTOVF): Likewise.
36518 (FPE_FLTDIV): Likewise.
36519 (FPE_FLTOVF): Likewise.
36520 (FPE_FLTUND): Likewise.
36521 (FPE_FLTRES): Likewise.
36522 (FPE_FLTINV): Likewise.
36523 (FPE_FLTSUB): Likewise.
36524 (SEGV_MAPERR): Likewise.
36525 (SEGV_ACCERR): Likewise.
36526 (BUS_ADRALN): Likewise.
36527 (BUS_ADRERR): Likewise.
36528 (BUS_OBJERR): Likewise.
36529 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36530 (TRAP_TRACE): Likewise.
36531 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36532 __USE_XOPEN2K8].
36533 (CLD_KILLED): Likewise.
36534 (CLD_DUMPED): Likewise.
36535 (CLD_TRAPPED): Likewise.
36536 (CLD_STOPPED): Likewise.
36537 (CLD_CONTINUED): Likewise.
36538 (POLL_IN): Likewise.
36539 (POLL_OUT): Likewise.
36540 (POLL_MSG): Likewise.
36541 (POLL_ERR): Likewise.
36542 (POLL_PRI): Likewise.
36543 (POLL_HUP): Likewise.
36544 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36545 Likewise.
36546 (ILL_ILLOPN): Likewise.
36547 (ILL_ILLADR): Likewise.
36548 (ILL_ILLTRP): Likewise.
36549 (ILL_PRVOPC): Likewise.
36550 (ILL_PRVREG): Likewise.
36551 (ILL_COPROC): Likewise.
36552 (ILL_BADSTK): Likewise.
36553 (FPE_INTDIV): Likewise.
36554 (FPE_INTOVF): Likewise.
36555 (FPE_FLTDIV): Likewise.
36556 (FPE_FLTOVF): Likewise.
36557 (FPE_FLTUND): Likewise.
36558 (FPE_FLTRES): Likewise.
36559 (FPE_FLTINV): Likewise.
36560 (FPE_FLTSUB): Likewise.
36561 (SEGV_MAPERR): Likewise.
36562 (SEGV_ACCERR): Likewise.
36563 (BUS_ADRALN): Likewise.
36564 (BUS_ADRERR): Likewise.
36565 (BUS_OBJERR): Likewise.
36566 (BUS_MCEERR_AR): Likewise.
36567 (BUS_MCEERR_AO): Likewise.
36568 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36569 (TRAP_TRACE): Likewise.
36570 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36571 __USE_XOPEN2K8].
36572 (CLD_KILLED): Likewise.
36573 (CLD_DUMPED): Likewise.
36574 (CLD_TRAPPED): Likewise.
36575 (CLD_STOPPED): Likewise.
36576 (CLD_CONTINUED): Likewise.
36577 (POLL_IN): Likewise.
36578 (POLL_OUT): Likewise.
36579 (POLL_MSG): Likewise.
36580 (POLL_ERR): Likewise.
36581 (POLL_PRI): Likewise.
36582 (POLL_HUP): Likewise.
36583 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36584 (ILL_ILLOPN): Likewise.
36585 (ILL_ILLADR): Likewise.
36586 (ILL_ILLTRP): Likewise.
36587 (ILL_PRVOPC): Likewise.
36588 (ILL_PRVREG): Likewise.
36589 (ILL_COPROC): Likewise.
36590 (ILL_BADSTK): Likewise.
36591 (FPE_INTDIV): Likewise.
36592 (FPE_INTOVF): Likewise.
36593 (FPE_FLTDIV): Likewise.
36594 (FPE_FLTOVF): Likewise.
36595 (FPE_FLTUND): Likewise.
36596 (FPE_FLTRES): Likewise.
36597 (FPE_FLTINV): Likewise.
36598 (FPE_FLTSUB): Likewise.
36599 (SEGV_MAPERR): Likewise.
36600 (SEGV_ACCERR): Likewise.
36601 (BUS_ADRALN): Likewise.
36602 (BUS_ADRERR): Likewise.
36603 (BUS_OBJERR): Likewise.
36604 (BUS_MCEERR_AR): Likewise.
36605 (BUS_MCEERR_AO): Likewise.
36606 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36607 (TRAP_TRACE): Likewise.
36608 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36609 __USE_XOPEN2K8].
36610 (CLD_KILLED): Likewise.
36611 (CLD_DUMPED): Likewise.
36612 (CLD_TRAPPED): Likewise.
36613 (CLD_STOPPED): Likewise.
36614 (CLD_CONTINUED): Likewise.
36615 (POLL_IN): Likewise.
36616 (POLL_OUT): Likewise.
36617 (POLL_MSG): Likewise.
36618 (POLL_ERR): Likewise.
36619 (POLL_PRI): Likewise.
36620 (POLL_HUP): Likewise.
36621 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36622 Likewise.
36623 (ILL_ILLOPN): Likewise.
36624 (ILL_ILLADR): Likewise.
36625 (ILL_ILLTRP): Likewise.
36626 (ILL_PRVOPC): Likewise.
36627 (ILL_PRVREG): Likewise.
36628 (ILL_COPROC): Likewise.
36629 (ILL_BADSTK): Likewise.
36630 (ILL_BADIADDR): Likewise.
36631 (ILL_BREAK): Likewise.
36632 (FPE_INTDIV): Likewise.
36633 (FPE_INTOVF): Likewise.
36634 (FPE_FLTDIV): Likewise.
36635 (FPE_FLTOVF): Likewise.
36636 (FPE_FLTUND): Likewise.
36637 (FPE_FLTRES): Likewise.
36638 (FPE_FLTINV): Likewise.
36639 (FPE_FLTSUB): Likewise.
36640 (FPE_DECOVF): Likewise.
36641 (FPE_DECDIV): Likewise.
36642 (FPE_DECERR): Likewise.
36643 (FPE_INVASC): Likewise.
36644 (FPE_INVDEC): Likewise.
36645 (SEGV_MAPERR): Likewise.
36646 (SEGV_ACCERR): Likewise.
36647 (SEGV_PSTKOVF): Likewise.
36648 (BUS_ADRALN): Likewise.
36649 (BUS_ADRERR): Likewise.
36650 (BUS_OBJERR): Likewise.
36651 (BUS_MCEERR_AR): Likewise.
36652 (BUS_MCEERR_AO): Likewise.
36653 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36654 (TRAP_TRACE): Likewise.
36655 (TRAP_BRANCH): Likewise.
36656 (TRAP_HWBKPT): Likewise.
36657 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36658 __USE_XOPEN2K8].
36659 (CLD_KILLED): Likewise.
36660 (CLD_DUMPED): Likewise.
36661 (CLD_TRAPPED): Likewise.
36662 (CLD_STOPPED): Likewise.
36663 (CLD_CONTINUED): Likewise.
36664 (POLL_IN): Likewise.
36665 (POLL_OUT): Likewise.
36666 (POLL_MSG): Likewise.
36667 (POLL_ERR): Likewise.
36668 (POLL_PRI): Likewise.
36669 (POLL_HUP): Likewise.
36670 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36671 (ILL_ILLOPN): Likewise.
36672 (ILL_ILLADR): Likewise.
36673 (ILL_ILLTRP): Likewise.
36674 (ILL_PRVOPC): Likewise.
36675 (ILL_PRVREG): Likewise.
36676 (ILL_COPROC): Likewise.
36677 (ILL_BADSTK): Likewise.
36678 (FPE_INTDIV): Likewise.
36679 (FPE_INTOVF): Likewise.
36680 (FPE_FLTDIV): Likewise.
36681 (FPE_FLTOVF): Likewise.
36682 (FPE_FLTUND): Likewise.
36683 (FPE_FLTRES): Likewise.
36684 (FPE_FLTINV): Likewise.
36685 (FPE_FLTSUB): Likewise.
36686 (SEGV_MAPERR): Likewise.
36687 (SEGV_ACCERR): Likewise.
36688 (BUS_ADRALN): Likewise.
36689 (BUS_ADRERR): Likewise.
36690 (BUS_OBJERR): Likewise.
36691 (BUS_MCEERR_AR): Likewise.
36692 (BUS_MCEERR_AO): Likewise.
36693 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36694 (TRAP_TRACE): Likewise.
36695 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36696 __USE_XOPEN2K8].
36697 (CLD_KILLED): Likewise.
36698 (CLD_DUMPED): Likewise.
36699 (CLD_TRAPPED): Likewise.
36700 (CLD_STOPPED): Likewise.
36701 (CLD_CONTINUED): Likewise.
36702 (POLL_IN): Likewise.
36703 (POLL_OUT): Likewise.
36704 (POLL_MSG): Likewise.
36705 (POLL_ERR): Likewise.
36706 (POLL_PRI): Likewise.
36707 (POLL_HUP): Likewise.
36708 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36709 (ILL_ILLOPN): Likewise.
36710 (ILL_ILLADR): Likewise.
36711 (ILL_ILLTRP): Likewise.
36712 (ILL_PRVOPC): Likewise.
36713 (ILL_PRVREG): Likewise.
36714 (ILL_COPROC): Likewise.
36715 (ILL_BADSTK): Likewise.
36716 (FPE_INTDIV): Likewise.
36717 (FPE_INTOVF): Likewise.
36718 (FPE_FLTDIV): Likewise.
36719 (FPE_FLTOVF): Likewise.
36720 (FPE_FLTUND): Likewise.
36721 (FPE_FLTRES): Likewise.
36722 (FPE_FLTINV): Likewise.
36723 (FPE_FLTSUB): Likewise.
36724 (SEGV_MAPERR): Likewise.
36725 (SEGV_ACCERR): Likewise.
36726 (BUS_ADRALN): Likewise.
36727 (BUS_ADRERR): Likewise.
36728 (BUS_OBJERR): Likewise.
36729 (BUS_MCEERR_AR): Likewise.
36730 (BUS_MCEERR_AO): Likewise.
36731 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36732 (TRAP_TRACE): Likewise.
36733 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36734 __USE_XOPEN2K8].
36735 (CLD_KILLED): Likewise.
36736 (CLD_DUMPED): Likewise.
36737 (CLD_TRAPPED): Likewise.
36738 (CLD_STOPPED): Likewise.
36739 (CLD_CONTINUED): Likewise.
36740 (POLL_IN): Likewise.
36741 (POLL_OUT): Likewise.
36742 (POLL_MSG): Likewise.
36743 (POLL_ERR): Likewise.
36744 (POLL_PRI): Likewise.
36745 (POLL_HUP): Likewise.
36746 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36747 (ILL_ILLOPN): Likewise.
36748 (ILL_ILLADR): Likewise.
36749 (ILL_ILLTRP): Likewise.
36750 (ILL_PRVOPC): Likewise.
36751 (ILL_PRVREG): Likewise.
36752 (ILL_COPROC): Likewise.
36753 (ILL_BADSTK): Likewise.
36754 (FPE_INTDIV): Likewise.
36755 (FPE_INTOVF): Likewise.
36756 (FPE_FLTDIV): Likewise.
36757 (FPE_FLTOVF): Likewise.
36758 (FPE_FLTUND): Likewise.
36759 (FPE_FLTRES): Likewise.
36760 (FPE_FLTINV): Likewise.
36761 (FPE_FLTSUB): Likewise.
36762 (SEGV_MAPERR): Likewise.
36763 (SEGV_ACCERR): Likewise.
36764 (BUS_ADRALN): Likewise.
36765 (BUS_ADRERR): Likewise.
36766 (BUS_OBJERR): Likewise.
36767 (BUS_MCEERR_AR): Likewise.
36768 (BUS_MCEERR_AO): Likewise.
36769 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36770 (TRAP_TRACE): Likewise.
36771 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36772 __USE_XOPEN2K8].
36773 (CLD_KILLED): Likewise.
36774 (CLD_DUMPED): Likewise.
36775 (CLD_TRAPPED): Likewise.
36776 (CLD_STOPPED): Likewise.
36777 (CLD_CONTINUED): Likewise.
36778 (POLL_IN): Likewise.
36779 (POLL_OUT): Likewise.
36780 (POLL_MSG): Likewise.
36781 (POLL_ERR): Likewise.
36782 (POLL_PRI): Likewise.
36783 (POLL_HUP): Likewise.
36784 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36785 (ILL_ILLOPN): Likewise.
36786 (ILL_ILLADR): Likewise.
36787 (ILL_ILLTRP): Likewise.
36788 (ILL_PRVOPC): Likewise.
36789 (ILL_PRVREG): Likewise.
36790 (ILL_COPROC): Likewise.
36791 (ILL_BADSTK): Likewise.
36792 (ILL_DBLFLT): Likewise.
36793 (ILL_HARDWALL): Likewise.
36794 (FPE_INTDIV): Likewise.
36795 (FPE_INTOVF): Likewise.
36796 (FPE_FLTDIV): Likewise.
36797 (FPE_FLTOVF): Likewise.
36798 (FPE_FLTUND): Likewise.
36799 (FPE_FLTRES): Likewise.
36800 (FPE_FLTINV): Likewise.
36801 (FPE_FLTSUB): Likewise.
36802 (SEGV_MAPERR): Likewise.
36803 (SEGV_ACCERR): Likewise.
36804 (BUS_ADRALN): Likewise.
36805 (BUS_ADRERR): Likewise.
36806 (BUS_OBJERR): Likewise.
36807 (BUS_MCEERR_AR): Likewise.
36808 (BUS_MCEERR_AO): Likewise.
36809 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36810 (TRAP_TRACE): Likewise.
36811 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36812 __USE_XOPEN2K8].
36813 (CLD_KILLED): Likewise.
36814 (CLD_DUMPED): Likewise.
36815 (CLD_TRAPPED): Likewise.
36816 (CLD_STOPPED): Likewise.
36817 (CLD_CONTINUED): Likewise.
36818 (POLL_IN): Likewise.
36819 (POLL_OUT): Likewise.
36820 (POLL_MSG): Likewise.
36821 (POLL_ERR): Likewise.
36822 (POLL_PRI): Likewise.
36823 (POLL_HUP): Likewise.
36824 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36825 (ILL_ILLOPN): Likewise.
36826 (ILL_ILLADR): Likewise.
36827 (ILL_ILLTRP): Likewise.
36828 (ILL_PRVOPC): Likewise.
36829 (ILL_PRVREG): Likewise.
36830 (ILL_COPROC): Likewise.
36831 (ILL_BADSTK): Likewise.
36832 (FPE_INTDIV): Likewise.
36833 (FPE_INTOVF): Likewise.
36834 (FPE_FLTDIV): Likewise.
36835 (FPE_FLTOVF): Likewise.
36836 (FPE_FLTUND): Likewise.
36837 (FPE_FLTRES): Likewise.
36838 (FPE_FLTINV): Likewise.
36839 (FPE_FLTSUB): Likewise.
36840 (SEGV_MAPERR): Likewise.
36841 (SEGV_ACCERR): Likewise.
36842 (BUS_ADRALN): Likewise.
36843 (BUS_ADRERR): Likewise.
36844 (BUS_OBJERR): Likewise.
36845 (BUS_MCEERR_AR): Likewise.
36846 (BUS_MCEERR_AO): Likewise.
36847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36848 (TRAP_TRACE): Likewise.
36849 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36850 __USE_XOPEN2K8].
36851 (CLD_KILLED): Likewise.
36852 (CLD_DUMPED): Likewise.
36853 (CLD_TRAPPED): Likewise.
36854 (CLD_STOPPED): Likewise.
36855 (CLD_CONTINUED): Likewise.
36856 (POLL_IN): Likewise.
36857 (POLL_OUT): Likewise.
36858 (POLL_MSG): Likewise.
36859 (POLL_ERR): Likewise.
36860 (POLL_PRI): Likewise.
36861 (POLL_HUP): Likewise.
36862 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36863 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36864
36865 [BZ #16670]
36866 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36867 before #include of <time.h>.
36868 [!__USE_XOPEN2K] (__need_timespec): Likewise.
36869 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36870 (test-xfail-UNIX98/sched.h/conform): Likewise.
36871
36872 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
36873
36874 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36875 error absence of trapping exception support.
36876 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36877
36878 2014-03-07 Joseph Myers <joseph@codesourcery.com>
36879
36880 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36881 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36882 * timezone/Makefile (testdata): Move definition above include of
36883 Rules.
36884 (test-zones): New variable.
36885 (tests-special): Add zone files.
36886 (build-testdata): Use $(evaluate-test).
36887
36888 * elf/Makefile (tests-special): Rename tests to end with .out.
36889 ($(objpfx)noload-mem): Likewise.
36890 ($(objpfx)tst-leaks1-mem): Likewise.
36891 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36892 * iconv/Makefile (xtests-special): Change test-iconvconfig to
36893 $(objpfx)test-iconvconfig.out.
36894 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
36895 set -e inside subshell and redirect output to file.
36896 * iconvdata/Makefile (generated): Rename tests to end with .out.
36897 Correct type.
36898 (tests-special): Rename tests to end with .out.
36899 ($(objpfx)mtrace-tst-loading): Likewise.
36900 * intl/Makefile (generated): Likewise.
36901 (tests-special): Likewise.
36902 ($(objpfx)mtrace-tst-gettext): Likewise.
36903 * misc/Makefile (generated): Likewise.
36904 (tests-special): Likewise.
36905 ($(objpfx)tst-error1-mem): Likewise.
36906 * nptl/Makefile (tests-special): Likewise.
36907 ($(objpfx)tst-stack3-mem): Likewise.
36908 (generated): Likewise.
36909 * posix/Makefile (generated): Likewise.
36910 (tests-special): Likewise.
36911 (xtests-special): Likewise.
36912 ($(objpfx)tst-fnmatch-mem): Likewise.
36913 ($(objpfx)bug-regex2-mem): Likewise.
36914 ($(objpfx)bug-regex14-mem): Likewise.
36915 ($(objpfx)bug-regex21-mem): Likewise.
36916 ($(objpfx)bug-regex31-mem): Likewise.
36917 ($(objpfx)tst-vfork3-mem): Likewise.
36918 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36919 ($(objpfx)tst-pcre-mem): Likewise.
36920 ($(objpfx)tst-boost-mem): Likewise.
36921 ($(objpfx)bug-ga2-mem): Likewise.
36922 ($(objpfx)bug-glob2-mem): Likewise.
36923 * resolv/Makefile (generate): Likewise.
36924 (tests-special): Likewise.
36925 (xtests-special): Likewise.
36926 (generated): Likewise.
36927 ($(objpfx)mtrace-tst-leaks): Likewise.
36928 ($(objpfx)mtrace-tst-leaks2): Likewise.
36929
36930 * scripts/merge-test-results.sh: New file.
36931 * Makefile (tests-special-notdir): New variable.
36932 (tests): Run merge-test-results.sh.
36933 (xtests): Likewise.
36934 * Rules (tests-special-notdir): New variable.
36935 (xtests-special-notdir): Likewise.
36936 (tests): Run merge-test-results.sh
36937 (xtests): Likewise.
36938
36939 * Makeconfig (test-xfail-name): New variable.
36940 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36941 compute variable name for expected failures.
36942 * conform/Makefile (conformtest-headers-data): New variable.
36943 (conformtest-standards): Likewise.
36944 (conformtest-headers-ISO): Likewise.
36945 (conformtest-headers-ISO99): Likewise.
36946 (conformtest-headers-ISO11): Likewise.
36947 (conformtest-headers-POSIX): Likewise.
36948 (conformtest-headers-XPG3): Likewise.
36949 (conformtest-headers-XPG4): Likewise.
36950 (conformtest-headers-UNIX98): Likewise.
36951 (conformtest-headers-XOPEN2K): Likewise.
36952 (conformtest-headers-POSIX2008): Likewise.
36953 (conformtest-headers-XOPEN2K8): Likewise.
36954 (conformtest-header-list-base): Likewise.
36955 (conformtest-header-list-tests): Likewise.
36956 (conformtest-header-base): Likewise.
36957 (conformtest-header-tests): Likewise.
36958 (tests-special): Add $(conformtest-header-list-tests). If
36959 [$(fast-check) && !$(cross-compiling)], add
36960 $(conformtest-header-tests) instead of
36961 $(objpfx)run-conformtest.out.
36962 (generated): Add $(conformtest-header-list-base). If
36963 [$(fast-check) && !$(cross-compiling)], add
36964 $(conformtest-header-base). Remove previous setting.
36965 ($(conformtest-header-list-tests)): New target.
36966 (test-xfail-run-conformtest): Remove variable.
36967 ($(objpfx)run-conformtest.out): Remove target.
36968 (test-xfail-ISO11/complex.h/conform): New variable.
36969 (test-xfail-ISO11/stdalign.h/conform): Likewise.
36970 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36971 (test-xfail-XPG3/varargs.h/conform): Likewise.
36972 (test-xfail-XPG4/varargs.h/conform): Likewise.
36973 (test-xfail-UNIX98/varargs.h/conform): Likewise.
36974 (test-xfail-XPG4/ndbm.h/conform): Likewise.
36975 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36976 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36977 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36978 (test-xfail-XPG3/fcntl.h/conform): Likewise.
36979 (test-xfail-XPG3/ftw.h/conform): Likewise.
36980 (test-xfail-XPG3/grp.h/conform): Likewise.
36981 (test-xfail-XPG3/langinfo.h/conform): Likewise.
36982 (test-xfail-XPG3/limits.h/conform): Likewise.
36983 (test-xfail-XPG3/pwd.h/conform): Likewise.
36984 (test-xfail-XPG3/search.h/conform): Likewise.
36985 (test-xfail-XPG3/signal.h/conform): Likewise.
36986 (test-xfail-XPG3/stdio.h/conform): Likewise.
36987 (test-xfail-XPG3/stdlib.h/conform): Likewise.
36988 (test-xfail-XPG3/string.h/conform): Likewise.
36989 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36990 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36991 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36992 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36993 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36994 (test-xfail-XPG3/sys/types.h/conform): Likewise.
36995 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36996 (test-xfail-XPG3/termios.h/conform): Likewise.
36997 (test-xfail-XPG3/time.h/conform): Likewise.
36998 (test-xfail-XPG3/unistd.h/conform): Likewise.
36999 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37000 (test-xfail-XPG4/fcntl.h/conform): Likewise.
37001 (test-xfail-XPG4/langinfo.h/conform): Likewise.
37002 (test-xfail-XPG4/netdb.h/conform): Likewise.
37003 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37004 (test-xfail-XPG4/signal.h/conform): Likewise.
37005 (test-xfail-XPG4/stdio.h/conform): Likewise.
37006 (test-xfail-XPG4/stdlib.h/conform): Likewise.
37007 (test-xfail-XPG4/stropts.h/conform): Likewise.
37008 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37009 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37010 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37011 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37012 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37013 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37014 (test-xfail-XPG4/sys/time.h/conform): Likewise.
37015 (test-xfail-XPG4/sys/types.h/conform): Likewise.
37016 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37017 (test-xfail-XPG4/termios.h/conform): Likewise.
37018 (test-xfail-XPG4/ucontext.h/conform): Likewise.
37019 (test-xfail-XPG4/unistd.h/conform): Likewise.
37020 (test-xfail-XPG4/utmpx.h/conform): Likewise.
37021 (test-xfail-POSIX/sched.h/conform): Likewise.
37022 (test-xfail-POSIX/signal.h/conform): Likewise.
37023 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37024 (test-xfail-POSIX/tar.h/conform): Likewise.
37025 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37026 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37027 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37028 (test-xfail-UNIX98/netdb.h/conform): Likewise.
37029 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37030 (test-xfail-UNIX98/sched.h/conform): Likewise.
37031 (test-xfail-UNIX98/signal.h/conform): Likewise.
37032 (test-xfail-UNIX98/stdio.h/conform): Likewise.
37033 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37034 (test-xfail-UNIX98/stropts.h/conform): Likewise.
37035 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37036 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37037 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37038 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37039 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37040 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37041 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37042 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37043 (test-xfail-UNIX98/unistd.h/conform): Likewise.
37044 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37045 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37046 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37047 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37048 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37049 (test-xfail-XOPEN2K/math.h/conform): Likewise.
37050 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37051 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37052 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37053 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37054 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37055 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37056 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37057 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37058 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37059 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37060 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37061 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37062 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37063 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37064 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37065 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37066 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37067 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37068 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37069 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37070 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37071 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37072 (test-xfail-POSIX2008/signal.h/conform): Likewise.
37073 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37074 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37075 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37076 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37077 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37078 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37079 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37080 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37081 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37082 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37083 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37084 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37085 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37086 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37087 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37088 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37089 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37090 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37091 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37092 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37093 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37094 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37095 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37096 (conformtest-cc-flags): Likewise.
37097 ($(conformtest-header-tests): New target.
37098 * conform/check-header-lists.sh: New file.
37099 * conform/run-conformtest.sh: Remove.
37100
37101 * conform/conformtest.pl: Allow ' and \ in values given for
37102 constants.
37103 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37104 inclusion.
37105 [POSIX] (sys/types.h): Likewise.
37106 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37107 inclusion.
37108 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37109 inclusion.
37110 * conform/data/signal.h-data (SIGIO): Remove expectation.
37111 [XPG3] (SIGBUS): Do not expect.
37112 [POSIX || XPG3] (SIGPOLL): Likewise.
37113 [POSIX || XPG3] (SIGPROF): Likewise.
37114 [POSIX || XPG3] (SIGSYS): Likewise.
37115 [XPG3] (SIGTRAP): Likewise.
37116 [POSIX || XPG3] (SIGURG): Likewise.
37117 [POSIX || XPG3] (SIGVTALRM): Likewise.
37118 [POSIX || XPG3] (SIGXCPU): Likewise.
37119 [POSIX || XPG3] (SIGXFSZ): Likewise.
37120 [POSIX] (SA_SIGINFO): Expect.
37121 [XPG3] (siginfo_t): Do not expect type or contents.
37122 [POSIX] (si_pid): Do not expect element.
37123 [POSIX] (si_uid): Likewise.
37124 [POSIX] (si_addr): Likewise.
37125 [POSIX] (si_status): Likewise.
37126 [POSIX] (si_band): Likewise.
37127 [XPG4] (si_value): Likewise.
37128 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37129 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37130 [POSIX || XPG3] (ILL_ILLADR): Likewise.
37131 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37132 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37133 [POSIX || XPG3] (ILL_PRVREG): Likewise.
37134 [POSIX || XPG3] (ILL_COPROC): Likewise.
37135 [POSIX || XPG3] (ILL_BADSTK): Likewise.
37136 [POSIX || XPG3] (FPE_INTDIV): Likewise.
37137 [POSIX || XPG3] (FPE_INTOVF): Likewise.
37138 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37139 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37140 [POSIX || XPG3] (FPE_FLTUND): Likewise.
37141 [POSIX || XPG3] (FPE_FLTRES): Likewise.
37142 [POSIX || XPG3] (FPE_FLTINV): Likewise.
37143 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37144 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37145 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37146 [POSIX || XPG3] (BUS_ADRALN): Likewise.
37147 [POSIX || XPG3] (BUS_ADRERR): Likewise.
37148 [POSIX || XPG3] (BUS_OBJERR): Likewise.
37149 [POSIX || XPG3] (CLD_EXITED): Likewise.
37150 [POSIX || XPG3] (CLD_KILLED): Likewise.
37151 [POSIX || XPG3] (CLD_DUMPED): Likewise.
37152 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37153 [POSIX || XPG3] (CLD_STOPPED): Likewise.
37154 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37155 [POSIX || XPG3] (POLL_IN): Likewise.
37156 [POSIX || XPG3] (POLL_OUT): Likewise.
37157 [POSIX || XPG3] (POLL_MSG): Likewise.
37158 [POSIX || XPG3] (POLL_ERR): Likewise.
37159 [POSIX || XPG3] (POLL_PRI): Likewise.
37160 [POSIX || XPG3] (POLL_HUP): Likewise.
37161 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37162 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37163 (SIG*): Do not allow.
37164 [XPG3] (si_*): Likewise.
37165 [XPG3] (SI_*): Likewise.
37166 [XPG3 || XPG4] (sigev_*): Likewise.
37167 [XPG3 || XPG4] (SIGEV_*): Likewise.
37168 [XPG3 || XPG4] (sival_*): Likewise.
37169 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37170 [POSIX || XPG3] (BUS_*): Likewise.
37171 [POSIX || XPG3] (CLD_*): Likewise.
37172 [POSIX || XPG3] (FPE_*): Likewise.
37173 [POSIX || XPG3] (ILL_*): Likewise.
37174 [POSIX || XPG3] (POLL_*): Likewise.
37175 [POSIX || XPG3] (SEGV_*): Likewise.
37176 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37177 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37178 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37179 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37180 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37181 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37182 Specify type and value.
37183 (TVERSLEN): Likewise.
37184 (REGTYPE): Likewise.
37185 (AREGTYPE): Likewise.
37186 (LNKTYPE): Likewise.
37187 (SYMTYPE): Likewise.
37188 (CHRTYPE): Likewise.
37189 (BLKTYPE): Likewise.
37190 (DIRTYPE): Likewise.
37191 (FIFOTYPE): Likewise.
37192 (CONTTYPE): Likewise.
37193 (TSUID): Likewise.
37194 (TSGID): Likewise.
37195 (TSVTX): Likewise.
37196 (TUREAD): Likewise.
37197 (TUWRITE): Likewise.
37198 (TUEXEC): Likewise.
37199 (TGREAD): Likewise.
37200 (TGWRITE): Likewise.
37201 (TGEXEC): Likewise.
37202 (TOREAD): Likewise.
37203 (TOWRITE): Likewise.
37204 (TOEXEC): Likewise.
37205 [POSIX] (TSVTX): Expect constant.
37206
37207 2014-03-06 Joseph Myers <joseph@codesourcery.com>
37208
37209 * Makefile (tests): Change dependencies to ....
37210 (tests-special): ... additions to this variable.
37211 (tests): Depend on $(tests-special).
37212 * Makerules (check-abi-list): New variable.
37213 (check-abi): Depend on $(check-abi-list).
37214 [$(subdir) = elf] (tests-special): Add
37215 $(objpfx)check-abi-libc.out.
37216 [$(build-shared) = yes && subdir] (tests-special): Add
37217 $(check-abi-list).
37218 [$(build-shared) = yes && subdir] (tests): Do not depend on
37219 check-abi.
37220 * Rules (tests): Depend on $(tests-special).
37221 (xtests): Depend on $(xtests-special).
37222 * catgets/Makefile (tests): Change dependencies to ....
37223 (tests-special): ... additions to this variable.
37224 * conform/Makefile (tests): Change dependencies to ....
37225 (tests-special): ... additions to this variable.
37226 * elf/Makefile (tests): Change dependencies to ....
37227 (tests-special): ... additions to this variable.
37228 * grp/Makefile (tests): Change dependencies to ....
37229 (tests-special): ... additions to this variable.
37230 * iconv/Makefile (xtests): Change dependencies to ....
37231 (xtests-special): ... additions to this variable.
37232 * iconvdata/Makefile (tests): Change dependencies to ....
37233 (tests-special): ... additions to this variable.
37234 * intl/Makefile (tests): Change dependencies to ....
37235 (tests-special): ... additions to this variable. Also add
37236 $(objpfx)tst-gettext.out.
37237 * io/Makefile (tests): Change dependencies to ....
37238 (tests-special): ... additions to this variable.
37239 * libio/Makefile (tests): Change dependencies to ....
37240 (tests-special): ... additions to this variable.
37241 * malloc/Makefile (tests): Change dependencies to ....
37242 (tests-special): ... additions to this variable.
37243 * misc/Makefile (tests): Change dependencies to ....
37244 (tests-special): ... additions to this variable.
37245 * nptl/Makefile (tests): Change dependencies to ....
37246 (tests-special): ... additions to this variable.
37247 * nptl_db/Makefile (tests): Change dependencies to ....
37248 (tests-special): ... additions to this variable.
37249 * posix/Makefile (tests): Change dependencies to ....
37250 (tests-special): ... additions to this variable.
37251 (xtests): Change dependencies to ....
37252 (xtests-special): ... additions to this variable.
37253 * resolv/Makefile (tests): Change dependencies to ....
37254 (tests-special): ... additions to this variable.
37255 (xtests): Change dependencies to ....
37256 (xtests-special): ... additions to this variable.
37257 * stdio-common/Makefile (tests): Change dependencies to ....
37258 (tests-special): ... additions to this variable.
37259 (do-tst-unbputc): Remove target.
37260 (do-tst-printf): Likewise.
37261 * stdlib/Makefile (tests): Change dependencies to ....
37262 (tests-special): ... additions to this variable.
37263 * string/Makefile (tests): Change dependencies to ....
37264 (tests-special): ... additions to this variable.
37265 * sysdeps/x86/Makefile (tests): Change dependencies to ....
37266 (tests-special): ... additions to this variable.
37267
37268 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37269 whole file.
37270 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37271 whole file.
37272 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37273 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37274
37275 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37276 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37277 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37278 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37279 * conform/data/libgen.h-data [XPG3]: Likewise.
37280 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37281 * conform/data/ndbm.h-data [XPG3]: Likewise.
37282 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37283 * conform/data/netdb.h-data [XPG3]: Likewise.
37284 * conform/data/netinet/in.h-data [XPG3]: Likewise.
37285 * conform/data/poll.h-data [XPG3]: Likewise.
37286 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37287 * conform/data/strings.h-data [XPG3]: Likewise.
37288 * conform/data/stropts.h-data [XPG3]: Likewise.
37289 * conform/data/sys/mman.h-data [XPG3]: Likewise.
37290 * conform/data/sys/resource.h-data [XPG3]: Likewise.
37291 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37292 Likewise.
37293 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37294 * conform/data/sys/time.h-data [XPG3]: Likewise.
37295 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37296 * conform/data/sys/uio.h-data [XPG3]: Likewise.
37297 * conform/data/sys/un.h-data [XPG3]: Likewise.
37298 * conform/data/syslog.h-data [XPG3]: Likewise.
37299 * conform/data/ucontext.h-data [XPG3]: Likewise.
37300 * conform/data/utmpx.h-data [XPG3]: Likewise.
37301 * conform/data/varargs.h-data [UNIX98]: Enable file.
37302
37303 * manual/Makefile (INSTALL_INFO): Remove variable setting.
37304
37305 * math/libm-test.inc (struct test_f_f_data): Move expected results
37306 into structure for each rounding mode.
37307 (struct test_ff_f_data): Likewise.
37308 (struct test_ff_f_data_nexttoward): Likewise.
37309 (struct test_fi_f_data): Likewise.
37310 (struct test_fl_f_data): Likewise.
37311 (struct test_if_f_data): Likewise.
37312 (struct test_fff_f_data): Likewise.
37313 (struct test_c_f_data): Likewise.
37314 (struct test_f_f1_data): Likewise.
37315 (struct test_fF_f1_data): Likewise.
37316 (struct test_ffI_f1_data): Likewise.
37317 (struct test_c_c_data): Likewise.
37318 (struct test_cc_c_data): Likewise.
37319 (struct test_f_i_data): Likewise.
37320 (struct test_ff_i_data): Likewise.
37321 (struct test_f_l_data): Likewise.
37322 (struct test_f_L_data): Likewise.
37323 (struct test_fFF_11_data): Likewise.
37324 (RM_): New macro.
37325 (RM_FE_DOWNWARD): Likewise.
37326 (RM_FE_TONEAREST): Likewise.
37327 (RM_FE_TOWARDZERO): Likewise.
37328 (RM_FE_UPWARD): Likewise.
37329 (RUN_TEST_LOOP_f_f): Update references to expected results.
37330 (RUN_TEST_LOOP_2_f): Likewise.
37331 (RUN_TEST_LOOP_fff_f): Likewise.
37332 (RUN_TEST_LOOP_c_f): Likewise.
37333 (RUN_TEST_LOOP_f_f1): Likewise.
37334 (RUN_TEST_LOOP_fF_f1): Likewise.
37335 (RUN_TEST_LOOP_fI_f1): Likewise.
37336 (RUN_TEST_LOOP_ffI_f1): Likewise.
37337 (RUN_TEST_LOOP_c_c): Likewise.
37338 (RUN_TEST_LOOP_cc_c): Likewise.
37339 (RUN_TEST_LOOP_f_i): Likewise.
37340 (RUN_TEST_LOOP_f_i_tg): Likewise.
37341 (RUN_TEST_LOOP_ff_i_tg): Likewise.
37342 (RUN_TEST_LOOP_f_b): Likewise.
37343 (RUN_TEST_LOOP_f_b_tg): Likewise.
37344 (RUN_TEST_LOOP_f_l): Likewise.
37345 (RUN_TEST_LOOP_f_L): Likewise.
37346 (RUN_TEST_LOOP_fFF_11): Likewise.
37347 * math/gen-libm-test.pl (parse_args): Output four copies of
37348 expected results for each test.
37349
37350 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37351 (__ASSUME_UTIMES): Remove.
37352 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37353 (__ASSUME_UTIMES): Likewise.
37354
37355 * math/gen-auto-libm-tests.c: Update comment on output format.
37356 (output_for_one_input_case): Generate before-rounding and
37357 after-rounding information as conditions on output flags not
37358 floating-point format.
37359 * math/auto-libm-test-out: Regenerated.
37360 * math/gen-libm-test.pl (cond_value): New function.
37361 (or_cond_value): Use cond_value.
37362 (generate_testfile): Handle conditional exceptions.
37363
37364 2014-03-05 Joseph Myers <joseph@codesourcery.com>
37365
37366 * math/libm-test.inc (max_valid_error): New variable.
37367 (init_max_error): Take new argument specifying whether function
37368 results are exactly determined. Set max_valid_error and bound
37369 other variables for errors based on this argument.
37370 (set_max_error): Do not record results above max_valid_error.
37371 (check_float_internal): Only accept errors of up to 0.5ulps if
37372 also at most max_valid_error.
37373 (START): Take new argument EXACT and pass it to init_max_error.
37374 (acos_test): Update call to START.
37375 (acos_test_tonearest): Likewise.
37376 (acos_test_towardzero): Likewise.
37377 (acos_test_downward): Likewise.
37378 (acos_test_upward): Likewise.
37379 (acosh_test): Likewise.
37380 (asin_test): Likewise.
37381 (asin_test_tonearest): Likewise.
37382 (asin_test_towardzero): Likewise.
37383 (asin_test_downward): Likewise.
37384 (asin_test_upward): Likewise.
37385 (asinh_test): Likewise.
37386 (atan_test): Likewise.
37387 (atanh_test): Likewise.
37388 (atan2_test): Likewise.
37389 (cabs_test): Likewise.
37390 (cacos_test): Likewise.
37391 (cacosh_test): Likewise.
37392 (carg_test): Likewise.
37393 (casin_test): Likewise.
37394 (casinh_test): Likewise.
37395 (catan_test): Likewise.
37396 (catanh_test): Likewise.
37397 (cbrt_test): Likewise.
37398 (ccos_test): Likewise.
37399 (ccosh_test): Likewise.
37400 (ceil_test): Likewise.
37401 (cexp_test): Likewise.
37402 (cimag_test): Likewise.
37403 (clog_test): Likewise.
37404 (clog10_test): Likewise.
37405 (conj_test): Likewise.
37406 (copysign_test): Likewise.
37407 (cos_test): Likewise.
37408 (cos_test_tonearest): Likewise.
37409 (cos_test_towardzero): Likewise.
37410 (cos_test_downward): Likewise.
37411 (cos_test_upward): Likewise.
37412 (cosh_test): Likewise.
37413 (cosh_test_tonearest): Likewise.
37414 (cosh_test_towardzero): Likewise.
37415 (cosh_test_downward): Likewise.
37416 (cosh_test_upward): Likewise.
37417 (cpow_test): Likewise.
37418 (cproj_test): Likewise.
37419 (creal_test): Likewise.
37420 (csin_test): Likewise.
37421 (csinh_test): Likewise.
37422 (csqrt_test): Likewise.
37423 (ctan_test): Likewise.
37424 (ctan_test_tonearest): Likewise.
37425 (ctan_test_towardzero): Likewise.
37426 (ctan_test_downward): Likewise.
37427 (ctan_test_upward): Likewise.
37428 (ctanh_test): Likewise.
37429 (ctanh_test_tonearest): Likewise.
37430 (ctanh_test_towardzero): Likewise.
37431 (ctanh_test_downward): Likewise.
37432 (ctanh_test_upward): Likewise.
37433 (erf_test): Likewise.
37434 (erfc_test): Likewise.
37435 (exp_test): Likewise.
37436 (exp_test_tonearest): Likewise.
37437 (exp_test_towardzero): Likewise.
37438 (exp_test_downward): Likewise.
37439 (exp_test_upward): Likewise.
37440 (exp10_test): Likewise.
37441 (exp10_test_tonearest): Likewise.
37442 (exp10_test_towardzero): Likewise.
37443 (exp10_test_downward): Likewise.
37444 (exp10_test_upward): Likewise.
37445 (pow10_test): Likewise.
37446 (exp2_test): Likewise.
37447 (expm1_test): Likewise.
37448 (expm1_test_tonearest): Likewise.
37449 (expm1_test_towardzero): Likewise.
37450 (expm1_test_downward): Likewise.
37451 (expm1_test_upward): Likewise.
37452 (fabs_test): Likewise.
37453 (fdim_test): Likewise.
37454 (floor_test): Likewise.
37455 (fma_test): Likewise.
37456 (fma_test_towardzero): Likewise.
37457 (fma_test_downward): Likewise.
37458 (fma_test_upward): Likewise.
37459 (fmax_test): Likewise.
37460 (fmin_test): Likewise.
37461 (fmod_test): Likewise.
37462 (fpclassify_test): Likewise.
37463 (frexp_test): Likewise.
37464 (hypot_test): Likewise.
37465 (ilogb_test): Likewise.
37466 (isfinite_test): Likewise.
37467 (finite_test): Likewise.
37468 (isgreater_test): Likewise.
37469 (isgreaterequal_test): Likewise.
37470 (isinf_test): Likewise.
37471 (isless_test): Likewise.
37472 (islessequal_test): Likewise.
37473 (islessgreater_test): Likewise.
37474 (isnan_test): Likewise.
37475 (isnormal_test): Likewise.
37476 (issignaling_test): Likewise.
37477 (isunordered_test): Likewise.
37478 (j0_test): Likewise.
37479 (j1_test): Likewise.
37480 (jn_test): Likewise.
37481 (ldexp_test): Likewise.
37482 (lgamma_test): Likewise.
37483 (gamma_test): Likewise.
37484 (lrint_test): Likewise.
37485 (lrint_test_tonearest): Likewise.
37486 (lrint_test_towardzero): Likewise.
37487 (lrint_test_downward): Likewise.
37488 (lrint_test_upward): Likewise.
37489 (llrint_test): Likewise.
37490 (llrint_test_tonearest): Likewise.
37491 (llrint_test_towardzero): Likewise.
37492 (llrint_test_downward): Likewise.
37493 (llrint_test_upward): Likewise.
37494 (log_test): Likewise.
37495 (log10_test): Likewise.
37496 (log1p_test): Likewise.
37497 (log2_test): Likewise.
37498 (logb_test): Likewise.
37499 (logb_test_downward): Likewise.
37500 (lround_test): Likewise.
37501 (llround_test): Likewise.
37502 (modf_test): Likewise.
37503 (nearbyint_test): Likewise.
37504 (nextafter_test): Likewise.
37505 (nexttoward_test): Likewise.
37506 (pow_test): Likewise.
37507 (pow_test_tonearest): Likewise.
37508 (pow_test_towardzero): Likewise.
37509 (pow_test_downward): Likewise.
37510 (pow_test_upward): Likewise.
37511 (remainder_test): Likewise.
37512 (drem_test): Likewise.
37513 (remainder_test_tonearest): Likewise.
37514 (drem_test_tonearest): Likewise.
37515 (remainder_test_towardzero): Likewise.
37516 (drem_test_towardzero): Likewise.
37517 (remainder_test_downward): Likewise.
37518 (drem_test_downward): Likewise.
37519 (remainder_test_upward): Likewise.
37520 (drem_test_upward): Likewise.
37521 (remquo_test): Likewise.
37522 (rint_test): Likewise.
37523 (rint_test_tonearest): Likewise.
37524 (rint_test_towardzero): Likewise.
37525 (rint_test_downward): Likewise.
37526 (rint_test_upward): Likewise.
37527 (round_test): Likewise.
37528 (scalb_test): Likewise.
37529 (scalbn_test): Likewise.
37530 (scalbln_test): Likewise.
37531 (signbit_test): Likewise.
37532 (sin_test): Likewise.
37533 (sin_test_tonearest): Likewise.
37534 (sin_test_towardzero): Likewise.
37535 (sin_test_downward): Likewise.
37536 (sin_test_upward): Likewise.
37537 (sincos_test): Likewise.
37538 (sinh_test): Likewise.
37539 (sinh_test_tonearest): Likewise.
37540 (sinh_test_towardzero): Likewise.
37541 (sinh_test_downward): Likewise.
37542 (sinh_test_upward): Likewise.
37543 (sqrt_test): Likewise.
37544 (sqrt_test_tonearest): Likewise.
37545 (sqrt_test_towardzero): Likewise.
37546 (sqrt_test_downward): Likewise.
37547 (sqrt_test_upward): Likewise.
37548 (tan_test): Likewise.
37549 (tan_test_tonearest): Likewise.
37550 (tan_test_towardzero): Likewise.
37551 (tan_test_downward): Likewise.
37552 (tan_test_upward): Likewise.
37553 (tanh_test): Likewise.
37554 (tgamma_test): Likewise.
37555 (trunc_test): Likewise.
37556 (y0_test): Likewise.
37557 (y1_test): Likewise.
37558 (yn_test): Likewise.
37559 (significand_test): Likewise.
37560
37561 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37562 individual tests in comment.
37563 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37564 (prev_max_error): New variable.
37565 (prev_real_max_error): Likewise.
37566 (prev_imag_max_error): Likewise.
37567 (compare_ulp_data): Don't refer to test names in comment.
37568 (find_test_ulps): Remove function.
37569 (find_function_ulps): Likewise.
37570 (find_complex_function_ulps): Likewise.
37571 (init_max_error): Take function name as argument. Look up ulps
37572 for that function.
37573 (print_ulps): Remove function.
37574 (print_max_error): Use prev_max_error instead of calling
37575 find_function_ulps.
37576 (print_complex_max_error): Use prev_real_max_error and
37577 prev_imag_max_error instead of calling find_complex_function_ulps.
37578 (check_float_internal): Take max_ulp parameter instead of calling
37579 find_test_ulps. Don't call print_ulps.
37580 (check_float): Update call to check_float_internal.
37581 (check_complex): Update calls to check_float_internal.
37582 (START): Pass argument to init_max_error.
37583 * math/gen-libm-test.pl (%results): Don't include "kind"
37584 information.
37585 (parse_ulps): Don't handle ulps of individual tests.
37586 (print_ulps_file): Likewise.
37587 (output_ulps): Likewise.
37588 * math/README.libm-test: Update.
37589 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37590 individual tests.
37591 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37592 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37593 * sysdeps/arm/libm-test-ulps: Likewise.
37594 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37595 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37596 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37597 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37598 * sysdeps/microblaze/libm-test-ulps: Likewise.
37599 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37600 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37601 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37602 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37603 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37604 * sysdeps/sh/libm-test-ulps: Likewise.
37605 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37606 * sysdeps/tile/libm-test-ulps: Likewise.
37607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37608
37609 2014-03-04 Joseph Myers <joseph@codesourcery.com>
37610
37611 * math/libm-test.inc (print_complex_max_error): Check separately
37612 whether real and imaginary errors are within allowed range and
37613 pass 0 to print_complex_function_ulps instead of value within
37614 allowed range.
37615
37616 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37617
37618 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37619 formatting.
37620 (get_handles_fopen): Likewise.
37621 (do_write_test): Likewise.
37622
37623 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37624
37625 * libio/fileops.c (do_ftell): Use cached offset when
37626 available.
37627 * libio/iofwide.c (do_ftell_wide): Likewise.
37628 * libio/iofdopen.c (_IO_new_fdopen): Don't use
37629 _IO_file_attach.
37630 * libio/wfileops.c (_IO_fwide): Don't cache offset.
37631
37632 [BZ #16532]
37633 * libio/libioP.h (get_file_offset): New function.
37634 * libio/fileops.c (get_file_offset): Likewise.
37635 (do_ftell): Likewise.
37636 (_IO_new_file_seekoff): Split out ftell logic.
37637 * libio/wfileops.c (do_ftell_wide): Likewise.
37638 (_IO_wfile_seekoff): Split out ftell logic.
37639 * libio/tst-ftell-active-handler.c: New test case.
37640 * libio/Makefile (tests): Add it.
37641
37642 2014-03-03 Roland McGrath <roland@hack.frob.com>
37643
37644 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37645 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37646
37647 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37648
37649 [BZ #16639]
37650 * nscd/connections.c (nscd_init): Call do_exit.
37651 (start_threads): Call do_exit and notify_parent.
37652 (begin_drop_privileges): Call do_exit.
37653 (finish_drop_privileges): Likewise.
37654 * nscd/selinux.c (preserve_capabilities): Likewise.
37655 (install_real_capabilities): Likewise.
37656 (nscd_selinux_enabled): Likewise.
37657 (avc_create_thread): Likewise.
37658 (avc_alloc_lock): Likewise.
37659 (nscd_avc_init): Likewise.
37660 * nscd/nscd.c (parent_fd): New static variable.
37661 (main): Create a pipe between parent and child processes.
37662 Skip closing parent_fd.
37663 (monitor_child): New function.
37664 (do_exit): Likewise.
37665 (notify_parent): Likewise.
37666 * nscd/nscd.h (notify_parent): Likewise.
37667 (do_exit): Likewise.
37668
37669 2014-03-03 Carlos O'Donell <carlos@redhat.com>
37670
37671 * malloc/malloc.c (__libc_calloc): Revert last change.
37672
37673 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37674
37675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37676
37677 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37678
37679 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37681 implementation.
37682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37683 (__libc_ifunc_impl_list): Likewise.
37684 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37685 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37686 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37687 * string/strrchr.c: Define STRRCHR.
37688
37689 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
37690
37691 * benchtest/bench-strtok.c (simple_strtok): Delete.
37692 (strtok_string): Use as benchmark.
37693 * string/strtok (STRTOK): New macro.
37694
37695 2014-02-28 Carlos O'Donell <carlos@redhat.com>
37696
37697 * manual/threads.texi: Add header and standard comments to all
37698 functions.
37699
37700 * elf/dl-lookup.c (check_match): New function.
37701 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37702 (do_lookup_x): Remove nested function check_match. Use non-nested
37703 function check_match.
37704
37705 2014-02-28 Roland McGrath <roland@hack.frob.com>
37706
37707 * csu/Makefile (generated, before-compile): Use += rather than =.
37708 * catgets/Makefile (generated, generated-dirs): Likewise.
37709 * debug/Makefile (generated): Likewise.
37710 * dlfcn/Makefile (generated): Likewise.
37711 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37712 * iconvdata/Makefile (before-compile, generated): Likewise.
37713 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37714 * libio/Makefile (generated): Likewise.
37715 * malloc/Makefile (generated): Likewise.
37716 * manual/Makefile (generated, generated-dirs): Likewise.
37717 * misc/Makefile (generated): Likewise.
37718 * posix/Makefile (generated): Likewise.
37719 * resolv/Makefile (generated): Likewise.
37720 * sunrpc/Makefile (generated, generated-dirs): Likewise.
37721 * timezone/Makefile (generated, generated-dirs): Likewise.
37722
37723 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37724
37725 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37726
37727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37728 power8 implementation.
37729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37730 file: POWER8 llround ifunc implementation.
37731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37732 (__lllround): Add POWER8 implementation.
37733 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37734 POWER8 llround implementation.
37735
37736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37737 power8 implementation.
37738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37739 file: POWER8 llrint ifunc implementation.
37740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37741 Add POWER8 implementation.
37742 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37743 POWER8 llrint implementation.
37744
37745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37746 power8 implementation.
37747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37748 file: POWER8 finite ifunc implementation.
37749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37750 Add POWER8 implementation.
37751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37752 Likewise.
37753 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37754 POWER8 finite implementation.
37755 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37756
37757 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37758 power8 implementation.
37759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37760 file: POWER8 isinf ifunc implementation.
37761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37762 POWER8 implementation.
37763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37764 Likewise.
37765 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37766 isinf implementation.
37767 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37768
37769 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37770 (INIT_ARCH): Add hwcap2 initialization.
37771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37772 power8 implementation.
37773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37774 file: POWER8 isnan ifunc implementation.
37775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37776 POWER8 implementation.
37777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37778 Likewise.
37779 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37780 isnan implementation.
37781 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37782
37783 2014-02-27 Joey Ye <joey.ye@arm.com>
37784
37785 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37786 (_FP_NANFRAC_Q): Set to zero.
37787
37788 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37789
37790 [BZ #16623]
37791 * math/auto-libm-test-in: New test inputs.
37792 * math/auto-libm-test-out: Regenerate.
37793 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37794 and DA.
37795 (__cos): Likewise.
37796 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37797
37798 2014-02-27 Joseph Myers <joseph@codesourcery.com>
37799
37800 * scripts/evaluate-test.sh: Take new argument indicating whether
37801 failure is expected.
37802 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37803 indicating whether failure is expected.
37804 * conform/Makefile (test-xfail-run-conformtest): New variable.
37805 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37806 level.
37807 * posix/Makefile (test-xfail-annexc): New variable.
37808 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37809
37810 2014-02-26 Joseph Myers <joseph@codesourcery.com>
37811
37812 * argp/Makefile: Include Makeconfig immediately after defining
37813 subdir.
37814 * assert/Makefile: Likewise.
37815 * benchtests/Makefile: Likewise.
37816 * catgets/Makefile: Likewise.
37817 * conform/Makefile: Likewise.
37818 * crypt/Makefile: Likewise.
37819 * csu/Makefile: Likewise.
37820 (all): Remove target.
37821 * ctype/Makefile: Include Makeconfig immediately after defining
37822 subdir.
37823 * debug/Makefile: Likewise.
37824 * dirent/Makefile: Likewise.
37825 * dlfcn/Makefile: Likewise.
37826 * gmon/Makefile: Likewise.
37827 * gnulib/Makefile: Likewise.
37828 * grp/Makefile: Likewise.
37829 * gshadow/Makefile: Likewise.
37830 * hesiod/Makefile: Likewise.
37831 * hurd/Makefile: Likewise.
37832 (all): Remove target.
37833 * iconvdata/Makefile: Include Makeconfig immediately after
37834 defining subdir.
37835 * inet/Makefile: Likewise.
37836 * intl/Makefile: Likewise.
37837 * io/Makefile: Likewise.
37838 * libio/Makefile: Likewise.
37839 (all): Remove target.
37840 * locale/Makefile: Include Makeconfig immediately after defining
37841 subdir.
37842 * login/Makefile: Likewise.
37843 * mach/Makefile: Likewise.
37844 (all): Remove target.
37845 * malloc/Makefile: Include Makeconfig immediately after defining
37846 subdir.
37847 (all): Remove target.
37848 * manual/Makefile: Include Makeconfig immediately after defining
37849 subdir.
37850 * math/Makefile: Likewise.
37851 * misc/Makefile: Likewise.
37852 * nis/Makefile: Likewise.
37853 * nss/Makefile: Likewise.
37854 * po/Makefile: Likewise.
37855 (all): Remove target.
37856 * posix/Makefile: Include Makeconfig immediately after defining
37857 subdir.
37858 * pwd/Makefile: Likewise.
37859 * resolv/Makefile: Likewise.
37860 * resource/Makefile: Likewise.
37861 * rt/Makefile: Likewise.
37862 * setjmp/Makefile: Likewise.
37863 * shadow/Makefile: Likewise.
37864 * signal/Makefile: Likewise.
37865 * socket/Makefile: Likewise.
37866 * soft-fp/Makefile: Likewise.
37867 * stdio-common/Makefile: Likewise.
37868 * stdlib/Makefile: Likewise.
37869 * streams/Makefile: Likewise.
37870 * string/Makefile: Likewise.
37871 * sunrpc/Makefile: Likewise.
37872 (all): Remove target.
37873 * sysvipc/Makefile: Include Makeconfig immediately after defining
37874 subdir.
37875 * termios/Makefile: Likewise.
37876 * time/Makefile: Likewise.
37877 * timezone/Makefile: Likewise.
37878 (all): Remove target.
37879 * wcsmbs/Makefile: Include Makeconfig immediately after defining
37880 subdir.
37881 * wctype/Makefile: Likewise.
37882
37883 2014-02-26 Steve Ellcey <sellcey@mips.com>
37884
37885 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37886 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37887 (libc_feholdexcept_setround_mips): Ditto.
37888 (libc_feholdsetround): New.
37889 (libc_feholdsetroundf): New.
37890 (libc_feholdsetroundl): New.
37891 (libc_feupdateenv_test_mips): New.
37892 (libc_feupdateenv_test): New.
37893 (libc_feupdateenv_testf): New.
37894 (libc_feupdateenv_testl): New.
37895 (libc_feresetround): New.
37896 (libc_feresetroundf): New.
37897 (libc_feresetroundl): New.
37898 (libc_fetestexcept_mips): New.
37899 (libc_fetestexcept): New.
37900 (libc_fetestexceptf): New.
37901 (libc_fetestexceptl): New.
37902 (HAVE_RM_CTX): New.
37903 (libc_feholdexcept_setround_mips_ctx): New.
37904 (libc_feholdexcept_setround_ctx): New.
37905 (libc_feholdexcept_setroundf_ctx): New.
37906 (libc_feholdexcept_setroundl_ctx): New.
37907 (libc_fesetenv_mips_ctx): New.
37908 (libc_fesetenv_ctx): New.
37909 (libc_fesetenv_ctxf): New.
37910 (libc_fesetenv_ctxl): New.
37911 (libc_feupdateenv_mips_ctx): New.
37912 (libc_feupdateenv_ctx): New.
37913 (libc_feupdateenvf_ctx): New.
37914 (libc_feupdateenvl_ctx): New.
37915 (libc_feholdsetround_mips_ctx): New.
37916 (libc_feholdsetround_ctx): New.
37917 (libc_feholdsetroundf_ctx): New.
37918 (libc_feholdsetroundl_ctx): New.
37919 (libc_feresetround_mips_ctx): New.
37920 (libc_feresetround_ctx): New.
37921 (libc_feresetroundf_ctx): New.
37922 (libc_feresetroundl_ctx): New.
37923
37924 2014-02-26 Carlos O'Donell <carlos@redhat.com>
37925
37926 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37927
37928 * manual/ipc.texi: New file.
37929 * manual/Makefile (chapters): Add ipc.
37930 * manual/job.texi: Add "Inter-Process Communication" to next.
37931 * manual/process.texi: Add "Inter-Process Communication" to prev.
37932
37933 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37934
37935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37936
37937 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
37938
37939 * malloc/malloc.c (__libc_calloc): Simplify implementation.
37940
37941 * manual/arith.texi: Fix spaces after sentences.
37942 * manual/charset.texi: Likewise.
37943 * manual/errno.texi: Likewise.
37944 * manual/install.texi: Likewise.
37945 * manual/llio.texi: Likewise.
37946 * manual/locale.texi: Likewise.
37947 * manual/maint.texi: Likewise.
37948 * manual/math.texi: Likewise.
37949 * manual/memory.texi: Likewise.
37950 * manual/message.texi: Likewise.
37951 * manual/probes.texi: Likewise.
37952 * manual/resource.texi: Likewise.
37953 * manual/signal.texi: Likewise.
37954 * manual/socket.texi: Likewise.
37955 * manual/stdio.texi: Likewise.
37956 * manual/string.texi: Likewise.
37957 * manual/time.texi: Likewise.
37958 * manual/users.texi: Likewise.
37959
37960 2014-02-25 Carlos O'Donell <carlos@redhat.com>
37961
37962 [BZ #16632]
37963 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37964 _DEFAULT_SOURCE is defined.
37965
37966 2014-02-25 Ulrich Drepper <drepper@gmail.com>
37967 Carlos O'Donell <carlos@redhat.com>
37968
37969 [BZ #16613]
37970 * elf/dl-tls.c (_dl_count_modids): New function.
37971 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37972 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37973 audit library and increment generation counter.
37974 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37975 * elf/tst-audit9.c: New file.
37976 * elf/tst-auditmod9a.c: New file.
37977 * elf/tst-auditmod9b.c: New file.
37978 * elf/Makefile: Add rules to build and run tst-audit9.
37979
37980 2014-02-25 Florian Weimer <fweimer@redhat.com>
37981
37982 [BZ #15347]
37983 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37984
37985 2014-02-25 Will Newton <will.newton@linaro.org>
37986
37987 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37988 (__longjmp): Restore sp and lr before restoring callee
37989 saved registers. Add longjmp and longjmp_target
37990 SystemTap probe point.
37991 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37992 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37993 Define to zero to match jmpbuf layout.
37994 * sysdeps/arm/setjmp.S: Include stap-probe.h.
37995 (__sigsetjmp): Save sp and lr before saving callee
37996 saved registers. Add setjmp SystemTap probe point.
37997
37998 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37999
38000 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38001
38002 2014-02-24 Andreas Schwab <schwab@suse.de>
38003
38004 [BZ #15804]
38005 * elf/pldd.c (wait_for_ptrace_stop): New function.
38006 (main): Call it after attaching.
38007
38008 2014-02-22 Roland McGrath <roland@hack.frob.com>
38009
38010 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38011 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38012 Versions files is now verboten.
38013 * hurd/Versions (libc: GLIBC_2.0):
38014 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38015 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38016 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38017 * mach/Versions: Likewise.
38018
38019 * csu/Versions: Remove unused %include.
38020 * resolv/Versions: Likewise.
38021
38022 2014-02-21 Joseph Myers <joseph@codesourcery.com>
38023
38024 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38025 ($(objpfx)check-local-headers.out): Likewise.
38026 ($(objpfx)begin-end-check.out): Likewise.
38027 * Makerules (check-abi-%.out): Likewise.
38028 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38029 ($(objpfx)test2.cat): Likewise.
38030 ($(objpfx)de/libc.cat): Likewise.
38031 ($(objpfx)test-gencat.out): Likewise.
38032 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38033 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38034 ($(objpfx)noload-mem): Likewise.
38035 ($(objpfx)tst-pathopt.out): Likewise.
38036 ($(objpfx)tst-rtld-load-self.out): Likewise.
38037 ($(objpfx)tst-array1-cmp.out): Likewise.
38038 ($(objpfx)tst-array1-static-cmp.out): Likewise.
38039 ($(objpfx)tst-array2-cmp.out): Likewise.
38040 ($(objpfx)tst-array3-cmp.out): Likewise.
38041 ($(objpfx)tst-array4-cmp.out): Likewise.
38042 ($(objpfx)tst-array5-cmp.out): Likewise.
38043 ($(objpfx)tst-array5-static-cmp.out): Likewise.
38044 ($(objpfx)check-textrel.out): Likewise.
38045 ($(objpfx)check-execstack.out): Likewise.
38046 ($(objpfx)check-localplt.out): Likewise.
38047 ($(objpfx)order2-cmp.out): Likewise.
38048 ($(objpfx)tst-leaks1-mem): Likewise.
38049 ($(objpfx)tst-leaks1-static-mem): Likewise.
38050 ($(objpfx)tst-initorder-cmp.out): Likewise.
38051 ($(objpfx)tst-initorder2-cmp.out): Likewise.
38052 ($(objpfx)tst-unused-dep.out): Likewise.
38053 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38054 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38055 * iconv/Makefile (test-iconvconfig): Likewise.
38056 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38057 ($(objpfx)iconv-test.out): Likewise.
38058 ($(objpfx)tst-tables.out): Likewise.
38059 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38060 ($(objpfx)tst-gettext.out): Likewise.
38061 ($(objpfx)tst-translit.out): Likewise.
38062 ($(objpfx)tst-gettext2.out): Likewise.
38063 ($(objpfx)tst-gettext4.out): Likewise.
38064 ($(objpfx)tst-gettext6.out): Likewise.
38065 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38066 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38067 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38068 ($(objpfx)tst-fopenloc-mem.out): Likewise.
38069 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38070 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38071 * posix/Makefile ($(objpfx)globtest.out): Likewise.
38072 ($(objpfx)wordexp-tst.out): Likewise.
38073 ($(objpfx)annexc.out): Likewise.
38074 ($(objpfx)tst-fnmatch-mem): Likewise.
38075 ($(objpfx)bug-regex2-mem): Likewise.
38076 ($(objpfx)bug-regex14-mem): Likewise.
38077 ($(objpfx)bug-regex21-mem): Likewise.
38078 ($(objpfx)bug-regex31-mem): Likewise.
38079 ($(objpfx)tst-vfork3-mem): Likewise.
38080 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38081 ($(objpfx)tst-pcre-mem): Likewise.
38082 ($(objpfx)tst-boost-mem): Likewise.
38083 ($(objpfx)tst-getconf.out): Likewise.
38084 ($(objpfx)bug-ga2-mem): Likewise.
38085 ($(objpfx)bug-glob2-mem): Likewise.
38086 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38087 ($(objpfx)mtrace-tst-leaks2): Likewise.
38088 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38089 ($(objpfx)tst-printf.out): Likewise.
38090 ($(objpfx)tst-setvbuf1.out): Likewise.
38091 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38092 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38093 ($(objpfx)tst-fmtmsg.out): Likewise.
38094 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38095 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38096
38097 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38098 * bits/sigaction.h [__USE_MISC]: Likewise.
38099 * bits/waitstatus.h: Update #endif comments.
38100 * ctype/ctype.h: Likewise.
38101 * dirent/dirent.h: Likewise.
38102 [__USE_MISC]: Remove redundant conditionals.
38103 * grp/grp.h: Update #endif comments.
38104 [__USE_GNU]: Remove redundant conditionals.
38105 [__USE_MISC]: Likewise.
38106 * inet/netinet/in.h [__USE_GNU]: Likewise.
38107 * io/sys/stat.h [__USE_MISC]: Likewise.
38108 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38109 * libio/bits/stdio.h: Update #endif comments.
38110 [__USE_MISC]: Remove redundant conditionals.
38111 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38112 * libio/stdio.h: Update #endif comments.
38113 [__USE_MISC]: Remove redundant conditionals.
38114 * math/bits/math-finite.h [__USE_MISC]: Likewise.
38115 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38116 * math/math.h: Update #else and #endif comments.
38117 [__USE_MISC]: Remove redundant conditionals.
38118 * misc/sys/uio.h: Update #endif comments.
38119 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38120 * posix/glob.h [__USE_MISC]: Likewise.
38121 * posix/sys/types.h: Update #endif comments.
38122 [__USE_MISC]: Remove redundant conditionals.
38123 * posix/sys/wait.h: Update #endif comments.
38124 [__USE_MISC]: Remove redundant conditionals.
38125 * posix/unistd.h: Update #endif comments.
38126 [__USE_MISC]: Remove redundant conditionals.
38127 * pwd/pwd.h [__USE_GNU]: Likewise.
38128 [__USE_MISC]: Likewise.
38129 * resolv/netdb.h [__USE_GNU]: Likewise.
38130 * signal/signal.h: Update #endif comments.
38131 [__USE_MISC]: Remove redundant conditionals.
38132 * stdlib/stdlib.h: Update #else and #endif comments.
38133 [__USE_MISC]: Remove redundant conditionals.
38134 [__USE_GNU]: Likewise.
38135 * string/bits/string2.h [__USE_MISC]: Likewise.
38136 * string/string.h: Update #endif comments.
38137 [__USE_MISC]: Remove redundant conditionals.
38138 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38139 Likewise.
38140 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38141 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38142 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38143 Likewise.
38144 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38145 Likewise.
38146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38147 comments.
38148 [__USE_MISC]: Remove redundant conditionals.
38149 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38150 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38151 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38152 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38153 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38154 Likewise.
38155 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38156 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38157 Likewise.
38158 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38159 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38160 Likewise.
38161 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38162 Likewise.
38163 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38164 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38165 Likewise.
38166 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38167 Likewise.
38168 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38169 * sysdeps/x86/bits/string.h: Update #endif comments.
38170 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38171 conditionals.
38172 * time/sys/time.h: Update #endif comments.
38173 * time/time.h: Likewise.
38174 [__USE_MISC]: Remove redundant conditionals.
38175
38176 2014-02-21 Yury Gribov <y.gribov@samsung.com>
38177
38178 [BZ #16600]
38179 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38180
38181 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
38182
38183 * Versions.def (librt): Add GLIBC_2.17.
38184
38185 2014-02-21 Adam Conrad <adconrad@0c3.net>
38186
38187 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38188 synonym for _SYS_AUXV_H to allow direct inclusion.
38189 * sysdeps/sparc/bits/hwcap.h: Likewise.
38190 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38191 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38192 * sysdeps/sparc/sysdep.h: Likewise.
38193
38194 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38195
38196 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38197
38198 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38199
38200 * benchtests/bench-strrchr.c: Print length instead of position.
38201
38202 2014-02-20 Joseph Myers <joseph@codesourcery.com>
38203
38204 [BZ #16611]
38205 * sysdeps/unix/sysv/linux/kernel-features.h
38206 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38207 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38208 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38209 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38210 Likewise.
38211 [__i386__ || __powerpc__ || __sh__ || __sparc__]
38212 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38213 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38214 (__ASSUME_SENDMMSG): Define instead of using previous
38215 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38216 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38217 (__ASSUME_SENDMMSG_SYSCALL): Define.
38218 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38219 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38220 Likewise.
38221 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38222 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38223 Likewise.
38224 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38225 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38226 Likewise.
38227 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38228 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38229 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38230 [__ASSUME_SENDMMSG]: Change conditionals to
38231 [__ASSUME_SENDMMSG_SOCKETCALL].
38232 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38233 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38234 Define.
38235 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38236 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38237 Likewise.
38238 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38239 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38240 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38241 [!__ASSUME_SENDMMSG]: Change conditional to
38242 [!__ASSUME_SENDMMSG_SOCKETCALL].
38243 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38244 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38245 Define.
38246
38247 [BZ #16610]
38248 * sysdeps/unix/sysv/linux/kernel-features.h
38249 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38250 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38251 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38252 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38253 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38254 [__i386__ || __sparc__]
38255 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38256 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38257 (__ASSUME_RECVMMSG): Define instead of using previous
38258 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38259 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38260 (__ASSUME_RECVMMSG_SYSCALL): Define.
38261 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38262 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38263 Likewise.
38264 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38265 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38266 Likewise.
38267 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38268 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38269 Likewise.
38270 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38271 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38272 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38273 [__ASSUME_RECVMMSG]: Change condition to
38274 [__ASSUME_RECVMMSG_SOCKETCALL].
38275 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38276 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38277 Define.
38278 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38279 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38280 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38281 Likewise.
38282 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38283 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38284 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38285 [!__ASSUME_RECVMMSG]: Change condition to
38286 [!__ASSUME_RECVMMSG_SOCKETCALL].
38287 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38288 (__ASSUME_RECVMMSG_SYSCALL): Define.
38289
38290 [BZ #16609]
38291 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38292 __powerpc__ || __s390__ || __sh__ || __sparc__]
38293 (__ASSUME_SOCKETCALL): Define.
38294 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38295 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38296 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38297 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38298 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38299 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38300 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38301 (__ASSUME_ACCEPT4): Define instead of using previous
38302 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38303 __powerpc__ || __sparc__ || __s390__)] condition.
38304 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38305 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38306 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38307 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38308 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38309 [!__ASSUME_ACCEPT4]: Change condition to
38310 [!__ASSUME_ACCEPT4_SOCKETCALL].
38311 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38312 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
38313 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38314 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38315 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38316 __ASSUME_ACCEPT4_SYSCALL.
38317 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38318 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38319 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38320 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38321 __ASSUME_ACCEPT4_SYSCALL.
38322 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38323 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38324 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38325 [__ASSUME_ACCEPT4]: Change condition to
38326 [__ASSUME_ACCEPT4_SOCKETCALL].
38327 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38328 (__ASSUME_SOCKETCALL): Define.
38329 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38330 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38331 (__ASSUME_SOCKETCALL): Define.
38332 (__ASSUME_ACCEPT4): Remove.
38333 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38334 Define.
38335 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38336 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38337 Likewise.
38338 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38339 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38340
38341 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38342 macro.
38343 (HWCAP_ARM_LPAE): Likewise.
38344 (HWCAP_ARM_EVTSTRM): Likewise.
38345 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38346 Add vpfd32, lpae and evtstrm.
38347 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38348 Increase to 22.
38349
38350 2014-02-19 Joseph Myers <joseph@codesourcery.com>
38351
38352 * math/auto-libm-test-in: Add tests of clog10.
38353 * math/auto-libm-test-out: Regenerated.
38354 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38355 * sysdeps/i386/fpu/libm-test-ulps: Update.
38356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38357
38358 2014-02-18 Andreas Schwab <schwab@suse.de>
38359
38360 [BZ #16574]
38361 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38362 Store non-zero if the second buffer was newly allocated.
38363 (send_dg): Likewise.
38364 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38365 to send_vc and send_dg.
38366 (res_nsend): Pass NULL for ansp2_malloced.
38367 * resolv/res_query.c (__libc_res_nquery): Add parameter
38368 answerp2_malloced and pass it down to __libc_res_nsend.
38369 (res_nquery): Pass additional NULL to __libc_res_nquery.
38370 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38371 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
38372 second answer buffer if answerp2_malloced was set.
38373 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38374 (__libc_res_nquerydomain): Add parameter
38375 answerp2_malloced and pass it down to __libc_res_nquery.
38376 (res_nquerydomain): Pass additional NULL to
38377 __libc_res_nquerydomain.
38378 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38379 additional NULL to __libc_res_nsend and __libc_res_nquery.
38380 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38381 additional NULL to __libc_res_nsearch.
38382 (_nss_dns_gethostbyname4_r): Revert last change. Use new
38383 parameter of __libc_res_nsearch to check for separately allocated
38384 second buffer.
38385 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38386 __libc_res_nquery.
38387 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38388 additional NULL to __libc_res_nquery.
38389 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38390 __libc_res_nsearch.
38391 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38392 * include/resolv.h: Update prototypes of __libc_res_nquery,
38393 __libc_res_nsearch, __libc_res_nsend.
38394
38395 2014-02-18 Joseph Myers <joseph@codesourcery.com>
38396
38397 * math/auto-libm-test-in: Add tests of fma.
38398 * math/auto-libm-test-out: Regenerated.
38399 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38400 (fma_towardzero_test_data): Likewise.
38401 (fma_downward_test_data): Likewise.
38402 (fma_upward_test_data): Likewise.
38403 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38404 mpc_mode.
38405 (rounding_modes): Add values for new field.
38406 (func_calc_method): Add value mpfr_fff_f.
38407 (func_calc_desc): Add mpfr_fff_f union field.
38408 (test_function): Add field exact_args.
38409 (FUNC): Add macro argument EXACT_ARGS.
38410 (FUNC_mpfr_f_f): Update call to FUNC.
38411 (FUNC_mpfr_f_f): Likewise.
38412 (FUNC_mpfr_ff_f): Likewise.
38413 (FUNC_mpfr_if_f): Likewise.
38414 (FUNC_mpc_c_f): Likewise.
38415 (FUNC_mpc_c_c): Likewise.
38416 (test_functions): Add fma. Update calls to FUNC.
38417 (handle_input_arg): Add argument exact_args.
38418 (add_test): Update call to handle_input_arg.
38419 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
38420 (output_for_one_input_case): Update call to calc_generic_results.
38421 Recalculate exact zero results in each rounding mode.
38422
38423 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38424 non-negative before setting low bit.
38425 * math/auto-libm-test-in: Mark one asin test possibly having
38426 spurious underflow.
38427 * math/auto-libm-test-out: Regenerated.
38428 * sysdeps/i386/fpu/libm-test-ulps: Update.
38429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38430
38431 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
38432
38433 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38434 * sysdeps/unix/sysv/linux/microblaze: Move directory from
38435 ports/sysdeps/unix/sysv/linux/microblaze.
38436 * README: Add missing listing for microblaze*-*-linux-gnu.
38437
38438 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
38439
38440 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38441 duplicate code
38442
38443 2014-02-16 Mike Frysinger <vapier@gentoo.org>
38444
38445 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38446 * sysdeps/unix/sysv/linux/ia64: Move directory from
38447 ports/sysdeps/unix/sysv/linux/ia64.
38448 * README: Update listing for ia64-*-linux-gnu.
38449
38450 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
38451 Joseph Myers <joseph@codesourcery.com>
38452
38453 * Makeconfig (test-name): New variable.
38454 (evaluate-test): Likewise.
38455 * Makerules (do-test-clean): Remove .test-result files.
38456 (common-mostlyclean): Likewise.
38457 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38458 * scripts/evaluate-test.sh: New file.
38459
38460 2014-02-14 Joseph Myers <joseph@codesourcery.com>
38461
38462 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38463 separate $(objpfx)tst-fopenloc-cmp.out and
38464 $(objpfx)tst-fopenloc-mem.out targets.
38465 (tests): Update dependencies.
38466 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38467 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38468 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38469 (tst-rxspencer-no-utf8-ARGS): New variable.
38470 (tst-rxspencer-no-utf8-ENV): Likewise.
38471 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38472 instead of $(objpfx)tst-rxspencer-mem.
38473 ($(objpfx)tst-rxspencer-mem): Change target to
38474 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
38475 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38476 * posix/tst-rxspencer-no-utf8.c: New file.
38477
38478 * elf/Makefile ($(objpfx)order.out): Remove rule.
38479 [$(run-built-tests) = yes] (tests): Depend on
38480 $(objpfx)order-cmp.out.
38481 ($(objpfx)order-cmp.out): New rule.
38482 [$(run-built-tests) = yes] (tests): Depend on
38483 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38484 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38485 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38486 $(objpfx)tst-array5-static-cmp.out.
38487 ($(objpfx)tst-array1.out): Remove rule.
38488 ($(objpfx)tst-array1-cmp.out): New rule.
38489 ($(objpfx)tst-array1-static.out): Remove rule.
38490 ($(objpfx)tst-array1-static-cmp.out): New rule.
38491 ($(objpfx)tst-array2.out): Remove rule.
38492 ($(objpfx)tst-array2-cmp.out): New rule.
38493 ($(objpfx)tst-array3.out): Remove rule.
38494 ($(objpfx)tst-array3-cmp.out): New rule.
38495 ($(objpfx)tst-array4.out): Remove rule.
38496 ($(objpfx)tst-array4-cmp.out): New rule.
38497 ($(objpfx)tst-array5.out): Remove rule.
38498 ($(objpfx)tst-array5-cmp.out): New rule.
38499 ($(objpfx)tst-array5-static.out): Remove rule.
38500 ($(objpfx)tst-array5-static-cmp.out): New rule.
38501 [$(run-built-tests) = yes] (tests): Depend on
38502 $(objpfx)order2-cmp.out.
38503 ($(objpfx)order2.out): Remove rule.
38504 ($(objpfx)order2-cmp.out): New rule.
38505 ($(objpfx)tst-initorder.out): Remove rule.
38506 [$(run-built-tests) = yes] (tests): Depend on
38507 $(objpfx)tst-initorder-cmp.out.
38508 ($(objpfx)tst-initorder-cmp.out): New rule.
38509 ($(objpfx)tst-initorder2.out): Remove rule.
38510 [$(run-built-tests) = yes] (tests): Depend on
38511 $(objpfx)tst-initorder2-cmp.out.
38512 ($(objpfx)tst-initorder2-cmp.out): New rule.
38513 [$(run-built-tests) = yes] (tests): Depend on
38514 $(objpfx)tst-unused-dep-cmp.out.
38515 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38516 ($(objpfx)tst-unused-dep-cmp.out): New rule.
38517 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38518 on $(objpfx)tst-setvbuf1-cmp.out.
38519 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38520 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38521 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38522 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38523 ($(objpfx)tst-svc.out): Remove rule.
38524 ($(objpfx)tst-svc-cmp.out): New rule.
38525
38526 2014-02-13 Joseph Myers <joseph@codesourcery.com>
38527
38528 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38529 * ctype/ctype.h [__USE_MISC]: Likewise.
38530 * dirent/dirent.h [__USE_MISC]: Likewise.
38531 * grp/grp.h [__USE_MISC]: Likewise.
38532 * io/fcntl.h [__USE_MISC]: Likewise.
38533 * io/sys/stat.h [__USE_MISC]: Likewise.
38534 * libio/stdio.h [__USE_MISC]: Likewise.
38535 * posix/unistd.h [__USE_MISC]: Likewise.
38536 * pwd/pwd.h [__USE_MISC]: Likewise.
38537 * stdlib.h [__USE_MISC]: Likewise.
38538 * string/bits/string2.h [__USE_MISC]: Likewise.
38539 * string/string.h [__USE_MISC]: Likewise.
38540 * time/time.h [__USE_MISC]: Likewise.
38541
38542 2014-02-13 Andreas Schwab <schwab@suse.de>
38543
38544 [BZ #16574]
38545 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38546 second answer buffer if it was separately allocated.
38547
38548 2014-02-12 Joseph Myers <joseph@codesourcery.com>
38549
38550 * sysdeps/mips/math-tests.h: Include <features.h>.
38551 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38552 (ROUNDING_TESTS_long_double): Do not define.
38553 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38554 (EXCEPTION_TESTS_long_double): Likewise.
38555 * sysdeps/mips/mips64/libm-test-ulps: Update.
38556
38557 * include/features.h (__USE_BSD): Remove macro definitions.
38558 (__USE_SVID): Likewise.
38559 (_BSD_SOURCE): Likewise.
38560 (_SVID_SOURCE): Likewise.
38561 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38562 from definition of _DEFAULT_SOURCE.
38563 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38564 [_DEFAULT_SOURCE].
38565 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38566 * bits/mman.h [__USE_BSD]: Likewise.
38567 * bits/termios.h [__USE_BSD]: Likewise.
38568 * bits/waitstatus.h [__USE_BSD]: Likewise.
38569 * ctype/ctype.h [__USE_SVID]: Likewise.
38570 * dirent/dirent.h [__USE_BSD]: Likewise.
38571 * grp/grp.h [__USE_SVID]: Likewise.
38572 [__USE_BSD]: Likewise.
38573 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38574 * io/fcntl.h [__USE_BSD]: Likewise.
38575 * io/ftw.h [__USE_BSD]: Likewise.
38576 * io/sys/stat.h [__USE_BSD]: Likewise.
38577 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38578 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38579 * libio/stdio.h [__USE_SVID]: Likewise.
38580 [__USE_BSD]: Likewise.
38581 * math/math.h [__USE_SVID]: Likewise.
38582 [__USE_BSD]: Likewise.
38583 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38584 * misc/bits/syslog.h [__USE_BSD]: Likewise.
38585 * misc/search.h [__USE_SVID]: Likewise.
38586 * misc/sys/mman.h [__USE_BSD]: Likewise.
38587 * misc/sys/syslog.h [__USE_BSD]: Likewise.
38588 * misc/sys/uio.h [__USE_BSD]: Likewise.
38589 * posix/bits/unistd.h [__USE_BSD]: Likewise.
38590 * posix/glob.h [__USE_BSD]: Likewise.
38591 * posix/regex.h [__USE_BSD]: Likewise.
38592 * posix/sys/types.h [__USE_BSD]: Likewise.
38593 [__USE_SVID]: Likewise.
38594 * posix/sys/utsname.h [__USE_SVID]: Likewise.
38595 * posix/sys/wait.h [__USE_BSD]: Likewise.
38596 [__USE_SVID]: Likewise.
38597 * posix/unistd.h [__USE_BSD]: Likewise.
38598 [__USE_SVID]: Likewise.
38599 * pwd/pwd.h [__USE_SVID]: Likewise.
38600 * resolv/netdb.h [__USE_BSD]: Likewise.
38601 * setjmp/setjmp.h [__USE_BSD]: Likewise.
38602 * signal/signal.h [__USE_BSD]: Likewise.
38603 [__USE_SVID]: Likewise.
38604 * socket/sys/socket.h [__USE_BSD]: Likewise.
38605 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38606 * stdlib/stdlib.h [__USE_BSD]: Likewise.
38607 [__USE_SVID]: Likewise.
38608 * string/bits/string2.h [__USE_BSD]: Likewise.
38609 [__USE_SVID]: Likewise.
38610 * string/bits/string3.h [__USE_BSD]: Likewise.
38611 * string/endian.h [__USE_BSD]: Likewise.
38612 * string/string.h [__USE_SVID]: Likewise.
38613 [__USE_BSD]: Likewise.
38614 * string/strings.h [__USE_BSD]: Likewise.
38615 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38616 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38617 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38618 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38619 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38620 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38621 Likewise.
38622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38623 Likewise.
38624 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38625 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38626 Likewise.
38627 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38628 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38629 Likewise.
38630 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38631 Likewise.
38632 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38633 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38634 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38635 Likewise.
38636 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38637 Likewise.
38638 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38639 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38640 * termios/termios.h [__USE_BSD]: Likewise.
38641 * time/sys/time.h [__USE_BSD]: Likewise.
38642 * time/time.h [__USE_BSD]: Likewise.
38643 [__USE_SVID]: Likewise.
38644
38645 * Makefile (subdir_targets): Remove subdir_lint.out.
38646
38647 * stdio-common/Makefile (do-tst-unbputc): Remove target.
38648 (do-tst-printf): Likewise.
38649 (tests): Depend directly on $(objpfx)tst-unbputc.out and
38650 $(objpfx)tst-printf.out.
38651
38652 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38653
38654 * Makerules (check-abi-%): Change target to
38655 $(objpfx)check-abi-%.out.
38656 (check-abi target): Update dependencies.
38657 (check-abi-pattern variable): Redirect output of diff to $@.
38658 (check-abi variable): Likewise.
38659 * elf/Makefile (check-abi): Update dependencies.
38660
38661 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38662 unused.
38663 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38664 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38665 subnormal range.
38666 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38667 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38668 value has largest subnormal exponent.
38669 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38670 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38671 * sysdeps/aarch64/soft-fp/sfp-machine.h
38672 (_FP_TININESS_AFTER_ROUNDING): New macro.
38673 * sysdeps/alpha/soft-fp/sfp-machine.h
38674 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38675 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38676 Likewise.
38677 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38678 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38679 * sysdeps/mips/soft-fp/sfp-machine.h
38680 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38681 * sysdeps/powerpc/soft-fp/sfp-machine.h
38682 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38683 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38684 Likewise.
38685 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38686 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38687 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38688 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38689 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38690 Likewise.
38691
38692 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
38693
38694 [BZ #16545]
38695 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38696 model 1.
38697
38698 2014-02-12 Richard Henderson <rth@redhat.com>
38699
38700 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38701 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38702 * sysdeps/unix/sysv/linux/alpha: Move directory from
38703 ports/sysdeps/unix/sysv/linux/alpha.
38704 * README: Update listing for alpha-*-linux-gnu.
38705
38706 2014-02-11 Joseph Myers <joseph@codesourcery.com>
38707
38708 * include/features.h: Update comment documenting feature test
38709 macros.
38710 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
38711 _DEFAULT_SOURCE.
38712 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38713 (_SVID_SOURCE): Likewise.
38714 (_DEFAULT_SOURCE): Update description of default features.
38715 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38716 with _GNU_SOURCE.
38717 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38718 (S_ISVTX): Likewise.
38719 * manual/math.texi (Mathematical Constants): Likewise.
38720 * manual/signal.texi (Interrupted Primitives): Likewise.
38721 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38722 * math/test-matherr.c (_SVID_SOURCE): Do not define.
38723 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38724 Don't refer to _SVID_SOURCE in warning text.
38725
38726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38727
38728 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38729 already defined.
38730 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38731 * sysdeps/mips/dl-lookup.c: Remove.
38732 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38733
38734 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38735
38736 [BZ #16447]
38737 * math/auto-libm-test-in: Add testcase for expl.
38738 * math/auto-libm-test-out: Regenerate.
38739 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38740 calculation of unsafe.
38741 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38742
38743 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
38744
38745 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38746 * sysdeps/unix/sysv/linux/aarch64: Move directory from
38747 ports/sysdeps/unix/sysv/linux/aarch64.
38748 * README: Update listing for aarch64*-*-linux-gnu.
38749
38750 2014-02-11 Will Newton <will.newton@linaro.org>
38751
38752 * manual/probes.texi (Mathematical Function Probes): Use
38753 "triggered" instead of "hit".
38754
38755 * manual/probes.texi (Internal Probes): Add documentation
38756 of setjmp, longjmp and longjmp_target probes.
38757
38758 * include/stap-probe.h: Add comment about probe argument
38759 format.
38760
38761 * malloc/mtrace.c (attribute_hidden): Remove unused macro
38762 definition. (tr_where, tr_freehook, tr_mallochook,
38763 tr_reallochook, tr_memalignhook): Use ANSI protoype.
38764
38765 2014-02-11 David S. Miller <davem@davemloft.net>
38766
38767 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38768 processing int_tests.
38769
38770 2014-02-10 Joseph Myers <joseph@codesourcery.com>
38771
38772 * sysdeps/mips: Move directory from ports/sysdeps/mips.
38773 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38774 * sysdeps/unix/sysv/linux/mips: Move directory from
38775 ports/sysdeps/unix/sysv/linux/mips.
38776 * README: Update listing for mips-*-linux-gnu and
38777 mips64-*-linux-gnu.
38778
38779 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
38780
38781 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38782 * sysdeps/unix/sysv/linux/m68k: Move directory from
38783 ports/sysdeps/unix/sysv/linux/m68k.
38784 * README: Update listing for m68k-*-linux-gnu.
38785
38786 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
38787
38788 * sysdeps/tile: Move directory from ports/sysdeps/tile.
38789 * sysdeps/unix/sysv/linux/generic: Move directory from
38790 ports/sysdeps/unix/sysv/linux/generic.
38791 * sysdeps/unix/sysv/linux/tile: Move directory from
38792 ports/sysdeps/unix/sysv/linux/tile.
38793 * README: Update listing for tile*-*-linux-gnu.
38794
38795 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
38796
38797 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38798 __builtin_expect.
38799 * benchtests/bench-memmem.c (simple_memmem): Likewise.
38800 * catgets/open_catalog.c (__open_catalog): Likewise.
38801 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38802 * debug/confstr_chk.c: Likewise.
38803 * debug/fread_chk.c (__fread_chk): Likewise.
38804 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38805 * debug/getgroups_chk.c: Likewise.
38806 * debug/mbsnrtowcs_chk.c: Likewise.
38807 * debug/mbsrtowcs_chk.c: Likewise.
38808 * debug/mbstowcs_chk.c: Likewise.
38809 * debug/memcpy_chk.c: Likewise.
38810 * debug/memmove_chk.c: Likewise.
38811 * debug/mempcpy_chk.c: Likewise.
38812 * debug/memset_chk.c: Likewise.
38813 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38814 * debug/strcat_chk.c (__strcat_chk): Likewise.
38815 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38816 * debug/strncat_chk.c (__strncat_chk): Likewise.
38817 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38818 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38819 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38820 * debug/wcpncpy_chk.c: Likewise.
38821 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38822 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38823 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38824 * debug/wcsncpy_chk.c: Likewise.
38825 * debug/wcsnrtombs_chk.c: Likewise.
38826 * debug/wcsrtombs_chk.c: Likewise.
38827 * debug/wcstombs_chk.c: Likewise.
38828 * debug/wmemcpy_chk.c: Likewise.
38829 * debug/wmemmove_chk.c: Likewise.
38830 * debug/wmempcpy_chk.c: Likewise.
38831 * debug/wmemset_chk.c: Likewise.
38832 * dirent/scandirat.c (SCANDIRAT): Likewise.
38833 * dlfcn/dladdr1.c (dladdr1): Likewise.
38834 * dlfcn/dladdr.c (dladdr): Likewise.
38835 * dlfcn/dlclose.c (dlclose_doit): Likewise.
38836 * dlfcn/dlerror.c (__dlerror): Likewise.
38837 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38838 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38839 * dlfcn/dlopen.c (dlopen_doit): Likewise.
38840 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38841 * dlfcn/dlsym.c (dlsym_doit): Likewise.
38842 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38843 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38844 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38845 Likewise.
38846 * elf/dl-conflict.c: Likewise.
38847 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38848 * elf/dl-dst.h: Likewise.
38849 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38850 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38851 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38852 * elf/dl-init.c (call_init, _dl_init): Likewise.
38853 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38854 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38855 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38856 Likewise.
38857 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38858 Likewise.
38859 * elf/dl-minimal.c (__libc_memalign): Likewise.
38860 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38861 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38862 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38863 * elf/dl-sym.c (do_sym): Likewise.
38864 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38865 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38866 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38867 * elf/dl-writev.h (_dl_writev): Likewise.
38868 * elf/ldconfig.c (search_dir): Likewise.
38869 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38870 (dl_main): Likewise.
38871 * elf/setup-vdso.h (setup_vdso): Likewise.
38872 * grp/compat-initgroups.c (compat_call): Likewise.
38873 * grp/fgetgrent.c (fgetgrent): Likewise.
38874 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38875 * grp/putgrent.c (putgrent): Likewise.
38876 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38877 Likewise.
38878 * hurd/hurdinit.c: Likewise.
38879 * iconvdata/8bit-gap.c (struct): Likewise.
38880 * iconvdata/ansi_x3.110.c : Likewise.
38881 * iconvdata/big5.c : Likewise.
38882 * iconvdata/big5hkscs.c : Likewise.
38883 * iconvdata/cp1255.c: Likewise.
38884 * iconvdata/cp1258.c : Likewise.
38885 * iconvdata/cp932.c : Likewise.
38886 * iconvdata/euc-cn.c: Likewise.
38887 * iconvdata/euc-jisx0213.c : Likewise.
38888 * iconvdata/euc-jp.c: Likewise.
38889 * iconvdata/euc-jp-ms.c : Likewise.
38890 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38891 * iconvdata/gb18030.c : Likewise.
38892 * iconvdata/gbbig5.c (const): Likewise.
38893 * iconvdata/gbgbk.c: Likewise.
38894 * iconvdata/gbk.c : Likewise.
38895 * iconvdata/ibm1364.c : Likewise.
38896 * iconvdata/ibm930.c : Likewise.
38897 * iconvdata/ibm932.c: Likewise.
38898 * iconvdata/ibm933.c : Likewise.
38899 * iconvdata/ibm935.c : Likewise.
38900 * iconvdata/ibm937.c : Likewise.
38901 * iconvdata/ibm939.c : Likewise.
38902 * iconvdata/ibm943.c: Likewise.
38903 * iconvdata/iso_11548-1.c: Likewise.
38904 * iconvdata/iso-2022-cn.c : Likewise.
38905 * iconvdata/iso-2022-cn-ext.c : Likewise.
38906 * iconvdata/iso-2022-jp-3.c: Likewise.
38907 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38908 * iconvdata/iso-2022-kr.c : Likewise.
38909 * iconvdata/iso646.c (gconv_end): Likewise.
38910 * iconvdata/iso_6937-2.c : Likewise.
38911 * iconvdata/iso_6937.c : Likewise.
38912 * iconvdata/iso8859-1.c: Likewise.
38913 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38914 * iconvdata/shift_jisx0213.c : Likewise.
38915 * iconvdata/sjis.c : Likewise.
38916 * iconvdata/t.61.c : Likewise.
38917 * iconvdata/tcvn5712-1.c : Likewise.
38918 * iconvdata/tscii.c: Likewise.
38919 * iconvdata/uhc.c : Likewise.
38920 * iconvdata/unicode.c (gconv_end): Likewise.
38921 * iconvdata/utf-16.c (gconv_end): Likewise.
38922 * iconvdata/utf-32.c (gconv_end): Likewise.
38923 * iconvdata/utf-7.c (base64): Likewise.
38924 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38925 * iconv/gconv_close.c (__gconv_close): Likewise.
38926 * iconv/gconv_open.c (__gconv_open): Likewise.
38927 * iconv/gconv_simple.c (internal_ucs4_loop_single)
38928 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38929 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38930 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38931 (ucs4le_internal_loop_single): Likewise.
38932 * iconv/iconv.c (iconv): Likewise.
38933 * iconv/iconv_close.c: Likewise.
38934 * iconv/loop.c (SINGLE): Likewise.
38935 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38936 * include/atomic.h: Likewise.
38937 * inet/inet6_option.c (option_alloc): Likewise.
38938 * intl/bindtextdom.c (set_binding_values): Likewise.
38939 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38940 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38941 * intl/localealias.c (read_alias_file): Likewise.
38942 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38943 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38944 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38945 * libio/fmemopen.c (fmemopen): Likewise.
38946 * libio/iofgets.c (_IO_fgets): Likewise.
38947 * libio/iofgets_u.c (fgets_unlocked): Likewise.
38948 * libio/iofgetws.c (fgetws): Likewise.
38949 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38950 * libio/iogetdelim.c (_IO_getdelim): Likewise.
38951 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38952 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38953 * locale/findlocale.c (_nl_find_locale): Likewise.
38954 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38955 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38956 Likewise.
38957 * locale/setlocale.c (setlocale): Likewise.
38958 * login/programs/pt_chown.c (main): Likewise.
38959 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38960 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38961 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38962 (mmap, mmap64, mremap, munmap): Likewise.
38963 * math/e_exp2l.c: Likewise.
38964 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38965 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38966 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38967 * math/s_catan.c (__catan): Likewise.
38968 * math/s_catanf.c (__catanf): Likewise.
38969 * math/s_catanh.c (__catanh): Likewise.
38970 * math/s_catanhf.c (__catanhf): Likewise.
38971 * math/s_catanhl.c (__catanhl): Likewise.
38972 * math/s_catanl.c (__catanl): Likewise.
38973 * math/s_ccosh.c (__ccosh): Likewise.
38974 * math/s_ccoshf.c (__ccoshf): Likewise.
38975 * math/s_ccoshl.c (__ccoshl): Likewise.
38976 * math/s_cexp.c (__cexp): Likewise.
38977 * math/s_cexpf.c (__cexpf): Likewise.
38978 * math/s_cexpl.c (__cexpl): Likewise.
38979 * math/s_clog10.c (__clog10): Likewise.
38980 * math/s_clog10f.c (__clog10f): Likewise.
38981 * math/s_clog10l.c (__clog10l): Likewise.
38982 * math/s_clog.c (__clog): Likewise.
38983 * math/s_clogf.c (__clogf): Likewise.
38984 * math/s_clogl.c (__clogl): Likewise.
38985 * math/s_csin.c (__csin): Likewise.
38986 * math/s_csinf.c (__csinf): Likewise.
38987 * math/s_csinh.c (__csinh): Likewise.
38988 * math/s_csinhf.c (__csinhf): Likewise.
38989 * math/s_csinhl.c (__csinhl): Likewise.
38990 * math/s_csinl.c (__csinl): Likewise.
38991 * math/s_csqrt.c (__csqrt): Likewise.
38992 * math/s_csqrtf.c (__csqrtf): Likewise.
38993 * math/s_csqrtl.c (__csqrtl): Likewise.
38994 * math/s_ctan.c (__ctan): Likewise.
38995 * math/s_ctanf.c (__ctanf): Likewise.
38996 * math/s_ctanh.c (__ctanh): Likewise.
38997 * math/s_ctanhf.c (__ctanhf): Likewise.
38998 * math/s_ctanhl.c (__ctanhl): Likewise.
38999 * math/s_ctanl.c (__ctanl): Likewise.
39000 * math/w_pow.c: Likewise.
39001 * math/w_powf.c: Likewise.
39002 * math/w_powl.c: Likewise.
39003 * math/w_scalb.c (sysv_scalb): Likewise.
39004 * math/w_scalbf.c (sysv_scalbf): Likewise.
39005 * math/w_scalbl.c (sysv_scalbl): Likewise.
39006 * misc/error.c (error_tail): Likewise.
39007 * misc/pselect.c (__pselect): Likewise.
39008 * nis/nis_callback.c (__nis_create_callback): Likewise.
39009 * nis/nis_call.c (__nisfind_server): Likewise.
39010 * nis/nis_creategroup.c (nis_creategroup): Likewise.
39011 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39012 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39013 * nis/nis_getservlist.c (nis_getservlist): Likewise.
39014 * nis/nis_lookup.c (nis_lookup): Likewise.
39015 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39016 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39017 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39018 * nis/nis_xdr.c (xdr_endpoint): Likewise.
39019 * nis/nss_compat/compat-grp.c (getgrent_next_file)
39020 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39021 * nis/nss_compat/compat-initgroups.c (add_group)
39022 (internal_getgrent_r): Likewise.
39023 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39024 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39025 * nis/nss_compat/compat-spwd.c (getspent_next_file)
39026 (internal_getspnam_r): Likewise.
39027 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39028 (_nss_nis_getaliasbyname_r): Likewise.
39029 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39030 (_nss_nis_getntohost_r): Likewise.
39031 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39032 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39033 (_nss_nis_getgrgid_r): Likewise.
39034 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39035 (internal_nis_gethostent_r, internal_gethostbyname2_r)
39036 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39037 (_nss_nis_gethostbyname4_r): Likewise.
39038 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39039 (initgroups_netid): Likewise.
39040 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39041 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39042 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39043 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39044 (_nss_nis_getprotobynumber_r): Likewise.
39045 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39046 (_nss_nis_getsecretkey): Likewise.
39047 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39048 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39049 (_nss_nis_getpwuid_r): Likewise.
39050 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39051 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39052 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39053 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39054 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39055 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39056 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39057 Likewise.
39058 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39059 (_nss_nisplus_getntohost_r): Likewise.
39060 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39061 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39062 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39063 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39064 Likewise.
39065 * nis/nss_nisplus/nisplus-initgroups.c
39066 (_nss_nisplus_initgroups_dyn): Likewise.
39067 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39068 (_nss_nisplus_getnetbyaddr_r): Likewise.
39069 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39070 (_nss_nisplus_getprotobynumber_r): Likewise.
39071 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39072 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39073 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39074 Likewise.
39075 * nis/nss_nisplus/nisplus-service.c
39076 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39077 (_nss_nisplus_getservbyport_r): Likewise.
39078 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39079 (_nss_nisplus_getspnam_r): Likewise.
39080 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39081 Likewise.
39082 * nscd/aicache.c (addhstaiX): Likewise.
39083 * nscd/cache.c (cache_search, prune_cache): Likewise.
39084 * nscd/connections.c (register_traced_file, send_ro_fd)
39085 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39086 (main_loop_epoll): Likewise.
39087 * nscd/grpcache.c (addgrbyX): Likewise.
39088 * nscd/hstcache.c (addhstbyX): Likewise.
39089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39090 * nscd/mem.c (gc, mempool_alloc): Likewise.
39091 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39092 (addinnetgrX): Likewise.
39093 * nscd/nscd-client.h (__nscd_acquire_maplock)
39094 (__nscd_drop_map_ref): Likewise.
39095 * nscd/nscd_getai.c (__nscd_getai): Likewise.
39096 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39097 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39098 Likewise.
39099 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39100 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39101 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39102 (__nscd_get_map_ref): Likewise.
39103 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39104 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39105 Likewise.
39106 * nscd/pwdcache.c (addpwbyX): Likewise.
39107 * nscd/selinux.c (preserve_capabilities): Likewise.
39108 * nscd/servicescache.c (addservbyX): Likewise.
39109 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39110 * posix/fnmatch.c (fnmatch): Likewise.
39111 * posix/getopt.c (_getopt_internal_r): Likewise.
39112 * posix/glob.c (glob, glob_in_dir): Likewise.
39113 * posix/wordexp.c (exec_comm_child): Likewise.
39114 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39115 (getanswer_r, gaih_getanswer_slice): Likewise.
39116 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39117 * resolv/res_init.c: Likewise.
39118 * resolv/res_mkquery.c (res_nmkquery): Likewise.
39119 * resolv/res_query.c (__libc_res_nquery): Likewise.
39120 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39121 Likewise.
39122 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39123 * stdio-common/perror.c (perror): Likewise.
39124 * stdio-common/printf_fp.c (___printf_fp): Likewise.
39125 * stdio-common/tmpnam.c (tmpnam): Likewise.
39126 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39127 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39128 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39129 Likewise.
39130 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39131 * stdlib/putenv.c (putenv): Likewise.
39132 * stdlib/setenv.c (__add_to_environ): Likewise.
39133 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39134 * stdlib/strtol_l.c (INTERNAL): Likewise.
39135 * string/memmem.c (memmem): Likewise.
39136 * string/strerror.c (strerror): Likewise.
39137 * string/strnlen.c (__strnlen): Likewise.
39138 * string/test-memmem.c (simple_memmem): Likewise.
39139 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39140 * sunrpc/pm_getport.c (__get_socket): Likewise.
39141 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39142 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39143 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39144 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39145 Likewise.
39146 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39147 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39148 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39149 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39150 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39151 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39152 Likewise.
39153 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39154 Likewise.
39155 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39156 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39157 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39158 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39159 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39161 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39162 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39163 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39164 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39165 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39166 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39167 Likewise.
39168 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39169 Likewise.
39170 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39171 Likewise.
39172 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39173 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39174 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39175 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39176 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39177 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39178 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39179 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39180 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39181 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39182 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39183 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39184 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39185 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39187 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39188 Likewise.
39189 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39190 Likewise.
39191 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39192 Likewise.
39193 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39194 Likewise.
39195 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39196 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39197 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39198 Likewise.
39199 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39200 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39201 * sysdeps/posix/opendir.c (__opendirat): Likewise.
39202 * sysdeps/posix/sleep.c: Likewise.
39203 * sysdeps/posix/tempname.c: Likewise.
39204 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39205 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39206 Likewise.
39207 * sysdeps/powerpc/powerpc32/dl-machine.h
39208 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39209 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39210 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39211 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39212 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39213 Likewise.
39214 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39215 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39216 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39217 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39218 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39219 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39220 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39221 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39222 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39223 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39224 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39225 (elf_machine_lazy_rel): Likewise.
39226 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39228 (elf_machine_lazy_rel): Likewise.
39229 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39230 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39231 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39232 * sysdeps/unix/grantpt.c (grantpt): Likewise.
39233 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39234 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39235 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39237 Likewise.
39238 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39239 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39240 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39241 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39242 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39243 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39244 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39245 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39246 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39247 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39248 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39249 Likewise.
39250 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39251 (__posix_fallocate64_l64): Likewise.
39252 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39253 (posix_fallocate): Likewise.
39254 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39255 Likewise.
39256 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39257 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39258 (getifaddrs_internal): Likewise.
39259 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39260 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39261 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39262 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39263 * sysdeps/unix/sysv/linux/posix_fallocate64.c
39264 (__posix_fallocate64_l64): Likewise.
39265 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39266 Likewise.
39267 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39268 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39269 (__get_clockfreq): Likewise.
39270 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39271 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39272 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39273 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39274 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39275 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39276 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39277 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39278 Likewise.
39279 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39280 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39281 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39282 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39283 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39284 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39285 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39286 Likewise.
39287 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39288 (posix_fallocate): Likewise.
39289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39290 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39291 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39292 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39293 (elf_machine_rela, elf_machine_rela_relative)
39294 (elf_machine_lazy_rel): Likewise.
39295 * time/asctime.c (asctime_internal): Likewise.
39296 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39297 * time/tzset.c (__tzset_parse_tz): Likewise.
39298 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39299 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39300 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39301 * wcsmbs/wcsmbsload.h: Likewise.
39302
39303 [BZ #15894]
39304 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39305
39306 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39307 (arena_get2): Remove THREAD_STATS conditionals.
39308 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39309 (__malloc_stats, int): Likewise.
39310
39311 2014-02-08 Mike Frysinger <vapier@gentoo.org>
39312
39313 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39314 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
39315
39316 * manual/setjmp.texi: Fix typos/grammar errors.
39317
39318 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39319 Only return early when n is <= 0. Delete unused return statement.
39320
39321 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39322 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39323 * debug/tst-longjmp_chk3.c: New file.
39324
39325 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39326 (test_main): Replace code with set_fortify_handler call.
39327 * debug/test-strcpy_chk.c: Likewise.
39328 * debug/tst-chk1.c: Likewise.
39329 * debug/tst-longjmp_chk.c: Likewise.
39330 * test-skeleton.c: Include fcntl.h & paths.h
39331 (set_fortify_handler): Define.
39332
39333 * debug/tst-longjmp_chk.c: Add header comment and include
39334 ../test-skeleton.c.
39335 (do_test): Mark static.
39336 (TEST_FUNCTION): Define.
39337
39338 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39339 (IP_PMTUDISC_INTERFACE): Likewise.
39340 (IP_MULTICAST_IF): Likewise.
39341 (IP_MULTICAST_TTL): Likewise.
39342 (IP_MULTICAST_LOOP): Likewise.
39343 (IP_ADD_MEMBERSHIP): Likewise.
39344 (IP_DROP_MEMBERSHIP): Likewise.
39345 (IP_UNBLOCK_SOURCE): Likewise.
39346 (IP_BLOCK_SOURCE): Likewise.
39347 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39348 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39349 (IP_MSFILTER): Likewise.
39350 (MCAST_JOIN_GROUP): Likewise.
39351 (MCAST_BLOCK_SOURCE): Likewise.
39352 (MCAST_UNBLOCK_SOURCE): Likewise.
39353 (MCAST_LEAVE_GROUP): Likewise.
39354 (MCAST_JOIN_SOURCE_GROUP): Likewise.
39355 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39356 (MCAST_MSFILTER): Likewise.
39357 (IP_MULTICAST_ALL): Likewise.
39358 (IP_UNICAST_IF): Likewise.
39359
39360 * timezone/Makefile: Delete $(have-ksh) check.
39361 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39362 * timezone/tzselect.ksh: Add +x mode bits.
39363
39364 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39365 (ANON_INODE_FS_MAGIC): Likewise.
39366 (BDEVFS_MAGIC): Likewise.
39367 (BINFMTFS_MAGIC): Likewise.
39368 (BTRFS_TEST_MAGIC): Likewise.
39369 (CRAMFS_MAGIC_WEND): Likewise.
39370 (DEBUGFS_MAGIC): Likewise.
39371 (ECRYPTFS_SUPER_MAGIC): Likewise.
39372 (EXT3_SUPER_MAGIC): Likewise.
39373 (EXT4_SUPER_MAGIC): Likewise.
39374 (FUTEXFS_SUPER_MAGIC): Likewise.
39375 (HOSTFS_SUPER_MAGIC): Likewise.
39376 (HUGETLBFS_MAGIC): Likewise.
39377 (MINIX3_SUPER_MAGIC): Likewise.
39378 (MTD_INODE_FS_MAGIC): Likewise.
39379 (NILFS_SUPER_MAGIC): Likewise.
39380 (OPENPROM_SUPER_MAGIC): Likewise.
39381 (PIPEFS_MAGIC): Likewise.
39382 (PSTOREFS_MAGIC): Likewise.
39383 (QNX6_SUPER_MAGIC): Likewise.
39384 (RAMFS_MAGIC): Likewise.
39385 (REISERFS_SUPER_MAGIC_STRING): Likewise.
39386 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39387 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39388 (SECURITYFS_MAGIC): Likewise.
39389 (SELINUX_MAGIC): Likewise.
39390 (SMACK_MAGIC): Likewise.
39391 (SOCKFS_MAGIC): Likewise.
39392 (SQUASHFS_MAGIC): Likewise.
39393 (STACK_END_MAGIC): Likewise.
39394 (TMPFS_MAGIC): Likewise.
39395 (USBDEVICE_SUPER_MAGIC): Likewise.
39396 (V9FS_MAGIC): Likewise.
39397 (XENFS_SUPER_MAGIC): Likewise.
39398 (CRAMFS_MAGIC): Fix typo in comment.
39399 (EXT2_SUPER_MAGIC): Update comment.
39400 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39401
39402 2014-02-08 Joseph Myers <joseph@codesourcery.com>
39403
39404 * sysdeps/arm: Move directory from ports/sysdeps/arm.
39405 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39406 * sysdeps/unix/sysv/linux/arm: Move directory from
39407 ports/sysdeps/unix/sysv/linux/arm.
39408 * README: Update listing for arm-*-linux-gnueabi.
39409
39410 * README: Remove mention of am33.
39411
39412 2014-02-07 Roland McGrath <roland@hack.frob.com>
39413
39414 * bits/sigset.h (__sigemptyset): Use a statement expression rather
39415 than the comma operator, to avoid "rhs of comma has no effect"
39416 compiler warnings.
39417 (__sigfillset, __sigandset, __sigorset): Likewise.
39418 * include/signal.h (__sigemptyset): Likewise.
39419 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39420
39421 2014-02-07 Allan McRae <allan@archlinux.org>
39422
39423 * version.h (RELEASE): Set to "development".
39424 (VERSION): Set to "2.19.90"
39425 * NEWS: Add 2.20 section.
39426
39427 2014-02-06 Carlos O'Donell <carlos@redhat.com>
39428
39429 [BZ #16529]
39430 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39431
39432 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39433
39434 * manual/contrib.texi: Update entry for Carlos O'Donell,
39435 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39436
39437 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
39438
39439 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39440
39441 * sysdeps/unix/sysv/linux/kernel-features.h
39442 [__LINUX_KERNEL_VERSION >= 0x020621]
39443 (__ASSUME_PROC_PID_TASK_COMM): Define.
39444
39445 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39446
39447 [BZ #16398]
39448 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39449 conversion when destination buffer does not have enough space.
39450 * libio/tst-ftell-partial-wide.c: New test case.
39451 * libio/Makefile (tests): Add tst-ftell-partial-wide.
39452
39453 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39454 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
39455 Leonard and Allan McRae.
39456
39457 2014-02-04 David S. Miller <davem@davemloft.net>
39458
39459 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39460 32-bit.
39461
39462 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39463
39464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39465 New file
39466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39467 New file
39468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39469 New file.
39470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39471 New file.
39472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39473 New file.
39474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39475 New file.
39476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39477 New file.
39478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39479 New file.
39480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39481 New file.
39482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39483 New file.
39484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39485 New file.
39486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39487 New file.
39488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39489 New file.
39490
39491 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39492
39493 * nptl/shlib-versions: Change powerpc*le start to 2.17.
39494 * shlib-versions: Likewise.
39495
39496 2014-02-04 Roland McGrath <roland@hack.frob.com>
39497 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39498
39499 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39500 (abilist-pattern): New variable, set to %-le.abilist.
39501
39502 * Makerules (abilist-pattern): New variable.
39503 (vpath): Use $(abilist-pattern) in place of %.abilist.
39504 (check-abi-% pattern rule): Likewise.
39505 (check-abi, update-abi): Likewise.
39506
39507 2014-02-04 Eric Wong <normalperson@yhbt.net>
39508
39509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39510
39511 2014-02-03 Carlos O'Donell <carlos@redhat.com>
39512
39513 * manual/startup.texi: Add next, previous, and top entries for
39514 the `Program Arguments' and `Environment Variables' nodes.
39515
39516 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
39517
39518 * manual/macros.texi: Add comments before MTASC-safety macros.
39519
39520 * manual/users.texi: Document MTASC-safety properties.
39521
39522 * manual/threads.texi (pthread_key_create, pthread_key_delete)
39523 (pthread_getspecific, pthread_setspecific): Format with
39524 @deftypefun, and add @safety note.
39525 * manual/signal.texi: Move comments that analyze the above
39526 functions to their home place.
39527
39528 2014-02-03 Allan McRae <allan@archlinux.org>
39529
39530 * po/sl.po: Update Slovenian translation from translation project.
39531
39532 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
39533
39534 * manual/time.texi (timegm): Add missing blank after @c.
39535 Reported by Joseph Myers <joseph@codesourcery.com>.
39536
39537 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
39538
39539 * manual/check-safety.sh: New.
39540 * manual/Makefile ($(objpfx)stamp-summary): Run it.
39541
39542 * manual/terminal.texi: Document MTASC-safety properties.
39543
39544 * manual/filesys.texi: Document MTASC-safety properties.
39545
39546 * manual/errno.texi: Document MTASC-safety properties.
39547
39548 * manual/intro.texi: Document safety identifiers and
39549 conditionals.
39550
39551 * manual/string.texi (wcstok): Fix prototype.
39552 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39553
39554 * manual/time.texi: Document MTASC-safety properties.
39555
39556 * manual/string.texi: Document MTASC-safety properties.
39557
39558 * manual/threads.texi: Document MTASC-safety properties.
39559
39560 * manual/stdio.texi: Document MTASC-safety properties.
39561
39562 * manual/syslog.texi: Document MTASC-safety properties.
39563
39564 * manual/sysinfo.texi: Document MTASC-safety properties.
39565
39566 * manual/startup.texi: Document MTASC-safety properties.
39567
39568 * manual/socket.texi: Document MTASC-safety properties.
39569
39570 * manual/signal.texi: Document MTASC-safety properties.
39571
39572 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
39573
39574 * manual/setjmp.texi: Document MTASC-safety properties.
39575
39576 * manual/search.texi: Document MTASC-safety properties.
39577
39578 * manual/resource.texi: Document MTASC-safety properties.
39579
39580 * manual/process.texi: Document MTASC-safety properties.
39581
39582 * manual/platform.texi: Document MTASC-safety properties.
39583
39584 * manual/pipe.texi: Document MTASC-safety properties.
39585
39586 * manual/pattern.texi: Document MTASC-safety properties.
39587
39588 * manual/message.texi: Document MTASC-safety properties.
39589
39590 [BZ #12751]
39591 * manual/memory.texi: Document MTASC-safety properties.
39592
39593 * manual/math.texi: Document MTASC-safety properties.
39594
39595 * manual/locale.texi: Document MTASC-safety properties.
39596
39597 * manual/llio.texi: Document MTASC-safety properties.
39598
39599 * manual/libdl.texi: New.
39600
39601 * manual/lang.texi: Document MTASC-safety properties.
39602
39603 * manual/job.texi: Document MTASC-safety properties.
39604
39605 * manual/getopt.texi: Document MTASC-safety properties.
39606
39607 * manual/ctype.texi: Document MTASC-safety properties.
39608
39609 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
39610
39611 [BZ #16046]
39612 * csu/libc-tls.c (static_map): Remove variable.
39613 (__libc_setup_tls): Use main executable's link map for TLS data.
39614 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39615 casing for LM_ID_BASE and GL(dl_nns).
39616 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39617 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
39618 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39619 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39620 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39621 member.
39622 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39623 l_phnum members.
39624
39625 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
39626
39627 * manual/debug.texi: Document MTASC-safety properties.
39628
39629 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
39630
39631 [BZ #16510]
39632 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39633 of __x86_64__ when disabling x87 inline functions.
39634
39635 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
39636
39637 * manual/charset.texi: Document MTASC-safety properties.
39638
39639 * manual/crypt.texi: Document MTASC-safety properties.
39640
39641 * manual/conf.texi: Document MTASC-safety properties.
39642
39643 * manual/arith.texi: Document MTASC-safety properties.
39644
39645 * manual/argp.texi: Document MTASC-safety properties.
39646
39647 * manual/macros.texi: Introduce macros to document multi
39648 thread, asynchronous signal and asynchronous cancellation
39649 safety properties.
39650 * manual/intro.texi: Introduce the properties themselves.
39651
39652 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39653
39654 * sysdeps/sh/sh4/Makefile: New file.
39655
39656 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
39657
39658 * math/gen-libm-test.pl ($srcdir): New variable.
39659 ($auto_input): Use it.
39660
39661 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39662
39663 [BZ #16506]
39664 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39665 access beyond array bounds when parsing netgroups file.
39666
39667 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39668 the old buffer before realloc.
39669
39670 2014-01-27 Allan McRae <allan@archlinux.org>
39671
39672 * po/fr.po: Update French translation from translation project.
39673
39674 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39675
39676 * sysdeps/sh/libm-test-ulps: Regenerate.
39677
39678 2014-01-24 David S. Miller <davem@davemloft.net>
39679
39680 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39681
39682 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39683
39684 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39685 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39686
39687 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39688
39689 [BZ #16474]
39690 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39691 string pointers after reallocation.
39692
39693 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39694
39695 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39696 __SH4A__ instead of __SH_FPU_ANY__.
39697
39698 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39699
39700 * sysdeps/sh/fpu_control.h: New file.
39701 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39702 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39703 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39704 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39705 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39706 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39707 * sysdeps/sh/sys/ucontext.h: Remove.
39708 * sysdeps/sh/sys: Remove directory.
39709
39710 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39711
39712 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39713 s390/sys/ucontext.h.
39714 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39715 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39716
39717 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
39718
39719 [BZ #15605]
39720 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39721
39722 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39723
39724 [BZ#16431]
39725 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39726 Adjust the vDSO correctly for internal calls.
39727 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39728
39729 2014-01-20 Allan McRae <allan@archlinux.org>
39730
39731 * po/ca.po: Update Catalan translation from translation project.
39732
39733 2014-01-16 Mike Frysinger <vapier@gentoo.org>
39734
39735 * sysdeps/s390/sotruss-lib.c: New file.
39736
39737 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39738
39739 [BZ#16430]
39740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39741 (__GI___gettimeofday): Alias for a different internal symbol to avoid
39742 local calls issues by not having a PLT stub required for IFUNC calls.
39743 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39744
39745 2014-01-16 Joseph Myers <joseph@codesourcery.com>
39746
39747 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39748 * math/test-fpucw-static.c: Likewise.
39749
39750 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39751
39752 [BZ #16453]
39753 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39754
39755 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39756
39757 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39758 implementation for powerpc.
39759
39760 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
39761
39762 [BZ #14782]
39763 * sysdeps/posix/system.c (__libc_system): Do not enable
39764 asynchronous cancellation.
39765
39766 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39767
39768 [BZ #16427]
39769 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39770 handling only for numbers special also in the IEEE case.
39771
39772 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39773
39774 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39775
39776 2014-01-11 Allan McRae <allan@archlinux.org>
39777
39778 * po/bg.po: Update Bulgarian translation from translation project.
39779
39780 * po/de.po: Update German translation from translation project.
39781
39782 2014-01-10 Roland McGrath <roland@hack.frob.com>
39783
39784 * sysdeps/generic/gcc-compat.h: New file.
39785
39786 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39787
39788 * benchtests/asin-inputs: Correct slow inputs.
39789 * benchtests/acos-inputs: Likewise.
39790
39791 2014-01-10 Allan McRae <allan@archlinux.org>
39792
39793 * po:sv.po: Update Swedish translation from translation project.
39794
39795 * po/vi.po: Update Vietnamese translation from translation project.
39796
39797 * po/eo.po: Update Esperanto translation from translation project.
39798
39799 * po/cs.po: Update Czech translation from translation project.
39800
39801 * po/nl.po: Update Dutch translation from translation project.
39802
39803 * po/pl.po: Update Polish translation from translation project.
39804
39805 * po/ru.po: Update Russian translation from translation project.
39806
39807 * po/uk.po: Update Ukrainian translation from translation project.
39808
39809 2014-01-08 Brooks Moses <bmoses@google.com>
39810
39811 * elf/dl-load.c: Fix comment typo.
39812
39813 2014-01-08 Carlos O'Donell <carlos@redhat.com>
39814
39815 * po/header.pot: Rename to...
39816 * po/pot.header: ... this.
39817 * po/Makefile: Use pot.header.
39818
39819 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
39820 Maxim Kuvyrkov <maxim@kugelworks.com>
39821
39822 [BZ #16394]
39823 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39824 SRC and DEST against LEN.
39825
39826 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39827
39828 [BZ #16414]
39829 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39830 implementation.
39831 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39832
39833 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39834
39835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39836
39837 2014-01-08 Joseph Myers <joseph@codesourcery.com>
39838
39839 [BZ #16408]
39840 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39841 for large positive arguments.
39842
39843 2014-01-07 Joseph Myers <joseph@codesourcery.com>
39844
39845 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39846
39847 * math/auto-libm-test-in: Mark various tests with
39848 xfail-rounding:ldbl-128ibm.
39849 * math/auto-libm-test-out: Regenerated.
39850
39851 [BZ #16407]
39852 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39853 Increase overflow threshold.
39854
39855 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
39856
39857 [BZ #14286]
39858 * stdio-common/vfprintf.c: Check for integer overflow.
39859
39860 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39861
39862 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39863 the first argument and return value of __tls_get_addr_internal.
39864
39865 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39866
39867 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39868 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39869
39870 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39871
39872 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39873 * sysdeps/s390/rtld-global-offsets.sym: New file.
39874 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39875 GLIBC_2.19 symbol.
39876 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39877 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39878 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39879 ... this.
39880 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39881 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39882 ... this.
39883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39884 Regenerate.
39885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39886 Regenerate.
39887 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39888 halfs of GPRs for high_gprs contexts.
39889 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39890 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
39891 field.
39892 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39893 uc_flags field.
39894 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39895 64 bit versions:
39896 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39897 for high GPRs (uc_high_gprs) and for future extensions
39898 (__reserved).
39899 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39900 for future extensions (__reserved).
39901 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39902 64 bit versions:
39903 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39904 SC_HIGHGPRS offset definition.
39905 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39906 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39907
39908 * Versions.def: Add GLIBC_2.19 for libpthread.
39909 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39910 siglongjmp for libpthread with GLIBC_2.19 symver.
39911 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39912 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39913 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39914 * sysdeps/s390/__longjmp.c: New file.
39915 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39916 * sysdeps/s390/longjmp.c: New file.
39917 * sysdeps/s390/setjmp.S: New file.
39918 * sysdeps/s390/sigjmp.S: New file.
39919 * sysdeps/s390/v1-longjmp.c: New file.
39920 * sysdeps/s390/v1-setjmp.h: New file.
39921 * sysdeps/s390/v1-sigjmp.c: New file.
39922 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39923 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39924 GLIBC_2.19 version.
39925 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39926 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39927 versioned symbols for ____longjmp_chk.
39928 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39929 Likewise.
39930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39931 Regenerate.
39932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39933 Regenerate.
39934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39935 Regenerate.
39936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39937 Regenerate.
39938 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39939 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39940 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39941 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39942 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39943 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39944 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39945 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39946 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39947 * sysdeps/s390/rtld-__longjmp.c: New file.
39948 * sysdeps/s390/rtld-setjmp.S: New file.
39949
39950 2014-01-06 Joseph Myers <joseph@codesourcery.com>
39951
39952 [BZ #16400]
39953 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39954 Return -__logl (x) for small positive arguments without evaluating
39955 a polynomial.
39956
39957 2014-01-06 Mike Frysinger <vapier@gentoo.org>
39958
39959 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39960 Rename to ...
39961 (__ptrace_peeksiginfo_args): ... this.
39962 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39963 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39964 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39965
39966 2014-01-06 Allan McRae <allan@archlinux.org>
39967
39968 * inet/netinet/in.h: Fix typo in comment.
39969
39970 2014-01-05 Andreas Jaeger <aj@suse.de>
39971
39972 * sysdeps/i386/fpu/libm-test-ulps: Update.
39973
39974 2014-01-05 Allan McRae <allan@archlinux.org>
39975
39976 * po/libc.pot: Regenerated.
39977
39978 * malloc/memusagestat.c: Fix gettext call formatting.
39979
39980 2014-01-04 Sami Kerola <kerolasa@iki.fi>
39981
39982 * nscd/nscd.c: Improve usage() output.
39983
39984 2014-01-04 Mike Frysinger <vapier@gentoo.org>
39985
39986 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39987 * sysdeps/unix/sysv/linux/configure: Regenerated.
39988 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39989 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39990
39991 2014-01-03 Joseph Myers <joseph@codesourcery.com>
39992
39993 [BZ #16390]
39994 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39995 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39996
39997 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39998
39999 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40000 extra tokens at end of #undef directive.
40001 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40002 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40003 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40004
40005 2014-01-03 Joseph Myers <joseph@codesourcery.com>
40006
40007 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40008
40009 * math/auto-libm-test-in: Mark various tests with
40010 xfail-rounding:ldbl-128ibm.
40011 * math/auto-libm-test-out: Regenerated.
40012
40013 2014-01-02 Joseph Myers <joseph@codesourcery.com>
40014
40015 [BZ #16386]
40016 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40017 numbers with subnormal high part when calculating exponent.
40018
40019 [BZ #16385]
40020 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40021 fabs.
40022
40023 [BZ #16384]
40024 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40025 M_LN2l.
40026 (__ieee754_acoshl): Use __log1pl not __log1p.
40027
40028 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
40029
40030 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40031 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40032 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40033 (grow_heap, heap_trim, _int_new_arena, get_free_list)
40034 (reused_arena, arena_get2): Convert to GNU style.
40035 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40036 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40037 (memalign_check, __malloc_set_state): Likewise.
40038 * malloc/mallocbug.c (main): Likewise.
40039 * malloc/malloc.c (__malloc_assert, malloc_init_state)
40040 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40041 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40042 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40043 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40044 (__posix_memalign, malloc_info): Likewise.
40045 * malloc/malloc.h: Likewise.
40046 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40047 (mallochook, memalignhook, reallochook, mabort): Likewise.
40048 * malloc/mcheck.h: Likewise.
40049 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40050 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40051 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40052 * malloc/morecore.c (__default_morecore): Likewise.
40053 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40054 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40055 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40056 (print_and_abort): Likewise.
40057 * malloc/obstack.h: Likewise.
40058 * malloc/set-freeres.c (__libc_freeres): Likewise.
40059 * malloc/tst-mallocstate.c (main): Likewise.
40060 * malloc/tst-mtrace.c (main): Likewise.
40061 * malloc/tst-realloc.c (do_test): Likewise.
40062
40063 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40064
40065 [BZ #16366]
40066 * nscd/netgroupcache.c (do_notfound): New function.
40067 (addgetnetgrentX): Use it.
40068
40069 [BZ # 16365]
40070 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40071 NSS_STATUS_NOTFOUND.
40072
40073 2014-01-01 Joseph Myers <joseph@codesourcery.com>
40074
40075 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40077
40078 2014-01-01 Allan McRae <allan@archlinux.org>
40079
40080 * scripts/update-copyrights: Update configure input file suffix.
40081
40082 * NEWS: Update copyright year.
40083 * catgets/gencat.c: Likewise.
40084 * csu/version.c: Likewise.
40085 * debug/catchsegv.sh: Likewise.
40086 * debug/pcprofiledump.c: Likewise.
40087 * debug/xtrace.sh: Likewise.
40088 * elf/ldconfig.c: Likewise.
40089 * elf/ldd.bash.in: Likewise.
40090 * elf/pldd.c: Likewise.
40091 * elf/sotruss.ksh: Likewise.
40092 * elf/sprof.c: Likewise.
40093 * iconv/iconv_prog.c: Likewise.
40094 * iconv/iconvconfig.c: Likewise.
40095 * locale/programs/locale.c: Likewise.
40096 * locale/programs/localedef.c: Likewise.
40097 * login/programs/pt_chown.c: Likewise.
40098 * malloc/memusage.sh: Likewise.
40099 * malloc/memusagestat.c: Likewise.
40100 * malloc/mtrace.pl: Likewise.
40101 * manual/libc.texinfo: Likewise.
40102 * nscd/nscd.c: Likewise.
40103 * nss/getent.c: Likewise.
40104 * nss/makedb.c: Likewise.
40105 * posix/getconf.c: Likewise.
40106 * scripts/test-installation.pl: Likewise.
40107
40108 * All files with FSF copyright notices: Update copyright dates
40109 using scripts/update-copyrights.
40110 * intl/plural.c: Regenerated.
40111 * locale/programs/charmap-kw.h: Likewise.
40112 * locale/programs/locfile-kw.h: Likewise.
40113
40114 2013-12-31 Mike Frysinger <vapier@gentoo.org>
40115
40116 * sysdeps/unix/sysv/linux/configure: Regenerated.
40117 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40118 the linux/fanotify.h header.
40119 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40120 HAVE_LINUX_FANOTIFY_H is defined.
40121
40122 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40123
40124 * benchtests/cos-inputs: New inputs.
40125 * benchtests/sin-inputs: Likewise.
40126
40127 * benchtests/atan-inputs: New inputs. Fix name of multiple
40128 precision fallback inputs.
40129
40130 * benchtests/atanh-inputs: New inputs.
40131 * benchtests/tanh-inputs: Likewise.
40132
40133 * benchtests/acosh-inputs: New inputs.
40134 * benchtests/asinh-inputs: Likewise.
40135
40136 * benchtests/cosh-inputs: New inputs.
40137 * benchtests/sinh-inputs: Likewise.
40138
40139 * benchtests/acos-inputs: Add more inputs.
40140 * benchtests/asin-inputs: Likewise.
40141
40142 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
40143
40144 [BZ #16375]
40145 * manual/arith.texi: Fix spelling.
40146 * manual/charset.texi: Likewise.
40147 * manual/errno.texi: Likewise.
40148 * manual/filesys.texi: Likewise.
40149 * manual/lang.texi: Likewise.
40150 * manual/llio.texi: Likewise.
40151 * manual/locale.texi: Likewise.
40152 * manual/message.texi: Likewise.
40153 * manual/resource.texi: Likewise.
40154 * manual/search.texi: Likewise.
40155 * manual/setjmp.texi: Likewise.
40156 * manual/stdio.texi: Likewise.
40157 * manual/string.texi: Likewise.
40158 * manual/sysinfo.texi: Likewise.
40159 * manual/time.texi: Likewise.
40160
40161 2013-12-27 Carlos O'Donell <carlos@redhat.com>
40162
40163 * po/sl.po: New file.
40164
40165 2013-12-27 Mike Frysinger <vapier@gentoo.org>
40166
40167 * .gitignore: Add core/.gdbinit/.gdb_history.
40168
40169 2013-12-27 Allan McRae <allan@archlinux.org>
40170
40171 [BZ #16369]
40172 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40173 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40174
40175 2013-12-24 Brooks Moses <bmoses@google.com>
40176
40177 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40178 all compilers that claim C++98 compliance, not just GCC.
40179 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40180 Likewise.
40181
40182 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
40183
40184 * NEWS: Restore accidentally deleted bug-fix entries.
40185
40186 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
40187 Ondřej Bílka <neleai@seznam.cz>
40188
40189 [BZ #15073]
40190 * malloc/malloc.c (_int_free): Perform sanity check only if we
40191 have_lock.
40192
40193 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
40194
40195 [BZ #12986]
40196 * manual/stdio.texi (String Input Conversions): Clarify that character
40197 classes are not supported.
40198
40199 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40200
40201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40202
40203 2013-12-22 Joseph Myers <joseph@codesourcery.com>
40204
40205 [BZ #16337]
40206 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40207 Calculate results for small negative arguments directly rather
40208 than using reflection formula with special underflow handling.
40209
40210 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40211 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40212 sysdeps/unix/bsd/bsd4.4/syscalls.list.
40213 (fchflags): Likewise.
40214 (revoke): Likewise.
40215 (setlogin): Likewise.
40216 (sigaltstack): Likewise.
40217 (wait4): Likewise.
40218 (sigblock): Remove.
40219 (sigsetmask): Likewise.
40220 (wait3): Likewise.
40221 (waitpid): Likewise.
40222 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40223 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40224 file.
40225 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40226 * sysdeps/unix/bsd/Makefile: ... here.
40227 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40228 * sysdeps/unix/bsd/Versions: ... here.
40229 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40230 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40231 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40232 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40233 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40234 * sysdeps/unix/bsd/sigblock.c: ... here.
40235 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40236 * sysdeps/unix/bsd/sigsetmask.c: ... here.
40237 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40238 * sysdeps/unix/bsd/sigvec.c: ... here.
40239 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40240 * sysdeps/unix/bsd/tcdrain.c: ... here.
40241 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40242 * sysdeps/unix/bsd/tcgetattr.c: ... here.
40243 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40244 * sysdeps/unix/bsd/tcsetattr.c: ... here.
40245 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40246 * sysdeps/unix/bsd/wait.c: ... here.
40247 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40248 * sysdeps/unix/bsd/wait3.c: ... here.
40249 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40250 * sysdeps/unix/bsd/waitpid.c: ... here.
40251
40252 2013-12-21 Joseph Myers <joseph@codesourcery.com>
40253
40254 [BZ #16356]
40255 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40256 round-to-nearest for [!USE_AS_EXPM1L].
40257 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40258 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
40259 more tests of exp and exp10. Expect some exp10 tests to miss
40260 exceptions or fail in directed rounding modes.
40261 * math/auto-libm-test-out: Regenerated.
40262 * math/libm-test.inc (exp10_tonearest_test_data): New array.
40263 (exp10_test_tonearest): New function.
40264 (exp10_towardzero_test_data): New array.
40265 (exp10_test_towardzero): New function.
40266 (exp10_downward_test_data): New array.
40267 (exp10_test_downward): New function.
40268 (exp10_upward_test_data): New array.
40269 (exp10_test_upward): New function.
40270 (main): Call the new functions.
40271 * sysdeps/i386/fpu/libm-test-ulps: Update.
40272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40273
40274 2013-12-20 Joseph Myers <joseph@codesourcery.com>
40275
40276 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40277 asinh, atan, atan2, atanh, cbrt, cos and cosh.
40278 * math/auto-libm-test-out: Regenerated.
40279 * math/libm-test.inc (acosh_test_data): Add more tests.
40280 (atanh_test_data): Likewise.
40281 (ceil_test_data): Likewise.
40282 (copysign_test_data): Likewise.
40283 * sysdeps/i386/fpu/libm-test-ulps: Update.
40284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40285
40286 * timezone/checktab.awk: Update from tzcode 2013i.
40287 * timezone/private.h: Likewise.
40288 * timezone/scheck.c: Likewise.
40289 * timezone/tzfile.h: Likewise.
40290 * timezone/tzselect.ksh: Likewise.
40291 * timezone/zdump.c: Likewise.
40292 * timezone/zic.c: Likewise.
40293
40294 * math/auto-libm-test-in: Add tests of cpow.
40295 * math/auto-libm-test-out: Regenerated.
40296 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40297 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40298 mpc_cc_c.
40299 (func_calc_desc): Add mpc_cc_c union field.
40300 (test_functions): Add cpow.
40301 (special_fill_2pi): New function.
40302 (special_real_inputs): Add 2pi.
40303 (calc_generic_results): Handle mpc_cc_c.
40304 * sysdeps/i386/fpu/libm-test-ulps: Update.
40305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40306
40307 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40308 csqrt, ctan and ctanh.
40309 * math/auto-libm-test-out: Regenerated.
40310 * math/libm-test.inc (TEST_COND_x86_64): New macro.
40311 (TEST_COND_x86): Likewise.
40312 (ccos_test_data): Use AUTO_TESTS_c_c.
40313 (ccosh_test_data): Likewise.
40314 (cexp_test_data): Likewise.
40315 (clog_test_data): Likewise.
40316 (csqrt_test_data): Likewise.
40317 (ctan_test_data): Likewise.
40318 (ctan_tonearest_test_data): Likewise.
40319 (ctan_towardzero_test_data): Likewise.
40320 (ctan_downward_test_data): Likewise.
40321 (ctan_upward_test_data): Likewise.
40322 (ctanh_test_data): Likewise.
40323 (ctanh_tonearest_test_data): Likewise.
40324 (ctanh_towardzero_test_data): Likewise.
40325 (ctanh_downward_test_data): Likewise.
40326 (ctanh_upward_test_data): Likewise.
40327 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40328 mpc_c_c.
40329 (func_calc_desc): Add mpc_c_c union field.
40330 (FUNC_mpc_c_c): New macro.
40331 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40332 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40333 ctanh.
40334 (special_fill_min_subnorm_p120): New function.
40335 (special_real_inputs): Add min_subnorm_p120.
40336 (calc_generic_results): Handle mpc_c_c.
40337 * sysdeps/i386/fpu/libm-test-ulps: Update.
40338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40339
40340 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40341
40342 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40343 (do_sin_slow): New functions.
40344 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40345 (cslow2, csloww1, csloww2): Use the new functions.
40346
40347 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40348 Use M to change sign of result instead of X. Assume X is
40349 positive.
40350 (csloww1): Likewise.
40351 (__sin): Adjust.
40352 (__cos): Adjust.
40353
40354 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40355 arguments A and DA.
40356 (__sin): Adjust.
40357 (__cos): Likewise.
40358
40359 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40360 (__cos): Likewise.
40361 (sloww1): Don't adjust sign of DX.
40362 (csloww1): Likewise.
40363 (sloww2): Use X directly and don't adjust sign of DX.
40364 (csloww2): Likewise.
40365
40366 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40367
40368 * math/auto-libm-test-in: Add tests of cabs and carg.
40369 * math/auto-libm-test-out: Regenerated.
40370 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40371 (carg_test_data): Likewise.
40372 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40373 mpc_c_f.
40374 (func_calc_desc): Add mpc_c_f union field.
40375 (test_functions): Add cabs and carg.
40376 (calc_generic_results): Handle mpc_c_f.
40377
40378 * sysdeps/powerpc/powerpc32/libgcc-compat.S
40379 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40380 as a macro and a compat symbol.
40381 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40382 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40383 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40384 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40385 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40386 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40387 not use .hidden.
40388 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40389 Likewise.
40390 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40391 Likewise.
40392 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40393 Likewise.
40394 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40395 Likewise.
40396 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40397 Likewise.
40398 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40399 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40400 from GLIBC_2.3.2.
40401
40402 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40403
40404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40405
40406 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40407
40408 * manual/texinfo.tex: Update to version 2013-11-26.10 with
40409 trailing whitespace removed.
40410 * scripts/config.guess: Update to version 2013-11-29.
40411 * scripts/config.sub: Update to version 2013-10-01.
40412
40413 * math/auto-libm-test-in: Add tests of sincos.
40414 * math/auto-libm-test-out: Regenerated.
40415 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40416 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40417 mpfr_f_11.
40418 (func_calc_desc): Add mpfr_f_11 union field.
40419 (test_functions): Add sincos.
40420 (calc_generic_results): Handle mpfr_f_11.
40421 * sysdeps/i386/fpu/libm-test-ulps: Update.
40422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40423
40424 2013-12-19 Andreas Schwab <schwab@suse.de>
40425
40426 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40427 CALL_MCOUNT.
40428 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40429 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40430 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40431
40432 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40433
40434 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40435 * sysdeps/i386/fpu/libm-test-ulps: Update.
40436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40437
40438 [BZ #16293]
40439 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40440 round-to-nearest mode when using frndint.
40441 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40442 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40443 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40444 Likewise.
40445 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
40446 sinh test to fail.
40447 * math/auto-libm-test-out: Regenerated.
40448 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40449 (TEST_COND_x86): Likewise.
40450 (expm1_tonearest_test_data): New array.
40451 (expm1_test_tonearest): New function.
40452 (expm1_towardzero_test_data): New array.
40453 (expm1_test_towardzero): New function.
40454 (expm1_downward_test_data): New array.
40455 (expm1_test_downward): New function.
40456 (expm1_upward_test_data): New array.
40457 (expm1_test_upward): New function.
40458 (main): Run the new test functions.
40459 * sysdeps/i386/fpu/libm-test-ulps: Update.
40460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40461
40462 * include/features.h: Update comment documenting feature test
40463 macros. Mention _DEFAULT_SOURCE in comment.
40464 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40465 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40466 _BSD_SOURCE and _SVID_SOURCE.
40467 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40468 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40469 !_SVID_SOURCE]: Likewise.
40470 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40471 (__USE_POSIX_IMPLICITLY): Define.
40472 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40473 (_POSIX_SOURCE): Undefine and redefine.
40474 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40475 (_POSIX_C_SOURCE): Likewise.
40476 * manual/creature.texi (_DEFAULT_SOURCE): Document.
40477 (Feature Test Macros): Update documentation of default features.
40478
40479 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40480
40481 * benchtests/Makefile: Add bench-strtok.
40482 * benchtests/bench-strtok.c: New file: strtok benchtest.
40483
40484 2013-12-19 Allan McRae <allan@archlinux.org>
40485
40486 * manual/install.texi: Suppress menu for plain text output.
40487 * INSTALL: Regenerated.
40488
40489 2013-12-18 Brooks Moses <bmoses@google.com>
40490
40491 [BZ #15846]
40492 * misc/getauxval.c: Include errno.h.
40493 (__getauxval): Set errno to ENOENT if the requested type is not
40494 found.
40495 * misc/sys/auxv.h (getauxval): Document that it may set errno;
40496 don't declare with __attribute_const__.
40497 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40498 * manual/startup.texi: Document that getauxval sets errno.
40499
40500 2013-12-18 Joseph Myers <joseph@codesourcery.com>
40501
40502 * math/auto-libm-test-in: Add tests of jn and yn.
40503 * math/auto-libm-test-out: Regenerated.
40504 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40505 (yn_test_data): Likewise.
40506 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40507 mpfr_if_f.
40508 (func_calc_desc): Add mpfr_if_f union field.
40509 (FUNC_mpfr_if_f): New macro.
40510 (test_functions): Add jn and yn.
40511 (calc_generic_results): Assert type of second input for
40512 mpfr_ff_f. Handle mpfr_if_f.
40513 (output_for_one_input_case): Disable all checking for arguments
40514 fitting floating-point types in case of an integer argument.
40515 * sysdeps/i386/fpu/libm-test-ulps: Update.
40516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40517
40518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40519 Don't expect fegetround reference in libm.so.
40520
40521 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40522
40523 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40524 $(config-cflags-nofma).
40525
40526 2013-12-18 Joseph Myers <joseph@codesourcery.com>
40527
40528 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40529 * math/auto-libm-test-out: Regenerated.
40530
40531 [BZ #16338]
40532 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40533 to determine exponent and adjust argument to have exponent of -1.
40534 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40535 log2.
40536 * math/auto-libm-test-out: Regenerated.
40537 * sysdeps/i386/fpu/libm-test-ulps: Update.
40538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40539
40540 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
40541
40542 * manual/probes.texi: Remove cases when per-thread arenas are
40543 disabled.
40544
40545 2013-12-18 Andreas Schwab <schwab@suse.de>
40546
40547 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40548 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40549 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40550 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40551 * sysdeps/i386/i686/multiarch/Makefile: Update.
40552 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40553
40554 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40555
40556 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40557 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40558
40559 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
40560
40561 [BZ #15968]
40562 Support TZ transition times < 00:00:00.
40563 This is needed for version-3 tz-format files; it supports time
40564 stamps past 2037 for America/Godthab (the only entry in the tz
40565 database for which this change is relevant).
40566 * manual/time.texi (TZ Variable): Document transition times
40567 from -167:59:59 through -00:00:01.
40568 * time/tzset.c (tz_rule): Time of day is now signed.
40569 (__tzset_parse_tz): Parse negative time of day.
40570
40571 Document TZ transition times >= 25:00:00.
40572 * manual/time.texi (TZ Variable): Document transition times from
40573 25:00:00 through 167:59:59. These are already supported, and this
40574 support will help with version-3 tz-format files.
40575
40576 * manual/time.texi (TZ Variable): Modernize North America example
40577 to reflect current (i.e., 2007-and-later) daylight saving rules.
40578
40579 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40580
40581 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40582
40583 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40584 * sysdeps/unix/bsd/bits/stat.h: Likewise.
40585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40587 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40588 * sysdeps/unix/bsd/bsdstat.h: Likewise.
40589 * sysdeps/unix/bsd/clock.c: Likewise.
40590 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40591 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40592 * sysdeps/unix/bsd/init-posix.c: Likewise.
40593 * sysdeps/unix/bsd/poll.c: Likewise.
40594 * sysdeps/unix/bsd/ptsname.c: Likewise.
40595 * sysdeps/unix/bsd/seekdir.c: Likewise.
40596 * sysdeps/unix/bsd/setegid.c: Likewise.
40597 * sysdeps/unix/bsd/seteuid.c: Likewise.
40598 * sysdeps/unix/bsd/setgid.c: Likewise.
40599 * sysdeps/unix/bsd/setrgid.c: Likewise.
40600 * sysdeps/unix/bsd/setruid.c: Likewise.
40601 * sysdeps/unix/bsd/setsid.c: Likewise.
40602 * sysdeps/unix/bsd/setuid.c: Likewise.
40603 * sysdeps/unix/bsd/sigaction.c: Likewise.
40604 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40605 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40606 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40607 * sysdeps/unix/bsd/telldir.c: Likewise.
40608 * sysdeps/unix/bsd/times.c: Likewise.
40609 * sysdeps/unix/bsd/usleep.c: Likewise.
40610
40611 * misc/Makefile (install-lib): Remove libbsd-compat.a.
40612 ($(objpfx)libbsd-compat.a): Remove rule.
40613
40614 * include/features.h (__FAVOR_BSD): Do not define.
40615 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40616 features conflicting with POSIX.
40617 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40618 (_BSD_SOURCE): Remove description of not being a subset of other
40619 feature test macros.
40620 * manual/job.texi (getpgrp): Do not document BSD version.
40621 (getpgid): Do not document by reference to BSD getpgrp.
40622 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40623 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40624 * signal/signal.h [__FAVOR_BSD]: Likewise.
40625 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40626 instead of making contents conditional on [__FAVOR_BSD].
40627 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40628
40629 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40630
40631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40632
40633 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40634
40635 [BZ #16314]
40636 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40637 values below 2**-450, not 2**-500.
40638 * math/auto-libm-test-in: Don't allow spurious underflow from
40639 hypot.
40640 * math/auto-libm-test-out: Regenerated.
40641
40642 [BZ #16316]
40643 [BZ #16330]
40644 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40645 values of ha and hb and sort them after adjusting subnormal
40646 arguments.
40647 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40648 Likewise.
40649 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40650 values of ea and eb and sort them after adjusting subnormal
40651 arguments.
40652 * math/auto-libm-test-in: Do not expect some hypot tests of
40653 subnormals to fail. Add more hypot tests.
40654 * math/auto-libm-test-out: Regenerated.
40655
40656 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40657
40658 [BZ #13304]
40659 * sysdeps/sh/s_fma.c: New file.
40660 * sysdeps/sh/s_fmaf.c: New file.
40661 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
40662 version.
40663 * sysdeps/sh/Implies: Add sh/soft-fp.
40664
40665 2013-12-16 Roland McGrath <roland@hack.frob.com>
40666
40667 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
40668 level of indirection to members `objname', `errstring', `malloced'.
40669 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40670 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
40671 it as the __longjmp argument (just pass 1 instead).
40672 (_dl_catch_error): Initialize C with argument pointers and address of
40673 volatile local ERRCODE rather than copying values out of C at return.
40674
40675 2013-12-16 Joseph Myers <joseph@codesourcery.com>
40676
40677 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40678 * math/auto-libm-test-out: Regenerated.
40679 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40680 (hypot_test_data): Likewise.
40681 (pow_test_data): Likewise.
40682 (pow_tonearest_test_data): Likewise.
40683 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40684 mpfr_ff_f.
40685 (func_calc_desc): Add mpfr_ff_f union field.
40686 (FUNC_mpfr_ff_f): New macro.
40687 (test_functions): Add atan2, hypot and pow.
40688 (special_fill_min): New function.
40689 (special_fill_minus_min): Likewise.
40690 (special_fill_min_subnorm): Likewise.
40691 (special_fill_minus_min_subnorm): Likewise.
40692 (special_real_inputs): Add min, -min, min_subnorm and
40693 -min_subnorm.
40694 (calc_generic_results): Handle mpfr_ff_f.
40695 * sysdeps/i386/fpu/libm-test-ulps: Update.
40696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40697
40698 2013-12-16 Will Newton <will.newton@linaro.org>
40699
40700 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40701 (Aligned Memory Blocks): Add documentation for aligned_alloc
40702 and suggest it as an alternative to posix_memalign.
40703 (Hooks for Malloc): Document __memalign_hook is also called
40704 for aligned_alloc. (Summary of Malloc): Add summary for
40705 aligned alloc. Document __memalign_hook is also called
40706 for aligned_alloc.
40707
40708 2013-12-16 Will Newton <will.newton@linaro.org>
40709
40710 * manual/memory.texi (Malloc Examples): Clarify default
40711 alignment documentation. Suggest posix_memalign rather
40712 than memalign or valloc.
40713 (Aligned Memory Blocks): Remove suggestion to use memalign
40714 or valloc. Remove obsolete comment about BSD.
40715 Document memalign errno values and mark the function obsolete.
40716 Document posix_memalign returned error codes. Mark valloc
40717 as obsolete. (Hooks for Malloc): __memalign_hook is also
40718 called for posix_memalign and valloc.
40719 (Summary of Malloc): Add posix_memalign to function summary.
40720 __memalign_hook is also called for posix_memalign and valloc.
40721
40722 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40723
40724 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40725 TAYLOR_SIN.
40726 (__sin): Adjust.
40727 (__cos): Likewise.
40728 (sloww): Use mynumber union. Expand ternary operator into
40729 if-else statements.
40730 (cslow): use mynumber union.
40731
40732 2013-12-16 Allan McRae <allan@archlinux.org>
40733
40734 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40735 * configure: Regenerated.
40736
40737 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40738
40739 [BZ #14120]
40740 * configure.ac: Added --enable-maintainer-mode. Check for
40741 autoconf when enabled.
40742 * configure: Regenerated.
40743
40744 * nscd/nscd.service: New file.
40745 * nscd/nscd.tmpfiles: New file.
40746
40747 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
40748
40749 [BZ #12100]
40750 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40751 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40752 * sysdeps/x86_64/multiarch/strstr.c: ... here.
40753 (strstr): Add __strstr_sse2_unaligned ifunc.
40754 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40755 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40756 (strcasestr): Remove __strcasestr_sse42 ifunc.
40757 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40760
40761 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40762
40763 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40764 * sysdeps/sh/bits/fenv.h: ... here.
40765 * sysdeps/sh/sh4/fpu/bits: Remove directory.
40766
40767 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40768
40769 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40770
40771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40772 hypotf multiarch implementations.
40773 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40774 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40775 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40776 multiarch hypot for PPC64.
40777 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40778 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40779 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40780 multiarch hypotf for PPC64.
40781
40782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40783 modff multiarch implementations.
40784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40787 multiarch modf for PPC64.
40788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40791 multiarch modff for PPC64.
40792
40793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40794 and logl multiarch implementations.
40795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40798 multiarch logb for PPC64.
40799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40802 multiarch logb for PPC64.
40803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40806 multiarch logb for PPC64.
40807
40808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40809 isinff multiarch implementation.
40810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40811 file.
40812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40814 multiarch isinf for PPC64.
40815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40816 file.
40817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40818 multiarch isinff for PPC64.
40819
40820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40821 finitef multiarch implementation.
40822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40823 file.
40824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40826 multiarch finite for PPC64.
40827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40828 file.
40829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40830 multiarch finitef for PPC64.
40831
40832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40833 lrint multiarch implementation.
40834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40835 file.
40836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40838 multiarch llrint for PPC64.
40839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40840 multiarch lrint for PPC64.
40841
40842 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40843 copysignf multiarch implementation.
40844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40845 file.
40846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40847 file.
40848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40849 multiarch copysign for PPC64.
40850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40851 multiarch copysignf for PPC64.
40852
40853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40854 multiarch implementation.
40855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40856 file.
40857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40858 file.
40859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40860 file.
40861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40862 file.
40863 multiarch llround for PPC64.
40864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40865 multiarch trunc for PPC64.
40866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40867 multiarch truncf for PPC64.
40868
40869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40870 multiarch implementation.
40871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40872 file.
40873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40874 file.
40875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40876 file.
40877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40878 file.
40879 multiarch llround for PPC64.
40880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40881 multiarch round for PPC64.
40882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40883 multiarch roundf for PPC64.
40884
40885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40886 multiarch implementation.
40887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40888 file.
40889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40890 file.
40891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40892 file.
40893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40894 file.
40895 multiarch llround for PPC64.
40896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40897 multiarch floor for PPC64.
40898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40899 multiarch floorf for PPC64.
40900
40901 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40902 multiarch implementation.
40903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40904 file.
40905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40906 file.
40907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40908 file.
40909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40910 file.
40911 multiarch llround for PPC64.
40912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40913 multiarch ceil for PPC64.
40914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40915 multiarch ceilf for PPC64.
40916
40917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40918 multiarch implementation.
40919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40920 file.
40921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40922 file.
40923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40924 file.
40925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40926 multiarch llround for PPC64.
40927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40928 multiarch lround for PPC64.
40929
40930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40931 multiarch implementation.
40932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40935 file.
40936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40939 multiarch isnan for PPC64.
40940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40941 multiarch isnanf for PPC64.
40942
40943 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40944 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40945 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40946 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40947 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40949
40950 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40951 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40953 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40954
40955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40956 multiarch implementations.
40957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40958 (__libc_ifunc_impl_list): Likewise.
40959 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40960 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40961 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40962 multiarch stpcpy for PPC64.
40963
40964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40965 multiarch implementations.
40966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40967 (__libc_ifunc_impl_list): Likewise.
40968 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40969 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40970 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40971 multiarch strcpy for PPC64.
40972
40973 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40974 redefine function name.
40975 (_wordcopy_fwd_dest_aligned): Likewise.
40976 (_wordcopy_bwd_aligned): Likewise.
40977 (_wordcopy_bwd_dest_aligned): Likewise.
40978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40979 multiarch implementations.
40980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40981 (__libc_ifunc_impl_list): Likewise.
40982 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40983 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40984 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40985 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40986 multiarch wcscpy for PPC64.
40987
40988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40989 multiarch implementations.
40990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40991 (__libc_ifunc_impl_list): Likewise.
40992 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40993 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40994 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40995 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40996 multiarch wcscpy for PPC64.
40997
40998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40999 multiarch implementations.
41000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41001 (__libc_ifunc_impl_list): Likewise.
41002 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41003 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41004 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41005 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41006 multiarch wcsrchr for PPC64.
41007
41008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41009 multiarch implementations.
41010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41011 (__libc_ifunc_impl_list): Likewise.
41012 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41013 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41014 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41015 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41016 multiarch wcschr for PPC64.
41017
41018 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41019 multiarch implementations.
41020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41021 (__libc_ifunc_impl_list): Likewise.
41022 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41023 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41024 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41025 multiarch strchrnul for PPC64.
41026
41027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41028 implementations.
41029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41030 (__libc_ifunc_impl_list): Likewise.
41031 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41032 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41033 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41034 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41035 strchr for PPC64.
41036
41037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41038 implementations.
41039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41040 (__libc_ifunc_impl_list): Likewise.
41041 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41042 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41043 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41044 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41045 strncmp for PPC64.
41046
41047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41048 multiarch implementations.
41049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41050 (__libc_ifunc_impl_list): Likewise.
41051 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41052 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41053 strncasecmp for PPC64.
41054 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41055 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41056 multiarch strncasecmp_l for PPC64.
41057
41058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41059 multiarch implementations.
41060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41061 (__libc_ifunc_impl_list): Likewise.
41062 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41063 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41064 multiarch strcasecmp for PPC64.
41065 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41066 file.
41067 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41068 multiarch strcasecmp_l for PPC64.
41069
41070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41071 implementations.
41072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41073 (__libc_ifunc_impl_list): Likewise.
41074 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41075 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41076 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41077 strnlen for PPC64.
41078
41079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41080 implementations.
41081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41082 (__libc_ifunc_impl_list): Likewise.
41083 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41084 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41085 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41086 strlen for PPC64.
41087
41088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41089 implementations.
41090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41091 (__libc_ifunc_impl_list): Likewise.
41092 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41093 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41094 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41095 rawmemrchr for PPC64.
41096
41097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41098 implementation.
41099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41100 (__libc_ifunc_impl_list): Likewise.
41101 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41102 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41103 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41104 memrchr for PPC64.
41105
41106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41107 implementation.
41108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41109 (__libc_ifunc_impl_list): Likewise.
41110 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41111 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41112 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41113 memchr for PPC64.
41114
41115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41116 implementation.
41117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41118 (__libc_ifunc_impl_list): Likewise.
41119 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41120 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41121 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41122 mempcpy for PPC64.
41123
41124 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41125 avoid cretion of __bzero symbol.
41126 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41127 Likewise.
41128 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41129 Likewise.
41130 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41131 Likewise.
41132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41133 multiarch implementations.
41134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41135 (__libc_ifunc_impl_list): Likewise.
41136 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41137 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41138 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41139 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41140 bzero for PPC32.
41141 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41142 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41143 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41144 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41145 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41146 memset for PPC64.
41147 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41148
41149 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41151 implementations.
41152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41153 (__libc_ifunc_impl_list): Likewise.
41154 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41155 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41156 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41157 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41158 memcmp for PPC64.
41159
41160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41161 multiarch for POWER/PPC64.
41162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41163 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41164 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41165 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41166 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41167 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41168 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41169 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41170 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41171 memcpy for PPC64.
41172
41173 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41174 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41175 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41176 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41177 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41178 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41179 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41180 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41181 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41182 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41183 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41184 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41185 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41186 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41187 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41195
41196 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41197
41198 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41199
41200 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
41201
41202 * benchtests/Makefile (bench): Add exp2 and log2.
41203 (LDLIBS-bench-exp2): Add -lm.
41204 (LDLIBS-bench-log2): Likewise.
41205 * benchtests/exp2-inputs: New inputs file.
41206 * benchtests/log2-inputs: New inputs file.
41207 * benchtests/log-inputs: Add new inputs.
41208 * benchtests/tan-inputs: Likewise.
41209
41210 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41211
41212 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41213 definition...
41214 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41215 (csloww2): ... from here.
41216
41217 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41218 instead of structures.
41219 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41220 (POLYNOMIAL): Likewise.
41221 (TAYLOR_SLOW): Likewise.
41222 (__sin): Likewise.
41223 (__cos): Likewise.
41224 (slow1): Likewise.
41225 (slow2): Likewise.
41226 (sloww): Likewise.
41227 (sloww1); Likewise.
41228 (sloww2): Likewise.
41229 (bsloww1): Likewise.
41230 (bsloww2): Likewise.
41231 (cslow2): Likewise.
41232 (csloww): Likewise.
41233 (csloww1): Likewise.
41234 (csloww2): Likewise.
41235
41236 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
41237
41238 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41239 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41240 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41241 * malloc/hooks.c (realloc_check): Likewise.
41242
41243 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41244 * malloc/arena.c: Remove PER_THREAD conditional.
41245 [!PER_THREAD]: Remove code.
41246 (ptmalloc_unlock_all2): Likewise.
41247 (ptmalloc_init): Likewise.
41248 (_int_new_arena): Likewise.
41249 (arena_get2): Likewise.
41250 * malloc/hooks.c (__malloc_get_state): Likewise.
41251 (__malloc_set_state): Likewise.
41252 * malloc/malloc.c: Likewise.
41253 (struct malloc_state): Likewise.
41254 (struct malloc_par): Likewise.
41255 (__libc_realloc): Likewise.
41256 (__libc_mallopt): Likewise.
41257
41258 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41259
41260 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41261
41262 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
41263
41264 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41265 macro to a function. Check for zero perturb_byte.
41266 (_int_malloc, _int_free): Remove zero perturb_byte checks.
41267
41268 * malloc/malloc.c: (force_reg): Remove.
41269 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41270 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41271 force_reg by atomic_forced_read.
41272 * malloc/arena.c (ptmalloc_init): Likewise.
41273 * malloc/hooks.c (top_check): Likewise.
41274
41275 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41276
41277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41278
41279 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
41280
41281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41282
41283 2013-12-08 Joseph Myers <joseph@codesourcery.com>
41284
41285 * math/auto-libm-test-in: Add tests of lgamma.
41286 * math/auto-libm-test-out: Regenerated.
41287 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41288 (M_LOG_2_SQRT_PIl): Likewise.
41289 (lgamma_test_data): Use AUTO_TESTS_f_f1.
41290 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41291 mpfr_f_f1.
41292 (func_calc_desc): Add mpfr_f_f1 union field.
41293 (ARGS1): New macro.
41294 (ARGS2): Likewise.
41295 (ARGS3): Likewise.
41296 (ARGS4): Likewise.
41297 (RET1): Likewise.
41298 (RET2): Likewise.
41299 (CALC): Likewise.
41300 (FUNC): Likewise.
41301 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41302 (test_functions): Add lgamma.
41303 (calc_generic_results): Handle mpfr_f_f1.
41304 * sysdeps/i386/fpu/libm-test-ulps: Update.
41305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41306
41307 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41308
41309 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41310 __mpn_add_n for PowerPC64/POWER7.
41311 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41312 __mpn_sub_n for PowerPC64/POWER7.
41313
41314 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41315 __mpn_addmul_1 for PowerPC64.
41316 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41317 __mpn_submul_1 for PowerPC64.
41318 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41319 for PowerPC64.
41320 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41321 for PowerPC64.
41322
41323 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
41324
41325 [BZ #15089]
41326 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41327
41328 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41329
41330 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41331
41332 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41333 add multiarch folders.
41334 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41335 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41336 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41337 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41338 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41339 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41340 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41341 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41342 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41343 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41344 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41351
41352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41353 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41355 New file.
41356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41357 New file.
41358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41359 multiarch __ieee754_hypot for PowerPC32.
41360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41361 New file.
41362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41363 New file.
41364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41365 multiarch __ieee754_hypotf for PowerPC32.
41366
41367 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41368 long_double_symbol only if __logbl is defined.
41369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41370 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41371 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41372 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41374 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41375 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41376 path for implementation.
41377 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41378 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41380 logb, and logbl multiarch implementations for PowerPC32.
41381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41382 file.
41383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41384 file.
41385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41386 multiarch logb for PowerPC32.
41387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41388 file.
41389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41390 file.
41391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41392 multiarch logbf for PowerPC32.
41393 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41395 file.
41396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41397 multiarch logbl implementation for PowerPC32.
41398
41399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41400 and modff multiarch implementations.
41401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41402 New file.
41403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41404 New file.
41405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41406 multiarch modf for PowerPC32.
41407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41408 New file.
41409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41410 New file.
41411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41412 multiarch modff for PowerPC32.
41413
41414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41415 and lrintf multiarch implementations.
41416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41417 New file.
41418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41419 New file.
41420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41421 multiarch lrint for PowerPC32.
41422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41423 file: multiarch lrintf for PowerPC32.
41424
41425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41426 and lroundf multiarch implementations.
41427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41428 New file.
41429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41430 New file.
41431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41432 New file.
41433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41434 multiarch lround for PowerPC32.
41435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41436 file: multiarch lroundf for PowerPC32.
41437
41438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41439 copysign and copysignf multiarch implementations.
41440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41441 New file.
41442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41443 New file.
41444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41445 file: multiarch copysign for PowerPC32.
41446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41447 file: multiarch copysignf for PowerPC32.
41448
41449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41450 and truncf multiarch implementations.
41451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41452 New file.
41453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41454 file.
41455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41456 multiarch trunc for PowerPC32.
41457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41458 New file.
41459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41460 New file.
41461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41462 multiarch truncf for PowerPC32.
41463
41464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41465 and roundf multiarch implementations.
41466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41467 New file.
41468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41469 file.
41470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41471 multiarch round for PowerPC32.
41472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41473 New file.
41474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41475 New file.
41476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41477 multiarch roundf for PowerPC32.
41478
41479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41480 and floorf multiarch implementations.
41481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41482 New file.
41483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41484 file.
41485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41486 multiarch floor for PowerPC32.
41487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41488 New file.
41489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41490 New file.
41491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41492 multiarch floorf for PowerPC32.
41493
41494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41495 and ceilf multiarch implementations.
41496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41497 New file.
41498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41499 file.
41500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41501 multiarch ceil for PowerPC32.
41502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41503 New file.
41504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41505 file.
41506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41507 multiarch ceilf for PowerPC32.
41508
41509 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41510 is defined.
41511 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41512 FINITEF is defined.
41513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41514 and finitef multiarch implementations.
41515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41516 New file.
41517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41518 file.
41519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41520 multiarch finite for PowerPC32.
41521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41522 New file.
41523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41524 file: multiarch finitef for PowerPC32.
41525
41526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41527 and isinff multiarch implementations.
41528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41529 file.
41530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41531 file.
41532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41533 multiarch isinf for PowerPC32.
41534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41535 New file.
41536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41537 multiarch isinff for PowerPC32.
41538
41539 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41540 alias when __isnan is defined.
41541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41542 and isnanf multiarch implementations.
41543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41544 file.
41545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41546 file.
41547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41548 file.
41549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41550 file.
41551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41552 multiarch isnan for PowerPC32.
41553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41554 New file.
41555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41556 New file.
41557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41558 multiarch isnanf for PowerPC32.
41559
41560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41561 and sqrtf multiarch implementations.
41562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41563 file.
41564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41565 file.
41566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41567 multiarch sqrt for PowerPC32.
41568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41569 file.
41570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41571 file.
41572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41573 multiarch sqrtf for PowerPC32.
41574
41575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41576 and llroundf multiarch implementations.
41577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41578 New file.
41579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41580 New file.
41581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41582 New file.
41583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41584 file: multiarch llround for PowerPC32.
41585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41586 file: multiarch llroundf for PowerPC32.
41587
41588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41589 multiarch PowerPC32 fpu implementations.
41590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41591 New file.
41592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41593 New file.
41594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41595 multiarch llrint for PowerPC32.
41596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41597 New file.
41598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41599 New file.
41600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41601 file.
41602
41603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41604
41605 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41606 file.
41607 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41608 file.
41609 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41610 file.
41611 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41612 multiarch wordcopy for PPC32.
41613 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41614 wordcopy objects.
41615 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41616 (__libc_ifunc_impl_list): Likewise.
41617 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41618 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41619 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41620 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41621 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41622 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41623
41624 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41625 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41626 file.
41627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41628 file.
41629 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41630 file.
41631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41632 multiarch wcscpy for PPC32.
41633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41634 multiarch objects.
41635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41636 (__libc_ifunc_impl_list): Likewise.
41637 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41638 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41639 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41640 sysdeps/powerpc/power6/wcscpy.c.
41641
41642 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41643 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41644 file.
41645 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41646 file.
41647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41648 file.
41649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41650 multiarch wcsrchr for PPC32.
41651 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41652 multiarch objects.
41653 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41654 (__libc_ifunc_impl_list): Likewise.
41655 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41656 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41657 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41658 sysdeps/powerpc/power6/wcsrchr.c.
41659
41660 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41661 file.
41662 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41663 file.
41664 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41666 multiarch wcschr for PPc32.
41667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41668 multiarch objects.
41669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41670 (__libc_ifunc_impl_list): Likewise.
41671 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41672 * sysdeps/powerpc/power6/wcschr.c: ... to here.
41673 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41674 sysdeps/powerpc/power6/wcschr.c.
41675
41676 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41677 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41678 file.
41679 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41680 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41681 file: multiarch strchr for PPC32.
41682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41683 multiarch objects.
41684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41685 (__libc_ifunc_impl_list): Likewise.
41686
41687 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41688 name.
41689 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41690 file.
41691 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41692 file.
41693 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41694 multiarch strchrnul for PPC32.
41695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41696 multiarch objects.
41697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41698 (__libc_ifunc_impl_list): Likewise.
41699
41700 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41701 file.
41702 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41703 multiarch strncasecmp for PPC32.
41704 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41705 file.
41706 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41707 multiarch strncasecmp_l for PPC32.
41708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41709 strncasecmp multiarch objects.
41710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41711 (__libc_ifunc_impl_list): Likewise.
41712
41713 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41714 file.
41715 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41716 multiarch strncasecmp for PPC32.
41717 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41718 New file.
41719 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41720 multiarch strcasecmp_l for PPC32.
41721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41722 multiarch objects.
41723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41724 (__libc_ifunc_impl_list): Likewise.
41725
41726 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41727 file.
41728 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41729 file.
41730 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41731 multiarch strncmp for PPC32.
41732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41733 multiarch objects.
41734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41735 (__libc_ifunc_impl_list): Likewise.
41736
41737 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41738 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41739 file.
41740 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41741 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41743 multiarch objects.
41744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41745 (__libc_ifunc_impl_list): Likewise.
41746
41747 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41748 file.
41749 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41750 file.
41751 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41752 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41753 multiarch objects.
41754 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41755 (__libc_ifunc_impl_list): Likewise.
41756
41757 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41758 file.
41759 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41760 file.
41761 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41762 multiarch rawmemchr for PPC32.
41763 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41764 multiarch objects.
41765 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41766 (__libc_ifunc_impl_list): Likewise.
41767
41768 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41769 file.
41770 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41771 file.
41772 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41773 file: memrchr multiarch for PPC32.
41774 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41775 multiarch objects.
41776 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41777 (__libc_ifunc_impl_list): Likewise.
41778
41779 * string/memchr.c (__memchr): Using macro to redefine symbol name.
41780 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41781 file.
41782 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41783 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41784 multiarch memchr for PPC32.
41785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41786 multiarch objects.
41787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41788 (__libc_ifunc_impl_list): Likewise.
41789
41790 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41791 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41792 file.
41793 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41794 file.
41795 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41796 file: multiarch mempcpy for PPC32.
41797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41798 multiarch objects.
41799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41800 (__libc_ifunc_impl_list): Likewise.
41801
41802 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41803 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41804 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41805 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41806 multiarch bzero for PPC32.
41807 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41808 file.
41809 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41810 file.
41811 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41812 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41813 file: multiarch memset for PPC32.
41814 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41816 memset multiarch objects.
41817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41818 (__libc_ifunc_impl_list): Likewise.
41819
41820 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41821 file.
41822 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41823 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41824 memcmp for PPC32.
41825 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41826 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41827 multiarch objects.
41828 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41829 (__libc_ifunc_impl_list): Likewise.
41830
41831 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41832 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41833 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41834 file.
41835 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41836 file.
41837 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41838 file.
41839 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41840 multiarch memcpy for PPC32.
41841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41842 multiarch objects.
41843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41844 (__libc_ifunc_impl_list): Likewise.
41845
41846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41847 support multiarch for POWER/PPC32.
41848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41849 Likewise.
41850 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41852 Implies file to make multiarch folder appers before the fpu and
41853 default folder for power4 configuration.
41854
41855 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41856
41857 * scripts/bench.pl: Append volatile keyword to type.
41858
41859 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41860
41861 * sysdeps/sh/sotruss-lib.c: New file.
41862 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41863
41864 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41865
41866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41867
41868 2013-12-05 Joseph Myers <joseph@codesourcery.com>
41869
41870 [BZ #6810]
41871 * math/w_tgamma.c: Include <errno.h>.
41872 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
41873 * math/w_tgammaf.c: Include <errno.h>.
41874 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
41875 * math/w_tgammal.c: Include <errno.h>.
41876 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
41877 * math/auto-libm-test-in: Do not allow missing errno on tgamma
41878 underflow. Add more tgamma tests.
41879 * math/auto-libm-test-out: Regenerated.
41880 * sysdeps/i386/fpu/libm-test-ulps: Update.
41881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41882
41883 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41884 sin, sinh, tan, tanh, tgamma, y0 and y1.
41885 * math/auto-libm-test-out: Regenerated.
41886 * math/libm-test.inc (TEST_COND_x86_64): New macro.
41887 (TEST_COND_x86): Likewise.
41888 (M_E2l): Remove macro.
41889 (M_E3l): Likewise.
41890 (M_2_SQRT_PIl): Likewise.
41891 (M_SQRT_PIl): Likewise.
41892 (M_1_DIV_El): Likewise.
41893 (log_test_data): Use AUTO_TESTS_f_f.
41894 (log10_test_data): Likewise.
41895 (log1p_test_data): Likewise.
41896 (log2_test_data): Likewise.
41897 (sin_test_data): Likewise.
41898 (sin_tonearest_test_data): Likewise.
41899 (sin_towardzero_test_data): Likewise.
41900 (sin_downward_test_data): Likewise.
41901 (sin_upward_test_data): Likewise.
41902 (sinh_test_data): Likewise.
41903 (sinh_tonearest_test_data): Likewise.
41904 (sinh_towardzero_test_data): Likewise.
41905 (sinh_downward_test_data): Likewise.
41906 (sinh_upward_test_data): Likewise.
41907 (tan_test_data): Likewise.
41908 (tan_tonearest_test_data): Likewise.
41909 (tan_towardzero_test_data): Likewise.
41910 (tan_downward_test_data): Likewise.
41911 (tan_upward_test_data): Likewise.
41912 (tanh_test_data): Likewise.
41913 (tgamma_test_data): Likewise.
41914 (y0_test_data): Likewise.
41915 (y1_test_data): Likewise.
41916 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41917 (special_real_inputs): Add pi/4.
41918 * sysdeps/i386/fpu/libm-test-ulps: Update.
41919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41920
41921 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41922
41923 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41924 "longjmp_target" static probes.
41925 (__longjmp): Rename to __longjmp_symbol.
41926 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41927 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41928 on which longjmp to generate.
41929 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41930 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41931 probe.
41932 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41933 (__sigjmp_save): Rename to __sigjmp_save_symbol.
41934 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41935 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41936 and __sigjmp_save_symbol based on which sigsetjmp to generated.
41937 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41939 __longjmp_symbol based on which __longjmp to generate.
41940 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41941 probe.
41942 (setjmp): Rename to setjmp_symbol.
41943 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41944 (_setjmp): Rename to _setjmp_symbol.
41945 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41946 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41947 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41948 which setjmp to generate.
41949 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41950 "longjmp_target" static probes.
41951
41952 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41953
41954 * benchtests/README: Add note about output arguments.
41955 * benchtests/bench-sincos.c: Remove file.
41956 * benchtests/sincos-inputs: New file.
41957 * scripts/bench.pl: Identify output arguments and define
41958 static variables for them.
41959
41960 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41961
41962 [BZ #15941]
41963 * Makefile (INSTALL): Add install-plain.texi as the primary
41964 dependency.
41965 * manual/install-plain.texi: New file.
41966 * manual/install.texi: Include node directive only for
41967 non-plaintext output.
41968
41969 2013-12-04 Joseph Myers <joseph@codesourcery.com>
41970
41971 * stdlib/longlong.h: Update from GCC.
41972
41973 [BZ #6807]
41974 [BZ #15901]
41975 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41976 * math/w_j0f.c (y0f): Likewise.
41977 * math/w_j0l.c (__y0l): Likewise.
41978 * math/w_j1.c (y1): Likewise.
41979 * math/w_j1f.c (y1f): Likewise.
41980 * math/w_j1l.c (__y1l): Likewise.
41981 * math/w_jn.c (yn): Likewise.
41982 * math/w_jnf.c (ynf): Likewise.
41983 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41984 Bessel function pole errors in _POSIX_ mode. Use NAN as return
41985 value for Bessel function domain errors outside _SVID_ mode.
41986 Adjust sign of return value for yn (negative integer, 0).
41987 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41988 by zero in return for negative x and set sign appropriately for
41989 negative n.
41990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41991 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41992 * math/libm-test.inc (y0_test_data): Add more tests and adjust
41993 expectations in error cases.
41994 (y1_test_data): Likewise.
41995 (yn_test_data): Likewise.
41996 * sysdeps/i386/fpu/libm-test-ulps: Update.
41997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41998
41999 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42000
42001 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42002 "64" to "64-v1". Add "64-v2".
42003 (abi-64-options): Rename to ...
42004 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
42005 (abi-64-condition): Rename to ...
42006 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
42007 (abi-64-ld-soname): Rename to ...
42008 (abi-64-v1-ld-soname): ... this.
42009 (abi-64-v2-options): Define.
42010 (abi-64-v2-condition): Likewise.
42011 (abi-64-v2-ld-soname): Likewise.
42012 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42013 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42017
42018 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42019 Alan Modra <amodra@gmail.com>
42020
42021 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42022 New versions for use with the ELFv2 ABI.
42023 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42024 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42025 declaration.
42026 (struct La_ppc64v2_retval): Likewise.
42027 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42028 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42029 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42030 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42031 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42032 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42033 Do not save or restore CR.
42034 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42035 (_dl_profile_resolve): Do no save or restore CR. Support extended
42036 return values for ELFv2 ABI. Fix location of FPR return registers.
42037 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42038 updated values for _CALL_ELF == 2.
42039 (La_regs, La_retval, int_retval): Likewise.
42040
42041 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42042
42043 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42044 (FRAME_MIN_SIZE_PARM): Likewise.
42045 (FRAME_BACKCHAIN): Likewise.
42046 (FRAME_CR_SAVE): Likewise.
42047 (FRAME_LR_SAVE): Likewise.
42048 (FRAME_TOC_SAVE): Likewise.
42049 (FRAME_PARM_SAVE): Likewise.
42050 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42051 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42052 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42053 (call_mcount_parm_offset): New macro.
42054 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42055 (PROF): Use symbolic stack frame offsets.
42056 (TAIL_CALL_SYSCALL_ERROR): Likewise.
42057 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42058 Redefine in terms of FRAME_MIN_SIZE.
42059 (_dl_runtime_resolve): Use symbolic stack frame offsets.
42060 (_dl_profile_resolve): Likewise. Update comment.
42061 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42062 symbols stack frame offsets.
42063 (__sigsetjmp): Likewise.
42064 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42065 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42066 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42067 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42068
42069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42070 (FRAME_BACKCHAIN): Remove.
42071 (FRAME_CR_SAVE): Likewise.
42072 (FRAME_LR_SAVE): Likewise.
42073 (FRAME_COMPILER_DW): Likewise.
42074 (FRAME_LINKER_DW): Likewise.
42075 (FRAME_TOC_SAVE): Likewise.
42076 (FRAME_PARM_SAVE): Likewise.
42077 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42078 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42079 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42081 (CHECK_SP): Use symbolic stack frame offsets.
42082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42083 zone" instead of caller's parameter save area for temp storage.
42084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42085 Likewise. Also, use symbolic stack frame offsets.
42086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42087 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42088 our own stack frame instead of the caller's.
42089 (__socket): Use symbolic stack frame offsets.
42090
42091 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42092 Alan Modra <amodra@gmail.com>
42093
42094 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42095 Define.
42096 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42097 (PPC64_LOCAL_ENTRY_OFFSET): Define.
42098 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42099 New function.
42100 (elf_machine_fixup_plt): Call it.
42101 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
42102 reloc arguments.
42103 (elf_machine_rela): Update call to elf_machine_plt_conflict.
42104 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42105 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42106 r2 before calling target.
42107
42108 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42109 Alan Modra <amodra@gmail.com>
42110
42111 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42112 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42113 versions of macros to support ELFv2 ABI.
42114 (LOCALENTRY): New macro.
42115 (ENTRY, EALIGN): Use it.
42116 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42117 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42118 fall through into ENTRY entry point.
42119 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42120 Only define if _CALL_ELF != 2.
42121
42122 (elf_machine_matches_host): Verify ABI version matches.
42123 (RTLD_START): Use LOCALENTRY.
42124 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42125 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42126 (PLT_ENTRY_WORDS): New macro.
42127 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42128 (elf_machine_runtime_setup): Support ELFv2 ABI.
42129 (elf_machine_fixup_plt): Likewise.
42130 (elf_machine_plt_conflict): Likewise.
42131 (resolve_ifunc): Likewise.
42132 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42133 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42134 Likewise.
42135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42136 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42138 (makecontext): Support ELFv2 ABI.
42139 * elf/elf.h (EF_PPC64_ABI): Define.
42140
42141 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42142
42143 * sysdeps/powerpc/powerpc64/sysdep.h
42144 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42145 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42146 (ENTRY) [ASSEMBLER]: ... but instead here ...
42147 (EALIGN) [ASSEMBLER]: ... and here.
42148 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42149 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42150 (ENTRY_2) [!ASSEMBLER]: Use it.
42151 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42152 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
42153 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42154 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42155 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42157 Use PPC64_LOAD_FUNCPTR.
42158
42159 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42160
42161 2013-12-04 Alan Modra <amodra@gmail.com>
42162
42163 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42164 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42165 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42166 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42167
42168 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42169 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42170 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42171 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42172 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42173 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42174
42175 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42176
42177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42178 (__makecontext): Fix incorrect CFI when backtracing out of
42179 context created via makecontext.
42180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42181 (__setcontext): Fix incorrect CFI during switch to new context.
42182 (__novec_setcontext): Likewise.
42183
42184 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
42185
42186 [BZ #4772]
42187 * time/strptime_l.c (__strptime_internal): Allow modifiers
42188 in strptime.
42189 * time/tst-strptime.c (day_tests): Add testcase.
42190
42191 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42192
42193 * scripts/bench.pl: Skip over blank lines.
42194
42195 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
42196
42197 [BZ #926]
42198 * manual/time.texi (Calendar Time): Clarify what timezone functions
42199 use.
42200
42201 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42202
42203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42204
42205 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
42206
42207 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42208 implementation.
42209 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42210 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42211 * debug/memset_chk.c (__memset_chk): Likewise.
42212 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42213 * debug/strncpy_chk.c: Likewise.
42214
42215 2013-12-03 Joseph Myers <joseph@codesourcery.com>
42216
42217 [BZ #15268]
42218 [BZ #15425]
42219 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42220 (__ieee754_exp): For possibly underflowing results, check size of
42221 result and force underflow exception if required.
42222 * math/auto-libm-test-in: Add more tests of exp.
42223 * math/auto-libm-test-out: Regenerated.
42224 * sysdeps/i386/fpu/libm-test-ulps: Update.
42225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42226
42227 [BZ #16283]
42228 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42229 * math/w_exp2f.c (__exp2f): Likewise.
42230 * math/w_exp2l.c (__exp2l): Likewise.
42231 * math/auto-libm-test-in: Do not allow missing errno on exp2
42232 underflow.
42233 * math/auto-libm-test-out: Regenerated.
42234
42235 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
42236
42237 [BZ #16274]
42238 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42239 handle filename validation.
42240 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42241 (do_open): Delete.
42242
42243 2013-12-03 Joseph Myers <joseph@codesourcery.com>
42244
42245 [BZ #6786]
42246 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42247 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42248 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42249 <float.h>.
42250 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42251 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42252 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42253 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42254 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42255 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42256 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42257 * math/auto-libm-test-in: Don't allow missing errno from erfc.
42258 Add more erfc tests.
42259 * math/auto-libm-test-out: Regenerated.
42260 * sysdeps/i386/fpu/libm-test-ulps: Update.
42261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42262
42263 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42264 exp2, expm1, j0 and j1.
42265 * math/auto-libm-test-out: Regenerated.
42266 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42267 (erfc_test_data): Likewise.
42268 (exp_test_data): Likewise.
42269 (exp_tonearest_test_data): Likewise.
42270 (exp_towardzero_test_data): Likewise.
42271 (exp_downward_test_data): Likewise.
42272 (exp_upward_test_data): Likewise.
42273 (exp10_test_data): Likewise.
42274 (exp2_test_data): Likewise.
42275 (expm1_test_data): Likewise.
42276 (j0_test_data): Likewise.
42277 (j1_test_data): Likewise.
42278 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42279 (input_flag_type): Add flag_xfail_rounding.
42280 (input_flags): Add xfail-rounding.
42281 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42282 (output_for_one_input_case): Handle flag_xfail_rounding.
42283 * sysdeps/i386/fpu/libm-test-ulps: Update.
42284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42285
42286 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
42287
42288 [BZ #16289]
42289 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42290 division by 0.
42291
42292 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
42293
42294 [BZ #16195]
42295 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42296 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42297 (STAP_PROBE0): New macro.
42298 (STAP_PROBE1): Likewise.
42299 (STAP_PROBE2): Likewise.
42300 (STAP_PROBE3): Likewise.
42301 (STAP_PROBE4): Likewise.
42302
42303 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
42304
42305 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42306
42307 2013-12-02 Steve Ellcey <sellcey@mips.com>
42308
42309 * benchtests/Makefile (bench): Add sqrt.
42310 (LDLIBS-bench-sqrt): New.
42311 * benchtests/sqrt-input: New.
42312
42313 2013-12-02 Pavel Simerda <psimerda@redhat.com>
42314
42315 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42316 (GAIH_EAI): Likewise.
42317 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42318 (gaih_inet): Likewise.
42319 (getaddrinfo): Don't use GAIH_EAI.
42320
42321 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42322 (struct gaih): Remove definition.
42323
42324 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42325
42326 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42327 Use HERRNOP directly.
42328
42329 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42330
42331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42332
42333 2013-11-30 Joseph Myers <joseph@codesourcery.com>
42334
42335 * math/gen-auto-libm-tests.c (test_functions): Add more
42336 single-argument functions.
42337 (special_fill_pi_2): New function.
42338 (special_fill_minus_pi_2): Likewise.
42339 (special_fill_pi_6): Likewise.
42340 (special_fill_minus_pi_6): Likewise.
42341 (special_fill_pi_3): Likewise.
42342 (special_fill_2pi_3): Likewise.
42343 (special_fill_e): Likewise.
42344 (special_fill_1_e): Likewise.
42345 (special_fill_e_minus_1): Likewise.
42346 (special_real_inputs): Add more special inputs.
42347 (output_for_one_input_case): Do not require ERANGE on underflow to
42348 zero if round-to-nearest result does not underflow to zero, unless
42349 exact results required.
42350 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42351 atan, atanh, cbrt, cos and cosh.
42352 * math/auto-libm-test-out: Regenerated.
42353 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42354 (acos_tonearest_test_data): Likewise.
42355 (acos_towardzero_test_data): Likewise.
42356 (acos_downward_test_data): Likewise.
42357 (acos_upward_test_data): Likewise.
42358 (acosh_test_data): Likewise.
42359 (asin_test_data): Likewise.
42360 (asin_tonearest_test_data): Likewise.
42361 (asin_towardzero_test_data): Likewise.
42362 (asin_upward_test_data): Likewise.
42363 (asinh_test_data): Likewise.
42364 (atan_test_data): Likewise.
42365 (atanh_test_data): Likewise.
42366 (cbrt_test_data): Likewise.
42367 (cos_test_data): Likewise.
42368 (cos_tonearest_test_data): Likewise.
42369 (cos_towardzero_test_data): Likewise.
42370 (cos_downward_test_data): Likewise.
42371 (cos_upward_test_data): Likewise.
42372 (cosh_test_data): Likewise.
42373 (cosh_tonearest_test_data): Likewise.
42374 (cosh_towardzero_test_data): Likewise.
42375 (cosh_downward_test_data): Likewise.
42376 (cosh_upward_test_data): Likewise.
42377 * sysdeps/i386/fpu/libm-test-ulps: Update.
42378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42379
42380 2013-11-29 Joseph Myers <joseph@codesourcery.com>
42381
42382 [BZ #6787]
42383 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42384 * math/w_exp10f.c (__exp10f): Likewise.
42385 * math/w_exp10l.c (__exp10l): Likewise.
42386 * math/libm-test.inc (exp10_test_data): Add more tests and expect
42387 errno settings in existing tests.
42388
42389 [BZ #14032]
42390 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42391 precision control set to double precision.
42392 * sysdeps/i386/fpu/w_sqrt.c: New file.
42393 * math/auto-libm-test-in: Add more tests.
42394 * math/auto-libm-test-out: Update.
42395
42396 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42397 (sqrt_test_tonearest): New function.
42398 (sqrt_towardzero_test_data): New variable.
42399 (sqrt_test_towardzero): New function.
42400 (sqrt_downward_test_data): New variable.
42401 (sqrt_test_downward): New function.
42402 (sqrt_upward_test_data): New variable.
42403 (sqrt_test_upward): New function.
42404 (main): Call the new functions.
42405
42406 * math/gen-auto-libm-tests.c: New file.
42407 * math/auto-libm-test-in: Likewise.
42408 * math/auto-libm-test-out: New generated file.
42409 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42410 variables.
42411 (%beautify): Add generated representations of zero.
42412 (top level): Set $auto_input and call parse_auto_input.
42413 (beautify): Remove trailing "f" from hex float constants.
42414 (parse_args): Handle XFAIL_TEST.
42415 (convert_condition): New function.
42416 (or_value): Likewise.
42417 (or_cond_value): Likewise.
42418 (generate_testfile): Handle AUTO_TESTS_* lines.
42419 (parse_auto_input): New function.
42420 * math/libm-test.inc (XFAIL_TEST): New macro.
42421 (ERRNO_UNCHANGED): Update value.
42422 (ERRNO_EDOM): Likewise.
42423 (ERRNO_ERANGE): Likewise.
42424 (IGNORE_RESULT): Likewise.
42425 (TEST_COND_flt_32): New macro.
42426 (TEST_COND_dbl_64): Likewise.
42427 (TEST_COND_ldbl_96_intel): Likewise.
42428 (TEST_COND_ldbl_96_m68k): Likewise.
42429 (TEST_COND_ldbl_128): Likewise.
42430 (TEST_COND_ldbl_128ibm): Likewise.
42431 (TEST_COND_long32): Likewise.
42432 (TEST_COND_long64): Likewise.
42433 (TEST_COND_before_rounding): Likewise.
42434 (TEST_COND_after_rounding): Likewise.
42435 (enable_test): Handle XFAIL_TEST flag.
42436 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42437 with finite results.
42438 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42439 auto-libm-test-out.
42440
42441 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42442 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42443
42444 [BZ #16214]
42445 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42446 __tls_get_addr_internal instead of __tls_get_offset in order to
42447 avoid GOT pointer dependency. Make rtld export
42448 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42449 __tls_get_addr since we are a __tls_get_offset platform.
42450 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42451 GOT pointer being set up before.
42452 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42453
42454 2013-11-28 Joseph Myers <joseph@codesourcery.com>
42455
42456 * manual/math.texi (Errors in Math Functions): Document accuracy
42457 goals.
42458
42459 [BZ #15004]
42460 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42461 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42462 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42463 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42464 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42465 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42466 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42467 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42468 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42469 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42470 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42471 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42472 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42473 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42474 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42475 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42476
42477 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42478 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42479 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42480 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42481 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42482 Likewise.
42483 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42484 Likewise.
42485 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42486 Likewise.
42487 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42488 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42489 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42490 atomic-feupdateenv and flt-rounds.
42491 * sysdeps/powerpc/nofpu/Versions (libc): Add
42492 __atomic_feholdexcept, __atomic_feclearexcept,
42493 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42494 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42495 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42496 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42497 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42498 here.
42499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42500 Update.
42501
42502 * manual/arith.texi (FP Exceptions): Document that exceptions may
42503 not be raised when matherr is used.
42504 (Math Error Reporting): Document overflow in directed rounding
42505 modes. Document that errno may not be set when finite values are
42506 returned on overflow. Document intent to set errno on underflow
42507 only for underflow to zero.
42508
42509 [BZ #16271]
42510 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42511 round-to-nearest then adjust result for other rounding modes.
42512 * include/fenv.h (fegetround): Use libm_hidden_proto.
42513 * math/fegetround.c (fegetround): Use libm_hidden_def.
42514 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42515 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42516 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42517 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42518 Likewise.
42519 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42520 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42521 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42522 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42523
42524 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42525
42526 [BZ #16077]
42527 * nss/Versions (libnss_files): Add
42528 _nss_files_gethostbyname3_r.
42529 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42530 New function.
42531 (HOST_DB_LOOKUP): Remove macro.
42532 (_nss_files_gethostbyname_r): Implement function without the
42533 HOST_DB_LOOKUP macro.
42534 (_nss_files_gethostbyname2_r): Likewise.
42535
42536 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
42537
42538 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42539
42540 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
42541
42542 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42543 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42544 warning.
42545
42546 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42547
42548 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42549 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42550 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42551 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42552 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42553 __fe_nomask_env_priv and attribute_hidden.
42554 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42555 (libc_feupdateenv_test_ppc): Likewise.
42556 (libc_feresetround_ppc): Likewise.
42557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42558 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42559 compat_symbol macro.
42560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42561 (__fe_nomask_env): Likewise.
42562 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42563
42564 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42565
42566 * string/Makefile: Remove ifunc tests.
42567 * string/test-string.h: Define TEST_IFUNC.
42568 * string/test-bcopy-ifunc.c: Remove.
42569 * string/test-bzero-ifunc.c: Likewise.
42570 * string/test-memccpy-ifunc.c: Likewise.
42571 * string/test-memchr-ifunc.c: Likewise.
42572 * string/test-memcmp-ifunc.c: Likewise.
42573 * string/test-memcpy-ifunc.c: Likewise.
42574 * string/test-memmem-ifunc.c: Likewise.
42575 * string/test-memmove-ifunc.c: Likewise.
42576 * string/test-mempcpy-ifunc.c: Likewise.
42577 * string/test-memrchr-ifunc.c: Likewise.
42578 * string/test-memset-ifunc.c: Likewise.
42579 * string/test-rawmemchr-ifunc.c: Likewise.
42580 * string/test-stpcpy-ifunc.c: Likewise.
42581 * string/test-stpncpy-ifunc.c: Likewise.
42582 * string/test-strcasecmp-ifunc.c: Likewise.
42583 * string/test-strcasestr-ifunc.c: Likewise.
42584 * string/test-strcat-ifunc.c: Likewise.
42585 * string/test-strchr-ifunc.c: Likewise.
42586 * string/test-strchrnul-ifunc.c: Likewise.
42587 * string/test-strcmp-ifunc.c: Likewise.
42588 * string/test-strcpy-ifunc.c: Likewise.
42589 * string/test-strcspn-ifunc.c: Likewise.
42590 * string/test-strlen-ifunc.c: Likewise.
42591 * string/test-strncasecmp-ifunc.c: Likewise.
42592 * string/test-strncat-ifunc.c: Likewise.
42593 * string/test-strncmp-ifunc.c: Likewise.
42594 * string/test-strncpy-ifunc.c: Likewise.
42595 * string/test-strnlen-ifunc.c: Likewise.
42596 * string/test-strpbrk-ifunc.c: Likewise.
42597 * string/test-strrchr-ifunc.c: Likewise.
42598 * string/test-strspn-ifunc.c: Likewise.
42599 * string/test-strstr-ifunc.c: Likewise.
42600
42601 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42602
42603 * benchtests/Makefile: Remove ifunc tests.
42604 * benchtests/bench-string.h: Define TEST_IFUNC.
42605 * benchtests/bench-bcopy-ifunc.c: Remove.
42606 * benchtests/bench-bzero-ifunc.c: Likewise.
42607 * benchtests/bench-memccpy-ifunc.c: Likewise.
42608 * benchtests/bench-memchr-ifunc.c: Likewise.
42609 * benchtests/bench-memcmp-ifunc.c: Likewise.
42610 * benchtests/bench-memcpy-ifunc.c: Likewise.
42611 * benchtests/bench-memmem-ifunc.c: Likewise.
42612 * benchtests/bench-memmove-ifunc.c: Likewise.
42613 * benchtests/bench-mempcpy-ifunc.c: Likewise.
42614 * benchtests/bench-memrchr-ifunc.c: Likewise.
42615 * benchtests/bench-memset-ifunc.c: Likewise.
42616 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42617 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42618 * benchtests/bench-stpcpy-ifunc.c: Likewise.
42619 * benchtests/bench-stpncpy-ifunc.c: Likewise.
42620 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42621 * benchtests/bench-strcasestr-ifunc.c: Likewise.
42622 * benchtests/bench-strcat-ifunc.c: Likewise.
42623 * benchtests/bench-strchr-ifunc.c: Likewise.
42624 * benchtests/bench-strchrnul-ifunc.c: Likewise.
42625 * benchtests/bench-strcmp-ifunc.c: Likewise.
42626 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42627 * benchtests/bench-strcpy-ifunc.c: Likewise.
42628 * benchtests/bench-strcspn-ifunc.c: Likewise.
42629 * benchtests/bench-strlen-ifunc.c: Likewise.
42630 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42631 * benchtests/bench-strncat-ifunc.c: Likewise.
42632 * benchtests/bench-strncmp-ifunc.c: Likewise.
42633 * benchtests/bench-strncpy-ifunc.c: Likewise.
42634 * benchtests/bench-strnlen-ifunc.c: Likewise.
42635 * benchtests/bench-strpbrk-ifunc.c: Likewise.
42636 * benchtests/bench-strrchr-ifunc.c: Likewise.
42637 * benchtests/bench-strsep-ifunc.c: Likewise.
42638 * benchtests/bench-strspn-ifunc.c: Likewise.
42639 * benchtests/bench-strstr-ifunc.c: Likewise.
42640
42641 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42642
42643 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42644
42645 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42646
42647 * resolv/netdb.h: Use __glibc_reserved instead __unused.
42648 * rt/aio.h: Likewise.
42649 * sysdeps/gnu/bits/utmp.h: Likewise.
42650 * sysdeps/gnu/bits/utmpx.h: Likewise.
42651 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42652 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42653 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42654 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42655 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42656 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42657 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42658 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42659 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42660 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42661 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42662 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42663 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42665 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42666 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42667 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42668 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42669 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42670 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42671 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42672 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42673 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42674 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42675 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42677 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42678 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42679 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42680 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42681 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42682 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42683 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42684 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42685 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42686 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42687 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42688 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42689 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42690 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42691 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42692 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42693
42694 2013-11-25 Carlos O'Donell <carlos@redhat.com>
42695
42696 [BZ #16245]
42697 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42698 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42699
42700 2013-11-25 Joseph Myers <joseph@codesourcery.com>
42701
42702 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42703 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42704 Likewise.
42705
42706 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42707
42708 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42709 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42710 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42711 (__fesetround): Remove define.
42712 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42713 rounding and exceptions handling.
42714 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42715 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42716 (__fe_nomask_env): Likewise.
42717 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42718 __fegetround instead of fegetround.
42719 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42720 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42721
42722 2013-11-21 Roland McGrath <roland@hack.frob.com>
42723
42724 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42725 it's there.
42726
42727 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42728
42729 2013-11-21 Meador Inge <meadori@codesourcery.com>
42730
42731 [BZ #11157]
42732 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42733 (encrypt_r): Likewise.
42734 * malloc/obstack.h (obstack_free): Likewise.
42735 * posix/unistd.h (encrypt): Likewise.
42736
42737 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
42738
42739 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42740 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42741 DL_CALL_DT_FINI() that call the functions directly.
42742 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42743 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42744 * elf/dl-fini.c: Likewise.
42745
42746 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
42747
42748 * malloc/hooks.c (memalign_check): Add alignment rounding.
42749 * malloc/malloc.c (_mid_memalign): New function.
42750 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42751 Implement by calling _mid_memalign.
42752 * manual/probes.texi (Memory Allocation Probes): Remove
42753 memory_valloc_retry and memory_pvalloc_retry.
42754
42755 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42756
42757 * locale/programs/locarchive.c (open_archive): Add const
42758 qualifier to ARCHIVEFNAME and copy default fname to
42759 DEFAULT_FNAME.
42760
42761 [BZ #15601]
42762 * libio/tst-widetext.input: Rename Oriya to Odia.
42763 * locale/iso-639.def: Likewise.
42764
42765 * manual/probes.texi (Mathematical Function Probes): Add
42766 documentation for sin, cos, asin and acos probes.
42767 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42768 (__sin32): Add slowasin probe.
42769 (__cos32): Add slowacos probe.
42770 (__mpsin): Add slowsin probe.
42771 (__mpcos): Add slowcos probe.
42772
42773 2013-11-19 Joseph Myers <joseph@codesourcery.com>
42774
42775 [BZ #15483]
42776 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42777 thread-local __sim_exceptions_thread and global
42778 __sim_exceptions_global.
42779 (__sim_disabled_exceptions): Change to thread-local
42780 __sim_disabled_exceptions_thread and global
42781 __sim_disabled_exceptions_global.
42782 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42783 and global __sim_round_mode_global.
42784 (__simulate_exceptions): Use thread-local floating-point state and
42785 set global state from it as needed.
42786 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42787 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42788 __sim_round_mode_thread.
42789 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42790 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42791 and global __sim_exceptions_global.
42792 (__sim_disabled_exceptions): Change to thread-local
42793 __sim_disabled_exceptions_thread and global
42794 __sim_disabled_exceptions_global.
42795 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42796 and global __sim_round_mode_global.
42797 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42798 (SIM_SET_GLOBAL): Likewise.
42799 * sysdeps/powerpc/soft-fp/sfp-machine.h
42800 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42801 __sim_round_mode_thread.
42802 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42803 __sim_disabled_exceptions_thread.
42804 (__sim_exceptions): Change to __sim_exceptions_thread.
42805 (__sim_disabled_exceptions): Change to
42806 __sim_disabled_exceptions_thread.
42807 (__sim_round_mode): Change to __sim_round_mode_thread.
42808 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42809 thread-local floating-point state and set global state from it as
42810 needed.
42811 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42812 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42813 (__sim_disabled_exceptions): Remove extern declaration.
42814 (feenableexcept): Use thread-local floating-point state and set
42815 global state from it as needed.
42816 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42817 extern declaration.
42818 (__sim_disabled_exceptions): Likewise.
42819 (__sim_round_mode): Likewise.
42820 (__fegetenv): Use thread-local floating-point state.
42821 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42822 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42823 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42824 floating-point state and set global state from it as needed.
42825 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42826 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42827 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42828 Likewise.
42829 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42830 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42831 Likewise.
42832 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42833 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42834 Use __sim_round_mode_thread.
42835 * math/test-fenv-tls.c: New file.
42836 * math/Makefile (tests): Add test-fenv-tls.
42837 ($(objpfx)test-fenv-tls): Depend on
42838 $(common-objpfx)nptl/libpthread.so.
42839
42840 2013-11-19 Andreas Schwab <schwab@suse.de>
42841
42842 * locale/programs/locale.c (show_info): Decode wordarray elements.
42843 * locale/categories.def (LC_MONETARY): Add element for
42844 _NL_MONETARY_CRNCYSTR.
42845 * locale/C-monetary.c (conversion_rate): New variable.
42846 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42847 element.
42848
42849 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
42850
42851 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42852 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42853
42854 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42855
42856 * elf/Makefile (tst-auxv): New test.
42857 * elf/tst-auxv.c: New
42858 * elf/rtld.c (dl_main): Adjust AT_EXECFN
42859
42860 2013-11-18 Joseph Myers <joseph@codesourcery.com>
42861
42862 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42863 (hidden_proto): Caller changed.
42864 (hidden_tls_proto): New macro.
42865 (libc_hidden_tls_proto): Likewise.
42866 (rtld_hidden_tls_proto): Likewise.
42867 (libm_hidden_tls_proto): Likewise.
42868 (libresolv_hidden_tls_proto): Likewise.
42869 (librt_hidden_tls_proto): Likewise.
42870 (libdl_hidden_tls_proto): Likewise.
42871 (libnss_files_hidden_tls_proto): Likewise.
42872 (libnsl_hidden_tls_proto): Likewise.
42873 (libnss_nisplus_hidden_tls_proto): Likewise.
42874 (libutil_hidden_tls_proto): Likewise.
42875
42876 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
42877
42878 [BZ #10253]
42879 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42880 (decompose_rpath): Defer expansion to fillin_rpath.
42881 (_dl_init_paths): Pass linkmap to fillin_rpath.
42882
42883 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42884
42885 * benchtests/Makefile: Add strsep.
42886 * benchtests/bench-strsep.c: New file: strsep benchtest.
42887 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42888
42889 2013-11-18 Andreas Schwab <schwab@suse.de>
42890
42891 * locale/programs/locale.c (show_info) [case byte]: Check for
42892 '\377' instead of '\177'.
42893 * locale/C-monetary.c (not_available): Always use "\377".
42894 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42895 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
42896 detect unavailable sign_posn locale elements.
42897 * locale/localeconv.c (__localeconv): For grouping and
42898 mon_grouping handle "\177" and "\377" like no grouping.
42899 (INT_ELEM): New macro. Use it to set all numeric members.
42900 * locale/programs/ld-monetary.c (monetary_read)
42901 <tok_mon_grouping>: Normalize single -1 to the empty string.
42902 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42903 Likewise.
42904
42905 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
42906
42907 [BZ #16055]
42908 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42909 when we match (nil).
42910 * stdio-common/tst-sscanf.c (struct test): Add testcase.
42911
42912 2013-11-16 Joseph Myers <joseph@codesourcery.com>
42913
42914 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42915 (NO_TEST_INLINE): Update value.
42916 (ERRNO_UNCHANGED): Likewise.
42917 (ERRNO_EDOM): Likewise.
42918 (ERRNO_ERANGE): Likewise.
42919 (IGNORE_RESULT): Likewise.
42920 (check_float_internal): Check signs of NaN results if
42921 TEST_NAN_SIGN used.
42922 (check_complex): Pass TEST_NAN_SIGN flag through to second
42923 check_float_internal call.
42924 (copysign_test_data): Add tests with quiet NaNs as second
42925 argument. Use TEST_NAN_SIGN.
42926 (fabs_test_data): Add test of negative quiet NaN argument. Use
42927 TEST_NAN_SIGN.
42928 (signbit_test_data): Add tests of quiet NaN argument.
42929 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42930
42931 * math/gen-libm-test.pl (show_exceptions): Take extra argument
42932 $ignore_result.
42933 (parse_args): Handle function results specified as IGNORE.
42934 * math/libm-test.inc (IGNORE_RESULT): New macro.
42935 (check_float_internal): Do not check numerical result if flag
42936 IGNORE_RESULT set.
42937 (check_complex): Pass through IGNORE_RESULT to second
42938 check_float_internal call.
42939 (check_int): Do not check numerical result if flag IGNORE_RESULT
42940 set.
42941 (check_long): Likewise.
42942 (check_bool): Likewise.
42943 (check_longlong): Likewise.
42944 (lrint_test_data): Add tests of infinite and NaN arguments.
42945 (lrint_tonearest_test_data): Likewise.
42946 (lrint_towardzero_test_data): Likewise.
42947 (lrint_downward_test_data): Likewise.
42948 (lrint_upward_test_data): Likewise.
42949 (llrint_test_data): Likewise.
42950 (llrint_tonearest_test_data): Likewise.
42951 (llrint_towardzero_test_data): Likewise.
42952 (llrint_downward_test_data): Likewise.
42953 (llrint_upward_test_data): Likewise.
42954 (lround_test_data): Likewise.
42955 (llround_test_data): Likewise.
42956
42957 * math/libm-test.inc (NO_TEST_INLINE): New macro.
42958 (ERRNO_UNCHANGED): Update value.
42959 (ERRNO_EDOM): Likewise.
42960 (ERRNO_ERANGE): Likewise.
42961 (NO_TEST_INLINE_FLOAT): New macro.
42962 (NO_TEST_INLINE_DOUBLE): Likewise.
42963 (enable_test): New function.
42964 (RUN_TEST_f_f): Check enable_test before running test.
42965 (RUN_TEST_2_f): Likewise.
42966 (RUN_TEST_fff_f): Likewise.
42967 (RUN_TEST_c_f): Likewise.
42968 (RUN_TEST_f_f1): Likewise.
42969 (RUN_TEST_fF_f1): Likewise.
42970 (RUN_TEST_fI_f1): Likewise.
42971 (RUN_TEST_ffI_f1): Likewise.
42972 (RUN_TEST_c_c): Likewise.
42973 (RUN_TEST_cc_c): Likewise.
42974 (RUN_TEST_f_i): Likewise.
42975 (RUN_TEST_f_i_tg): Likewise.
42976 (RUN_TEST_ff_i_tg): Likewise.
42977 (RUN_TEST_f_b): Likewise.
42978 (RUN_TEST_f_b_tg): Likewise.
42979 (RUN_TEST_f_l): Likewise.
42980 (RUN_TEST_f_L): Likewise.
42981 (RUN_TEST_fFF_11): Likewise.
42982 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42983 conditionals.
42984 (cosh_test_data): Likewise.
42985 (exp_test_data): Likewise.
42986 (expm1_test_data): Likewise.
42987 (hypot_test_data): Likewise.
42988 (pow_test_data): Likewise.
42989 (sinh_test_data): Likewise.
42990 (tanh_test_data): Likewise.
42991 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42992 flags argument.
42993
42994 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42995 tests with quiet NaN input and output.
42996 (acosh_test_data): Likewise.
42997 (asin_test_data): Likewise.
42998 (asinh_test_data): Likewise.
42999 (atan_test_data): Likewise.
43000 (atanh_test_data): Likewise.
43001 (atan2_test_data): Likewise.
43002 (cbrt_test_data): Likewise.
43003 (cos_test_data): Likewise.
43004 (cosh_test_data): Likewise.
43005 (erf_test_data): Likewise.
43006 (erfc_test_data): Likewise.
43007 (exp_test_data): Likewise.
43008 (exp10_test_data): Likewise.
43009 (exp2_test_data): Likewise.
43010 (expm1_test_data): Likewise.
43011 (hypot_test_data): Likewise.
43012 (j0_test_data): Likewise.
43013 (j1_test_data): Likewise.
43014 (jn_test_data): Likewise.
43015 (lgamma_test_data): Likewise.
43016 (log_test_data): Likewise.
43017 (log10_test_data): Likewise.
43018 (log1p_test_data): Likewise.
43019 (log2_test_data): Likewise.
43020 (pow_test_data): Likewise.
43021 (scalb_test_data): Likewise.
43022 (sin_test_data): Likewise.
43023 (sincos_test_data): Likewise.
43024 (sinh_test_data): Likewise.
43025 (tan_test_data): Likewise.
43026 (tanh_test_data): Likewise.
43027 (tgamma_test_data): Likewise.
43028 (y0_test_data): Likewise.
43029 (y1_test_data): Likewise.
43030 (yn_test_data): Likewise.
43031
43032 [BZ #16167]
43033 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43034 argument being NaN and avoid computations with second argument in
43035 that case.
43036 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43037 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43038 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43039
43040 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
43041
43042 * locale/iso-639.def: Add Chitwani Tharu (the).
43043
43044 2013-11-14 Andreas Schwab <schwab@suse.de>
43045
43046 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43047 word instead of empty string.
43048
43049 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43050
43051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43052 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43054 (__fe_nomask_env): Likewise.
43055
43056 2013-11-13 Steve Ellcey <sellcey@mips.com>
43057
43058 * benchtests/bench-timing.h: Include time.h.
43059
43060 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
43061
43062 [BZ #15997]
43063 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43064 to 3.4.0 for x32.
43065 * sysdeps/unix/sysv/linux/configure: Regenerated.
43066
43067 2013-11-13 Joseph Myers <joseph@codesourcery.com>
43068
43069 [BZ #16151]
43070 * stdlib/strtod_l.c (round_and_return): Do not consider
43071 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43072 exponent one less than half the least subnormal exponent.
43073 * stdlib/test-strtod-round-data: Add more tests.
43074 * stdlib/tst-strtod-round.c (tests): Regenerated.
43075
43076 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43077
43078 [BZ #14143]
43079 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43080 (__fe_mask_env): Likewise.
43081 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43082 libm_hidden_proto and add function prototype.
43083 (__fe_mask_env): Add function prototype.
43084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43085 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43087 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43089 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43090
43091 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43092
43093 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43094 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43095
43096 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43097
43098 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43099 of htab_find_slot().
43100
43101 2013-11-11 David S. Miller <davem@davemloft.net>
43102
43103 [BZ #16150]
43104 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43105 symbol in the non-vis3 case in static builds.
43106 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43107 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43108 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43109 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43110
43111 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
43112
43113 [BZ #387]
43114 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43115 it is empty.
43116
43117 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43118
43119 * benchtests/Makefile: Add bench-strtod.
43120 * benchtests/bench-strtod.c: New file: strtod benchtest
43121
43122 2013-11-11 Andreas Schwab <schwab@suse.de>
43123
43124 [BZ #16153]
43125 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43126 terminating NUL in key length.
43127
43128 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43129
43130 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43131 Add artificial ODP entry for vDSO symbol for PPC64.
43132 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43133 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43134
43135 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
43136
43137 [BZ #15374]
43138 * nss/getent.c (services_keys): Recognize services starting with digit.
43139
43140 2013-11-06 David S. Miller <davem@davemloft.net>
43141
43142 [BZ #15985]
43143 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43144 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43145
43146 2013-11-06 Will Newton <will.newton@linaro.org>
43147
43148 * manual/memory.texi (Malloc Examples): Remove register
43149 keyword from examples.
43150
43151 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
43152
43153 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43154
43155 2013-11-04 Joseph Myers <joseph@codesourcery.com>
43156
43157 [BZ #6981]
43158 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43159 depending on [__GCC_IEC_559 > 0].
43160 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43161 depending on [__GCC_IEC_559_COMPLEX > 0].
43162
43163 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
43164
43165 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43166 to iso-639.def.
43167
43168 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
43169
43170 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43171
43172 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
43173
43174 [BZ #16112]
43175 * malloc/malloc (malloc_info): Do not handle first bin as
43176 special case.
43177
43178 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
43179
43180 * locale/iso-639.def: Add Central Nahuatl (nhn).
43181
43182 2013-11-01 Bruno Haible <bruno@clisp.org>
43183
43184 [BZ #7003]
43185 * manual/math.texi (BSD Random): Specify range upper bound as
43186 in POSIX.
43187
43188 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
43189
43190 * locale/iso-639.def: Add Meadow Mari (mhr).
43191
43192 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
43193
43194 [BZ #14752], [BZ #15763]
43195 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43196 Validate name.
43197 * rt/tst_shm.c: Add test for escaping directory.
43198
43199 2013-10-31 Andreas Schwab <schwab@suse.de>
43200
43201 [BZ #15917]
43202 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43203 followed by 'x' as part of digit sequence.
43204 * stdio-common/tst-sscanf.c (double_tests2): New tests.
43205
43206 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43207
43208 [BZ #16037]
43209 * configure.ac: allow GNU Make 4.0 and greater.
43210 * configure: Regenerated.
43211
43212 2013-10-30 Will Newton <will.newton@linaro.org>
43213
43214 [BZ #16038]
43215 * malloc/hooks.c (memalign_check): Limit alignment to the
43216 maximum representable power of two.
43217 * malloc/malloc.c (__libc_memalign): Likewise.
43218 * malloc/tst-memalign.c (do_test): Add test for very
43219 large alignment values.
43220 * malloc/tst-posix_memalign.c (do_test): Likewise.
43221
43222 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
43223
43224 [BZ #11087]
43225 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43226 (munmap_chunk): Likewise.
43227 (mremap_chunk): Likewise.
43228
43229 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
43230
43231 [BZ #15799]
43232 * stdlib/div.c (div): Remove obsolete code.
43233 * stdlib/ldiv.c (ldiv): Likewise.
43234 * stdlib/lldiv.c (lldiv): Likewise.
43235
43236 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43237
43238 [BZ #16071]
43239 * nss/nss_files/files-XXX.c (get_contents_ret): New
43240 enumerator.
43241 (get_contents): New function.
43242 (internal_getent): Use it. Expand size of LINEBUFLEN.
43243
43244 2013-10-30 Mike Frysinger <vapier@gentoo.org>
43245
43246 * configure.in: Moved to ...
43247 * configure.ac: ... here. Change reference to configure.in
43248 to configure.ac.
43249 * sysdeps/arm/preconfigure.ac: ... here.
43250 configure.in to configure.ac.
43251 * sysdeps/gnu/configure.in: Moved to ...
43252 * sysdeps/gnu/configure.ac: ... here.
43253 * sysdeps/i386/configure.in: Moved to ...
43254 * sysdeps/i386/configure.ac: ... here.
43255 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43256 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43257 * sysdeps/mach/configure.in: Moved to ...
43258 * sysdeps/mach/configure.ac: ... here.
43259 * sysdeps/mach/hurd/configure.in: Moved to ...
43260 * sysdeps/mach/hurd/configure.ac: ... here.
43261 * sysdeps/powerpc/configure.in: Moved to ...
43262 * sysdeps/powerpc/configure.ac: ... here.
43263 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43264 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43265 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43266 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43267 * sysdeps/s390/s390-32/configure.in: Moved to ...
43268 * sysdeps/s390/s390-32/configure.ac: ... here.
43269 * sysdeps/s390/s390-64/configure.in: Moved to ...
43270 * sysdeps/s390/s390-64/configure.ac: ... here.
43271 * sysdeps/sh/configure.in: Moved to ...
43272 * sysdeps/sh/configure.ac: ... here.
43273 * sysdeps/sparc/configure.in: Moved to ...
43274 * sysdeps/sparc/configure.ac: ... here.
43275 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43276 * sysdeps/unix/sysv/linux/configure.ac: ... here.
43277 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43278 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43279 * sysdeps/x86_64/configure.in: Moved to ...
43280 * sysdeps/x86_64/configure.ac: ... here.
43281 * sysdeps/x86_64/preconfigure.in: Moved to ...
43282 * sysdeps/x86_64/preconfigure.ac: ... here.
43283 * aclocal.m4: Change reference to configure.in to configure.ac.
43284 * config.h.in: Likewise.
43285 * manual/install.texi: Likewise.
43286 * manual/maint.texi: Likewise.
43287 * Makefile: Likewise.
43288 * malloc/Makefile: Likewise.
43289 * nscd/Makefile: Likewise.
43290 * Makeconfig: Change reference to configure.in and
43291 preconfigure.in to configure.ac and preconfigure.ac
43292 respectively.
43293 * INSTALL: Regenerated.
43294 * configure: Likewise.
43295 * sysdeps/gnu/configure: Likewise.
43296 * sysdeps/i386/configure: Likewise.
43297 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43298 * sysdeps/mach/configure: Likewise.
43299 * sysdeps/mach/hurd/configure: Likewise.
43300 * sysdeps/powerpc/configure: Likewise.
43301 * sysdeps/powerpc/powerpc32/configure: Likewise.
43302 * sysdeps/powerpc/powerpc64/configure: Likewise.
43303 * sysdeps/s390/s390-32/configure: Likewise.
43304 * sysdeps/s390/s390-64/configure: Likewise.
43305 * sysdeps/sh/configure: Likewise.
43306 * sysdeps/sparc/configure: Likewise.
43307 * sysdeps/unix/sysv/linux/configure: Likewise.
43308 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43309 * sysdeps/x86_64/configure: Likewise.
43310 * sysdeps/x86_64/preconfigure: Likewise.
43311
43312 2013-10-29 Andreas Schwab <schwab@suse.de>
43313
43314 * stdio-common/Makefile (tst-swscanf-ENV): Define.
43315
43316 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43317
43318 * benchtests/pow-inputs: Add new inputs.
43319
43320 * benchtests/exp-inputs: Add new inputs.
43321
43322 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43323 conditional check for return value.
43324 (__cos32): Likewise.
43325
43326 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43327
43328 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43329 to provide a boost for large inputs with word alignment.
43330 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43331 implementation based on optimized PPC64 strcpy.
43332 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43333 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43334 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43335 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43336
43337 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43338
43339 [BZ #2801]
43340 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43341
43342 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43343
43344 [BZ #14876]
43345 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43346 * time/tst-strptime.c (day_tests): Add testcase.
43347
43348 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43349
43350 [BZ #14029]
43351 * manual/pattern.texi: Acknowledge that fnmatch can fail.
43352
43353 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
43354
43355 [BZ #16074]
43356 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43357 MAP_FAILED on error.
43358
43359 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43360
43361 [BZ #16072]
43362 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43363 heap for large requests.
43364
43365 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
43366
43367 [BZ #9954]
43368 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43369 result if the result has no associated interface.
43370 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43371 interface for all 127.X.Y.Z addresses.
43372
43373 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
43374
43375 * locale/iso-639.def: Add Ligurian (lij)
43376
43377 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
43378
43379 [BZ #15825]
43380 * sunrpc/rpc_main.c: Document rpcgen -5.
43381
43382 2013-10-19 Michael Stahl <mstahl@redhat.com>
43383
43384 * elf/rtld.c (do_preload): Print the reason why preloading failed.
43385
43386 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
43387
43388 [BZ #10278]
43389 * posix/glob.c: Match only directories when trailing slash is present.
43390 * posix/tst-gnuglob.c (my_opendir): Do not open files.
43391 (main): Add testcase.
43392
43393 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
43394
43395 [BZ #15670]
43396 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43397
43398 2013-10-18 Carlos O'Donell <carlos@redhat.com>
43399
43400 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43401 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43402 AUTH_DES and cindex for FIPS 140-2.
43403 (DES Encryption): Add cindex FIPS 46-3.
43404
43405 * locale/locarchive.h (struct locarhandle): Add fname.
43406 * locale/programs/localedef.c (main): Pass ARGV[remaining]
43407 if an optional argument was specified to --list-archive,
43408 otherwise NULL.
43409 * locale/programs/locarchive.c (show_archive_content): Take new
43410 argument fname and pass it via ah.fname to open_archive.
43411 * locale/programs/localedef.h: Update decl.
43412 (open_archive): If AH->fname is non-null, open that file
43413 rather than the default file name, and don't ignore ENOENT.
43414 (create_archive): Set AH.fname to NULL.
43415 (delete_locales_from_archive): Likewise.
43416 (add_locales_to_archive): Likewise.
43417 * locale/programs/locfile.c (write_all_categories): Likewise.
43418
43419 2013-10-18 Joseph Myers <joseph@codesourcery.com>
43420 Aldy Hernandez <aldyh@redhat.com>
43421
43422 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43423 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43424 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43425 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43426 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43427 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43428 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43429 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43430 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43431 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43432 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43433 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43434 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43435 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43436 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43437 Likewise.
43438 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43439 Likewise.
43440 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43441 Likewise.
43442 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43443 Likewise.
43444 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43445 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43446 Likewise.
43447 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43448 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43449 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43450 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43451 Likewise.
43452 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43453 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43454 * sysdeps/powerpc/preconfigure: Likewise.
43455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43456 Likewise.
43457 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43458 Replace contents of file by #include of <fenv_libc.h>.
43459 * sysdeps/powerpc/soft-fp/sfp-machine.h
43460 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43461 and <sys/prctl.h>.
43462 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43463 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43464 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43465 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43466 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43467 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43468 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43469 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43470 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43471 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43472 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43473 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43475 Allow copysignl PLT reference to be missing.
43476
43477 2013-10-18 Richard Sandiford <richard@codesourcery.com>
43478 Joseph Myers <joseph@codesourcery.com
43479
43480 [BZ #15948]
43481 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43482 single character.
43483 (add_to_tablewc): Assert sequence of wide characters is nonempty.
43484
43485 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
43486
43487 * elf/tst-tls-dlinfo.c: Don't include tls.h.
43488 * elf/tst-tls1.c: Likewise.
43489 * elf/tst-tls10.h: Likewise.
43490 * elf/tst-tls14.c: Likewise.
43491 * elf/tst-tls2.c: Likewise.
43492 * elf/tst-tls3.c: Likewise.
43493 * elf/tst-tls4.c: Likewise.
43494 * elf/tst-tls5.c: Likewise.
43495 * elf/tst-tls6.c: Likewise.
43496 * elf/tst-tls7.c: Likewise.
43497 * elf/tst-tls8.c: Likewise.
43498 * elf/tst-tls9.c: Likewise.
43499 * elf/tst-tlsmod1.c: Likewise.
43500 * elf/tst-tlsmod13.c: Likewise.
43501 * elf/tst-tlsmod13a.c: Likewise.
43502 * elf/tst-tlsmod14a.c: Likewise.
43503 * elf/tst-tlsmod16a.c: Likewise.
43504 * elf/tst-tlsmod16b.c: Likewise.
43505 * elf/tst-tlsmod2.c: Likewise.
43506 * elf/tst-tlsmod3.c: Likewise.
43507 * elf/tst-tlsmod4.c: Likewise.
43508 * elf/tst-tlsmod5.c: Likewise.
43509 * elf/tst-tlsmod6.c: Likewise.
43510
43511 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
43512
43513 [BZ #12486]
43514 * malloc/malloc.c: remove checks for statistics.
43515
43516 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
43517
43518 [BZ #15277]
43519 * inet/inet_net.c (inet_network): Detect additional invalid strings.
43520 * inet/tst-network.c: Add testcase.
43521
43522 2013-10-17 Andreas Schwab <schwab@suse.de>
43523
43524 [BZ #15218]
43525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43526 to determine canonical name.
43527
43528 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
43529
43530 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43531 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43533 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43535 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43536 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43537 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43538 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43539 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43540 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43541 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43542 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43543 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43544 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43545 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43547 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43548 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43549 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43550 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43552 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43553 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43554 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43555 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43556 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43557 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43558 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43559 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43560 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43561 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43562 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43563 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43564 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43565 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43566 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43567 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43568 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43569 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43570 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43571 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43572 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43573 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43574 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43575 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43576 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43577 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43578 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43579 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43580 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43581 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43582 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43583 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43584 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43585 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43586 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43587 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43588
43589 2013-10-17 Joseph Myers <joseph@codesourcery.com>
43590
43591 [BZ #16041]
43592 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43593 make result into a quiet NaN.
43594
43595 2013-10-16 Joseph Myers <joseph@codesourcery.com>
43596
43597 * soft-fp/adddf3.c: Fix horizontal whitespace.
43598 * soft-fp/addsf3.c: Likewise.
43599 * soft-fp/addtf3.c: Likewise.
43600 * soft-fp/divdf3.c: Likewise.
43601 * soft-fp/divsf3.c: Likewise.
43602 * soft-fp/divtf3.c: Likewise.
43603 * soft-fp/double.h: Likewise.
43604 * soft-fp/eqdf2.c: Likewise.
43605 * soft-fp/eqsf2.c: Likewise.
43606 * soft-fp/eqtf2.c: Likewise.
43607 * soft-fp/extenddftf2.c: Likewise.
43608 * soft-fp/extended.h: Likewise.
43609 * soft-fp/extendsfdf2.c: Likewise.
43610 * soft-fp/extendsftf2.c: Likewise.
43611 * soft-fp/extendxftf2.c: Likewise.
43612 * soft-fp/fixdfdi.c: Likewise.
43613 * soft-fp/fixdfsi.c: Likewise.
43614 * soft-fp/fixdfti.c: Likewise.
43615 * soft-fp/fixsfdi.c: Likewise.
43616 * soft-fp/fixsfsi.c: Likewise.
43617 * soft-fp/fixsfti.c: Likewise.
43618 * soft-fp/fixtfdi.c: Likewise.
43619 * soft-fp/fixtfsi.c: Likewise.
43620 * soft-fp/fixtfti.c: Likewise.
43621 * soft-fp/fixunsdfdi.c: Likewise.
43622 * soft-fp/fixunsdfsi.c: Likewise.
43623 * soft-fp/fixunsdfti.c: Likewise.
43624 * soft-fp/fixunssfdi.c: Likewise.
43625 * soft-fp/fixunssfsi.c: Likewise.
43626 * soft-fp/fixunssfti.c: Likewise.
43627 * soft-fp/fixunstfdi.c: Likewise.
43628 * soft-fp/fixunstfsi.c: Likewise.
43629 * soft-fp/fixunstfti.c: Likewise.
43630 * soft-fp/floatdidf.c: Likewise.
43631 * soft-fp/floatdisf.c: Likewise.
43632 * soft-fp/floatditf.c: Likewise.
43633 * soft-fp/floatsidf.c: Likewise.
43634 * soft-fp/floatsisf.c: Likewise.
43635 * soft-fp/floatsitf.c: Likewise.
43636 * soft-fp/floattidf.c: Likewise.
43637 * soft-fp/floattisf.c: Likewise.
43638 * soft-fp/floattitf.c: Likewise.
43639 * soft-fp/floatundidf.c: Likewise.
43640 * soft-fp/floatundisf.c: Likewise.
43641 * soft-fp/floatunditf.c: Likewise.
43642 * soft-fp/floatunsidf.c: Likewise.
43643 * soft-fp/floatunsisf.c: Likewise.
43644 * soft-fp/floatunsitf.c: Likewise.
43645 * soft-fp/floatuntidf.c: Likewise.
43646 * soft-fp/floatuntisf.c: Likewise.
43647 * soft-fp/floatuntitf.c: Likewise.
43648 * soft-fp/fmadf4.c: Likewise.
43649 * soft-fp/fmasf4.c: Likewise.
43650 * soft-fp/fmatf4.c: Likewise.
43651 * soft-fp/gedf2.c: Likewise.
43652 * soft-fp/gesf2.c: Likewise.
43653 * soft-fp/getf2.c: Likewise.
43654 * soft-fp/ledf2.c: Likewise.
43655 * soft-fp/lesf2.c: Likewise.
43656 * soft-fp/letf2.c: Likewise.
43657 * soft-fp/muldf3.c: Likewise.
43658 * soft-fp/mulsf3.c: Likewise.
43659 * soft-fp/multf3.c: Likewise.
43660 * soft-fp/negdf2.c: Likewise.
43661 * soft-fp/negsf2.c: Likewise.
43662 * soft-fp/negtf2.c: Likewise.
43663 * soft-fp/op-1.h: Likewise.
43664 * soft-fp/op-2.h: Likewise.
43665 * soft-fp/op-4.h: Likewise.
43666 * soft-fp/op-8.h: Likewise.
43667 * soft-fp/op-common.h: Likewise.
43668 * soft-fp/quad.h: Likewise.
43669 * soft-fp/single.h: Likewise.
43670 * soft-fp/soft-fp.h: Likewise.
43671 * soft-fp/sqrtdf2.c: Likewise.
43672 * soft-fp/sqrtsf2.c: Likewise.
43673 * soft-fp/sqrttf2.c: Likewise.
43674 * soft-fp/subdf3.c: Likewise.
43675 * soft-fp/subsf3.c: Likewise.
43676 * soft-fp/subtf3.c: Likewise.
43677 * soft-fp/truncdfsf2.c: Likewise.
43678 * soft-fp/trunctfdf2.c: Likewise.
43679 * soft-fp/trunctfsf2.c: Likewise.
43680 * soft-fp/trunctfxf2.c: Likewise.
43681 * soft-fp/unorddf2.c: Likewise.
43682 * soft-fp/unordsf2.c: Likewise.
43683 * soft-fp/unordtf2.c: Likewise.
43684
43685 2013-10-15 Joseph Myers <joseph@codesourcery.com>
43686
43687 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43688 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43689
43690 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
43691
43692 * elf/dl-libc.c: Clear initfini list after freeing.
43693
43694 2013-10-14 Joseph Myers <joseph@codesourcery.com>
43695
43696 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43697 * soft-fp/addsf3.c: Likewise.
43698 * soft-fp/addtf3.c: Likewise.
43699 * soft-fp/divdf3.c: Likewise.
43700 * soft-fp/divsf3.c: Likewise.
43701 * soft-fp/divtf3.c: Likewise.
43702 * soft-fp/double.h: Likewise.
43703 * soft-fp/eqdf2.c: Likewise.
43704 * soft-fp/eqsf2.c: Likewise.
43705 * soft-fp/eqtf2.c: Likewise.
43706 * soft-fp/extenddftf2.c: Likewise.
43707 * soft-fp/extended.h: Likewise.
43708 * soft-fp/extendsfdf2.c: Likewise.
43709 * soft-fp/extendsftf2.c: Likewise.
43710 * soft-fp/extendxftf2.c: Likewise.
43711 * soft-fp/fixdfdi.c: Likewise.
43712 * soft-fp/fixdfsi.c: Likewise.
43713 * soft-fp/fixdfti.c: Likewise.
43714 * soft-fp/fixsfdi.c: Likewise.
43715 * soft-fp/fixsfsi.c: Likewise.
43716 * soft-fp/fixsfti.c: Likewise.
43717 * soft-fp/fixtfdi.c: Likewise.
43718 * soft-fp/fixtfsi.c: Likewise.
43719 * soft-fp/fixtfti.c: Likewise.
43720 * soft-fp/fixunsdfdi.c: Likewise.
43721 * soft-fp/fixunsdfsi.c: Likewise.
43722 * soft-fp/fixunsdfti.c: Likewise.
43723 * soft-fp/fixunssfdi.c: Likewise.
43724 * soft-fp/fixunssfsi.c: Likewise.
43725 * soft-fp/fixunssfti.c: Likewise.
43726 * soft-fp/fixunstfdi.c: Likewise.
43727 * soft-fp/fixunstfsi.c: Likewise.
43728 * soft-fp/fixunstfti.c: Likewise.
43729 * soft-fp/floatdidf.c: Likewise.
43730 * soft-fp/floatdisf.c: Likewise.
43731 * soft-fp/floatditf.c: Likewise.
43732 * soft-fp/floatsidf.c: Likewise.
43733 * soft-fp/floatsisf.c: Likewise.
43734 * soft-fp/floatsitf.c: Likewise.
43735 * soft-fp/floattidf.c: Likewise.
43736 * soft-fp/floattisf.c: Likewise.
43737 * soft-fp/floattitf.c: Likewise.
43738 * soft-fp/floatundidf.c: Likewise.
43739 * soft-fp/floatundisf.c: Likewise.
43740 * soft-fp/floatunsidf.c: Likewise.
43741 * soft-fp/floatunsisf.c: Likewise.
43742 * soft-fp/floatuntidf.c: Likewise.
43743 * soft-fp/floatuntisf.c: Likewise.
43744 * soft-fp/floatuntitf.c: Likewise.
43745 * soft-fp/fmadf4.c: Likewise.
43746 * soft-fp/fmasf4.c: Likewise.
43747 * soft-fp/fmatf4.c: Likewise.
43748 * soft-fp/gedf2.c: Likewise.
43749 * soft-fp/gesf2.c: Likewise.
43750 * soft-fp/getf2.c: Likewise.
43751 * soft-fp/ledf2.c: Likewise.
43752 * soft-fp/lesf2.c: Likewise.
43753 * soft-fp/letf2.c: Likewise.
43754 * soft-fp/muldf3.c: Likewise.
43755 * soft-fp/mulsf3.c: Likewise.
43756 * soft-fp/multf3.c: Likewise.
43757 * soft-fp/negdf2.c: Likewise.
43758 * soft-fp/negsf2.c: Likewise.
43759 * soft-fp/negtf2.c: Likewise.
43760 * soft-fp/op-1.h: Likewise.
43761 * soft-fp/op-2.h: Likewise.
43762 * soft-fp/op-4.h: Likewise.
43763 * soft-fp/op-8.h: Likewise.
43764 * soft-fp/op-common.h: Likewise.
43765 * soft-fp/quad.h: Likewise.
43766 * soft-fp/single.h: Likewise.
43767 * soft-fp/soft-fp.h: Likewise.
43768 * soft-fp/sqrtdf2.c: Likewise.
43769 * soft-fp/sqrtsf2.c: Likewise.
43770 * soft-fp/sqrttf2.c: Likewise.
43771 * soft-fp/subdf3.c: Likewise.
43772 * soft-fp/subsf3.c: Likewise.
43773 * soft-fp/subtf3.c: Likewise.
43774 * soft-fp/truncdfsf2.c: Likewise.
43775 * soft-fp/trunctfdf2.c: Likewise.
43776 * soft-fp/trunctfsf2.c: Likewise.
43777 * soft-fp/trunctfxf2.c: Likewise.
43778 * soft-fp/unorddf2.c: Likewise.
43779 * soft-fp/unordsf2.c: Likewise.
43780 * soft-fp/unordtf2.c: Likewise.
43781
43782 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
43783
43784 [BZ #15672]
43785 * misc/error.c (error_tail): Fix possible buffer overflow.
43786
43787 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
43788
43789 [BZ #13028]
43790 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43791 address.
43792
43793 2013-10-14 P. J. McDermott <pj@pehjota.net>
43794
43795 [BZ #832]
43796 * elf/ldd.bash.in (try_trace): New function. Delete previous code
43797 testing pipefail option.
43798
43799 2013-10-12 Joseph Myers <joseph@codesourcery.com>
43800
43801 * soft-fp/double.h: Indent preprocessor directives inside #if.
43802 * soft-fp/extended.h: Likewise.
43803 * soft-fp/op-2.h: Likewise.
43804 * soft-fp/op-4.h: Likewise.
43805 * soft-fp/op-common.h: Likewise.
43806 * soft-fp/quad.h: Likewise.
43807 * soft-fp/single.h: Likewise.
43808 * soft-fp/soft-fp.h: Likewise.
43809
43810 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
43811
43812 * iconv/iconv_prog.c: Fix typos.
43813 * stdio-common/psiginfo-data.h: Likewise.
43814
43815 2013-10-12 Reuben Thomas <rrt@sc3d.org>
43816
43817 [BZ #15764]
43818 * locale/setlocale.c: Fix typo.
43819
43820 2013-10-12 Joseph Myers <joseph@codesourcery.com>
43821
43822 [BZ #16036]
43823 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43824 signaling NaN arguments.
43825 * soft-fp/unordsf2.c (__unordsf2): Likewise.
43826 * soft-fp/unordtf2.c (__unordtf2): Likewise.
43827
43828 [BZ #14910]
43829 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43830 unordered operands.
43831 * soft-fp/gesf2.c (__gesf2): Likewise.
43832 * soft-fp/getf2.c (__getf2): Likewise.
43833 * soft-fp/ledf2.c (__ledf2): Likewise.
43834 * soft-fp/lesf2.c (__lesf2): Likewise.
43835 * soft-fp/letf2.c (__letf2): Likewise.
43836
43837 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43838 * soft-fp/eqsf2.c (__eqsf2): Likewise.
43839 * soft-fp/eqtf2.c (__eqtf2): Likewise.
43840 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43841 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43842 * soft-fp/fixdfti.c (__fixdfti): Likewise.
43843 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43844 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43845 * soft-fp/fixsfti.c (__fixsfti): Likewise.
43846 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43847 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43848 * soft-fp/fixtfti.c (__fixtfti): Likewise.
43849 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43850 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43851 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43852 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43853 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43854 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43855 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43856 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43857 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43858 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43859 * soft-fp/floatdisf.c (__floatdisf): Likewise.
43860 * soft-fp/floatsisf.c (__floatsisf): Likewise.
43861 * soft-fp/floattidf.c (__floattidf): Likewise.
43862 * soft-fp/floattisf.c (__floattisf): Likewise.
43863 * soft-fp/floattitf.c (__floattitf): Likewise.
43864 * soft-fp/floatundidf.c (__floatundidf): Likewise.
43865 * soft-fp/floatundisf.c (__floatundisf): Likewise.
43866 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43867 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43868 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43869 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43870 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43871 * soft-fp/gesf2.c (__gesf2): Likewise.
43872 * soft-fp/getf2.c (__getf2): Likewise.
43873 * soft-fp/ledf2.c (__ledf2): Likewise.
43874 * soft-fp/lesf2.c (__lesf2): Likewise.
43875 * soft-fp/letf2.c (__letf2): Likewise.
43876
43877 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43878 Undefine and redefine.
43879 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43880 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43881 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43882 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43883 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43884 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43885 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43886 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43887 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43888 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43889 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43890 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43891 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43892 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43893 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43894
43895 [BZ #16032]
43896 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43897 without decrementing exponent if mantissa >= that for the
43898 denominator, not >.
43899 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43900 denominator, not >. Decrement exponent in < case instead of
43901 incrementing in >= case.
43902 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43903 without decrementing exponent if mantissa >= that for the
43904 denominator, not >.
43905
43906 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43907 computing saturated result for unsigned overflow.
43908
43909 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43910 Jeff Law <law@redhat.com>
43911
43912 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43913 (atan2Mp): Add systemtap probe marker.
43914 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43915 (__ieee754_log): Add systemtap probe marker.
43916 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43917 (atanMp): Add systemtap probe marker.
43918 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43919 (tanMp): Add systemtap probe marker.
43920 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43921 (__slowexp): Add systemtap probe marker.
43922 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43923 (__slowpow): Add systemtap probe marker.
43924 * manual/probes.texi: Document probes.
43925
43926 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
43927
43928 [BZ #15362]
43929 * libio/fileops.c (_IO_new_file_write): Return count of bytes
43930 written.
43931 (_IO_new_file_xsputn): Don't return EOF if nothing has been
43932 written.
43933 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43934 written to buffer but not flushed.
43935 * libio/iofwrite_u.c: Likewise.
43936 * libio/iopadn.c: Return bytes returned even if EOF was
43937 encountered.
43938 * libio/iowpadn.c: Likewise.
43939 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43940 if _IO_padn does not write the whole buffer.
43941 [!COMPILE_WPRINTF] (PAD): Likewise.
43942
43943 2013-10-10 David S. Miller <davem@davemloft.net>
43944
43945 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43946 directory block.
43947
43948 2013-10-10 Joseph Myers <joseph@codesourcery.com>
43949
43950 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
43951 instead of FSF address.
43952 * soft-fp/fixdfti.c: Likewise.
43953 * soft-fp/fixsfti.c: Likewise.
43954 * soft-fp/fixtfti.c: Likewise.
43955 * soft-fp/fixunsdfti.c: Likewise.
43956 * soft-fp/fixunssfti.c: Likewise.
43957 * soft-fp/fixunstfti.c: Likewise.
43958 * soft-fp/floattidf.c: Likewise.
43959 * soft-fp/floattisf.c: Likewise.
43960 * soft-fp/floattitf.c: Likewise.
43961 * soft-fp/floatuntidf.c: Likewise.
43962 * soft-fp/floatuntisf.c: Likewise.
43963 * soft-fp/floatuntitf.c: Likewise.
43964 * soft-fp/trunctfxf2.c: Likewise.
43965
43966 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
43967 * soft-fp/fixdfti.c: Likewise.
43968 * soft-fp/fixsfti.c: Likewise.
43969 * soft-fp/fixtfti.c: Likewise.
43970 * soft-fp/fixunsdfti.c: Likewise.
43971 * soft-fp/fixunssfti.c: Likewise.
43972 * soft-fp/fixunstfti.c: Likewise.
43973 * soft-fp/floattidf.c: Likewise.
43974 * soft-fp/floattisf.c: Likewise.
43975 * soft-fp/floattitf.c: Likewise.
43976 * soft-fp/floatuntidf.c: Likewise.
43977 * soft-fp/floatuntisf.c: Likewise.
43978 * soft-fp/floatuntitf.c: Likewise.
43979 * soft-fp/trunctfxf2.c: Likewise.
43980
43981 2013-10-10 David S. Miller <davem@davemloft.net>
43982
43983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43984
43985 2013-10-10 Joseph Myers <joseph@codsourcery.com>
43986
43987 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43988 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43989 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43990 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43991 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43992 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43993 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43994
43995 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43996 for NaNs before doing comparisons on argument.
43997 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43998 Likewise.
43999
44000 2013-10-10 Will Newton <will.newton@linaro.org>
44001
44002 * malloc/hooks.c (memalign_check): Ensure the value of bytes
44003 passed to _int_memalign does not overflow.
44004
44005 2013-10-10 Torvald Riegel <triegel@redhat.com>
44006
44007 * scripts/bench.pl: Add include-sources directive.
44008 * benchtests/README: Update documentation.
44009
44010 2013-10-10 Joseph Myers <joseph@codesourcery.com>
44011
44012 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44013 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44014 instead of FP_INIT_ROUNDMODE.
44015 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44016 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44017
44018 [BZ #16034]
44019 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
44020 copy class of input value.
44021 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
44022 not handle exceptions.
44023 * soft-fp/negsf2.c (__negsf2): Likewise.
44024 * soft-fp/negtf2.c (__negtf2): Likewise.
44025 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44026
44027 2013-10-09 Joseph Myers <joseph@codesourcery.com>
44028
44029 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44030 semicolon. From Linux kernel.
44031
44032 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
44033
44034 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44035
44036 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
44037
44038 [BZ #156]
44039 * manual/socket.texi: Added statement about buffer
44040 for gethostbyname2_r.
44041
44042 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
44043
44044 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44045 Use .p2align directive instead, throughout.
44046 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44047 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44048 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44051 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44052 * sysdeps/x86_64/strchr.S: Likewise.
44053 * sysdeps/x86_64/strrchr.S: Likewise.
44054
44055 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
44056
44057 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44058
44059 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44060
44061 * sysdeps/generic/math_private.h (__mpsin1): Remove
44062 declaration.
44063 (__mpcos1): Likewise.
44064 (__mpsin): New argument __range_reduce.
44065 (__mpcos): Likewise.
44066 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44067 (slow): Use __mpsin and __mpcos.
44068 (slow1): Likewise.
44069 (slow2): Likewise.
44070 (sloww): Likewise.
44071 (sloww1): Likewise.
44072 (sloww2): Likewise.
44073 (bsloww): Likewise.
44074 (bsloww1): Likewise.
44075 (bsloww2): Likewise.
44076 (cslow2): Likewise.
44077 (csloww): Likewise.
44078 (csloww1): Likewise.
44079 (csloww2): Likewise.
44080 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44081 range_reduce. Merge in __mpsin1.
44082 (__mpcos): Likewise.
44083 (__mpsin1): Remove.
44084 (__mpcos1): Likewise.
44085
44086 2013-10-07 Joseph Myers <joseph@codesourcery.com>
44087
44088 * locale/loadlocale.c (_nl_intern_locale_data): Use
44089 LOCFILE_ALIGNED_P.
44090 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44091 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44092 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44093 obstack data is appropriately aligned.
44094 (obstack_int32_grow_fast): Likewise.
44095 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44096 * locale/programs/locfile.c (add_locale_uint32): Likewise.
44097 (add_locale_uint32_array): Likewise.
44098
44099 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
44100
44101 * benchtests/Makefile: Remove ARGLIST and RET variables.
44102 ($(objpfx)bench-%.c): Pass only function name to the script.
44103 * benchtests/README: Update documentation.
44104 * benchtests/acos-inputs: Add new directives.
44105 * benchtests/acosh-inputs: Likewise.
44106 * benchtests/asin-inputs: Likewise.
44107 * benchtests/asinh-inputs: Likewise.
44108 * benchtests/atan-inputs: Likewise.
44109 * benchtests/atanh-inputs: Likewise.
44110 * benchtests/cos-inputs: Likewise.
44111 * benchtests/cosh-inputs: Likewise.
44112 * benchtests/exp-inputs: Likewise.
44113 * benchtests/log-inputs: Likewise.
44114 * benchtests/pow-inputs: Likewise.
44115 * benchtests/rint-inputs: Likewise.
44116 * benchtests/sin-inputs: Likewise.
44117 * benchtests/sinh-inputs: Likewise.
44118 * benchtests/tan-inputs: Likewise.
44119 * benchtests/tanh-inputs: Likewise.
44120 * scripts/bench.pl: Add support for new directives.
44121
44122 2013-10-07 Alan Modra <amodra@gmail.com>
44123
44124 * README: Fix careless merge.
44125
44126 2013-10-05 Alan Modra <amodra@gmail.com>
44127
44128 * NEWS: Mention powerpc64le support and bugs fixed.
44129 * README: Both big-endian and little-endian powerpc64 supported.
44130
44131 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44132
44133 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44134 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44135 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44136 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44137
44138 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
44139
44140 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44141 match prototype.
44142
44143 2013-10-04 Joseph Myers <joseph@codesourcery.com>
44144
44145 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44146 Move -mhard-float appending from
44147 ports/sysdeps/powerpc/powerpc32/Makefile.
44148 [$(with-fp) = yes] (ASFLAGS): Likewise.
44149 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44150 * sysdeps/powerpc/nofpu: Move directory from
44151 ports/sysdeps/powerpc/nofpu.
44152 * sysdeps/powerpc/soft-fp: Move directory from
44153 ports/sysdeps/powerpc/soft-fp.
44154 * sysdeps/powerpc/powerpc32/405: Move directory from
44155 ports/sysdeps/powerpc/powerpc32/405.
44156 * sysdeps/powerpc/powerpc32/440: Move directory from
44157 ports/sysdeps/powerpc/powerpc32/440.
44158 * sysdeps/powerpc/powerpc32/464: Move directory from
44159 ports/sysdeps/powerpc/powerpc32/464.
44160 * sysdeps/powerpc/powerpc32/476: Move directory from
44161 ports/sysdeps/powerpc/powerpc32/476.
44162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44163 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44165 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44167 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44169 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44171 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44172 * README: Update for powerpc-*-linux-gnu software floating point
44173 support in libc.
44174
44175 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44176 case to powerpc/powerpc32*.
44177 * sysdeps/unix/sysv/linux/configure: Regenerated.
44178
44179 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44180 (_FPU_MASK_OM): Define as 0x04.
44181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44183 0x00c10080.
44184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44185 0x0000003c.
44186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44187
44188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44189 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44190 getcontext_e500.
44191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44192 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44193 setcontext_e500.
44194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44195 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44196 and setcontext_e500.
44197
44198 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
44199
44200 * locale/iso-3166.def: Update iso-1366.def and related occurrences
44201
44202 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44203
44204 * manual/threads.texi (Default Thread Attributes): Fix typo.
44205
44206 2013-10-04 Will Newton <will.newton@linaro.org>
44207
44208 * malloc/Makefile: Add tst-memalign.
44209 * malloc/tst-memalign.c: New file.
44210
44211 * malloc/tst-posix_memalign.c: Add comments.
44212 (do_test): Add comments and call free on all potentially
44213 allocated pointers. Add space after cast.
44214
44215 * malloc/tst-pvalloc.c: Add comments.
44216 (do_test): Add comments and call free on all potentially
44217 allocated pointers. Remove duplicate check for NULL pointer.
44218 Add space after cast.
44219
44220 * malloc/tst-valloc.c: Add comments.
44221 (do_test): Add comments and call free on all potentially
44222 allocated pointers. Remove duplicate check for NULL pointer.
44223 Add space after cast.
44224
44225 2013-10-04 Alan Modra <amodra@gmail.com>
44226
44227 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44228 Use stdint types in rather than __attribute__((mode())).
44229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44230
44231 2013-10-04 Alan Modra <amodra@gmail.com>
44232
44233 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44234 Correct handling of unaligned relocs for little-endian.
44235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44236
44237 2013-10-04 Alan Modra <amodra@gmail.com>
44238
44239 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44240 * configure: Regenerate.
44241 * nptl/shlib-versions: Powerpc*le starts at 2.18.
44242 * shlib-versions: Likewise.
44243
44244 2013-10-04 Alan Modra <amodra@gmail.com>
44245
44246 * string/tester.c (test_memrchr): Increment reported test cycle.
44247
44248 2013-10-04 Alan Modra <amodra@gmail.com>
44249
44250 * string/test-memcpy.c (do_one_test): When reporting errors, print
44251 string address and don't overrun end of string.
44252
44253 2013-10-04 Alan Modra <amodra@gmail.com>
44254
44255 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44256 insrdi. Make better use of reg selection to speed exit slightly.
44257 Schedule entry path a little better. Remove useless "are we done"
44258 checks on entry to main loop. Handle wrapping around zero address.
44259 Correct main loop count. Handle single left-over word from main
44260 loop inline rather than by using loop_small. Remove extra word
44261 case in loop_small caused by wrong loop count. Add little-endian
44262 support.
44263 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44264 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
44265 cache hint.
44266 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44267 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44268 support. Avoid rlwimi.
44269 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44270
44271 2013-10-04 Alan Modra <amodra@gmail.com>
44272
44273 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44274 insrdi. Formatting.
44275 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44276 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44277 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44278 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44279 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44280 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44281
44282 2013-10-04 Alan Modra <amodra@gmail.com>
44283
44284 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44285 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44286 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44287 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44288 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44289 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44290 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44291 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44292 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
44293 use of regs. Use power7 mtocrf. Tidy function tails.
44294
44295 2013-10-04 Alan Modra <amodra@gmail.com>
44296
44297 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44298 Formatting. Consistently use rXXX register defines or rN defines.
44299 Use early exit labels that avoid restoring unused non-volatile regs.
44300 Make cr field use more consistent with rWORDn compares. Rename
44301 regs used as shift registers for unaligned loop, using rN defines
44302 for short lifetime/multiple use regs.
44303 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44304 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
44305 addi 1,1,64 to pop stack frame. Simplify return value code.
44306 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44307
44308 2013-10-04 Alan Modra <amodra@gmail.com>
44309
44310 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44311 support. Correct typos, formatting. Optimize tail. Use insrdi
44312 rather than rlwimi.
44313 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44314 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44315 little-endian support. Correct typos.
44316 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
44317 rather than rlwimi.
44318 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
44319 in loop and entry code to keep "and." results.
44320 (strchr): Add little-endian support. Comment. Move cntlzd
44321 earlier in tail.
44322 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44323
44324 2013-10-04 Alan Modra <amodra@gmail.com>
44325
44326 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44327 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44328 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44329 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44330
44331 2013-10-04 Alan Modra <amodra@gmail.com>
44332
44333 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44334 (rTMP): Define as r11.
44335 (strcmp): Add little-endian support. Optimise tail.
44336 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44337 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44338 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44339 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44340 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44341 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44342 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44343
44344 2013-10-04 Alan Modra <amodra@gmail.com>
44345
44346 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44347 little-endian support. Remove unnecessary "are we done" tests.
44348 Handle "s" wrapping around zero and extremely large "size".
44349 Correct main loop count. Handle single left-over word from main
44350 loop inline rather than by using small_loop. Correct comments.
44351 Delete "zero" tail, use "end_max" instead.
44352 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44353
44354 2013-10-04 Alan Modra <amodra@gmail.com>
44355
44356 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44357 support. Don't branch over align.
44358 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44359 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44360 support. Rearrange tmp reg use to suit. Comment.
44361 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44362
44363 2013-10-04 Alan Modra <amodra@gmail.com>
44364
44365 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44366
44367 2013-10-04 Alan Modra <amodra@gmail.com>
44368
44369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44370 conditional form of branch and link when obtaining pc.
44371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44372
44373 2013-10-04 Alan Modra <amodra@gmail.com>
44374
44375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44376 HIWORD/LOWORD.
44377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44379
44380 2013-10-04 Alan Modra <amodra@gmail.com>
44381
44382 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44383 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44384 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44385 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44386 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44387 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44388 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44389 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44390 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44391 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44392
44393 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44394 Alistair Popple <alistair@ozlabs.au.ibm.com>
44395 Alan Modra <amodra@gmail.com>
44396
44397 [BZ #15723]
44398 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44399 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44400 _dl_hwcap access for little-endian.
44401 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
44402 destroy vmx regs when saving unaligned.
44403 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44404 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
44405 destroy vmx regs when saving unaligned.
44406
44407 2013-10-04 Alan Modra <amodra@gmail.com>
44408
44409 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44410 Don't use a union to pack hi/low value.
44411
44412 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44413
44414 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44415 for little-endian.
44416 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44417 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44418 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44419 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44420 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44421
44422 2013-10-04 Alan Modra <amodra@gmail.com>
44423
44424 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44425 constants to usual value for .cst8 section, and remove redundant
44426 high address load.
44427 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44428 constant for 0x1p52. Load little-endian words of double from
44429 correct stack offsets.
44430
44431 2013-10-04 Alan Modra <amodra@gmail.com>
44432
44433 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44434 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44435 words of double from correct stack offsets.
44436 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44437 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44438 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44439 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44440 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44441 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44442 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44443 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44444 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44445 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44446 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44447 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44448 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44449 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44450 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44451 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44452 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44453
44454 2013-10-04 Alan Modra <amodra@gmail.com>
44455
44456 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44457 64-bit int/double union.
44458 (_FPU_SETCW): Likewise.
44459 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44460 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44461
44462 2013-10-04 Alan Modra <amodra@gmail.com>
44463
44464 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44465 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44466
44467 2013-10-04 Alan Modra <amodra@gmail.com>
44468
44469 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44470 use vector int constants.
44471 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44472
44473 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44474
44475 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44476 array with long long.
44477 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44478 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44479 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44480 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44481 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44482 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44483 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44484 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44485 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44486 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44487 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44488 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44489 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44490
44491 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44492
44493 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44494 (__signbit): Likewise. Correct for little-endian.
44495 (__signbitl): Call __signbit.
44496 (lrint): Correct for little-endian.
44497 (lrintf): Call lrint.
44498
44499 2013-10-04 Alan Modra <amodra@gmail.com>
44500
44501 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44502 union 32-bit int array member with 64-bit int array.
44503 (t515, tm256): Double rather than long double.
44504 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44505
44506 2013-10-04 Alan Modra <amodra@gmail.com>
44507
44508 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44509 Delete.
44510 (IEEE854_LONG_DOUBLE_BIAS): Delete.
44511 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44512 version of math_ldbl.h.
44513
44514 2013-10-04 Alan Modra <amodra@gmail.com>
44515
44516 [BZ #15734], [BZ #15735]
44517 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44518 all uses of ieee875 long double macros and unions. Simplify test
44519 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
44520 ldbl_extract_mantissa value for ix,iy exponents. Properly
44521 normalize after ldbl_extract_mantissa, and don't add hidden bit
44522 already handled. Don't treat low word of ieee854 mantissa like
44523 low word of IBM long double and mask off bit when testing for
44524 zero.
44525 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44526 all uses of ieee875 long double macros and unions. Simplify tests
44527 for 0.0L and inf. Correct double adjustment of k. Delete dead code
44528 adjusting ha,hb. Simplify code setting kld. Delete two600 and
44529 two1022, instead use their values. Recognise that tests for large
44530 "a" and small "b" are mutually exclusive. Rename vars. Comment.
44531 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44532 Rewrite all uses of ieee875 long double macros and unions. Simplify
44533 test for 0.0L and nan. Correct negation.
44534 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44535 ieee875 long double macros and unions. Correct output for large
44536 magnitude x. Correct absolute value calculation.
44537 (__erfcl): Likewise.
44538 * math/libm-test.inc: Add tests for errors discovered in IBM long
44539 double versions of fmodl, remainderl, erfl and erfcl.
44540
44541 2013-10-04 Alan Modra <amodra@gmail.com>
44542
44543 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44544 all uses of ieee854 long double macros and unions. Simplify tests
44545 for long doubles that are fully specified by the high double.
44546 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44547 Likewise.
44548 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44549 Remove dead code too.
44550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44551 (__ieee754_ynl): Likewise.
44552 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44553 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44554 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44555 Remove dead code too.
44556 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44557 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44558 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44559 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44560 Simplify.
44561 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44562 Simplify.
44563 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44564 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44565 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44566 Comment on variable precision.
44567 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44568 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44569 Likewise.
44570 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44571 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44572 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44573 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44574 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44575
44576 2013-10-04 Alan Modra <amodra@gmail.com>
44577
44578 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44579 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44580 all uses of ieee854 long double macros and unions.
44581 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44582 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44583 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44584 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44585 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44586 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44587 Likewise.
44588 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44589 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44590 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44591 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44592 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44593 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44594 Simplify sign and nan test too.
44595 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44596 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44597 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44598 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44599 Likewise.
44600 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44601 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44602 Likewise.
44603 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44604 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44605 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44606 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44607 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44609
44610 2013-10-04 Alan Modra <amodra@gmail.com>
44611
44612 * stdio-common/printf_size.c (__printf_size): Don't use
44613 union ieee854_long_double in fpnum union.
44614 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
44615 signbit macro to retrieve sign from long double.
44616 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44617 retrieve sign from long double.
44618 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44619 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44620 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44621 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44622 * math/test-misc.c (main): Don't use union ieee854_long_double.
44623
44624 2013-10-04 Alan Modra <amodra@gmail.com>
44625
44626 [BZ #15680]
44627 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44628 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44629 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44630 calculation. Remove unnecessary test for denormal exponent.
44631 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44632 Correct handling of denormals. Avoid undefined shift behaviour.
44633 Correct normalisation of low mantissa when low double is denormal.
44634 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44635 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
44636 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44637 Correct normalisation of low mantissa. Test for overflow of high
44638 mantissa and normalise.
44639 (ldbl_nearbyint): Use more readable constant for two52.
44640 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44641 (__mpn_construct_long_double): Fix test for overflow of high
44642 mantissa and correct normalisation. Avoid undefined shift.
44643
44644 2013-10-04 Alan Modra <amodra@gmail.com>
44645
44646 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44647 (union ibm_extended_long_double): Define as an array of ieee754_double.
44648 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44649 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44650 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44651 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44652 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44653 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44654 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44655 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44656 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44657 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44658 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44659
44660 2013-10-03 Joseph Myers <joseph@codesourcery.com>
44661
44662 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44663 page size instead of calling getpagesize.
44664
44665 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44666 (LOCFILE_ALIGN_MASK): Likewise.
44667 (LOCFILE_ALIGN_UP): Likewise.
44668 (LOCFILE_ALIGNED_P): Likewise.
44669 * locale/programs/ld-collate.c (collate_output): Use the new
44670 macros instead of __alignof__ (int32_t).
44671 * locale/weight.h (findidx): Likewise.
44672
44673 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
44674
44675 [BZ #431]
44676 * manual/string.texi: Fix strncat and wcsncat.
44677
44678 2013-10-03 Brooks Moses <bmoses@google.com>
44679
44680 [BZ #15915]
44681 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44682 * Makerules: ...here, and adjust associated comments.
44683
44684 2013-10-02 Will Newton <will.newton@linaro.org>
44685
44686 * malloc/Makefile: Add tst-pvalloc.
44687 * malloc/tst-pvalloc.c: New file.
44688
44689 2013-10-02 Will Newton <will.newton@linaro.org>
44690
44691 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44692 improve test coverage.
44693
44694 2013-10-02 Will Newton <will.newton@linaro.org>
44695
44696 * malloc/Makefile: Add tst-posix_memalign.
44697 * malloc/tst-posix_memalign.c: New file.
44698
44699 2013-10-01 Eric Blake <eblake@redhat.com>
44700
44701 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44702 Use __THROWNL rather than __THROW on static functions.
44703
44704 2013-09-30 Petr Machata <pmachata@redhat.com>
44705
44706 * elf/elf.h (R_AARCH64_ABS16): New macro.
44707 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44708 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44709 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44710 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44711 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44712 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44713 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44714 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44715 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44716 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44717 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44718 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44719 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44720 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44721 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44722 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44723 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44724 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44725 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44726 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44727 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44728 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44729 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44730 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44731 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44732 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44733 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44734 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44735 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44736 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44737 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44738 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44739 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44740 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44741 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44742 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44743 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44744 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44745 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44746 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44747 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44748 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44749 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44750 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44751 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44752 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44753 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44754 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44755 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44756 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44757 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44758 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44759 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44760 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44761 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44762 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44763 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44764 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44765 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44766 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44767 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44768 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44769 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44770 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44771 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44772 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44773 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44774 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44775 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44776 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44777 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44778 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44779 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44780 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44781 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44782 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44783 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44784 (R_AARCH64_TLSDESC_LDR): Likewise.
44785 (R_AARCH64_TLSDESC_ADD): Likewise.
44786 (R_AARCH64_TLSDESC_CALL): Likewise.
44787
44788 2013-09-30 Andreas Schwab <schwab@suse.de>
44789
44790 [BZ #15048]
44791 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44792 the nss database lookup.
44793 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44795
44796 2013-09-28 Mike Frysinger <vapier@gentoo.org>
44797
44798 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44799
44800 2013-09-28 P. J. McDermott <pj@pehjota.net>
44801
44802 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44803 ${Bash-specific parameter/pattern/string} parameter expansion.
44804 * sysdeps/unix/make-syscalls.sh: Likewise.
44805
44806 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44807
44808 * sysdeps/sh/stackguard-macros.h: New file.
44809
44810 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
44811
44812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44814 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44815 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44816 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44817 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44818
44819 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44820
44821 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44822 Fix thread ID register.
44823
44824 2013-09-25 Joseph Myers <joseph@codesourcery.com>
44825
44826 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44827 [POSIX || UNIX98]: Require rather than permitting all symbols from
44828 <time.h>.
44829 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44830 element of struct sched_param.
44831 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44832 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44833 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44834 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44835 constant.
44836
44837 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
44838
44839 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44840 argument calculation.
44841
44842 2013-09-24 Joseph Myers <joseph@codesourcery.com>
44843
44844 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44845 Expect macro.
44846 [POSIX] (pthread_attr_t): Do not require type.
44847 [POSIX] (pthread_cond_t): Likewise.
44848 [POSIX] (pthread_condattr_t): Likewise.
44849 [POSIX] (pthread_key_t): Likewise.
44850 [POSIX] (pthread_mutex_t): Likewise.
44851 [POSIX] (pthread_mutexattr_t): Likewise.
44852 [POSIX] (pthread_once_t): Likewise.
44853 [POSIX] (pthread_t): Likewise.
44854 [POSIX-based standards] (pthread_atfork): Expect function.
44855
44856 2013-09-24 Joseph Myers <joseph@codesourcery.com>
44857 Richard Sandiford <richard@codesourcery.com>
44858
44859 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44860 (swap_endianness_p): New extern variable.
44861 (set_big_endian): New inline function.
44862 (maybe_swap_uint32): Likewise.
44863 (maybe_swap_uint32_array): Likewise.
44864 (maybe_swap_uint32_obstack): Likewise.
44865 * locale/programs/locfile.c: Include <stdbool.h>.
44866 (swap_endianness_p): New variable.
44867 (add_locale_uint32): Call maybe_swap_uint32.
44868 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44869 (write_locale_data): Call maybe_swap_uint32_array.
44870 * locale/programs/ld-collate.c (obstack_int32_grow): Call
44871 maybe_swap_uint32.
44872 (obstack_int32_grow_fast): Likewise.
44873 (output_weightwc): Call maybe_swap_uint32_obstack.
44874 (collate_output): Likewise.
44875 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44876 (OPT_LITTLE_ENDIAN): Likewise.
44877 (options): Add --little-endian and --big-endian options.
44878 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44879 * locale/programs/locarchive.c: Include "locfile.h".
44880 (GET): New macro.
44881 (SET): Likewise.
44882 (INC): Likewise.
44883 (create_archive): Use the new macros to access fields of
44884 structures directly mapped from or written to locale archives.
44885 (oldlocrecentcmp): Likewise.
44886 (enlarge_archive): Likewise.
44887 (insert_name): Likewise.
44888 (add_alias): Likewise.
44889 (add_locale): Likewise.
44890 (delete_locales_from_archive): Likewise.
44891 (show_archive_content): Likewise.
44892 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
44893 locale data.
44894
44895 2013-09-24 Roland McGrath <roland@hack.frob.com>
44896
44897 * manual/freemanuals.texi: Updated from (newly) canonical copy at
44898 http://www.gnu.org/doc/freemanuals.texi.
44899 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44900
44901 2013-09-24 Will Newton <will.newton@linaro.org>
44902
44903 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44904 macro.
44905
44906 2013-09-23 Joseph Myers <joseph@codesourcery.com>
44907
44908 * locale/hashval.h (compute_hashval): Interpret bytes of key as
44909 unsigned char.
44910
44911 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
44912
44913 * manual/threads.texi (POSIX Threads): Fix a typo.
44914
44915 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
44916
44917 [BZ #14547]
44918 * string/tst-strcoll-overflow.c: New test case.
44919 * string/Makefile (xtests): Add tst-strcoll-overflow.
44920 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44921 cache if string sizes may cause integer overflow.
44922
44923 [BZ #14547]
44924 * string/strcoll_l.c (coll_seq): New members rule, idx,
44925 save_idx and back_us.
44926 (get_next_seq_nocache): New function.
44927 (do_compare_nocache): New function.
44928 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44929 when malloc fails.
44930
44931 2013-09-23 Carlos O'Donell <carlos@redhat.com>
44932
44933 [BZ #15754]
44934 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44935 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44936 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44937
44938 [BZ #15754]
44939 * elf/Makefile (tests): Add tst-ptrguard1.
44940 (tests-static): Add tst-ptrguard1-static.
44941 (tst-ptrguard1-ARGS): Define.
44942 (tst-ptrguard1-static-ARGS): Define.
44943 * elf/tst-ptrguard1.c: New file.
44944 * elf/tst-ptrguard1-static.c: New file.
44945 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44946 * sysdeps/i386/stackguard-macros.h: Likewise.
44947 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44948 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44949 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44950 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44951 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44952 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44953
44954 2013-09-23 Hector Marco <hecmargi@upv.es>
44955 Ismael Ripoll <iripoll@disca.upv.es>
44956 Carlos O'Donell <carlos@redhat.com>
44957
44958 [BZ #15754]
44959 * sysdeps/generic/stackguard-macros.h: Define
44960 __pointer_chk_guard_local and POINTER_CHK_GUARD.
44961 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44962 Define __pointer_chk_guard_local.
44963 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44964 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44965
44966 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
44967
44968 [BZ #15859]
44969 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44970
44971 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
44972
44973 * include/string.h (__ffs): Declare as hidden.
44974 * string/ffs.c (__ffs): Define as hidden.
44975 * sysdeps/i386/ffs.c (__ffs): Likewise.
44976 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44977 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44978 * sysdeps/s390/ffs.c (__ffs): Likewise.
44979 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44980
44981 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
44982
44983 * NEWS: Mention malloc probes.
44984
44985 * malloc/arena.c (new_heap): New memory_heap_new probe.
44986 (grow_heap): New memory_heap_more probe.
44987 (shrink_heap): New memory_heap_less probe.
44988 (heap_trim): New memory_heap_free probe.
44989 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44990 (systrim): New memory_sbrk_less probe.
44991 * manual/probes.texi: Document them.
44992
44993 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44994 * manual/probes.texi: Document it.
44995
44996 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44997 (__libc_realloc): Add memory_realloc_retry probe.
44998 (__libc_memalign): Add memory_memalign_retry probe.
44999 (__libc_valloc): Add memory_valloc_retry probe.
45000 (__libc_pvalloc): Add memory_pvalloc_retry probe.
45001 (__libc_calloc): Add memory_calloc_retry probe.
45002 * manual/probes.texi: Document them.
45003
45004 * malloc/arena.c (get_free_list): Add probe
45005 memory_arena_reuse_free_list.
45006 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45007 and memory_arena_reuse.
45008 (arena_get2) [!PER_THREAD]: Likewise.
45009 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45010 memory_arena_reuse_realloc.
45011 * manual/probes.texi: Document them.
45012
45013 * malloc/malloc.c (__libc_free): Add
45014 memory_mallopt_free_dyn_thresholds probe.
45015 (__libc_mallopt): Add multiple memory_mallopt probes.
45016 * manual/probes.texi: Document them.
45017
45018 * malloc/malloc.c: Include stap-probe.h.
45019 (__libc_mallopt): Add memory_mallopt probe.
45020 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45021 * manual/probes.texi: New.
45022 * manual/Makefile (chapters): Add probes.
45023 * manual/threads.texi: Set next node.
45024
45025 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
45026
45027 [BZ #15963, #13985]
45028 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45029 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45030 Add `Chinese' to `nan' entry name.
45031
45032 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
45033
45034 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45035 (POLYNOMIAL): Likewise.
45036 (TAYLOR_SINCOS): Likewise.
45037 (TAYLOR_SLOW): Likewise.
45038 (__sin): Use TAYLOR_SINCOS.
45039 (__cos): Likewise.
45040 (slow): Use TAYLOR_SLOW.
45041 (sloww): Likewise.
45042 (bsloww): Likewise.
45043 (csloww): Likewise.
45044
45045 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45046
45047 * stdlib/strtod_l.c: Fix buffer overrun.
45048
45049 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
45050
45051 * benchtests/Makefile (bench): Add sincos.
45052 * benchtests/bench-sincos.c: New file.
45053
45054 * math/libm-test.inc (cos_test_data): New test inputs.
45055 (sin_test_data): Likewise.
45056
45057 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45058 macro.
45059 (__sin): Use it.
45060 (__cos): Likewise.
45061 (slow1): Likewise.
45062 (slow2): Likewise.
45063 (sloww1): Likewise.
45064 (sloww2): Likewise.
45065 (bsloww1): Likewise.
45066 (bsloww2): Likewise.
45067 (cslow2): Likewise.
45068 (csloww1): Likewise.
45069 (csloww2): Likewise.
45070
45071 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45072 function.
45073 (__sin): Use it.
45074 (__cos): Likewise.
45075
45076 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45077 gotos.
45078 (__cos): Likewise.
45079
45080 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
45081
45082 * config.h.in (HAVE_MIPS_NAN2008): New macro.
45083 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45084 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45085 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45086 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45087 * elf/cache.c (print_entry): Handle the new cache flags.
45088
45089 2013-09-18 Joseph Myers <joseph@codesourcery.com>
45090 Aldy Hernandez <aldyh@redhat.com>
45091
45092 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45093 Change condition to [_SOFT_FLOAT].
45094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45096 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45097 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45098 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45099 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45100 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45101 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45104 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45105 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45106 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45108 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45109 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45110 declaration.
45111
45112 2013-09-18 Joseph Myers <joseph@codesourcery.com>
45113
45114 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45115 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45116 (__longjmp): Use LOAD_GP to load saved GPRs.
45117 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45118 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45119 (__sigsetjmp): Use SAVE_GP to save GPRs.
45120
45121 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45122 Do not append -msoft-float.
45123 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45124
45125 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45126
45127 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45128
45129 2013-09-17 Joseph Myers <joseph@codesourcery.com>
45130
45131 [BZ #15966]
45132 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45133 (_FPU_GETCW): Use initial "__" on variable and field names but not
45134 on macro parameter name.
45135 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
45136 parentheses around reference to macro parameter.
45137
45138 2013-09-13 Richard Sandiford <richard@codesourcery.com>
45139
45140 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45141 prototype.
45142 (ctype_startup): Use uint32_t in cast and sizeof for
45143 ctype->charnames.
45144
45145 2013-09-11 Jia Liu <proljc@gmail.com>
45146
45147 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45148 __daddr_t_defined.
45149 [__FreeBSD__]: Likewise.
45150
45151 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
45152
45153 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45154 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45155 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45156 (strchr): Remove __strchr_sse42 ifunc selection.
45157 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45158 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45159
45160 2013-09-11 Will Newton <will.newton@linaro.org>
45161
45162 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45163 parameter to RES. Remove hardcoded 1000 value.
45164 * benchtests/bench-skeleton.c (main): Pass RES parameter
45165 to TIMING_INIT and multiply result by 1000.
45166
45167 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45168
45169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45170
45171 2013-09-11 Andreas Schwab <schwab@suse.de>
45172
45173 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45174 if not defined.
45175 (O_TMPFILE) [__USE_GNU]: Define.
45176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45177 Define.
45178
45179 2013-09-11 Will Newton <will.newton@linaro.org>
45180
45181 [BZ #15857]
45182 * malloc/malloc.c (__libc_memalign): Check the value of bytes
45183 does not overflow.
45184
45185 2013-09-11 Will Newton <will.newton@linaro.org>
45186
45187 [BZ #15856]
45188 * malloc/malloc.c (__libc_valloc): Check the value of bytes
45189 does not overflow.
45190
45191 2013-09-11 Will Newton <will.newton@linaro.org>
45192
45193 [BZ #15855]
45194 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45195 does not overflow.
45196
45197 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
45198
45199 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45200 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45201 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45202 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45203 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45204
45205 2013-09-10 Allan McRae <allan@archlinux.org>
45206
45207 [BZ #15748]
45208 * manual/arith.texi (Parsing of Floats): Clarify
45209 cross-reference.
45210
45211 [BZ #15849]
45212 * manual/install.texi (Running make install): Mention
45213 --enable-pt-chown.
45214 * INSTALL: Regenerated.
45215
45216 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
45217
45218 * csu/init-first.c (_init): Remove the !SHARED condition around
45219 FPU control word initialization.
45220 * elf/dl-support.c (_dl_fpu_control): New variable.
45221 (_dl_aux_init) <AT_FPUCW>: Initialize it.
45222 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45223 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45224 * math/test-fpucw-static.c: New file.
45225 * math/test-fpucw-ieee.c: New file.
45226 * math/test-fpucw-ieee-static.c: New file.
45227 * math/Makefile (tests): Add `test-fpucw-ieee' and
45228 `$(tests-static)'.
45229 (tests-static): New variable.
45230 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45231 dependency to...
45232 [($(build-shared),yes)]
45233 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45234 ... this.
45235 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45236 New dependency.
45237
45238 2013-09-09 Allan McRae <allan@archlinux.org>
45239
45240 [BZ #15939]
45241 * manual/string.texi (Collation Functions): Fix typo in
45242 strcoll example.
45243 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45244
45245 [BZ #15893]
45246 * stdlib/isomac.c (get_null_defines): Fix memory leak.
45247
45248 [BZ #15892]
45249 * libio/memstream.c (open_memstream): Fix memory leak.
45250 * libio/wmemstream.c (open_wmemstream): Likewise.
45251
45252 [BZ #15895]
45253 * nscd/netgroupcache.c: Fix nesting of ifdefs.
45254
45255 2013-09-09 Will Newton <will.newton@linaro.org>
45256
45257 * malloc/Makefile: Add tst-realloc to tests.
45258 * malloc/tst-realloc.c: New file.
45259
45260 2013-09-09 Allan McRae <allan@archlinux.org>
45261
45262 [BZ #15844]
45263 * COPYING: Update from GNU website to fix FSF address.
45264 * COPYING.LIB: Likewise.
45265
45266 2013-09-06 David S. Miller <davem@davemloft.net>
45267
45268 * po/zh_TW.po: Update Chinese (traditional) translation from
45269 translation project.
45270
45271 2013-09-06 Richard Sandiford <richard@codesourcery.com>
45272 Joseph Myers <joseph@codesourcery.com>
45273
45274 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45275 "localeinfo.h".
45276 (obstack_chunk_alloc): New macro.
45277 (obstack_chunk_free): Likewise.
45278 (record_offset): New function.
45279 (init_locale_data): Likewise.
45280 (align_locale_data): Likewise.
45281 (add_locale_empty): Likewise.
45282 (add_locale_raw_data): Likewise.
45283 (add_locale_raw_obstack): Likewise.
45284 (add_locale_string): Likewise.
45285 (add_locale_wstring): Likewise.
45286 (add_locale_uint32): Likewise.
45287 (add_locale_uint32_array): Likewise.
45288 (add_locale_char): Likewise.
45289 (start_locale_structure): Likewise.
45290 (end_locale_structure): Likewise.
45291 (start_locale_prelude): Likewise.
45292 (end_locale_prelude): Likewise.
45293 (write_locale_data): Take locale_file structure rather than an
45294 iovec.
45295 * locale/programs/locfile.h: Include "obstack.h".
45296 (struct locale_file): Change to store locale file contents instead
45297 of header.
45298 (init_locale_data): New prototype.
45299 (align_locale_data): Likewise.
45300 (add_locale_empty): Likewise.
45301 (add_locale_raw_data): Likewise.
45302 (add_locale_raw_obstack): Likewise.
45303 (add_locale_string): Likewise.
45304 (add_locale_wstring): Likewise.
45305 (add_locale_uint32): Likewise.
45306 (add_locale_uint32_array): Likewise.
45307 (add_locale_char): Likewise.
45308 (start_locale_structure): Likewise.
45309 (end_locale_structure): Likewise.
45310 (start_locale_prelude): Likewise.
45311 (end_locale_prelude): Likewise.
45312 (write_locale_data): Update prototype.
45313 * locale/programs/3level.h (struct TABLE): Remove result field.
45314 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45315 Use new locale_file interface.
45316 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45317 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45318 * locale/programs/ld-address.c (address_output): Use new
45319 locale_file interface.
45320 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45321 NO_ADD_LOCALE.
45322 (collate_finish): Don't call collseq_table_finalize.
45323 (collate_output): Use new locale_file interface.
45324 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45325 in file.
45326 (NO_FINALIZE): Change to NO_ADD_LOCALE.
45327 (TABLE): Move defines earlier in file.
45328 (ELEMENT): Likewise.
45329 (DEFAULT): Likewise.
45330 (wctrans_table_add): Move macro and inline function earlier in
45331 file.
45332 (struct wctype_table): Move type earlier in file.
45333 (add_locale_wctype_table): New static prototype.
45334 (struct locale_ctype_t): Use logical types instead of struct iovec
45335 pointers for members.
45336 (ctype_output): Use new locale_file interface.
45337 (wctype_table_finalize): Change to add_locale_wctype_table. Use
45338 new locale_file interface.
45339 (allocate_arrays): Update for use of new locale_file interface.
45340 * locale/programs/ld-identification.c (identification_output): Use
45341 new locale_file interface.
45342 * locale/programs/ld-measurement.c (measurement_output): Likewise.
45343 * locale/programs/ld-messages.c (messages_output): Likewise.
45344 * locale/programs/ld-monetary.c (monetary_output): Likewise.
45345 * locale/programs/ld-name.c (name_output): Likewise.
45346 * locale/programs/ld-numeric.c (numeric_output): Likewise.
45347 * locale/programs/ld-paper.c (paper_output): Likewise.
45348 * locale/programs/ld-telephone.c (telephone_output): Likewise.
45349 * locale/programs/ld-time.c (time_output): Likewise.
45350
45351 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45352
45353 * benchtests/Makefile: Add memrchr benchmark.
45354 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45355 benchmark as memrchr.
45356 * benchtests/bench-memrchr-ifunc.c: New file.
45357 * benchtests/bench-memrchr.c: New file.
45358
45359 2013-09-06 Will Newton <will.newton@linaro.org>
45360
45361 * benchtests/Makefile (string-bench): Add memcpy.
45362
45363 2013-09-05 Carlos O'Donell <carlos@redhat.com>
45364 Cong Wang <amwang@redhat.com>
45365
45366 [BZ #15850]
45367 * sysdeps/unix/sysv/linux/bits/in.h
45368 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45369 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45370 before __USE_KERNEL_IPV6_DEFS uses.
45371 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45372 IPPROTO_BEETPH.
45373 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45374 sockaddr_in6, or ipv6_mreq.
45375
45376 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45377
45378 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45379 memory access for final bytes in some large inputs.
45380 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45381
45382 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45383
45384 * string/test-memrchr.c: New file.
45385 * string/test-memrchr-ifunc.c: New file.
45386 * string/Makefile: Add new memrchr testcase.
45387
45388 2013-09-05 Mike Frysinger <vapier@gentoo.org>
45389
45390 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45391 fanotify_init returns EPERM.
45392
45393 2013-09-04 Joseph Myers <joseph@codesourcery.com>
45394
45395 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45396 errors.
45397 (top level): Treat second token from macro or constant entries for
45398 allowed headers as allowed.
45399 * include/complex.h: Condition internal declarations on
45400 [!_ISOMAC].
45401 * include/fenv.h: Condition include of <stdbool.h> and internal
45402 declarations on [!_ISOMAC].
45403
45404 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
45405
45406 [BZ #15923]
45407 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45408
45409 2013-09-04 Joseph Myers <joseph@codesourcery.com>
45410
45411 * configure.in (--enable-versioning): Remove configure option.
45412 (libc_cv_asm_symver_directive): Remove configure test.
45413 (libc_cv_ld_version_script_option): Likewise.
45414 (VERSIONING): Remove variable and AC_SUBST.
45415 (DO_VERSIONING): Remove AC_DEFINE.
45416 * configure: Regenerated.
45417 * config.h.in (DO_VERSIONING): Remove macro.
45418 * Makerules [$(versioning) = yes]: Change conditionals to
45419 [$(build-shared) = yes].
45420 * config.make.in (versioning): Remove variable.
45421 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45422 [$(build-shared) = yes].
45423 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45424 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45425 * elf/Makefile [$(versioning) = yes]: Change conditionals to
45426 [$(build-shared) = yes].
45427 * extra-lib.mk [$(versioning) = yes]: Likewise.
45428 * hurd/Makefile [$(versioning) = yes]: Likewise.
45429 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45430 [SHARED].
45431 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45432 [SHARED].
45433 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45434 [SHARED && !NO_HIDDEN].
45435 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45436 [SHARED].
45437 [SHARED && DO_VERSIONING]: Likewise..
45438 * libio/Makefile [$(versioning) = yes]: Change conditionals to
45439 [$(build-shared) = yes].
45440 * manual/install.texi (--disable-versioning): Remove
45441 documentation.
45442 * INSTALL: Regenerated.
45443 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45444 to [SHARED].
45445 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45446 [$(build-shared) = yes].
45447 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45448 * sysdeps/i386/i686/multiarch/strstr-c.c
45449 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45450 [SHARED && !NO_HIDDEN].
45451 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45452 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45453 * sysdeps/powerpc/powerpc32/dl-machine.c
45454 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45455 * sysdeps/powerpc/powerpc32/sysdep.h
45456 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45457 to [SHARED && PIC && !NO_HIDDEN].
45458 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45459 conditional to [SHARED].
45460
45461 2013-09-04 Will Newton <will.newton@linaro.org>
45462
45463 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45464 * benchtests/bench-string.h: Include bench-timing.h instead
45465 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45466 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45467 call to HP_TIMING_DIFF_INIT.
45468 * benchtests/bench-memccpy.c: Use bench-timing.h macros
45469 instead of hp-timing.h macros.
45470 * benchtests/bench-memchr.c: Likewise.
45471 * benchtests/bench-memcmp.c: Likewise.
45472 * benchtests/bench-memcpy.c: Likewise.
45473 * benchtests/bench-memmem.c: Likewise.
45474 * benchtests/bench-memmove.c: Likewise.
45475 * benchtests/bench-memset.c: Likewise.
45476 * benchtests/bench-rawmemchr.c: Likewise.
45477 * benchtests/bench-strcasecmp.c: Likewise.
45478 * benchtests/bench-strcasestr.c: Likewise.
45479 * benchtests/bench-strcat.c: Likewise.
45480 * benchtests/bench-strchr.c: Likewise.
45481 * benchtests/bench-strcmp.c: Likewise.
45482 * benchtests/bench-strcpy.c: Likewise.
45483 * benchtests/bench-strcpy_chk.c: Likewise.
45484 * benchtests/bench-strlen.c: Likewise.
45485 * benchtests/bench-strncasecmp.c: Likewise.
45486 * benchtests/bench-strncat.c: Likewise.
45487 * benchtests/bench-strncmp.c: Likewise.
45488 * benchtests/bench-strncpy.c: Likewise.
45489 * benchtests/bench-strnlen.c: Likewise.
45490 * benchtests/bench-strpbrk.c: Likewise.
45491 * benchtests/bench-strrchr.c: Likewise.
45492 * benchtests/bench-strspn.c: Likewise.
45493 * benchtests/bench-strstr.c: Likewise.
45494
45495 2013-09-04 Will Newton <will.newton@linaro.org>
45496
45497 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45498
45499 2013-09-03 Joseph Myers <joseph@codesourcery.com>
45500
45501 [BZ #15427]
45502 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45503 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45504 * math/libm-test.inc (lgamma_test_data): Add more tests.
45505 * sysdeps/i386/fpu/libm-test-ulps: Update.
45506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45507
45508 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
45509
45510 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45511 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45512 Add ifunc.
45513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45514 Add strcmp-sse2-unaligned
45515 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45516
45517 2013-09-02 Mike Frysinger <vapier@gentoo.org>
45518
45519 * Versions.def (libc): Add GLIBC_2.19.
45520
45521 2013-09-02 Mike Frysinger <vapier@gentoo.org>
45522
45523 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45524 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45525
45526 2013-09-02 Joseph Myers <joseph@codesourcery.com>
45527
45528 [BZ #14155]
45529 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45530 intermediate calculations in recurrence.
45531 (__ieee754_ynf): Likewise.
45532 * math/libm-test.inc (jn_test_data): Do not allow spurious
45533 underflow exception. Add more tests.
45534 (yn_test_data): Add more tests.
45535 * sysdeps/i386/fpu/libm-test-ulps: Update.
45536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45537
45538 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
45539
45540 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45541
45542 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45543
45544 * csu/init-first.c: Fix then/than typos.
45545 * locale/programs/ld-collate.c: Likewise.
45546 * locale/programs/linereader.h: Likewise.
45547 * manual/charset.texi: Likewise.
45548 * manual/filesys.texi: Likewise.
45549 * manual/stdio.texi: Likewise.
45550 * manual/string.texi: Likewise.
45551 * stdlib/fmtmsg.c: Likewise.
45552 * sysdeps/i386/stpncpy.S: Likewise.
45553 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45554 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45555 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45556 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45557
45558 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45559
45560 * elf/dl-open.c: Fix typos.
45561 * iconvdata/gbbig5.c: Likewise.
45562 * iconvdata/iso-2022-jp.c: Likewise.
45563 * iconv/gconv_int.h: Likewise.
45564 * iconv/loop.c: Likewise.
45565 * nis/rpcsvc/nis.h: Likewise.
45566 * resolv/ns_name.c: Likewise.
45567 * stdio-common/vfscanf.c: Likewise.
45568 * streams/stropts.h: Likewise.
45569 * sunrpc/rpc_thread.c: Likewise.
45570 * sysdeps/i386/strpbrk.S: Likewise.
45571 * sysdeps/ieee754/k_standard.c: Likewise.
45572 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45573 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45574 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45575 * sysdeps/mach/hurd/profil.c: Likewise.
45576 * sysdeps/s390/dl-procinfo.h: Likewise.
45577 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45578 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45579 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45580 * sysdeps/x86_64/dl-trampoline.S: Likewise.
45581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45582
45583 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45584
45585 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45587
45588 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
45589
45590 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45591 aix specific files.
45592 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45593 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45594 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45595 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45596 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45597 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45598 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45599 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45600
45601 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
45602 Roland McGrath <roland@hack.frob.com>
45603
45604 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45605 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45606
45607 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
45608
45609 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45610 __executable_start symbol instead of _start.
45611
45612 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
45613
45614 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45615 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45616 Move macros to...
45617 * sysdeps/gnu/ldsodefs.h: ... this new file.
45618
45619 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45620 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45621 instead of ELFOSABI_LINUX.
45622
45623 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45624 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45625 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45626 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45627 Likewise.
45628 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45629 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45630 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45631 Likewise.
45632 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45633 (ibm_extended_long_double): Add ieee_nan member.
45634 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45635 (do_test): New function.
45636
45637 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45638 TEST_TRUNC.
45639 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45640 functions, renamed from truncdfsf_test, trunctfsf_test,
45641 trunctfdf_test.
45642 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45643 functions.
45644 (do_test): Run all these.
45645
45646 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
45647
45648 * argp/argp-help.c: Fix typos.
45649 * argp/argp-parse.c: Likewise.
45650 * debug/backtracesyms.c: Likewise.
45651 * elf/elf.h: Likewise.
45652 * malloc/malloc.c: Likewise.
45653 * nis/nis_print.c: Likewise.
45654 * resolv/res_comp.c: Likewise.
45655 * stdlib/stdlib.h: Likewise.
45656 * sunrpc/clnt_tcp.c: Likewise.
45657 * sunrpc/clnt_udp.c: Likewise.
45658 * sunrpc/clnt_unix.c: Likewise.
45659 * sysdeps/unix/bsd/ptsname.c: Likewise.
45660 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45661 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45663 Likewise.
45664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45665 Likewise.
45666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45667 Likewise.
45668 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45669
45670 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45671
45672 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45674
45675 2013-08-27 Mike Frysinger <vapier@gentoo.org>
45676
45677 [BZ #15897]
45678 * dlfcn/Makefile (tests): Add bug-dl-leaf.
45679 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45680 ($(objpfx)bug-dl-leaf): New rule.
45681 ($(objpfx)bug-dl-leaf.so): Likewise.
45682 ($(objpfx)bug-dl-leaf.out): Likewise.
45683 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45684 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45685 * dlfcn/bug-dl-leaf.c: New test.
45686 * dlfcn/bug-dl-leaf-lib.c: Likewise.
45687 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45688 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45689 (dlclose): Likewise.
45690 (dlmopen): Likewise.
45691
45692 2013-08-27 Roland McGrath <roland@hack.frob.com>
45693
45694 * include/netdb.h [!_ISOMAC]:
45695 Don't include <tls.h>.
45696 (h_errno, __libc_h_errno): Move declaration and macros out of
45697 [_LIBC_REENTRANT].
45698
45699 * include/resolv.h [_RESOLV_H_]:
45700 Don't include <tls.h>.
45701 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45702 * resolv/res_libc.c: Don't include <tls.h>.
45703 (_res): Use __attribute__ ((nocommon)) in place of
45704 __attribute__ ((section (".bss"))).
45705
45706 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45707 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45708
45709 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45710
45711 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45712 only under [SIOCGIFCONF && SIOCGIFNETMASK].
45713
45714 * resolv/res_mkquery.c: Include <sys/time.h>.
45715
45716 * inet/ifreq.c: Moved to ...
45717 * sysdeps/unix/ifreq.c: ... here.
45718 * inet/ifreq.c: New file, true stub version.
45719
45720 * socket/sa_len.c: New file.
45721 * socket/Makefile (aux): Add it.
45722 * sysdeps/unix/sysv/linux/Makefile
45723 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45724 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45725 and #include <socket/sa_len.c>.
45726 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45727 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45728
45729 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45730 * bits/socket.h: ... here.
45731
45732 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45733 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45734 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45735
45736 2013-08-27 Andreas Schwab <schwab@suse.de>
45737
45738 [BZ #15736]
45739 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45740 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45741 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45742 * string/test-strcasecmp.c (test_main): Run tests in several
45743 locales.
45744 * string/test-strncasecmp.c (test_main): Likewise.
45745
45746 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45747 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45748 to __strcasecmp_nonascii and __strncasecmp_nonascii.
45749 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45750 (__strncasecmp_ssse3) [PIC]: Likewise.
45751
45752 2013-08-26 Roland McGrath <roland@hack.frob.com>
45753
45754 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45755
45756 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45757 instead of explicitly declaring xdecrypt.
45758 * nis/nss_nis/nis-publickey.c: Likewise.
45759
45760 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45761
45762 [BZ #15890]
45763 * nscd/aicache.c: Include res_hconf.h.
45764 (addhstaiX): Initialize res_hconf.
45765
45766 2013-08-26 Andreas Schwab <schwab@suse.de>
45767
45768 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45769 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45770
45771 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45772
45773 * nscd/aicache.c (addhstaiX): Fix indentation.
45774
45775 2013-08-25 Mike Frysinger <vapier@gentoo.org>
45776
45777 * configure.ac: Quote $build_pt_chown test.
45778 * configure: Regenerated.
45779
45780 2013-08-23 Joseph Myers <joseph@codesourcery.com>
45781
45782 [BZ #15532]
45783 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45784 * math/s_cexpf.c (__cexpf): Likewise.
45785 * math/s_cexpl.c (__cexpl): Likewise.
45786 * math/libm-test.inc (cexp_test_data): Correct expected return
45787 value for NaN + i0. Add another test.
45788
45789 2013-08-22 David S. Miller <davem@davemloft.net>
45790
45791 * po/ca.po: Update Catalan translation from translation project.
45792 * po/uk.po: Add Ukrainian translations from translation project.
45793
45794 2013-08-21 Joseph Myers <joseph@codesourcery.com>
45795
45796 [BZ #15797]
45797 * math/s_fdim.c (__fdim): Check for infinite arguments if result
45798 is infinite, not alongside NaN test.
45799 * math/s_fdimf.c (__fdimf): Likewise.
45800 * math/s_fdiml.c (__fdiml): Likewise.
45801 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
45802 errno is unchanged.
45803
45804 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
45805
45806 * argp/argp-help.c: Fix typos.
45807 * crypt/speeds.c: Likewise.
45808 * csu/check_fds.c: Likewise.
45809 * elf/dl-load.c: Likewise.
45810 * elf/dl-open.c: Likewise.
45811 * elf/reldep3.c: Likewise.
45812 * elf/reldep.c: Likewise.
45813 * elf/sprof.c: Likewise.
45814 * iconv/iconv_charmap.c: Likewise.
45815 * iconv/skeleton.c: Likewise.
45816 * iconv/strtab.c: Likewise.
45817 * io/lockf64.c: Likewise.
45818 * libio/libioP.h: Likewise.
45819 * resolv/gai_notify.c: Likewise.
45820 * resolv/ns_name.c: Likewise.
45821 * resolv/ns_samedomain.c: Likewise.
45822 * resolv/res_send.c: Likewise.
45823 * stdlib/random.c: Likewise.
45824 * sunrpc/rpc/xdr.h: Likewise.
45825 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45826 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45827 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45828 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45829 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45830 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45831 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45832 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45833 * sysdeps/mach/hurd/check_fds.c: Likewise.
45834 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45835 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45836 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45837 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45838 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45839 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45840 * sysdeps/pthread/aio_notify.c: Likewise.
45841 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45842 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45843 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45844 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45845 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45846
45847 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45848
45849 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45850 version if bit_Slow_SSE4_2 is set.
45851 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45852 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45853
45854 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45855
45856 [BZ #15867]
45857 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45858 trampoline stack frame information.
45859 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45860 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45861 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45862 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45863 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45864 * sysdeps/unix/sysv/linux/powerpc/init-first.c
45865 (_libc_vdso_platform_setup): Initialize the signal trampolines.
45866 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45867 sa_flags value.
45868 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45869 interrupting a syscall and set with option SA_SIGINFO.
45870
45871 2013-08-20 Joseph Myers <joseph@codesourcery.com>
45872
45873 [BZ #15531]
45874 * math/s_cproj.c (__cproj): Only return an infinity if one part of
45875 argument is infinite.
45876 * math/s_cprojf.c (__cprojf): Likewise.
45877 * math/s_cprojl.c (__cprojl): Likewise.
45878 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45879 * math/libm-test.inc (cproj_test_data): Add more tests.
45880
45881 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45882
45883 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45884 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45885 size. Use __ffs to determine corresponding shift.
45886
45887 2013-08-20 Joseph Myers <joseph@codesourcery.com>
45888 Roland McGrath <roland@hack.frob.com>
45889
45890 * Makefile (INSTALL): Remove trailing blank lines from output of
45891 makeinfo.
45892
45893 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45894
45895 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45896 Align 32 bit compat elf_greg to 8 bytes.
45897
45898 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
45899
45900 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45901
45902 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45903
45904 * string/strcoll_l.c (coll_seq): New structure.
45905 (get_next_seq_cached): New function.
45906 (get_next_seq): New function.
45907 (do_compare): New function.
45908 (STRCOLL): Use GNU style definition. Simplify implementation
45909 by using get_next_seq, get_next_seq_cached and do_compare.
45910
45911 2013-08-16 Florian Weimer <fweimer@redhat.com>
45912
45913 [BZ #14699]
45914 CVE-2013-4237
45915 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45916 member.
45917 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45918 member.
45919 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45920 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45921 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
45922 conditional.
45923 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45924 GETDENTS_64BIT_ALIGNED.
45925 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45926 * manual/filesys.texi (Reading/Closing Directory): Document
45927 ENAMETOOLONG return value of readdir_r. Recommend readdir more
45928 strongly.
45929 * manual/conf.texi (Limits for Files): Add portability note to
45930 NAME_MAX, PATH_MAX.
45931 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45932
45933 2013-08-13 Andreas Schwab <schwab@suse.de>
45934
45935 [BZ #15749]
45936 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45937 of fabs.
45938 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45939 LDBL_MAX_EXP >= 16384]: Add tests for it.
45940
45941 2013-08-12 David S. Miller <davem@davemloft.net>
45942
45943 * version.h (RELEASE): Set to "development".
45944 (VERSION): Set to "2.18.90".
45945 * NEWS: Add 2.19 section.
45946
45947 2013-08-03 David S. Miller <davem@davemloft.net>
45948
45949 * po/ko.po: Update Korean translation from translation project.
45950
45951 2013-08-01 David S. Miller <davem@davemloft.net>
45952
45953 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
45954 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45955 Bilka.
45956
45957 2013-07-30 David S. Miller <davem@davemloft.net>
45958
45959 * po/fr.po: Update French translation from translation project.
45960
45961 2013-07-28 David S. Miller <davem@davemloft.net>
45962
45963 * po/cs.po: Update Czech translation from translation project.
45964
45965 * po/sv.po: Update Swedish translation from translation project.
45966
45967 2013-07-27 David S. Miller <davem@davemloft.net>
45968
45969 * po/eo.po: Update Esperanto translation from translation project.
45970
45971 * po/vi.po: Update Vietnamese translation from translation project.
45972
45973 * po/de.po: Update German translation from translation project.
45974
45975 2013-07-26 David S. Miller <davem@davemloft.net>
45976
45977 * po/bg.po: Update Bulgarian translation from translation project.
45978
45979 * po/nl.po: Update Dutch translation from translation project.
45980 * po/pl.po: Update Polish translation from translation project.
45981 * po/ru.po: Update Russian translation from translation project.
45982
45983 2013-07-24 David S. Miller <davem@davemloft.net>
45984
45985 * po/libc.pot: Update.
45986
45987 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45988
45989 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45990 variable page size.
45991 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45992 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45993 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45994
45995 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45996
45997 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45998
45999 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46000 Andreas Schwab <schwab@suse.de>
46001 Roland McGrath <roland@hack.frob.com>
46002 Joseph Myers <joseph@codesourcery.com>
46003 Carlos O'Donell <carlos@redhat.com>
46004
46005 [BZ #15755]
46006 * config.h.in: Define HAVE_PT_CHOWN.
46007 * config.make.in (build-pt-chown): New variable.
46008 * configure.in (--enable-pt_chown): New configure option.
46009 * configure: Regenerate.
46010 * login/Makefile: Include Makeconfig. Build pt_chown only if
46011 build-pt-chown is enabled.
46012 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46013 pt_chown to fix pty ownership.
46014 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46015 CLOSE_ALL_FDS.
46016 * manual/install.texi (Configuring and compiling): Mention
46017 --enable-pt_chown. Add @findex for grantpt.
46018 * INSTALL: Regenerate.
46019
46020 2013-07-20 David S. Miller <davem@davemloft.net>
46021
46022 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46023 difference between 32-bit and 64-bit.
46024
46025 2013-07-15 Carlos O'Donell <carlos@redhat.com>
46026
46027 [BZ #15711]
46028 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46029 Avoid system header dependency with -ffreestanding.
46030 ($(objpfx)bits/syscall%d): Likewise.
46031
46032 2013-07-13 David S. Miller <davem@davemloft.net>
46033
46034 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46035 underflows from atanl/atan2l due to bug 15319.
46036 (casinh_test_data): Likewise.
46037
46038 2013-07-07 David S. Miller <davem@davemloft.net>
46039
46040 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46041
46042 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
46043
46044 * sysdeps/i386/fpu/libm-test-ulps: Update.
46045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46046
46047 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46048
46049 * configure.in (--enable-lock-elision): Fix message text.
46050 * INSTALL: Regenerate.
46051 * configure: Regenerate.
46052
46053 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46054
46055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46056
46057 2013-07-03 Andreas Jaeger <aj@suse.de>
46058
46059 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46060 define.
46061 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46062 (ptrace_peeksiginfo_args): Add.
46063 (__ptrace_peeksiginfo_flags): Add.
46064 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46066 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46067
46068 2013-07-03 Allan McRae <allan@archlinux.org>
46069
46070 * sysdeps/i386/fpu/libm-test-ulps: Update.
46071
46072 2013-07-02 David S. Miller <davem@davemloft.net>
46073
46074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46075
46076 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
46077
46078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46079
46080 2013-07-02 Joseph Myers <joseph@codesourcery.com>
46081
46082 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46084
46085 2013-07-02 Andi Kleen <ak@linux.intel.com>
46086
46087 * config.h.in (ENABLE_LOCK_ELISION): Add.
46088 * configure.in (--enable-lock-elision): Add option.
46089 * manual/install.texi: Document --enable lock elision.
46090 * configure: Regenerate
46091 * INSTALL: Regenerate.
46092
46093 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
46094
46095 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46096 SSE4.2 strcasecmp for libc.a.
46097 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46098
46099 2013-07-02 Joseph Myers <joseph@codesourcery.com>
46100
46101 [BZ #13304]
46102 * soft-fp/op-common.h (_FP_FMA): New macro.
46103 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46104 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
46105 (_FP_MUL_MEAT_1_imm): ... here.
46106 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
46107 (_FP_MUL_MEAT_1_wide): ... here.
46108 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
46109 (_FP_MUL_MEAT_1_hard): ... here.
46110 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46111 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
46112 (_FP_MUL_MEAT_2_wide): ... here.
46113 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
46114 (_FP_MUL_MEAT_2_wide_3mul): ... here.
46115 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
46116 (_FP_MUL_MEAT_2_gmp): ... here.
46117 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46118 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
46119 (_FP_MUL_MEAT_4_wide): ... here.
46120 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
46121 (_FP_MUL_MEAT_4_gmp): ... here.
46122 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46123 (_FP_WFRACBITS_DW_S): Likewise.
46124 (_FP_WFRACXBITS_DW_S): Likewise.
46125 (_FP_HIGHBIT_DW_S): Likewise.
46126 (FP_FMA_S): Likewise.
46127 (_FP_FRAC_HIGH_DW_S): Likewise.
46128 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46129 (_FP_WFRACBITS_DW_D): Likewise.
46130 (_FP_WFRACXBITS_DW_D): Likewise.
46131 (_FP_HIGHBIT_DW_D): Likewise.
46132 (FP_FMA_D): Likewise.
46133 (_FP_FRAC_HIGH_DW_D): Likewise.
46134 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46135 (_FP_WFRACBITS_DW_E): Likewise.
46136 (_FP_WFRACXBITS_DW_E): Likewise.
46137 (_FP_HIGHBIT_DW_E): Likewise.
46138 (FP_FMA_E): Likewise.
46139 (_FP_FRAC_HIGH_DW_E): Likewise.
46140 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46141 (_FP_WFRACBITS_DW_Q): Likewise.
46142 (_FP_WFRACXBITS_DW_Q): Likewise.
46143 (_FP_HIGHBIT_DW_Q): Likewise.
46144 (FP_FMA_Q): Likewise.
46145 (_FP_FRAC_HIGH_DW_Q): Likewise.
46146 * soft-fp/fmasf4.c: New file.
46147 * soft-fp/fmadf4.c: Likewise.
46148 * soft-fp/fmatf4.c: Likewise.
46149
46150 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46151
46152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46153 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46154 Silvermont.
46155 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46156 macro.
46157 (index_Slow_SSE4_2): Likewise.
46158 (index_Prefer_PMINUB_for_stringop): Likewise.
46159 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46160 bit_Slow_SSE4_2 is set.
46161 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46162 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46163
46164 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46165
46166 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46167 rtld_global._dl_hwcap2.
46168 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46169 POWER8.
46170 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46171 POWER8 feature descriptions defined in _dl_hwcap2.
46172 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46173 string handling for POWER8 feature bits.
46174 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46175 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46176 _dl_powerpc_cap_flags.
46177 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46178 * sysdeps/powerpc/rtld-global-offsets.sym
46179 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46180 _dl_hwcap2 in the rtld_global_ro structure.
46181
46182 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46183
46184 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46185 hardware capabilities in support of AT_HWCAP2.
46186 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46187 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46188 GLRO(dl_hwcap2).
46189 (_dl_show_auxv): Add support for calling _dl_procinfo to display
46190 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
46191 explicitly the unknown a_type display mechanism is used.
46192 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46193 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46194 struct member.
46195 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46196 to macro prototype for AT_HWCAP2 support.
46197 * sysdeps/i386/dl-procinfo.h: Likewise.
46198 * sysdeps/s390/dl-procinfo.h: Likewise.
46199 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46200 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
46201 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
46202 return -1 for unknown a_type display fallback.
46203 * sysdeps/sparc/dl-procinfo.h: Likewise.
46204 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46205 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46206
46207 2013-06-28 Joseph Myers <joseph@codesourcery.com>
46208
46209 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46210 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46211
46212 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
46213
46214 [BZ #12492]
46215 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46216 mprotect making __stack_prot writable.
46217
46218 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
46219 Joseph Myers <joseph@codesourcery.com>
46220
46221 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46222 as being properly aligned.
46223
46224 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
46225
46226 * dlfcn/modstatic5.c: New file.
46227 * dlfcn/tststatic5.c: New file.
46228 * dlfcn/Makefile (tests): Add tststatic5.
46229 (tests-static): Likewise.
46230 (modules-names): Add modstatic5.
46231 (tststatic5-ENV): New variable.
46232 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46233
46234 [BZ #15022]
46235 * elf/dl-support.c (_dl_main_map): New variable.
46236 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46237 (_dl_nns, _dl_load_adds): Set to 1.
46238 (_dl_initial_searchlist): Refer to _dl_main_map.
46239 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46240 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46241 call to _dl_get_origin.
46242 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46243 around call_map.
46244 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46245 * dlfcn/modstatic3.c: New file.
46246 * dlfcn/tststatic3.c: New file.
46247 * dlfcn/tststatic4.c: New file.
46248 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46249 (tests-static): Likewise.
46250 (modules-names): Add modstatic3.
46251 (tststatic3-ENV, tststatic4-ENV): New variables.
46252 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46253 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46254
46255 2013-06-26 Joseph Myers <joseph@codesourcery.com>
46256
46257 * configure.in (CC): Require GCC version 4.4 or later.
46258 * configure: Regenerated.
46259 * manual/install.texi (Tools for Compilation): Update GCC version
46260 requirement.
46261 * INSTALL: Regenerated.
46262
46263 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46264
46265 [BZ #15674]
46266 * string/test-memcmp.c (check2): New.
46267 (main): Call check2.
46268
46269 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46270
46271 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
46272
46273 [BZ #15022]
46274 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46275 over to...
46276 (dl_open_worker) [!SHARED]: ... here.
46277
46278 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46279
46280 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46281
46282 2013-06-25 Richard Henderson <rth@redhat.com>
46283
46284 * locale/programs/locarchive.c: Include <libc-internal.h>
46285
46286 2013-06-25 Joseph Myers <joseph@codesourcery.com>
46287
46288 * manual/texinfo.tex: Update to version 2013-06-21.17, with
46289 trailing whitespace removed.
46290
46291 2013-06-24 Mike Frysinger <vapier@gentoo.org>
46292
46293 [BZ #10283]
46294 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46295 * locale/programs/locarchive.c: Include libc-mmap.h.
46296 (prepare_address_space): Take two new outputs (the mmap base and len).
46297 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
46298 values.
46299 (create_archive): Declare new mmap base and len values for
46300 prepare_address_space, and store the result in ah.
46301 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46302 (enlarge_archive): If ah->mmap_base is not NULL, use that and
46303 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46304 Declare new mmap base and len values for
46305 prepare_address_space, and store the result in new_ah.
46306 (open_archive): Declare new mmap base and len values for
46307 prepare_address_space, and store the result in ah.
46308 (close_archive): If ah->mmap_base is not NULL, use that and
46309 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46310 * sysdeps/generic/libc-mmap.h: New file.
46311
46312 2013-06-24 Mike Frysinger <vapier@gentoo.org>
46313
46314 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46315 (ALIGN_UP): Likewise.
46316 (PTR_ALIGN_DOWN): Likewise.
46317 (PTR_ALIGN_UP): Likewise.
46318
46319 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46320
46321 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46322 entry mapped to PPC_PLATFORM_POWER8.
46323 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46324 POWER8.
46325 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46326 (_dl_string_platform): Add case for exporting platform position for
46327 POWER8.
46328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46329 search path to sysdeps/powerpc/powerpc32/power8 directory.
46330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46331 search path to sysdeps/powerpc/powerpc64/power8 directory.
46332 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46333 power7 directories.
46334 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46335 power7 directories.
46336
46337 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46338
46339 * INSTALL: Regenerate.
46340
46341 * nscd/connections.c (nscd_init): Fix comment.
46342
46343 2013-06-22 Joseph Myers <joseph@codesourcery.com>
46344
46345 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46346
46347 [BZ #15667]
46348 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46349 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46350
46351 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
46352
46353 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46354 DL_DST_REQ_STATIC.
46355 (DL_DST_REQ_STATIC): Remove macro.
46356
46357 2013-06-21 Joseph Myers <joseph@codesourcery.com>
46358
46359 [BZ #7006]
46360 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46361 with a shift of 0 bits.
46362
46363 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
46364
46365 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46366 $(tststatic-ENV).
46367
46368 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46369
46370 [BZ #15655]
46371 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46372
46373 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46374
46375 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46376 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46377 accepts -fno-tree-loop-distribute-patterns.
46378 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46379 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46380 recursive call.
46381 * string/memset.c (memset): Likewise.
46382 * string/test-memmove.c (simple_memmove): Disable loop transformation
46383 to library calls.
46384 * string/test-memset.c (simple_memset): Likewise.
46385 * benchtests/bench-memmove.c (simple_memmove): Likewise.
46386 * benchtests/bench-memset.c (simple_memset): Likewise.
46387 * configure: Regenerated.
46388
46389 2013-06-20 Joseph Myers <joseph@codesourcery.com>
46390
46391 * math/test-misc.c (main): Ignore fesetround failure when failures
46392 of subsequent rounding tests would be ignored.
46393
46394 [BZ #15654]
46395 * math/fedisblxcpt.c (fedisableexcept): Return 0.
46396 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46397 * math/fegetenv.c (__fegetenv): Return 0.
46398 * math/fegetexcept.c (fegetexcept): Return 0.
46399 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46400 FE_TONEAREST.
46401 * math/feholdexcpt.c (feholdexcept): Return 0.
46402 * math/fesetenv.c (__fesetenv): Return 0.
46403 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46404 argument FE_TONEAREST.
46405 * math/feupdateenv.c (__feupdateenv): Return 0.
46406 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46407
46408 2013-06-18 Roland McGrath <roland@hack.frob.com>
46409
46410 * elf/rtld-Rules (rtld-compile-command.S): New variable.
46411 (rtld-compile-command.s, rtld-compile-command.c): New variables.
46412 ($(objpfx)rtld-%.os rules): Use them.
46413
46414 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46415
46416 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46417 fields.
46418
46419 2013-06-17 Roland McGrath <roland@hack.frob.com>
46420
46421 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46422 length of target pattern, then descending length of dependency pattern.
46423 * configure.in (AWK): Require gawk 3.1.2 or newer.
46424 * manual/install.texi (Tools for Compilation): Say that we do.
46425 * configure: Regenerated.
46426
46427 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46428 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46429 * scripts/sysd-rules.awk: ... this new script.
46430 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46431 than a glob-style pattern.
46432
46433 2013-06-17 Joseph Myers <joseph@codesourcery.com>
46434
46435 * math/test-misc.c (main): Do not treat incorrectly rounded
46436 conversions as failure unless ROUNDING_TESTS passes.
46437
46438 2013-06-15 Joseph Myers <joseph@codesourcery.com>
46439
46440 [BZ #15631]
46441 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46442 restore exception state around main square root computation, then
46443 check for inexactness explicitly.
46444
46445 * math/libm-test.inc (fma_test_data): Add another test.
46446
46447 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46448
46449 * manual/threads.texi (Non-POSIX Extensions): New document
46450 node. Document pthread_getattr_default_np and
46451 pthread_setattr_default_np.
46452
46453 * Versions.def (libpthread): Add GLIBC_2.18.
46454 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46456 Likewise.
46457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46458 Likewise.
46459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46460 Likewise.
46461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46462 Likewise.
46463 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46464 Likewise.
46465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46466 Likewise.
46467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46468 Likewise.
46469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46470 Likewise.
46471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46472 Likewise.
46473
46474 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46475
46476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46477 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46478
46479 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
46480 H.J. Lu <hjl.tools@gmail.com>
46481
46482 [BZ #15627]
46483 * sysdeps/x86_64/rtld-memset.c: Remove file.
46484 * sysdeps/x86_64/rtld-memset.S: New file.
46485
46486 2013-06-14 Joseph Myers <joseph@codesourcery.com>
46487
46488 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46489 (test_in_one_mode): Take arguments for whether the rounding mode
46490 is supported for each floating-point type.
46491 (do_test): Pass new arguments to test_in_one_mode using
46492 ROUNDING_TESTS.
46493
46494 2013-06-13 Roland McGrath <roland@hack.frob.com>
46495
46496 * posix/tst-waitid.c (do_test): Distinguish different instances of
46497 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
46498 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46499 before entering the kernel for waitpid.
46500
46501 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46502
46503 * NEWS: Fix note on clock function precision. Text by Roland
46504 McGrath.
46505
46506 2013-06-13 Roland McGrath <roland@hack.frob.com>
46507
46508 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46509 it into place only when and if the sanity check passes.
46510
46511 2013-06-13 Joseph Myers <joseph@codesourcery.com>
46512
46513 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46514 output for whether conversion result is exact. Take argument
46515 indicating whether type is IBM long double.
46516 (round_for_all): Change need_exact field to ibm_ld.
46517 * stdlib/tst-strtod-round.c (struct exactness): New type.
46518 (struct test): Change bool ld_ok field to struct exactness exact.
46519 (TEST): Update all definitions for change to field.
46520 (tests): Regenerate array contents.
46521 (test_in_one_mode): Take pointer to new field instead of old ld_ok
46522 field value. Check for IBM long double here.
46523 (do_test): Update calls to test_in_one_mode.
46524
46525 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46526
46527 [BZ #12515]
46528 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46529 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46530
46531 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46532
46533 [BZ #15605]
46534 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46535 generated by the compiler on loop optimizations.
46536 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46537 general definitions.
46538
46539 2013-06-12 Joseph Myers <joseph@codesourcery.com>
46540
46541 * math/bug-nextafter.c: Include <math-tests.h>.
46542 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46543 the relevant type.
46544 * math/bug-nexttoward.c: Include <math-tests.h>.
46545 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46546 the relevant type.
46547 * math/test-misc.c: Include <math-tests.h>.
46548 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46549 the relevant type.
46550
46551 2013-06-12 Andreas Jaeger <aj@suse.de>
46552
46553 * po/ia.po: Update Interlingua translation from translation
46554 project.
46555
46556 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46557
46558 * include/fenv.h: Include stdbool.h.
46559 (struct rm_ctx): New structure.
46560 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46561 Define macro.
46562 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46563 (SET_RESTORE_ROUNDF): Likewise.
46564 (SET_RESTORE_ROUNDL): Likewise.
46565 (SET_RESTORE_ROUND_NOEX): Likewise.
46566 (SET_RESTORE_ROUND_NOEXF): Likewise.
46567 (SET_RESTORE_ROUND_NOEXL): Likewise.
46568 (SET_RESTORE_ROUND_53BIT): Likewise.
46569 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46570 (libc_feresetround_noexf_ctx): Likewise.
46571 (libc_feresetround_noexl_ctx): Likewise.
46572 (libc_feholdsetround_53bit_ctx): Likewise.
46573 (libc_feresetround_53bit_ctx): Likewise.
46574 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46575 (libc_feholdexcept_setround_sse_ctx): New function.
46576 (libc_fesetenv_sse_ctx): Likewise.
46577 (libc_feupdateenv_sse_ctx): Likewise.
46578 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46579 (libc_feholdexcept_setround_387_ctx): Likewise.
46580 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46581 (libc_feholdsetround_387_prec_ctx): Likewise.
46582 (libc_feholdsetround_387_ctx): Likewise.
46583 (libc_feholdsetround_387_53bit_ctx): Likewise.
46584 (libc_feholdsetround_sse_ctx): Likewise.
46585 (libc_feresetround_sse_ctx): Likewise.
46586 (libc_feresetround_387_ctx): Likewise.
46587 (libc_feupdateenv_387_ctx): Likewise.
46588 (libc_feholdexcept_setroundf_ctx): Define macro.
46589 (libc_fesetenvf_ctx): Likewise.
46590 (libc_feupdateenvf_ctx): Likewise.
46591 (libc_feholdsetroundf_ctx): Likewise.
46592 (libc_feresetroundf_ctx): Likewise.
46593 (libc_feholdexcept_setround_ctx): Likewise.
46594 (libc_fesetenv_ctx): Likewise.
46595 (libc_feupdateenv_ctx): Likewise.
46596 (libc_feholdsetround_ctx): Likewise.
46597 (libc_feresetround_ctx): Likewise.
46598 (libc_feholdexcept_setroundl_ctx): Likewise.
46599 (libc_feupdateenvl_ctx): Likewise.
46600 (libc_feholdsetroundl_ctx): Likewise.
46601 (libc_feresetroundl_ctx): Likewise.
46602 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46603 (libc_feresetround_53bit_ctx): Likewise.
46604
46605 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46606
46607 * locale/iso-639.def: Convert to UTF-8.
46608
46609 2013-06-11 Joseph Myers <joseph@codesourcery.com>
46610
46611 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46612 (EXCEPTION_TESTS_double): Likewise.
46613 (EXCEPTION_TESTS_long_double): Likewise.
46614 (EXCEPTION_TESTS): Likewise.
46615 * math/libm-test.inc (test_exceptions): Only test exceptions if
46616 EXCEPTION_TESTS (FLOAT).
46617
46618 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46619
46620 * benchtests/Makefile (string-bench): Add strcpy_chk and
46621 stpcpy_chk.
46622 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46623 * benchtests/bench-stpcpy_chk.c: New file.
46624 * benchtests/bench-strcpy_chk-ifunc.c: New file.
46625 * benchtests/bench-strcpy_chk.c: New file.
46626 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46627 code.
46628 (do_test): Likewise.
46629
46630 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46631
46632 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46633 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46634 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46635 with tabs where appropriate.
46636 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46637 dl-procinfo.h.
46638 [PPC_PLATFORM_PPC440]: Likewise.
46639 [PPC_PLATFORM_PPC464]: Likewise.
46640 [PPC_PLATFORM_PPC476]: Likewise.
46641 (_dl_string_platform): Add support for detecting ppc405, ppc440,
46642 ppc464, and ppc476 platform strings merging from ports/
46643 dl-procinfo.h.
46644
46645 2013-06-11 Andreas Schwab <schwab@suse.de>
46646
46647 [BZ #14991]
46648 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46649 (from_ucs4_idx): Regenerate.
46650 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46651 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46652 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46653 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46654 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46655 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46656 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46657 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46658 from FROM_LOOP and TO_LOOP specific macros.
46659 (BODY): Handle combining characters.
46660 * iconvdata/BIG5HKSCS.irreversible: Update.
46661 * iconvdata/BIG5HKSCS.precomposed: New file.
46662 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46663 characters.
46664 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46665
46666 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46667
46668 * include/sys/time.h: Fix indentation and add copyright header.
46669
46670 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46671 (do_test): Likewise.
46672 * string/test-memchr.c (do_one_test): Likewise.
46673 (do_test): Likewise.
46674 * string/test-memcmp.c (do_one_test): Likewise.
46675 (do_test): Likewise.
46676 * string/test-memcpy.c (do_one_test): Likewise.
46677 (do_test): Likewise.
46678 * string/test-memmem.c (do_one_test): Likewise.
46679 (do_test): Likewise.
46680 (do_random_tests): Likewise.
46681 * string/test-memmove.c (do_one_test): Likewise.
46682 (do_test): Likewise.
46683 * string/test-memset.c (do_one_test): Likewise.
46684 (do_test): Likewise.
46685 * string/test-rawmemchr.c (do_one_test): Likewise.
46686 (do_test): Likewise.
46687 * string/test-strcasecmp.c (do_one_test): Likewise.
46688 (do_test): Likewise.
46689 * string/test-strcasestr.c (do_one_test): Likewise.
46690 (do_test): Likewise.
46691 * string/test-strcat.c (do_one_test): Likewise.
46692 (do_test): Likewise.
46693 * string/test-strchr.c (do_one_test): Likewise.
46694 (do_test): Likewise.
46695 * string/test-strcmp.c (do_one_test): Likewise.
46696 (do_test): Likewise.
46697 * string/test-strcpy.c (do_one_test): Likewise.
46698 (do_test): Likewise.
46699 * string/test-string.h: Likewise.
46700 (test_init): Likewise.
46701 * string/test-strlen.c (do_one_test): Likewise.
46702 (do_test): Likewise.
46703 * string/test-strncasecmp.c (do_one_test): Likewise.
46704 (do_test): Likewise.
46705 * string/test-strncat.c (do_one_test): Likewise.
46706 (do_test): Likewise.
46707 * string/test-strncmp.c (do_one_test): Likewise.
46708 (do_test_limit): Likewise.
46709 (do_test): Likewise.
46710 * string/test-strncpy.c (do_one_test): Likewise.
46711 (do_test): Likewise.
46712 * string/test-strnlen.c (do_one_test): Likewise.
46713 (do_test): Likewise.
46714 * string/test-strpbrk.c (do_one_test): Likewise.
46715 (do_test): Likewise.
46716 * string/test-strrchr.c (do_one_test): Likewise.
46717 (do_test): Likewise.
46718 * string/test-strspn.c (do_one_test): Likewise.
46719 (do_test): Likewise.
46720 * string/test-strstr.c (do_one_test): Likewise.
46721 (do_test): Likewise.
46722
46723 * benchtests/Makefile (string-bench): Add string benchmarks.
46724 * benchtests/bench-bcopy-ifunc.c: New file.
46725 * benchtests/bench-bcopy.c: New file.
46726 * benchtests/bench-bzero-ifunc.c: New file.
46727 * benchtests/bench-bzero.c: New file.
46728 * benchtests/bench-memccpy-ifunc.c: New file.
46729 * benchtests/bench-memccpy.c: New file.
46730 * benchtests/bench-memchr-ifunc.c: New file.
46731 * benchtests/bench-memchr.c: New file.
46732 * benchtests/bench-memcmp-ifunc.c: New file.
46733 * benchtests/bench-memcmp.c: New file.
46734 * benchtests/bench-memmem-ifunc.c: New file.
46735 * benchtests/bench-memmem.c: New file.
46736 * benchtests/bench-memmove-ifunc.c: New file.
46737 * benchtests/bench-memmove.c: New file.
46738 * benchtests/bench-mempcpy-ifunc.c: New file.
46739 * benchtests/bench-mempcpy.c: New file.
46740 * benchtests/bench-memset-ifunc.c: New file.
46741 * benchtests/bench-memset.c: New file.
46742 * benchtests/bench-rawmemchr-ifunc.c: New file.
46743 * benchtests/bench-rawmemchr.c: New file.
46744 * benchtests/bench-stpcpy-ifunc.c: New file.
46745 * benchtests/bench-stpcpy.c: New file.
46746 * benchtests/bench-stpncpy-ifunc.c: New file.
46747 * benchtests/bench-stpncpy.c: New file.
46748 * benchtests/bench-strcasecmp-ifunc.c: New file.
46749 * benchtests/bench-strcasecmp.c: New file.
46750 * benchtests/bench-strcasestr-ifunc.c: New file.
46751 * benchtests/bench-strcasestr.c: New file.
46752 * benchtests/bench-strcat-ifunc.c: New file.
46753 * benchtests/bench-strcat.c: New file.
46754 * benchtests/bench-strchr-ifunc.c: New file.
46755 * benchtests/bench-strchr.c: New file.
46756 * benchtests/bench-strchrnul-ifunc.c: New file.
46757 * benchtests/bench-strchrnul.c: New file.
46758 * benchtests/bench-strcmp-ifunc.c: New file.
46759 * benchtests/bench-strcmp.c: New file.
46760 * benchtests/bench-strcpy-ifunc.c: New file.
46761 * benchtests/bench-strcpy.c: New file.
46762 * benchtests/bench-strcspn-ifunc.c: New file.
46763 * benchtests/bench-strcspn.c: New file.
46764 * benchtests/bench-strlen-ifunc.c: New file.
46765 * benchtests/bench-strlen.c: New file.
46766 * benchtests/bench-strncasecmp-ifunc.c: New file.
46767 * benchtests/bench-strncasecmp.c: New file.
46768 * benchtests/bench-strncat-ifunc.c: New file.
46769 * benchtests/bench-strncat.c: New file.
46770 * benchtests/bench-strncmp-ifunc.c: New file.
46771 * benchtests/bench-strncmp.c: New file.
46772 * benchtests/bench-strncpy-ifunc.c: New file.
46773 * benchtests/bench-strncpy.c: New file.
46774 * benchtests/bench-strnlen-ifunc.c: New file.
46775 * benchtests/bench-strnlen.c: New file.
46776 * benchtests/bench-strpbrk-ifunc.c: New file.
46777 * benchtests/bench-strpbrk.c: New file.
46778 * benchtests/bench-strrchr-ifunc.c: New file.
46779 * benchtests/bench-strrchr.c: New file.
46780 * benchtests/bench-strspn-ifunc.c: New file.
46781 * benchtests/bench-strspn.c: New file.
46782 * benchtests/bench-strstr-ifunc.c: New file.
46783 * benchtests/bench-strstr.c: New file.
46784
46785 * benchtests/Makefile: Disable parallel execution of targets.
46786 (string-bench): Add memcpy.
46787 (benchset): New variable to store a list of benchmark sets.
46788 (bench-func): Renamed from bench.
46789 (bench-set): New target.
46790 (bench): Depend on bench-func and bench-set.
46791 * benchtests/README: Add section on benchmark sets.
46792 * benchtests/bench-memcpy-ifunc.c: New file.
46793 * benchtests/bench-memcpy.c: New file.
46794 * benchtests/bench-string.h: New file.
46795
46796 2013-06-11 Andreas Schwab <schwab@suse.de>
46797
46798 [BZ #15577]
46799 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46800 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46801 values in the triple.
46802 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46803 terminator in the group key.
46804
46805 2013-06-11 Andreas Jaeger <aj@suse.de>
46806
46807 * po/zh_TW.po: Update Chinese (traditional) translation from
46808 translation project.
46809
46810 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46811
46812 * include/time.h (__clock_gettime): Add libc_hidden_proto.
46813 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46814 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
46815 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46816 (clock_getcpuclockid): Likewise.
46817 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46818 Add weak_alias and libc_hidden_def.
46819 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46820 * rt/clock_gettime.c (clock_gettime): Rename to
46821 __clock_gettime. Add weak_alias and libc_hidden_def.
46822 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46823 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46824 __clock_nanosleep. Add weak_alias and libc_hidden_def.
46825 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46826 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46827 Likewise.
46828 * rt/clock_settime.c (clock_settime): Rename to
46829 __clock_settime. Add weak_alias and libc_hidden_def.
46830 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46831
46832 2013-06-10 Joseph Myers <joseph@codesourcery.com>
46833
46834 * mach/err_boot.sub: Remove trailing whitespace.
46835 * mach/err_ipc.sub: Likewise.
46836 * mach/err_mach.sub: Likewise.
46837
46838 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46839 (ROUNDING_TESTS_double): Likewise.
46840 (ROUNDING_TESTS_long_double): Likewise.
46841 (ROUNDING_TESTS): Likewise.
46842 * math/libm-test.inc: Include <math-tests.h>.
46843 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46844 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46845 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46846 (IF_ROUND_INIT_FE_UPWARD): Likewise.
46847
46848 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46849
46850 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46851 of assigning.
46852
46853 2013-06-08 Joseph Myers <joseph@codesourcery.com>
46854
46855 * sysdeps/gnu/errlist.awk: Do not generate space at end of
46856 otherwise empty TRANS lines.
46857 * sysdeps/gnu/errlist.c: Regenerated.
46858
46859 * catgets/gencat.c (error_print): Use (void) in function
46860 definition.
46861 * crypt/crypt_util.c (__init_des): Likewise.
46862 * crypt/speeds.c (Stop): Likewise.
46863 (main): Likewise.
46864 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46865 * inet/ruserpass.c (token): Likewise.
46866 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46867 * intl/localealias.c (extend_alias_table): Likewise.
46868 * intl/plural-exp.c (init_germanic_plural): Likewise.
46869 * libio/fcloseall.c (__fcloseall): Likewise.
46870 * libio/genops.c (_IO_flush_all): Likewise.
46871 (_IO_flush_all_linebuffered): Likewise.
46872 (_IO_cleanup): Likewise.
46873 (_IO_iter_begin): Likewise.
46874 (_IO_iter_end): Likewise.
46875 (_IO_list_lock): Likewise.
46876 (_IO_list_unlock): Likewise.
46877 (_IO_list_resetlock): Likewise.
46878 * libio/getchar.c (getchar): Likewise.
46879 * libio/getchar_u.c (getchar_unlocked): Likewise.
46880 * libio/getwchar.c (getwchar): Likewise.
46881 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46882 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46883 * login/getpt.c (__getpt): Likewise.
46884 * login/tst-utmp.c (main): Likewise.
46885 * malloc/hooks.c (__malloc_check_init): Likewise.
46886 * malloc/malloc.c (__malloc_stats): Likewise.
46887 * malloc/mtrace.c (tr_break): Likewise.
46888 (mtrace): Likewise.
46889 (muntrace): Likewise.
46890 * misc/fstab.c (endfsent): Likewise.
46891 * misc/getclktck.c (__getclktck): Likewise.
46892 * misc/getdtsz.c (__getdtablesize): Likewise.
46893 * misc/gethostid.c (gethostid): Likewise.
46894 * misc/getpagesize.c (__getpagesize): Likewise.
46895 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46896 (__get_nprocs): Likewise.
46897 (__get_phys_pages): Likewise.
46898 (__get_avphys_pages): Likewise.
46899 * misc/getttyent.c (getttyent): Likewise.
46900 (setttyent): Likewise.
46901 (endttyent): Likewise.
46902 * misc/getusershell.c (getusershell): Likewise.
46903 (endusershell): Likewise.
46904 (setusershell): Likewise.
46905 (initshells): Likewise.
46906 * misc/hsearch.c (__hdestroy): Likewise.
46907 * misc/sync.c (sync): Likewise.
46908 * misc/syslog.c (closelog_internal): Likewise.
46909 (closelog): Likewise.
46910 * misc/ttyslot.c (ttyslot): Likewise.
46911 * misc/vhangup.c (vhangup): Likewise.
46912 * posix/fork.c (__fork): Likewise.
46913 * posix/getegid.c (__getegid): Likewise.
46914 * posix/geteuid.c (__geteuid): Likewise.
46915 * posix/getgid.c (__getgid): Likewise.
46916 * posix/getpid.c (__getpid): Likewise.
46917 * posix/getppid.c (__getppid): Likewise.
46918 * posix/getuid.c (__getuid): Likewise.
46919 * posix/pause.c (pause): Likewise.
46920 * posix/setpgrp.c (setpgrp): Likewise.
46921 * posix/setsid.c (__setsid): Likewise.
46922 * posix/test-vfork.c (noop): Likewise.
46923 * resolv/gethnamaddr.c (_endhtent): Likewise.
46924 (_gethtent): Likewise.
46925 (ht_endhostent): Likewise.
46926 (gethostent): Likewise.
46927 (dns_service): Likewise.
46928 * stdlib/drand48.c (drand48): Likewise.
46929 * stdlib/lrand48.c (lrand48): Likewise.
46930 * stdlib/mrand48.c (mrand48): Likewise.
46931 * stdlib/rand.c (rand): Likewise.
46932 * stdlib/random.c (__random): Likewise.
46933 * stdlib/setenv.c (clearenv): Likewise.
46934 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46935 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46936 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46937 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46938 (__get_nprocs): Likewise.
46939 (__get_phys_pages): Likewise.
46940 (__get_avphys_pages): Likewise.
46941 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46942 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46943 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46944 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46945 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46946 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46947 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46948 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46949 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46950 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46951 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46952 * sysdeps/mach/hurd/sync.c (sync): Likewise.
46953 * sysdeps/posix/clock.c (clock): Likewise.
46954 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46955 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46956 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46957 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46958 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46959 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46960 (__get_nprocs_conf): Likewise.
46961 (__get_phys_pages): Likewise.
46962 (__get_avphys_pages): Likewise.
46963 * time/clock.c (clock): Likewise.
46964 * time/tzset.c (__tzname_max): Likewise.
46965
46966 2013-06-07 Joseph Myers <joseph@codesourcery.com>
46967
46968 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46969 (__bswap_32): Do not use "register".
46970 * crypt/crypt.c (_ufc_doit_r): Likewise.
46971 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46972 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46973 * gmon/gmon.c (__monstartup): Likewise.
46974 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46975 * hurd/hurdmalloc.c (more_memory): Likewise.
46976 (malloc): Likewise.
46977 (free): Likewise.
46978 (realloc): Likewise.
46979 (malloc_fork_prepare): Likewise.
46980 (malloc_fork_parent): Likewise.
46981 (malloc_fork_child): Likewise.
46982 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46983 (_svcauth_des): Likewise.
46984 * inet/inet_lnaof.c (inet_lnaof): Likewise.
46985 * inet/inet_net.c (inet_network): Likewise.
46986 * inet/inet_netof.c (inet_netof): Likewise.
46987 * inet/rcmd.c (__validuser2_sa): Likewise.
46988 * io/fts.c (fts_open): Likewise.
46989 (fts_load): Likewise.
46990 (fts_close): Likewise.
46991 (fts_read): Likewise.
46992 (fts_children): Likewise.
46993 (fts_build): Likewise.
46994 (fts_stat): Likewise.
46995 (fts_sort): Likewise.
46996 (fts_alloc): Likewise.
46997 (fts_lfree): Likewise.
46998 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46999 (_IO_file_xsgetn): Likewise.
47000 (_IO_file_xsgetn_mmap): Likewise.
47001 * libio/iofopncook.c (_IO_cookie_read): Likewise.
47002 (_IO_cookie_write): Likewise.
47003 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47004 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47005 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47006 * malloc/obstack.c (_obstack_begin): Likewise.
47007 (_obstack_begin_1): Likewise.
47008 (_obstack_newchunk): Likewise.
47009 (_obstack_allocated_p): Likewise.
47010 (obstack_free): Likewise.
47011 (_obstack_memory_used): Likewise.
47012 * misc/getttyent.c (getttynam): Likewise.
47013 (getttyent): Likewise.
47014 (skip): Likewise.
47015 (value): Likewise.
47016 * misc/getusershell.c (initshells): Likewise.
47017 * misc/syslog.c (__vsyslog_chk): Likewise.
47018 * misc/ttyslot.c (ttyslot): Likewise.
47019 * nis/nis_hash.c (__nis_hash): Likewise.
47020 * posix/fnmatch_loop.c (FCT): Likewise.
47021 * posix/getconf.c (print_all): Likewise.
47022 (main): Likewise.
47023 * posix/getopt.c (exchange): Likewise.
47024 * posix/glob.c (globfree): Likewise.
47025 (prefix_array): Likewise.
47026 (__glob_pattern_type): Likewise.
47027 * resolv/arpa/nameser.h (NS_GET16): Likewise.
47028 (NS_GET32): Likewise.
47029 (NS_PUT16): Likewise.
47030 (NS_PUT32): Likewise.
47031 * resolv/gethnamaddr.c (getanswer): Likewise.
47032 (gethostbyname2): Likewise.
47033 (gethostbyaddr): Likewise.
47034 (_gethtent): Likewise.
47035 (_gethtbyname2): Likewise.
47036 (_gethtbyaddr): Likewise.
47037 * resolv/ns_print.c (dst_s_get_int16): Likewise.
47038 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47039 * resolv/res_init.c (__res_vinit): Likewise.
47040 (net_mask): Likewise.
47041 * resolv/res_mkquery.c (outchar): Likewise.
47042 (PRINT): Likewise.
47043 * stdio-common/printf_fp.c (outchar): Likewise.
47044 (PRINT): Likewise.
47045 * stdio-common/printf_fphex.c (outchar): Likewise.
47046 (PRINT): Likewise.
47047 * stdio-common/printf_size.c (outchar): Likewise.
47048 (PRINT): Likewise.
47049 * stdio-common/test_rdwr.c (main): Likewise.
47050 * stdio-common/tfformat.c (matches): Likewise.
47051 * stdio-common/vfprintf.c (outchar): Likewise.
47052 (printf_unknown): Likewise.
47053 (buffered_vfprintf): Likewise.
47054 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47055 * stdio-common/xbug.c (AppendToBuffer): Likewise.
47056 (ReadFile): Likewise.
47057 * stdlib/qsort.c (SWAP): Likewise.
47058 (_quicksort): Likewise.
47059 * stdlib/setenv.c (__add_to_environ): Likewise.
47060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47061 * stdlib/strtol_l.c (__strtol_l): Likewise.
47062 * stdlib/tst-strtod.c (main): Likewise.
47063 * stdlib/tst-strtol.c (main): Likewise.
47064 * stdlib/tst-strtoll.c (main): Likewise.
47065 * string/bits/string2.h (__strcmp_cc): Likewise.
47066 (__strcmp_cg): Likewise.
47067 (__strcspn_c1): Likewise.
47068 (__strcspn_c2): Likewise.
47069 (__strcspn_c3): Likewise.
47070 (__strspn_c1): Likewise.
47071 (__strspn_c2): Likewise.
47072 (__strspn_c3): Likewise.
47073 (__strsep_1c): Likewise.
47074 (__strsep_2c): Likewise.
47075 (__strsep_3c): Likewise.
47076 * string/memccpy.c (__memccpy): Likewise.
47077 * string/stpcpy.c (__stpcpy): Likewise.
47078 * string/strcmp.c (strcmp): Likewise.
47079 * string/strrchr.c (strrchr): Likewise.
47080 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47081 Likewise.
47082 * sysdeps/mach/hurd/getcwd.c
47083 (_hurd_canonicalize_directory_name_internal): Likewise.
47084 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47085 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47086 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47087 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47088 Likewise, in both definitions.
47089 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47090 definitions.
47091 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47092 64] (__bswap_64): Likewise.
47093 * time/test_time.c (main): Likewise.
47094 * time/tzfile.c (__tzfile_read): Likewise.
47095 (__tzfile_compute): Likewise.
47096 * time/tzset.c (__tzset_parse_tz): Likewise.
47097 (tzset_internal): Likewise.
47098 (compute_change): Likewise.
47099 * wcsmbs/wcscat.c (__wcscat): Likewise.
47100 * wcsmbs/wcschr.c (wcschr): Likewise.
47101 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47102 * wcsmbs/wcscspn.c (wcscspn): Likewise.
47103 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47104 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47105 * wcsmbs/wcsspn.c (wcsspn): Likewise.
47106 * wcsmbs/wcsstr.c (wcsstr): Likewise.
47107 * wcsmbs/wmemchr.c (wmemchr): Likewise.
47108 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47109 * wcsmbs/wmemset.c (wmemset): Likewise.
47110
47111 2013-06-06 Joseph Myers <joseph@codesourcery.com>
47112
47113 * scripts/config.guess: Update to version 2013-05-16.
47114 * scripts/config.sub: Update to version 2013-04-24.
47115 * scripts/install-sh: Update to version 2011-11-20.07.
47116 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47117 * scripts/move-if-change: Update to version 2012-01-06 07:23.
47118
47119 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
47120
47121 * debug/fgetws_u_chk.c: Fix leading whitespaces.
47122 * elf/sln.c: Likewise.
47123 * hurd/hurd/ioctl.h: Likewise.
47124 * hurd/hurdmalloc.c: Likewise.
47125 * hurd/xattr.c: Likewise.
47126 * include/shlib-compat.h: Likewise.
47127 * inet/ruserpass.c: Likewise.
47128 * libio/iofgets_u.c: Likewise.
47129 * libio/iofgetws_u.c: Likewise.
47130 * locale/programs/ld-identification.c: Likewise.
47131 * locale/programs/ld-time.c: Likewise.
47132 * mach/msg-destroy.c: Likewise.
47133 * nss/nss_files/files-netgrp.c: Likewise.
47134 * resolv/res_data.c: Likewise.
47135 * soft-fp/op-1.h: Likewise.
47136 * soft-fp/op-2.h: Likewise.
47137 * soft-fp/op-4.h: Likewise.
47138 * soft-fp/op-common.h: Likewise.
47139 * stdio-common/printf_fphex.c: Likewise.
47140 * stdlib/strtod_l.c: Likewise.
47141 * sunrpc/rpc/clnt.h: Likewise.
47142 * sysdeps/generic/framestate.c: Likewise.
47143 * sysdeps/i386/bsd-_setjmp.S: Likewise.
47144 * sysdeps/i386/bsd-setjmp.S: Likewise.
47145 * sysdeps/i386/__longjmp.S: Likewise.
47146 * sysdeps/i386/setjmp.S: Likewise.
47147 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47148 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47149 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47150 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47151 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47152 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47153 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47154 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47155 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47157 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47161 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47162 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47163 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47164 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47165 * sysdeps/ieee754/support.c: Likewise.
47166 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47167 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47168 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47169 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47170 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47171 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47172 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47173 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47174 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47175 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47176 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47177 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47178 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47179 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47180 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47181 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47182 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47184
47185 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
47186
47187 * posix/transbug.c: Remove executable mode.
47188
47189 2013-06-05 Joseph Myers <joseph@codesourcery.com>
47190
47191 * crypt/speeds.c: Remove trailing whitespace.
47192 * dlfcn/default.c: Likewise.
47193 * elf/ifuncdep2.c: Likewise.
47194 * elf/ifuncmain1.c: Likewise.
47195 * elf/ifuncmain1vis.c: Likewise.
47196 * elf/testobj.h: Likewise.
47197 * elf/tst-stackguard1.c: Likewise.
47198 * gmon/sys/gmon.h: Likewise.
47199 * hurd/hurdmsg.c: Likewise.
47200 * hurd/new-fd.c: Likewise.
47201 * hurd/ports-get.c: Likewise.
47202 * iconvdata/ibm1008_420.c: Likewise.
47203 * inet/tst-getni1.c: Likewise.
47204 * inet/tst-getni2.c: Likewise.
47205 * libio/ioungetc.c: Likewise.
47206 * libio/wfiledoalloc.c: Likewise.
47207 * manual/libm-err-tab.pl: Likewise.
47208 * math/w_dremf.c: Likewise.
47209 * misc/ftruncate.c: Likewise.
47210 * posix/bug-glob2.c: Likewise.
47211 * posix/tst-pcre.c: Likewise.
47212 * posix/wait4.c: Likewise.
47213 * resolv/README: Likewise.
47214 * resolv/res_debug.h: Likewise.
47215 * resolv/tst-inet_ntop.c: Likewise.
47216 * setjmp/bug269-setjmp.c: Likewise.
47217 * soft-fp/extended.h: Likewise.
47218 * soft-fp/op-1.h: Likewise.
47219 * soft-fp/op-2.h: Likewise.
47220 * soft-fp/op-4.h: Likewise.
47221 * soft-fp/op-8.h: Likewise.
47222 * soft-fp/testit.c: Likewise.
47223 * stdio-common/bug16.c: Likewise.
47224 * stdlib/random.c: Likewise.
47225 * sunrpc/rpcsvc/rquota.x: Likewise.
47226 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47227 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47228 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47229 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47230 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47231 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47232 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47233 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47234 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47235 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47236 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47253 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47255 * sysdeps/ieee754/s_lib_version.c: Likewise.
47256 * sysdeps/mach/hurd/check_fds.c: Likewise.
47257 * sysdeps/mach/hurd/getsockname.c: Likewise.
47258 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47259 * sysdeps/mach/hurd/recvfrom.c: Likewise.
47260 * sysdeps/powerpc/bits/link.h: Likewise.
47261 * sysdeps/powerpc/dl-procinfo.c: Likewise.
47262 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47263 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47264 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47265 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47266 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47267 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47268 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47269 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47270 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47271 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47272 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47273 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47274 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47275 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47276 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47277 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47278 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47279 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47280 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47281 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47282 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47283 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47284 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47285 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47286 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47287 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47288 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47289 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47290 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47291 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47292 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47293 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47294 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47295 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47296 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47297 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47298 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47299 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47300 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47301 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47302 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47303 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47304 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47305 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47306 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47307 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47308 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47309 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47310 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47311 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47312 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47313 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47314 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47315 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47316 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47317 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47318 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47319 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47320 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47321 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47322 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47323 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47324 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47325 * sysdeps/powerpc/sysdep.h: Likewise.
47326 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47327 * sysdeps/s390/s390-64/sub_n.S: Likewise.
47328 * sysdeps/sh/dl-trampoline.S: Likewise.
47329 * sysdeps/sh/memset.S: Likewise.
47330 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47331 * sysdeps/sh/strlen.S: Likewise.
47332 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47333 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47334 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47335 * sysdeps/sparc/sparc32/rem.S: Likewise.
47336 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47337 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47338 * sysdeps/sparc/sparc32/strchr.S: Likewise.
47339 * sysdeps/sparc/sparc32/udiv.S: Likewise.
47340 * sysdeps/sparc/sparc32/urem.S: Likewise.
47341 * sysdeps/sparc/sparc64/add_n.S: Likewise.
47342 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47343 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47344 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47345 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47346 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47347 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47348 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47349 * sysdeps/unix/bsd/times.c: Likewise.
47350 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47351 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47355 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47356 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47357 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47358 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47359 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47360 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47361 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47362 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47363 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47364 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47365 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47366 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47367 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47368 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47369 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47370 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47371 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47372 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47373 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47374 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47375 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47376 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47377 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47378 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47379 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47380 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47381 * sysdeps/x86_64/strcspn.S: Likewise.
47382
47383 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47384
47385 * locale/C-translit.h: Revert #include <stdint.h> because this is a
47386 generated file. Regenerate properly from gen-translit.pl.
47387 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
47388 locale/C-translit.h.
47389
47390 2013-06-05 Andreas Schwab <schwab@suse.de>
47391
47392 [BZ #15100]
47393 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47394 week as 6 instead of -1.
47395 * time/tst-strptime.c (day_tests): Add test case.
47396
47397 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47398
47399 * sysdeps/generic/math_private.h
47400 (libc_feholdexcept_setround_53bit): Replace with
47401 libc_feholdsetround_53bit.
47402 (libc_feupdateenv_53bit): Replace with
47403 libc_feresetround_53bit.
47404 (SET_RESTORE_ROUND_53BIT): Adjust.
47405
47406 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
47407
47408 * string/test-strchrnul.c: Add copyright header.
47409
47410 * posix/tst-getaddrinfo4.c: Increase test timeout.
47411
47412 2013-06-03 Carlos O'Donell <carlos@redhat.com>
47413
47414 [BZ #15536]
47415 * math/libm-test.inc (MAX_EXP): Remove
47416 (MIN_EXP): Define.
47417 (ulp): Use MIN_EXP - MANT_DIG.
47418 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47419
47420 2013-05-31 Carlos O'Donell <carlos@redhat.com>
47421
47422 * po/be.po: Revert last change.
47423 * po/zh_CN.po: Likewise.
47424 * po/header.pot: Likewise.
47425
47426 2013-05-31 Joseph Myers <joseph@codesourcery.com>
47427
47428 * Makefile ($(common-objpfx)linkobj/libc.so): Define
47429 link-libc-deps to empty as target-specific variable.
47430 * Makerules (link-libc-args): New variable.
47431 (libc-for-link): Likewise.
47432 (link-libc-deps): Likewise.
47433 (lib%.so): Depend on $(link-libc-deps). Link with
47434 $(link-libc-args).
47435 (build-module): Link with $(link-libc-args).
47436 (build-module-asneeded): Likewise.
47437 (build-module-helper-objlist): Filter out $(link-libc-deps) from
47438 list of objects.
47439 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47440 target-specific variable.
47441 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47442 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47443 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47444 libc.
47445 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47446 libc and ld.so.
47447 ($(objpfx)libpcprofile.so): Likewise.
47448 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47449 libc_nonshared.a.
47450 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47451 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47452 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47453 $(link-libc-deps).
47454 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47455 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47456 * login/Makefile ($(objpfx)libutil.so): Likewise.
47457 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47458 * math/Makefile ($(objpfx)libm.so): Likewise.
47459 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47460 $(objpfx)libnsl.so): Define libc-for-link as target-specific
47461 variable instead of depending directly on libc.
47462 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47463 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47464 $(link-libc-deps).
47465 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47466 libc.
47467 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47468 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47469 ($(objpfx)libanl.so): Likewise.
47470 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47471 ld.so.
47472 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47473 $(link-libc-deps).
47474 * sysdeps/i386/fpu/Makefile: Remove file.
47475 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47476 ($(objpfx)libm.so): Remove dependency on ld.so.
47477
47478 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
47479
47480 [BZ # 15553]
47481 * nis/yp_xdr.c (XDRMAXNAME): Define.
47482 (XDRMAXRECORD): Define.
47483 (xdr_domainname): Use XDRMAXNAME.
47484 (xdr_mapname): Likewise.
47485 (xdr_peername): Likewise.
47486 (xdr_keydat): Use XDRMAXRECORD.
47487 (xdr_valdat): Likewise.
47488
47489 2013-05-30 Jeff Law <law@redhat.com>
47490
47491 [BZ #14256]
47492 * manual/errno.texi (ESTALE): Update to account for more than
47493 just NFS file systems.
47494 * sysdeps/gnu/errlist.c: Regenerated.
47495
47496 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47497
47498 [BZ #15465]
47499 * elf/Makefile (tests): Add tst-null-argv.
47500 (modules-names): Add tst-null-argv-lib.
47501 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47502 (tst-null-argv-ENV): Set environment for tst-null-argv.
47503 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47504 (RTLD_PROGNAME): New macro.
47505 * elf/tst-null-argv.c: New test case.
47506 * elf/tst-null-argv-lib.c: Library for test case.
47507 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47508 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47509 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47510 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47511 * elf/dl-init.c (call_init): Likewise.
47512 (_dl_init): Likewise.
47513 * elf/dl-load.c (print_search_path): Likewise.
47514 (_dl_map_object): Likewise.
47515 * elf/dl-lookup.c (do_lookup_x): Likewise.
47516 (add_dependency): Likewise.
47517 (_dl_lookup_symbol_x): Likewise.
47518 (_dl_debug_bindings): Likewise.
47519 * elf/dl-open.c (_dl_show_scope): Likewise.
47520 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47521 * elf/dl-version.c (match_symbol): Likewise.
47522 (_dl_check_map_versions): Likewise.
47523 * elf/rtld.c (dl_main): Likewise.
47524 (print_unresolved): Use RTLD_PROGNAME.
47525 (print_missing_version): Likewise.
47526 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47527 (elf_machine_rela): Likewise.
47528 * sysdeps/powerpc/powerpc32/dl-machine.c
47529 (__process_machine_rela): Likewise.
47530 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47531 Likewise.
47532 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47533 Likewise.
47534 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47535 Likewise.
47536 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47537 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47538 Likewise.
47539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47540 Likewise.
47541 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47542
47543 2013-05-28 Carlos O'Donell <carlos@redhat.com>
47544
47545 * po/be.po: Add descriptive title.
47546 * po/zh_CN.po: Likewise.
47547 * po/header.pot: Likewise.
47548
47549 2013-05-28 Mike Frysinger <vapier@gentoo.org>
47550
47551 * locale/programs/locarchive.c (create_archive): Inlucde fname in
47552 error message.
47553 (enlarge_archive): Likewise.
47554
47555 2013-05-28 Ben North <ben@redfrontdoor.org>
47556
47557 * manual/arith.texi (frexp): It is the magnitude of the return
47558 value which lies in [0.5, 1), not the return value itself.
47559
47560 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47561
47562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47563
47564 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
47565
47566 * stdio-common/bug26.c (main): Correct fscanf template.
47567
47568 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47569 declare _dl_skip_args.
47570
47571 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47572 Don't declare.
47573
47574 * manual/platform.texi: Add missing @end deftypefun.
47575
47576 2013-05-24 Joseph Myers <joseph@codesourcery.com>
47577
47578 [BZ #15529]
47579 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47580 bit of mantissa of 2^16382.
47581 * math/libm-test.inc (hypot_test_data): Add more tests.
47582
47583 * math/libm-test.inc: Add drem and pow10 to list of tested
47584 functions.
47585 (pow10_test): New function.
47586 (drem_test): Likewise.
47587 (drem_test_tonearest): Likewise.
47588 (drem_test_towardzero): Likewise.
47589 (drem_test_downward): Likewise.
47590 (drem_test_upward): Likewise.
47591 (main): Call the new functions.
47592
47593 * math/libm-test.inc (finite_test_data): Remove.
47594 (finite_test): Run tests from isfinite_test_data.
47595 (gamma_test_data): Remove.
47596 (gamma_test): Run tests from lgamma_test_data.
47597 * sysdeps/i386/fpu/libm-test-ulps: Update.
47598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47599
47600 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47601
47602 * manual/platform.texi: Add PowerPC PPR function set documentation.
47603 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47604 implementation.
47605
47606 2013-05-24 Carlos O'Donell <carlos@redhat.com>
47607
47608 * math/libm-test.inc (MAX_EXP): Define.
47609 (ULPDIFF): Define.
47610 (ulp): New function.
47611 (check_float_internal): Use ULPDIFF.
47612 (cpow_test): Disable failing test.
47613 (check_ulp): Test ulp() implemetnation.
47614 (main): Call check_ulp before starting tests.
47615
47616 2013-05-24 Joseph Myers <joseph@codesourcery.com>
47617
47618 * math/gen-libm-test.pl (generate_testfile): Do not handle
47619 START_DATA and END_DATA.
47620 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47621 END_DATA.
47622 (acos_tonearest_test_data): Likewise.
47623 (acos_towardzero_test_data): Likewise.
47624 (acos_downward_test_data): Likewise.
47625 (acos_upward_test_data): Likewise.
47626 (acosh_test_data): Likewise.
47627 (asin_test_data): Likewise.
47628 (asin_tonearest_test_data): Likewise.
47629 (asin_towardzero_test_data): Likewise.
47630 (asin_downward_test_data): Likewise.
47631 (asin_upward_test_data): Likewise.
47632 (asinh_test_data): Likewise.
47633 (atan_test_data): Likewise.
47634 (atanh_test_data): Likewise.
47635 (atan2_test_data): Likewise.
47636 (cabs_test_data): Likewise.
47637 (cacos_test_data): Likewise.
47638 (cacosh_test_data): Likewise.
47639 (carg_test_data): Likewise.
47640 (casin_test_data): Likewise.
47641 (casinh_test_data): Likewise.
47642 (catan_test_data): Likewise.
47643 (catanh_test_data): Likewise.
47644 (cbrt_test_data): Likewise.
47645 (ccos_test_data): Likewise.
47646 (ccosh_test_data): Likewise.
47647 (ceil_test_data): Likewise.
47648 (cexp_test_data): Likewise.
47649 (cimag_test_data): Likewise.
47650 (clog_test_data): Likewise.
47651 (clog10_test_data): Likewise.
47652 (conj_test_data): Likewise.
47653 (copysign_test_data): Likewise.
47654 (cos_test_data): Likewise.
47655 (cos_tonearest_test_data): Likewise.
47656 (cos_towardzero_test_data): Likewise.
47657 (cos_downward_test_data): Likewise.
47658 (cos_upward_test_data): Likewise.
47659 (cosh_test_data): Likewise.
47660 (cosh_tonearest_test_data): Likewise.
47661 (cosh_towardzero_test_data): Likewise.
47662 (cosh_downward_test_data): Likewise.
47663 (cosh_upward_test_data): Likewise.
47664 (cpow_test_data): Likewise.
47665 (cproj_test_data): Likewise.
47666 (creal_test_data): Likewise.
47667 (csin_test_data): Likewise.
47668 (csinh_test_data): Likewise.
47669 (csqrt_test_data): Likewise.
47670 (ctan_test_data): Likewise.
47671 (ctan_tonearest_test_data): Likewise.
47672 (ctan_towardzero_test_data): Likewise.
47673 (ctan_downward_test_data): Likewise.
47674 (ctan_upward_test_data): Likewise.
47675 (ctanh_test_data): Likewise.
47676 (ctanh_tonearest_test_data): Likewise.
47677 (ctanh_towardzero_test_data): Likewise.
47678 (ctanh_downward_test_data): Likewise.
47679 (ctanh_upward_test_data): Likewise.
47680 (erf_test_data): Likewise.
47681 (erfc_test_data): Likewise.
47682 (exp_test_data): Likewise.
47683 (exp_tonearest_test_data): Likewise.
47684 (exp_towardzero_test_data): Likewise.
47685 (exp_downward_test_data): Likewise.
47686 (exp_upward_test_data): Likewise.
47687 (exp10_test_data): Likewise.
47688 (exp2_test_data): Likewise.
47689 (expm1_test_data): Likewise.
47690 (fabs_test_data): Likewise.
47691 (fdim_test_data): Likewise.
47692 (finite_test_data): Likewise.
47693 (floor_test_data): Likewise.
47694 (fma_test_data): Likewise.
47695 (fma_towardzero_test_data): Likewise.
47696 (fma_downward_test_data): Likewise.
47697 (fma_upward_test_data): Likewise.
47698 (fmax_test_data): Likewise.
47699 (fmin_test_data): Likewise.
47700 (fmod_test_data): Likewise.
47701 (fpclassify_test_data): Likewise.
47702 (frexp_test_data): Likewise.
47703 (gamma_test_data): Likewise.
47704 (hypot_test_data): Likewise.
47705 (ilogb_test_data): Likewise.
47706 (isfinite_test_data): Likewise.
47707 (isgreater_test_data): Likewise.
47708 (isgreaterequal_test_data): Likewise.
47709 (isinf_test_data): Likewise.
47710 (isless_test_data): Likewise.
47711 (islessequal_test_data): Likewise.
47712 (islessgreater_test_data): Likewise.
47713 (isnan_test_data): Likewise.
47714 (isnormal_test_data): Likewise.
47715 (issignaling_test_data): Likewise.
47716 (isunordered_test_data): Likewise.
47717 (j0_test_data): Likewise.
47718 (j1_test_data): Likewise.
47719 (jn_test_data): Likewise.
47720 (ldexp_test_data): Likewise.
47721 (lgamma_test_data): Likewise.
47722 (lrint_test_data): Likewise.
47723 (lrint_tonearest_test_data): Likewise.
47724 (lrint_towardzero_test_data): Likewise.
47725 (lrint_downward_test_data): Likewise.
47726 (lrint_upward_test_data): Likewise.
47727 (llrint_test_data): Likewise.
47728 (llrint_tonearest_test_data): Likewise.
47729 (llrint_towardzero_test_data): Likewise.
47730 (llrint_downward_test_data): Likewise.
47731 (llrint_upward_test_data): Likewise.
47732 (log_test_data): Likewise.
47733 (log10_test_data): Likewise.
47734 (log1p_test_data): Likewise.
47735 (log2_test_data): Likewise.
47736 (logb_test_data): Likewise.
47737 (logb_downward_test_data): Likewise.
47738 (lround_test_data): Likewise.
47739 (llround_test_data): Likewise.
47740 (modf_test_data): Likewise.
47741 (nearbyint_test_data): Likewise.
47742 (nextafter_test_data): Likewise.
47743 (nexttoward_test_data): Likewise.
47744 (pow_test_data): Likewise.
47745 (pow_tonearest_test_data): Likewise.
47746 (pow_towardzero_test_data): Likewise.
47747 (pow_downward_test_data): Likewise.
47748 (pow_upward_test_data): Likewise.
47749 (remainder_test_data): Likewise.
47750 (remainder_tonearest_test_data): Likewise.
47751 (remainder_towardzero_test_data): Likewise.
47752 (remainder_downward_test_data): Likewise.
47753 (remainder_upward_test_data): Likewise.
47754 (remquo_test_data): Likewise.
47755 (rint_test_data): Likewise.
47756 (rint_tonearest_test_data): Likewise.
47757 (rint_towardzero_test_data): Likewise.
47758 (rint_downward_test_data): Likewise.
47759 (rint_upward_test_data): Likewise.
47760 (round_test_data): Likewise.
47761 (scalb_test_data): Likewise.
47762 (scalbn_test_data): Likewise.
47763 (scalbln_test_data): Likewise.
47764 (signbit_test_data): Likewise.
47765 (sin_test_data): Likewise.
47766 (sin_tonearest_test_data): Likewise.
47767 (sin_towardzero_test_data): Likewise.
47768 (sin_downward_test_data): Likewise.
47769 (sin_upward_test_data): Likewise.
47770 (sincos_test_data): Likewise.
47771 (sinh_test_data): Likewise.
47772 (sinh_tonearest_test_data): Likewise.
47773 (sinh_towardzero_test_data): Likewise.
47774 (sinh_downward_test_data): Likewise.
47775 (sinh_upward_test_data): Likewise.
47776 (sqrt_test_data): Likewise.
47777 (tan_test_data): Likewise.
47778 (tan_tonearest_test_data): Likewise.
47779 (tan_towardzero_test_data): Likewise.
47780 (tan_downward_test_data): Likewise.
47781 (tan_upward_test_data): Likewise.
47782 (tanh_test_data): Likewise.
47783 (tgamma_test_data): Likewise.
47784 (trunc_test_data): Likewise.
47785 (y0_test_data): Likewise.
47786 (y1_test_data): Likewise.
47787 (yn_test_data): Likewise.
47788 (significand_test_data): Likewise.
47789
47790 * math/gen-libm-test.pl (@functions): Remove variable.
47791 (generate_testfile): Don't handle START and END lines.
47792 * math/libm-test.inc (START): New macro.
47793 (END): Likewise.
47794 (END_COMPLEX): Likewise.
47795 (acos_test): Use END macro without arguments.
47796 (acos_test_tonearest): Likewise.
47797 (acos_test_towardzero): Likewise.
47798 (acos_test_downward): Likewise.
47799 (acos_test_upward): Likewise.
47800 (acosh_test): Likewise.
47801 (asin_test): Likewise.
47802 (asin_test_tonearest): Likewise.
47803 (asin_test_towardzero): Likewise.
47804 (asin_test_downward): Likewise.
47805 (asin_test_upward): Likewise.
47806 (asinh_test): Likewise.
47807 (atan_test): Likewise.
47808 (atanh_test): Likewise.
47809 (atan2_test): Likewise.
47810 (cabs_test): Likewise.
47811 (cacos_test): Use END_COMPLEX macro without arguments.
47812 (cacosh_test): Likewise.
47813 (carg_test): Use END macro without arguments.
47814 (casin_test): Use END_COMPLEX macro without arguments.
47815 (casinh_test): Likewise.
47816 (catan_test): Likewise.
47817 (catanh_test): Likewise.
47818 (cbrt_test): Use END macro without arguments.
47819 (ccos_test): Use END_COMPLEX macro without arguments.
47820 (ccosh_test): Likewise.
47821 (ceil_test): Use END macro without arguments.
47822 (cexp_test): Use END_COMPLEX macro without arguments.
47823 (cimag_test): Use END macro without arguments.
47824 (clog_test): Use END_COMPLEX macro without arguments.
47825 (clog10_test): Likewise.
47826 (conj_test): Likewise.
47827 (copysign_test): Use END macro without arguments.
47828 (cos_test): Likewise.
47829 (cos_test_tonearest): Likewise.
47830 (cos_test_towardzero): Likewise.
47831 (cos_test_downward): Likewise.
47832 (cos_test_upward): Likewise.
47833 (cosh_test): Likewise.
47834 (cosh_test_tonearest): Likewise.
47835 (cosh_test_towardzero): Likewise.
47836 (cosh_test_downward): Likewise.
47837 (cosh_test_upward): Likewise.
47838 (cpow_test): Use END_COMPLEX macro without arguments.
47839 (cproj_test): Likewise.
47840 (creal_test): Use END macro without arguments.
47841 (csin_test): Use END_COMPLEX macro without arguments.
47842 (csinh_test): Likewise.
47843 (csqrt_test): Likewise.
47844 (ctan_test): Likewise.
47845 (ctan_test_tonearest): Likewise.
47846 (ctan_test_towardzero): Likewise.
47847 (ctan_test_downward): Likewise.
47848 (ctan_test_upward): Likewise.
47849 (ctanh_test): Likewise.
47850 (ctanh_test_tonearest): Likewise.
47851 (ctanh_test_towardzero): Likewise.
47852 (ctanh_test_downward): Likewise.
47853 (ctanh_test_upward): Likewise.
47854 (erf_test): Use END macro without arguments.
47855 (erfc_test): Likewise.
47856 (exp_test): Likewise.
47857 (exp_test_tonearest): Likewise.
47858 (exp_test_towardzero): Likewise.
47859 (exp_test_downward): Likewise.
47860 (exp_test_upward): Likewise.
47861 (exp10_test): Likewise.
47862 (exp2_test): Likewise.
47863 (expm1_test): Likewise.
47864 (fabs_test): Likewise.
47865 (fdim_test): Likewise.
47866 (finite_test): Likewise.
47867 (floor_test): Likewise.
47868 (fma_test): Likewise.
47869 (fma_test_towardzero): Likewise.
47870 (fma_test_downward): Likewise.
47871 (fma_test_upward): Likewise.
47872 (fmax_test): Likewise.
47873 (fmin_test): Likewise.
47874 (fmod_test): Likewise.
47875 (fpclassify_test): Likewise.
47876 (frexp_test): Likewise.
47877 (gamma_test): Likewise.
47878 (hypot_test): Likewise.
47879 (ilogb_test): Likewise.
47880 (isfinite_test): Likewise.
47881 (isgreater_test): Likewise.
47882 (isgreaterequal_test): Likewise.
47883 (isinf_test): Likewise.
47884 (isless_test): Likewise.
47885 (islessequal_test): Likewise.
47886 (islessgreater_test): Likewise.
47887 (isnan_test): Likewise.
47888 (isnormal_test): Likewise.
47889 (issignaling_test): Likewise.
47890 (isunordered_test): Likewise.
47891 (j0_test): Likewise.
47892 (j1_test): Likewise.
47893 (jn_test): Likewise.
47894 (ldexp_test): Likewise.
47895 (lgamma_test): Likewise.
47896 (lrint_test): Likewise.
47897 (lrint_test_tonearest): Likewise.
47898 (lrint_test_towardzero): Likewise.
47899 (lrint_test_downward): Likewise.
47900 (lrint_test_upward): Likewise.
47901 (llrint_test): Likewise.
47902 (llrint_test_tonearest): Likewise.
47903 (llrint_test_towardzero): Likewise.
47904 (llrint_test_downward): Likewise.
47905 (llrint_test_upward): Likewise.
47906 (log_test): Likewise.
47907 (log10_test): Likewise.
47908 (log1p_test): Likewise.
47909 (log2_test): Likewise.
47910 (logb_test): Likewise.
47911 (logb_test_downward): Likewise.
47912 (lround_test): Likewise.
47913 (llround_test): Likewise.
47914 (modf_test): Likewise.
47915 (nearbyint_test): Likewise.
47916 (nextafter_test): Likewise.
47917 (nexttoward_test): Likewise.
47918 (pow_test): Likewise.
47919 (pow_test_tonearest): Likewise.
47920 (pow_test_towardzero): Likewise.
47921 (pow_test_downward): Likewise.
47922 (pow_test_upward): Likewise.
47923 (remainder_test): Likewise.
47924 (remainder_test_tonearest): Likewise.
47925 (remainder_test_towardzero): Likewise.
47926 (remainder_test_downward): Likewise.
47927 (remainder_test_upward): Likewise.
47928 (remquo_test): Likewise.
47929 (rint_test): Likewise.
47930 (rint_test_tonearest): Likewise.
47931 (rint_test_towardzero): Likewise.
47932 (rint_test_downward): Likewise.
47933 (rint_test_upward): Likewise.
47934 (round_test): Likewise.
47935 (scalb_test): Likewise.
47936 (scalbn_test): Likewise.
47937 (scalbln_test): Likewise.
47938 (signbit_test): Likewise.
47939 (sin_test): Likewise.
47940 (sin_test_tonearest): Likewise.
47941 (sin_test_towardzero): Likewise.
47942 (sin_test_downward): Likewise.
47943 (sin_test_upward): Likewise.
47944 (sincos_test): Likewise.
47945 (sinh_test): Likewise.
47946 (sinh_test_tonearest): Likewise.
47947 (sinh_test_towardzero): Likewise.
47948 (sinh_test_downward): Likewise.
47949 (sinh_test_upward): Likewise.
47950 (sqrt_test): Likewise.
47951 (tan_test): Likewise.
47952 (tan_test_tonearest): Likewise.
47953 (tan_test_towardzero): Likewise.
47954 (tan_test_downward): Likewise.
47955 (tan_test_upward): Likewise.
47956 (tanh_test): Likewise.
47957 (tgamma_test): Likewise.
47958 (trunc_test): Likewise.
47959 (y0_test): Likewise.
47960 (y1_test): Likewise.
47961 (yn_test): Likewise.
47962 (significand_test): Likewise.
47963
47964 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
47965
47966 [BZ #15381]
47967 * libio/genops.c (_IO_no_init): Initialize wide struct info.
47968
47969 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
47970
47971 [BZ #14894]
47972 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47973 __ppc_mdoio and __ppc_mdoom.
47974 * manual/platform.texi: Document new functions __ppc_yield,
47975 __ppc_mdoio and __ppc_mdoom.
47976
47977 2013-05-22 Carlos O'Donell <carlos@redhat.com>
47978
47979 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47980 (main): Mention "tls" pseudo-hwcap is legacy.
47981 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47982
47983 2013-05-22 Joseph Myers <joseph@codesourcery.com>
47984
47985 * math/gen-libm-test.pl (parse_args): Output only string of
47986 arguments as text for test name, not full call or descriptions of
47987 tests for extra outputs.
47988 (generate_testfile): Do not pass function name to parse_args.
47989 Generate this_func variable from START.
47990 * math/libm-test.inc (struct test_f_f_data): Rename test_name
47991 field to arg_str.
47992 (struct test_ff_f_data): Likewise.
47993 (test_ff_f_data_nexttoward): Likewise.
47994 (struct test_fi_f_data): Likewise.
47995 (struct test_fl_f_data): Likewise.
47996 (struct test_if_f_data): Likewise.
47997 (struct test_fff_f_data): Likewise.
47998 (struct test_c_f_data): Likewise.
47999 (struct test_f_f1_data): Likewise. Remove field extra_name.
48000 (struct test_fF_f1_data): Likewise.
48001 (struct test_ffI_f1_data): Likewise.
48002 (struct test_c_c_data): Rename test_name field to arg_str.
48003 (struct test_cc_c_data): Likewise.
48004 (struct test_f_i_data): Likewise.
48005 (struct test_ff_i_data): Likewise.
48006 (struct test_f_l_data): Likewise.
48007 (struct test_f_L_data): Likewise.
48008 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
48009 and extra2_name.
48010 (COMMON_TEST_SETUP): New macro.
48011 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48012 (COMMON_TEST_CLEANUP): Likewise.
48013 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48014 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
48015 macros.
48016 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48017 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
48018 macros.
48019 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48020 (RUN_TEST_fff_f): Take argument string. Call new setup and
48021 cleanup macros.
48022 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48023 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
48024 macros.
48025 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48026 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
48027 macros.
48028 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48029 (RUN_TEST_fF_f1): Take argument string. Call new setup and
48030 cleanup macros.
48031 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48032 (RUN_TEST_fI_f1): Take argument string. Call new setup and
48033 cleanup macros.
48034 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48035 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
48036 cleanup macros.
48037 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48038 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
48039 macros.
48040 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48041 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
48042 macros.
48043 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48044 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
48045 macros.
48046 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48047 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
48048 cleanup macros.
48049 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48050 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
48051 cleanup macros.
48052 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48053 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
48054 macros.
48055 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48056 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
48057 cleanup macros.
48058 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48059 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
48060 macros.
48061 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48062 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
48063 macros.
48064 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48065 (RUN_TEST_fFF_11): Take argument string. Call new setup and
48066 cleanup macros.
48067 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48068
48069 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
48070
48071 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48072 to _sifields.sigfault.
48073 (si_addr_lsb): Define new macro.
48074 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48075 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48076 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48077
48078 2013-05-03 Carlos O'Donell <carlos at redhat.com>
48079
48080 [BZ #15441]
48081 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48082 returns -1.
48083 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48084 null return -1.
48085 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48086 loading the domain.
48087
48088 2013-05-22 Joseph Myers <joseph@codesourcery.com>
48089
48090 * math/gen-libm-test.pl (parse_args): Do not include expected
48091 result in test name.
48092 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48093 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48094 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48095 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48096 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48098
48099 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48100
48101 * benchtests/Makefile: Sort function entries.
48102
48103 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48104 tanh, asinh, acosh, atanh.
48105 * benchtests/acos-inputs: New file.
48106 * benchtests/acosh-inputs: New file.
48107 * benchtests/asin-inputs: New file.
48108 * benchtests/asinh-inputs: New file.
48109 * benchtests/atanh-inputs: New file.
48110 * benchtests/cosh-inputs: New file.
48111 * benchtests/log-inputs: New file.
48112 * benchtests/sinh-inputs: New file.
48113 * benchtests/tanh-inputs: New file.
48114
48115 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
48116
48117 [BZ #15339]
48118 * posix/tst-getaddrinfo4.c: New test.
48119 * posix/Makefile (tests): Add it.
48120
48121 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
48122
48123 [BZ #15339]
48124 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48125 when no services were used.
48126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48127 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48128
48129 2013-05-21 Andreas Schwab <schwab@suse.de>
48130
48131 [BZ #15014]
48132 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48133 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48134 successful.
48135 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48136 redundant variable declarations and reallocation of buffer when
48137 parsing as IPv6 address. Always set NSS status when called from
48138 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
48139 buffer too small. Correct computation of needed size.
48140 * nss/Makefile (tests): Add test-digits-dots.
48141 * nss/test-digits-dots.c: New test.
48142
48143 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
48144
48145 * benchtests/Makefile: Remove instructions for adding
48146 benchmark tests.
48147 * benchtests/README: New file to explain how to execute and
48148 enhance the benchmark tests.
48149
48150 2013-05-21 Andreas Schwab <schwab@suse.de>
48151
48152 [BZ #15493]
48153 * setjmp/Makefile (tests): Add tst-sigsetjmp.
48154 * setjmp/tst-sigsetjmp.c: New test.
48155
48156 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
48157
48158 * sysdeps/x86_64/memset.S (memset): New implementation.
48159 (__bzero): Likewise.
48160 (__memset_tail): New function.
48161
48162 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
48163
48164 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48165 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48166 __memcpy_sse2_unaligned ifunc selection.
48167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48168 Add memcpy-sse2-unaligned.S.
48169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48170 Add: __memcpy_sse2_unaligned.
48171
48172 2013-05-19 Joseph Myers <joseph@codesourcery.com>
48173
48174 [BZ #15490]
48175 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48176 math_force_eval before restoring floating-point envrionment.
48177 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48178 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48179 Likewise.
48180 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48181 <math_private.h>.
48182 (__nearbyintl): Use math_force_eval before restoring
48183 floating-point environment.
48184 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48185
48186 * math/gen-libm-test.pl (special_functions): Remove.
48187 (parse_args): Don't handle TEST_extra. Handle functions with no
48188 return value.
48189 * math/libm-test.inc (struct test_sincos_data): Replace with
48190 struct test_fFF_11_data.
48191 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48192 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48193 (sincos_test_data): Change element type to struct
48194 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
48195 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48196 RUN_TEST_LOOP_sincos.
48197 * math/README.libm-test: Don't mention special handling of
48198 individual functions.
48199 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48200 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48201 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48202 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48203 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48205
48206 * math/gen-libm-test.pl (get_variable): Remove function.
48207 (parse_args): Don't show pointer parameters to call in test
48208 names. Use "extra output N" in test names for extra outputs
48209 rather than naming variables.
48210
48211 2013-05-18 Joseph Myers <joseph@codesourcery.com>
48212
48213 [BZ #15488]
48214 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48215 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48216 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48217 double tests.
48218 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48219 disable.
48220 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48221 check_long_double.
48222
48223 * math/gen-libm-test.pl (@tests): Remove variable.
48224 ($count): Likewise.
48225 (new_test): Remove function.
48226 (show_exceptions): New function.
48227 (special_functions): Use show_exceptions instead of new_test.
48228 (parse_args): Likewise.
48229 (generate_testfile): Pass only function name in generated call to
48230 print_max_error or print_complex_max_error.
48231 (get_ulps): Do not handle complex tests specially.
48232 (output_test): Rename to ...
48233 (get_all_ulps_for_test): ... this. Return a string rather than
48234 printing to a file. Require ulps to be present.
48235 (output_ulps): Generate arrays rather than #defines.
48236 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48237 (struct ulp_data): New type.
48238 (BUILD_COMPLEX_ULP): Remove macro.
48239 (compare_ulp_data): New function.
48240 (find_ulps): Likewise.
48241 (find_test_ulps): Likewise.
48242 (find_function_ulps): Likewise.
48243 (find_complex_function_ulps): Likewise.
48244 (print_max_error): Determine allowed ulps using
48245 find_function_ulps.
48246 (print_complex_max_error): Determine allowed ulps using
48247 find_complex_function_ulps.
48248 (check_float_internal): Determine max ulps using find_test_ulps.
48249 (check_float): Do not take max_ulp parameter. Update call to
48250 check_float_internal.
48251 (check_complex): Likewise.
48252 (check_int): Do not take max_ulp parameter.
48253 (check_long): Likewise.
48254 (check_bool): Likewise.
48255 (check_longlong): Likewise.
48256 (struct test_f_f_data): Remove max_ulp field.
48257 (struct test_ff_f_data): Likewise.
48258 (struct test_ff_f_data_nexttoward): Likewise.
48259 (struct test_fi_f_data): Likewise.
48260 (struct test_fl_f_data): Likewise.
48261 (struct test_if_f_data): Likewise.
48262 (struct test_fff_f_data): Likewise.
48263 (struct test_c_f_data): Likewise.
48264 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48265 (struct test_fF_f1_data): Likewise.
48266 (struct test_ffI_f1_data): Likewise.
48267 (struct test_c_c_data): Remove max_ulp field.
48268 (struct test_cc_c_data): Likewise.
48269 (struct test_f_i_data): Likewise.
48270 (struct test_ff_i_data): Likewise.
48271 (struct test_f_l_data): Likewise.
48272 (struct test_f_L_data): Likewise.
48273 (struct test_sincos_data): Likewise.
48274 (RUN_TEST_f_f): Do not handle ulps.
48275 (RUN_TEST_LOOP_f_f): Likewise.
48276 (RUN_TEST_2_f): Likewise.
48277 (RUN_TEST_LOOP_2_f): Likewise.
48278 (RUN_TEST_fff_f): Likewise.
48279 (RUN_TEST_LOOP_fff_f): Likewise.
48280 (RUN_TEST_c_f): Likewise.
48281 (RUN_TEST_LOOP_c_f): Likewise.
48282 (RUN_TEST_f_f1): Likewise.
48283 (RUN_TEST_LOOP_f_f1): Likewise.
48284 (RUN_TEST_fF_f1): Likewise.
48285 (RUN_TEST_LOOP_fF_f1): Likewise.
48286 (RUN_TEST_fI_f1): Likewise.
48287 (RUN_TEST_LOOP_fI_f1): Likewise.
48288 (RUN_TEST_ffI_f1): Likewise.
48289 (RUN_TEST_LOOP_ffI_f1): Likewise.
48290 (RUN_TEST_c_c): Likewise.
48291 (RUN_TEST_LOOP_c_c): Likewise.
48292 (RUN_TEST_cc_c): Likewise.
48293 (RUN_TEST_LOOP_cc_c): Likewise.
48294 (RUN_TEST_f_i): Likewise.
48295 (RUN_TEST_LOOP_f_i): Likewise.
48296 (RUN_TEST_f_i_tg): Likewise.
48297 (RUN_TEST_LOOP_f_i_tg): Likewise.
48298 (RUN_TEST_ff_i_tg): Likewise.
48299 (RUN_TEST_LOOP_ff_i_tg): Likewise.
48300 (RUN_TEST_f_b): Likewise.
48301 (RUN_TEST_LOOP_f_b): Likewise.
48302 (RUN_TEST_f_b_tg): Likewise.
48303 (RUN_TEST_LOOP_f_b_tg): Likewise.
48304 (RUN_TEST_f_l): Likewise.
48305 (RUN_TEST_LOOP_f_l): Likewise.
48306 (RUN_TEST_f_L): Likewise.
48307 (RUN_TEST_LOOP_f_L): Likewise.
48308 (RUN_TEST_sincos): Likewise.
48309 (RUN_TEST_LOOP_sincos): Likewise.
48310
48311 2013-05-17 Joseph Myers <joseph@codesourcery.com>
48312
48313 [BZ #15480]
48314 [BZ #15485]
48315 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48316 main case of finite arguments, set rounding mode to FE_TONEAREST
48317 and discard exceptions.
48318 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48319 exceptions.
48320 (remainder_tonearest_test_data): New variable.
48321 (remainder_test_tonearest): New function.
48322 (remainder_towardzero_test_data): New variable.
48323 (remainder_test_towardzero): New function.
48324 (remainder_downward_test_data): New variable.
48325 (remainder_test_downward): New function.
48326 (remainder_upward_test_data): New variable.
48327 (remainder_test_upward): New function.
48328 (main): Call the new test functions.
48329
48330 * math/libm-test.inc (struct test_f_f1_data): Remove field
48331 extra_init.
48332 (struct test_fF_f1_data): Likewise.
48333 (struct test_ffI_f1_data): Likewise.
48334 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
48335 based on value of EXTRA_EXPECTED.
48336 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48337 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
48338 EXTRA_VAR based on value of EXTRA_EXPECTED.
48339 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48340 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
48341 EXTRA_VAR based on value of EXTRA_EXPECTED.
48342 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48343 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
48344 EXTRA_VAR based on value of EXTRA_EXPECTED.
48345 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48346 * math/gen-libm-test.pl (parse_args): Don't output initializers
48347 for extra output values.
48348
48349 * math/libm-test.inc (check_int): Expect result to be exactly
48350 equal to expected value and do not handle ulps.
48351 (check_long): Likewise.
48352 (check_longlong): Likewise.
48353
48354 * math/libm-test.inc (ceil_test_data): Test for "inexact"
48355 exceptions.
48356 (cimag_test_data): Likewise.
48357 (conj_test_data): Likewise.
48358 (copysign_test_data): Likewise.
48359 (cproj_test_data): Likewise.
48360 (creal_test_data): Likewise.
48361 (fabs_test_data): Likewise.
48362 (fdim_test_data): Likewise.
48363 (finite_test_data): Likewise.
48364 (floor_test_data): Likewise.
48365 (fmax_test_data): Likewise.
48366 (fmin_test_data): Likewise.
48367 (fmod_test_data): Likewise.
48368 (fpclassify_test_data): Likewise.
48369 (frexp_test_data): Likewise.
48370 (ilogb_test_data): Likewise.
48371 (isfinite_test_data): Likewise.
48372 (isgreater_test_data): Likewise.
48373 (isgreaterequal_test_data): Likewise.
48374 (isinf_test_data): Likewise.
48375 (isless_test_data): Likewise.
48376 (islessequal_test_data): Likewise.
48377 (islessgreater_test_data): Likewise.
48378 (isnan_test_data): Likewise.
48379 (isnormal_test_data): Likewise.
48380 (issignaling_test_data): Likewise.
48381 (isunordered_test_data): Likewise.
48382 (ldexp_test_data): Likewise.
48383 (lrint_test_data): Likewise.
48384 (lrint_test_data) [TEST_FLOAT]: Disable one test.
48385 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48386 (lrint_tonearest_test_data): Test for "inexact" exceptions.
48387 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48388 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48389 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48390 test input.
48391 (lrint_towardzero_test_data): Test for "inexact" exceptions.
48392 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48393 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48394 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48395 that test input.
48396 (lrint_downward_test_data): Test for "inexact" exceptions.
48397 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48398 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48399 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48400 test input.
48401 (lrint_upward_test_data): Test for "inexact" exceptions.
48402 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48403 test input.
48404 (llrint_test_data): Test for "inexact" exceptions.
48405 (llrint_test_data) [TEST_FLOAT]: Disable one test.
48406 (llrint_tonearest_test_data): Test for "inexact" exceptions.
48407 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48408 (llrint_towardzero_test_data): Test for "inexact" exceptions.
48409 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48410 (llrint_downward_test_data): Test for "inexact" exceptions.
48411 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48412 (llrint_upward_test_data): Test for "inexact" exceptions.
48413 (logb_test_data): Likewise.
48414 (logb_downward_test_data): Likewise.
48415 (nextafter_test_data): Likewise.
48416 (nexttoward_test_data): Likewise.
48417 (remainder_test_data): Likewise.
48418 (remquo_test_data): Likewise.
48419 (scalbn_test_data): Likewise.
48420 (scalbln_test_data): Likewise.
48421 (signbit_test_data): Likewise.
48422 (sqrt_test_data): Likewise.
48423 (significand_test_data): Likewise.
48424
48425 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
48426
48427 [BZ #15424]
48428 * benchtests/bench-modf.c (struct args): Mark arg0 as
48429 volatile.
48430 * scripts/bench.pl: Mark members of struct args as volatile.
48431
48432 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48433
48434 [BZ # 15497]
48435 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48436 negative infinity on POWER6 or lower.
48437 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48438
48439 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
48440
48441 [BZ #15442]
48442 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48443 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48444 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48445 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48446 (_FP_SETQNAN): New macro.
48447 (_FP_SETQNAN_SEMIRAW): Likewise.
48448 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48449 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48450 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48451 (FP_EXTEND): Use _FP_FRAC_SNANP.
48452 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48453 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48454 into account.
48455 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48456 New macro.
48457 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48458 Likewise.
48459
48460 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48461
48462 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48463 with DIVIDE_BY_ZERO_EXCEPTION.
48464 (gamma_test_data): Likewise.
48465 (lgamma_test_data): Likewise.
48466 (log_test_data): Likewise.
48467 (log10_test_data): Likewise.
48468 (log2_test_data): Likewise.
48469 (tgamma_test_data): Likewise.
48470
48471 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48472 (acos_test_tonearest): Likewise.
48473 (acos_test_towardzero): Likewise.
48474 (acos_test_downward): Likewise.
48475 (acos_test_upward): Likewise.
48476 (acosh_test): Likewise.
48477 (asin_test): Likewise.
48478 (asin_test_tonearest): Likewise.
48479 (asin_test_towardzero): Likewise.
48480 (asin_test_downward): Likewise.
48481 (asin_test_upward): Likewise.
48482 (asinh_test): Likewise.
48483 (atan_test): Likewise.
48484 (atanh_test): Likewise.
48485 (atan2_test): Likewise.
48486 (cabs_test): Likewise.
48487 (cacos_test): Likewise.
48488 (cacosh_test): Likewise.
48489 (casin_test): Likewise.
48490 (casinh_test): Likewise.
48491 (catan_test): Likewise.
48492 (catanh_test): Likewise.
48493 (cbrt_test): Likewise.
48494 (ccos_test): Likewise.
48495 (ccosh_test): Likewise.
48496 (cexp_test): Likewise.
48497 (clog_test): Likewise.
48498 (clog10_test): Likewise.
48499 (cos_test): Likewise.
48500 (cos_test_tonearest): Likewise.
48501 (cos_test_towardzero): Likewise.
48502 (cos_test_downward): Likewise.
48503 (cos_test_upward): Likewise.
48504 (cosh_test): Likewise.
48505 (cosh_test_tonearest): Likewise.
48506 (cosh_test_towardzero): Likewise.
48507 (cosh_test_downward): Likewise.
48508 (cosh_test_upward): Likewise.
48509 (cpow_test): Likewise.
48510 (csin_test): Likewise.
48511 (csinh_test): Likewise.
48512 (csqrt_test): Likewise.
48513 (ctan_test): Likewise.
48514 (ctan_test_tonearest): Likewise.
48515 (ctan_test_towardzero): Likewise.
48516 (ctan_test_downward): Likewise.
48517 (ctan_test_upward): Likewise.
48518 (ctanh_test): Likewise.
48519 (ctanh_test_tonearest): Likewise.
48520 (ctanh_test_towardzero): Likewise.
48521 (ctanh_test_downward): Likewise.
48522 (ctanh_test_upward): Likewise.
48523 (erf_test): Likewise.
48524 (erfc_test): Likewise.
48525 (exp_test): Likewise.
48526 (exp_test_tonearest): Likewise.
48527 (exp_test_towardzero): Likewise.
48528 (exp_test_downward): Likewise.
48529 (exp_test_upward): Likewise.
48530 (exp10_test): Likewise.
48531 (exp2_test): Likewise.
48532 (expm1_test): Likewise.
48533 (fmod_test): Likewise.
48534 (gamma_test): Likewise.
48535 (hypot_test): Likewise.
48536 (j0_test): Likewise.
48537 (j1_test): Likewise.
48538 (jn_test): Likewise.
48539 (lgamma_test): Likewise.
48540 (log_test): Likewise.
48541 (log10_test): Likewise.
48542 (log1p_test): Likewise.
48543 (log2_test): Likewise.
48544 (logb_test_downward): Likewise.
48545 (pow_test): Likewise.
48546 (pow_test_tonearest): Likewise.
48547 (pow_test_towardzero): Likewise.
48548 (pow_test_downward): Likewise.
48549 (pow_test_upward): Likewise.
48550 (remainder_test): Likewise.
48551 (remquo_test): Likewise.
48552 (sin_test): Likewise.
48553 (sin_test_tonearest): Likewise.
48554 (sin_test_towardzero): Likewise.
48555 (sin_test_downward): Likewise.
48556 (sin_test_upward): Likewise.
48557 (sincos_test): Likewise.
48558 (sinh_test): Likewise.
48559 (sinh_test_tonearest): Likewise.
48560 (sinh_test_towardzero): Likewise.
48561 (sinh_test_downward): Likewise.
48562 (sinh_test_upward): Likewise.
48563 (sqrt_test): Likewise.
48564 (tan_test): Likewise.
48565 (tan_test_tonearest): Likewise.
48566 (tan_test_towardzero): Likewise.
48567 (tan_test_downward): Likewise.
48568 (tan_test_upward): Likewise.
48569 (tanh_test): Likewise.
48570 (tgamma_test): Likewise.
48571 (y0_test): Likewise.
48572 (y1_test): Likewise.
48573 (yn_test): Likewise.
48574
48575 * math/gen-libm-test.pl (adjust_arg): Remove function.
48576 (special_function): Remove argument $in_func. Only handle
48577 generating output for tables of tests, not inside functions.
48578 (parse_args): Likewise.
48579 (generate_testfile): Remove variable $in_func. Update call to
48580 parse_args.
48581 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48582 (MINUS_ZERO_INIT): Rename macro to minus_zero.
48583 (PLUS_INFTY_INIT): Rename macro to plus_infty.
48584 (MINUS_INFTY_INIT): Rename macro to minus_infty.
48585 (QNAN_VALUE_INIT): Rename macro to qnan_value.
48586 (MAX_VALUE_INIT): Rename macro to max_value.
48587 (MIN_VALUE_INIT): Rename macro to min_value.
48588 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48589 (plus_zero): Remove variable.
48590 (minus_zero): Likewise.
48591 (plus_infty): Likewise.
48592 (minus_infty): Likewise.
48593 (qnan_value): Likewise.
48594 (max_value): Likewise.
48595 (min_value): Likewise.
48596 (min_subnorm_value): Likewise.
48597
48598 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48599
48600 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48601 uint64_t or uint32_t usage.
48602 * crypt/sha256-block.c: Likewise.
48603 * crypt/sha256-crypt.c: Likewise.
48604 * crypt/sha256.c: Likewise.
48605 * crypt/sha512-block.c: Likewise.
48606 * crypt/sha512-crypt.c: Likewise.
48607 * crypt/sha512.c: Likewise.
48608 * debug/backtrace-tst.c: Likewise.
48609 * debug/pcprofiledump.c: Likewise.
48610 * elf/cache.c: Likewise.
48611 * elf/dl-cache.c: Likewise.
48612 * elf/dl-misc.c: Likewise.
48613 * elf/dl-profile.c: Likewise.
48614 * elf/dl-support.c: Likewise.
48615 * elf/ldconfig.c: Likewise.
48616 * elf/sprof.c: Likewise.
48617 * iconv/dummy-repertoire.c: Likewise.
48618 * iconv/iconv_charmap.c: Likewise.
48619 * iconv/skeleton.c: Likewise.
48620 * iconvdata/8bit-generic.c: Likewise.
48621 * iconvdata/cp737.h: Likewise.
48622 * iconvdata/cp775.h: Likewise.
48623 * iconvdata/ibm1008.h: Likewise.
48624 * iconvdata/ibm1025.h: Likewise.
48625 * iconvdata/ibm1046.h: Likewise.
48626 * iconvdata/ibm1097.h: Likewise.
48627 * iconvdata/ibm1112.h: Likewise.
48628 * iconvdata/ibm1122.h: Likewise.
48629 * iconvdata/ibm1123.h: Likewise.
48630 * iconvdata/ibm1124.h: Likewise.
48631 * iconvdata/ibm1129.h: Likewise.
48632 * iconvdata/ibm1130.h: Likewise.
48633 * iconvdata/ibm1132.h: Likewise.
48634 * iconvdata/ibm1133.h: Likewise.
48635 * iconvdata/ibm1137.h: Likewise.
48636 * iconvdata/ibm1140.h: Likewise.
48637 * iconvdata/ibm1141.h: Likewise.
48638 * iconvdata/ibm1142.h: Likewise.
48639 * iconvdata/ibm1143.h: Likewise.
48640 * iconvdata/ibm1144.h: Likewise.
48641 * iconvdata/ibm1145.h: Likewise.
48642 * iconvdata/ibm1146.h: Likewise.
48643 * iconvdata/ibm1147.h: Likewise.
48644 * iconvdata/ibm1148.h: Likewise.
48645 * iconvdata/ibm1149.h: Likewise.
48646 * iconvdata/ibm1153.h: Likewise.
48647 * iconvdata/ibm1154.h: Likewise.
48648 * iconvdata/ibm1155.h: Likewise.
48649 * iconvdata/ibm1156.h: Likewise.
48650 * iconvdata/ibm1157.h: Likewise.
48651 * iconvdata/ibm1158.h: Likewise.
48652 * iconvdata/ibm1160.h: Likewise.
48653 * iconvdata/ibm1161.h: Likewise.
48654 * iconvdata/ibm1162.h: Likewise.
48655 * iconvdata/ibm1163.h: Likewise.
48656 * iconvdata/ibm1164.h: Likewise.
48657 * iconvdata/ibm1166.h: Likewise.
48658 * iconvdata/ibm1167.h: Likewise.
48659 * iconvdata/ibm12712.h: Likewise.
48660 * iconvdata/ibm1390.h: Likewise.
48661 * iconvdata/ibm1399.h: Likewise.
48662 * iconvdata/ibm16804.h: Likewise.
48663 * iconvdata/ibm4517.h: Likewise.
48664 * iconvdata/ibm4899.h: Likewise.
48665 * iconvdata/ibm4909.h: Likewise.
48666 * iconvdata/ibm4971.h: Likewise.
48667 * iconvdata/ibm5347.h: Likewise.
48668 * iconvdata/ibm803.h: Likewise.
48669 * iconvdata/ibm856.h: Likewise.
48670 * iconvdata/ibm901.h: Likewise.
48671 * iconvdata/ibm902.h: Likewise.
48672 * iconvdata/ibm9030.h: Likewise.
48673 * iconvdata/ibm9066.h: Likewise.
48674 * iconvdata/ibm921.h: Likewise.
48675 * iconvdata/ibm922.h: Likewise.
48676 * iconvdata/ibm9448.h: Likewise.
48677 * iconvdata/isiri-3342.h: Likewise.
48678 * iconvdata/jis0201.h: Likewise.
48679 * include/link.h: Likewise.
48680 * include/netdb.h: Likewise.
48681 * inet/check_native.c: Likewise.
48682 * inet/check_pf.c: Likewise.
48683 * inet/getipv4sourcefilter.c: Likewise.
48684 * inet/getnameinfo.c: Likewise.
48685 * inet/getsourcefilter.c: Likewise.
48686 * inet/htonl.c: Likewise.
48687 * inet/setipv4sourcefilter.c: Likewise.
48688 * inet/setsourcefilter.c: Likewise.
48689 * inet/test-inet6_opt.c: Likewise.
48690 * inet/tst-network.c: Likewise.
48691 * locale/C-collate.c: Likewise.
48692 * locale/C-ctype.c: Likewise.
48693 * locale/C-time.c: Likewise.
48694 * locale/C-translit.h: Likewise.
48695 * locale/loadarchive.c: Likewise.
48696 * locale/programs/3level.h: Likewise.
48697 * locale/programs/charmap.c: Likewise.
48698 * locale/programs/charmap.h: Likewise.
48699 * locale/programs/ld-address.c: Likewise.
48700 * locale/programs/ld-collate.c: Likewise.
48701 * locale/programs/ld-ctype.c: Likewise.
48702 * locale/programs/ld-identification.c: Likewise.
48703 * locale/programs/ld-measurement.c: Likewise.
48704 * locale/programs/ld-messages.c: Likewise.
48705 * locale/programs/ld-monetary.c: Likewise.
48706 * locale/programs/ld-name.c: Likewise.
48707 * locale/programs/ld-numeric.c: Likewise.
48708 * locale/programs/ld-paper.c: Likewise.
48709 * locale/programs/ld-telephone.c: Likewise.
48710 * locale/programs/ld-time.c: Likewise.
48711 * locale/programs/linereader.c: Likewise.
48712 * locale/programs/locale.c: Likewise.
48713 * locale/programs/locarchive.c: Likewise.
48714 * locale/programs/locfile.h: Likewise.
48715 * locale/programs/repertoire.c: Likewise.
48716 * locale/programs/simple-hash.c: Likewise.
48717 * locale/programs/simple-hash.h: Likewise.
48718 * malloc/memusage.c: Likewise.
48719 * malloc/memusagestat.c: Likewise.
48720 * nis/nis_defaults.c: Likewise.
48721 * nis/nis_hash.c: Likewise.
48722 * nis/nis_print.c: Likewise.
48723 * nis/nis_xdr.c: Likewise.
48724 * nscd/connections.c: Likewise.
48725 * nscd/hstcache.c: Likewise.
48726 * nscd/nscd_gethst_r.c: Likewise.
48727 * nscd/nscd_getserv_r.c: Likewise.
48728 * nscd/nscd_helper.c: Likewise.
48729 * nscd/servicescache.c: Likewise.
48730 * nss/makedb.c: Likewise.
48731 * nss/nss_db/db-XXX.c: Likewise.
48732 * nss/nss_db/db-initgroups.c: Likewise.
48733 * nss/nss_db/db-netgrp.c: Likewise.
48734 * nss/nss_files/files-network.c: Likewise.
48735 * nss/nss_files/files-parse.c: Likewise.
48736 * posix/bug-regex5.c: Likewise.
48737 * posix/fnmatch_loop.c: Likewise.
48738 * posix/regcomp.c: Likewise.
48739 * posix/regexec.c: Likewise.
48740 * posix/tst-rfc3484-2.c: Likewise.
48741 * posix/tst-rfc3484-3.c: Likewise.
48742 * posix/tst-rfc3484.c: Likewise.
48743 * resolv/nss_dns/dns-canon.c: Likewise.
48744 * resolv/nss_dns/dns-network.c: Likewise.
48745 * resolv/res_init.c: Likewise.
48746 * resolv/res_mkquery.c: Likewise.
48747 * resolv/tst-aton.c: Likewise.
48748 * stdlib/cxa_atexit.c: Likewise.
48749 * stdlib/cxa_finalize.c: Likewise.
48750 * stdlib/gen-fpioconst.c: Likewise.
48751 * stdlib/strtol_l.c: Likewise.
48752 * string/tst-endian.c: Likewise.
48753 * sunrpc/auth_des.c: Likewise.
48754 * sunrpc/clnt_udp.c: Likewise.
48755 * sunrpc/rtime.c: Likewise.
48756 * sunrpc/svcauth_des.c: Likewise.
48757 * sunrpc/xdr.c: Likewise.
48758 * sunrpc/xdr_intXX_t.c: Likewise.
48759 * sunrpc/xdr_rec.c: Likewise.
48760 * sysdeps/generic/ldconfig.h: Likewise.
48761 * sysdeps/generic/ldsodefs.h: Likewise.
48762 * sysdeps/generic/memusage.h: Likewise.
48763 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48764 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48765 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48766 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48767 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48768 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48769 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48770 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48771 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48772 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48773 * sysdeps/posix/getaddrinfo.c: Likewise.
48774 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48775 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48776 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48777 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48778 * sysdeps/powerpc/test-gettimebase.c: Likewise.
48779 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48780 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48781 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48782 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48783 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48784 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48785 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48786 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48787 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48788 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48789 * sysdeps/x86_64/dl-tls.h: Likewise.
48790 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48791 * time/alt_digit.c: Likewise.
48792 * time/era.c: Likewise.
48793 * wcsmbs/tst-c16c32-1.c: Likewise.
48794
48795 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48796
48797 * math/libm-test.inc (struct test_sincos_data): New type.
48798 (RUN_TEST_LOOP_sincos): New macro.
48799 (sincos_test_data): New variable.
48800 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48801
48802 2013-05-16 Richard Henderson <rth@redhat.com>
48803
48804 * math/atest-exp2.c (LIMB64): New macro.
48805 (CONSTSZ): New macro.
48806 (mp_exp1, mp_exp_m1, mp_log2): New variables.
48807 (hexdig): Move ...
48808 (print_mpn_fp): ... to function scope.
48809 (read_mpn_hex): Remove.
48810 (get_log2): Remove.
48811 (exp2_mpn): Use mp_log2.
48812 (main): Use mp_exp1.
48813
48814 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48815
48816 * math/libm-test.inc: Remove comment about not testing "inexact"
48817 exceptions.
48818 (INEXACT_EXCEPTION): New macro.
48819 (NO_INEXACT_EXCEPTION): Likewise.
48820 (INVALID_EXCEPTION_OK): Update value.
48821 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48822 (OVERFLOW_EXCEPTION_OK): Likewise.
48823 (UNDERFLOW_EXCEPTION_OK): Likewise.
48824 (IGNORE_ZERO_INF_SIGN): Likewise.
48825 (ERRNO_UNCHANGED): Likewise.
48826 (ERRNO_EDOM): Likewise.
48827 (ERRNO_ERANGE): Likewise.
48828 (test_exceptions): Handle testing "inexact" exceptions.
48829 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48830 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48831 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48832 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48833 INEXACT_EXCEPTION.
48834 (rint_towardzero_test_data): Likewise.
48835 (rint_downward_test_data): Likewise.
48836 (rint_upward_test_data): Likewise.
48837
48838 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48839 with OVERFLOW_EXCEPTION.
48840 (exp10_test_data): Likewise.
48841 (exp2_test_data): Likewise.
48842 (expm1_test_data): Likewise.
48843 (lgamma_test_data): Likewise.
48844 (pow_test_data): Likewise.
48845 (tgamma_test_data): Likewise.
48846 (yn_test_data): Remove duplicate test of overflow.
48847
48848 * math/libm-test.inc (struct test_cc_c_data): New type.
48849 (RUN_TEST_LOOP_cc_c): New macro.
48850 (cpow_test_data): New variable.
48851 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48852
48853 * math/libm-test.inc (struct test_f_L_data): New type.
48854 (RUN_TEST_LOOP_f_L): New macro.
48855 (llrint_test_data): New variable.
48856 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48857 (llrint_tonearest_test_data): New variable.
48858 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48859 (llrint_towardzero_test_data): New variable.
48860 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48861 (llrint_downward_test_data): New variable.
48862 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48863 (llrint_upward_test_data): New variable.
48864 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48865 (llround_test_data): New variable.
48866 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48867
48868 2013-05-13 Peter Collingbourne <pcc@google.com>
48869
48870 * math/atest-exp2.c (get_log2): Remove const attribute.
48871
48872 2013-05-15 Joseph Myers <joseph@codesourcery.com>
48873
48874 * math/libm-test.inc (struct test_f_l_data): New type.
48875 (RUN_TEST_LOOP_f_l): New macro.
48876 (lrint_test_data): New variable.
48877 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48878 (lrint_tonearest_test_data): New variable.
48879 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48880 (lrint_towardzero_test_data): New variable.
48881 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48882 (lrint_downward_test_data): New variable.
48883 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48884 (lrint_upward_test_data): New variable.
48885 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48886 (lround_test_data): New variable.
48887 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48888
48889 2013-05-15 Peter Collingbourne <pcc@google.com>
48890
48891 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48892 (EXTRACT_WORDS64) Use where appropriate.
48893 (INSERT_WORDS64) Likewise.
48894
48895 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48896 constraints with x constraints.
48897 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48898
48899 * malloc/obstack.c (_obstack_compat): Add initializer.
48900
48901 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
48902
48903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48904 si_trapno and add si_addr_lsb to _sifields.sigfault.
48905 (si_trapno): Remove macro.
48906 (si_addr_lsb): Define new macro.
48907 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48908
48909 2013-05-15 Joseph Myers <joseph@codesourcery.com>
48910
48911 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48912 instead of TEST_f_l.
48913 (llrint_test_tonearest): Likewise.
48914 (llrint_test_towardzero): Likewise.
48915 (llrint_test_downward): Likewise.
48916 (llrint_test_upward): Likewise.
48917 (llround_test): Likewise.
48918
48919 * math/libm-test.inc (struct test_f_i_data): Add comment.
48920 (RUN_TEST_LOOP_f_b): New macro.
48921 (RUN_TEST_LOOP_f_b_tg): Likewise.
48922 (finite_test_data): New variable.
48923 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48924 (isfinite_test_data): New variable.
48925 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48926 (isinf_test_data): New variable.
48927 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48928 (isnan_test_data): New variable.
48929 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48930 (isnormal_test_data): New variable.
48931 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48932 (issignaling_test_data): New variable.
48933 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48934 (signbit_test_data): New variable.
48935 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48936
48937 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48938 with INVALID_EXCEPTION.
48939 (acosh_test_data): Likewise.
48940 (asin_test_data): Likewise.
48941 (atanh_test_data): Likewise.
48942 (fmod_test_data): Likewise.
48943 (log_test_data): Likewise.
48944 (log10_test_data): Likewise.
48945 (log2_test_data): Likewise.
48946 (pow_test_data): Likewise.
48947 (sqrt_test_data): Likewise.
48948 (y0_test_data): Likewise.
48949 (y1_test_data): Likewise.
48950 (yn_test_data): Likewise.
48951
48952 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48953 function contents.
48954
48955 * math/libm-test.inc (struct test_ff_i_data): New type.
48956 (RUN_TEST_LOOP_ff_i_tg): New macro.
48957 (isgreater_test_data): New variable.
48958 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48959 (isgreaterequal_test_data): New variable.
48960 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48961 (isless_test_data): New variable.
48962 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48963 (islessequal_test_data): New variable.
48964 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48965 (islessgreater_test_data): New variable.
48966 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48967 (isunordered_test_data): New variable.
48968 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48969
48970 2013-05-14 David S. Miller <davem@davemloft.net>
48971
48972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48973
48974 2013-05-14 Joseph Myers <joseph@codesourcery.com>
48975
48976 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48977
48978 * math/libm-test.inc (struct test_fF_f1_data): Change type of
48979 extra_test to int.
48980 (struct test_f_i_data): Change type of max_ulp to int.
48981
48982 * math/libm-test.inc (test_ffI_f1_data): New type.
48983 (RUN_TEST_LOOP_ffI_f1): New macro.
48984 (remquo_test_data): New variable.
48985 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48986
48987 * setjmp/tst-setjmp-fp.c: New file.
48988 * setjmp/Makefile (tests): Add tst-setjmp-fp.
48989 (link-libm): New variable.
48990 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48991
48992 * math/libm-test.inc (struct test_f_i_data): New type.
48993 (RUN_TEST_LOOP_f_i): New macro.
48994 (RUN_TEST_LOOP_f_i_tg): Likewise.
48995 (fpclassify_test_data): New variable.
48996 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48997 (ilogb_test_data): New variable.
48998 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48999
49000 * math/libm-test.inc (scalbln_test): Correct function name in END
49001 call.
49002
49003 * math/libm-test.inc (struct test_f_f1_data): Add comment.
49004 (RUN_TEST_LOOP_fI_f1): New macro.
49005 (frexp_test_data): New variable.
49006 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49007
49008 * math/libm-test.inc (struct test_fF_f1_data): New type.
49009 (RUN_TEST_LOOP_fF_f1): New macro.
49010 (modf_test_data): New variable.
49011 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49012
49013 * math/libm-test.inc (struct test_f_f1_data): New type.
49014 (RUN_TEST_LOOP_f_f1): New macro.
49015 (gamma_test_data): New variable.
49016 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49017 (lgamma_test_data): New variable.
49018 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49019
49020 2013-05-13 Carlos O'Donell <carlos@redhat.com>
49021
49022 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49023 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49024 (main): Comment "tls" pseudo-hwcap.
49025
49026 2013-05-13 Joseph Myers <joseph@codesourcery.com>
49027
49028 * math/libm-test.inc (struct test_fl_f_data): New type.
49029 (RUN_TEST_LOOP_fl_f): New variable.
49030 (scalbln_test_data): New variable.
49031 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49032
49033 * math/libm-test.inc (struct test_fi_f_data): New type.
49034 (RUN_TEST_LOOP_fi_f): New macro.
49035 (ldexp_test_data): New variable.
49036 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49037 (scalbn_test_data): New variable.
49038 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49039
49040 * math/libm-test.inc (struct test_c_f_data): New type.
49041 (RUN_TEST_LOOP_c_f): New macro.
49042 (cabs_test_data): New variable.
49043 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49044 (carg_test_data): New variable.
49045 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49046 (cimag_test_data): New variable.
49047 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49048 (creal_test_data): New variable.
49049 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49050
49051 * math/libm-test.inc (struct test_if_f_data): New type.
49052 (RUN_TEST_LOOP_if_f): New macro.
49053 (jn_test_data): New variable.
49054 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49055 (yn_test_data): New variable.
49056 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49057
49058 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49059
49060 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49061
49062 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49063 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49064
49065 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
49066
49067 * benchtests/Makefile (CPPFLAGS-nonlib): Add
49068 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49069 (bench-deps): Add bench-timing.h.
49070 * benchtests-bench-skeleton.c: Include bench-timing.h.
49071 (main): Use TIMING_* macros instead of clock_gettime.
49072 * benchtests/bench-timing.h: New file.
49073
49074 [BZ #14582]
49075 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49076 Renamed from _LIB_VERSION.
49077 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49078
49079 2013-05-12 Joseph Myers <joseph@codesourcery.com>
49080
49081 * math/libm-test.inc (struct test_fff_f_data): New type.
49082 (RUN_TEST_LOOP_fff_f): New macro.
49083 (fma_test_data): New variable.
49084 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49085 (fma_towardzero_test_data): New variable.
49086 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49087 (fma_downward_test_data): New variable.
49088 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49089 (fma_upward_test_data): New variable.
49090 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49091
49092 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49093 (struct test_c_c_data): New type.
49094 (RUN_TEST_LOOP_c_c): New macro.
49095 (cacos_test_data): New variable.
49096 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49097 (cacosh_test_data): New variable.
49098 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49099 (casin_test_data): New variable.
49100 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49101 (casinh_test_data): New variable.
49102 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49103 (catan_test_data): New variable.
49104 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49105 (catanh_test_data): New variable.
49106 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49107 (ccos_test_data): New variable.
49108 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49109 (ccosh_test_data): New variable.
49110 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49111 (cexp_test_data): New variable.
49112 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49113 (clog_test_data): New variable.
49114 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49115 (clog10_test_data): New variable.
49116 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49117 (conj_test_data): New variable.
49118 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49119 (cproj_test_data): New variable.
49120 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49121 (csin_test_data): New variable.
49122 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49123 (csinh_test_data): New variable.
49124 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49125 (csqrt_test_data): New variable.
49126 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49127 (ctan_test_data): New variable.
49128 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49129 (ctan_tonearest_test_data): New variable.
49130 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49131 (ctan_towardzero_test_data): New variable.
49132 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49133 (ctan_downward_test_data): New variable.
49134 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49135 (ctan_upward_test_data): New variable.
49136 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49137 (ctanh_test_data): New variable.
49138 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49139 (ctanh_tonearest_test_data): New variable.
49140 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49141 (ctanh_towardzero_test_data): New variable.
49142 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49143 (ctanh_downward_test_data): New variable.
49144 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49145 (ctanh_upward_test_data): New variable.
49146 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49147 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49148 of BUILD_COMPLEX.
49149
49150 * math/libm-test.inc (struct test_ff_f_data): New type.
49151 (struct test_ff_f_data_nexttoward): Likewise.
49152 (RUN_TEST_LOOP_2_f): New macro.
49153 (RUN_TEST_LOOP_ff_f): Likewise.
49154 (atan2_test_data): New variable.
49155 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49156 (copysign_test_data): New variable.
49157 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49158 (fdim_test_data): New variable.
49159 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49160 (fmax_test_data): New variable.
49161 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49162 (fmin_test_data): New variable.
49163 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49164 (fmod_test_data): New variable.
49165 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49166 (hypot_test_data): New variable.
49167 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49168 (nextafter_test_data): New variable.
49169 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49170 (nexttoward_test_data): New variable.
49171 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49172 (pow_test_data): New variable.
49173 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49174 (pow_tonearest_test_data): New variable.
49175 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49176 (pow_towardzero_test_data): New variable.
49177 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49178 (pow_downward_test_data): New variable.
49179 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49180 (pow_upward_test_data): New variable.
49181 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49182 (remainder_test_data): New variable.
49183 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49184 (scalb_test_data): New variable.
49185 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49186 * sysdeps/i386/fpu/libm-test-ulps: Update.
49187
49188 2013-05-11 Joseph Myers <joseph@codesourcery.com>
49189
49190 * math/libm-test.inc (fma_test): Use max_value instead of local
49191 variable fltmax.
49192 (nextafter_test): Likewise.
49193
49194 * math/libm-test.inc (acos_towardzero_test_data): New variable.
49195 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49196 (acos_downward_test_data): New variable.
49197 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49198 (acos_upward_test_data): New variable.
49199 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49200 (acosh_test_data): New variable.
49201 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49202 (asin_test_data): New variable.
49203 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49204 (asin_tonearest_test_data): New variable.
49205 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49206 (asin_towardzero_test_data): New variable.
49207 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49208 (asin_downward_test_data): New variable.
49209 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49210 (asin_upward_test_data): New variable.
49211 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49212 (asinh_test_data): New variable.
49213 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49214 (atan_test_data): New variable.
49215 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49216 (atanh_test_data): New variable.
49217 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49218 (cbrt_test_data): New variable.
49219 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49220 (ceil_test_data): New variable.
49221 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49222 (cos_test_data): New variable.
49223 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49224 (cos_tonearest_test_data): New variable.
49225 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49226 (cos_towardzero_test_data): New variable.
49227 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49228 (cos_downward_test_data): New variable.
49229 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49230 (cos_upward_test_data): New variable.
49231 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49232 (cosh_test_data): New variable.
49233 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49234 (cosh_tonearest_test_data): New variable.
49235 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49236 (cosh_towardzero_test_data): New variable.
49237 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49238 (cosh_downward_test_data): New variable.
49239 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49240 (cosh_upward_test_data): New variable.
49241 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49242 (erf_test_data): New variable.
49243 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49244 (erfc_test_data): New variable.
49245 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49246 (exp_test_data): New variable.
49247 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49248 (exp_tonearest_test_data): New variable.
49249 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49250 (exp_towardzero_test_data): New variable.
49251 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49252 (exp_downward_test_data): New variable.
49253 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49254 (exp_upward_test_data): New variable.
49255 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49256 (exp10_test_data): New variable.
49257 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49258 (exp2_test_data): New variable.
49259 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49260 (expm1_test_data): New variable.
49261 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49262 (fabs_test_data): New variable.
49263 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49264 (floor_test_data): New variable.
49265 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49266 (j0_test_data): New variable.
49267 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49268 (j1_test_data): New variable.
49269 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49270 (log_test_data): New variable.
49271 (log_test): Run tests with RUN_TEST_LOOP_f_f.
49272 (log10_test_data): New variable.
49273 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49274 (log1p_test_data): New variable.
49275 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49276 (log2_test_data): New variable.
49277 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49278 (logb_test_data): New variable.
49279 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49280 (logb_downward_test_data): New variable.
49281 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49282 (nearbyint_test_data): New variable.
49283 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49284 (rint_test_data): New variable.
49285 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49286 (rint_tonearest_test_data): New variable.
49287 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49288 (rint_towardzero_test_data): New variable.
49289 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49290 (rint_downward_test_data): New variable.
49291 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49292 (rint_upward_test_data): New variable.
49293 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49294 (round_test_data): New variable.
49295 (round_test): Run tests with RUN_TEST_LOOP_f_f.
49296 (sin_test_data): New variable.
49297 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49298 (sin_tonearest_test_data): New variable.
49299 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49300 (sin_towardzero_test_data): New variable.
49301 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49302 (sin_downward_test_data): New variable.
49303 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49304 (sin_upward_test_data): New variable.
49305 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49306 (sinh_test_data): New variable.
49307 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49308 (sinh_tonearest_test_data): New variable.
49309 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49310 (sinh_towardzero_test_data): New variable.
49311 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49312 (sinh_downward_test_data): New variable.
49313 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49314 (sinh_upward_test_data): New variable.
49315 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49316 (sqrt_test_data): New variable.
49317 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49318 (tan_test_data): New variable.
49319 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49320 (tan_tonearest_test_data): New variable.
49321 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49322 (tan_towardzero_test_data): New variable.
49323 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49324 (tan_downward_test_data): New variable.
49325 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49326 (tan_upward_test_data): New variable.
49327 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49328 (tanh_test_data): New variable.
49329 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49330 (tgamma_test_data): New variable.
49331 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49332 (trunc_test_data): New variable.
49333 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49334 (y0_test_data): New variable.
49335 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49336 (y1_test_data): New variable.
49337 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49338 (significand_test_data): New variable.
49339 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49340
49341 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
49342
49343 [BZ #12387]
49344 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49345
49346 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
49347
49348 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49349
49350 2013-05-10 Andreas Jaeger <aj@suse.de>
49351
49352 [BZ #15448]
49353 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49354 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49355
49356 2013-05-10 Joseph Myers <joseph@codesourcery.com>
49357
49358 * math/gen-libm-test.pl (adjust_arg): New function.
49359 (special_functions): Handle generating output in both functions
49360 and arrays.
49361 (parse_args): Likewise.
49362 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
49363 $in_func argument to parse_args.
49364 * math/libm-test.inc (struct test_f_f_data): New type.
49365 (IF_ROUND_INIT_): New macro.
49366 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49367 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49368 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49369 (IF_ROUND_INIT_FE_UPWARD): Likewise.
49370 (ROUND_RESTORE_): Likewise.
49371 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49372 (ROUND_RESTORE_FE_TONEAREST): Likewise.
49373 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49374 (ROUND_RESTORE_FE_UPWARD): Likewise.
49375 (RUN_TEST_LOOP_f_f): New macro.
49376 (acos_test_data): New variable.
49377 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49378 (acos_tonearest_test_data): New variable.
49379 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49380
49381 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49382
49383 * benchtests/bench-skeleton.c (startup): Fix coding style.
49384
49385 2013-05-10 Joseph Myers <joseph@codesourcery.com>
49386
49387 [BZ #6809]
49388 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49389 negative infinity argument.
49390 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49391 negative infinity argument.
49392 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49393 negative infinity argument.
49394 * math/libm-test.inc (tgamma_test): Expect errno to be set for
49395 domain errors.
49396
49397 2013-05-10 Florian Weimer <fweimer@redhat.com>
49398
49399 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49400 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49401 * iconv/iconv_prog.c (main): Likewise.
49402 * locale/programs/charmap-dir.c (charmap_readdir)
49403 (fopen_uncompressed): Likewise.
49404 * locale/programs/locfile.c (siblings_uncached)
49405 (write_locale_data): Use lstat64 instead of lstat.
49406 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49407 stat.
49408
49409 2013-05-10 Andreas Jaeger <aj@suse.de>
49410
49411 [BZ #15395]
49412 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49413 localization.
49414 Include <locale.h>.
49415
49416 2013-05-09 Carlos O'Donell <carlos@redhat.com>
49417
49418 * elf/dl-close.c (_dl_close_worker): Add comments.
49419
49420 2013-05-09 Joseph Myers <joseph@codesourcery.com>
49421
49422 [BZ #15359]
49423 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49424 high part of pi/2.
49425 (__ieee754_rem_pio2l): Update comments.
49426
49427 [BZ #15429]
49428 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49429 high part of pi/2.
49430 (__ieee754_rem_pio2l): Update comments.
49431
49432 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49433 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49434
49435 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49436 M_PI_4l.
49437
49438 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49439 (M_PI_34_LOG10El): Likewise.
49440 (M_PI2_LOG10El): Likewise.
49441 (M_PI4_LOG10El): Likewise.
49442 (M_PI_LOG10El): Likewise.
49443
49444 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49445
49446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49447
49448 2013-05-08 Joseph Myers <joseph@codesourcery.com>
49449
49450 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49451 (MINUS_ZERO_INIT): Likewise.
49452 (PLUS_INFTY_INIT): Likewise.
49453 (MINUS_INFTY_INIT): Likewise.
49454 (QNAN_VALUE_INIT): Likewise.
49455 (MAX_VALUE_INIT): Likewise.
49456 (MIN_VALUE_INIT): Likewise.
49457 (MIN_SUBNORM_VALUE_INIT): Likewise.
49458 (plus_zero): Initialize with PLUS_ZERO_INIT.
49459 (minus_zero): Initialize with MINUS_ZERO_INIT.
49460 (plus_infty): Initialize with PLUS_INFTY_INIT.
49461 (minus_infty): Initialize with MINUS_INFTY_INIT.
49462 (qnan_value): Initialize with QNAN_VALUE_INIT.
49463 (max_value): Initialize with MAX_VALUE_INIT.
49464 (min_value): Initialize with MIN_VALUE_INIT.
49465 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49466
49467 * math/libm-test.inc (RUN_TEST_if_f): New macro.
49468 (jn_test): Use TEST_if_f instead of TEST_ff_f.
49469 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49470 (yn_test): Use TEST_if_f instead of TEST_ff_f.
49471
49472 * math/libm-test.inc (RUN_TEST_f_f): New macro.
49473 (RUN_TEST_2_f): Likewise.
49474 (RUN_TEST_ff_f): Likewise.
49475 (RUN_TEST_fi_f): Likewise.
49476 (RUN_TEST_fl_f): Likewise.
49477 (RUN_TEST_fff_f): Likewise.
49478 (RUN_TEST_c_f): Likewise.
49479 (RUN_TEST_f_f1): Likewise.
49480 (RUN_TEST_fF_f1): Likewise.
49481 (RUN_TEST_fI_f1): Likewise.
49482 (RUN_TEST_ffI_f1): Likewise.
49483 (RUN_TEST_c_c): Likewise.
49484 (RUN_TEST_cc_c): Likewise.
49485 (RUN_TEST_f_i): Likewise.
49486 (RUN_TEST_f_i_tg): Likewise.
49487 (RUN_TEST_ff_i_tg): Likewise.
49488 (RUN_TEST_f_b): Likewise.
49489 (RUN_TEST_f_b_tg): Likewise.
49490 (RUN_TEST_f_l): Likewise.
49491 (RUN_TEST_f_L): Likewise.
49492 (RUN_TEST_sincos): Likewise.
49493 * math/gen-libm-test.pl (new_test): Take new argument to indicate
49494 whether to show exceptions. Do not include ");\n" in return
49495 value.
49496 (special_functions): Output call to RUN_TEST_sincos instead of
49497 check_float calls. Update calls to new_test.
49498 (parse_args): Output call to single RUN_TEST_* macro instead of
49499 check_* calls and other assignments. Update calls to new_test.
49500
49501 [BZ #2546]
49502 [BZ #2560]
49503 [BZ #5159]
49504 [BZ #15426]
49505 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49506 input to result for tgamma overflow.
49507 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49508 (gamma_coeff): New variable.
49509 (NCOEFF): New macro.
49510 (gamma_positive): New function.
49511 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49512 underflow here. Use gamma_positive instead of exp (lgamma) for
49513 other arguments.
49514 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49515 (gamma_coeff): New variable.
49516 (NCOEFF): New macro.
49517 (gammaf_positive): New function.
49518 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49519 underflow here. Use gamma_positive instead of exp (lgamma) for
49520 other arguments.
49521 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49522 (gamma_coeff): New variable.
49523 (NCOEFF): New macro.
49524 (gammal_positive): New function.
49525 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49526 underflow here. Use gamma_positive instead of exp (lgamma) for
49527 other arguments.
49528 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49529 (gamma_coeff): New variable.
49530 (NCOEFF): New macro.
49531 (gammal_positive): New function.
49532 (__ieee754_gammal_r): Handle positive infinity, overflow and
49533 underflow here. Handle NaN the same as positive infinity. Remove
49534 check x < 0xffffffff for negative integers. Use gamma_positive
49535 instead of exp (lgamma) for other arguments.
49536 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49537 (gamma_coeff): New variable.
49538 (NCOEFF): New macro.
49539 (gammal_positive): New function.
49540 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49541 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49542 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49543 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49544 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49545 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49546 * sysdeps/generic/math_private.h (__gamma_productf): New
49547 prototype.
49548 (__gamma_product): Likewise.
49549 (__gamma_productl): Likewise.
49550 * math/Makefile (libm-calls): Add gamma_product.
49551 * math/libm-test.inc (tgamma_test): Add more tests.
49552 * sysdeps/i386/fpu/libm-test-ulps: Update.
49553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49554
49555 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
49556
49557 * benchtests/bench-skeleton.c (main): Preheat CPU.
49558
49559 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
49560
49561 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49562
49563 2013-05-07 Roland McGrath <roland@hack.frob.com>
49564
49565 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49566 and _dl_skip_args_internal.
49567
49568 2013-05-07 Carlos O'Donell <carlos@redhat.com>
49569
49570 * manual/message.texi (Message Translation): Talk about users.
49571 Message to key mapping impacts design.
49572
49573 2013-05-06 Roland McGrath <roland@hack.frob.com>
49574
49575 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49576
49577 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49578
49579 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49580 * sysdeps/wordsize-64/glob64.c: ... here.
49581
49582 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49583 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49584 New macros.
49585
49586 * debug/getlogin_r_chk.c: Moved to ...
49587 * login/getlogin_r_chk.c: ... here.
49588 * debug/Makefile (routines): Move getlogin_r_chk to ...
49589 * login/Makefile (routines): ... here.
49590 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49591 * login/Versions (libc: GLIBC_2.4): ... here.
49592
49593 * io/poll.c (__poll): Renamed from poll.
49594 Add libc_hidden_def.
49595 (poll): Define as weak alias.
49596
49597 * debug/ptsname_r_chk.c: Moved to ...
49598 * login/ptsname_r_chk.c: ... here.
49599 * debug/Makefile (routines): Move ptsname_r_chk to ...
49600 * login/Makefile (routines): ... here.
49601 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49602 * login/Versions (libc: GLIBC_2.4): ... here.
49603
49604 * posix/getlogin.c: Moved to ...
49605 * login/getlogin.c: ... here.
49606 * posix/getlogin_r.c: Moved to ...
49607 * login/getlogin_r.c: ... here.
49608 * posix/getlogin_r.c: Moved to ...
49609 * login/getlogin_r.c: ... here.
49610 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49611 * login/Makefile (routines): ... here.
49612 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49613 * login/Versions (libc: GLIBC_2.0): ... here.
49614
49615 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49616 (setrlimit): Define as weak alias.
49617
49618 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49619 Call __ names for open, ftruncate, and close.
49620 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49621 (truncate): Define as weak alias.
49622
49623 2013-05-06 Joseph Myers <joseph@codesourcery.com>
49624
49625 * math/gen-libm-test.pl (parse_args): Initialize x before each
49626 test of frexp, modf and remquo.
49627
49628 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49629 test signgam value.
49630
49631 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49632
49633 [BZ #15418]
49634 [BZ #15419]
49635 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49636 internal tests.
49637 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49638
49639 2013-05-06 Roland McGrath <roland@hack.frob.com>
49640
49641 * elf/dl-writev.h: New file.
49642 * elf/dl-misc.c: Include it.
49643 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49644 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49645
49646 2013-05-04 Joseph Myers <joseph@codesourcery.com>
49647
49648 * math/libm-test.inc (noXFails): Remove variable.
49649 (noXPasses): Likewise.
49650 (BUILD_COMPLEX_INT): Remove macro.
49651 (print_screen): Remove xfail argument.
49652 (print_screen_max_error): Likewise.
49653 (update_stats): Likewise.
49654 (print_max_error): Likewise. Update calls to other affected
49655 functions.
49656 (print_complex_max_error): Likewise.
49657 (test_single_exception): Update calls to print_screen.
49658 (test_single_errno): Likewise.
49659 (check_float_internal): Remove xfail argument. Update calls to
49660 other affected functions.
49661 (check_float): Likewise.
49662 (check_complex): Likewise.
49663 (check_int): Likewise.
49664 (check_long): Likewise.
49665 (check_bool): Likewise.
49666 (check_longlong): Likewise.
49667 (main): Don't print noXFails and noXPasses.
49668 * math/gen-libm-test.pl (top level): Don't mention expected
49669 failure handling in comment.
49670 (new_test): Don't handle expected failures.
49671 (parse_args): Don't mention expected failure handling in comment.
49672 (generate_testfile): Don't handle expected failures.
49673 (parse_ulps): Likewise.
49674 (print_ulps_file): Likewise.
49675 (get_failure): Remove function.
49676 (output_test): Don't handle expected failures.
49677 * make/README.libm-test: Don't mention expected failure handling.
49678
49679 * math/libm-test.inc (plus_zero): Make const. Add initializer.
49680 (minus_zero): Likewise.
49681 (plus_infty): Likewise.
49682 (minus_infty): Likewise.
49683 (qnan_value): Likewise.
49684 (max_value): Likewise.
49685 (min_value): Likewise.
49686 (min_subnorm_value): Likewise.
49687 (initialize): Do not initialize those variables dynamically.
49688
49689 2013-05-03 Roland McGrath <roland@hack.frob.com>
49690
49691 * io/open.c (__open_2): Moved to ...
49692 * io/open_2.c: ... this new file.
49693 * io/open64.c (__open64_2): Moved to ...
49694 * io/open64_2.c: ... this new file.
49695 * io/openat.c (__openat_2): Moved to ...
49696 * io/openat_2.c: ... this new file.
49697 * io/openat64.c (__openat64_2): Moved to ...
49698 * io/openat64_2.c: ... this new file.
49699 * io/Makefile (routines): Add them.
49700 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49701 * sysdeps/unix/sysv/linux/open_2.c: File removed.
49702 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49703 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49704 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49705 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49706 (__openat64): Add hidden_ver.
49707 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49708 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49709
49710 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49711 Separately conditionalize setting of GLRO(dl_sysinfo) so
49712 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49713 as well, but the actual setting is only under [NEED_DL_SYSINFO].
49714
49715 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49716
49717 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49718 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49719 definition.
49720 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49721 * sysdeps/unix/sysv/linux/powerpc/init-first.c
49722 (_libc_vdso_platform_setup): Add __vdso_time initialization.
49723 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49724 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49725
49726 2013-05-03 Joseph Myers <joseph@codesourcery.com>
49727
49728 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49729 test signgam value.
49730
49731 * math/libm-test.inc (hypot_test): Do not use
49732 IGNORE_ZERO_INF_SIGN.
49733
49734 2013-05-03 Andreas Jaeger <aj@suse.de>
49735
49736 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49737 Linux 3.9.
49738 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49739 (PF_MAX): Adjust for VSOCK change.
49740
49741 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49742
49743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49744
49745 2013-05-02 Carlos O'Donell <carlos@redhat.com>
49746
49747 [BZ #15264]
49748 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49749 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49750 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49751
49752 2013-05-02 David S. Miller <davem@davemloft.net>
49753
49754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49755
49756 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
49757
49758 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49759
49760 2013-05-01 Roland McGrath <roland@hack.frob.com>
49761
49762 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49763
49764 2013-05-01 Richard Smith <richard@metafoo.co.uk>
49765
49766 [BZ #14952]
49767 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49768 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49769 Use __attribute__ ((__gnu_inline__)).
49770 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49771 Don't use __attribute__ ((__gnu_inline__)).
49772
49773 2013-05-01 Joseph Myers <joseph@codesourcery.com>
49774
49775 [BZ #15423]
49776 * math/s_catan.c (__catan): Handle small real or imaginary part of
49777 input specially to avoid spurious underflow.
49778 * math/s_catanf.c (__catanf): Likewise.
49779 * math/s_catanh.c (__catanh): Likewise.
49780 * math/s_catanhf.c (__catanhf): Likewise.
49781 * math/s_catanhl.c (__catanhl): Likewise.
49782 * math/s_catanl.c (__catanl): Likewise.
49783 * math/libm-test.inc (catan_test): Add more tests.
49784 (catanh_test): Likewise.
49785 * sysdeps/i386/fpu/libm-test-ulps: Update.
49786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49787
49788 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49789
49790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49791
49792 2013-04-30 Joseph Myers <joseph@codesourcery.com>
49793
49794 [BZ #15416]
49795 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49796 accurately for denominator in atan2.
49797 * math/s_catanf.c (__catanf): Likewise.
49798 * math/s_catanh.c (__catanh): Likewise.
49799 * math/s_catanhf.c (__catanhf): Likewise.
49800 * math/s_catanhl.c (__catanhl): Likewise.
49801 * math/s_catanl.c (__catanl): Likewise.
49802 * math/libm-test.inc (catan_test): Add more tests.
49803 (catanh_test): Likewise.
49804 * sysdeps/i386/fpu/libm-test-ulps: Update.
49805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49806
49807 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49808
49809 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49810
49811 * benchtests/Makefile (bench): Remove slow benchmarks.
49812 * benchtests/atan-inputs: Add slow benchmark inputs.
49813 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49814 (BENCH_FUNC): Accept variant offset.
49815 (VARIANT): Define.
49816 * benchtests/bench-skeleton.c (main): Run benchmark for each
49817 variant.
49818 * benchtests/cos-inputs: Add slow benchmark inputs.
49819 * benchtests/exp-inputs: Likewise.
49820 * benchtests/pow-inputs: Likewise.
49821 * benchtests/sin-inputs: Likewise.
49822 * benchtests/slowatan-inputs: Remove.
49823 * benchtests/slowatan.c: Remove.
49824 * benchtests/slowcos-inputs: Remove.
49825 * benchtests/slowcos.c: Remove.
49826 * benchtests/slowexp-inputs: Remove.
49827 * benchtests/slowexp.c: Remove.
49828 * benchtests/slowpow-inputs: Remove.
49829 * benchtests/slowpow.c: Remove.
49830 * benchtests/slowsin-inputs: Remove.
49831 * benchtests/slowsin.c: Remove.
49832 * benchtests/slowtan-inputs: Remove.
49833 * benchtests/slowtan.c: Remove.
49834 * benchtests/tan-inputs: Add slow benchmark inputs.
49835 * scripts/bench.pl: Parse comments and directives.
49836
49837 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
49838 in CPPFLAGS.
49839 ($(objpfx)bench-%.c): Remove *-ITER.
49840 * benchtests/bench-modf.c: Remove definition of ITER.
49841 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49842 (main): Loop for DURATION seconds instead of fixed number of
49843 iterations.
49844 * scripts/bench.pl: Don't expect iterations in parameters.
49845
49846 2013-04-29 Roland McGrath <roland@hack.frob.com>
49847
49848 * io/fchdir.c (__fchdir): Renamed from fchdir.
49849 (fchdir): Define as weak alias.
49850
49851 2013-04-29 Joseph Myers <joseph@codesourcery.com>
49852
49853 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49854 (ERRNO_EDOM): Likewise.
49855 (ERRNO_ERANGE): Likewise.
49856 (noErrnoTests): New variable.
49857 (init_max_error): Set errno to 0.
49858 (test_single_errno): New function.
49859 (test_errno): Likewise.
49860 (check_float_internal): Call test_errno. Set errno to 0.
49861 (check_complex): Refer to errno tests in comment.
49862 (check_int): Call test_errno. Set errno to 0.
49863 (check_long): Likewise.
49864 (check_bool): Likewise.
49865 (check_longlong): Likewise.
49866 (cos_test): Use ERRNO_* flags for errno tests instead of
49867 check_int.
49868 (expm1_test): Likewise.
49869 (fmod_test): Likewise.
49870 (ilogb_test): Likewise.
49871 (lgamma_test): Likewise.
49872 (pow_test): Likewise.
49873 (remainder_test): Likewise.
49874 (sin_test): Likewise.
49875 (tan_test): Likewise.
49876 (yn_test): Likewise.
49877 (initialize): Set errno to 0.
49878 (main): Print number of errno tests.
49879 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49880
49881 2013-04-29 Andreas Jaeger <aj@suse.de>
49882
49883 [BZ #15084]
49884 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49885 and RES_USEVC.
49886
49887 [BZ #15085]
49888 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49889 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49890 unimplemented.
49891
49892 [BZ #15380]
49893 * stdlib/random.c (__initstate): Return NULL if
49894 __initstate fails.
49895
49896 [BZ #15086]
49897 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49898 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49899 RES_SNGLKUPREOP.
49900
49901 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49902
49903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49904
49905 2013-04-29 Joseph Myers <joseph@codesourcery.com>
49906
49907 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49908 of individual tests.
49909 (casin_test): Likewise.
49910 (casinh_test): Likewise.
49911
49912 2013-04-27 Joseph Myers <joseph@codesourcery.com>
49913
49914 [BZ #15409]
49915 * math/s_catan.c (__catan): Handle arguments with large real or
49916 imaginary part separately without squaring.
49917 * math/s_catanf.c (__catanf): Likewise.
49918 * math/s_catanh.c (__catanh): Likewise.
49919 * math/s_catanhf.c (__catanhf): Likewise.
49920 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49921 and redefine.
49922 (__catanhl): Handle arguments with large real or imaginary part
49923 separately without squaring.
49924 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49925 and redefine.
49926 (__catanl): Handle arguments with large real or imaginary part
49927 separately without squaring.
49928 * math/libm-test.inc (catan_test): Add more tests.
49929 (catanh_test): Likewise.
49930 * sysdeps/i386/fpu/libm-test-ulps: Update.
49931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49932
49933 2013-04-27 Andreas Jaeger <aj@suse.de>
49934
49935 [BZ #15007]
49936 * stdlib/stdlib.h: Update guards for qecvt.
49937 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49938 <stdlib.h>.
49939
49940 2013-04-27 Allan McRae <allan@archlinux.org>
49941
49942 * sysdeps/i386/fpu/libm-test-ulps: Update.
49943
49944 2013-04-26 Joseph Myers <joseph@codesourcery.com>
49945
49946 [BZ #15406]
49947 * math/s_catan.c: Include <float.h>.
49948 (__catan): Ensure underflow exception occurs for underflowed
49949 result.
49950 * math/s_catanf.c: Include <float.h>.
49951 (__catanf): Ensure underflow exception occurs for underflowed
49952 result.
49953 * math/s_catanh.c: Include <float.h>.
49954 (__catanh): Ensure underflow exception occurs for underflowed
49955 result.
49956 * math/s_catanhf.c: Include <float.h>.
49957 (__catanhf): Ensure underflow exception occurs for underflowed
49958 result.
49959 * math/s_catanhl.c: Include <float.h>.
49960 (__catanhl): Ensure underflow exception occurs for underflowed
49961 result.
49962 * math/s_catanl.c: Include <float.h>.
49963 (__catanl): Ensure underflow exception occurs for underflowed
49964 result.
49965 * math/libm-test.inc (catan_test): Add more tests.
49966 (catanh_test): Likewise.
49967
49968 [BZ #15405]
49969 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49970 underflowed result.
49971 * math/s_ccoshf.c (__ccoshf): Likewise.
49972 * math/s_ccoshl.c (__ccoshl): Likewise.
49973 * math/s_csin.c (__csin): Likewise.
49974 * math/s_csinf.c (__csinf): Likewise.
49975 * math/s_csinh.c (__csinh): Likewise.
49976 * math/s_csinhf.c (__csinhf): Likewise.
49977 * math/s_csinhl.c (__csinhl): Likewise.
49978 * math/s_csinl.c (__csinl): Likewise.
49979 * math/libm-test.inc (ccos_test): Add more tests.
49980 (ccosh_test): Likewise.
49981 (csin_test): Likewise.
49982 (csinh_test): Likewise.
49983
49984 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49985
49986 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49987 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49988 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49989 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49990 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49991 powerpc/power5+/fpu folders.
49992 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49993
49994
49995 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
49996
49997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49998
49999 2013-04-25 Joseph Myers <joseph@codesourcery.com>
50000
50001 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50002 additions to variable.
50003 [$(config-machine) = x86_64] (modules-names): Likewise.
50004 ($(objpfx)tst-audit3): Remove dependency.
50005 ($(objpfx)tst-audit3.out): Likewise.
50006 ($(objpfx)tst-audit4): Likewise.
50007 ($(objpfx)tst-audit4.out): Likewise.
50008 ($(objpfx)tst-audit5): Likewise.
50009 ($(objpfx)tst-audit5.out): Likewise.
50010 ($(objpfx)tst-audit6): Likewise.
50011 ($(objpfx)tst-audit6.out): Likewise.
50012 ($(objpfx)tst-audit7): Likewise.
50013 ($(objpfx)tst-audit7.out): Likewise.
50014 (tst-audit3-ENV): Remove variable.
50015 (tst-audit4-ENV): Likewise.
50016 (tst-audit5-ENV): Likewise.
50017 (tst-audit6-ENV): Likewise.
50018 (tst-audit7-ENV): Likewise.
50019 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50020 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50021 addition to variable.
50022 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50023 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50024 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50025 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50026 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50027 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50028 tst-audit3, tst-audit4 and tst-audit5.
50029 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50030 tst-audit6 and tst-audit7.
50031 [$(subdir) = elf] (modules-names): Add audit modules for those
50032 tests.
50033 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50034 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50035 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50036 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50037 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50038 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50039 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50040 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50041 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50042 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50043 [$(subdir) = elf] (tst-audit3-ENV): New variable.
50044 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50045 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50046 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50047 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50048 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50049 Likewise.
50050 [$(subdir) = elf && $(config-cflags-avx) = yes]
50051 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50052 [$(subdir) = elf && $(config-cflags-avx) = yes]
50053 (CFLAGS-tst-auditmod4a.c): Likewise.
50054 [$(subdir) = elf && $(config-cflags-avx) = yes]
50055 (CFLAGS-tst-auditmod4b.c): Likewise.
50056 [$(subdir) = elf && $(config-cflags-avx) = yes]
50057 (CFLAGS-tst-auditmod6b.c): Likewise.
50058 [$(subdir) = elf && $(config-cflags-avx) = yes]
50059 (CFLAGS-tst-auditmod6c.c): Likewise.
50060 [$(subdir) = elf && $(config-cflags-avx) = yes]
50061 (CFLAGS-tst-auditmod7b.c): Likewise.
50062 * elf/tst-audit3.c: Move to ...
50063 * sysdeps/x86_64/tst-audit3.c: ... here.
50064 * elf/tst-audit4.c: Move to ...
50065 * sysdeps/x86_64/tst-audit4.c: ... here.
50066 * elf/tst-audit5.c: Move to ...
50067 * sysdeps/x86_64/tst-audit5.c: ... here.
50068 * elf/tst-audit6.c: Move to ...
50069 * sysdeps/x86_64/tst-audit6.c: ... here.
50070 * elf/tst-audit7.c: Move to ...
50071 * sysdeps/x86_64/tst-audit7.c: ... here.
50072 * elf/tst-auditmod3a.c: Move to ...
50073 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50074 * elf/tst-auditmod3b.c: Move to ...
50075 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50076 * elf/tst-auditmod4a.c: Move to ...
50077 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50078 * elf/tst-auditmod4b.c: Move to ...
50079 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50080 * elf/tst-auditmod5a.c: Move to ...
50081 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50082 * elf/tst-auditmod5b.c: Move to ...
50083 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50084 * elf/tst-auditmod6a.c: Move to ...
50085 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50086 * elf/tst-auditmod6b.c: Move to ...
50087 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50088 * elf/tst-auditmod6c.c: Move to ...
50089 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50090 * elf/tst-auditmod7a.c: Move to ...
50091 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50092 * elf/tst-auditmod7b.c: Move to ...
50093 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50094
50095 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
50096
50097 [BZ #15366]
50098 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50099 define unconditionally.
50100 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50101 define unconditionally.
50102 (INT8_C, INT16_C, etc.): Likewise.
50103
50104 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
50105
50106 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50107 __ehdr_start with hidden visibility.
50108
50109 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50110
50111 2013-04-24 Carlos O'Donell <carlos@redhat.com>
50112
50113 * math/libm-test.inc (cos_test): Use accurate hex constants.
50114 (sincost_test): Likewise.
50115
50116 2013-04-24 Joseph Myers <joseph@codesourcery.com>
50117
50118 * math/libm-test.inc (catan_test): Add more tests.
50119 (catanh_test): Likewise.
50120
50121 * math/s_catanf.c (__catanf): Use suffixed floating-point
50122 constants.
50123 * math/s_catanhf.c (__catanhf): Likewise.
50124 * math/s_catanhl.c (__catanhl): Likewise.
50125 * math/s_catanl.c (__catanl): Likewise.
50126
50127 [BZ #15394]
50128 * math/s_catan.c (__catan): Calculate imaginary part of result
50129 with log1p not log unless computing log of number close to 0.
50130 * math/s_catanf.c (__catanf): Likewise.
50131 * math/s_catanl.c (__catanl): Likewise.
50132 * math/s_catanh.c (__catanh): Calculate real part of result with
50133 log1p not log unless computing log of number close to 0.
50134 * math/s_catanhf.c (__catanhf): Likewise.
50135 * math/s_catanhl.c (__catanhl): Likewise.
50136 * math/libm-test.inc (catan_test): Add more tests.
50137 (catanh_test): Likewise.
50138 * sysdeps/i386/fpu/libm-test-ulps: Update.
50139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50140
50141 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
50142
50143 * benchtests/Makefile: Mention files in which fast and slow
50144 paths of math functions are implemented.
50145
50146 2013-04-23 Roland McGrath <roland@hack.frob.com>
50147
50148 * sysdeps/posix/timespec_get.c: New file.
50149
50150 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50151
50152 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50153 POWER.
50154 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50155 for POWER.
50156 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50157 powerpc/power5/fpu folders.
50158 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50159 * benchtests/Makefile: Add modf testcase.
50160 * benchtests/bench-modf.c: New file: Benchmark test for mo
50161
50162 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
50163
50164 [BZ #14888]
50165 * time/Makefile (tests): Add tst-strptime-whitespace.
50166 * time/strptime_l.c (get_number): Use ISSPACE.
50167 (__strptime_internal): Likewise.
50168 * time/tst-strptime-whitespace.c: New test case.
50169
50170 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
50171
50172 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50173 member.
50174 (_nss_files_init): Set it here.
50175
50176 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
50177
50178 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50179 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50180 unsigned.
50181
50182 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
50183
50184 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50185
50186 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50187
50188 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50189 size just once.
50190
50191 2013-04-21 David S. Miller <davem@davemloft.net>
50192
50193 * po/ru.po: Update Russion translation from translation project.
50194
50195 2013-04-17 Adam Conrad <adconrad@0c3.net>
50196
50197 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50198 and setfsgid.
50199
50200 2013-04-17 Carlos O'Donell <carlos@redhat.com>
50201
50202 * configure.in: Remove i386 configure warning. Remove i386 case.
50203 * configure: Regenerate.
50204 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50205 Add example to error message.
50206 * sysdeps/i386/configure: Regenerate.
50207
50208 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
50209
50210 * benchtests/Makefile (bench): Add cos, tan, slowcos and
50211 slowtan.
50212 * benchtests/cos-inputs: New file.
50213 * benchtests/slowcos-inputs: New file.
50214 * benchtests/slowcos.c: New file.
50215 * benchtests/slowtan-inputs: New file.
50216 * benchtests/slowtan.c: New file.
50217 * benchtests/tan-inputs: New file.
50218
50219 2013-04-16 Roland McGrath <roland@hack.frob.com>
50220
50221 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50222 considered kosher.
50223
50224 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
50225
50226 * benchtests/Makefile: Include cppflags-iterator.mk to add
50227 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50228
50229 * Makefile.in (bench-clean): New target.
50230 * benchtests/Makefile (bench-clean): Likewise.
50231
50232 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
50233
50234 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50235
50236 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
50237
50238 * stdio-common/tstdiomisc.c: Fix coding-style violation.
50239
50240 2013-04-15 Andreas Schwab <schwab@suse.de>
50241
50242 * nscd/grpcache.c (cache_addgr): Properly check for short write.
50243 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50244 * nscd/pwdcache.c (cache_addpw): Likewise.
50245 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
50246 more than recsize.
50247
50248 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50249
50250 * benchtests/Makefile (bench): Write all output to
50251 bench-out.tmp together.
50252
50253 2013-04-15 Andreas Schwab <schwab@suse.de>
50254
50255 * nscd/nscd.c (main): Don't fork again after closing files.
50256
50257 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50258
50259 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50260
50261 * benchtests/Rules (bench-deps): Collect dependencies into a
50262 single variable. Add Makefile to dependencies.
50263 ($(objpfx)bench-%.c): Depend on bench-deps.
50264
50265 2013-04-12 Roland McGrath <roland@hack.frob.com>
50266 Xavier Roche <roche+kml2@exalead.com>
50267
50268 [BZ #15361]
50269 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50270 just that it's a file descriptor.
50271 * manual/llio.texi (Synchronizing AIO Operations): Update description
50272 for EBADF error from aio_fsync.
50273
50274 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
50275
50276 * Rules (bench): Move target definition...
50277 * benchtests/Makefile: ... here.
50278
50279 2013-04-11 Carlos O'Donell <carlos@redhat.com>
50280
50281 * math/libm-test.inc (cos_test): Fix PI/2 test.
50282 (sincos_test): Likewise.
50283 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50284 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50285
50286 2013-04-11 Andreas Schwab <schwab@suse.de>
50287
50288 [BZ #13988]
50289 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50290 accept exponent character only when digits were seen.
50291 * stdio-common/Makefile (tests): Add bug26.
50292 * stdio-common/bug26.c: New file.
50293
50294 [BZ #14293]
50295 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50296 non-freeable.
50297
50298 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50299
50300 * Makeconfig (rtld-prefix): Define built linker prefix.
50301 * Rules (run-bench): Use it.
50302 * math/Makefile (run-regen-ulps): Likewise.
50303
50304 * Rules (bench): Remove eval.
50305
50306 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50307 Roland McGrath <roland@hack.frob.com>
50308 Ondrej Bilka <neleai@seznam.cz>
50309
50310 [BZ #15346]
50311 * time/getdate.c: Include ctype.h and alloca.h.
50312 (__getdate_r): Trim leading and trailing spaces of input.
50313 * time/tst-getdate.c (tests): Add tests with leading and
50314 trailing spaces.
50315
50316 2013-04-08 Roland McGrath <roland@hack.frob.com>
50317
50318 [BZ #14280]
50319 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50320 when computing value.
50321
50322 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50323
50324 * math/README.libm-test (How can I generate "libm-test-ulps"?):
50325 Use testrun.sh to run libm tests.
50326
50327 [BZ #15309]
50328 * elf/dl-open.c (dl_open_worker): memset all of seen array.
50329
50330 2013-04-06 Marko Myllynen <myllynen@redhat.com>
50331
50332 [BZ #15264]
50333 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50334
50335 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50336
50337 * Makefile.in (regen-ulps): New target.
50338 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50339 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50340 [ifneq (no,$(PERL)] (regen-ulps): New target.
50341 [ifeq (no,$(PERL)] (regen-ulps): New target.
50342 * math/libm-test.inc (ulps_file_name): Define.
50343 (output_dir): New variable.
50344 (options): Add "output-dir" option.
50345 (parse_opt): Handle 'o' case.
50346 (main): If output_dir is non-NULL use it as a prefix
50347 otherwise use "".
50348 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50349
50350 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50351
50352 [BZ #10060, #10062]
50353 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50354 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50355 fail configure if __sync_val_compare_and_swap is not inlined.
50356 * sysdeps/i386/configure: Regenerate.
50357 * configure.in: Build for i686 when configured for i386.
50358 * configure: Regenerate.
50359 * README: Remove i386 reference.
50360
50361 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50362
50363 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50364 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50365
50366 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
50367
50368 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50369 (lmsnanval): New variables.
50370 (F): Add conversion tests.
50371 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50372 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50373
50374 * stdio-common/tstdiomisc.c (F): Properly collect individual
50375 tests' results.
50376
50377 [BZ #14686, #15336]
50378 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50379 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50380 Instead, use input NaN values or generate a qNaN by arithmetic
50381 operation. Also fix bugs to comply with the standard.
50382 * math/libm-test.inc (remainder_test): Add more tests.
50383
50384 [BZ #15335, #15342]
50385 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50386 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50387 input NaN values or generate a qNaN by arithmetic operation.
50388
50389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50390 unreachable code.
50391
50392 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50393 definitions.
50394
50395 2013-04-03 Joseph Myers <joseph@codesourcery.com>
50396
50397 [BZ #14478]
50398 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50399 underflowed result.
50400 * math/s_cexpf.c (__cexpf): Likewise.
50401 * math/s_cexpl.c (__cexpl): Likewise.
50402 * math/libm-test.inc (cexp_test): Add more tests.
50403
50404 2013-04-03 Andreas Schwab <schwab@suse.de>
50405
50406 [BZ #15330]
50407 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50408 order arrays from heap if bigger than alloca cutoff.
50409
50410 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
50411
50412 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50413 (SNAN_TESTS_double): Refer to GCC PR56831.
50414 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50415 GCC PR56828.
50416
50417 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50418
50419 * Rules (bench): Move bench.out after the run is complete.
50420
50421 * Rules (bench): Echo currently running benchmark.
50422
50423 * benchtests/Makefile (bench): Add atan and slowatan.
50424 * benchtests/atan-inputs: New file.
50425 * benchtests/slowatan-inputs: New file.
50426 * benchtests/slowatan.c: New file.
50427
50428 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50429 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50430 its value.
50431
50432 [BZ #15305]
50433 * sysdeps/unix/sysv/linux/kernel-features.h
50434 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50435 __ASSUME_XFS_RESTRICTED_CHOWN.
50436 * sysdeps/unix/sysv/linux/pathconf.c
50437 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50438 Save and restore errno.
50439
50440 2013-04-02 Joseph Myers <joseph@codesourcery.com>
50441
50442 [BZ #15327]
50443 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50444 arguments using __kernel_casinh.
50445 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50446 arguments using __kernel_casinhf.
50447 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50448 arguments using __kernel_casinhl.
50449 * math/libm-test.inc (cacosh_test): Add more tests.
50450 * sysdeps/i386/fpu/libm-test-ulps: Update.
50451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50452
50453 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50454
50455 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50456 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50457
50458 * bench/Makefile (bench): Add sin and slowsin.
50459 * benchtests/sin-inputs: New file.
50460 * benchtests/slowsin-inputs: New file.
50461 * benchtests/slowsin.c: New file.
50462
50463 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50464 (bench): Add slowexp and slowpow.
50465 (exp-ITER): Increase iterations.
50466 (pow-ITER): Likewise.
50467 * benchtests/exp-inputs: Change input.
50468 * benchtests/pow-inputs: Likewise.
50469 * benchtests/slowexp-inputs: New file.
50470 * benchtests/slowexp.c: New file.
50471 * benchtests/slowpow-inputs: New file.
50472 * benchtests/slowpow.c: New file.
50473
50474 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50475
50476 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50477 instructions.
50478 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50479 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50480 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50481 * benchtests/Makefile: Add rint benchtest.
50482 * benchtests/rint-inputs: Input for rint benchtest.
50483
50484 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
50485
50486 * Versions.def (libm): Add GLIBC_2.18.
50487 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50488 hidden libm prototypes.
50489 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50490 * math/Makefile (libm-calls): Add s_issignaling.
50491 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50492 __issignalingf, __issignalingl. Adjust all libm.abilist files.
50493 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50494 declaration.
50495 * math/math.h [__USE_GNU] (issignaling): New macro.
50496 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50497 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50498 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50499 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50500 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50501 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50502 * manual/arith.texi (issignaling): New section.
50503 * manual/libm-err-tab.pl (@all_functions): Update comment.
50504 * math/gen-libm-test.pl (parse_args): Apply special handling for
50505 issignaling.
50506 * math/libm-test.inc (print_float, issignaling_test): New
50507 functions.
50508 (check_float_internal): Add issignaling checks.
50509 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50510 default definition.
50511 * sysdeps/powerpc/math-tests.h: New file.
50512 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50513 tests.
50514 * math/test-snan.c (TEST_FUNC): Likewise.
50515
50516 2013-03-30 David S. Miller <davem@davemloft.net>
50517
50518 * po/de.po: Update from translation team.
50519
50520 2013-03-30 Joseph Myers <joseph@codesourcery.com>
50521
50522 [BZ #10357]
50523 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50524 imaginary part less than 1.0 and real part less than 0.5
50525 specially.
50526 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50527 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50528 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50529 (cacos_test): Add more tests.
50530 (casin_test): Likewise.
50531 (casinh_test): Likewise.
50532 * sysdeps/i386/fpu/libm-test-ulps: Update.
50533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50534
50535 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50536
50537 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50538 ONE with its value.
50539
50540 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50541 (__pow_mp): Replace ONE and MONE with their values.
50542 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50543 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50544 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50545 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50546 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50547 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50548
50549 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50550
50551 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50552 (__pow_mp): Replace ZERO and MZERO with their values.
50553 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50554 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50555 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50557 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50558 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50559 (__sqr): Likewise.
50560
50561 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50562
50563 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50564
50565 2013-03-28 Roland McGrath <roland@hack.frob.com>
50566
50567 * include/stdlib.h [!SHARED] (__call_tls_dtors):
50568 Declare with __attribute__ ((weak)).
50569 * stdlib/exit.c (__libc_atexit) [!SHARED]:
50570 Call __call_tls_dtors only if it's not NULL.
50571
50572 2013-03-28 Roland McGrath <roland@hack.frob.com>
50573
50574 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50575 didn't do it already, then set _dl_phdr and _dl_phnum based on the
50576 magic __ehdr_start linker symbol if it's defined.
50577 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50578 them up here if it was already done.
50579
50580 * elf/dl-support.c (_dl_phdr): Make pointer to const.
50581 (_dl_aux_init): Use const in cast when setting it.
50582 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50583 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50584 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50585
50586 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50587 Declare them here.
50588 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50589 * csu/libc-tls.c: Nor here.
50590 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50591
50592 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50593 (__libc_message): Never call vsyslog.
50594
50595 2013-03-28 Alan Modra <amodra@gmail.com>
50596
50597 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50598 Define as empty.
50599 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50600 Likewise.
50601
50602 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50603
50604 [BZ #15214]
50605 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50606 underflow.
50607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50608
50609 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50610
50611 [BZ #15304]
50612 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50613 Don't add gid passed as argument.
50614
50615 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50616
50617 2013-03-27 Joseph Myers <joseph@codesourcery.com>
50618
50619 [BZ #15307]
50620 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50621 imaginary part between 1.0 and 1.5 and real part less than 0.5
50622 specially.
50623 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50624 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50625 * math/libm-test.inc (cacos_test): Add more tests.
50626 (casin_test): Likewise.
50627 (casinh_test): Likewise.
50628 * sysdeps/i386/fpu/libm-test-ulps: Update.
50629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50630
50631 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50632
50633 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50634 constants.
50635 (norm): Likewise.
50636 (denorm): Likewise.
50637 (__dbl_mp): Likewise.
50638 (add_magnitudes): Likewise.
50639 (sub_magnitudes): Likewise.
50640 (__add): Likewise.
50641 (__sub): Likewise.
50642 (__mul): Likewise.
50643 (__sqr): Likewise.
50644 (__inv): Likewise.
50645 (__dvd): Likewise.
50646
50647 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50648 commented code.
50649 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50650 (__dubcos): Likewise.
50651 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50652 (__ieee754_acos): Likewise.
50653 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50654 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50655 (__exp1): Likewise.
50656 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50658 (log1): Likewise.
50659 (my_log2): Likewise.
50660 (checkint): Likewise.
50661 * sysdeps/ieee754/dbl-64/e_remainder.c
50662 (__ieee754_remainder): Likewise.
50663 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50664 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50665 (bsloww): Likewise.
50666 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50667
50668 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50669 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50670 MANTISSA_STORE_T to store computations on mantissa. Use
50671 macros for rounding and division.
50672 (denorm): Likewise.
50673 (__dbl_mp): Likewise.
50674 (add_magnitudes): Likewise.
50675 (sub_magnitudes): Likewise.
50676 (__mul): Likewise.
50677 (__sqr): Likewise.
50678 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
50679 powers of two in terms of TWOPOW macro.
50680 (mp_no): Make type of mantissa as MANTISSA_T.
50681 [!RADIXI]: Define RADIXI.
50682 [!TWO52]: Define TWO52.
50683 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50684
50685 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50686
50687 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50688 llroundl symbol when building for PPC32.
50689
50690 2013-03-24 Mark H Weaver <mhw@netris.org>
50691
50692 * manual/arith.texi (Normalization Functions): Fix prototypes for
50693 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50694
50695 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50696
50697 [BZ #13889]
50698 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50699 high value to check if expl overflow.
50700 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50701 to check for underflow and overflow.
50702 * math/libm-test.inc: Add exp test.
50703
50704 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
50705
50706 [BZ #11120]
50707 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50708 with NOT_IN_libc.
50709
50710 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50711
50712 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50713 symbol.
50714
50715 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
50716
50717 * math/gen-libm-test.pl (parse_args, special_functions): Properly
50718 wrap blocks consisting of several statements.
50719
50720 * sysdeps/generic/math-tests.h: New file.
50721 * sysdeps/i386/fpu/math-tests.h: Likewise.
50722 * math/test-snan.c: Include it.
50723 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50724
50725 2013-03-21 Joseph Myers <joseph@codesourcery.com>
50726
50727 [BZ #15285]
50728 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50729 (__ieee754_j0l): Do not improve calculations using cos of twice
50730 input for inputs above LDBL_MAX / 2.0L.
50731 (__ieee754_y0l): Likewise.
50732 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50733 (__ieee754_j1l): Do not improve calculations using cos of twice
50734 input for inputs above LDBL_MAX / 2.0L.
50735 (__ieee754_y1l): Likewise.
50736 * math/libm-test.inc (j0_test): Add another test.
50737 (j1_test): Likewise.
50738 (y0_test): Likewise.
50739 (y1_test): Likewise.
50740 * sysdeps/i386/fpu/libm-test-ulps: Update.
50741
50742 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50743
50744 * Rules ($(objpfx)bench-%.c): Include code from a C source
50745 file.
50746
50747 2013-03-21 Joseph Myers <joseph@codesourcery.com>
50748
50749 [BZ #15287]
50750 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50751 imaginary part 1.0 and real part less than 0.5 specially.
50752 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50753 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50754 * math/libm-test.inc (cacos_test): Add more tests.
50755 (casin_test): Likewise.
50756 (casinh_test): Likewise.
50757 * sysdeps/i386/fpu/libm-test-ulps: Update.
50758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50759
50760 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50761
50762 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50763 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50764
50765 2013-03-20 Joseph Myers <joseph@codesourcery.com>
50766
50767 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50768 * config.make.in (config-cflags-sse4): Remove variable.
50769 (config-cflags-avx): Likewise.
50770 (config-cflags-sse2avx): Likewise.
50771 (config-cflags-novzeroupper): Likewise.
50772 (config-asflags-i686): Likewise.
50773 (have-mfma4): Likewise.
50774 (have-as-vis3): Likewise.
50775 (MIG): Likewise.
50776 * configure.in (MIG): Do not AC_SUBST.
50777 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50778 (libc_cv_cc_sse4): Do not AC_SUBST.
50779 (libc_cv_cc_avx): Likewise.
50780 (libc_cv_cc_sse2avx): Likewise.
50781 (libc_cv_cc_novzeroupper): Likewise.
50782 (libc_cv_cc_fma4): Likewise.
50783 (libc_cv_as_i686): Likewise.
50784 (libc_cv_sparc_as_vis3): Likewise.
50785 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50786 LIBC_CONFIG_VAR.
50787 (config-asflags-i686): Likewise.
50788 (config-cflags-avx): Likewise.
50789 (config-cflags-sse2avx): Likewise.
50790 (have-mfma4): Likewise.
50791 (config-cflags-novzeroupper): Likewise.
50792 * sysdeps/mach/configure.in (MIG): Likewise.
50793 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50794 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50795 LIBC_CONFIG_VAR.
50796 (config-cflags-avx): Likewise.
50797 (config-cflags-sse2avx): Likewise.
50798 (have-mfma4): Likewise.
50799 (config-cflags-novzeroupper): Likewise.
50800 * configure: Regenerated.
50801 * sysdeps/i386/configure: Likewise.
50802 * sysdeps/mach/configure: Likewise.
50803 * sysdeps/sparc/configure: Likewise.
50804 * sysdeps/x86_64/configure: Likewise.
50805
50806 2013-03-20 Roland McGrath <roland@hack.frob.com>
50807
50808 [BZ #14812]
50809 * locale/programs/localedef.c (options): Put N_ translation marker
50810 on argument names, not just descriptions.
50811
50812 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50813
50814 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50815
50816 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
50817
50818 [BZ #14176]
50819 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50820
50821 2013-03-19 Roland McGrath <roland@hack.frob.com>
50822
50823 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50824 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50825 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50826 [!BEFORE_ABORT] (before_abort): New function.
50827 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50828 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50829 (writev_for_fatal): New function.
50830 (WRITEV_FOR_FATAL): New macro; call that.
50831 (backtrace_and_maps): New function.
50832 (BEFORE_ABORT): New macro; call that.
50833 (struct str_list): Type removed.
50834 (__libc_message, __libc_fatal): Functions removed.
50835 Include <sysdeps/posix/libc_fatal.c> instead.
50836
50837 2013-03-19 Joseph Myers <joseph@codesourcery.com>
50838
50839 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50840 constants.
50841 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50842 double constants.
50843
50844 2013-03-19 Andreas Schwab <schwab@suse.de>
50845
50846 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50847 * sysdeps/gnu/configure: Regenerate.
50848
50849 * configure.in: Substitute libc_cv_rtlddir.
50850 * configure: Regenerate.
50851 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50852 * Makeconfig (rtlddir, inst_rtlddir): New variables.
50853 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50854 * elf/Makefile (install-others, CFLAGS-interp.c)
50855 (ldso_install, common-ldd-rewrite): Likewise.
50856 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50857 $(inst_slibdir)/$(rtld-installed-name).
50858 * scripts/rellns-sh: Add -p option.
50859 * Makerules (make-shlib-link): Use rellns-sh to get relative name
50860 for source.
50861
50862 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50863
50864 * manual/nptl.texi: Renamed to ...
50865 * manual/threads.texi: ... this.
50866 * manual/Makefile (chapters): Update.
50867
50868 2013-03-18 Roland McGrath <roland@hack.frob.com>
50869
50870 [BZ #14812]
50871 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50872 on argument names, not just descriptions.
50873 * malloc/memusagestat.c (options): Likewise.
50874 * nss/getent.c (options): Likewise.
50875
50876 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
50877
50878 [BZ #14812]
50879 * iconv/iconv_prog.c (options): Put N_ translation marker
50880 on argument names, not just descriptions.
50881 * iconv/iconvconfig.c (options): Likewise.
50882
50883 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
50884
50885 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50886 implementation which is faster on all x86_64 architectures.
50887 Tested on AMD, Intel Nehalem, SNB, IVB.
50888 * sysdeps/x86_64/strnlen.S: Likewise.
50889
50890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50891 Remove all multiarch strlen and strnlen versions.
50892 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50893 Remove strlen and strnlen related parts.
50894
50895 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50896 Inline strlen part.
50897 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50898
50899 * sysdeps/x86_64/multiarch/strlen.S: Remove.
50900 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50901 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50902 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50903 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50904 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50905
50906 2013-03-17 Carlos O'Donell <carlos@redhat.com>
50907
50908 * manual/memory.texi (Malloc Tunable Parameters):
50909 Sort parameters alphabetically. Add comments for missing entries.
50910
50911 2013-03-17 David S. Miller <davem@davemloft.net>
50912
50913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50914
50915 2013-03-16 Joseph Myers <joseph@codesourcery.com>
50916
50917 [BZ #15283]
50918 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50919 for arguments at most half maximum finite value.
50920 * math/libm-test.inc (j0_test): Add more tests.
50921 (j1_test): Likewise.
50922 (y0_test): Likewise.
50923 (y1_test): Likewise.
50924 * sysdeps/i386/fpu/libm-test-ulps: Update.
50925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50926
50927 [BZ #14155]
50928 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50929 1 / x and functions P and Q for arguments above 0x1p256L.
50930 (__ieee754_y0l): Likewise.
50931 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50932 (__ieee754_y1l): Likewise.
50933 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50934 (j1_test): Likewise.
50935 (y0_test): Likewise.
50936 (y1_test): Likewise.
50937
50938 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
50939
50940 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50941 variable.
50942
50943 2013-03-15 Roland McGrath <roland@hack.frob.com>
50944
50945 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50946 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50947 zero since it's initialized to EXEC_PAGESIZE.
50948
50949 * sysdeps/unix/sysv/linux/ldsodefs.h
50950 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50951 * sysdeps/generic/ldsodefs.h: ... here.
50952
50953 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
50954
50955 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50956
50957 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50958 math/test-snan.c.
50959 * math/test-snan.c: Renamed from
50960 sysdeps/powerpc/fpu/test-powerpc-snan.c.
50961 * math/Makefile (tests): Add test-snan.
50962 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50963 test-powerpc-snan.
50964
50965 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50966 SUFFIX. Initialize qNaN_var with __builtin_nan family of
50967 functions.
50968 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
50969 __builtin_nan family of functions.
50970 * math/libm-test.inc (initialize): Initialize qnan_value with
50971 __builtin_nan family of functions.
50972 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50973 Remove variables.
50974 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50975 Remove functions.
50976 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
50977 storage class. Initialize qNaN_var and sNaN_var with
50978 __builtin_nan and __builtin_nans families of functions,
50979 respectively.
50980
50981 * math/libm-test.inc (acosh_test): Also test with qNaN input.
50982 (sqrt_test): Remove duplicate test with qNaN input.
50983 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50984 (round_test, signbit_test, significand_test): Note missing +/-Inf
50985 as well as qNaN tests.
50986
50987 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50988 qNaN_var. Fix a few strings, too.
50989 * math/libm-test.inc (nan_value): Rename to qnan_value.
50990 * math/gen-libm-test.pl (%beautify): Adjust to that.
50991 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50992 * math/test-misc.c (main): Likewise.
50993 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50994 to __qnan_bytes, and __qnan_union, respectively.
50995 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50996 Likewise.
50997 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50998 and lqnanval, respectively.
50999 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51000 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51001 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51002 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51003
51004 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51005 * math/test-misc.c (main) [__x86_64__]: Enable test for long
51006 doubles.
51007
51008 * math/test-misc.c (main): Fix copy'n'pastos.
51009 * misc/tst-efgcvt.c (special): Likewise.
51010
51011 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51012 Remove declarations.
51013
51014 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51015
51016 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51017 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51018 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51019 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51020
51021 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51022
51023 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51024 macro to return vdso values correctly in IFUNC implementations.
51025 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51026 Optimization by using IFUNC.
51027
51028 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51029 Richard Henderson <rth@redhat.com>
51030 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51031
51032 * Makefile.in (bench): New target.
51033 * NEWS: Mention the benchmark framework.
51034 * Rules (bench): Likewise.
51035 (binaries-bench): Generate binaries for functions to
51036 benchmark.
51037 * benchtests/Makefile: New makefile for benchmark tests.
51038 * benchtests/bench-skeleton.c: New skeleton file for benchmark
51039 programs.
51040 * benchtests/exp-inputs: New input file for EXP function.
51041 * benchtests/pow-inputs: New input file for POW function.
51042 * scripts/bench.pl: New script to generate source files for
51043 benchmark programs.
51044
51045 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51046
51047 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51048 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51049 computations on mantissa. Use macros for rounding and
51050 division.
51051 (denorm): Likewise.
51052 (__dbl_mp): Likewise.
51053 (add_magnitudes): Likewise.
51054 (sub_magnitudes): Likewise.
51055 (__mul): Likewise.
51056 (__sqr): Likewise.
51057 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
51058 powers of two in terms of TWOPOW macro.
51059 (mp_no): Make type of mantissa as MANTISSA_T.
51060 [!RADIXI]: Define RADIXI.
51061 [!TWO52]: Define TWO52.
51062 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51063
51064 * manual/nptl.texi (cindex): Modify threads to pthreads.
51065
51066 2013-03-15 Joseph Myers <joseph@codesourcery.com>
51067
51068 * sysdeps/x86_64/preconfigure: Regenerated.
51069
51070 2013-03-14 Joseph Myers <joseph@codesourcery.com>
51071
51072 [BZ #14155]
51073 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51074 0x1p28 and above.
51075 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51076 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51077 0x1p28 and above.
51078 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51079 * math/libm-test.inc (j0_test): Do not allow one spurious
51080 underflow exception.
51081 (y1_test): Likewise.
51082
51083 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
51084
51085 * manual/Makefile (chapters): Add nptl.
51086 * manual/debug.texi (Debugging Support): Add link to Threads
51087 chapter.
51088 * manual/nptl.texi: New file.
51089
51090 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51091
51092 2013-03-14 Petr Baudis <pasky@ucw.cz>
51093
51094 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51095 for non-NULL pointer before the memory validity test. Pointed
51096 out by Holger Brunck <holger.brunck@keymile.com>.
51097
51098 2013-03-13 Andreas Schwab <schwab@suse.de>
51099
51100 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51101 instead of .os.
51102
51103 2013-03-13 Joseph Myers <joseph@codesourcery.com>
51104
51105 * timezone/zic.c: Update from tzcode 2013b.
51106
51107 2013-03-12 Carlos O'Donell <carlos@redhat.com>
51108
51109 * manual/install.texi (Configuring and compiling):
51110 Mention i686 and i586.
51111 * INSTALL: Regenerate.
51112
51113 2013-03-12 Roland McGrath <roland@hack.frob.com>
51114
51115 * sysdeps/init_array/elf-init.c: New file.
51116 * csu/elf-init.c
51117 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51118 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51119
51120 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51121 __gmon_start__ as global, but as static with a .preinit_array pointer.
51122 * sysdeps/init_array/gmon-start.c: New file. Use that.
51123 * sysdeps/init_array/crti.S: New file, empty except for comments.
51124 * sysdeps/init_array/crtn.S: Likewise.
51125
51126 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
51127
51128 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51129 definining bcopy.
51130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51131 Remove Prefer_SSE_for_memop.
51132 * sysdeps/x86_64/multiarch/init-arch.h: Remove
51133 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51134 HAS_PREFER_SSE_FOR_MEMOP.
51135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51136 memset-x86-64.
51137 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51138 Remove bzero, memset ifunc support.
51139 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51140 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51141 * sysdeps/x86_64/multiarch/memset.S: Likewise.
51142 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51143
51144 2013-03-11 Andreas Schwab <schwab@suse.de>
51145
51146 [BZ #15234]
51147 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51148 by SHLIB_COMPAT.
51149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51150 (GLIBC_2.16): Remove pthread_atfork.
51151
51152 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
51153
51154 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51155 (ptestcases.h): Likewise.
51156
51157 2013-03-08 Roland McGrath <roland@hack.frob.com>
51158
51159 * Makeconfig ($(common-objpfx)config.status): Depend on
51160 sysdeps/*/preconfigure{,.in} too.
51161
51162 2013-03-08 Joseph Myers <joseph@codesourcery.com>
51163
51164 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51165 (__free_hook): Use void * instead of __malloc_ptr_t.
51166 (__malloc_hook): Likewise.
51167 (__realloc_hook): Likewise.
51168 (__memalign_hook): Likewise.
51169 (__after_morecore_hook): Likewise.
51170 * malloc/arena.c (save_malloc_hook): Likewise.
51171 (save_free_hook): Likewise.
51172 * malloc/hooks.c (malloc_hook_ini): Likewise.
51173 (realloc_hook_ini): Likewise.
51174 (memalign_hook_ini): Likewise.
51175 * malloc/malloc.c (malloc_hook_ini): Likewise.
51176 (realloc_hook_ini): Likewise.
51177 (memalign_hook_ini): Likewise.
51178 (__free_hook): Likewise.
51179 (__malloc_hook): Likewise.
51180 (__realloc_hook): Likewise.
51181 (__memalign_hook): Likewise.
51182 (__libc_malloc): Likewise.
51183 (__libc_free): Likewise.
51184 (__libc_realloc): Likewise.
51185 (__libc_memalign): Likewise.
51186 (__libc_valloc): Likewise.
51187 (__libc_pvalloc): Likewise.
51188 (__libc_calloc): Likewise.
51189 (__posix_memalign): Likewise.
51190 * malloc/morecore.c (__sbrk): Likewise.
51191 (__default_morecore): Likewise.
51192
51193 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51194
51195 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51196 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51197 __malloc_ptrdiff_t.
51198
51199 * malloc/malloc.h (__malloc_size_t): Remove macro.
51200 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51201 __malloc_size_t.
51202 (old_memalign_hook): Likewise.
51203 (old_realloc_hook): Likewise.
51204 (struct hdr): Likewise.
51205 (flood): Likewise.
51206 (mallochook): Likewise.
51207 (memalignhook): Likewise.
51208 (reallochook): Likewise.
51209 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51210 (tr_old_realloc_hook): Likewise.
51211 (tr_old_memalign_hook): Likewise.
51212 (tr_mallochook): Likewise.
51213 (tr_reallochook): Likewise.
51214 (tr_memalignhook): Likewise.
51215
51216 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51217
51218 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51219 default_ldbl_pack and using as default implementation.
51220 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51221 implementation.
51222 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51223 redundant definition.
51224 (ldbl_insert_mantissa): Likewise.
51225 (ldbl_canonicalize): Likewise.
51226 (ldbl_nearbyint): Likewise.
51227 (ldbl_pack): Rename to ldbl_pack_ppc.
51228 (ldbl_unpack): Rename to ldbl_unpack_ppc.
51229 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51230 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51231
51232 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51233
51234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51235 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51236 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51237 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51239 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51240 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51241 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51242
51243 2013-03-07 Andreas Jaeger <aj@suse.de>
51244
51245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51246 bits/mman-linux.h.
51247
51248 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51249
51250 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51251 Include mpa.h and declare __MPEXP.
51252 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51253 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51254 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51255 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51256 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51257 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51258 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51259
51260 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51261 (__slowpow): Use long double EXPL and LOGL functions to
51262 compute POW.
51263 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51264 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51265 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51266 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51267 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51268 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51269
51270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51271 intermediate variable to calculate exponent.
51272 (__sqr): Likewise.
51273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51274 Likewise.
51275 (__sqr): Likewise.
51276
51277 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51278 [!NO__SQR]: Define __sqr.
51279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51280 and NO__SQR. Remove all code except __mul and __sqr. Include
51281 sysdeps/ieee754/dbl-64/mpa.c.
51282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51283
51284 [BZ #12723]
51285 * posix/Makefile (tests): Add tst-pathconf.
51286 * posix/tst-pathconf.c: New test case.
51287 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51288 _PC_PIPE_BUF.
51289 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51290
51291 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
51292
51293 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51294
51295 2013-03-06 Andreas Jaeger <aj@suse.de>
51296
51297 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51298 definition via __MAP_ANONYMOUS.
51299
51300 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51301 it's not part of Linux headers.
51302
51303 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51304 (MAP_HUGE_MASK): Define.
51305
51306 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51307 Define.
51308 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51310 Define.
51311 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51312 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51313 Define.
51314 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51315 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51316 Define.
51317 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51318
51319 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51320 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51321 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51322 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51323 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51324 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51325
51326 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51327 Handle f2fs.
51328
51329 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51330 Handle f2fs and efivarfs.
51331
51332 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51333 f2fs.
51334
51335 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51336 (EFIVARFS_MAGIC): Add.
51337 (F2FS_LINK_MAX): Add.
51338
51339 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51340
51341 * stdio-common/vfprintf.c: Replace __builtin_expect with
51342 __glibc_unlikely.
51343
51344 2013-03-06 Joseph Myers <joseph@codesourcery.com>
51345
51346 [BZ #13550]
51347 * sysdeps/generic/bp-sym.h: Remove file.
51348 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51349 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51350 <bp-sym.h> and <bp-asm.h>.
51351 (__longjmp): Don't use BP_SYM.
51352 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51353 and <bp-asm.h>.
51354 (memcpy): Don't use BP_SYM.
51355 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51356 <bp-sym.h> and <bp-asm.h>.
51357 (memcpy): Don't use BP_SYM.
51358 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51359 <bp-asm.h>.
51360 (memcpy): Don't use BP_SYM.
51361 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51362 <bp-asm.h>.
51363 (memset): Don't use BP_SYM.
51364 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51365 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51366 (__bzero): Don't use BP_SYM.
51367 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51368 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51369 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51370 <bp-sym.h> and <bp-asm.h>.
51371 (memcmp): Don't use BP_SYM. Remove comment about bounded
51372 pointers.
51373 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51374 <bp-sym.h> and <bp-asm.h>.
51375 (memcpy): Don't use BP_SYM.
51376 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51377 <bp-sym.h> and <bp-asm.h>.
51378 (memset): Don't use BP_SYM.
51379 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51380 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51381 (__bzero): Don't use BP_SYM.
51382 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51383 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51384 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51385 <bp-sym.h> and <bp-asm.h>.
51386 (strncmp): Don't use BP_SYM. Remove comment about bounded
51387 pointers.
51388 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51389 <bp-sym.h> and <bp-asm.h>.
51390 (memcpy): Don't use BP_SYM.
51391 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51392 <bp-sym.h> and <bp-asm.h>.
51393 (memset): Don't use BP_SYM.
51394 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51395 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51396 (__bzero): Don't use BP_SYM.
51397 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51398 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51399 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51400 <bp-sym.h> and <bp-asm.h>.
51401 (__memchr): Don't use BP_SYM.
51402 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51403 <bp-sym.h> and <bp-asm.h>.
51404 (memcmp): Don't use BP_SYM. Remove comment about bounded
51405 pointers.
51406 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51407 <bp-sym.h> and <bp-asm.h>.
51408 (memcpy): Don't use BP_SYM.
51409 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51410 <bp-sym.h> and <bp-asm.h>.
51411 (__mempcpy): Don't use BP_SYM.
51412 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51413 <bp-sym.h> and <bp-asm.h>.
51414 (__memrchr): Don't use BP_SYM.
51415 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51416 <bp-sym.h> and <bp-asm.h>.
51417 (memset): Don't use BP_SYM.
51418 (__bzero): Likewise.
51419 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51420 <bp-sym.h> and <bp-asm.h>.
51421 (__rawmemchr): Don't use BP_SYM.
51422 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51423 <bp-sym.h> and <bp-asm.h>.
51424 (__STRCMP): Don't use BP_SYM.
51425 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51426 <bp-sym.h> and <bp-asm.h>.
51427 (strchr): Don't use BP_SYM.
51428 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51429 <bp-sym.h> and <bp-asm.h>.
51430 (__strchrnul): Don't use BP_SYM.
51431 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51432 <bp-sym.h> and <bp-asm.h>.
51433 (strlen): Don't use BP_SYM.
51434 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51435 <bp-sym.h> and <bp-asm.h>.
51436 (strncmp): Don't use BP_SYM. Remove comment about bounded
51437 pointers.
51438 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51439 <bp-sym.h> and <bp-asm.h>.
51440 (__strnlen): Don't use BP_SYM.
51441 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51442 <bp-sym.h> and <bp-asm.h>.
51443 (__GI__setjmp): Don't use BP_SYM.
51444 (_setjmp): Likewise.
51445 (__sigsetjmp): Likewise.
51446 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51447 (L(start_addresses)): Don't use BP_SYM.
51448 (_start): Likewise.
51449 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51450 <bp-asm.h>.
51451 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51452 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51453 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51454 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51455 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51456 <bp-asm.h>.
51457 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51458 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
51459 about bounded pointers.
51460 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51461 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51462 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51463 <bp-asm.h>.
51464 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
51465 about bounded pointers. Remove GKM FIXME comments.
51466 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51467 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51468 <bp-asm.h>.
51469 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51470 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
51471 Remove GKM FIXME comments.
51472 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51473 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51474 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51475 <bp-asm.h>.
51476 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
51477 about bounded pointers. Remove GKM FIXME comment.
51478 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51479 and <bp-asm.h>.
51480 (strncmp): Don't use BP_SYM. Remove comment about bounded
51481 pointers.
51482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51483 <bp-sym.h> and <bp-asm.h>.
51484 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51486 <bp-sym.h> and <bp-asm.h>.
51487 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
51488 comment.
51489
51490 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51491
51492 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51493 call free(NULL).
51494
51495 2013-03-05 David S. Miller <davem@davemloft.net>
51496
51497 * po/es.po: Update from translation team.
51498
51499 2013-03-05 Andreas Jaeger <aj@suse.de>
51500
51501 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51502 <bits/mman-linux.h>.
51503 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51504 is fine.
51505 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51506 <bits/mman-linux.h> to end of file.
51507 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51508 is fine.
51509 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51510 <bits/mman-linux.h> to end of file.
51511 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51512 is fine.
51513 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51514 <bits/mman-linux.h> to end of file.
51515
51516 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51517 (MCL_CURRENT, MCL_FUTURE): Define here.
51518
51519 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51520
51521 [BZ #15232]
51522 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51523 attribute_hidden.
51524 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51525
51526 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51527
51528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51529 fourth parameter needed for rt_sigprocmask syscall.
51530 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51531 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51532 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51533 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51534 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51535 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51536
51537 2013-03-04 Joseph Myers <joseph@codesourcery.com>
51538
51539 [BZ #13550]
51540 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51541 comment about bounded pointers.
51542 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51543 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51544
51545 2013-03-04 Andreas Jaeger <aj@suse.de>
51546
51547 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51548 common definitions.
51549
51550 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51551 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51552 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51553 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51554 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51555 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51556
51557 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51558
51559 [BZ #15055]
51560 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51561 __ieee754_sqrl instead of __sqrl.
51562
51563 2013-03-01 Joseph Myers <joseph@codesourcery.com>
51564
51565 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51566 * sysdeps/powerpc/fpu_control.h: ... here.
51567 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51568 * sysdeps/powerpc/bits/fenvinline.h: ... here.
51569 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51570 * sysdeps/powerpc/bits/mathinline.h: ... here.
51571
51572 2013-03-01 Roland McGrath <roland@hack.frob.com>
51573
51574 * elf/dl-hwcaps.c (_dl_important_hwcaps):
51575 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51576 to just [NEED_DL_SYSINFO_DSO].
51577 * elf/dl-support.c: Likewise.
51578 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51579 * elf/rtld.c (dl_main): Likewise.
51580 * elf/setup-vdso.h (setup_vdso): Likewise.
51581 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51582 * sysdeps/unix/sysv/linux/dl-sysdep.c
51583 (_dl_discover_osversion): Likewise.
51584
51585 2013-03-01 Carlos O'Donell <carlos@redhat.com>
51586
51587 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51588 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51589
51590 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
51591
51592 * NEWS: Mention libm performance improvements and non-x86 PI
51593 futex support.
51594
51595 * csu/libc-start.c (__pthread_initialize_minimal): Change
51596 function arguments.
51597 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51598
51599 2013-02-28 Joseph Myers <joseph@codesourcery.com>
51600
51601 [BZ #13550]
51602 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51603 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51604 <bp-sym.h> and <bp-asm.h>.
51605 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51606 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51607 and <bp-asm.h>.
51608 (memcpy): Don't use BP_SYM.
51609 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51610 <bp-asm.h>.
51611 (__mpn_add_n): Don't use BP_SYM.
51612 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51613 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51614 and <bp-asm.h>.
51615 (__mpn_addmul_1): Don't use BP_SYM.
51616 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51617 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51618 <bp-sym.h>.
51619 (_setjmp): Don't use BP_SYM.
51620 (__novmx_setjmp): Likewise.
51621 (__GI__setjmp): Likewise.
51622 (__vmx_setjmp): Likewise.
51623 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51624 <bp-sym.h>.
51625 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51626 (__bzero): Don't use BP_SYM.
51627 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51628 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51629 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51630 <bp-sym.h> and <bp-asm.h>.
51631 (memcpy): Don't use BP_SYM.
51632 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51633 <bp-sym.h> and <bp-asm.h>.
51634 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51635 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51636 <bp-sym.h> and <bp-asm.h>.
51637 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51638 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51639 <bp-asm.h>.
51640 (__mpn_lshift): Don't use BP_SYM.
51641 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51642 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51643 <bp-asm.h>.
51644 (memset): Don't use BP_SYM.
51645 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51646 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51647 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51648 <bp-asm.h>.
51649 (__mpn_mul_1): Don't use BP_SYM.
51650 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51651 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51652 <bp-sym.h> and <bp-asm.h>.
51653 (memcmp): Don't use BP_SYM.
51654 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51655 <bp-sym.h> and <bp-asm.h>.
51656 (memcpy): Don't use BP_SYM.
51657 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51658 <bp-sym.h> and <bp-asm.h>.
51659 (memset): Don't use BP_SYM.
51660 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51661 <bp-sym.h> and <bp-asm.h>.
51662 (strncmp): Don't use BP_SYM.
51663 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51664 <bp-sym.h> and <bp-asm.h>.
51665 (memcpy): Don't use BP_SYM.
51666 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51667 <bp-sym.h> and <bp-asm.h>.
51668 (memset): Don't use BP_SYM.
51669 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51670 <bp-sym.h> and <bp-asm.h>.
51671 (__memchr): Don't use BP_SYM.
51672 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51673 <bp-sym.h> and <bp-asm.h>.
51674 (memcmp): Don't use BP_SYM.
51675 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51676 <bp-sym.h> and <bp-asm.h>.
51677 (memcpy): Don't use BP_SYM.
51678 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51679 <bp-sym.h> and <bp-asm.h>.
51680 (__mempcpy): Don't use BP_SYM.
51681 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51682 <bp-sym.h> and <bp-asm.h>.
51683 (__memrchr): Don't use BP_SYM.
51684 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51685 <bp-sym.h> and <bp-asm.h>.
51686 (memset): Don't use BP_SYM.
51687 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51688 <bp-sym.h> and <bp-asm.h>.
51689 (__rawmemchr): Don't use BP_SYM.
51690 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51691 <bp-sym.h> and <bp-asm.h>.
51692 (__STRCMP): Don't use BP_SYM.
51693 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51694 <bp-sym.h> and <bp-asm.h>.
51695 (strchr): Don't use BP_SYM.
51696 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51697 <bp-sym.h> and <bp-asm.h>.
51698 (__strchrnul): Don't use BP_SYM.
51699 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51700 <bp-sym.h> and <bp-asm.h>.
51701 (strlen): Don't use BP_SYM.
51702 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51703 <bp-sym.h> and <bp-asm.h>.
51704 (strncmp): Don't use BP_SYM.
51705 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51706 <bp-sym.h> and <bp-asm.h>.
51707 (__strnlen): Don't use BP_SYM.
51708 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51709 <bp-asm.h>.
51710 (__mpn_rshift): Don't use BP_SYM.
51711 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51712 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51713 <bp-sym.h> and <bp-asm.h>.
51714 (__sigsetjmp): Don't use BP_SYM.
51715 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51716 (L(start_addresses)): Don't use BP_SYM.
51717 (_start): Likewise.
51718 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51719 <bp-asm.h>.
51720 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51721 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51722 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51723 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51724 <bp-asm.h>.
51725 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51726 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51727 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51728 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51729 <bp-asm.h>.
51730 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
51731 comments.
51732 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51733 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51734 <bp-asm.h>.
51735 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
51736 FIXME comments.
51737 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51738 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51739 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51740 <bp-asm.h>.
51741 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
51742 comment.
51743 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51744 and <bp-asm.h>.
51745 (strncmp): Don't use BP_SYM,
51746 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51747 <bp-asm.h>.
51748 (__mpn_sub_n): Don't use BP_SYM.
51749 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51750 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51751 and <bp-asm.h>.
51752 (__mpn_submul_1): Don't use BP_SYM.
51753 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51755 <bp-sym.h> and <bp-asm.h>.
51756 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51758 <bp-sym.h> and <bp-asm.h>.
51759 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
51760 comment.
51761
51762 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51763
51764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51765 Use ZK to minimize writes to Z.
51766 (sub_magnitudes): Simplify code a bit.
51767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51768 Use ZK to minimize writes to Z.
51769 (sub_magnitudes): Simplify code a bit.
51770
51771 2013-02-27 Roland McGrath <roland@hack.frob.com>
51772
51773 * csu/gmon-start.c: Add special exception to license text.
51774
51775 2013-02-27 Richard Henderson <rth@redhat.com>
51776
51777 * scripts/config.guess: Update from config.git.
51778 * scripts/config.sub: Likewise.
51779
51780 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51781
51782 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51783
51784 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51785
51786 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51787
51788 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51789
51790 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51791
51792 2013-02-26 Roland McGrath <roland@hack.frob.com>
51793
51794 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51795 [$(build-shared = yes].
51796
51797 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51798
51799 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51800 (__mul): Reduce iterations for calculating mantissa.
51801
51802 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51803 MPTWO.
51804 (__mpranred): Likewise.
51805
51806 [BZ #15160]
51807 * malloc/memusagestat.c (main): Draw graphs for heap and stack
51808 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51809
51810 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
51811
51812 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51813 Define __attribute__.
51814
51815 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51816
51817 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51818 unused.
51819 * posix/regex_internal.h (__attribute): Remove.
51820 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51821 (re_string_context_at): Likewise.
51822 (bitset_not): Use __attribute__ and mark function as possibly
51823 unused.
51824 (bitset_merge): Likewise.
51825 (bitset_mask): Likewise.
51826 (re_string_char_size_at): Likewise.
51827 (re_string_wchar_at): Likewise.
51828 (re_string_elem_size_at): Likewise.
51829
51830 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51831
51832 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51833 code.
51834 (cc32): Likewise.
51835
51836 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51837 (__acr): Likewise.
51838 (__cpy): Likewise.
51839 (norm): Likewise.
51840 (denorm): Likewise.
51841 (__dbl_mp): Likewise.
51842 (add_magnitudes): Likewise.
51843 (sub_magnitudes): Likewise.
51844 (__mul): Likewise.
51845 (__inv): Likewise.
51846
51847 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51848 style.
51849
51850 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51851 style.
51852
51853 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51854 code.
51855
51856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51857 up changes with default code.
51858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51859 Likewise.
51860
51861 2013-02-24 Allan McRae <allan@archlinux.org>
51862
51863 * manual/socket.texi (The Internet Namespace): Order menu items
51864 to match that in the file.
51865
51866 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51867 node listing of the info page menu.
51868
51869 2013-02-21 Joseph Myers <joseph@codesourcery.com>
51870
51871 [BZ #13550]
51872 * sysdeps/i386/bp-asm.h: Remove file.
51873 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51874 (PARMS): Do not use macros from bp-asm.h.
51875 (S1): Likewise.
51876 (S2): Likewise.
51877 (SIZE): Likewise.
51878 (__mpn_add_n): Do not use BP_SYM
51879 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51880 "bp-asm.h".
51881 (PARMS): Do not use macros from bp-asm.h.
51882 (S1): Likewise.
51883 (SIZE): Likewise.
51884 (__mpn_addmul_1): Do not use BP_SYM
51885 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51886 "bp-asm.h".
51887 (PARMS): Do not use macros from bp-asm.h.
51888 (SIGMSK): Likewise.
51889 (_setjmp): Likewise. Do not use BP_SYM.
51890 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51891 "bp-asm.h".
51892 (PARMS): Do not use macros from bp-asm.h.
51893 (SIGMSK): Likewise.
51894 (setjmp): Likewise. Do not use BP_SYM.
51895 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51896 "bp-asm.h".
51897 (PARMS): Do not use macros from bp-asm.h.
51898 (__frexp): Do not use BP_SYM.
51899 (frexp): Likewise.
51900 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51901 "bp-asm.h".
51902 (PARMS): Do not use macros from bp-asm.h.
51903 (__frexpf): Do not use BP_SYM.
51904 (frexpf): Likewise.
51905 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51906 "bp-asm.h".
51907 (PARMS): Do not use macros from bp-asm.h.
51908 (__frexpl): Do not use BP_SYM.
51909 (frexpl): Likewise.
51910 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51911 "bp-asm.h".
51912 (PARMS): Do not use macros from bp-asm.h.
51913 (__remquo): Do not use BP_SYM.
51914 (remquo): Likewise.
51915 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51916 "bp-asm.h".
51917 (PARMS): Do not use macros from bp-asm.h.
51918 (__remquof): Do not use BP_SYM.
51919 (remquof): Likewise.
51920 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51921 "bp-asm.h".
51922 (PARMS): Do not use macros from bp-asm.h.
51923 (__remquol): Do not use BP_SYM.
51924 (remquol): Likewise.
51925 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51926 "bp-asm.h".
51927 (PARMS): Do not use macros from bp-asm.h.
51928 (DEST): Likewise.
51929 (SRC): Likewise.
51930 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
51931 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51932 "bp-asm.h".
51933 (PARMS): Do not use macros from bp-asm.h.
51934 (strlen): Do not use BP_SYM.
51935 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51936 "bp-asm.h".
51937 (PARMS): Do not use macros from bp-asm.h.
51938 (S1): Likewise.
51939 (S2): Likewise.
51940 (SIZE): Likewise.
51941 (__mpn_add_n): Do not use BP_SYM.
51942 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51943 "bp-asm.h".
51944 (PARMS): Do not use macros from bp-asm.h.
51945 (S1): Likewise.
51946 (SIZE): Likewise.
51947 (__mpn_addmul_1): Do not use BP_SYM.
51948 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51949 weak_alias.
51950 (bzero): Likewise.
51951 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51952 "bp-asm.h".
51953 (PARMS): Do not use macros from bp-asm.h.
51954 (S): Likewise.
51955 (SIZE): Likewise.
51956 (__mpn_lshift): Do not use BP_SYM.
51957 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51958 "bp-asm.h".
51959 (PARMS): Do not use macros from bp-asm.h.
51960 (DEST): Likewise.
51961 (SRC): Likewise.
51962 (LEN): Likewise.
51963 (memcpy): Likewise. Do not use BP_SYM.
51964 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51965 libc_hidden_def and weak_alias.
51966 (mempcpy): Do not use BP_SYM in weak_alias.
51967 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51968 "bp-asm.h".
51969 (PARMS): Do not use macros from bp-asm.h.
51970 (DEST): Likewise.
51971 (LEN): Likewise.
51972 [!BZERO_P] (CHR): Likewise.
51973 (memset): Likewise. Do not use BP_SYM.
51974 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51975 "bp-asm.h".
51976 (PARMS): Do not use macros from bp-asm.h.
51977 (S1): Likewise.
51978 (SIZE): Likewise.
51979 (__mpn_mul_1): Do not use BP_SYM.
51980 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51981 "bp-asm.h".
51982 (PARMS): Do not use macros from bp-asm.h.
51983 (S): Likewise.
51984 (SIZE): Likewise.
51985 (__mpn_rshift): Do not use BP_SYM.
51986 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51987 "bp-asm.h".
51988 (PARMS): Do not use macros from bp-asm.h.
51989 (STR): Likewise.
51990 (CHR): Likewise.
51991 (strchr): Likewise. Do not use BP_SYM.
51992 (index): Do not use BP_SYM in weak_alias.
51993 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51994 "bp-asm.h".
51995 (PARMS): Do not use macros from bp-asm.h.
51996 (DEST): Likewise.
51997 (SRC): Likewise.
51998 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
51999 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52000 "bp-asm.h".
52001 (PARMS): Do not use macros from bp-asm.h.
52002 (strlen): Do not use BP_SYM.
52003 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52004 "bp-asm.h".
52005 (PARMS): Do not use macros from bp-asm.h.
52006 (S1): Likewise.
52007 (S2): Likewise.
52008 (SIZE): Likewise.
52009 (__mpn_sub_n): Do not use BP_SYM.
52010 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52011 "bp-asm.h".
52012 (PARMS): Do not use macros from bp-asm.h.
52013 (S1): Likewise.
52014 (SIZE): Likewise.
52015 (__mpn_submul_1): Do not use BP_SYM.
52016 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52017 "bp-asm.h".
52018 (PARMS): Do not use macros from bp-asm.h.
52019 (S1): Likewise.
52020 (S2): Likewise.
52021 (SIZE): Likewise.
52022 (__mpn_add_n): Do not use BP_SYM.
52023 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52024 weak_alias.
52025 (bzero): Likewise.
52026 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52027 "bp-asm.h".
52028 (PARMS): Do not use macros from bp-asm.h.
52029 (BLK2): Likewise.
52030 (LEN): Likewise.
52031 (memcmp): Do not use BP_SYM.
52032 (bcmp): Do not use BP_SYM in weak_alias.
52033 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52034 "bp-asm.h".
52035 (PARMS): Do not use macros from bp-asm.h.
52036 (DEST): Likewise.
52037 (SRC): Likewise.
52038 (LEN): Likewise.
52039 (memcpy): Likewise. Do not use BP_SYM.
52040 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52041 "bp-asm.h".
52042 (PARMS): Do not use macros from bp-asm.h.
52043 (DEST): Likewise.
52044 (SRC): Likewise.
52045 (LEN): Likewise.
52046 (memmove): Likewise. Do not use BP_SYM.
52047 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52048 "bp-asm.h".
52049 (PARMS): Do not use macros from bp-asm.h.
52050 (DEST): Likewise.
52051 (SRC): Likewise.
52052 (LEN): Likewise.
52053 (__mempcpy): Likewise. Do not use BP_SYM.
52054 (mempcpy): Do not use BP_SYM in weak_alias.
52055 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52056 "bp-asm.h".
52057 (PARMS): Do not use macros from bp-asm.h.
52058 (DEST): Likewise.
52059 (LEN): Likewise.
52060 [!BZERO_P] (CHR): Likewise.
52061 (memset): Likewise. Do not use BP_SYM.
52062 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52063 "bp-asm.h".
52064 (PARMS): Do not use macros from bp-asm.h.
52065 (STR2): Likewise.
52066 (strcmp): Do not use BP_SYM.
52067 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52068 "bp-asm.h".
52069 (PARMS): Do not use macros from bp-asm.h.
52070 (STR): Likewise.
52071 (DELIM): Likewise.
52072 [USE_AS_STRTOK_R] (SAVE): Likewise.
52073 (FUNCTION): Likewise. Do not use BP_SYM.
52074 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52075 aliases.
52076 (strtok_r): Likewise.
52077 (__GI___strtok_r): Likewise.
52078 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52079 (PARMS): Do not use macros from bp-asm.h.
52080 (S): Likewise.
52081 (SIZE): Likewise.
52082 (__mpn_lshift): Do not use BP_SYM.
52083 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52084 (PARMS): Do not use macros from bp-asm.h.
52085 (STR): Likewise.
52086 (CHR): Likewise.
52087 (__memchr): Do not use BP_SYM.
52088 (memchr): Do not use BP_SYM in weak_alias.
52089 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52090 (PARMS): Do not use macros from bp-asm.h.
52091 (BLK2): Likewise.
52092 (LEN): Likewise.
52093 (memcmp): Do not use BP_SYM.
52094 (bcmp): Do not use BP_SYM in weak_alias.
52095 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52096 (PARMS): Do not use macros from bp-asm.h.
52097 (S1): Likewise.
52098 (SIZE): Likewise.
52099 (__mpn_mul_1): Do not use BP_SYM.
52100 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52101 "bp-asm.h".
52102 (PARMS): Do not use macros from bp-asm.h.
52103 (STR): Likewise.
52104 (CHR): Likewise.
52105 (__rawmemchr): Do not use BP_SYM.
52106 (rawmemchr): Do not use BP_SYM in weak_alias.
52107 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52108 (PARMS): Do not use macros from bp-asm.h.
52109 (S): Likewise.
52110 (SIZE): Likewise.
52111 (__mpn_rshift): Do not use BP_SYM.
52112 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52113 (PARMS): Do not use macros from bp-asm.h.
52114 (SIGMSK): Likewise.
52115 (__sigsetjmp): Likewise. Do not use BP_SYM.
52116 * sysdeps/i386/start.S: Do not include "bp-sym.h".
52117 (_start): Do not use BP_SYM.
52118 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52119 (PARMS): Do not use macros from bp-asm.h.
52120 (DEST): Likewise.
52121 (SRC): Likewise.
52122 (__stpcpy): Likewise. Do not use BP_SYM.
52123 (stpcpy): Do not use BP_SYM in weak_alias.
52124 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52125 "bp-asm.h".
52126 (PARMS): Do not use macros from bp-asm.h.
52127 (DEST): Likewise.
52128 (SRC): Likewise.
52129 (LEN): Likewise.
52130 (__stpncpy): Likewise. Do not use BP_SYM.
52131 (stpncpy): Do not use BP_SYM in weak_alias.
52132 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52133 (PARMS): Do not use macros from bp-asm.h.
52134 (STR): Likewise.
52135 (CHR): Likewise.
52136 (strchr): Likewise. Do not use BP_SYM.
52137 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52138 "bp-asm.h".
52139 (PARMS): Do not use macros from bp-asm.h.
52140 (STR): Likewise.
52141 (CHR): Likewise.
52142 (__strchrnul): Likewise. Do not use BP_SYM.
52143 (strchrnul): Do not use BP_SYM in weak_alias.
52144 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52145 "bp-asm.h".
52146 (PARMS): Do not use macros from bp-asm.h.
52147 (STOP): Likewise.
52148 (strcspn): Do not use BP_SYM.
52149 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52150 "bp-asm.h".
52151 (PARMS): Do not use macros from bp-asm.h.
52152 (STR): Likewise.
52153 (STOP): Likewise.
52154 (strpbrk): Likewise. Do not use BP_SYM.
52155 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52156 "bp-asm.h".
52157 (PARMS): Do not use macros from bp-asm.h.
52158 (STR): Likewise.
52159 (CHR): Likewise.
52160 (strrchr): Likewise. Do not use BP_SYM.
52161 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52162 (PARMS): Do not use macros from bp-asm.h.
52163 (SKIP): Likewise.
52164 (strspn): Do not use BP_SYM.
52165 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52166 (PARMS): Do not use macros from bp-asm.h.
52167 (STR): Likewise.
52168 (DELIM): Likewise.
52169 (SAVE): Likewise.
52170 (FUNCTION): Likewise. Do not use BP_SYM.
52171 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52172 aliases.
52173 (strtok_r): Likewise.
52174 (__GI___strtok_r): Likewise.
52175 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52176 (PARMS): Do not use macros from bp-asm.h.
52177 (S1): Likewise.
52178 (S2): Likewise.
52179 (SIZE): Likewise.
52180 (__mpn_sub_n): Do not use BP_SYM.
52181 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52182 "bp-asm.h".
52183 (PARMS): Do not use macros from bp-asm.h.
52184 (S1): Likewise.
52185 (SIZE): Likewise.
52186 (__mpn_submul_1): Do not use BP_SYM.
52187 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52188 <bp-sym.h>.
52189 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52190 and <bp-asm.h>.
52191 (PARMS): Do not use macros from bp-asm.h.
52192 (FLAGS): Likewise.
52193 (PTID): Likewise.
52194 (TLS): Likewise.
52195 (CTID): Likewise.
52196 (__clone): Do not use BP_SYM.
52197 (clone): Do not use BP_SYM in weak_alias.
52198 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52199 and <bp-asm.h>.
52200 (PARMS): Do not use macros from bp-asm.h.
52201 (LEN): Likewise.
52202 (__mmap64): Do not use BP_SYM.
52203 (mmap64): Do not use BP_SYM in weak_alias.
52204 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52205 <bp-sym.h> and <bp-asm.h>.
52206 (PARMS): Do not use macros from bp-asm.h.
52207 (__posix_fadvise64_l64): Do not use BP_SYM.
52208 * sysdeps/unix/sysv/linux/i386/semtimedop.S
52209 (PARMS): Do not use macros from bp-asm.h.
52210 (NSOPS): Likewise.
52211 (semtimedop): Do not use BP_SYM.
52212 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52213 and <bp-asm.h>.
52214
52215 2013-02-21 Allan McRae <allan@archlinux.org>
52216
52217 * manual/message.texi (Charset conversion in gettext):
52218 Move @end statement to beginning of line.
52219
52220 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52221
52222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52223 static.
52224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52225 Likewise.
52226
52227 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52228 (denorm): Likewise.
52229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52231
52232 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52233
52234 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52235 tail-call to the resolved function if pltexit isn't needed.
52236
52237 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52238
52239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52240 or Y being zero as being unlikely.
52241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52242 Likewise.
52243
52244 2013-02-20 Carlos O'Donell <carlos@redhat.com>
52245
52246 * manual/nss.texi (System Databases and Name Service Switch):
52247 Remove frobnicate @pxref.
52248
52249 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
52250
52251 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52252 __attribute__ ((unused)) to __attribute__ ((__unused__)).
52253
52254 2013-02-20 Petr Machata <pmachata@redhat.com>
52255
52256 * elf/elf.h (R_ARM_TARGET1): New macro.
52257 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52258 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52259 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52260 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52261 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52262 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52263 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52264 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52265 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52266 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52267 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52268 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52269 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52270 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52271 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52272 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52273 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52274 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52275 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52276 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52277 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52278 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52279 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52280 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52281 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52282 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52283 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52284 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52285 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52286 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52287 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52288 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52289 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52290 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52291 (R_ARM_THM_GOT_BREL12): Likewise.
52292 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52293 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52294 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52295 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52296 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52297 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52298 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52299 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52300 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52301
52302 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
52303
52304 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52305 __attribute_used__ to __attribute__ ((unused)).
52306
52307 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
52308
52309 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52310 powerpc mpa.c.
52311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52312 comment formatting.
52313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52314
52315 2013-02-19 Joseph Myers <joseph@codesourcery.com>
52316
52317 [BZ #13550]
52318 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52319 Remove macro.
52320 (ENTER): Remove both macro definitions.
52321 (LEAVE): Likewise.
52322 (CHECK_BOUNDS_LOW): Likewise.
52323 (CHECK_BOUNDS_HIGH): Likewise.
52324 (CHECK_BOUNDS_BOTH): Likewise.
52325 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52326 (RETURN_BOUNDED_POINTER): Likewise.
52327 (RETURN_NULL_BOUNDED_POINTER): Likewise.
52328 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52329 (POP_ERRNO_LOCATION_RETURN): Likewise.
52330 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52331 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52332 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52333 macros.
52334 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52335 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52336 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52337 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52338 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52339 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52340 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52341 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52342 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52343 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52344 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52345 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52346 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52347 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52348 removed macros.
52349 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52350 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52351 macros.
52352 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52353 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52354 * sysdeps/i386/i586/memset.S (memset): Likewise.
52355 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52356 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52357 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52358 macros.
52359 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52360 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52361 Change uses of L(2) to L(out).
52362 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52363 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52364 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52365 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52366 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52367 removed macros.
52368 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52369 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52370 macros.
52371 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52372 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52373 (RETURN): Do not use macro LEAVE.
52374 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52375 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52376 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52377 * sysdeps/i386/i686/memset.S (memset): Likewise.
52378 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52379 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52380 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52381 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52382 Likewise.
52383 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52384 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
52385 L(1_2) and L(1_3) into L(1).
52386 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52387 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52388 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52389 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52390 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52391 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52392 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52393 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52394 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52395 macros.
52396 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52397 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52398 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52399 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52400 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52401 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52402 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52403 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52404 * sysdeps/i386/strcspn.S (strcspn): Likewise.
52405 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52406 * sysdeps/i386/strrchr.S (strrchr): Likewise.
52407 * sysdeps/i386/strspn.S (strspn): Likewise.
52408 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52409 conditional code.
52410 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52411 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52412 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52413 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
52414 L(1_3) into L(1_1).
52415 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52416 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52417 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52418 macros.
52419 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52420
52421 2013-02-19 Jakub Jelinek <jakub@redhat.com>
52422
52423 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52424 macro.
52425
52426 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52427
52428 * math/atest-exp.c (exp_mpn): Remove ROUND.
52429 * math/atest-exp2.c (exp_mpn): Likewise.
52430 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52431
52432 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52433 * stdlib/tst-tls-atexit-lib.c: Likewise.
52434 * stdlib/tst-tls-atexit.c: Likewise.
52435
52436 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52437
52438 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52439 and __attribute_alloc_size__.
52440
52441 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52442
52443 * include/programs/xmalloc.h: Change __attribute_alloc_size to
52444 __attribute_alloc_size__.
52445 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52446 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52447
52448 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52449
52450 * include/programs/xmalloc.h: New file.
52451 * catgets/gencat.c: Include it.
52452 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52453 * elf/pldd.c: Likewise.
52454 * iconv/iconv_charmap.c: Likewise.
52455 * iconv/iconvconfig.c: Likewise.
52456 * iconv/strtab.c: Likewise.
52457 * locale/programs/locale.c: Likewise.
52458 * locale/programs/localedef.h: Likewise.
52459 * locale/programs/simple-hash.c: Likewise.
52460 * nscd/nscd.h: Likewise.
52461 * nss/makedb.c: Likewise.
52462 * sysdeps/generic/ldconfig.h: Likewise.
52463
52464 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52465
52466 * Versions.def: Add GLIBC_2.18.
52467 * include/link.h (struct link_map): New member l_tls_dtor_count.
52468 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52469 (__call_tls_dtors): Likewise.
52470 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52471 __cxa_thread_atexit_impl.
52472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52473 Likewise.
52474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52475 Likewise.
52476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52477 Likewise.
52478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52479 Likewise.
52480 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52482 Likewise.
52483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52484 Likewise.
52485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52487 Likewise.
52488 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52489 (tests): Add test case tst-tls-atexit.
52490 (modules-names): Add shared library for tst-tls-atexit.
52491 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52492 (GLIBC_PRIVATE): Add __call_tls_dtors.
52493 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52494 for libstdc++.
52495 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52496 * stdlib/tst-tls-atexit.c: New test case.
52497 * stdlib/tst-tls-atexit-lib.c: New test case.
52498
52499 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52500
52501 * elf/Versions (ld): Add _dl_find_dso_for_object.
52502 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52503 * elf/dl-open.c (_dl_find_dso_for_object): New function.
52504 (dl_open_worker): Use _dl_find_dso_for_object.
52505 * elf/dl-sym.c (do_sym): Likewise.
52506 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52507
52508 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52509
52510 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52511 Syntactic changes only.
52512 (_dl_runtime_profile): Do a tail-call to the resolved function.
52513
52514 2013-02-17 Joseph Myers <joseph@codesourcery.com>
52515
52516 [BZ #13550]
52517 * sysdeps/x86_64/bp-asm.h: Remove file.
52518 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52519 <bp-sym.h> and <bp-asm.h>.
52520 (__clone): Do not use BP_SYM.
52521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52522 <bp-sym.h> and <bp-asm.h>.
52523 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52524 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52525 "bp-asm.h".
52526 (_setjmp): Do not use BP_SYM.
52527 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52528 "bp-asm.h".
52529 (setjmp): Do not use BP_SYM.
52530 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52531 libc_hidden_def.
52532 (mempcpy): Do not use BP_SYM in weak_alias.
52533 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52534 "bp-asm.h".
52535 (strchr): Do not use BP_SYM.
52536 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52537 "bp-asm.h".
52538 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52539 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52540 (_start): Do not use BP_SYM.
52541 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52542 "bp-asm.h".
52543 (strcat): Do not use BP_SYM.
52544 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52545 "bp-asm.h".
52546 (STRCMP): Do not use BP_SYM.
52547 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52548 "bp-asm.h".
52549 (STRCPY): Do not use BP_SYM.
52550 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52551 "bp-asm.h".
52552 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52553 "bp-asm.h".
52554 (FUNCTION): Do not use BP_SYM.
52555 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52556 weak_alias.
52557 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52558
52559 2013-02-17 Andreas Jaeger <aj@suse.de>
52560
52561 * time/Versions: Sort entries.
52562 * string/Versions: Likewise.
52563 * resolv/Versions: Likewise.
52564 * posix/Versions: Likewise.
52565 * iconv/Versions: Likewise.
52566 * elf/Versions: Likewise.
52567 * wcsmbs/Versions: Likewise.
52568
52569 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52570
52571 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52572 loop termination condition.
52573
52574 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52575 variable to calculate EZ.
52576 (__sqr): Likewise.
52577
52578 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52579 the lower precision input.
52580
52581 2013-02-15 Joseph Myers <joseph@codesourcery.com>
52582
52583 [BZ #13550]
52584 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52585 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52586 (run-via-rtld-prefix): Do not handle %-bp tests.
52587 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52588 (all-object-suffixes): Remove .ob.
52589 (bppfx): Remove variable.
52590 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52591 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52592 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52593 [$(build-bounded) = yes] (libtype.ob): Likewise.
52594 * Makerules (elide-routines.ob): Remove variable.
52595 (do-tests-clean): Do not handle *-bp.out.
52596 (common-mostlyclean): Do not handle *-bp and *-bp.out.
52597 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52598 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52599 (tests): Do not include $(tests-bp.out).
52600 (xtests): Do not include $(xtests-bp.out).
52601 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52602 [$(build-bounded) = yes] ($(addprefix
52603 $(objpfx),$(binaries-bounded))): Remove rule.
52604 ($(objpfx)%-bp.out): Remove rule.
52605 * config.make.in (build-bounded): Remove variable.
52606 * crypt/Makefile [$(build-bounded) = yes]
52607 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52608 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52609 append to variable.
52610 [$(build-bounded) = yes] (install-lib): Likewise.
52611 [$(build-bounded) = yes] (generated): Likewise.
52612 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52613 Remove rule.
52614 * intl/Makefile [$(build-bounded) = yes]
52615 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52616 * math/Makefile [$(build-bounded) = yes]
52617 ($(tests:%=$(objpfx)%-bp): Likewise.
52618 * misc/Makefile [$(build-bounded) = yes]
52619 ($(objpfx)tst-tsearch-bp): Likewise.
52620 * nptl/Makeconfig (bounded-thread-library): Remove variable.
52621 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52622 Remove dependency.
52623 * string/Makefile (o-objects.ob): Remove variable.
52624 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52625 (CFLAGS-.ob): Remove variable.
52626 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52627 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52628 both definitions of variable.
52629 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52630 (ASFLAGS-.ob): Remove variable.
52631
52632 2013-02-14 Joseph Myers <joseph@codesourcery.com>
52633
52634 [BZ #13550]
52635 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52636 Remove __BOUNDED_POINTERS__ from condition.
52637 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52638 * string/bits/string2.h [!__NO_STRING_INLINES &&
52639 !__BOUNDED_POINTERS__]: Likewise.
52640 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52641 Likewise.
52642 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52643 Remove conditional code.
52644 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52645 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52646 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52647 condition.
52648
52649 [BZ #13550]
52650 * csu/libc-start.c: Do not include <bp-sym.h>.
52651 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52652 * elf/dl-open.c: Do not include <bp-sym.h>.
52653 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52654 * math/fegetenv.c: Do not include <bp-sym.h>.
52655 (fegetenv): Do not use BP_SYM in versioned symbols.
52656 * nptl/sysdeps/pthread/bits/libc-lockP.h
52657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52658 <bp-sym.h>.
52659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52660 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52662 (__pthread_mutex_destroy): Likewise.
52663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52664 (__pthread_mutex_lock): Likewise.
52665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52666 (__pthread_mutex_trylock): Likewise.
52667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52668 (__pthread_mutex_unlock): Likewise.
52669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52670 (__pthread_mutexattr_init): Likewise.
52671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52672 (__pthread_mutexattr_destroy): Likewise.
52673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52674 (__pthread_mutexattr_settype): Likewise.
52675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52676 (__pthread_rwlock_init): Likewise.
52677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52678 (__pthread_rwlock_destroy): Likewise.
52679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52680 (__pthread_rwlock_rdlock): Likewise.
52681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52682 (__pthread_rwlock_tryrdlock): Likewise.
52683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52684 (__pthread_rwlock_wrlock): Likewise.
52685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52686 (__pthread_rwlock_trywrlock): Likewise.
52687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52688 (__pthread_rwlock_unlock): Likewise.
52689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52690 (__pthread_key_create): Likewise.
52691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52692 (__pthread_setspecific): Likewise.
52693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52694 (__pthread_getspecific): Likewise.
52695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52696 Likewise.
52697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52698 (_pthread_cleanup_push_defer): Likewise.
52699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52700 (_pthread_cleanup_pop_restore): Likewise.
52701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52702 (pthread_setcancelstate): Likewise.
52703 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52704 <bp-sym.h>.
52705 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52706 (memchr): Do not use BP_SYM in weak_alias.
52707 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52708 (fegetenv): Do not use BP_SYM in versioned symbols.
52709 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52710 (fesetenv): Do not use BP_SYM in versioned symbols.
52711 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52712 (feupdateenv): Do not use BP_SYM in versioned symbols.
52713 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52714 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52715 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52716 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52717 (open64): Do not use BP_SYM in weak_alias.
52718 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52719 (fegetenv): Do not use BP_SYM in versioned symbols.
52720 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52721 (fesetenv): Do not use BP_SYM in versioned symbols.
52722 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52723 (feupdateenv): Do not use BP_SYM in versioned symbols.
52724 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52725 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52726 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52727 (feraiseexcept): Do not use BP_SYM in versioned symbols.
52728 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52729 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52730 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52731 <bp-sym.h>.
52732 (__libc_start_main): Do not use BP_SYM.
52733
52734 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
52735
52736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52737 redundant return line.
52738 (norm): Likewise.
52739 (denorm): Likewise.
52740 (dbl_mp): Likewise.
52741 (sub_magnitudes): Likewise.
52742 (__add): Likewise.
52743 (__sub): Likewise.
52744 (__mul): Likewise.
52745 (__inv): Likewise.
52746 (__dvd): Likewise.
52747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52748 (norm): Likewise.
52749 (denorm): Likewise.
52750 (dbl_mp): Likewise.
52751 (sub_magnitudes): Likewise.
52752 (__add): Likewise.
52753 (__sub): Likewise.
52754 (__mul): Likewise.
52755 (__inv): Likewise.
52756 (__dvd): Likewise.
52757
52758 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52759 instead of __mul.
52760 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52761 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52762 (cc32): Likewise.
52763
52764 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52765 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52767 of __mul for squares.
52768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52769 function
52770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52771 Likewise.
52772 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52773 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52774
52775 2013-02-13 Joseph Myers <joseph@codesourcery.com>
52776
52777 [BZ #13550]
52778 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52779 code.
52780 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52781 prototype or function definition. Rename ubp_* variables and
52782 parameters. Remove argv definitions conditional on
52783 [__BOUNDED_POINTERS__].
52784 * debug/backtrace.c (__backtrace): Do not use __unbounded.
52785 * elf/dl-runtime.c (_dl_fixup): Likewise.
52786 * include/set-hooks.h (RUN_HOOK): Likewise.
52787 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52788 definition.
52789 * string/strcpy.c (strcpy): Do not use __unbounded.
52790 * sysdeps/generic/frame.h (struct layout): Likewise.
52791 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52792 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52793 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52794 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52795 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52796 (__backtrace): Likewise.
52797 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52798 use __ptrvalue.
52799 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52800 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52801 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52802 Likewise.
52803 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52804 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52805 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52806 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52807 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52808 Do not use __unbounded.
52809 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52810 Rename __unboundedrlimits parameter to rlimits in prototype.
52811 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52812 Do not use __unbounded.
52813 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52814 not use __ptrvalue.
52815 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52816 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52817 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52818 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52819 __ptrvalue or __unbounded.
52820 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52821 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52822 use __unbounded.
52823 (__new_msgctl): Do not use __ptrvalue.
52824 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52825 __unbounded.
52826 (__libc_msgrcv): Do not use __ptrvalue.
52827 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52828 startup_info): Do not use __unbounded.
52829 (__libc_start_main): Likewise. Rename ubp_* variables and
52830 parameters. Remove argv definitions conditional on
52831 [__BOUNDED_POINTERS__].
52832 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52833 __ptrvalue.
52834 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52835 use __unbounded.
52836 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52837 or __ptrvalue.
52838 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52839 use __unbounded.
52840 (__new_shmctl): Do not use __ptrvalue.
52841 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52842 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52843 Likewise.
52844 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52846 (__libc_sigaction): Likewise.
52847 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52848 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52849 Likewise.
52850 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52851
52852 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
52853
52854 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52855
52856 * string/mempcpy.c: Implement by calling memcpy.
52857
52858 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
52859
52860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52861
52862 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52863 evaluation.
52864
52865 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52866 values in the mantissa.
52867
52868 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52869 minimize writes to Z.
52870 (sub_magnitudes): Simplify code a bit.
52871
52872 2013-02-12 Roland McGrath <roland@hack.frob.com>
52873
52874 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52875 from the message. The linker prefixes all warnings with that already.
52876
52877 2013-02-12 Andreas Schwab <schwab@suse.de>
52878
52879 [BZ #15078]
52880 * posix/regexec.c (extend_buffers): Add parameter min_len.
52881 (check_matching): Pass minimum needed length.
52882 (clean_state_log_if_needed): Likewise.
52883 (get_subexp): Likewise.
52884 * posix/Makefile (tests): Add bug-regex34.
52885 (bug-regex34-ENV): Define.
52886 * posix/bug-regex34.c: New file.
52887
52888 [BZ #11561]
52889 * posix/regcomp.c (parse_bracket_exp): When looking up collating
52890 elements compare against the byte sequence of it, not its name.
52891 * posix/Makefile (tests): Add bug-regex35.
52892 (bug-regex35-ENV): Define.
52893 * posix/bug-regex35.c: New file.
52894
52895 2013-02-11 Tom de Vries <tom@codesourcery.com>
52896
52897 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
52898 comment.
52899 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52900 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52901 (CHECK_EOL): Add undef.
52902
52903 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
52904
52905 * bits/stdlib-bsearch.h: New file.
52906 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52907 * stdlib/stdlib.h: Likewise.
52908
52909 2013-02-11 Roland McGrath <roland@hack.frob.com>
52910
52911 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52912 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52913 declaration.
52914 * manual/search.texi (Array Search Function): Add missing const in
52915 lfind prototype.
52916 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52917 declaration to use rlim_t.
52918 (Basic Scheduling Functions): Remove erroneous const from
52919 sched_getparam prototype. Remove erroneous * from
52920 sched_get_priority_max and sched_get_priority_min prototypes.
52921 (Resource Usage): Fix summary @comment on vtimes to refer to
52922 sys/vtimes.h rather than vtimes.h.
52923 Add missing *s in vtimes prototype.
52924 (Limits on Resources): Fix ulimit prototype to return long int.
52925 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52926 prototypes to use long int rather than double.
52927 (BSD Random): Fix initstate and setstate to use char *, not void *.
52928 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52929 prototype to make second argument 'struct aiocb64 *const[]'.
52930 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52931 (Status of AIO Operations): Remove erroneous const in aio_return and
52932 aio_return64 prototypes.
52933 (Synchronizing I/O): Fix sync prototype to return void.
52934 * manual/startup.texi (Suboptions): Remove an erroneous const in
52935 getsubopt prototype.
52936 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52937 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52938 use size_t rather than int.
52939 (Scanning All Users): Likewise for getpwent_r.
52940 (Setting Groups): Add missing const to setgroups prototype.
52941 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52942 * manual/socket.texi (Host Names): Fix gethostbyaddr and
52943 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52944 'const void *' rather than 'const char *'.
52945 (Host Address Functions): Likewise for inet_ntop.
52946 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52947 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52948 ssize_t for return value.
52949 (Sending Data): Likewise for send, sendto, sendmsg.
52950 (Socket Option Functions): Add a missing const in setsockopt prototype.
52951 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52952 use wchar_t for the argument.
52953 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52954 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52955 take no arguments.
52956 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52957 double/float/long double for second argument.
52958 Fix return types of significand, significandf, significandl.
52959 * manual/filesys.texi (Setting Permissions): Use mode_t for second
52960 argument in fchmod prototype.
52961 (File Owner): Use uid_t and gid_t in fchown prototype.
52962 (File Times): Add const to utimes, futimes, and lutimes prototypes.
52963 (Making Special Files): Use mode_t and dev_t in mknod prototype.
52964 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52965 use 'const struct dirent **' as argument types to CMP function pointer
52966 argument.
52967 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52968 (File Times): Fix summary magic @comment for struct utimbuf and utime
52969 to refer to utime.h, not time.h.
52970 * manual/string.texi (Argz Functions): Add missing const in
52971 argz_extract and argz_next prototypes.
52972 (Finding Tokens in a String): Likewise for basename.
52973 (String/Array Comparison): Fix typo in wcscasecmp prototype.
52974 (Copying and Concatenation): Fix typo in wmemmove prototype.
52975 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52976 (Signal Stack): Remove erroneous const in sigstack prototype.
52977 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52978 prototype.
52979 (Simple Calendar Time): Likewise for stime.
52980 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52981 prototype.
52982 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52983 say sys/sysctl.h instead.
52984 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52985 and vsyslog prototypes.
52986
52987 2013-02-11 Tom de Vries <tom@codesourcery.com>
52988
52989 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52990 Remove.
52991
52992 2013-02-11 Roland McGrath <roland@hack.frob.com>
52993
52994 * misc/sys/mman.h: Fix typo in mremap comment.
52995
52996 2013-02-08 Roland McGrath <roland@hack.frob.com>
52997
52998 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52999 the '\0' terminator.
53000
53001 2013-02-08 Joseph Myers <joseph@codesourcery.com>
53002
53003 [BZ #13550]
53004 * debug/segfault.c: Don't include <bp-checks.h>.
53005 * sysdeps/generic/bp-checks.h: Remove file.
53006 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53007 (__GETDENTS): Don't use CHECK_N.
53008 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53009 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53010 (__getgroups): Don't use CHECK_N.
53011 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53012 (setgroups): Don't use CHECK_N.
53013 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53014 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53015 (__libc_msgrcv): Don't use CHECK_N.
53016 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53017 (__libc_msgsnd): Don't use CHECK_N.
53018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53019 <bp-checks.h>.
53020 (__libc_pread): Don't use CHECK_N.
53021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53022 include <bp-checks.h>.
53023 (__libc_pread64): Don't use CHECK_N.
53024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53025 include <bp-checks.h>.
53026 (__libc_pwrite): Don't use CHECK_N.
53027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53028 include <bp-checks.h>.
53029 (__libc_pwrite64): Don't use CHECK_N.
53030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53031 <bp-checks.h>.
53032 (__libc_pread): Don't use CHECK_N.
53033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53034 include <bp-checks.h>.
53035 (__libc_pread64): Don't use CHECK_N.
53036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53037 include <bp-checks.h>.
53038 (__libc_pwrite): Don't use CHECK_N.
53039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53040 include <bp-checks.h>.
53041 (__libc_pwrite64): Don't use CHECK_N.
53042 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53043 (do_pread): Don't use CHECK_N.
53044 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53045 (do_pread64): Don't use CHECK_N.
53046 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53047 (do_pwrite): Don't use CHECK_N.
53048 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53049 (do_pwrite64): Don't use CHECK_N.
53050 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53051 (__libc_readv): Don't use CHECK_N.
53052 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53053 (semop): Don't use CHECK_N.
53054 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53055 <bp-checks.h>.
53056 (semtimedop): Don't use CHECK_N.
53057 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53058 (__libc_pread): Don't use CHECK_N.
53059 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53060 <bp-checks.h>.
53061 (__libc_pread64): Don't use CHECK_N.
53062 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53063 <bp-checks.h>.
53064 (__libc_pwrite): Don't use CHECK_N.
53065 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53066 <bp-checks.h>.
53067 (__libc_pwrite64): Don't use CHECK_N.
53068 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53069 <bp-checks.h>.
53070 (__libc_msgrcv): Don't use CHECK_N.
53071 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53072 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
53073 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53074 (__libc_writev): Don't use CHECK_N.
53075
53076 2013-02-08 Roland McGrath <roland@hack.frob.com>
53077
53078 * string/strcpy.c: Removed unused variable.
53079
53080 * Makeconfig (+sysdep-includes): Define with := rather than =.
53081 Use an existing include/ subdir of each sysdeps dir before it.
53082
53083 2013-02-08 Carlos O'Donell <carlos@redhat.com>
53084
53085 * nscd/connection.c (register_traced_file): Comment function.
53086 [HAVE_INOTIFY] (union __inev): Define.
53087 [HAVE_INOTIFY] (inotify_check_files): New function.
53088 [HAVE_INOTIFY] (clear_db_cache): Likewise.
53089 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53090 clear_db_cache.
53091 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53092
53093 2013-02-08 Carlos O'Donell <carlos@redhat.com>
53094
53095 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53096 loaded if not already and that a failure is permanent.
53097
53098 2013-02-08 Carlos O'Donell <carlos@redhat.com>
53099
53100 [BZ #15006]
53101 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53102 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53103
53104 2013-02-08 Joseph Myers <joseph@codesourcery.com>
53105
53106 [BZ #13550]
53107 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53108 (CHECK_1_NULL_OK): Likewise.
53109 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53110 (__fxstat): Do not use CHECK_1.
53111 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53112 <bp-checks.h>.
53113 (___fxstat64): Do not use CHECK_1.
53114 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53115 <bp-checks.h>.
53116 (__fxstatat): Do not use CHECK_1.
53117 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53118 <bp-checks.h>.
53119 (__fxstatat64): Do not use CHECK_1.
53120 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53121 <bp-checks.h>.
53122 (__fxstat): Do not use CHECK_1.
53123 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53124 <bp-checks.h>.
53125 (__fxstatat): Do not use CHECK_1.
53126 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53127 <bp-checks.h>.
53128 (__getresgid): Do not use CHECK_1.
53129 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53130 <bp-checks.h>.
53131 (__getresuid): Do not use CHECK_1.
53132 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53133 <bp-checks.h>.
53134 (__lxstat): Do not use CHECK_1.
53135 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53136 <bp-checks.h>.
53137 (__old_msgctl): Do not use CHECK_1.
53138 (__new_msgctl): Likewise.
53139 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53140 <bp-checks.h>.
53141 (__new_setrlimit): Do not use CHECK_1.
53142 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53143 <bp-checks.h>.
53144 (__old_shmctl): Do not use CHECK_1.
53145 (__new_shmctl): Likewise.
53146 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53147 <bp-checks.h>.
53148 (__xstat): Do not use CHECK_1.
53149 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53150 (__lxstat): Do not use CHECK_1.
53151 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53152 <bp-checks.h>.
53153 (___lxstat64): Do not use CHECK_1.
53154 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53155 (__old_msgctl): Do not use CHECK_1.
53156 (__new_msgctl): Likewise.
53157 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53158 <bp-checks.h>.
53159 (__gettimeofday): Do not use CHECK_1.
53160 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53161 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53162 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53163 <bp-checks.h>.
53164 (__gettimeofday): Do not use CHECK_1.
53165 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53166 (__old_shmctl): Do not use CHECK_1_NULL_OK.
53167 (__new_shmctl): Do not use CHECK_1.
53168 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53169 <bp-checks.h>.
53170 (do_sigtimedwait): Do not use CHECK_1.
53171 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53172 <bp-checks.h>.
53173 (do_sigwaitinfo): Do not use CHECK_1.
53174 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53175 <bp-checks.h>.
53176 (msgctl): Do not use CHECK_1.
53177 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53178 <bp-checks.h>.
53179 (shmctl): Do not use CHECK_1.
53180 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53181 (ustat): Do not use CHECK_1.
53182 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53183 <bp-checks.h>.
53184 (__fxstat): Do not use CHECK_1.
53185 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53186 <bp-checks.h>.
53187 (__fxstatat): Do not use CHECK_1.
53188 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53189 <bp-checks.h>.
53190 (__lxstat): Do not use CHECK_1.
53191 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53192 <bp-checks.h>.
53193 (__xstat): Do not use CHECK_1.
53194 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53195 (__xstat): Do not use CHECK_1.
53196 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53197 (___xstat64): Do not use CHECK_1.
53198
53199 [BZ #13550]
53200 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53201 definitions.
53202 (CHECK_BOUNDS_HIGH): Likewise.
53203 * string/strcpy.c: Do not include <bp-checks.h>.
53204 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53205
53206 2013-02-07 Roland McGrath <roland@hack.frob.com>
53207
53208 * nscd/nscd-client.h (__nscd_drop_map_ref):
53209 Add __attribute__ ((unused)).
53210 * nis/nss-nisplus.h (niserr2nss): Likewise.
53211
53212 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53213 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53214
53215 * csu/libc-tls.c (init_static_tls, init_slotinfo):
53216 Remove inline keyword.
53217 * include/rounding-mode.h (round_away): Likewise.
53218 * libio/wfileops.c (adjust_wide_data): Likewise.
53219 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53220 (__m128i_strloadu_tolower): Likewise.
53221 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53222 (__m128i_strloadu_tolower): Likewise.
53223 * time/mktime.c (ydhms_diff): Likewise.
53224 * locale/elem-hash.h (elem_hash): Likewise.
53225 * locale/setlocale.c (setdata): Likewise.
53226 * posix/regex_internal.h (re_string_char_size_at): Likewise.
53227 (re_string_wchar_at): Likewise.
53228 (bitset_not, bitset_merge, bitset_mask): Likewise.
53229 [!(__GNUC__ > 3)] (inline): Remove macro.
53230 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53231 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53232 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53233 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53234 * string/memcmp.c (memcmp_bytes): Likewise.
53235 * locale/programs/locarchive.c (compute_hashval): Likewise.
53236 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53237 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53238 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53239 * nss/getent.c (print_rpc, print_protocols): Likewise.
53240 (print_passwd, print_group, print_aliases): Likewise.
53241 * nis/nss-nisplus.h (niserr2nss): Likewise.
53242 * nscd/connections.c (restart_p): Likewise.
53243 Change return type to bool.
53244
53245 2013-02-05 Roland McGrath <roland@hack.frob.com>
53246
53247 * Makeconfig (all-Depend-files): Add existing
53248 $(sorted-subdirs:=/Depend) files.
53249 (all-subdirs): Remove nss.
53250 * sysdeps/unix/inet/Subdirs: Add it here instead.
53251 * hesiod/Depend: New file.
53252
53253 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53254 instead of calling alloca.
53255
53256 * io/lseek.c (__lseek): Rename to __libc_lseek.
53257 Define __lseek as an alias.
53258
53259 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53260
53261 2013-02-04 Carlos O'Donell <carlos@redhat.com>
53262
53263 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53264 else clause and remove check for non-standard endianness.
53265
53266 2013-02-04 David S. Miller <davem@davemloft.net>
53267
53268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53269
53270 2013-02-04 Joseph Myers <joseph@codesourcery.com>
53271
53272 [BZ #13550]
53273 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53274 (__ubp_memchr): Remove prototype.
53275 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53276 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53277 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53278 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53279 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53280 Remove alias.
53281 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53282 (__ubp_memchr): Likewise.
53283 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53284 (__ubp_memchr): Likewise.
53285 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53286 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53287 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53288 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53289 CHECK_STRING.
53290 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53291 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53292 (__getcwd): Do not use CHECK_STRING.
53293 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53294 <bp-checks.h>.
53295 (__real_chown): Do not use CHECK_STRING.
53296 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53297 <bp-checks.h>.
53298 (fchownat): Do not use CHECK_STRING.
53299 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53300 CHECK_STRING.
53301 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53302 <bp-checks.h>.
53303 (__lchown): Do not use CHECK_STRING.
53304 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53305 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53306 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53307 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53309 include <bp-checks.h>.
53310 (truncate64): Do not use CHECK_STRING.
53311 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53312 <bp-checks.h>.
53313 (__real_chown): Do not use CHECK_STRING.
53314 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53315 <bp-checks.h>.
53316 (__lchown): Do not use CHECK_STRING.
53317 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53318 <bp-checks.h>.
53319 (__chown): Do not use CHECK_STRING.
53320 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53321 <bp-checks.h>.
53322 (truncate64): Do not use CHECK_STRING.
53323 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53324 Likewise.
53325 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53326 (__xmknod): Do not use CHECK_STRING.
53327 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53328 <bp-checks.h>.
53329 (__xmknodat): Do not use CHECK_STRING.
53330 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53331 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53332
53333 2013-02-04 Andreas Schwab <schwab@suse.de>
53334
53335 [BZ #14142]
53336 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53337 * include/netdb.h: Likewise for h_errno.
53338 * elf/tst-stackguard1.c: Include <tls.h>.
53339
53340 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
53341
53342 * elf/link.h (struct link_map): Extend the l_addr comment.
53343 * include/link.h (struct link_map): Likewise.
53344
53345 2013-02-01 Joseph Myers <joseph@codesourcery.com>
53346
53347 [BZ #13550]
53348 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53349 (BOUNDED_1): Remove macro.
53350 * debug/backtrace.c: Don't include <bp-checks.h>.
53351 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53352 (__backtrace): Likewise.
53353 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53354 <bp-checks.h>.
53355 (__backtrace): Don't use BOUNDED_1.
53356 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53357 <bp-checks.h>.
53358 (__backtrace): Don't use BOUNDED_1.
53359 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53360 (__backtrace): Don't use BOUNDED_1.
53361 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53362 (shmat): Don't use BOUNDED_N.
53363
53364 2013-01-31 Joseph Myers <joseph@codesourcery.com>
53365
53366 [BZ #13550]
53367 * sysdeps/generic/bp-start.h: Remove file.
53368 * csu/libc-start.c: Don't include <bp-start.h>.
53369 (LIBC_START_MAIN): Set up __environ directly instead of using
53370 INIT_ARGV_and_ENVIRON.
53371 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53372 <bp-start.h>.
53373
53374 [BZ #13550]
53375 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53376 definitions.
53377 (CHECK_FCNTL): Likewise.
53378 (CHECK_N_PAGES): Likewise.
53379
53380 [BZ #13550]
53381 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53382 definitions.
53383 (CHECK_SIGSET_NULL_OK): Likewise.
53384 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53385 <bp-checks.h>.
53386 (sigpending): Don't use CHECK_SIGSET.
53387 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53388 <bp-checks.h>.
53389 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53390 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53391 <bp-checks.h>.
53392 (do_sigsuspend): Don't use CHECK_SIGSET.
53393 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53394 use CHECK_SIGSET.
53395 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53396 (do_sigwait): Don't use CHECK_SIGSET.
53397 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53398 use CHECK_SIGSET.
53399 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53400 include <bp-checks.h>.
53401 (sigpending): Don't use CHECK_SIGSET.
53402 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53403 include <bp-checks.h>.
53404 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53405 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53406 <bp-checks.h>.
53407 (sigpending): Don't use CHECK_SIGSET.
53408 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53409 <bp-checks.h>.
53410 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53411
53412 [BZ #13550]
53413 * sysdeps/generic/bp-semctl.h: Remove file.
53414 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53415 <bp-checks.h> and <bp-semctl.h>.
53416 (__old_semctl): Don't use CHECK_SEMCTL.
53417 (__new_semctl): Likewise.
53418 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53419 and <bp-semctl.h>.
53420 (__old_semctl): Don't use CHECK_SEMCTL.
53421 (__new_semctl): Likewise.
53422 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53423 <bp-checks.h> and <bp-semctl.h>.
53424 (__old_semctl): Don't use CHECK_SEMCTL.
53425 (__new_semctl): Likewise.
53426 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53427 <bp-checks.h> and <bp-semctl.h>.
53428 (semctl): Don't use CHECK_SEMCTL.
53429
53430 [BZ #13550]
53431 * Makerules (elide-bp-thunks): Remove variable.
53432 (elide-routines.oS): Don't use $(elide-bp-thunks).
53433 (elide-routines.os): Likewise.
53434 (elide-routines.o): Likewise.
53435 (elide-routines.op): Likewise.
53436 (elide-routines.og): Likewise.
53437 (objects): Don't use $(bp-thunks).
53438 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53439 include.
53440 (common-generated): Do not add s-proto-bp.d.
53441 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53442 (int): Likewise.
53443 (typ): Likewise.
53444 Do not generate makefile rules for bounded-pointer thunks.
53445 * sysdeps/generic/bp-thunks.h: Remove file.
53446 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53447 * sysdeps/unix/s-proto-bp.S: Likewise.
53448
53449 [BZ #15062]
53450 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53451 parts of result separately when argument is not close to line from
53452 -i to i and one part of argument is small.
53453 * math/k_casinhf.c (__kernel_casinhf): Likewise.
53454 * math/k_casinhl.c (__kernel_casinhl): Likewise.
53455 * math/libm-test.inc (cacos_test): Add more tests.
53456 (casin_test): Likewise.
53457 (casinh_test): Likewise.
53458 * sysdeps/i386/fpu/libm-test-ulps: Update.
53459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53460
53461 2013-01-31 David S. Miller <davem@davemloft.net>
53462
53463 * po/de.po: Update from translation team.
53464
53465 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
53466
53467 * time/tzfile.c: Include stdint.h for SIZE_MAX.
53468
53469 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
53470
53471 * configure.in (_AC_PROG_CC_C89): New definition.
53472 * configure: Regenerate.
53473
53474 * configure.in (AC_PROG_CPP): New definition.
53475 * configure: Regenerate.
53476
53477 2013-01-23 Joseph Myers <joseph@codesourcery.com>
53478
53479 * debug/tst-backtrace.h: New file.
53480 * debug/tst-backtrace2.c: Include tst-backtrace.h.
53481 (ret): Remove variable.
53482 (x): Likewise.
53483 (FAIL): Remove macro.
53484 (NO_INLINE): Likewise.
53485 (fn1): Use match function instead of strstr.
53486 * debug/tst-backtrace3.c: Include tst-backtrace.h.
53487 (ret): Remove variable.
53488 (x): Likewise.
53489 (FAIL): Remove macro.
53490 (NO_INLINE): Likewise.
53491 (fn): Use match function instead of strstr.
53492 * debug/tst-backtrace4.c: Include tst-backtrace.h.
53493 (ret): Remove variable.
53494 (x): Likewise.
53495 (FAIL): Remove macro.
53496 (NO_INLINE): Likewise.
53497 (handle_signal): Use match function instead of strstr.
53498 * debug/tst-backtrace5.c: Include tst-backtrace.h.
53499 (ret): Remove variable.
53500 (x): Likewise.
53501 (FAIL): Remove macro.
53502 (NO_INLINE): Likewise.
53503 (handle_signal): Use match function instead of strstr.
53504
53505 2013-01-23 Roland McGrath <roland@hack.frob.com>
53506
53507 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53508
53509 2013-01-23 David S. Miller <davem@davemloft.net>
53510
53511 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53512 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53513 argument of CAS if possible.
53514 * sysdeps/sparc/sparc64/bits/atomic.h
53515 (__arch_compare_and_exchange_val_32_acq): Likewise.
53516 (__arch_compare_and_exchange_val_64_acq): Likewise.
53517
53518 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
53519
53520 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53521 * sysdeps/posix/ulimit.c: ... this.
53522 Include <limits.h>.
53523 * sysdeps/unix/bsd/ulimit.c: Remove file.
53524
53525 2013-01-23 Adam Conrad <adconrad@0c3.net>
53526
53527 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53528 (LDFLAGS-tst-array5): Likewise.
53529
53530 2013-01-23 Joseph Myers <joseph@codesourcery.com>
53531
53532 [BZ #15036]
53533 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53534 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53535 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53536 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53537
53538 2013-01-21 David S. Miller <davem@davemloft.net>
53539
53540 * sysdeps/sparc/backtrace.c: New file.
53541 * sysdeps/sparc/sparc32/backtrace.h: New file.
53542 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53543 * sysdeps/sparc/sparc64/backtrace.h: New file.
53544 * sysdeps/sparc/sparc64/backtrace.c: Delete.
53545 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53546 -funwind-tables.
53547
53548 2013-01-21 Andreas Schwab <schwab@suse.de>
53549
53550 [BZ #15020]
53551 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53552 closed its stdout.
53553
53554 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
53555
53556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53557 "mpa2.h".
53558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53559
53560 2013-01-18 Joseph Myers <joseph@codesourcery.com>
53561 Mark Mitchell <mark@codesourcery.com>
53562 Tom de Vries <tom@codesourcery.com>
53563 Paul Pluzhnikov <ppluzhnikov@google.com>
53564
53565 * debug/tst-backtrace2.c: New file.
53566 * debug/tst-backtrace3.c: Likewise.
53567 * debug/tst-backtrace4.c: Likewise.
53568 * debug/tst-backtrace5.c: Likewise.
53569 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53570 (CFLAGS-tst-backtrace3.c): Likewise.
53571 (CFLAGS-tst-backtrace4.c): Likewise.
53572 (CFLAGS-tst-backtrace5.c): Likewise.
53573 (LDFLAGS-tst-backtrace2): Likewise.
53574 (LDFLAGS-tst-backtrace3): Likewise.
53575 (LDFLAGS-tst-backtrace4): Likewise.
53576 (LDFLAGS-tst-backtrace5): Likewise.
53577 (tests): Add new tests tst-backtrace2, tst-backtrace3,
53578 tst-backtrace4 and tst-backtrace5.
53579
53580 2013-01-18 Anton Blanchard <anton@samba.org>
53581 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53582
53583 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53584 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53585 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53586 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53588 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53589 "+r" and remove output regs list as redundant. Add explicit inline
53590 asm to specify register of return val to work around compiler codegen
53591 bug. Remove (int) cast on return value. Add return type parameter to
53592 use in macro so that this macro does not truncate return value for
53593 64-bit values.
53594 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53595 pass to INTERNAL_VSYSCALL_NCS.
53596 (INLINE_VSYSCALL): Add 'long int' as return type to
53597 INTERNAL_VSYSCALL_NCS macro invocation.
53598 (INTERNAL_VSYSCALL): Add 'long int' as return type to
53599 INTERNAL_VSYSCALL_NCS macro invocation.
53600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53601
53602 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53603
53604 [BZ #14496]
53605 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53606 Fix application of SIMD FP exception mask.
53607
53608 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53609 mp_no from a power of two.
53610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53611 __mpexp_twomm1. Use __pow_mp.
53612
53613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53614 multiplication.
53615
53616 2013-01-17 David S. Miller <davem@davemloft.net>
53617
53618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53619
53620 2013-01-17 Joseph Myers <joseph@codesourcery.com>
53621
53622 [BZ #15023]
53623 * include/complex.h: Condition contents on [!_COMPLEX_H].
53624 (__kernel_casinhf): New prototype.
53625 (__kernel_casinh): Likewise.
53626 (__kernel_casinhl): Likewise.
53627 * math/Makefile (libm_calls): Add k_casinh.
53628 * math/k_casinh.c: New file.
53629 * math/k_casinhf.c: Likewise.
53630 * math/k_casinhl.c: Likewise.
53631 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53632 finite nonzero arguments.
53633 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53634 finite nonzero arguments.
53635 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53636 finite nonzero arguments.
53637 * math/s_casinh.c: Do not include <float.h>.
53638 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53639 * math/s_casinhf.c: Do not include <float.h>.
53640 (__casinhf): Move code for finite nonzero arguments to
53641 k_casinhf.c.
53642 * math/s_casinhl.c: Do not include <float.h>.
53643 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53644 redefine.
53645 (__casinhl): Move code for finite nonzero arguments to
53646 k_casinhl.c.
53647 * math/libm-test.inc (cacos_test): Add more tests.
53648 * sysdeps/i386/fpu/libm-test-ulps: Update.
53649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53650
53651 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
53652
53653 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53654 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53655 [!HAVE_MREMAP]: Remove [defined linux] case.
53656 * malloc/arena.c: Do not include <malloc-sysdep.h>.
53657
53658 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
53659
53660 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53661
53662 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
53663
53664 * elf/elf.h (R_386_SIZE32): New relocation.
53665 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53666 R_386_SIZE32.
53667 (elf_machine_rela): Likewise.
53668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53669 R_X86_64_SIZE64 and R_X86_64_SIZE32.
53670
53671 2013-01-17 Joseph Myers <joseph@codesourcery.com>
53672
53673 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53674 (FP_FAST_FMA): Do not define.
53675 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53676 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53677 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53678 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53679 !_SOFT_FLOAT]: Likewise.
53680 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53681 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53682 value.
53683 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53684 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53685 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53686 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53687 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53688 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53689 file.
53690
53691 2013-01-16 Andreas Schwab <schwab@suse.de>
53692
53693 [BZ #14327]
53694 * include/stdlib.h (__mktemp): Add declaration.
53695 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53696 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53697
53698 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
53699
53700 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53701 definitions.
53702 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53703 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53704 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53705 definitions here.
53706 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53707 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53708 definitions.
53709 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53710 and ONE.
53711 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53712 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53713 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53714 definitions.
53715 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53716 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53717 definitions.
53718 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53719
53720 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53721
53722 2013-01-15 David S. Miller <davem@davemloft.net>
53723
53724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53725 trunc{,f} to libm-sysdep_routes.
53726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53728 file.
53729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53731 file.
53732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53733 file.
53734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53736 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53737 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53738 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53739 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53740 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53741 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53742
53743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53744 nearbyint{,f} to libm-sysdep_routes.
53745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53747 New file.
53748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53749 file.
53750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53751 New file.
53752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53753 file.
53754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53756 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53757 file.
53758 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53759 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53760 file.
53761 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53762 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53763 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53764
53765 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53766 libc_feholdexcept and libc_fesetenv.
53767
53768 2013-01-15 Mike Frysinger <vapier@gentoo.org>
53769
53770 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53771
53772 2013-01-14 David S. Miller <davem@davemloft.net>
53773
53774 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53775 (SPARC_ASM_VIS2_IFUNC): Likewise.
53776 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53778 use of 'siam' instruction.
53779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53780 Likewise.
53781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53782 Likewise.
53783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53784 Likewise.
53785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53790 file.
53791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53792 file.
53793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53794 file.
53795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53796 file.
53797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53798 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53802 new VIS2 routines.
53803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53806 Likewise.
53807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53812 routines to libm-sysdep_routines.
53813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53814
53815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53816 fdim/fdimf to libm-sysdep_routines.
53817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53818 file.
53819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53821 file.
53822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53825 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53826 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53827 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53828 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53829
53830 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53831
53832 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53833 to optimize copies.
53834
53835 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53838
53839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53840 local variable MPTWO.
53841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53842 Likewise.
53843
53844 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53845
53846 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53847 GLOB_NOESCAPE.
53848
53849 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53850
53851 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53852
53853 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53854
53855 * manual/pattern.texi (glob_t): Document gl_flags.
53856 (glob64_t): Likewise.
53857
53858 2013-01-11 David S. Miller <davem@davemloft.net>
53859
53860 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53861 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53862 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
53863 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53864 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53865 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53866 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53867 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53868 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53869 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53870 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53871 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53872 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53873
53874 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53875 sparc V9 rather than using V8 code.
53876 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53877 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53878
53879 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53880 Move to...
53881 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53882 Here.
53883
53884 2013-01-11 Roland McGrath <roland@hack.frob.com>
53885
53886 [BZ #14941]
53887 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53888 not in the main loop.
53889 * configure: Regenerated.
53890
53891 2013-01-11 Joseph Myers <joseph@codesourcery.com>
53892
53893 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53894 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53895 to just #else.
53896 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
53897 [!__GLIBC_HAVE_LONG_LONG] case.
53898 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53899 condition to just #else.
53900 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53901 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53902 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53903 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53904 unconditional.
53905 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53906 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53907 #elif condition to just #else.
53908 * sysdeps/unix/sysv/linux/sys/sysmacros.h
53909 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53910 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53911 #elif condition to just #else.
53912
53913 2013-01-11 Steve Ellcey <sellcey@mips.com>
53914
53915 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53916 (EF_MIPS_ARCH_64): Fix value.
53917 (EF_MIPS_ARCH_32R2): New.
53918 (EF_MIPS_ARCH_64R2): New.
53919
53920 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
53921
53922 * Makeconfig (+link-pie-before-libc): New.
53923 (+link-pie-after-libc): Likewise.
53924 (+link-pie-tests): Likewise.
53925 (+link-pie): Rewritten.
53926 (link-before-libc): Remove $(config-LDFLAGS).
53927 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53928 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53929 (config-LDFLAGS): Renamed to ...
53930 (rtld-LDFLAGS): This.
53931 (rtld-tests-LDFLAGS): New macro.
53932 (link-libc-rpath-link): Likewise.
53933 (link-libc-tests-rpath-link): Likewise.
53934 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53935 (link-libc): Prepand $(link-libc-rpath-link).
53936 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53937 (test-program-prefix): New macro.
53938 (test-via-rtld-prefix): Likewise.
53939 (test-program-cmd): Likewise.
53940 (host-test-program-cmd): Likewise.
53941 * Makefile ($(common-objpfx)testrun.sh): Replace
53942 $(run-program-prefix) with $(test-program-prefix).
53943 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53944 $(rtld-LDFLAGS).
53945 ($(common-objpfx)shlib.lds): Likewise.
53946 (build-module-helper): Likewise.
53947 ($(common-objpfx)format.lds): Likewise.
53948 * Rules (binaries-pie-tests): New.
53949 (binaries-pie-notests): Likewise.
53950 (binaries-pie): Rewritten.
53951 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53952 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53953 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53954 (make-test-out): Replace $(host-built-program-cmd) with
53955 $(host-test-program-cmd).
53956 * config.make.in (build-hardcoded-path-in-tests): New variable.
53957 * configure.in (--enable-hardcoded-path-in-tests): New configure
53958 option.
53959 (hardcoded_path_in_tests): New AC_SUBST.
53960 * configure: Regenerated.
53961 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53962 $(built-program-cmd) with $(test-program-cmd).
53963 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53964 (test_program_cmd): This.
53965 * elf/Makefile ($(objpfx)order.out): Run test with
53966 $(test-program-prefix).
53967 ($(objpfx)order2.out): Likewise.
53968 ($(objpfx)tst-initorder.out): Likewise.
53969 ($(objpfx)tst-initorder2.out): Likewise.
53970 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53971 $(test-program-cmd).
53972 ($(objpfx)tst-array1-static.out): Likewise.
53973 ($(objpfx)tst-array2.out): Likewise.
53974 ($(objpfx)tst-array3.out): Likewise.
53975 ($(objpfx)tst-array4.out): Likewise.
53976 ($(objpfx)tst-array5.out): Likewise.
53977 ($(objpfx)tst-array5-static.out): Likewise.
53978 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53979 $(test-program-cmd).
53980 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53981 $(run-program-prefix) with $(test-program-prefix).
53982 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53983 (test_program_prefix): This.
53984 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53985 $(run-program-prefix) with $(test-program-prefix).
53986 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53987 (test_program_prefix): This.
53988 * iconvdata/tst-tables.sh: Likewise.
53989 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53990 $(run-program-prefix) with $(test-program-prefix).
53991 ($(objpfx)tst-translit.out): Likewise.
53992 ($(objpfx)tst-gettext2.out): Likewise.
53993 ($(objpfx)tst-gettext4.out): Likewise.
53994 ($(objpfx)tst-gettext6.out): Likewise.
53995 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53996 (test_program_prefix): This.
53997 * intl/tst-gettext2.sh: Likewise.
53998 * intl/tst-gettext4.sh Likewise.
53999 * intl/tst-gettext6.sh: Likewise.
54000 * intl/tst-translit.sh: Likewise.
54001 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54002 with $(test-program-cmd).
54003 * libio/Makefile ($(objpfx)test-freopen.out): Replace
54004 $(run-program-prefix) with $(test-program-prefix).
54005 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54006 (test_program_prefix): This.
54007 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54008 $(run-program-prefix) with $(test-program-prefix).
54009 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54010 (test_program_prefix): This.
54011 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54012 * posix/Makefile ($(objpfx)globtest.out): Replace
54013 $(run-via-rtld-prefix) and $(test-wrapper) with
54014 $(test-program-prefix) and $(test-via-rtld-prefix).
54015 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54016 $(test-program-prefix).
54017 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54018 $(host-test-program-cmd).
54019 (tst-spawn-ARGS): Likewise.
54020 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54021 $(test-program-prefix).
54022 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54023 (test_via_rtld_prefix): This.
54024 (test_wrapper): Renamed to ...
54025 (test_program_prefix): This.
54026 (run_program_prefix): Replaced by test_program_prefix.
54027 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54028 (test_program_prefix): This.
54029 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54030 with $(host-test-program-cmd).
54031 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54032 $(run-program-prefix) with $(test-program-prefix).
54033 ($(objpfx)tst-printf.out): Likewise.
54034 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54035 $(test-program-cmd).
54036 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54037 (test_program_prefix): This.
54038 * stdio-common/tst-unbputc.sh: Likewise.
54039 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54040 $(run-program-prefix) with $(test-program-prefix).
54041 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54042 (test_program_prefix): This.
54043 * string/Makefile ($(objpfx)tst-svc.out): Replace
54044 $(built-program-cmd) with $(test-program-cmd).
54045
54046 2013-01-11 Andreas Jaeger <aj@suse.de>
54047
54048 [BZ #15003]
54049 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54050 value. Sync with Linux 3.7.
54051
54052 2013-01-10 David S. Miller <davem@davemloft.net>
54053
54054 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54055 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54056 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54057
54058 2013-01-10 Roland McGrath <roland@hack.frob.com>
54059
54060 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54061 never set.
54062 * configure: Regenerated.
54063
54064 2013-01-10 David S. Miller <davem@davemloft.net>
54065
54066 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54067 sparc V9 rather than using V8 code.
54068 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54069 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54070
54071 2013-01-10 Roland McGrath <roland@hack.frob.com>
54072
54073 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54074 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54075 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54076 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54077 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54078 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54079 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54080 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54081 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54082 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54083 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54084 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54085 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54086 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54087 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54088 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54089 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54090 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54091 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54092 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54093 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54094 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54095 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54096 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54097 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54098 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54099 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54100
54101 2013-01-10 David S. Miller <davem@davemloft.net>
54102
54103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54104
54105 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
54106
54107 * posix/Makefile (tests-static): New variable.
54108 (tests): Add $(tests-static).
54109 (tst-exec-static-ARGS): New variable.
54110 (tst-spawn-static-ARGS): Likewise.
54111 * posix/tst-exec-static.c: New file.
54112 * posix/tst-spawn-static.c: Likewise.
54113 * posix/tst-exec.c: Support run directly.
54114 * posix/tst-spawn.c: Likewise.
54115
54116 2013-01-10 Joseph Myers <joseph@codesourcery.com>
54117
54118 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54119 long.
54120 * math/bits/mathcalls.h (llrint): Likewise.
54121 (llround): Likewise.
54122 * stdlib/stdlib.h (struct drand48_data): Likewise.
54123 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54124 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54125 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54126 Likewise.
54127 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54128 Likewise.
54129 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54130 (elf_greg_t): Likewise.
54131 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54132 (__jmp_buf): Likewise.
54133 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54134 definitions.
54135 (llrint): Likewise, for all definitions.
54136 (llrintl): Likewise.
54137
54138 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54139 Remove [__GNUC__] condition.
54140 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54141 condition to just [__USE_ISOC99].
54142 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54143
54144 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
54145
54146 [BZ #14200]
54147 * sysdeps/unix/sysv/linux/x86/bits/environments.h
54148 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54149 defined.
54150 (_POSIX_V6_ILP32_OFF32): Likewise.
54151 (_XBS5_ILP32_OFF32): Likewise.
54152 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54153 (__ILP32_OFFBIG_LDFLAGS): Likewise.
54154
54155 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54156
54157 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54158
54159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54160 doubles __mpexp_twomm1. Adjust usage.
54161 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54162 Remove.
54163
54164 2013-01-10 Andreas Schwab <schwab@suse.de>
54165
54166 [BZ #14964]
54167 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54168 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54169
54170 2013-01-09 David S. Miller <davem@davemloft.net>
54171
54172 [BZ #15003]
54173 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54174 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54175 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54176 (TCP_FASTOPEN): Define.
54177 (tcp_repair_opt): New structure.
54178 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54179 enum values.
54180 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54181 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54182 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54183 (tcp_cookie_transactions): New structure.
54184
54185 2013-01-09 Anton Blanchard <anton@samba.org>
54186
54187 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54188 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54189 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54190 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54191
54192 2013-01-09 Joseph Myers <joseph@codesourcery.com>
54193
54194 * include/features.h (__USE_ANSI): Remove.
54195
54196 2013-01-09 Roland McGrath <roland@hack.frob.com>
54197
54198 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54199
54200 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54201
54202 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
54203
54204 * sysdeps/s390/fpu/libm-test-ulps: Update.
54205
54206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54207
54208 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54209 (__acr): Likewise.
54210 (__cpy): Likewise.
54211 (norm): Likewise.
54212 (denorm): Likewise.
54213 (__mp_dbl): Likewise.
54214 (__dbl_mp): Likewise.
54215 (add_magnitudes): Likewise.
54216 (sub_magnitudes): Likewise.
54217 (__add): Likewise.
54218 (__sub): Likewise.
54219 (__mul): Likewise.
54220 (__inv): Likewise.
54221 (__dvd): Likewise.
54222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54223 (__acr): Likewise.
54224 (__cpy): Likewise.
54225 (norm): Likewise.
54226 (denorm): Likewise.
54227 (__mp_dbl): Likewise.
54228 (__dbl_mp): Likewise.
54229 (add_magnitudes): Likewise.
54230 (sub_magnitudes): Likewise.
54231 (__add): Likewise.
54232 (__sub): Likewise.
54233 (__mul): Likewise.
54234 (__inv): Likewise.
54235 (__dvd): Likewise.
54236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54237 (__acr): Likewise.
54238 (__cpy): Likewise.
54239 (norm): Likewise.
54240 (denorm): Likewise.
54241 (__mp_dbl): Likewise.
54242 (__dbl_mp): Likewise.
54243 (add_magnitudes): Likewise.
54244 (sub_magnitudes): Likewise.
54245 (__add): Likewise.
54246 (__sub): Likewise.
54247 (__mul): Likewise.
54248 (__inv): Likewise.
54249 (__dvd): Likewise.
54250
54251 2013-01-08 Joseph Myers <joseph@codesourcery.com>
54252
54253 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54254 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54255 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54256 2 && __USE_EXTERN_INLINES]: Likewise.
54257
54258 2013-01-08 Andreas Jaeger <aj@suse.de>
54259
54260 [BZ# 14985]
54261 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54262 Remove.
54263 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54264 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54265
54266 2013-01-07 Anton Blanchard <anton@samba.org>
54267
54268 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54269 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54270 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54271 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54272 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54273 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54274 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54275 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54277 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54278 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54279 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54281 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54282 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54283 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54284 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54285 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54286 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54287 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54288 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54289 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54290 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54291 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54292 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54293 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54294 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54295 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54297 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54298 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54300 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54301 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54302 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54303 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54304 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54305 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54306 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54307 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54308 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54309 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54310 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54311
54312 2013-01-07 Joseph Myers <joseph@codesourcery.com>
54313
54314 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54315 (__MALLOC_PMT): Likewise.
54316 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54317 [__GNUC__], only on [_LIBC].
54318 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54319 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54320 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54321 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54322 forward declaration.
54323 (realloc_hook_ini): Likewise.
54324 (memalign_hook_ini): Likewise.
54325 (__libc_memalign): Do not use __MALLOC_PMT in variable
54326 declaration.
54327 (__libc_valloc): Likewise.
54328 (__libc_pvalloc): Likewise.
54329 (__libc_calloc): Likewise.
54330 (__posix_memalign): Likewise.
54331
54332 [BZ #14996]
54333 * math/s_casinh.c: Include <float.h>.
54334 (__casinh): Do not do computation with squaring and square root
54335 for large arguments.
54336 * math/s_casinhf.c: Include <float.h>.
54337 (__casinhf): Do not do computation with squaring and square root
54338 for large arguments.
54339 * math/s_casinhl.c: Include <float.h>.
54340 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54341 (__casinhl): Do not do computation with squaring and square root
54342 for large arguments.
54343 * math/libm-test.inc (casin_test): Add more tests.
54344 (casinh_test): Likewise.
54345 * sysdeps/i386/fpu/libm-test-ulps: Update.
54346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54347
54348 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
54349
54350 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54351 (__x86_64_raw_data_cache_size): Likewise.
54352 (__x86_64_data_cache_size_half): Likewise.
54353 (__x86_64_raw_data_cache_size_half): Likewise.
54354 (__x86_64_shared_cache_size): Likewise.
54355 (__x86_64_raw_shared_cache_size): Likewise.
54356 (__x86_64_shared_cache_size_half): Likewise.
54357 (__x86_64_raw_shared_cache_size_half): Likewise.
54358 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54359 to ...
54360 (__x86_data_cache_size): This.
54361 (__x86_64_raw_data_cache_size): Renamed to ...
54362 (__x86_raw_data_cache_size): This.
54363 (__x86_64_data_cache_size_half): Renamed to ...
54364 (__x86_data_cache_size_half): This.
54365 (__x86_64_raw_data_cache_size_half): Renamed to ...
54366 (__x86_raw_data_cache_size_half): This.
54367 (__x86_64_shared_cache_size): Renamed to ...
54368 (__x86_shared_cache_size): This.
54369 (__x86_64_raw_shared_cache_size): Renamed to ...
54370 (__x86_raw_shared_cache_size): This.
54371 (__x86_64_shared_cache_size_half): Renamed to ...
54372 (__x86_shared_cache_size_half): This.
54373 (__x86_64_raw_shared_cache_size_half): Renamed to ...
54374 (__x86_raw_shared_cache_size_half): This.
54375 * sysdeps/x86_64/memcpy.S: Updated.
54376 * sysdeps/x86_64/memset.S: Likewise.
54377 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54378 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54379 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54380
54381 2013-01-04 David S. Miller <davem@davemloft.net>
54382
54383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54384
54385 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
54386
54387 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54388 1 to avoid redefinition warning.
54389 (__USE_GNU): Don't define.
54390 (init_signaling_nan): Protoize.
54391
54392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54393
54394 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54395
54396 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54398 (__cpymn): Likewise.
54399 (norm): Remove commented code.
54400 (denorm): Likewise.
54401 (__mp_dbl): Likewise.
54402 (__inv): Likewise.
54403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54404 (__cpymn): Likewise.
54405 (norm): Remove commented code.
54406 (denorm): Likewise.
54407 (__mp_dbl): Likewise.
54408 (__inv): Likewise.
54409
54410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54411 mp_no value for 1.0 and 2.0.
54412 (norm): Use RADIXI instead of radixi.d.
54413 (denorm): Likewise.
54414 (__mul): Use 0.0 instead of zero.d.
54415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54416 mp_no value for 1.0 and 2.0.
54417 (norm): Use RADIXI instead of radixi.d.
54418 (denorm): Likewise.
54419 (__mul): Use 0.0 instead of zero.d.
54420
54421 2013-01-04 Joseph Myers <joseph@codesourcery.com>
54422
54423 [BZ #14994]
54424 * math/s_casinh.c (__casinh): Reduce finite argument to first
54425 quadrant then set signs of results at the end.
54426 * math/s_casinhf.c (__casinhf): Likewise.
54427 * math/s_casinhl.c (__casinhl): Likewise.
54428 * math/libm-test.inc (casin_test): Add more tests.
54429 (casinh_test): Likewise.
54430 * sysdeps/i386/fpu/libm-test-ulps: Update.
54431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54432
54433 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54434
54435 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54436
54437 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54438
54439 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54440 declarations.
54441 (denorm): Likewise.
54442 (__mp_dbl): Likewise.
54443 (__inv): Likewise.
54444
54445 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54446 and adjust the header comment.
54447
54448 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54449 variable name from declaration.
54450
54451 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
54452
54453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54454 Initialize COMMON_CPUID_INDEX_7 element.
54455 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54456 (CPUID_RTM): Likewise.
54457 (HAS_RTM): Likewise.
54458 (COMMON_CPUID_INDEX_7): New enum.
54459
54460 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
54461
54462 [BZ #14981]
54463 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54464 size is zero, record memory as freed.
54465
54466 2013-01-03 Andreas Jaeger <aj@suse.de>
54467
54468 * po/ia.po: Add new Interlingua translation.
54469
54470 2012-01-03 Allan McRae <allan@archlinux.org>
54471
54472 * locale/programs/localedef.c: Fix description of '--posix' flag.
54473
54474 2013-01-02 Joseph Myers <joseph@codesourcery.com>
54475
54476 * NEWS: Update dates in second copyright notice.
54477 * README: Update copyright dates in example.
54478 * manual/libc.texinfo: Update copyright dates.
54479 * scripts/test-installation.pl: Update copyright date in --version
54480 output.
54481
54482 * hurd/ctty-input.c: Fix copyright notice formatting.
54483 * hurd/ctty-output.c: Likewise.
54484 * hurd/dtable.c: Likewise.
54485 * hurd/hurd-raise.c: Likewise.
54486 * hurd/hurdprio.c: Likewise.
54487 * hurd/msgportdemux.c: Likewise.
54488 * misc/sys/file.h: Likewise.
54489 * misc/sys/ioctl.h: Likewise.
54490 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54491 * sysdeps/mach/hurd/chdir.c: Likewise.
54492 * sysdeps/mach/hurd/fchdir.c: Likewise.
54493 * sysdeps/mach/hurd/rename.c: Likewise.
54494 * sysdeps/mach/hurd/rmdir.c: Likewise.
54495 * sysdeps/mach/hurd/seekdir.c: Likewise.
54496 * sysdeps/mach/hurd/setsid.c: Likewise.
54497 * sysdeps/posix/wait3.c: Likewise.
54498
54499 * All files with FSF copyright notices: Update copyright dates
54500 using scripts/update-copyrights.
54501 * intl/plural.c: Regenerated.
54502 * locale/programs/charmap-kw.h: Likewise.
54503 * locale/programs/locfile-kw.h: Likewise.
54504
54505 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
54506
54507 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54508 four values.
54509
54510 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54511 calculation loop and add branch prediction.
54512
54513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54514 check access beyond bounds of m1np.
54515
54516 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54517 MPTWO.
54518 (__inv): Remove local variable MPTWO to use the global
54519 constant.
54520 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54521 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54522 variable MPTWO.
54523 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54524 MP3HALFS static const.
54525
54526 2013-01-01 David S. Miller <davem@davemloft.net>
54527
54528 * po/ca.po: Update from translation team.
54529
54530 2013-01-01 Joseph Myers <joseph@codesourcery.com>
54531
54532 * scripts/update-copyrights: New file.
54533 * Makeconfig: Reformat copyright notice.
54534 * ctype/ctype.h: Likewise.
54535 * debug/swprintf_chk.c: Likewise.
54536 * elf/dl-cache.c: Likewise.
54537 * elf/dl-debug.c: Likewise.
54538 * elf/dl-object.c: Likewise.
54539 * grp/initgroups.c: Likewise.
54540 * hurd/Makefile: Likewise.
54541 * hurd/hurd/signal.h: Likewise.
54542 * hurd/hurdfault.c: Likewise.
54543 * hurd/hurdioctl.c: Likewise.
54544 * hurd/hurdlookup.c: Likewise.
54545 * hurd/intr-msg.c: Likewise.
54546 * iconv/gconv_open.c: Likewise.
54547 * libio/swprintf.c: Likewise.
54548 * locale/lc-ctype.c: Likewise.
54549 * locale/nl_langinfo.c: Likewise.
54550 * mach/Machrules: Likewise.
54551 * mach/Makefile: Likewise.
54552 * malloc/obstack.h: Likewise.
54553 * manual/Makefile: Likewise.
54554 * manual/tsort.awk: Likewise.
54555 * misc/bits/stab.def: Likewise.
54556 * nis/nis_print_group_entry.c: Likewise.
54557 * nis/nis_table.c: Likewise.
54558 * nis/nss_compat/compat-pwd.c: Likewise.
54559 * nis/nss_compat/compat-spwd.c: Likewise.
54560 * po/Makefile: Likewise.
54561 * posix/fnmatch.c: Likewise.
54562 * posix/regex.h: Likewise.
54563 * resolv/Makefile: Likewise.
54564 * resolv/nss_dns/dns-network.c: Likewise.
54565 * resolv/res_hconf.c: Likewise.
54566 * scripts/gen-sorted.awk: Likewise.
54567 * soft-fp/soft-fp.h: Likewise.
54568 * stdio-common/printf.h: Likewise.
54569 * stdlib/monetary.h: Likewise.
54570 * stdlib/random.c: Likewise.
54571 * stdlib/random_r.c: Likewise.
54572 * sysdeps/generic/Makefile: Likewise.
54573 * sysdeps/gnu/Makefile: Likewise.
54574 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54576 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54581 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54582 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54584 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54585 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54586 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54587 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54588 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54589 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54590 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54591 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54592 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54593 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54594 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54595 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54596 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54597 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54598 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54599 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54600 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54601 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54602 * sysdeps/mach/hurd/errnos.awk: Likewise.
54603 * sysdeps/mach/hurd/fork.c: Likewise.
54604 * sysdeps/mach/hurd/getcwd.c: Likewise.
54605 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54606 * sysdeps/mach/hurd/mmap.c: Likewise.
54607 * sysdeps/mach/hurd/utimes.c: Likewise.
54608 * sysdeps/mach/hurd/xmknod.c: Likewise.
54609 * sysdeps/posix/profil.c: Likewise.
54610 * sysdeps/posix/readdir_r.c: Likewise.
54611 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54612 * sysdeps/powerpc/bits/setjmp.h: Likewise.
54613 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54614 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54616 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54617 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54618 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54620 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54621 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54622 * sysdeps/pthread/lio_listio.c: Likewise.
54623 * sysdeps/sparc/dl-procinfo.h: Likewise.
54624 * sysdeps/unix/i386/sysdep.S: Likewise.
54625 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54626 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54627 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54628 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54630 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54631 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54632 * sysdeps/unix/sysv/linux/speed.c: Likewise.
54633 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54634 * sysdeps/wordsize-32/divdi3.c: Likewise.
54635 * time/sys/time.h: Likewise.
54636 * wcsmbs/Makefile: Likewise.
54637
54638 2013-01-01 David S. Miller <davem@davemloft.net>
54639
54640 * po/fr.po: Update from translation team.
54641
54642 * catgets/gencat.c: Update copyright year.
54643 * csu/version.c: Likewise.
54644 * debug/catchsegv.sh: Likewise.
54645 * debug/pcprofiledump.c: Likewise.
54646 * debug/xtrace.sh: Likewise.
54647 * elf/ldconfig.c: Likewise.
54648 * elf/ldd.bash.in: Likewise.
54649 * elf/pldd.c: Likewise.
54650 * elf/sotruss.ksh: Likewise.
54651 * elf/sprof.c: Likewise.
54652 * iconv/iconv_prog.c: Likewise.
54653 * iconv/iconvconfig.c: Likewise.
54654 * locale/programs/locale.c: Likewise.
54655 * locale/programs/localedef.c: Likewise.
54656 * login/programs/pt_chown.c: Likewise.
54657 * malloc/memusage.sh: Likewise.
54658 * malloc/memusagestat.c: Likewise.
54659 * malloc/mtrace.pl: Likewise.
54660 * nscd/nscd.c: Likewise.
54661 * nss/getent.c: Likewise.
54662 * nss/makedb.c: Likewise.
54663 * posix/getconf.c: Likewise.
54664
54665 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54666
54667 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54668 numbers.
54669
54670 2012-12-30 Mike Frysinger <vapier@gentoo.org>
54671
54672 * math/bits/mathcalls.h (modf): Use __nonnull.
54673
54674 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54675
54676 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54677 (split): Use macro CN instead of the bare value.
54678 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54679 could be used.
54680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54681 instead of the bare value.
54682 (power1): Likewise.
54683
54684 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54685
54686 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54687 __ATAN_TWOM.
54688 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54689
54690 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54691 their values.
54692 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54693 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54694 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54695 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54696
54697 2012-12-28 Andreas Jaeger <aj@suse.de>
54698
54699 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
54700 values are from Linux 3.7.
54701
54702 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54703 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
54704
54705 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54706
54707 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54708 TRUE case.
54709
54710 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54711 (norm): Likewise.
54712 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54713 variables with preprocessor constants.
54714 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54715 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54716 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54717
54718 2012-12-27 Bruno Haible <bruno@clisp.org>
54719
54720 [BZ #14317]
54721 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54722 only if needed.
54723
54724 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54725
54726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54727 and use variable directly.
54728 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54729
54730 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54731 MPONE.
54732 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54734 variable MPONE.
54735 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54737 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54738 include directive. Remove local variable MPONE.
54739 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54740 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54741 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54742
54743 2012-12-25 David S. Miller <davem@davemloft.net>
54744
54745 * version.h (RELEASE): Set to "development".
54746 (VERSION): Set to "2.17.90".
54747 * NEWS: Add 2.18 section.
54748
54749 2012-12-21 David S. Miller <davem@davemloft.net>
54750
54751 * po/hr.po: Update from translation team.
54752
54753 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54754
54755 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54756
54757 2012-12-19 Steve Ellcey <sellcey@mips.com>
54758
54759 * NEWS: Mention new memcpy for MIPS.
54760
54761 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54762
54763 * manual/contrib.texi (Contributors): Spelling correction.
54764
54765 2012-12-15 David S. Miller <davem@davemloft.net>
54766
54767 * po/ru.po: Update from translation team.
54768
54769 2012-12-13 David S. Miller <davem@davemloft.net>
54770
54771 * NEWS: Mention IFUNC testsuite enhancements.
54772
54773 * po/pl.po: Update from translation team.
54774 * po/bg.po: Likewise.
54775
54776 * manual/contrib.texi (Contributors): Update entries for Hongjiu
54777 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
54778
54779 2012-12-11 David S. Miller <davem@davemloft.net>
54780
54781 * po/sv.po: Update from translation team.
54782
54783 * po/vi.po: Update from translation team.
54784
54785 * po/cs.po: Update from translation team.
54786
54787 * po/de.po: Update from translation team.
54788 * po/eo.po: Likewise.
54789 * po/nl.po: Likewise.
54790
54791 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54792
54793 [BZ #14246]
54794 * manual/argp.texi (Argp Helper Functions): Move node to follow
54795 Argp Parsing State.
54796
54797 [BZ #14872]
54798 * manual/conf.texi (Limits on File System Capacity): Mention if
54799 terminating null is included in the max size.
54800
54801 2012-12-10 Andreas Jaeger <aj@suse.de>
54802
54803 * po/cs.po: Update from translation team.
54804
54805 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
54806
54807 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54808 void pointer and cast to uintptr_t.
54809 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54810 path.
54811 * sysdeps/s390/s390-64/memcpy.S: Likewise.
54812 * sysdeps/s390/s390-64/memset.S: Likewise.
54813
54814 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
54815
54816 [BZ #14833]
54817 * menual/message.texi (Message Translation): Fix typos.
54818 (Helper programs for gettext): Likewise.
54819
54820 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
54821
54822 [BZ #14898]
54823 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54824 Change to -1.
54825
54826 2012-12-07 David S. Miller <davem@davemloft.net>
54827
54828 * po/libc.pot: Update.
54829
54830 2012-12-07 Richard Henderson <rth@redhat.com>
54831
54832 [BZ #10114]
54833 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54834 normal/normal case to before the switch.
54835 (_FP_DIV): Likewise.
54836
54837 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
54838 Mike Frysinger <vapier@gentoo.org>
54839
54840 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54841 check for __NR_fadvise64_64.
54842
54843 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
54844
54845 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54846 0, not just to plain "0" as a statement.
54847 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54848 with cw.
54849
54850 2012-12-06 Joseph Myers <joseph@codesourcery.com>
54851
54852 * NEWS: Use sourceware.org in Bugzilla URL.
54853
54854 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
54855
54856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54857 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54858
54859 * stdio-common/tst-put-error.c (do_test): Add newline to the
54860 padded test to ensure flush.
54861
54862 2012-12-05 Jeff Law <law@redhat.com>
54863
54864 * sunrpc/etc.rpc (fedfs_admin): Add entry.
54865
54866 2012-12-05 Joseph Myers <joseph@codesourcery.com>
54867
54868 * README: Don't refer to ports add-on as distributed separately.
54869 Mention AArch64 in list of systems supported in the ports add-on.
54870
54871 * LICENSES: Add more non-FSF copyright and license notices.
54872
54873 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54874 ((unused)).
54875
54876 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54877
54878 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54879 10000 as width of padded output.
54880
54881 2012-12-04 Joseph Myers <joseph@codesourcery.com>
54882
54883 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54884
54885 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54886 variable LX with __attribute__ ((unused)).
54887 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54888 Likewise.
54889 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54890 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54891 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54892 with __attribute__ ((unused)).
54893
54894 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
54895
54896 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54897
54898 2012-12-04 Joseph Myers <joseph@codesourcery.com>
54899
54900 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54901 (CFLAGS-nldbl-acos.c): New variable.
54902 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54903 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54904 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54905 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54906 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54907 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54908 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54909 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54910 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54911 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54912 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54913 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54914 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54915 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54916 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54917 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54918 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54919 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54920 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54921 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54922 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54923 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54924 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54925 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54926 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54927 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54928 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54929 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54930 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54931 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54932 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54933 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54934 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54935 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54936 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54937 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54938 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54939 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54940 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54941 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54942 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54943 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54944 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54945 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54946 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54947 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54948 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54949 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54950 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54951 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54952 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54953 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54954 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54955 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54956 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54957 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54958 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54959 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54960 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54961 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54962 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54963 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54964 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54965 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54966 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54967 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54968 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54969 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54970 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54971 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54972 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54973 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54974 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54975 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54976 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54977 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54978 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54979 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54980 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54981 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54982 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54983 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54984 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54985 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54986 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54987 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54988 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54989 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54990 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54991 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54992 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54993 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54994 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54995 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54996 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54997 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54998 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54999
55000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55001 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55002
55003 [BZ #14914]
55004 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55005 whole low double instead of just low 47 bits when splitting values
55006 into two parts.
55007
55008 2012-12-03 Allan McRae <allan@archlinux.org>
55009
55010 * manual/stdio.texi (Predefined Printf Handlers): Remove
55011 @hsep and @vsep usage.
55012
55013 2012-12-03 Mike Frysinger <vapier@gentoo.org>
55014
55015 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55016 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55017
55018 2012-12-03 Jeff Law <law@redhat.com>
55019
55020 * time/sys/time.h (settimeofday): Do not mark TV argument
55021 as __nonnull.
55022
55023 2012-12-01 Mike Frysinger <vapier@gentoo.org>
55024
55025 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55026 when currently writing and seek to current position when not.
55027 * libio/Makefile (tests): Remove bug-fclose1.
55028 * libio/bug-fclose1.c: Delete.
55029
55030 2012-12-01 Joseph Myers <joseph@codesourcery.com>
55031
55032 * manual/arith.texi (feenableexcept): Fix typo.
55033 (fedisableexcept): Likewise.
55034
55035 2012-11-30 Roland McGrath <roland@hack.frob.com>
55036
55037 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55038 second, differently-typed declaration, rather than a cast.
55039
55040 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55041
55042 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55043 * include/rpc/svc.h: ... here.
55044
55045 2012-11-30 Aurelien Jarno <aurel32@debian.org>
55046
55047 [BZ #13013]
55048 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55049 depending n and resplen2 to catch cases where answer
55050 equals answerp2.
55051
55052 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
55053
55054 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55055 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55056
55057 2012-11-29 Mike Frysinger <vapier@gentoo.org>
55058
55059 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55060
55061 2012-11-29 Roland McGrath <roland@hack.frob.com>
55062
55063 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55064
55065 2012-11-28 Jeff Law <law@redhat.com>
55066
55067 [BZ #13761]
55068 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55069 dataset_temporary. Track alloca usage into alloca_used.
55070 If dataset is large allocate and release it via malloc/free.
55071
55072 2012-06-04 Florian Weimer <fweimer@redhat.com>
55073
55074 [BZ #14197]
55075 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55076
55077 2012-11-28 David S. Miller <davem@davemloft.net>
55078
55079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55080
55081 2012-11-28 Joseph Myers <joseph@codesourcery.com>
55082
55083 [BZ #14803]
55084 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55085 of pi/2 rounded to nearest to 64 bits.
55086 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55087 nearest to 64 bits.
55088 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55089 bits.
55090
55091 2012-11-28 Jeff Law <law@redhat.com>
55092 Martin Osvald <mosvald@redhat.com>
55093
55094 [BZ #14889]
55095 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55096 * sunrpc/svc.c: Include time.h.
55097 (__svc_accept_failed): New function.
55098 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55099 any reason other than EINTR, call __svc_accept_failed.
55100 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55101 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55102
55103 2012-11-28 Andreas Schwab <schwab@suse.de>
55104
55105 * scripts/abilist.awk: Also handle indirect functions in .opd
55106 section.
55107
55108 2012-11-28 Joseph Myers <joseph@codesourcery.com>
55109
55110 [BZ #13881]
55111 * sysdeps/x86/fpu/powl_helper.c: New file.
55112 * sysdeps/x86/fpu/Makefile: Likewise.
55113 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55114 (p3): New object.
55115 (__ieee754_powl): Use __powl_helper for finite arguments except
55116 integer exponents below 8.
55117 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55118 (p3): New object.
55119 (__ieee754_powl): Use __powl_helper for finite arguments except
55120 integer exponents below 8.
55121 * math/libm-test.inc (pow_test): Add more tests and enable some
55122 previously disabled tests.
55123 * sysdeps/i386/fpu/libm-test-ulps: Update.
55124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55125
55126 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55127 Carlos O'Donell <carlos_odonell@mentor.com>
55128
55129 * nss/makedb.c (is_prime): Assert that input is odd and greater
55130 than 4. Note that fact in a comment too.
55131 (next_prime): Add 4 to input.
55132
55133 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
55134
55135 [BZ #11741]
55136 * libio/Makefile (tests): Add test case tst-fwrite-error.
55137 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55138 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55139 * libio/tst-fwrite-error.c: New test case.
55140
55141 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
55142
55143 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55144 before casting to void *.
55145 * include/libc-internal.h (__pointer_type): New macro.
55146 (__integer_if_pointer_type_sub): Likewise.
55147 (__integer_if_pointer_type): Likewise.
55148 (cast_to_integer): Likewise.
55149 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55150 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55151 before casting to atomic64_t.
55152 (atomic_exchange_acq): Likewise.
55153 (__arch_exchange_and_add_body): Likewise.
55154 (__arch_add_body): Likewise.
55155 (atomic_add_negative): Likewise.
55156 (atomic_add_zero): Likewise.
55157
55158 2012-11-26 Joseph Myers <joseph@codesourcery.com>
55159
55160 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55161 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55162 (add_fdes): Likewise.
55163 (linear_search_fdes): Likewise.
55164 (binary_search_unencoded_fdes): Likewise.
55165
55166 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
55167
55168 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55169
55170 2012-11-24 Adam Conrad <adconrad@0c3.net>
55171
55172 * configure.in: Autodetect C++ header directories.
55173 * configure: Regenerated.
55174
55175 2012-11-23 Mike Frysinger <vapier@gentoo.org>
55176
55177 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55178
55179 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
55180
55181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55182
55183 2012-11-22 Joseph Myers <joseph@codesourcery.com>
55184
55185 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55186 LDBL_MANT_DIG == 106]: Disable some tests.
55187 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55188 Likewise.
55189 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55190 Likewise.
55191
55192 [BZ #14871]
55193 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55194 input for small inputs. Return +/- pi/2 for large inputs.
55195 * math/libm-test.inc (atan_test): Add more tests.
55196
55197 * sysdeps/generic/unwind-dw2-fde-glibc.c
55198 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55199 __attribute__ ((unused)).
55200
55201 [BZ #14645]
55202 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55203 x * y if x and y are nonzero and z is zero.
55204
55205 [BZ #14811]
55206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55207 nonzero exponents with absolute value below 0x1p-117 to +/-
55208 0x1p-117.
55209
55210 [BZ #14869]
55211 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55212 up arguments below 2**-450, not just those below 2**-500.
55213 * math/libm-test.inc (hypot_test): Add another test.
55214
55215 [BZ #14868]
55216 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55217 Return a+b for ratio over 2**120, not 2**60.
55218 * math/libm-test.inc (hypot_test): Add another test.
55219
55220 * math/libm-test.inc (clog_test): Use
55221 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55222 (clog10_test): Likewise.
55223
55224 [BZ #6778]
55225 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55226
55227 2012-11-22 Andreas Schwab <schwab@suse.de>
55228
55229 * sysdeps/i386/fpu/libm-test-ulps: Update.
55230
55231 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
55232
55233 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55234 printf output with newline.
55235
55236 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
55237
55238 [BZ #14865]
55239 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55240 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55241 -z nodlopen, -z initfirst and -z execstack support.
55242 * configure: Regenerated.
55243
55244 * elf/elf.h (DF_1_NODIRECT): New macro.
55245 (DF_1_IGNMULDEF): Likewise.
55246 (DF_1_NOKSYMS): Likewise.
55247 (DF_1_NOHDR): Likewise.
55248 (DF_1_EDITED): Likewise.
55249 (DF_1_NORELOC): Likewise.
55250 (DF_1_SYMINTPOSE): Likewise.
55251 (DF_1_GLOBAUDIT): Likewise.
55252 (DF_1_SINGLETON): Likewise.
55253 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55254 DT_1_SUPPORTED_MASK bits.
55255 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55256
55257 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
55258
55259 * sysdeps/unix/make-syscalls.sh: Document prefixes.
55260
55261 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
55262
55263 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55264 macro.
55265
55266 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55267 (sendmmsg): Move declarations...
55268 * socket/sys/socket.h: ... here.
55269 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55270 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55271 include it from...
55272 * socket/recvmmsg.c: ... this new file.
55273 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55274 (sendmmsg): Rename to __sendmmsg, create weak alias and make
55275 definition of __sendmmsg hidden.
55276 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55277 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55278 Move ENOSYS stub into and include it from...
55279 * socket/sendmmsg.c: ... this new file.
55280 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55281 (sysdep_routines): Move recvmmsg and sendmmsg...
55282 * socket/Makefile (routines): ... here.
55283 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55284 (GLIBC_PRIVATE): Add __sendmmsg.
55285 * include/sys/socket.h (__sendmmsg): Add declarations.
55286 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55287 sendmmsg.
55288
55289 2012-11-20 Joseph Myers <joseph@codesourcery.com>
55290
55291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55292 variable I1 with __attribute__ ((unused)).
55293 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55294
55295 2012-11-19 Joseph Myers <joseph@codesourcery.com>
55296
55297 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55298 DUMMY variables with __attribute__ ((unused)).
55299
55300 * bits/byteswap.h: Include <bits/types.h>.
55301 (__bswap_64): Use __uint64_t instead of unsigned long long int.
55302
55303 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
55304
55305 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55306 string_t. Do not manually set errno.
55307 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55308 length with __strnlen. Make sure to both set errno and return it on
55309 failure.
55310
55311 2012-11-19 David S. Miller <davem@davemloft.net>
55312
55313 With help from Joseph Myers.
55314 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55315 very large arguments properly.
55316 * math/libm-test.inc (atan_test): New tests.
55317 (atan2_test): New tests.
55318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55320
55321 2012-11-19 Joseph Myers <joseph@codesourcery.com>
55322
55323 [BZ #14856]
55324 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55325 Define to 3.
55326
55327 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55328 [POSIX] (EADDRNOTAVAIL): Likewise.
55329 [POSIX] (EAFNOSUPPORT): Likewise.
55330 [POSIX] (EALREADY): Likewise.
55331 [POSIX] (ECONNABORTED): Likewise.
55332 [POSIX] (ECONNREFUSED): Likewise.
55333 [POSIX] (ECONNRESET): Likewise.
55334 [POSIX] (EDESTADDRREQ): Likewise.
55335 [POSIX] (EDQUOT): Likewise.
55336 [POSIX] (EHOSTUNREACH): Likewise.
55337 [POSIX] (EIDRM): Likewise.
55338 [POSIX] (EISCONN): Likewise.
55339 [POSIX] (ELOOP): Likewise.
55340 [POSIX] (EMULTIHOP): Likewise.
55341 [POSIX] (ENETDOWN): Likewise.
55342 [POSIX] (ENETUNREACH): Likewise.
55343 [POSIX] (ENOBUFS): Likewise.
55344 [POSIX] (ENODATA): Likewise.
55345 [POSIX] (ENOLINK): Likewise.
55346 [POSIX] (ENOMSG): Likewise.
55347 [POSIX] (ENOPROTOOPT): Likewise.
55348 [POSIX] (ENOSR): Likewise.
55349 [POSIX] (ENOSTR): Likewise.
55350 [POSIX] (ENOTCONN): Likewise.
55351 [POSIX] (ENOTSOCK): Likewise.
55352 [POSIX] (EOPNOTSUPP): Likewise.
55353 [POSIX] (EOVERFLOW): Likewise.
55354 [POSIX] (EPROTO): Likewise.
55355 [POSIX] (EPROTONOSUPPORT): Likewise.
55356 [POSIX] (EPROTOTYPE): Likewise.
55357 [POSIX] (ESTALE): Likewise.
55358 [POSIX] (ETIME): Likewise.
55359 [POSIX] (ETXTBSY): Likewise.
55360 [POSIX] (EWOULDBLOCK): Likewise.
55361 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55362 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55363 [POSIX] (SEEK_CUR): Likewise.
55364 [POSIX] (SEEK_END): Likewise.
55365 [POSIX || UNIX98] (mode_t): Do not require.
55366 [POSIX] (off_t): Likewise.
55367 [POSIX] (pid_t): Likewise.
55368 [POSIX] (sys/stat.h): Do not allow header.
55369 [POSIX] (unistd.h): Likewise.
55370 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55371 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55372 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55373 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55374 require.
55375 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55376 sigevent): Specify elements.
55377 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55378 entry.
55379 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55380 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55381
55382 * conform/data/cpio.h-data [POSIX]: Disable whole file.
55383 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55384 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55385 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55386 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55387 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55388 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55389 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55390 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55391 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55392 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55393 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55394 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55395 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55396 Likewise.
55397 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55398 Likewise.
55399 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55400 Likewise.
55401 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55402 Likewise.
55403 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55404 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55405 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55406 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55407 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55408 Specify lower bound on value.
55409 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55410 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55411 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55412 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55413 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55414 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55415 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55416 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55417 value.
55418 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55419 as optional.
55420 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55421 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55422 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55423 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55424 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55425 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55426 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55427 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55428 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55429 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55430 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55431 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55432 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55433 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55434 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55435 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55436 entry.
55437 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55438 optional.
55439 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55440 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55441 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55442 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55443 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55444 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55445 Likewise.
55446 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55447 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55448 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55449 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55450 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
55451 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55452 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55453 as optional.
55454 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55455 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55456 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55457 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55458 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55459 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55460 specify as optional.
55461 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55462 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55463 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55464 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55465 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55466 [XPG3] (NL_LANGMAX): Likewise.
55467 [POSIX || XPG3] (NL_MSGMAX): Likewise.
55468 [POSIX || XPG3] (NL_NMAX): Likewise.
55469 [POSIX || XPG3] (NL_SETMAX): Likewise.
55470 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55471 [XPG3] (NZERO): Likewise.
55472 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55473 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55474 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55475 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55476 (REG_ERANGE): Expect.
55477 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55478 optional-constant.
55479 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55480 Use (void) in prototype.
55481 [POSIX] (*_t): Allow.
55482 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55483 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55484 (WRDE_BADVAL): Expect.
55485
55486 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55487 expect.
55488 [XPG3 || XPG4] (O_RSYNC): Likewise.
55489 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55490 Likewise.
55491 [XPG3 || XPG4] (pthread_sigmask): Likewise.
55492 [XPG3 || XPG4] (sigqueue): Likewise.
55493 [XPG3 || XPG4] (sigtimedwait): Likewise.
55494 [XPG3 || XPG4] (sigwaitinfo): Likewise.
55495 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55496 [XPG3 || XPG4] (vsnprintf): Likewise.
55497 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55498 Likewise.
55499 [XPG3 || XPG4] (blksize_t): Likewise.
55500 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55501 Likewise.
55502 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55503 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55504 [XPG3 || XPG4] (struct itimerspec): Likewise.
55505 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55506 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55507 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55508 [XPG3 || XPG4] (clockid_t): Likewise.
55509 [XPG3 || XPG4] (timer_t): Likewise.
55510 [XPG3 || XPG4] (clock_getres): Likewise.
55511 [XPG3 || XPG4] (clock_gettime): Likewise.
55512 [XPG3 || XPG4] (clock_settime): Likewise.
55513 [XPG3 || XPG4] (nanosleep): Likewise.
55514 [XPG3 || XPG4] (timer_create): Likewise.
55515 [XPG3 || XPG4] (timer_delete): Likewise.
55516 [XPG3 || XPG4] (timer_gettime): Likewise.
55517 [XPG3 || XPG4] (timer_getoverrun): Likewise.
55518 [XPG3 || XPG4] (timer_settime): Likewise.
55519 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55520 [XPG3 || XPG4] (getlogin_r): Likewise.
55521 [XPG3 || XPG4] (pread): Likewise.
55522 [XPG3 || XPG4] (pthread_atfork): Likewise.
55523 [XPG3 || XPG4] (pwrite): Likewise.
55524
55525 [BZ #14835]
55526 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55527 <bits/siginfo.h>.
55528
55529 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
55530
55531 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55532 finalizing MALLSTREAM.
55533
55534 * sysdeps/mach/hurd/syncfs.c: New file.
55535
55536 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
55537
55538 [BZ #14719]
55539 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55540 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55541 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55542 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55543 (_nss_dns_gethostbyname4_r): Likewise.
55544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55545 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55546
55547 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
55548
55549 [BZ #13763]
55550 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55551
55552 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
55553
55554 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55555 * elf/cache.c (print_entry): Print ",AArch64" for
55556 FLAG_AARCH64_LIB64
55557
55558 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55559 * elf/cache.c (print_entry): Print ",hard-float" for
55560 FLAG_ARM_LIBHF.
55561
55562 2012-11-18 David S. Miller <davem@davemloft.net>
55563
55564 With help from Joseph Myers.
55565 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55566 cutoff to 2**-13.
55567 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55568 cutoff to 2**-25.
55569 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55570 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55571 small.
55572 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55573 * math/libm-test.inc (y0_test): New tests.
55574 (y1_test): New tests.
55575 * sysdeps/i386/fpu/libm-test-ulps: Update.
55576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55578
55579 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
55580
55581 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55582 64-bit targets.
55583 * configure: Regenerated.
55584
55585 2012-11-17 David S. Miller <davem@davemloft.net>
55586
55587 [BZ #14811]
55588 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55589 nonzero exponents with absolute value below 0x1p-128 to +/-
55590 0x1p-128.
55591
55592 2012-11-17 Joseph Myers <joseph@codesourcery.com>
55593
55594 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55595
55596 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55597
55598 * posix/getconf-speclist.c: New file.
55599 * posix/posix-envs.def: Likewise.
55600 * posix/confstr.c (START_ENV_GROUP): New macro.
55601 (END_ENV_GROUP): Likewise.
55602 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55603 (KNOWN_PRESENT_ENV_STRING): Likewise.
55604 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55605 (UNKNOWN_ENVIRONMENT): Likewise.
55606 (confstr): Include posix-envs.def instead of handling
55607 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55608 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55609 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55610 (END_ENV_GROUP): Likewise.
55611 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55612 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55613 (UNKNOWN_ENVIRONMENT): Likewise.
55614 (__sysconf): Include posix-envs.def instead of handling associated
55615 cases directly here.
55616 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55617 preprocessing getconf-speclist.c rather than running getconf or
55618 generating empty file.
55619
55620 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
55621
55622 * scripts/check-local-headers.sh: Ignore 'mach' headers.
55623
55624 2012-11-16 Andrej Lajovic <natrij@gmail.com>
55625
55626 [BZ #14672]
55627 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55628
55629 2012-11-16 David S. Miller <davem@davemloft.net>
55630
55631 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55632 smaller than LDBL_EPSILON/2.0L, just return xm1.
55633
55634 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
55635
55636 * elf/tst-array1.c (init): Set constructor priority to 1000.
55637 (fini): Set destructor priority to 1000.
55638 * elf/tst-array2dep.c: Likewise.
55639
55640 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
55641
55642 [BZ #11741]
55643 * libio/fileops.c (_IO_new_file_write): Correctly return error.
55644 (_IO_new_file_xsputn): Also return EOF if none of the input
55645 data was written when overflow failed.
55646 * libio/iopadn.c (_IO_padn): Likewise.
55647 * libio/iowpadn.c (_IO_wpadn): Likewise.
55648 * stdio-common/tst-put-error.c: Add copyright notice.
55649 (do_test): Add case for printing padded string.
55650 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55651 _IO_padn returned error.
55652 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55653 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55654 return EOF.
55655
55656 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
55657
55658 * libio/libioP.h: Add comment note that the references to C++
55659 bits are now obsolete.
55660
55661 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55662
55663 * math/libm-test.inc (check_complex): Use asprintf.
55664
55665 2012-11-14 Joseph Myers <joseph@codesourcery.com>
55666
55667 * debug/pcprofiledump.c (print_version): Update copyright year.
55668 * malloc/memusagestat.c (print_version): Likewise.
55669
55670 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
55671
55672 [BZ #14831]
55673 * elf/Makefile (tests): Add tst-audit8.
55674 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55675 ($(objpfx)tst-audit8.out): New target.
55676 (tst-audit8-ENV): New variable.
55677 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55678 audit if l_reloc_result is NULL.
55679 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55680 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55681 * elf/tst-audit8.c: New file.
55682
55683 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55684
55685 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55686 * misc/Makefile (CFLAGS-select.c): Define.
55687 * posix/Makefile (CFLAGS-pause.c): Define.
55688
55689 2012-11-13 David S. Miller <davem@davemloft.net>
55690
55691 * crypt/Makefile: Move test targets after toplevel Rules
55692 inclusion. Grab any necessary sysdep routines when linking.
55693 * crypt/md5.c (md5_process_block): Remove define, we will always
55694 name it __md5_process_block.
55695 (md5_finish_ctx): Update md5_process_block call.
55696 (md5_stream): Likewise.
55697 (md5_process_bytes): Likewise.
55698 (md5_process_block): Rename to __md5_process_block and move to ...
55699 * crypt/md5-block.c: ... here.
55700 * crypt/sha256.c (sha256_process_block): Move to ...
55701 * crypt/sha256-block.c: ... here.
55702 * crypt/sha512.c (sha512_process_block): Move to ...
55703 * crypt/sha512-block.c: ... here.
55704 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55705 path.
55706 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55707 * sysdeps/sparc/sparc64/multiarch/Makefile
55708 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55709 crypt subdir.
55710 (localedef-aux): Add md5 crypto assembler when in locale subdir.
55711 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55712 multiarch changes.
55713 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55714 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55715 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55716 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55717 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55718 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55719 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55720 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55721 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55722 file.
55723 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55724 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55725 file.
55726 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55727
55728 2012-11-13 Joseph Myers <joseph@codesourcery.com>
55729
55730 * timezone/tzselect.ksh: Update from tzcode git revision
55731 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55732 * timezone/zdump.c: Likewise.
55733 * timezone/zic.c: Likewise.
55734 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55735 in TZVERSION setting, not $(PKGVERSION).
55736 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
55737 REPORT_BUGS_TO settings.
55738
55739 [BZ #14838]
55740 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55741 macro.
55742
55743 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55744
55745 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55746 detection to immediately after _FP_ROUND().
55747 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55748 bits are 0.
55749
55750 2012-11-11 David S. Miller <davem@davemloft.net>
55751
55752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55753 inttypes.h
55754 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55755 __close rather than their public counterparts.
55756
55757 2012-11-10 Joseph Myers <joseph@codesourcery.com>
55758
55759 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55760 file.
55761 [UNIX98] (sem_timedwait): Do not expect.
55762 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55763 [XPG4 || UNIX98] (sockatmark): Do not expect.
55764 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55765 (clock_getcpuclockid): Do not expect.
55766 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55767 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55768 Do not expect.
55769 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55770 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55771 [UNIX98] (vwscanf): Likewise.
55772 [UNIX98] (vswscanf): Likewise.
55773
55774 2012-11-09 Joseph Myers <joseph@codesourcery.com>
55775
55776 * timezone/version.h: Remove file.
55777 * timezone/README: Do not refer to version.h.
55778 * timezone/Makefile ($(objpfx)zic.o): New dependency on
55779 $(objpfx)version.h.
55780 ($(objpfx)zdump.o): Likewise.
55781 ($(objpfx)version.h): New target.
55782
55783 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55784 2012i.
55785 * timezone/README: Don't mention modification to tzselect.ksh.
55786 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55787 work on unmodified tzselect.ksh. Substitute version numbers in
55788 tzselect.ksh.
55789
55790 * Makefile (format-me): Remove.
55791 (INSTALL): Adjust indentation. Use commands directly instead of
55792 using $(format-me).
55793
55794 * aclocal.m4 (ACX_PKGVERSION): New macro.
55795 (ACX_BUGURL): Likewise.
55796 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55797 (PKGVERSION): New AC_DEFINE_UNQUOTED.
55798 (REPORT_BUGS_TO): Likewise.
55799 * configure: Regenerated.
55800 * config.h.in (PKGVERSION): New macro.
55801 (REPORT_BUGS_TO): Likewise.
55802 * config.make.in (PKGVERSION): New variable.
55803 (PKGVERSION_TEXI): Likewise.
55804 (REPORT_BUGS_TO): Likewise.
55805 (REPORT_BUGS_TEXI): Likewise.
55806 * Makefile (format-me): Use -I$(common-objpfx)manual.
55807 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55808 ($(common-objpfx)manual/%): New target.
55809 (manual/%): Remove target.
55810 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55811 (print_version): Use PKGVERSION.
55812 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55813 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55814 and REPORT_BUGS_TO.
55815 ($(objpfx)xtrace): Likewise.
55816 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55817 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55818 (print_version): Use PKGVERSION.
55819 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55820 (do_version): Use PKGVERSION.
55821 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55822 REPORT_BUGS_TO.
55823 (common-ldd-rewrite): Likewise.
55824 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55825 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55826 (print_version): Use PKGVERSION.
55827 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55828 * elf/pldd.c (argp_program_bug_address): Remove variable.
55829 (more_help): New function.
55830 (argp): Use more_help.
55831 (print_version): Use PKGVERSION.
55832 * elf/sln.c (main): Use PKGVERSION.
55833 (usage): Use REPORT_BUGS_TO.
55834 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55835 (top level): Use PKGVERSION.
55836 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55837 (print_version): Use PKGVERSION.
55838 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55839 (print_version): Use PKGVERSION.
55840 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55841 (print_version): Use PKGVERSION.
55842 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55843 (print_version): Use PKGVERSION.
55844 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55845 (print_version): Use PKGVERSION.
55846 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55847 (print_version): Use PKGVERSION.
55848 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55849 and BUGURL.
55850 ($(objpfx)memusage): Likewise.
55851 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55852 (do_version): Use PKGVERSION.
55853 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55854 (print_version): Use PKGVERSION.
55855 * malloc/mtrace.pl ($PACKAGE): Remove variable.
55856 ($PKGVERSION): New variable.
55857 ($REPORT_BUGS_TO): Likewise.
55858 (usage): Use $REPORT_BUGS_TO.
55859 (top level): Use $PKGVERSION.
55860 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55861 ($(objpfx)pkgvers.texi): New rule.
55862 ($(objpfx)stamp-pkgvers): Likewise.
55863 * manual/install.texi: Include pkgvers.texi.
55864 (--with-pkgversion): Document new configure option.
55865 (--with-bugurl): Likewise.
55866 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55867 than necessarily for this particular distribution. Use
55868 REPORT_BUGS_TO for where to report bugs.
55869 * INSTALL: Regenerated.
55870 * manual/libc.texinfo: Include pkgvers.texi.
55871 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55872 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55873 (print_version): Use PKGVERSION.
55874 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55875 (print_version): Use PKGVERSION.
55876 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55877 (print_version): Use PKGVERSION.
55878 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55879 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55880 macro.
55881 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55882 (print_version): Use PKGVERSION.
55883 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55884 (print_version): Use PKGVERSION.
55885 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55886 and PKGVERSION.
55887
55888 * timezone/checktab.awk: Update from tzcode 2012i.
55889 * timezone/ialloc.c: Likewise.
55890 * timezone/private.h: Likewise.
55891 * timezone/scheck.c: Likewise.
55892 * timezone/tzfile.h: Likewise.
55893 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55894 (TZVERSION): Hardcode tzcode version number.
55895 * timezone/zdump.c: Update from tzcode 2012i.
55896 * timezone/zic.c: Likewise.
55897 * timezone/version.h: New file.
55898 * timezone/README: Describe version.h. Update upstream location.
55899
55900 [BZ #14824]
55901 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55902 (mktemp): Enable declaration.
55903 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55904 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55905 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55906 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55907 Likewise.
55908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55909 Likewise.
55910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55911 Likewise.
55912 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55913 Likewise.
55914 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55915 Likewise.
55916 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55917 Likewise.
55918
55919 [BZ #14821]
55920 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55921 offset in buffer as u_int32_t not u_long. Consistently use memcpy
55922 for copies of such integer values.
55923 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55924 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55925
55926 2012-11-09 Andreas Jaeger <aj@suse.de>
55927
55928 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55929 definitions and declarations that are provided by
55930 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55931
55932 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55933
55934 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55935 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55936 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55937 definition.
55938
55939 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55940
55941 * elf/elf.h: Update comment before AArch64 relocations.
55942
55943 2012-11-07 David S. Miller <davem@davemloft.net>
55944
55945 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55946 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55947 (__start_context): Declare.
55948 (__makecontext_ret): Delete.
55949 (__makecontext): Hook up __start_context instead of
55950 __makecontext_ret.
55951 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55952 (sysdep_routines): Add __start_context when in stdlib.
55953
55954 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55955
55956 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55957 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55958 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
55959 hardcoded "nm".
55960 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
55961 (READELF): New variable. Use it instead of hardcoded "readelf".
55962
55963 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
55964
55965 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55966 * sysdeps/x86/Makefile: Here.
55967 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55968 * sysdeps/x86/tst-xmmymm.sh: This.
55969
55970 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55971
55972 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55973 expectations.
55974 [UNIX98] (pthread_barrier_t): Do not expect.
55975 [UNIX98] (pthread_barrierattr_t): Likewise.
55976 [UNIX98] (pthread_spinlock_t): Likewise.
55977 [UNIX98] (pthread_barrier_destroy): Likewise.
55978 [UNIX98] (pthread_barrier_init): Likewise.
55979 [UNIX98] (pthread_barrier_wait): Likewise.
55980 [UNIX98] (pthread_barrierattr_destroy): Likewise.
55981 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55982 [UNIX98] (pthread_barrierattr_init): Likewise.
55983 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55984 [UNIX98] (pthread_getcpuclockid): Likewise.
55985 [UNIX98] (pthread_mutex_timedlock): Likewise.
55986 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55987 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55988 [UNIX98] (pthread_sigmask): Likewise.
55989 [UNIX98] (pthread_spin_destroy): Likewise.
55990 [UNIX98] (pthread_spin_init): Likewise.
55991 [UNIX98] (pthread_spin_lock): Likewise.
55992 [UNIX98] (pthread_spin_trylock): Likewise.
55993 [UNIX98] (pthread_spin_unlock): Likewise.
55994 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55995 Do not expect.
55996 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55997 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55998 [XPG3 || XPG4] (pthread_cond_t): Likewise.
55999 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56000 [XPG3 || XPG4] (pthread_key_t): Likewise.
56001 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56002 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56003 [XPG3 || XPG4] (pthread_once_t): Likewise.
56004 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56005 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56006 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56007 [XPG3 || XPG4] (pthread_t): Likewise.
56008
56009 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56010 not expect.
56011 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56012
56013 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56014 Change function return type to int.
56015
56016 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56017 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56018 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56019 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56020 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56021 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56022 [!POSIX] (posix_madvise): Likewise.
56023 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56024 && !UNIX98].
56025 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56026 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56027 (mode_t): Likewise.
56028 (posix_mem_offset): Likewise.
56029 (posix_typed_mem_get_info): Likewise.
56030 (posix_typed_mem_open): Likewise.
56031
56032 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56033 Change condition to [XOPEN2K8].
56034
56035 * conform/conformtest.pl: Preprocess allow-header data with -x c
56036 instead of from stdin.
56037 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56038 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56039 [C99-based standards] (cerfc): Likewise.
56040 [C99-based standards] (cexp2): Likewise.
56041 [C99-based standards] (cexpm1): Likewise.
56042 [C99-based standards] (clog10): Likewise.
56043 [C99-based standards] (clog1p): Likewise.
56044 [C99-based standards] (clog2): Likewise.
56045 [C99-based standards] (clgamma): Likewise.
56046 [C99-based standards] (ctgamma): Likewise.
56047 [C99-based standards] (cerff): Likewise.
56048 [C99-based standards] (cerfcf): Likewise.
56049 [C99-based standards] (cexp2f): Likewise.
56050 [C99-based standards] (cexpm1f): Likewise.
56051 [C99-based standards] (clog10f): Likewise.
56052 [C99-based standards] (clog1pf): Likewise.
56053 [C99-based standards] (clog2f): Likewise.
56054 [C99-based standards] (clgammaf): Likewise.
56055 [C99-based standards] (ctgammaf): Likewise.
56056 [C99-based standards] (cerfl): Likewise.
56057 [C99-based standards] (cerfcl): Likewise.
56058 [C99-based standards] (cexp2l): Likewise.
56059 [C99-based standards] (cexpm1l): Likewise.
56060 [C99-based standards] (clog10l): Likewise.
56061 [C99-based standards] (clog1pl): Likewise.
56062 [C99-based standards] (clog2l): Likewise.
56063 [C99-based standards] (clgammal): Likewise.
56064 [C99-based standards] (ctgammal): Likewise.
56065 * conform/data/inttypes.h-data [C99-based standards]: Include
56066 stdint.h-data. Remove all expectations for stdint.h contents.
56067 [C99-based standards] (PRI*): Do not allow.
56068 [C99-based standards] (SCN*): Likewise.
56069 [C99-based standards] (*_t): Likewise.
56070 [C99-based-standards] (PRId8): Expect macro.
56071 [C99-based-standards] (PRIi8): Likewise.
56072 [C99-based-standards] (PRIo8): Likewise.
56073 [C99-based-standards] (PRIu8): Likewise.
56074 [C99-based-standards] (PRIx8): Likewise.
56075 [C99-based-standards] (PRIX8): Likewise.
56076 [C99-based-standards] (SCNd8): Likewise.
56077 [C99-based-standards] (SCNi8): Likewise.
56078 [C99-based-standards] (SCNo8): Likewise.
56079 [C99-based-standards] (SCNu8): Likewise.
56080 [C99-based-standards] (SCNx8): Likewise.
56081 [C99-based-standards] (PRIdLEAST8): Likewise.
56082 [C99-based-standards] (PRIiLEAST8): Likewise.
56083 [C99-based-standards] (PRIoLEAST8): Likewise.
56084 [C99-based-standards] (PRIuLEAST8): Likewise.
56085 [C99-based-standards] (PRIxLEAST8): Likewise.
56086 [C99-based-standards] (PRIXLEAST8): Likewise.
56087 [C99-based-standards] (SCNdLEAST8): Likewise.
56088 [C99-based-standards] (SCNiLEAST8): Likewise.
56089 [C99-based-standards] (SCNoLEAST8): Likewise.
56090 [C99-based-standards] (SCNuLEAST8): Likewise.
56091 [C99-based-standards] (SCNxLEAST8): Likewise.
56092 [C99-based-standards] (PRIdFAST8): Likewise.
56093 [C99-based-standards] (PRIiFAST8): Likewise.
56094 [C99-based-standards] (PRIoFAST8): Likewise.
56095 [C99-based-standards] (PRIuFAST8): Likewise.
56096 [C99-based-standards] (PRIxFAST8): Likewise.
56097 [C99-based-standards] (PRIXFAST8): Likewise.
56098 [C99-based-standards] (SCNdFAST8): Likewise.
56099 [C99-based-standards] (SCNiFAST8): Likewise.
56100 [C99-based-standards] (SCNoFAST8): Likewise.
56101 [C99-based-standards] (SCNuFAST8): Likewise.
56102 [C99-based-standards] (SCNxFAST8): Likewise.
56103 [C99-based-standards] (PRId16): Likewise.
56104 [C99-based-standards] (PRIi16): Likewise.
56105 [C99-based-standards] (PRIo16): Likewise.
56106 [C99-based-standards] (PRIu16): Likewise.
56107 [C99-based-standards] (PRIx16): Likewise.
56108 [C99-based-standards] (PRIX16): Likewise.
56109 [C99-based-standards] (SCNd16): Likewise.
56110 [C99-based-standards] (SCNi16): Likewise.
56111 [C99-based-standards] (SCNo16): Likewise.
56112 [C99-based-standards] (SCNu16): Likewise.
56113 [C99-based-standards] (SCNx16): Likewise.
56114 [C99-based-standards] (PRIdLEAST16): Likewise.
56115 [C99-based-standards] (PRIiLEAST16): Likewise.
56116 [C99-based-standards] (PRIoLEAST16): Likewise.
56117 [C99-based-standards] (PRIuLEAST16): Likewise.
56118 [C99-based-standards] (PRIxLEAST16): Likewise.
56119 [C99-based-standards] (PRIXLEAST16): Likewise.
56120 [C99-based-standards] (SCNdLEAST16): Likewise.
56121 [C99-based-standards] (SCNiLEAST16): Likewise.
56122 [C99-based-standards] (SCNoLEAST16): Likewise.
56123 [C99-based-standards] (SCNuLEAST16): Likewise.
56124 [C99-based-standards] (SCNxLEAST16): Likewise.
56125 [C99-based-standards] (PRIdFAST16): Likewise.
56126 [C99-based-standards] (PRIiFAST16): Likewise.
56127 [C99-based-standards] (PRIoFAST16): Likewise.
56128 [C99-based-standards] (PRIuFAST16): Likewise.
56129 [C99-based-standards] (PRIxFAST16): Likewise.
56130 [C99-based-standards] (PRIXFAST16): Likewise.
56131 [C99-based-standards] (SCNdFAST16): Likewise.
56132 [C99-based-standards] (SCNiFAST16): Likewise.
56133 [C99-based-standards] (SCNoFAST16): Likewise.
56134 [C99-based-standards] (SCNuFAST16): Likewise.
56135 [C99-based-standards] (SCNxFAST16): Likewise.
56136 [C99-based-standards] (PRId32): Likewise.
56137 [C99-based-standards] (PRIi32): Likewise.
56138 [C99-based-standards] (PRIo32): Likewise.
56139 [C99-based-standards] (PRIu32): Likewise.
56140 [C99-based-standards] (PRIx32): Likewise.
56141 [C99-based-standards] (PRIX32): Likewise.
56142 [C99-based-standards] (SCNd32): Likewise.
56143 [C99-based-standards] (SCNi32): Likewise.
56144 [C99-based-standards] (SCNo32): Likewise.
56145 [C99-based-standards] (SCNu32): Likewise.
56146 [C99-based-standards] (SCNx32): Likewise.
56147 [C99-based-standards] (PRIdLEAST32): Likewise.
56148 [C99-based-standards] (PRIiLEAST32): Likewise.
56149 [C99-based-standards] (PRIoLEAST32): Likewise.
56150 [C99-based-standards] (PRIuLEAST32): Likewise.
56151 [C99-based-standards] (PRIxLEAST32): Likewise.
56152 [C99-based-standards] (PRIXLEAST32): Likewise.
56153 [C99-based-standards] (SCNdLEAST32): Likewise.
56154 [C99-based-standards] (SCNiLEAST32): Likewise.
56155 [C99-based-standards] (SCNoLEAST32): Likewise.
56156 [C99-based-standards] (SCNuLEAST32): Likewise.
56157 [C99-based-standards] (SCNxLEAST32): Likewise.
56158 [C99-based-standards] (PRIdFAST32): Likewise.
56159 [C99-based-standards] (PRIiFAST32): Likewise.
56160 [C99-based-standards] (PRIoFAST32): Likewise.
56161 [C99-based-standards] (PRIuFAST32): Likewise.
56162 [C99-based-standards] (PRIxFAST32): Likewise.
56163 [C99-based-standards] (PRIXFAST32): Likewise.
56164 [C99-based-standards] (SCNdFAST32): Likewise.
56165 [C99-based-standards] (SCNiFAST32): Likewise.
56166 [C99-based-standards] (SCNoFAST32): Likewise.
56167 [C99-based-standards] (SCNuFAST32): Likewise.
56168 [C99-based-standards] (SCNxFAST32): Likewise.
56169 [C99-based-standards] (PRId64): Likewise.
56170 [C99-based-standards] (PRIi64): Likewise.
56171 [C99-based-standards] (PRIo64): Likewise.
56172 [C99-based-standards] (PRIu64): Likewise.
56173 [C99-based-standards] (PRIx64): Likewise.
56174 [C99-based-standards] (PRIX64): Likewise.
56175 [C99-based-standards] (SCNd64): Likewise.
56176 [C99-based-standards] (SCNi64): Likewise.
56177 [C99-based-standards] (SCNo64): Likewise.
56178 [C99-based-standards] (SCNu64): Likewise.
56179 [C99-based-standards] (SCNx64): Likewise.
56180 [C99-based-standards] (PRIdLEAST64): Likewise.
56181 [C99-based-standards] (PRIiLEAST64): Likewise.
56182 [C99-based-standards] (PRIoLEAST64): Likewise.
56183 [C99-based-standards] (PRIuLEAST64): Likewise.
56184 [C99-based-standards] (PRIxLEAST64): Likewise.
56185 [C99-based-standards] (PRIXLEAST64): Likewise.
56186 [C99-based-standards] (SCNdLEAST64): Likewise.
56187 [C99-based-standards] (SCNiLEAST64): Likewise.
56188 [C99-based-standards] (SCNoLEAST64): Likewise.
56189 [C99-based-standards] (SCNuLEAST64): Likewise.
56190 [C99-based-standards] (SCNxLEAST64): Likewise.
56191 [C99-based-standards] (PRIdFAST64): Likewise.
56192 [C99-based-standards] (PRIiFAST64): Likewise.
56193 [C99-based-standards] (PRIoFAST64): Likewise.
56194 [C99-based-standards] (PRIuFAST64): Likewise.
56195 [C99-based-standards] (PRIxFAST64): Likewise.
56196 [C99-based-standards] (PRIXFAST64): Likewise.
56197 [C99-based-standards] (SCNdFAST64): Likewise.
56198 [C99-based-standards] (SCNiFAST64): Likewise.
56199 [C99-based-standards] (SCNoFAST64): Likewise.
56200 [C99-based-standards] (SCNuFAST64): Likewise.
56201 [C99-based-standards] (SCNxFAST64): Likewise.
56202 [C99-based-standards] (PRIdMAX): Likewise.
56203 [C99-based-standards] (PRIiMAX): Likewise.
56204 [C99-based-standards] (PRIoMAX): Likewise.
56205 [C99-based-standards] (PRIuMAX): Likewise.
56206 [C99-based-standards] (PRIxMAX): Likewise.
56207 [C99-based-standards] (PRIXMAX): Likewise.
56208 [C99-based-standards] (SCNdMAX): Likewise.
56209 [C99-based-standards] (SCNiMAX): Likewise.
56210 [C99-based-standards] (SCNoMAX): Likewise.
56211 [C99-based-standards] (SCNuMAX): Likewise.
56212 [C99-based-standards] (SCNxMAX): Likewise.
56213 [C99-based-standards] (PRIdPTR): Likewise.
56214 [C99-based-standards] (PRIiPTR): Likewise.
56215 [C99-based-standards] (PRIoPTR): Likewise.
56216 [C99-based-standards] (PRIuPTR): Likewise.
56217 [C99-based-standards] (PRIxPTR): Likewise.
56218 [C99-based-standards] (PRIXPTR): Likewise.
56219 [C99-based-standards] (SCNdPTR): Likewise.
56220 [C99-based-standards] (SCNiPTR): Likewise.
56221 [C99-based-standards] (SCNoPTR): Likewise.
56222 [C99-based-standards] (SCNuPTR): Likewise.
56223 [C99-based-standards] (SCNxPTR): Likewise.
56224 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56225 allow.
56226 * conform/data/stdint.h-data: Update comments to clarify
56227 requirements.
56228 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
56229 type.
56230 [C99-based standards] (INT8_MAX): Likewise.
56231 [C99-based standards] (INT16_MIN): Likewise.
56232 [C99-based standards] (INT16_MAX): Likewise.
56233 [C99-based standards] (INT32_MIN): Likewise.
56234 [C99-based standards] (INT32_MAX): Likewise.
56235 [C99-based standards] (INT64_MIN): Likewise.
56236 [C99-based standards] (INT64_MAX): Likewise.
56237 [C99-based standards] (UINT8_MAX): Likewise.
56238 [C99-based standards] (UINT16_MAX): Likewise.
56239 [C99-based standards] (UINT32_MAX): Likewise.
56240 [C99-based standards] (UINT64_MAX): Likewise.
56241 [C99-based standards] (INT_LEAST8_MIN): Likewise.
56242 [C99-based standards] (INT_LEAST8_MAX): Likewise.
56243 [C99-based standards] (INT_LEAST16_MIN): Likewise.
56244 [C99-based standards] (INT_LEAST16_MAX): Likewise.
56245 [C99-based standards] (INT_LEAST32_MIN): Likewise.
56246 [C99-based standards] (INT_LEAST32_MAX): Likewise.
56247 [C99-based standards] (INT_LEAST64_MIN): Likewise.
56248 [C99-based standards] (INT_LEAST64_MAX): Likewise.
56249 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56250 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56251 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56252 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56253 [C99-based standards] (INT_FAST8_MIN): Likewise.
56254 [C99-based standards] (INT_FAST8_MAX): Likewise.
56255 [C99-based standards] (INT_FAST16_MIN): Likewise.
56256 [C99-based standards] (INT_FAST16_MAX): Likewise.
56257 [C99-based standards] (INT_FAST32_MIN): Likewise.
56258 [C99-based standards] (INT_FAST32_MAX): Likewise.
56259 [C99-based standards] (INT_FAST64_MIN): Likewise.
56260 [C99-based standards] (INT_FAST64_MAX): Likewise.
56261 [C99-based standards] (UINT_FAST8_MAX): Likewise.
56262 [C99-based standards] (UINT_FAST16_MAX): Likewise.
56263 [C99-based standards] (UINT_FAST32_MAX): Likewise.
56264 [C99-based standards] (UINT_FAST64_MAX): Likewise.
56265 [C99-based standards] (INTPTR_MIN): Likewise.
56266 [C99-based standards] (INTPTR_MAX): Likewise.
56267 [C99-based standards] (UINTPTR_MAX): Likewise.
56268 [C99-based standards] (INTMAX_MIN): Likewise.
56269 [C99-based standards] (INTMAX_MAX): Likewise.
56270 [C99-based standards] (UINTMAX_MAX): Likewise.
56271 [C99-based standards] (PTRDIFF_MIN): Likewise.
56272 [C99-based standards] (PTRDIFF_MAX): Likewise.
56273 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56274 [C99-based standards] (SIZE_MAX): Likewise.
56275 [C99-based standards] (WCHAR_MAX): Likewise.
56276 [C99-based standards] (WINT_MAX): Likewise.
56277 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
56278 constraint on value.
56279 [C99-based standards] (WCHAR_MIN): Likewise.
56280 [C99-based standards] (WINT_MIN): Likewise.
56281 [C99-based standards] (*_t): Allow.
56282 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56283 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56284 Include math.h-data and complex.h-data. Remove all expectations
56285 of math.h and complex.h contents.
56286 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56287 at end of line.
56288 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56289 (struct tm): Expect tag.
56290 [C99-based-standards] (wcstof): Expect function.
56291 [C99-based-standards] (wcstold): Likewise.
56292 [C99-based-standards] (wcstoll): Likewise.
56293 [C99-based-standards] (wcstoull): Likewise.
56294 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56295 macro-int-constant. Specify type.
56296 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
56297 constraint on value.
56298 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56299 Specify type.
56300 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56301 Specify value.
56302 [ISO C standards]: Do not allow headers.
56303 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56304 wcs[abcdefghijklmnopqrstuvwxyz]*.
56305 [ISO C standards] (*_t): Do not allow.
56306 * conform/data/wctype.h-data [C99-based standards] (iswblank):
56307 Expect function.
56308 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56309 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56310 Specify type.
56311 [ISO C standards]: Do not allow headers.
56312 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56313 is[abcdefghijklmnopqrstuvwxyz]*.
56314 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56315 to[abcdefghijklmnopqrstuvwxyz]*.
56316 [ISO C standards] (*_t): Do not allow.
56317 * conform/data/stdalign.h-data: New file.
56318 * conform/data/stdbool.h-data: Likewise.
56319 * conform/data/stdnoreturn.h-data: Likewise.
56320
56321 2012-11-07 Roland McGrath <roland@hack.frob.com>
56322
56323 [BZ #14815]
56324 * manual/filesys.texi (Directory Entries): Typo fix.
56325 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56326
56327 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56328
56329 * elf/elf.h (EM_AARCH64): New macro.
56330 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56331 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56332 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56333 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56334 (R_AARCH64_TLSDESC): Likewise.
56335 (NT_ARM_TLS): Likewise.
56336 (NT_ARM_HW_BREAK): Likewise.
56337 (NT_ARM_HW_WATCH): Likewise.
56338
56339 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56340
56341 [BZ #14811]
56342 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56343 (__ieee754_powl): Saturate nonzero exponents with absolute value
56344 below 0x1p-79 to +/- 0x1p-79.
56345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56346 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56347 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56348 nonzero exponents with absolute value below 0x1p-32 to +/-
56349 0x1p-32.
56350 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56351 (__ieee754_powl): Saturate nonzero exponents with absolute value
56352 below 0x1p-79 to +/- 0x1p-79.
56353 * math/libm-test.inc (pow_test): Add more tests.
56354
56355 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56356
56357 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56358 _dl_s390_cap_flags with kernel. Increase string length.
56359 (_dl_s390_platforms): Add z196 and zEC12.
56360
56361 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56362
56363 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56364 Change XOPEN21K to XOPEN2K.
56365
56366 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
56367
56368 * string/memmove.c: Use memcpy when possible.
56369
56370 2012-11-06 Andreas Jaeger <aj@suse.de>
56371
56372 * po/eo.po: Update from translation team.
56373
56374 2012-11-06 Joseph Myers <joseph@codesourcery.com>
56375
56376 [BZ #14793]
56377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56378 exponent and small x and y exponents, scale x or y up. Increase
56379 by 2 the exponent used in scaling up.
56380 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56381 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56382 * math/libm-test.inc (fma_test): Add more tests.
56383 (fma_test_towardzero): Likewise.
56384 (fma_test_downward): Likewise.
56385 (fma_test_upward): Likewise.
56386
56387 2012-11-05 Joseph Myers <joseph@codesourcery.com>
56388
56389 [BZ #14805]
56390 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56391 fenv_t *.
56392
56393 [BZ #14801]
56394 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56395 namespace for names of struct fields.
56396 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56397 fenv_t fields.
56398 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56399 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56400
56401 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
56402
56403 [BZ #3665]
56404 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56405
56406 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
56407
56408 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56409 PTR_DEMANGLE.
56410
56411 [BZ #5246]
56412 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56413 PTR_DEMANGLE.
56414
56415 2012-11-04 Joseph Myers <joseph@codesourcery.com>
56416
56417 [BZ #14797]
56418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56419 definitely overflow as x * y not x * y + z.
56420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56421 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56422 * math/libm-test.inc (fma_test): Add more tests.
56423 (fma_test_towardzero): Likewise.
56424 (fma_test_downward): Likewise.
56425 (fma_test_upward): Likewise.
56426
56427 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
56428
56429 [BZ #157]
56430
56431 * include/stub-tag.h: Remove file.
56432 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56433 '#include' of it.
56434 * manual/maint.texi (Porting): Don't reference it.
56435 * Makerules ($(objpfx)stubs): Likewise.
56436 * dirent/closedir.c: Don't include <stub-tag.h>.
56437 * dirent/dirfd.c: Likewise.
56438 * dirent/fdopendir.c: Likewise.
56439 * dirent/getdents.c: Likewise.
56440 * dirent/getdents64.c: Likewise.
56441 * dirent/opendir.c: Likewise.
56442 * dirent/readdir.c: Likewise.
56443 * dirent/readdir64.c: Likewise.
56444 * dirent/readdir64_r.c: Likewise.
56445 * dirent/readdir_r.c: Likewise.
56446 * dirent/rewinddir.c: Likewise.
56447 * dirent/seekdir.c: Likewise.
56448 * dirent/telldir.c: Likewise.
56449 * gmon/profil.c: Likewise.
56450 * grp/setgroups.c: Likewise.
56451 * inet/if_index.c: Likewise.
56452 * io/access.c: Likewise.
56453 * io/chdir.c: Likewise.
56454 * io/chmod.c: Likewise.
56455 * io/chown.c: Likewise.
56456 * io/close.c: Likewise.
56457 * io/dup.c: Likewise.
56458 * io/dup2.c: Likewise.
56459 * io/dup3.c: Likewise.
56460 * io/euidaccess.c: Likewise.
56461 * io/faccessat.c: Likewise.
56462 * io/fchdir.c: Likewise.
56463 * io/fchmod.c: Likewise.
56464 * io/fchmodat.c: Likewise.
56465 * io/fchown.c: Likewise.
56466 * io/fchownat.c: Likewise.
56467 * io/fcntl.c: Likewise.
56468 * io/flock.c: Likewise.
56469 * io/fstatfs.c: Likewise.
56470 * io/fstatfs64.c: Likewise.
56471 * io/fstatvfs.c: Likewise.
56472 * io/fstatvfs64.c: Likewise.
56473 * io/futimens.c: Likewise.
56474 * io/fxstat.c: Likewise.
56475 * io/fxstat64.c: Likewise.
56476 * io/fxstatat.c: Likewise.
56477 * io/fxstatat64.c: Likewise.
56478 * io/getcwd.c: Likewise.
56479 * io/isatty.c: Likewise.
56480 * io/lchmod.c: Likewise.
56481 * io/lchown.c: Likewise.
56482 * io/link.c: Likewise.
56483 * io/linkat.c: Likewise.
56484 * io/lseek.c: Likewise.
56485 * io/lseek64.c: Likewise.
56486 * io/lxstat64.c: Likewise.
56487 * io/mkdir.c: Likewise.
56488 * io/mkdirat.c: Likewise.
56489 * io/mkfifo.c: Likewise.
56490 * io/mkfifoat.c: Likewise.
56491 * io/open.c: Likewise.
56492 * io/open64.c: Likewise.
56493 * io/openat.c: Likewise.
56494 * io/openat64.c: Likewise.
56495 * io/pipe.c: Likewise.
56496 * io/pipe2.c: Likewise.
56497 * io/poll.c: Likewise.
56498 * io/posix_fadvise.c: Likewise.
56499 * io/posix_fadvise64.c: Likewise.
56500 * io/posix_fallocate.c: Likewise.
56501 * io/posix_fallocate64.c: Likewise.
56502 * io/read.c: Likewise.
56503 * io/readlink.c: Likewise.
56504 * io/readlinkat.c: Likewise.
56505 * io/rmdir.c: Likewise.
56506 * io/sendfile.c: Likewise.
56507 * io/sendfile64.c: Likewise.
56508 * io/statfs.c: Likewise.
56509 * io/statfs64.c: Likewise.
56510 * io/statvfs.c: Likewise.
56511 * io/statvfs64.c: Likewise.
56512 * io/symlink.c: Likewise.
56513 * io/symlinkat.c: Likewise.
56514 * io/ttyname.c: Likewise.
56515 * io/ttyname_r.c: Likewise.
56516 * io/umask.c: Likewise.
56517 * io/unlink.c: Likewise.
56518 * io/unlinkat.c: Likewise.
56519 * io/utime.c: Likewise.
56520 * io/utimensat.c: Likewise.
56521 * io/write.c: Likewise.
56522 * io/xmknod.c: Likewise.
56523 * io/xmknodat.c: Likewise.
56524 * io/xstat.c: Likewise.
56525 * io/xstat64.c: Likewise.
56526 * login/getpt.c: Likewise.
56527 * login/grantpt.c: Likewise.
56528 * login/unlockpt.c: Likewise.
56529 * math/e_acoshl.c: Likewise.
56530 * math/e_acosl.c: Likewise.
56531 * math/e_asinl.c: Likewise.
56532 * math/e_atan2l.c: Likewise.
56533 * math/e_atanhl.c: Likewise.
56534 * math/e_coshl.c: Likewise.
56535 * math/e_expl.c: Likewise.
56536 * math/e_fmodl.c: Likewise.
56537 * math/e_gammal_r.c: Likewise.
56538 * math/e_hypotl.c: Likewise.
56539 * math/e_j0l.c: Likewise.
56540 * math/e_j1l.c: Likewise.
56541 * math/e_jnl.c: Likewise.
56542 * math/e_lgammal_r.c: Likewise.
56543 * math/e_log10l.c: Likewise.
56544 * math/e_log2l.c: Likewise.
56545 * math/e_logl.c: Likewise.
56546 * math/e_powl.c: Likewise.
56547 * math/e_rem_pio2l.c: Likewise.
56548 * math/e_sinhl.c: Likewise.
56549 * math/e_sqrtl.c: Likewise.
56550 * math/fclrexcpt.c: Likewise.
56551 * math/fedisblxcpt.c: Likewise.
56552 * math/feenablxcpt.c: Likewise.
56553 * math/fegetenv.c: Likewise.
56554 * math/fegetexcept.c: Likewise.
56555 * math/fegetround.c: Likewise.
56556 * math/feholdexcpt.c: Likewise.
56557 * math/fesetenv.c: Likewise.
56558 * math/fesetround.c: Likewise.
56559 * math/feupdateenv.c: Likewise.
56560 * math/fgetexcptflg.c: Likewise.
56561 * math/fraiseexcpt.c: Likewise.
56562 * math/fsetexcptflg.c: Likewise.
56563 * math/ftestexcept.c: Likewise.
56564 * math/k_cosl.c: Likewise.
56565 * math/k_rem_pio2l.c: Likewise.
56566 * math/k_sinl.c: Likewise.
56567 * math/k_tanl.c: Likewise.
56568 * math/s_asinhl.c: Likewise.
56569 * math/s_atanl.c: Likewise.
56570 * math/s_cbrtl.c: Likewise.
56571 * math/s_erfl.c: Likewise.
56572 * math/s_expm1l.c: Likewise.
56573 * math/s_log1pl.c: Likewise.
56574 * math/s_tanhl.c: Likewise.
56575 * misc/acct.c: Likewise.
56576 * misc/brk.c: Likewise.
56577 * misc/chflags.c: Likewise.
56578 * misc/chroot.c: Likewise.
56579 * misc/fchflags.c: Likewise.
56580 * misc/fgetxattr.c: Likewise.
56581 * misc/flistxattr.c: Likewise.
56582 * misc/fremovexattr.c: Likewise.
56583 * misc/fsetxattr.c: Likewise.
56584 * misc/fsync.c: Likewise.
56585 * misc/ftruncate.c: Likewise.
56586 * misc/futimes.c: Likewise.
56587 * misc/futimesat.c: Likewise.
56588 * misc/getdomain.c: Likewise.
56589 * misc/getdtsz.c: Likewise.
56590 * misc/gethostid.c: Likewise.
56591 * misc/gethostname.c: Likewise.
56592 * misc/getloadavg.c: Likewise.
56593 * misc/getpagesize.c: Likewise.
56594 * misc/getsysstats.c: Likewise.
56595 * misc/getxattr.c: Likewise.
56596 * misc/gtty.c: Likewise.
56597 * misc/ioctl.c: Likewise.
56598 * misc/lgetxattr.c: Likewise.
56599 * misc/listxattr.c: Likewise.
56600 * misc/llistxattr.c: Likewise.
56601 * misc/lremovexattr.c: Likewise.
56602 * misc/lsetxattr.c: Likewise.
56603 * misc/lutimes.c: Likewise.
56604 * misc/madvise.c: Likewise.
56605 * misc/mincore.c: Likewise.
56606 * misc/mlock.c: Likewise.
56607 * misc/mlockall.c: Likewise.
56608 * misc/mmap.c: Likewise.
56609 * misc/mprotect.c: Likewise.
56610 * misc/msync.c: Likewise.
56611 * misc/munlock.c: Likewise.
56612 * misc/munlockall.c: Likewise.
56613 * misc/munmap.c: Likewise.
56614 * misc/preadv.c: Likewise.
56615 * misc/preadv64.c: Likewise.
56616 * misc/ptrace.c: Likewise.
56617 * misc/pwritev.c: Likewise.
56618 * misc/pwritev64.c: Likewise.
56619 * misc/readv.c: Likewise.
56620 * misc/reboot.c: Likewise.
56621 * misc/remap_file_pages.c: Likewise.
56622 * misc/removexattr.c: Likewise.
56623 * misc/revoke.c: Likewise.
56624 * misc/select.c: Likewise.
56625 * misc/setdomain.c: Likewise.
56626 * misc/setegid.c: Likewise.
56627 * misc/seteuid.c: Likewise.
56628 * misc/sethostid.c: Likewise.
56629 * misc/sethostname.c: Likewise.
56630 * misc/setregid.c: Likewise.
56631 * misc/setreuid.c: Likewise.
56632 * misc/setxattr.c: Likewise.
56633 * misc/sstk.c: Likewise.
56634 * misc/stty.c: Likewise.
56635 * misc/swapoff.c: Likewise.
56636 * misc/swapon.c: Likewise.
56637 * misc/sync.c: Likewise.
56638 * misc/syncfs.c: Likewise.
56639 * misc/syscall.c: Likewise.
56640 * misc/truncate.c: Likewise.
56641 * misc/ualarm.c: Likewise.
56642 * misc/usleep.c: Likewise.
56643 * misc/ustat.c: Likewise.
56644 * misc/utimes.c: Likewise.
56645 * misc/vhangup.c: Likewise.
56646 * misc/writev.c: Likewise.
56647 * posix/_exit.c: Likewise.
56648 * posix/alarm.c: Likewise.
56649 * posix/execve.c: Likewise.
56650 * posix/fexecve.c: Likewise.
56651 * posix/fork.c: Likewise.
56652 * posix/fpathconf.c: Likewise.
56653 * posix/getaddrinfo.c: Likewise.
56654 * posix/getegid.c: Likewise.
56655 * posix/geteuid.c: Likewise.
56656 * posix/getgid.c: Likewise.
56657 * posix/getgroups.c: Likewise.
56658 * posix/getlogin.c: Likewise.
56659 * posix/getlogin_r.c: Likewise.
56660 * posix/getpgid.c: Likewise.
56661 * posix/getpid.c: Likewise.
56662 * posix/getppid.c: Likewise.
56663 * posix/getresgid.c: Likewise.
56664 * posix/getresuid.c: Likewise.
56665 * posix/getsid.c: Likewise.
56666 * posix/getuid.c: Likewise.
56667 * posix/glob64.c: Likewise.
56668 * posix/nanosleep.c: Likewise.
56669 * posix/pathconf.c: Likewise.
56670 * posix/pause.c: Likewise.
56671 * posix/posix_madvise.c: Likewise.
56672 * posix/pread.c: Likewise.
56673 * posix/pread64.c: Likewise.
56674 * posix/pwrite.c: Likewise.
56675 * posix/pwrite64.c: Likewise.
56676 * posix/sched_getaffinity.c: Likewise.
56677 * posix/sched_getp.c: Likewise.
56678 * posix/sched_gets.c: Likewise.
56679 * posix/sched_primax.c: Likewise.
56680 * posix/sched_primin.c: Likewise.
56681 * posix/sched_rr_gi.c: Likewise.
56682 * posix/sched_setaffinity.c: Likewise.
56683 * posix/sched_setp.c: Likewise.
56684 * posix/sched_sets.c: Likewise.
56685 * posix/sched_yield.c: Likewise.
56686 * posix/setgid.c: Likewise.
56687 * posix/setlogin.c: Likewise.
56688 * posix/setpgid.c: Likewise.
56689 * posix/setresgid.c: Likewise.
56690 * posix/setresuid.c: Likewise.
56691 * posix/setsid.c: Likewise.
56692 * posix/setuid.c: Likewise.
56693 * posix/sleep.c: Likewise.
56694 * posix/spawni.c: Likewise.
56695 * posix/sysconf.c: Likewise.
56696 * posix/times.c: Likewise.
56697 * posix/wait.c: Likewise.
56698 * posix/wait3.c: Likewise.
56699 * posix/wait4.c: Likewise.
56700 * posix/waitpid.c: Likewise.
56701 * resolv/gai_sigqueue.c: Likewise.
56702 * resource/getpriority.c: Likewise.
56703 * resource/getrlimit.c: Likewise.
56704 * resource/getrusage.c: Likewise.
56705 * resource/nice.c: Likewise.
56706 * resource/setpriority.c: Likewise.
56707 * resource/setrlimit.c: Likewise.
56708 * resource/ulimit.c: Likewise.
56709 * rt/aio_cancel.c: Likewise.
56710 * rt/aio_fsync.c: Likewise.
56711 * rt/aio_read.c: Likewise.
56712 * rt/aio_sigqueue.c: Likewise.
56713 * rt/aio_suspend.c: Likewise.
56714 * rt/aio_write.c: Likewise.
56715 * rt/clock_getres.c: Likewise.
56716 * rt/clock_gettime.c: Likewise.
56717 * rt/clock_nanosleep.c: Likewise.
56718 * rt/clock_settime.c: Likewise.
56719 * rt/lio_listio.c: Likewise.
56720 * rt/mq_close.c: Likewise.
56721 * rt/mq_getattr.c: Likewise.
56722 * rt/mq_notify.c: Likewise.
56723 * rt/mq_open.c: Likewise.
56724 * rt/mq_receive.c: Likewise.
56725 * rt/mq_send.c: Likewise.
56726 * rt/mq_setattr.c: Likewise.
56727 * rt/mq_timedreceive.c: Likewise.
56728 * rt/mq_timedsend.c: Likewise.
56729 * rt/mq_unlink.c: Likewise.
56730 * rt/shm_open.c: Likewise.
56731 * rt/shm_unlink.c: Likewise.
56732 * rt/timer_create.c: Likewise.
56733 * rt/timer_delete.c: Likewise.
56734 * rt/timer_getoverr.c: Likewise.
56735 * rt/timer_gettime.c: Likewise.
56736 * rt/timer_settime.c: Likewise.
56737 * setjmp/__longjmp.c: Likewise.
56738 * setjmp/setjmp.c: Likewise.
56739 * signal/kill.c: Likewise.
56740 * signal/killpg.c: Likewise.
56741 * signal/raise.c: Likewise.
56742 * signal/sigaction.c: Likewise.
56743 * signal/sigaltstack.c: Likewise.
56744 * signal/sigblock.c: Likewise.
56745 * signal/sigignore.c: Likewise.
56746 * signal/sigintr.c: Likewise.
56747 * signal/signal.c: Likewise.
56748 * signal/sigpause.c: Likewise.
56749 * signal/sigpending.c: Likewise.
56750 * signal/sigqueue.c: Likewise.
56751 * signal/sigreturn.c: Likewise.
56752 * signal/sigset.c: Likewise.
56753 * signal/sigsetmask.c: Likewise.
56754 * signal/sigstack.c: Likewise.
56755 * signal/sigsuspend.c: Likewise.
56756 * signal/sigtimedwait.c: Likewise.
56757 * signal/sigvec.c: Likewise.
56758 * signal/sigwait.c: Likewise.
56759 * signal/sigwaitinfo.c: Likewise.
56760 * signal/sysv_signal.c: Likewise.
56761 * socket/accept.c: Likewise.
56762 * socket/accept4.c: Likewise.
56763 * socket/bind.c: Likewise.
56764 * socket/connect.c: Likewise.
56765 * socket/getpeername.c: Likewise.
56766 * socket/getsockname.c: Likewise.
56767 * socket/getsockopt.c: Likewise.
56768 * socket/isfdtype.c: Likewise.
56769 * socket/listen.c: Likewise.
56770 * socket/recv.c: Likewise.
56771 * socket/recvfrom.c: Likewise.
56772 * socket/recvmsg.c: Likewise.
56773 * socket/send.c: Likewise.
56774 * socket/sendmsg.c: Likewise.
56775 * socket/sendto.c: Likewise.
56776 * socket/setsockopt.c: Likewise.
56777 * socket/shutdown.c: Likewise.
56778 * socket/sockatmark.c: Likewise.
56779 * socket/socket.c: Likewise.
56780 * socket/socketpair.c: Likewise.
56781 * stdio-common/ctermid.c: Likewise.
56782 * stdio-common/cuserid.c: Likewise.
56783 * stdio-common/remove.c: Likewise.
56784 * stdio-common/rename.c: Likewise.
56785 * stdio-common/renameat.c: Likewise.
56786 * stdio-common/tempname.c: Likewise.
56787 * stdlib/getcontext.c: Likewise.
56788 * stdlib/makecontext.c: Likewise.
56789 * stdlib/setcontext.c: Likewise.
56790 * stdlib/swapcontext.c: Likewise.
56791 * stdlib/system.c: Likewise.
56792 * streams/fattach.c: Likewise.
56793 * streams/fdetach.c: Likewise.
56794 * streams/getmsg.c: Likewise.
56795 * streams/getpmsg.c: Likewise.
56796 * streams/putmsg.c: Likewise.
56797 * streams/putpmsg.c: Likewise.
56798 * sysdeps/unix/bsd/getpt.c: Likewise.
56799 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56800 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56801 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56803 Likewise.
56804 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56805 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56806 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56807 * sysvipc/msgctl.c: Likewise.
56808 * sysvipc/msgget.c: Likewise.
56809 * sysvipc/msgrcv.c: Likewise.
56810 * sysvipc/msgsnd.c: Likewise.
56811 * sysvipc/semctl.c: Likewise.
56812 * sysvipc/semget.c: Likewise.
56813 * sysvipc/semop.c: Likewise.
56814 * sysvipc/semtimedop.c: Likewise.
56815 * sysvipc/shmat.c: Likewise.
56816 * sysvipc/shmctl.c: Likewise.
56817 * sysvipc/shmdt.c: Likewise.
56818 * sysvipc/shmget.c: Likewise.
56819 * termios/tcdrain.c: Likewise.
56820 * termios/tcflow.c: Likewise.
56821 * termios/tcflush.c: Likewise.
56822 * termios/tcgetattr.c: Likewise.
56823 * termios/tcgetpgrp.c: Likewise.
56824 * termios/tcsendbrk.c: Likewise.
56825 * termios/tcsetattr.c: Likewise.
56826 * termios/tcsetpgrp.c: Likewise.
56827 * time/adjtime.c: Likewise.
56828 * time/clock.c: Likewise.
56829 * time/getitimer.c: Likewise.
56830 * time/gettimeofday.c: Likewise.
56831 * time/setitimer.c: Likewise.
56832 * time/settimeofday.c: Likewise.
56833 * time/stime.c: Likewise.
56834 * time/time.c: Likewise.
56835
56836 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
56837
56838 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56839 /usr/old/bin.
56840
56841 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56842 instead of spaces.
56843 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56844
56845 2012-11-03 Joseph Myers <joseph@codesourcery.com>
56846
56847 [BZ #14796]
56848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56849 FE_TONEAREST before applying Dekker multiplication and Knuth
56850 addition. Clear inexact exceptions and check for exact zero
56851 results afterwards.
56852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56853 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56854 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56855 * math/libm-test.inc (fma_test): Add more tests.
56856 (fma_test_towardzero): Likewise.
56857 (fma_test_downward): Likewise.
56858 (fma_test_upward): Likewise.
56859 * sysdeps/generic/math_private.h (default_libc_fesetround): New
56860 function.
56861 (libc_fesetround): New macro.
56862 (libc_fesetroundf): Likewise.
56863 (libc_fesetroundl): Likewise.
56864 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56865 function.
56866 (libc_fesetround_387): Likewise.
56867 (libc_fesetroundf): New macro.
56868 (libc_fesetround): Likewise.
56869 (libc_fesetroundl): Likewise.
56870 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56871 function.
56872 (libc_fesetroundf): New macro.
56873 (libc_fesetround): Likewise.
56874 (libc_fesetroundl): Likewise.
56875 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56876 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56877 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56878 libm_hidden_ver.
56879 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56880 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56881 libm_hidden_def.
56882 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56883 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56884 libm_hidden_ver.
56885 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56886 libm_hidden_def.
56887
56888 [BZ #3439]
56889 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56890 integer constant usable in #if and use that to give value to enum
56891 constant.
56892 (FE_DIVBYZERO): Likewise.
56893 (FE_UNDERFLOW): Likewise.
56894 (FE_OVERFLOW): Likewise.
56895 (FE_INVALID): Likewise.
56896 (FE_INVALID_SNAN): Likewise.
56897 (FE_INVALID_ISI): Likewise.
56898 (FE_INVALID_IDI): Likewise.
56899 (FE_INVALID_ZDZ): Likewise.
56900 (FE_INVALID_IMZ): Likewise.
56901 (FE_INVALID_COMPARE): Likewise.
56902 (FE_INVALID_SOFTWARE): Likewise.
56903 (FE_INVALID_SQRT): Likewise.
56904 (FE_INVALID_INTEGER_CONVERSION): Likewise.
56905 (FE_TONEAREST): Likewise.
56906 (FE_TOWARDZERO): Likewise.
56907 (FE_UPWARD): Likewise.
56908 (FE_DOWNWARD): Likewise.
56909 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56910 (FE_DIVBYZERO): Likewise.
56911 (FE_OVERFLOW): Likewise.
56912 (FE_UNDERFLOW): Likewise.
56913 (FE_INEXACT): Likewise.
56914 (FE_TONEAREST): Likewise.
56915 (FE_DOWNWARD): Likewise.
56916 (FE_UPWARD): Likewise.
56917 (FE_TOWARDZERO): Likewise.
56918 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56919 (FE_UNDERFLOW): Likewise.
56920 (FE_OVERFLOW): Likewise.
56921 (FE_DIVBYZERO): Likewise.
56922 (FE_INVALID): Likewise.
56923 (FE_TONEAREST): Likewise.
56924 (FE_TOWARDZERO): Likewise.
56925 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56926 (FE_OVERFLOW): Likewise.
56927 (FE_UNDERFLOW): Likewise.
56928 (FE_DIVBYZERO): Likewise.
56929 (FE_INEXACT): Likewise.
56930 (FE_TONEAREST): Likewise.
56931 (FE_TOWARDZERO): Likewise.
56932 (FE_UPWARD): Likewise.
56933 (FE_DOWNWARD): Likewise.
56934 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56935 (FE_DIVBYZERO): Likewise.
56936 (FE_OVERFLOW): Likewise.
56937 (FE_UNDERFLOW): Likewise.
56938 (FE_INEXACT): Likewise.
56939 (FE_TONEAREST): Likewise.
56940 (FE_DOWNWARD): Likewise.
56941 (FE_UPWARD): Likewise.
56942 (FE_TOWARDZERO): Likewise.
56943
56944 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
56945
56946 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56947
56948 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
56949
56950 * scripts/cross-test-ssh.sh (command): Use newlines to separate
56951 commands. Quote $PWD.
56952 (blacklist_exports): Don't use remove_newlines. Replace "declare
56953 -x" by "export".
56954 (remove_newlines): Remove.
56955
56956 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
56957
56958 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56959 * stdlib/stdlib.h (atof): Moved to ...
56960 * include/bits/stdlib-float.h: Here. New file.
56961 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56962 * stdlib/bits/stdlib-float.h: New file.
56963 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56964 -mno-sse -mno-mmx.
56965 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56966 <xmmintrin.h>.
56967
56968 2012-11-02 Joseph Myers <joseph@codesourcery.com>
56969
56970 * conform/conformtest.pl (@headers): Add fenv.h.
56971 * conform/data/fenv.h-data: New file.
56972 * include/fenv.h [_ISOMAC]: Disable all contents of file except
56973 include of <math/fenv.h>.
56974
56975 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56976 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56977 && !UNIX98]. Enables tests for XOPEN2K8.
56978 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56979 POSIX2008]: Likewise.
56980
56981 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56982 (struct rusage): Do not expect type or its members.
56983
56984 [BZ #3439]
56985 * math/math.h (FP_NAN): Define macro to integer constant usable in
56986 #if and use that to give value to enum constant.
56987 (FP_INFINITE): Likewise.
56988 (FP_ZERO): Likewise.
56989 (FP_SUBNORMAL): Likewise.
56990 (FP_NORMAL): Likewise.
56991
56992 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
56993
56994 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56995 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56996 arguments.
56997
56998 2012-11-02 Roland McGrath <roland@hack.frob.com>
56999
57000 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57001 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57002 autoconf-time if not.
57003 * configure.in: Remove AC_PREREQ.
57004
57005 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57006
57007 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57008 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57009 of the internal implementation.
57010
57011 2012-11-02 Joseph Myers <joseph@codesourcery.com>
57012
57013 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57014 except include of <misc/sys/syslog.h>.
57015
57016 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
57017
57018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57019 function returns with a NULL context exit with zero.
57020
57021 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57022
57023 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57024
57025 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
57026
57027 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57028 (run_program_cmd): This.
57029 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57030 (tst_langinfo): New variable. Use it.
57031
57032 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
57033
57034 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57035 floating point opcodes.
57036
57037 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
57038
57039 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57040 variable.
57041
57042 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57043
57044 * sysdeps/mach/hurd/powerpc: Remove directory.
57045 * sysdeps/mach/powerpc: Likewise.
57046
57047 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
57048
57049 * scripts/check-local-headers.sh: Ignore c++ headers.
57050
57051 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
57052
57053 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57054 __libc_cleanup_region_start argument.
57055
57056 2012-11-01 Joseph Myers <joseph@codesourcery.com>
57057
57058 [BZ #14784]
57059 [BZ #14785]
57060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57061 x * y using scaling, not as x * y + z.
57062 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57063 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57064 * math/libm-test.inc (fma_test): Add more tests.
57065 (fma_test_towardzero): Likewise.
57066 (fma_test_downward): Likewise.
57067 (fma_test_upward): Likewise.
57068
57069 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
57070
57071 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57072
57073 2012-10-31 Joseph Myers <joseph@codesourcery.com>
57074
57075 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57076 New variable.
57077
57078 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
57079
57080 * rt/tst-shm.c (worker): Correct checking for mmap failure.
57081
57082 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
57083
57084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57085 Fix sort order.
57086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57087 Likewise.
57088
57089 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57090
57091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57092 Fix the order of the list for glibc 2.17.
57093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57094 Likewise.
57095
57096 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
57097
57098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57099
57100 2012-10-31 Joseph Myers <joseph@codesourcery.com>
57101
57102 [BZ #14610]
57103 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57104 for low part of x being zero before using __atanl (y).
57105 * math/libm-test.inc (atan2_test): Add another test.
57106
57107 * manual/install.texi (Configuring and compiling): Document
57108 general use of test-wrapper and test-wrapper-env.
57109 * INSTALL: Regenerated.
57110
57111 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57112 (__fma): Do not extract and scale down low bits on after-rounding
57113 systems when result rounded to normal precision would have normal
57114 exponent.
57115 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57116 (__fmal): Do not extract and scale down low bits on after-rounding
57117 systems when result rounded to normal precision would have normal
57118 exponent.
57119 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57120 (__fmal): Do not extract and scale down low bits on after-rounding
57121 systems when result rounded to normal precision would have normal
57122 exponent.
57123 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57124 macro.
57125 (fma_test): Add more tests.
57126 (fma_test_towardzero): Likewise.
57127 (fma_test_downward): Likewise.
57128 (fma_test_upward): Likewise.
57129
57130 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
57131
57132 * sysdeps/i386/tininess.h: Renamed to ...
57133 * sysdeps/x86/tininess.h: This.
57134 * sysdeps/x86_64/tininess.h: Removed.
57135
57136 2012-10-30 Joseph Myers <joseph@codesourcery.com>
57137
57138 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57139 input. Use $(build-program-cmd).
57140 ($(objpfx)tst-array1-static.out): Likewise.
57141 ($(objpfx)tst-array2.out): Likewise.
57142 ($(objpfx)tst-array3.out): Likewise.
57143 ($(objpfx)tst-array4.out): Likewise.
57144 ($(objpfx)tst-array5.out): Likewise.
57145 ($(objpfx)tst-array5-static.out): Likewise.
57146
57147 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
57148
57149 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57150 if defined.
57151
57152 * nss/nsswitch.h (nss_interface_function): Provide new
57153 macro for use with NSS functions.
57154 * grp/initgroups.c: Use new macro.
57155 * nss/getXXbyYY.c: Likewise.
57156 * nss/getXXbyYY_r.c: Likewise.
57157 * nss/getXXent.c: Likewise.
57158 * nss/getXXent_r.c: Likewise.
57159 * sysdeps/posix/getaddrinfo.c: Likewise.
57160
57161 2012-10-30 Andreas Jaeger <aj@suse.de>
57162
57163 * po/ru.po: Update Russion translation from translation project.
57164
57165 2012-10-30 Joseph Myers <joseph@codesourcery.com>
57166
57167 [BZ #14152]
57168 [BZ #14783]
57169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57170 result and shift together with sticky bit instead of replicating
57171 round-to-nearest rounding.
57172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57173 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57174 * math/libm-test.inc (fma_test): Add more tests. Do not permit
57175 missing underflow exceptions.
57176 (fma_test_towardzero): Add more tests.
57177 (fma_test_downward): Likewise.
57178 (fma_test_upward): Likewise.
57179
57180 [BZ #14047]
57181 * sysdeps/generic/tininess.h: New file.
57182 * sysdeps/i386/tininess.h: Likewise.
57183 * sysdeps/sh/tininess.h: Likewise.
57184 * sysdeps/x86_64/tininess.h: Likewise.
57185 * stdlib/tst-strtod-underflow.c: Likewise.
57186 * stdlib/tst-tininess.c: Likewise.
57187 * stdlib/strtod_l.c: Include <tininess.h>.
57188 (round_and_return): Do not set errno for exact underflow cases.
57189 Force an underflow exception when setting errno for underflow.
57190 Determine underflow based on rounding to normal precision if
57191 TININESS_AFTER_ROUNDING.
57192 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57193 ERANGE for exact underflow cases.
57194 * stdlib/Makefile (tests): Add tst-tininess and
57195 tst-strtod-underflow.
57196 ($(objpfx)tst-tininess): Use $(link-libm).
57197 ($(objpfx)tst-strtod-underflow): Likewise.
57198
57199 2012-10-30 Andreas Jaeger <aj@suse.de>
57200
57201 [BZ#14767]
57202 * elf/Makefile (tests): Remove conditional for have-initfini-array
57203 since this is now always required and the variable does not exist
57204 anymore.
57205 (tests-static): Likewise.
57206 (modules-names): Likewise.
57207
57208 * po/eo.po: Add Esperanto translation from translation project.
57209
57210 * elf/tst-array1.c (fini_array): Make writeable so that it can be
57211 merged with constructor/destructor.
57212 (init_array): Likewise.
57213 * elf/tst-array2dep.c (fini_array): Likewise.
57214 (init_array): Likewise.
57215
57216 2012-10-29 Mike Frysinger <vapier@gentoo.org>
57217
57218 * manual/message.texi: Delete @cartouche tags.
57219
57220 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
57221
57222 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57223 EOPNOTSUPP.
57224 * sysdeps/mach/hurd/fsync.c: Likewise.
57225
57226 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57227 [_POSIX_REALTIME_SIGNALS]: Change condition to
57228 [_POSIX_REALTIME_SIGNALS > 0].
57229
57230 2012-10-27 Andreas Jaeger <aj@suse.de>
57231
57232 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57233 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57235 [__WORDSIZE != 64]: Likewise.
57236
57237 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
57238
57239 * iconvdata/tst-table.sh: Remove ${SHELL}.
57240 * iconvdata/tst-tables.sh: Likewise.
57241
57242 2012-10-25 David S. Miller <davem@davemloft.net>
57243
57244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57245 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57246 of strtoull.
57247
57248 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57249 ifunc-impl-list.c
57250 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57251 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57252 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57253 file.
57254
57255 2012-10-25 Roland McGrath <roland@hack.frob.com>
57256
57257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57258 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57259 __getdirentries.
57260
57261 2012-10-25 Joseph Myers <joseph@codesourcery.com>
57262 Jim Blandy <jimb@codesourcery.com>
57263
57264 * scripts/cross-test-ssh.sh: New file.
57265 * manual/install.texi (Configuring and compiling): Document use of
57266 cross-test-ssh.sh.
57267 * INSTALL: Regenerated.
57268
57269 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
57270
57271 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57272 EOPNOTSUPP.
57273
57274 2012-10-25 Joseph Myers <joseph@codesourcery.com>
57275
57276 * Makeconfig (run-program-prefix): Fix comment.
57277
57278 2012-10-24 Joseph Myers <joseph@codesourcery.com>
57279 Jim Blandy <jimb@codesourcery.com>
57280
57281 * Makeconfig (test-wrapper): New variable,
57282 (test-wrapper-env): Likewise.
57283 [$(cross-compiling) = yes && $(test-wrapper) != ""]
57284 (run-built-tests): Define to yes.
57285 (run-program-prefix): Use $(test-wrapper).
57286 (built-program-cmd): Likewise.
57287 * Rules (make-test-out): Use $(test-wrapper-env) and
57288 $(host-built-program-cmd).
57289 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57290 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57291 tst-pathopt.sh.
57292 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57293 $(test-wrapper-env) to tst-rtld-load-self.sh.
57294 ($(objpfx)order2.out): Use $(test-wrapper).
57295 ($(objpfx)tst-initorder.out): Likewise.
57296 ($(objpfx)tst-initorder2.out): Likewise.
57297 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57298 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57299 (test_wrapper_env): New variable. Use it to run ld.so.
57300 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57301 Use it to run ld.so.
57302 (test_wrapper_env): Likewise.
57303 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57304 $(test-wrapper) to run-iconv-test.sh.
57305 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57306 (ICONV): Use $test_wrapper.
57307 * posix/Makefile ($(objpfx)globtest.out): Pass
57308 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57309 globtest.sh, not $(run-program-prefix).
57310 * posix/globtest.sh (run_via_rtld_prefix): New variable.
57311 (test_wrapper): Likewise.
57312 (test_wrapper_env): Likewise. Use it to run globtest with HOME
57313 set together with run_via_rtld_prefix.
57314 (run_program_prefix): Define in terms of test_wrapper and
57315 run_via_rtld_prefix.
57316
57317 2012-10-24 Roland McGrath <roland@hack.frob.com>
57318
57319 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57320 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57321 Targets removed.
57322
57323 [BZ #14743]
57324 * include/time.h: Remove librt_hidden_proto (clock_gettime).
57325 Declare __clock_getres, __clock_gettime, __clock_settime,
57326 __clock_nanosleep, and __clock_getcpuclockid.
57327 * rt/clock_gettime.c: Define __clock_gettime as an alias.
57328 Remove librt_hidden_def (clock_gettime).
57329 * sysdeps/unix/clock_gettime.c: Likewise.
57330 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57331 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57332 * rt/clock_getres.c: Define __clock_getres as an alias.
57333 * sysdeps/posix/clock_getres.c: Likewise.
57334 * rt/clock_settime.c: Define __clock_settime as an alias.
57335 * sysdeps/unix/clock_settime.c: Likewise.
57336 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57337 * sysdeps/unix/clock_nanosleep.c: Likewise.
57338 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57339 * rt/clock-compat.c: New file.
57340 * rt/Makefile (librt-routines): Add clock-compat and move
57341 $(clock-routines) to ...
57342 (routines): ... here, new variable.
57343 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57344 Don't add get_clockfreq here.
57345 * rt/Versions (libc: GLIBC_2.17): New version set.
57346 Add clock_* symbols here.
57347 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
57348 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57349 (GLIBC_2.17): Add clock_* symbols.
57350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57352 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57354 Likewise.
57355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57356 Likewise.
57357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57361 * NEWS: Mention the move.
57362
57363 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57364 Use __open, __read, __close rather than their public counterparts.
57365 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57366 (__get_clockfreq_via_cpuinfo): Likewise.
57367 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57368 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57369
57370 * config.h.in (HAVE_IFUNC): New #undef.
57371 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57372 was successful.
57373 * configure: Regenerated.
57374
57375 2012-10-24 Mike Frysinger <vapier@gentoo.org>
57376
57377 * configure.in: Move READELF check to start of file.
57378 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57379 libc_cv_asm_gnu_indirect_function in the process.
57380 * configure: Regenerated.
57381
57382 2012-10-24 Mike Frysinger <vapier@gentoo.org>
57383
57384 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57385 send the output to /dev/null.
57386 (libc_cv_cc_with_libunwind): Likewise.
57387 (libc_cv_as_noexecstack): Likewise.
57388 * configure: Regenerate.
57389
57390 2012-10-24 Joseph Myers <joseph@codesourcery.com>
57391
57392 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57393
57394 * posix/globtest.sh (TMPDIR): Do not set.
57395 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57396 (testout): Likewise.
57397
57398 2012-10-24 Andreas Jaeger <aj@suse.de>
57399
57400 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57401 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57402 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57403 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57404 posix_fadvise64, posix_fallocate64.
57405
57406 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57407 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57408 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57409 Likewise.
57410 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57411 Likewise.
57412 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57413
57414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57415 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57416 <bits/fcntl-linux.h>.
57417 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57418
57419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57420 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57421 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57422 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57423 [__WORDSIZE != 64]: Likewise.
57424
57425 2012-10-23 Joseph Myers <joseph@codesourcery.com>
57426
57427 * Makeconfig (run-built-tests): New variable.
57428 * Rules [$(cross-compiling) = yes]: Change condition to
57429 [$(run-built-tests) = no].
57430 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57431 to [$(run-built-tests) = yes].
57432 * elf/Makefile [$(cross-compiling) = no]: Likewise.
57433 * grp/Makefile [$(cross-compiling) = no]: Likewise.
57434 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57435 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57436 * intl/Makefile [$(cross-compiling) = no]: Likewise.
57437 * io/Makefile [$(cross-compiling) = no]: Likewise.
57438 * libio/Makefile [$(cross-compiling) = no]: Likewise.
57439 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57440 * misc/Makefile [$(cross-compiling) = no]: Likewise.
57441 * posix/Makefile [$(cross-compiling) = no]: Likewise.
57442 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57443 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57444 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57445 * string/Makefile [$(cross-compiling) = no]: Likewise.
57446
57447 * posix/Makefile ($(objpfx)globtest.out): Pass
57448 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57449 $(rtld-installed-name).
57450 * posix/globtest.sh (elf_objpfx): Remove variable.
57451 (rtld_installed_name): Likewise.
57452 (library_path): Likewise.
57453 (run_program_prefix): New variable. Use for running globtest
57454 binary.
57455
57456 2012-10-23 Jim Blandy <jimb@codesourcery.com>
57457 Joseph Myers <joseph@codesourcery.com>
57458
57459 * Makeconfig (host-built-program-cmd): New variable.
57460 * elf/Makefile (tst-stackguard1-ARGS): Use
57461 $(host-built-program-cmd).
57462 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57463 (tst-spawn-ARGS): Likewise.
57464 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57465
57466 2012-10-23 Joseph Myers <joseph@codesourcery.com>
57467 Jim Blandy <jimb@codesourcery.com>
57468
57469 * Makeconfig (run-via-rtld-prefix): New variable.
57470 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57471 (built-program-cmd): Likewise.
57472
57473 2012-10-22 Andreas Jaeger <aj@suse.de>
57474
57475 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57476 __O_RSYNC if it exists, otherwise to O_SYNC.
57477
57478 2012-10-22 Jim Blandy <jimb@codesourcery.com>
57479 Joseph Myers <joseph@codesourcery.com>
57480
57481 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57482 /dev/null.
57483 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57484 from /dev/null
57485 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57486 /dev/null.
57487
57488 2012-10-22 Andreas Jaeger <aj@suse.de>
57489
57490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57491 Define always.
57492 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57493
57494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57495 bits/fcntl-linux.h.
57496
57497 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57498 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57499
57500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57501 to __O_LARGEFILE.
57502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57503 to __O_LARGEFILE.
57504
57505 2012-10-21 Jim Blandy <jimb@codesourcery.com>
57506 Joseph Myers <joseph@codesourcery.com>
57507
57508 * config.make.in (NM): New variable.
57509
57510 2012-10-21 Andreas Jaeger <aj@suse.de>
57511
57512 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57513 definitions and declarations that are provided by
57514 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57515
57516 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
57517
57518 [BZ #14683]
57519 * elf/Makefile (tests-static): Add tst-leaks1-static.
57520 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57521 ($(objpfx)tst-leaks1-static): New rule.
57522 ($(objpfx)tst-leaks1-static-mem): Likewise.
57523 (tst-leaks1-static-ENV): New macro.
57524 * elf/dl-open.c (dl_open_worker): Check the main application
57525 only if SHARED is defined.
57526 * elf/tst-leaks1-static.c: New file.
57527
57528 2012-10-20 Andreas Jaeger <aj@suse.de>
57529
57530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57531 generic values for Linux.
57532 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57533 and declarations that are provided by <bits/fcntl-linux.h> and
57534 include <bits/fcntl-linux.h>.
57535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57537
57538 2012-10-20 Roland McGrath <roland@hack.frob.com>
57539
57540 * io/fcntl.h: Move include of <bits/types.h> to the top and
57541 include it unconditionally.
57542
57543 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
57544
57545 * wcsmbs/Makefile (tests-ifunc): New variable.
57546 (tests): Add $(tests-ifunc).
57547 * wcsmbs/test-wcschr-ifunc.c: New file.
57548 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57549 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57550 * wcsmbs/test-wcslen-ifunc.c: Likewise.
57551 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57552 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57553
57554 * string/Makefile (tests-ifunc): New variable.
57555 (tests): Add $(tests-ifunc).
57556 * string/test-memccpy.c (TEST_NAME): New macro.
57557 * string/test-memchr.c (TEST_NAME): Likewise.
57558 * string/test-memcmp.c (TEST_NAME): Likewise.
57559 * string/test-memcpy.c (TEST_NAME): Likewise.
57560 * string/test-memmem.c (TEST_NAME): Likewise.
57561 * string/test-memmove.c (TEST_NAME): Likewise.
57562 * string/test-memset.c (TEST_NAME): Likewise.
57563 * string/test-rawmemchr.c (TEST_NAME): Likewise.
57564 * string/test-stpcpy.c (TEST_NAME): Likewise.
57565 * string/test-stpncpy.c (TEST_NAME): Likewise.
57566 * string/test-strcasecmp.c (TEST_NAME): Likewise.
57567 * string/test-strcasestr.c (TEST_NAME): Likewise.
57568 * string/test-strcat.c (TEST_NAME): Likewise.
57569 * string/test-strchr.c (TEST_NAME): Likewise.
57570 * string/test-strcmp.c(TEST_NAME): Likewise.
57571 * string/test-strcpy.c (TEST_NAME): Likewise.
57572 * string/test-strcspn.c (TEST_NAME): Likewise.
57573 * string/test-strlen.c (TEST_NAME): Likewise.
57574 * string/test-strncasecmp.c (TEST_NAME): Likewise.
57575 * string/test-strncmp.c (TEST_NAME): Likewise.
57576 * string/test-strncpy.c (TEST_NAME): Likewise.
57577 * string/test-strnlen.c (TEST_NAME): Likewise.
57578 * string/test-strpbrk.c (TEST_NAME): Likewise.
57579 * string/test-strrchr.c (TEST_NAME): Likewise.
57580 * string/test-strspn.c (TEST_NAME): Likewise.
57581 * string/test-strstr.c (TEST_NAME): Likewise.
57582 * string/test-bcopy-ifunc.c: New file.
57583 * string/test-bzero-ifunc.c: Likewise.
57584 * string/test-memccpy-ifunc.c: Likewise.
57585 * string/test-memchr-ifunc.c: Likewise.
57586 * string/test-memcmp-ifunc.c: Likewise.
57587 * string/test-memcpy-ifunc.c: Likewise.
57588 * string/test-memmem-ifunc.c: Likewise.
57589 * string/test-memmove-ifunc.c: Likewise.
57590 * string/test-mempcpy-ifunc.c: Likewise.
57591 * string/test-memset-ifunc.c: Likewise.
57592 * string/test-rawmemchr-ifunc.c: Likewise.
57593 * string/test-stpcpy-ifunc.c: Likewise.
57594 * string/test-stpncpy-ifunc.c: Likewise.
57595 * string/test-strcasecmp-ifunc.c: Likewise.
57596 * string/test-strcasestr-ifunc.c: Likewise.
57597 * string/test-strcat-ifunc.c: Likewise.
57598 * string/test-strchr-ifunc.c: Likewise.
57599 * string/test-strchrnul-ifunc.c: Likewise.
57600 * string/test-strcmp-ifunc.c: Likewise.
57601 * string/test-strcpy-ifunc.c: Likewise.
57602 * string/test-strcspn-ifunc.c: Likewise.
57603 * string/test-strlen-ifunc.c: Likewise.
57604 * string/test-strncasecmp-ifunc.c: Likewise.
57605 * string/test-strncat-ifunc.c: Likewise.
57606 * string/test-strncmp-ifunc.c: Likewise.
57607 * string/test-strncpy-ifunc.c: Likewise.
57608 * string/test-strnlen-ifunc.c: Likewise.
57609 * string/test-strpbrk-ifunc.c: Likewise.
57610 * string/test-strrchr-ifunc.c: Likewise.
57611 * string/test-strspn-ifunc.c: Likewise.
57612 * string/test-strstr-ifunc.c: Likewise.
57613
57614 * debug/Makefile (tests-ifunc): New variable.
57615 (tests): Add $(tests-ifunc).
57616 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57617 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57618 * debug/test-stpcpy_chk-ifunc.c: New file.
57619 * debug/test-strcpy_chk-ifunc.c: Likewise.
57620
57621 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
57622
57623 [BZ #13601]
57624 * elf/dl-load.c (open_verify): Retry read if the entire ELF
57625 header is not read in.
57626
57627 2012-10-19 Joseph Myers <joseph@codesourcery.com>
57628
57629 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
57630 script to $(SHELL) as $<. Pass $(common-objpfx) to script
57631 directly. Pass built executable to script as
57632 $(built-program-cmd).
57633 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
57634 $testprogram without using LD_LIBRARY_PATH and $ldso.
57635
57636 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57637 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57638 $(rtld-installed-name).
57639 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57640 (rtld_installed_name): Likewise.
57641 (library_path): Likewise.
57642 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
57643 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57644 $(run-program-prefix) to tst-tables.sh.
57645 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
57646 it to run tst-table-from and tst-table-to.
57647 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57648 Pass it to tst-table.sh.
57649 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57650 $(run-program-prefix) to tst-gettext.sh.
57651 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57652 tst-translit.sh.
57653 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57654 tst-gettext2.sh.
57655 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
57656 to run tst-gettext.
57657 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
57658 to run tst-gettext2.
57659 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
57660 to run tst-translit.
57661 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57662 $(run-program-prefix) to tst-mtrace.sh.
57663 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
57664 to run tst-mtrace.
57665 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57666 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57667 $(rtld-installed-name).
57668 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57669 (rtld_installed_name): Likewise.
57670 (run_program_prefix): New variable. Use it to run wordexp-test.
57671
57672 * Makeconfig (ARCH): Remove all definitions.
57673 (machine): Likewise.
57674 [ARCH]: Remove conditional code.
57675 [!objdir]: Give error.
57676 [!objdir] (objpfx): Remove.
57677 [!objdir] (common-objpfx): Likewise.
57678 [!objdir] (common-objdir): Likewise.
57679 * configure.in (config_makefile): Remove. Hardcode Makefile in
57680 AC_CONFIG_FILES call.
57681 * configure: Regenerated.
57682
57683 [BZ #13888]
57684 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57685 or TMPDIR.
57686 (testout): Likewise.
57687
57688 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57689 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57690 $(rtld-installed-name).
57691 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57692 (rtld_installed_name): Likwise.
57693 (runit): Remove function.
57694 (run_getconf): New variable, Use it for running getconf binary.
57695
57696 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
57697
57698 [BZ #14716]
57699 * string/test-memmem.c (check_result): New function.
57700 (do_one_test): Use it.
57701 (check1): New function.
57702 (test_main): Use it.
57703
57704 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
57705
57706 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57707
57708 2012-10-18 Joseph Myers <joseph@codesourcery.com>
57709
57710 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57711 (_G_LSEEK64): Likewise.
57712 (_G_MMAP64): Likewise.
57713 (_G_FSTAT64): Likewise.
57714 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57715 (_G_LSEEK64): Likewise.
57716 (_G_MMAP64): Likewise.
57717 (_G_FSTAT64): Likewise.
57718 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57719 unconditional. Call __mmap64 directly.
57720 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57721 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
57722 __lseek64 directly.
57723 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57724 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
57725 __mmap64 directly.
57726 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57727 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
57728 __lseek64 directly.
57729 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57730 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
57731 __lseek64 directly.
57732 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57733 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
57734 __lseek64 directly.
57735 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57736 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
57737 __fxstat64 directly.
57738 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57739 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57740 unconditional.
57741 (freopen64) [!_G_OPEN64]: Remove conditional code.
57742 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57743 unconditional.
57744 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57745 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57746 unconditional.
57747 (ftello64) [!_G_LSEEK64]: Remove conditional code.
57748 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57749 unconditional.
57750 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57751 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57752 unconditional.
57753 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57754 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57755 unconditional.
57756 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57757 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57758 unconditional.
57759 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57760 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57761 unconditional.
57762 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57763
57764 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
57765
57766 [BZ #12140]
57767 * manual/memory.texi (Malloc Tunable Parameters): Add note
57768 about free list pointers overwriting some perturb bytes.
57769 Wording suggested by Roland McGrath.
57770
57771 2012-10-17 Joseph Myers <joseph@codesourcery.com>
57772
57773 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57774 (lgamma_test): Likewise.
57775 (tgamma_test): Likewise.
57776
57777 2012-10-16 Florian Weimer <fweimer@redhat.com>
57778
57779 [BZ #14700]
57780 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57781 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57782
57783 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
57784
57785 * NEWS: Mention BZ #14716.
57786 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57787 when removing AVAILABLE1_USES_J macro.
57788
57789 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
57790
57791 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57792 (__bswap_64): __uint64_t for unsigned 64-bit int.
57793
57794 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
57795
57796 * include/string.h (memmem): Declare libc hidden alias.
57797 * string/memmem.c (memmem): Define libc hidden alias.
57798 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57799 __read, __close instead of open, read, close.
57800
57801 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
57802
57803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57804 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57805 global and hidden.
57806 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57807 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57808 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57809 Likewise.
57810 (__rawmemchr_sse2): Likewise.
57811 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57812 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57813 (__strchr_sse2): Likewise.
57814 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57815 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57816 (__strcasecmp_sse2): Likewise.
57817 (__strncasecmp_sse2): Likewise.
57818 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57819 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57820 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57821 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57822 (__strrchr_sse2): Likewise.
57823 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57824 ifunc-impl-list.c.
57825 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57826 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57827 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57828 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57829 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57830 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57831 * sysdeps/x86_64/multiarch/memset.S: Likewise.
57832 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57833 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57834 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57835 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57836 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57837 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57838 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57839 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57840 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57841 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57842 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57843 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57844 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57845 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57846 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57847 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57848 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57849 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57850 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57851 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57852 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57853 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57854 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57855
57856 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57857 global and hidden.
57858 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57859 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57860 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57861 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57862 Likewise.
57863 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57864 Likewise.
57865 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57866 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57867 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57868 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57869 ifunc-impl-list.c.
57870 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57871 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57872 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57873 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57874 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57875 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57876 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57877 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57878 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57879 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57880 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57881 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57882 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57883 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57884 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57885 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57886 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57887 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57888 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57889 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57890 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57891 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57892 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57893 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57894 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57895 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57896 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57897 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57898 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57899 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57900 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57901 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57902 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57903 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57904 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57905 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57906 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57907 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57908 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57909 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57910 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57911
57912 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57913 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57914 * include/ifunc-impl-list.h: New file.
57915 * misc/ifunc-impl-list.c: Likewise.
57916 * misc/Makefile (routines): Add ifunc-impl-list.
57917 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57918 * string/test-string.h: Include <ifunc-impl-list.h>.
57919 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57920 TEST_NAME]: New variables.
57921 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57922 are defined.
57923 (test_init): Call __libc_ifunc_impl_list to initialize
57924 func_list if TEST_IFUNC and TEST_NAME are defined.
57925
57926 * string/Makefile (strop-tests): Add bcopy and bzero.
57927 * string/test-bcopy.c: New file.
57928 * string/test-bzero.c: Likewise.
57929 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57930 defined.
57931 * string/test-memset.c: Support bzero test if TEST_BZERO is
57932 defined.
57933 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57934 __libc_memmove.
57935 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57936 __libc_memset.
57937 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57938 of memset.
57939
57940 2012-10-10 Joseph Myers <joseph@codesourcery.com>
57941
57942 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57943 * configure: Regenerated.
57944
57945 * Makeconfig (+link-static-before-libc): Don't include
57946 $(link-static-libc).
57947
57948 * libio/libio.h (_IO_pos_t): Remove.
57949
57950 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57951
57952 * NEWS: Add note about FIPS mode. Wording suggested by Roland
57953 McGrath.
57954
57955 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57956
57957 * crypt/crypt-entry.c: Include fips-private.h.
57958 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57959 * crypt/md5c-test.c (main): Tolerate disabled MD5.
57960 * sysdeps/unix/sysv/linux/fips-private.h: New file.
57961 * sysdeps/generic/fips-private.h: New file, dummy fallback.
57962
57963 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57964
57965 * crypt/crypt-private.h: Include stdbool.h.
57966 (_ufc_setup_salt_r): Return bool.
57967 * crypt/crypt-entry.c: Include errno.h.
57968 (__crypt_r): Return NULL with EINVAL for bad salt.
57969 * crypt/crypt_util.c (bad_for_salt): New.
57970 (_ufc_setup_salt_r): Check that salt is long enough and within
57971 the specified alphabet.
57972 * crypt/badsalttest.c: New file.
57973 * crypt/Makefile (tests): Add it.
57974 ($(objpfx)badsalttest): New.
57975
57976 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
57977
57978 * NEWS: Add entry for BZ #14602.
57979
57980 2012-10-09 Joseph Myers <joseph@codesourcery.com>
57981
57982 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57983 type-generic.
57984 * math/libm-test.inc: Update comment listing what functions and
57985 macros are tested.
57986 (isgreater_test): New function.
57987 (isgreaterequal_test): Likewise.
57988 (isless_test): Likewise.
57989 (islessequal_test): Likewise.
57990 (islessgreater_test): Likewise.
57991 (isunordered_test): Likewise.
57992 (main): Call the new functions.
57993
57994 2012-10-09 Roland McGrath <roland@hack.frob.com>
57995
57996 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57997 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57998 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57999 * sysdeps/i386/configure: Regenerated.
58000 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58001 * sysdeps/mach/configure: Regenerated.
58002 * sysdeps/mach/hurd/configure: Regenerated.
58003 * sysdeps/powerpc/configure: Regenerated.
58004 * sysdeps/powerpc/powerpc32/configure: Regenerated.
58005 * sysdeps/powerpc/powerpc64/configure: Regenerated.
58006 * sysdeps/s390/s390-32/configure: Regenerated.
58007 * sysdeps/s390/s390-64/configure: Regenerated.
58008 * sysdeps/sh/configure: Regenerated.
58009 * sysdeps/sparc/configure: Regenerated.
58010 * sysdeps/unix/sysv/linux/configure: Regenerated.
58011 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58012 * sysdeps/x86_64/configure: Regenerated.
58013
58014 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58015 defined. Don't check if MAP is NULL.
58016
58017 2012-10-09 Joseph Myers <joseph@codesourcery.com>
58018
58019 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58020 (_G_stat64): Likewise.
58021 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58022 (_G_stat64): Likewise.
58023 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58024 instead of struct _G_stat64.
58025 * libio/fileops.c (mmap_remap_check): Likewise.
58026 (decide_maybe_mmap): Likewise.
58027 (_IO_new_file_seekoff): Likewise.
58028 (_IO_file_stat): Likewise.
58029 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58030 _G_off64_t.
58031 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58032 instead of struct _G_stat64.
58033 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58034
58035 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
58036
58037 [BZ #14602]
58038 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58039 Replace with ...
58040 (CHECK_EOL): New macro.
58041 (two_way_short_needle): Check beginning of haystack for EOL. Use
58042 CHECK_EOL.
58043 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58044 Replace with CHECK_EOL.
58045 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58046 Replace with CHECK_EOL.
58047
58048 2012-10-08 Joseph Myers <joseph@codesourcery.com>
58049
58050 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58051 type-generic.
58052 * math/libm-test.inc: Update comment listing what functions and
58053 macros are tested.
58054 (finite_test): New function.
58055 (isinf_test): Likewise.
58056 (isnan_test): Likewise.
58057 (fpclassify_test): Test subnormal input.
58058 (isfinite_test): Likewise.
58059 (isnormal_test): Likewise.
58060 (main): Call the new functions.
58061
58062 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
58063
58064 [BZ #14660]
58065 * Makerules (%.dynsym): Force C locale when running
58066 $(OBJDUMP) --dynamic-syms.
58067
58068 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
58069
58070 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58071 <stdint.h>.
58072
58073 2012-10-06 David S. Miller <davem@davemloft.net>
58074
58075 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58076 upper 32-bits of the length value in %o2 since we use branch-on-register
58077 tests which consider the entire 64-bit register.
58078
58079 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
58080
58081 * string/test-strstr.c (check2): Add a test for page boundary.
58082
58083 2012-10-05 David S. Miller <davem@davemloft.net>
58084
58085 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58086 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58087 file.
58088 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58089 sysdep_routines.
58090 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58091 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58092 and bzero when HWCAP_SPARC_CRYPTO is present.
58093
58094 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
58095
58096 [BZ #14602]
58097 * string/test-strstr.c (check2): New function.
58098 (test_main): Call check2.
58099
58100 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58101 and bug-strchr1.
58102 * string/bug-strcasestr1.c (do_test): Moved to ...
58103 * string/test-strcasestr.c (check1): Here. New function.
58104 (do_one_test): Break out result checking code into ...
58105 (check_result): This. New function.
58106 (do_one_test): Call check_result.
58107 (test_main): Call check1.
58108 * string/bug-strchr1.c (do_test): Moved to ...
58109 * string/test-strchr.c (check1): Here. New function.
58110 (do_one_test): Break out result checking code into ...
58111 (check_result): This. New function.
58112 (do_one_test): Call check_result.
58113 (test_main): Call check1.
58114 * string/bug-strstr1.c (main): Moved to ...
58115 * string/test-strstr.c (check1): Here. New function.
58116 (do_one_test): Break out result checking code into ...
58117 (check_result): This. New function.
58118 (do_one_test): Call check_result.
58119 (test_main): Call check1.
58120 * string/bug-strcasestr1.c: Removed.
58121 * string/bug-strchr1.c: Likewise.
58122 * string/bug-strstr1.c: Likewise.
58123
58124 * elf/Makefile (dl-routines): Add hwcaps.
58125 * elf/dl-support.c (_dl_important_hwcaps): Removed.
58126 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58127 (_dl_important_hwcaps): Moved to ...
58128 * elf/dl-hwcaps.c: Here. New file.
58129 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58130
58131 [BZ #14557]
58132 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58133 if IS_IN_rtld isn't defined.
58134
58135 * elf/dl-support.c (_dl_sysinfo_map): New.
58136 Include "get-dynamic-info.h" and "setup-vdso.h".
58137 (_dl_non_dynamic_init): Call setup_vdso.
58138 * elf/dynamic-link.h: Don't include <assert.h>.
58139 (elf_get_dynamic_info): Moved to ...
58140 * elf/get-dynamic-info.h: Here. New file.
58141 * elf/dynamic-link.h: Include "get-dynamic-info.h".
58142 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58143 * elf/setup-vdso.h: Here. New file.
58144 * elf/rtld.c: Include "setup-vdso.h".
58145 (dl_main): Call setup_vdso.
58146
58147 2012-10-05 Joseph Myers <joseph@codesourcery.com>
58148
58149 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58150 creal in comment listing functions tested. List finite, isinf,
58151 isnan, isless, islessequal, isgreater, isgreaterequal,
58152 islessgreater, isunordered, lgamma_r and pow10 as functions and
58153 macros not tested. Mention which functions not tested are aliases
58154 for other functions. Fix typo. Note that signs of NaNs are not
58155 tested.
58156
58157 * scripts/config.guess: Update from config.git.
58158 * scripts/config.sub: Likewise.
58159
58160 2012-10-04 Roland McGrath <roland@hack.frob.com>
58161
58162 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58163 * misc/madvise.c (madvise): Renamed to __madvise.
58164 Make madvise a weak alias.
58165 * include/sys/mman.h: Declare __madvise.
58166 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58167 * sysdeps/unix/syscalls.list
58168 (madvise): Make __madvise the strong name, and madvise a weak alias.
58169 * sysdeps/unix/sysv/linux/syscalls.list
58170 (madvise, mmap): Remove redundant entries.
58171 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58172 * malloc/malloc.c (mtrim): Likewise.
58173 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58174
58175 2012-10-03 Roland McGrath <roland@hack.frob.com>
58176
58177 * sysdeps/mach/hurd/dl-cache.c: File removed.
58178 * config.h.in (USE_LDCONFIG): New #undef.
58179 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58180 * configure: Regenerated.
58181 * elf/Makefile (dl-routines): Add dl-cache only under
58182 [$(use-ldconfig) = yes].
58183 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58184 cache on [USE_LDCONFIG].
58185 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58186 [USE_LDCONFIG].
58187 * elf/rtld.c (dl_main): Likewise.
58188
58189 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
58190
58191 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58192 _SC_LEVEL4_CACHE_LINESIZE.
58193
58194 2012-10-03 Roland McGrath <roland@hack.frob.com>
58195
58196 * sysdeps/unix/bsd/confstr.h: File removed.
58197
58198 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
58199
58200 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58201 sys/sdt-config.h.
58202
58203 2012-10-02 Roland McGrath <roland@hack.frob.com>
58204
58205 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58206 Make 'mapoff' field ElfW(Off) rather than off_t.
58207
58208 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
58209
58210 * nscd/Makefile: Remove nscd-cflags and all its users.
58211 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58212 (CFLAGS-nonlib): Add compiler flags for nscd modules.
58213
58214 [BZ #10631]
58215 * malloc.c (malloc_printerr): Clarify error message.
58216
58217 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
58218
58219 [BZ #14648]
58220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58221 Set bit_FMA_Usable if FMA is supported.
58222 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58223 macro.
58224 (bit_FMA4_Usable): Updated.
58225 (index_FMA_Usable): New macro.
58226 (CPUID_FMA): Likewise.
58227 (HAS_FMA): Defined with bit_FMA_Usable.
58228
58229 2012-10-01 Roland McGrath <roland@hack.frob.com>
58230
58231 * bits/types.h (__swblk_t): Type removed.
58232 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58233 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58234 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58235 (__SWBLK_T_TYPE): Likewise.
58236 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58237 (__SWBLK_T_TYPE): Likewise.
58238 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58239 (__SWBLK_T_TYPE): Likewise.
58240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58241 (__SWBLK_T_TYPE): Likewise.
58242
58243 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
58244 Honza Horak <hhorak@redhat.com>
58245
58246 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58247 (xdr_mapname): Use YPMAXMAP as maxsize.
58248 (xdr_peername): Use YPMAXPEER as maxsize.
58249 (xdr_keydat): Use YPAXRECORD as maxsize.
58250 (xdr_valdat): Use YPMAXRECORD as maxsize.
58251
58252 2012-10-01 Roland McGrath <roland@hack.frob.com>
58253
58254 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58255
58256 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58257 * csu/init-first.c: ... here.
58258 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58259 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58260 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58261 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58262 * sysdeps/i386/init-first.c: File removed.
58263 * sysdeps/sh/init-first.c: File removed.
58264
58265 2012-10-01 Joseph Myers <joseph@codesourcery.com>
58266
58267 [BZ #14645]
58268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58269 if x * y might underflow to zero and z is zero.
58270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58271 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58272 * math/libm-test.inc (min_subnorm_value): New variable.
58273 (fma_test): Add more tests.
58274 (fma_test_towardzero): Likewise.
58275 (fma_test_downward): Likewise.
58276 (fma_test_upward): Likewise.
58277 (initialize): Set min_subnorm_value.
58278
58279 2012-09-29 Joseph Myers <joseph@codesourcery.com>
58280
58281 [BZ #14638]
58282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58283 0 + 0.
58284 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58285 mode for addition resulting in exact zero.
58286 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58288 exact 0 + 0.
58289 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58290 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58291 * math/libm-test.inc (fma_test): Add more tests.
58292 (fma_test_towardzero): New function.
58293 (fma_test_downward): Likewise.
58294 (fma_test_upward): Likewise.
58295 (main): Call the new functions.
58296
58297 2012-09-28 David S. Miller <davem@davemloft.net>
58298
58299 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58300
58301 2012-09-28 Roland McGrath <roland@hack.frob.com>
58302
58303 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58304 instead of SIGALRM.
58305
58306 * sysdeps/gnu/_G_config.h: Moved to ...
58307 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58308 * sysdeps/mach/hurd/_G_config.h: Moved to ...
58309 * sysdeps/generic/_G_config.h: ... here.
58310
58311 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
58312
58313 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58314
58315 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58316 Conditionalize target on [libnss_test1.so-version].
58317
58318 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58319
58320 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58321 (elfobjdir): Move out of conditionals.
58322
58323 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58324 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58325 (__nss_lookup_function): Conditionalize label remove_from_tree on
58326 [!DO_STATIC_NSS || SHARED], matching its only use.
58327
58328 2012-09-28 David S. Miller <davem@davemloft.net>
58329
58330 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58331 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58332 file.
58333 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58334 sysdep_routines.
58335 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58337 when HWCAP_SPARC_CRYPTO is present.
58338
58339 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58340
58341 * io/tst-mknodat.c: Create a FIFO instead of a socket.
58342
58343 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
58344
58345 [BZ #6530]
58346 * stdio-common/vfprintf.c (process_string_arg): Revert
58347 2000-07-22 change.
58348
58349 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
58350
58351 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58352 for testcase.
58353 * stdio-common/tst-sprintf.c: Include <locale.h>
58354 (main): Test sprintf's handling of incomplete multibyte
58355 characters.
58356
58357 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
58358
58359 * elf/dl-runtime.c (VERSYMIDX): Removed.
58360 * elf/dl-version.c (VERSYMIDX): Likewise.
58361 * elf/do-rel.h (VERSYMIDX): Likewise.
58362 (VALIDX): Likewise.
58363 * elf/dynamic-link.h (VERSYMIDX): Likewise.
58364 * elf/rtld.c (VALIDX): Likewise.
58365 (ADDRIDX): Likewise.
58366 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58367 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58368 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58369 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58370 (VALIDX): Likewise.
58371 (ADDRIDX): Likewise.
58372
58373 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58374
58375 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58376
58377 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
58378
58379 [BZ #11438]
58380 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58381 to global scope.
58382 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58383 addresses are in the same scope as 192.0.2/24.
58384 * posix/gai.conf: Document new scope table defaults.
58385
58386 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58387
58388 [BZ #5298]
58389 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58390 for ftell. Compute offsets from write pointers instead.
58391 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58392
58393 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58394
58395 [BZ #14543]
58396 * libio/Makefile (tests): New test case tst-fseek.
58397 * libio/tst-fseek.c: New test case to verify that fseek/ftell
58398 combination works in wide mode.
58399 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58400 state when the external buffer state changes.
58401
58402 2012-09-27 David S. Miller <davem@davemloft.net>
58403
58404 [BZ #14376]
58405 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58406 pass reloc->r_addend in as the 'high' argument to
58407 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58408
58409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58410
58411 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58412
58413 * rt/tst-aio2.c: Include <pthread.h>.
58414 * rt/tst-aio3.c: Likewise.
58415
58416 2012-09-27 Steve Ellcey <sellcey@mips.com>
58417
58418 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58419
58420 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
58421
58422 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58423 contents on [SHARED].
58424
58425 2012-09-26 Marek Polacek <polacek@redhat.com>
58426
58427 [BZ #14530]
58428 [BZ #13741]
58429 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58430 for C++ and GCC <4.3 as well as for non GCC compilers.
58431
58432 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
58433
58434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58435
58436 2012-09-25 Roland McGrath <roland@hack.frob.com>
58437
58438 * Makefile.in (all, install): Declare with .PHONY.
58439 Reported by Michael Hope <michael.hope@linaro.org>.
58440
58441 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58442
58443 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58444 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58445 system header.
58446 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58447 Likewise.
58448 (sydep_routines): Add the new and the internal functions.
58449 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58450 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58452 (GLIBC_2.17): Add the new function.
58453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58454 (GLIBC_2.17): Likewise.
58455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58456 (GLIBC_2.17): Likewise.
58457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58458 (GLIBC_2.17): Likewise.
58459 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58460
58461 2012-09-25 Alan Modra <amodra@gmail.com>
58462
58463 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58464 Add release barrier before setting once_control to say
58465 initialisation is done. Add hints on lwarx. Use macro in
58466 place of isync.
58467 (clear_once_control): Add release barrier.
58468
58469 2012-09-25 Joseph Myers <joseph@codesourcery.com>
58470
58471 [BZ #13629]
58472 * math/s_clog.c (__clog): Handle more values close to |z| = 1
58473 specially.
58474 * math/s_clog10.c (__clog10): Likewise.
58475 * math/s_clog10f.c (__clog10f): Likewise.
58476 * math/s_clog10l.c (__clog10l): Likewise.
58477 * math/s_clogf.c (__clogf): Likewise.
58478 * math/s_clogl.c (__clogl): Likewise.
58479 * math/Makefile (libm-calls): Add x2y2m1.
58480 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58481 (__x2y2m1): Likewise.
58482 (__x2y2m1l): Likewise.
58483 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58484 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58485 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58486 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58487 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58488 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58489 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58490 * sysdeps/i386/fpu/libm-test-ulps: Update.
58491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58492
58493 [BZ #14621]
58494 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58495 int as type of variable DEPTH.
58496 (glob): Use size_t instead of int as type of variables NEWCOUNT
58497 and OLD_PATHC.
58498
58499 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58500
58501 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58502 Add s_sincosf-sse2.
58503 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58504 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58505 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58506 macros for using routine as __sincosf_ia32.
58507 Use macro for function declaration and weak_alias.
58508 * sysdeps/i386/fpu/libm-test-ulps: Update.
58509
58510 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58512
58513 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58514 subnormal argument.
58515 * math/s_cexpf.c (__cexpf): Likewise.
58516 * math/s_csinf.c (__csinf): Likewise.
58517 * math/s_csinhf.c (__csinhf): Likewise.
58518 * math/s_ctanf.c (__ctanf): Likewise.
58519 * math/s_ctanhf.c (__ctanhf): Likewise.
58520 * math/s_ccosh.c (__ccoshf): Likewise.
58521 * math/s_cexp.c (__cexpl): Likewise.
58522 * math/s_csin.c (__csin): Likewise.
58523 * math/s_csinh.c (__csinh): Likewise.
58524 * math/s_ctan.c (__ctan): Likewise.
58525 * math/s_ctanh.c (ctanh): Likewise.
58526 * math/s_ccoshl.c (__ccoshl): Likewise.
58527 * math/s_cexpl.c (__cexpl): Likewise.
58528 * math/s_csinl.c (__csinl): Likewise.
58529 * math/s_csinhl.c (__csinhl): Likewise.
58530 * math/s_ctanl.c (__ctanl): Likewise.
58531 * math/s_ctanhl.c (__ctanhl): Likewise.
58532
58533 2012-09-25 Joseph Myers <joseph@codesourcery.com>
58534
58535 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58536 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58537 (_IO_off_t): Define to __off_t, not _G_off_t.
58538 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58539 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58540 (_IO_wint_t): Define to wint_t, not _G_wint_t.
58541 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58542 type of __dummy and __dummy2 fields.
58543 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58544 (_G_ssize_t): Likewise.
58545 (_G_off_t): Likewise.
58546 (_G_pid_t): Likewise.
58547 (_G_uid_t): Likewise.
58548 (_G_wchar_t): Likewise.
58549 (_G_wint_t): Likewise.
58550 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58551 (_G_ssize_t): Likewise.
58552 (_G_off_t): Likewise.
58553 (_G_pid_t): Likewise.
58554 (_G_uid_t): Likewise.
58555 (_G_wchar_t): Likewise.
58556 (_G_wint_t): Likewise.
58557 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58558 (_G_ssize_t): Likewise.
58559 (_G_off_t): Likewise.
58560 (_G_pid_t): Likewise.
58561 (_G_uid_t): Likewise.
58562 (_G_wchar_t): Likewise.
58563 (_G_wint_t): Likewise.
58564
58565 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58566
58567 * malloc/arena.c: Include malloc-sysdep.h.
58568 (shrink_heap): Use check_may_shrink_heap to decide if madvise
58569 is sufficient to shrink the heap or an unmap is needed.
58570 * sysdeps/generic/malloc-sysdep.h: New file. Define
58571 new function check_may_shrink_heap.
58572 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
58573 new function check_may_shrink_heap.
58574
58575 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58576
58577 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58578 comments.
58579
58580 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
58581
58582 * catgets/test-gencat.sh: Add "set -e".
58583 * elf/tst-pathopt.sh: Likewise.
58584 * grp/tst_fgetgrent.sh: Likewise.
58585 * iconvdata/run-iconv-test.sh: Likewise.
58586 * intl/tst-gettext.sh: Likewise.
58587 * intl/tst-gettext2.sh: Likewise.
58588 * intl/tst-gettext4.sh: Likewise.
58589 * intl/tst-gettext6.sh: Likewise.
58590 * intl/tst-translit.sh: Likewise.
58591 * io/ftwtest-sh: Likewise.
58592 * libio/test-freopen.sh: Likewise.
58593 * malloc/tst-mtrace.sh: Likewise.
58594 * posix/globtest.sh: Likewise.
58595 * posix/tst-getconf.sh: Likewise.
58596 * posix/wordexp-tst.sh: Likewise.
58597 * stdio-common/tst-printf.sh: Likewise.
58598 * stdio-common/tst-unbputc.sh: Likewise.
58599 * stdlib/tst-fmtmsg.sh: Likewise.
58600 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58601 * catgets/Makefile: Do not specify -e option when running
58602 testsuite shell scripts.
58603 * elf/Makefile: Likewise.
58604 * grp/Makefile: Likewise.
58605 * iconvdata/Makefile: Likewise.
58606 * intl/Makefile: Likewise.
58607 * io/Makefile: Likewise.
58608 * libio/Makefile: Likewise.
58609 * malloc/Makefile: Likewise.
58610 * posix/Makefile: Likewise.
58611 * stdio-common/Makefile: Likewise.
58612 * stdlib/Makefile: Likewise.
58613 * sysdeps/x86_64/Makefile: Likewise.
58614
58615 * io/ftwtest-sh: Add copyright header.
58616 * posix/globtest.sh: Likewise.
58617 * posix/tst-getconf.sh: Likewise.
58618 * posix/wordexp-tst.sh: Likewise.
58619 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58620
58621 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
58622
58623 [BZ #13679]
58624 * Makeconfig (+link): Defined as $(+link-static) if
58625 $(build-shared) isn't yes.
58626 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58627 isn't yes.
58628 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58629
58630 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58631
58632 [BZ #14562]
58633 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58634 new chunk size with MALLOC_ALIGN_MASK.
58635
58636 2012-09-24 Joseph Myers <joseph@codesourcery.com>
58637
58638 [BZ #5044]
58639 * stdio-common/printf_fphex.c: Include <stdbool.h> and
58640 <rounding-mode.h>.
58641 (__printf_fphex): Determine rounding using get_rounding_mode and
58642 round_away.
58643 * stdio-common/tst-printf-round.c (struct hex_test): New
58644 structure.
58645 (hex_tests): New variable.
58646 (test_hex_in_one_mode): New function.
58647 (do_test): Also run tests for hex float output.
58648
58649 2012-09-21 Joseph Myers <joseph@codesourcery.com>
58650
58651 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58652 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58653 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58654 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58655 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58656 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58657 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58658 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58659
58660 2012-09-20 Joseph Myers <joseph@codesourcery.com>
58661
58662 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58663 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58664 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58665 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58666
58667 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
58668
58669 [BZ #14579]
58670 * elf/rtld.c (dl_main): Limit the check for self loading to normal
58671 mode only.
58672 * elf/tst-rtld-load-self.sh: New test.
58673 * elf/Makefile: Run it.
58674
58675 2012-09-18 Joseph Myers <joseph@codesourcery.com>
58676
58677 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58678 (tst-writev-ENV): Remove.
58679 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58680
58681 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
58682
58683 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58684
58685 2012-09-17 Joseph Myers <joseph@codesourcery.com>
58686
58687 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58688 unconditional.
58689 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58690 Likewise.
58691 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58692 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58693 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58694 Likewise.
58695
58696 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
58697
58698 [BZ #14587]
58699 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58700 * config.make.in (have-cpp-asm-debuginfo): Removed.
58701 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58702 * configure: Regenerated.
58703
58704 2012-09-14 Joseph Myers <joseph@codesourcery.com>
58705
58706 [BZ #5044]
58707 * stdio-common/printf_fp.c: Include <stdbool.h> and
58708 <rounding-mode.h>.
58709 (___printf_fp): Determine rounding using get_rounding_mode and
58710 round_away.
58711 * stdio-common/tst-printf-round.c: New file.
58712 * stdio-common/Makefile (tests): Add tst-printf-round.
58713 (link-libm): New variable.
58714 ($(objpfx)tst-printf-round): Depend in $(link-libm).
58715
58716 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
58717
58718 [BZ #14576]
58719 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58720 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58721 Likewise.
58722 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58723 Likewise.
58724
58725 2012-09-13 Joseph Myers <joseph@codesourcery.com>
58726
58727 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58728 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58729 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58730 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58731
58732 2012-09-12 Joseph Myers <joseph@codesourcery.com>
58733
58734 [BZ #14518]
58735 * include/rounding-mode.h: New file.
58736 * sysdeps/generic/get-rounding-mode.h: Likewise.
58737 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58738 * stdlib/strtod_l.c: Include <rounding-mode.h>.
58739 (MAX_VALUE): New macro.
58740 (MIN_VALUE): Likewise.
58741 (overflow_value): New function.
58742 (underflow_value): Likewise.
58743 (round_and_return): Use overflow_value and underflow_value to
58744 determine return values in overflow and underflow cases. Use
58745 round_away to determine rounding depending on rounding mode.
58746 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58747 determine return values in overflow and underflow cases.
58748 * stdlib/tst-strtod-round.c: Include <fenv.h>.
58749 (struct test_results): New structure.
58750 (struct test): Use struct test_results to store expected results
58751 for all rounding modes.
58752 (TEST): Include expected results for all rounding modes.
58753 (test_in_one_mode): New function.
58754 (do_test): Use test_in_one_mode to compute and check results.
58755 Check results for all rounding modes.
58756 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58757 $(link-libm).
58758
58759 2012-12-09 Allan McRae <allan@archlinux.org>
58760
58761 * sysdeps/i386/fpu/libm-test-ulps: Update
58762
58763 2012-09-11 Joseph Myers <joseph@codesourcery.com>
58764
58765 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58766 (_G_int32_t): Likewise.
58767 (_G_uint16_t): Likewise.
58768 (_G_uint32_t): Likewise.
58769 (_G_HAVE_BOOL): Likewise.
58770 (_G_HAVE_ATEXIT): Likewise.
58771 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58772 (_G_HAVE_IO_FILE_OPEN): Likewise.
58773 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58774 (_G_int32_t): Likewise.
58775 (_G_uint16_t): Likewise.
58776 (_G_uint32_t): Likewise.
58777 (_G_HAVE_BOOL): Likewise.
58778 (_G_HAVE_ATEXIT): Likewise.
58779 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58780 (_G_HAVE_IO_FILE_OPEN): Likewise.
58781 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58782 (_G_int32_t): Likewise.
58783 (_G_uint16_t): Likewise.
58784 (_G_uint32_t): Likewise.
58785 (_G_HAVE_BOOL): Likewise.
58786 (_G_HAVE_ATEXIT): Likewise.
58787 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58788 (_G_HAVE_IO_FILE_OPEN): Likewise.
58789
58790 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
58791
58792 * csu/libc-tls.c: Update copyright years.
58793
58794 2012-09-10 Joseph Myers <joseph@codesourcery.com>
58795
58796 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58797 [!_G_USING_THUNKS]: Remove conditional code.
58798 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58799 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58800
58801 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58802 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58803 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58804 (_G_VTABLE_LABEL_PREFIX): Likewise.
58805 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58806 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58807 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58808 (_G_VTABLE_LABEL_PREFIX): Likewise.
58809 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58810 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58811 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58812 (_G_VTABLE_LABEL_PREFIX): Likewise.
58813 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58814
58815 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
58816
58817 * libio/Makefile: Include ../Makeconfig before tests.
58818 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58819 only if $(build-shared) is yes.
58820
58821 * iconv/gconv_db.c: Update copyright years.
58822
58823 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58824
58825 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58826 unwind info if defined PIC. Fix special cases description.
58827 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58828
58829 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58830 DP_HI_MASK entry.
58831 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58832
58833 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
58834
58835 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58836
58837 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58838 is NULL.
58839
58840 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58841 (LDLIBS-tst-chk4): This.
58842 (LDFLAGS-tst-chk5): Renamed to ...
58843 (LDLIBS-tst-chk5): This.
58844 (LDFLAGS-tst-chk6): Renamed to ...
58845 (LDLIBS-tst-chk6): This.
58846 (LDFLAGS-tst-lfschk4): Renamed to ...
58847 (LDLIBS-tst-lfschk4): This.
58848 (LDFLAGS-tst-lfschk5): Renamed to ...
58849 (LDLIBS-tst-lfschk5): This.
58850 (LDFLAGS-tst-lfschk6): Renamed to ...
58851 (LDLIBS-tst-lfschk6): This.
58852
58853 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58854 on $(common-objpfx)soversions.mk.
58855
58856 2012-09-07 Joseph Myers <joseph@codesourcery.com>
58857
58858 [BZ #10014]
58859 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58860 example host name.
58861
58862 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58863
58864 * malloc/arena.c (arena_get_retry): New function that gets
58865 another arena for the caller to try its request on.
58866 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58867 current arena cannot fulfill the request.
58868 (__libc_memalign): Likewise.
58869 (__libc_memalign): Likewise.
58870 (__libc_pvalloc): Likewise.
58871 (__libc_calloc): Likewise.
58872
58873 2012-09-05 John Tobey <john.tobey@gmail.com>
58874
58875 [BZ #13542]
58876 * manual/arith.texi (Operations on Complex): Fix description
58877 of carg branch cut.
58878
58879 2012-09-06 Joseph Myers <joseph@codesourcery.com>
58880
58881 [BZ #10014]
58882 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58883 host name.
58884
58885 [BZ #10038]
58886 * manual/memory.texi (Memory): Make order of menu items match
58887 order of sections.
58888
58889 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58890
58891 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58892 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
58893 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58894
58895 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58896
58897 * csu/libc-tls.c (static_dtv): Renamed to ...
58898 (_dl_static_dtv): This. Make it global.
58899 (_dl_initial_dtv): Removed.
58900 (__libc_setup_tls): Updated.
58901 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58902 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58903 DL_INITIAL_DTV.
58904
58905 2012-09-06 Petr Machata <pmachata@redhat.com>
58906
58907 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58908 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58909 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58910 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58911
58912 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58913
58914 [BZ #14545]
58915 * csu/libc-tls.c (_dl_initial_dtv): New variable.
58916 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58917 freeing dtv[-1].
58918
58919 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58920
58921 [BZ #14544]
58922 * Makeconfig (link-static-before-libc): Replace $(+prector)
58923 with $(+prectorT).
58924 (link-static-after-libc): Replace $(+postctor) with
58925 $(+postctorT).
58926 (link-bounded): Replace $(+prector)/$(+postctor) with
58927 $(+prectorT)/$(+postctorT).
58928 (+prectorT): New macro.
58929 (+postctorT): Likewise.
58930
58931 2012-09-06 Joseph Myers <joseph@codesourcery.com>
58932
58933 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58934 (round_str): Handle values above the maximum for IBM long double
58935 as inexact.
58936 * stdlib/tst-strtod-round.c (tests): Regenerated.
58937
58938 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58939
58940 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58941 assembler flag.
58942 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58943 zarch_nohighgprs around the zarch optimized routines.
58944 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58945 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58946 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58947 for zarch.
58948
58949 2012-09-05 David S. Miller <davem@davemloft.net>
58950
58951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58952
58953 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58954 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58955 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58956 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58957 entries.
58958
58959 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58960
58961 * malloc/arena.c: Fold copyright years.
58962 * malloc/mcheck.c, malloc/memusage.c: Likewise.
58963
58964 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58965
58966 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58967
58968 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58969
58970 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
58971
58972 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58973
58974 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58975 change internal state upon failure.
58976
58977 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58978
58979 * malloc/mcheck.c (mcheck_check_all): Fix typo.
58980 * malloc/memusage.c (mmap): Likewise.
58981 (mmap64, mremap): Likewise. Adjust name in comment.
58982
58983 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58984
58985 * libio/fileops.c: Fix typos in comments.
58986 * libio/oldfileops.c: Likewise.
58987 * libio/wfileops.c: Likewise.
58988
58989 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58990
58991 [BZ #1349]
58992 * malloc/Makefile (tests): Add tst-malloc-usable test case.
58993 (tst-malloc-usable-ENV): Set environment for test case.
58994 * malloc/hooks.c (malloc_check_get_size): New function to get
58995 requested size.
58996 * malloc/malloc.c (musable): Use malloc_check_get_size.
58997 * malloc/tst-malloc-usable.c: New test case.
58998
58999 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
59000
59001 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59002
59003 2012-09-05 Allan McRae <allan@archlinux.org>
59004
59005 [BZ #13966]
59006 * configure.in (CXX_SYSINCLUDES): Use compiler output to
59007 determine header location.
59008 * configure: Regenerated.
59009
59010 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
59011
59012 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59013 float format.
59014 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59015 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59016 format.
59017 (test): Regenerate.
59018
59019 2012-09-04 David S. Miller <davem@davemloft.net>
59020
59021 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59022 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59023 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59024
59025 2012-09-04 Florian Weimer <fweimer@redhat.com>
59026
59027 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59028 failures.
59029
59030 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59031
59032 2012-09-04 Joseph Myers <joseph@codesourcery.com>
59033
59034 [BZ #9914]
59035 * libio/iogetdelim.c: Include <limits.h>.
59036 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59037 + len + 1 would overflow.
59038
59039 2012-09-03 Andreas Jaeger <aj@suse.de>
59040
59041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59042 * sysdeps/i386/fpu/libm-test-ulps: Update.
59043
59044 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59045
59046 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59047 Add s_sinf-sse2, s_conf-sse2.
59048
59049 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59050 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59051 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59052 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59053
59054 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59055 for using routine as __sinf_ia32.
59056 Use macro for function declaration and weak_alias.
59057 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59058 for using routine as __cosf_ia32.
59059 Use macro for function declaration and weak_alias.
59060
59061 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59062 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59063
59064 * sysdeps/x86_64/fpu/s_sinf.S: New file.
59065 * sysdeps/x86_64/fpu/s_cosf.S: New file.
59066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59067
59068 * math/libm-test.inc (cos_test): Add more test cases.
59069 (sin_test): Likewise.
59070 (sincos_test): Likewise.
59071
59072 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59073
59074 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59075 (IFUNC_RESOLVE): Make pointers to the specialized implementations
59076 hidden.
59077 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59078
59079 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
59080
59081 [BZ #14538]
59082 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59083 first element of the GOT.
59084 (elf_machine_load_address): Return the difference between
59085 the runtime address of _DYNAMIC and elf_machine_dynamic ().
59086
59087 2012-09-01 Allan McRae <allan@archlinux.org>
59088
59089 [BZ #13412]
59090 * configure.in (AWK): Require gawk version 3.0 or later.
59091 * configure: Regenerated.
59092
59093 2012-09-01 Joseph Myers <joseph@codesourcery.com>
59094
59095 * sysdeps/unix/sysv/linux/kernel-features.h
59096 (__ASSUME_POSIX_CPU_TIMERS): Remove.
59097 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59098 [__NR_clock_getres]: Make code unconditional.
59099 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59100 (clock_getcpuclockid): Remove code left unreachable by removal of
59101 conditionals.
59102 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59103 code unconditional.
59104 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59105 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59106 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59107 Make code unconditional.
59108 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59109 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59110 * sysdeps/unix/sysv/linux/clock_settime.c
59111 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59112 conditional code.
59113 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59114 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59115
59116 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
59117
59118 [BZ #14476]
59119 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59120 scripts/test-installation.pl.
59121
59122 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59123 and $ld_so_version if it is set.
59124
59125 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
59126
59127 [BZ #14516]
59128 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59129 failure if reading from procfs failed.
59130 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59131
59132 2012-08-27 Joseph Myers <joseph@codesourcery.com>
59133
59134 * sysdeps/unix/sysv/linux/kernel-features.h
59135 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59136 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59137 Remove conditional code.
59138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59139 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59140 Remove conditional code.
59141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59142 * sysdeps/unix/sysv/linux/i386/fxstat.c
59143 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59145 * sysdeps/unix/sysv/linux/i386/fxstatat.c
59146 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59148 * sysdeps/unix/sysv/linux/i386/lxstat.c
59149 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59151 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59152 Remove conditional code.
59153 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59154 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59155 Remove conditional code.
59156 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59157 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59158 <kernel-features.h>.
59159 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59160 Remove.
59161 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59162 Remove conditional code.
59163 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59164 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59165 Remove conditional.
59166
59167 2012-08-27 Mike Frysinger <vapier@gentoo.org>
59168
59169 [BZ #5400]
59170 * NEWS: Add fixed bug number.
59171
59172 2012-08-27 Joseph Myers <joseph@codesourcery.com>
59173
59174 [BZ #14519]
59175 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59176 underflowing exponent in case of negative sign.
59177 * stdlib/tst-strtod-round-data: Add more tests.
59178 * stdlib/tst-strtod-round.c (tests): Regenerated.
59179
59180 [BZ #3479]
59181 * stdlib/strtod_l.c (NDIG): Remove.
59182 (HEXNDIG): Likewise.
59183 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59184 smallest representable value.
59185 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59186 lie within an exact representation of 1/2 ulp of the result.
59187 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59188 unconditionally.
59189 (TENS_P9_IDX): Define unconditionally.
59190 (TENS_P9_SIZE): Likewise.
59191 (TENS_P10_IDX): Likewise.
59192 (TENS_P10_SIZE): Likewise.
59193 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59194 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59195 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59196 entries for 10^2^13 and 10^2^14.
59197 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59198 (TENS_P13_IDX): Define.
59199 (TENS_P13_SIZE): Likewise.
59200 (TENS_P14_IDX): Likewise.
59201 (TENS_P14_SIZE): Likewise.
59202 (_fpioconst_pow10): Change array size to
59203 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
59204 unconditional.
59205 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59206 1024]: Add entries for 10^2^13 and 10^2^14.
59207 [LAST_POW10 > _LAST_POW10]: Remove #error.
59208 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59209 (_fpioconst_pow10): Change array size to
59210 FPIOCONST_POW10_ARRAY_SIZE.
59211 * stdlib/gen-fpioconst.c: New file.
59212 * stdlib/gen-tst-strtod-round.c: Likewise.
59213 * stdlib/tst-strtod-round-data: Likewise.
59214 * stdlib/tst-strtod-round.c: Likewise.
59215 * stdlib/Makefile (tests): Add tst-strtod-round.
59216
59217 [BZ #14459]
59218 * stdlib/strtod_l.c: Include <stdint.h>.
59219 (NDEBUG): Do not define.
59220 (round_and_return): Change EXPONENT parameter to type intmax_t.
59221 Rearrange calculations to avoid internal overflow possibilities.
59222 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59223 Rearrange calculations to avoid internal overflow possibilities.
59224 Assert that number fits inside MPNSIZE limbs.
59225 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59226 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
59227 calculations and add assertions to avoid internal overflow
59228 possibilities. Add casts to avoid signed/unsigned operations.
59229 * stdlib/tst-strtod-overflow.c: New file.
59230 * stdlib/Makefile (tests): Add tst-strtod-overflow.
59231
59232 2012-08-25 Marek Polacek <polacek@redhat.com>
59233
59234 * time/time.h: Fix some typos in comments.
59235
59236 2012-08-23 Roland McGrath <roland@hack.frob.com>
59237
59238 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59239 * posix/tst-rfc3484-2.c: Likewise.
59240 * posix/tst-rfc3484-3.c: Likewise.
59241
59242 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
59243
59244 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59245 (EF_ARM_ABI_FLOAT_HARD): Likewise.
59246
59247 2012-08-23 Joseph Myers <joseph@codesourcery.com>
59248
59249 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59250 #include of fxstatat64.c.
59251
59252 2012-08-22 Roland McGrath <roland@hack.frob.com>
59253
59254 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59255 * shadow/getspent_r.c: Likewise.
59256 * shadow/getspnam.c: Likewise.
59257 * shadow/getspnam_r.c: Likewise.
59258 * gshadow/getsgent.c: Likewise.
59259 * gshadow/getsgent_r.c: Likewise.
59260 * gshadow/getsgnam.c: Likewise.
59261 * gshadow/getsgnam_r.c: Likewise.
59262 * inet/getnetbyad.c: Likewise.
59263 * inet/getnetbyad_r.c: Likewise.
59264 * inet/getnetbynm.c: Likewise.
59265 * inet/getnetbynm_r.c: Likewise.
59266 * inet/getnetent.c: Likewise.
59267 * inet/getnetent_r.c: Likewise.
59268 * inet/getproto.c: Likewise.
59269 * inet/getproto_r.c: Likewise.
59270 * inet/getprtent.c: Likewise.
59271 * inet/getprtent_r.c: Likewise.
59272 * inet/getprtname.c: Likewise.
59273 * inet/getprtname_r.c: Likewise.
59274 * inet/getrpcbyname.c: Likewise.
59275 * inet/getrpcbyname_r.c: Likewise.
59276 * inet/getrpcbynumber.c: Likewise.
59277 * inet/getrpcbynumber_r.c: Likewise.
59278 * inet/getrpcent.c: Likewise.
59279 * inet/getrpcent_r.c: Likewise.
59280 * inet/getaliasent.c: Likewise.
59281 * inet/getaliasent_r.c: Likewise.
59282 * inet/getaliasname.c: Likewise.
59283 * inet/getaliasname_r.c: Likewise.
59284 * nscd/getgrgid_r.c: Likewise.
59285 * nscd/getgrnam_r.c: Likewise.
59286 * nscd/gethstbyad_r.c: Likewise.
59287 * nscd/gethstbynm3_r.c: Likewise.
59288 * nscd/getpwnam_r.c: Likewise.
59289 * nscd/getpwuid_r.c: Likewise.
59290 * nscd/getsrvbynm_r.c: Likewise.
59291 * nscd/getsrvbypt_r.c: Likewise.
59292 * nscd/gai.c: Likewise.
59293
59294 * configure.in (build_nscd): New substituted variable, set
59295 by --disable-build-nscd and defaults to $use_nscd.
59296 * configure: Regenerated.
59297 * config.make.in (build-nscd): New substituted variable.
59298 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59299 Change conditional to require [$(build-nscd) = yes] as well.
59300 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59301
59302 [BZ# 13696]
59303 * configure.in (use_nscd): New substituted variable, set by
59304 --disable-nscd. If enabled, define USE_NSCD.
59305 * configure: Regenerated.
59306 * config.h.in: Add USE_NSCD.
59307 * config.make.in (use-nscd): New substituted variable.
59308 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59309 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59310 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59311 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59312 (CFLAGS-getgrnam_r.c): Likewise.
59313 (CFLAGS-initgroups.c): Likewise.
59314 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59315 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59316 Variables removed.
59317 * inet/getnetgrent_r.c
59318 (nscd_setnetgrent): New function, broken out of ...
59319 (setnetgrent): ... here. Call it.
59320 (innetgr): Conditionalize nscd bits on [USE_NSCD].
59321 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59322 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59323 * nscd/Makefile (routines, aux): Move definitions after include of
59324 Makeconfig. Conditionalize on [$(use-nscd) != no].
59325 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59326 Conditionalize on [USE_NSCD].
59327 (is_nscd, nscd_init_cb): Likewise.
59328 (nss_load_library): Conditionalize init callback on [USE_NSCD].
59329 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59330 * nss/nss_db/db-init.c: Likewise.
59331 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59332 [USE_NSCD].
59333 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59334 (make_request): Use it.
59335 (cache_valid_p): New function.
59336 (__check_pf): Use it.
59337 * NEWS: Add item for --disable-nscd.
59338
59339 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
59340
59341 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59342 to support sed >= 4.2.1-20-ga9bf076.
59343 * configure: Regenerated.
59344
59345 2012-08-22 Roland McGrath <roland@hack.frob.com>
59346
59347 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59348 Conditionalize whole body on [IREL].
59349
59350 2012-08-22 Jeff Law <law@redhat.com>
59351
59352 [BZ #14505]
59353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59354 if the family is PF_UNSPEC.
59355
59356 2012-08-22 Mike Frysinger <vapier@gentoo.org>
59357
59358 * Makerules (lib-version): Rename from V.
59359 (install-lib-nosubdir): Change V to lib-version.
59360
59361 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
59362
59363 [BZ #14252]
59364 * powerpc32/power6/wcschr.c: New file.
59365 * powerpc32/power6/wcscpy.c: New file.
59366 * powerpc32/power6/wcsrchr.c: New file.
59367 * powerpc64/power6/wcschr.c: New file.
59368 * powerpc64/power6/wcscpy.c: New file.
59369 * powerpc64/power6/wcsrchr.c: New file.
59370
59371 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
59372
59373 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59374 (two_way_short_needle): Use it.
59375 * string/strstr.c (AVAILABLE1_USES_J): Define.
59376 * string/strcasestr.c: Likewise.
59377
59378 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59379 array references.
59380 * string/strcasestr.c (TOLOWER): Make side-effect safe.
59381
59382 [BZ #11607]
59383 * NEWS: Add an entry.
59384 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59385 define their defaults.
59386 (two_way_short_needle): Detect end-of-string on-the-fly.
59387 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59388 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59389 * string/bug-strcasestr1.c: New test.
59390 * string/Makefile: Run it.
59391
59392 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
59393
59394 [BZ #11607]
59395 * string/str-two-way.h (two_way_short_needle): Optimize matching of
59396 the first character.
59397
59398 2012-08-21 Roland McGrath <roland@hack.frob.com>
59399
59400 * csu/elf-init.c (__libc_csu_irel): Function removed.
59401 * csu/libc-start.c (apply_irel): New function.
59402 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59403
59404 2012-08-21 Joseph Myers <joseph@codesourcery.com>
59405
59406 * sysdeps/unix/sysv/linux/kernel-features.h
59407 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59408 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59409 <kernel-features.h>.
59410 [__NR_fadvise64_64]: Make code unconditional.
59411 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59412 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59413 !__NR_fadvise64_64)]: Likewise.
59414 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59415 !__NR_fadvise64_64))]: Likewise.
59416 [__NR_fadvise64]: Make code unconditional.
59417 [!__NR_fadvise64]: Remove conditional code.
59418 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59419 <kernel-features.h>.
59420 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59421 unconditional.
59422 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59423 conditional code.
59424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59425 not include <kernel-features.h>.
59426 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59427 unconditional.
59428 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59429 conditional code.
59430 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59431 include <kernel-features.h>.
59432 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59433 unconditional.
59434 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59435 conditional code.
59436
59437 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59438
59439 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59440 slight instruction rearrangements per scrollpipe analysis.
59441 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59442
59443 2012-08-20 Roland McGrath <roland@hack.frob.com>
59444
59445 * manual/syslog.texi (syslog; vsyslog, closelog):
59446 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59447 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59448
59449 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59450 DSOCAPS to match condition on defining it.
59451
59452 2012-08-20 Joseph Myers <joseph@codesourcery.com>
59453
59454 * sysdeps/unix/sysv/linux/kernel-features.h
59455 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59457 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59458 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59460 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59461 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59463 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59464 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59465
59466 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59467 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59468
59469 * sysdeps/unix/sysv/linux/kernel-features.h
59470 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59471 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59472 unconditional.
59473 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59474 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59475 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59476 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59477 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59478 Make code unconditional.
59479 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59480 (__mmap64) [!__NR_mmap2]: Likewise.
59481 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59482 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59483 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59484 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59485 [__NR_mmap2]: Make code unconditional.
59486 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59487 (__mmap64) [!__NR_mmap2]: Likewise.
59488
59489 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59490
59491 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59492
59493 2012-08-18 Andreas Jaeger <aj@suse.de>
59494
59495 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59496
59497 2012-08-18 Mike Frysinger <vapier@gentoo.org>
59498
59499 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59500 * include/unistd.h (__have_sock_cloexec): Likewise.
59501 (__have_pipe2): Likewise.
59502 (__have_dup3): Likewise.
59503
59504 2012-08-18 Mike Frysinger <vapier@gentoo.org>
59505
59506 [BZ #9685]
59507 * include/unistd.h (__have_pipe2): Change define into an extern int.
59508 (__have_dup3): Likewise.
59509 * socket/have_sock_cloexec.c: Include fcntl.h.
59510 (__have_pipe2): New variable.
59511 (__have_dup3): Likewise.
59512
59513 2012-08-17 Mike Frysinger <vapier@gentoo.org>
59514
59515 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59516
59517 2012-08-17 Marek Polacek <polacek@redhat.com>
59518
59519 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59520 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59521
59522 2012-08-17 Roland McGrath <roland@hack.frob.com>
59523
59524 * configure.in: Add AC_SUBST for sysheaders.
59525 * configure: Regenerated.
59526 * config.make.in (sysheaders): New substituted variable.
59527
59528 * sysdeps/unix/mkfifo.c: Moved ...
59529 * sysdeps/posix/mkfifo.c: ... here.
59530 * sysdeps/unix/mkfifoat.c: Moved ...
59531 * sysdeps/posix/mkfifoat.c: ... here.
59532
59533 * sysdeps/unix/utime.c: Moved ...
59534 * sysdeps/posix/utime.c: ... here.
59535
59536 * sysdeps/unix/time.c: Moved ...
59537 * sysdeps/posix/time.c: ... here.
59538 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59539 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59540
59541 * sysdeps/unix/nice.c: Moved ...
59542 * sysdeps/posix/nice.c: ... here.
59543
59544 * sysdeps/unix/alarm.c: Moved ...
59545 * sysdeps/posix/alarm.c: ... here.
59546
59547 * intl/Makefile ($(codeset_mo)): Depend on the input file.
59548
59549 2012-08-17 Jeff Law <law@redhat.com>
59550
59551 * intl/Makefile (codeset_mo): New variable.
59552 ($(codeset_mo)): New target.
59553 (tst-codeset.out): Depend on that. Remove explicit rule.
59554 (tst-gettext3.out, tst-gettext5.out): Likewise.
59555 (LOCPATH-ENV, tst-codeset-ENV): New variables.
59556 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59557 * intl/tst-codeset.sh: Remove.
59558 * intl/tst-gettext3.sh: Likewise.
59559 * intl/tst-gettext5.sh: Likewise.
59560
59561 2012-08-17 Roland McGrath <roland@hack.frob.com>
59562
59563 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
59564 * sysdeps/unix/syscalls.list: ... here.
59565
59566 * sysdeps/posix/getaddrinfo.c
59567 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59568 (gaiconf_init, gaiconf_reload): Use them.
59569 [!_STATBUF_ST_NSEC]
59570 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59571 Define using time_t rather than struct timespec.
59572
59573 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59574 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59575 Macros removed.
59576 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59577 [!NO_THREADS].
59578 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59579 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59580 Likewise.
59581
59582 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59583 __libc_cleanup_push argument.
59584
59585 * bits/param.h: New file.
59586 * misc/sys/param.h: New file.
59587 * include/sys/param.h: New file.
59588 * misc/Makefile (headers): Add bits/param.h.
59589 * sysdeps/generic/sys/param.h: File removed.
59590 * sysdeps/unix/sysv/linux/bits/param.h: New file.
59591 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59592 * sysdeps/mach/hurd/bits/param.h: New file.
59593 * sysdeps/mach/hurd/sys/param.h: File removed.
59594
59595 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59596 last change.
59597
59598 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59599 [_IO_MTSAFE_IO].
59600 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59601 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59602 New macros.
59603
59604 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59605 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59606 rather than -D_IO_MTSAFE_IO conditionally.
59607 * stdio-common/Makefile (CPPFLAGS): Likewise.
59608 * wcsmbs/Makefile (CPPFLAGS): Likewise.
59609 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59610 Use $(libio-mtsafe).
59611 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59612 of -D_IO_MTSAFE_IO.
59613 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59614 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59615 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59616 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59617 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59618 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59619 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59620 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59621 (CFLAGS-fread_u_chk.c): Likewise.
59622 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59623 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59624 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59625 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59626 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59627 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59628 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59629 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59630 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59631
59632 * libio/Makefile: Test [$(libc-reentrant) = yes]
59633 instead of [$(filter %REENTRANT, $(defines)) nonempty].
59634
59635 * Makeconfig
59636 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59637 * sysdeps/pthread/configure: File removed.
59638 * sysdeps/pthread/Makeconfig: New file.
59639 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59640 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59641
59642 2012-08-16 Gary Benson <gbenson@redhat.com>
59643
59644 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59645 unmapping the first object in a namespace.
59646
59647 2012-08-16 Roland McGrath <roland@hack.frob.com>
59648
59649 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59650 (__internal_setnetgrent): ... this. Add internal_function to
59651 definition. Add libc_hidden_def.
59652 (setnetgrent): Update caller.
59653 (internal_endnetgrent): Renamed to ...
59654 (__internal_endnetgrent): ... this. Add internal_function to
59655 definition. Add libc_hidden_def.
59656 (endnetgrent): Update caller.
59657 (internal_getnetgrent_r): Renamed to ...
59658 (__internal_getnetgrent_r): ... this. Add internal_function to
59659 definition. Add libc_hidden_def.
59660 (__getnetgrent_r): Update caller.
59661 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
59662
59663 2012-08-16 Joseph Myers <joseph@codesourcery.com>
59664
59665 * stdlib/longlong.h: Update from GCC.
59666
59667 2012-08-16 Roland McGrath <roland@hack.frob.com>
59668
59669 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59670 on _QL, which is set by umul_ppmm but never used.
59671 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59672 variables, which are set by GMP macros but never used.
59673 * stdio-common/_itowa.c (_itowa): Likewise.
59674 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59675 * stdlib/mod_1.c (mpn_mod_1): Likewise.
59676
59677 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
59678
59679 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59680 struct La_sh_regs is not constant.
59681 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59682 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59683 and struct La_sparc64_regs are not constant.
59684
59685 2012-08-16 Joseph Myers <joseph@codesourcery.com>
59686
59687 * sysdeps/unix/sysv/linux/kernel-features.h
59688 (__ASSUME_POSIX_TIMERS): Remove.
59689 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59690 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59691 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59692 Make code unconditional.
59693 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59694 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59695 Make code unconditional.
59696 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59697 * sysdeps/unix/sysv/linux/clock_nanosleep.c
59698 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59699 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59700 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59701 Make code unconditional.
59702 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59703 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59704 (__libc_missing_posix_timers): Remove.
59705
59706 2012-08-15 Roland McGrath <roland@hack.frob.com>
59707
59708 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59709 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59710
59711 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59712
59713 * elf/dl-sym.c: Include <stdlib.h>.
59714
59715 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59716 constants, which avoids warnings in 32-bit builds.
59717
59718 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59719 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59720
59721 * misc/lseek.c: File moved to ...
59722 * io/lseek.c: ... here.
59723
59724 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59725
59726 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59727 shifting LEN more than 31 bits at once.
59728
59729 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59730
59731 [BZ #14195]
59732 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59733 segmentation fault for a case of two empty input strings.
59734 * string/test-strncasecmp.c (check1): Renamed to...
59735 (bz12205): ...this.
59736 (bz14195): Add new testcase for two empty input strings and N > 0.
59737 (test_main): Call new testcase, adapt for renamed function.
59738
59739 2012-08-15 Andreas Jaeger <aj@suse.de>
59740
59741 [BZ #14090]
59742 * crypt/md5test2.c: New test, based on test supplied by Serge
59743 Belyshev <belyshev@depni.sinp.msu.ru>.
59744 * crypt/Makefile (xtests): Add md5test-giant..
59745 * crypt/Makefile ($(objpfx)md5test-giant): Add.
59746
59747 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
59748
59749 [BZ #14090]
59750 * crypt/md5.c (md5_process_block): Don't assume the buffer
59751 length is less than 2**32.
59752 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59753 length is less than 2**64.
59754
59755 2012-08-15 Roland McGrath <roland@hack.frob.com>
59756
59757 * string/str-two-way.h: Include <sys/param.h>.
59758 (MAX): Macro removed.
59759
59760 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59761 Move #define and #undef of memmove to just before and after
59762 including <string.h>.
59763
59764 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59765 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59766 and after including <string.h>. Move declarations of
59767 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59768 to before #include "string/memmove.c".
59769
59770 * include/dirent.h: Declare __getdirentries.
59771
59772 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59773 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59774
59775 2012-08-14 Mike Frysinger <vapier@gentoo.org>
59776
59777 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59778 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59779 * sysdeps/i386/configure: Regenerated.
59780 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59781 STABS_CURRENT_FILE, and STABS_FUN.
59782 (END): Remove call to STABS_FUN_END.
59783 (STABS_CURRENT_FILE1): Delete.
59784 (STABS_CURRENT_FILE): Likewise.
59785 (STABS_FUN): Likewise.
59786 (STABS_FUN_END): Likewise.
59787 (STABS_FUN2): Likewise.
59788 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59789 * sysdeps/x86_64/configure: Regenerated.
59790
59791 2012-08-14 Roland McGrath <roland@hack.frob.com>
59792
59793 * elf/dl-open.c: Include <atomic.h>.
59794 * elf/dl-lookup.c: Likewise.
59795
59796 2012-08-14 Joseph Myers <joseph@codesourcery.com>
59797
59798 * sysdeps/unix/sysv/linux/kernel-features.h
59799 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59800 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59801 unconditionally.
59802 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59803 unconditionally.
59804 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59805 condition on __ASSUME_CLONE_THREAD_FLAGS.
59806
59807 2012-08-14 Andreas Jaeger <aj@suse.de>
59808
59809 * sysdeps/i386/fpu/libm-test-ulps: Update.
59810
59811 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
59812
59813 * include/atomic.h (atomic_exchange_and_add): Split into ...
59814 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59815 New atomic macros.
59816
59817 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
59818
59819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59820
59821 2012-08-13 Jeff Law <law@redhat.com>
59822
59823 * manual/stdio.texi (snprintf): Clarify handling of the trailing
59824 null byte in the output string.
59825
59826 2012-08-10 Joseph Myers <joseph@codesourcery.com>
59827
59828 * sysdeps/unix/sysv/linux/kernel-features.h
59829 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59830 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59831 (__ASSUME_ARG_MAX_STACK_BASED): Define.
59832 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59833 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59834 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
59835 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59836
59837 2012-08-09 Jeff Law <law@redhat.com>
59838
59839 [BZ #13939]
59840 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59841 When avoid_arena is set, don't retry in the that arena. Pick the
59842 next one, whatever it might be.
59843 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59844 (arena_lock): Pass in new parameter to arena_get2.
59845 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59846 arena_get2.
59847 (__libc_malloc): Unify retrying after main arena failure with
59848 __libc_memalign version.
59849 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59850
59851 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
59852
59853 [BZ #14166]
59854 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59855 to __redirect_strstr.
59856 (__strstr_sse42): Use typeof __redirect_strstr.
59857 (__strstr_ia32): Likewise.
59858 (__libc_strstr): New prototype.
59859 (strstr): Renamed to ...
59860 (__libc_strstr): This.
59861 (strstr): New strong alias of __libc_strstr.
59862 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59863 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59864 __redirect_time.
59865 Include <time.h>.
59866 (__libc_time): New prototype.
59867 (time_ifunc): Replace time with __libc_time.
59868 (time): New strong alias and hidden definition of __libc_time.
59869 (__GI_time): Remove strong alias.
59870 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59871 Include <stddef.h>.
59872 (memmove): Redefined to __redirect_memmove.
59873 (__memmove_sse2): Use typeof __redirect_memmove.
59874 (__memmove_ssse3): Likewise.
59875 (__memmove_ssse3_back): Likewise.
59876 (__libc_memmove): New prototype.
59877 (memmove): Renamed to ...
59878 (__libc_memmove): This.
59879 (memmove): New strong alias of __libc_memmove.
59880
59881 2012-08-08 Mark Salter <msalter@redhat.com>
59882
59883 * elf/elf.h
59884 (R_MN10300_TLS_GD): Define.
59885 (R_MN10300_TLS_LD): Likewise.
59886 (R_MN10300_TLS_LDO): Likewise.
59887 (R_MN10300_TLS_GOTIE): Likewise.
59888 (R_MN10300_TLS_IE): Likewise.
59889 (R_MN10300_TLS_LE): Likewise.
59890 (R_MN10300_TLS_DTPMOD): Likewise.
59891 (R_MN10300_TLS_DTPOFF): Likewise.
59892 (R_MN10300_TLS_TPOFF): Likewise.
59893 (R_MN10300_SYM_DIFF): Likewise.
59894 (R_MN10300_ALIGN): Likewise.
59895 (R_MN10300_NUM): Update.
59896
59897 2012-08-08 Joseph Myers <joseph@codesourcery.com>
59898
59899 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59900 Remove.
59901
59902 2012-08-08 Roland McGrath <roland@hack.frob.com>
59903
59904 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59905
59906 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59907 sysdeps/unix -> sysdeps/posix move.
59908 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59909
59910 2012-08-07 Allan McRae <allan@archlinux.org>
59911
59912 [BZ #14303]
59913 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59914 (SUNOS_CPP): Likewise.
59915 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59916 not found.
59917 (open_input): Call CPP using execvp.
59918
59919 2012-08-07 Joseph Myers <joseph@codesourcery.com>
59920
59921 * sysdeps/unix/sysv/linux/kernel-features.h
59922 (__ASSUME_PROT_GROWSUPDOWN): Remove.
59923 (__ASSUME_NO_CLONE_DETACHED): Likewise.
59924 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59925 (__ASSUME_WAITID_SYSCALL): Likewise.
59926 * sysdeps/unix/sysv/linux/dl-execstack.c
59927 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59928 code unconditional.
59929 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59930 conditional code.
59931 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59932 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59933 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59934 code.
59935 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59936 unconditional.
59937 [__ASSUME_WAITID_SYSCALL]: Likewise.
59938 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59939
59940 2012-08-07 Roland McGrath <roland@hack.frob.com>
59941
59942 * sysdeps/unix/closedir.c: Renamed to ...
59943 * sysdeps/posix/closedir.c: ... here.
59944 * sysdeps/unix/dirfd.c: Renamed to ...
59945 * sysdeps/posix/dirfd.c: ... here.
59946 * sysdeps/unix/dirstream.h: Renamed to ...
59947 * sysdeps/posix/dirstream.h: ... here.
59948 * sysdeps/unix/fdopendir.c: Renamed to ...
59949 * sysdeps/posix/fdopendir.c: ... here.
59950 * sysdeps/unix/opendir.c: Renamed to ...
59951 * sysdeps/posix/opendir.c: ... here.
59952 * sysdeps/unix/readdir.c: Renamed to ...
59953 * sysdeps/posix/readdir.c: ... here.
59954 * sysdeps/unix/readdir_r.c: Renamed to ...
59955 * sysdeps/posix/readdir_r.c: ... here.
59956 * sysdeps/unix/rewinddir.c: Renamed to ...
59957 * sysdeps/posix/rewinddir.c: ... here.
59958 * sysdeps/unix/seekdir.c: Renamed to ...
59959 * sysdeps/posix/seekdir.c: ... here.
59960 * sysdeps/unix/telldir.c: Renamed to ...
59961 * sysdeps/posix/telldir.c: ... here.
59962 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59963 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59964 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59965 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59966
59967 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59968 * bits/fcntl.h: ... here.
59969
59970 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59971 not 0.
59972 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59973 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59974 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59975 (struct flock): Move l_start, l_len to the beginning.
59976 Use __pid_t for l_pid.
59977 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59978 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59979 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59980 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59981 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59982 [__USE_LARGEFILE64] (struct flock64): New type.
59983 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59984
59985 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59986 * bits/dirent.h: ... here.
59987
59988 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59989 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59990
59991 2012-08-07 Joseph Myers <joseph@codesourcery.com>
59992
59993 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59994 Change from 2.6.0 to 2.6.16.
59995 * sysdeps/unix/sysv/linux/configure: Regenerated.
59996 * sysdeps/unix/sysv/linux/kernel-features.h
59997 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59998 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59999 version.
60000 (__ASSUME_UTIMES): Likewise.
60001 (__ASSUME_CLONE_STOPPED): Remove.
60002 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60003 architectures, not kernel version.
60004 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60005 (__ASSUME_NO_CLONE_DETACHED): Likewise.
60006 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60007 (__ASSUME_WAITID_SYSCALL): Likewise.
60008 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60009 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60010 * README: State 2.6.16 as minimum Linux kernel version. Do not
60011 refer to older versions.
60012
60013 2012-08-06 Roland McGrath <roland@hack.frob.com>
60014
60015 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60016 Define alphasort64 as an alias.
60017 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60018 Define versionsort64 as an alias.
60019 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60020 Define scandir64 as an alias.
60021 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60022 Define scandirat64 as an alias.
60023 * dirent/alphasort64.c (alphasort64):
60024 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60025 * dirent/versionsort64.c: Likewise.
60026 * dirent/scandir64.c: Likewise.
60027 * dirent/scandirat64.c: Likewise.
60028 * sysdeps/wordsize-64/alphasort.c: File removed.
60029 * sysdeps/wordsize-64/alphasort64.c: File removed.
60030 * sysdeps/wordsize-64/scandir.c: File removed.
60031 * sysdeps/wordsize-64/scandir64.c: File removed.
60032 * sysdeps/wordsize-64/scandirat.c: File removed.
60033 * sysdeps/wordsize-64/scandirat64.c: File removed.
60034 * sysdeps/wordsize-64/versionsort.c: File removed.
60035 * sysdeps/wordsize-64/versionsort64.c: File removed.
60036 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60037 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60038 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60039 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60040 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60041 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60042 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60043 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60044
60045 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60046 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60047 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60049 [defined __arch64__ || defined __sparcv9]
60050 (__INO_T_MATCHES_INO64_T): New macro.
60051 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60052 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60053 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60054 * sysdeps/unix/sysv/linux/bits/dirent.h
60055 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60056 (_DIRENT_MATCHES_DIRENT64): New macro.
60057
60058 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60059 Define lockf64 as an alias.
60060 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60061 Define fseeko64 as an alias.
60062 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60063 Define ftello64 as an alias.
60064 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60065 Define _IO_fgetpos64 and fgetpos64 as aliases.
60066 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60067 Define _IO_fsetpos64 and fsetpos64 as aliases.
60068 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60069 Conditionalize body on this.
60070 * libio/fseeko64.c: Likewise.
60071 * libio/ftello64.c: Likewise.
60072 * libio/iofgetpos64.c: Likewise.
60073 * libio/iofsetpos64.c: Likewise.
60074 * sysdeps/wordsize-64/lockf.c: File removed.
60075 * sysdeps/wordsize-64/lockf64.c: File removed.
60076 * sysdeps/wordsize-64/fseeko.c: File removed.
60077 * sysdeps/wordsize-64/fseeko64.c: File removed.
60078 * sysdeps/wordsize-64/ftello.c: File removed.
60079 * sysdeps/wordsize-64/ftello64.c: File removed.
60080 * sysdeps/wordsize-64/iofgetpos.c: File removed.
60081 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60082 * sysdeps/wordsize-64/iofsetpos.c: File removed.
60083 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60084 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60085 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60086 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60087 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60088 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60089 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60090 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60091 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60092 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60093 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60094
60095 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60096 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60097 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60098 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60099 [defined __arch64__ || defined __sparcv9]
60100 (__OFF_T_MATCHES_OFF64_T): New macro.
60101 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60102 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60103 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60104 (__OFF_T_MATCHES_OFF64_T): New macro.
60105
60106 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
60107
60108 * stdlib/secure-getenv.c (__secure_getenv): Replace
60109 GLIBC_2_16 with GLIBC_2_17.
60110
60111 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
60112
60113 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60114 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60115
60116 2012-08-03 David S. Miller <davem@davemloft.net>
60117
60118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60119
60120 2012-08-03 Joseph Myers <joseph@codesourcery.com>
60121
60122 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60123 Remove.
60124 (__ASSUME_CORRECT_SI_PID): Likewise.
60125 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60126 (__ASSUME_TMPFS_NAME): Likewise.
60127 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60128 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60129 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60130 (HAVE_AUX_SECURE): Make definition unconditional.
60131 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60132 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60133
60134 2012-08-03 Roland McGrath <roland@hack.frob.com>
60135
60136 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60137 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60138 * sysdeps/mach/hurd/eloop-threshold.h: New file.
60139 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60140 __eloop_threshold instead of SYMLOOP_MAX.
60141
60142 * sysdeps/generic/eloop-threshold.h: New file.
60143 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60144 of MAXSYMLINKS.
60145 * elf/chroot_canon.c (chroot_canon): Likewise.
60146
60147 2012-08-03 Joseph Myers <joseph@codesourcery.com>
60148
60149 [BZ #13717]
60150 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60151 Change to 2.6.0 everywhere.
60152 * sysdeps/unix/sysv/linux/configure: Regenerated.
60153 * sysdeps/unix/sysv/linux/kernel-features.h
60154 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60155 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60156 kernel versions.
60157 (__ASSUME_POSIX_TIMERS): Define unconditionally.
60158 (__ASSUME_FUTEX_REQUEUE): Remove.
60159 (__ASSUME_STATFS64): Define unconditionally.
60160 (__ASSUME_AT_SECURE): Likewise.
60161 (__ASSUME_CORRECT_SI_PID): Likewise.
60162 (__ASSUME_TGKILL): Define without depending on kernel version for
60163 i386.
60164 (__ASSUME_UTIMES): Likewise.
60165 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60166 kernel version.
60167 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60168 (__ASSUME_TMPFS_NAME): Likewise.
60169 * README: Update reference to Linux kernel versions.
60170
60171 2012-08-02 Marek Polacek <polacek@redhat.com>
60172
60173 [BZ# 14150]
60174 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
60175 libc_cv_asm_type_prefix with %.
60176 * configure: Regenerated.
60177 * include/libc-symbols.h: Remove comment about
60178 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60179 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60180 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60181 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60182 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60183 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60184 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60185 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60186 * elf/tst-unique2mod1.c: Likewise.
60187 * elf/tst-unique1mod2.c: Likewise.
60188 * elf/tst-unique1mod1.c: Likewise.
60189 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60190 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60191 Replace ASM_TYPE_DIRECTIVE with .type.
60192 * sysdeps/s390/s390-64/sysdep.h: Likewise.
60193 * sysdeps/i386/sysdep.h: Likewise.
60194 * sysdeps/x86_64/sysdep.h: Likewise.
60195 * sysdeps/sh/sysdep.h: Likewise.
60196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60197 Do not define ASM_TYPE_DIRECTIVE.
60198 * sysdeps/powerpc/sysdep.h: Likewise.
60199 * sysdeps/powerpc/powerpc32/sysdep.h:
60200 Replace ASM_TYPE_DIRECTIVE with .type.
60201 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60202 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60203 * sysdeps/i386/fpu/e_powf.S: Likewise.
60204 * sysdeps/i386/fpu/e_expl.S: Likewise.
60205 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60206 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60207 * sysdeps/i386/fpu/e_pow.S: Likewise.
60208 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60209 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60210 * sysdeps/i386/fpu/s_expm1.S: Likewise.
60211 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60212 * sysdeps/i386/fpu/e_log2.S: Likewise.
60213 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60214 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60215 * sysdeps/i386/fpu/e_powl.S: Likewise.
60216 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60217 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60218 * sysdeps/i386/fpu/e_logl.S: Likewise.
60219 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60220 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60221 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60222 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60223 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60224 * sysdeps/i386/fpu/e_log.S: Likewise.
60225 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60226 * sysdeps/i386/fpu/e_logf.S: Likewise.
60227 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60228 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60229 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60230 * sysdeps/i386/fpu/e_log10.S: Likewise.
60231 * sysdeps/i386/fpu/s_frexp.S: Likewise.
60232 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60233 * sysdeps/i386/fpu/s_asinh.S: Likewise.
60234 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60235 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60236 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60237 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60238 * sysdeps/i386/i686/strtok.S: Likewise.
60239 * sysdeps/i386/i386-mcount.S: Likewise.
60240 * sysdeps/i386/strtok.S: Likewise.
60241 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60242 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60243 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60244 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60245 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60246 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60247 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60248 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60249 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60250 * sysdeps/x86_64/_mcount.S: Likewise.
60251 * sysdeps/x86_64/strtok.S: Likewise.
60252 * sysdeps/sh/_mcount.S: Likewise.
60253
60254 2012-08-01 Roland McGrath <roland@hack.frob.com>
60255
60256 * libio/iofopen.c: Include <fcntl.h>.
60257 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60258 (_IO_fopen64, fopen64): Define as aliases.
60259 * libio/iofopen64.c: Include <fcntl.h>.
60260 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60261 Conditionalize body on this.
60262 * sysdeps/wordsize-64/iofopen.c: File removed.
60263 * sysdeps/wordsize-64/iofopen64.c: File removed.
60264
60265 2012-08-01 Marek Polacek <polacek@redhat.com>
60266
60267 * libc/Makeconfig: Use elf in place of binfmt-subdir.
60268 Use dlfcn directly instead of a variable.
60269 (binfmt-subdir): Do not define.
60270 (dlfcn): Likewise.
60271
60272 2012-08-01 Joseph Myers <joseph@codesourcery.com>
60273
60274 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60275 Remove all definitions.
60276 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60277 <kernel-features.h>.
60278 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60279 (miss_F_GETOWN_EX): Remove all definitions.
60280 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60281 macro definition.
60282 [!__ASSUME_FCNTL64]: Remove conditional code.
60283 [__ASSUME_FCNTL64]: Make code unconditional.
60284 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60285 <kernel-features.h>.
60286 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60287 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60288 (lockf64) [__NR_fcntl64]: Make code unconditional.
60289 (lockf64) [__ASSUME_FCNTL64]: Likewise.
60290
60291 * sysdeps/unix/sysv/linux/kernel-features.h
60292 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60293 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60294 Make code unconditional.
60295 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60296 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60298 [__NR_vfork]: Make code unconditional.
60299 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60300 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60302 [__NR_vfork]: Make code unconditional.
60303 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60304 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60305
60306 2012-08-01 Roland McGrath <roland@hack.frob.com>
60307
60308 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60309 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60310
60311 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60312 Define mkstemp64 as an alias.
60313 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60314 Define mkstemps64 as an alias.
60315 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60316 Define mkostemp64 as an alias.
60317 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60318 Define mkostemps64 as an alias.
60319 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60320 Conditionalize body on this.
60321 * misc/mkostemp64.c: Likewise.
60322 * misc/mkostemps64.c: Likewise.
60323 * misc/mkstemps64.c: Likewise.
60324 * sysdeps/wordsize-64/mkstemp64.c: File removed.
60325 * sysdeps/wordsize-64/mkostemp64.c: File removed.
60326 * sysdeps/wordsize-64/mkostemp.c: File removed.
60327 * sysdeps/wordsize-64/mkstemp.c: File removed.
60328 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60329 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60330 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60331 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60332
60333 [BZ #14138]
60334 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60335 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60336 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60337 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60338
60339 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60340 compat_symbol macros from <shlib-compat.h> rather than the underlying
60341 default_symbol_version and symbol_version macros, so that DEFAULT
60342 lines in shlib-versions are respected.
60343 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60344
60345 2012-08-01 Florian Weimer <fweimer@redhat.com>
60346
60347 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60348 Declare with warn_unused_result.
60349 (setgid, setregid, setegid, setresgid): Likewise.
60350 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60351 Likewise.
60352 * WUR-REPORT: Remove set*id functions.
60353
60354 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
60355
60356 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60357
60358 2012-07-31 Roland McGrath <roland@hack.frob.com>
60359
60360 [BZ #10191]
60361 * include/sys/socket.h (__libc_accept, __libc_accept4):
60362 Add attribute_hidden.
60363 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60364
60365 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60366 use of PTR_MANGLE.
60367 * inet/getnetgrent_r.c (setup): Likewise.
60368
60369 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60370
60371 2012-07-31 David S. Miller <davem@davemloft.net>
60372
60373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60374
60375 2012-07-31 Joseph Myers <joseph@codesourcery.com>
60376
60377 [BZ #13629]
60378 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60379 value between 1.0 and 2.0 and smaller part has absolute value less
60380 than 1.0.
60381 * math/s_clog10.c (__clog10): Likewise.
60382 * math/s_clog10f.c (__clog10f): Likewise.
60383 * math/s_clog10l.c (__clog10l): Likewise.
60384 * math/s_clogf.c (__clogf): Likewise.
60385 * math/s_clogl.c (__clogl): Likewise.
60386 * math/libm-test.inc (clog_test): Add more tests.
60387 (clog10_test): Likewise.
60388 * sysdeps/i386/fpu/libm-test-ulps: Update.
60389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60390
60391 2012-07-31 Florian Weimer <fweimer@redhat.com>
60392
60393 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60394 Exit with zero in case no suitable GID is found, and write a
60395 message to standard error.
60396
60397 2012-07-30 Roland McGrath <roland@hack.frob.com>
60398
60399 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60400 rather than to 1.
60401 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60402 (MAXPATHLEN): Removed.
60403 (NOGROUP, NODEV): New macros.
60404 (setbit, clrbit, isset, isclr): New macros.
60405 (howmany, roundup, powerof2): New macros.
60406 (DEV_BSIZE): New macro.
60407
60408 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60409 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60410
60411 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60412 definition on [!__NO_LONG_DOUBLE_MATH].
60413
60414 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60415 PTR_MANGLE and PTR_DEMANGLE.
60416
60417 * socket/accept4.c (accept4): Rename to __libc_accept4.
60418 Define accept4 as a weak alias.
60419
60420 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60421 on [_DIRENT_HAVE_D_TYPE].
60422 * io/ftw.c (ftw_dir): Likewise.
60423
60424 * io/xmknod.c (__xmknod): Don't check PATH for being null.
60425
60426 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60427
60428 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60429 Use the BSD numbers rather than the arbitrary ones we had.
60430 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60431 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60432 (SIGXCPU, SIGXFSZ): New macros.
60433 (_NSIG): Now 32.
60434
60435 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60436 initializer on [_LIBC_REENTRANT].
60437
60438 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60439 definitions inside [_POSIX_MAPPED_FILES].
60440
60441 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60442
60443 * dirent/opendir.c: Include <fcntl.h>.
60444
60445 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60446 (__libc_getspecific): Likewise.
60447 (__libc_key_create): Likewise.
60448
60449 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60450 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60451 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60452 (tmpfile64): Define as alias.
60453 * sysdeps/wordsize-64/tmpfile.c: File removed.
60454 * sysdeps/wordsize-64/tmpfile64.c: File removed.
60455 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60456 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60457
60458 * stdio-common/vfscanf.c: Include <stdbool.h>.
60459 * nss/makedb.c: Likewise.
60460 * stdio-common/_i18n_number.h: Likewise.
60461 * argp/argp-help.c: Likewise.
60462 * posix/wordexp.c: Likewise.
60463 * sysdeps/posix/spawni.c: Likewise.
60464 * nss/nss_files/files-initgroups.c: Likewise.
60465 * stdio-common/reg-modifier.c: Include <stdlib.h>.
60466 * nss/nss_files/files-initgroups.c: Likewise.
60467 * nss/nss_db/db-netgrp.c: Likewise.
60468 * nss/nss_db/db-initgroups.c: Likewise.
60469 * io/fchmodat.c: Include <sys/stat.h>.
60470
60471 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60472 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60473
60474 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60475 [HAVE_MMAP].
60476
60477 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60478 Add multiple inclusion protection.
60479
60480 2012-07-27 David S. Miller <davem@davemloft.net>
60481
60482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60483
60484 2012-07-27 Gary Benson <gbenson@redhat.com>
60485
60486 [BZ #14298]
60487 * elf/rtld.c: Include <stap-probe.h>.
60488 (dl_main): Added static probes "init_start" and "init_complete".
60489 * elf/dl-load.c: Include <stap-probe.h>.
60490 (lose): Take new parameter "nsid".
60491 Added static probe "map_failed".
60492 (_dl_map_object_from_fd): Pass namespace id to lose.
60493 Added static probe "map_start".
60494 (open_verify): Pass namespace id to lose.
60495 * elf/dl-open.c: Include <stap-probe.h>.
60496 (dl_open_worker) Added static probes "map_complete", "reloc_start"
60497 and "reloc_complete".
60498 * elf/dl-close.c: Include <stap-probe.h>.
60499 (_dl_close_worker): Added static probes "unmap_start" and
60500 "unmap_complete".
60501 * elf/rtld-debugger-interface.txt: New file documenting the above.
60502
60503 2012-07-26 Roland McGrath <roland@hack.frob.com>
60504
60505 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60506 rather than a string variable.
60507 * sunrpc/rpc_main.c (h_output): Likewise.
60508 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60509
60510 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
60511
60512 * inet/check_native.c: New file.
60513
60514 2012-07-26 Joseph Myers <joseph@codesourcery.com>
60515
60516 [BZ #13629]
60517 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60518 if larger part has absolute value 1.0.
60519 * math/s_clog10.c (__clog10): Likewise.
60520 * math/s_clog10f.c (__clog10f): Likewise.
60521 * math/s_clog10l.c (__clog10l): Likewise.
60522 * math/s_clogf.c (__clogf): Likewise.
60523 * math/s_clogl.c (__clogl): Likewise.
60524 * math/libm-test.inc (clog_test): Add more tests.
60525 (clog10_test): Likewise.
60526 * sysdeps/i386/fpu/libm-test-ulps: Update.
60527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60528
60529 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60530 (pltexit): Likewise.
60531 (La_regs): Likewise.
60532 (La_retval): Likewise.
60533 (int_retval): Likewise.
60534 Update #error for removed macros to refer only to definitions in
60535 tst-audit.h.
60536 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60537 macro.
60538 (pltexit): Likewise.
60539 (La_regs): Likewise.
60540 (La_retval): Likewise.
60541 (int_retval): Likewise.
60542 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60543 macro.
60544 (pltexit): Likewise.
60545 (La_regs): Likewise.
60546 (La_retval): Likewise.
60547 (int_retval): Likewise.
60548 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60549 macro.
60550 (pltexit): Likewise.
60551 (La_regs): Likewise.
60552 (La_retval): Likewise.
60553 (int_retval): Likewise.
60554 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60555 macro.
60556 (pltexit): Likewise.
60557 (La_regs): Likewise.
60558 (La_retval): Likewise.
60559 (int_retval): Likewise.
60560 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60561 macro.
60562 (pltexit): Likewise.
60563 (La_regs): Likewise.
60564 (La_retval): Likewise.
60565 (int_retval): Likewise.
60566 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60567 macro.
60568 (pltexit): Likewise.
60569 (La_regs): Likewise.
60570 (La_retval): Likewise.
60571 (int_retval): Likewise.
60572 * sysdeps/generic/tst-audit.h: Update comment to refer only to
60573 macro definitions in tst-audit.h.
60574 * sysdeps/i386/tst-audit.h: New file.
60575 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60576 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60577 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60578 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60579 * sysdeps/sh/tst-audit.h: Likewise.
60580 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60581 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60582 * sysdeps/x86_64/tst-audit.h: Likewise.
60583
60584 2012-07-26 Andreas Jaeger <aj@suse.de>
60585
60586 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60587 ptrace.
60588
60589 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60590 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60591 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60592 PTRACE_O_MASK.
60593 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60594 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60595 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60596
60597 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60598 value.
60599
60600 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60601 _sigsys.
60602 (si_call_addr, si_syscall, si_arch): Define new macro.
60603 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60604 _sigsys.
60605 (si_call_addr, si_syscall, si_arch): Define new marcro.
60606 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60607 _sigsys.
60608 (si_call_addr, si_syscall, si_arch): Define new macro.
60609 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60610 _sigsys.
60611 (si_call_addr, si_syscall, si_arch): Define new macro.
60612
60613 2012-07-25 Joseph Myers <joseph@codesourcery.com>
60614
60615 [BZ #13717]
60616 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60617 Change to 2.4.21 where previously 2.4.1.
60618 * sysdeps/unix/sysv/linux/configure: Regenerated.
60619 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60620 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60621 Linux kernel version.
60622 (__ASSUME_STD_AUXV): Remove.
60623 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60624 kernel version.
60625 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60626 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60627 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60628 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60629 (__ASSUME_NETLINK_SUPPORT): Likewise.
60630 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60631 (__no_netlink_support): Remove conditional definition.
60632 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60633 Remove.
60634 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60635 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60636 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60637 (if_nameindex_ioctl): Remove.
60638 (if_nameindex_netlink): Do not handle __no_netlink_support.
60639 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60640 code.
60641 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60642 Remove conditional code.
60643 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60644 code.
60645 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60646 unconditional.
60647 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60648 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60649 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60650 Remove.
60651 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60652 [!__ASSUME_STD_AUXV]: Remove conditional code.
60653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60654 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60655 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60657 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60658 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60659 code.
60660 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60662 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60663 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60664 conditional code.
60665 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60667 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60668 code.
60669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60670 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60671 conditional code.
60672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60673 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60674 code unconditional.
60675 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60676 conditional code.
60677 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60678 unconditional.
60679 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60680 conditional code.
60681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60682 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60683 unconditional.
60684 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60685 conditional code.
60686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60687 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60688 code unconditional.
60689 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60690 conditional code.
60691 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60692 unconditional.
60693 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60694 conditional code.
60695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60696 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60697 code unconditional.
60698 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60699 conditional code.
60700 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60701 unconditional.
60702 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60703 conditional code.
60704
60705 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
60706
60707 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60708 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60709 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60710 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60711 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60712 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60713 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60714 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60715 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60716 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60717 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60718 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60719 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60720 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60721 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60722 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60723 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60724 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60725 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60727 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60728 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60729 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60730
60731 2012-07-25 Florian Weimer <fweimer@redhat.com>
60732
60733 * Versions.def: Add GLIBC_2.17.
60734 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60735 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60736 Introduce __libc_secure_getenv.
60737 * stdlib/Versions (2.17): Add secure_getenv
60738 (GLIBC_PRIVATE): Add __libc_secure_getenv.
60739 * stdlib/secure-getenv.c: Rename __secure_getenv to
60740 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
60741 symbol __secure_getenv for GLIBC_2.0.
60742 * stdlib/tst-secure-getenv.c: New.
60743 * stdlib/Makefile (tests): Add testcase.
60744 * manual/startup.texi (Environment Access): Document
60745 secure_getenv.
60746 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60747 __libc_secure_getenv.
60748 * inet/ruserpass.c (ruserpass): Likewise.
60749 * malloc/mtrace.c (mtrace): Likewise.
60750 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60751 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60752 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60753 * sysdeps/posix/tempname.c: Likewise. Evaluate
60754 HAVE_SECURE_GETENV.
60755 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60756 __secure_getenv to __libc_secure_getenv.
60757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60759 Likewise.
60760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60761 Likewise.
60762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60764 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60769
60770 2012-07-25 Joseph Myers <joseph@codesourcery.com>
60771
60772 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60773 (struct La_i86_retval): Likewise.
60774 (struct La_x86_64_regs): Likewise.
60775 (struct La_x86_64_retval): Likewise.
60776 (struct La_x32_regs): Likewise.
60777 (struct La_x32_retval): Likewise.
60778 (struct La_ppc32_regs): Likewise.
60779 (struct La_ppc32_retval): Likewise.
60780 (struct La_ppc64_regs): Likewise.
60781 (struct La_ppc64_retval): Likewise.
60782 (struct La_sh_regs): Likewise.
60783 (struct La_sh_retval): Likewise.
60784 (struct La_s390_32_regs): Likewise.
60785 (struct La_s390_32_retval): Likewise.
60786 (struct La_s390_64_regs): Likewise.
60787 (struct La_s390_64_retval): Likewise.
60788 (struct La_sparc32_regs): Likewise.
60789 (struct La_sparc32_retval): Likewise.
60790 (struct La_sparc64_regs): Likewise.
60791 (struct La_sparc64_retval): Likewise.
60792 (struct audit_ifaces): Remove architecture-specific pltenter and
60793 pltexit members.
60794 * sysdeps/i386/ldsodefs.h: New file.
60795 * sysdeps/powerpc/ldsodefs.h: Likewise.
60796 * sysdeps/s390/ldsodefs.h: Likewise.
60797 * sysdeps/sh/ldsodefs.h: Likewise.
60798 * sysdeps/sparc/ldsodefs.h: Likewise.
60799 * sysdeps/x86_64/ldsodefs.h: Likewise.
60800
60801 2012-07-25 Marek Polacek <polacek@redhat.com>
60802
60803 [BZ #6808]
60804 * math/libm-test.inc (yn_test): Add another test.
60805 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60806 to ERANGE when the result is +-Inf.
60807 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60808 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60809 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60810 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60811
60812 2012-07-24 Joseph Myers <joseph@codesourcery.com>
60813
60814 * conform/data/time.h-data (NULL): Use macro-constant. Require
60815 equal to 0.
60816 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
60817 clock_t.
60818 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
60819
60820 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
60821
60822 * configure.in <sysdeps resolving>: Correct printing
60823 Implies_before.
60824 * configure: Regenerate.
60825
60826 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
60827
60828 * math/w_ilogb.c: Include <limits.h>.
60829 * math/w_ilogbl.c: Likewise.
60830
60831 2012-07-20 Joseph Myers <joseph@codesourcery.com>
60832
60833 * manual/lang.texi (__va_copy): Document primarily as ISO C99
60834 va_copy. Document allowing for unavailable va_copy only as
60835 pre-C99 compatibility.
60836 * manual/string.texi (Copying and Concatenation): Use va_copy
60837 instead of __va_copy in concat example.
60838
60839 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
60840
60841 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60842 (__sendto): Use create_address_port. Initialize APORT and deallocate
60843 it if not null.
60844
60845 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60846 with O_NOLINK passed to __file_name_lookup.
60847
60848 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60849 with O_NOLINK passed to __file_name_lookup.
60850
60851 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60852 negative N or less than NGIDS.
60853
60854 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60855 type to string_t. Set ERANGE as errno and return it if NAME is not big
60856 enough. Use memcpy instead of strncpy.
60857
60858 2012-07-20 Joseph Myers <joseph@codesourcery.com>
60859
60860 * elf/Makefile (check-data): Remove.
60861 (localplt.data): New vpath directive.
60862 ($(objpfx)check-localplt.out): Use localplt.data from vpath
60863 instead of $(check-data).
60864 * scripts/data/localplt-generic.data: Move to ...
60865 * sysdeps/generic/localplt.data: ... here.
60866 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60867 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60868 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60870 ... here.
60871 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60873 ... here.
60874 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60876 ... here.
60877 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60879 ... here.
60880 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60882 ... here.
60883 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60885 ... here.
60886
60887 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60888
60889 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60890 PPC32 and PPC64 files.
60891 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60892 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60893
60894 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60895
60896 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60897 __makecontext_ret to ...
60898 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60899 ... here and call exit if uc_link is NULL. New file.
60900 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60901 __makecontext_ret.S.
60902 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60903 __makecontext_ret to ...
60904 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60905 ... here and call exit if uc_link is NULL. New file.
60906 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60907 __makecontext_ret.S.
60908
60909 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60910
60911 * elf/elf.h (R_390_IRELATIVE): New definition.
60912 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60913 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
60914 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60915 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60916 (elf_machine_lazy_rel): Likewise.
60917 * sysdeps/s390/dl-irel.h: New file.
60918 * sysdeps/s390/s390-64/memcpy.S: New asm code.
60919 * sysdeps/s390/s390-64/memset.S: New asm code.
60920 * sysdeps/s390/s390-64/memcmp.S: New asm code.
60921 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60922 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60923 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60924 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60925 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60926 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60927 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60928 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60929 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60930 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60931 * sysdeps/s390/s390-32/memcpy.S: New asm code.
60932 * sysdeps/s390/s390-32/memset.S: New asm code.
60933 * sysdeps/s390/s390-32/memcmp.S: New asm code.
60934
60935 2012-07-17 Marek Polacek <polacek@redhat.com>
60936
60937 [BZ #14349]
60938 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60939 * sysdeps/s390/s390-64/configure.in: Likewise.
60940 * sysdeps/sparc/configure.in: Likewise.
60941 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60942 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60943 * sysdeps/i386/configure.in: Likewise.
60944 * sysdeps/x86_64/configure.in: Likewise.
60945 * sysdeps/sh/configure.in: Likewise.
60946 * sysdeps/s390/s390-32/configure: Regenerated.
60947 * sysdeps/s390/s390-64/configure: Likewise.
60948 * sysdeps/x86_64/configure: Likewise.
60949 * sysdeps/sh/configure: Likewise.
60950 * sysdeps/powerpc/powerpc64/configure: Likewise.
60951 * sysdeps/powerpc/powerpc32/configure: Likewise.
60952 * sysdeps/sparc/configure: Likwise.
60953 * sysdeps/i386/configure: Likewise.
60954
60955 * elf/dl-open.c: Comment fixes.
60956
60957 2012-07-17 Joseph Myers <joseph@codesourcery.com>
60958
60959 * Makefile [CXX] (check-data): Remove.
60960 [CXX] (c++-types.data): New vpath directive.
60961 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60962 vpath. Do not allow for C++ type data being missing.
60963 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60964 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60965 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60966 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60967 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60968 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60969 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60971 ... here.
60972 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60974 ... here.
60975 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60977 ... here.
60978 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60980 ... here.
60981 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60983 ... here.
60984 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60986 ... here.
60987 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60989 ... here.
60990 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60992
60993 * elf/tls-macros.h (TLS_LE): Move architecture-specific
60994 definitions to architecture-specific files.
60995 (TLS_IE): Likewise.
60996 (TLS_LD): Likewise.
60997 (TLS_GD): Likewise.
60998 * sysdeps/i386/tls-macros.h: New file.
60999 * sysdeps/powerpc/tls-macros.h: Likewise.
61000 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61001 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61002 * sysdeps/sh/tls-macros.h: Likewise.
61003 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61004 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61005 * sysdeps/x86_64/tls-macros.h: Likewise.
61006
61007 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
61008
61009 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61010 zero value for regular exit case.
61011
61012 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61013 (__start_context): Preserve zero value for regular exit case.
61014
61015 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
61016 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61017
61018 * manual/setjmp.texi (setcontext): Clarify normal process
61019 termination when uc_link is the null pointer.
61020 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61021 exit call.
61022
61023 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
61024
61025 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61026 preprocessor. Test for each exception mask separately.
61027
61028 2012-07-16 Andreas Jaeger <aj@suse.de>
61029
61030 * po/ru.po: Update from translation team.
61031
61032 2012-07-15 Joseph Myers <joseph@codesourcery.com>
61033
61034 * conform/data/string.h-data (NULL): Use macro-constant. Require
61035 equal to 0.
61036 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61037 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61038 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61039 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61040 [ISO || ISO99 || ISO11] (*_t): Do not allow.
61041
61042 2012-07-13 Andreas Jaeger <aj@suse.de>
61043
61044 * po/fr.po: Update from translation team.
61045
61046 2012-07-12 Marek Polacek <polacek@redhat.com>
61047
61048 [BZ #14173]
61049 * math/libm-test.inc (yn_test): Add test for BZ #14173.
61050 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61051 loop condition.
61052
61053 2012-07-12 Joseph Myers <joseph@codesourcery.com>
61054
61055 [BZ #13717]
61056 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61057 Change to 2.4.1 where previously 2.4.0.
61058 * sysdeps/unix/sysv/linux/configure: Regenerated.
61059 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61060 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61061 version.
61062 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61063 (__ASSUME_AT_CLKTCK): Remove.
61064 (__ASSUME_AT_PAGESIZE): Likewise.
61065 (__ASSUME_AT_XID): Likewise.
61066 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61067 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61068 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61069 unconditionally.
61070 (HAVE_AUX_PAGESIZE): Likewise.
61071 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61072 [__ASSUME_AT_CLKTCK]: Make code unconditional.
61073 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61074
61075 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
61076
61077 [BZ #14307]
61078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61079 the temporary buffer used to invoke __gethostbyname2_r,
61080 __gethostbyaddr_r and gethostbyname4_r to make room for struct
61081 host_data / struct gaih_addrtuple.
61082 * resolv/nss_dns/dns-host.c (global scope): Move definition of
61083 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61084 header file nss/nsswitch.h.
61085 * nss/nsswitch.h (global scope): Add definition of implementation
61086 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61087 resolv/nss_dns/dns-host.c).
61088
61089 2012-07-11 Andreas Jaeger <aj@suse.de>
61090
61091 * po/fr.po: Update from translation team.
61092
61093 * po/sv.po: Update from translation team
61094 * po/fr.po: Another update from translation team.
61095
61096 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61097
61098 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61099 for subnormals or multiply small sinh result by itself.
61100 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61102
61103 2012-07-11 David S. Miller <davem@davemloft.net>
61104
61105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61106
61107 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
61108
61109 [BZ #14347]
61110 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61111 (INTERNAL_MARK): Shift it here.
61112
61113 2012-07-10 Marek Polacek <polacek@redhat.com>
61114
61115 [BZ #14151]
61116 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
61117 libc_cv_asm_global_directive with .globl.
61118 * configure: Regenerated.
61119 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61120 with .globl.
61121 * sysdeps/i386/configure: Regenerated.
61122 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61123 with .globl.
61124 * sysdeps/x86_64/configure: Regenerated.
61125 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61126 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61127 * elf/tst-unique2mod2.c: Likewise.
61128 * elf/tst-unique2mod1.c: Likewise.
61129 * elf/tst-unique1mod2.c: Likewise.
61130 * elf/tst-unique1mod1.c: Likewise.
61131 * sysdeps/s390/s390-32/sysdep.h: Likewise.
61132 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61133 * sysdeps/s390/s390-64/sysdep.h: Likewise.
61134 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61135 * sysdeps/mach/sysdep.h: Likewise.
61136 * sysdeps/i386/sysdep.h: Likewise.
61137 * sysdeps/i386/i386-mcount.S: Likewise.
61138 * sysdeps/x86_64/_mcount.S: Likewise.
61139 * sysdeps/x86_64/sysdep.h: Likewise.
61140 * sysdeps/sh/_mcount.S: Likewise.
61141 * sysdeps/sh/sysdep.h: Likewise.
61142 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61143 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61144 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61145 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61146 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61147 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61148 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61149 * locale/localeinfo.h: Likewise.
61150 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61151 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61152
61153 2012-07-09 Roland McGrath <roland@hack.frob.com>
61154
61155 [BZ #14336]
61156 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61157 system".
61158 * manual/message.texi (The Uniforum approach): Likewise.
61159 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61160 (glibc iconv Implementation): Likewise.
61161
61162 2012-07-09 Joseph Myers <joseph@codesourcery.com>
61163
61164 [BZ #14337]
61165 * math/s_clog.c (__clog): Avoid scaling a value down where that
61166 could result in underflow.
61167 * math/s_clog10.c (__clog10): Likewise.
61168 * math/s_clog10f.c (__clog10f): Likewise.
61169 * math/s_clog10l.c (__clog10l): Likewise.
61170 * math/s_clogf.c (__clogf): Likewise.
61171 * math/s_clogl.c (__clogl): Likewise.
61172 * math/libm-test.inc (clog_test): Add more tests.
61173 (clog10_test): Likewise.
61174 * sysdeps/i386/fpu/libm-test-ulps: Update.
61175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61176
61177 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
61178
61179 [BZ #14283]
61180 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61181 by 7 not 8 to examine high bit of fractional part.
61182
61183 [BZ #14042]
61184 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61185 for call to __mcount_internal.
61186 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61187 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61188 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61189
61190 2012-07-06 Joseph Myers <joseph@codesourcery.com>
61191
61192 [BZ #14154]
61193 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61194 approximation for values within 0x1p-13f of an odd multiple of
61195 pi/4.
61196 * math/libm-test.inc (tan_test): Do not allow spurious underflow
61197 exception. Add more tests.
61198 * sysdeps/i386/fpu/libm-test-ulps: Update.
61199
61200 [BZ #6778]
61201 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61202 inputs and return -1 for them. Do not check for +Inf in case not
61203 reachable for +Inf.
61204 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61205 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61206 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61207 and return -1 for them. Do not check for +Inf in case not
61208 reachable for +Inf.
61209 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61210 define.
61211 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61212 and return -1 for them. Do not check for +Inf in case not
61213 reachable for +Inf.
61214 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
61215 spurious underflow.
61216 * sysdeps/i386/fpu/libm-test-ulps: Update.
61217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61218
61219 2012-07-06 Mike Frysinger <vapier@gentoo.org>
61220
61221 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61222
61223 2012-07-05 Joseph Myers <joseph@codesourcery.com>
61224
61225 [BZ #14157]
61226 [BZ #14331]
61227 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61228 could result in spurious underflow. Scale down values above
61229 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61230 * math/s_csqrtf.c (__csqrtf): Likewise.
61231 * math/s_csqrtl.c (__csqrtl): Likewise.
61232 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
61233 spurious underflow.
61234 * sysdeps/i386/fpu/libm-test-ulps: Update.
61235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61236
61237 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
61238
61239 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61240 xopen-msg.sed.
61241 * catgets/xopen-msg.awk: New file.
61242 * catgets/xopen-msg.sed: Removed.
61243
61244 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61245 po2text.sed.
61246 * intl/po2test.awk: New file.
61247 * intl/po2test.sed: Removed.
61248
61249 2012-07-04 Joseph Myers <joseph@codesourcery.com>
61250
61251 [BZ #14328]
61252 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61253 or multiply small sinh result by itself.
61254 * math/s_ctanf.c (__ctanf): Likewise.
61255 * math/s_ctanh.c (__ctanh): Likewise.
61256 * math/s_ctanhf.c (__ctanhf): Likewise.
61257 * math/s_ctanhl.c (__ctanhl): Likewise.
61258 * math/s_ctanl.c (__ctanl): Likewise.
61259 * math/libm-test.inc (ctan_test_tonearest): New function.
61260 (ctan_test_towardzero): Likewise.
61261 (ctan_test_downward): Likewise.
61262 (ctan_test_upward): Likewise.
61263 (ctanh_test_tonearest): Likewise.
61264 (ctanh_test_towardzero): Likewise.
61265 (ctanh_test_downward): Likewise.
61266 (ctanh_test_upward): Likewise.
61267 (main): Call these new functions.
61268 * sysdeps/i386/fpu/libm-test-ulps: Update.
61269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61270
61271 2012-07-03 Mike Frysinger <vapier@gentoo.org>
61272
61273 * .gitignore: Delete /ports entry.
61274
61275 2012-07-03 Andreas Jaeger <aj@suse.de>
61276
61277 * po/bg.po: Update from translation team.
61278 * po/cs.po: Likewise.
61279 * po/de.po: Likewise.
61280 * po/hr.po: Likewise.
61281 * po/nl.pl: Likewise.
61282 * po/pl.po: Likewise.
61283 * po/vi.po: Likewise.
61284
61285 2012-07-03 Joseph Myers <joseph@codesourcery.com>
61286
61287 * Makeconfig [!+link] (+link-before-libc): New variable.
61288 [!+link] (+link-after-libc): Likewise.
61289 [!+link] (+link-tests): Likewise.
61290 [!+link] (+link): Define in terms of $(+link-before-libc) and
61291 $(+link-after-libc).
61292 [!+link-static] (+link-static-before-libc): New variable.
61293 [!+link-static] (+link-static-after-libc): Likewise.
61294 [!+link-static] (+link-static-tests): Likewise.
61295 [!+link-static] (+link-static): Define in terms of
61296 $(+link-static-before-libc) and $(+link-static-after-libc).
61297 [build-shared] (link-libc-before-gnulib): New variable.
61298 [build-shared] (link-libc-tests): Likewise.
61299 [build-shared] (link-libc): Define in terms of
61300 $(link-libc-before-gnulib).
61301 [!build-shared] (link-libc-tests): New variable.
61302 (link-libc-static-tests): New variable.
61303 [!gnulib] (gnulib-arch): New variable.
61304 [!gnulib] (gnulib-tests): Likewise.
61305 [!gnulib] (static-gnulib-arch): Likewise.
61306 [!gnulib] (static-gnulib-tests): Likewise.
61307 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
61308 Define with "=" instead of ":=".
61309 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
61310 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
61311 * Rules (binaries-all-notests): New variable.
61312 (binaries-all-tests): Likewise.
61313 (binaries-static-notests): Likewise.
61314 (binaries-static-tests): Likewise.
61315 (binaries-all): Define using $(binaries-all-notests) and
61316 $(binaries-all-tests).
61317 (binaries-static): Define using $(binaries-static-notests) and
61318 $(binaries-static-tests).
61319 (binaries-shared-tests): New variable.
61320 (binaries-shared-notests): Likewise.
61321 (binaries-shared): Remove variable.
61322 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61323 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61324 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61325 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61326 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61327 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61328 * elf/Makefile (sln-modules): New variable.
61329 (extra-objs): Add $(sln-modules:=.o).
61330 (ldconfig-modules): Add static-stubs.
61331 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61332 * elf/static-stubs.c: New file.
61333
61334 [BZ #14283]
61335 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61336 by 7 not 8 to examine high bit of fractional part. Use volatile
61337 variables when splitting into final array of floats if
61338 __FLT_EVAL_METHOD__ != 0.
61339 * math/libm-test.inc (cos_test): Add another test.
61340 (sin_test): Likewise.
61341 * sysdeps/i386/fpu/libm-test-ulps: Update.
61342
61343 [BZ #14273]
61344 * math/libm-test.inc (cosh_test): Add more tests.
61345
61346 * version.h (RELEASE): Set to "development".
61347 (VERSION): Set to "2.16.90".
61348
61349 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
61350
61351 * NEWS: Update copyright. Remove last-updated date.
61352 Mention math library bug fixes and timezone data changes.
61353 * README: Mention GNU/Hurd, x32, and HPPA support status.
61354
61355 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
61356
61357 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61358
61359 2012-06-27 Andreas Jaeger <aj@suse.de>
61360
61361 * manual/contrib.texi (Contributors): Add Samuel Thibault.
61362
61363 2012-06-25 Andreas Jaeger <aj@suse.de>
61364
61365 * sysdeps/s390/fpu/libm-test-ulps: Update.
61366
61367 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
61368 Thomas Schwinge <thomas@codesourcery.com>
61369
61370 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61371 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61373 fanotify_mark.
61374
61375 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
61376
61377 * sysdeps/mach/start.c: Remove file.
61378 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61379 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61380 * sysdeps/sh/init-first.c: Likewise.
61381
61382 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61383 registers for frame unwinding purposes, add CFI directives.
61384 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61385 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61386 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61387 Likewise.
61388
61389 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61390 __fortify_fail returning.
61391 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61392
61393 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61394 sysdeps/sh/____longjmp_chk.S.
61395 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61396 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61397 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61398 (gen-as-const-headers): Append sigaltstack-offsets.sym.
61399
61400 * sysdeps/sh/abort-instr.h: New file.
61401 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61402 process in case exit returns.
61403
61404 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61405 initialize the GOT register before use.
61406
61407 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61408 calculation of ARGC > 4.
61409
61410 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61411 meaningful names to some local labels.
61412
61413 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61414 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61415
61416 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61417 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61418 (__arch_compare_and_exchange_val_16_acq): Likewise.
61419 (__arch_compare_and_exchange_val_32_acq): Likewise.
61420 (atomic_exchange_and_add): Fix gUSA sequence.
61421 (atomic_add): Likewise.
61422 (atomic_add_negative): Likewise.
61423 (atomic_add_zero): Likewise.
61424 (atomic_bit_test_set): Likewise.
61425
61426 2012-06-22 Andreas Schwab <schwab@redhat.com>
61427
61428 [BZ #13579]
61429 * include/link.h (struct link_map): Add l_free_initfini.
61430 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61431 l_initfini.
61432 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61433 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61434 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61435 set.
61436
61437 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
61438
61439 * configure.in: Use AC_LANG_SOURCE.
61440 * configure: Regenerate.
61441
61442 2012-06-22 Roland McGrath <roland@hack.frob.com>
61443
61444 * configure.in (libc_cv_localstatedir): New substituted variable.
61445 * configure: Regenerated.
61446 * config.make.in (localstatedir): New variable, substituted from
61447 libc_cv_localstatedir.
61448 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61449 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61450 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61451 * sysdeps/gnu/configure: Regenerated.
61452
61453 2012-06-21 Jeff Law <law@redhat.com>
61454
61455 [BZ #14277]
61456 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61457 free. Simplify list management for _LIBC case.
61458
61459 2012-06-21 Joseph Myers <joseph@codesourcery.com>
61460
61461 [BZ #14273]
61462 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61463 Clear sign bit of 64-bit integer value before comparing against
61464 overflow value.
61465
61466 * sysdeps/mach/configure: Regenerated.
61467
61468 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
61469
61470 [BZ #14278]
61471 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61472
61473 2012-06-21 Jeff Law <law@redhat.com>
61474
61475 [BZ #13882]
61476 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
61477 uint16_t for elements in the "seen" array to avoid char overflows.
61478 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61479 * elf/dl-open.c (dl_open_worker): Likewise.
61480
61481 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
61482
61483 * scripts/list-sources.sh: Scan PORTS for translations.
61484 * po/libc.pot: Regenerated.
61485
61486 2012-06-21 Andreas Jaeger <aj@suse.de>
61487
61488 [BZ #12194]
61489 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61490 warning.
61491 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61492 * bits/byteswap-16.h (__bswap_16): Likewise.
61493 * bits/byteswap.h (__bswap_constant_16): Likewise.
61494
61495 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
61496
61497 [BZ #14117]
61498 * sysdeps/i386/fpu_control.h: Removed.
61499 * sysdeps/x86_64/fpu_control.h: Moved to ...
61500 * sysdeps/x86/fpu_control.h: Here.
61501
61502 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61503 (_FPU_SETCW): Likewise.
61504
61505 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
61506
61507 [BZ #14117]
61508 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61509 * sysdeps/x86/fpu/bits/mathinline.h: This.
61510 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61511
61512 [BZ #14050]
61513 [BZ #14117]
61514 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61515 functions if __x86_64__ is defined.
61516
61517 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
61518
61519 * string/endian.h: Add !__ASSEMBLER__ condition for including
61520 conversion interfaces.
61521
61522 2012-06-15 Joseph Myers <joseph@codesourcery.com>
61523
61524 [BZ #14241]
61525 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61526 of ABS(x) in calculating zero to negative powers other than odd
61527 integers.
61528 * math/libm-test.inc (pow_test): Add more tests.
61529
61530 2012-06-15 Andreas Jaeger <aj@suse.de>
61531
61532 * manual/contrib.texi (Contributors): Update entry of Liubov
61533 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61534 Machado Filho.
61535
61536 2012-06-15 Cyril Hrubis <metan@ucw.cz>
61537
61538 * string/string.h: Add __wur to GNU version of strerror_r.
61539
61540 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
61541
61542 [BZ #14229]
61543 * string/Makefile (tests): Add tst-strtok_r.
61544 * string/tst-strtok_r.c: New file.
61545 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61546 RAX_LP/RDX_LP on SAVE_PTR.
61547
61548 2012-06-14 Roland McGrath <roland@hack.frob.com>
61549
61550 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61551
61552 2012-06-14 Joseph Myers <joseph@codesourcery.com>
61553
61554 * libm_test.inc (csqrt_test): Allow more spurious underflow
61555 exceptions.
61556 (j0_test): Likewise.
61557 (j1_test): Likewise.
61558 (y0_test): Likewise.
61559 (y1_test): Likewise.
61560
61561 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
61562
61563 * po/Makefile (libc.pot): Use UTF-8 charset.
61564
61565 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
61566
61567 [BZ #14210]
61568 Suppress sign-conversion warning from FD_SET.
61569 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61570 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61571 not unsigned long int.
61572 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61573
61574 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
61575
61576 [BZ #14050]
61577 [BZ #14117]
61578 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61579 __extern_always_inline instead of __extern_inline.
61580 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61581 (__signbit): Likewise.
61582 (__signbitl): Support C++ namespace.
61583 (lrintf): New inline function.
61584 (lrint): Likewise.
61585 (llrintf): Likewise.
61586 (llrint): Likewise.
61587 (fmaxf): Likewise.
61588 (fmax): Likewise.
61589 (fminf): Likewise.
61590 (fmin): Likewise.
61591 (rint): Likewise.
61592 (rintf): Likewise.
61593 (ceil): Likewise.
61594 (ceilf): Likewise.
61595 (floor): Likewise.
61596 (floorf): Likewise.
61597 (nearbyint): Likewise.
61598 (nearbyintf): Likewise.
61599
61600 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
61601
61602 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61603 non-default versions.
61604
61605 2012-06-11 Roland McGrath <roland@hack.frob.com>
61606
61607 [BZ #14218]
61608 * manual/argp.texi (Argp): Reword argp_parse description slightly.
61609
61610 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
61611
61612 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61613 (FE_UPWARD, FE_DOWNWARD): Don't define.
61614 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61615 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61616
61617 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61618 reading it.
61619 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61620 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61621
61622 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61623
61624 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61626 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61627 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61628
61629 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
61630
61631 [BZ #14117]
61632 * sysdeps/i386/fpu/bits/fenv.h: Removed.
61633 * sysdeps/i386/fpu/Implies: New file.
61634 * sysdeps/x86_64/fpu/Implies: Likewise.
61635 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61636 * sysdeps/x86/fpu/bits/fenv.h: This.
61637
61638 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61639 __SSE_MATH__.
61640
61641 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
61642
61643 [BZ #14134]
61644 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61645 character 0xffff that matches the last element of the
61646 conversion table.
61647
61648 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61649
61650 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61651 fmodl commit.
61652
61653 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61654
61655 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61656 values higher than 25.6283.
61657
61658 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61659
61660 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61661 subnormal exponent extraction and add some __builtin_expect.
61662 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61663 Fix for subnormal mantissa calculation.
61664
61665 2012-06-04 Mike Frysinger <vapier@gentoo.org>
61666
61667 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61668 cpu2 is -1 and errno is not ENOSYS.
61669
61670 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
61671
61672 [BZ #14117]
61673 * sysdeps/i386/i486/bits/string.h: Renamed to ...
61674 * sysdeps/x86/bits/string.h: This.
61675 * sysdeps/x86_64/bits/string.h: Removed.
61676
61677 * sysdeps/i386/i486/bits/string.h: Define inline functions only
61678 if not compiling for x86-64, but compiling for >= i486.
61679
61680 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61681 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61682
61683 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61684 New macro from Linux kernel 3.4.0.
61685 (FP_XSTATE_MAGIC2): Likewise.
61686 (FP_XSTATE_MAGIC2_SIZE): Likewise.
61687 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61688 (struct _fpx_sw_bytes): New struct.
61689 (struct _xsave_hdr): Likewise.
61690 (struct _ymmh_state): Likewise.
61691 (struct _xstate): Likewise.
61692
61693 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61694 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61695 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61696 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61697 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61698 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61699
61700 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61701 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61702 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61703 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61704 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61705 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61706
61707 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61708
61709 [BZ #13743]
61710 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61711 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61712 (sysdep_headers): Include sys/platform/ppc.h.
61713 * sysdeps/powerpc/test-gettimebase.c: Test for
61714 __ppc_get_timebase() to catch future ISA opcode/insn changes.
61715 * manual/Makefile (appendices): Include platform.texi.
61716 * manual/contrib.texi (Contributors): Update @node pointers.
61717 * manual/maint.texi (Maintenance): Likewise.
61718 (Platform): New node.
61719 * manual/platform.texi: New file. Document the new features.
61720
61721 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61722 Jakub Jelinek <jakub@redhat.com>
61723
61724 [BZ #14188]
61725 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61726 where __builtin_expect is unavailable.
61727
61728 2012-06-03 David S. Miller <davem@davemloft.net>
61729
61730 * stdlib/longlong.h: Updated from GCC.
61731
61732 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
61733
61734 [BZ #14042]
61735 * sysdeps/powerpc/powerpc32/mcount.c: New file.
61736 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61737 __mcount_internal.
61738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61739 (GLIBC_2.16): Likewise.
61740
61741 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61742
61743 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61744
61745 2012-06-01 Joseph Myers <joseph@codesourcery.com>
61746
61747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61748 (default-abi): New variable.
61749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61750 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61751 variable.
61752 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61753 Likewise.
61754 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61755 Likewise.
61756 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61757 Likewise.
61758
61759 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61760 definition. Document in comment.
61761
61762 2012-06-01 David S. Miller <davem@davemloft.net>
61763
61764 * stdlib/longlong.h: Updated from GCC.
61765
61766 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61767
61768 [BZ #14117]
61769 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61770 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61771 sys/debugreg.h sys/io.h here.
61772 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61773 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61774 sys/io.h.
61775 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61776 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61777 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61778 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61779 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61780 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61781
61782 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61783 Define only if __x86_64__ is defined.
61784
61785 2012-06-01 Joseph Myers <joseph@codesourcery.com>
61786
61787 [BZ #14048]
61788 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61789 Use int64_t for variable i.
61790 * math/libm-test.inc (fmod_test): Add more tests.
61791
61792 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61793 z computation is not scheduled after fetestexcept.
61794 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61795 Use math_force_eval instead of asm to ensure calculation scheduled
61796 before exception test.
61797 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61798 Ensure a1 + u.d computation is not scheduled after fetestexcept.
61799
61800 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
61801
61802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61803 computation is not scheduled after fetestexcept.
61804
61805 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61806
61807 [BZ #14117]
61808 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61809 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61810
61811 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61812
61813 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61814 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61815
61816 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
61817
61818 [BZ #14117]
61819 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61820 <bits/wordsize.h>.
61821 (__WCHAR_MIN): Support __WORDSIZE == 64.
61822 (__WCHAR_MAX): Likewise.
61823
61824 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61825 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61826
61827 [BZ #14183]
61828 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61829 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61830
61831 [BZ #14117]
61832 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61833 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61834
61835 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61836 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61837
61838 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61839 Defined to 1 if __x86_64__ isn't defined.
61840 (_STAT_VER_LINUX_OLD): New.
61841 (st_atime): Remove duplicate.
61842 (st_mtime): Likewise.
61843 (st_ctime): Likewise.
61844
61845 2012-05-31 David S. Miller <davem@davemloft.net>
61846
61847 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61848 entries.
61849
61850 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
61851
61852 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61853 gen-libm-test.pl.
61854
61855 [BZ #14132]
61856 * elf/dl-reloc.c: Include <_itoa.h>.
61857 (_dl_reloc_bad_type): Remove use of INTUSE.
61858 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61859 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61860 * stdio-common/psiginfo.c (psiginfo): Likewise.
61861 * stdio-common/psignal.c (psignal): Likewise.
61862 * string/strsignal.c (strsignal): Likewise.
61863 * include/signal.h (_sys_siglist): Declare hidden proto.
61864 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
61865 INTVARDEF with libc_hidden_data_def.
61866 * stdio-common/itoa-udigits.c: Likewise.
61867 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61868 (_itoa_lower_digits_internal): Remove declaration.
61869 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61870 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61871 (_sys_sigabbrev_internal): Remove aliases.
61872 (_sys_siglist): Define hidden alias.
61873
61874 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
61875
61876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61877 bits/sysctl.h.
61878
61879 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
61880
61881 [BZ #14117]
61882 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61883 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61884
61885 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61886 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61887 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61888 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61889 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61890 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61891
61892 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61893 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61894 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61895
61896 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61897 with __addr.
61898 (insw): Likewise.
61899 (insl): Likewise.
61900 (outsb): Likewise.
61901 (outsw): Likewise.
61902 (outsl): Likewise.
61903
61904 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61905 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61906 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61907
61908 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61909 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61910 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61911 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61912 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61913 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61914
61915 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61916 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61917
61918 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61919 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61920
61921 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61922 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61923 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61924
61925 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61926 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61927 to ...
61928 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61929
61930 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61931 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61932 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61933
61934 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61935 for x86-64.
61936 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61937
61938 2012-05-31 Joseph Myers <joseph@codesourcery.com>
61939
61940 * math/math.h (M_El): Use two more decimal places.
61941 (M_LOG2El): Likewise.
61942 (M_LOG10El): Likewise.
61943 (M_LN2l): Likewise.
61944 (M_LN10l): Likewise.
61945 (M_PIl): Likewise.
61946 (M_PI_2l): Likewise.
61947 (M_PI_4l): Likewise.
61948 (M_1_PIl): Likewise.
61949 (M_2_PIl): Likewise.
61950 (M_2_SQRTPIl): Likewise.
61951 (M_SQRT2l): Likewise.
61952 (M_SQRT1_2l): Likewise.
61953
61954 2012-05-31 David S. Miller <davem@davemloft.net>
61955
61956 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61957 values between float registers.
61958 * sysdeps/sparc/sparc64/memset.S: Likewise.
61959 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61960
61961 2012-05-31 Mike Frysinger <vapier@gentoo.org>
61962
61963 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61964 -D_FORTIFY_SOURCE=1.
61965 (CPPFLAGS-tst-longjmp_chk.c): Define.
61966 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61967 (CPPFLAGS-tst-longjmp_chk2.c): Define.
61968 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61969 CFLAGS-tst-wchar-h.c.
61970
61971 2012-05-31 Marek Polacek <polacek@redhat.com>
61972
61973 [BZ #14132]
61974 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61975 __endmntent_internal): Remove declaration.
61976 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61977 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61978 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61979
61980 2012-05-30 David S. Miller <davem@davemloft.net>
61981
61982 * sysdeps/sparc/sparc32/soft-fp/q_util.c
61983 (___Q_simulate_exceptions): Use real FP ops rather than writing
61984 into the %fsr.
61985 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61986 Likewise.
61987
61988 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61989
61990 [BZ #14117]
61991 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61992 * sysdeps/x86/bits/xtitypes.h: This.
61993
61994 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61995 * sysdeps/x86/bits/wordsize.h: This.
61996
61997 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61998 * sysdeps/x86/bits/huge_vall.h: This.
61999
62000 * sysdeps/i386/bits/select.h: Removed.
62001 * sysdeps/x86_64/bits/select.h: Renamed to ...
62002 * sysdeps/x86/bits/select.h: This.
62003
62004 * sysdeps/i386/bits/setjmp.h: Removed.
62005 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62006 * sysdeps/x86/bits/setjmp.h: This.
62007
62008 * sysdeps/i386/bits/mathdef.h: Removed.
62009 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62010 * sysdeps/x86/bits/mathdef.h: This.
62011
62012 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
62013
62014 [BZ #14132]
62015 * include/sys/socket.h (__connect_internal)
62016 (__libc_sa_len_internal): Remove declaration.
62017 (__connect, __libc_sa_len): Declare hidden_proto.
62018 (SA_LEN): Remove use of INTUSE.
62019 * socket/connect.c: Add libc_hidden_def.
62020 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62021 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62022 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62023 alias.
62024 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62025 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62026 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62027 of adding _internal alias.
62028
62029 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62030
62031 [BZ #14117]
62032 * sysdeps/i386/bits/link.h: Removed.
62033 * sysdeps/i386/bits/linkmap.h: Likewise.
62034 * sysdeps/x86_64/bits/link.h: Renamed to ...
62035 * sysdeps/x86/bits/link.h: This.
62036 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62037 * sysdeps/x86/bits/linkmap.h: This.
62038
62039 * sysdeps/i386/bits/endian.h: Removed.
62040 * sysdeps/x86_64/bits/endian.h: Renamed to ...
62041 * sysdeps/x86/bits/endian.h: This.
62042
62043 * sysdeps/i386/bits/byteswap.h: Removed.
62044 * sysdeps/i386/bits/byteswap-16.h: Likewise.
62045 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62046 * sysdeps/x86/bits/byteswap.h: This.
62047 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62048 * sysdeps/x86/bits/byteswap-16.h: This.
62049 * sysdeps/i386/Implies: Add x86.
62050 * sysdeps/x86_64/Implies: Likewise.
62051
62052 2012-05-30 David S. Miller <davem@davemloft.net>
62053
62054 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62055 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62056 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62057 (FP_TRAPPING_EXCEPTIONS): Define.
62058 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62059 (FP_TRAPPING_EXCEPTIONS): Define.
62060 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62061 subnormals only when inexact has been signalled or underflow
62062 exceptions are enabled.
62063 (_FP_PACK_CANONICAL): Likewise.
62064
62065 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62066
62067 [BZ #14183]
62068 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62069 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62070
62071 2012-05-30 Richard Henderson <rth@twiddle.net>
62072
62073 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62074 with #ifndef NOT_IN_libc.
62075
62076 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
62077 marked to avoid plt entry.
62078
62079 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62080
62081 [BZ #14112]
62082 * Makeconfig (default-abi): New macro.
62083 (abi-includes): Likewise.
62084 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
62085 $(abi-$(default-abi)-lib-soname) for soname if defined.
62086 ($(common-objpfx)gnu/lib-names.stmp): Generate from
62087 abi-variants.
62088 * Makefile (installed-stubs): Likewise.
62089 * include/stubs-biarch.h: Removed.
62090 * scripts/lib-names.awk: Only handle one library at a time.
62091 * scripts/soversions.awk: Remove WORDSIZE support.
62092 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62093 entries.
62094 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62095 Removed.
62096 (syscall-list-default-condition): Likewise.
62097 (syscall-list-default-condition): Likewise.
62098 (syscall-list-includes): Likewise.
62099 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62100 syscall-list-* with abi-*. Handle undefined abi-variants.
62101 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62102 * sysdeps/unix/sysv/linux/i386/Implies: New file.
62103 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62104 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62105 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62106 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62107 Removed.
62108 (syscall-list-32-options): Likewise.
62109 (syscall-list-32-condition): Likewise.
62110 (syscall-list-64-options): Likewise.
62111 (syscall-list-64-condition): Likewise.
62112 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62113 macro.
62114 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62115 Renamed to ...
62116 (abi-*): This.
62117 (abi-64-ld-soname): New macro.
62118 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62119 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62120 Renamed to ...
62121 (abi-*): This.
62122 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62123 * sysdeps/x86_64/x32/shlib-versions: Likewise.
62124
62125 2012-05-30 Joseph Myers <joseph@codesourcery.com>
62126
62127 * sysdeps/unix/sysv/linux/kernel-features.h
62128 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62129 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62130 include <kernel-features.h>.
62131 [!__NR_ftruncate64]: Remove conditional code.
62132 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62133 [__NR_ftruncate64]: Make code unconditional.
62134 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62135 * sysdeps/unix/sysv/linux/truncate64.c: Do not
62136 include <kernel-features.h>.
62137 [!__NR_ftruncate64]: Remove conditional code.
62138 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62139 [__NR_ftruncate64]: Make code unconditional.
62140 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62142 include <kernel-features.h>.
62143 [!__NR_ftruncate64]: Remove conditional code.
62144 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62145 [__NR_ftruncate64]: Make code unconditional.
62146 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62148 include <kernel-features.h>.
62149 [!__NR_ftruncate64]: Remove conditional code.
62150 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62151 [__NR_ftruncate64]: Make code unconditional.
62152 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62153
62154 * configure.in (libc_cv_fpie): Weaken to a compile test using
62155 LIBC_TRY_CC_OPTION.
62156 * configure: Regenerated.
62157
62158 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62159
62160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62164 Refreshed.
62165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62171 Refreshed.
62172
62173 2012-05-27 David S. Miller <davem@davemloft.net>
62174
62175 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62176 (___Q_zero): New.
62177 (__Q_simulate_exceptions): Return void. Change to simulate
62178 exceptions by writing into the %fsr.
62179 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62180 (__Qp_handle_exceptions): Likewise.
62181 (numbers): Delete.
62182 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62183 __Qp_handle_exceptions.
62184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62185 __Qp_handle_exceptions.
62186 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62187 as unused and give dummy FP_RND_NEAREST initializer.
62188 (FP_INHIBIT_RESULTS): Define.
62189 (___Q_simulate_exceptions): Update declaration.
62190 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62191 formatting.
62192 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62193 as unused and give dummy FP_RND_NEAREST initializer.
62194 (__Qp_handle_exceptions): Update declaration.
62195 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62196 formatting.
62197
62198 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
62199
62200 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62201 the temporary FPU control word.
62202 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62203 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62204 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62205 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62206 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62207 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62208 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62209 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62210 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62211 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62212 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62213
62214 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62215
62216 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62217 fields.
62218
62219 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
62220
62221 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62222 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62223 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62224 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62225 Likewise.
62226 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62227 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62228 Likewise.
62229
62230 2012-05-27 Ulrich Drepper <drepper@gmail.com>
62231
62232 * po/h.po: Update from translation team.
62233
62234 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
62235
62236 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62237
62238 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62239 handling of denormals.
62240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62241 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62242 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62243 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62245 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62246 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62247 Likewise.
62248
62249 2012-05-26 Marek Polacek <polacek@redhat.com>
62250
62251 [BZ #14152]
62252 * math/libm-test.inc (fma_test): Don't always expect underflow
62253 exception.
62254
62255 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
62256
62257 [BZ #12416]
62258 * elf/tst-execstack.c: Include stackinfo.h.
62259 (do_test): Adjust test case to ensure that pthread_getattr_np
62260 behaviour remains the same after marking stack executable.
62261
62262 2012-05-25 Joseph Myers <joseph@codesourcery.com>
62263
62264 * sysdeps/unix/sysv/linux/kernel-features.h
62265 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62266 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62267 kernel-features.h.
62268 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62269 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62270 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62271 kernel-features.h.
62272 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62273 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62274
62275 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
62276
62277 * configure.in: Define the default includes to being none.
62278 * configure: Regenerated.
62279
62280 2012-05-25 Roland McGrath <roland@hack.frob.com>
62281
62282 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62283 * sysdeps/x86_64/setjmp.S: Likewise.
62284 * sysdeps/i386/bsd-setjmp.S: Likewise.
62285 * sysdeps/i386/bsd-_setjmp.S: Likewise.
62286 * sysdeps/i386/setjmp.S: Likewise.
62287 * sysdeps/i386/__longjmp.S: Likewise.
62288 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62289 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62290
62291 * include/stap-probe.h: New file.
62292 * configure.in: Handle --enable-systemtap.
62293 * configure: Regenerated.
62294 * config.h.in (USE_STAP_PROBE): New #undef.
62295 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62296 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62297 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62298
62299 2012-05-25 Joseph Myers <joseph@codesourcery.com>
62300
62301 [BZ #13717]
62302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62303 to 2.4.0 where earlier.
62304 * sysdeps/unix/sysv/linux/configure: Regenerated.
62305 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62306 <kernel-features.h>.
62307 [__ASSUME_32BITUIDS]: Make code unconditional.
62308 [!__ASSUME_32BITUIDS]: Remove conditional code.
62309 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62310 <kernel-features.h>.
62311 [__ASSUME_32BITUIDS]: Make code unconditional.
62312 [!__ASSUME_32BITUIDS]: Remove conditional code.
62313 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62314 [__ASSUME_32BITUIDS]: Make code unconditional.
62315 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62316 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62317 <kernel-features.h>.
62318 [__ASSUME_32BITUIDS]: Make code unconditional.
62319 [!__ASSUME_32BITUIDS]: Remove conditional code.
62320 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62321 <kernel-features.h>.
62322 [__ASSUME_32BITUIDS]: Make code unconditional.
62323 [!__ASSUME_32BITUIDS]: Remove conditional code.
62324 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62325 <kernel-features.h>.
62326 [__ASSUME_32BITUIDS]: Make code unconditional.
62327 [!__ASSUME_32BITUIDS]: Remove conditional code.
62328 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62329 <kernel-features.h>.
62330 [__ASSUME_32BITUIDS]: Make code unconditional.
62331 [!__ASSUME_32BITUIDS]: Remove conditional code.
62332 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62333 <kernel-features.h>.
62334 [__ASSUME_32BITUIDS]: Make code unconditional.
62335 [!__ASSUME_32BITUIDS]: Remove conditional code.
62336 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62337 <kernel-features.h>.
62338 [__ASSUME_32BITUIDS]: Make code unconditional.
62339 [!__ASSUME_32BITUIDS]: Remove conditional code.
62340 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62341 <kernel-features.h>.
62342 [__ASSUME_32BITUIDS]: Make code unconditional.
62343 [!__ASSUME_32BITUIDS]: Remove conditional code.
62344 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62345 <kernel-features.h>.
62346 [__ASSUME_32BITUIDS]: Make code unconditional.
62347 [!__ASSUME_32BITUIDS]: Remove conditional code.
62348 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62349 <kernel-features.h>.
62350 [__ASSUME_32BITUIDS]: Make code unconditional.
62351 [!__ASSUME_32BITUIDS]: Remove conditional code.
62352 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62353 <kernel-features.h>.
62354 [__ASSUME_32BITUIDS]: Make code unconditional.
62355 [!__ASSUME_32BITUIDS]: Remove conditional code.
62356 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62357 <kernel-features.h>.
62358 [__NR_setresgid] (__setresgid): Do not declare.
62359 [__ASSUME_32BITUIDS]: Make code unconditional.
62360 [!__ASSUME_32BITUIDS]: Remove conditional code.
62361 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62362 <kernel-features.h>.
62363 [__NR_setresuid] (__setresuid): Do not declare.
62364 [__ASSUME_32BITUIDS]: Make code unconditional.
62365 [!__ASSUME_32BITUIDS]: Remove conditional code.
62366 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62367 <kernel-features.h>.
62368 [__ASSUME_32BITUIDS]: Make code unconditional.
62369 [!__ASSUME_32BITUIDS]: Remove conditional code.
62370 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62371 <kernel-features.h>.
62372 [__ASSUME_32BITUIDS]: Make code unconditional.
62373 [!__ASSUME_32BITUIDS]: Remove conditional code.
62374 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62375 <kernel-features.h>.
62376 [__ASSUME_32BITUIDS]: Make code unconditional.
62377 [!__ASSUME_32BITUIDS]: Remove conditional code.
62378 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62379 <kernel-features.h>.
62380 [__ASSUME_32BITUIDS]: Make code unconditional.
62381 [!__ASSUME_32BITUIDS]: Remove conditional code.
62382 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62383 <kernel-features.h>.
62384 [__ASSUME_32BITUIDS]: Make code unconditional.
62385 [!__ASSUME_32BITUIDS]: Remove conditional code.
62386 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62387 <kernel-features.h>.
62388 [__ASSUME_32BITUIDS]: Make code unconditional.
62389 [!__ASSUME_32BITUIDS]: Remove conditional code.
62390 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62391 <kernel-features.h>.
62392 [__ASSUME_32BITUIDS]: Make code unconditional.
62393 [!__ASSUME_32BITUIDS]: Remove conditional code.
62394 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62395 <kernel-features.h>.
62396 [__ASSUME_32BITUIDS]: Make code unconditional.
62397 [!__ASSUME_32BITUIDS]: Remove conditional code.
62398 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62399 <kernel-features.h>.
62400 [__ASSUME_32BITUIDS]: Make code unconditional.
62401 [!__ASSUME_32BITUIDS]: Remove conditional code.
62402 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62403 <kernel-features.h>.
62404 [__ASSUME_32BITUIDS]: Make code unconditional.
62405 [!__ASSUME_32BITUIDS]: Remove conditional code.
62406 * sysdeps/unix/sysv/linux/kernel-features.h
62407 (__ASSUME_SETRESUID_SYSCALL): Remove.
62408 (__ASSUME_SETRESGID_SYSCALL): Likewise.
62409 (__ASSUME_32BITUIDS): Likewise.
62410 (__ASSUME_LDT_WORKS): Likewise.
62411 (__ASSUME_O_DIRECTORY): Likewise.
62412 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62413 architecture but not kernel version.
62414 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62415 (__ASSUME_MMAP2_SYSCALL): Likewise.
62416 (__ASSUME_STAT64_SYSCALL): Likewise.
62417 (__ASSUME_IPC64): Likewise.
62418 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62419 <kernel-features.h>.
62420 [__ASSUME_32BITUIDS]: Make code unconditional.
62421 [!__ASSUME_32BITUIDS]: Remove conditional code.
62422 * sysdeps/unix/sysv/linux/opendir.c: Do not include
62423 <kernel-features.h>.
62424 [__ASSUME_O_DIRECTORY]: Make code unconditional.
62425 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62426 132096]: Remove conditional code.
62427 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62428 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62429 <kernel-features.h>.
62430 [__ASSUME_32BITUIDS]: Make code unconditional.
62431 [!__ASSUME_32BITUIDS]: Remove conditional code.
62432 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62433 <kernel-features.h>.
62434 [__ASSUME_32BITUIDS]: Make code unconditional.
62435 [!__ASSUME_32BITUIDS]: Remove conditional code.
62436 * sysdeps/unix/sysv/linux/setegid.c: Do not include
62437 <kernel-features.h>.
62438 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62439 unconditional.
62440 (__setresgid): Do not declare.
62441 [__ASSUME_32BITUIDS]: Make code unconditional.
62442 [!__ASSUME_32BITUIDS]: Remove conditional code.
62443 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62444 <kernel-features.h>.
62445 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62446 unconditional.
62447 (__setresuid): Do not declare.
62448 [__ASSUME_32BITUIDS]: Make code unconditional.
62449 [!__ASSUME_32BITUIDS]: Remove conditional code.
62450 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62451 <kernel-features.h>.
62452 [__ASSUME_32BITUIDS]: Make code unconditional.
62453 [!__ASSUME_32BITUIDS]: Remove conditional code.
62454 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62455 <kernel-features.h>.
62456 [__ASSUME_32BITUIDS]: Make code unconditional.
62457 [!__ASSUME_32BITUIDS]: Remove conditional code.
62458
62459 2012-05-25 Richard Henderson <rth@twiddle.net>
62460
62461 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62462 dl_hwcap to ifunc resolver.
62463 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62464 elf_ifunc_invoke.
62465 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62466 dl_hwcap to ifunc resolver.
62467 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62468
62469 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62470
62471 [BZ #14153]
62472 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62473 for |x| <= 2**-26, not 2**-57.
62474 * math/libm-test.inc (acos_test): Do not allow spurious underflow
62475 exception.
62476
62477 2012-05-24 Jeff Law <law@redhat.com>
62478
62479 * stdio-common/Makefile (tests): Add bug25.
62480 * stdio-common/bug25.c: New test.
62481
62482 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
62483
62484 [BZ #13576]
62485 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62486 multiple of MALLOC_ALIGNMENT in size.
62487 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62488
62489 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62490
62491 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62492 Require >= 256.
62493 (FILENAME_MAX): Use macro-int-constant.
62494 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
62495 (_IOFBF): Use macro-int-constant.
62496 (_IOLBF): Likewise.
62497 (_IONBF): Likewise.
62498 (SEEK_CUR): Likewise.
62499 (SEEK_END): Likewise.
62500 (SEEK_SET): Likewise.
62501 (TMP_MAX): Likewise.
62502 (EOF): Use macro-int-constant. Require < 0.
62503 (NULL): Use macro-constant. Require == 0.
62504 (stdin): Require type to be FILE *.
62505 (stdout): Likewise.
62506 (stderr): Likewise.
62507 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62508 macro-int-constant.
62509 (EXIT_SUCCESS): Likewise.
62510 (NULL): Use macro-constant. Require == 0.
62511 (RAND_MAX): Use macro-int-constant.
62512 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62513 [C99-based standards] (strtof): Require function.
62514 [C99-based standards] (strtold): Likewise.
62515 [C99-based standards] (strtoll): Likewise.
62516 [C99-based standards] (strtoull): Likewise.
62517 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62518 [ISO || ISO99 || ISO11] (limits.h): Likewise.
62519 [ISO || ISO99 || ISO11] (math.h): Likewise.
62520 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62521 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
62523
62524 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
62525
62526 [BZ #14132]
62527 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62528 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62529 * intl/dgettext.c (DCGETTEXT): Likewise.
62530 * intl/gettext.c (DCGETTEXT): Likewise.
62531 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62532 * posix/regex_internal.h (gettext): Likewise.
62533 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62534 Remove declaration.
62535 * include/argz.h (__argz_count_internal)
62536 (__argz_stringify_internal): Remove declaration.
62537 (__argz_count, __argz_stringify): Declare hidden proto.
62538 * intl/dcgettext.c: Remove use of INTDEF.
62539 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62540 * string/argz-stringify.c: Likewise.
62541 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62542 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62543 Declare hidden proto.
62544 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62545 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62546 Declare hidden proto.
62547 * include/stdio.h (__asprintf_internal): Don't declare.
62548 (__asprintf): Don't define as macro. Declare hidden proto.
62549 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62550 (__fsetlocking): Declare hidden proto.
62551 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62552 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62553 hidden proto.
62554 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62555 (_IO_setlinebuf): Remove use of INTUSE.
62556 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62557 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62558 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62559 Remove declaration.
62560 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62561 (_IO_do_flush): Remove use of INTUSE.
62562 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62563 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62564 (_IO_adjust_column, _IO_least_wmarker)
62565 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62566 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62567 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62568 (_IO_default_doallocate, _IO_wdefault_doallocate)
62569 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62570 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62571 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62572 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62573 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62574 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62575 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62576 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62577 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62578 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62579 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62580 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62581 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62582 proto.
62583 (_IO_flush_all_internal, _IO_adjust_column_internal)
62584 (_IO_default_uflow_internal, _IO_default_finish_internal)
62585 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62586 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62587 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62588 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62589 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62590 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62591 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62592 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62593 (_IO_file_close_internal, _IO_file_close_it_internal)
62594 (_IO_file_underflow_internal, _IO_file_overflow_internal)
62595 (_IO_file_init_internal, _IO_file_attach_internal)
62596 (_IO_file_fopen_internal, _IO_file_read_internal)
62597 (_IO_file_sync_internal, _IO_file_seek_internal)
62598 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62599 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62600 (_IO_str_underflow_internal, _IO_str_overflow_internal)
62601 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62602 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62603 (_IO_list_all_internal, _IO_link_in_internal)
62604 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62605 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62606 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62607 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62608 (_IO_do_write_internal, _IO_padn_internal)
62609 (_IO_getline_info_internal, _IO_getline_internal)
62610 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62611 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62612 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62613 (_IO_vfscanf_internal, _IO_vfprintf_internal)
62614 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62615 (_IO_init_internal, _IO_un_link_internal): Don't declare.
62616 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62617 with libc_hidden_ver, remove use of INTUSE.
62618 * libio/genops.c: Likewise.
62619 * libio/freopen.c: Likewise.
62620 * libio/freopen64.c: Likewise.
62621 * libio/iofclose.c: Likewise.
62622 * libio/iofdopen.c: Likewise.
62623 * libio/iofflush.c: Likewise.
62624 * libio/iofflush_u.c: Likewise.
62625 * libio/iofgets.c: Likewise.
62626 * libio/iofgets_u.c: Likewise.
62627 * libio/iofopen.c: Likewise.
62628 * libio/iofopncook.c: Likewise.
62629 * libio/iofread.c: Likewise.
62630 * libio/iofread_u.c: Likewise.
62631 * libio/ioftell.c: Likewise.
62632 * libio/iofwrite.c: Likewise.
62633 * libio/iogetline.c: Likewise.
62634 * libio/iogets.c: Likewise.
62635 * libio/iogetwline.c: Likewise.
62636 * libio/iopadn.c: Likewise.
62637 * libio/iopopen.c: Likewise.
62638 * libio/ioseekoff.c: Likewise.
62639 * libio/ioseekpos.c: Likewise.
62640 * libio/iosetbuffer.c: Likewise.
62641 * libio/iosetvbuf.c: Likewise.
62642 * libio/ioungetc.c: Likewise.
62643 * libio/ioungetwc.c: Likewise.
62644 * libio/iovdprintf.c: Likewise.
62645 * libio/iovsprintf.c: Likewise.
62646 * libio/iovsscanf.c: Likewise.
62647 * libio/memstream.c: Likewise.
62648 * libio/obprintf.c: Likewise.
62649 * libio/oldfileops.c: Likewise.
62650 * libio/oldiofclose.c: Likewise.
62651 * libio/oldiofdopen.c: Likewise.
62652 * libio/oldiofopen.c: Likewise.
62653 * libio/oldiopopen.c: Likewise.
62654 * libio/oldstdfiles.c: Likewise.
62655 * libio/putc.c: Likewise.
62656 * libio/setbuf.c: Likewise.
62657 * libio/setlinebuf.c: Likewise.
62658 * libio/stdfiles.c: Likewise.
62659 * libio/strops.c: Likewise.
62660 * libio/vasprintf.c: Likewise.
62661 * libio/vscanf.c: Likewise.
62662 * libio/vsnprintf.c: Likewise.
62663 * libio/vswprintf.c: Likewise.
62664 * libio/wfiledoalloc.c: Likewise.
62665 * libio/wfileops.c: Likewise.
62666 * libio/wgenops.c: Likewise.
62667 * libio/wmemstream.c: Likewise.
62668 * libio/wstrops.c: Likewise.
62669 * libio/__fpurge.c: Likewise.
62670 * libio/__fsetlocking.c: Likewise.
62671 * assert/assert.c: Likewise.
62672 * debug/fgets_chk.c: Likewise.
62673 * debug/fgets_u_chk.c: Likewise.
62674 * debug/fread_chk.c: Likewise.
62675 * debug/fread_u_chk.c: Likewise.
62676 * debug/gets_chk.c: Likewise.
62677 * debug/obprintf_chk.c: Likewise.
62678 * debug/vasprintf_chk.c: Likewise.
62679 * debug/vdprintf_chk.c: Likewise.
62680 * debug/vsnprintf_chk.c: Likewise.
62681 * debug/vsprintf_chk.c: Likewise.
62682 * malloc/mtrace.c: Likewise.
62683 * misc/error.c: Likewise.
62684 * misc/syslog.c: Likewise.
62685 * stdio-common/asprintf.c: Likewise.
62686 * stdio-common/fxprintf.c: Likewise.
62687 * stdio-common/getw.c: Likewise.
62688 * stdio-common/isoc99_fscanf.c: Likewise.
62689 * stdio-common/isoc99_scanf.c: Likewise.
62690 * stdio-common/isoc99_vfscanf.c: Likewise.
62691 * stdio-common/isoc99_vscanf.c: Likewise.
62692 * stdio-common/isoc99_vsscanf.c: Likewise.
62693 * stdio-common/printf-prs.c: Likewise.
62694 * stdio-common/printf_fp.c: Likewise.
62695 * stdio-common/printf_fphex.c: Likewise.
62696 * stdio-common/printf_size.c: Likewise.
62697 * stdio-common/putw.c: Likewise.
62698 * stdio-common/scanf.c: Likewise.
62699 * stdio-common/sprintf.c: Likewise.
62700 * stdio-common/tmpfile.c: Likewise.
62701 * stdio-common/vfprintf.c: Likewise.
62702 * stdio-common/vfscanf.c: Likewise.
62703 * stdlib/strfmon_l.c: Likewise.
62704 * sunrpc/openchild.c: Likewise.
62705 * sunrpc/xdr_stdio.c: Likewise.
62706 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62707 * sysdeps/mach/hurd/tmpfile.c: Likewise.
62708
62709 2012-05-24 Roland McGrath <roland@hack.frob.com>
62710
62711 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62712
62713 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62714 in the third column, to generate for the shared library an IFUNC
62715 that uses _dl_vdso_vsym.
62716 * Makerules (COMPILE.c, compile-stdin.c): New variables.
62717 * Makeconfig (object-suffixes-noshared): New variable.
62718
62719 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62720 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62721 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62722 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62723
62724 [BZ #14132]
62725 * include/sys/time.h (__gettimeofday): Remove macro.
62726 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62727 * time/gettimeofday.c (__gettimeofday): Remove #undef.
62728 Remove INTDEF.
62729 (__gettimeofday): Add libc_hidden_def.
62730 (gettimeofday): Add libc_hidden_weak.
62731 * sysdeps/mach/gettimeofday.c: Likewise.
62732 * sysdeps/posix/gettimeofday.c: Likewise.
62733 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62734 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62736 (__gettimeofday_internal): Remove strong_alias.
62737 (__gettimeofday): Add libc_hidden_def.
62738 (gettimeofday): Add libc_hidden_weak.
62739 * sysdeps/unix/syscalls.list (gettimeofday):
62740 Remove __gettimeofday_internal alias.
62741
62742 2012-05-24 Daniel Jacobowitz <drow@false.org>
62743 H.J. Lu <hongjiu.lu@intel.com>
62744
62745 [BZ #12495]
62746 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62747 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62748 (largebin_index_32_big): New.
62749 (largebin_index): Use it for 16-byte alignment.
62750 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
62751 correction with front_misalign.
62752
62753 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
62754
62755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62757 Likewise.
62758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62759 Likewise.
62760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62761 Likewise.
62762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62763 Likewise.
62764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62765 Likewise.
62766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62767 Likewise.
62768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62769 Likewise.
62770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62771 Likewise.
62772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62773 Likewise.
62774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62775 Likewise.
62776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62777 Likewise.
62778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62779 Likewise.
62780
62781 * scripts/data/c++-types-x32-linux-gnu.data: New file.
62782 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62783
62784 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62785
62786 [BZ #10846]
62787 [BZ #14036]
62788 * math/libm-test.inc (exp_test): Add test from bug 14036.
62789 (pow_test): Add test from bug 10846.
62790
62791 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62792 and other flags.
62793 (special_function): Do not include flags in test name.
62794 (parse_args): Likewise.
62795 * sysdeps/i386/fpu/libm-test-ulps: Update.
62796 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62797 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62798 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62800
62801 * math/gen-libm-test.pl (%beautify): Add entries for underflow
62802 exceptions.
62803 * math/libm-test.inc ("Philosophy"): Update comment about
62804 exception testing.
62805 (UNDERFLOW_EXCEPTION): New macro.
62806 (UNDERFLOW_EXCEPTION_OK): Likewise.
62807 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62808 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62809 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62810 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62811 (INVALID_EXCEPTION_OK): Update value.
62812 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62813 (OVERFLOW_EXCEPTION_OK): Likewise.
62814 (IGNORE_ZERO_INF_SIGN): Likewise.
62815 (test_exceptions): Handle underflow exceptions.
62816 (acos_test): Update for underflow exception expectations.
62817 (cexp_test): Likewise.
62818 (clog_test): Likewise.
62819 (clog10_test): Likewise.
62820 (csqrt_test): Likewise.
62821 (ctan_test): Likewise.
62822 (ctanh_test): Likewise.
62823 (exp_test): Likewise.
62824 (exp10_test): Likewise.
62825 (exp2_test): Likewise.
62826 (expm1_test): Likewise.
62827 (fma_test): Likewise.
62828 (j0_test): Likewise.
62829 (jn_test): Likewise.
62830 (nexttoward_test): Likewise.
62831 (pow_test): Likewise.
62832 (scalbn_test): Likewise.
62833 (scalbln_test): Likewise.
62834 (tan_test): Likewise.
62835 (y1_test): Likewise.
62836 * sysdeps/i386/fpu/libm-test-ulps: Update.
62837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62838
62839 2012-05-23 David S. Miller <davem@davemloft.net>
62840
62841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62842 (__libc_sigaction): Remove unused local variables.
62843
62844 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62845
62846 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62847
62848 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
62849
62850 mktime: avoid signed integer overflow
62851 * time/mktime.c (__mktime_internal): Do not mishandle the case
62852 where diff == INT_MIN.
62853
62854 mktime: simplify computation of average
62855 * time/mktime.c (ranged_convert): Use new time_t_avg function
62856 instead of rolling our own (probably-slower) code.
62857
62858 mktime: do not assume signed right shift propagates sign bit
62859 * time/mktime.c (isdst_differ): New static function.
62860 (__mktime_internal): No need to normalize tm_isdst now.
62861 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62862 tm_isdst values.
62863
62864 mktime: merge another wrapv change from gnulib
62865 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62866 from some compilers.
62867
62868 mktime: remove incorrect attempt at unusual arithmetics
62869 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62870 The code didn't really work on such machines anyway.
62871 (TYPE_MINIMUM): Assume two's complement.
62872 (twos_complement_arithmetic): Verify that long_int and time_t
62873 are two's complement (or unsigned, in the latter case).
62874
62875 mktime: check signed shifts on long_int and time_t, too
62876 * time/mktime.c (SHR): Check that shifts work as desired
62877 on the types long_int and time_t too, as SHR is used on
62878 such types.
62879
62880 mktime: do not assume 'long' is wide enough
62881 * time/mktime.c (verify): Move decl up.
62882 (long_int): New type.
62883 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62884 to remove assumption in the code that 'long' is wide enough to
62885 store year values. This assumption is not true on x32 and on
62886 some non-glibc platforms.
62887
62888 mktime: merge wrapv change from gnulib
62889 * time/mktime.c (WRAPV): New macro.
62890 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62891 (guess_time_tm, __mktime_internal): Do not assume that signed
62892 integer overflow wraps around; modern compilers generate code
62893 where this assumption is no longer valid.
62894
62895 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62896
62897 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62898 Replace "jmp L(pseudo_end)" with "ret".
62899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62900 Likewise.
62901
62902 2012-05-23 Andreas Jaeger <aj@suse.de>
62903
62904 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62905 * sysdeps/unix/sysv/linux/poll.c: Remove file.
62906
62907 2012-05-23 Andreas Jaeger <aj@suse.de>
62908 Maximilian Attems <max@stro.at>
62909
62910 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62911 New macros.
62912
62913 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62914
62915 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62916 code so that pseudo_end is just ret and the stack pointer is
62917 correct also for static library in error case.
62918
62919 2012-05-23 Joseph Myers <joseph@codesourcery.com>
62920
62921 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62922 move to syscalls.list.
62923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62927
62928 * manual/install.texi (Running make install): Do not mention Linux
62929 kernel version for which pt_chown is not needed.
62930 (Linux): Do not mention problems with nscd with 2.0 kernels.
62931 * INSTALL: Regenerated.
62932
62933 2012-05-23 Andreas Jaeger <aj@suse.de>
62934
62935 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62936 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62937 macro.
62938 * sysdeps/unix/sysv/linux/s390/bits/mman.h
62939 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62940 * sysdeps/unix/sysv/linux/sh/bits/mman.h
62941 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62942 * sysdeps/unix/sysv/linux/i386/bits/mman.h
62943 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62944 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62946 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62948 * sysdeps/unix/sysv/linux/bits/in.h
62949 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62950
62951 2012-05-22 Roland McGrath <roland@hack.frob.com>
62952
62953 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62954 (PREPARE_VERSION): Just use assert instead, it will be elided
62955 under [NDEBUG] anyway.
62956
62957 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62958
62959 * sysdeps/unix/sysv/linux/Makefile: Include
62960 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62961 (sysdep_routines): Remove sysctl.
62962 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62963 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62964 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62965 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62966 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62967
62968 2012-05-22 Andreas Jaeger <aj@suse.de>
62969
62970 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62971 that pseudo_end is just ret and the stack pointer is correct also
62972 for static library in error case.
62973
62974 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
62975
62976 [BZ #14122]
62977 * nss/nsswitch.c (defconfig_entries): New variable.
62978 (__nss_database_lookup): Don't leak defconfig entries.
62979 (nss_parse_service_list): Don't leak on error paths.
62980 (free_database_entries): New function.
62981 (free_defconfig): New function.
62982 (free_mem): Move common code to free_database_entries.
62983
62984 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62985
62986 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62987 Add arch_prctl.
62988 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62989
62990 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62991 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62993 New macro.
62994 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62995 (INTERNAL_SYSCALL_TYPES): Likewise.
62996 (LOAD_ARGS_TYPES_[1-6]): Likewise.
62997 (LOAD_REGS_TYPES_[1-6]): Likewise.
62998 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62999 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63000
63001 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63002
63003 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63004 copysignl for GLIBC_2_0.
63005 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63006 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63008 logbl for GLIBC_2_0.
63009 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63010 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63011
63012 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
63013
63014 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63015 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63016
63017 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63018 Use "neg %eax".
63019
63020 * time/mktime.c: Update copyright years.
63021
63022 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
63023
63024 mktime: merge comment-quoting-style change from gnulib
63025 * time/mktime.c: Quote 'like this' in comments.
63026 The GNU coding standards suggest that we no longer quote `like this',
63027 as "`" and "'" are typically rendered asymmetrically nowadays.
63028 The typical gnulib style is to quote 'like this' when quoting
63029 code, and "like this" when quoting English.
63030
63031 * time/mktime.c (compile-command): Add "-I.".
63032
63033 mktime: merge mktime-internal.h change from gnulib
63034 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63035
63036 mktime: merge time_r change from gnulib
63037 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63038
63039 mktime: merge DEBUG change from gnulib
63040 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63041 case system <time.h> has a #define.
63042
63043 mktime: merge <sys/types.h> change from gnulib
63044 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63045 since <time.t> is now guaranteed to define time_t.
63046
63047 mktime: merge HAVE_CONFIG_H change from gnulib
63048 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63049
63050 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
63051
63052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63053 Use "neg %eax".
63054
63055 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63056 __rlim_t cast.
63057 (struct rusage): Use anonymous union to pad each field to
63058 __syscall_slong_t.
63059
63060 2012-05-21 David S. Miller <davem@davemloft.net>
63061
63062 * Makefules (o-iterator): Remove .s cases.
63063 (compile-command.s): Delete.
63064 (COMPILE.s): Delete.
63065 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63066
63067 2012-05-21 Joseph Myers <joseph@codesourcery.com>
63068
63069 * configure.in (libc_cv_predef_stack_protector): Only consider
63070 "foobar" and "__stack_chk_fail" lines in libc_undefs.
63071 * configure: Regenerated.
63072
63073 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
63074
63075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63076 New macro. Use R*LP on int and pointer.
63077 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63078 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63079 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63080 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63081
63082 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63083 [__WORDSIZE_TIME64_COMPAT32] instead of
63084 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63085 (struct utmp): Likewise.
63086 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63087 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63088 Renamed to ...
63089 (__WORDSIZE_TIME64_COMPAT32): This.
63090 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63091 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63092 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63093 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63094 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63095 (__WORDSIZE_TIME64_COMPAT32): New macro.
63096
63097 2012-05-21 Andreas Jaeger <aj@suse.de>
63098
63099 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63100 only if [SHARED]. Add prototype for __wcschr_ia32.
63101
63102 2012-05-21 Roland McGrath <roland@hack.frob.com>
63103
63104 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63105 of %rbp unmolested in the jmp_buf while mangling the low bits.
63106 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63107 unmolested high bits of %rbp while demangling the low bits.
63108 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63109
63110 2012-05-21 Andreas Jaeger <aj@suse.de>
63111
63112 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63113 * sunrpc/svc_simple.c: Use it for registerrpc.
63114 * sunrpc/xcrypt.c: Use it for passwd2des.
63115
63116 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63117
63118 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
63119
63120 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63121 Don't define if [__SYSCALL_WORDSIZE != 32].
63122 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63123 New macro.
63124
63125 2012-05-21 Bruno Haible <bruno@clisp.org>
63126 Andreas Jaeger <aj@suse.de>
63127
63128 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63129 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63130 inptr and inend for must_buffer_ch.
63131 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63132 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63133 * stdio-common/Makefile (tests): Remove bug15.
63134 (bug15-ENV): Remove macro.
63135 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63136 anymore.
63137
63138 2012-05-19 Andreas Jaeger <aj@suse.de>
63139 Roland McGrath <roland@hack.frob.com>
63140
63141 * manual/contrib.texi: Completely rewritten. It contains now an
63142 alphabetical list of contributors and their contributions.
63143
63144 2012-05-21 Richard Henderson <rth@twiddle.net>
63145
63146 * misc/getauxval.c (__getauxval): Use unsigned long int.
63147 * misc/sys/auxv.h: Include <sys/cdefs.h>.
63148 (getauxval): Use unsigned long int.
63149
63150 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
63151
63152 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63153
63154 2012-05-21 Roland McGrath <roland@hack.frob.com>
63155
63156 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63157 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63158 __alignof__ (long double).
63159
63160 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63161
63162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63163
63164 2012-05-20 Richard Henderson <rth@twiddle.net>
63165
63166 * misc/getauxval.c: New file.
63167 * misc/sys/auxv.h: New file.
63168 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63169 (routines): Add getauxval.
63170 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63171 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63172 * elf/dl-sysdep.c (_dl_auxv): Remove.
63173 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63174 * elf/dl-support.c (_dl_auxv): New variable.
63175 (_dl_aux_init): Initialize it.
63176 * manual/startup.texi (Auxiliary Vector): New node.
63177 * sysdeps/generic/bits/hwcap.h: New file.
63178 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63179 * sysdeps/powerpc/sysdep.h: ... here. Include it.
63180 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63181 * sysdeps/sparc/sysdep.h: ... here. Include it.
63182 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63183 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63185 Update.
63186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63189 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63194
63195 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63196
63197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63198
63199 2012-05-19 David S. Miller <davem@davemloft.net>
63200
63201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63202
63203 2012-05-19 Joseph Myers <joseph@codesourcery.com>
63204
63205 [BZ #14123]
63206 * math/s_ccosh.c: Include <float.h>
63207 (__ccosh): Avoid internal overflow calculating sinh and cosh
63208 values before multiplying by sin and cos values.
63209 * math/s_ccoshf.c: Likewise.
63210 * math/s_ccoshl.c: Likewise.
63211 * math/s_csin.c: Likewise.
63212 * math/s_csinf.c: Likewise.
63213 * math/s_csinl.c: Likewise.
63214 * math/s_csinh.c: Likewise.
63215 * math/s_csinhf.c: Likewise.
63216 * math/s_csinhl.c: Likewise.
63217 * math/libm-test.inc (ccos_test): Add more tests.
63218 (ccosh_test): Likewise.
63219 (csin_test): Likewise.
63220 (csinh_test): Likewise.
63221 * sysdeps/i386/fpu/libm-test-ulps: Update.
63222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63223
63224 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
63225
63226 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63227 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63228
63229 * sysdeps/x86_64/x32/_itoa.h: Add comment.
63230
63231 2012-05-19 Joseph Myers <joseph@codesourcery.com>
63232
63233 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63234 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63235 * sysdeps/powerpc/soft-fp/Versions: Likewise.
63236 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63237 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63238 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63239 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63240 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63241 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63242 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63243 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63244 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63245 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63246 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63247 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63248 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63249 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63250 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63251 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63252 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63253 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63254 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63255 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63256 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63257 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63258 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63259 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63260 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63261 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63262 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63263 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63264
63265 2012-05-18 Andreas Jaeger <aj@suse.de>
63266
63267 * csu/.gitignore: Delete.
63268
63269 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
63270
63271 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63272 (timex): Use __syscall_slong_t.
63273
63274 2012-05-18 Andreas Jaeger <aj@suse.de>
63275 Carlos O'Donell <carlos_odonell@mentor.com>
63276
63277 * manual/install.texi (Configuring and compiling): Update
63278 description about files modified in the source directory.
63279 * INSTALL: Regenerated.
63280
63281 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
63282
63283 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63284 value. Use "or" to set return value to -1.
63285 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63286 negate return value.
63287
63288 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63289
63290 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63291 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63292 failure if the compiler has Graphite support disabled.
63293 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63294 Likewise.
63295 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63296 (CFLAGS-memmove.c): Likewise.
63297 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63298 Likewise.
63299
63300 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
63301
63302 * sysdeps/x86_64/x32/_itoa.h: New file.
63303
63304 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63305 getdents system call only if kernel and user dirents have the
63306 same d_ino and d_off.
63307
63308 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63309 LLONG_MAX != LONG_MAX.
63310 (_itoa_word): Use _ITOA_WORD_TYPE on value.
63311 (_fitoa_word): Likewise.
63312
63313 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63314 years.
63315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63316 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63317 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63318
63319 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63320 include <bits/wordsize.h>. Check __x86_64__ instead of
63321 __WORDSIZE.
63322 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63323 if __x86_64__ is defined. Use anonymous union on fpstate.
63324
63325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63326 anonymous union.
63327
63328 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
63329
63330 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63331 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63332 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63333 Refer to _rtld_local_ro instead of _rtld_global_ro.
63334 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63335 Likewise.
63336 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63337 Likewise.
63338 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63339 Likewise.
63340 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63341 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63342 of _rtld_global, and rtld_progname instead of _dl_argv[0].
63343
63344 [BZ #10882]
63345 * sysdeps/powerpc/powerpc32/dl-machine.c
63346 (__elf_machine_runtime_setup) [PROF]: Don't reference
63347 _dl_prof_resolve.
63348
63349 2012-05-18 Andreas Jaeger <aj@suse.de>
63350
63351 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63352 function only available for GCCs before 3.4 since GCC 3.4
63353 introduced a builtin.
63354 (lrint): Likewise.
63355 (llrintf): Likewise.
63356 (llrint): Likewise.
63357 (fmaxf): Likewise.
63358 (fmax): Likewise.
63359 (fminf): Likewise.
63360 (fmin): Likewise.
63361 (rint): Likewise.
63362 (rintf): Likewise.
63363 (nearbyint): Likewise.
63364 (nearbyintf): Likewise.
63365 (ceil): Likewise.
63366 (ceilf): Likewise.
63367 (floor): Likewise.
63368 (floorf): Likewise.
63369
63370 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63371
63372 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63373 on both fields and cast pointer to __syscall_ulong_t.
63374
63375 * bits/types.h (__fsword_t): New type.
63376 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63377 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63378 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63379 (__FSWORD_T_TYPE): Likewise.
63380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63381 (__FSWORD_T_TYPE): Likewise.
63382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63383 (__FSWORD_T_TYPE): Likewise.
63384 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63385 (__FSWORD_T_TYPE): Likewise.
63386 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63387 __SWORD_TYPE with __fsword_t.
63388 (statfs64): Likewise.
63389
63390 2012-05-17 David S. Miller <davem@davemloft.net>
63391
63392 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63393
63394 2012-05-17 Andreas Jaeger <aj@suse.de>
63395
63396 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63397 warning.
63398
63399 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63400
63401 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63402
63403 2012-05-17 Andreas Jaeger <aj@suse.de>
63404
63405 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63406 when it is used.
63407
63408 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
63409
63410 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63411
63412 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63413
63414 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63415 * sysdeps/x86_64/tst-mallocalign1.c: New file.
63416
63417 2012-05-17 Andreas Jaeger <aj@suse.de>
63418 Carlos O'Donell <carlos_odonell@mentor.com>
63419
63420 [BZ #14059]
63421 * sysdeps/x86_64/multiarch/init-arch.h
63422 (bit_YMM_Usable): Rename to...
63423 (bit_AVX_Usable): ... this.
63424 (bit_FMA4_Usable): New macro.
63425 (bit_XMM_state): New macro.
63426 (bit_YMM_state): New macro.
63427 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63428 [__ASSEMBLER__] (index_AVX_Usable): ... this.
63429 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63430 (CPUID_OSXSAVE): New macro.
63431 (CPUID_AVX): New macro.
63432 (CPUID_FMA4): New macro.
63433 (index_YMM_Usable): Rename to...
63434 (index_AVX_Usable): ... this.
63435 (HAS_AVX): Use HAS_ARCH_FEATURE.
63436 (HAS_FMA4): Likewise.
63437 (HAS_YMM_USABLE): Remove.
63438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63439 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63440 are present.
63441 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63442 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63443 * sysdeps/x86_64/multiarch/Makefile: Likewise.
63444 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63445 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63446
63447 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
63448
63449 * math/libm-test.c: Support platforms without multiple rounding modes.
63450 * math/bug-nextafter.c: Support platforms without FP exceptions.
63451 * math/bug-nexttoward.c: Likewise.
63452 * math/test-fenv.c: Likewise.
63453 * math/test-misc.c: Likewise.
63454 * stdlib/bug-getcontext.c: Likewise.
63455
63456 2012-05-17 Andreas Jaeger <aj@suse.de>
63457
63458 * manual/examples/search.c (critter_cmp): Change signature to
63459 avoid warnings.
63460 * manual/string.texi (Collation Functions): Likewise.
63461
63462 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63463
63464 * bits/types.h: Fold copyright years.
63465 * bits/typesizes.h: Likewise.
63466 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63470 * time/time.h: Likewise.
63471
63472 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
63473
63474 [BZ #208]
63475 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63476 in instead of returning them. Return void.
63477 (__libc_mallinfo): Accumulate over all arenas.
63478 (__malloc_stats): Adjust for change in int_mallinfo interface.
63479
63480 2012-05-16 Roland McGrath <roland@hack.frob.com>
63481
63482 [BZ #10375]
63483 * configure.in (NM): Add AC_CHECK_TOOL for it.
63484 (libc_extra_cflags): New substituted variable.
63485 Check for -fstack-protector being used implicitly.
63486 * configure: Regenerated.
63487 * config.make.in (config-extra-cflags): New variable,
63488 gets @libc_extra_cflags@.
63489 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63490
63491 [BZ #10375]
63492 * configure.in: Check for _FORTIFY_SOURCE being predefined.
63493 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63494 * configure: Regenerated.
63495 * config.make.in (CPPUNDEFS): New substituted variable.
63496 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63497 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63498 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63499
63500 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63501
63502 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63503 (mq_attr): Use __syscall_slong_t.
63504
63505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63506
63507 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63508 Check __x86_64__ instead of __WORDSIZE.
63509 (_STAT_VER_LINUX): Likewise.
63510 (stat): Check __x86_64__ instead of __WORDSIZE. Use
63511 __syscall_ulong_t and __syscall_slong_t.
63512 (stat64): Likewise.
63513
63514 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63515
63516 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63517
63518 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63519
63520 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63521
63522 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63523
63524 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63525 __syscall_ulong_t.
63526
63527 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63528 include <bits/wordsize.h>. Check __x86_64__ instead of
63529 __WORDSIZE.
63530 (greg_t): Use "__extension__ long long int" if __x86_64__ is
63531 defined.
63532 (mcontext_t): Replace "unsigned long" with "unsigned long long".
63533
63534 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63535 include <bits/wordsize.h>. Check __x86_64__ instead of
63536 __WORDSIZE.
63537 (user_regs_struct): Use "__extension__ unsigned long long"
63538 instead of "unsigned long" if __x86_64__ is defined.
63539 (user): Likewise. Pad after pointer field if __ILP32__ is
63540 defined.
63541
63542 2012-05-16 Joseph Myers <joseph@codesourcery.com>
63543
63544 * configure.in (makeinfo): Require version 4.5 or later. Allow
63545 versions 5 to 9.
63546 * configure: Regenerated.
63547 * manual/install.texi (texinfo): Increase version requirement to
63548 4.5 or later.
63549 * INSTALL: Regenerated.
63550
63551 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63552
63553 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63554
63555 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63556
63557 * sysdeps/x86_64/x32/ffs.c: New file.
63558
63559 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63560 __syscall_ulong_t.
63561 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63562 defined. Use __syscall_ulong_t.
63563 (shminfo): Use __syscall_ulong_t.
63564 (shm_info): Likewise.
63565
63566 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63567 __syscall_ulong_t.
63568
63569 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63570 <bits/wordsize.h>.
63571 (msgqnum_t): Use __syscall_ulong_t.
63572 (msglen_t): Likewise.
63573 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
63574 __syscall_ulong_t.
63575
63576 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63577 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63578
63579 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63580
63581 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63582 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63583
63584 * sysvipc/sys/msg.h (msgbuf): Replace long int with
63585 __syscall_slong_t.
63586
63587 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63588 include <bits/wordsize.h>. Check __x86_64__ instead of
63589 __WORDSIZE.
63590
63591 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63592 "unsigned long long int" if __x86_64__ is defined.
63593 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63594
63595 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63596 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63597 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63598
63599 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63600 <stdint.h>.
63601 (GET_PC): Cast to uintptr_t first.
63602 (GET_FRAME): Likewise.
63603 (GET_STACK): Likewise.
63604
63605 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63606 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63607 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63608 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63609 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63610 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63611 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63612 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63613 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63614 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63615 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63616 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63617 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63618 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63619 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63620 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63621 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63622 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63623 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63624 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63625 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63626 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63627 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63628 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63629 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63630 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63631 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63632 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63633 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63634
63635 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
63636
63637 * Makerules (+depfiles): Also collect depfiles from .oS in
63638 $(extra-objs).
63639 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63640 .oS, $(libnldbl-routines)).
63641
63642 * Makerules (native-compile-mkdep-flags): Define.
63643 * sunrpc/Makefile (extra-objs): Add $(addprefix
63644 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63645 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63646 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
63647 calling $(make-target-directory).
63648
63649 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63650
63651 * bits/types.h (__snseconds_t): Removed.
63652 * time/time.h (struct timespec): Replace __snseconds_t with
63653 __syscall_slong_t.
63654 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63655 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63656 Likewise.
63657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63658 (__SNSECONDS_T_TYPE): Likewise.
63659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63660 (__SNSECONDS_T_TYPE): Likewise.
63661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63662 (__SNSECONDS_T_TYPE): Likewise.
63663
63664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63665
63666 * sysdeps/mach/hurd/bits/typesizes.h
63667 (__SYSCALL_SLONG_TYPE): New macro.
63668 (__SYSCALL_ULONG_TYPE): Likewise.
63669
63670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63671
63672 * bits/types.h (__syscall_slong_t): New type.
63673 (__syscall_ulong_t): Likewise.
63674
63675 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63676 (__SYSCALL_ULONG_TYPE): Likewise.
63677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63678 (__SYSCALL_SLONG_TYPE): Likewise.
63679 (__SYSCALL_ULONG_TYPE): Likewise.
63680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63681 (__SYSCALL_SLONG_TYPE): Likewise.
63682 (__SYSCALL_ULONG_TYPE): Likewise.
63683 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63684 (__SYSCALL_SLONG_TYPE): Likewise.
63685 (__SYSCALL_ULONG_TYPE): Likewise.
63686
63687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63688
63689 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63690 Add sigaltstack-offsets.sym.
63691 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63692 <sigaltstack-offsets.h>.
63693 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
63694 longjmp_msg pointer.
63695 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
63696 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63697 signal stack.
63698 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63699
63700 2012-05-15 Joseph Myers <joseph@codesourcery.com>
63701
63702 * elf/stackguard-macros.h: Remove file.
63703 * sysdeps/generic/stackguard-macros.h: New file.
63704 * sysdeps/i386/stackguard-macros.h: Likewise.
63705 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63706 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63707 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63708 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63709 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63710 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63711 * sysdeps/x86_64/stackguard-macros.h: Likewise.
63712 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63713 <elf/stackguard-macros.h>.
63714
63715 [BZ #14109]
63716 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63717 __aligned__ in attribute.
63718 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63719 (gregset_t): Likewise.
63720
63721 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63722
63723 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63724 * sysdeps/x86_64/64/Implies-after: Here. New file.
63725 * sysdeps/x86_64/x32/Implies-after: New file.
63726
63727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63728
63729 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63730 and access return value for _dl_profile_fixup. Use R10_LP to
63731 load frame size.
63732
63733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63734
63735 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63736
63737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63738
63739 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63740 * sysdeps/x86_64/x32/sysdep.h: New file.
63741
63742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63743
63744 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63745 * sysdeps/x86_64/setjmp.S: Likewise.
63746
63747 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63748
63749 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63751 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63752 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63753 remove unused global constant.
63754
63755 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
63756
63757 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63758 include of <not-cancel.h>.
63759
63760 2012-05-15 Roland McGrath <roland@hack.frob.com>
63761
63762 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63763
63764 2012-05-15 Jeff Law <law@redhat.com>
63765 Andreas Jaeger <aj@suse.de>
63766
63767 [BZ #13594]
63768 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63769 out from...
63770 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63771 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63772 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63773 code changing __hst_map_handle.map.
63774
63775 2012-05-15 Roland McGrath <roland@hack.frob.com>
63776
63777 * configure.in (sysnames): Look for Implies-before and Implies-after
63778 files.
63779 * configure: Regenerated.
63780
63781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63782
63783 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63784 8-byte data alignment with LP_SIZE alignment.
63785
63786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63787
63788 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63789 into R10_LP.
63790
63791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63792
63793 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63794
63795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63796
63797 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63798 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63799 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63800 Likewise.
63801 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63802
63803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63804
63805 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63806 (stackinfo_sub_sp): Likewise.
63807
63808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63809
63810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63811 RAX_LP.
63812
63813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63814
63815 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63816 into R*_LP.
63817
63818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63819
63820 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63821 sizes into R*_LP.
63822
63823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63824
63825 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63826
63827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63828
63829 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63830 into R11_LP and load __x86_64_shared_cache_size_half into
63831 R8_LP.
63832
63833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63834
63835 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63836 R8_LP.
63837
63838 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63839
63840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63841 logb for POWER7.
63842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63843 logbf for POWER7.
63844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63845 logbl for POWER7.
63846 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63847 powerpc32/power7/fpu/s_logb.c via #include.
63848 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63849 powerpc32/power7/fpu/s_logbf.c via #include.
63850 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63851 powerpc32/power7/fpu/s_logbl.c via #include.
63852
63853 2012-05-15 Joseph Myers <joseph@codesourcery.com>
63854
63855 * README.libm: Remove file.
63856
63857 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63858
63859 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63860 count for x32. Use R*_LP and omit operand-size suffix.
63861
63862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63863
63864 * shlib-versions: Move x86_64-.*-linux.* entries to ...
63865 * sysdeps/x86_64/64/shlib-versions: Here. New file.
63866 * sysdeps/x86_64/x32/shlib-versions: New file.
63867
63868 2012-05-14 Roland McGrath <roland@hack.frob.com>
63869
63870 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63871 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63872 Use _dl_fatal_printf instead.
63873
63874 2012-05-14 Joseph Myers <joseph@codesourcery.com>
63875
63876 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63877 set if not set by the user. Do not allow for being unset.
63878 * sysdeps/unix/sysv/linux/configure: Regenerated.
63879
63880 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63881
63882 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63883 the `q' suffix from lea and replace .quad with ASM_ADDR.
63884
63885 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63886
63887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63888 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
63889 instead of $17.
63890 (PTR_DEMANGLE): Likewise.
63891
63892 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63893
63894 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63895 (LP_OP): Likewise.
63896 (ASM_ADDR): Likewise.
63897 (RAX_LP): Likewise.
63898 (RBP_LP): Likewise.
63899 (RBX_LP): Likewise.
63900 (RCX_LP): Likewise.
63901 (RDI_LP): Likewise.
63902 (RSI_LP): Likewise.
63903 (RSP_LP): Likewise.
63904 (R8_LP): Likewise.
63905 (R9_LP): Likewise.
63906 (R10_LP): Likewise.
63907 (R10_LP): Likewise.
63908 (R11_LP): Likewise.
63909 (R12_LP): Likewise.
63910 (R13_LP): Likewise.
63911 (R14_LP): Likewise.
63912 (R15_LP): Likewise.
63913
63914 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63915
63916 * sysdeps/x86_64/x32/dl-machine.h: New file.
63917
63918 2012-05-14 Andreas Jaeger <aj@suse.de>
63919
63920 * manual/Makefile (subdir): Remove export of subdir.
63921 (all): Remove target.
63922 (.PHONY): Remove all from list.
63923 (mkinstalldirs): Remove.
63924 (.PHONY): Remove installdirs from list.
63925 ($(inst_infodir)/libc.info): Use make-target-directory.
63926 (installdirs): Remove.
63927 (subdir_%): Remove.
63928 (glibc-targets): Remove.
63929 (lib): Remove.
63930 (stubs): Remove.
63931 ($(objpfx)stubs ../po/manual.pot): Remove.
63932 ($(objpfx)stamp%): Remove.
63933 (make-target-directory): Remove.
63934 (subdir_install): Remove.
63935 (routines): Remove.
63936 (aux): Remove.
63937 (sources): Remove.
63938 (objects): Remove.
63939 (headers): Remove.
63940
63941 [BZ #13750]
63942 * manual/.gitignore: Remove, it's not needed anymore.
63943 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63944 all files in it.
63945 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63946 directory.
63947 (texis): Renamed to $(objpfx)texis.
63948 (texis-path): New, contains path to generated files.
63949 (chapters.%): Use texis-path for complete path, add extra argument
63950 libc-texinfo.sh.
63951 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63952 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63953 (summary,texi, stamp-summary): Use complete path of
63954 files. Generate files in build dir.
63955 (dir-add.texi): Build in build dir.
63956 (libm-err.texi,stamp-libm-err): Likewise.
63957 (version.texi, stamp-version): Likewise.
63958 (.%c.texi): Likewise.
63959 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63960 (mostlyclean): Remove target.
63961 (realclean): Remove target.
63962 (generated): Add new variable with contents from mostlyclean and
63963 realclean, remove entries duplicated in common-mostlyclean, add
63964 stamp-libm-err and stamp-version.
63965 (generated-dirs): Add libc directory.
63966 ($(inst_infodir)/libc.info): Install files from build dir.
63967
63968 * manual/install.texi (Configuring and compiling): Adjust since
63969 the info files are not part of the tar ball anymore.
63970
63971 2012-05-14 Andreas Jaeger <aj@suse.de>
63972
63973 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63974 variable.
63975
63976 2012-05-14 Joseph Myers <joseph@codesourcery.com>
63977
63978 [BZ #13717]
63979 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63980 to 2.2.0 where earlier.
63981 * sysdeps/unix/sysv/linux/configure: Regenerated.
63982 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63983 Remove conditional code.
63984 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63985 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63986 Remove conditional code.
63987 [!__NR_lchown]: Likewise.
63988 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63989 [__NR_lchown]: Likewise.
63990 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63991 comment referencing __ASSUME_LCHOWN_SYSCALL.
63992 * sysdeps/unix/sysv/linux/i386/sigaction.c
63993 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63994 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63995 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63996 Remove conditional code.
63997 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63998 (__protocol_available): Remove #if 0 code.
63999 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64000 conditional code.
64001 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64002 * sysdeps/unix/sysv/linux/kernel-features.h
64003 (__ASSUME_GETCWD_SYSCALL): Don't define.
64004 (__ASSUME_REALTIME_SIGNALS): Likewise.
64005 (__ASSUME_PREAD_SYSCALL): Likewise.
64006 (__ASSUME_PWRITE_SYSCALL): Likewise.
64007 (__ASSUME_POLL_SYSCALL): Likewise.
64008 (__ASSUME_LCHOWN_SYSCALL): Likewise.
64009 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64010 non-SPARC.
64011 (__ASSUME_SIOCGIFNAME): Don't define.
64012 (__ASSUME_MSG_NOSIGNAL): Likewise.
64013 (__ASSUME_SENDFILE): Define unconditionally.
64014 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64015 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64016 conditional code.
64017 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64018 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64019 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64020 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64021 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64022 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64023 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64025 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64028 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64037 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64040 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64043 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64046 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64048 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64049 Remove conditional code.
64050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64051 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64052 Remove conditional code.
64053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64054 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64055 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64056 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64057 Remove conditional code.
64058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64059 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64060 Remove conditional code.
64061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64062 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64063 Remove conditional code.
64064 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64065 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64066 Remove conditional code.
64067 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64068 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64069 Remove conditional code.
64070 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64071 * sysdeps/unix/sysv/linux/sh/pwrite64.c
64072 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64073 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64074 * sysdeps/unix/sysv/linux/sigaction.c
64075 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64076 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64077 * sysdeps/unix/sysv/linux/sigpending.c
64078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64080 * sysdeps/unix/sysv/linux/sigprocmask.c
64081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64083 * sysdeps/unix/sysv/linux/sigsuspend.c
64084 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64085 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64086 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64087 (__libc_missing_rt_sigs): Remove.
64088 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64089 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64090 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64091 Remove conditional code.
64092 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64093 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64094 return 1.
64095 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64096 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64097 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64098 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64099
64100 2012-05-14 Andreas Jaeger <aj@suse.de>
64101
64102 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64103 it's not used in glibc.
64104 (__coshm1): Likewise.
64105 (__acosh1p): Likewise.
64106 (__sgn): Likewise.
64107
64108 * manual/string.texi (Copying and Concatenation): Add missing
64109 variable in concat example.
64110 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64111
64112 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64113
64114 [BZ #14103]
64115 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64116 __builtin_clzl with __builtin_clzll.
64117
64118 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64119
64120 [BZ #14104]
64121 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64122 libc_freeres_ptr.
64123
64124 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64125
64126 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64127 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64128 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64129 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64130
64131 2012-05-14 Mike Frysinger <vapier@gentoo.org>
64132
64133 * NEWS: Update ia64 info.
64134
64135 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
64136
64137 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64138 used as bcopy.
64139
64140 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
64141
64142 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64143 * sysdeps/unix/syscalls.list (dup3): Likewise.
64144 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64145 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64146
64147 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
64148
64149 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64150 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64151
64152 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
64153
64154 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64155 thread pointer.
64156 (TLS_IE): Use mov/add instead of movq/addq to load thread
64157 pointer.
64158 (TLS_GD_PREFIX): New.
64159 (TLS_GD): Use it.
64160
64161 2012-05-11 David S. Miller <davem@davemloft.net>
64162
64163 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64164 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64165 (_FPU_SETCW): Likewise.
64166
64167 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64168
64169 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64170 is 32-byte aligned.
64171
64172 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
64173
64174 [BZ #11837]
64175 * iconvdata/gb18030.c: Update tables.
64176 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
64177 characters specially.
64178 (BODY for TO_LOOP): Add encoding of missing ranges.
64179
64180 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
64181
64182 [BZ #13673]
64183 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64184 * sysdeps/mach/hurd/dup3.c: Likewise.
64185 * sysdeps/mach/hurd/readlinkat.c: Likewise.
64186 * sysdeps/powerpc/memmove.c:: Likewise.
64187
64188 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64189
64190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64191 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64192
64193 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64194
64195 * elf/elf.h (R_X86_64_RELATIVE64): New.
64196 (R_X86_64_NUM): Updated.
64197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64198 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
64199 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64200 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64201 tst-quad1pie tst-quad2pie
64202 (modules-names): Add tst-quadmod1 tst-quadmod2.
64203 ($(objpfx)tst-quad1): New dependency.
64204 ($(objpfx)tst-quad2): Likewise.
64205 ($(objpfx)tst-quad1pie): Likewise.
64206 ($(objpfx)tst-quad2pie): Likewise.
64207 * sysdeps/x86_64/tst-quad1.c: New file.
64208 * sysdeps/x86_64/tst-quad1pie.c: New file.
64209 * sysdeps/x86_64/tst-quad2.c: Likewise.
64210 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64211 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64212 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64213 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64214 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64215
64216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64217
64218 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64219 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64220 * streams/stropts.h (t_scalar_t): Define type.
64221
64222 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64223 (_PATH_PRESERVE): Set to "/var/lib".
64224 (_PATH_RWHODIR): Set to "/var/spool/rwho".
64225
64226 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64227 instead of int.
64228
64229 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64230 if __dir_mkfile succeeded.
64231
64232 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64233 checking for _hurd_dtablesize. Unlock it right after having
64234 finished _hurd_dtable allocation.
64235
64236 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64237
64238 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64239 * sysdeps/mach/hurd/configure: Regenerated.
64240 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64241 special-casing to...
64242 * sysdeps/gnu/configure.in: ... this new file.
64243 * sysdeps/unix/sysv/linux/configure: Regenerated.
64244 * sysdeps/gnu/configure: New generated file.
64245
64246 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64247 for Linux: use nsec instead of usec, as well as:
64248 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64249 members of type struct timespec.
64250 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64251 New macros.
64252 (struct stat64): Likewise.
64253 (_STATBUF_ST_NSEC): New macro.
64254 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64255
64256 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64257 __strtoul_internal rather than strtoul.
64258
64259 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64260
64261 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64262 and reject them.
64263
64264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64265
64266 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64267 which preserves existing values.
64268 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64269
64270 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64271
64272 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64273 TIMEOUT values. Return EINVAL for NFDS values either negative or
64274 greater than FD_SETSIZE.
64275
64276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64277
64278 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64279 allocated, call __vm_protect to finish enabling the existing space, and
64280 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64281 allocate the remainder.
64282
64283 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64284
64285 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64286 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
64287
64288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64289
64290 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64291 sysdeps/mach/hurd/readlink.c.
64292
64293 * posix/tst-sysconf.c (posix_options): Only use
64294 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64295 _POSIX_SYNCHRONIZED_IO when they are defined
64296 * sysdeps/mach/hurd/bits/posix_opt.h:
64297 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64298 (_XOPEN_REALTIME): Undefine macro.
64299 (_XOPEN_REALTIME_THREADS): Undefine macro.
64300 (_XOPEN_SHM): Undefine macro.
64301 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64302 macro to -1.
64303 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64304 macro to -1.
64305 (_POSIX_ASYNC_IO): Undefine macro.
64306 (_POSIX_PRIORITIZED_IO): Undefine macro.
64307 (_POSIX_SPIN_LOCKS): Define macro to -1.
64308
64309 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64310 SA_NODEFER, SA_RESETHAND.
64311 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64312 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64313 F_DUPFD_CLOEXEC.
64314
64315 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64316
64317 * elf/Makefile (pldd-modules): Define unconditionally.
64318
64319 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64320
64321 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64322
64323 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64324
64325 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64326 Return ENOENT when name is empty.
64327 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64328
64329 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64330
64331 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64332
64333 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64334
64335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64336
64337 Fix mlock in all cases except non-readable pages.
64338 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64339 instead of VM_PROT_ALL as parameter to __vm_wire function.
64340
64341 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64342 (__mkdir): When path is `/', just fail with EEXIST.
64343 * sysdeps/mach/hurd/mkdirat.c: Likewise.
64344
64345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64346
64347 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64348 <sys/uio.h> (for writev).
64349 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64350 and <sys/param.h> (for MIN).
64351
64352 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64353
64354 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64355 REQUESTED_TIME. Properly set the remaining time and return EINTR
64356 if interrupted.
64357
64358 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64359
64360 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64361 Depend on against $(link-rpcuserlibs).
64362
64363 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64364
64365 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64366 (__libc_stack_end): Do not use attribute_relro.
64367 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64368 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64369 to libthread-provided value.
64370 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64371 attribute_relro.
64372
64373 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64374
64375 [BZ #3748]
64376 * bits/libc-lock.h (__libc_once_get): New macro.
64377 * sysdeps/mach/bits/libc-lock.h: Likewise.
64378 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64379 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64380 instead of using implementation details.
64381
64382 * libio/fileops.c: Unconditionally include <kernel-features.h>.
64383 * libio/freopen.c: Likewise.
64384 * libio/freopen64.c: Likewise.
64385 * misc/syslog.c: Likewise.
64386 * nscd/connections.c: Likewise.
64387 * nscd/netgroupcache.c: Likewise.
64388 * sysdeps/posix/getcwd.c: Likewise.
64389
64390 2012-05-10 Roland McGrath <roland@hack.frob.com>
64391
64392 * math/w_ilogbf.c: Add #include <limits.h>.
64393
64394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64395
64396 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64397 path instead of returning without unlocking.
64398
64399 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64400 immediate-write ioctls.
64401 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64402
64403 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64404
64405 * sysdeps/mach/hurd/i386/init-first.c (init): Use
64406 __builtin_frame_address instead of making assumptions about the
64407 location of the return address relative to DATA. Force early load of
64408 the return address.
64409 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64410 __builtin_frame_address.
64411
64412 dup3 for GNU Hurd.
64413 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64414 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
64415 implement dup3 and do some further code clean-ups.
64416 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64417 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64418
64419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64420
64421 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64422
64423 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64424 HURD_CRITICAL_END around holding _hurd_dtable_lock.
64425 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64426 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64427 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64428 d->port.lock.
64429
64430 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64431 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
64432 when handler == SIG_ERR, not when handler != SIG_ERR.
64433
64434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64435
64436 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64437 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64438 definitions.
64439
64440 accept4 for GNU Hurd.
64441 * include/sys/socket.h (__libc_accept4): New prototype.
64442 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
64443 to implement __libc_accept4.
64444 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64445 __libc_accept4.
64446 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64447
64448 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64449 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64450 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64451 signal-defines.sym.
64452
64453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64454
64455 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64456
64457 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64458
64459 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64460 assertion on O_CLOEXEC flag.
64461 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64462 * hurd/intern-fd.c: Likewise.
64463 * hurd/port2fd.c: Likewise.
64464
64465 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64466
64467 [BZ #3906]
64468 * bits/in.h (IPV6_PKTINFO): Define new macro.
64469 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64470
64471 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64472
64473 [BZ #13954]
64474 [BZ #13955]
64475 [BZ #13956]
64476 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64478 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64479 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64480 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64481 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64482 * math/libm-test.inc (logb_test) : Additional logb tests.
64483
64484 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
64485 Andreas Jaeger <aj@suse.de>
64486
64487 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64488 * configure: Regenerated.
64489 * config.h.in (LINK_OBSOLETE_RPC): New macro.
64490 * config.make.in (link-obsolete-rpc): New substituted variable.
64491 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64492 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64493 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64494 (shared-only-routines): Don't set it under [link-obsolete-rpc],
64495 so that libc.a contains the symbols.
64496 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64497 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64498 * sunrpc/auth_none.c: Likewise.
64499 * sunrpc/auth_unix.c: Likewise.
64500 * sunrpc/authdes_prot.c: Likewise.
64501 * sunrpc/authuxprot.c: Likewise.
64502 * sunrpc/clnt_gen.c: Likewise.
64503 * sunrpc/clnt_perr.c: Likewise.
64504 * sunrpc/clnt_raw.c: Likewise.
64505 * sunrpc/clnt_simp.c: Likewise.
64506 * sunrpc/clnt_tcp.c: Likewise.
64507 * sunrpc/clnt_udp.c: Likewise.
64508 * sunrpc/clnt_unix.c: Likewise.
64509 * sunrpc/des_crypt.c: Likewise.
64510 * sunrpc/des_soft.c: Likewise.
64511 * sunrpc/get_myaddr.c: Likewise.
64512 * sunrpc/key_call.c: Likewise.
64513 * sunrpc/key_prot.c: Likewise.
64514 * sunrpc/netname.c: Likewise.
64515 * sunrpc/pm_getmaps.c: Likewise.
64516 * sunrpc/pm_getport.c: Likewise.
64517 * sunrpc/pmap_clnt.c: Likewise.
64518 * sunrpc/pmap_prot.c: Likewise.
64519 * sunrpc/pmap_prot2.c: Likewise.
64520 * sunrpc/pmap_rmt.c: Likewise.
64521 * sunrpc/publickey.c: Likewise.
64522 * sunrpc/rpc_cmsg.c: Likewise.
64523 * sunrpc/rpc_common.c: Likewise.
64524 * sunrpc/rpc_dtable.c: Likewise.
64525 * sunrpc/rpc_prot.c: Likewise.
64526 * sunrpc/rpc_thread.c: Likewise.
64527 * sunrpc/rtime.c: Likewise.
64528 * sunrpc/svc.c: Likewise.
64529 * sunrpc/svc_auth.c: Likewise.
64530 * sunrpc/svc_raw.c: Likewise.
64531 * sunrpc/svc_run.c: Likewise.
64532 * sunrpc/svc_tcp.c: Likewise.
64533 * sunrpc/svc_udp.c: Likewise.
64534 * sunrpc/svc_unix.c: Likewise.
64535 * sunrpc/svcauth_des.c: Likewise.
64536 * sunrpc/xcrypt.c: Likewise.
64537 * sunrpc/xdr.c: Likewise.
64538 * sunrpc/xdr_array.c: Likewise.
64539 * sunrpc/xdr_float.c: Likewise.
64540 * sunrpc/xdr_intXX_t.c: Likewise.
64541 * sunrpc/xdr_mem.c: Likewise.
64542 * sunrpc/xdr_rec.c: Likewise.
64543 * sunrpc/xdr_ref.c: Likewise.
64544 * sunrpc/xdr_sizeof.c: Likewise.
64545 * sunrpc/xdr_stdio.c: Likewise.
64546
64547 2012-05-10 Roland McGrath <roland@hack.frob.com>
64548
64549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64550 change. Update copyright years.
64551
64552 2012-05-10 Joseph Myers <joseph@codesourcery.com>
64553
64554 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64555
64556 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
64557 Joseph Myers <joseph@codesourcery.com>
64558 Paul Pluzhnikov <ppluzhnikov@google.com>
64559
64560 [BZ #14012]
64561 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64562 requiring rpcgen.
64563 [cross-compiling] (extra-libs): Likewise.
64564 [cross-compiling] (extra-libs-others): Likewise.
64565 [cross-compiling] (librpcsvc-routines): Likewise.
64566 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64567 [cross-compiling] (omit-deps): Likewise.
64568 (sunrpc-CPPFLAGS): New variable.
64569 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64570 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64571 (cross-rpcgen-objs): New variable.
64572 (extra-objs): Append $(cross-rpcgen-objs).
64573 ($(cross-rpcgen-objs)): New rule.
64574 ($(objpfx)cross-rpcgen): Likewise.
64575 (rpcgen-cmd): Define to use $(built-program-file). Expand
64576 comment.
64577 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64578 ($(objpfx)x%.stmp): Likewise.
64579 * sunrpc/proto.h [IS_IN_build] (_): Define.
64580 [IS_IN_build] (_libc_intl_domainname): Likewise.
64581
64582 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64583
64584 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64585 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64586 and R_X86_64_TPOFF64.
64587
64588 2012-05-10 Joseph Myers <joseph@codesourcery.com>
64589
64590 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64591 sysdeps/unix/sysv/syscalls.list.
64592 (stime): Likewise.
64593 (utime): Likewise.
64594 * sysdeps/unix/sysv/syscalls.list: Remove file.
64595
64596 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
64597
64598 [BZ #3440]
64599 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64600 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64601 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64602 (__LC_IDENTIFICATION): Make these macros useful in #if
64603 expressions, as required by C99.
64604
64605 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
64606
64607 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64608 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
64609 after this.
64610
64611 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
64612
64613 * stdlib/longlong.h: Updated from GCC.
64614
64615 2012-05-09 Andreas Jaeger <aj@suse.de>
64616
64617 * nscd/nscd.c (run_modes): Make named enum, reorder so that
64618 default is first entry.
64619 (run_mode): Set type.
64620 (main): Remove informal message about syslog.
64621 (options): Fix typo.
64622
64623 [BZ #14053]
64624 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64625 to asm.
64626 (lrint): Likewise.
64627 (llrintf): Likewise.
64628 (llrint): Likewise.
64629 (rint): Likewise.
64630 (rintf): Likewise.
64631 (nearbyint): Likewise.
64632 (nearbyintf): Likewise.
64633
64634 2012-05-09 Andreas Jaeger <aj@suse.de>
64635 Pedro Alves <palves@redhat.com>
64636
64637 * nscd/nscd.c (run_mode): Use enum.
64638 (main): Cleanup coding style issue.
64639
64640 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
64641 Andreas Jaeger <aj@suse.de>
64642
64643 * nscd/nscd.c (go_background): Replaced with...
64644 (run_mode): ... this.
64645 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64646 (options): Add -F --foreground.
64647 (main): Implement it.
64648 (parse_opt): Parse it.
64649
64650 2012-05-09 Andreas Jaeger <aj@suse.de>
64651
64652 [BZ #14083]
64653 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64654 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64655 -Wconversion warning.
64656 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64657 Likewise.
64658
64659 2012-05-09 Joseph Myers <joseph@codesourcery.com>
64660
64661 * conform/data/locale.h-data (NULL): Use macro-constant. Require
64662 == 0.
64663 (LC_ALL): Use macro-int-constant.
64664 (LC_COLLATE): Likewise.
64665 (LC_CTYPE): Likewise.
64666 (LC_MESSAGES): Likewise.
64667 (LC_MONETARY): Likewise.
64668 (LC_NUMERIC): Likewise.
64669 (LC_TIME): Likewise.
64670 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64671 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64672 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64673 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64674 Specify type.
64675 [C99-based standards] (float_t): Expect type.
64676 [C99-based standards] (double_t): Expect type.
64677 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
64678 type.
64679 [C99-based standards] (HUGE_VALL): Likewise.
64680 [C99-based standards] (INFINITY): Likewise.
64681 [C99-based standards] (NAN): Likewise.
64682 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64683 [C99-based standards] (FP_NAN): Likewise.
64684 [C99-based standards] (FP_NORMAL): Likewise.
64685 [C99-based standards] (FP_SUBNORMAL): Likewise.
64686 [C99-based standards] (FP_ZERO): Likewise.
64687 [C99-based standards] (FP_FAST_FMA): Use
64688 optional-macro-int-constant. Specify type. Require == 1.
64689 [C99-based standards] (FP_FAST_FMAF): Likewise.
64690 [C99-based standards] (FP_FAST_FMAL): Likewise.
64691 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64692 [C99-based standards] (FP_ILOGBNAN): Likewise.
64693 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64694 Specify type.
64695 [C99-based standards] (MATH_ERREXCEPT): Likewise.
64696 [C99-based standards] (math_errhandling): Specify type.
64697 [ISO99 || ISO11] (signgam): Do not allow.
64698 [non-C99-based standards] (copysignf): Do not allow.
64699 [non-C99-based standards] (exp2f): Likewise.
64700 [non-C99-based standards] (log2f): Likewise.
64701 [non-C99-based standards] (modff): Allow.
64702 [non-C99-based standards] (erff): Do not allow.
64703 [non-C99-based standards] (erfcf): Likewise.
64704 [non-C99-based standards] (gammaf): Likewise.
64705 [non-C99-based standards] (hypotf): Likewise.
64706 [non-C99-based standards] (j0f): Likewise.
64707 [non-C99-based standards] (j1f): Likewise.
64708 [non-C99-based standards] (jnf): Likewise.
64709 [non-C99-based standards] (lgammaf): Likewise.
64710 [non-C99-based standards] (tgammaf): Likewise.
64711 [non-C99-based standards] (y0f): Likewise.
64712 [non-C99-based standards] (y1f): Likewise.
64713 [non-C99-based standards] (ynf): Likewise.
64714 [non-C99-based standards] (isnanf): Likewise.
64715 [non-C99-based standards] (acoshf): Likewise.
64716 [non-C99-based standards] (asinhf): Likewise.
64717 [non-C99-based standards] (atanhf): Likewise.
64718 [non-C99-based standards] (cbrtf): Likewise.
64719 [non-C99-based standards] (expm1f): Likewise.
64720 [non-C99-based standards] (ilogbf): Likewise.
64721 [non-C99-based standards] (log1pf): Likewise.
64722 [non-C99-based standards] (logbf): Likewise.
64723 [non-C99-based standards] (nextafterf): Likewise.
64724 [non-C99-based standards] (remainderf): Likewise.
64725 [non-C99-based standards] (rintf): Likewise.
64726 [non-C99-based standards] (scalbf): Likewise.
64727 [non-C99-based standards] (copysignl): Likewise.
64728 [non-C99-based standards] (exp2l): Likewise.
64729 [non-C99-based standards] (log2l): Likewise.
64730 [non-C99-based standards] (modfl): Allow.
64731 [non-C99-based standards] (erfl): Do not allow.
64732 [non-C99-based standards] (erfcl): Likewise.
64733 [non-C99-based standards] (gammal): Likewise.
64734 [non-C99-based standards] (hypotl): Likewise.
64735 [non-C99-based standards] (j0l): Likewise.
64736 [non-C99-based standards] (j1l): Likewise.
64737 [non-C99-based standards] (jnl): Likewise.
64738 [non-C99-based standards] (lgammal): Likewise.
64739 [non-C99-based standards] (tgammal): Likewise.
64740 [non-C99-based standards] (y0l): Likewise.
64741 [non-C99-based standards] (y1l): Likewise.
64742 [non-C99-based standards] (ynl): Likewise.
64743 [non-C99-based standards] (isnanl): Likewise.
64744 [non-C99-based standards] (acoshl): Likewise.
64745 [non-C99-based standards] (asinhl): Likewise.
64746 [non-C99-based standards] (atanhl): Likewise.
64747 [non-C99-based standards] (cbrtl): Likewise.
64748 [non-C99-based standards] (expm1l): Likewise.
64749 [non-C99-based standards] (ilogbl): Likewise.
64750 [non-C99-based standards] (log1pl): Likewise.
64751 [non-C99-based standards] (logbl): Likewise.
64752 [non-C99-based standards] (nextafterl): Likewise.
64753 [non-C99-based standards] (remainderl): Likewise.
64754 [non-C99-based standards] (rintl): Likewise.
64755 [non-C99-based standards] (scalbl): Likewise.
64756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64757 [non-C99-based standards] (FP_*): Do not allow.
64758 [C99-based standards] (FP_*): Change to
64759 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64760 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64761 allow.
64762 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64763 (SIG_ERR): Likewise.
64764 [X/Open-based standards] (SIG_HOLD): Likewise.
64765 (SIG_IGN): Likewise.
64766 (SIGABRT): Use macro-int-constant. Specify type. Require
64767 positive value.
64768 (SIGFPE): Likewise.
64769 (SIGILL): Likewise.
64770 (SIGINT): Likewise.
64771 (SIGSEGV): Likewise.
64772 (SIGTER): Likewise.
64773 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64774 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64775 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64776 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64777 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64778 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64779 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64780 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64781 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64782 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64783 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64784 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64785 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64786 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64787 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64788 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64789 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64790 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64791 [X/Open-based standards] (SIGTRAP): Likewise.
64792 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64793 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64794 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64795 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64796 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64797 allow.
64798
64799 2012-05-08 Ian Wienand <ianw@vmware.com>
64800
64801 [BZ #14080]
64802 * time/tzset.c (__tzset_parse_tz): Update default rules for
64803 daylight time changes in the Energy Policy Act of 2005.
64804
64805 2012-05-09 Andreas Jaeger <aj@suse.de>
64806
64807 [BZ #13983]
64808 * elf/ldconfig.c (parse_conf): Change string to make clear that
64809 ldconfig only issued a warning if ld.so.conf does not exist.
64810
64811 2012-05-08 David S. Miller <davem@davemloft.net>
64812
64813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64814 movxtod instead of popping the value on the stack.
64815
64816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64817
64818 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
64819
64820 * config.h.in: Add HAVE_ARM_PCS_VFP.
64821
64822 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
64823
64824 [BZ #13979]
64825 * include/features.h: Warn if user requests __FORTIFY_SOURCE
64826 checking but the checks are disabled for any reason.
64827
64828 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
64829
64830 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64831 and ELF64_R_TYPE with ELFW(R_TYPE).
64832
64833 2012-05-08 Joseph Myers <joseph@codesourcery.com>
64834
64835 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64836 (ulimit): Likewise.
64837
64838 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64839 (settimeofday): Likewise.
64840
64841 2012-05-08 Mike Frysinger <vapier@gentoo.org>
64842
64843 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
64844 a struct th_u2 inside the union, and move tu_block/tu_code into
64845 a new th_u3 union of tu_block/tu_code inside of that. Move
64846 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
64847 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
64848 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64849 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64850 (th_stuff): Change to th_u1.tu_stuff.
64851 (th_data): Define.
64852 (th_msg): Change to th_u1.th_u2.tu_data.
64853
64854 2012-05-07 David S. Miller <davem@davemloft.net>
64855
64856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64857
64858 [BZ #14074]
64859 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64860 (SETUP_PIC_REG): Use it.
64861 (SETUP_PIC_REG_LEAF): Use it.
64862
64863 2012-05-07 Joseph Myers <joseph@codesourcery.com>
64864
64865 [BZ #13885]
64866 [BZ #13923]
64867 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64868 USE_AS_EXPM1L.
64869 (EXPL_FINITE): Likewise.
64870 (FLDLOG): Likewise.
64871 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64872 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64873 e_expl.S.
64874 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64875 USE_AS_EXPM1L.
64876 (EXPL_FINITE): Likewise.
64877 (FLDLOG): Likewise.
64878 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64879 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64880 e_expl.S.
64881 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
64882 test of -max_value argument for long double.
64883 * sysdeps/i386/fpu/libm-test-ulps: Update.
64884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64885
64886 2012-05-06 David S. Miller <davem@davemloft.net>
64887
64888 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64889 quad soft-float symbols whose references which are compiler
64890 generated.
64891 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64892
64893 2012-05-06 Joseph Myers <joseph@codesourcery.com>
64894
64895 [BZ #13884]
64896 [BZ #13914]
64897 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64898 USE_AS_EXP10L.
64899 (EXPL_FINITE): Likewise.
64900 (FLDLOG): Likewise.
64901 (c0): Likewise.
64902 (c1): Likewise.
64903 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
64904 Adjust comments for base varying.
64905 (__expl_finite): Change alias to EXPL_FINITE.
64906 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64907 e_expl.S.
64908 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64909 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64910 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64911 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64912 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64913 USE_AS_EXP10L.
64914 (EXPL_FINITE): Likewise.
64915 (FLDLOG): Likewise.
64916 (c0): Likewise.
64917 (c1): Likewise.
64918 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
64919 Adjust comments for base varying.
64920 (__expl_finite): Change alias to EXPL_FINITE.
64921 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
64922 tests for bugs.
64923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64924
64925 [BZ #14064]
64926 * math/libm-test.inc (check_float_internal): Correct ulp
64927 calculation for subnormal expected results.
64928
64929 2012-05-06 Andreas Jaeger <aj@suse.de>
64930
64931 * Makeconfig (+math-flags): New, set to -frounding-math.
64932 (+cflags): Add +math-flags so that all of glibc gets compiled with
64933 it.
64934
64935 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64936
64937 2012-05-05 Joseph Myers <joseph@codesourcery.com>
64938
64939 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64940 Disable one test.
64941
64942 [BZ #13787]
64943 [BZ #13922]
64944 [BZ #14036]
64945 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64946 (__ieee754_expl): Allow for and saturate large arguments.
64947 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64948 (u_threshold): Likewise.
64949 (__exp): Call __ieee754_exp before checking for overflow and
64950 underflow.
64951 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64952 (u_threshold): Likewise.
64953 (__expf): Call __ieee754_expf before checking for overflow and
64954 underflow.
64955 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64956 (u_threshold): Likewise.
64957 (__expl): Call __ieee754_expl before checking for overflow and
64958 underflow.
64959 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64960 (__ieee754_expl): Allow for and saturate large arguments.
64961 * math/libm-test.inc (exp_test): Add another test. Do not allow
64962 missing overflow exception on overflow.
64963 (expm1_test): Do not allow missing overflow exception on overflow.
64964
64965 * sysdeps/i386/fpu/e_expl.c: Move to ...
64966 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
64967 rather than using inline asm.
64968 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64969 * sysdeps/x86_64/fpu/e_expl.S: Copy from
64970 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64971
64972 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64973 (nice): Likewise.
64974 (poll): Likewise.
64975 (signal): Likewise.
64976 (time): Likewise.
64977 (times): Likewise.
64978
64979 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64980
64981 * sysdeps/unix/syscalls.list (adjtime): Add entry from
64982 sysdeps/unix/common/syscalls.list.
64983 (fchmod): Likewise.
64984 (fchown): Likewise.
64985 (ftruncate): Likewise.
64986 (getrusage): Likewise.
64987 (gettimeofday): Likewise.
64988 (setpgid): Likewise.
64989 (setregid): Likewise.
64990 (setreuid): Likewise.
64991 (sigaction): Likewise.
64992 (truncate): Likewise.
64993 (vhangup): Likewise.
64994 * sysdeps/unix/common/syscalls.list: Remove file.
64995 * sysdeps/unix/bsd/Implies: Don't include unix/common.
64996 * sysdeps/unix/sysv/linux/Implies: Likewise.
64997
64998 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
64999
65000 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65002 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65003 Moved to ...
65004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65005 Here.
65006 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65007 to ...
65008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65009 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65010 to ...
65011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65012 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65013 to ...
65014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65015 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65016 to ...
65017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65018 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65019 to ...
65020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65021 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65022 to ...
65023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65024 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65025 to ...
65026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65027 Here.
65028 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65029 to ...
65030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65031 Here.
65032 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65033 to ...
65034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65035 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65036 Moved to ...
65037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65038 Here.
65039 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65040 to ...
65041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65042
65043 2012-05-04 Joseph Myers <joseph@codesourcery.com>
65044
65045 * sysdeps/unix/common/bits/dirent.h: Remove file.
65046 * sysdeps/unix/common/bits/fcntl.h: Likewise.
65047
65048 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65049 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65050 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65051 * sysdeps/unix/bsd/isatty.c: Likewise.
65052 * sysdeps/unix/bsd/tcdrain.c: Likewise.
65053 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65054 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65055
65056 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65057
65058 [BZ #13563]
65059 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65060 long double comparison inaccuracies.
65061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65063
65064 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
65065
65066 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65067 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65068
65069 2012-05-04 Joseph Myers <joseph@codesourcery.com>
65070
65071 [BZ #14049]
65072 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65073 nonzero digits before rounding a hex value.
65074 * stdlib/tst-strtod.c (tests): Add another test.
65075
65076 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65077
65078 * sysdeps/s390/fpu/libm-test-ulps: Update.
65079
65080 2012-05-03 Andreas Jaeger <aj@suse.de>
65081
65082 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65083 does not get optimized out.
65084 (malloc_opt_barrier): New.
65085
65086 2012-05-03 Andreas Jaeger <aj@suse.de>
65087 Roland McGrath <roland@hack.frob.com>
65088
65089 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65090 intermediate file deletion.
65091 (generated): Add .symlist files.
65092
65093 2012-05-03 Joseph Myers <joseph@codesourcery.com>
65094
65095 [BZ #13775]
65096 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65097 Redirect under this condition.
65098 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65099 [__USE_GNU] (__dprintf_chk): Not under this condition.
65100 [__USE_GNU] (__vdprintf_chk): Likewise.
65101 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65102 under this condition.
65103 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65104 [__USE_XOPEN2K8] (dprintf): Define under this condition.
65105 [__USE_XOPEN2K8] (vdprintf): Likewise.
65106 [__USE_GNU] (__dprintf_chk): Not under this condition.
65107 [__USE_GNU] (__vdprintf_chk): Likewise.
65108 [__USE_GNU] (dprintf): Likewise.
65109 [__USE_GNU] (vdprintf): Likewise.
65110
65111 2012-05-03 Roland McGrath <roland@hack.frob.com>
65112
65113 * elf/Makefile (common-generated): Set this instead of generated for
65114 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
65115 $(all-built-dso)-derived lists.
65116
65117 2012-05-03 Andreas Jaeger <aj@suse.de>
65118
65119 * sysdeps/i386/fpu/libm-test-ulps: Update.
65120
65121 * FAQ: Removed.
65122 * FAQ.in: Likewise.
65123 * scripts/gen-FAQ.pl: Likewise.
65124 * manual/install.texi (Installation): Point to online location of
65125 FAQ.
65126 * Makefile (files-for-dist): Remove FAQ.
65127 (FAQ): Remove.
65128
65129 2012-05-02 Allan McRae <allan@archlinux.org>
65130
65131 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65132 (LDFLAGS-reldepmod5.so): Likewise.
65133 (LDFLAGS-reldep6mod1.so): Likewise.
65134 (LDFLAGS-reldep6mod4.so): Likewise.
65135 (LDFLAGS-reldep8mod3.so): Likewise.
65136 (LDFLAGS-unload4mod1.so): Likewise.
65137 (LDFLAGS-unload4mod2.so): Likewise.
65138 (LDFLAGS-tst-initorder): Likewise.
65139 (LDFLAGS-tst-initordera2.so): Likewise.
65140 (LDFLAGS-tst-initordera3.so): Likewise.
65141 (LDFLAGS-tst-initordera4.so): Likewise.
65142 (LDFLAGS-tst-initorderb2.so): Likewise.
65143 (LDFLAGS-noload): Likewise.
65144 (LDFLAGS-next): Likewise.
65145 (LDFLAGS-order2mod1.so): Likewise.
65146 (LDFLAGS-order2mod2.so): Likewise.
65147 (LDFLAGS-tst-initorder2): Likewise.
65148 (LDFLAGS-tst-initorder2a.so): Likewise.
65149 (LDFLAGS-tst-initorder2b.so): Likewise.
65150 (LDFLAGS-tst-initorder2c.so): Likewise.
65151 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65152
65153 2012-05-02 David S. Miller <davem@davemloft.net>
65154
65155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65156
65157 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
65158
65159 [BZ #14055]
65160 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65161
65162 2012-05-02 Andreas Jaeger <aj@suse.de>
65163
65164 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65165 since we manipulate rounding mode.
65166 (CPPFLAGS-test-idouble.c): Likewise.
65167 (CPPFLAGS-test-ifloat.c): Likewise.
65168 (CFLAGS-test-ldouble.c): Likewise.
65169 (CFLAGS-test-double.c): Likewise.
65170 (CFLAGS-test-float.c): Likewise.
65171 (CFLAGS-test-misc.c): Likewise.
65172 (CFLAGS-test-test-fenv.c): Likewise.
65173
65174 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65175
65176 [BZ #2550]
65177 [BZ #2570]
65178 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65179 comparisons to determine direction to adjust input.
65180
65181 2012-05-01 Roland McGrath <roland@hack.frob.com>
65182
65183 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65184 output to the target.
65185
65186 * scripts/localplt.awk: New file.
65187 * elf/Makefile ($(objpfx)check-localplt): Target removed.
65188 (check-localplt-CFLAGS): Variable removed.
65189 ($(all-built-dso:=.jmprel)): New static pattern rule.
65190 (generated): Add those targets.
65191 (localplt-built-dso): New variable.
65192 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65193
65194 * elf/check-localplt.c: File removed.
65195
65196 * scripts/check-execstack.awk: New file.
65197 * elf/Makefile ($(objpfx)check-execstack): Target removed.
65198 (check-execstack-CFLAGS): Variable removed.
65199 ($(objpfx)check-execstack.h): Target removed.
65200 ($(objpfx)execstack-default): New target.
65201 (generated): Add that instead of check-execstack.h.
65202 ($(all-built-dso:=.phdr)): New static pattern rule.
65203 (generated): Add those targets.
65204 * elf/check-execstack.c: File removed.
65205
65206 * scripts/check-textrel.awk: New file.
65207 * elf/Makefile ($(objpfx)check-textrel): Target removed.
65208 (check-textrel-CFLAGS): Variable removed.
65209 (all-built-dso): Use := to define.o
65210 ($(all-built-dso:=.dyn)): New static pattern rule.
65211 (generated): Add those targets.
65212 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65213 * config.make.in (READELF): New substituted variable.
65214 * elf/check-textrel.c: File removed.
65215
65216 2012-05-01 Joseph Myers <joseph@codesourcery.com>
65217
65218 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65219 allow.
65220 * conform/data/ctype.h-data [C99-based standards] (isblank):
65221 Expect function.
65222 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65223 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65225 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65226 Specify type. Require positive value.
65227 (EILSEQ): Likewise.
65228 (ERANGE): Likewise.
65229 [ISO || POSIX] (EILSEQ): Do not expect.
65230 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65231 Specify type. Require positive value.
65232 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65233 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65234 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65235 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65236 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65237 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65238 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65239 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65240 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65241 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65242 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65243 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65244 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65245 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65246 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65247 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65248 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65249 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65250 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65251 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65252 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65253 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65254 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65255 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65256 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65257 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65258 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65259 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65260 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65261 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65262 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65263 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65264 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65265 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65266 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65267 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65268 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65269 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65270 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65271 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65272 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65273 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65274 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65275 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65276 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65277 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65278 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65279 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65280 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65281 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65282 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65283 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65284 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65285 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65286 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65287 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65288 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65289 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65290 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65291 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65292 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65293 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65294 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65295 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65296 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65297 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65298 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65299 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65300 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65301 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65302 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65303 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65304 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65305 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65306 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65307 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65308 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65309 Require >= 2.
65310 (FLT_ROUNDS): Expect as macro, not constant.
65311 (FLT_MANT_DIG): Use macro-int-constant.
65312 (DBL_MANT_DIG): Likewise.
65313 (LDBL_MANT_DIG): Likewise.
65314 (FLT_DIG): Likewise.
65315 (DBL_DIG): Likewise.
65316 (LDBL_DIG): Likewise.
65317 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
65318 (DBL_MIN_EXP): Likewise.
65319 (LDBL_MIN_EXP): Likewise.
65320 (FLT_MAX_EXP): Use macro-int-constant.
65321 (DBL_MAX_EXP): Likewise.
65322 (LDBL_MAX_EXP): Likewise.
65323 (FLT_MAX_10_EXP): Likewise.
65324 (DBL_MAX_10_EXP): Likewise.
65325 (LDBL_MAX_10_EXP): Likewise.
65326 (FLT_MAX): Use macro-constant.
65327 (DBL_MAX): Likewise.
65328 (LDBL_MAX): Likewise.
65329 (FLT_EPSILON): Use macro-constant. Give upper bound.
65330 (DBL_EPSILON): Likewise.
65331 (LDBL_EPSILON): Likewise.
65332 (FLT_MIN): Likewise.
65333 (DBL_MIN): Likewise.
65334 (LDBL_MIN): Likewise.
65335 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65336 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65337 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65338 [ISO11] (FLT_HAS_SUBNORM): Likewise.
65339 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65340 [ISO11] (DBL_DECIMAL_DIG): Likewise.
65341 [ISO11] (FLT_DECIMAL_DIG): Likewise.
65342 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65343 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65344 [ISO11] (FLT_TRUE_MIN): Likewise.
65345 [ISO11] (LDBL_TRUE_MIN): Likewise.
65346 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65347 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65348 (SCHAR_MIN): Use macro-int-constant. Specify type.
65349 (SCHAR_MAX): Likewise.
65350 (UCHAR_MAX): Likewise.
65351 (CHAR_MIN): Likewise.
65352 (CHAR_MAX): Likewise.
65353 (MB_LEN_MAX): Use macro-int-constant.
65354 (SHRT_MIN): Use macro-int-constant. Specify type.
65355 (SHRT_MAX): Likewise.
65356 (USHRT_MAX): Likewise.
65357 (INT_MAX): Likewise.
65358 (INT_MIN): Use macro-int-constant. Specify type. Make upper
65359 bound negative.
65360 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
65361 bound with "U".
65362 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
65363 bound with "L".
65364 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
65365 bound negative. Suffix upper bound with "L".
65366 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
65367 bound with "UL".
65368 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65369 Specify type.
65370 [C99-based standards] (LLONG_MAX): Likewise.
65371 [C99-based standards] (ULLONG_MAX): Likewise.
65372 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
65373 == 0.
65374 [ISO11] (max_align_t): Require type.
65375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65376
65377 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65378 from $CFLAGS, without defining away __attribute__ calls.
65379 (checknamespace): Use $CFLAGS_namespace.
65380
65381 * conform/conformtest.pl (@keywords): Only include C99 keywords
65382 for standards based on C99 or C11.
65383
65384 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65385 Disable tests.
65386 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65387 UNIX98]: Likewise.
65388
65389 * conform/conformtest.pl: Handle "macro-int-constant" and test for
65390 usability of symbols in #if.
65391
65392 * conform/conformtest.pl: If macro or constant types start
65393 "promoted:", expect the symbol to be of the following type
65394 promoted by the integer promotions.
65395
65396 * conform/conformtest.pl: Parse all "constant" and "macro" lines
65397 in one place. Also handle "macro-constant".
65398
65399 * conform/conformtest.pl: Only accept expected macro values with
65400 "==". Parse all "macro" lines in one place.
65401 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65402
65403 * conform/conformtest.pl: Handle braced types on "constant" lines
65404 instead of handling "typed-constant".
65405 * conform/data/signal.h-data: Use "constant" instead of
65406 "typed-constant".
65407
65408 * conform/conformtest.pl: Handle "optional-" at start of lines in
65409 one place rather than duplicating several cases. Handle each
65410 format of "macro" line with initial "optional-".
65411
65412 * conform/conformtest.pl: Only accept expected constant or
65413 optional-constant values with "==". Parse all "constant" lines in
65414 one place. Parse all "optional-constant" lines in one place.
65415 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65416 * conform/data/fmtmsg.h-data: Likewise.
65417 * conform/data/netinet/in.h-data: Likewise.
65418 * conform/data/tar.h-data: Likewise.
65419 * conform/data/limits.h-data: Use "==" form on "constant" and
65420 "optional-constant" lines.
65421
65422 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65423 Use -std=c99 for XOPEN2K.
65424 (@knownproblems): Remove.
65425 (newtoken): Don't check %isknown.
65426
65427 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65428 Do not expect macro.
65429 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65430 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65431 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65432 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65433 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65434 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65435 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65436 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65437 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65438 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65439 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65440 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65441 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65442 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65443 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65444 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65445 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65446 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65447 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65448 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65449 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65450 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65451 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65452 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65453 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65454 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65455 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65456 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65457 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65458 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65459 [XPG3] (acosh): Likewise.
65460 [XPG3] (asinh): Likewise.
65461 [XPG3] (atanh): Likewise.
65462 [XPG3] (cbrt): Likewise.
65463 [XPG3] (expm1): Likewise.
65464 [XPG3] (ilogb): Likewise.
65465 [XPG3] (log1p): Likewise.
65466 [XPG3] (logb): Likewise.
65467 [XPG3] (nextafter): Likewise.
65468 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65469 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65470 [XPG3] (remainder): Likewise.
65471 [XPG3] (rint): Likewise.
65472 [XPG3 || XPG4 || UNIX98] (round): Likewise.
65473 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65474 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65475 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65476 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65477 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65478 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65479 [UNIX98 || XOPEN2K] (scalb): Expect.
65480 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65481 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65482 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65483 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65484 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65485 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65486 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65487 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65488 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65489 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65490 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65491 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65492 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65493 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65494 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65495 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65496 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65497 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65498 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65499 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65500 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65501 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65502 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65503 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65504 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65505 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65506 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65507 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65508 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65509 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65510 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65511 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65512 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65513 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65514 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65515 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65516 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65517 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65518 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65519 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65520 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65521 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65522 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65523 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65524 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65525 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65526 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65527 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65528 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65529 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65530 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65531 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65532 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65533 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65534 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65535 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65536 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65537 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65538 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65539 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65540 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65541 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65542 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65543 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65544 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65545 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65546 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65547 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65548 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65549 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65550 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65551 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65552 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65553 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65554 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65555 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65556 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65557 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65558 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65559 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65560 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65561 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65562 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65563 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65564 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65565 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65566 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65567 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65568 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65569 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65570 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65571 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65572 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65573 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65574 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65575 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65576 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65577 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65578 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65579 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65580 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65581 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65582 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65583 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65584 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65585 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65586 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65587 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65588 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65589 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65590 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65591 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65592 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65593 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65594 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65595 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65596 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65597 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65598 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65599 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65600 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65601 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65602 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65603 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65604 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65605 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65606 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65607 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65608 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65609 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65610 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65611 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65612 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65613 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65614 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65615 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65616 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65617
65618 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65619 _XOPEN_SOURCE_EXTENDED for XPG4.
65620
65621 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65622
65623 * Makeconfig (localtime): Remove variable.
65624 (inst_localtime-file): Likewise.
65625
65626 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
65627
65628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65629 Update.
65630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65631 Update.
65632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65633 Update.
65634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65635 Update.
65636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65637 Update.
65638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65639 Update.
65640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65641 Update.
65642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65643 Update.
65644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65645 Update.
65646
65647 2012-05-01 Joseph Myers <joseph@codesourcery.com>
65648
65649 [BZ #2550]
65650 [BZ #2570]
65651 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65652 comparisons to determine direction to adjust input.
65653 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65654 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65655 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65656 Likewise.
65657 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65658 Likewise.
65659 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65660 Likewise.
65661 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65662 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65663 Likewise.
65664 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65665 Likewise.
65666 * math/libm-test.inc (nexttoward_test): Add more tests.
65667
65668 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
65669
65670 [BZ #14040]
65671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65672 in version GLIBC_2.1, not GLIBC_2.0.
65673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65674 Likewise.
65675
65676 2012-04-30 Joseph Myers <joseph@codesourcery.com>
65677
65678 [BZ #13942]
65679 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65680 (1 - x) * (1 + x).
65681 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65682 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65683 * math/libm-test.inc (acos_test): Add more tests.
65684 (asin_test): Likewise.
65685 * sysdeps/i386/fpu/libm-test-ulps: Update.
65686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65687
65688 [BZ #14034]
65689 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65690 of square root.
65691 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65692 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65693 * math/libm-test.inc (acos_test_tonearest): New function.
65694 (acos_test_towardzero): Likewise.
65695 (acos_test_downward): Likewise.
65696 (acos_test_upward): Likewise.
65697 (asin_test_tonearest): Likewise.
65698 (asin_test_towardzero): Likewise.
65699 (asin_test_downward): Likewise.
65700 (asin_test_upward): Likewise.
65701 (main): Call the new functions.
65702 * sysdeps/i386/fpu/libm-test-ulps: Update.
65703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65704
65705 [BZ #13884]
65706 [BZ #13924]
65707 * math/e_exp10.c: Include <float.h>.
65708 (__ieee754_exp10): Handle underflow here rather than multiplying
65709 large negative argument by M_LN10.
65710 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65711 of __ieee754_expf.
65712 * math/e_exp10l.c: Include <float.h>.
65713 (__ieee754_exp10l): Handle underflow here rather than multiplying
65714 large negative argument by M_LN10l.
65715 * math/libm-test.inc (exp10_test): Add another test. Do not allow
65716 spurious overflow exception on underflow.
65717
65718 2012-04-29 Marek Polacek <polacek@redhat.com>
65719
65720 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65721 (__fortify_function): New macro.
65722 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65723 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65724 __extern_always_inline.
65725 * libio/bits/stdio2.h: Likewise.
65726 * libio/bits/stdio.h: Likewise.
65727 * string/string.h: Likewise.
65728 * string/bits/string3.h: Likewise.
65729 * include/stdio.h: Likewise.
65730 * stdlib/bits/stdlib.h: Likewise.
65731 * stdlib/stdlib.h: Likewise.
65732 * rt/bits/mqueue2.h: Likewise.
65733 * rt/mqueue.h: Likewise.
65734 * posix/bits/unistd.h: Likewise.
65735 * posix/unistd.h: Likewise.
65736 * io/bits/poll2.h: Likewise.
65737 * io/bits/fcntl2.h: Likewise.
65738 * io/fcntl.h: Likewise.
65739 * io/sys/poll.h: Likewise.
65740 * misc/bits/syslog.h: Likewise.
65741 * misc/bits/syslog-ldbl.h: Likewise.
65742 * misc/sys/syslog.h: Likewise.
65743 * socket/bits/socket2.h: Likewise.
65744 * socket/sys/socket.h: Likewise.
65745 * debug/tst-chk1.c: Likewise.
65746 * wcsmbs/bits/wchar2.h: Likewise.
65747 * wcsmbs/bits/wchar-ldbl.h: Likewise.
65748 * wcsmbs/wchar.h: Likewise.
65749
65750 2012-04-29 Andreas Jaeger <aj@suse.de>
65751
65752 * Makerules (tests): Remove enable-check-abi protection.
65753 (check-abi-warn): Remove.
65754 (check-abi-%): Remove check-abi-warn usage.
65755
65756 * configure.in: Remove check-abi configure option.
65757 * configure: Regenerated.
65758 * config.make.in (enable-check-abi): Remove.
65759
65760 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
65761
65762 [BZ #14033]
65763 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65764 double functions to double *_finite functions.
65765
65766 [BZ #13941]
65767 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65768 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65769 LDBL_MIN_EXP.
65770 * stdio-common/Makefile (tests): Add tst-sprintf3.
65771 * stdio-common/tst-sprintf3.c: New file.
65772
65773 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65774 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65775
65776 2012-04-28 Joseph Myers <joseph@codesourcery.com>
65777
65778 * conform/conformtest.pl: Remove duplicate typed-constant
65779 handling.
65780
65781 2012-04-28 David S. Miller <davem@davemloft.net>
65782
65783 * Makerules (%.abilist): Add vpath on sysdep_dirs.
65784 (check-abi-%): Remove AWK script prerequisite and explicit
65785 abilist directory.
65786 (check-abi): Rewrite to just diff the symlist with the abilist.
65787 (config-tls, config-abi-config): Delete, no longer used.
65788 (update-abi-%): Remove AWK script and explicit abilist directory.
65789 (update-abi): Rewrite to simply compare and conditionally copy the
65790 symlist and the sysdep abilist file. Remove update-abi-config
65791 checks.
65792 * abilist/ld.abilist: Remove.
65793 * abilist/libBrokenLocale.abilist: Remove.
65794 * abilist/libanl.abilist: Remove.
65795 * abilist/libcrypt.abilist: Remove.
65796 * abilist/libdl.abilist: Remove.
65797 * abilist/librt.abilist: Remove.
65798 * abilist/libthread_db.abilist: Remove.
65799 * abilist/libutil.abilist: Remove.
65800 * scripts/extract-abilist.awk: Remove.
65801 * scripts/merge-abilist.awk: Remove.
65802 * sysdeps/generic/libcidn.abilist: New file.
65803 * sysdeps/generic/libnss_compat.abilist: New file.
65804 * sysdeps/generic/libnss_db.abilist: New file.
65805 * sysdeps/generic/libnss_dns.abilist: New file.
65806 * sysdeps/generic/libnss_files.abilist: New file.
65807 * sysdeps/generic/libnss_hesiod.abilist: New file.
65808 * sysdeps/generic/libnss_nis.abilist: New file.
65809 * sysdeps/generic/libnss_nisplus.abilist: New file.
65810 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65811 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65812 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65813 file.
65814 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65815 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65816 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65817 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65818 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65819 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65820 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65821 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65822 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65823 file.
65824 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65825 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65826 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65827 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65828 file.
65829 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65830 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65831 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65832 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65833 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65834 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65835 file.
65836 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65837 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65838 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65839 file.
65840 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65842 New file.
65843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65844 New file.
65845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65846 New file.
65847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65848 New file.
65849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65850 New file.
65851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65852 New file.
65853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65854 New file.
65855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65856 New file.
65857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65858 New file.
65859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65860 New file.
65861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65862 New file.
65863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65864 New file.
65865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65866 New file.
65867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65868 file.
65869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65870 New file.
65871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65872 New file.
65873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65874 file.
65875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65876 New file.
65877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65878 New file.
65879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65880 file.
65881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65882 New file.
65883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65884 New file.
65885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65886 New file.
65887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65888 New file.
65889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65890 New file.
65891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65892 New file.
65893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65895 file.
65896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65897 New file.
65898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65899 file.
65900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65901 file.
65902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65903 file.
65904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65905 file.
65906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65907 file.
65908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65909 New file.
65910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65911 file.
65912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65913 file.
65914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65915 New file.
65916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65917 file.
65918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65920 file.
65921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65922 New file.
65923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65924 file.
65925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65926 file.
65927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65928 file.
65929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65930 file.
65931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65932 file.
65933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65934 New file.
65935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65936 file.
65937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65938 file.
65939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65940 New file.
65941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65942 file.
65943 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65944 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65945 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65946 file.
65947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65948 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65949 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65950 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65951 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65952 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65953 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65954 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65955 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65956 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65959 file.
65960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65961 New file.
65962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65963 file.
65964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65965 file.
65966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65967 file.
65968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65969 file.
65970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65971 file.
65972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65973 New file.
65974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65975 New file.
65976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65977 file.
65978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65979 New file.
65980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65981 file.
65982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65984 file.
65985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65986 New file.
65987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65988 file.
65989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65990 file.
65991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65992 file.
65993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65994 file.
65995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65996 file.
65997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65998 New file.
65999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66000 New file.
66001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66002 file.
66003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66004 New file.
66005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66006 file.
66007
66008 2012-04-28 Joseph Myers <joseph@codesourcery.com>
66009
66010 * conform/conformtest.pl: Fix typo in handling typed-constant from
66011 allow-header.
66012
66013 2012-04-27 Joseph Myers <joseph@codesourcery.com>
66014
66015 * README: Cut down references to pre-2.6 Linux kernels and
66016 Linuxthreads. Update lists of configurations in libc and ports
66017 and sort alphabetically. Say "or newer" with Linux kernel version
66018 requirements.
66019
66020 * config.h.in [IS_IN_build]: Allow compiling without optimization.
66021
66022 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66023
66024 [BZ #887]
66025 * math/libm-test.inc (logb_test_downward): New test to expose
66026 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66027 rounding mode.
66028
66029 2012-04-27 Joseph Myers <joseph@codesourcery.com>
66030
66031 [BZ #14027]
66032 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66033 to be done.
66034 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66035 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66036
66037 2012-04-26 Joseph Myers <joseph@codesourcery.com>
66038
66039 * sysdeps/unix/i386/brk.S: Remove file.
66040 * sysdeps/unix/i386/dl-brk.S: Likewise.
66041 * sysdeps/unix/i386/pipe.S: Likewise.
66042 * sysdeps/unix/i386/sigreturn.S: Likewise.
66043 * sysdeps/unix/i386/syscall.S: Likewise.
66044 * sysdeps/unix/i386/vfork.S: Likewise.
66045 * sysdeps/unix/i386/wait.S: Likewise.
66046
66047 * sysdeps/unix/common/tcsendbrk.c: Move to ...
66048 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66049
66050 * configure.in (arm*-none*): Do not allow without
66051 --enable-hacker-mode.
66052 (netbsd*): Remove case setting base_os.
66053 (386bsd*): Likewise.
66054 (freebsd*): Likewise.
66055 (bsdi*): Likewise.
66056 (osf*): Likewise.
66057 (sunos*): Likewise.
66058 (ultrix*): Likewise.
66059 (newsos*): Likewise.
66060 (dynix*): Likewise.
66061 (*bsd*): Likewise.
66062 (sysv*): Likewise.
66063 (isc*): Likewise.
66064 (esix*): Likewise.
66065 (sco*): Likewise.
66066 (minix*): Likewise.
66067 (irix4*): Likewise.
66068 (irix6*): Likewise.
66069 (solaris[2-9]*): Likewise.
66070 (none): Likewise.
66071 * configure: Regenerated.
66072
66073 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66074
66075 [BZ #11521]
66076 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66077 overflow or cancellation in calculating denominator.
66078 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66080 down expression to avoid unexpected rounding in newer GCCs.
66081 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66082
66083 2012-04-26 David S. Miller <davem@davemloft.net>
66084
66085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66086 long-double compat symbols.
66087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66100
66101 2012-04-25 David S. Miller <davem@davemloft.net>
66102
66103 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66104 HWCAP_* values only after the memory barriers have been defined.
66105 (atomic_full_barrier): Define.
66106 (atomic_read_barrier): Define.
66107 (atomic_write_barrier): Define.
66108
66109 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
66110
66111 * shlib-versions: Add libgcc_s version information.
66112 * sysdeps/generic/libgcc_s.h: Remove.
66113 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66114 libgcc_s.h.
66115 * sysdeps/gnu/unwind-resume.c: Likewise.
66116 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66117
66118 2012-04-25 David S. Miller <davem@davemloft.net>
66119
66120 * sysdeps/unix/sparc/brk.S: Delete.
66121 * sysdeps/unix/sparc/dl-brk.S: Delete.
66122 * sysdeps/unix/sparc/pipe.S: Delete.
66123 * sysdeps/unix/sparc/sysdep.S: Delete.
66124 * sysdeps/unix/sparc/sysdep.h: Delete.
66125 * sysdeps/unix/sparc/vfork.S: Delete.
66126 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66127 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66128 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66129 (ret_ERRVAL, r0, r1, MOVE): Define.
66130 (JUMPTARGET): Remove.
66131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66132 sysdeps/unix/sparc/sysdep.h
66133 (ENTRY, END): Remove.
66134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66135
66136 2012-04-25 Joseph Myers <joseph@codesourcery.com>
66137
66138 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66139 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66140 -DIS_IN_build.
66141
66142 * timezone/README: Update upstream location and email address for
66143 tzcode and tzdata.
66144 * timezone/zdump.c: Update from tzcode 2012b.
66145 * timezone/zic.c: Likewise.
66146
66147 * configure.in (libc_cv_as_needed): Remove test.
66148 * configure: Regenerated.
66149 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66150 conditional definition.
66151 [$(have-as-needed) != yes] (no-as-needed): Likewise.
66152 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66153 * config.make.in (have-as-needed): Remove variable.
66154
66155 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66156 Paul Pluzhnikov <ppluzhnikov@google.com>
66157
66158 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66159 strings correctly.
66160
66161 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
66162
66163 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66164 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66165 * sysdeps/sh/strlen.S: Likewise.
66166
66167 2012-04-24 Joseph Myers <joseph@codesourcery.com>
66168
66169 * sysdeps/unix/fork.S: Remove file.
66170 * sysdeps/unix/i386/fork.S: Likewise.
66171 * sysdeps/unix/sparc/fork.S: Likewise.
66172
66173 * sysdeps/unix/system.c: Remove file.
66174 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66175
66176 * sysdeps/unix/getegid.S: Remove file.
66177 * sysdeps/unix/geteuid.S: Likewise.
66178
66179 2012-04-24 Roland McGrath <roland@hack.frob.com>
66180
66181 * scripts/check-localplt.awk: New file.
66182 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66183 of diff.
66184 * scripts/data/localplt-generic.data: Add a comment.
66185
66186 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66187 NODE when __dir_mkfile failed.
66188 * sysdeps/mach/hurd/symlinkat.c: Likewise.
66189 Reported by Ludovic Courtès <ludo@gnu.org>.
66190
66191 2012-04-24 Andreas Jaeger <aj@suse.de>
66192
66193 * Makerules (common-clean): Also remove gen-as-const-headers
66194 files.
66195
66196 2012-04-24 Joseph Myers <joseph@codesourcery.com>
66197
66198 * Makerules (native-compile): Do not change working directory for
66199 build. Use $(OUTPUT_OPTION) in command.
66200 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66201
66202 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66203
66204 [BZ #13886]
66205 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66206 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66207 * math/libm-test.inc (floor_test): Add more tests.
66208 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66209
66210 2012-04-24 Joseph Myers <joseph@codesourcery.com>
66211
66212 * sysdeps/unix/getdents.c: Remove file.
66213 * sysdeps/unix/sysv/getdents.c: Likewise.
66214 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66215
66216 * sysdeps/unix/syscalls.list (madvise): Add syscall from
66217 sysdeps/unix/mman/syscalls.list.
66218 (mmap): Likewise.
66219 (mprotect): Likewise.
66220 (msync): Likewise.
66221 (munmap): Likewise.
66222 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66223 * sysdeps/unix/mman/syscalls.list: Remove.
66224 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66225
66226 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66227 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66228 * configure: Regenerated.
66229 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66230 $(libgcc_s_suffix).
66231 * config.make.in (libgcc_s_suffix): Remove variable.
66232
66233 2012-04-23 Joseph Myers <joseph@codesourcery.com>
66234
66235 * sysdeps/unix/sysv/gethostname.c: Move to ...
66236 * sysdeps/posix/gethostname.c: ... here.
66237
66238 * sysdeps/unix/execve.S: Remove file.
66239
66240 * sysdeps/unix/_exit.S: Remove file.
66241
66242 2012-04-23 Andreas Jaeger <aj@suse.de>
66243
66244 [BZ #13739]
66245 * manual/Makefile: Remove make dist support, there's no
66246 need for a stand-alone documentation tar ball.
66247 (TEXI2DVI): Define always, it's not in Makeconfig.
66248 (dist): Removed.
66249 (tar-it): Removed.
66250 (edition): Removed.
66251 (glibc-doc-$(edition).tar): Removed
66252 (%.Z): Removed.
66253 (%.gz): Removed.
66254 (%.uu): Removed.
66255 (ETAGS): Remove, it's in Makeconfig.
66256 (move-if-change): Remove, it's in Makeconfig.
66257
66258 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
66259
66260 [BZ #13970]
66261 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66262 (strtod, strtof, strtold, strtol, strtoul, strtoq)
66263 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66264 (strtod_l, strtof_l, strtold_l): Remove __wur.
66265 It is not necessarily an error to ignore strtol's return value.
66266 One can reliably look at the stored endptr to decide whether
66267 the number had valid syntax.
66268
66269 2012-04-21 Andreas Jaeger <aj@suse.de>
66270
66271 [BZ #13739]
66272 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66273
66274 2012-04-21 Joseph Myers <joseph@codesourcery.com>
66275
66276 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66277 * sysdeps/unix/sysv/Versions: Remove file.
66278
66279 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
66280
66281 [BZ #13927]
66282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66283
66284 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
66285
66286 [BZ #7064]
66287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66288 version from __vm86.
66289
66290 2012-04-20 Joseph Myers <joseph@codesourcery.com>
66291
66292 * sysdeps/unix/common/lxstat.c: Remove file.
66293 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66294
66295 * sysdeps/unix/sysv/Makefile: Remove file.
66296
66297 * sysdeps/unix/sysv/direct.h: Remove file.
66298
66299 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66300 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66301 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66302 * sysdeps/unix/sysv/bits/signum.h: Likewise.
66303 * sysdeps/unix/sysv/bits/stat.h: Likewise.
66304 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66305 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66306
66307 * sysdeps/unix/sysv/setrlimit.c: Remove file.
66308
66309 * sysdeps/unix/xmknod.c: Remove file.
66310 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66311
66312 * sysdeps/unix/sysv/settimeofday.c: Remove file.
66313
66314 * sysdeps/unix/sysv/i386/time.S: Remove file.
66315
66316 * sysdeps/unix/fxstat.c: Remove file.
66317 * sysdeps/unix/xstat.c: Likewise.
66318 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66319
66320 * sysdeps/unix/sysv/sigaction.c: Remove file.
66321
66322 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66323 (sysdep_headers): Remove variable.
66324 [termio.h not in sysdep_headers] (generated): Likewise.
66325 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66326 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66327 * sysdeps/unix/sysv/tcdrain.c: Likewise.
66328 * sysdeps/unix/sysv/tcflow.c: Likewise.
66329 * sysdeps/unix/sysv/tcflush.c: Likewise.
66330 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66331 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66332 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66333 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66334 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66335
66336 * sysdeps/unix/siglist.c: Remove file.
66337
66338 * sysdeps/unix/getppid.S: Remove file.
66339
66340 * sysdeps/unix/mkdir.c: Remove file.
66341 * sysdeps/unix/rmdir.c: Likewise.
66342
66343 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
66344
66345 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66346 ERR_MAX value.
66347 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66348 errlist-compat value.
66349
66350 2012-04-18 David S. Miller <davem@davemloft.net>
66351
66352 * sysdeps/generic/memcopy.h (reg_char): Delete.
66353 * debug/strcat_chk.c: Use char, not reg_char.
66354 * debug/strcpy_chk.c: Likewise.
66355 * debug/strncat_chk.c: Likewise.
66356 * debug/strncpy_chk.c: Likewise.
66357 * string/memchr.c: Likewise.
66358 * string/memrchr.c: Likewise.
66359 * string/rawmemchr.c: Likewise.
66360 * string/strcat.c: Likewise.
66361 * string/strchr.c: Likewise.
66362 * string/strchrnul.c: Likewise.
66363 * string/strcmp.c: Likewise.
66364 * string/strcpy.c: Likewise.
66365 * string/strncat.c: Likewise.
66366 * string/strncmp.c: Likewise.
66367 * string/strncpy.c: Likewise.
66368
66369 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66370
66371 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66372 __builtin_memcopy is called when src and dest ranges are known to not
66373 overlap.
66374
66375 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66376
66377 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66378 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66379 fwd_align_merge macro call.
66380 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66381 bwd_align_merge macro call.
66382 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66383
66384 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66385
66386 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66387 bwd_align_merge macros.
66388 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66389 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66390 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66391
66392 2012-04-18 David S. Miller <davem@davemloft.net>
66393
66394 * sysdeps/sparc/sparc64/memcopy.h: Delete.
66395
66396 2012-04-18 Andreas Jaeger <aj@suse.de>
66397
66398 [BZ# 6794]
66399 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66400 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66401 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66402
66403 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66404 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66405 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66406
66407 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66408 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66409 Adjust for changed ldbl-128 files.
66410
66411 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66412 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66413 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66414
66415 2012-04-17 David S. Miller <davem@davemloft.net>
66416
66417 * sysdeps/sparc/sparc32/memcopy.h: Delete.
66418
66419 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
66420
66421 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66422 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66423 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66424 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66425 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66426 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66427
66428 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66429
66430 [BZ #6794]
66431 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66432 * math/libm-test.inc: Add ilogb errno and exception tests.
66433 * math/w_ilogb.c: New file: ilogb wrapper.
66434 * math/w_ilogbf.c: New file: ilogbf wrapper.
66435 * math/w_ilogbl.c: New file: ilogbl wrapper.
66436 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66437 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66438 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66439 exception being thrown with 0.0 as argument.
66440 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66441 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66442 exception being thrown with 0.0 as argument.
66443 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66444 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66445 exception being thrown with 0.0 as argument.
66446 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66447 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66448 exception being thrown with 0.0 as argument.
66449 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66450 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66451 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66452 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66453 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66454 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66455 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66456 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66457 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66458
66459 2012-04-17 Petr Baudis <pasky@ucw.cz>
66460
66461 * include/sys/uio.h: Change __vector to __iovec to avoid clash
66462 with altivec.
66463
66464 2012-04-16 Marek Polacek <polacek@redhat.com>
66465
66466 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66467
66468 2012-04-16 Marek Polacek <polacek@redhat.com>
66469
66470 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66471 operands of fdivp instruction.
66472
66473 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
66474
66475 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66476 * elf/tst-auditmod3b.c: Likewise.
66477 * elf/tst-auditmod4b.c: Likewise.
66478 * elf/tst-auditmod5b.c: Likewise.
66479 * elf/tst-auditmod6b.c: Likewise.
66480 * elf/tst-auditmod6c.c: Likewise.
66481 * elf/tst-auditmod7b.c: Likewise.
66482 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66483 * sysdeps/x86_64/preconfigure.in: Likewise.
66484 * sysdeps/x86_64/preconfigure: Regenerated.
66485
66486 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
66487
66488 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66489 __ILP32__.
66490
66491 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
66492
66493 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66494 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66495
66496 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
66497
66498 [BZ #13973]
66499 * locale/iso-639.def: Fix gl language name. Spotted by
66500 Yaron Shahrabani.
66501
66502 2012-04-12 Roland McGrath <roland@hack.frob.com>
66503
66504 [BZ #2074]
66505 * libio/libio.h (__io_write_fn): Update comment.
66506
66507 2012-04-12 Petr Baudis <pasky@ucw.cz>
66508
66509 [BZ #2074]
66510 * stdio.texi (Hook Functions): The user provided writer function
66511 is not allowed to return -1.
66512
66513 2012-04-11 David S. Miller <davem@davemloft.net>
66514
66515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66516
66517 2012-04-11 Mike Frysinger <vapier@gentoo.org>
66518
66519 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66520 Add a leading slash to rtkaio.
66521
66522 2012-04-11 Jim Meyering <meyering@redhat.com>
66523
66524 [BZ #11959]
66525 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66526 It is not necessarily an error to ignore fwrite's return
66527 value. One can reliably use ferror to test for errors after
66528 the fact.
66529
66530 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
66531
66532 * bits/types.h (__snseconds_t): New type.
66533 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66534
66535 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66536 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66537 (__SNSECONDS_T_TYPE): Likewise.
66538 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66539 (__SNSECONDS_T_TYPE): Likewise.
66540 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66541 (__SNSECONDS_T_TYPE): Likewise.
66542
66543 2012-04-10 Andreas Jaeger <aj@suse.de>
66544
66545 [BZ #2636]
66546 * manual/time.texi (Processor Time): Return type of times is
66547 elapsed real time since an arbitrary point in the past.
66548 (CPU Time): Move CLK_TCK from here...
66549 (Processor Time): ...to here. Correct description.
66550 * manual/conf.texi (Constants for Sysconf): Correct description of
66551 _SC_CLK_TCK.
66552
66553 2012-04-10 David S. Miller <davem@davemloft.net>
66554
66555 [BZ #13967]
66556 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66557 where the is a gap between DT_REL(A) and DT_JMPREL.
66558
66559 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
66560
66561 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66562 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66563 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66564
66565 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
66566
66567 * elf/dl-support.c (_dl_inhibit_cache): New variable.
66568 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66569 (dl_main): Handle --inhibit-cache.
66570 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66571 _dl_inhibit_cache.
66572 * elf/dl-load.c (_dl_map_object): Use it.
66573 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66574
66575 2012-04-09 Joseph Myers <joseph@codesourcery.com>
66576
66577 [BZ #13872]
66578 * sysdeps/i386/fpu/e_powl.S (p78): New object.
66579 (__ieee754_powl): Saturate large exponents rather than testing for
66580 overflow of y*log2(x).
66581 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66582 * math/libm-test.inc (pow_test): Do not permit spurious overflow
66583 exceptions.
66584
66585 [BZ #11521]
66586 * math/s_ctan.c: Include <float.h>.
66587 (__ctan): Avoid internal overflow or cancellation in calculating
66588 denominator.
66589 * math/s_ctanf.c: Likewise.
66590 * math/s_ctanl.c: Likewise.
66591 * math/s_ctanh.c: Likewise.
66592 * math/s_ctanhf.c: Likewise.
66593 * math/s_ctanhl.c: Likewise.
66594 * math/libm-test.inc (ctan_test): Add more tests.
66595 (ctanh_test): Likewise.
66596 * sysdeps/i386/fpu/libm-test-ulps: Update.
66597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66598
66599 2012-04-09 Andreas Jaeger <aj@suse.de>
66600
66601 [BZ #6894]
66602 * manual/filesys.texi (Directory Entries): Mention that d_namlen
66603 is an optional BSD extension.
66604
66605 [BZ #10254]
66606 * manual/stdio.texi (Opening Streams): Document additional fopen
66607 parameters.
66608
66609 2012-04-09 Roland McGrath <roland@hack.frob.com>
66610
66611 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66612 %eax without telling the compiler.
66613
66614 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
66615
66616 [BZ # 13963]
66617 * manual/install.texi: Use sourceware.org.
66618
66619 2012-04-09 Joseph Myers <joseph@codesourcery.com>
66620
66621 [BZ #13873]
66622 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66623 (__ieee754_pow): Generate overflow and underflow using huge*huge
66624 and tiny*tiny rather than just returning constant infinity or zero
66625 for large exponents.
66626 * math/libm-test.inc (pow_test): Require overflow exceptions for
66627 applicable cases of large exponents.
66628
66629 [BZ #706]
66630 * sysdeps/i386/fpu/e_pow.S (p10): New object.
66631 (__ieee754_pow): Use iterative multiplication algorithm only for
66632 integer exponents with absolute value below 1024. Check for odd
66633 integer exponents when using algorithm for real exponents.
66634 * math/libm-test.inc (pow_test): Add more tests.
66635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66636
66637 2012-04-08 Joseph Myers <joseph@codesourcery.com>
66638
66639 [BZ #13705]
66640 * math/libm-test.inc (exp_test): Do not allow overflow exception
66641 on underflow test.
66642
66643 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
66644
66645 [BZ #13705]
66646 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66647 instead of __kernel_standard_f.
66648
66649 2012-04-08 Mike Frysinger <vapier@gentoo.org>
66650
66651 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66652 * sysdeps/x86_64/memset_chk.S: Likewise.
66653
66654 2012-04-08 Andreas Jaeger <aj@suse.de>
66655
66656 [BZ #10153]
66657 * manual/startup.texi (Environment Access): Describe return value
66658 for putenv and setenv.
66659
66660 [BZ #6895]
66661 * manual/filesys.texi (Directory Entries): Add description for
66662 DT_LNK.
66663
66664 [BZ #6890]
66665 * manual/filesys.texi (Directory Entries): Clarify that it's file
66666 system not operating system in the description of DT_UNKNOWN.
66667
66668 [BZ #6578]
66669 * manual/syslog.texi (closelog): Fix reference, it's openlog.
66670
66671 2012-04-08 Stephen Compall <s11@member.fsf.org>
66672
66673 [BZ #6649]
66674 * manual/llio.texi (Opening and Closing Files): Add cross
66675 reference to explain mode argument.
66676
66677 2012-04-07 Mike Frysinger <vapier@gentoo.org>
66678
66679 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66680 * sysdeps/x86_64/memset_chk.S: Likewise.
66681
66682 2012-04-07 David S. Miller <davem@davemloft.net>
66683
66684 * elf/elf.h (R_SPARC_WDISP10): Define.
66685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66686 R_SPARC_SIZE32.
66687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66688 R_SPARC_SIZE64 and R_SPARC_H34.
66689
66690 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
66691
66692 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66693 conditions and remove no longer applicable assertion.
66694
66695 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
66696
66697 * bits/byteswap.h: Include <features.h>.
66698 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66699 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66700
66701 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
66702
66703 * bits/byteswap.h (__bswap_16): Removed.
66704 Include <bits/byteswap-16.h> to get __bswap_16.
66705 * sysdeps/i386/bits/byteswap.h: Likewise.
66706 * sysdeps/s390/bits/byteswap.h: Likewise.
66707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66708 * bits/byteswap-16.h: New file.
66709 * sysdeps/i386/bits/byteswap-16.h: Likewise.
66710 * sysdeps/s390/bits/byteswap-16.h: Likewise.
66711 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66712 * string/Makefile (headers): Add bits/byteswap-16.h.
66713
66714 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
66715
66716 [BZ #13895]
66717 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66718 extra indirection.
66719 * nss/Makefile (tests-static, tests): Add tst-nss-static.
66720 * nss/tst-nss-static.c: New.
66721
66722 2012-04-06 Robert Millan <rmh@gnu.org>
66723
66724 [BZ #6486]
66725 * manual/llio.texi (File Position Primitive): lseek
66726 refers to WHENCE when it really means OFFSET.
66727
66728 2012-04-06 Andreas Jaeger <aj@suse.de>
66729
66730 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66731 strncmp declarations.
66732
66733 * abilist/libc.abilist: Add __poll and __ppoll.
66734
66735 2012-04-05 David S. Miller <davem@davemloft.net>
66736
66737 * scripts/check-local-headers.sh: Accept a host triplet in the
66738 path matched by the exclude regexp.
66739
66740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66741 definition.
66742 * sysdeps/powerpc/powerpc32/dl-machine.h
66743 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66744 * sysdeps/s390/s390-32/dl-machine.h
66745 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66746 * sysdeps/sparc/sparc32/dl-machine.h
66747 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66748 * sysdeps/sparc/sparc64/dl-machine.h
66749 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66750
66751 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66752 lazy binding.
66753 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66754 undefined symbol errors.
66755
66756 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66757 DT_NEEDED entries.
66758
66759 2012-04-05 Michael Matz <matz@suse.de>
66760
66761 [BZ #13592]
66762 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66763
66764 2012-04-05 Andreas Jaeger <aj@suse.de>
66765
66766 [BZ #13908]
66767 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66768 comment.
66769
66770 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66771
66772 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66773 which ROUND is no valid rounding mode.
66774
66775 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66776
66777 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66778 read again.
66779 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66780
66781 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66782
66783 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66784 an exception using FPU order intentionally.
66785
66786 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66787
66788 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66789 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66790 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66791 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66792
66793 2012-04-05 Simon Josefsson <simon@josefsson.org>
66794
66795 [BZ #12340]
66796 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66797 EINVAL when BUFLEN is too smal.
66798
66799 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
66800
66801 [BZ #13553]
66802 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66803 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66804
66805 2012-04-03 Andreas Jaeger <aj@suse.de>
66806
66807 [BZ #13938]
66808 * manual/setjmp.texi (System V contexts): Fix sentence.
66809
66810 [BZ #13926]
66811 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66812 New macro for this case.
66813 [!__GNUC__] (__bswap_64): New inline function for this case.
66814 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66815 * bits/byteswap.h: Likewise.
66816 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66817 ull, guard with __GLIBC_HAVE_LONG_LONG.
66818
66819 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66820 __GLIBC_HAVE_LONG_LONG.
66821
66822 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66823 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66824
66825 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66826
66827 [BZ #13691]
66828 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66829 inptr and inend, rather than using last_ch.
66830
66831 2012-04-02 David S. Miller <davem@davemloft.net>
66832
66833 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66834 * stdio-common/printf-parse.h (read_int): Change return type to
66835 'int', return -1 on INT_MAX overflow.
66836 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66837 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
66838 overflows INT_MAX. Check for overflow of in-format-string precision
66839 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
66840 SIZE_MAX not INT_MAX for integer overflow test.
66841 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66842 skip the construct in the format string but do not record anything.
66843 * stdio-common/bug22.c: Adjust to test both width/prevision
66844 INT_MAX overflow as well as total length INT_MAX overflow. Check
66845 explicitly for proper errno values.
66846
66847 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
66848
66849 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66850 CHAR_MAX.
66851 * string/test-strcmp.c [! WIDE]: Likewise.
66852 * time/tst-mktime2.c: Likewise for INT_MAX.
66853 * string/test-string.h: #include <sys/param.h> for MIN.
66854
66855 * csu/init-first.c (__libc_init_first): Call __ctype_init.
66856 * sysdeps/i386/init-first.c (init): Likewise.
66857 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66858 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66859 * sysdeps/sh/init-first.c (init): Likewise.
66860
66861 2012-04-01 Ulrich Drepper <drepper@gmail.com>
66862
66863 * po/ru.po: Update from translation team.
66864 * po/vi.po: Likewise.
66865
66866 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
66867
66868 * resolv/nss_dns/dns-host.c: Merge copyright years.
66869
66870 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66871
66872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66873 Optimize memcpy with prefetch if
66874 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
66875 src, dst pointers have unequal 16 byte alignments.
66876
66877 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
66878
66879 [BZ #13928]
66880 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66881 from a CNAME entry and return the minimum ttl for the query.
66882 (gaih_getanswer_slice): Likewise.
66883
66884 2012-03-30 Jeff Law <law@redhat.com>
66885
66886 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66887 due to long keys.
66888 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66889 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66890
66891 * resolv/nss_dns/dns-host.c: Update copyright year.
66892
66893 2012-03-30 Ulrich Drepper <drepper@gmail.com>
66894
66895 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66896 requests to save a system call. Fix check that all bytes are sent.
66897
66898 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66899 comments for sendmmsg.
66900
66901 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66902
66903 [BZ #13691]
66904 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66905 with only 1 character between 0x0041 and 0x01b0.
66906 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66907 * wcsmbs/tst-mbsnrtowcs.c: New file.
66908
66909 2012-03-29 David S. Miller <davem@davemloft.net>
66910
66911 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66912 small copies by hand.
66913
66914 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66915
66916 [BZ #13761]
66917 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66918 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66919 group memberships.
66920
66921 2012-03-28 David S. Miller <davem@davemloft.net>
66922
66923 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66924 that branches into memcpy.
66925 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66928 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66929 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66930 bits.
66931 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66932 implementation too.
66933 * sysdeps/sparc/mempcpy.S: New file.
66934
66935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66936 the IFUNC routine in the libc case.
66937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66938
66939 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66940 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66941 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66942 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66943 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66944 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66945 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66946 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66947
66948 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66949 loop to 256 bytes instead of 64 bytes and fix test signedness.
66950
66951 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66952 * sysdeps/sparc/sparc32/Makefile: rather than here...
66953 * sysdeps/sparc/sparc64/Makefile: and here.
66954
66955 2012-03-28 Ulrich Drepper <drepper@gmail.com>
66956
66957 * malloc/mallocbug.c: Avoid warnings about unused variables.
66958
66959 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66960
66961 [BZ #13760]
66962 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66963 in the right place. Discard and retry query if response is
66964 larger than input buffer size.
66965
66966 2012-03-28 Joseph Myers <joseph@codesourcery.com>
66967
66968 [BZ #369]
66969 [BZ #2678]
66970 [BZ #3866]
66971 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66972 x for large integer exponent.
66973 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66974 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
66975 sign of result as needed afterwards.
66976 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66977 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66978 result for underflowing pow the same as for overflow.
66979 (__kernel_standard_l): Handle powl overflow and underflow here
66980 rather than calling __kernel_standard.
66981 * math/libm-test.inc (pow_test): Add more tests.
66982
66983 [BZ #3868]
66984 [BZ #13879]
66985 [BZ #13910]
66986 [BZ #13911]
66987 [BZ #13912]
66988 [BZ #13913]
66989 [BZ #13915]
66990 [BZ #13916]
66991 [BZ #13917]
66992 [BZ #13918]
66993 [BZ #13919]
66994 [BZ #13920]
66995 [BZ #13921]
66996 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66997 * sysdeps/ieee754/k_standard.c: Include <float.h>.
66998 (__kernel_standard_l): New function.
66999 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67000 __kernel_standard.
67001 * math/w_acosl.c (__acosl): Likewise.
67002 * math/w_asinl.c (__asinl): Likewise.
67003 * math/w_atan2l.c (__atan2l): Likewise.
67004 * math/w_atanhl.c (__atanhl): Likewise.
67005 * math/w_coshl.c (__coshl): Likewise.
67006 * math/w_exp10l.c (__exp10l): Likewise.
67007 * math/w_exp2l.c (__exp2l): Likewise.
67008 * math/w_fmodl.c (__fmodl): Likewise.
67009 * math/w_hypotl.c (__hypotl): Likewise.
67010 * math/w_j0l.c (__j0l, __y0l): Likewise.
67011 * math/w_j1l.c (__j1l, __y1l): Likewise.
67012 * math/w_jnl.c (__jnl, __ynl): Likewise.
67013 * math/w_lgammal.c (__lgammal): Likewise.
67014 * math/w_log10l.c (__log10l): Likewise.
67015 * math/w_log2l.c (__log2l): Likewise.
67016 * math/w_logl.c (__logl): Likewise.
67017 * math/w_powl.c (__powl): Likewise.
67018 * math/w_remainderl.c (__remainderl): Likewise.
67019 * math/w_scalbl.c (sysv_scalbl): Likewise.
67020 * math/w_sinhl.c (__sinhl): Likewise.
67021 * math/w_sqrtl.c (__sqrtl): Likewise.
67022 * math/w_tgammal.c (__tgammal): Likewise.
67023 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67024 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67025 * math/libm-test.inc (acos_test): Add more tests.
67026 (acosh_test): Likewise.
67027 (asin_test): Likewise.
67028 (atanh_test): Likewise.
67029 (exp_test): Likewise.
67030 (exp10_test): Likewise.
67031 (exp2_test): Likewise.
67032 (expm1_test): Likewise.
67033 (lgamma_test): Likewise.
67034 (log_test): Likewise.
67035 (log10_test): Likewise.
67036 (log1p_test): Likewise.
67037 (log2_test): Likewise.
67038 (pow_test): Do not allow some spurious overflow exceptions.
67039 (sqrt_test): Add more tests.
67040 (tgamma_test): Likewise.
67041 (y0_test): Likewise.
67042 (y1_test): Likewise.
67043 (yn_test): Likewise.
67044
67045 2012-03-27 Anton Blanchard <anton@samba.org>
67046
67047 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67048 MAP_HUGETLB.
67049 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67050 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67051 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67052
67053 2012-03-27 David S. Miller <davem@davemloft.net>
67054
67055 * conform/Makefile: Run run-conformtest.sh using $(BASH).
67056
67057 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67058 have-as-vis3 check.
67059
67060 2012-03-27 Andreas Jaeger <aj@suse.de>
67061
67062 * sysdeps/x86_64/elf/configure.in: Moved to ...
67063 * sysdeps/x86_64/configure.in: ... here.
67064 * sysdeps/x86_64/elf/start.S: Moved to ...
67065 * sysdeps/x86_64/start.S: ... here.
67066 * sysdeps/x86_64/elf/configure: Delete.
67067
67068 * sysdeps/x86_64/configure.in: Merge contents from
67069 sysdeps/i386/configure.in (without i686 check).
67070
67071 * sysdeps/i386/elf/Versions: Merge into ...
67072 * sysdeps/i386/Versions: ... this.
67073 * sysdeps/i386/elf/Versions: Delete file.
67074 * sysdeps/i386/elf/start.S: Moved to ...
67075 * sysdeps/i386/start.S: ...here.
67076 * sysdeps/i386/elf/configure.in: Merge into...
67077 * sysdeps/i386/configure.in: ...here.
67078 * sysdeps/i386/elf/configure.in: Delete file.
67079 * sysdeps/i386/elf/configure: Delete file.
67080
67081 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67082 * debug/backtracesyms.c: ... here.
67083 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67084 * debug/backtracesymsfd.c: ... here.
67085 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67086 * sysdeps/generic/ifunc-sel.h: ... here.
67087
67088 * sysdeps/unix/i386/start.c: Delete file.
67089 * sysdeps/unix/sparc/start.c: Delete file.
67090 * sysdeps/unix/start.c: Delete file.
67091
67092 * sysdeps/sh/elf/configure.in: Moved to ...
67093 * sysdeps/sh/configure.in: ... here.
67094 * sysdeps/sh/elf/start.S: Moved to ...
67095 * sysdeps/sh/start.S: ... here.
67096 * sysdeps/sh/elf/configure: Delete file.
67097
67098 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67099 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67100 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67101 * sysdeps/powerpc/powerpc64/entry.h: ... here.
67102 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67103 * sysdeps/powerpc/powerpc64/start.S: here.
67104 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67105 * sysdeps/powerpc/powerpc64/Makefile: ... this.
67106 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67107 * sysdeps/powerpc/powerpc64/configure.in: ... this.
67108 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67109
67110 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67111 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67112 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67113 * sysdeps/powerpc/powerpc32/start.S: ... here.
67114 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67115 * sysdeps/powerpc/powerpc32/configure.in: ... this.
67116 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67117
67118 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67119 * sysdeps/powerpc/ifunc-sel.h: ... here.
67120 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67121 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67122
67123 * sysdeps/sparc/elf/configure.in: Moved to ...
67124 * sysdeps/sparc/configure.in: ... here.
67125 * sysdeps/sparc/elf/configure: Delete file.
67126 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67127 * sysdeps/sparc/sparc32/start.S: ... here.
67128 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67129 * sysdeps/sparc/sparc64/start.S: ... here.
67130 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67131 * sysdeps/sparc/sparc32/Makefile: ... this.
67132 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67133 * sysdeps/sparc/sparc64/Makefile: ... this.
67134
67135 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67136 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67137 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67138 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67139 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67140 * sysdeps/s390/s390-32/setjmp.S: ... here.
67141 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67142 * sysdeps/s390/s390-32/configure.in: ... here.
67143 * sysdeps/s390/s390-32/elf/configure: Delete file.
67144 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67145 * sysdeps/s390/s390-32/start.S: ... here.
67146
67147 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67148 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67149 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67150 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67151 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67152 * sysdeps/s390/s390-64/setjmp.S: ... here.
67153 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67154 * sysdeps/s390/s390-64/configure.in: ... here
67155 * sysdeps/s390/s390-64/elf/configure: Delete file.
67156 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67157 * sysdeps/s390/s390-64/start.S: ... here.
67158 * sysdeps/s390/s390-64/elf/configure: Delete.
67159
67160 * configure.in: Remove support for elf directories in sysdeps.
67161
67162 * configure: Regenerated.
67163 * sysdeps/i386/configure: Regenerated.
67164 * sysdeps/powerpc/powerpc32/configure: Regenerated.
67165 * sysdeps/powerpc/powerpc64/configure: Regenerated.
67166 * sysdeps/s390/s390-32/configure: Regenerated.
67167 * sysdeps/s390/s390-64/configure: Regenerated.
67168 * sysdeps/sh/configure: Regenerated.
67169 * sysdeps/sparc/configure: Regenerated.
67170 * sysdeps/x86_64/configure: Regenerated.
67171
67172 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
67173
67174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67175
67176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67177 denormal result into account.
67178
67179 2012-03-25 Roland McGrath <roland@hack.frob.com>
67180
67181 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67182 Reported by Allan McRae <allan@archlinux.org>.
67183
67184 2012-03-23 Jeff Law <law@redhat.com>
67185
67186 * nss/getnssent.c (__nss_getent): Fix typo.
67187
67188 2012-03-23 David S. Miller <davem@davemloft.net>
67189
67190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67191
67192 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
67193
67194 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67195 to pad to uint64_t for each field.
67196 (dl_tls_index): Replace unsigned long with uint64_t.
67197
67198 2012-03-23 Daniel Jacobowitz <dmj@google.com>
67199 Paul Pluzhnikov <ppluzhnikov@google.com>
67200
67201 [BZ #6528]
67202 * grp/Makefile (otherlibs): Don't set it.
67203 * inet/Makefile (otherlibs): Likewise.
67204 * login/Makefile (otherlibs): Likewise.
67205 * nscd/Makefile (otherlibs): Likewise.
67206 * posix/Makefile (otherlibs): Likewise.
67207 * pwd/Makefile (otherlibs): Likewise.
67208 * rt/Makefile (otherlibs): Likewise.
67209 * sunrpc/Makefile (otherlibs): Likewise.
67210 * nss/Makefile (otherlibs): Likewise.
67211 Add libnss_files to routines and static-only-routines.
67212 ($(objpfx)getent): Remove rule.
67213 * resolv/Makefile: Add libnss_dns and libresolv to routines and
67214 static-only-routines.
67215
67216 2012-03-22 Joseph Myers <joseph@codesourcery.com>
67217
67218 [BZ #13892]
67219 * math/s_cexp.c: Include <float.h>.
67220 (__cexp): Handle exp result overflowing not necessarily
67221 overflowing both real and imaginary parts of result.
67222 * math/s_cexpf.c: Likewise.
67223 * math/s_cexpl.c: Likewise.
67224 * math/libm-test.inc (cexp_test): Add more tests.
67225 * sysdeps/i386/fpu/libm-test-ulps: Update.
67226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67227
67228 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67229
67230 * include/link.h (ELFW): New macro.
67231 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67232 Replace ELF64_R_TYPE with ELFW(R_TYPE).
67233
67234 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67235
67236 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67237 with uint64_t.
67238
67239 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67240
67241 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67242 declaration.
67243 (struct La_x32_retval): Likewise.
67244
67245 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67246
67247 * sysdeps/x86_64/preconfigure.in: New file.
67248 * sysdeps/x86_64/preconfigure: New generated file.
67249
67250 2012-03-22 Joseph Myers <joseph@codesourcery.com>
67251
67252 [BZ #13824]
67253 * math/e_exp2l.c: Include <float.h>.
67254 (__ieee754_exp2l): Handle overflow and underflow cases
67255 separately. Only pass fractional part of argument to
67256 __ieee754_expl.
67257 * math/libm-test.inc (exp2_test): Add more tests.
67258
67259 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67260 negating x to take absolute value.
67261 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67262 Likewise.
67263 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67264 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67265 Likewise.
67266 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67267 computing low part if x was negated.
67268 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67269
67270 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67271
67272 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67273 la_x32_gnu_pltexit.
67274 (pltexit): Cast int_retval to ptrdiff_t.
67275 * elf/tst-auditmod3b.c: Likewise.
67276 * elf/tst-auditmod4b.c: Likewise.
67277 * elf/tst-auditmod5b.c: Likewise.
67278 * elf/tst-auditmod6b.c: Likewise.
67279 * elf/tst-auditmod6c.c: Likewise.
67280 * elf/tst-auditmod7b.c: Likewise.
67281
67282 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67283 and x32_gnu_pltexit.
67284
67285 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67286 __ELF_NATIVE_CLASS.
67287 (La_x32_regs): New macro.
67288 (La_x32_retval): Likewise.
67289 (la_x32_gnu_pltenter): New function prototype.
67290 (la_x32_gnu_pltexit): Likewise.
67291
67292 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
67293
67294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67295 exponent.
67296
67297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67298
67299 * configure.in (libc_cv_cc_nofma): Check for option to disable
67300 generation of FMA instructions.
67301 * configure: Regenerate.
67302 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67303 * sysdeps/ieee754/dbl-64/Makefile: New file.
67304 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67305 Remove brandred-fma4.
67306 (CFLAGS-brandred-fma4.c): Remove.
67307 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67308 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67309 define.
67310 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67311 define.
67312
67313 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67314
67315 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67316 LLONG_MAX != LONG_MAX.
67317 (_itoa_word): Use _ITOA_WORD_TYPE on value.
67318 (_fitoa_word): Likewise.
67319 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67320 LLONG_MAX != LONG_MAX.
67321 * stdio-common/_itowa.h: Include <_itoa.h>.
67322 (_itowa_word): Use _ITOA_WORD_TYPE on value.
67323 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
67324 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
67325 only if not defined.
67326 (_ITOA_WORD_TYPE): Likewise.
67327 (_itoa_word): Use _ITOA_WORD_TYPE on value.
67328 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67329
67330 2012-03-21 David S. Miller <davem@davemloft.net>
67331
67332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67333
67334 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67335
67336 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67337 of x86_64 when setting libc_cv_slibdir, libdir and
67338 libc_cv_localedir.
67339 * sysdeps/unix/sysv/linux/configure: Regenerated.
67340
67341 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67342
67343 * manual/lang.texi (Old Varargs): Remove section.
67344 (How Variadic): Update menu.
67345 (va_start): Do not mention varargs.h.
67346
67347 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
67348 Joseph Myers <joseph@codesourcery.com>
67349
67350 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67351 link test.
67352 * configure: Regenerated.
67353
67354 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
67355
67356 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67357 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67358 conformtest.pl
67359
67360 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67361
67362 * NOTES: Remove.
67363 * Makefile (files-for-dist): Remove NOTES.
67364 (NOTES): Remove rule.
67365 * README: Don't refer to NOTES.
67366 * manual/creature.texi: Don't include macros.texi.
67367 * manual/intro.texi (creature.texi): Remove comment referring to
67368 NOTES.
67369
67370 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67371 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67372 * configure: Regenerated.
67373 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67374 LIBC_TRY_CC_OPTION.
67375 (libc_cv_as_i686): Likewise.
67376 (libc_cv_cc_avx): Likewise.
67377 (libc_cv_cc_sse2avx): Likewise.
67378 (libc_cv_cc_fma4): Likewise.
67379 (libc_cv_cc_novzeroupper): Likewise.
67380 * sysdeps/i386/configure: Regenerated.
67381
67382 [BZ #13883]
67383 * sysdeps/i386/fpu/s_cexp.S: Remove.
67384 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67385 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67386 * math/libm-test.inc (cexp_test): Add more tests.
67387 * sysdeps/i386/fpu/libm-test-ulps: Update.
67388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67389
67390 2012-03-21 Allan McRae <allan@archlinux.org>
67391
67392 * timezone/Makefile: Do not install iso3166.tab and zone.tab
67393
67394 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67395
67396 [BZ #13871]
67397 * math/w_exp2.c: Do not include <float.h>.
67398 (o_threshold, u_threshold): Remove.
67399 (__exp2): Calculate result before checking finiteness and calling
67400 __kernel_standard.
67401 * math/w_exp2f.c: Likewise.
67402 * math/w_exp2l.c: Likewise.
67403 * math/libm-test.inc (exp2_test): Require overflow exception for
67404 1e6 input.
67405
67406 [BZ #3866]
67407 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67408 range of signed 64-bit integers before using fistpll. Remove
67409 checks for whether integers fit in mantissa bits.
67410 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67411 the range of signed 32-bit integers before using fistpl. Remove
67412 checks for whether integers fit in mantissa bits.
67413 * sysdeps/i386/fpu/e_powl.S (p64): New object.
67414 (__ieee754_powl): Test for y outside the range of signed 64-bit
67415 integers before using fistpll. Reduce 64-bit values to 63-bit
67416 ones as needed.
67417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67418 divide-by-zero is raised for zero to large negative powers.
67419 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67420 (__ieee754_powl): Test for y outside the range of signed 64-bit
67421 integers before using fistpll. Reduce 64-bit values to 63-bit
67422 ones as needed.
67423 * math/libm-test.inc (pow_test): Add more tests.
67424
67425 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67426
67427 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67428 <stdio-common/_itoa.h>.
67429 * debug/segfault.c: Likewise.
67430 * elf/dl-cache.c: Likewise.
67431 * elf/dl-minimal.c: Likewise.
67432 * elf/dl-misc.c: Likewise.
67433 * elf/dl-sysdep.c: Likewise.
67434 * elf/dl-version.c: Likewise.
67435 * elf/rtld.c: Likewise.
67436 * hurd/hurdsock.c: Likewise.
67437 * hurd/lookup-retry.c: Likewise.
67438 * malloc/malloc.c: Likewise.
67439 * malloc/mtrace.c: Likewise.
67440 * nscd/nscd_getgr_r.c: Likewise.
67441 * nscd/nscd_getpw_r.c: Likewise.
67442 * nscd/nscd_getserv_r.c: Likewise.
67443 * posix/getopt_init.c: Likewise.
67444 * posix/wordexp.c: Likewise.
67445 * stdio-common/_itoa.c: Likewise.
67446 * stdio-common/printf_fphex.c: Likewise.
67447 * stdio-common/vfprintf.c: Likewise.
67448 * string/_strerror.c: Likewise.
67449 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67450 * sysdeps/i386/i686/hp-timing.h: Likewise.
67451 * sysdeps/mach/_strerror.c: Likewise.
67452 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67453 * sysdeps/mach/hurd/sethostid.c: Likewise.
67454 * sysdeps/mach/hurd/xmknodat.c: Likewise.
67455 * sysdeps/mach/xpg-strerror.c: Likewise.
67456 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67457 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67458 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67459 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67460 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67461 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67462 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67463 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67464 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67465 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67466 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67467 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67468 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67469 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67470 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67471 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67472 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67473 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67474 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67475 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67476 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67477
67478 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67479
67480 * stdio-common/_itoa.h: Moved to ...
67481 * sysdeps/generic/_itoa.h: Here.
67482
67483 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67484
67485 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67486 instead of "_itoa.h" and "_itowa.h".
67487 * stdio-common/vfprintf.: Likewise.
67488
67489 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67490
67491 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67492 <bits/wordsize.h>.
67493 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67494 (__signbit): Likwise.
67495 (llrintf): Likwise.
67496 (llrint): Likwise.
67497
67498 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67499
67500 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67501 __WORDSIZE != 64.
67502
67503 2012-03-20 Joseph Myers <joseph@codesourcery.com>
67504
67505 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67506 OVERFLOW_EXCEPTION_OK.
67507 * math/libm-test.inc ("Philosophy"): Update comment about
67508 exception testing.
67509 (OVERFLOW_EXCEPTION): Define.
67510 (OVERFLOW_EXCEPTION_OK): Likewise.
67511 (INVALID_EXCEPTION_OK): Renumber.
67512 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67513 (IGNORE_ZERO_INF_SIGN): Likewise.
67514 (test_exceptions): Handle FE_OVERFLOW.
67515 (exp10_test): Expect overflow exceptions.
67516 (exp2_test): Likewise.
67517 (expm1_test): Likewise.
67518 (nextafter_test): Likewise.
67519 (pow_test): Likewise.
67520 (scalbn_test): Likewise.
67521 (scalbln_test): Likewise.
67522
67523 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67524
67525 * sysdeps/x86_64/bits/atomic.h
67526 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67527 64bit integer.
67528 (atomic_exchange_acq): Likewise.
67529 (__arch_exchange_and_add_body): Likewise.
67530 (__arch_add_body): Likewise.
67531 (atomic_add_negative): Likewise.
67532 (atomic_add_zero): Likewise.
67533
67534 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67535
67536 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67537 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67538
67539 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67540
67541 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67542 Check __x86_64__ instead of __WORDSIZE.
67543
67544 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67545
67546 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67547
67548 2012-03-19 David S. Miller <davem@davemloft.net>
67549
67550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67551
67552 * sysdeps/sparc/fpu/fenv_private.h: New file.
67553 * sysdeps/sparc/fpu/math_private.h: Use it.
67554 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67555 Remove.
67556 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67557 (libc_feholdexcept_setroundl): Remove.
67558 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67559 Remove.
67560 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67561 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67562
67563 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67564
67565 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67566 int64_t instead of long int.
67567 (INSERT_WORDS64): Likwise.
67568
67569 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67570
67571 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67572 _Unwind_GetCFA return to _Unwind_Ptr first.
67573
67574 2012-03-19 Joseph Myers <joseph@codesourcery.com>
67575
67576 [BZ #13629]
67577 * math/s_clog.c: Include <float.h>.
67578 (__clog): Scale large or subnormal inputs.
67579 * math/s_clogf.c: Likewise.
67580 * math/s_clogl.c: Likewise.
67581 * math/s_clog10.c: Include <float.h>.
67582 (M_LOG10_2): Define.
67583 (__clog10): Scale large or subnormal inputs.
67584 * math/s_clog10f.c: Likewise.
67585 * math/s_clog10l.c: Likewise.
67586 * math/libm-test.inc (clog_test): Add more tests.
67587 (clog10_test): Likewise.
67588 * sysdeps/i386/fpu/libm-test-ulps: Update.
67589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67590
67591 [BZ #11451]
67592 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67593 x and y.
67594 * math/libm-test.inc (atan2_test): Add another test.
67595
67596 * Makerules (common-objdir-compile): Remove.
67597 * sysdeps/unix/Makefile (config-generated): Do not add
67598 $(unix-generated) to variable.
67599 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67600 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67601 Remove rule.
67602 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67603 Likewise.
67604 [generic bits/local_lim.h] (before-compile): Do not append to
67605 variable.
67606 [generic bits/local_lim.h] (common-generated): Likewise.
67607 [generic sys/param.h] (before-compile): Do not append to variable.
67608 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67609 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67610 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67611 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67612 include.
67613 [generic sys/param.h] (sys/param.h-includes): Remove variable.
67614 [generic sys/param.h] (sys/param.h-includes): Remove rule.
67615 [generic sys/param.h] ($(addprefix
67616 $(common-objpfx),$(sys/param.h-includes))): Likewise.
67617 [generic sys/param.h] (common-generated): Do not append to
67618 variable.
67619 [generic sys/param.h] (sysdep_headers): Likewise.
67620 [generic bits/errno.h] (before-compile): Do not append to
67621 variable.
67622 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67623 rule.
67624 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67625 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67626 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67627 [generic bits/errno.h] (common-generated): Do not append to
67628 variable.
67629 [generic bits/ioctls.h] (before-compile): Do not append to
67630 variable.
67631 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67632 rule.
67633 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67634 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67635 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67636 rule.
67637 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67638 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67639 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67640 [generic bits/ioctls.h] (common-generated): Do not append to
67641 variable.
67642 [generic sys/syscall.h] (syscall.h): Remove variable.
67643 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67644 rule.
67645 [generic sys/syscall.h] (before-compile): Do not append to
67646 variable.
67647 [generic sys/syscall.h] (common-generated): Likewise.
67648 * sysdeps/unix/errnos-tmpl.c: Remove file.
67649 * sysdeps/unix/errnos.awk: Likewise.
67650 * sysdeps/unix/ioctls-tmpl.c: Likewise.
67651 * sysdeps/unix/ioctls.awk: Likewise.
67652 * sysdeps/unix/mk-local_lim.c: Likewise.
67653 * sysdeps/unix/snarf-ioctls: Likewise.
67654
67655 2012-03-19 Richard Henderson <rth@twiddle.net>
67656
67657 * sysdeps/i386/fpu/fenv_private.h: New file.
67658 * sysdeps/i386/fpu/math_private.h: Use it.
67659 (math_opt_barrier, math_force_eval): Remove.
67660 (libc_feholdexcept_setround_53bit): Remove.
67661 (libc_feupdateenv_53bit): Remove.
67662 * sysdeps/x86_64/fpu/math_private.h: Likewise.
67663 (math_opt_barrier, math_force_eval): Remove.
67664 (libc_feholdexcept): Remove.
67665 (libc_feholdexcept_setround): Remove.
67666 (libc_fetestexcept, libc_fesetenv): Remove.
67667 (libc_feupdateenv_test): Remove.
67668 (libc_feupdateenv, libc_feholdsetround): Remove.
67669 (libc_feresetround): Remove.
67670
67671 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67672 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67673
67674 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67675 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67676 (libc_feupdateenv_testl): New.
67677 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67678 (libc_feupdateenv_testf): New.
67679 (libc_feupdateenv): Use libc_feupdateenv_test.
67680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67682
67683 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67684 (libc_feholdsetroundf, libc_feholdsetroundl): New.
67685 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67686 (libc_feresetround_noex): New.
67687 (libc_feresetround_noexf): New.
67688 (libc_feresetround_noexl): New.
67689 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67690 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67691 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67692 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67693 SET_RESTORE_ROUND.
67694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67695 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67696 (__cos): Likewise.
67697 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67698 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67699 SET_RESTORE_ROUND_NOEX.
67700 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67701 SET_RESTORE_ROUND_NOEXF.
67702 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67703 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67704 (libc_feholdsetroundf): New.
67705 (libc_feresetround, libc_feresetroundf): New.
67706
67707 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67708 (libc_feholdexcept_setround_53bit): Convert from macro to function.
67709 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
67710
67711 * sysdeps/generic/math_private.h: Include <fenv.h>.
67712 (default_libc_feholdexcept): New.
67713 (default_libc_feholdexcept_setround): New.
67714 (default_libc_fesetenv, default_libc_feupdateenv): New.
67715 (libc_feholdexcept): Only define if undefined.
67716 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67717 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67718 (libc_feholdexcept_setroundl): Likewise.
67719 (libc_feholdexcept_setround_53bit): Likewise.
67720 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67721 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67722 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67723 (libc_feupdateenv_53bit): Likewise.
67724 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67725 (libc_feholdexcept): Convert from macro to inline function.
67726 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67727 (libc_fesetenv, libc_feupdateenv): Likewise.
67728
67729 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67730 not previously defined.
67731 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67732 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67733 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67734 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67735 * sysdeps/ieee754/flt-32/math_private.h: New file.
67736 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67737 math_private.h below SET_FLOAT_WORD.
67738 (__isnan, __isinf_ns, __finite): Remove.
67739 (__isnanf, __isinf_nsf, __finitef): Remove.
67740
67741 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
67742
67743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67744
67745 2012-03-17 David S. Miller <davem@davemloft.net>
67746
67747 [BZ #6471]
67748 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67749 for 2.16.
67750
67751 2012-03-16 David S. Miller <davem@davemloft.net>
67752
67753 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67754 warnings.
67755
67756 [BZ #6471]
67757 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67758 properly.
67759 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67760 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67761 sysdep_routines when subdir is sysvipc.
67762 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67763 __getshmlba helper.
67764
67765 * sysdeps/sparc/fpu/libm-test/ulps: Update.
67766
67767 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67768
67769 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67770 [__LP64__].
67771
67772 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67773
67774 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67775 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67776 (__lround): Renamed to ...
67777 (__llround): This. Replace long int with long long int.
67778 Define lround functions as aliases of llround functions.
67779 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67780
67781 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67782
67783 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67784 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
67785 adresses to uintptr_t. Replace "long int" and "unsigned long
67786 int" with "greg_t" on va_arg.
67787
67788 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67789
67790 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67791 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67792
67793 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67794 Move e_machine check before EI_CLASS check. Handle x32
67795 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67796 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67797 SKIP_EM_IA_64 and include
67798 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67799
67800 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67801 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67802 (add_system_dir): New macro.
67803
67804 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67805 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67806
67807 2012-03-16 Joseph Myers <joseph@codesourcery.com>
67808
67809 [BZ #2551]
67810 [BZ #2552]
67811 [BZ #2553]
67812 [BZ #2554]
67813 [BZ #2562]
67814 [BZ #2563]
67815 [BZ #2565]
67816 [BZ #2566]
67817 [BZ #2576]
67818 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67819 (y0): Likewise.
67820 * math/w_j0f.c (j0f): Likewise.
67821 (y0f): Likewise.
67822 * math/w_j0l.c (__j0l): Likewise.
67823 (__y0l): Likewise.
67824 * math/w_j1.c (j1): Likewise.
67825 (y1): Likewise.
67826 * math/w_j1f.c (j1f): Likewise.
67827 (y1f): Likewise.
67828 * math/w_j1l.c (__j1l): Likewise.
67829 (__y1l): Likewise.
67830 * math/w_jn.c (jn): Likewise.
67831 (yn): Likewise.
67832 * math/w_jnf.c (jnf): Likewise.
67833 (ynf): Likewise.
67834 * math/w_jnl.c (__jnl): Likewise.
67835 (__ynl): Likewise.
67836 * math/libm-test.inc (j0_test): Add more tests.
67837 (j1_test): Likewise.
67838 (jn_test): Likewise. Add trailing semicolon to existing test.
67839 (y0_test): Likewise.
67840 (y1_test): Likewise.
67841 * sysdeps/i386/fpu/libm-test-ulps: Update.
67842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67843
67844 [BZ #13851]
67845 [BZ #13854]
67846 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67847 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67848 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67850 (__tanl): Set errno for infinite argument.
67851 * sysdeps/i386/fpu/mptan.c: Remove.
67852 * sysdeps/i386/fpu/s_tan.S: Likewise.
67853 * sysdeps/i386/fpu/s_tanl.S: Likewise.
67854 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67855 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67856 * math/libm-test.inc (tan_test): Add more tests and enable more
67857 tests for double and long double.
67858 * sysdeps/i386/fpu/libm-test-ulps: Update.
67859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67860
67861 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
67862
67863 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67864 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67865
67866 2012-03-16 Roland McGrath <roland@hack.frob.com>
67867
67868 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67869 * configure.in: Use it for both main tree and add-ons.
67870 * configure: Regenerated.
67871
67872 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67873
67874 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67875
67876 2012-03-16 Joseph Myers <joseph@codesourcery.com>
67877
67878 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67879 in comment.
67880
67881 [BZ #13851]
67882 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67883 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67884 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67885 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67886 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67887 infinite argument.
67888 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67889 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67890 != 0 for prec == 2.
67891 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67892 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67893 * sysdeps/i386/fpu/s_cosl.S: Likewise.
67894 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67895 * sysdeps/i386/fpu/s_sinl.S: Likewise.
67896 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67897 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67898 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67899 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67900 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67901 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67902 * math/libm-test.inc (cos_test): Add more tests and enable more
67903 tests for long double.
67904 (sin_test): Likewise.
67905 (sincos_test): Likewise.
67906 * sysdeps/i386/fpu/libm-test-ulps: Update.
67907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67908
67909 2012-03-16 David S. Miller <davem@davemloft.net>
67910
67911 * sysdeps/sparc/fpu/math_private.h: New file.
67912
67913 2012-03-15 David S. Miller <davem@davemloft.net>
67914
67915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67916 file.
67917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67919 file.
67920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67925 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67926 sysdep routines.
67927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67928
67929 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67930 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67931
67932 * sysdeps/sparc/sparc-ifunc.h: New file.
67933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67934 sparc-ifunc.h
67935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67937 Likewise.
67938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67939 Likewise.
67940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67944 Likewise.
67945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67950 Likewise.
67951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67952 Likewise.
67953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67975 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67977
67978 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
67979
67980 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67981 scaling.
67982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67983
67984 2012-03-15 Andreas Jaeger <aj@suse.de>
67985
67986 [BZ #13852]
67987 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67988 ieee754/flt-32 implementation for sin, cos and sincos.
67989 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67990 * sysdeps/i386/fpu/s_cosf.S: Likewise.
67991 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67992 * sysdeps/i386/fpu/s_sinf.S: Likewise.
67993 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67994 ieee754/flt-32 implementation for tan.
67995
67996 * math/libm-test.inc (cos_test): Enable some large input tests for
67997 float as well
67998 (sin_test): Likewise.
67999 (sincos_test): Likewise.
68000 (tan_test): Add tests for large input.
68001
68002 * sysdeps/i386/fpu/libm-test-ulps: Update.
68003
68004 2012-03-15 Andreas Jaeger <aj@suse.de>
68005
68006 [BZ #13658]
68007 * math/libm-test.inc (cos_test): Add more test cases.
68008 (sin_test): Likewise.
68009 (sincos_test): Likewise.
68010
68011 2012-03-15 Andreas Jaeger <aj@suse.de>
68012
68013 [BZ #13837]
68014 * math/libm-test.inc (cos_test): Add a test case for large input
68015 value.
68016 (sin_test): Likewise.
68017 (sincos_test): Likewise.
68018
68019 2012-03-15 Andreas Jaeger <aj@suse.de>
68020 Joseph Myers <joseph@codesourcery.com>
68021
68022 [BZ #13658]
68023 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68024 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68025 * sysdeps/i386/fpu/branred.c: Likewise.
68026 * sysdeps/i386/fpu/dosincos.c: Likewise.
68027 * sysdeps/i386/fpu/mpa.c: Likewise.
68028 * sysdeps/i386/fpu/s_cos.S: Likewise.
68029 * sysdeps/i386/fpu/s_sin.S: Likewise.
68030 * sysdeps/i386/fpu/s_sincos.S: Likewise.
68031 * sysdeps/i386/fpu/sincos32.c: Likewise.
68032
68033 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68034 Define.
68035 (libc_feupdateenv_53bit): Define.
68036 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68037 Define.
68038 (libc_feupdateenv_53bit): Define.
68039
68040 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68041 53 bit (without extend i386 double precision).
68042
68043 * math/libm-test.inc (sincos_test): Add tests for large input.
68044 (sin): Likewise.
68045 (cos): Likewise.
68046
68047 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68048
68049 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
68050
68051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68052
68053 2012-03-15 David S. Miller <davem@davemloft.net>
68054
68055 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68056 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68057 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68058 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68071 file.
68072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68074 file.
68075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68077 file.
68078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68080 file.
68081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68083 fmin/fmax sysdep routines.
68084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68085
68086 2012-03-14 David S. Miller <davem@davemloft.net>
68087
68088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68092 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68108 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68117 routines.
68118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68119 file.
68120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68122 file.
68123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68125 file.
68126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68128 file.
68129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68131 file.
68132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68134 file.
68135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68136 file.
68137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68138 file.
68139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68140 file.
68141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68142 New file.
68143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68144 file.
68145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68146 file.
68147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68149 file.
68150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68152 file.
68153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68155 file.
68156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68158 VIS3 routines.
68159
68160 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68161 New file.
68162
68163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68164
68165 * sysdeps/sparc/configure.in: New file.
68166 * sysdeps/sparc/configure: Generate.
68167 * configure.in (libc_cv_sparc_as_vis3): Substitute.
68168 * configure: Regenerate.
68169 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68170 * config.make.in (have-as-vis3): New.
68171 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68172 available use -Av9d instead of -Av9a.
68173 * sysdeps/sparc/sparc64/Makefile: Likewise.
68174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68176 New file.
68177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68178 file.
68179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68180 New file.
68181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68182 file.
68183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68188
68189 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68190 fzeros/fnegs to load 0x80000000 into a float register instead of
68191 using the stack.
68192 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68193
68194 2012-03-14 Joseph Myers <joseph@codesourcery.com>
68195
68196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68197 bits/syscall.h.
68198 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68199 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68200 ($(inst_includedir)/bits/syscall.h): Remove rule.
68201 ($(objpfx)bits/syscall.d): Include instead of
68202 $(objpfx)syscall-list.d.
68203 (generated): Change syscall-list.h and syscall-list.d to
68204 bits/syscall.h and bits/syscall.d.
68205
68206 2012-03-14 Roland McGrath <roland@hack.frob.com>
68207
68208 [BZ #13846]
68209 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68210
68211 2012-03-14 Joseph Myers <joseph@codesourcery.com>
68212
68213 [BZ #13841]
68214 * math/s_csqrt.c: Include <float.h>.
68215 (__csqrt): Scale large or subnormal inputs.
68216 * math/s_csqrtf.c: Likewise.
68217 * math/s_csqrtl.c: Likewise.
68218 * math/libm-test.inc (csqrt_test): Add more tests.
68219 * sysdeps/i386/fpu/libm-test-ulps: Update.
68220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68221
68222 [BZ #13840]
68223 * math/libm-test.inc (hypot_test): Add more tests.
68224
68225 2012-03-13 David S. Miller <davem@davemloft.net>
68226
68227 [BZ #13840]
68228 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68229 double-precision for the calculation instead of scaling.
68230
68231 2012-03-13 Joseph Myers <joseph@codesourcery.com>
68232
68233 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68234 manipulate bits before adding and subtracting TWO52[sx].
68235 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68236 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68237 Likewise.
68238 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68239
68240 2012-03-13 David S. Miller <davem@davemloft.net>
68241
68242 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68243 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68244 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68245 rtld-global-offsets.h
68246 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68247
68248 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68249 large parameters.
68250
68251 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68252
68253 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68254 'err' in the ifdef scope in which it is actually used.
68255
68256 * nss/nss_db/db-init.c: Include string.h
68257
68258 2012-03-12 David S. Miller <davem@davemloft.net>
68259
68260 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68261 masking out of the most significant byte of random value used.
68262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68263 Fix coding style in previous change.
68264
68265 * sysdeps/unix/sysv/linux/kernel-features.h
68266 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68267 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68268 expression.
68269 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68270 later.
68271
68272 2012-03-11 David S. Miller <davem@davemloft.net>
68273
68274 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68275 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68276 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68277 for 'resultvar' otherwise things get truncated on 64-bit.
68278
68279 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68280 Fix masking out of the most significant byte of random value used.
68281
68282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68283
68284 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
68285
68286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68287
68288 2012-03-09 David S. Miller <davem@davemloft.net>
68289
68290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68291 variables with appropriate CPP guards.
68292 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68293 from the frame pointer, not the stack pointer. Correct layout
68294 comments. Fix test on resulting framesize and the management of
68295 the outregs buffer for pltexit. Preserve floating point return
68296 values across _dl_call_pltexit call.
68297 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68298 framesize and the management of the outregs buffer for pltexit.
68299 Preserve floating point return values across _dl_call_pltexit
68300 call.
68301 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68302 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68303 (la_sparc64_gnu_pltexit): New functions.
68304 (print_exit): Fix format string for return register value.
68305
68306 2012-03-10 Joseph Myers <joseph@codesourcery.com>
68307
68308 * sunrpc/Makefile (others): Add rpcgen.
68309 ($(objpfx)rpcgen): Remove special build rule and dependency on
68310 libc.
68311 * sunrpc/rpcgen.c: New file.
68312
68313 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
68314
68315 [BZ #13673]
68316 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68317 * stdio-common/bug-vfprintf-nargs.c: Likewise.
68318 * sysdeps/i386/crti.S: Likewise.
68319 * sysdeps/i386/crtn.S: Likewise.
68320 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68321 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68322 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68323 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68324 * sysdeps/sh/crti.S: Likewise.
68325 * sysdeps/sh/crtn.S: Likewise.
68326 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68327
68328 [BZ #13673]
68329 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68330 with URL.
68331 * locale/programs/locfile-kw.gperf: Likewise.
68332 * locale/programs/charmap-kw.h: Regenerated.
68333 * locale/programs/locfile-kw.h: Likewise.
68334
68335 [BZ #13673]
68336 * intl/plural.y: Replace FSF snail mail address with URL.
68337 * intl/plural.c: Regenerated.
68338
68339 2012-03-09 Richard Henderson <rth@twiddle.net>
68340
68341 * include/math_private.h: Remove file.
68342 * math/math_private.h: Move file ...
68343 * sysdeps/generic/math_private.h: ... here.
68344
68345 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68346 * sysdeps/powerpc/fpu/math_private.h: Likewise.
68347 * sysdeps/x86_64/fpu/math_private.h: Likewise.
68348
68349 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68350 and <math_private.h>.
68351 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68352 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68353 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68354 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68355 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68356 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68357 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68359 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68360 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68362 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68363 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68365 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68366 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68368 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68369 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68370 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68372 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68373 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68375 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68376 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68377 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68378 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68381 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68383 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68384 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68385 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68386 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68387 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68388 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68389 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68390 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68391 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68392 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68393 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68394 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68395 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68397 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68398 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68399 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68400 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68401 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68402 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68403 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68404 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68405 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68406 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68407 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68408 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68409 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68410 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68411 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68412 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68414 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68415 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68416 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68417 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68418 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68419 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68420 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68421 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68422 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68423 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68424 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68425 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68430 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68431 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68432 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68433 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68434 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68435 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68438 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68439 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68440 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68441 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68442 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68443 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68445 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68446 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68447 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68448 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68449 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68450 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68451 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68452 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68453 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68454 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68455 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68456 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68457 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68458 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68459 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68460 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68461 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68462 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68463 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68464 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68465 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68466 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68467 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68468 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68469 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68470 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68471 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68472 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68473 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68474 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68475 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68476 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68477 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68478 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68479 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68480 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68481 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68482 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68483 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68484 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68485 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68486 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68487 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68488 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68489 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68490 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68491 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68492 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68493 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68494 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68495 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68496 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68497 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68498 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68499 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68500 * sysdeps/ieee754/k_standard.c: Likewise.
68501 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68502 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68503 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68504 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68505 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68506 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68507 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68508 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68509 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68510 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68511 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68512 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68513 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68514 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68515 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68516 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68518 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68519 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68520 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68521 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68522 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68523 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68524 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68525 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68526 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68527 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68528 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68529 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68530 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68531 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68532 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68533 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68534 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68535 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68536 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68538 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68539 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68540 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68541 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68542 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68543 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68544 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68545 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68546 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68547 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68548 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68549 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68550 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68551 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68552 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68553 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68554 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68555 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68556 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68557 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68558 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68559 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68560 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68561 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68562 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68563 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68564 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68565 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68566 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68567 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68568 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68569 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68570 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68571 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68573 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68574 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68575 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68577 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68578 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68579 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68580 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68581 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68583 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68584 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68585 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68586 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68587 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68588 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68589 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68591 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68592 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68593 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68594 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68595 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68596 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68597 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68598 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68599 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68600 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68602 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68605 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68606 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68607 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68608 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68609 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68610 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68611 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68612 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68617 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68618 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68619 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68620 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68621 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68622 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68623 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68624 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68625 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68626 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68627 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68628 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68629 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68630 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68631 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68632 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68633 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68634 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68635 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68636 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68637 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68638 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68639 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68640 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68641 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68642 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68643 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68644 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68645 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68646 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68647 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68648 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68649 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68650 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68651 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68652 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68654 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68655 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68656 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68657 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68658 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68659 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68660 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68661 * sysdeps/ieee754/s_lib_version.c: Likewise.
68662 * sysdeps/ieee754/s_matherr.c: Likewise.
68663 * sysdeps/ieee754/s_signgam.c: Likewise.
68664 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68665 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68666 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68667 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68668 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68669 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68670 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68671 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68672 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68673 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68674 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68675 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68676 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68677 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68678 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68679 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68680 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68681 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68682 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68685
68686 2012-03-09 Joseph Myers <joseph@codesourcery.com>
68687
68688 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68689 * sunrpc/rpc_main.c: Likewise.
68690 * sunrpc/rpc_svcout.c: Likewise.
68691
68692 2012-03-09 David S. Miller <davem@davemloft.net>
68693
68694 * include/math_private.h: New file.
68695
68696 2012-03-09 Joseph Myers <joseph@codesourcery.com>
68697
68698 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68699 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68700 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68701 from <bits/socket_type.h>.
68702 (enum __socket_type): Don't define here.
68703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68705 bits/socket_type.h.
68706
68707 [BZ #13566]
68708 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68709 checking __USE_GNU.
68710
68711 * Makerules ($(inst_includedir)/%.h): New rule.
68712 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68713 (install-others): Remove variable setting.
68714 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68715
68716 2012-03-08 Richard Henderson <rth@twiddle.net>
68717
68718 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68719 from macro to inline function; merge with the
68720 !__LIBC_INTERNAL_MATH_INLINES version.
68721 (__ieee754_sqrtf): Likewise.
68722
68723 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68724 to inline function.
68725 (__rintf, __floor, __floorf): Likewise.
68726
68727 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68728 macro to inline function.
68729 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68730
68731 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68732 not <math/math_private.h>.
68733
68734 2012-03-08 David S. Miller <davem@davemloft.net>
68735
68736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68737 copyright year.
68738 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68739
68740 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
68741
68742 * resolv/gai_misc.c (handle_requests): Fix struct timespec
68743 normalization.
68744 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68745 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68746
68747 2012-03-08 Ulrich Drepper <drepper@gmail.com>
68748
68749 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
68750 be defined individually, they must be defined as a block. Define
68751 S for printing a string instead of hidint the different by using a
68752 macro for adding the 'l'.
68753 * stdio-common/tst-fphex-wide.c: Adjust.
68754
68755 2012-03-07 Marek Polacek <polacek@redhat.com>
68756
68757 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68758
68759 2012-03-08 Marek Polacek <polacek@redhat.com>
68760
68761 [BZ #13806]
68762 * stdio-common/Makefile (tests): Add tst-fphex-wide.
68763 * stdio-common/tst-fphex.c: Define a few macros to make the
68764 test reusable. Use them.
68765 * stdio-common/tst-fphex-wide.c: New file.
68766
68767 2012-03-08 Joseph Myers <joseph@codesourcery.com>
68768
68769 [BZ #6911]
68770 * manual/macros.texi (gnusystems): New macro.
68771 (nongnusystems): Likewise.
68772 (gnulinuxhurdsystems): Likewise.
68773 (gnuhurdsystems): Likewise..
68774 (gnulinuxsystems): Likewise.
68775 * manual/charset.texi: Use new macros or @theglibc{} to refer to
68776 variants of the GNU system, not "GNU system".
68777 * manual/conf.texi: Likewise.
68778 * manual/errno.texi: Likewise. Update example of errno macro
68779 expansion.
68780 * manual/filesys.texi: Likewise.
68781 (getumask): Document as specific to GNU/Hurd.
68782 * manual/install.texi: Likewise. Reword some references to
68783 GNU/Linux.
68784 * manual/intro.texi: Likewise.
68785 * manual/io.texi: Likewise.
68786 (File Name Portability): Detail which constraints are inapplicable
68787 to all GNU systems and which are only inapplicable to GNU/Hurd.
68788 * manual/job.texi: Likewise.
68789 * manual/llio.texi: Likewise.
68790 (O_NOCTTY): Document as present on GNU/Linux.
68791 * manual/maint.texi: Likewise.
68792 * manual/memory.texi: Likewise.
68793 * manual/pattern.texi: Likewise.
68794 * manual/pipe.texi: Likewise.
68795 * manual/process.texi: Likewise.
68796 * manual/resource.texi: Likewise.
68797 (RUSAGE_CHILDREN): Remove statement about specifying a particular
68798 child on GNU/Hurd.
68799 * manual/setjmp.texi: Likewise.
68800 * manual/signal.texi: Likewise.
68801 * manual/startup.texi: Likewise.
68802 * manual/stdio.texi: Likewise.
68803 * manual/terminal.texi: Likewise.
68804 (ONLCR): Document as POSIX.
68805 (OXTABS): Document availability on GNU/Linux as XTABS.
68806 (ONOEOT): Document availability separately from other bits.
68807 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68808 * manual/time.texi: Likewise.
68809 * manual/users.texi: Likewise.
68810 * INSTALL: Regenerated.
68811 * sysdeps/gnu/errlist.c: Regenerated.
68812
68813 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68814 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68815 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
68816 puts.
68817 * configure: Regenerated.
68818
68819 2012-03-07 Joseph Myers <joseph@codesourcery.com>
68820
68821 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68822 default includes instead of AC_HEADER_CHECK.
68823 * sysdeps/i386/configure: Regenerated.
68824
68825 [BZ #10716]
68826 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68827 * math/s_cacoshf.c (__cacoshf): Likewise.
68828 * math/s_cacoshl.c (__cacoshl): Likewise.
68829 * math/s_casinh.c (__casinh): Set signs of result from argument.
68830 * math/s_casinhf.c (__casinhf): Likewise.
68831 * math/s_casinhl.c (__casinhl): Likewise.
68832 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68833 (casinh_test): Add more tests.
68834 * sysdeps/i386/fpu/libm-test-ulps: Update.
68835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68836
68837 2012-03-07 Ulrich Drepper <drepper@gmail.com>
68838
68839 * po/zh_TW.po: Update from translation team.
68840
68841 * login/Makefile (distribute): Remove variable.
68842 * catgets/Makefile: Likewise.
68843 * mach/Makefile: Likewise.
68844 * malloc/Makefile: Likewise.
68845 * misc/Makefile: Likewise.
68846 * iconv/Makefile: Likewise.
68847 * nscd/Makefile: Likewise.
68848 * hurd/Makefile: Likewise.
68849 * manual/Makefile: Likewise.
68850 * locale/Makefile: Likewise.
68851 * intl/Makefile: Likewise.
68852 * conform/Makefile: Likewise.
68853 * nss/Makefile: Likewise.
68854 * time/Makefile: Likewise.
68855 * soft-fp/Makefile: Likewise.
68856 * dirent/Makefile: Likewise.
68857 * gmon/Makefile: Likewise.
68858 * po/Makefile: Likewise.
68859 * rt/Makefile: Likewise.
68860 * socket/Makefile: Likewise.
68861 * math/Makefile: Likewise.
68862 * signal/Makefile: Likewise.
68863 * debug/Makefile: Likewise.
68864 * elf/Makefile: Likewise.
68865 * timezone/Makefile: Likewise.
68866 * stdlib/Makefile: Likewise.
68867 * iconvdata/Makefile: Likewise.
68868 * sunrpc/Makefile: Likewise.
68869 * io/Makefile: Likewise.
68870 * argp/Makefile: Likewise.
68871 * inet/Makefile: Likewise.
68872 * hesiod/Makefile: Likewise.
68873 * grp/Makefile: Likewise.
68874 * csu/Makefile: Likewise.
68875 * wctype/Makefile: Likewise.
68876 * crypt/Makefile: Likewise.
68877 * libio/Makefile: Likewise.
68878 * string/Makefile: Likewise.
68879 * nis/Makefile: Likewise.
68880 * resolv/Makefile: Likewise.
68881 * stdio-common/Makefile: Likewise.
68882 * wcsmbs/Makefile: Likewise.
68883 * dlfcn/Makefile: Likewise.
68884 * posix/Makefile: Likewise.
68885
68886 [BZ #6959]
68887 * timezone/Makefile: Don't install timezone files, just the programs
68888 and scripts.
68889
68890 2012-03-06 Ulrich Drepper <drepper@gmail.com>
68891
68892 * nss/databases.def: Add missing gshadow entry.
68893
68894 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
68895
68896 2012-03-06 Marek Polacek <polacek@redhat.com>
68897
68898 [BZ #13726]
68899 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68900 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68901 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68902 * stdio-common/tst-long-dbl-fphex.c: New file.
68903
68904 2012-03-06 David S. Miller <davem@davemloft.net>
68905
68906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68907 (set_obp_int): New function.
68908 (get_obp_int): New function.
68909 (__get_clockfreq_via_dev_openprom): Likewise.
68910 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68911 Avoid unused variable warnings on 'val' and use builtin_expect.
68912 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68913 __builtin_expect.
68914 (INLINE_CLONE_SYSCALL): Likewise.
68915
68916 2012-03-05 David S. Miller <davem@davemloft.net>
68917
68918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68919
68920 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
68921
68922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68923
68924 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68925 only for |x| >= 40.
68926 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68927
68928 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
68929
68930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68931 Replace gettimeofday with __vdso_gettimeofday.
68932
68933 * sysdeps/unix/sysv/linux/x86_64/init-first.c
68934 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68935 __vdso_clock_gettime and __vdso_getcpu.
68936
68937 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68938 time with __vdso_time.
68939
68940 2012-03-05 Joseph Myers <joseph@codesourcery.com>
68941
68942 * manual/lang.texi (size_t): Note types to which size_t may be
68943 equivalent with the GNU C Library, but do not describe when
68944 differences between them are significant.
68945
68946 2012-03-05 Andreas Jaeger <aj@suse.de>
68947
68948 * sysdeps/i386/fpu/libm-test-ulps: Update.
68949
68950 2012-03-05 Joseph Myers <joseph@codesourcery.com>
68951
68952 [BZ #3976]
68953 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68954 (__ieee754_pow): Save and restore rounding mode and use
68955 round-to-nearest for main computations.
68956 * math/libm-test.inc (pow_test_tonearest): New function.
68957 (pow_test_towardzero): Likewise.
68958 (pow_test_downward): Likewise.
68959 (pow_test_upward): Likewise.
68960 (main): Call the new functions.
68961 * sysdeps/i386/fpu/libm-test-ulps: Update.
68962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68963
68964 [BZ #3976]
68965 * math/libm-test.inc (cosh_test_tonearest): New function.
68966 (cosh_test_towardzero): Likewise.
68967 (cosh_test_downward): Likewise.
68968 (cosh_test_upward): Likewise.
68969 (sinh_test_tonearest): Likewise.
68970 (sinh_test_towardzero): Likewise.
68971 (sinh_test_downward): Likewise.
68972 (sinh_test_upward): Likewise.
68973 (main): Call the new functions.
68974 * sysdeps/i386/fpu/libm-test-ulps: Update.
68975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68976
68977 2012-03-05 Tom de Vries <tom@codesourcery.com>
68978
68979 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68980 default stack guard is set in last bytes.
68981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68982
68983 2012-03-05 Kees Cook <keescook@chromium.org>
68984
68985 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68986
68987 [BZ #13656]
68988 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68989 possibly allocate from heap instead of stack.
68990 * stdio-common/bug-vfprintf-nargs.c: New file.
68991 * stdio-common/Makefile (tests): Add nargs overflow test.
68992
68993 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
68994
68995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68996
68997 2012-03-03 Marek Polacek <polacek@redhat.com>
68998
68999 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69000 * math/math_private.h: Likewise.
69001 * stdlib/tst-strtod.c: Likewise.
69002 * sysdeps/i386/i486/bits/atomic.h: Likewise.
69003 * sysdeps/x86_64/bits/atomic.h: Likewise.
69004
69005 2012-03-02 David S. Miller <davem@davemloft.net>
69006
69007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69011 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69012 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69013 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69014 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69015
69016 2012-03-02 Roland McGrath <roland@hack.frob.com>
69017
69018 [BZ #13792]
69019 * manual/examples/README: New file, says the example source files
69020 can be used under GPL>=2.
69021 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69022 line containing just "*/".
69023 * manual/examples/add.c: Add copyright header (GPL>=2).
69024 * manual/examples/argp-ex1.c: Likewise.
69025 * manual/examples/argp-ex2.c: Likewise.
69026 * manual/examples/argp-ex3.c: Likewise.
69027 * manual/examples/argp-ex4.c: Likewise.
69028 * manual/examples/atexit.c: Likewise.
69029 * manual/examples/db.c: Likewise.
69030 * manual/examples/dir.c: Likewise.
69031 * manual/examples/dir2.c: Likewise.
69032 * manual/examples/execinfo.c: Likewise.
69033 * manual/examples/filecli.c: Likewise.
69034 * manual/examples/filesrv.c: Likewise.
69035 * manual/examples/fmtmsgexpl.c: Likewise.
69036 * manual/examples/genpass.c: Likewise.
69037 * manual/examples/inetcli.c: Likewise.
69038 * manual/examples/inetsrv.c: Likewise.
69039 * manual/examples/isockad.c: Likewise.
69040 * manual/examples/longopt.c: Likewise.
69041 * manual/examples/memopen.c: Likewise.
69042 * manual/examples/memstrm.c: Likewise.
69043 * manual/examples/mkfsock.c: Likewise.
69044 * manual/examples/mkisock.c: Likewise.
69045 * manual/examples/mygetpass.c: Likewise.
69046 * manual/examples/pipe.c: Likewise.
69047 * manual/examples/popen.c: Likewise.
69048 * manual/examples/rprintf.c: Likewise.
69049 * manual/examples/search.c: Likewise.
69050 * manual/examples/select.c: Likewise.
69051 * manual/examples/setjmp.c: Likewise.
69052 * manual/examples/sigh1.c: Likewise.
69053 * manual/examples/sigusr.c: Likewise.
69054 * manual/examples/stpcpy.c: Likewise.
69055 * manual/examples/strdupa.c: Likewise.
69056 * manual/examples/strftim.c: Likewise.
69057 * manual/examples/strncat.c: Likewise.
69058 * manual/examples/subopt.c: Likewise.
69059 * manual/examples/swapcontext.c: Likewise.
69060 * manual/examples/termios.c: Likewise.
69061 * manual/examples/testopt.c: Likewise.
69062 * manual/examples/testpass.c: Likewise.
69063 * manual/examples/timeval_subtract.c: Likewise.
69064
69065 [BZ #13792]
69066 * manual/time.texi (Elapsed Time): Move timeval_subtract example
69067 function to ...
69068 * manual/timeval_subtract.c.texi: ... here, new file.
69069
69070 2012-03-02 David S. Miller <davem@davemloft.net>
69071
69072 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69073
69074 2012-03-02 Joseph Myers <joseph@codesourcery.com>
69075
69076 [BZ #3976]
69077 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69078 (__sin): Save and restore rounding mode and use round-to-nearest
69079 for all computations.
69080 (__cos): Save and restore rounding mode and use round-to-nearest
69081 for all computations.
69082 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69083 <fenv.h>.
69084 (tan): Save and restore rounding mode and use round-to-nearest for
69085 all computations.
69086 * math/libm-test.inc (cos_test_tonearest): New function.
69087 (cos_test_towardzero): Likewise.
69088 (cos_test_downward): Likewise.
69089 (cos_test_upward): Likewise.
69090 (sin_test_tonearest): Likewise.
69091 (sin_test_towardzero): Likewise.
69092 (sin_test_downward): Likewise.
69093 (sin_test_upward): Likewise.
69094 (tan_test_tonearest): Likewise.
69095 (tan_test_towardzero): Likewise.
69096 (tan_test_downward): Likewise.
69097 (tan_test_upward): Likewise.
69098 (main): Call the new functions.
69099 * sysdeps/i386/fpu/libm-test-ulps: Update.
69100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69101
69102 [BZ #10135]
69103 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69104 small n, then large n, before computing and testing k+n.
69105 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69107 Likewise.
69108 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69109 Likewise.
69110 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69111 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69112 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69113 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69116 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69117 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69118 * math/libm-test.inc (scalbn_test): Add more tests.
69119 (scalbln_test): Likewise.
69120
69121 * manual/filesys.texi (mode_t): Describe constraints on size and
69122 signedness, not exact equivalence to a particular type.
69123 (ino_t): Likewise.
69124 (ino64_t): Likewise.
69125 (dev_t): Likewise.
69126 (nlink_t): Likewise.
69127 (blkcnt_t): Likewise.
69128 (blkcnt64_t): Likewise.
69129 * manual/llio.texi (off_t): Likewise.
69130
69131 [BZ #3976]
69132 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69133 (__ieee754_exp): Save and restore rounding mode and use
69134 round-to-nearest for all computations.
69135 * math/libm-test.inc (exp_test_tonearest): New function.
69136 (exp_test_towardzero): Likewise.
69137 (exp_test_downward): Likewise.
69138 (exp_test_upward): Likewise.
69139 (main): Call the new functions.
69140 * sysdeps/i386/fpu/libm-test-ulps: Update.
69141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69142
69143 2012-03-01 Chris Demetriou <cgd@google.com>
69144
69145 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69146 have predictable order.
69147
69148 2012-03-01 David S. Miller <davem@davemloft.net>
69149
69150 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69151
69152 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69153 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69154 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69155 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69156
69157 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69158 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69159 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69161 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69162 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69163 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69164 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69165 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69166
69167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69168
69169 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69170 * sysdeps/sparc/fpu/libm-test-ulps: to here.
69171 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69172
69173 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69174 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69175 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69176 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69177 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69178 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69179 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69180 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69181 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69182 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69183 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69186 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69187 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69188 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69189 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69190 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69191 * sysdeps/sparc/elf/configure: Regenerated.
69192
69193 2012-03-01 Joseph Myers <joseph@codesourcery.com>
69194
69195 * configure.in (AS, LD): Require binutils 2.20 or later.
69196 * configure: Regenerated.
69197 * manual/install.texi (Tools for Compilation): Give binutils 2.20
69198 as required minimum version.
69199 * INSTALL: Regenerated.
69200
69201 [BZ #2541]
69202 [BZ #4108]
69203 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69204 before squaring exponent.
69205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69206 bottom long double and 27 bits of top long double before squaring
69207 exponent.
69208 * math/libm-test.inc (erfc_test): Add more tests.
69209 * sysdeps/i386/fpu/libm-test-ulps: Update.
69210 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69212
69213 2012-03-01 Kai Tietz <ktietz@redhat.com>
69214
69215 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69216 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69217 containing bit-fields.
69218 * soft-fp/extended.h (_FP_UNION_E): Likewise.
69219 * soft-fp/single.h (_FP_UNION_S): Likewise.
69220 * soft-fp/double.h (_FP_UNION_D): Likewise.
69221
69222 2012-02-29 Joseph Myers <joseph@codesourcery.com>
69223
69224 [BZ #13786]
69225 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69226 not include ../strcmp.S.
69227 [USE_AS_STRNCASECMP_L]: Likewise.
69228 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69229 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69230 * sysdeps/i386/i686/multiarch/strncase_l-c.c
69231 (__strncasecmp_l_ia32): Define as alias to
69232 __strncasecmp_l_nonascii.
69233
69234 [BZ #5794]
69235 * math/libm-test.inc (expm1_test): Add test for bug 5794.
69236 * sysdeps/i386/fpu/libm-test-ulps: Update.
69237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69238
69239 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69241
69242 2012-02-29 Jeff Law <law@redhat.com>
69243
69244 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69245 out of bounds read.
69246
69247 2012-02-29 Marek Polacek <polacek@redhat.com>
69248
69249 [BZ #13706]
69250 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69251 * elf/Makefile: Add rules to run tst-unused-dep.out.
69252
69253 2012-02-28 David S. Miller <davem@davemloft.net>
69254
69255 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69256 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69257 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69259 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69260 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69261
69262 2012-02-29 Joseph Myers <joseph@codesourcery.com>
69263
69264 * math/libm-test.inc (llround_test): Move one test from
69265 lround_test. Use TEST_f_L in moved test.
69266 (lround_test): Move misplaced test to llround_test. Add testcase
69267 from bug 2561.
69268
69269 2012-02-28 Ulrich Drepper <drepper@gmail.com>
69270
69271 * sysdeps/x86_64/fpu/e_expf.S: New file.
69272 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69273
69274 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
69275
69276 [BZ #13637]
69277 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69278 of remain_len that may cause incomplete multi-byte character and
69279 false match.
69280 * posix/bug-regex33.c: New file.
69281 * posix/Makefile (tests): Add bug-regex33.
69282
69283 2012-02-28 Joseph Myers <joseph@codesourcery.com>
69284
69285 * manual/macros.texi: New file.
69286 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69287 * manual/libc.texinfo: Include macros.texi.
69288 * manual/creatute.texi: Likewise.
69289 * manual/install.texi: Likewise.
69290 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69291 @glibcadj{} in references to the GNU C Library.
69292 * manual/charset.texi: Likewise.
69293 * manual/conf.texi: Likewise.
69294 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
69295 when not using those macros.
69296 * manual/creature.texi: Likewise.
69297 * manual/crypt.texi: Likewise.
69298 * manual/errno.texi: Likewise.
69299 * manual/filesys.texi: Likewise.
69300 * manual/header.texi: Likewise.
69301 * manual/install.texi: Likewise.
69302 * manual/intro.texi: Likewise.
69303 * manual/io.texi: Likewise.
69304 * manual/job.texi: Likewise.
69305 * manual/lang.texi: Likewise.
69306 * manual/libc.texiinfo: Likewise.
69307 * manual/llio.texi: Likewise.
69308 * manual/locale.texi: Likewise.
69309 * manual/maint.texi: Likewise.
69310 * manual/math.texi: Likewise.
69311 * manual/memory.texi: Likewise.
69312 * manual/message.texi: Likewise.
69313 * manual/nss.texi: Likewise.
69314 * manual/pattern.texi: Likewise.
69315 * manual/process.texi: Likewise.
69316 * manual/resource.texi: Likewise.
69317 * manual/search.texi: Likewise.
69318 * manual/setjmp.texi: Likewise.
69319 * manual/signal.texi: Likewise.
69320 * manual/socket.texi: Likewise.
69321 * manual/startup.texi: Likewise.
69322 * manual/stdio.texi: Likewise.
69323 * manual/string.texi: Likewise.
69324 * manual/sysinfo.texi: Likewise.
69325 * manual/syslog.texi: Likewise.
69326 * manual/terminal.texi: Likewise.
69327 * manual/time.texi: Likewise.
69328 * manual/users.texi: Likewise.
69329 * INSTALL: Regenerated.
69330 * NOTES: Regenerated.
69331 * sysdeps/gnu/errlist.c: Regenerated.
69332
69333 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
69334
69335 * include/dirent.h: Include <dirstream.h> before
69336 <dirent/dirent.h>.
69337
69338 2012-02-28 David S. Miller <davem@davemloft.net>
69339
69340 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69341 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69342 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69343 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69344
69345 2012-02-27 David S. Miller <davem@davemloft.net>
69346
69347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69349 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69350 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69351
69352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69353 frame pointer instead of stack pointer relative arg slot.
69354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69355 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69356 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69357
69358 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
69359
69360 [BZ #3992]
69361 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69362
69363 2012-02-27 David S. Miller <davem@davemloft.net>
69364
69365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69369 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69370 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69371 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69372 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69373
69374 2012-02-27 Joseph Myers <joseph@codesourcery.com>
69375
69376 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69377 later. Allow versions 5-9.
69378 * configure: Regenerated.
69379 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69380 required minimum version and 4.6 as recommended version. Do not
69381 mention bugs in GCC 2.7 and 2.8.
69382 * INSTALL: Regenerated.
69383
69384 2012-02-27 David S. Miller <davem@davemloft.net>
69385
69386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69390 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69391 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69392 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69393 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69394
69395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69396 manipulate bits before adding and subtracting TWO112[sx].
69397 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69398
69399 2012-02-27 Roland McGrath <roland@hack.frob.com>
69400
69401 [BZ #13775]
69402 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69403 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69404 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69405 being in POSIX, because they are in 1003.1-2008.
69406
69407 * rt/tst-aio.c: Include <fcntl.h>.
69408 * rt/tst-aio7.c: Likewise.
69409 * rt/tst-aio64.c: Likewise.
69410
69411 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69412
69413 2012-02-27 Joseph Myers <joseph@codesourcery.com>
69414
69415 * manual/install.texi (--with-headers): Describe headers as
69416 interface headers, not private headers.
69417 (Specific advice for GNU/Linux systems): Describe use of headers
69418 from "make headers_install", not private headers from older
69419 kernels.
69420 * INSTALL: Regenerated.
69421 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69422 Change to 2.6.19.
69423 * sysdeps/unix/sysv/linux/configure: Regenerated.
69424
69425 * manual/llio.texi (fclean): Remove documentation.
69426
69427 * manual/Makefile (libc-texi-generated): New variable. Include
69428 version.texi.
69429 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69430 $(libc-texi-generated), not duplicated list of files.
69431 (version.texi, stamp-version): New rules.
69432 (realclean): Remove $(libc-texi-generated), not individual files
69433 from that list. Do not remove dir-add.texinfo.
69434 * manual/libc.texinfo: Comment out uses of edition numbers and
69435 references to printed manual. Remove last-updated dates.
69436 (EDITION): Comment out.
69437 (ISBN): Likewise.
69438 (VERSION, UPDATED): Remove.
69439 (version.texi): Include.
69440
69441 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
69442
69443 * sysdeps/posix/spawni.c: Include <signal.h>.
69444 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69445 * sysdeps/pthread/aio_fsync.c: Likewise.
69446
69447 2012-02-26 Ulrich Drepper <drepper@gmail.com>
69448
69449 * conform/Makefile (tests): Run only when not cross-compiling and
69450 when fast-check is not defined.
69451
69452 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69453 * conform/data/limits.h-data: Fixes for POSIX2008.
69454 * conform/run-conformtest.sh: Run all tests.
69455 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69456 headers.
69457 * include/bits/dlfcn.h: Likewise.
69458 * include/langinfo.h: Likewise.
69459 * include/monetary.h: Likewise.
69460 * include/sys/poll.h: Likewise.
69461
69462 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69463 for __USE_GNU.
69464 * posix/spawn.h: Define __need_sigset_t.
69465 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69466 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69467 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
69468 to get sigevent_t only.
69469 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69470 only for __USE_GNU.
69471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69472 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69473 process_vm_writev only for __USE_GNU.
69474 * termios/termios.h: Declare tcgetsid also for POSIX2008.
69475
69476 * conform/Makefile: For now ignore errors from run-conformtest.
69477 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
69478 POSIX to avoid namespace pollution. Don't prepend headers.
69479 * conform/data/aio.h-data: Fixes for POSIX testing.
69480 * conform/data/fcntl.h-data: Likewise.
69481 * conform/data/glob.h-data: Likewise.
69482 * conform/data/grp.h-data: Likewise.
69483 * conform/data/pthread.h-data: Likewise.
69484 * conform/data/pwd.h-data: Likewise.
69485 * conform/data/signal.h-data: Likewise.
69486 * conform/data/spawn.h-data: Likewise.
69487 * conform/data/stdio.h-data: Likewise.
69488 * conform/data/stdlib.h-data: Likewise.
69489 * conform/data/stropts.h-data: Likewise.
69490 * conform/data/sys/mman.h-data: Likewise.
69491 * conform/data/sys/stat.h-data: Likewise.
69492 * conform/data/sys/types.h-data: Likewise.
69493 * conform/data/sys/wait.h-data: Likewise.
69494 * conform/data/time.h-data: Likewise.
69495 * conform/data/unistd.h-data: Likewise.
69496 * conform/data/utime.h-data: Likewise.
69497
69498 * io/sys/stat.h: fchmod was always in POSIX.
69499 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69500 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69501 * rt/aio.h: Define __need_timespec before including <time.h>.
69502 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69503 struct. Add forward declaration of pthread_attr_t and use it in
69504 sigevent.
69505 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69506 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69507 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69508 always remove CLK_TCK definition.
69509
69510 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
69511
69512 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69513
69514 2012-02-25 Ulrich Drepper <drepper@gmail.com>
69515
69516 * conform/run-conformtest.sh: New file.
69517 * conform/Makefile: Run run-conformtest for tests.
69518 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
69519 support.
69520
69521 * conform/data/uchar.h-data: New file.
69522 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69523 * conform/data/arpa/inet.h-data: Likewise.
69524 * conform/data/assert.h-data: Likewise.
69525 * conform/data/complex.h-data: Likewise.
69526 * conform/data/cpio.h-data: Likewise.
69527 * conform/data/ctype.h-data: Likewise.
69528 * conform/data/dirent.h-data: Likewise.
69529 * conform/data/dlfcn.h-data: Likewise.
69530 * conform/data/errno.h-data: Likewise.
69531 * conform/data/fcntl.h-data: Likewise.
69532 * conform/data/float.h-data: Likewise.
69533 * conform/data/fmtmsg.h-data: Likewise.
69534 * conform/data/fnmatch.h-data: Likewise.
69535 * conform/data/ftw.h-data: Likewise.
69536 * conform/data/glob.h-data: Likewise.
69537 * conform/data/grp.h-data: Likewise.
69538 * conform/data/iconv.h-data: Likewise.
69539 * conform/data/inttypes.h-data: Likewise.
69540 * conform/data/langinfo.h-data: Likewise.
69541 * conform/data/libgen.h-data: Likewise.
69542 * conform/data/limits.h-data: Likewise.
69543 * conform/data/locale.h-data: Likewise.
69544 * conform/data/math.h-data: Likewise.
69545 * conform/data/monetary.h-data: Likewise.
69546 * conform/data/mqueue.h-data: Likewise.
69547 * conform/data/ndbm.h-data: Likewise.
69548 * conform/data/net/if.h-data: Likewise.
69549 * conform/data/netdb.h-data: Likewise.
69550 * conform/data/netinet/in.h-data: Likewise.
69551 * conform/data/nl_types.h-data: Likewise.
69552 * conform/data/poll.h-data: Likewise.
69553 * conform/data/pthread.h-data: Likewise.
69554 * conform/data/pwd.h-data: Likewise.
69555 * conform/data/regex.h-data: Likewise.
69556 * conform/data/sched.h-data: Likewise.
69557 * conform/data/search.h-data: Likewise.
69558 * conform/data/semaphore.h-data: Likewise.
69559 * conform/data/setjmp.h-data: Likewise.
69560 * conform/data/signal.h-data: Likewise.
69561 * conform/data/spawn.h-data: Likewise.
69562 * conform/data/stdarg.h-data: Likewise.
69563 * conform/data/stdio.h-data: Likewise.
69564 * conform/data/stdlib.h-data: Likewise.
69565 * conform/data/string.h-data: Likewise.
69566 * conform/data/strings.h-data: Likewise.
69567 * conform/data/stropts.h-data: Likewise.
69568 * conform/data/sys/ipc.h-data: Likewise.
69569 * conform/data/sys/mman.h-data: Likewise.
69570 * conform/data/sys/msg.h-data: Likewise.
69571 * conform/data/sys/resource.h-data: Likewise.
69572 * conform/data/sys/select.h-data: Likewise.
69573 * conform/data/sys/sem.h-data: Likewise.
69574 * conform/data/sys/shm.h-data: Likewise.
69575 * conform/data/sys/socket.h-data: Likewise.
69576 * conform/data/sys/stat.h-data: Likewise.
69577 * conform/data/sys/statvfs.h-data: Likewise.
69578 * conform/data/sys/time.h-data: Likewise.
69579 * conform/data/sys/timeb.h-data: Likewise.
69580 * conform/data/sys/times.h-data: Likewise.
69581 * conform/data/sys/types.h-data: Likewise.
69582 * conform/data/sys/uio.h-data: Likewise.
69583 * conform/data/sys/un.h-data: Likewise.
69584 * conform/data/sys/utsname.h-data: Likewise.
69585 * conform/data/sys/wait.h-data: Likewise.
69586 * conform/data/syslog.h-data: Likewise.
69587 * conform/data/tar.h-data: Likewise.
69588 * conform/data/termios.h-data: Likewise.
69589 * conform/data/utime.h-data: Likewise.
69590 * conform/data/utmpx.h-data: Likewise.
69591 * conform/data/varargs.h-data: Likewise.
69592 * conform/data/wchar.h-data: Likewise.
69593 * conform/data/wctype.h-data: Likewise.
69594 * conform/data/wordexp.h-data: Likewise.
69595
69596 * include/stropts.h: New file.
69597 * include/uchar.h: New file.
69598 * include/aio.h: Changes to allow conformtest.pl to use the headers.
69599 * include/assert.h: Likewise.
69600 * include/ctype.h: Likewise.
69601 * include/dirent.h: Likewise.
69602 * include/dlfcn.h: Likewise.
69603 * include/fcntl.h: Likewise.
69604 * include/fnmatch.h: Likewise.
69605 * include/glob.h: Likewise.
69606 * include/grp.h: Likewise.
69607 * include/libio.h: Likewise.
69608 * include/locale.h: Likewise.
69609 * include/math.h: Likewise.
69610 * include/net/if.h: Likewise.
69611 * include/netdb.h: Likewise.
69612 * include/netinet/in.h: Likewise.
69613 * include/pthread.h: Likewise.
69614 * include/pwd.h: Likewise.
69615 * include/regex.h: Likewise.
69616 * include/sched.h: Likewise.
69617 * include/search.h: Likewise.
69618 * include/setjmp.h: Likewise.
69619 * include/signal.h: Likewise.
69620 * include/stdio.h: Likewise.
69621 * include/stdlib.h: Likewise.
69622 * include/string.h: Likewise.
69623 * include/sys/cdefs.h: Likewise.
69624 * include/sys/mman.h: Likewise.
69625 * include/sys/msg.h: Likewise.
69626 * include/sys/resource.h: Likewise.
69627 * include/sys/select.h: Likewise.
69628 * include/sys/socket.h: Likewise.
69629 * include/sys/stat.h: Likewise.
69630 * include/sys/statvfs.h: Likewise.
69631 * include/sys/time.h: Likewise.
69632 * include/sys/times.h: Likewise.
69633 * include/sys/uio.h: Likewise.
69634 * include/sys/utsname.h: Likewise.
69635 * include/sys/wait.h: Likewise.
69636 * include/termios.h: Likewise.
69637 * include/time.h: Likewise.
69638 * include/ulimit.h: Likewise.
69639 * include/unistd.h: Likewise.
69640 * include/utime.h: Likewise.
69641 * include/wchar.h: Likewise.
69642 * include/wctype.h: Likewise.
69643 * include/wordexp.h: Likewise.
69644
69645 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69646
69647 * time/time.h: TIME_UTC must be a macro.
69648 Make timespec_get available for ISO C11 only as well.
69649
69650 2012-02-24 Ulrich Drepper <drepper@gmail.com>
69651
69652 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69653 Reported by Peng Haitao <penght@cn.fujitsu.com>.
69654
69655 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69656
69657 * configure.in: Use -o not -a in test for unsupported multi-arch.
69658
69659 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69660
69661 * manual/texinfo.tex: Update to version 2012-01-19.16.
69662
69663 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69664
69665 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69666
69667 2012-02-24 Roland McGrath <roland@hack.frob.com>
69668
69669 [BZ #13738]
69670 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69671 * manual/fdl-1.3.texi: New file.
69672 * manual/fdl-1.1.texi: File removed.
69673
69674 [BZ #13738]
69675 * manual/libc.texinfo (FDL_VERSION): New @set.
69676 Use it for mention of FDL in cover text.
69677 (Documentation License): Use it in @include file name.
69678
69679 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69680 Roland McGrath <roland@hack.frob.com>
69681
69682 [BZ #5461]
69683 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69684 (not LONG_LONG_MAX and LONG_LONG_MIN.
69685 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69686 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
69687 name.
69688 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69689
69690 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69691
69692 [BZ #2547]
69693 [BZ #11365]
69694 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69695 manipulate bits before adding and subtracting TWO23[sx].
69696 * math/libm-test.inc (nearbyint_test): Add more tests.
69697
69698 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69699
69700 [BZ #2548]
69701 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69702 bits before adding and subtracting TWO23[sx].
69703 * math/libm-test.inc (rint_test): Add more tests.
69704 (rint_test_tonearest): Likewise.
69705 (rint_test_towardzero): Likewise.
69706 (rint_test_downward): Likewise.
69707 (rint_test_upward: Likewise.
69708
69709 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69710
69711 [BZ #10110]
69712 * include/stdc-predef.h: New file. Extracted from features.h.
69713 * include/features.h: Include stdc-predef.h.
69714 * Makefile (headers): Add stdc-predef.h.
69715 * CONFORMANCE (Compiler limitations): Update.
69716
69717 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69718
69719 * manual/libc.texinfo (VERSION, UPDATED): Revert.
69720
69721 2012-02-21 David S. Miller <davem@davemloft.net>
69722
69723 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69724 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69725
69726 2012-02-20 David S. Miller <davem@davemloft.net>
69727
69728 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69729 using a normal save/restore sequence, rather than allocating a
69730 dummy stack frame just to store a frame pointer and restore.
69731 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69732
69733 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69734
69735 * manual/install.texi: Fix stray word in line-wrapped comment.
69736
69737 2012-02-20 David S. Miller <davem@davemloft.net>
69738
69739 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69740 both binutils and gcc support GOTDATA.
69741
69742 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69743 "rd %pc" in the PIC register setup sequences.
69744
69745 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69746 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69747 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69748 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69749 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69751 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69752 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69754 (SYSCALL_ERROR_HANDLER): Likewise.
69755 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69756 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69758 (SYSCALL_ERROR_HANDLER): Likewise.
69759
69760 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69761 (HAVE_GCC_GOTDATA): New.
69762 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69763 relocation support in both binutils and gcc.
69764 * sysdeps/sparc/elf/configure: Regenerate.
69765
69766 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69767 * sysdeps/sparc/sparc32/elf/configure: Delete.
69768 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69769 * sysdeps/sparc/sparc64/elf/configure: Delete.
69770 * sysdeps/sparc/elf/configure.in: New file.
69771 * sysdeps/sparc/elf/configure: Generate.
69772
69773 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69774 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69775 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69776 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69777 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69778
69779 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69780
69781 * manual/install.texi: Do not mention specific glibc version
69782 numbers.
69783 * manual/libc.texinfo (VERSION, UPDATED): Update.
69784 (@copying): Use @copyright{} and range of years.
69785
69786 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69787
69788 [BZ #13695]
69789 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69790 [crti.S not in sysdirs] (generated): Do not append.
69791 [crti.S not in sysdirs] (omit-deps): Likewise.
69792 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69793 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69794 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69795 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69796 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69797 Likewise.
69798 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69799 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69800 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69801 * csu/defs.awk: Remove file.
69802 * sysdeps/generic/initfini.c: Likewise.
69803 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69804 variable.
69805 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69806 Likewise.
69807
69808 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69809
69810 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69811 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69812 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69813 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69814 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69815 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69816 <bits/epoll.h>.
69817 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69818 (__EPOLL_PACKED): Define to empty if not defined by
69819 <bits/epoll.h>.
69820 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69822 bits/epoll.h.
69823
69824 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69825
69826 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69827 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69828 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69829 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69830 <bits/timerfd.h>.
69831 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69833 bits/timerfd.h.
69834
69835 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69836
69837 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69838 in C locale.
69839 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69840 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69841 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69843
69844 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
69845
69846 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69847 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69848
69849 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
69850
69851 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69852 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69853 defined.
69854 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69855 Likewise.
69856 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69857 entry for 2.16.
69858
69859 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
69860
69861 * math/w_acos.c: Use non-signaling floating-point comparisons.
69862 * math/w_acosf.c: Likewise.
69863 * math/w_acosh.c: Likewise.
69864 * math/w_acoshf.c: Likewise.
69865 * math/w_acoshl.c: Likewise.
69866 * math/w_acosl.c: Likewise.
69867 * math/w_asin.c: Likewise.
69868 * math/w_asinf.c: Likewise.
69869 * math/w_asinl.c: Likewise.
69870 * math/w_atanh.c: Likewise.
69871 * math/w_atanhf.c: Likewise.
69872 * math/w_atanhl.c: Likewise.
69873 * math/w_exp2.c: Likewise.
69874 * math/w_exp2f.c: Likewise.
69875 * math/w_exp2l.c: Likewise.
69876 * math/w_j0.c: Likewise.
69877 * math/w_j0f.c: Likewise.
69878 * math/w_j0l.c: Likewise.
69879 * math/w_j1.c: Likewise.
69880 * math/w_j1f.c: Likewise.
69881 * math/w_j1l.c: Likewise.
69882 * math/w_jn.c: Likewise.
69883 * math/w_jnf.c: Likewise.
69884 * math/w_log.c: Likewise.
69885 * math/w_log10.c: Likewise.
69886 * math/w_log10f.c: Likewise.
69887 * math/w_log10l.c: Likewise.
69888 * math/w_log2.c: Likewise.
69889 * math/w_log2f.c: Likewise.
69890 * math/w_log2l.c: Likewise.
69891 * math/w_logf.c: Likewise.
69892 * math/w_logl.c: Likewise.
69893 * math/w_sqrt.c: Likewise.
69894 * math/w_sqrtf.c: Likewise.
69895 * math/w_sqrtl.c: Likewise.
69896 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69897 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69899 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69900 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69901
69902 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69903
69904 [BZ #9739]
69905 * manual/string.texi (strnlen): Use correct parameter name in
69906 equivalent expression.
69907
69908 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69909
69910 [BZ #11174]
69911 * manual/users.texi (seteuid): Consistently use neweuid for
69912 argument name.
69913
69914 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69915
69916 [BZ #13704]
69917 * manual/nss.texi (Services in the NSS configuration): Correct
69918 list of services in example configuration file.
69919
69920 2012-02-19 Nick Bowler <nbowler@draconx.ca>
69921
69922 [BZ #11322]
69923 * manual/arith.texi: Remove statements about negative zero
69924 behaving identically to zero.
69925
69926 2012-02-18 Joseph Myers <joseph@codesourcery.com>
69927
69928 [BZ #5993]
69929 * manual/install.texi: Do not document upgrading from libc5.
69930
69931 2012-02-18 Joseph Myers <joseph@codesourcery.com>
69932
69933 [BZ #4596]
69934 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69935
69936 2012-02-18 David S. Miller <davem@davemloft.net>
69937
69938 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69939 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69940 %o7 across the call.
69941 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69942 instead.
69943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69944 SETUP_PIC_REG_LEAF.
69945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69946 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69947 * sysdeps/sparc/crtn.S: Likewise.
69948
69949 2012-02-17 Ulrich Drepper <drepper@gmail.com>
69950
69951 * aout/Makefile: Remove.
69952
69953 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
69954
69955 [BZ #13058]
69956 * manual/examples/argp-ex1.c (main): Format definition in GNU
69957 style.
69958 * manual/examples/argp-ex2.c (main): Likewise.
69959 * manual/examples/argp-ex3.c (main): Likewise.
69960 * manual/examples/argp-ex4.c (main): Likewise.
69961 * manual/examples/longopt.c (main): Use new-style prototype
69962 definition.
69963 * manual/examples/strncat.c (main): Specify return type and use
69964 (void) for arguments.
69965 * manual/examples/subopt.c (main): Use char **argv argument.
69966
69967 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69968
69969 [BZ #5077]
69970 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69971 rounding modes.
69972
69973 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
69974
69975 [BZ #6907]
69976 * manual/string.texi (strchr): Change when strchrnul is
69977 recommended.
69978
69979 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
69980
69981 [BZ #174]
69982 * manual/locale.texi (setlocale): Document LOCPATH.
69983
69984 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69985
69986 [BZ #10210]
69987 * manual/process.texi (execle): Move @dots{} before last argument.
69988
69989 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
69990
69991 [BZ #12047]
69992 * manual/charset.texi (Generic Charset Conversion): Fix typo
69993 (LC_TYPE -> LC_CTYPE).
69994
69995 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
69996
69997 [BZ #5805]
69998 * manual/arith.texi (scalbn): Use @var{} on parameter names.
69999 (scalbnf): Likewise.
70000 (scalbnl): Likewise.
70001 (scalbln): Likewise.
70002 (scalblnf): Likewise.
70003 (scalblnl): Likewise.
70004 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70005 (vwarnx): Likewise.
70006 (verr): Likewise.
70007 (verrx): Likewise.
70008 * manual/filesys.texi (telldir): Use braces around return type.
70009 * manual/llio.texi (mmap): Add space after comma.
70010 (mmap64): Likewise.
70011 * manual/math.texi (jn): Use @var{} on parameter names.
70012 (jnf): Likewise.
70013 (jnl): Likewise.
70014 (yn): Likewise.
70015 (ynf): Likewise.
70016 (ynl): Likewise.
70017 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70018 line.
70019 * manual/resource.texi (ulimit): Use @dots{} instead of literal
70020 "...".
70021 (sched_get_priority_min): Remove semicolon on @deftypefun line.
70022 (sched_get_priority_max): Likewise.
70023 * manual/signal.texi (sigvec): Add space after comma.
70024 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70025 names.
70026 (if_indextoname): Likewise.
70027 (if_freenameindex): Likewise.
70028 (sendto): Use ',' instead of '.' in prototype.
70029 * manual/startup.texi (syscall): Use @dots{} instead of literal
70030 "...".
70031 * manual/stdio.texi (__fpending): Separate initial words of
70032 paragraph from @deftypefun line.
70033 * manual/syslog.texi (syslog): Use @dots{} instead of literal
70034 "...".
70035 (vsyslog): Use @var{} on parameter names.
70036 * manual/terminal.texi (stty): Use @var{} on parameter names.
70037 * manual/users.texi (getutmp): Use @var{} on parameter names.
70038 (getutmpx): Likewise.
70039
70040 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70041
70042 [BZ #6884]
70043 * manual/stdio.texi (fopen): Fix typos in description of
70044 ",ccs=STRING".
70045
70046 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
70047
70048 [BZ #4026]
70049 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70050 get clock_id definition.
70051
70052 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
70053
70054 [BZ #4822]
70055 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70056 (madvise): Cast every argument to void on its own.
70057
70058 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70059
70060 [BZ #9902]
70061 * manual/startup.texi (Exit Status): Fix typo.
70062
70063 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70064
70065 [BZ #10140]
70066 * manual/examples/argp-ex1.c: Include <stdlib.h>.
70067 * manual/examples/argp-ex2.c: Likewise.
70068 * manual/examples/argp-ex3.c: Likewise.
70069
70070 2012-02-16 Richard Henderson <rth@redhat.com>
70071
70072 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70073 * sysdeps/s390/s390-32/initfini.c: Remove.
70074 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70075 * sysdeps/s390/s390-64/initfini.c: Remove.
70076
70077 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70078
70079 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70080 compiler output for sysdeps/generic/initfini.c.
70081 * sysdeps/sh/elf/initfini.c: Remove file.
70082
70083 2012-02-16 David S. Miller <davem@davemloft.net>
70084
70085 [BZ #11494]
70086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70087
70088 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70089 * sysdeps/sparc/crti.S: New file.
70090 * sysdeps/sparc/crtn.S: New file.
70091 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70092 * sysdeps/sparc/sparc64/Makefile: Likewise.
70093
70094 2012-02-15 Mike Frysinger <vapier@gentoo.org>
70095
70096 [BZ #3335]
70097 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70098
70099 2012-02-15 Roland McGrath <roland@hack.frob.com>
70100
70101 [BZ #4822]
70102 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70103
70104 * mach/devstream.c (cookie_io_functions_t): Macro removed.
70105 (write, read, close): Likewise.
70106 Patch by Aurelien Jarno <aurelien@aurel32.net>.
70107
70108 2012-02-15 Joseph Myers <joseph@codesourcery.com>
70109
70110 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70111 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70112 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70113 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70114 <bits/signalfd.h>.
70115 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70117 bits/signalfd.h.
70118
70119 2012-02-14 Marek Polacek <polacek@redhat.com>
70120
70121 * sysdeps/x86_64/crti.S: New file.
70122 * sysdeps/x86_64/crtn.S: New file.
70123 * sysdeps/x86_64/elf/initfini.c: Remove file.
70124
70125 2012-02-13 Joseph Myers <joseph@codesourcery.com>
70126
70127 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70128 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70129 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70130 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70131 <bits/inotify.h>.
70132 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70134 bits/inotify.h.
70135
70136 2012-02-13 Joseph Myers <joseph@codesourcery.com>
70137
70138 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70139 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70140 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70141 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70142 <bits/eventfd.h>.
70143 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70145 bits/eventfd.h.
70146
70147 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
70148
70149 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70150 __feraiseexcept instead of feraiseexcept.
70151
70152 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70153 nanosleep invocations.
70154 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70155 strings, and add error checking for a nanosleep invocations.
70156
70157 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
70158
70159 Replace FSF snail mail address with URLs, as per GNU coding standards.
70160 Most of the snail mail addresses were wrong anyway, and omitting
70161 them makes the source code easier to maintain. Almost all of the
70162 changes are to license notices and to locale LC_IDENTIFICATION
70163 addresses, except for this one:
70164 * manual/libc.texinfo: In "Published by", give the FSF's URL,
70165 not its snail mail address.
70166
70167 2012-02-09 Richard Henderson <rth@twiddle.net>
70168
70169 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70170 of kernel-features.h.
70171
70172 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70173
70174 2012-02-08 Marek Polacek <polacek@redhat.com>
70175
70176 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70177 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70178 * sysdeps/gnu/_G_config.h: Likewise.
70179 * sysdeps/generic/_G_config.h: Likewise.
70180
70181 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
70182
70183 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70184 tests.
70185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70186
70187 * sysdeps/powerpc/powerpc32/crti.S: New file.
70188 * sysdeps/powerpc/powerpc32/crtn.S: New file.
70189 * sysdeps/powerpc/powerpc64/crti.S: New file.
70190 * sysdeps/powerpc/powerpc64/crtn.S: New file.
70191
70192 * Makeconfig (have-initfini): Don't set.
70193 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70194 * configure.in (nopic_initfini): Don't substitute.
70195 * config.h.in (HAVE_INITFINI): Don't #undef.
70196 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70197 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70198
70199 2012-02-08 Joseph Myers <joseph@codesourcery.com>
70200
70201 Support crti.S and crtn.S provided directly by architectures.
70202 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70203 [crti.S in sysdirs] (omit-deps): Likewise.
70204 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70205 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70206 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70207 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70208 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70209 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70210 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70211 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70212 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70213 compiler output for sysdeps/generic/initfini.c.
70214 * sysdeps/i386/elf/Makefile: Remove file.
70215 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70216
70217 2012-02-07 Marek Polacek <polacek@redhat.com>
70218
70219 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70220 * sysdeps/gnu/_G_config.h: Likewise.
70221 * sysdeps/mach/hurd/_G_config.h: Likewise.
70222
70223 2012-02-07 Marek Polacek <polacek@redhat.com>
70224
70225 * math/Makefile (tests): Add tst-CMPLX2.
70226 * math/tst-CMPLX2.c: New file.
70227
70228 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
70229
70230 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70231
70232 * math/libm-test.inc (jn_test): Add missing L suffix.
70233
70234 2012-02-06 Marek Polacek <polacek@redhat.com>
70235
70236 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70237 * sysdeps/i386/fpu/e_powf.S: Likewise.
70238 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70239 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70240 * sysdeps/i386/fpu/e_acosh.S: Likewise.
70241 * sysdeps/i386/fpu/e_pow.S: Likewise.
70242 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70243 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70244 * sysdeps/i386/fpu/s_expm1.S: Likewise.
70245 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70246 * sysdeps/i386/fpu/e_log2.S: Likewise.
70247 * sysdeps/i386/fpu/e_log2l.S: Likewise.
70248 * sysdeps/i386/fpu/e_scalb.S: Likewise.
70249 * sysdeps/i386/fpu/e_powl.S: Likewise.
70250 * sysdeps/i386/fpu/s_log1p.S: Likewise.
70251 * sysdeps/i386/fpu/e_log10f.S: Likewise.
70252 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70253 * sysdeps/i386/fpu/e_logl.S: Likewise.
70254 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70255 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70256 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70257 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70258 * sysdeps/i386/fpu/e_log2f.S: Likewise.
70259 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70260 * sysdeps/i386/fpu/e_log.S: Likewise.
70261 * sysdeps/i386/fpu/s_cexp.S: Likewise.
70262 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70263 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70264 * sysdeps/i386/fpu/e_logf.S: Likewise.
70265 * sysdeps/i386/fpu/e_log10l.S: Likewise.
70266 * sysdeps/i386/fpu/e_atanh.S: Likewise.
70267 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70268 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70269 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70270 * sysdeps/i386/fpu/e_log10.S: Likewise.
70271 * sysdeps/i386/fpu/s_frexp.S: Likewise.
70272 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70273 * sysdeps/i386/fpu/s_asinh.S: Likewise.
70274 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70275 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70276 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70277 * sysdeps/i386/asm-syntax.h: Likewise.
70278 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70279 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70280 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70281 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70282 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70283 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70284 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70285 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70286 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70287 * sysdeps/powerpc/sysdep.h: Likewise.
70288 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70289 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70290
70291 2012-02-06 Joseph Myers <joseph@codesourcery.com>
70292
70293 [BZ #411]
70294 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70295
70296 2012-02-06 Joseph Myers <joseph@codesourcery.com>
70297
70298 * sysdeps/i386/sysdep.h: Include <features.h>.
70299 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70300 version.
70301
70302 2012-02-05 Joseph Myers <joseph@codesourcery.com>
70303
70304 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70305 Define.
70306 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70307 LOAD_PIC_REG_STR.
70308
70309 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70310
70311 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70312 (SETUP_PIC_REG): Use GET_PC_THUNK.
70313 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70314 macro.
70315
70316 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70317
70318 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70319 for non-PIC compilation.
70320 (SETUP_PIC_REG): Add .p2align directive.
70321 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70322 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70323 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70324 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70325 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70326 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70327 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70329 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70330 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70331 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70332 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70333 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70334 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70335 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70336 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70337 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70338 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70339 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70340 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70341 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70342 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70343 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70344 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70345 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70347 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70348 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70349 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70350 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70351 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70353 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70354 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70355 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70356 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70357 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70358 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70359 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70360 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70361 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70362
70363 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70364
70365 * math/tst-CMPLX.c: Include <stdio.h>.
70366
70367 2012-01-31 Joseph Myers <joseph@codesourcery.com>
70368
70369 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70370 float.
70371 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70372 * sysdeps/sparc/bits/mathdef.h: Likewise.
70373
70374 2012-01-31 Marek Polacek <polacek@redhat.com>
70375
70376 * libio/libio.h: Don't define _PARAMS.
70377 * locale/programs/config.h: Don't define PARAMS.
70378 * stdlib/strtol_l.c: Likewise.
70379 (__strtol_l): Remove PARAMS from the prototype.
70380
70381 2012-01-31 Ulrich Drepper <drepper@gmail.com>
70382
70383 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
70384 names. Just use the correct names. Remove unnecessary wrapper
70385 functions.
70386 * malloc/arena.c: Likewise.
70387 * malloc/hooks.c: Likewise.
70388
70389 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70390 ARENA_TEST says not to. Simplify test for creation of a new arena.
70391 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70392
70393 2012-01-30 Ulrich Drepper <drepper@gmail.com>
70394
70395 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70396 into tail calls.
70397 (update_get_addr): New function.
70398 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70399 GET_ADDR_MODULE parameter.
70400
70401 2012-01-30 Joseph Myers <joseph@codesourcery.com>
70402
70403 * crypt/cert.c: Remove __STDC__ conditionals.
70404 * crypt/crypt-entry.c: Likewise.
70405 * crypt/crypt_util.c: Likewise.
70406 * libio/filedoalloc.c: Likewise.
70407 * libio/fileops.c: Likewise.
70408 * libio/genops.c: Likewise.
70409 * libio/iofclose.c: Likewise.
70410 * libio/iofdopen.c: Likewise.
70411 * libio/iofopen.c: Likewise.
70412 * libio/iofopen64.c: Likewise.
70413 * libio/iogetdelim.c: Likewise.
70414 * libio/iopopen.c: Likewise.
70415 * libio/obprintf.c: Likewise.
70416 * libio/oldfileops.c: Likewise.
70417 * libio/oldiofclose.c: Likewise.
70418 * libio/oldiofdopen.c: Likewise.
70419 * libio/oldiofopen.c: Likewise.
70420 * libio/oldiopopen.c: Likewise.
70421 * libio/wfiledoalloc.c: Likewise.
70422 * libio/wgenops.c: Likewise.
70423 * locale/programs/xmalloc.c: Likewise.
70424 * misc/syslog.c: Likewise.
70425 * stdio-common/xbug.c: Likewise.
70426 * string/memchr.c: Likewise.
70427 * string/memcmp.c: Likewise.
70428 * string/memrchr.c: Likewise.
70429 * string/rawmemchr.c: Likewise.
70430 * sysdeps/posix/getcwd.c: Likewise.
70431 * time/strftime_l.c: Likewise.
70432
70433 2012-01-30 Joseph Myers <joseph@codesourcery.com>
70434
70435 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70436 * config.make.in (config-cflags-sse2avx): Define.
70437 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70438 Fix typo.
70439
70440 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
70441
70442 * scripts/config.guess: Update from upstream config git repository.
70443 * scripts/config.sub: Likewise.
70444
70445 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
70446
70447 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70448 (EM_NUM): Update.
70449 (R_TILEPRO_*, R_TILEGX_*): New macros.
70450
70451 * scripts/firstversions.awk: Fix bug in version range handling.
70452
70453 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70454
70455 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70456
70457 * include/sys/epoll.h: New file.
70458 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70459 libc_hidden_def.
70460
70461 2012-01-28 Ulrich Drepper <drepper@gmail.com>
70462
70463 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70464 Avoid unnecessary __WORDSIZE == 64 test.
70465 (fmaxf): Use VEX format if possible.
70466 (fmax): Likewise.
70467 (fminf): Likewise.
70468 (fmin): Likewise.
70469
70470 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70471 * math/math_private.h: Remove libc_fegetround* and
70472 libc_fesetround*.
70473 * sysdeps/i386/configure.in: Check for -msse2avx.
70474 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70475 also if SSE2AVX is defined.
70476 Remove libc_fegetround* and libc_fesetround*.
70477 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70478 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
70479 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70480 of HAS_YMM_USABLE.
70481 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70482 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70484 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70486
70487 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70488
70489 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70490
70491 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70492 size is not set.
70493 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70494
70495 2012-01-27 Ulrich Drepper <drepper@gmail.com>
70496
70497 [BZ #13618]
70498 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70499 relocation.
70500 * Makeconfig (libm): Define.
70501 * elf/Makefile: Add rules to build and run tst-relsort1.
70502 * elf/tst-relsort1.c: New file.
70503 * elf/tst-relsort1mod1.c: New file.
70504 * elf/tst-relsort1mod2.c: New file.
70505
70506 2012-01-27 Joseph Myers <joseph@codesourcery.com>
70507
70508 * math/s_ldexp.c: Remove __STDC__ conditionals.
70509 * math/s_ldexpf.c: Likewise.
70510 * math/s_ldexpl.c: Likewise.
70511 * math/s_nextafter.c: Likewise.
70512 * math/s_nexttowardf.c: Likewise.
70513 * math/s_significand.c: Likewise.
70514 * math/s_significandf.c: Likewise.
70515 * math/s_significandl.c: Likewise.
70516 * math/w_jnl.c: Likewise.
70517 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70518 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70519 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70520 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70521 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70523 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70524 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70525 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70526 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70527 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70528 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70529 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70530 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70531 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70532 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70533 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70534 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70538 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70539 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70541 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70542 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70543 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70544 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70545 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70546 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70547 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70548 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70549 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70550 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70551 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70552 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70553 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70554 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70555 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70556 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70557 * sysdeps/ieee754/k_standard.c: Likewise.
70558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70559 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70560 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70561 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70562 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70563 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70565 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70566 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70567 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70568 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70569 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70570 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70571 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70572 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70573 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70574 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70575 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70576 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70577 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70578 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70579 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70580 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70581 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70582 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70583 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70584 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70585 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70587 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70588 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70589 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70590 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70591 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70592 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70593 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70594 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70595 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70596 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70597 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70598 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70600 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70601 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70602 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70603 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70604 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70605 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70606 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70607 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70608 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70609 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70610 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70611 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70612 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70613 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70614 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70615 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70616 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70617 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70618 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70619 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70620 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70621 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70622 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70623 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70624 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70625 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70626 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70627 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70628 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70629 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70630 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70631 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70632 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70633 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70634 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70635 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70636 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70637 * sysdeps/ieee754/s_matherr.c: Likewise.
70638 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70639 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70642
70643 2012-01-26 Joseph Myers <joseph@codesourcery.com>
70644
70645 * crypt/md5.h: Remove __STDC__ conditionals.
70646 * libio/libioP.h: Likewise.
70647 * locale/programs/config.h: Likewise.
70648 * sysdeps/generic/sysdep.h: Likewise.
70649 * sysdeps/i386/asm-syntax.h: Likewise.
70650 * sysdeps/s390/asm-syntax.h: Likewise.
70651 * sysdeps/unix/sysdep.h: Likewise.
70652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70654
70655 2012-01-26 Joseph Myers <joseph@codesourcery.com>
70656
70657 * libio/libio.h: Remove __STDC__ conditionals.
70658 * malloc/obstack.h: Likewise.
70659 * math/complex.h: Likewise.
70660 * math/math.h: Likewise.
70661 * sysdeps/generic/_G_config.h: Likewise.
70662 * sysdeps/gnu/_G_config.h: Likewise.
70663 * sysdeps/mach/hurd/_G_config.h: Likewise.
70664 * sysdeps/powerpc/bits/mathdef.h: Likewise.
70665 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70666 * sysdeps/sparc/bits/mathdef.h: Likewise.
70667
70668 2012-01-26 Ulrich Drepper <drepper@gmail.com>
70669
70670 [BZ #13583]
70671 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70672 Clean up HAS_* macros.
70673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70674 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70675 possible.
70676 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70677 HAS_AVX.
70678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70679 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70680 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70681 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70683
70684 2012-01-25 Joseph Myers <joseph@codesourcery.com>
70685
70686 * elf/tst-unique3.cc (gets): Remove declaration.
70687 * elf/tst-unique3lib.cc (gets): Likewise.
70688 * elf/tst-unique3lib2.cc (gets): Likewise.
70689 * elf/tst-unique4.cc (gets): Likewise.
70690
70691 2012-01-24 Ulrich Drepper <drepper@gmail.com>
70692
70693 * include/stdio.h: Add C++ protection. Add gets declarations and
70694 definitions.
70695 * debug/tst-chk1.c: Don't declare gets here.
70696 * stdio-common/tst-gets.c: Likewise.
70697
70698 2012-01-24 Joseph Myers <joseph@codesourcery.com>
70699
70700 * posix/glob: Remove directory.
70701
70702 2012-01-24 Joseph Myers <joseph@codesourcery.com>
70703
70704 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70705
70706 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
70707
70708 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70709 of the non-standard EPFNOSUPPORT.
70710
70711 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
70712
70713 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70714 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70715 ANYWHERE set to 1 only on KERN_NO_SPACE error.
70716
70717 2012-01-21 Ulrich Drepper <drepper@gmail.com>
70718
70719 * wcsmbs/uchar.h: Test __STDC_VERSION__.
70720
70721 2012-01-20 Ulrich Drepper <drepper@gmail.com>
70722
70723 * nscd/aicache.c (addhstaiX): Do not cache negative results of
70724 transient errors.
70725 * nscd/grpcache.c (cache_addgr): Likewise.
70726 * nscd/hstcache.c (cache_addhst): Likewise.
70727 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70728 * nscd/pwdcache.c (cache_addpw): Likewise.
70729 * nscd/servicescache.c (cache_addserv): Likewise.
70730
70731 2012-01-16 Ulrich Drepper <drepper@gmail.com>
70732
70733 * malloc/malloc.c: Various cleanups.
70734 * malloc/hooks.c: Likewise.
70735
70736 * stdlib/Makefile (tests): Add bug-fmtmsg1.
70737 * stdlib/bug-fmtmsg1.c: New file.
70738
70739 * stdlib/fmtmsg.c (init): Add missing unlock.
70740 Patch by Peng Haitao <penght@cn.fujitsu.com>.
70741
70742 2012-01-12 Marek Polacek <polacek@redhat.com>
70743
70744 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70745 and _GNU_SOURCE.
70746
70747 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
70748
70749 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70750 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70751 macro to ensure uniqueness of label name.
70752 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70753 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70754
70755 2012-01-11 Ulrich Drepper <drepper@gmail.com>
70756
70757 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70758
70759 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70760 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70761 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70763
70764 2012-01-10 Ulrich Drepper <drepper@gmail.com>
70765
70766 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70767
70768 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70769 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70770 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70771
70772 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70773
70774 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70775 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70776 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70777 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70778
70779 * math/bits/math-finite.h: Add ldexp support.
70780
70781 2012-01-10 Marek Polacek <polacek@redhat.com>
70782
70783 * locale/programs/localedef.h (show_archive_content): Add noreturn
70784 attribute.
70785
70786 2012-01-09 Ulrich Drepper <drepper@gmail.com>
70787
70788 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70789
70790 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70791
70792 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70793
70794 * io/Makefile (headers): Add bits/poll2.h.
70795
70796 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
70797
70798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70799 typo #include statement.
70800
70801 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70802
70803 * include/sys/cdefs.h: Define __attribute_alloc_size.
70804 * catgets/gencat.c: Add alloc_size attribute and apply consistently
70805 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70806 * elf/pldd.c: Likewise.
70807 * iconv/iconv_charmap.c: Likewise.
70808 * iconv/iconvconfig.c: Likewise.
70809 * iconv/strtab.c: Likewise.
70810 * locale/programs/locale.c: Likewise.
70811 * locale/programs/localedef.h: Likewise.
70812 * locale/programs/simple-hash.c: Likewise.
70813 * nscd/nscd.h: Likewise.
70814 * nss/makedb.c: Likewise.
70815 * sysdeps/generic/ldconfig.h: Likewise.
70816 * locale/programs/localedef.c: Remove xmalloc prototype.
70817 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70818
70819 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70820
70821 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70822 appropriate.
70823
70824 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70825
70826 * math/Makefile (tests): Add tst-CMPLX.
70827 * math/tst-CMPLX.c: New file.
70828
70829 * math/complex.h (CMPLXL): Fix typo.
70830
70831 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70832 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70833 GLIBC_2.16.
70834 * debug/tst-chk1.c: Add poll and ppoll tests.
70835 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70836 * include/sys/poll.h: Add hidden proto for ppoll.
70837 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70838 * sysdeps/mach/hurd/ppoll.c: Likewise.
70839 * io/ppoll.c: Likewise.
70840 * debug/poll_chk.c: New file.
70841 * debug/ppoll_chk.c: New file.
70842 * include/bits/poll2.h: New file.
70843 * io/bits/poll2.h: New file.
70844
70845 [BZ #1350]
70846 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70847
70848 * configure.in: static is always set to yes. Remove.
70849 * config.make.in: Don't set build-static.
70850 * Makeconfig: Remove use of build-static.
70851 * dlfcn/Makefile: Likewise.
70852 * elf/Makefile: Likewise.
70853 * math/Makefile: Likewise.
70854 * misc/Makefile: Likewise.
70855 * nptl/Makefile: Likewise.
70856 * sysdeps/mach/hurd/Makefile: Likewise.
70857
70858 * configure.in: PWD_P is not used anymore.
70859 * config.make.in: Remove PWD_P entry.
70860
70861 * configure.in: Remove last remnants of RANLIB.
70862 No need to check for signed size_t anymore.
70863 Don't set libc_commonpagesize and libc_relro_required here for Alpha
70864 and IA-64.
70865 Remove __builtin_expect test because we require at least gcc 3.4.
70866 * aclocal.m4: Likewise.
70867
70868 * wcsmbs/mbrtoc16.c: Implement using towc function.
70869 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70870 * wcsmbs/wcsmbsload.c: Likewise.
70871 * iconv/gconv_simple.c: Likewise.
70872 * iconv/gconv_int.h: Likewise.
70873 * iconv/gconv_builtin.h: Likewise.
70874 * iconv/iconv_prog.c: Remove CHAR16 handling.
70875
70876 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70877
70878 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70879
70880 * configure.in: Remove --with-elf and --enable-bounded options.
70881 Dont set base_machine for ia64. More non-ELF conditions removed.
70882 Remove testing and setting of leading underscore information.
70883 * config.make.in (build-bounded): Set to no.
70884 * config.h.in: Remove NO_UNDERSCORES entry.
70885 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
70886 them.
70887 * csu/start.c: Remove !NO_UNDERSCORE code.
70888 * locale/localeinfo.h: Likewise.
70889 * sysdeps/generic/machine-gmon.h: Likewise.
70890 * sysdeps/generic/sysdep.h: Likewise.
70891 * sysdeps/i386/sysdep.h: Likewise.
70892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70893 * sysdeps/mach/sysdep.h: Likewise.
70894 * sysdeps/s390/s390-32/sysdep.h: Likewise.
70895 * sysdeps/s390/s390-64/sysdep.h: Likewise.
70896 * sysdeps/sh/sysdep.h: Likewise.
70897 * sysdeps/sparc/sparc32/alloca.S: Likewise.
70898 * sysdeps/unix/i386/sysdep.S: Likewise.
70899 * sysdeps/unix/sparc/start.c: Likewise.
70900 * sysdeps/unix/sparc/sysdep.S: Likewise.
70901 * sysdeps/unix/sparc/sysdep.h: Likewise.
70902 * sysdeps/unix/start.c: Likewise.
70903 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70904 * sysdeps/x86_64/sysdep.h: Likewise.
70905
70906 2012-01-07 Ulrich Drepper <drepper@gmail.com>
70907
70908 [BZ #13553]
70909 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70910 for non-gcc.
70911 * argp/argp-fmtstream.h: Use const instead __const.
70912 * argp/argp.h: Likewise.
70913 * assert/assert.h: Likewise.
70914 * bits/fenv.h: Likewise.
70915 * bits/sched.h: Likewise.
70916 * bits/sigset.h: Likewise.
70917 * bits/sigthread.h: Likewise.
70918 * catgets/nl_types.h: Likewise.
70919 * conform/data/pthread.h-data: Likewise.
70920 * crypt/crypt-private.h: Likewise.
70921 * crypt/crypt.h: Likewise.
70922 * crypt/crypt_util.c: Likewise.
70923 * ctype/ctype.h: Likewise.
70924 * debug/execinfo.h: Likewise.
70925 * debug/mbsnrtowcs_chk.c: Likewise.
70926 * debug/mbsrtowcs_chk.c: Likewise.
70927 * debug/wcsnrtombs_chk.c: Likewise.
70928 * debug/wcsrtombs_chk.c: Likewise.
70929 * debug/wcstombs_chk.c: Likewise.
70930 * dirent/dirent.h: Likewise.
70931 * dlfcn/dlfcn.h: Likewise.
70932 * elf/neededtest4.c: Likewise.
70933 * grp/grp.h: Likewise.
70934 * gshadow/gshadow.h: Likewise.
70935 * iconv/gconv.h: Likewise.
70936 * iconv/gconv_int.h: Likewise.
70937 * iconv/gconv_simple.c: Likewise.
70938 * iconv/iconv.h: Likewise.
70939 * iconv/loop.c: Likewise.
70940 * iconv/skeleton.c: Likewise.
70941 * include/aio.h: Likewise.
70942 * include/aliases.h: Likewise.
70943 * include/argz.h: Likewise.
70944 * include/arpa/inet.h: Likewise.
70945 * include/assert.h: Likewise.
70946 * include/dirent.h: Likewise.
70947 * include/dlfcn.h: Likewise.
70948 * include/execinfo.h: Likewise.
70949 * include/fcntl.h: Likewise.
70950 * include/fenv.h: Likewise.
70951 * include/glob.h: Likewise.
70952 * include/grp.h: Likewise.
70953 * include/libintl.h: Likewise.
70954 * include/mntent.h: Likewise.
70955 * include/netdb.h: Likewise.
70956 * include/pwd.h: Likewise.
70957 * include/rpc/netdb.h: Likewise.
70958 * include/sched.h: Likewise.
70959 * include/search.h: Likewise.
70960 * include/shadow.h: Likewise.
70961 * include/signal.h: Likewise.
70962 * include/stdio.h: Likewise.
70963 * include/stdlib.h: Likewise.
70964 * include/string.h: Likewise.
70965 * include/sys/socket.h: Likewise.
70966 * include/sys/stat.h: Likewise.
70967 * include/sys/statfs.h: Likewise.
70968 * include/sys/statvfs.h: Likewise.
70969 * include/sys/syslog.h: Likewise.
70970 * include/sys/time.h: Likewise.
70971 * include/sys/uio.h: Likewise.
70972 * include/time.h: Likewise.
70973 * include/unistd.h: Likewise.
70974 * include/utmp.h: Likewise.
70975 * include/wchar.h: Likewise.
70976 * include/wctype.h: Likewise.
70977 * inet/aliases.h: Likewise.
70978 * inet/arpa/inet.h: Likewise.
70979 * inet/netinet/ether.h: Likewise.
70980 * inet/netinet/in.h: Likewise.
70981 * intl/libintl.h: Likewise.
70982 * io/bits/fcntl2.h: Likewise.
70983 * io/fcntl.h: Likewise.
70984 * io/ftw.h: Likewise.
70985 * io/sys/poll.h: Likewise.
70986 * io/sys/stat.h: Likewise.
70987 * io/sys/statfs.h: Likewise.
70988 * io/sys/statvfs.h: Likewise.
70989 * io/utime.h: Likewise.
70990 * libio/bits/stdio.h: Likewise.
70991 * libio/bits/stdio2.h: Likewise.
70992 * libio/libio.h: Likewise.
70993 * libio/libioP.h: Likewise.
70994 * libio/stdio.h: Likewise.
70995 * locale/lc-ctype.c: Likewise.
70996 * locale/locale.h: Likewise.
70997 * login/utmp.h: Likewise.
70998 * malloc/arena.c: Likewise.
70999 * malloc/malloc.c: Likewise.
71000 * malloc/malloc.h: Likewise.
71001 * malloc/mcheck.c: Likewise.
71002 * malloc/mtrace.c: Likewise.
71003 * math/bits/mathcalls.h: Likewise.
71004 * math/fenv.h: Likewise.
71005 * math/math_private.h: Likewise.
71006 * misc/bits/error.h: Likewise.
71007 * misc/bits/syslog.h: Likewise.
71008 * misc/err.h: Likewise.
71009 * misc/error.h: Likewise.
71010 * misc/fstab.h: Likewise.
71011 * misc/mntent.h: Likewise.
71012 * misc/regexp.h: Likewise.
71013 * misc/search.h: Likewise.
71014 * misc/sgtty.h: Likewise.
71015 * misc/sys/mman.h: Likewise.
71016 * misc/sys/syslog.h: Likewise.
71017 * misc/sys/uio.h: Likewise.
71018 * misc/sys/xattr.h: Likewise.
71019 * misc/ttyent.h: Likewise.
71020 * nis/rpcsvc/ypclnt.h: Likewise.
71021 * nss/nss.h: Likewise.
71022 * posix/bits/unistd.h: Likewise.
71023 * posix/fnmatch.h: Likewise.
71024 * posix/glob.h: Likewise.
71025 * posix/sched.h: Likewise.
71026 * posix/spawn.h: Likewise.
71027 * posix/sys/wait.h: Likewise.
71028 * posix/unistd.h: Likewise.
71029 * posix/wordexp.h: Likewise.
71030 * pwd/pwd.h: Likewise.
71031 * resolv/netdb.h: Likewise.
71032 * resource/sys/resource.h: Likewise.
71033 * rt/aio.h: Likewise.
71034 * rt/bits/mqueue2.h: Likewise.
71035 * rt/mqueue.h: Likewise.
71036 * shadow/shadow.h: Likewise.
71037 * signal/signal.h: Likewise.
71038 * socket/send.c: Likewise.
71039 * socket/sendto.c: Likewise.
71040 * socket/sys/socket.h: Likewise.
71041 * stdio-common/printf.h: Likewise.
71042 * stdlib/bits/stdlib.h: Likewise.
71043 * stdlib/fmtmsg.h: Likewise.
71044 * stdlib/monetary.h: Likewise.
71045 * stdlib/stdlib.h: Likewise.
71046 * stdlib/ucontext.h: Likewise.
71047 * streams/stropts.h: Likewise.
71048 * string/argz.h: Likewise.
71049 * string/bits/string2.h: Likewise.
71050 * string/string.h: Likewise.
71051 * string/strings.h: Likewise.
71052 * sunrpc/rpc/auth.h: Likewise.
71053 * sunrpc/rpc/auth_des.h: Likewise.
71054 * sunrpc/rpc/clnt.h: Likewise.
71055 * sunrpc/rpc/netdb.h: Likewise.
71056 * sunrpc/rpc/pmap_clnt.h: Likewise.
71057 * sunrpc/rpc/xdr.h: Likewise.
71058 * sysdeps/generic/inttypes.h: Likewise.
71059 * sysdeps/generic/net/if.h: Likewise.
71060 * sysdeps/generic/sys/swap.h: Likewise.
71061 * sysdeps/gnu/net/if.h: Likewise.
71062 * sysdeps/gnu/utmpx.h: Likewise.
71063 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71064 * sysdeps/i386/i486/bits/string.h: Likewise.
71065 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71066 * sysdeps/s390/bits/string.h: Likewise.
71067 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71068 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71069 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71070 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71071 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71072 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71073 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71074 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71075 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71076 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71077 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71078 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71079 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71080 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71081 * sysdeps/unix/sysv/linux/readv.c: Likewise.
71082 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71083 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71084 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71085 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71086 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71087 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71088 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71089 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71090 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71091 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71092 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71093 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71094 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71095 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71096 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71097 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71098 * sysvipc/sys/ipc.h: Likewise.
71099 * sysvipc/sys/msg.h: Likewise.
71100 * sysvipc/sys/sem.h: Likewise.
71101 * sysvipc/sys/shm.h: Likewise.
71102 * termios/termios.h: Likewise.
71103 * time/sys/time.h: Likewise.
71104 * time/time.h: Likewise.
71105 * wcsmbs/bits/wchar2.h: Likewise.
71106 * wcsmbs/uchar.h: Likewise.
71107 * wcsmbs/wchar.h: Likewise.
71108 * wctype/wctype.h: Likewise.
71109
71110 [BZ #13551]
71111 * Makeconfig: Remove all but ELF support including AIX support.
71112 * Makerules: Likewise.
71113 * config.h.in: Likewise.
71114 * config.make.in: Likewise.
71115 * configure: Likewise.
71116 * configure.in: Likewise.
71117 * csu/Makefile: Likewise.
71118 * csu/version.c: Likewise.
71119 * debug/Makefile: Likewise.
71120 * dlfcn/Makefile: Likewise.
71121 * elf/Makefile: Likewise.
71122 * extra-lib.mk: Likewise.
71123 * iconv/Makefile: Likewise.
71124 * include/libc-symbols.h: Likewise.
71125 * include/shlib-compat.h: Likewise.
71126 * resolv/Makefile: Likewise.
71127 * resolv/res_libc.c: Likewise.
71128 * rt/Makefile: Likewise.
71129 * sysdeps/i386/asm-syntax.h: Likewise.
71130 * sysdeps/i386/sysdep.h: Likewise.
71131 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71132 * sysdeps/mach/sysdep.h: Likewise.
71133 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71134 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71135 * sysdeps/s390/asm-syntax.h: Likewise.
71136 * sysdeps/s390/s390-32/sysdep.h: Likewise.
71137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
71138 * sysdeps/sh/sysdep.h: Likewise.
71139 * sysdeps/unix/sparc/sysdep.h: Likewise.
71140 * sysdeps/wordsize-32/divdi3.c: Likewise.
71141 * sysdeps/x86_64/sysdep.h: Likewise.
71142
71143 * argp/Versions: Remove _argp_unlock_xxx.
71144
71145 [BZ #13559]
71146 * abilist/ld.abilist: Update. Adjust for removal of tls option.
71147 * abilist/libBrokenLocale.abilist: Likewise.
71148 * abilist/libanl.abilist: Likewise.
71149 * abilist/libc.abilist: Likewise.
71150 * abilist/libcrypt.abilist: Likewise.
71151 * abilist/libdl.abilist: Likewise.
71152 * abilist/libm.abilist: Likewise.
71153 * abilist/libnsl.abilist: Likewise.
71154 * abilist/libpthread.abilist: Likewise.
71155 * abilist/libresolv.abilist: Likewise.
71156 * abilist/librt.abilist: Likewise.
71157 * abilist/libthread_db.abilist: Likewise.
71158 * abilist/libutil.abilist: Likewise.
71159 * abilist/libnss_db.abilist: New file.
71160
71161 * scripts/abilist.awk: Add support for indirect functions.
71162
71163 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71164
71165 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71166
71167 * shlib-versions: Remove entries for ports architectures.
71168
71169 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
71170 files in ports.
71171 * elf/stackguard-macros.h: Remove support for IA-64.
71172 * elf/tst-auditmod1.c: Likewise.
71173 * sysdeps/generic/ldsodefs.h: Likewise.
71174
71175 * sysdeps/unix/sysv/linux/configure.in: Ports should define
71176 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71177 configure files.
71178
71179 [BZ #13552]
71180 * configure.in: Remove --enable-omitfp support.
71181 * FAQ.in: Adjust.
71182 * config.make.in: Likewise.
71183 * Makeconfig: Likewise.
71184 * manual/install.texi: Likewise.
71185
71186 In case anyone cares, the IA-64 architecture could move to ports.
71187 * sysdeps/ia64/*: Removed.
71188 * sysdeps/unix/sysv/linux/ia64/*: Removed.
71189 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71190
71191 [BZ #13555]
71192 * configure.in: Remove entries for unsupported architectures.
71193
71194 [BZ #13533]
71195 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71196 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
71197 routines.
71198 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71199 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71200 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
71201 fall back to using wcrtomb.
71202 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71203 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
71204 renaming.
71205 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71206 * wcsmbs/tst-c16c32-1.c: New file.
71207
71208 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71209 local variable.
71210
71211 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71212
71213 * elf/tst-unique3.cc: Add explicit declaration of gets.
71214 * elf/tst-unique3lib.cc: Likewise.
71215 * elf/tst-unique3lib2.cc: Likewise.
71216 * elf/tst-unique4.cc: Likewise.
71217
71218 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71219
71220 2012-01-06 Joseph Myers <joseph@codesourcery.com>
71221
71222 [BZ #13566]
71223 * assert/assert.h (static_assert): Don't define for C++.
71224 * libio/stdio.h (gets): Do declare for C++ <= C++11.
71225 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71226
71227 2012-01-03 Ulrich Drepper <drepper@gmail.com>
71228
71229 * iconv/loop.c (single loop): Fix assertion in storing of
71230 remaining bytes.
71231
71232 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71233
71234 2012-01-01 Ulrich Drepper <drepper@gmail.com>
71235
71236 * posix/getconf.c: Update copyright year.
71237 * nss/getent.c: Likewise.
71238 * nss/makedb.c: Likewise.
71239 * iconv/iconvconfig.c: Likewise.
71240 * iconv/iconv_prog.c: Likewise.
71241 * elf/ldconfig.c: Likewise.
71242 * elf/pldd.c: Likewise.
71243 * elf/sotruss.ksh: Likewise.
71244 * catgets/gencat.c: Likewise.
71245 * csu/version.c: Likewise.
71246 * elf/ldd.bash.in: Likewise.
71247 * elf/sprof.c (print_version): Likewise.
71248 * locale/programs/locale.c: Likewise.
71249 * locale/programs/localedef.c: Likewise.
71250 * login/programs/pt_chown.c: Likewise.
71251 * nscd/nscd.c (print_version): Likewise.
71252 * debug/xtrace.sh: Likewise.
71253 * malloc/memusage.sh: Likewise.
71254 * malloc/mtrace.pl: Likewise.
71255 * debug/catchsegv.sh: Likewise.
71256
71257 2011-12-30 Jakub Jelinek <jakub@redhat.com>
71258
71259 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71260 pure attribute.
71261
71262 2011-12-24 Ulrich Drepper <drepper@gmail.com>
71263
71264 [BZ #13533]
71265 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71266 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71267 transformations.
71268 * iconv/gconv_int.h: Likewise.
71269 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71270 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71271 from libc for GLIBC_2.16.
71272 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71273 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71274 * wcsmbs/uchar.h: Really define mbstate_t.
71275 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71276 * wcsmbs/c16rtomb.c: New file.
71277 * wcsmbs/mbrtoc16.c: New file.
71278 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71279 for C/POSIX locale.
71280 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71281 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71282
71283 * wcsmbs/wchar.h: Add missing __restrict.
71284
71285 2011-12-23 Ulrich Drepper <drepper@gmail.com>
71286
71287 [BZ #13532]
71288 * time/Makefile (routines): Add timespec_get.
71289 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71290 * time/time.h: Define TIME_UTC and declare timespec_get. Define
71291 timespec for ISO C11.
71292 * time/timespec_get.c: New file.
71293 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71294 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71295
71296 [BZ #13531]
71297 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71298 * stdlib/stdlib.h: Declare aligned_alloc.
71299 * Versions.def: Add GLIBC_2.16 for libc.
71300 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71301
71302 [BZ 13527]
71303 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71304 ISO C11.
71305
71306 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71307 code.
71308
71309 [BZ #13528]
71310 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71311
71312 [BZ #13529]
71313 * assert/assert.h (static_assert): Define.
71314
71315 * version.h: Update for 2.16 development version.
71316
71317 [BZ #13526]
71318 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71319 _ISOC11_SOURCE.
71320
71321 * version.h (RELEASE): Bump for 2.15 release.
71322 * include/features.h (__GLIBC_MINOR__): Bump to 15.
71323
71324 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71325 Patch by Marek Polacek <mpolacek@redhat.com>.
71326
71327 * bits/byteswap.h: Protect long long constants with __extension__.
71328 * sysdeps/i386/bits/byteswap.h: Likewise.
71329 * sysdeps/ia64/bits/byteswap.h: Likewise.
71330 * sysdeps/s390/bits/byteswap.h: Likewise.
71331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
71332
71333 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71334
71335 [BZ #13540]
71336 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71337 destination buffer.
71338 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71339
71340 2011-12-23 Marek Polacek <polacek@redhat.com>
71341
71342 * elf/dl-addr.c (determine_info): Add inline keyword.
71343 * elf/tst-auditmod4b.c (check_avx): Likewise.
71344 * elf/tst-auditmod6b.c (check_avx): Likewise.
71345 * elf/tst-auditmod6c.c (check_avx): Likewise.
71346 * elf/tst-auditmod7b.c (check_avx): Likewise.
71347
71348 2011-12-23 Ulrich Drepper <drepper@gmail.com>
71349
71350 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71351 !__SSE_MATH__.
71352
71353 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71354
71355 [BZ #13540]
71356 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71357 processing for last bytes.
71358
71359 2011-08-06 Bruno Haible <bruno@clisp.org>
71360
71361 [BZ #13061]
71362 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71363 U+0385, not to U+1FEE.
71364
71365 [BZ #13062]
71366 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71367 entry for U+00A5 U+0301.
71368
71369 2011-12-22 Ulrich Drepper <drepper@gmail.com>
71370
71371 [BZ #13166]
71372 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71373 buffer for the output is too small.
71374
71375 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71376 optimization.
71377
71378 [BZ #13185]
71379 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71380 SSE flags if possible.
71381
71382 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71383
71384 [BZ #13540]
71385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71386 processing for last bytes.
71387
71388 2011-12-22 Joseph Myers <joseph@codesourcery.com>
71389
71390 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71391 (syscall-list-default-options, syscall-list-default-condition)
71392 (syscall-list-includes): Define.
71393 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71394 list of ABIs and options and #if conditions for each ABI. Do not
71395 handle common syscalls between ABIs specially.
71396 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71397 Remove.
71398 (syscall-list-variants, syscall-list-32bit-options)
71399 (syscall-list-32bit-condition, syscall-list-64bit-options)
71400 (syscall-list-64bit-condition): Define.
71401 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71402 (syscall-list-variants, syscall-list-32bit-options)
71403 (syscall-list-32bit-condition, syscall-list-64bit-options)
71404 (syscall-list-64bit-condition): Define.
71405 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71406 Remove.
71407 (syscall-list-variants, syscall-list-32bit-options)
71408 (syscall-list-32bit-condition, syscall-list-64bit-options)
71409 (syscall-list-64bit-condition): Define.
71410 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71411 Remove.
71412 (syscall-list-variants, syscall-list-32bit-options)
71413 (syscall-list-32bit-condition, syscall-list-64bit-options)
71414 (syscall-list-64bit-condition): Define.
71415
71416 2011-12-22 Ulrich Drepper <drepper@gmail.com>
71417
71418 * locale/iso-639.def: Add brx entry.
71419
71420 [BZ #13328]
71421 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71422 Proposed by Mariusz_Cukr <marcukr@op.pl>.
71423
71424 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71425 __feraiseexcept_renamed.
71426
71427 2011-12-21 Ulrich Drepper <drepper@gmail.com>
71428
71429 [BZ #13538]
71430 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71431 EPOLLET with unsigned values.
71432 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71433 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71434
71435 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71436 to large cancellation.
71437 * math/s_cacoshf.c: Likewise.
71438 * math/s_cacoshl.c: Likewise.
71439
71440 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
71441
71442 [BZ #13305]
71443 [BZ #12786]
71444 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71445 * math/s_cacoshf.c: Likewise.
71446 * math/s_cacoshl.c: Likewise.
71447
71448 2011-12-21 Ulrich Drepper <drepper@gmail.com>
71449
71450 [BZ #13439]
71451 * iconv/gconv.h: Define __GCONV_SWAP.
71452 * iconvdata/unicode.c: The swap bit must be stored in __flags.
71453 * iconvdata/utf-16.c: Likewise.
71454 * iconvdata/utf-32.c: Likewise.
71455
71456 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
71457
71458 [BZ #13524]
71459 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71460 numerator after shifting it by one limb.
71461
71462 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
71463
71464 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71465 under [__USE_EXTERN_INLINES].
71466
71467 2011-12-17 Ulrich Drepper <drepper@gmail.com>
71468
71469 [BZ #13446]
71470 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71471
71472 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71473
71474 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71475 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71476 optimized code.
71477 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71478 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71479 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71480 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71481 for strncasecmp/strncasecmp_l compilation.
71482 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71483 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71484
71485 2011-12-08 Marek Polacek <mpolacek@redhat.com>
71486
71487 [BZ #13484]
71488 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71489 of __asm__.
71490
71491 2011-12-17 Ulrich Drepper <drepper@gmail.com>
71492
71493 [BZ #13506]
71494 * time/tzfile.c (__tzfile_read): Check values from file header.
71495
71496 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
71497
71498 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71499 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71500 * powerpc/powerpc32/dl-start.S: Likewise.
71501 * powerpc/powerpc32/elf/start.S: Likewise.
71502 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71503 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71504 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71505 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71506 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71507 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71508 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71509 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71510 * powerpc/powerpc32/fpu/s_round.S: Likewise.
71511 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71512 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71513 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71514 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71515 * powerpc/powerpc32/memset.S: Likewise.
71516 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71517 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71518 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71519 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71520 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71521 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71522 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71523 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71524 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71525 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71526 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71527 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71528 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71529
71530 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71531
71532 * math/libm-test.inc: Added more nearbyint tests.
71533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71534 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71535 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71537
71538 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
71539
71540 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71541 FD_CLOEXEC.
71542
71543 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71544
71545 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71546 Add wcscpy-ssse3 wcscpy-c.
71547 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71548 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71549 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71550 * sysdeps/x86_64/wcschr.S: New file.
71551 * sysdeps/x86_64/wcsrchr.S: New file.
71552 * string/test-strcmp.c: Remove checking of wcscmp function for
71553 wrong alignments.
71554 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71555 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71556 wcsrchr-sse2 wcsrchr-c.
71557 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71558 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71559 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71560 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71561 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71562 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71563 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71564 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71565 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71566 * wcsmbc/wcschr.c (WCSCHR): New macro.
71567
71568 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71569
71570 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71571 * wcsmbs/test-wcsrchr.c: New file.
71572 * string/test-strrchr.c: Add wcsrchr support.
71573 (WIDE): New macro.
71574 * wcsmbs/test-wcscpy.c: New file.
71575 * string/test-strcpy.c: Add wcscpy support.
71576 (WIDE): New macro.
71577
71578 2011-12-10 Ulrich Drepper <drepper@gmail.com>
71579
71580 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71581 the inner loop.
71582
71583 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
71584
71585 [BZ #13472]
71586 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71587
71588 2011-12-04 Ulrich Drepper <drepper@gmail.com>
71589
71590 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71591 Minor optimizations.
71592
71593 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71594 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71595 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71596
71597 2011-12-03 Ulrich Drepper <drepper@gmail.com>
71598
71599 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71600 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71601 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71602 for gcc to avoid warnings.
71603 * inet/Makefile (tests): Add tst-checks.
71604 * inet/tst-checks.c: New file.
71605
71606 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71607 warning.
71608
71609 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71610 __wmemcmp_sse2.
71611
71612 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71613 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71614
71615 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71616
71617 2011-12-02 Ulrich Drepper <drepper@gmail.com>
71618
71619 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71620 problem.
71621
71622 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71623
71624 2011-11-29 Joseph Myers <joseph@codesourcery.com>
71625
71626 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71627 conditional on GCC version.
71628 (__arch_compare_and_exchange_val_8_acq)
71629 (__arch_compare_and_exchange_val_16_acq)
71630 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71631 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71632 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71633
71634 2011-12-02 Joseph Myers <joseph@codesourcery.com>
71635
71636 * sysdeps/sh/backtrace.c: New file.
71637
71638 2011-12-02 Andreas Schwab <schwab@redhat.com>
71639
71640 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
71641 parenthesis.
71642
71643 2011-12-01 Andreas Schwab <schwab@redhat.com>
71644
71645 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71646 falling back to utime.
71647
71648 2011-11-30 Andreas Schwab <schwab@redhat.com>
71649
71650 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71651 expectations for float.
71652
71653 2011-11-29 Andreas Schwab <schwab@redhat.com>
71654
71655 * locale/weight.h (findidx): Add parameter len.
71656 * locale/weightwc.h (findidx): Likewise.
71657 * posix/fnmatch_loop.c (FCT): Adjust caller.
71658 * posix/regcomp.c (build_equiv_class): Likewise.
71659 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71660 * posix/regexec.c (check_node_accept_bytes): Likewise.
71661 * string/strcoll_l.c (STRCOLL): Likewise.
71662 * string/strxfrm_l.c (STRXFRM): Likewise.
71663
71664 2011-11-17 Ulrich Drepper <drepper@gmail.com>
71665
71666 * Makefile.in: Remove CVSOPT handling.
71667 * configure.in: Remove use of AC_REVISION.
71668 * iconvdata/Makefile (distribute): No need to filter out CVS.
71669 * scripts/list-sources.sh: Remove CVS, subversion and monotone
71670 handling.
71671
71672 2011-11-16 Andreas Schwab <schwab@redhat.com>
71673
71674 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71675 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71676 [USE_AS_STRNCASECMP_L]: Likewise.
71677 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71678 NO_TLS_DIRECT_SEG_REFS.
71679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71680 Fix argument offsets for non-PIC.
71681 [USE_AS_STRNCASECMP_L]: Likewise.
71682 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71683 NO_TLS_DIRECT_SEG_REFS.
71684
71685 2011-11-15 Ulrich Drepper <drepper@gmail.com>
71686
71687 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71688 O_CLOEXEC.
71689 * locale/loadlocale.c (_nl_load_locale): Likewise.
71690
71691 2011-11-15 Andreas Schwab <schwab@redhat.com>
71692
71693 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71694 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71696 (SYSCALL_GETTIME): Set errno on error.
71697
71698 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71699 count references to noai6ai_cached.
71700
71701 2011-11-15 Ulrich Drepper <drepper@gmail.com>
71702
71703 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71704
71705 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71706 FD_CLOEXEC for /proc/self/maps.
71707
71708 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71709 FD_CLOEXEC for /proc/meminfo.
71710
71711 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71712 gai.conf.
71713
71714 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
71715 FD_CLOEXEC for given file.
71716
71717 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71718
71719 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71720 FD_CLOEXEC for /etc/hosts.
71721 (_gethtent): Likewise.
71722
71723 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71724
71725 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71726 cancellation and set FD_CLOEXEC for /etc/netgroup.
71727
71728 * nss/nss_files/files-key.c (search): Don't allow cancellation when
71729 reading /etc/publickey.
71730
71731 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71732 allow cancellation when reading /etc/group.
71733
71734 * nss/nss_files/files-alias.c (internal_setent): Don't allow
71735 cancellation.
71736 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
71737
71738 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71739 when using data file.
71740
71741 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71742
71743 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71744 (write_nis_obj): Use "c" and "e" in fopen.
71745
71746 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71747
71748 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71749
71750 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71751
71752 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71753
71754 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71755 locale.alias.
71756
71757 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71758
71759 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71760
71761 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71762
71763 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71764 file parsing and set FD_CLOEXEC.
71765
71766 2011-11-14 Ulrich Drepper <drepper@gmail.com>
71767
71768 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71769
71770 2011-11-14 Andreas Schwab <schwab@redhat.com>
71771
71772 * malloc/arena.c (arena_get2): Don't call reused_arena when
71773 _int_new_arena failed.
71774
71775 2011-11-14 Ulrich Drepper <drepper@gmail.com>
71776
71777 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71778 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71779 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71781 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71783 to compile strcasecmp and strncasecmp.
71784 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71785 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71786
71787 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71788
71789 2011-11-13 Ulrich Drepper <drepper@gmail.com>
71790
71791 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71792 locale-defines.sym to gen-as-const-headers.
71793 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71794 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71796 to compile strcasecmp and strncasecmp.
71797 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71798 strcasecmp_l and strncasecmp_l.
71799 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71800 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71801 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71802 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71803 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71804 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71805 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71806 * sysdeps/i386/i686/multiarch/strncase.S: New file.
71807 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71808 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71809 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71810
71811 2011-11-12 Ulrich Drepper <drepper@gmail.com>
71812
71813 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71814 result of SYSDEP_GETTIME_CPU to retval.
71815 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71816 parameter list to macro. Remove trailing semicolon. Adjust users.
71817
71818 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71819 variable.
71820
71821 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71822 mantissa words.
71823 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71824
71825 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71826 from unused variable.
71827
71828 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71829 DWARF definitions.
71830 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71831 for assembling.
71832
71833 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71834 over namespaces.
71835
71836 * sunrpc/rpc_prot.c (rejected): Fix case value.
71837
71838 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71839 unsigned long long int to avoid warnings in shift.
71840
71841 * posix/regex_internal.c (re_string_reconstruct): Actually use result
71842 of use of trans.
71843 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71844 variable tmp.
71845
71846 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71847 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71848 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71849
71850 * nis/nis_table.c (nis_list): Use variable of correct type for
71851 result of __follow_path call.
71852
71853 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71854
71855 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71856 of math functions ceil, trunc, floor, round, and sqrt, when
71857 avaliable on the platform.
71858 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71859 name clash.
71860 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71861 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71862 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71863
71864 2011-10-30 Marek Polacek <mpolacek@redhat.com>
71865
71866 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71867 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71868
71869 2011-11-11 Roland McGrath <roland@hack.frob.com>
71870
71871 * include/unistd.h: Fix __readlink return type.
71872 Reported by Chris Metcalf <cmetcalf@tilera.com>.
71873
71874 2011-11-11 Ulrich Drepper <drepper@gmail.com>
71875
71876 * stdlib/ucontext.h: Undo last change for makecontext.
71877
71878 2011-11-11 Andreas Schwab <schwab@redhat.com>
71879
71880 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71881
71882 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71883 * setjmp/setjmp.h: Mark functions as non-leaf.
71884 * setjmp/bits/setjmp2.h: Likewise.
71885 * stdlib/ucontext.h: Likewise.
71886
71887 2011-11-10 Andreas Schwab <schwab@redhat.com>
71888
71889 * malloc/arena.c (_int_new_arena): Don't increment narenas.
71890 (reused_arena): Don't check arena limit.
71891 (arena_get2): Atomically check arena limit.
71892
71893 2011-11-08 Ulrich Drepper <drepper@gmail.com>
71894
71895 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71896 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71897
71898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71899 instructions.
71900
71901 2011-11-07 Andreas Schwab <schwab@redhat.com>
71902
71903 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71904 handler when locking.
71905
71906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71907 Fix size of allocated buffer.
71908
71909 2011-11-04 Andreas Schwab <schwab@redhat.com>
71910
71911 [BZ #10103]
71912 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71913 declarations for long double functions.
71914 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71915
71916 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71917
71918 2011-11-03 Andreas Schwab <schwab@redhat.com>
71919
71920 * nscd/nscd.c (main): Don't start AVC thread until credentials are
71921 installed.
71922
71923 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71924 is disabled.
71925
71926 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
71927
71928 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71929
71930 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
71931
71932 * include/alloca.h (stackinfo_alloca_round): Define.
71933 (extend_alloca): Use it.
71934 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71935 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71936 here.
71937
71938 * scripts/check-local-headers.sh: Ignore libaudit.h.
71939
71940 * nscd/Makefile (extra-objs): Make recursively expanded.
71941
71942 2011-11-01 Ulrich Drepper <drepper@gmail.com>
71943
71944 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71945 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71946
71947 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71948 * posix/tst-rfc3484-2.c: Likewise.
71949 * posix/tst-rfc3484-3.c: Likewise.
71950
71951 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71952 process_vm_writev.
71953 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71954 process_vm_writev.
71955 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71956 process_vm_writev from libc using GLIBC_2.15 version.
71957
71958 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71959
71960 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
71961
71962 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71963 stack usage.
71964
71965 2011-10-31 Ulrich Drepper <drepper@gmail.com>
71966
71967 [BZ #13367]
71968 * nss/getent.c (initgroups_keys): Show error message in case no group
71969 names are given.
71970
71971 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71972 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71973 __bump_nl_timestamp.
71974 * nscd/connections (nscd_init): When host database is served open
71975 netlink socket and request notification about configuration changes.
71976 (main_loop_poll): Track netlink file descriptor and bump timestamp
71977 in case data becomes available.
71978 (main_loop_epoll): Likewise.
71979 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71980 (database_pers_head): Add extra_data fileds.
71981 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71982 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71983 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71984 Adjust caller.
71985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71986 in6ai data, call __free_in6ai.
71987 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71988 Add -DHAVE_NETLINK.
71989 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
71990 interface information. Reuse previous data if netlink timestamp
71991 is not changed.
71992 (__bump_nl_timestamp): New function.
71993 (__free_in6ai): New function.
71994
71995 2011-10-30 Ulrich Drepper <drepper@gmail.com>
71996
71997 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71998 close_not_cancel_no_status here.
71999 (__check_pf): Reorganize code a bit to not call close twice if OOM.
72000
72001 2011-10-29 Ulrich Drepper <drepper@gmail.com>
72002
72003 [BZ #13276]
72004 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72005 return value.
72006
72007 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72008 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72009 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72010
72011 2011-07-03 Andreas Jaeger <aj@suse.de>
72012
72013 [BZ #10709]
72014 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72015 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72016 * math/libm-test.inc (sin_test): Add test case.
72017
72018 2011-10-29 Ulrich Drepper <drepper@gmail.com>
72019
72020 [BZ #13337]
72021 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72022 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72023
72024 * elf/chroot_canon.c (chroot_canon): Cleanups.
72025
72026 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72027
72028 [BZ #13335]
72029 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72030 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72031
72032 * string/test-strchr.c: Make usable for strchrnul testing.
72033 * string/test-strchrnul.c: New file.
72034 * string/Makefile (strop-tests): Add strchrnul.
72035
72036 * po/it.po: Update from translation team.
72037 * po/es.po: Likewise.
72038
72039 2011-10-28 Ulrich Drepper <drepper@gmail.com>
72040
72041 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72042 the three constants needed as parameters. Drop the others.
72043 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72044 __m128i_strloadu_tolower.
72045 Create and initialize variable zero and use it in all the places
72046 where _mm_setzero_si128 was used.
72047
72048 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72049 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72050 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72051 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72052 anymore.
72053 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72054 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72055 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72056 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72057 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72058 __mpranred, __mptan.
72059 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72060 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72061 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72062 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72063 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72064 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72065 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72066 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72067 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72068
72069 2011-10-28 Andreas Schwab <schwab@redhat.com>
72070
72071 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72072 redefine if SHARED.
72073 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72074
72075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72076 wide char related routines to wcsmbs subdir.
72077
72078 2011-10-27 Andreas Schwab <schwab@redhat.com>
72079
72080 [BZ #13344]
72081 * misc/sys/cdefs.h (__THROWNL): Define.
72082 * posix/unistd.h: Use __THREADNL instead of __THREAD
72083 for memory synchronization functions.
72084
72085 2011-10-26 Roland McGrath <roland@hack.frob.com>
72086
72087 [BZ #13349]
72088 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72089 doesn't exist.
72090 * manual/stdio.texi (Obstack Streams): Node removed.
72091
72092 2011-10-26 Andreas Schwab <schwab@redhat.com>
72093
72094 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72095 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72096 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72097
72098 * math/math_private.h (math_force_eval): Allow non-addressable
72099 arguments.
72100 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72101
72102 2011-10-25 Ulrich Drepper <drepper@gmail.com>
72103
72104 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72105 file is not needed.
72106
72107 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72108 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72109 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72110 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72111 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72112 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72113 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72114 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72115 Add AVX variants.
72116 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72117 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72118 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72119 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72120 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72121 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72122 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72123 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72124 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72125 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72126 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72127 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72128 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72129 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72130 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72131 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72132 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72133 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72134 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72135
72136 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72137 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
72138
72139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72140 place. Use VEX encoding when compiling for AVX.
72141
72142 2011-10-25 Andreas Schwab <schwab@redhat.com>
72143
72144 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72145 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72146
72147 * string/test-strchr.c (do_test): Don't generate NUL bytes.
72148
72149 2011-10-25 Ulrich Drepper <drepper@gmail.com>
72150
72151 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72152 useless if() expression.
72153 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72154 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72155 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72156 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72157 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72158 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72159 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72160 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72161 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72162 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72164 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72165 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72166 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72167 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72168 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72169 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72170 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72171 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72172
72173 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72174
72175 2011-10-25 Andreas Schwab <schwab@redhat.com>
72176
72177 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72178 condition.
72179 * elf/dl-fini.c (_dl_sort_fini): Likewise.
72180
72181 2011-10-25 Ulrich Drepper <drepper@gmail.com>
72182
72183 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72184 .text section. Avoid duplicate constants.
72185 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72187 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72192 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72193 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72194 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72195 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72196 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72197 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72198 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72199 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72200 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72201 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72202 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72203 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72204 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72205 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72206 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72207 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72208 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72209 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72210 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72211 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72212 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72213 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72214 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72215 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72216 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72217 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72218 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72219 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72220 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72221 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72222 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72223 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72224 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72225 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72226 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72227 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72228 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72229 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72230
72231 2011-10-24 Ulrich Drepper <drepper@gmail.com>
72232
72233 * sysdeps/x86_64/dla.h: Move to ...
72234 * sysdeps/x86_64/fpu/dla.h: ...here.
72235 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72236 situations. Use __builtin_fma only for gcc 4.6 and up.
72237
72238 * config.make.in: Add have-mfma4 entry.
72239 * configure.in: Substitute libc_cv_cc_fma4.
72240 * math/Makefile (dbl-only-routines): Add sincostab.
72241 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72242 Use __sincostab not sincos.
72243 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72244 name is a macro.
72245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
72249 using __copysign.
72250 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
72251 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
72252 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72253 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72254 and __inv.
72255 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72256 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72257 __copysign.
72258 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
72259 define aliases when function name is a macro.
72260 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72261 sysdeps/ieee754/dbl-64/sincos.tbl.
72262 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72263 fma4-enabled routines.
72264 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72265 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72266 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72267 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72269 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72270 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72271 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72272 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72273 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72274 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72275 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72276 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72277 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72279 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72280 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72281 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72282 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72283 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72284 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72285 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72287 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72288 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72289 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72291 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72292 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72293 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72294
72295 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72296 rename.
72297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72302 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72303 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72305
72306 2011-10-24 Andreas Schwab <schwab@redhat.com>
72307
72308 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72309
72310 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72311
72312 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72313
72314 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72315 prediction.
72316 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72317
72318 * string/strnlen.c: Don't define STRNLEN, reverse logic.
72319 Remove unused variable magic_bits.
72320 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72321
72322 * string/strnlen.c: Define and use STRNLEN macro.
72323 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72324 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72326 * wcsmbs/wcslen.c: Define and use WCSLEN.
72327 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72328 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72329 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72330 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72331 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72332 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72333 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72334
72335 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72336
72337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72338 strnlen-sse2-no-bsf.
72339 Rename strlen-no-bsf to strlen-sse2-no-bsf.
72340 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72341 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72342 Add strnlen support.
72343 (USE_AS_STRNLEN): New macro.
72344 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72345 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72346 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72347 * sysdeps/x86_64/wcslen.S: New file.
72348
72349 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
72350
72351 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72352 XMM-moves are used for copying on small sizes.
72353
72354 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72355
72356 * wcsmbs/Makefile (strop-tests): Add wcschr.
72357 * wcsmbs/test-wcschr.c: New file.
72358 * string/test-strchr.c: Update.
72359 Add wcschr support.
72360 (WIDE): New macro.
72361
72362 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72363
72364 * wcsmbs/Makefile (strop-tests): Add wcslen.
72365 * wcsmbs/test-wcslen.c: New file.
72366 * string/test-strlen.c: Update.
72367 Add wcslen support.
72368 (WIDE): New macro.
72369
72370 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72371
72372 * po/it.po: Update from translation team.
72373
72374 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72375
72376 * sysdeps/x86_64/wcscmp.S: Update.
72377 Fix wrong comparison semantics.
72378 wcscmp shall use signed comparison not unsigned.
72379 Don't use substraction to avoid overflow bug.
72380 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72381 * wcsmbc/wcscmp.c: Likewise.
72382 * string/test-strcmp.c: Likewise.
72383 Add new tests to check cases with negative values.
72384
72385 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72386
72387 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72388 * sysdeps/x86_64/dla.h: ...here. New file.
72389 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72398
72399 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
72400
72401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72402 __ynl_finite aliases.
72403
72404 2011-10-22 Ulrich Drepper <drepper@gmail.com>
72405
72406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72407
72408 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72409 define DLA_FMA.
72410 [DLA_FMA] (EMULV): Use DLA_FMA.
72411 [DLA_FMA] (MUL12): Use EMULV.
72412 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72413 that are not needed.
72414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72415 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72416 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72421
72422 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
72423
72424 * math/s_nan.c: Undef __nan.
72425 * math/s_nanf.c: Undef __nanf.
72426 * math/s_nanl.c: Undef __nanl.
72427 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72428 "math_private.h".
72429
72430 2011-10-22 Ulrich Drepper <drepper@gmail.com>
72431
72432 * math/s_catan.c: Add branch predictions.
72433 * math/s_catanf.c: Likewise.
72434 * math/s_catanh.c: Likewise.
72435 * math/s_catanhf.c: Likewise.
72436 * math/s_catanhl.c: Likewise.
72437 * math/s_catanl.c: Likewise.
72438 * math/s_cexp.c: Likewise.
72439 * math/s_cexpf.c: Likewise.
72440 * math/s_cexpl.c: Likewise.
72441 * math/s_clog.c: Likewise.
72442 * math/s_clog10.c: Likewise.
72443 * math/s_clog10f.c: Likewise.
72444 * math/s_clog10l.c: Likewise.
72445 * math/s_clogf.c: Likewise.
72446 * math/s_clogl.c: Likewise.
72447 * math/s_csqrt.c: Likewise.
72448 * math/s_csqrtf.c: Likewise.
72449 * math/s_csqrtl.c: Likewise.
72450 * math/s_ctanf.c: Likewise.
72451 * math/s_ctanh.c: Likewise.
72452 * math/s_ctanhf.c: Likewise.
72453 * math/s_ctanhl.c: Likewise.
72454 * math/s_ctanl.c: Likewise.
72455
72456 * math/math_private.h: Define __nan, __nanf, __nanl.
72457 * math/s_cacosh.c: Include <math_private.h>.
72458 * math/s_cacoshl.c: Likewise.
72459 * math/s_casinh.c: Likewise.
72460 * math/s_casinhf.c: Likewise.
72461 * math/s_casinhl.c: Likewise.
72462 * math/s_ccos.c: Rely entire on ccosh.
72463 * math/s_ccosf.c: Rely entire on ccoshf.
72464 * math/s_ccosl.c: Rely entirely on ccoshl.
72465 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
72466 Remove tests for FE_INVALID.
72467 * math/s_ccoshf.c: Likewise.
72468 * math/s_ccoshl.c: Likewise.
72469 * math/s_csin.c: Likewise.
72470 * math/s_csinf.c: Likewise.
72471 * math/s_csinh.c Likewise.
72472 * math/s_csinhf.c: Likewise.
72473 * math/s_csinhl.c: Likewise.
72474 * math/s_csinl.c: Likewise.
72475 * math/s_ctan.c: Likewise.
72476 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72477 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72479
72480 2011-10-21 Ulrich Drepper <drepper@gmail.com>
72481
72482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72483 compilation problems.
72484
72485 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72486 __builtin_expect.
72487
72488 2011-10-20 Ulrich Drepper <drepper@gmail.com>
72489
72490 * sysdeps/i386/configure.in: Test for -mfma4 option.
72491 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72492 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72493 COMMON_CPUID_INDEX_80000001.
72494 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72495 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72496 use it if FMA3 is not supported.
72497 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72498
72499 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72500 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72501
72502 2011-10-20 Andreas Schwab <schwab@redhat.com>
72503
72504 [BZ #12892]
72505 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72506 it would create a cycle with a link time dependency.
72507
72508 2011-10-19 Ulrich Drepper <drepper@gmail.com>
72509
72510 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72511 instruction.
72512 * string/Makefile (strop-tests): Add rawmemchr.
72513 * string/test-rawmemchr.c: New file.
72514
72515 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
72517 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
72518 when compiling str{,n}casecmp and when AVX is available. Hook up
72519 new optimized code in initializers.
72520
72521 2011-10-19 Andreas Schwab <schwab@redhat.com>
72522
72523 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72524 __feraiseexcept instead of feraiseexcept.
72525
72526 2011-10-18 Ulrich Drepper <drepper@gmail.com>
72527
72528 * math/math_private.h: Define defaults for libc_fetestexcept and
72529 libc_feupdateenv.
72530 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72531 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72532 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72533 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72534 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72535 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72536 libc_fetestexcept and libc_feupdateenv.
72537
72538 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72539 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72540 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72541 * sysdeps/x86_64/fpu/math_private.h: Define special version of
72542 libc_feholdexcept_setround.
72543
72544 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72545 Add s_nearbyint-c and s_nearbyintf-c.
72546 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72547 nearbyintf inlines.
72548 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72549 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72550 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72551 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72552
72553 * math/math_private.h: Define defaults for libc_fegetround,
72554 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72555 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72556 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72557 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72558 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72559 standard functions.
72560 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72561 Remove comments and hacks for old compiler versions.
72562 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72563 libc_fegetround, libc_fesetround, libc_feholdexcept, and
72564 libc_feholdexceptl.
72565
72566 2011-10-18 Andreas Schwab <schwab@redhat.com>
72567
72568 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72569 (__feraiseexcept_renamed): Add __NTH.
72570 (feraiseexcept): Add __NTH. Rename local variables to fix
72571 namespace violations.
72572
72573 2011-10-17 Ulrich Drepper <drepper@gmail.com>
72574
72575 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72576
72577 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72578
72579 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72580 recently added interfaces.
72581 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72582
72583 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72584 about macro parameter expansion.
72585
72586 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72587 __NO_MATH_INLINES is defined. Cleanups.
72588
72589 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72590 and __floorf is target has SSE4.1.
72591 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72592 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72593 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72594 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72595
72596 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72597 name.
72598 (floorf): Likewise.
72599
72600 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72601
72602 2011-10-17 Andreas Schwab <schwab@redhat.com>
72603
72604 * misc/sys/cdefs.h: Fix last change.
72605
72606 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72607 database lookup.
72608
72609 2011-10-16 Ulrich Drepper <drepper@gmail.com>
72610
72611 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72612
72613 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72615 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72616 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72617 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72618 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72620 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72621 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72622 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72623 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72624 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72625 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72626 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72627 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72628 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72629 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72630 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72631 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72632 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72633 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72634 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72635
72636 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72637 ceil, ceilf, floor, floorf.
72638
72639 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72640 Perform IRELATIVE relocations last.
72641
72642 * elf/do-rel.h: Add another parameter nrelative, replacing the
72643 local variable with the same name. Change name of the function
72644 to end in Rel or Rela (uppercase).
72645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72646 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
72647 elf_dynamic_do_##reloc function.
72648
72649 2011-10-15 Ulrich Drepper <drepper@gmail.com>
72650
72651 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72652 is sufficient, at least on modern CPUs.
72653
72654 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72655
72656 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72657 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72658
72659 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72660 __expl_finite.
72661 * math/bits/math-finite.h: Add entries for exp.
72662 * math/e_expl.c: Add __*_finite alias.
72663 * sysdeps/i386/fpu/e_exp.S: Likewise.
72664 * sysdeps/i386/fpu/e_expf.S: Likewise.
72665 * sysdeps/i386/fpu/e_expl.c: Likewise.
72666 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72667 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72668 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72669 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72670 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72671 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72672 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72673
72674 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72675 is sufficient, at least on modern CPUs.
72676
72677 * ctype/ctype-info.c (__ctype_init): Define.
72678 * include/ctype.h (__ctype_init): Declare.
72679 (__ctype_b_loc): The variable is always initialized.
72680 (__ctype_toupper_loc): Likewise.
72681 (__ctype_tolower_loc): Likewise.
72682 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72683 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72684
72685 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
72686
72687 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72688
72689 * configure.in: Also look in $cxxmachine/include for C++ system
72690 headers.
72691
72692 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72693
72694 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72695 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72696 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72697 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
72698 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72699 (USE_AS_WMEMCMP): New macro.
72700 Fixing indents.
72701 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72702 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72703 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72704 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72706 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72707 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72708 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72709 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72710 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72711 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72712 (USE_AS_WMEMCMP): New macro.
72713 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72714 * sysdeps/string/test-memcmp.c: Update.
72715 Fix simple_wmemcmp.
72716 Add new tests.
72717 * wcsmbs/wmemcmp.c: Update.
72718 (WMEMCMP): New macro.
72719 Fix overflow bug.
72720
72721 2011-10-12 Andreas Jaeger <aj@suse.de>
72722
72723 [BZ #13268]
72724 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72725
72726 2011-10-15 Ulrich Drepper <drepper@gmail.com>
72727
72728 * libio/iofwide.c (do_length): Avoid warning.
72729
72730 * ctype/ctype.h (__isctype_f): Add missing __THROW.
72731
72732 2011-10-14 Ulrich Drepper <drepper@gmail.com>
72733
72734 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72735
72736 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72737 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72738 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72739 * sysdeps/i386/i686/fpu/e_log.S: New file.
72740 * sysdeps/i386/i686/fpu/e_logf.S: New file.
72741 * sysdeps/i386/i686/fpu/e_logl.S: New file.
72742
72743 * ctype/ctype.h: Add support for inlined isXXX functions when
72744 compiling C++ code.
72745
72746 2011-10-14 Andreas Schwab <schwab@redhat.com>
72747
72748 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72749
72750 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72751
72752 2011-10-13 Roland McGrath <roland@hack.frob.com>
72753
72754 [BZ #13291]
72755 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72756
72757 2011-10-13 Andreas Schwab <schwab@redhat.com>
72758
72759 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72760 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72761 feraiseexcept.
72762
72763 * sysdeps/x86_64/memrchr.S: Check for zero size.
72764
72765 * string/stratcliff.c: Add memrchr tests.
72766
72767 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72768
72769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72770 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72771 rawmemchr-sse2 rawmemchr-sse2-bsf.
72772 * sysdeps/i386/i686/multiarch/memchr.S: New file.
72773 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72774 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72775 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72776 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72777 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72778 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72779 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72780 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72781 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72782 * string/memrchr.c (MEMRCHR): New macro.
72783
72784 2011-10-12 Ulrich Drepper <drepper@gmail.com>
72785
72786 Add integration with gcc's -ffinite-math-only and optimize wrapper
72787 functions in libm.
72788 * Versions.def: Define GLIBC_2.15 version for libm.
72789 * math/Makefile (headers): Add bits/math-finite.h.
72790 * math/bits/math-finite.h: New file.
72791 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72792 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72793 * math/e_acoshl.c: Add __*_finite alias.
72794 * math/e_acosl.c: Likewise.
72795 * math/e_asinl.c: Likewise.
72796 * math/e_atan2l.c: Likewise.
72797 * math/e_atanhl.c: Likewise.
72798 * math/e_coshl.c: Likewise.
72799 * math/e_exp10.c: Likewise.
72800 * math/e_exp10f.c: Likewise.
72801 * math/e_exp10l.c: Likewise.
72802 * math/e_exp2l.c: Likewise.
72803 * math/e_fmodl.c: Likewise.
72804 * math/e_gammal_r.c: Likewise.
72805 * math/e_hypotl.c: Likewise.
72806 * math/e_j0l.c: Likewise.
72807 * math/e_j1l.c: Likewise.
72808 * math/e_jnl.c: Likewise.
72809 * math/e_lgammal_r.c: Likewise.
72810 * math/e_log10l.c: Likewise.
72811 * math/e_log2l.c: Likewise.
72812 * math/e_logl.c: Likewise.
72813 * math/e_powl.c: Likewise.
72814 * math/e_sinhl.c: Likewise.
72815 * math/e_sqrtl.c: Likewise.
72816 * math/e_scalb.c: Completely rewritten and optimized.
72817 * math/e_scalbf.c: Likewise.
72818 * math/e_scalbl.c: Likewise.
72819 * math/w_acos.c: Likewise.
72820 * math/w_acosf.c: Likewise.
72821 * math/w_acosl.c: Likewise.
72822 * math/w_acosh.c: Likewise.
72823 * math/w_acoshf.c: Likewise.
72824 * math/w_acoshl.c: Likewise.
72825 * math/w_asin.c: Likewise.
72826 * math/w_asinf.c: Likewise.
72827 * math/w_asinl.c: Likewise.
72828 * math/w_atan2.c: Likewise.
72829 * math/w_atan2f.c: Likewise.
72830 * math/w_atan2l.c: Likewise.
72831 * math/w_atanh.c: Likewise.
72832 * math/w_atanhf.c: Likewise.
72833 * math/w_atanhl.c: Likewise.
72834 * math/w_exp10.c: Likewise.
72835 * math/w_exp10f.c: Likewise.
72836 * math/w_exp10l.c: Likewise.
72837 * math/w_fmod.c: Likewise.
72838 * math/w_fmodf.c: Likewise.
72839 * math/w_fmodl.c: Likewise.
72840 * math/w_j0.c: Likewise.
72841 * math/w_j0f.c: Likewise.
72842 * math/w_j0l.c: Likewise.
72843 * math/w_j1.c: Likewise.
72844 * math/w_j1f.c: Likewise.
72845 * math/w_j1l.c: Likewise.
72846 * math/w_jn.c: Likewise.
72847 * math/w_jnf.c: Likewise.
72848 * math/w_log.c: Likewise.
72849 * math/w_logf.c: Likewise.
72850 * math/w_logl.c: Likewise.
72851 * math/w_log10.c: Likewise.
72852 * math/w_log10f.c: Likewise.
72853 * math/w_log10l.c: Likewise.
72854 * math/w_log2.c: Likewise.
72855 * math/w_log2f.c: Likewise.
72856 * math/w_log2l.c: Likewise.
72857 * math/w_pow.c: Likewise.
72858 * math/w_powf.c: Likewise.
72859 * math/w_powl.c: Likewise.
72860 * math/w_remainder.c: Likewise.
72861 * math/w_remainderf.c: Likewise.
72862 * math/w_remainderl.c: Likewise.
72863 * math/w_scalb.c: Likewise.
72864 * math/w_scalbf.c: Likewise.
72865 * math/w_scalbl.c: Likewise.
72866 * math/w_sqrt.c: Likewise.
72867 * math/w_sqrtf.c: Likewise.
72868 * math/w_sqrtl.c: Likewise.
72869 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72870 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
72871 used.
72872 * math/math_private.h: Declare __kernel_standard_f.
72873 * math/w_cosh.c: Remove cruft and optimize a bit.
72874 * math/w_coshf.c: Likewise.
72875 * math/w_coshl.c: Likewise.
72876 * math/w_exp2.c: Likewise.
72877 * math/w_exp2f.c: Likewise.
72878 * math/w_exp2l.c: Likewise.
72879 * math/w_hypot.c: Likewise.
72880 * math/w_hypotf.c: Likewise.
72881 * math/w_hypotl.c: Likewise.
72882 * math/w_lgamma.c: Likewise.
72883 * math/w_lgamma_r.c: Likewise.
72884 * math/w_lgammaf.c: Likewise.
72885 * math/w_lgammaf_r.c: Likewise.
72886 * math/w_lgammal.c: Likewise.
72887 * math/w_lgammal_r.c: Likewise.
72888 * math/w_sinh.c: Likewise.
72889 * math/w_sinhf.c: Likewise.
72890 * math/w_sinhl.c: Likewise.
72891 * math/w_tgamma.c: Likewise.
72892 * math/w_tgammaf.c: Likewise.
72893 * math/w_tgammal.c: Likewise.
72894 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72895 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72896 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72897 Minor optimizations. Pretty printing. Remove cruft.
72898 * sysdeps/i386/fpu/e_acosf.S: Likewise.
72899 * sysdeps/i386/fpu/e_acosh.S: Likewise.
72900 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72901 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72902 * sysdeps/i386/fpu/e_acosl.c: Likewise.
72903 * sysdeps/i386/fpu/e_asin.S: Likewise.
72904 * sysdeps/i386/fpu/e_asinf.S: Likewise.
72905 * sysdeps/i386/fpu/e_atan2.S: Likewise.
72906 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72907 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72908 * sysdeps/i386/fpu/e_atanh.S: Likewise.
72909 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72910 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72911 * sysdeps/i386/fpu/e_exp10.S: Likewise.
72912 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72913 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72914 * sysdeps/i386/fpu/e_exp2.S: Likewise.
72915 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72916 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72917 * sysdeps/i386/fpu/e_fmod.S: Likewise.
72918 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72919 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72920 * sysdeps/i386/fpu/e_hypot.S: Likewise.
72921 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72922 * sysdeps/i386/fpu/e_log.S: Likewise.
72923 * sysdeps/i386/fpu/e_log10.S: Likewise.
72924 * sysdeps/i386/fpu/e_log10f.S: Likewise.
72925 * sysdeps/i386/fpu/e_log10l.S: Likewise.
72926 * sysdeps/i386/fpu/e_log2.S: Likewise.
72927 * sysdeps/i386/fpu/e_log2f.S: Likewise.
72928 * sysdeps/i386/fpu/e_log2l.S: Likewise.
72929 * sysdeps/i386/fpu/e_logf.S: Likewise.
72930 * sysdeps/i386/fpu/e_logl.S: Likewise.
72931 * sysdeps/i386/fpu/e_pow.S: Likewise.
72932 * sysdeps/i386/fpu/e_powf.S: Likewise.
72933 * sysdeps/i386/fpu/e_powl.S: Likewise.
72934 * sysdeps/i386/fpu/e_remainder.S: Likewise.
72935 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72936 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72937 * sysdeps/i386/fpu/e_scalb.S: Likewise.
72938 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72940 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72941 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72942 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72943 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72944 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72946 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72947 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72948 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72949 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72950 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72951 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72952 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72953 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72954 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72956 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72957 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72959 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72960 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72961 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72962 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72963 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72964 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72965 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72966 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72967 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72968 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72969 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72970 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72971 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72972 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72974 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72977 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72978 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72979 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72980 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72981 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72982 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72983 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72984 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72985 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72986 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72987 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72988 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72989 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72990 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72991 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72992 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72993 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72994 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72995 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72996 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72997 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72998 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72999 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73000 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73001 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73002 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73003 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73004 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73007 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73008 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73009 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73011 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73012 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73013 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73014 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73015 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73017 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73018 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73019 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73020 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73021 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73022 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73023 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73024 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73025 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73026 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73027 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73028 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73029 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73030 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73031 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73032 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73033 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73034 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73035 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73036 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73037 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73038 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73039 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73040 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73041 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73042 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73043 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73044 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73045 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73046 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73047 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73048 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73049 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73050 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73051 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73052 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73053 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
73054 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73055 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73056 (__isnanf): Likewise.
73057 (__isinf_ns): Likewise.
73058 (__isinf_nsf): Likewise.
73059 (__finite): Likewise.
73060 (__finitef): Likewise.
73061 (__ieee754_sqrt): Define as macro.
73062 (__ieee754_sqrtf): Define as macro.
73063 (__ieee754_sqrtl): Define as macro.
73064 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73065 inlined copy.
73066 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73067 __FINITE_MATH_ONLY__ consistent.
73068 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73069
73070 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
73071
73072 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73073 of rawmemchr.
73074
73075 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73076
73077 2011-10-09 Ulrich Drepper <drepper@gmail.com>
73078
73079 * po/ja.po: Update from translation team.
73080
73081 2011-10-08 Roland McGrath <roland@hack.frob.com>
73082
73083 * locale/programs/locarchive.c (prepare_address_space): New function.
73084 (create_archive, enlarge_archive, open_archive): Use it.
73085
73086 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73087 inside [SHARED], where it is used.
73088
73089 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73090
73091 * nss/getent.c (netgroup_keys): Remove unused variable.
73092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73093
73094 2011-10-08 Ulrich Drepper <drepper@gmail.com>
73095
73096 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73097 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73099 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73100 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73101 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73102 * math/Makefile (libm-calls): Add s_isinf_ns.
73103 * math/divtc3.c: Use __isinf_nsl instead of isinf.
73104 * math/multc3.c: Likewise.
73105 * math/s_casin.c: Likewise.
73106 * math/s_casinf.c: Likewise.
73107 * math/s_casinl.c: Likewise.
73108 * math/s_ccos.c: Likewise.
73109 * math/s_ccosf.c: Likewise.
73110 * math/s_ccosl.c: Likewise.
73111 * math/s_ctan.c: Likewise.
73112 * math/s_ctanf.c: Likewise.
73113 * math/s_ctanh.c: Likewise.
73114 * math/s_ctanhf.c: Likewise.
73115 * math/s_ctanhl.c: Likewise.
73116 * math/s_ctanl.c: Likewise.
73117 * math/w_fmod.c: Likewise.
73118 * math/w_fmodf.c: Likewise.
73119 * math/w_fmodl.c: Likewise.
73120 * math/w_remainder.c: Likewise.
73121 * math/w_remainderf.c: Likewise.
73122 * math/w_remainderl.c: Likewise.
73123 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73124 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73127 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73128 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73129 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73130 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73131
73132 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73133 of the number.
73134 * stdio-common/printf_fphex.c: Likewise.
73135 * stdio-common/printf_size.c: Likewise.
73136
73137 * math/e_exp10.c: Include math_private.h using <...> not "...".
73138 * math/e_exp10f.c: Likewise.
73139 * math/e_exp10l.c: Likewise.
73140 * math/e_exp2l.c: Likewise.
73141 * math/e_j0l.c: Likewise.
73142 * math/e_j1l.c: Likewise.
73143 * math/e_jnl.c: Likewise.
73144 * math/e_lgammal_r.c: Likewise.
73145 * math/e_rem_pio2l.c: Likewise.
73146 * math/e_scalb.c: Likewise.
73147 * math/e_scalbf.c: Likewise.
73148 * math/e_scalbl.c: Likewise.
73149 * math/k_cosl.c: Likewise.
73150 * math/k_sinl.c: Likewise.
73151 * math/k_tanl.c: Likewise.
73152 * math/s_cacoshf.c: Likewise.
73153 * math/s_catan.c: Likewise.
73154 * math/s_catanf.c: Likewise.
73155 * math/s_catanh.c: Likewise.
73156 * math/s_catanhf.c: Likewise.
73157 * math/s_catanhl.c: Likewise.
73158 * math/s_catanl.c: Likewise.
73159 * math/s_ccosh.c: Likewise.
73160 * math/s_ccoshf.c: Likewise.
73161 * math/s_ccoshl.c: Likewise.
73162 * math/s_cexp.c: Likewise.
73163 * math/s_cexpf.c: Likewise.
73164 * math/s_cexpl.c: Likewise.
73165 * math/s_clog.c: Likewise.
73166 * math/s_clog10.c: Likewise.
73167 * math/s_clog10f.c: Likewise.
73168 * math/s_clog10l.c: Likewise.
73169 * math/s_clogf.c: Likewise.
73170 * math/s_clogl.c: Likewise.
73171 * math/s_csin.c: Likewise.
73172 * math/s_csinf.c: Likewise.
73173 * math/s_csinh.c: Likewise.
73174 * math/s_csinhf.c: Likewise.
73175 * math/s_csinhl.c: Likewise.
73176 * math/s_csinl.c: Likewise.
73177 * math/s_csqrt.c: Likewise.
73178 * math/s_csqrtf.c: Likewise.
73179 * math/s_csqrtl.c: Likewise.
73180 * math/s_ctan.c: Likewise.
73181 * math/s_ctanf.c: Likewise.
73182 * math/s_ctanh.c: Likewise.
73183 * math/s_ctanhf.c: Likewise.
73184 * math/s_ctanhl.c: Likewise.
73185 * math/s_ctanl.c: Likewise.
73186 * math/s_ldexp.c: Likewise.
73187 * math/s_ldexpf.c: Likewise.
73188 * math/s_ldexpl.c: Likewise.
73189 * math/s_significand.c: Likewise.
73190 * math/s_significandf.c: Likewise.
73191 * math/s_significandl.c: Likewise.
73192 * math/w_acos.c: Likewise.
73193 * math/w_acosf.c: Likewise.
73194 * math/w_acosh.c: Likewise.
73195 * math/w_acoshf.c: Likewise.
73196 * math/w_acoshl.c: Likewise.
73197 * math/w_acosl.c: Likewise.
73198 * math/w_asin.c: Likewise.
73199 * math/w_asinf.c: Likewise.
73200 * math/w_asinl.c: Likewise.
73201 * math/w_atan2.c: Likewise.
73202 * math/w_atan2f.c: Likewise.
73203 * math/w_atan2l.c: Likewise.
73204 * math/w_atanh.c: Likewise.
73205 * math/w_atanhf.c: Likewise.
73206 * math/w_atanhl.c: Likewise.
73207 * math/w_cosh.c: Likewise.
73208 * math/w_coshf.c: Likewise.
73209 * math/w_coshl.c: Likewise.
73210 * math/w_dremf.c: Likewise.
73211 * math/w_exp10.c: Likewise.
73212 * math/w_exp10f.c: Likewise.
73213 * math/w_exp10l.c: Likewise.
73214 * math/w_exp2.c: Likewise.
73215 * math/w_exp2f.c: Likewise.
73216 * math/w_fmod.c: Likewise.
73217 * math/w_fmodf.c: Likewise.
73218 * math/w_fmodl.c: Likewise.
73219 * math/w_hypot.c: Likewise.
73220 * math/w_hypotf.c: Likewise.
73221 * math/w_hypotl.c: Likewise.
73222 * math/w_j0.c: Likewise.
73223 * math/w_j0f.c: Likewise.
73224 * math/w_j0l.c: Likewise.
73225 * math/w_j1.c: Likewise.
73226 * math/w_j1f.c: Likewise.
73227 * math/w_j1l.c: Likewise.
73228 * math/w_jn.c: Likewise.
73229 * math/w_jnf.c: Likewise.
73230 * math/w_jnl.c: Likewise.
73231 * math/w_lgamma.c: Likewise.
73232 * math/w_lgamma_r.c: Likewise.
73233 * math/w_lgammaf.c: Likewise.
73234 * math/w_lgammaf_r.c: Likewise.
73235 * math/w_lgammal.c: Likewise.
73236 * math/w_lgammal_r.c: Likewise.
73237 * math/w_log.c: Likewise.
73238 * math/w_log10.c: Likewise.
73239 * math/w_log10f.c: Likewise.
73240 * math/w_log10l.c: Likewise.
73241 * math/w_log2.c: Likewise.
73242 * math/w_log2f.c: Likewise.
73243 * math/w_log2l.c: Likewise.
73244 * math/w_logf.c: Likewise.
73245 * math/w_logl.c: Likewise.
73246 * math/w_pow.c: Likewise.
73247 * math/w_powf.c: Likewise.
73248 * math/w_powl.c: Likewise.
73249 * math/w_remainder.c: Likewise.
73250 * math/w_remainderf.c: Likewise.
73251 * math/w_remainderl.c: Likewise.
73252 * math/w_scalb.c: Likewise.
73253 * math/w_scalbf.c: Likewise.
73254 * math/w_scalbl.c: Likewise.
73255 * math/w_sinh.c: Likewise.
73256 * math/w_sinhf.c: Likewise.
73257 * math/w_sinhl.c: Likewise.
73258 * math/w_sqrt.c: Likewise.
73259 * math/w_sqrtf.c: Likewise.
73260 * math/w_sqrtl.c: Likewise.
73261 * math/w_tgamma.c: Likewise.
73262 * math/w_tgammaf.c: Likewise.
73263 * math/w_tgammal.c: Likewise.
73264
73265 * po/ja.po: Update from translation team.
73266
73267 2011-09-29 Andreas Jaeger <aj@suse.de>
73268
73269 [BZ #13179]
73270 * sunrpc/netname.c (netname2host): Fix logic.
73271
73272 [BZ #6779]
73273 [BZ #6783]
73274 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73275 correctly.
73276 * math/w_remainder.c (__remainder): Likewise.
73277 * math/w_remainderf.c (__remainderf): Likewise.
73278 * math/libm-test.inc (remainder_test): Add test cases.
73279
73280 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73281
73282 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
73283 sdiv_qrnnd.
73284
73285 2011-10-07 Ulrich Drepper <drepper@gmail.com>
73286
73287 * string/test-memcmp.c: Avoid unncessary #defines.
73288 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73289
73290 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73291
73292 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73293 Use new sse2 version for core i3 - i7 as it's faster
73294 than sse42 version.
73295 (bit_Prefer_PMINUB_for_stringop): New.
73296 * sysdeps/x86_64/rawmemchr.S: Update.
73297 Replace with faster SSE2 version.
73298 * sysdeps/x86_64/memrchr.S: New file.
73299 * sysdeps/x86_64/memchr.S: Update.
73300 Replace with faster SSE2 version.
73301
73302 2011-09-12 Marek Polacek <mpolacek@redhat.com>
73303
73304 * elf/dl-load.c (lose): Add cast to avoid warning.
73305
73306 2011-10-07 Ulrich Drepper <drepper@gmail.com>
73307
73308 * po/ca.po: Update from translation team.
73309
73310 * inet/getnetgrent_r.c: Hook up nscd.
73311 * nscd/Makefile (routines): Add nscd_netgroup.
73312 (nscd-modules): Add netgroupcache.
73313 (CFLAGS-netgroupcache.c): Define.
73314 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73315 (cache_search): Add const to second parameter.
73316 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73317 INNETGR.
73318 (dbs): Add netgrdb entry.
73319 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73320 (verify_persistent_db): Handle netgrdb.
73321 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73322 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73323 GETFDNETGR.
73324 (netgroup_response_header): Define.
73325 (innetgroup_response_header): Define.
73326 (datahead): Add netgroup_response_header and innetgroup_response_header
73327 elements.
73328 * nscd/nscd.conf: Add entries for netgroup cache.
73329 * nscd/nscd.h (dbtype): Add netgrdb.
73330 (_PATH_NSCD_NETGROUP_DB): Define.
73331 (netgroup_iov_disabled): Declare.
73332 (xmalloc, xcalloc, xrealloc): Move declarations here.
73333 (cache_search): Adjust prototype.
73334 Add netgroup-related prototypes.
73335 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73336 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73337 (__nscd_innetgr): Declare.
73338 * nscd/selinux.c (perms): Use access_vector_t as element type and
73339 add netgroup-related initializers.
73340 * nscd/netgroupcache.c: New file.
73341 * nscd/nscd_netgroup.c: New file.
73342 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73343 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73344 For four parameters use innetgr.
73345 * nss/nss_files/files-init.c: Add definition and callback for netgr.
73346 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73347 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73348 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73349
73350 * nscd/connections.c (register_traced_file): Don't register file
73351 for disabled databases.
73352
73353 2011-10-06 Ulrich Drepper <drepper@gmail.com>
73354
73355 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73356
73357 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73358 from tree and freeing node.
73359
73360 2011-09-25 Jiri Olsa <jolsa@redhat.com>
73361
73362 * nss/nsswitch.c (__nss_database_lookup): Handle
73363 nss_parse_service_list out of memory case.
73364
73365 2011-09-15 Jiri Olsa <jolsa@redhat.com>
73366
73367 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73368 out of memory case.
73369
73370 2011-10-04 Andreas Schwab <schwab@redhat.com>
73371
73372 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73373 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73374 pass it down.
73375 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73376 elf_machine_rela, elf_machine_lazy_rel.
73377 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73378 (ELF_DYNAMIC_DO_REL): Likewise.
73379 (ELF_DYNAMIC_DO_RELA): Likewise.
73380 (ELF_DYNAMIC_RELOCATE): Likewise.
73381 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73382 to ELF_DYNAMIC_DO_REL.
73383 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73384 (dl_main): In trace mode always set __RTLD_NOIFUNC.
73385 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73386 elf_machine_rela.
73387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73388 skip_ifunc, don't call ifunc function if non-zero.
73389 (elf_machine_rela): Likewise.
73390 (elf_machine_lazy_rel): Likewise.
73391 (elf_machine_lazy_rela): Likewise.
73392 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73393 (elf_machine_lazy_rel): Likewise.
73394 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73395 Likewise.
73396 (elf_machine_lazy_rel): Likewise.
73397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73398 Likewise.
73399 (elf_machine_lazy_rel): Likewise.
73400 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73401 (elf_machine_lazy_rel): Likewise.
73402 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73403 (elf_machine_lazy_rel): Likewise.
73404 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73405 (elf_machine_lazy_rel): Likewise.
73406 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73407 (elf_machine_lazy_rel): Likewise.
73408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73409 (elf_machine_lazy_rel): Likewise.
73410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73411 (elf_machine_lazy_rel): Likewise.
73412
73413 2011-09-28 Ulrich Drepper <drepper@gmail.com>
73414
73415 * nss/nss_files/files-init.c (_nss_files_init): Use static
73416 initialization for all the *_traced_file variables.
73417
73418 2011-09-28 Andreas Schwab <schwab@redhat.com>
73419
73420 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73421
73422 2011-09-27 Roland McGrath <roland@hack.frob.com>
73423
73424 [BZ #13226]
73425 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73426
73427 2011-09-27 Andreas Schwab <schwab@redhat.com>
73428
73429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73430 Reread the line before reparsing it.
73431
73432 2011-09-26 Andreas Schwab <schwab@redhat.com>
73433
73434 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73435
73436 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
73437 Maxim Kuvyrkov <maxim@codesourcery.com>
73438 Joseph Myers <joseph@codesourcery.com>
73439
73440 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73441 if needed for __stack_chk_guard.
73442
73443 2011-09-19 Roland McGrath <roland@hack.frob.com>
73444
73445 * sysdeps/posix/spawni.c (script_execute): Always define it.
73446 It will be optimized away if unused.
73447 (maybe_script_execute): New function.
73448 (__spawni): Call it.
73449
73450 * Makerules: Don't include tls.make.
73451 (config-tls): Always set to thread.
73452 * tls.make.c: File removed.
73453
73454 2011-09-19 Mike Frysinger <vapier@gentoo.org>
73455
73456 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73457 * config.make.in (CPPFLAGS-config): New substituted variable.
73458
73459 2011-09-15 Ulrich Drepper <drepper@gmail.com>
73460
73461 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73462
73463 [BZ #13192]
73464 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73465 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73466
73467 2011-09-15 Roland McGrath <roland@hack.frob.com>
73468
73469 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73470 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73472 (CALL_FAIL): Likewise.
73473 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73474 (CALL_FAIL): Macro removed.
73475 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73476
73477 2011-09-15 Ulrich Drepper <drepper@gmail.com>
73478
73479 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73480 for __FINITE_MATH_ONLY__ == 1.
73481
73482 2011-09-15 Andreas Schwab <schwab@redhat.com>
73483
73484 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73485 __ieee754_sqrt instead of sqrt.
73486 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73487 __ieee754_sqrtf instead of sqrtf.
73488 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73489 __floorf instead of floorf.
73490 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73491 __floorf, __truncf instead of floorf, truncf.
73492
73493 2011-09-14 Ulrich Drepper <drepper@gmail.com>
73494
73495 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73496
73497 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73498 __extern_always_inline.
73499 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73500 32-bit.
73501
73502 2011-09-14 Andreas Schwab <schwab@redhat.com>
73503
73504 * elf/rtld.c (dl_main): Also relocate in dependency order when
73505 doing symbol dependency testing.
73506
73507 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
73508
73509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73510 Always define `refsym'.
73511
73512 2011-09-13 Andreas Schwab <schwab@redhat.com>
73513
73514 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73515 (__FD_ELT): Renamed from __FDELT.
73516 * misc/bits/select2.h (__FD_ELT): Likewise.
73517 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73518 __FD_MASK instead of __FDELT, __FDMASK.
73519 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73520 Likewise.
73521 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73522 Likewise.
73523
73524 * elf/Makefile (gen-ldd): Fix pattern.
73525
73526 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73527 (init_tls): Likewise.
73528
73529 2011-09-12 Ulrich Drepper <drepper@gmail.com>
73530
73531 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73532
73533 2011-09-12 Andreas Schwab <schwab@redhat.com>
73534
73535 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73536 `struct cmsghdr *' instead of `void *'.
73537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73538 Likewise.
73539
73540 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
73541
73542 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73543 if non-absolute.
73544 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73545 ldd_rewrite_script.
73546
73547 2011-09-11 Ulrich Drepper <drepper@gmail.com>
73548
73549 * configure.in: Remove --with-tls option.
73550 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73551 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73552 out in case it is missing.
73553 * sysdeps/ia64/elf/configure.in: Likewise.
73554 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73555 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73556 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73557 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73558 * sysdeps/sh/elf/configure.in: Likewise.
73559 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73560 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73561 * sysdeps/x86_64/elf/configure.in: Likewise.
73562 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73563 * sysdeps/mach/hurd/tls.h: Likewise.
73564
73565 [BZ #13067]
73566 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73567
73568 [BZ #13090]
73569 * configure.in: Fix use of AC_INIT.
73570
73571 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73572
73573 2011-09-10 Ulrich Drepper <drepper@gmail.com>
73574
73575 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73576 __set_errno.
73577 * malloc/hooks.c: Likewise.
73578
73579 [BZ #11929]
73580 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
73581 variables statically.
73582 (narenas): Initialize.
73583 (list_lock): Initialize.
73584 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
73585 initializtion of main_arena and list_lock. Small cleanups.
73586 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73587 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
73588 Add initializers to main_arena and mp_.
73589 (malloc_state): Remove pagesize member. Change all users to use
73590 GLRO(dl_pagesize).
73591
73592 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73593 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
73594 is always initialized.
73595
73596 * malloc/malloc.c: Removed unused configurations and dead code.
73597 * malloc/arena.c: Likewise.
73598 * malloc/hooks.c: Likewise.
73599 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73600
73601 * include/tls.h: Removed. USE___THREAD must always be defined.
73602 * bits/libc-tsd.h: Don't handle !USE___THREAD.
73603 * elf/dl-libc.c: Likewise.
73604 * elf/dl-tsd.c: Likewise.
73605 * include/errno.h: Likewise.
73606 * include/netdb.h: Likewise.
73607 * include/resolv.h: Likewise.
73608 * inet/herrno-loc.c: Likewise.
73609 * inet/herrno.c: Likewise.
73610 * malloc/arena.c: Likewise.
73611 * malloc/hooks.c: Likewise.
73612 * malloc/malloc.c: Likewise.
73613 * resolv/res-state.c: Likewise.
73614 * resolv/res_libc.c: Likewise.
73615 * sysdeps/i386/dl-machine.h: Likewise.
73616 * sysdeps/ia64/dl-machine.h: Likewise.
73617 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73618 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73619 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73620 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73621 * sysdeps/sh/dl-machine.h: Likewise.
73622 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73623 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73624 * sysdeps/unix/i386/sysdep.S: Likewise.
73625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73626 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73631 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73635 * sysdeps/unix/x86_64/sysdep.S: Likewise.
73636 * sysdeps/x86_64/dl-machine.h: Likewise.
73637 * tls.make.c: Likewise.
73638
73639 * configure.in: Remove --with-__thread option. Make tests for
73640 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73641 tls_model attribute fail if no support is available. Remove
73642 USE_IN_LIBIO.
73643 * Makeconfig: Adjust for dropped configure option. All features are
73644 now mandatory.
73645 * Makerules: Likewise.
73646 * Versions.def: Likewise.
73647 * argp/argp-fmtstream.c: Likewise.
73648 * argp/argp-fmtstream.h: Likewise.
73649 * argp/argp-help.c: Likewise.
73650 * assert/assert.c: Likewise.
73651 * config.h.in: Likewise.
73652 * config.make.in: Likewise.
73653 * configure: Likewise.
73654 * configure.in: Likewise.
73655 * csu/Versions: Likewise.
73656 * csu/init.c: Likewise.
73657 * elf/tst-audit2.c: Likewise.
73658 * elf/tst-tls10.c: Likewise.
73659 * elf/tst-tls10.h: Likewise.
73660 * elf/tst-tls11.c: Likewise.
73661 * elf/tst-tls12.c: Likewise.
73662 * elf/tst-tls14.c: Likewise.
73663 * elf/tst-tlsmod11.c: Likewise.
73664 * elf/tst-tlsmod12.c: Likewise.
73665 * elf/tst-tlsmod13.c: Likewise.
73666 * elf/tst-tlsmod13a.c: Likewise.
73667 * elf/tst-tlsmod14a.c: Likewise.
73668 * elf/tst-tlsmod15b.c: Likewise.
73669 * elf/tst-tlsmod16a.c: Likewise.
73670 * elf/tst-tlsmod16b.c: Likewise.
73671 * elf/tst-tlsmod7.c: Likewise.
73672 * elf/tst-tlsmod8.c: Likewise.
73673 * elf/tst-tlsmod9.c: Likewise.
73674 * gmon/gmon.c: Likewise.
73675 * grp/fgetgrent_r.c: Likewise.
73676 * grp/putgrent.c: Likewise.
73677 * hurd/fopenport.c: Likewise.
73678 * include/libc-symbols.h: Likewise.
73679 * include/tls.h: Likewise.
73680 * intl/gettextP.h: Likewise.
73681 * intl/loadinfo.h: Likewise.
73682 * locale/global-locale.c: Likewise.
73683 * locale/localeinfo.h: Likewise.
73684 * mach/devstream.c: Likewise.
73685 * malloc/arena.c: Likewise.
73686 * malloc/set-freeres.c: Likewise.
73687 * misc/err.c: Likewise.
73688 * misc/getttyent.c: Likewise.
73689 * misc/mntent_r.c: Likewise.
73690 * posix/getopt.c: Likewise.
73691 * posix/wordexp.c: Likewise.
73692 * pwd/fgetpwent_r.c: Likewise.
73693 * resolv/Versions: Likewise.
73694 * resolv/res_hconf.c: Likewise.
73695 * shadow/fgetspent_r.c: Likewise.
73696 * shadow/putspent.c: Likewise.
73697 * stdio-common/printf_fphex.c: Likewise.
73698 * stdio-common/tmpfile.c: Likewise.
73699 * stdlib/abort.c: Likewise.
73700 * stdlib/fmtmsg.c: Likewise.
73701 * sunrpc/auth_unix.c: Likewise.
73702 * sunrpc/clnt_perr.c: Likewise.
73703 * sunrpc/clnt_tcp.c: Likewise.
73704 * sunrpc/clnt_udp.c: Likewise.
73705 * sunrpc/clnt_unix.c: Likewise.
73706 * sunrpc/openchild.c: Likewise.
73707 * sunrpc/svc_simple.c: Likewise.
73708 * sunrpc/svc_tcp.c: Likewise.
73709 * sunrpc/svc_udp.c: Likewise.
73710 * sunrpc/svc_unix.c: Likewise.
73711 * sunrpc/xdr.c: Likewise.
73712 * sunrpc/xdr_array.c: Likewise.
73713 * sunrpc/xdr_rec.c: Likewise.
73714 * sunrpc/xdr_ref.c: Likewise.
73715 * sunrpc/xdr_stdio.c: Likewise.
73716
73717 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73718
73719 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73720
73721 2011-07-03 Andreas Jaeger <aj@suse.de>
73722
73723 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73724 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73725 regenerate with gen-libm-tests.pl.
73726
73727 2010-05-12 Petr Baudis <pasky@suse.cz>
73728
73729 [BZ #11589]
73730 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73731 around j0() zero points by switching to j1().
73732 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73733 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73735 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73736
73737 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73738
73739 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73740 instead of 0.
73741 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73742 instead of 0.
73743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73744 Patch in part by Pavel Roskin <proski@gnu.org>.
73745
73746 [BZ #13138]
73747 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73748 realloc.
73749 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
73750 Free memory block if necessary.
73751
73752 [BZ #12847]
73753 * libio/genops.c (INTDEF): For string streams the _lock pointer can
73754 be NULL. Don't lock in this case.
73755
73756 2011-09-09 Roland McGrath <roland@hack.frob.com>
73757
73758 * elf/elf.h (ELFOSABI_GNU): New macro.
73759 (ELFOSABI_LINUX): Define to that.
73760
73761 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
73762
73763 * string/strncat.c (strncat): Undef the symbol in case it has been
73764 defined in bits/string.h.
73765
73766 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73767
73768 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73769
73770 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73771 link map.
73772
73773 2011-08-17 Andreas Jaeger <aj@suse.de>
73774
73775 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73776
73777 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
73778 Ian Lance Taylor <iant@google.com>
73779
73780 * math/libm-test.inc (lround_test): New testcase.
73781 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73782
73783 2011-09-08 Ulrich Drepper <drepper@gmail.com>
73784
73785 * Makefile: Remove support for automatic cvs check-ins.
73786 * Makerules: Likewise.
73787 * config.make.in: Likewise.
73788 * configure.in: Likewise.
73789 * intl/Makefile: Likewise.
73790 * locale/Makefile: Likewise.
73791 * po/Makefile: Likewise.
73792 * posix/Makefile: Likewise.
73793 * sysdeps/gnu/Makefile: Likewise.
73794 * sysdeps/mach/hurd/Makefile: Likewise.
73795 * sysdeps/sparc/sparc32/Makefile: Likewise.
73796
73797 [BZ #13118]
73798 * posix/Makefile (bug-regex32-ENV): Define.
73799 Patch by John Stanley <jpsinthemix@verizon.net>.
73800
73801 * misc/Makefile (headers): Add bits/select2.h.
73802 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73803 * misc/bits/select2.h: New file.
73804 * include/bits/select2.h: New file.
73805 * debug/Makefile (routines): Add fdelt_chk.
73806 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73807 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73808 FD_ISSET.
73809 * debug/fdelt_chk.c: New file.
73810
73811 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
73812 * wcsmbs/test-wmemcmp.c: Likewise.
73813 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73814 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73815
73816 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73817
73818 * string/Makefile (strop-tests): Add memcmp.
73819 * string/test-wmemcmp.c: New file.
73820 * string/test-memcmp.c: Add wmemcmp support.
73821
73822 2011-09-08 Roland McGrath <roland@hack.frob.com>
73823
73824 [BZ #13153]
73825 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73826 2011-07-19 change.
73827
73828 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73829 garbage value in a __mach_port_mod_refs call in the cases of the
73830 task-self and thread-self ports.
73831
73832 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
73833
73834 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73835
73836 2011-09-08 Andreas Schwab <schwab@redhat.com>
73837
73838 * elf/dl-load.c (lose): Check for non-null L.
73839
73840 2011-09-07 Ulrich Drepper <drepper@gmail.com>
73841
73842 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73843
73844 * elf/dl-libc.c (dlerror_run): Pass back error code from
73845 dl_catch_error.
73846
73847 [BZ #13123]
73848 * elf/dl-load.c (lose): Free l_origin if it is valid.
73849
73850 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73851 names.
73852 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73853 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73854 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73856 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73857 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73858
73859 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73860
73861 * sysdeps/powerpc/fpu/e_hypot.c: New file.
73862 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73863 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73864 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73865 * sysdeps/powerpc/fpu/k_cosf.c: New file.
73866 * sysdeps/powerpc/fpu/k_sinf.c: New file.
73867 * sysdeps/powerpc/fpu/s_cosf.c: New file.
73868 * sysdeps/powerpc/fpu/s_sinf.c: New file.
73869 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73870 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73871
73872 2011-08-15 Alan Modra <amodra@gmail.com>
73873
73874 [BZ #13092]
73875 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73876 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73877 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
73878 ppc_mcount to static-only-routines.
73879 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73880 __mcount_internal.
73881 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73882 __mcount_internal with usual JUMPTARGET. Remove useless nop.
73883
73884 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
73885
73886 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73887 for finite and infinity parameters.
73888
73889 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
73890
73891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73892 and add nop instructions for throughput optimization.
73893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73894
73895 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
73896
73897 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73898 aligned copy for power7 with vector-scalar instructions.
73899 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73900
73901 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
73902
73903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73904 AVX check.
73905
73906 2011-09-07 Andreas Schwab <schwab@redhat.com>
73907
73908 [BZ #13144]
73909 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73910 last change.
73911
73912 2011-09-07 Ulrich Drepper <drepper@gmail.com>
73913
73914 * sysdeps/unix/sysv/linux/x86_64/init-first.c
73915 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73916 syscall wrapper around clock_gettime in __vdso_clock_gettime.
73917 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73918 clock_gettime.
73919
73920 2011-09-06 Ulrich Drepper <drepper@gmail.com>
73921
73922 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73923 Forgot to demangle the pointer.
73924
73925 * sysdeps/i386/sysdep.h: Define atom_text_section.
73926 * sysdeps/x86_64/sysdep.h: Likewise.
73927 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73928 section with atom_text_section.
73929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73930 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73931 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73932 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73933 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73934
73935 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73936 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73937 already be defined. Change to take two parameters and don't assign
73938 result to variable. Adjust all users.
73939 Define INTERNAL_GETTIME if not already defined.
73940 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73941 call.
73942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73943 HAVE_CLOCK_GETTIME_VSYSCALL.
73944 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73945
73946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73947 gettimeofday vsyscall, just use time.
73948
73949 2011-09-06 Andreas Schwab <schwab@redhat.com>
73950
73951 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73952 <errno.h>.
73953
73954 2011-09-06 Ulrich Drepper <drepper@gmail.com>
73955
73956 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73957 syscall on x86-64.
73958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73959 syscall.
73960 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73961 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73962 syscall if possible.
73963
73964 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73965
73966 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73967 e_ident. Don't pass to find_mapsXX.
73968 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73969
73970 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73971
73972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73973 strchr-sse2-no-bsf strrchr-sse2-no-bsf
73974 * sysdeps/x86_64/multiarch/strchr.S: Update.
73975 Check bit_slow_BSF bit.
73976 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73977 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73978 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73979
73980 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73981
73982 [BZ #13134]
73983 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73984 before glibc 2.15.
73985 (tryshell): Define.
73986 (__spawni): Change last parameter to be flag. Test
73987 SPAWN_XFLAGS_USE_PATH flag to use path or not.
73988 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73989 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73990 * posix/spawni.c: Likewise.
73991 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73992 * posix/spawnp.c: Likewise. Change normal version to use
73993 SPAWN_XFLAGS_USE_PATH.
73994 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73995 SPAWN_XFLAGS_TRY_SHELL.
73996
73997 [BZ #13150]
73998 * posix/glob.h: Remove gcc 1.x support.
73999
74000 [BZ #13068]
74001 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74002
74003 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74004
74005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74006 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74007 strrchr-sse2-bsf
74008 * sysdeps/i386/i686/multiarch/strchr.S: New file.
74009 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74010 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74012 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74013 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74014
74015 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74016
74017 * sysdeps/x86_64/wcscmp.S: New file.
74018
74019 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74020 wcscmp-c wcscmp-sse2
74021 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74022 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74023 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74024 * wcsmbs/wcscmp.c: Allow renaming.
74025
74026 2011-09-05 David S. Miller <davem@davemloft.net>
74027
74028 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74029 stack slot, rather than the struct return pointer slot.
74030 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74031 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74033 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74034
74035 2011-09-05 Ulrich Drepper <drepper@gmail.com>
74036
74037 * po/ja.po: Update from translation team.
74038
74039 [BZ #13144]
74040 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74041 kernel in 64-bit binaries.
74042
74043 2011-09-01 David S. Miller <davem@davemloft.net>
74044
74045 * elf/elf.h (HWCAP_SPARC_*): Move to..
74046 * sysdeps/sparc/sysdep.h: this new file and add new values.
74047 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74048 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74049 _DL_HWCAP_COUNT to 24.
74050 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74051 entries.
74052 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74053 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74054 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74056 instead of magic constants.
74057 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74058
74059 2011-08-31 David S. Miller <davem@davemloft.net>
74060
74061 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74063 Reimplement to do errno handling inline.
74064 (SYSCALL_ERROR_HANDLER): New macro.
74065 (__SYSCALL_STRING): Do not do errno handling in asm.
74066 (__CLONE_SYSCALL_STRING): Delete.
74067 (__INTERNAL_SYSCALL_STRING): Delete.
74068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74069 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74070 (PSEUDO): Reimplement to do errno handling inline.
74071 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74072 (SYSCALL_ERROR_HANDLER): New macro.
74073 (__SYSCALL_STRING): Do not do errno handling in asm.
74074 (__CLONE_SYSCALL_STRING): Delete.
74075 (__INTERNAL_SYSCALL_STRING): Delete.
74076 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74077 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74078 i386.
74079 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74080 (inline_syscall*): Add 'err' argument.
74081 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74082 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74083 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74084 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74085
74086 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74087 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74088
74089 2011-08-30 Andreas Schwab <schwab@redhat.com>
74090
74091 * elf/rtld.c (dl_main): Relocate objects in dependency order.
74092
74093 2011-08-29 Jiri Olsa <jolsa@redhat.com>
74094
74095 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74096 directive.
74097
74098 2011-08-24 David S. Miller <davem@davemloft.net>
74099
74100 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74101
74102 2011-08-24 Andreas Schwab <schwab@redhat.com>
74103
74104 * elf/Makefile: Add rules to build and run unload8 test.
74105 * elf/unload8.c: New file.
74106 * elf/unload8mod1.c: New file.
74107 * elf/unload8mod1x.c: New file.
74108 * elf/unload8mod2.c: New file.
74109 * elf/unload8mod3.c: New file.
74110
74111 * elf/dl-close.c (_dl_close_worker): Reset private search list if
74112 it wasn't used.
74113
74114 2011-08-23 David S. Miller <davem@davemloft.net>
74115
74116 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74117 subtract stack bias.
74118 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74119 %sp not %fp in calculations.
74120 (_JMPBUF_UNWINDS_ADJ): Likewise.
74121
74122 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74123 (aio_suspend): Call it to force an exception region around the
74124 AIO_MISC_WAIT() invocation.
74125
74126 2011-08-23 Andreas Schwab <schwab@redhat.com>
74127
74128 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74129 backslash.
74130
74131 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
74132
74133 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74134 protection macro.
74135 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74136 and <dl-machine.h>.
74137 (Elf64_FuncDesc): Remove.
74138
74139 2011-08-22 David S. Miller <davem@davemloft.net>
74140
74141 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74142 sigaltstack check, add missing cfi directives.
74143 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74144 missing cfi directives, and sigaltstack handling.
74145
74146 2011-08-16 Andreas Schwab <schwab@redhat.com>
74147
74148 [BZ #11724]
74149 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74150 object is seen twice.
74151 * elf/dl-fini.c (_dl_sort_fini): Likewise.
74152
74153 * elf/Makefile (distribute): Add tst-initorder2.c.
74154 (tests): Add tst-initorder2.
74155 (modules-names): Add tst-initorder2a tst-initorder2b
74156 tst-initorder2c tst-initorder2d. Add rules to build them.
74157 ($(objpfx)tst-initorder2.out): New rule.
74158 * elf/tst-initorder2.c: New file.
74159 * elf/tst-initorder2.exp: New file.
74160
74161 2011-08-22 Andreas Schwab <schwab@redhat.com>
74162
74163 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74164
74165 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74166 dependencies back to end of function.
74167
74168 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74169 $(elfobjdir)/ld.so.
74170
74171 2011-08-21 Ulrich Drepper <drepper@gmail.com>
74172
74173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74174 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74176 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74177 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74178 of __vdso_gettimeofday.
74179 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74180 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
74181 attribute_hidden.
74182 (_libc_vdso_platform_setup): Remove initialization of
74183 __vdso_gettimeofday and __vdso_time.
74184
74185 2011-08-20 Ulrich Drepper <drepper@gmail.com>
74186
74187 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74188 and fgetc_unlocked.
74189 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74190 getc_unlocked.
74191
74192 * elf/dl-open.c (add_to_global): Report additions to the global scope
74193 for LD_DEBUG=scopes.
74194 (dl_open_worker): Also print scope of newly loaded dependencies.
74195 (_dl_show_scope): Indicate if there is no scope.
74196
74197 [BZ #13114]
74198 * stdio-common/Makefile (tests): Add bug24.
74199 * stdio-common/bug24.c: New file.
74200
74201 2011-08-19 Andreas Jaeger <aj@suse.de>
74202
74203 [BZ #13114]
74204 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74205 non-existant file when using close-on-exec mode.
74206
74207 2011-08-20 Ulrich Drepper <drepper@gmail.com>
74208
74209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74210 the very first instruction.
74211
74212 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74213 the CFI state in the end.
74214 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74215 inclusion of dl-trampoline.h.
74216 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74217
74218 2011-08-19 Andreas Schwab <schwab@redhat.com>
74219
74220 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74221 expectations for long double.
74222
74223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74224 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74225
74226 2011-08-14 David S. Miller <davem@davemloft.net>
74227
74228 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74229 artificual limit depends upon the system page size.
74230
74231 2011-08-17 Ulrich Drepper <drepper@gmail.com>
74232
74233 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74234 * resolv/Makefile: Define CFLAGS-libresolv.
74235
74236 2011-08-17 Andreas Schwab <schwab@redhat.com>
74237
74238 * nss/makedb.c (compute_tables): Make variables used in nested
74239 function static.
74240
74241 2011-08-17 Ulrich Drepper <drepper@gmail.com>
74242
74243 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74244 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74245 if buffer was too small.
74246
74247 * elf/pldd.c (main): Attach to all threads in the process.
74248 Rewrite /proc handling to use *at functions.
74249
74250 2011-08-16 Ulrich Drepper <drepper@gmail.com>
74251
74252 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74253 specifies first scope to show.
74254 (dl_open_worker): Update callers. Move printing scope of new
74255 object to before the relocation.
74256 * elf/rtld.c (dl_main): Update _dl_show_scope call.
74257 * sysdeps/generic/ldsodefs.h: Update declaration.
74258
74259 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74260 string for the scope number.
74261
74262 2011-08-14 Ulrich Drepper <drepper@gmail.com>
74263
74264 * nscd/servicescache.c (cache_addserv): Make sure written is always
74265 initialized.
74266
74267 2011-08-14 Roland McGrath <roland@hack.frob.com>
74268
74269 * sysdeps/i386/i486/bits/atomic.h
74270 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74271 statement expression, so as to suppress "set but not used" warning.
74272 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74273
74274 * string/strncat.c (STRNCAT): Use prototype definition.
74275
74276 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74277 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74278 -Iprograms here.
74279 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74280 (localedef-modules): Add localedef.
74281 (locale-modules): Add locale.
74282
74283 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74284 * elf/rtld.c (dl_main): Invert order of assignment in last change,
74285 to avoid a warning.
74286
74287 2011-08-14 David S. Miller <davem@davemloft.net>
74288
74289 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74290 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74291
74292 2011-08-13 Ulrich Drepper <drepper@gmail.com>
74293
74294 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74295 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74296 * elf/rtld.c (dl_main): Set l_name of vDSO.
74297 Call _dl_show_scope when DL_DEBUG_SCOPES.
74298 (process_dl_debug): Recognize scopes flag and also set it for all.
74299 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74300 Declare _dl_show_scope.
74301
74302 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74303 (do_dlopen): Pass caller_dlopen to dl_open.
74304 (__libc_dlopen_mode): Initialize caller_dlopen.
74305
74306 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74307 of libc. Make tolower call locale-independent. Optimize a bit by
74308 using isdigit instead of isalnum.
74309 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74310
74311 2011-08-12 Ulrich Drepper <drepper@gmail.com>
74312
74313 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74314 was a dependency or dynamically loaded.
74315
74316 2011-08-11 Ulrich Drepper <drepper@gmail.com>
74317
74318 * intl/l10nflist.c: Allow architecture-specific pop function.
74319 * sysdeps/x86_64/l10nflist.c: New file.
74320
74321 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74322 classification.
74323
74324 2011-08-10 Andreas Schwab <schwab@redhat.com>
74325
74326 * include/dirent.h: Add libc_hidden_proto for scandirat and
74327 scandirat64. Don't declare __scandirat64.
74328 * dirent/scandirat.c: Add libc_hidden_def.
74329 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74330 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74331
74332 2011-08-10 David S. Miller <davem@davemloft.net>
74333
74334 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74335 enum.
74336 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74339
74340 2011-08-09 Ulrich Drepper <drepper@gmail.com>
74341
74342 * Versions.def [libc]: Add GLIBC_2.15.
74343 * dirent/Makefile (routines): Add scandirat and scandirat64.
74344 * dirent/Versions [libc]: Export scandirat and scandirat64 for
74345 GLIBC_2.15.
74346 * dirent/dirent.h: Declare scandirat and scandirat64.
74347 * dirent/scandirat.c: New file.
74348 * dirent/scandirat64.c: New file.
74349 * sysdeps/wordsize-64/scandirat.c: New file.
74350 * sysdeps/wordsize-64/scandirat64.c: New file.
74351 * dirent/opendir.c: Define opendirat.
74352 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
74353 using scandirat.
74354 * dirent/scandir64.c: Adjust for scandir.c change.
74355 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
74356 __scandirat64, and __scandir_cancel_handler.
74357 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
74358 additional parameter and use openat instead of open (outside of ld.so).
74359 Add new __opendir as wrapper around __opendirat.
74360 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74361 here without requiring old scandirat implementation.
74362
74363 2011-08-08 Ulrich Drepper <drepper@gmail.com>
74364
74365 * dirent/scandir.c (cancel_handler): Renamed to
74366 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
74367 defined. Adjust users.
74368 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74369 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74370
74371 2011-08-04 Ulrich Drepper <drepper@gmail.com>
74372
74373 * string/test-string.h (IMPL): Use __STRING to expand name and then
74374 stringify it.
74375
74376 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
74377 of cleanups.
74378
74379 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74380
74381 * string/Makefile: Update.
74382 (strop-tests): Append strncat.
74383 * string/test-wcscmp.c: New file.
74384 New comprehensive test for wcscmp.
74385 * string/test-strcmp.c: Update.
74386 (WIDE): New define.
74387
74388 2011-07-22 Andreas Schwab <schwab@redhat.com>
74389
74390 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74391 line.
74392
74393 2011-07-26 Andreas Schwab <schwab@redhat.com>
74394
74395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74396 encoding to ACE if AI_IDN.
74397
74398 2011-08-01 Jakub Jelinek <jakub@redhat.com>
74399
74400 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74401 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74402
74403 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74404
74405 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74406 Fix overflow bug in strncat.
74407 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74408
74409 * string/test-strncat.c: Update.
74410 Add new tests for checking overflow bugs.
74411
74412 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74413
74414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74415 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74416 * sysdeps/i386/i686/multiarch/strcat.S: New file.
74417 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74418 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74419 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74420 * sysdeps/i386/i686/multiarch/strncat.S: New file.
74421 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74422 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74423
74424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74425 (USE_AS_STRCAT): Define.
74426 Add strcat and strncat support.
74427 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74428
74429 2011-07-25 Andreas Schwab <schwab@redhat.com>
74430
74431 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74432 __n bigger than INT_MAX+1.
74433 (__strncmp_g): Likewise.
74434
74435 2011-07-23 Ulrich Drepper <drepper@gmail.com>
74436
74437 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74438 * libio/stido.h: Likewise.
74439
74440 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74441 (AF_NFC): Define.
74442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74443 (AF_NFC): Define.
74444
74445 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74446 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74447 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74448 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74449 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74450
74451 [BZ #13021]
74452 * scripts/test-installation.pl: Don't expect libnss_test1 to be
74453 installed.
74454
74455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74456 typo.
74457 (_dl_x86_64_save_sse): Likewise.
74458
74459 2011-07-22 Ulrich Drepper <drepper@gmail.com>
74460
74461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74462 OSXSAVE.
74463 (_dl_x86_64_save_sse): Likewise.
74464
74465 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74466
74467 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74468
74469 2011-07-21 Andreas Schwab <schwab@redhat.com>
74470
74471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74472 change.
74473 (_dl_x86_64_save_sse): Use correct AVX check.
74474
74475 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74476
74477 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74478 bug in strncpy/strncat.
74479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74480
74481 2011-07-21 Ulrich Drepper <drepper@gmail.com>
74482
74483 * string/tester.c (test_strcat): Add tests for different alignments
74484 of source and destination.
74485 (test_strncat): Likewise.
74486
74487 2011-07-20 Ulrich Drepper <drepper@gmail.com>
74488
74489 [BZ #12852]
74490 * posix/glob.c (glob): Check passed in values before using them in
74491 expressions to avoid some overflows.
74492 (glob_in_dir): Likewise.
74493
74494 [BZ #13007]
74495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74496 check for AVX enablement so that we don't crash with old kernels and
74497 new hardware.
74498 * elf/tst-audit4.c: Add same checks here.
74499 * elf/tst-audit6.c: Likewise.
74500
74501 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74502
74503 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
74504
74505 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74506
74507 2011-07-20 Ulrich Drepper <drepper@gmail.com>
74508
74509 * po/cs.po: Update from translation team.
74510 * po/bg.po: Likewise.
74511
74512 2011-07-12 Marek Polacek <mpolacek@redhat.com>
74513
74514 * misc/sys/cdefs.h: Add support for const attribute.
74515 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74516 to gnu_dev_{major,minor,makedev} functions.
74517
74518 2011-07-20 Marek Polacek <mpolacek@redhat.com>
74519
74520 * intl/dcigettext.c (get_output_charset): Add missing bracket.
74521
74522 2011-07-20 Andreas Schwab <schwab@redhat.com>
74523
74524 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74525 strlen results.
74526
74527 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74528
74529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74530 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74531 register in order to avoid conflicts with the soft frame pointer
74532 being held in r11 when necessary.
74533 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74534 (INTERNAL_VSYSCALL_NCS): Likewise.
74535
74536 2011-07-14 Marek Polacek <mpolacek@redhat.com>
74537
74538 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74539 * elf/dl-fini.c (_dl_fini): Adjust caller.
74540 * elf/dl-close.c (_dl_close_worker): Likewise.
74541 * sysdeps/generic/ldsodefs.h: Adjust declaration.
74542
74543 2011-07-15 Marek Polacek <mpolacek@redhat.com>
74544
74545 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74546 "aux_cache->nlibs < 0".
74547
74548 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74549 in the reload-count case.
74550
74551 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74552
74553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74554 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74555 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74556 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74557 * sysdeps/x86_64/multiarch/strcat.S: New file.
74558 * sysdeps/x86_64/multiarch/strncat.S: New file.
74559 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74560 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74561 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74562 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74563 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74564 (USE_AS_STRCAT): Define.
74565 Add strcat and strncat support.
74566 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74567 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74568 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74569 * string/strncat.c: Update.
74570 (USE_AS_STRNCAT): Define.
74571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74572 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74573 and i7.
74574 * sysdeps/x86_64/multiarch/init-arch.h
74575 (bit_Prefer_PMINUB_for_stringop): New.
74576 (index_Prefer_PMINUB_for_stringop): Likewise.
74577 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74578 bit_Prefer_PMINUB_for_stringop.
74579
74580 2011-07-19 Ulrich Drepper <drepper@gmail.com>
74581
74582 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74583 buffer64.
74584 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74585 of casting of buffer.
74586 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74587 buffer32 and buffer64.
74588 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74589 writes instead of casting of buffer.
74590 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74591 buffer32.
74592 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74593 casting of buffer.
74594
74595 2011-07-19 Andreas Schwab <schwab@redhat.com>
74596
74597 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74598
74599 2011-07-19 Ulrich Drepper <drepper@gmail.com>
74600
74601 * nscd/nscd.c (termination_handler): Don't do anything for a database
74602 if it has not yet been initialized.
74603
74604 2011-07-18 Ulrich Drepper <drepper@gmail.com>
74605
74606 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74607
74608 2011-07-15 Marek Polacek <mpolacek@redhat.com>
74609
74610 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74611
74612 2011-07-18 Ulrich Drepper <drepper@gmail.com>
74613
74614 * po/nl.po: Update from translation team.
74615 * po/sv.po: Likewise.
74616
74617 2011-07-16 Roland McGrath <roland@hack.frob.com>
74618
74619 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74620 now disallowed by GCC.
74621
74622 * configure.in (use-default-link): Default to yes if a test -shared
74623 link meets our qualifications.
74624 * configure: Regenerated.
74625
74626 * config.make.in (output-format): New variable.
74627 * configure.in: Check for ld --print-output-format support.
74628 * configure: Regenerated.
74629 * Makerules ($(common-objpfx)format.lds)
74630 [$(output-format) != unknown]: Just use $(output-format),
74631 instead of the linker-script munging.
74632
74633 2011-07-14 Roland McGrath <roland@hack.frob.com>
74634
74635 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74636 of $(common-objpfx)shlib.lds.
74637 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74638
74639 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74640 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74641
74642 * configure.in (-z relro check): Adjust test code to add a large
74643 writable data section after it.
74644 * configure: Regenerated.
74645
74646 2011-07-11 Roland McGrath <roland@hack.frob.com>
74647
74648 * configure.in (-z relro check): Fix test code to make the variable
74649 truly const.
74650 * configure: Regenerated.
74651
74652 2011-07-11 Ulrich Drepper <drepper@gmail.com>
74653
74654 * nscd/nscd.h (struct traced_file): Define.
74655 (struct database_dyn): Remove inotify_descr, reset_res, and filename
74656 elements. Add traced_files.
74657 (inotify_fd): Declare.
74658 (register_traced_file): Declare.
74659 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74660 (inotify_fd): Export.
74661 (resolv_conf_descr): Remove.
74662 (nscd_init): Move inotify descriptor creation to main.
74663 Don't register files for notification here.
74664 (register_traced_file): New function.
74665 (invalidate_cache): Don't use reset_res to determine whether to call
74666 res_init, go through the list of registered files.
74667 (main_loop_poll): The inotify descriptors are now stored in the
74668 structures for the traced files.
74669 (main_loop_epoll): Likewise.
74670 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
74671 to __nss_disable_nscd.
74672 * nscd/cache.c (prune_cache): There is no single inotify descriptor
74673 for a database anymore. Check the records for all the registered
74674 files instead.
74675 * nss/Makefile (libnss_files-routines): Add files-init.
74676 (libnss_db-routines): Add db-init.
74677 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74678 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74679 * nss/nss_db/db-init.c: New file.
74680 * nss/nss_files/files-init.c: New file.
74681 * nss/nsswitch.c (nss_load_library): New function. Broken out of
74682 __nss_lookup_function.
74683 (__nss_lookup_function): Call nss_load_library.
74684 (nss_load_all_libraries): New function.
74685 (__nss_disable_nscd): Take parameter with callback function for files
74686 to register. Set is_nscd. Load all the DSOs for the NSS modules
74687 used for the cached services.
74688 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74689 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74690 options for features to all the files in nscd.
74691
74692 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74693
74694 2011-07-10 Roland McGrath <roland@hack.frob.com>
74695
74696 * csu/elf-init.c (__libc_csu_init): Comment typo.
74697
74698 2011-07-09 Ulrich Drepper <drepper@gmail.com>
74699
74700 * po/pl.po: Update from translation team.
74701 * po/ja.po: Likewise.
74702 * po/ru.po: Likewise.
74703 * po/ko.po: Likewise.
74704 * po/fr.po: Likewise.
74705
74706 2011-07-09 Roland McGrath <roland@hack.frob.com>
74707
74708 * configure.in (.ctors/.dtors header and trailer check):
74709 Use an empirical test on a built program.
74710 * configure: Regenerated.
74711
74712 * configure.in (-z relro check): Use an empirical test on a built DSO.
74713 Detect, but do not require, on ia64.
74714 * configure: Regenerated.
74715
74716 * configure.in (READELF): Find it with AC_CHECK_TOOL.
74717 Update tests that use readelf to use $READELF instead.
74718 * configure: Regenerated.
74719
74720 2011-07-08 Ulrich Drepper <drepper@gmail.com>
74721
74722 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74723 if the result is not used.
74724
74725 2011-07-05 Andreas Jaeger <aj@suse.de>
74726
74727 [BZ#9696]
74728 * stdlib/tst-strtod.c: Add testcase.
74729
74730 2011-07-07 Ulrich Drepper <drepper@gmail.com>
74731
74732 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74733 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74734 The latter has a higher limit. Take additional parameter to pass to
74735 the new function.
74736 (__pathconf): Pass file to __statfs_link_max.
74737 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74738 __statfs_link_max.
74739 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74740 __statfs_link_max.
74741
74742 [BZ #12868]
74743 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74744 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74745 Handle Lustre.
74746 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74747 (__statfs_filesize_max): Likewise.
74748 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74749
74750 2011-07-05 Andreas Jaeger <aj@suse.de>
74751
74752 * resolv/res_comp.c (dn_skipname): Remove unused variable.
74753
74754 2011-07-06 Marek Polacek <mpolacek@redhat.com>
74755
74756 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74757 `status' variable.
74758 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74759 Likewise.
74760
74761 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
74762
74763 * Makefile (strop-tests): Add strncat.
74764 * string/test-strncat.c: New file.
74765
74766 2011-06-30 Marek Polacek <mpolacek@redhat.com>
74767
74768 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74769
74770 2011-06-21 Andreas Jaeger <aj@suse.de>
74771
74772 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74773 Copy rule from iconvdata/Makefile.
74774
74775 2011-07-06 Ulrich Drepper <drepper@gmail.com>
74776
74777 [BZ #12922]
74778 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74779 but no long options are defined, just return 'W'.
74780
74781 2011-06-22 Marek Polacek <mpolacek@redhat.com>
74782
74783 [BZ #9696]
74784 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74785
74786 2011-07-06 Ulrich Drepper <drepper@gmail.com>
74787
74788 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74789 netgroups to read.
74790 (innetgr): Likewise.
74791
74792 2011-07-05 Roland McGrath <roland@hack.frob.com>
74793
74794 * config.make.in (install_root): Default to $(DESTDIR).
74795
74796 2011-07-05 Ulrich Drepper <drepper@gmail.com>
74797
74798 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74799
74800 2011-07-02 Roland McGrath <roland@hack.frob.com>
74801
74802 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74803
74804 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74805 containing directory rather than embedding absolute directory names.
74806
74807 * scripts/check-local-headers.sh: Rewritten using awk.
74808 Match by word, not by line. Print error messages for matches.
74809 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74810
74811 * Makerules [shlib-lds-flags empty]:
74812 ($(common-objpfx)libc_pic.opts): New target.
74813 ($(common-objpfx)libc_pic.os.clean): New target.
74814 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74815
74816 * config.make.in (OBJCOPY): New variable.
74817 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74818 * configure: Regenerated.
74819
74820 * config.make.in (use-default-link): New variable.
74821 * configure.in (use_default_link): Grok --with-default-link to set it.
74822 * configure: Regenerated.
74823 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74824 (shlib-lds, shlib-lds-flags): Define to empty.
74825
74826 * Makerules (shlib-lds): New variable.
74827 (shlib-lds-flags): New variable.
74828 (build-shlib, build-moduile, build-module-asneeded): Use it.
74829 ($(common-objpfx)libc.so): Use $(shlib-lds).
74830 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74831 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74832
74833 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74834 DT_FLAGS/DT_FLAGS_1 with zero flags.
74835
74836 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74837 linker script munging.
74838
74839 2011-07-02 Ulrich Drepper <drepper@gmail.com>
74840
74841 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74842 as 128-bit value.
74843 * crypt/sha512.c (sha512_process_block): Perform total addition using
74844 128-bit if possible.
74845 (__sha512_finish_ctx): Likewise.
74846 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74847 as 64-bit value.
74848 * crypt/sha256.c (SWAP64): Define.
74849 (sha256_process_block): Perform total addition using 64-bit if
74850 possible.
74851 (__sha256_finish_ctx): Likewise.
74852
74853 2011-07-01 Ulrich Drepper <drepper@gmail.com>
74854
74855 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
74856 * nscd/initgrcache.c (addinitgroupsX): Likewise.
74857 * nscd/hstcache.c (cache_addhst): Likewise.
74858 * nscd/grpcache.c (cache_addgr): Likewise.
74859 * nscd/aicache.c (addhstaiX): Likewise.
74860 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74861
74862 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
74863
74864 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
74866 * nscd/hstcache.c (cache_addhst): Likewise.
74867 * nscd/grpcache.c (cache_addgr): Likewise.
74868 * nscd/aicache.c (addhstaiX): Likewise.
74869
74870 2011-07-01 Andreas Schwab <schwab@redhat.com>
74871
74872 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74873 domain only when needed.
74874
74875 2011-06-30 Andreas Schwab <schwab@redhat.com>
74876
74877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74878 is always restored.
74879
74880 2011-06-29 Ulrich Drepper <drepper@gmail.com>
74881
74882 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74883 are re-adding the entry.
74884 * nscd/servicescache.c (cache_addserv): Likewise.
74885
74886 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
74887
74888 * sysdeps/generic/dl-irel.h: fix protection against multiple
74889 inclusions.
74890 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74891
74892 2011-06-28 Ulrich Drepper <drepper@gmail.com>
74893
74894 [BZ #12935]
74895 * malloc/memusage.sh: Fix quoting in message.
74896 * debug/xtrace.sh: Likewise.
74897
74898 * configure.in: Remove support for --experimental-malloc option, make
74899 it the default.
74900 * config.make.in: Likewise.
74901 * malloc/Makefile: Likewise.
74902
74903 2011-06-27 Andreas Schwab <schwab@redhat.com>
74904
74905 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74906 two-byte characters.
74907
74908 2011-06-27 Roland McGrath <roland@hack.frob.com>
74909
74910 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74911 AC_CACHE_CHECK invocation.
74912 * configure: Regenerated.
74913
74914 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74915
74916 2011-06-27 Ulrich Drepper <drepper@gmail.com>
74917
74918 [BZ #12350]
74919 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
74920 bit from old_res_options.
74921
74922 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74923
74924 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74925 value type for setfct.
74926
74927 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
74928
74929 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74930 __gettimeofday instead of gettimeofday.
74931
74932 2011-06-26 Ulrich Drepper <drepper@gmail.com>
74933
74934 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74935
74936 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
74937
74938 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74939
74940 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74941 info.
74942
74943 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
74944
74945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74946 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74947 strcpy-sse2-unaligned strncpy-sse2-unaligned
74948 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74949 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74950 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74951 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74952 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74954 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74955 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74956 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74957 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74958 (STRCPY): Support SSE2 and SSSE3 versions.
74959
74960 2011-06-24 Ulrich Drepper <drepper@gmail.com>
74961
74962 [BZ #12874]
74963 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74964 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74965 kernels which artificially limit size of requests.
74966
74967 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
74968
74969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74970 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74971 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74972 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74973 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74974 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74975 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74976 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74977 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74979 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74980 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74981 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74982 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74983 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74985 Enable unaligned load optimization for Intel Core i3, i5 and i7
74986 processors.
74987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74988 Define.
74989 (index_Fast_Unaligned_Load): Define.
74990 (HAS_FAST_UNALIGNED_LOAD): Define.
74991
74992 2011-06-23 Marek Polacek <mpolacek@redhat.com>
74993
74994 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74995
74996 2011-06-22 Ulrich Drepper <drepper@gmail.com>
74997
74998 [BZ #12907]
74999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75000 until it is clear that the information is realy needed.
75001 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75002
75003 2011-06-22 Andreas Schwab <schwab@redhat.com>
75004
75005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75006
75007 2011-06-22 Ulrich Drepper <drepper@gmail.com>
75008
75009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75010 /sys/devices/system/cpu/online if it is usable.
75011
75012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75013 reading the information from the /proc filesystem to once a second.
75014
75015 2011-06-21 Andreas Jaeger <aj@suse.de>
75016
75017 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75018 NULL after inclusion of kernel headers.
75019
75020 2011-06-21 Ulrich Drepper <drepper@gmail.com>
75021
75022 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75023 calls to internal_setent.
75024
75025 [BZ #12885]
75026 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75027 addresses using gethostbyname4_r ignore IPv4 addresses.
75028
75029 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75030 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
75031
75032 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75033
75034 2011-06-20 David S. Miller <davem@davemloft.net>
75035
75036 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75037 inclusions.
75038 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75039
75040 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75041 (elf_irel): Use it.
75042 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75043 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75044 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75045 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75046 * sysdeps/x86_64/dl-irel.h: Likewise.
75047
75048 * elf/dl-runtime.c: Use elf_ifunc_invoke.
75049 * elf/dl-sym.c: Likewise.
75050
75051 2011-06-15 Ulrich Drepper <drepper@gmail.com>
75052
75053 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
75054 need to dereference resplen2.
75055
75056 2011-06-14 Andreas Schwab <schwab@redhat.com>
75057
75058 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75059
75060 2011-06-15 Ulrich Drepper <drepper@gmail.com>
75061
75062 * Makeconfig: Define vardbdir and inst_vardbdir.
75063 * nss/Makefile: Add rules to install db-Makefile.
75064
75065 * nss/nss_db/db-XXX.c: Cleanup.
75066
75067 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75068 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75069 GLIBC_PRIVATE.
75070 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75071 * nss/makedb.c: Implement -g option to specify that value strings
75072 are generated and should not be added to table iterated over for
75073 get*ent calls.
75074 * nss/nss_db/db-initgroups.c: New file.
75075
75076 * nss/getent.c: Add support for initgroups lookups through getgrouplist
75077 interface.
75078
75079 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75080 (internal_getgrouplist): Adjust to name change.
75081 Update use_initgroups_entry if this is not the first call.
75082 * nss/databases.def: Add initgroups entry.
75083
75084 * nss/makedb.c (compute_tables): Check result of multiple hash table
75085 sizes to minimize maximum chain length.
75086
75087 2011-06-14 Ulrich Drepper <drepper@gmail.com>
75088
75089 * Versions.def: Add entry for libnss_db.
75090 * shlib-versions: Likewise.
75091 * nss/Makefile: Add rules to build libnss_db.
75092 * nss/Versions: Add libnss_db information. Organize libnss_files
75093 entries better.
75094 * nss/db-Makefile: Add gshadow support. Change rules for the new
75095 makedb progra. Some minor improvements to generate smaller files.
75096 * nss/nss_db/nss_db.h: Move NSS database header data structures to
75097 here from...
75098 * nss/makedb.c: ...here.
75099 Improve database format to be smaller and require less memory at
75100 runtime.
75101 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
75102 db anymore.
75103 * nss/nss_db/db-netgrp.c: Likewise.
75104 * nss/nss_db/db-open.c: Likewise.
75105 * nss/nss_files/flies-XXX.x: Adjust comments.
75106 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75107 * nss/nss_files/files-grp.c: Likewise.
75108 * nss/nss_files/files-hosts.c: Likewise.
75109 * nss/nss_files/files-network.c: Likewise.
75110 * nss/nss_files/files-proto.c: Likewise.
75111 * nss/nss_files/files-pwd.c: Likewise.
75112 * nss/nss_files/files-rpc.c: Likewise.
75113 * nss/nss_files/files-service.c: Likewise.
75114 * nss/nss_files/files-sgrp.c: Likewise.
75115 * nss/nss_files/files-spwd.c: Likewise.
75116 * nss/nss_db/db-alias.c: Removed.
75117 * nss/nss_db/dummy-db.h: Removed.
75118
75119 2011-06-02 Ulrich Drepper <drepper@gmail.com>
75120
75121 * nss/makedb.c: Rewritten to not use database library.
75122 * nss/Makefile: Update to build new makedb program.
75123
75124 2011-06-14 Andreas Jaeger <aj@suse.de>
75125
75126 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75127 memset declaration.
75128
75129 2011-06-10 Andreas Schwab <schwab@redhat.com>
75130
75131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75132 tmpbuf.
75133
75134 2011-06-10 Roland McGrath <roland@hack.frob.com>
75135
75136 * Makerules (shlib.lds): Fail if the linker script comes out empty.
75137 * elf/Makefile ($(objpfx)ld.so): Likewise.
75138
75139 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75140 Don't list ld.so twice in dependencies.
75141
75142 * posix/bug-regex31.c: Include <stdlib.h>.
75143
75144 * nscd/hstcache.c (cache_addhst): Remove unused variable.
75145
75146 * nis/nss_compat/compat-spwd.c
75147 (getspent_next_nss_netgr): Remove unused variable.
75148 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75149
75150 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75151 nonmembers" output to use the right array.
75152
75153 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75154
75155 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75156
75157 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75158 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75159 * catgets/gencat.c (read_input_file): Likewise.
75160 * locale/programs/locarchive.c (enlarge_archive): Likewise.
75161
75162 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75163 variable definition inside #if's controlling its use.
75164
75165 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75166
75167 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75168
75169 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75170
75171 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75172 unreachable code.
75173
75174 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75175
75176 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75177 * configure: Regenerated.
75178
75179 * Makerules: Revert last change.
75180 * elf/Makefile: Likewise.
75181
75182 2011-06-09 Roland McGrath <roland@hack.frob.com>
75183
75184 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75185 * elf/Makefile ($(objpfx)librtld.os): Likewise.
75186 (reloc-link): Likewise.
75187
75188 2011-06-09 Ulrich Drepper <drepper@gmail.com>
75189
75190 * elf/Makefile: Add rules to build pldd.
75191 * elf/pldd.c: New file.
75192 * elf/pldd-xx.c: New file.
75193
75194 2011-06-07 Ulrich Drepper <drepper@gmail.com>
75195
75196 * version.h: Update for 2.15 development version.
75197
75198 2011-06-07 David S. Miller <davem@davemloft.net>
75199
75200 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75201 ifuncs.
75202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75203 elf_machine_lazy_rel): Likewise.
75204 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75205 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75206 elf_machine_lazy_rel): Likewise.
75207 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75208 dl_hwcap via passed in argument.
75209 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75210 Likewise.
75211
75212 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75213
75214 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
75215
75216 2011-06-06 Roland McGrath <roland@hack.frob.com>
75217
75218 [BZ #12849]
75219 * manual/fdl-1.1.texi: New file, verbatim from:
75220 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75221 * manual/lgpl-2.1.texi: New file, verbatim from:
75222 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75223 * manual/Makefile (licenses): New variable, list those new file names.
75224 (texis): Use it.
75225 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75226
75227 * manual/fdl.texi: File removed.
75228 * manual/lesser.texi: File removed.
75229 * manual/libc.texinfo (Copying, Documentation License):
75230 Use new @include file names, put @appendix directive before @include.
75231
75232 2011-06-04 Jakub Jelinek <jakub@redhat.com>
75233
75234 [BZ #12841]
75235 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75236 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75237 (mq_open): Add __NTH.
75238
75239 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
75240
75241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75242 Assume Intel Core i3/i5/i7 processor if AVX is available.
75243
75244 2011-05-31 Ulrich Drepper <drepper@gmail.com>
75245
75246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75247 typo.
75248
75249 2011-05-31 Andreas Schwab <schwab@redhat.com>
75250
75251 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75252 memory. Use alloca_account. Fix memory leak when retrying.
75253
75254 2011-05-31 Ulrich Drepper <drepper@gmail.com>
75255
75256 * version.h (RELEASE): Bump for 2.14 release.
75257 * include/features.h (__GLIBC_MINOR__): Bump to 14.
75258
75259 * config.make.in (RANLIB): Remove entry.
75260
75261 2011-05-30 Ulrich Drepper <drepper@gmail.com>
75262
75263 * po/Makefile (po-sed-cmd): Add ksh to extensions.
75264 (libc.pot): Work around missing support for .ksh extension in xgettext.
75265
75266 [BZ #12684]
75267 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75268 if both request failed.
75269 (send_dg): In case of server errors clear resplen or *resplen2.
75270
75271 [BZ #12454]
75272 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75273 when there are multiple maps.
75274 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75275 (_dl_fini): Remove test here.
75276
75277 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75278
75279 2011-05-29 Ulrich Drepper <drepper@gmail.com>
75280
75281 [BZ #12350]
75282 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75283 bit from old_res_options.
75284 (gaih_inet): Likewise.
75285
75286 [BZ #11099]
75287 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75288 as signed.
75289
75290 * resolv/res_init.c (res_setoptions): Make the code more compact.
75291
75292 [BZ #11558]
75293 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75294 set RES_USEVC.
75295
75296 [BZ #11634]
75297 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75298
75299 * malloc/malloc.h: Mark malloc hook variables as deprecated.
75300
75301 [BZ #11781]
75302 * malloc/malloc.h: Declare malloc hook variables as volatile.
75303
75304 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75305 in last patch.
75306
75307 [BZ #11799]
75308 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75309 raise in the comment.
75310 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75312 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75313
75314 2011-05-28 Ulrich Drepper <drepper@gmail.com>
75315
75316 [BZ #12811]
75317 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75318 grow the buffers more if it already has to be sufficient.
75319 (build_wcs_upper_buffer): Likewise.
75320 * posix/regexec.c (check_matching): Likewise.
75321 (clean_state_log_if_needed): Likewise.
75322 (extend_buffers): Don't enlarge buffers beyond size of the input
75323 buffer.
75324 Patches mostly by Emil Wojak <emil@wojak.eu>.
75325 * posix/bug-regex32.c: New file.
75326 * posix/Makefile (tests): Add bug-regex32.
75327
75328 * locale/findlocale.c (_nl_find_locale): Return right away if
75329 _nl_explode_name failed.
75330 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75331
75332 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75333
75334 * debug/xtrace.sh: Unify messages.
75335 * malloc/memusage.sh: Likewise.
75336
75337 [BZ #12813]
75338 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75339 time symbol from vDSO. Substitute with vsyscall if not available.
75340 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75341 __vdso_time.
75342
75343 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75344 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75345 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75346 Add sendmmsg and internal_sendmmsg.
75347 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75348 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75349 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75350
75351 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75352 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75353 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75354
75355 2011-05-27 Ulrich Drepper <drepper@gmail.com>
75356
75357 [BZ #12813]
75358 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75359 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
75360 available.
75361 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75362 __vdso_getcpu.
75363
75364 [BZ #12814]
75365 * iconvdata/Makefile (tests): Add bug-iconv9.
75366 * iconvdata/bug-iconv9.c: New file.
75367
75368 2011-05-27 Andreas Schwab <schwab@redhat.com>
75369
75370 [BZ #12814]
75371 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75372
75373 2011-05-25 Jakub Jelinek <jakub@redhat.com>
75374
75375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75376 (struct user_regs_struct): Change intcs field back to cs.
75377
75378 2011-05-25 Ulrich Drepper <drepper@gmail.com>
75379
75380 * po/ja.po: Update from translation team.
75381
75382 2011-05-23 Ulrich Drepper <drepper@gmail.com>
75383
75384 [BZ #12795]
75385 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75386 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75387
75388 2011-05-20 Andreas Schwab <schwab@redhat.com>
75389
75390 * stdlib/longlong.h: Update from GCC.
75391
75392 2011-05-23 Andreas Schwab <schwab@redhat.com>
75393
75394 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75395 parameter name.
75396 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75397 Add parameter name.
75398 (__sysconf): Pass it down.
75399
75400 2011-05-22 Ulrich Drepper <drepper@gmail.com>
75401
75402 [BZ #12671]
75403 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75404 some situations.
75405 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75406 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75407 add in in __libc_use_alloca calls. Adjust callers.
75408 (glob): Use malloc in some situations.
75409
75410 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75411 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75412 pltexit.
75413
75414 2011-05-21 Ulrich Drepper <drepper@gmail.com>
75415
75416 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75417 and CLOCK_BOOTTIME_ALARM.
75418
75419 [BZ #12782]
75420 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75421 is returned.
75422
75423 * string/_strerror.c (__strerror_r): Print negative errors as signed
75424 numbers.
75425
75426 [BZ #12777]
75427 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75428 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75429 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75430
75431 * configure.in: Fix typo in redirection and correct removal of test
75432 files in two cases.
75433
75434 [BZ #12788]
75435 * locale/setlocale.c (new_composite_name): Fix test to check for
75436 identical name of all categories.
75437
75438 [BZ #12792]
75439 * libio/filedoalloc.c (local_isatty): New function.
75440 (_IO_file_doallocate): Use local_isatty.
75441 * stdio-common/perror.c (perror): In case a new stream is used
75442 forward the stream error.
75443 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75444 error flag.
75445
75446 2011-05-20 Ulrich Drepper <drepper@gmail.com>
75447
75448 [BZ #11884]
75449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75450 alloca.
75451 * include/alloca.h (extend_alloca_account): Define.
75452
75453 [BZ #11857]
75454 * posix/regex.h: Fix comments with documentation of user-accessible
75455 fields after compilation and describe correct free'ing of pattern
75456 after re_compile_pattern.
75457 Patch by Reuben Thomas <rrt@sc3d.org>.
75458
75459 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
75460
75461 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75462 and -mno-altivec to prevent the compiler from using Altivec and/or
75463 VSX instructions when the corresponding registers are not available.
75464
75465 2011-05-19 Andreas Schwab <schwab@redhat.com>
75466
75467 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75468
75469 2011-05-19 Ulrich Drepper <drepper@gmail.com>
75470
75471 * libio/freopen.c (freopen): Use __dup2, not dup2.
75472 * libio/freopen64.c (freopen64): Likewise.
75473
75474 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
75475
75476 [BZ #12775]
75477 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75478 * math/Makefile (tests): Add test-powl.
75479 (CFLAGS-test-powl.c): Define.
75480 * math/test-powl.c: New file.
75481
75482 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
75483
75484 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75485
75486 2011-05-17 Ulrich Drepper <drepper@gmail.com>
75487
75488 [BZ #11837]
75489 * iconvdata/gb18030.c: Update to GB18020-2005.
75490
75491 2011-05-16 Ulrich Drepper <drepper@gmail.com>
75492
75493 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75494 RE_SYNTAX_POSIX_AWK): Update to match recent development.
75495 Patch by Aharon Robbins <arnold@skeeve.com>.
75496
75497 [BZ #11892]
75498 * stdlib/putenv.c (putenv): Don't always create copy of the variable
75499 on the stack.
75500
75501 [BZ #11895]
75502 * misc/pselect.c (__pselect): Handle timeout value errors hidden
75503 through underflows.
75504
75505 [BZ #12766]
75506 * misc/error.c (error_at_line): Ensure file_name and old_file_name
75507 point to strings before performing equality test for error_one_per_line
75508 mode.
75509
75510 [BZ #11697]
75511 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75512
75513 [BZ #11820]
75514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75515 (struct user_fpregs_struct): Avoid __uint*_t types.
75516
75517 [BZ #6420]
75518 * malloc/mtrace.c (tr_where): Add additional parameter to point to
75519 symbol info. Use it instead of calling _dl_addr locally.
75520 (lock_and_info): New function.
75521 (tr_freehook): Call lock_and_info and pass symbol info as additional
75522 parameter to tr_where.
75523 (tr_mallochook): Likewise.
75524 (tr_reallochook): Likewise.
75525 (tr_memalignhook): Likewise.
75526
75527 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
75528 used and couldn't be at all thread-safe.
75529
75530 2011-05-15 Ulrich Drepper <drepper@gmail.com>
75531
75532 * libio/freopen.c (freopen): Don't close old file descriptor
75533 before the new one is opened. Instead dup the new file descriptor
75534 to the old one after the new stream is created.
75535 * libio/freopen64.c (freopen64): Likewise.
75536 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75537 * libio/fileops.c (_IO_new_file_close_it): Handle new
75538 _IO_FLAGS2_NOCLOSE flag.
75539 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75540 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75541 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75542 _IO_FLAGS2_NOCLOSE flag.
75543 * include/unistd.h: Add hidden_proto for dup3.
75544 Define __have_dup3.
75545 * io/dup3.c: Define hidden symbol.
75546 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75547
75548 [BZ #7101]
75549 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75550 when an incomplete long option is used.
75551 * posix/tst-getopt_long1.c: New file.
75552 * posix/Makefile (tests): Add tst-getopt_long1.
75553
75554 [BZ #10138]
75555 * scripts/config.guess: Update from autoconf-2.68.
75556 * scripts/config.sub: Likewise.
75557
75558 [BZ #10157]
75559 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75560 tests into ...
75561 (has_cpuclock): ...this. New function.
75562 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75563 macro here based on has_cpuclock code.
75564
75565 [BZ #10149]
75566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75567 First byte (not low byte) is now always NUL.
75568 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75569
75570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75571 Use non-cancelable interfaces.
75572
75573 [BZ #9809]
75574 * locale/iso-639.def: Add entry for Sorani.
75575
75576 [BZ #11901]
75577 * include/stdlib.h: Move include protection to the right place.
75578 Define abort_msg_s. Declare __abort_msg with it.
75579 * stdlib/abort.c (__abort_msg): Adjust type.
75580 * assert/assert.c (__assert_fail_base): New function. Majority
75581 of code from __assert_fail. Allocate memory for __abort_msg with
75582 mmap.
75583 (__assert_fail): Now call __assert_fail_base.
75584 * assert/assert-perr.c: Remove bulk of implementation. Use
75585 __assert_fail_base.
75586 * include/assert.hL Declare __assert_fail_base.
75587 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75588 mmap.
75589 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75590
75591 2011-05-14 Ulrich Drepper <drepper@gmail.com>
75592
75593 [BZ #11952]
75594 [BZ #12453]
75595 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75596 until all modules are registered in the DTV.
75597 * elf/Makefile: Add rules to build and run tst-tls19.
75598 * elf/tst-tls19.c: New file.
75599 * elf/tst-tls19mod1.c: New file.
75600 * elf/tst-tls19mod2.c: New file.
75601 * elf/tst-tls19mod3.c: New file.
75602 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75603
75604 [BZ #12083]
75605 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75606 correctly.
75607
75608 [BZ #12601]
75609 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75610 two-byte sequence errors.
75611 * iconvdata/Makefile (tests): Add bug-iconv8.
75612 * iconvdata/bug-iconv8.c: New file.
75613
75614 [BZ #12626]
75615 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75616 buf2 definition.
75617
75618 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75619
75620 [BZ #12432]
75621 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75622 (dummy_getcfa): New function.
75623 (init): Get _Unwind_GetCFA address, use dummy if not found.
75624 (backtrace_helper): In recursion check, also check whether CFA changes.
75625 (__backtrace): Completely initialize arg.
75626
75627 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75628 storing incomplete byte sequence in state object. Avoid testing for
75629 guaranteed too small input if we know there is enough data available.
75630
75631 2011-05-11 Andreas Schwab <schwab@redhat.com>
75632
75633 * Makeconfig (+link-pie): Indent.
75634 * Rules (binaries-pie): Define if $(have-fpie) and
75635 $(build-shared).
75636 (binaries-shared): Also filter out $(binaries-pie).
75637 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75638 * nscd/Makefile (others-pie): Add nscd.
75639 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75640 ($(objpfx)nscd): Remove command override.
75641 * login/Makefile (others-pie): Add pt_chown.
75642 ($(objpfx)pt_chown): Remove command override.
75643 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75644 remove command overrides.
75645
75646 2011-05-13 Ulrich Drepper <drepper@gmail.com>
75647
75648 * libio/tst_putwc.c: Fix error messages.
75649
75650 [BZ #12724]
75651 * libio/fileops.c (_IO_new_file_close_it): Always flush when
75652 currently writing and seek to current position when not.
75653 * libio/Makefile (tests): Add bug-fclose1.
75654 * libio/bug-fclose1.c: New file.
75655
75656 2011-05-12 Ulrich Drepper <drepper@gmail.com>
75657
75658 [BZ #12511]
75659 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75660 don't set DF_1_NODELETE here.
75661 (do_lookup_x): When entering new entry test for copy relocation
75662 and if necessary set DF_1_NODELETE flag.
75663 * elf/tst-unique4.cc: New file.
75664 * elf/tst-unique4.h: New file.
75665 * elf/tst-unique4lib.cc: New file.
75666 * elf/Makefile: Add rules to build and run tst-unique4.
75667 Patch by Piotr Bury <pbury@goahead.com>.
75668
75669 2011-05-11 Ulrich Drepper <drepper@gmail.com>
75670
75671 [BZ #12052]
75672 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75673
75674 [BZ #12625]
75675 * misc/mntent_r.c (addmntent): Flush the stream after the output
75676
75677 [BZ #12393]
75678 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75679 (is_trusted_path_normalize): Skip initial colon. Append slash
75680 to empty buffer. Duplicate is_trusted_path code but allow
75681 constructed patch to be prefix.
75682 (is_dst): Allow $ORIGIN followed by /.
75683 (_dl_dst_substitute): Correct clearing of check_for_trusted.
75684 Correct testing of result of is_trusted_path_normalize
75685 (decompose_rpath): Fix warning.
75686
75687 2011-05-10 Ulrich Drepper <drepper@gmail.com>
75688
75689 [BZ #11257]
75690 * grp/initgroups.c (internal_getgrouplist): When we found the service
75691 list through the initgroups entry in nsswitch.conf do not always
75692 continue on a successful lookup. Don't always use the
75693 __nss_group_database value if it is set.
75694 * nss/nsswitch.conf (initgroups): Change action for successful db
75695 lookup to continue for compatibility.
75696
75697 2011-05-09 Ulrich Drepper <drepper@gmail.com>
75698
75699 [BZ #11532]
75700 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75701 and CP774 modules.
75702 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75703 and CP774 modules.
75704 * iconvdata/tst-tables.sh: Likewise.
75705 * iconvdata/cp770.c: New file.
75706 * iconvdata/cp771.c: New file.
75707 * iconvdata/cp772.c: New file.
75708 * iconvdata/cp773.c: New file.
75709 * iconvdata/cp774.c: New file.
75710 * iconvdata/testdata/CP770: New file.
75711 * iconvdata/testdata/CP770..UTF8: New file.
75712 * iconvdata/testdata/CP771: New file.
75713 * iconvdata/testdata/CP771..UTF8: New file.
75714 * iconvdata/testdata/CP772: New file.
75715 * iconvdata/testdata/CP772..UTF8: New file.
75716 * iconvdata/testdata/CP773: New file.
75717 * iconvdata/testdata/CP773..UTF8: New file.
75718 * iconvdata/testdata/CP774: New file.
75719 * iconvdata/testdata/CP774..UTF8: New file.
75720
75721 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75722 END CHARMAP line.
75723 * iconvdata/gen-8bit-gap.sh: Likewise.
75724 * iconvdata/gen-8bit.sh: Likewise.
75725
75726 * locale/iso-639.def: Add ary entry.
75727
75728 [BZ #11258]
75729 * locale/C-translit.h.in: Add U20A1 transliteration.
75730
75731 [BZ #12178]
75732 * locale/iso-639.def: Add wae entry.
75733 Patch by Kevin Bortis <bortis@translate-wae.ch>.
75734
75735 [BZ #12545]
75736 * locale/programs/localedef.c (construct_output_path): Use ssize_t
75737 for n.
75738
75739 [BZ #12711]
75740 * locale/C-translit.h.in: Add entry for U20B9.
75741 Patch by pravin.d.s@gmail.com.
75742
75743 2011-05-08 Ulrich Drepper <drepper@gmail.com>
75744
75745 [BZ #12713]
75746 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75747 ENAMETOOLONG use generic getcwd.
75748 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
75749 in rtld. Use *stat64.
75750 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75751 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75752 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75753 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75754 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75755 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75756 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75757 __fstatat64 macros.
75758 * include/dirent.h: Add libc_hidden_proto for rewinddir.
75759 * dirent/rewinddir.c: Add libc_hidden_def.
75760 * sysdeps/mach/hurd/rewinddir.c: Likewise.
75761 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
75762
75763 * include/dirent.h (__alloc_dir): Add flags parameter.
75764 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75765 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75766 __alloc_dir.
75767 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
75768 from fdopendir if O_CLOEXEC is already set.
75769
75770 2011-03-15 Alan Modra <amodra@gmail.com>
75771
75772 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75773 l_tls_firstbyte_offset non-zero. Save padding offset in
75774 l_tls_firstbyte_offset for later use.
75775 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75776 freeing static tls block.
75777
75778 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
75779
75780 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75781 where #ifdef was intended. The intent is to prevent ARG_MAX from
75782 being defined by the kernel headers.
75783
75784 2011-05-07 Ulrich Drepper <drepper@gmail.com>
75785
75786 [BZ #12734]
75787 * resolv/resolv.h: Define RES_NOTLDQUERY.
75788 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75789 no-tld-query and set RES_NOTLDQUERY.
75790 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75791 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75792 modern BIND to search name as TLD unless forbidden.
75793
75794 2011-05-07 Petr Baudis <pasky@suse.cz>
75795 Ulrich Drepper <drepper@gmail.com>
75796
75797 [BZ #12393]
75798 * elf/dl-load.c (fillin_rpath): Move trusted path check...
75799 (is_trusted_path): ...to here.
75800 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75801 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75802 using is_trusted_path_normalize() in setuid scripts.
75803
75804 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
75805
75806 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75807 __BEGIN/__END_DECLS.
75808
75809 2011-05-06 Ulrich Drepper <drepper@gmail.com>
75810
75811 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75812 NSS_STATUS_NOTFOUND if no record was found.
75813
75814 2011-05-05 Andreas Schwab <schwab@redhat.com>
75815
75816 * sunrpc/Makefile (headers): Add rpc/netdb.h.
75817 (headers-not-in-tirpc): Remove rpc/netdb.h
75818 * resolv/netdb.h: Revert last change.
75819
75820 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
75821
75822 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75823 circular dependency between libgcc.a and libc.a.
75824
75825 2011-05-05 Andreas Schwab <schwab@redhat.com>
75826
75827 * resolv/netdb.h: Don't include <rpc/netdb.h>.
75828 * nis/Makefile: Don't install rpcsvc/*.
75829 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75830 instead of <rpc/types.h>.
75831 (MAXHOSTNAMELEN): Define.
75832
75833 2011-05-03 Andreas Schwab <schwab@redhat.com>
75834
75835 * elf/ldconfig.c (add_dir): Don't crash on empty path.
75836
75837 2011-04-28 Maciej Babinski <mbabinski@google.com>
75838
75839 [BZ #12714]
75840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75841 gethostbyname4_r when IPv6 results are possible.
75842
75843 2011-05-02 Ulrich Drepper <drepper@gmail.com>
75844
75845 [BZ #12723]
75846 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75847 _PC_PIPE_BUF handling.
75848
75849 2011-04-30 Bruno Haible <bruno@clisp.org>
75850
75851 [BZ #12717]
75852 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75853 * resolv/netdb.h (getnameinfo): Change type of flags parameter
75854 to 'int'.
75855 * inet/getnameinfo.c (getnameinfo): Likewise.
75856
75857 2011-04-29 Ulrich Drepper <drepper@gmail.com>
75858
75859 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75860 to groups setting in database lookup.
75861 * nss/nsswitch.conf: Add initgroups entry.
75862
75863 2011-04-22 Ulrich Drepper <drepper@gmail.com>
75864
75865 [BZ #12685]
75866 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75867 mode string.
75868 Patch by Eric Blake <eblake@redhat.com>.
75869
75870 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
75871
75872 * sunrpc/Makefile (need-export-routines): Add svc_run.
75873 (routines): Remove svc_run.
75874 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75875 * sunrpc/clnt_perr.c (clnt_perrno): Export.
75876 * sunrpc/svc_run.c (svc_run): Likewise.
75877 * sunrpc/svc_udp.c (svcudp_create): Likewise.
75878
75879 2011-04-21 Ulrich Drepper <drepper@gmail.com>
75880
75881 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75882 problem in reallocation in last patch.
75883
75884 2011-04-20 Ulrich Drepper <drepper@gmail.com>
75885
75886 * sunrpc/Makefile: Move inclusion of Rules.
75887
75888 2011-04-19 Ulrich Drepper <drepper@gmail.com>
75889
75890 * nss/nss_files/files-initgroups.c: New file.
75891 * nss/Makefile (libnss_files-routines): Add files-initgroups.
75892 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75893 _nss_files_initgroups_dyn.
75894
75895 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
75896
75897 * elf/elf.h (R_ARM_IRELATIVE): Define.
75898
75899 2011-04-19 Ulrich Drepper <drepper@gmail.com>
75900
75901 * po/ru.po: Update from translation team.
75902
75903 2011-04-17 Ulrich Drepper <drepper@gmail.com>
75904
75905 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75906 dependencies.
75907
75908 2011-02-06 Mike Frysinger <vapier@gentoo.org>
75909
75910 [BZ #12653]
75911 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75912 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75913 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75914 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75915 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75916
75917 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
75918
75919 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75920 differing bytes.
75921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75924
75925 2011-04-17 Ulrich Drepper <drepper@gmail.com>
75926
75927 [BZ #12420]
75928 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75929 storing it.
75930 * stdlib/bug-getcontext.c: New file.
75931 * stdlib/Makefile: Add rules to build and run bug-getcontext.
75932
75933 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75934
75935 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75936 instructions into .machine "z9-109".
75937 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75938 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75939
75940 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75941
75942 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75943 between environment variables and auxiliary vector.
75944
75945 2011-04-16 Ulrich Drepper <drepper@gmail.com>
75946
75947 * Makefile: Add rules to build linkobj/libc.so.
75948 * include/libc-symbols.h: Define libc_hidden_nolink.
75949 * include/rpc/auth.h: Mark functions which are to be hidden.
75950 * include/rpc/auth_des.h: Likewise.
75951 * include/rpc/auth_unix.h: Likewise.
75952 * include/rpc/clnt.h: Likewise.
75953 * include/rpc/des_crypt.h: Likewise.
75954 * include/rpc/key_prot.h: Likewise.
75955 * include/rpc/pmap_clnt.h: Likewise.
75956 * include/rpc/pmap_prot.h: Likewise.
75957 * include/rpc/pmap_rmt.h: Likewise.
75958 * include/rpc/rpc_msg.h: Likewise.
75959 * include/rpc/svc.h: Likewise.
75960 * include/rpc/svc_auth.h: Likewise.
75961 * include/rpc/xdr.h: Likewise.
75962 * nis/Makefile: Link all DSOs against linkobj/libc.so.
75963 * nss/Makefile: Likewise.
75964 * sunrpc/Makefile: Don't install headers. Build library with normal
75965 entry points. Don't build rpcinfo. Link RPC tests appropriately.
75966 * sunrpc/auth_des.c: Hide exported symbols by default, export some
75967 for the compat linking library. Remove use of INTDEF/INTUSE.
75968 * sunrpc/auth_none.c: Likewise.
75969 * sunrpc/auth_unix.c: Likewise.
75970 * sunrpc/authdes_prot.c: Likewise.
75971 * sunrpc/authuxprot.c: Likewise.
75972 * sunrpc/clnt_gen.c: Likewise.
75973 * sunrpc/clnt_perr.c: Likewise.
75974 * sunrpc/clnt_raw.c: Likewise.
75975 * sunrpc/clnt_simp.c: Likewise.
75976 * sunrpc/clnt_tcp.c: Likewise.
75977 * sunrpc/clnt_udp.c: Likewise.
75978 * sunrpc/clnt_unix.c: Likewise.
75979 * sunrpc/des_crypt.c: Likewise.
75980 * sunrpc/des_soft.c: Likewise.
75981 * sunrpc/get_myaddr.c: Likewise.
75982 * sunrpc/key_call.c: Likewise.
75983 * sunrpc/key_prot.c: Likewise.
75984 * sunrpc/netname.c: Likewise.
75985 * sunrpc/pm_getmaps.c: Likewise.
75986 * sunrpc/pm_getport.c: Likewise.
75987 * sunrpc/pmap_clnt.c: Likewise.
75988 * sunrpc/pmap_prot.c: Likewise.
75989 * sunrpc/pmap_prot2.c: Likewise.
75990 * sunrpc/pmap_rmt.c: Likewise.
75991 * sunrpc/publickey.c: Likewise.
75992 * sunrpc/rpc_cmsg.c: Likewise.
75993 * sunrpc/rpc_common.c: Likewise.
75994 * sunrpc/rpc_dtable.c: Likewise.
75995 * sunrpc/rpc_prot.c: Likewise.
75996 * sunrpc/rpc_thread.c: Likewise.
75997 * sunrpc/rtime.c: Likewise.
75998 * sunrpc/svc.c: Likewise.
75999 * sunrpc/svc_auth.c: Likewise.
76000 * sunrpc/svc_authux.c: Likewise.
76001 * sunrpc/svc_raw.c: Likewise.
76002 * sunrpc/svc_run.c: Likewise.
76003 * sunrpc/svc_simple.c: Likewise.
76004 * sunrpc/svc_tcp.c: Likewise.
76005 * sunrpc/svc_udp.c: Likewise.
76006 * sunrpc/svc_unix.c: Likewise.
76007 * sunrpc/svcauth_des.c: Likewise.
76008 * sunrpc/xcrypt.c: Likewise.
76009 * sunrpc/xdr.c: Likewise.
76010 * sunrpc/xdr_array.c: Likewise.
76011 * sunrpc/xdr_float.c: Likewise.
76012 * sunrpc/xdr_intXX_t.c: Likewise.
76013 * sunrpc/xdr_mem.c: Likewise.
76014 * sunrpc/xdr_rec.c: Likewise.
76015 * sunrpc/xdr_ref.c: Likewise.
76016 * sunrpc/xdr_sizeof.c: Likewise.
76017 * sunrpc/xdr_stdio.c: Likewise.
76018
76019 2011-04-10 Ulrich Drepper <drepper@gmail.com>
76020
76021 [BZ #12650]
76022 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76023 * sysdeps/ia64/dl-tls.h: Likewise.
76024 * sysdeps/powerpc/dl-tls.h: Likewise.
76025 * sysdeps/s390/dl-tls.h: Likewise.
76026 * sysdeps/sh/dl-tls.h: Likewise.
76027 * sysdeps/sparc/dl-tls.h: Likewise.
76028 * sysdeps/x86_64/dl-tls.h: Likewise.
76029 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76030
76031 2011-03-14 Andreas Schwab <schwab@redhat.com>
76032
76033 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76034 rpath element also skip the following colon.
76035 (expand_dynamic_string_token): Add is_path parameter and pass
76036 down to DL_DST_REQUIRED and _dl_dst_substitute.
76037 (decompose_rpath): Call expand_dynamic_string_token with
76038 non-zero is_path. Ignore empty rpaths.
76039 (_dl_map_object_from_fd): Call expand_dynamic_string_token
76040 with zero is_path.
76041
76042 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
76043
76044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76045 Make cancelable.
76046
76047 2011-04-09 Ulrich Drepper <drepper@gmail.com>
76048
76049 [BZ #12655]
76050 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76051 Patch by Filipe David Manana <fdmanana@apache.org>.
76052
76053 2011-04-07 Andreas Schwab <schwab@redhat.com>
76054
76055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76056 Maintain aligned stack.
76057 (CHECK_RSP): Remove unused macro.
76058
76059 2011-04-03 Ulrich Drepper <drepper@gmail.com>
76060
76061 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76062 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76063
76064 2011-04-02 Ulrich Drepper <drepper@gmail.com>
76065
76066 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76067
76068 * include/features.h: Mention __USE_XOPEN2K8 in comment.
76069
76070 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
76071
76072 [BZ #12518]
76073 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76074 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76075 * sysdeps/x86_64/memmove.c: New file.
76076 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76077 (memcpy): Renamed to ...
76078 (__new_memcpy): This.
76079 (memcpy): Provide GLIBC_2_14 memcpy.
76080 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76081 (memcpy): Provide GLIBC_2_2_5 memcpy.
76082
76083 2011-04-01 Ulrich Drepper <drepper@gmail.com>
76084
76085 [BZ #12631]
76086 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76087
76088 2011-03-30 Andreas Schwab <schwab@redhat.com>
76089
76090 * misc/syncfs.c: New file.
76091 * misc/Makefile (routines): Add syncfs.
76092 * posix/unistd.h: Declare syncfs.
76093 * sysdeps/unix/syscalls.list: Add syncfs.
76094
76095 2011-04-01 Andreas Schwab <schwab@redhat.com>
76096
76097 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76098 open_by_handle_at.
76099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76102 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76104 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76106
76107 2011-04-01 Ulrich Drepper <drepper@gmail.com>
76108
76109 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76111 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76113 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76116
76117 * io/Makefile: Compile fallocate.c, fallocate64.c, and
76118 sync_file_range.c with -fexceptions.
76119 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76120 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76121 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76122 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76123 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76124 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76126 sync_file_range as cancellation point
76127 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
76128 now a wrapper around __call_sync_file_range with cancellation handling.
76129 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76130 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
76131 function name to __call_sync_file_range.
76132 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76133 Add call_sync_file_range.
76134
76135 2011-04-01 Andreas Schwab <schwab@redhat.com>
76136
76137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76138 bits/timex.h.
76139
76140 2011-04-01 Ulrich Drepper <drepper@gmail.com>
76141
76142 * iconv/iconv.h: Fix typo in comment.
76143 * io/fcntl.h: Likewise.
76144 * libio/stdio.h: Likewise.
76145 * posix/spawn.h: Likewise.
76146 * posix/unistd.h: Likewise.
76147 * stdlib/stdlib.h: Likewise.
76148 * time/time.h: Likewise.
76149 * wcsmbs/wchar.h: Likewise.
76150
76151 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76152 open_by_handle): Add.
76153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76154 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
76155 Augment a few comments.
76156 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76161 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76162 open_by_handle.
76163
76164 * io/fcntl.h (AT_EMPTY_PATH): Define.
76165
76166 2011-03-30 Ulrich Drepper <drepper@gmail.com>
76167
76168 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76169 * sysdeps/unix/sysv/linux/bits/time.h: New file.
76170 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76171 to...
76172 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
76173 * Versions.def: Add GLIBC_2.14.
76174 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76175 Export.
76176
76177 2011-03-22 Ulrich Drepper <drepper@gmail.com>
76178
76179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76180 round counter.
76181 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76182
76183 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
76184
76185 [BZ #12597]
76186 * string/test-strncmp.c (do_page_test): New function.
76187 (check2): Likewise.
76188 (test_main): Call check2.
76189 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76190
76191 2011-03-20 Ulrich Drepper <drepper@gmail.com>
76192
76193 [BZ #12587]
76194 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76195 Handle cache information in CPU leaf 4.
76196 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76197
76198 2011-03-18 Ulrich Drepper <drepper@gmail.com>
76199
76200 [BZ #12583]
76201 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76202 character representation.
76203 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76204
76205 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
76206
76207 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76208 END(__isnan) to END(__isnanf) to match function entry point/label
76209 EALIGN(__isnanf,...).
76210
76211 2011-03-10 Jakub Jelinek <jakub@redhat.com>
76212
76213 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76214
76215 2011-03-10 Ulrich Drepper <drepper@gmail.com>
76216
76217 [BZ #12510]
76218 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76219 copy from the symbol referenced in the relocation to initialize the
76220 used variable.
76221 Patch by Piotr Bury <pbury@goahead.com>.
76222 * elf/Makefile: Add rules to build and tst-unique3.
76223 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76224 * elf/tst-unique3.cc: New file.
76225 * elf/tst-unique3.h: New file.
76226 * elf/tst-unique3lib.cc: New file.
76227 * elf/tst-unique3lib2.cc: New file.
76228
76229 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76230
76231 2011-03-10 Mike Frysinger <vapier@gentoo.org>
76232
76233 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76234 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
76235 to _start.
76236
76237 2011-03-06 Ulrich Drepper <drepper@gmail.com>
76238
76239 * elf/dl-load.c (_dl_map_object): If we are looking for the first
76240 to-be-loaded object along a path to loader is ld.so.
76241
76242 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
76243 Ulrich Drepper <drepper@gmail.com>
76244
76245 * sysdeps/x86_64/memset.S: After aligning destination, code
76246 branches to different locations depending on the value of
76247 misalignment, when multiarch is enabled. Fix this.
76248
76249 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
76250
76251 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76252 Set _x86_64_preferred_memory_instruction for AMD processsors.
76253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76254 Set bit_Prefer_SSE_for_memop for AMD processors.
76255
76256 2011-03-04 Ulrich Drepper <drepper@gmail.com>
76257
76258 * libio/fmemopen.c (fmemopen): Optimize a bit.
76259
76260 2011-03-03 Andreas Schwab <schwab@redhat.com>
76261
76262 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76263
76264 2011-03-03 Roland McGrath <roland@redhat.com>
76265
76266 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76267
76268 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
76269
76270 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76271 __bzero_ultra1 instead of __memset_ultra1.
76272
76273 2011-02-23 Andreas Schwab <schwab@redhat.com>
76274 Ulrich Drepper <drepper@gmail.com>
76275
76276 [BZ #12509]
76277 * include/link.h (struct link_map): Add l_orig_initfini.
76278 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76279 returning unsuccessfully.
76280 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76281 close of a file loaded at startup, restore the original l_initfini
76282 list.
76283 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76284 list, store the pointer.
76285 * elf/Makefile ($(objpfx)noload-mem): New rule.
76286 (noload-ENV): Define.
76287 (tests): Add $(objpfx)noload-mem.
76288 * elf/noload.c: Include <memcheck.h>.
76289 (main): Call mtrace. Close all opened handles.
76290
76291 2011-02-17 Andreas Schwab <schwab@redhat.com>
76292
76293 [BZ #12454]
76294 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76295 dependencies are missing.
76296
76297 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
76298
76299 Fix __if_freereq crash: Unlike the generic version which uses free,
76300 Hurd needs munmap.
76301 * sysdeps/mach/hurd/ifreq.h: New file.
76302
76303 2011-01-27 Petr Baudis <pasky@suse.cz>
76304 Ulrich Drepper <drepper@gmail.com>
76305
76306 [BZ 12445]#
76307 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76308 to extend_alloca().
76309 * stdio-common/bug23.c: New file.
76310 * stdio-common/Makefile (tests): Add bug23.
76311
76312 2010-09-28 Andreas Schwab <schwab@redhat.com>
76313 Ulrich Drepper <drepper@gmail.com>
76314
76315 [BZ #12489]
76316 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76317 before performing relro protection. At old place add assertion
76318 to make sure nothing changed.
76319
76320 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
76321 Glauber de Oliveira Costa <glommer@gmail.com>
76322
76323 * elf/elf.h: Add new ARM TLS relocs.
76324
76325 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
76326
76327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76328 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76329 cast from r3.
76330 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
76331 'tests' variable.
76332 * sysdeps/wordsize-64/tst-writev.c: New file.
76333
76334 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
76335
76336 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76337 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76338 insns in _dl_start to prevent a TOC reference before relocs are
76339 resolved.
76340
76341 2011-02-15 Ulrich Drepper <drepper@gmail.com>
76342
76343 [BZ #12469]
76344 * Makeconfig: Remove RANLIB definition.
76345 * Makerules: Don't use RANLIB.
76346 * aclocal.m4: Remove ranlib test.
76347 * configure.in: No need to check for ranlib.
76348 * elf/rtld-Rules: Don't use RANLIB.
76349
76350 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
76351
76352 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76353 protection macro.
76354 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76355 inclusion protection macro.
76356
76357 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76358 SIGRTMIN and SIGRTMAX and print information in that case only when
76359 SIGRTMIN is defined.
76360
76361 2011-02-11 Jakub Jelinek <jakub@redhat.com>
76362
76363 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76364 arginfo fn returning -1.
76365
76366 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76367 and thousands string is zero terminated.
76368
76369 2011-02-03 Andreas Schwab <schwab@redhat.com>
76370
76371 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76372 sysdeps/unix/sysv/linux/bits/socket.h.
76373
76374 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
76375
76376 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76377 (__CPU_COUNT): Remove old macros.
76378 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76379 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76380 (__CPU_ALLOC, __CPU_FREE): Add macros.
76381 (__sched_cpualloc, __sched_cpufree): Add declarations.
76382
76383 2011-02-05 Ulrich Drepper <drepper@gmail.com>
76384
76385 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76386 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76387 * nscd/aicache.c (addhstaiX): Return timeout of added value.
76388 (readdhstai): Return value of addhstaiX call.
76389 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76390 (addgrbyX): Return value returned by cache_addgr.
76391 (readdgrbyname): Return value returned by addgrbyX.
76392 (readdgrbygid): Likewise.
76393 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76394 (addpwbyX): Return value returned by cache_addpw.
76395 (readdpwbyname): Return value returned by addhstbyX.
76396 (readdpwbyuid): Likewise.
76397 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76398 (addservbyX): Return value returned by cache_addserv.
76399 (readdservbyname): Return value returned by addservbyX:
76400 (readdservbyport): Likewise.
76401 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76402 (addhstbyX): Return value returned by cache_addhst.
76403 (readdhstbyname): Return value returned by addhstbyX.
76404 (readdhstbyaddr): Likewise.
76405 (readdhstbynamev6): Likewise.
76406 (readdhstbyaddrv6): Likewise.
76407 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76408 (readdinitgroups): Return value returned by addinitgroupsX.
76409 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76410 (prune_cache): Keep track of timeout value of re-added entries.
76411 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76412 * nscd/nscd.h: Adjust prototypes of readd* functions.
76413
76414 2011-02-04 Roland McGrath <roland@redhat.com>
76415
76416 * nis/nis_server.c (nis_servstate): Use the right name for 0.
76417 (nis_stats): Likewise.
76418 * nis/nis_modify.c (nis_modify): Likewise.
76419 * nis/nis_remove.c (nis_remove): Likewise.
76420 * nis/nis_add.c (nis_add): Likewise.
76421
76422 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76423
76424 * posix/fnmatch_loop.c: Add some consts.
76425
76426 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76427
76428 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
76429
76430 [BZ #12460]
76431 * config.make.in (config-cflags-novzeroupper): Define.
76432 * configure.in: Substitute libc_cv_cc_novzeroupper.
76433 * elf/Makefile (AVX-CFLAGS): Define.
76434 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76435 (CFLAGS-tst-auditmod4a.c): Likewise.
76436 (CFLAGS-tst-auditmod4b.c): Likewise.
76437 (CFLAGS-tst-auditmod6b.c): Likewise.
76438 (CFLAGS-tst-auditmod6c.c): Likewise.
76439 (CFLAGS-tst-auditmod7b.c): Likewise.
76440 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76441
76442 2011-02-02 Ulrich Drepper <drepper@gmail.com>
76443
76444 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76445 function to the callback.
76446 Patch partly by Jiri Olsa <jolsa@redhat.com>.
76447
76448 2011-02-02 Andreas Schwab <schwab@redhat.com>
76449
76450 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76451 of errno.
76452
76453 2011-01-19 Ulrich Drepper <drepper@gmail.com>
76454
76455 [BZ #11724]
76456 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76457 of constructors.
76458 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76459 of destructors.
76460 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76461
76462 [BZ #11724]
76463 * elf/Makefile: Add rules to build and run new test.
76464 * elf/tst-initorder.c: New file.
76465 * elf/tst-initorder.exp: New file.
76466 * elf/tst-initordera1.c: New file.
76467 * elf/tst-initordera2.c: New file.
76468 * elf/tst-initordera3.c: New file.
76469 * elf/tst-initordera4.c: New file.
76470 * elf/tst-initorderb1.c: New file.
76471 * elf/tst-initorderb2.c: New file.
76472 * elf/tst-order-a1.c: New file.
76473 * elf/tst-order-a2.c: New file.
76474 * elf/tst-order-a3.c: New file.
76475 * elf/tst-order-a4.c: New file.
76476 * elf/tst-order-b1.c: New file.
76477 * elf/tst-order-b2.c: New file.
76478 * elf/tst-order-main.c: New file.
76479 New test case by George Gensure <werkt0@gmail.com>.
76480
76481 2010-10-01 Andreas Schwab <schwab@redhat.com>
76482
76483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76484 decoding ACE if AI_CANONIDN.
76485
76486 2011-01-18 Ulrich Drepper <drepper@gmail.com>
76487
76488 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76489
76490 2011-01-17 Ulrich Drepper <drepper@gmail.com>
76491
76492 * version.h (RELEASE): Bump for 2.13 release.
76493 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76494
76495 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76496
76497 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76498 MADV_NOHUGEPAGE.
76499 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76500 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76501 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76502 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76503 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76504 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76505
76506 * posix/getconf.c: Update copyright year.
76507 * catgets/gencat.c: Likewise.
76508 * csu/version.c: Likewise.
76509 * debug/catchsegv.sh: Likewise.
76510 * debug/xtrace.sh: Likewise.
76511 * elf/ldconfig.c: Likewise.
76512 * elf/ldd.bash.in: Likewise.
76513 * elf/sprof.c (print_version): Likewise.
76514 * iconv/iconv_prog.c: Likewise.
76515 * iconv/iconvconfig.c: Likewise.
76516 * locale/programs/locale.c: Likewise.
76517 * locale/programs/localedef.c: Likewise.
76518 * malloc/memusage.sh: Likewise.
76519 * malloc/mtrace.pl: Likewise.
76520 * nscd/nscd.c (print_version): Likewise.
76521 * nss/getent.c: Likewise.
76522
76523 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76524 PF_CAIF, and PF_ALG.
76525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76526
76527 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
76528
76529 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76530 (modules-names): Use them.
76531 (ifunc-test-modules, ifunc-pie-tests): Define.
76532 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76533 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76534 (test-extras): Likewise.
76535 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76536 $(compile-command.c).
76537 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76538 (all-built-dso): Define.
76539 (check-textrel.out, check-execstack.out): Depend on it.
76540
76541 * configure.in: Don't override --enable-multi-arch.
76542
76543 2011-01-15 Ulrich Drepper <drepper@gmail.com>
76544
76545 [BZ #6812]
76546 * nscd/hstcache.c (tryagain): Define.
76547 (cache_addhst): Return tryagain not notfound for temporary errors.
76548 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76549 failed.
76550
76551 2011-01-14 Ulrich Drepper <drepper@gmail.com>
76552
76553 [BZ #10563]
76554 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76555 to make the syscall.
76556 * sysdeps/unix/sysv/linux/setgroups.c: New file.
76557
76558 [BZ #12378]
76559 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76560 and fall back to matching as normal character if the string ends before
76561 the matching ']' is found. This is what POSIX requires.
76562 * posix/testfnm.c: Adjust test result.
76563 * posix/globtest.sh: Adjust test result. Add new test.
76564 * posix/tst-fnmatch.input: Likewise.
76565 * posix/tst-fnmatch2.c: Add new test.
76566
76567 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
76568
76569 * elf/Makefile (check-execstack): Revert last change. Depend on
76570 check-execstack.h.
76571 (check-execstack.h): New target.
76572 (generated): Add check-execstack.h.
76573 * elf/check-execstack.c: Include "check-execstack.h".
76574 (main): Revert last change.
76575 (handle_file): Return zero if GNU_STACK is absent and
76576 DEFAULT_STACK_PERMS doesn't include PF_X.
76577
76578 2011-01-13 Ulrich Drepper <drepper@gmail.com>
76579
76580 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76581 in child fails because the descriptor is already closed.
76582 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76583 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76584 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76585
76586 [BZ #12397]
76587 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76588 syscall.
76589
76590 [BZ #10484]
76591 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76592 temporary buffer used to handle multi lookups locally.
76593 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76594
76595 2011-01-12 Ulrich Drepper <drepper@gmail.com>
76596
76597 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76598 loader is ld.so.
76599
76600 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
76601
76602 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76603 alignment for SSE2.
76604
76605 2011-01-12 Ulrich Drepper <drepper@gmail.com>
76606
76607 [BZ #12394]
76608 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76609 characters. When rounding increased number of integer digits recompute
76610 number of groups.
76611 * stdio-common/tst-grouping.c: New file.
76612 * stdio-common/Makefile: Add rules to build and run tst-grouping.
76613
76614 2011-01-09 Ulrich Drepper <drepper@gmail.com>
76615
76616 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76617 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
76618
76619 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76620 void.
76621 * bits/select.h: Likewise.
76622
76623 2011-01-08 Ulrich Drepper <drepper@gmail.com>
76624
76625 * po/ja.po: Update from translation team.
76626
76627 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
76628
76629 [BZ #11155]
76630 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76631 implementation just like for lxstat, fxstatat, et al.
76632
76633 2010-12-27 Jim Meyering <meyering@redhat.com>
76634
76635 [BZ #12348]
76636 * posix/regexec.c (build_trtable): Return failure indication upon
76637 calloc failure. Otherwise, re_search_internal could infloop on OOM.
76638
76639 2010-12-25 Ulrich Drepper <drepper@gmail.com>
76640
76641 [BZ #12201]
76642 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76643 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76644 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76645 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76646
76647 [BZ #12207]
76648 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76649
76650 [BZ #12204]
76651 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76652 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76653
76654 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
76655
76656 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76657 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76658 script has SORT_BY_INIT_PRIORITY.
76659 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76660 NO_CTORS_DTORS_SECTIONS is defined.
76661 * elf/soinit.c: Likewise.
76662 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76663 NO_CTORS_DTORS_SECTIONS is defined.
76664 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76665 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76666 * sysdeps/sh/init-first.c: Likewise.
76667 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76668
76669 2010-12-24 Ulrich Drepper <drepper@gmail.com>
76670
76671 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76672 always use the slow path.
76673
76674 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
76675
76676 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76677 similar rule which adds the sysdep directories to the header search in
76678 order to pick up the correct platform stackinfo.h.
76679 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76680 perform test if it is, otherwise return successfully without testing.
76681 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76682 DEFAULT_STACK_PERMS define in stackinfo.h.
76683 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76684 defined in stackinfo.h.
76685 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76686 DEFAULT_STACK_PERMS defined in stackinfo.h.
76687 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76688 * sysdeps/ia64/stackinfo.h: Likewise.
76689 * sysdeps/s390/stackinfo.h: Likewise.
76690 * sysdeps/sh/stackinfo.h: Likewise.
76691 * sysdeps/sparc/stackinfo.h: Likewise.
76692 * sysdeps/x86_64/stackinfo.h: Likewise.
76693 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76694 PF_X for powerpc64. Retain PF_X for powerpc32.
76695
76696 2010-12-19 Ulrich Drepper <drepper@gmail.com>
76697
76698 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76699 accurately.
76700 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76701 GETDENTS_64BIT_ALIGNED.
76702
76703 2010-12-14 Ulrich Drepper <dreper@gmail.com>
76704
76705 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76706
76707 2010-12-10 Andreas Schwab <schwab@redhat.com>
76708
76709 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76710 _GNU_SOURCE.
76711
76712 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76713 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76714 Remove __restrict.
76715 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76716 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76717
76718 2010-12-09 Ulrich Drepper <drepper@gmail.com>
76719
76720 [BZ #11655]
76721 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76722 are initialized.
76723
76724 2010-12-09 Jakub Jelinek <jakub@redhat.com>
76725
76726 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76727
76728 2010-12-03 Ulrich Drepper <drepper@gmail.com>
76729
76730 * po/it.po: Update from translation team.
76731
76732 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
76733
76734 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76735 unused codes.
76736
76737 2010-11-30 Ulrich Drepper <drepper@gmail.com>
76738
76739 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76740
76741 2010-11-24 Andreas Schwab <schwab@redhat.com>
76742
76743 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76744 specially.
76745 (gaih_getanswer_slice): Likewise.
76746
76747 2010-10-20 Jakub Jelinek <jakub@redhat.com>
76748
76749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76750
76751 2010-05-31 Petr Baudis <pasky@suse.cz>
76752
76753 [BZ #11149]
76754 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76755 silently even in the chroot mode.
76756
76757 2010-11-22 Ulrich Drepper <drepper@gmail.com>
76758
76759 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76760 last patch a bit. Pretty printing
76761
76762 2010-05-31 Petr Baudis <pasky@suse.cz>
76763
76764 [BZ #10085]
76765 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76766 initialization of skip_initgroups_dyn.
76767
76768 2010-11-19 Ulrich Drepper <drepper@gmail.com>
76769
76770 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76772
76773 2010-11-16 Ulrich Drepper <drepper@gmail.com>
76774
76775 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76776
76777 2010-11-11 Andreas Schwab <schwab@redhat.com>
76778
76779 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76780 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76781 (tst-fnmatch-ENV): Set MALLOC_TRACE.
76782 ($(objpfx)tst-fnmatch-mem): New rule.
76783 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76784 * posix/tst-fnmatch.c (main): Call mtrace.
76785
76786 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
76787
76788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76789 Support Intel processor model 6 and model 0x2c.
76790
76791 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
76792
76793 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76794 signed comparison.
76795
76796 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
76797
76798 [BZ #12205]
76799 * string/test-strncasecmp.c (check_result): New function.
76800 (do_one_test): Use it.
76801 (check1): New function.
76802 (test_main): Use it.
76803 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76804 Support strcasecmp and strncasecmp.
76805
76806 2010-11-08 Ulrich Drepper <drepper@gmail.com>
76807
76808 [BZ #12194]
76809 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76810 * sysdeps/x86_64/bits/byteswap.h: Likewise.
76811
76812 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
76813
76814 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76815 IFUNC support.
76816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76817 memset-x86-64.
76818 * sysdeps/x86_64/multiarch/bzero.S: New file.
76819 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76820 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76821 * sysdeps/x86_64/multiarch/memset.S: New file.
76822 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76824 Set bit_Prefer_SSE_for_memop for Intel processors.
76825 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76826 Define.
76827 (index_Prefer_SSE_for_memop): Define.
76828 (HAS_PREFER_SSE_FOR_MEMOP): Define.
76829
76830 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
76831
76832 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76833 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76834
76835 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
76836
76837 [BZ #12191]
76838 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76839 (__x86_64_raw_data_cache_size_half): Likewise.
76840 (__x86_64_raw_shared_cache_size): Likewise.
76841 (__x86_64_raw_shared_cache_size_half): Likewise.
76842
76843 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76844 (__x86_64_raw_data_cache_size_half): Likewise.
76845 (__x86_64_raw_shared_cache_size): Likewise.
76846 (__x86_64_raw_shared_cache_size_half): Likewise.
76847 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76848 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76849 and __x86_64_raw_shared_cache_size_half. Round
76850 __x86_64_data_cache_size_half, __x86_64_data_cache_size
76851 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76852 to multiple of 256 bytes.
76853
76854 2010-11-03 Ulrich Drepper <drepper@gmail.com>
76855
76856 [BZ #12167]
76857 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76858 of inacessible symlinks. Verify result of symlink before returning it.
76859 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76860 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76861
76862 2010-10-28 Erich Ritz <erichritz@gmail.com>
76863
76864 * math/math.h (isinf): Fix typo in comment.
76865
76866 2010-11-01 Ulrich Drepper <drepper@gmail.com>
76867
76868 * po/da.po: Update from translation team.
76869
76870 2010-10-26 Ulrich Drepper <drepper@gmail.com>
76871
76872 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76873 is added to the list.
76874
76875 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76876 Ulrich Drepper <drepper@gmail.com>
76877
76878 * elf/dl-object.c (_dl_new_object): Don't append the new object to
76879 the global list here. Move code to...
76880 (_dl_add_to_namespace_list): ...here. New function.
76881 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76882 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76883 * elf/dl-load.c (lose): Don't remove the element from the list.
76884 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76885 (_dl_map_object): Likewise.
76886
76887 2010-10-25 Ulrich Drepper <drepper@gmail.com>
76888
76889 [BZ #12159]
76890 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76891 into all bytes of SSE register.
76892 Patch by Richard Li <richardpku@gmail.com>.
76893
76894 2010-10-24 Ulrich Drepper <drepper@gmail.com>
76895
76896 [BZ #12140]
76897 * malloc/malloc.c (_int_free): Fill correct number of bytes when
76898 perturbing.
76899
76900 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
76901
76902 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76903 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76904 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76905 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76907 submachine.
76908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76909
76910 2010-10-22 Andreas Schwab <schwab@redhat.com>
76911
76912 * include/dlfcn.h (__RTLD_SECURE): Define.
76913 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
76914 mode & __RTLD_SECURE instead.
76915 (open_path): Rename preloaded parameter to secure.
76916 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76917 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76918 * elf/dl-deps.c (openaux): Likewise.
76919 * elf/rtld.c (struct map_args): Remove is_preloaded.
76920 (map_doit): Don't use it.
76921 (dl_main): Likewise.
76922 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76923 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76924
76925 2010-09-09 Andreas Schwab <schwab@redhat.com>
76926
76927 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76928 (sysd-rules-targets): Remove duplicates.
76929 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76930 rtld-%.$o dependency.
76931
76932 2010-10-18 Andreas Schwab <schwab@redhat.com>
76933
76934 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76935 _dl_map_object do it.
76936
76937 2010-10-19 Ulrich Drepper <drepper@gmail.com>
76938
76939 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76940 fast fma builtins, define the macros in the C99 standard.
76941 (FP_FAST_FMAF): Likewise.
76942 (FP_FAST_FMAL): Likewise.
76943 * sysdeps/x86_64/bits/mathdef.h: Likewise.
76944
76945 * bits/mathdef.h: Update copyright year.
76946 * sysdeps/powerpc/bits/mathdef.h: Likewise.
76947
76948 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
76949
76950 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76951 builtins, define the macros in the C99 standard.
76952 (FP_FAST_FMAF): Likewise.
76953 (FP_FAST_FMAL): Likewise.
76954 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76955 multiply/add.
76956 (FP_FAST_FMAF): Likewise.
76957
76958 2010-10-15 Jakub Jelinek <jakub@redhat.com>
76959
76960 [BZ #3268]
76961 * math/libm-test.inc (fma_test): Some new testcases.
76962 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76963 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76964 y and infinite z. Do multiplication by C already in long double.
76965 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76967 y and infinite z. Do bitwise or of inexact bit into u.d.
76968 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76969 * sysdeps/i386/fpu/s_fmaf.S: Removed.
76970 * sysdeps/i386/fpu/s_fma.S: Removed.
76971 * sysdeps/i386/fpu/s_fmal.S: Removed.
76972
76973 2010-10-16 Jakub Jelinek <jakub@redhat.com>
76974
76975 [BZ #3268]
76976 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76978 computation is not scheduled after fetestexcept. Fix value
76979 of minimum denormal long double.
76980
76981 2010-10-14 Jakub Jelinek <jakub@redhat.com>
76982
76983 [BZ #3268]
76984 * math/libm-test.inc (fma_test): Add some more tests.
76985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76986 correctly.
76987
76988 2010-10-15 Andreas Schwab <schwab@redhat.com>
76989
76990 * scripts/data/localplt-s390-linux-gnu.data: New file.
76991 * scripts/data/localplt-s390x-linux-gnu.data: New file.
76992
76993 2010-10-13 Jakub Jelinek <jakub@redhat.com>
76994
76995 [BZ #3268]
76996 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76997 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76998 instead of dbl-64.
76999 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77000 inlines.
77001 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77003 if one of x and y is very large and the other is subnormal.
77004 * sysdeps/s390/fpu/s_fmaf.c: New file.
77005 * sysdeps/s390/fpu/s_fma.c: New file.
77006 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77007 * sysdeps/powerpc/fpu/s_fma.S: New file.
77008 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77009 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77010 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77011
77012 2010-10-12 Jakub Jelinek <jakub@redhat.com>
77013
77014 [BZ #3268]
77015 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77016 fma tests.
77017 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77018 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77019 * sysdeps/i386/i686/multiarch/s_fma.c: Include
77020 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77021 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77022 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77023 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77024
77025 2010-10-12 Ulrich Drepper <drepper@redhat.com>
77026
77027 [BZ #12078]
77028 * posix/regcomp.c (parse_branch): One more memory leak plugged.
77029 * posix/bug-regex31.input: Add test case.
77030
77031 2010-10-11 Ulrich Drepper <drepper@gmail.com>
77032
77033 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77034 * posix/bug-regex31.input: New file.
77035
77036 [BZ #12078]
77037 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77038 (parse_sub_exp): Fix last change, use postorder.
77039
77040 * posix/bug-regex31.c: New file.
77041 * posix/Makefile: Add rules to build and run bug-regex31.
77042
77043 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77044
77045 [BZ #12078]
77046 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77047
77048 [BZ #12108]
77049 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77050 to have entries in sys_siglist.
77051
77052 [BZ #12093]
77053 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77054 be NULL.
77055
77056 2010-10-07 Jakub Jelinek <jakub@redhat.com>
77057
77058 [BZ #3268]
77059 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77060 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77061 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77062 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77063 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77064 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77065 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77066 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77067 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77068 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77069 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77070 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77071 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77072 * math/ftestexcept.c (fetestexcept): Likewise.
77073 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77074 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77075 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77076 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77077 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77078 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77079 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77080
77081 2010-10-11 Ulrich Drepper <drepper@gmail.com>
77082
77083 [BZ #12107]
77084 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77085 newline.
77086
77087 2010-10-06 Ulrich Drepper <drepper@gmail.com>
77088
77089 * string/bug-strstr1.c: New file.
77090 * string/Makefile: Add rules to build and run bug-strstr1.
77091
77092 2010-10-05 Eric Blake <eblake@redhat.com>
77093
77094 [BZ #12092]
77095 * string/str-two-way.h (two_way_long_needle): Always clear memory
77096 when skipping input due to the shift table.
77097
77098 2010-10-03 Ulrich Drepper <drepper@gmail.com>
77099
77100 [BZ #12005]
77101 * malloc/mcheck.c: Handle large requests.
77102
77103 [BZ #12077]
77104 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77105 for strncmp and strncasecmp.
77106 * string/stratcliff.c: Add tests for strcmp and strncmp.
77107 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77108
77109 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
77110
77111 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77112 __set_fpscr.
77113
77114 2010-09-30 Andreas Jaeger <aj@suse.de>
77115
77116 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77117 (CGROUP_SUPER_MAGIC): Define.
77118 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77119 Handle btrfs and cgroup file systems.
77120 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77121 Likewise.
77122
77123 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
77124
77125 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77126 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77127
77128 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77129
77130 [BZ #12067]
77131 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77132 trying to locate the ELF header.
77133
77134 2010-09-27 Andreas Schwab <schwab@redhat.com>
77135
77136 [BZ #11611]
77137 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77138 Mask out sign-bit copies when constructing f_fsid.
77139
77140 2010-09-24 Petr Baudis <pasky@suse.cz>
77141
77142 * debug/stack_chk_fail_local.c: Add missing licence exception.
77143 * debug/warning-nop.c: Likewise.
77144
77145 2010-09-15 Joseph Myers <joseph@codesourcery.com>
77146
77147 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77148 implementing getdents64 using getdents syscall, set d_type if
77149 __ASSUME_GETDENTS32_D_TYPE.
77150
77151 2010-09-16 Andreas Schwab <schwab@redhat.com>
77152
77153 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77154 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77155
77156 2010-09-21 Ulrich Drepper <drepper@redhat.com>
77157
77158 [BZ #12037]
77159 * posix/unistd.h: Undo change of feature selection for ftruncate from
77160 2010-01-11.
77161
77162 2010-09-20 Ulrich Drepper <drepper@redhat.com>
77163
77164 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77165 detection.
77166
77167 2010-09-20 Andreas Schwab <schwab@redhat.com>
77168
77169 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77170 fanotify_mark.
77171 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77172
77173 2010-09-14 Andreas Schwab <schwab@redhat.com>
77174
77175 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77176 variables after CHECK_SP call.
77177 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77178
77179 2010-09-13 Andreas Schwab <schwab@redhat.com>
77180 Ulrich Drepper <drepper@redhat.com>
77181
77182 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77183 re-relocationg ld.so.
77184 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77185 _dl_init_paths call.
77186 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
77187 here anymore.
77188
77189 2010-09-14 Ulrich Drepper <drepper@redhat.com>
77190
77191 * resolv/res_init.c (__res_vinit): Count the default server we added.
77192
77193 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
77194 Ulrich Drepper <drepper@redhat.com>
77195
77196 [BZ #11968]
77197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77198 (____longjmp_chk): Use %ebx for saving value across system call.
77199 Add unwind info.
77200
77201 2010-09-06 Andreas Schwab <schwab@redhat.com>
77202
77203 * manual/Makefile: Don't mix pattern rules with normal rules.
77204
77205 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
77206
77207 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77208 operation.
77209 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77210 * libio/iofopncook.c (_IO_cookie_init): Likewise.
77211 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77212 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77214 Likewise.
77215
77216 2010-09-04 Ulrich Drepper <drepper@redhat.com>
77217
77218 [BZ #11979]
77219 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77220 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77221
77222 2010-09-02 Ulrich Drepper <drepper@redhat.com>
77223
77224 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77225 * sysdeps/x86_64/addmul_1.S: Likewise.
77226 * sysdeps/x86_64/lshift.S: Likewise.
77227 * sysdeps/x86_64/mul_1.S: Likewise.
77228 * sysdeps/x86_64/rshift.S: Likewise.
77229 * sysdeps/x86_64/sub_n.S: Likewise.
77230 * sysdeps/x86_64/submul_1.S: Likewise.
77231
77232 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
77233
77234 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77235 Define __sched_param instead of SCHED_* and sched_param when
77236 <bits/sched.h> is included with __need_schedparam defined.
77237 * bits/sched.h [__need_schedparam]
77238 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77239 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77240 (__defined_schedparam): Define to 1.
77241 (__sched_param): New structure, identical to sched_param.
77242 (__need_schedparam): Undefine.
77243
77244 2010-08-31 Mike Frysinger <vapier@gentoo.org>
77245
77246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77247 (epoll_create1): Declare.
77248
77249 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77250
77251 2010-08-31 Andreas Schwab <schwab@redhat.com>
77252
77253 [BZ #7066]
77254 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77255 shifting retval into place.
77256
77257 2010-09-01 Ulrich Drepper <drepper@redhat.com>
77258
77259 * nis/rpcsvc/nis.h: Update copyright notice.
77260 * nis/rpcsvc/nis.x: Likewise.
77261 * nis/rpcsvc/nis_callback.h: Likewise.
77262 * nis/rpcsvc/nis_callback.x: Likewise.
77263 * nis/rpcsvc/nis_object.x: Likewise.
77264 * nis/rpcsvc/nis_tags.h: Likewise.
77265 * nis/rpcsvc/yp.h: Likewise.
77266 * nis/rpcsvc/yp.x: Likewise.
77267 * nis/rpcsvc/ypupd.h: Likewise.
77268 * nis/yp_xdr.c: Likewise.
77269 * nis/ypupdate_xdr.c: Likewise.
77270
77271 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
77272 mainly the body of pmap_getport. Add parameters to specify timeouts.
77273 (pmap_getport): Use __libc_rpc_getport.
77274 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77275 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77276 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77277
77278 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
77279
77280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77281 fanotify_mark.
77282
77283 2010-08-27 Roland McGrath <roland@redhat.com>
77284
77285 * sysdeps/i386/i686/multiarch/Makefile
77286 (CFLAGS-varshift.c): New variable.
77287
77288 2010-08-27 Ulrich Drepper <drepper@redhat.com>
77289
77290 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77291 * sysdeps/i386/i686/multiarch/varshift.c: New file.
77292
77293 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77294
77295 * sysdeps/x86_64/strlen.S: Minimal code improvement.
77296
77297 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
77298
77299 * sysdeps/x86_64/strlen.S: Unroll the loop.
77300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77301 strlen-sse2 strlen-sse2-bsf.
77302 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77303 __strlen_no_bsf if bit_Slow_BSF is set.
77304 (__strlen_sse42): Removed.
77305 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77306 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77307
77308 2010-08-25 Roland McGrath <roland@redhat.com>
77309
77310 * sysdeps/x86_64/multiarch/varshift.S: File removed.
77311 * sysdeps/x86_64/multiarch/varshift.c: New file.
77312 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77313 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77314 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77315 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77316
77317 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
77318
77319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77320 strlen-sse2 strlen-sse2-bsf.
77321 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77322 __strlen_sse2_bsf if bit_Slow_BSF is unset.
77323 (__strlen_sse2): Removed.
77324 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77327 bit_Slow_BSF for Atom.
77328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77329 (index_Slow_BSF): Define.
77330 (HAS_SLOW_BSF): Define.
77331
77332 2010-08-25 Ulrich Drepper <drepper@redhat.com>
77333
77334 [BZ #10851]
77335 * resolv/res_init.c (__res_vinit): When no server address at all
77336 is given default to loopback.
77337
77338 2010-08-24 Roland McGrath <roland@redhat.com>
77339
77340 * configure.in: Remove config-name.h generation.
77341 * configure: Regenerated.
77342 * config-name.in: File removed.
77343 * scripts/config-uname.sh: New file.
77344 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77345 ($(objdir)config-name.h): New target.
77346
77347 * sunrpc/rpc_parse.h: Avoid nested comment.
77348
77349 2010-08-24 Richard Henderson <rth@redhat.com>
77350 Ulrich Drepper <drepper@redhat.com>
77351 H.J. Lu <hongjiu.lu@intel.com>
77352
77353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77355 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77356 Replace _mm_srli_si128 with __m128i_shift_right. Replace
77357 _mm_alignr_epi8 with _mm_loadu_si128.
77358 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77359 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77360 (__m128i_shift_right): Removed.
77361 * sysdeps/i386/i686/multiarch/varshift.h: New file.
77362 * sysdeps/i386/i686/multiarch/varshift.S: New file.
77363 * sysdeps/x86_64/multiarch/varshift.h: New file.
77364 * sysdeps/x86_64/multiarch/varshift.S: New file.
77365
77366 2010-08-21 Mike Frysinger <vapier@gentoo.org>
77367
77368 * configure.in: Move assembler checks to before sysdep dir checking.
77369
77370 2010-08-20 Petr Baudis <pasky@suse.cz>
77371
77372 * LICENSES: Sync the sunrpc license.
77373
77374 2010-08-19 Ulrich Drepper <drepper@redhat.com>
77375
77376 * sunrpc/auth_des.c: Update copyright notice once again.
77377 * sunrpc/auth_none.c: Likewise.
77378 * sunrpc/auth_unix.c: Likewise.
77379 * sunrpc/authdes_prot.c: Likewise.
77380 * sunrpc/authuxprot.c: Likewise.
77381 * sunrpc/bindrsvprt.c: Likewise.
77382 * sunrpc/clnt_gen.c: Likewise.
77383 * sunrpc/clnt_perr.c: Likewise.
77384 * sunrpc/clnt_raw.c: Likewise.
77385 * sunrpc/clnt_simp.c: Likewise.
77386 * sunrpc/clnt_tcp.c: Likewise.
77387 * sunrpc/clnt_udp.c: Likewise.
77388 * sunrpc/clnt_unix.c: Likewise.
77389 * sunrpc/des_crypt.c: Likewise.
77390 * sunrpc/des_soft.c: Likewise.
77391 * sunrpc/get_myaddr.c: Likewise.
77392 * sunrpc/getrpcport.c: Likewise.
77393 * sunrpc/key_call.c: Likewise.
77394 * sunrpc/key_prot.c: Likewise.
77395 * sunrpc/openchild.c: Likewise.
77396 * sunrpc/pm_getmaps.c: Likewise.
77397 * sunrpc/pm_getport.c: Likewise.
77398 * sunrpc/pmap_clnt.c: Likewise.
77399 * sunrpc/pmap_prot.c: Likewise.
77400 * sunrpc/pmap_prot2.c: Likewise.
77401 * sunrpc/pmap_rmt.c: Likewise.
77402 * sunrpc/rpc/auth.h: Likewise.
77403 * sunrpc/rpc/auth_unix.h: Likewise.
77404 * sunrpc/rpc/clnt.h: Likewise.
77405 * sunrpc/rpc/des_crypt.h: Likewise.
77406 * sunrpc/rpc/key_prot.h: Likewise.
77407 * sunrpc/rpc/netdb.h: Likewise.
77408 * sunrpc/rpc/pmap_clnt.h: Likewise.
77409 * sunrpc/rpc/pmap_prot.h: Likewise.
77410 * sunrpc/rpc/pmap_rmt.h: Likewise.
77411 * sunrpc/rpc/rpc.h: Likewise.
77412 * sunrpc/rpc/rpc_des.h: Likewise.
77413 * sunrpc/rpc/rpc_msg.h: Likewise.
77414 * sunrpc/rpc/svc.h: Likewise.
77415 * sunrpc/rpc/svc_auth.h: Likewise.
77416 * sunrpc/rpc/types.h: Likewise.
77417 * sunrpc/rpc/xdr.h: Likewise.
77418 * sunrpc/rpc_clntout.c: Likewise.
77419 * sunrpc/rpc_cmsg.c: Likewise.
77420 * sunrpc/rpc_common.c: Likewise.
77421 * sunrpc/rpc_cout.c: Likewise.
77422 * sunrpc/rpc_dtable.c: Likewise.
77423 * sunrpc/rpc_hout.c: Likewise.
77424 * sunrpc/rpc_main.c: Likewise.
77425 * sunrpc/rpc_parse.c: Likewise.
77426 * sunrpc/rpc_parse.h: Likewise.
77427 * sunrpc/rpc_prot.c: Likewise.
77428 * sunrpc/rpc_sample.c: Likewise.
77429 * sunrpc/rpc_scan.c: Likewise.
77430 * sunrpc/rpc_scan.h: Likewise.
77431 * sunrpc/rpc_svcout.c: Likewise.
77432 * sunrpc/rpc_tblout.c: Likewise.
77433 * sunrpc/rpc_util.c: Likewise.
77434 * sunrpc/rpc_util.h: Likewise.
77435 * sunrpc/rpcinfo.c: Likewise.
77436 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77437 * sunrpc/rpcsvc/key_prot.x: Likewise.
77438 * sunrpc/rpcsvc/klm_prot.x: Likewise.
77439 * sunrpc/rpcsvc/mount.x: Likewise.
77440 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77441 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77442 * sunrpc/rpcsvc/rex.x: Likewise.
77443 * sunrpc/rpcsvc/rstat.x: Likewise.
77444 * sunrpc/rpcsvc/rusers.x: Likewise.
77445 * sunrpc/rpcsvc/sm_inter.x: Likewise.
77446 * sunrpc/rpcsvc/spray.x: Likewise.
77447 * sunrpc/rpcsvc/yppasswd.x: Likewise.
77448 * sunrpc/rtime.c: Likewise.
77449 * sunrpc/svc.c: Likewise.
77450 * sunrpc/svc_auth.c: Likewise.
77451 * sunrpc/svc_authux.c: Likewise.
77452 * sunrpc/svc_raw.c: Likewise.
77453 * sunrpc/svc_run.c: Likewise.
77454 * sunrpc/svc_simple.c: Likewise.
77455 * sunrpc/svc_tcp.c: Likewise.
77456 * sunrpc/svc_udp.c: Likewise.
77457 * sunrpc/svc_unix.c: Likewise.
77458 * sunrpc/svcauth_des.c: Likewise.
77459 * sunrpc/xcrypt.c: Likewise.
77460 * sunrpc/xdr.c: Likewise.
77461 * sunrpc/xdr_array.c: Likewise.
77462 * sunrpc/xdr_float.c: Likewise.
77463 * sunrpc/xdr_mem.c: Likewise.
77464 * sunrpc/xdr_rec.c: Likewise.
77465 * sunrpc/xdr_ref.c: Likewise.
77466 * sunrpc/xdr_sizeof.c: Likewise.
77467 * sunrpc/xdr_stdio.c: Likewise.
77468
77469 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77470 handling.
77471
77472 2010-08-19 Andreas Schwab <schwab@redhat.com>
77473
77474 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77475
77476 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
77477
77478 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77479 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77480 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77481 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77482 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77483 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77484 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77485 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77486 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77487 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77488 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77489 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77490 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77491 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77492
77493 2010-07-26 Anton Blanchard <anton@samba.org>
77494
77495 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77496 * malloc/arena.c (heap_trim): Likewise.
77497
77498 2010-08-16 Ulrich Drepper <drepper@redhat.com>
77499
77500 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77501 here. Not...
77502 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77503 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77504
77505 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
77506
77507 * sysdeps/i386/elf/Makefile: New file.
77508
77509 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
77510
77511 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77512 from fanotify_init.
77513 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77514 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77515
77516 2010-08-15 Ulrich Drepper <drepper@redhat.com>
77517
77518 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77519 of strncasecmp_l.
77520 * sysdeps/multiarch/strcmp.S: Likewise.
77521
77522 2010-08-14 Ulrich Drepper <drepper@redhat.com>
77523
77524 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77525 strncase_l-nonascii.
77526 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77527 Add strncase_l-ssse3.
77528 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77529 * sysdeps/x86_64/strcmp.S: Likewise.
77530 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77531 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77532 * sysdeps/x86_64/strncase.S: New file.
77533 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77534 * sysdeps/x86_64/strncase_l.S: New file.
77535 * string/Makefile (strop-tests): Add strncasecmp.
77536 * string/test-strncasecmp.c: New file.
77537
77538 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77539 warning.
77540
77541 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77542 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77543
77544 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
77545
77546 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77547
77548 2010-08-12 Ulrich Drepper <drepper@redhat.com>
77549
77550 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77551 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77552 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77553
77554 2010-05-01 Alan Modra <amodra@gmail.com>
77555
77556 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77557 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77558 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77559 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77560 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77561 tidying. Don't tail-call __sigjmp_save for static lib.
77562 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77563 save location.
77564 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77565 (CALL_MCOUNT): Add eh info, and nop after bl.
77566 (TAIL_CALL_SYSCALL_ERROR): New macro.
77567 (PSEUDO_RET): Use it.
77568 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77569 Correct save location of integer regs and cr.
77570 (_dl_profile_resolve): Correct cr save location. Delete nops
77571 after bl when SHARED. Reduce cfi size a little by better
77572 placement of cfi directives.
77573 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77574 make a stack frame. Instead use parm save area as a temp.
77575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77576 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
77577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77578 Don't make a stack frame for parent, use parm save area.
77579 Increase child stack frame to 112 bytes. Don't save unused reg,
77580 and adjust reg usage. Set up cfi on error recovery and
77581 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77583 (__makecontext): Add dummy nop after jump to exit.
77584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77585 Use correct parm save area and cr save, reduce stack frame.
77586 Correct cfi for possible PSEUDO_RET frame setup.
77587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77588 Branch to local label emitted by PSEUDO_RET rather than
77589 __syscall_error.
77590
77591 2010-08-12 Andreas Schwab <schwab@redhat.com>
77592
77593 [BZ #11904]
77594 * locale/programs/locale.c (print_assignment): New function.
77595 (show_locale_vars): Use it.
77596
77597 2010-08-11 Ulrich Drepper <drepper@redhat.com>
77598
77599 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77600 field.
77601 (struct statfs64): Likewise.
77602 (_STATFS_F_FLAGS): Define.
77603 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77604 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77605 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77606 (ST_VALID): Define locally.
77607 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77608 __statvfs_getflags, use the provided value.
77609 * sysdeps/unix/sysv/linux/kernel-features.h: Define
77610 __ASSUME_STATFS_F_FLAGS.
77611
77612 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77613
77614 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77615 Add sys/fanotify.h.
77616 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77617 fanotify_mask for GLIBC_2.13.
77618 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77619 fanotify_init and fanotify_mark.
77620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77621 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77622
77623 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77624 Add prlimit.
77625 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77626 prlimit64 for GLIBC_2.13.
77627 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77628 prlimit64.
77629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77630 syscall.
77631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77632 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77633 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77634 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77635 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
77636 add prlimit alias.
77637 * sysdeps/unix/sysv/linux/prlimit.c: New file.
77638
77639 [BZ #11903]
77640 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77641 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77642
77643 * nss/Makefile: Add rules to build and run tst-nss-test1.
77644 * shlib-versions: Add entry for libnss_test1.
77645 * nss/nss_test1.c: New file.
77646 * nss/tst-nss-test1.c: New file.
77647
77648 * nss/nsswitch.c (__nss_database_custom): Define new variable.
77649 (__nss_configure_lookup): Set appropriate entry in
77650 __nss_configure_lookup to true.
77651 * nss/nsswitch.h: Define enum with indeces of databases in
77652 databases and __nss_database_custom arrays. Declare
77653 __nss_database_custom.
77654 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77655 to avoid using nscd when custom rules are installed.
77656 * nss/getXXbyYY_r.c: Likewise.
77657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77658
77659 * nss/nss_files/files-parse.c: Whitespace fixes.
77660
77661 2010-08-09 Ulrich Drepper <drepper@redhat.com>
77662
77663 [BZ #11883]
77664 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77665 * posix/fnmatch_loop.c: Likewise.
77666
77667 2010-07-17 Andi Kleen <ak@linux.intel.com>
77668
77669 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77670 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77671 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77672 * Versions.def [GLIBC_2.13]: Add.
77673
77674 2010-08-06 Ulrich Drepper <drepper@redhat.com>
77675
77676 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77677 Also fail if tpwd after pwuid call is NULL.
77678
77679 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
77680
77681 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77682 when converting to ms.
77683
77684 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
77685
77686 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77687 EOPNOTSUPP errors with ENOTTY.
77688 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77689 EOPNOTSUPP errors with ENOTTY.
77690
77691 2010-07-31 Ulrich Drepper <drepper@redhat.com>
77692
77693 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77694 Add strcasecmp_l-ssse3.
77695 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77696 strcasecmp.
77697 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77698 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77699 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77700
77701 2010-07-30 Ulrich Drepper <drepper@redhat.com>
77702
77703 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77704
77705 * string/Makefile (strop-tests): Add strcasecmp.
77706 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77707 strcasecmp_l-nonascii.
77708 (gen-as-const-headers): Add locale-defines.sym.
77709 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77710 * sysdeps/x86_64/strcasecmp.S: New file.
77711 * sysdeps/x86_64/strcasecmp_l.S: New file.
77712 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77713 * sysdeps/x86_64/locale-defines.sym: New file.
77714 * string/test-strcasecmp.c: New file.
77715
77716 * string/test-strcasestr.c: Test both ends of the range of characters.
77717 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77718
77719 2010-07-29 Roland McGrath <roland@redhat.com>
77720
77721 [BZ #11856]
77722 * manual/locale.texi (Yes-or-No Questions): Fix example code.
77723
77724 2010-07-27 Ulrich Drepper <drepper@redhat.com>
77725
77726 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77727 for ld.so.
77728
77729 2010-07-27 Andreas Schwab <schwab@redhat.com>
77730
77731 * manual/memory.texi (Malloc Tunable Parameters): Document
77732 M_PERTURB.
77733
77734 2010-07-26 Roland McGrath <roland@redhat.com>
77735
77736 [BZ #11840]
77737 * configure.in (-fgnu89-inline check): Set and substitute
77738 gnu89_inline, not libc_cv_gnu89_inline.
77739 * configure: Regenerated.
77740 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77741
77742 2010-07-26 Ulrich Drepper <drepper@redhat.com>
77743
77744 * string/test-strnlen.c: New file.
77745 * string/Makefile (strop-tests): Add strnlen.
77746 * string/tester.c (test_strnlen): Add a few more test cases.
77747 * string/tst-strlen.c: Better error reporting.
77748
77749 * sysdeps/x86_64/strnlen.S: New file.
77750
77751 2010-07-24 Ulrich Drepper <drepper@redhat.com>
77752
77753 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77754 lower-latency instructions.
77755
77756 2010-07-23 Ulrich Drepper <drepper@redhat.com>
77757
77758 * string/test-strcasestr.c: New file.
77759 * string/test-strstr.c: New file.
77760 * string/Makefile (strop-tests): Add strstr and strcasestr.
77761 * string/str-two-way.h: Don't undefine MAX.
77762 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77763
77764 2010-07-21 Andreas Schwab <schwab@redhat.com>
77765
77766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77767 strcasestr-nonascii.
77768 (CFLAGS-strcasestr-nonascii.c): Define.
77769 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77770 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77771 Remove unused attribute.
77772
77773 2010-07-20 Roland McGrath <roland@redhat.com>
77774
77775 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77776 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
77777 ld.so.cache was broken. With it, there is no way to disable dsocaps
77778 like LD_HWCAP_MASK can disable hwcaps.
77779
77780 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
77781
77782 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77783
77784 2010-07-16 Ulrich Drepper <drepper@redhat.com>
77785
77786 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77787 call in strcasestr.
77788 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77789 __strcasestr_sse42_nonascii.
77790 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77791 strcasestr-nonascii.c.
77792 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77793
77794 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
77795
77796 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77797 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77798 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77799 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77800
77801 2010-07-09 Ulrich Drepper <drepper@redhat.com>
77802
77803 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77804 fcntl.
77805
77806 2010-07-06 Andreas Schwab <schwab@redhat.com>
77807
77808 [BZ #11577]
77809 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77810 dl_signal_cerror.
77811
77812 2010-07-06 Ulrich Drepper <drepper@redhat.com>
77813
77814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77815 _PC_PIPE_BUF using F_GETPIPE_SZ.
77816
77817 2010-07-05 Roland McGrath <roland@redhat.com>
77818
77819 * manual/arith.texi (Rounding Functions): Fix rint description
77820 implicit in round description.
77821
77822 2010-07-02 Ulrich Drepper <drepper@redhat.com>
77823
77824 * elf/Makefile: Fix linking for a few tests to make recent linker
77825 happy.
77826
77827 2010-06-30 Andreas Schwab <schwab@redhat.com>
77828
77829 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77830 $(common-objpfx)libc_nonshared.a.
77831
77832 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
77833
77834 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77835 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77836 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77837 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77838 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77839 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77840 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77841 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77856 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77857 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77858 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77859 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77860 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77861 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77862 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77863 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77864 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77865 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77866 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77867 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77882
77883 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
77884
77885 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77886 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
77887 * string/memmove.c (memmove): Renamed to ...
77888 (MEMMOVE): ...this. Default to memmove.
77889 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77890 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77891 (END_CHK): Define.
77892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77893 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77894 mempcpy-ssse3-back memmove-ssse3-back.
77895 * sysdeps/x86_64/multiarch/bcopy.S: New file .
77896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77897 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77898 * sysdeps/x86_64/multiarch/memcpy.S: New file.
77899 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77900 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77901 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77902 * sysdeps/x86_64/multiarch/memmove.c: New file.
77903 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77904 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77905 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77906 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77907 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77909 Define.
77910 (index_Fast_Copy_Backward): Define.
77911 (HAS_ARCH_FEATURE): Define.
77912 (HAS_FAST_REP_STRING): Define.
77913 (HAS_FAST_COPY_BACKWARD): Define.
77914
77915 2010-06-21 Andreas Schwab <schwab@redhat.com>
77916
77917 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77918 Restore proper fallback handling.
77919
77920 2010-06-19 Ulrich Drepper <drepper@redhat.com>
77921
77922 [BZ #11701]
77923 * posix/group_member.c (__group_member): Correct checking loop.
77924
77925 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77926 OOM in getpwuid_r correctly. Return error number when the caller
77927 should return, otherwise -1.
77928 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77929 call returning > 0 value.
77930 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77931
77932 2010-06-07 Andreas Schwab <schwab@redhat.com>
77933
77934 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77935 libc_nonshared.a from targets in modules-names.
77936
77937 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
77938
77939 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77940 requires it.
77941
77942 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
77943
77944 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77945 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77947 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77948
77949 2010-06-02 Andreas Schwab <schwab@redhat.com>
77950
77951 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77952
77953 2010-06-14 Ulrich Drepper <drepper@redhat.com>
77954
77955 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77956 and F_GETPIPE_SZ.
77957 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77960 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77962 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77963
77964 2010-06-14 Roland McGrath <roland@redhat.com>
77965
77966 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77967
77968 2010-06-07 Jakub Jelinek <jakub@redhat.com>
77969
77970 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77971 __REDIRECT followed by __THROW.
77972 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77973 * posix/getopt.h (getopt): Likewise.
77974
77975 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
77976
77977 * hurd/lookup-at.c (__file_name_lookup_at): Accept
77978 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
77979 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77980 in AT_FLAGS.
77981 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77982 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77983
77984 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
77985
77986 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77987
77988 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
77989
77990 [BZ #11640]
77991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77992 Properly check family and model.
77993
77994 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
77995
77996 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77997
77998 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
77999
78000 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78001
78002 2010-05-21 Ulrich Drepper <drepper@redhat.com>
78003
78004 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78005 symbol reference.
78006
78007 2010-05-19 Andreas Schwab <schwab@redhat.com>
78008
78009 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78010 symbol reference.
78011
78012 2010-05-21 Andreas Schwab <schwab@redhat.com>
78013
78014 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78015 and internal_recvmmsg.
78016 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78017 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78018 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78019 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78020
78021 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78022 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78023 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78024
78025 2010-05-20 Andreas Schwab <schwab@redhat.com>
78026
78027 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78028
78029 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
78030
78031 POWER7 optimizations.
78032 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78033 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78034
78035 2010-05-19 Ulrich Drepper <drepper@redhat.com>
78036
78037 * version.h: Update for 2.13 development version.
78038
78039 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
78040
78041 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78042 exceptions. Return 0.
78043
78044 2010-05-07 Roland McGrath <roland@redhat.com>
78045
78046 * elf/ldconfig.c (main): Add a const.
78047
78048 2010-05-06 Ulrich Drepper <drepper@redhat.com>
78049
78050 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78051 (args_options): Add no-idn option.
78052 (ahosts_keys_int): Add idn_flags to ai_flags.
78053 (parse_option): Handle 'i' option to clear idn_flags.
78054
78055 * malloc/malloc.c (_int_free): Possible race in the most recently
78056 added check. Only act on the data if no current modification
78057 happened.
78058
78059 See ChangeLog.17 for earlier changes.