]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b168057a
JM
12015-01-02 Joseph Myers <joseph@codesourcery.com>
2
3 * All files with FSF copyright notices: Update copyright dates
4 using scripts/update-copyrights.
5 * intl/plural.c: Regenerated.
6 * locale/programs/charmap-kw.h: Likewise.
7 * locale/programs/locfile-kw.h: Likewise.
8
b217c15f
SP
92015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10
11 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
12
73a268c7
JM
132014-12-31 Joseph Myers <joseph@codesourcery.com>
14
15 [BZ #17748]
16 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19 and define as weak alias of __fegetenv. Use libm_hidden_weak.
20 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22 define as weak alias of __fegetenv. Use libm_hidden_weak.
23 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26 define as weak alias of __fegetenv. Use libm_hidden_weak.
27 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29 define as weak alias of __fegetenv. Use libm_hidden_weak.
30 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31 libm_hidden_def.
32 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
33 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34 Likewise.
35 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36 define as weak alias of __fegetenv. Use libm_hidden_weak.
37 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41 and define as weak alias of __fegetenv. Use libm_hidden_weak.
42 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
43 __fegetenv instead of fegetenv.
44 (libc_feholdsetround_noex_ctx): Likewise.
45
0bd95672
MF
462014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
47
48 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
49 (Elf_MIPS_ABIFlags_v0): New structure.
50 (EF_MIPS_FP64): Define.
51 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
52 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
53 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
54 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
55 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
56 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
57 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
58 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
59 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
60 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
61 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
62 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
63 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
64 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
65 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
66 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
67 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
68 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
69 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
70 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
71 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
72 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
73 field.
74 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
75 EF_MIPS_FP64.
76 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
77 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
78 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
79 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
80 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
81 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
82 * sysdeps/mips/tst-abi-interlink.c: Likewise.
83 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
84 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
85 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
86 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
87 record the current FP ABI extension.
88 (mips-mode-switch): Define to show if kernel headers support mode
89 switching.
90 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
91 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
92 supported SYSV ABI version to 3.
93 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
94 feature.
95
f59ad976
RS
962014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
97 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98
99 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
100 path.
101 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
102
4a3d3999
JM
1032014-12-31 Joseph Myers <joseph@codesourcery.com>
104
105 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
106 __fegetround and redefine to call __fegetround. Remove condition
107 on [!__NO_MATH_INLINES].
108 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
109 function.
110 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
111 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
112 Remove macro.
113 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
114 instead of <fenv_libc.h>.
115 (__llrintl): Call fegetround instead of __fegetround.
116 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
117 instead of <fenv_libc.h>.
118 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
119 (__lrintl): Call fegetround instead of __fegetround.
120 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
121 instead of <fenv_libc.h>.
122 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
123 (__rintl): Call fegetround instead of __fegetround.
124
195f3afc
SP
1252014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
126
127 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
128 arrays.
129
7062bd42
L
1302014-12-30 H.J. Lu <hongjiu.lu@intel.com>
131
132 [BZ #17775]
133 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
134 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
135 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
136
07256e18
AS
1372014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
138
139 * sysdeps/i386/tls-macros.h: Include <features.h>.
140 (TLS_LE): Use non-PIC version for GCC >= 5.0.
141 (TLS_IE): Likewise.
142 (TLS_LD): Likewise.
143 (TLS_GD): Likewise.
144 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
145 define for GCC >= 5.0.
146
1ff950ad
CM
1472014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
148
149 * math/test-fenv.c (test_single_exception, set_single_exc,
150 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
151 feexcp_mask_test, feenable_test, fe_single_test): Add
152 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
153 case where they are not used.
154 * math/libm-test.inc: Likewise.
155 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
156 unused in the absence of FP rounding/exception support.
157 * stdio-common/tst-printf-round.c: Likewise.
158 * stdlib/tst-strtod-round.c: Likewise.
159 * stdlib/tst-strtod-underflow.c: Likewise.
160
0747f818
JM
1612014-12-30 Joseph Myers <joseph@codesourcery.com>
162
163 [BZ #17723]
164 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
165 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
166 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
167 __feraiseexcept and define as weak alias of __feraiseexcept. Use
168 libm_hidden_weak.
169 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
170 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
171 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
172 libm_hidden_def.
173 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
174 __feraiseexcept and define as weak alias of __feraiseexcept. Use
175 libm_hidden_weak.
176 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
177 Likewise.
178 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
179 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
180 __feraiseexcept and define as weak alias of __feraiseexcept. Use
181 libm_hidden_weak.
182 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
183 libm_hidden_def.
184 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
185 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
186 (__feraiseexcept): Likewise.
187 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
188 __feraiseexcept and define as weak alias of __feraiseexcept. Use
189 libm_hidden_weak.
190 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
191 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
192 libm_hidden_def.
193 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
194 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
195 Use libm_hidden_def.
196 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
197 libm_hidden_def.
198 (feraiseexcept): Define as weak not strong alias. Use
199 libm_hidden_weak.
200 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
201 New inline function. Factored out of ...
202 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
203 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
204 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
205 feraiseexcept.
206 * math/w_acos.c (__acos): Likewise.
207 * math/w_asin.c (__asin): Likewise.
208 * math/w_ilogb.c (__ilogb): Likewise.
209 * math/w_j0.c (y0): Likewise.
210 * math/w_j1.c (y1): Likewise.
211 * math/w_jn.c (yn): Likewise.
212 * math/w_log.c (__log): Likewise.
213 * math/w_log10.c (__log10): Likewise.
214 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
215 * sysdeps/aarch64/fpu/math_private.h
216 (libc_feupdateenv_test_aarch64): Likewise.
217 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
218 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
219 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
220 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
221 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
222 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
223 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
224 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
225 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
226 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
227
8d2b2763
L
2282014-12-30 H.J. Lu <hongjiu.lu@intel.com>
229
230 [BZ #17732]
231 * io/test-utime.c (main): Replace %ld with %jd and cast to
232 intmax_t.
41fad830 233 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
234 * nptl/tst-mutex5.c: Include <stdint.h>.
235 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
236 * posix/tst-regex.c (run_test): Likewise.
237 (run_test_backwards): Likewise.
5d619de4
L
238 * rt/tst-clock.c: Include <stdint.h>.
239 (clock_test): Replace %ld with %jd and cast to intmax_t.
240 * rt/tst-cpuclock1.c: Include <stdint.h>.
241 (do_test): Replace %lu with %ju and cast to uintmax_t.
242 * rt/tst-cpuclock2.c: Include <stdint.h>.
243 (do_test): Replace %lu with %ju and cast to uintmax_t.
244 * rt/tst-mqueue1.c: Include <stdint.h>.
245 (check_attrs): Replace %ld with %jd and cast to intmax_t.
246 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
247 intmax_t.
248 * rt/tst-mqueue4.c (do_test): Likewise.
249 * rt/tst-timer4.c: Include <stdint.h>.
250 (check_ts): Replace %ld with %jd and cast to intmax_t.
251 (do_test): Likewise.
ad86fbc3
L
252 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
253 and cast to intmax_t.
37f46900 254 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
255 * time/clocktest.c (main): Likewise.
256 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 257 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 258
8b4416d8
AS
2592014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
260 H.J. Lu <hongjiu.lu@intel.com>
261
262 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
263 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
264 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
265 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
266 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
267 version if bit_Fast_Unaligned_Load is set.
268 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
269 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
270 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
271 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
272 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
273 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
275 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
276 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
277 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
278 to 4.
279 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
280 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
281 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
282 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
283
e47b8d3b
CM
2842014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
285
6d6d7fde
CM
286 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
287 instead of #if to avoid a Wundef warning.
288 * stdlib/tst-limits.c (do_test): Likewise.
289
cd2c37c9
CM
290 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
291 parallel other exception macros.
292 (fegetenv): Convert from macro to extern inline so that it applies
293 retroactively to inline functions already seen by the compiler.
294 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
295
e47b8d3b
CM
296 * posix/Makefile (before-compile): Use $(objpfx) for
297 posix-conf-vars-def.h.
298
4a6aca7b
SP
2992014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
300
7910c2ae
SP
301 * posix/getconf.c (main): Use size_t for type of I.
302 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
303 NSPEC.
304
50cbbaa9
SP
305 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
306 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
307 * posix/posix-envs.def: Likewise.
308 * sysdeps/posix/sysconf.c: Likewise.
309 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
310 (specs): Remove array.
311 * scripts/gen-posix-conf-vars.awk: Support generation of specs
312 array.
313
3b566046
SP
314 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
315 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
316 (__sysconf): Use CONF_IS_* macros.
317
4a6aca7b
SP
318 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
319 ($(objpfx)posix-conf-vars-def.h): New target.
320 * posix/posix-conf-vars.list: New file.
321 * posix/posix-conf-vars.h: New file.
322 * posix/confstr.c: Include posix-conf-vars.h.
323 (confstr): Use CONF_IS_* macros.
324 * posix/posix-envs.def: Include posix-conf-vars.h. Use
325 CONF_IS_* macros.
326 * scripts/gen-posix-conf-vars.awk: New file.
327
7c1395a7
CM
3282014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
329
0025b4cc
CM
330 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
331 fegetround): Add no-op macros to avoid linknamespace issues.
332
d8aaf74b
CM
333 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
334 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
335
5d24aa60
CM
336 * sysdeps/unix/sysv/linux/tile/sysdep.h
337 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
338 assembly-specific section to avoid a redefinition warning.
339
7c1395a7
CM
340 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
341 long before casting to pointer to avoid a cast warning.
342
3c87c616
CM
3432014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
344
345 * sysdeps/tile/tilegx/Implies: New file.
346
f559d8cf
RE
3472014-12-23 Richard Earnshaw <rearnsha@arm.com>
348
349 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
350
7d81e8d6
FW
3512014-12-23 Florian Weimer <fweimer@redhat.com>
352
353 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
354
90aa3d09
JM
3552014-12-22 Joseph Myers <joseph@codesourcery.com>
356
357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
358 not define.
359 * sysdeps/unix/sysv/linux/utimes.c: Do not include
360 <kernel-features.h>.
361 (__utimes) [__NR_utimes]: Make code unconditional.
362 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
363 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
364 (__ASSUME_UTIMES): Do not undefine.
365 * sysdeps/unix/sysv/linux/tile/kernel-features.h
366 (__ASSUME_UTIMES): Likewise.
367 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
368 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
369 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
370 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
371
4c0c0e2a
SE
3722014-12-22 Steve Ellcey <sellcey@imgtec.com>
373
374 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
375
0dacd7a3
CM
3762014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
377
b638f96a
CM
378 [BZ #17747]
379 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
380 alias to weak alias for j0l, y0l.
381 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
382 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
383
0dacd7a3
CM
384 [BZ #17746]
385 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
386 conversion.
387
528479c4
SE
3882014-12-22 Steve Ellcey <sellcey@imgtec.com>
389
390 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
391 to zero if not already defined.
392
f56f9124
JM
3932014-12-22 Joseph Myers <joseph@codesourcery.com>
394
395 [BZ #17724]
396 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
397 (__kernel_standard_f): Remove. Moved to k_standardf.c.
398 (__kernel_standard_l): Remove. Moved to k_standardl.c with
399 (char *) casts added.
400 * sysdeps/ieee754/k_standardf.c: New file.
401 * sysdeps/ieee754/k_standardl.c: Likewise.
402 * math/Makefile (libm-support): Remove k_standard.
403 (libm-calls): Add k_standard.
404
8622d556
WD
4052014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
406
407 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
408 Optimize to avoid an unnecessary FPCR read.
409
f3806bdb
WD
4102014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
411
412 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
413 Optimize to reduce FPCR/FPSR accesses.
414
9b47df58
WD
4152014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
416
417 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
418 Call libc_fetestexcept_aarch64.
419
97be3cac
WD
4202014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
421
422 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
423 Call libc_fesetround_aarch64.
424
935ab817
JM
4252014-12-22 Joseph Myers <joseph@codesourcery.com>
426
427 [BZ #17733]
428 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
429 (__bind): Do not define as weak alias.
430 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
431 define.
432 (__getsockname): Do not define as weak alias.
433
cc8623f1
WN
4342014-12-22 Will Newton <will.newton@linaro.org>
435
436 * manual/install.texi: Document that we require bison 2.7
437 or above.
438 * INSTALL: Regenerate.
439 * configure.ac: Use AC_CHECK_PROG_VER instead of
440 AC_PATH_PROG when checking for bison and check for
441 version 2.7 or above.
442 * configure: Regenerate.
443
a19ca65a
CM
4442014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
445
92901170 446 [BZ #17745]
e969965a
CM
447 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
448 * sysdeps/tile/ffsll.c (ffsll): To here.
449
a19ca65a
CM
450 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
451
050f7298
L
4522014-12-21 H.J. Lu <hongjiu.lu@intel.com>
453
454 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
455 if not defined.
456 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
457 definition.
458 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
459 hidden ___tls_get_addr.
460 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
461 hidden __tls_get_addr.
462 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
463 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
464 Likewise.
465
6df5547e
AS
4662014-12-21 Andreas Schwab <schwab@linux-m68k.org>
467
468 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
469 _dl_init call.
470
7432d613
L
4712014-12-21 H.J. Lu <hongjiu.lu@intel.com>
472
473 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
474 from "call _dl_init@PLT".
475 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 476
98fe149e
AK
4772014-12-21 Anders Kaseorg <andersk@mit.edu>
478
479 * manual/search.texi: (Array Sort Function): Clarify stable sorting
480 guarantees.
481
d12455f5
CM
4822014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
483
484 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
485
95dee05f
CM
4862014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
487
92901170 488 [BZ #17744]
95dee05f
CM
489 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
490 strnlen.
491
2ef4b74a
SE
4922014-12-19 Steve Ellcey <sellcey@imgtec.com>
493
494 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
495 of multu on MIPSr6.
496 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
497 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
498 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
499 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
500 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
501
5022014-12-19 Steve Ellcey <sellcey@imgtec.com>
503
504 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
505 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
506 (PTR_SUBU): Use subu for mips32r6/mips64r6.
507 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 508 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
509 mips32r6/mips64r6.
510 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
511
3eb38795
OB
5122014-12-19 Ondřej Bílka <neleai@seznam.cz>
513
514 * string/strncat.c (STRNCAT): Simplify implementation.
515
6d4188dd
DM
5162014-12-19 David S. Miller <davem@davemloft.net>
517
0d4ba8be
DM
518 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
519 access the quad as both a long double and as a series of 4 words.
520
6d4188dd
DM
521 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
522 link_map->l_info array access.
523
4ef91cdc
CM
5242014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
525
804c54f7
CM
526 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
527
4ef91cdc
CM
528 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
529 * math/atest-exp2.c (TIMEOUT): Likewise.
530 * math/atest-sincos.c (TIMEOUT): Likewise.
531
afd176d6
L
5322014-12-19 H.J. Lu <hongjiu.lu@intel.com>
533
534 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
535 -Wno-error with -fno-builtin-lround.
536
a4a43a90
TR
5372014-12-19 Torvald Riegel <triegel@redhat.com>
538
539 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
540 Contains futex constants and functions moved over from ...
541 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
542 <lowlevellock-futex.h>.
543 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
544 (lll_timedwait_tid): Add comments and parentheses around macro
545 arguments.
546
76f71081
TR
5472014-12-19 Torvald Riegel <triegel@redhat.com>
548
549 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
550 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
551 (__lll_private_flag): Remove.
552 (lll_futex_wait): Likewise.
553 (lll_futex_timed_wait): Likewise.
554 (lll_futex_wake): Likewise.
555 (lll_futex_requeue): Likewise.
556 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
557 (__lll_timedwait_tid): Spell out argument names.
558 (lll_timedwait_tid): Add comments and parentheses around macro
559 arguments.
560 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
561 LLL_SHARED and LLL_PRIVATE usable from assembly code.
562
6b814909
TR
5632014-12-19 Torvald Riegel <triegel@redhat.com>
564
565 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
566 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
567 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
568 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
569 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
570 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
571 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
572 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
573 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
574 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
575 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
576 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
577 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
578 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
579 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
580 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
581 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
582 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
583 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
584
9cd4d4ab
L
5852014-12-19 H.J. Lu <hongjiu.lu@intel.com>
586
587 * sysdeps/x86_64/x32/Makefile: New file.
588
c9c1a2d0
L
5892014-12-19 H.J. Lu <hongjiu.lu@intel.com>
590
591 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
592 1L with (mp_limb_t) 1.
593
af102d95
RM
5942014-12-17 Roland McGrath <roland@hack.frob.com>
595
dd690454
RM
596 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
597 * nptl/libc_pthread_init.c: ... here.
598 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
599 * nptl/register-atfork.c: ... here.
600
74eb826c
RM
601 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
602 Use pthread_sigmask rather than INTERNAL_SYSCALL.
603 Use assert_perror to check its return value.
604 (__gai_create_helper_thread): Likewise.
605
c9ce306b
RM
606 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
607
af102d95
RM
608 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
609
8ac5a76a
JM
6102014-12-17 Joseph Myers <joseph@codesourcery.com>
611
ea41469b
JM
612 [BZ #17725]
613 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
614 __profil_counter.
615 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
616 Likewise.
617 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
618 Likewise.
619 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
620 Likewise.
621 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
622 (profil_counter): Likewise.
623 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
624 (profil_counter): Likewise.
625 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
626 Likewise.
627 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
628 Likewise.
629 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
630 (profil_counter): Likewise.
631 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
632 Likewise.
633 [!__profil_counter] (profil_counter): Define as weak alias of
634 __profil_counter.
635 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
636 (profil_counter): Rename to __profil_counter.
637 [!__profil_counter] (profil_counter): Define as weak alias of
638 __profil_counter.
639 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
640 (profil_counter): Rename to __profil_counter.
641 [!__profil_counter] (profil_counter): Define as weak alias of
642 __profil_counter.
643 * sysdeps/posix/profil.c: Update comment referring to
644 profil_counter.
645 (__profil): Use __profil_counter instead of profil_counter.
646 * sysdeps/posix/sprofil.c (profil_counter): Rename to
647 __profil_counter. Use __profil_counter_ushort and
648 __profil_counter_uint in definitions.
649 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
650 instead of profil_counter_uint and profil_counter_ushort.
651
8ac5a76a
JM
652 [BZ #17722]
653 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
654 define as weak alias of __inet_makeaddr.
655 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
656 as weak alias of __inet_addr.
657 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
658 as weak alias of __inet_pton. Use libc_hidden_weak.
659 * include/arpa/inet.h (__inet_pton): Declare. Use
660 libc_hidden_proto.
661 (inet_makeaddr): Don't use libc_hidden_proto.
662 (__inet_makeaddr): Declare. Use libc_hidden_proto.
663 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
664 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
665 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
666 Remove variable.
667 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
668 (test-xfail-POSIX/time.h/linknamespace): Likewise.
669
66ce3cb1
SE
6702014-12-17 Steve Ellcey <sellcey@imgtec.com>
671
672 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
673
d22ce01b
SL
6742014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
675
676 * stdio-common/bug-vfprintf-nargs.c (do_test):
677 Cast value to intptr_t to avoid format warning
678 for usage with PRIdPTR printing macro.
679
eca2772b
SL
6802014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
681
682 * libio/tst-widetext.c (do_test):
683 Use format type %td instead of %Zd for ptrdiff_t
684 in order to avoid format warning.
685
bdf079da
AS
6862014-12-17 Andreas Schwab <schwab@suse.de>
687
688 * nscd/mem.c (gc): Add size_t cast to match printf format.
689
3eb5d2fc
RM
6902014-12-16 Roland McGrath <roland@hack.frob.com>
691
692 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
693 (init): Apply PTR_MANGLE to pointers before storing them.
694 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
695 before using them.
696
d003ada2
JM
6972014-12-16 Joseph Myers <joseph@codesourcery.com>
698
380292ba
JM
699 [BZ #17719]
700 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
701 define as weak alias of __memrchr.
702 (__memrchr): Do not define as strong alias of memrchr.
703 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
704 Remove variable.
705 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
706 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
707 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
708
9a44d530
JM
709 [BZ #17717]
710 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
711 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
712 (if_indextoname): Rename to __if_indextoname and define as weak
713 alias of __if_indextoname. Use libc_hidden_weak.
714 (if_freenameindex): Rename to __if_freenameindex and define as
715 weak alias of __if_freenameindex.
716 (if_nameindex): Rename to __if_nameindex and define as weak alias
717 of __if_nameindex.
718 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
719 __if_nametoindex and define as weak alias of __if_nametoindex.
720 Use libc_hidden_weak.
721 (if_freenameindex): Rename to __if_freenameindex and define as
722 weak alias of __if_freenameindex.
723 (if_nameindex): Rename to __if_nameindex and define as weak alias
724 of __if_nameindex.
725 (if_indextoname): Rename to __if_indextoname and define as weak
726 alias of __if_indextoname. Use libc_hidden_weak.
727 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
728 __if_nametoindex and define as weak alias of __if_nametoindex.
729 Use libc_hidden_weak.
730 (if_freenameindex): Rename to __if_freenameindex and define as
731 weak alias of __if_freenameindex. Use libc_hidden_weak.
732 (if_nameindex_netlink): Use __if_freenameindex instead of
733 if_freenameindex.
734 (if_nameindex): Rename to __if_nameindex and define as weak alias
735 of __if_nameindex. Use libc_hidden_weak.
736 (if_indextoname): Rename to __if_indextoname and define as weak
737 alias of __if_indextoname. Use libc_hidden_weak.
738 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
739 libc_hidden_proto.
740 [!_ISOMAC] (__if_freenameindex): Likewise.
741 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
742 if_nametoindex.
743 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
744 variable.
745 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
746 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
747 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
748 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
749 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
750 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
751 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
752
d003ada2
JM
753 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
754 Remove variable.
755 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
756 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
757
a0d424ef
SP
7582014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
759
0cd85520
SP
760 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
761 subscript above bounds'
762
a0d424ef
SP
763 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
764 bounds.
765
0e426475
AS
7662014-12-16 Arjun Shankar <arjun.is@lostca.se>
767
8b460906
AS
768 * libio/tst-fopenloc.c: Use test-skeleton.c.
769
fa13e15b
AS
770 * stdlib/tst-bsearch.c: Use test-skeleton.c.
771 (entry): Rename to ITEM.
772 (do_test, comp): Adjust.
773
0e426475
AS
774 * stdio-common/tst-fseek.c: Use test-skeleton.c.
775
4f646bce
TR
7762014-12-16 Torvald Riegel <triegel@redhat.com>
777
778 * string/tester.c: Include <libc-internal.h>.
779 (test_memset): Ignore -Wmemset-transposed-args.
780
a07c4427
TR
7812014-12-16 Torvald Riegel <triegel@redhat.com>
782
783 * misc/tst-mntent2.c (do_test): Fix warning.
784
1469f466
TR
7852014-12-16 Torvald Riegel <triegel@redhat.com>
786
787 * elf/tst-unique4lib.cc(a): Mark as used.
788
11e3417a
FW
7892014-12-16 Florian Weimer <fweimer@redhat.com>
790
791 [BZ #17630]
792 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
793 names.
794
ae61fc7b
AM
7952014-12-16 Allan McRae <allan@archlinux.org>
796
797 * stdio-common/Makefile (tests): Re-add bug26.
798
363a9899
OB
7992014-12-15 Ondřej Bílka <neleai@seznam.cz>
800
801 [BZ #17657]
802 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
803 static array.
804
d52c62df
TR
8052014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
806
807 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
808 (__lll_lock_wait): Likewise.
809 (__lll_timedlock_wait): Likewise.
810 (__lll_timedwait_tid): Likewise.
811 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
812 (__lll_robust_timedlock_wait): Likewise.
813 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
814 (lll_cond_trylock): Likewise.
815 (__lll_lock): Likewise.
816 (__lll_robust_lock): Likewise.
817 (__lll_cond_lock): Likewise.
818 (lll_robust_cond_lock): Likewise.
819 (__lll_timedlock): Likewise.
820 (__lll_robust_timedlock): Likewise.
821 (__lll_unlock): Likewise.
822 (__lll_robust_unlock): Likewise.
823 (lll_wait_tid): Likewise.
824 (lll_timedwait_tid): Likewise.
825
045a6bcd
TR
8262014-12-15 Torvald Riegel <triegel@redhat.com>
827
828 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
829
7f786dc1
TR
8302014-12-15 Torvald Riegel <triegel@redhat.com>
831
832 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
833
e7e21cba
AZ
8342014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
835
836 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
837 * stdio-common/tst-sprintf.c: Likewise.
838
bc89c0fc
TR
8392014-12-15 Torvald Riegel <triegel@redhat.com>
840
841 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
842
a5357b7c
JL
8432014-12-15 Jeff Law <law@redhat.com>
844
845 [BZ #16617]
846 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
847 on the heap. (CVE-2012-3406)
848 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
849 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
850 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
851
3a12c70f
WN
8522014-12-15 Will Newton <will.newton@linaro.org>
853
854 * manual/install.texi: Bump required version of texinfo
855 to 4.7 from 4.5.
856 * INSTALL: Regenerated.
857 * configure.ac: Check for makeinfo version 4.7 and above.
858 * configure: Regenerated.
859
e4f639e4
RM
8602014-12-12 Roland McGrath <roland@hack.frob.com>
861
862 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
863 PREFIX, string constant to insert between directory and name.
864 * sysdeps/posix/shm_open.c: Update caller.
865 * sysdeps/posix/shm_unlink.c: Likewise.
866 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
867 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
868 (SEM_SHM_PREFIX): New macro.
869 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
870 [$(have-thread-library) = no].
871 * nptl/Makefile (libpthread-routines): Add shm-directory.
872 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
873 * sysdeps/nptl/shm-directory.h: New file.
874 * sysdeps/posix/shm-directory.c
875 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
876 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
877 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
878 INTERNAL_SYSCALL.
879 (__where_is_shmfs): Function removed.
880 (mountpoint, defaultmount, defaultdir, __namedsem_once):
881 Variables removed.
882 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
883 Use SHM_GET_NAME.
884 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
885
886 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
887 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
888 unconditional for use inside libpthread.
889 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
890
439c43f6
RM
8912014-12-12 Roland McGrath <roland@hack.frob.com>
892
c76d1ff5
RM
893 * nptl/pthread_getaffinity.c: New file.
894 * nptl/pthread_setaffinity.c: New file.
895 * nptl/pthread_getname.c: New file.
896 * nptl/pthread_setname.c: New file.
897
439c43f6
RM
898 * nptl/pthread_create.c (START_THREAD_DEFN)
899 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
900
48e435cd
SL
9012014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
902 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
903
904 * resolv/res_send.c (send_vc): Disable warning resplen may
905 be used uninitialized.
906
9d9c0019
SL
9072014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
908
909 * nptl/tst-mutex6.c
910 (ATTR_NULL): New define checks ATTR against NULL.
911 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
912 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
913
9173840b
JL
9142014-12-11 James Lemke <jwlemke@codesourcery.com>
915
916 [BZ #17581]
917 * malloc/hooks.c
918 (mem2mem_check): Revert my previous change.
919 (malloc_check_get_size): Revert my previous change.
920 (mem2chunk_check): Revert my previous change.
921
78e21c5d
RM
9222014-12-11 Roland McGrath <roland@hack.frob.com>
923
924 * sysdeps/posix/shm-directory.c: New file.
925 * sysdeps/posix/shm-directory.h: New file.
926 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
927 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
928 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
929 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
930 Transmute EPERM to EACCES.
931 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
932 from ...
933 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
934 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
935
f82c43af
KK
9362014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
937
938 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
939 pointer and cast to uintptr_t.
940 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
941 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
942 Add cast to avoid warning.
943 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
944
fc00cf7b
JM
9452014-12-11 Joseph Myers <joseph@codesourcery.com>
946
947 * nptl/semaphore.h: Move to ...
948 * sysdeps/pthread/semaphore.h: ... here.
949 * Makefile (installed-headers): Change nptl/semaphore.h to
950 sysdeps/pthread/semaphore.h.
951
1c4053db
RM
9522014-12-11 Roland McGrath <roland@hack.frob.com>
953
73b0c1a1
RM
954 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
955 generated error format strings.
956
1c4053db
RM
957 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
958 -Wformat-extra-args warnings for scanf formats.
959 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
960 test of zero-length format (duh).
961 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
962 corner-case scanf format test.
963 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
964 generated fprintf format string.
965 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
966 corner-case sprintf format tests.
967 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
968 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
969 -Wformat-extra-args warnings throughout.
970 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
971 (CFLAGS-scanf4.c): Likewise.
972 (CFLAGS-scanf7.c): Likewise.
973 (CFLAGS-tst-sprintf.c): Likewise.
974 (CFLAGS-tst-printf.c): Likewise.
975 (CFLAGS-tst-printfsz.c): Likewise.
976
47d51f4f
JM
9772014-12-11 Joseph Myers <joseph@codesourcery.com>
978
a1edbf3c
JM
979 * include/cpio.h: New file.
980 * include/fmtmsg.h: Likewise.
981
47d51f4f
JM
982 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
983 corresponding format argument to size_t.
984 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
985 arguments.
986 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
987 corresponding format argument to size_t.
988 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
989 arguments.
990 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
991 corresponding format argument to size_t.
992 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
993 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
994 (CFLAGS-tst-mbswcs2.c): Likewise.
995 (CFLAGS-tst-mbswcs3.c): Likewise.
996 (CFLAGS-tst-mbswcs4.c): Likewise.
997 (CFLAGS-tst-mbswcs5.c): Likewise.
998 (CFLAGS-tst-trans.c): Likewise
999
e9813cfb
RM
10002014-12-11 Roland McGrath <roland@hack.frob.com>
1001
1002 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1003 rather than assuming they won't contain any '%'s.
1004
f627ca82
CM
10052014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1006
1007 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1008 inhibit_loop_to_libcall to avoid recursive calls.
1009 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1010 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1011
7f296942
AZ
10122014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1013
1014 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1015 prototype.
1016
d0276e18
SE
10172014-12-11 Steve Ellcey <sellcey@imgtec.com>
1018
1019 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1020 integer value instead of boolean.
1021
fc56e970
SE
10222014-12-11 Steve Ellcey <sellcey@imgtec.com>
1023
1024 * malloc/malloc.c: Fix powerof2 check.
1025
40e53917
SL
10262014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1027
1028 * locale/programs/locfile.h (maybe_swap_uint32):
1029 Remove inline and add unused attribute.
1030
1ea166df
SL
10312014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1032
9d9c0019 1033 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
1034 Truncating assembler expression to a .long expression.
1035
acf869f4
AS
10362014-12-11 Andreas Schwab <schwab@suse.de>
1037
1038 * elf/rtld.c (struct map_args): Constify str member.
1039 (do_preload): Constify fname argument.
1040
9d969099
AZ
10412014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1042
1043 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1044 constants definition.
1045
da5bcaa4
AS
10462014-12-11 Andreas Schwab <schwab@suse.de>
1047
b0a3c164
AS
1048 [BZ #16657]
1049 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1050 FORCE_ELISION instead of DO_ELISION.
1051 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1052 Remove.
1053 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1054 Likewise.
1055
da5bcaa4
AS
1056 * iconvdata/gconv-modules: Remove duplicate entry.
1057
6d248857
WN
10582014-12-11 Will Newton <will.newton@linaro.org>
1059
1060 Merge gettext 0.19.3 into intl/.
1061
1062 This involves a number of cosmetic changes to comments
1063 and ANSI function definitions and prototypes throughout
1064 all the files. The gettext copyright header is used but
1065 with the date ranges taken from the glibc copy.
1066
1067 * NEWS: Add gettext merge to 2.21.
1068 * intl/bindtextdom.c: Switch to gettext copyright.
1069 Use ANSI definitions and prototypes.
1070 Use gl_* locking primitives rather than __libc_* ones.
1071 Use __builtin_expect rather than __glibc_likely/unlikely.
1072 * intl/dcgettext.c: Switch to gettext copyright.
1073 Use ANSI definitions and prototypes.
1074 * intl/dcigettext.c: Switch to gettext copyright.
1075 Use ANSI definitions and prototypes.
1076 (INTDIV0_RAISES_SIGFPE): New define.
1077 Use gl_* locking primitives rather than __libc_* ones.
1078 Include eval-plural.h instead of plural-eval.c.
1079 Use __builtin_expect rather than __glibc_likely/unlikely.
1080 * intl/dcngettext.c: Switch to gettext copyright.
1081 Use ANSI definitions and prototypes.
1082 * intl/dgettext.c: Likewise.
1083 * intl/dngettext.c: Likewise.
1084 * intl/plural-eval.c: Renamed to...
1085 * intl/eval-plural.h: ...this.
1086 * intl/explodename.c: Switch to gettext copyright.
1087 Use ANSI definitions and prototypes.
1088 (_nl_explode_name): Use strchr instead of __rawmemchr.
1089 * intl/finddomain.c: Switch to gettext copyright.
1090 Use ANSI definitions and prototypes.
1091 Use gl_* locking primitives rather than __libc_* ones.
1092 (_nl_find_domain): Use malloc rather than alloca for
1093 allocation of temporary locale name.
1094 * intl/gettext.c: Switch to gettext copyright.
1095 Use ANSI definitions and prototypes.
1096 * intl/gettextP.h: Switch to gettext copyright.
1097 Use ANSI definitions and prototypes.
1098 Use gl_* locking primitives rather than __libc_* ones.
1099 * intl/gmo.h: Switch to gettext copyright.
1100 (struct sysdep_string): Move struct segment_pair outside of
1101 struct definition.
1102 * intl/hash-string.c: Use ANSI definitions and prototypes.
1103 * intl/hash-string.h: Switch to gettext copyright.
1104 Use ANSI definitions and prototypes.
1105 * intl/l10nflist.c: Switch to gettext copyright.
1106 Use ANSI definitions and prototypes.
1107 (_nl_normalize_codeset): Avoid integer overflow.
1108 * intl/loadinfo.h: Switch to gettext copyright.
1109 Use ANSI definitions and prototypes.
1110 (LIBINTL_DLL_EXPORTED): New define.
1111 (PATH_SEPARATOR): New define.
1112 * intl/loadmsgcat.c: Switch to gettext copyright.
1113 * intl/localealias.c: Switch to gettext copyright.
1114 Use ANSI definitions and prototypes.
1115 (_nl_expand_alias): Use PATH_SEPARATOR.
1116 * intl/ngettext.c: Switch to gettext copyright.
1117 Use ANSI definitions and prototypes.
1118 * intl/plural-exp.c: Likewise.
1119 * intl/plural-exp.h: Switch to gettext copyright.
1120 Use ANSI definitions and prototypes.
1121 (struct expression): Move definition of enum operator outside
1122 of struct definition.
1123 * intl/plural.c: Regenerate.
1124 * intl/plural.y: Switch to gettext copyright.
1125 Use ANSI definitions and prototypes.
1126 Port to bison 3.0.
1127 * intl/textdomain.c: Switch to gettext copyright.
1128 Use ANSI definitions and prototypes.
1129 Use gl_* locking primitives rather than __libc_* ones.
1130
48c43298
SE
11312014-12-10 Steve Ellcey <sellcey@imgtec.com>
1132
1133 * debug/warning-nop.c: Add used atrribute.
1134
2b89bce9
JM
11352014-12-10 Joseph Myers <joseph@codesourcery.com>
1136
c153ac9f
JM
1137 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1138
2b89bce9
JM
1139 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1140 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1141 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1142
2cfbdb9a
JM
11432014-12-10 Joseph Myers <joseph@codesourcery.com>
1144 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1145
1146 [BZ #17634]
1147 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1148 Undefine after defining function. Define as weak alias of
1149 __wcschr. Use libc_hidden_weak.
1150 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1151 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1152 (libc_hidden_def): Also define __GI___wcschr alias.
1153 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1154 __wcschr and define as weak alias of __wcschr.
1155 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1156 __wcschr.
1157 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1158 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1159 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1160 libc_hidden_weak. Do not use libc_hidden_def.
1161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1162 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1163 __GI___wcschr alias.
1164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1165 [IS_IN (libc)] (wcschr): Define as macro expanding to
1166 __redirect_wcschr.
1167 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1168 [IS_IN (libc)] (__wcschr_power6): Likewise.
1169 [IS_IN (libc)] (__wcschr_power7): Likewise.
1170 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1171 instead of wcschr.
1172 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1173 __libc_wcschr.
1174 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1175 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1176 __wcschr and define as weak alias of __wcschr. Use
1177 libc_hidden_builtin_def.
1178 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1179 as weak alias of __wcschr. Use libc_hidden_weak.
1180 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1181 wcschr.
1182 * time/era.c (_nl_init_era_entries): Likewise.
1183 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1184 variable.
1185 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1186 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1187
1b8bf351
JM
11882014-12-10 Joseph Myers <joseph@codesourcery.com>
1189
1190 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1191 format for long int variable.
1192
f5f46d51
AK
11932014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1194
1195 [BZ #10672]
07008f7d 1196 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
1197 qsort stable.
1198
217a74a8
AS
11992014-12-10 Andreas Schwab <schwab@suse.de>
1200
1201 [BZ #12847]
1202 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1203 user-controlled locks.
1204
aa76a5c7
RE
12052014-12-10 Richard Earnshaw <rearnsha@arm.com>
1206
1207 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1208 register.
1209
2084e7ca
JM
12102014-12-10 Joseph Myers <joseph@codesourcery.com>
1211
a4ecc9eb
JM
1212 * configure.ac (--disable-werror): New configure option.
1213 (enable_werror): New AC_SUBST.
1214 * configure: Regenerated.
1215 * config.make.in (enable-werror): New variable.
1216 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1217 -Wno-error=undef.
1218 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1219 * manual/install.texi (Configuring and compiling): Document
1220 --disable-werror.
1221 * INSTALL: Regenerated.
1222 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1223 (CFLAGS-tst-chk2.c): Likewise.
1224 (CFLAGS-tst-chk3.c): Likewise.
1225 (CFLAGS-tst-chk4.cc): Likewise.
1226 (CFLAGS-tst-chk5.cc): Likewise.
1227 (CFLAGS-tst-chk6.cc): Likewise.
1228 (CFLAGS-tst-lfschk1.c): Likewise.
1229 (CFLAGS-tst-lfschk2.c): Likewise.
1230 (CFLAGS-tst-lfschk3.c): Likewise.
1231 (CFLAGS-tst-lfschk4.cc): Likewise.
1232 (CFLAGS-tst-lfschk5.cc): Likewise.
1233 (CFLAGS-tst-lfschk6.cc): Likewise.
1234
0f88636c
JM
1235 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1236 (main): Disable -Wdeprecated-declarations around calls to
1237 register_printf_function.
1238
c81e9deb
JM
1239 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1240 (do_test): Disable -Wdiv-by-zero around some calls to
1241 fwrite_unlocked and fread_unlocked.
1242
2084e7ca
JM
1243 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1244 (DIAG_POP_NEEDS_COMMENT): Likewise.
1245 (_DIAG_STR1): Likewise.
1246 (_DIAG_STR): Likewise.
1247 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1248 * stdio-common/bug21.c: Include <libc-internal.h>.
1249 (do_test): Disable -Wformat around call to sscanf.
1250 * stdio-common/scanf14.c: Include <libc-internal.h>.
1251 (main): Disable -Wformat around some calls to scanf functions.
1252
df7ecc6b
TR
12532014-12-09 Torvald Riegel <triegel@redhat.com>
1254
1255 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1256
2aa3862e
AZ
12572014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258
1259 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1260 stack variable alignment.
1261
c5c2b7c3
JM
12622014-12-06 Joseph Myers <joseph@codesourcery.com>
1263
1264 [BZ #17682]
1265 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1266 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1267 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1268 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1269 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1270 __getrlimit instead of getrlimit.
1271 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1272 __gettimeofday instead of gettimeofday.
1273 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1274 Likewise.
1275 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1276 Likewise.
1277 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1278 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1279 Remove variable.
1280 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1281 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1282
9752c3cd
AZ
12832014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1284
1285 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1286 for wide-character tests.
1287
4bee4cd9
RM
12882014-12-04 Roland McGrath <roland@hack.frob.com>
1289
1290 * io/openat64.c: #include <libc-internal.h>
1291 (__openat64): Prototypify. Use ignore_value on MODE.
1292 * io/openat.c: Likewise.
1293 * misc/reboot.c: #include <libc-internal.h>
1294 (reboot): Prototypify. Use ignore_value on HOWTO.
1295 * misc/ptrace.c: #include <libc-internal.h>
1296 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1297
84dbedb6
JM
12982014-12-04 Joseph Myers <joseph@codesourcery.com>
1299
1300 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1301 XPG4, UNIX98 and XOPEN2K.
1302 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1303 Remove variable.
1304 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1305
b7a3e1c4 13062014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 1307
af50dfc1 1308 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
1309 * libio/iofopen.c: Likewise.
1310 * libio/wfileops.c: Likewise.
1311
fe8b4d98
SP
1312 [BZ #17653]
1313 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1314 offset on EOF.
1315 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1316 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1317 (fgets_func): Function pointer to fgets and fgetws.
1318 (do_ftell_test): Add test to verify ftell value after read
1319 EOF.
1320 (do_test): Set fgets_func.
1321
61b4f792
SP
1322 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1323 O_TRUNC flag for w and w+ modes.
1324 (do_rewind_test): Likewise.
1325 (do_ftell_test): Likewise.
1326 (do_write_test): Likewise.
1327
be349d70
SP
1328 [BZ #17647]
1329 * libio/fileops.c (do_ftell): Seek only when there are
1330 unflushed writes.
1331 * libio/wfileops.c (do_ftell_wide): Likewise.
1332 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1333 test case.
1334 (do_one_test): Call it.
1335
e3d6dba5
JM
13362014-12-03 Joseph Myers <joseph@codesourcery.com>
1337
1338 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1339 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1340 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1341 Remove variable.
1342 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1343 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1344 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1345
7f994279
JM
13462014-12-02 Joseph Myers <joseph@codesourcery.com>
1347
28a91e8f
JM
1348 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1349 Remove variable.
1350 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1351
7f994279
JM
1352 [BZ #17668]
1353 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1354 as weak alias of __getifaddrs. Use libc_hidden_weak.
1355 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1356 __freeifaddrs. Use libc_hidden_weak.
1357 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1358 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1359 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1360 __freeifaddrs. Use libc_hidden_weak.
1361 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1362 __getifaddrs and define as weak alias of __getifaddrs. Use
1363 libc_hidden_weak.
1364 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1365 __freeifaddrs. Use libc_hidden_weak.
1366 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1367 Remove variable.
1368 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1369 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1370
bbe4c142
PJ
13712014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1372
1373 [BZ #17601]
1374 * sysdeps/mips/start.S (__start): Use indirect jump to call
1375 __libc_start_main.
1376
66cadc05
JM
13772014-12-02 Joseph Myers <joseph@codesourcery.com>
1378
909e16d9
JM
1379 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1380
4e0b9016
JM
1381 * nptl/tst-mutex1.c: Include <stdbool.h>.
1382 [!ATTR] (ATTR_NULL): New macro.
1383 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1384 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1385 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1386
b1aff6a4
JM
1387 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1388 to char *.
1389
266865c0
JM
1390 [BZ #17665]
1391 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1392 Change conditional to [__USE_MISC].
1393
84e5e756
JM
1394 [BZ #17664]
1395 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1396 fgets_unlocked.
1397 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1398 __fgets_unlocked.
1399 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1400 fgets_unlocked.
1401 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1402 Remove variable.
1403 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1404 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1405 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1406 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1407 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1408 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1409 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1410 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1411 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1412
66cadc05
JM
1413 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1414
2e8a2de2 14152014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
1416
1417 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1418 Remove strpbrk objects.
1419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1420 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1421 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1422 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1423 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1424 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1425
bb2542e0
AZ
1426 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1427 Remove strcspn objects.
1428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1429 (__libc_ifunc_impl_list): Remove strcspn implementation.
1430 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1431 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1432 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1433 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
1434
1435 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1436 Remove strspn objetcs.
1437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1438 (__libc_ifunc_impl_list): Remove strspn implementation.
1439 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1440 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1441 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1442 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1443
08f1e1d2
JL
14442014-12-01 James Lemke <jwlemke@codesourcery.com>
1445
1446 [BZ #17581]
1447 * malloc/hooks.c
1448 (mem2mem_check): Add a terminator to the chain of checking blocks.
1449 (malloc_check_get_size): Use it here.
1450 (mem2chunk_check): Ditto.
1451
a8a7d7d2
RS
14522014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1455 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1456
97114a38
CD
14572014-11-29 Carlos O'Donell <carlos@redhat.com>
1458
c8dc1727
CD
1459 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1460
6d03458e
CD
1461 * nptl/nptl-init.c: Include libc-internal.h.
1462 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1463
97114a38
CD
1464 * elf/ldconfig.c (search_dir): Expand comment.
1465
0e7e69ba
JM
14662014-11-29 Joseph Myers <joseph@codesourcery.com>
1467
1468 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1469 variable.
1470 (linknamespace-symlist-stdlibs-tests): Likewise.
1471 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1472 instead of $(objpfx)symlist-stdlibs.
1473 (linknamespace-libs-isoc): New variable.
1474 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1475 (linknamespace-libs-ISO): New variable.
1476 (linknamespace-libs-ISO99): Likewise.
1477 (linknamespace-libs-ISO11): Likewise.
1478 (linknamespace-libs-XPG3): Likewise.
1479 (linknamespace-libs-XPG4): Likewise.
1480 (linknamespace-libs-POSIX): Likewise.
1481 (linknamespace-libs-UNIX98): Likewise.
1482 (linknamespace-libs-XOPEN2K): Likewise.
1483 (linknamespace-libs-POSIX2008): Likewise.
1484 (linknamespace-libs-XOPEN2K8): Likewise.
1485 ($(objpfx)symlist-stdlibs): Replace by
1486 $(linknamespace-symlist-stdlibs-tests). Use
1487 $(linknamespace-libs-$*) as set of libraries.
1488 ($(linknamespace-header-tests)): Update dependencies. Use
1489 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1490 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1491 * conform/linknamespace.pl: Remove comment about considering
1492 definitions of symbols from irrelevant libraries.
1493
d8dd0080
L
14942014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1495
1496 [BZ #13862]
1497 * elf/dl-tls.c: Include <atomic.h>.
1498 (oom): Remove #ifdef SHARED/#endif.
1499 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1500 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1501 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1502 big enough.
1503 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1504 * nptl/Makefile (tests): Add tst-stack4.
1505 (modules-names): Add tst-stack4mod.
1506 ($(objpfx)tst-stack4): New.
1507 (tst-stack4mod.sos): Likewise.
1508 ($(objpfx)tst-stack4.out): Likewise.
1509 ($(tst-stack4mod.sos)): Likewise.
1510 (clean): Likewise.
1511 * nptl/tst-stack4.c: New file.
1512 * nptl/tst-stack4mod.c: Likewise.
1513
167da422
B
15142014-11-27 J. Brown <jb999@gmx.de>
1515
1516 * sysdeps/x86/bits/string.h: Add recent CPUs.
1517
9114625b
JM
15182014-11-27 Joseph Myers <joseph@codesourcery.com>
1519
6b5189eb
JM
1520 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1521 sigblock.
1522
49051f8e
JM
1523 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1524 feof.
1525
9114625b
JM
1526 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1527 variable.
1528
e7300fef
SL
15292014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1530
1531 * nscd/connections.c: Include libc-internal.h because of macro
1532 usage ignore_value.
1533
1721f0a4
SP
15342014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1535
1536 * string/bits/string3.h (__warn_memset_zero_len): Don't
1537 declare for gcc newer than 5.0.
1538 (memset): Don't test for zero-length __LEN for gcc newer than
1539 5.0.
1540
be970916
JM
15412014-11-27 Joseph Myers <joseph@codesourcery.com>
1542
d88548f4
JM
1543 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1544 size_t for %zu format.
1545
be970916
JM
1546 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1547 difference, not %ju.
1548
3b20fd5c
JM
15492014-11-26 Joseph Myers <joseph@codesourcery.com>
1550
8915eace
JM
1551 * include/libc-internal.h (ignore_value): New macro.
1552 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1553 with ignore_value.
1554
f1a5a0e3
JM
1555 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1556 definition.
1557
59ef1715
JM
1558 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1559 pthread_cleanup_push to void *.
1560
a6f3079b
JM
1561 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1562 Undefine.
1563
706688aa
JM
1564 [BZ #16619]
1565 [BZ #16740]
1566 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1567 instead of 1L << 52.
1568
12da14a5
JM
1569 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1570 * libio/bug-rewind2.c (do_test): Likewise.
1571
bd5dadac
JM
1572 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1573 * debug/test-strcpy_chk-ifunc.c: Likewise.
1574 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1575 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1576 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1577 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1578 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1579 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1580 * Rules [$(multi-arch) = no] (tests): Do not filter out
1581 $(tests-ifunc).
1582 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1583 * debug/Makefile (tests-ifunc): Remove variable.
1584 (tests): Do not add $(tests-ifunc).
1585 * wcsmbs/Makefile (tests-ifunc): Remove variable.
1586 (tests): Do not add $(tests-ifunc).
1587 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1588 [TEST_IFUNC]: Remove conditionals.
1589 * string/test-string.h (TEST_IFUNC): Remove macro.
1590 [TEST_IFUNC]: Remove conditionals.
1591
3b20fd5c
JM
1592 * string/test-strchr.c [!WIDE] (L): New macro.
1593 [WIDE] (L): Likewise.
1594 (check1): Use CHAR instead of char. Use L on string and character
1595 constants.
1596
704f7947
AZ
15972014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1598
1599 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1600 tests.
1601 * sysdeps/powerpc/bits/atomic.h
1602 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1603 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1604 (atomic_exchange_and_add_acq): Likewise.
1605 (atomic_exchange_and_add_rel): Likewise.
1606 * sysdeps/powerpc/powerpc32/bits/atomic.h
1607 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1608 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1609 * sysdeps/powerpc/powerpc64/bits/atomic.h
1610 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1611 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1612
cdcb42d7
TR
16132014-11-26 Torvald Riegel <triegel@redhat.com>
1614
1615 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1616 Change synchronization of __sched_fifo_min_prio and
1617 __sched_fifo_max_prio.
1618 * nptl/pthread_mutexattr_getprioceiling.c
1619 (pthread_mutexattr_getprioceiling): Likewise.
1620 * nptl/pthread_mutexattr_setprioceiling.c
1621 (pthread_mutexattr_setprioceiling): Likewise.
1622 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1623 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1624 Likewise.
1625
c82f5c0c
JM
16262014-11-26 Joseph Myers <joseph@codesourcery.com>
1627
1628 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1629 void.
1630
439e1ad6
JM
16312014-11-25 Joseph Myers <joseph@codesourcery.com>
1632
1633 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1634 third argument const.
1635
b1eda10e
PE
16362014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1637
1638 fnmatch: work around GCC compiler warning bug with uninit var
1639 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1640 This works around a bug with x86-64 GCC 4.9.2 and earlier
1641 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1642 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1643 used uninitialized in this function [-Wmaybe-uninitialized]".
1644
bde2667a
JM
16452014-11-25 Joseph Myers <joseph@codesourcery.com>
1646
1647 * posix/bug-regex31.c (main): Return RES not 0.
1648
5fbb5691
AB
16492014-11-25 Anton Blanchard <anton@samba.org>
1650
1651 * sysdeps/powerpc/bits/atomic.h
1652 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1653
467fec0b
BM
16542014-11-24 Sterling Augustine <saugustine@google.com>
1655
1656 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1657
e9ff8efb
RC
16582014-11-24 Ryan Cumming <etaoins@gmail.com>
1659
1660 [BZ #17608]
1661 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1662
9744496f
JM
16632014-11-24 Joseph Myers <joseph@codesourcery.com>
1664
1665 [BZ #17633]
1666 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1667 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1668 variable.
1669 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1670 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1671
6423d475
WD
16722014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1673
1674 * string/strncpy.c (strncpy): Improve performance by using memset.
1675
16762014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
1677
1678 * string/strcpy.c (strcpy):
1679 Improve performance by using strlen and memcpy.
1680
5d178c37
LH
16812014-11-24 Leonhard Holz <leonhard.holz@web.de>
1682
1683 * string/strcoll_l.c (get_next_seq): __always_inline.
1684 * string/strcoll_l.c (do_compare): __always_inline.
1685
279bc5b3
SP
16862014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1687
7a9ebfa1
SP
1688 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1689 defined.
1690 * include/mqueue.h: Likewise.
1691 * include/stdlib.h: Likewise.
1692
4f41c682
SP
1693 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1694 (get_null_defines): Adjust.
1695 * sunrpc/Makefile: Adjust comment.
1696 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1697 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1698 (CFLAGS-interp.c): Likewise.
1699 (CFLAGS-ldconfig.c): Likewise.
1700 (CPPFLAGS-.os): Likewise.
1701 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1702 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1703 * extra-modules.mk (extra-modules.mk): Likewise.
1704 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1705 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1706 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1707 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1708 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1709 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1710 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1711 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1712 * iconvdata/Makefile (CPPFLAGS): Likewise.
1713 (cpp-srcs-left): Add libof for all iconvdata routines.
1714 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1715 * include/assert.h: Likewise.
1716 * include/ctype.h: Likewise.
1717 * include/errno.h: Likewise.
1718 * include/libc-symbols.h: Likewise.
1719 * include/math.h: Likewise.
1720 * include/netdb.h: Likewise.
1721 * include/resolv.h: Likewise.
1722 * include/stdio.h: Likewise.
1723 * include/stdlib.h: Likewise.
1724 * include/string.h: Likewise.
1725 * include/sys/stat.h: Likewise.
1726 * include/wctype.h: Likewise.
1727 * intl/l10nflist.c: Likewise.
1728 * libidn/idn-stub.c: Likewise.
1729 * libio/libioP.h: Likewise.
1730 * nptl/libc_multiple_threads.c: Likewise.
1731 * nptl/pthreadP.h: Likewise.
1732 * posix/regex_internal.h: Likewise.
1733 * resolv/res_hconf.c: Likewise.
1734 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1735 * sysdeps/arm/memmove.S: Likewise.
1736 * sysdeps/arm/sysdep.h: Likewise.
1737 * sysdeps/generic/_itoa.h: Likewise.
1738 * sysdeps/generic/symbol-hacks.h: Likewise.
1739 * sysdeps/gnu/errlist.awk: Likewise.
1740 * sysdeps/gnu/errlist.c: Likewise.
1741 * sysdeps/i386/i586/memcpy.S: Likewise.
1742 * sysdeps/i386/i586/memset.S: Likewise.
1743 * sysdeps/i386/i686/memcpy.S: Likewise.
1744 * sysdeps/i386/i686/memmove.S: Likewise.
1745 * sysdeps/i386/i686/mempcpy.S: Likewise.
1746 * sysdeps/i386/i686/memset.S: Likewise.
1747 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1748 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1749 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1750 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1751 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1752 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1753 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1754 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1755 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1756 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1757 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1758 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1759 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1760 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1761 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1762 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1763 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1764 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1765 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1766 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1767 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1768 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1769 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1770 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1771 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1772 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1773 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1774 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1776 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1782 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1783 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1784 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1785 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1786 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1787 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1788 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1789 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1790 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1791 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1792 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1793 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1794 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1795 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1796 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1797 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1798 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1799 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1800 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1801 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1802 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1803 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1804 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1805 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1806 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1807 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1808 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1809 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1810 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1811 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1812 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1813 * sysdeps/posix/closedir.c: Likewise.
1814 * sysdeps/posix/opendir.c: Likewise.
1815 * sysdeps/posix/readdir.c: Likewise.
1816 * sysdeps/posix/rewinddir.c: Likewise.
1817 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1818 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1819 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1820 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1821 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1822 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1823 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1825 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1826 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1828 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1830 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1833 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1834 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1835 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1837 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1839 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1840 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1842 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1844 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1852 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1853 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1854 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1855 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1856 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1857 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1858 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1859 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1860 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1861 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1862 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1863 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1864 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1865 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1866 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1867 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1868 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1869 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1870 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1871 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1872 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1873 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1874 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1875 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1876 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1877 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1878 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1879 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1880 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1881 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1882 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1883 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1884 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1885 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1886 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1887 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1888 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1889 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1890 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1891 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1892 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1893 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1894 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1895 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1896 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1897 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1898 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1899 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1900 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1901 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1902 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1903 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1904 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1905 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1906 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1907 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1908 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1909 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1910 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1911 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1912 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1913 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1914 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1915 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1916 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1917 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1918 * sysdeps/unix/alpha/sysdep.S: Likewise.
1919 * sysdeps/unix/alpha/sysdep.h: Likewise.
1920 * sysdeps/unix/make-syscalls.sh: Likewise.
1921 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1922 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1923 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1924 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1925 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1926 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1927 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1928 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1929 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1930 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1931 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1932 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1933 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1934 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1935 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1936 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1937 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1938 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1939 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1940 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1941 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1942 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1943 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1944 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1945 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1946 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1947 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1950 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1951 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1952 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1953 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1955 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1956 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1957 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1959 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1960 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1961 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1962 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1963 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1964 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1965 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1967 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1968 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1971 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1972 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1973 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1974 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1975 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1977 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1979 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1980 * sysdeps/x86_64/memcpy.S: Likewise.
1981 * sysdeps/x86_64/memmove.c: Likewise.
1982 * sysdeps/x86_64/memset.S: Likewise.
1983 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1984 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1985 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1986 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1987 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1988 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1989 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1990 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1991 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1992 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1993 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1994 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1995 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1996 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1997 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1998 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1999 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2000 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2001 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2002 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2003 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2004 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2005 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2007 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2008 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2009 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2010 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2011 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2012 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2013 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2014 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2015 * sysdeps/x86_64/strcmp.S: Likewise.
2016
76ca86a5
SP
2017 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2018
a3848485
SP
2019 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2020 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2021 * elf/rtld-Rules: Likewise.
2022 * elf/setup-vdso.h: Likewise.
2023 * include/assert.h: Likewise.
2024 * include/bits/stdlib-float.h: Likewise.
2025 * include/errno.h: Likewise.
2026 * include/sys/stat.h: Likewise.
2027 * include/unistd.h: Likewise.
2028 * sysdeps/aarch64/setjmp.S: Likewise.
2029 * sysdeps/alpha/setjmp.S: Likewise.
2030 * sysdeps/arm/__longjmp.S: Likewise.
2031 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2032 * sysdeps/arm/setjmp.S: Likewise.
2033 * sysdeps/arm/sysdep.h: Likewise.
2034 * sysdeps/generic/_itoa.h: Likewise.
2035 * sysdeps/generic/dl-sysdep.h: Likewise.
2036 * sysdeps/generic/ldsodefs.h: Likewise.
2037 * sysdeps/i386/dl-tls.h: Likewise.
2038 * sysdeps/i386/setjmp.S: Likewise.
2039 * sysdeps/m68k/setjmp.c: Likewise.
2040 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2041 * sysdeps/mach/hurd/opendir.c: Likewise.
2042 * sysdeps/posix/getcwd.c: Likewise.
2043 * sysdeps/posix/opendir.c: Likewise.
2044 * sysdeps/posix/profil.c: Likewise.
2045 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2046 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2047 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2049 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2050 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2051 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2052 * sysdeps/s390/dl-tls.h: Likewise.
2053 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2054 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2055 * sysdeps/sh/sh3/setjmp.S: Likewise.
2056 * sysdeps/sh/sh4/setjmp.S: Likewise.
2057 * sysdeps/unix/alpha/sysdep.h: Likewise.
2058 * sysdeps/unix/arm/sysdep.S: Likewise.
2059 * sysdeps/unix/i386/sysdep.S: Likewise.
2060 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2061 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2062 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2063 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2064 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2065 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2066 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2067 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2068 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2069 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2070 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2071 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2072 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2075 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2076 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2078 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2079 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2080 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2081 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2083 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2084 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2085 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2087 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2088 * sysdeps/x86_64/setjmp.S: Likewise.
2089
a109996e
SP
2090 * include/math.h: Use IS_IN instead of IS_IN_libm.
2091 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2103 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2111 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2112 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2113 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2114 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2115 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2116 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2118 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2119 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2120 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2121 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2122 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2123 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2125 Likewise.
2126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2127 Likewise.
2128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2129 Likewise.
2130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2131 Likewise.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2133 Likewise.
2134 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2135 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2136 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2137 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2138 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2139 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2145 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2146 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2147 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2148 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2149 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2150 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2151 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2152 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2153 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2154 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2155 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2156 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2158 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2160 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2161
ce9f10f7
SP
2162 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2163 * nptl/pthreadP.h: Likewise.
2164 * nptl_db/structs.def: Likewise.
2165 * sysdeps/arm/sysdep.h: Likewise.
2166 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2167 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2168 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2169 * sysdeps/unix/alpha/sysdep.h: Likewise.
2170 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2171 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2172 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2173 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2174 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2175 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2176 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2177 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2178 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2179 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2180 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2181 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2182 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2183 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2187 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2188 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2191 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2192 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2193 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2194 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2195 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2196
016afc75
SP
2197 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2198 * nptl/pthreadP.h: Likewise.
2199 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2200 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2201 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2202 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2203 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2204 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2205 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2206 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2207 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2208 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2209 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2210 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2212 Likewise.
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2214 Likewise.
2215 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2216 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2217 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2218 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2220 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2221 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2222 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2223
9b42a0b3
SP
2224 * dlfcn/dladdr.c: Use IS_IN.
2225 * dlfcn/dladdr1.c: Likewise.
2226 * dlfcn/dlclose.c: Likewise.
2227 * dlfcn/dlerror.c: Likewise.
2228 * dlfcn/dlinfo.c: Likewise.
2229 * dlfcn/dlmopen.c: Likewise.
2230 * dlfcn/dlopen.c: Likewise.
2231 * dlfcn/dlsym.c: Likewise.
2232 * dlfcn/dlvsym.c: Likewise.
2233
85f36372
SP
2234 * include/ifaddrs.h: Use IS_IN.
2235 * inet/check_pf.c: Likewise.
2236 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2237 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2238
fb6784e3
SP
2239 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2240 IS_IN_ldconfig.
2241 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2242 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2243
2886d2d1
SP
2244 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2245 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2246 IS_IN (libc).
2247
9a484857
SP
2248 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2249
a10178bd
SP
2250 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2251 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2252 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2253 * include/libc-symbols.h (IS_IN_LIB): New macro.
2254 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2255 * include/netdb.h: Likewise.
2256 * include/stap-probe.h: Remove all uses of IN_LIB.
2257
279bc5b3
SP
2258 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2259 instead of IN_MODULE.
2260 * include/libc-symbols.h (IN_MODULE): Define using
2261 MODULE_NAME.
2262 (PASTE_NAME, PASTE_NAME1): New macros.
2263 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2264 of IN_LIB.
2265 (STAP_PROBE_ASM): Likewise.
2266
e0cfa510
ST
22672014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2268
2269 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2270 __mach_init in dlopened libc.
2271
34d97d87
MF
22722014-11-22 Mike Frysinger <vapier@gentoo.org>
2273
2274 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2275 * sysdeps/arm/preconfigure: Regenerate.
2276
33cd1f74
RM
22772014-11-21 Roland McGrath <roland@hack.frob.com>
2278
2279 * nptl/pthread_create.c (__pthread_create_2_1): Set
2280 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2281 when copying values from IATTR into PD.
2282
8c230039
WN
22832014-11-21 Will Newton <will.newton@linaro.org>
2284 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2285
6d3db89b
AP
2286 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2287 Refactor inline-asm. Also add comment.
2288
01194ba1
WN
2289 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2290 ElfW macro instead of hardcoded Elf64 types.
2291 (la_aarch64_gnu_pltenter): Likewise.
2292 * sysdeps/aarch64/dl-machine.h
2293 (elf_machine_runtime_setup): Use ElfW(Addr).
2294
8c230039
WN
2295 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2296 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2297 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2298 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2299 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2300 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2301 (R_AARCH64_TLS_DTPMOD): This.
2302 (R_AARCH64_TLS_DTPREL64): Rename to ...
2303 (R_AARCH64_TLS_DTPREL): This.
2304 (R_AARCH64_TLS_TPREL64): Rename to ...
2305 (R_AARCH64_TLS_TPREL): This.
2306 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2307 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2308 R_AARCH64_TLS_TPREL64.
2309 (elf_machine_rela): Likewise.
2310
0d79fa53
TR
23112014-11-21 Torvald Riegel <triegel@redhat.com>
2312
2313 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2314 by setting it to 0. 64b atomics are not supported currently.
2315
b59d114b
AO
23162014-11-21 Alexandre Oliva <aoliva@redhat.com>
2317
2318 [BZ #16469]
2319 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2320 search domain names.
2321
f3d945d5
AO
23222014-11-21 Alexandre Oliva <aoliva@redhat.com>
2323
2324 [BZ #16469]
2325 * NEWS: Update.
2326 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2327 trailing dot.
2328 * posix/tst-getaddrinfo5.c: New.
2329 * posix/Makefile (tests): Add it.
2330
49698902
AO
23312014-11-21 Alexandre Oliva <aoliva@redhat.com>
2332
2333 [BZ #14498]
2334 * NEWS: Fixed.
2335 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2336 after parsing line but before break_if_match.
2337 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2338 if there is a protocol mismatch.
2339
81959214
MS
23402014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2341
2342 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2343 because the potential race is on the user-supplied stream.
2344
7729e0e9
AO
23452014-11-21 Alexandre Oliva <aoliva@redhat.com>
2346
2347 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2348 string literal if not passed a buffer.
2349 * manual/job.texi (ctermid): Update reasoning, note deviation
2350 from posix, suggest mtasurace when not passed a buffer, for
2351 future non-preliminary safety notes.
2352
a4ea5e28
AO
23532014-11-21 Alexandre Oliva <aoliva@redhat.com>
2354
2355 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2356 of not passing it a buffer.
2357 Reported by Peng Haitao.
2358
a2b581cb
AO
23592014-11-21 Alexandre Oliva <aoliva@redhat.com>
2360
2361 * manual/Makefile ($(objpfx)stamp-summary): Require
2362 check-safety.sh to pass.
2363 * manual/check-safety.sh: Wish for verification that every
2364 @deftypefn and @deftypefun is followed by a @safety remark.
2365
f214ff74
RM
23662014-11-20 Roland McGrath <roland@hack.frob.com>
2367
7f0dfae0
RM
2368 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2369
2f531bbb
RM
2370 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2371 PTHREAD_CANCEL_ASYNCHRONOUS.
2372 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2373 send SIGCANCEL.
2374
f214ff74
RM
2375 * nptl/default-sched.h: New file.
2376 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2377 * nptl/pthread_create.c: Include it.
2378 (__pthread_create_2_1): Use collect_default_sched instead of making
2379 Linux syscalls here directly.
2380
e37c91d4
TR
23812014-11-20 Torvald Riegel <triegel@redhat.com>
2382
2383 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2384 __pthread_once): Use C11 atomics.
2385
1eccfecd
TR
23862014-11-20 Torvald Riegel <triegel@redhat.com>
2387
2388 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2389
ff871426
TR
23902014-11-20 Torvald Riegel <triegel@redhat.com>
2391
2392 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2393 atomic_thread_fence_acquire, atomic_thread_fence_release,
2394 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2395 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2396 atomic_compare_exchange_weak_relaxed,
2397 atomic_compare_exchange_weak_acquire,
2398 atomic_compare_exchange_weak_release,
2399 atomic_exchange_acquire, atomic_exchange_release,
2400 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2401 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2402 atomic_fetch_and_acquire,
2403 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2404
1ea339b6
TR
24052014-11-20 Torvald Riegel <triegel@redhat.com>
2406
2407 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2408 USE_ATOMIC_COMPILER_BUILTINS): Define.
2409 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2410 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2411 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2412 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2413 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2414 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2415 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2416 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2417 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2418 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2419 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2420 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2421 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2422 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2423 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2424 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2425 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2426 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2427 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2428 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2429 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2430 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2431 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2432 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2433 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2434 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2435 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2436 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2437 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2438 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2439 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2440 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2441 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2442 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2443 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2444 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2445 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2446 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2447 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2448 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2449
cbd463e2
RM
24502014-11-19 Roland McGrath <roland@hack.frob.com>
2451
d960211f
RM
2452 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2453 the sched_priority value here. It was already checked when the user
2454 called pthread_attr_setschedparam.
2455
cbd463e2
RM
2456 * nptl/tst-bad-schedattr.c: New file.
2457 * nptl/Makefile (tests): Add it.
2458
a39208bd
CD
24592014-11-19 Carlos O'Donell <carlos@redhat.com>
2460 Florian Weimer <fweimer@redhat.com>
2461 Joseph Myers <joseph@codesourcery.com>
2462 Adam Conrad <adconrad@0c3.net>
2463 Andreas Schwab <schwab@suse.de>
2464 Brooks <bmoses@google.com>
2465
2466 [BZ #17625]
2467 * wordexp-test.c (__dso_handle): Add prototype.
2468 (__register_atfork): Likewise.
2469 (__app_register_atfork): New function.
2470 (registered_forks): New global.
2471 (register_fork): New function.
2472 (test_case): Add 3 new tests for WRDE_CMDSUB.
2473 (main): Call __app_register_atfork.
2474 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2475 fork count is non-zero fail the test.
2476 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2477 is set.
2478 (parse_dollars): Remove check for WRDE_NOCMD.
2479 (parse_dquote): Likewise.
2480
9cd47470
SP
24812014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2482
130ac68c
SP
2483 * Makeconfig (built-modules): List non-library modules to be
2484 built.
2485 (module-cppflags): Include libc-modules.h for
2486 everything except shlib-versions.v.i.
2487 (CPPFLAGS): Use it.
2488 (before-compile): Add libc-modules.h.
2489 ($(common-objpfx)libc-modules.h,
2490 $(common-objpfx)libc-modules.stmp): New targets.
2491 (common-generated): Add libc-modules.h and libc-modules.stmp.
2492 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2493 * include/libc-symbols.h: Don't include libc-modules.h.
2494 * include/libc-modules.h: Remove file.
2495 * scripts/gen-libc-modules.awk: New script to generate
2496 libc-modules.h.
2497 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2498 Depend on libc-modules.stmp.
2499
286663c3
SP
2500 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2501
9cd47470
SP
2502 * Makeconfig (in-module): Get value of libof set for the
2503 translation unit.
2504 (CPPFLAGS): Use $(in-module).
2505 * Makerules: Don't suffix routine names for nonlib.
2506 * include/libc-modules.h: New file.
2507 * include/libc-symbols.h: Include libc-modules.h
2508 (IS_IN): New macro to replace IS_IN_* macros.
2509 * elf/Makefile: Set libof-* for each routine.
2510 * elf/rtld-Rules: Likewise.
2511 * extra-modules.mk: Likewise.
2512 * iconv/Makefile: Likewise.
2513 * iconvdata/Makefile: Likewise.
2514 * locale/Makefile: Likewise.
2515 * malloc/Makefile: Likewise.
2516 * nss/Makefile: Likewise.
2517 * sysdeps/gnu/Makefile: Likewise.
2518 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2519 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2520 * sysdeps/s390/s390-64/Makefile: Likewise.
2521 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2522 CPPFLAGS for nscd instead of nonlib.
2523
32fed10f
RM
25242014-11-18 Roland McGrath <roland@hack.frob.com>
2525
d71035bd
RM
2526 * nptl/createthread.c: New file.
2527
6540b991
RM
2528 * nptl/createthread.c: Moved ...
2529 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2530
32fed10f
RM
2531 * nptl/createthread.c: Add proper top-line comment.
2532 (do_clone): Folded into ...
2533 (create_thread): ... here. Take new arguments STOPPED_START and
2534 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2535 increment __nptl_threads, do event-reporting logic, do
2536 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2537 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2538 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2539 just send SIGCANCEL.
2540 * nptl/pthread_create.c: Forward-declare create_thread before
2541 including createthread.c.
2542 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2543 declaration, and new macro START_THREAD_SELF to replace argument.
2544 Remove return statement.
2545 (report_thread_creation): New function.
2546 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2547 synchronization logic, and __nptl_nthreads increment here, around
2548 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2549 PD->parent_cancelhandling here, before create_thread. When
2550 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2551 __deallocate_stack, and ENOMEM translation here.
2552
107a5bf0
JM
25532014-11-18 Joseph Myers <joseph@codesourcery.com>
2554
2555 [BZ #17616]
2556 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2557 (mptwo): Rename to __mptwo.
2558 (__inv): Use __mptwo instead of mptwo.
2559 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2560 (mptwo): Rename to __mptwo.
2561 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2562 of mpone and __mptwo instead of mptwo.
2563 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2564 instead of mpone.
2565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2566 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2567 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2568 of mpone and __mptwo instead of mptwo.
2569 (__mpranred): Use __mpone instead of mpone.
2570 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2571 variable.
2572 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2573 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2574 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2575 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2576 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2577 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2578 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2579 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2580 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2581 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2582 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2583 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2584 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2585 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2586 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2587 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2588 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2589 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2590 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2591
3b679ab3
TV
25922014-11-18 Tom de Vries <tom@codesoucery.com>
2593
2594 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2595 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
2596
25972014-11-17 Richard Henderson <rth@redhat.com>
2598
2599 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2600 (_FP_PACK_RAW_2): Remove.
2601 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2602 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2603 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2604 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2605 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2606 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2607 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2608 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2609 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2610 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2611 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2612 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2613 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2614 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2615 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2616 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2617
0781a777
RM
26182014-11-14 Roland McGrath <roland@hack.frob.com>
2619
2620 * signal/signal.h [__USE_MISC]
2621 (struct sigvec): Remove type.
2622 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2623 (sigvec): Remove declaration.
2624 * sysdeps/posix/sigvec.c: Moved ...
2625 * signal/sigvec.c: ... here, replacing old file.
2626 (struct sigvec): New type, copied from old signal.h definition.
2627 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2628 (__sigvec): Convert definition to prototype.
2629 (sigvec): Replace weak_alias with compat_symbol.
2630 * signal/Versions (libc: GLIBC_2.21): New version set.
2631 * include/signal.h: Remove __sigvec declaration.
2632 * sysdeps/unix/bsd/sigvec.c: Remove file.
2633 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2634 * manual/signal.texi (BSD Handler): Remove subsection.
2635 Move siginterrupt up to ...
2636 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2637 (Blocking in BSD): Fold subsection into its parent.
2638 * NEWS: Mention sigvec removal.
2639
a4733812
JM
26402014-11-14 Joseph Myers <joseph@codesourcery.com>
2641
5ae4fe60
JM
2642 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2643 (DLA_FMS): Make definition conditional only on [__FMA4__].
2644 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2645 definition.
2646
6a0dd472
JM
2647 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2648 Make definition conditional only on [PROF].
2649 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2650 definition.
2651 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2652 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2653
a4733812
JM
2654 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2655 !__GNUC__].
2656 * include/signal.h (__sigpause): Move declaration above call to
2657 libc_hidden_proto.
2658 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2659 variable.
2660 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2661 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2662
cf7246dd
DM
26632014-11-14 David S. Miller <davem@davemloft.net>
2664
2665 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2666 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2667
c1b0aadc
JM
26682014-11-14 Joseph Myers <joseph@codesourcery.com>
2669
4863355a
JM
2670 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2671 * configure: Regenerated.
2672 * manual/install.texi (Tools for Compilation): Document a
2673 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2674 compiler verified to work.
2675 * INSTALL: Regenerated.
2676
c1b0aadc
JM
2677 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2678 redeclare with asm name.
2679 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2680 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2681 including <string.h>.
2682 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2683 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2684 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2685 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2686 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2687 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2688 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2689
2a1cfd94
JM
26902014-11-13 Joseph Myers <joseph@codesourcery.com>
2691
bf438382
JM
2692 * stdlib/strtol.c (__strtol): Use prototype definition.
2693
2a1cfd94
JM
2694 [BZ #17594]
2695 * stdlib/strtol.c (SYM__): New macro.
2696 (SYM__1): Likewise.
2697 (__strtol): Likewise.
2698 (strtol): Rename to __strtol and define as weak alias of
2699 __strtol. Use libc_hidden_weak.
2700
20ed0d26
SL
27012014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2702
2703 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2704 Use numbered labels in inline assembly.
2705
53244a4e
SL
27062014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2707
2708 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2709 Add setjmp LIBC_PROBE.
2710 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2711 Likewise.
2712 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2713 Add longjmp, longjmp_target LIBC_PROBE.
2714 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2715 Likewise.
2716
47df8251
SL
27172014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2718
2719 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2720 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2721 to get rid of unused variable warning.
2722
618cebef
SL
27232014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2724
2725 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2726 Check for unwind_backtrace == NULL only in SHARED case.
2727 (__backchain_backtrace): Compile only in SHARED case.
2728 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2729 Likewise.
2730 (__backchain_backtrace): Declare as static.
2731
c6aab2cb
RM
27322014-11-12 Roland McGrath <roland@hack.frob.com>
2733
2734 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2735 (__libc_multiple_threads_ptr): Variable moved ...
2736 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2737
5a6fa4d7
JM
27382014-11-12 Joseph Myers <joseph@codesourcery.com>
2739
24f4f825
JM
2740 * conform/GlibcConform.pm: New file.
2741 * conform/conformtest.pl: Use GlibcConform module.
2742 * conform/linknamespace.pl: New file.
2743 * conform/list-header-symbols.pl: Likewise.
2744 * conform/Makefile (linknamespace-symlists-base): New variable.
2745 (linknamespace-symlists-tests): Likewise.
2746 (linknamespace-header-base): Likewise.
2747 (linknamespace-header-tests): Likewise.
2748 (tests-special): Add new tests.
2749 ($(linknamespace-symlists-tests)): New rule.
2750 (linknamespace-libs): New variable.
2751 ($(objpfx)symlist-stdlibs): New rule.
2752 ($(linknamespace-header-tests)): Likewise.
2753 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2754 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2755 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2756 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2757 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2758 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2759 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2760 (test-xfail-ISO/math.h/linknamespace): Likewise.
2761 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2762 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2763 (test-xfail-ISO/time.h/linknamespace): Likewise.
2764 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2765 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2766 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2767 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2768 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2769 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2770 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2771 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2772 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2773 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2774 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2775 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2776 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2777 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2778 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2779 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2780 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2781 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2782 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2783 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2784 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2785 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2786 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2787 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2788 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2789 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2790 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2791 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2792 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2793 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2794 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2795 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2796 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2797 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2798 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2799 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2800 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2801 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2802 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2803 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2804 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2805 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2806 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2807 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2808 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2809 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2810 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2811 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2812 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2813 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2814 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2815 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2816 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2817 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2818 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2819 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2820 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2821 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2822 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2823 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2824 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2825 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2826 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2827 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2828 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2829 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2830 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2831 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2832 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2833 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2834 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2835 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2836 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2837 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2838 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2839 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2840 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2841 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2842 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2843 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2844 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2845 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2846 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2847 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2848 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2849 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2850 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2851 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2852 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2853 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2854 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2855 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2856 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2857 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2858 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2859 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2860 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2861 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2862 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2863 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2864 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2865 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2866 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2867 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2868 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2869 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2870 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2871 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2872 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2873 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2874 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2875 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2876 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2877 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2878 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2879 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2880 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2881 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2882 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2883 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2884 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2885 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2886 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2887 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2888 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2889 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2890 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2891 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2892 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2893 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2894 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2895 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2896 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2897 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2898 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2899 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2900 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2901 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2902 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2903 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2904 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2905 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2906 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2907 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2908 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2909 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2910 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2911 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2912 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2913 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2914
cc67478e
JM
2915 [BZ #17589]
2916 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2917 of fgets_unlocked.
2918
9975e3d3
JM
2919 [BZ #17585]
2920 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2921 (memmem): Rename to __memmem and define as weak alias of
2922 __memmem. Use libc_hidden_weak.
2923 (__memmem): Use libc_hidden_def.
2924 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2925 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2926 memmem.
2927
c4eae752
JM
2928 [BZ #17582]
2929 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2930 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2931 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2932 and define as weak alias of __fgets_unlocked. Use
2933 libc_hidden_weak.
2934 (__fgets_unlocked): Use libc_hidden_def.
2935 * include/stdio.h (__fgets_unlocked): Declare. Use
2936 libc_hidden_proto.
2937 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2938 __fgets_unlocked instead of fgets_unlocked.
2939 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2940 (GET_NPROCS_CONF_PARSER): Likewise.
2941 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2942 (GET_NPROCS_CONF_PARSER): Likewise.
2943
01cad84e
JM
2944 [BZ #17574]
2945 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2946 weak alias of __wmemset. Use libc_hidden_weak.
2947 (__wmemset): Use libc_hidden_def.
2948 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2949 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2950 of wmemset.
2951
939da411
JM
2952 [BZ #17573]
2953 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2954 with asm name __mempcpy.
2955 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2956
293d9a41
JM
2957 [BZ #17572]
2958 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2959 and define as weak alias of __rawmemchr.
2960 (__rawmemchr): Do not define as strong alias of rawmemchr.
2961
bef8fd60
JM
2962 [BZ #17571]
2963 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2964 alias of __qsort_r.
2965 (qsort): Call __qsort_r instead of qsort_r.
2966 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2967 (__qsort_r): Declare. Call libc_hidden_proto.
2968 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2969 instead of qsort_r.
2970 * nscd/gai.c (__qsort_r): Define to qsort_r.
2971 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2972 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2973 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2974
c52ff39e
JM
2975 [BZ #17570]
2976 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2977 define as weak alias of __malloc_info.
2978
2f5c1b00
JM
2979 [BZ #17584]
2980 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2981 as weak alias of __rewinddir. Don't use libc_hidden_def.
2982 (__rewinddir): Use libc_hidden_def.
2983 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2984 as weak alias of __rewinddir. Don't use libc_hidden_def.
2985 (__rewinddir): Use libc_hidden_def.
2986 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2987 weak alias of __rewinddir. Don't use libc_hidden_def.
2988 (__rewinddir): Use libc_hidden_def.
2989 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2990 (__rewinddir): Use libc_hidden_proto.
2991 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2992 rewinddir.
2993 (__getcwd): Use __rewinddir instead of rewinddir.
2994
5a6fa4d7
JM
2995 [BZ #17583]
2996 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2997 alias of __fileno. Use libc_hidden_weak.
2998 (__fileno): Use libc_hidden_def.
2999 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3000 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3001 alias of __ftello.
3002 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3003 __ftello.
3004 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3005 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3006 libc_hidden_def.
3007 (fread_unlocked): Don't use libc_hidden_ver.
3008 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3009 and define as weak alias of __fread_unlocked. Don't use
3010 libc_hidden_def.
3011 (__fread_unlocked): Use libc_hidden_def.
3012 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3013 (ftello): Don't use libc_hidden_proto.
3014 (__ftello): Declare. Use libc_hidden_proto.
3015 (fread_unlocked): Don't use libc_hidden_proto.
3016 (__fread_unlocked): Declare. Use libc_hidden_proto.
3017 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3018 and __ftello instead of fileno, fread_unlocked and ftello.
3019
2581b98e
SP
30202012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3021
3022 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3023 GOT12.
3024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3025 Likewise.
3026 (_dl_start_user): Likewise.
3027 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3028
533bb7c2
SP
30292014-11-12 Carlos O'Donell <carlos@redhat.com>
3030 Siddhesh Poyarekar <siddhesh@redhat.com>
3031
3032 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3033 Move argv and envp down instead of moving argc up.
3034 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3035
fffa1cf8
LH
30362014-11-12 Leonhard Holz <leonhard.holz@web.de>
3037
3038 [BZ #17506]
3039 * test-skeleton.c (main): Return successful if one of
3040 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3041 * string/tst-strcoll-overflow.c: Define expected status.
3042
fb89b46d
TU
30432014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3044
3045 [BZ #17475]
3046 * locale/iso-639.def: Define Bhili and Tulu language codes.
3047
5c40c3ba
AH
30482014-11-11 Alan Hayward <alan.hayward@arm.com>
3049
3050 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3051
b17fe01b 30522014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
3053
3054 [BZ #17555]
3055 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3056
bd805071
AS
30572014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3058
3059 * configure.ac: Updated check of minimal required version to
3060 2.22.
3061 * manual/install.texi (Tools for Compilation): Updated version
3062 number.
3063 * configure: Regenerated.
3064 * INSTALL: Likewise.
3065
1400983e
AS
30662014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3067
3068 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3069 __tls_get_addr.
3070
2c46a66a
JM
30712014-11-07 Joseph Myers <joseph@codesourcery.com>
3072
3073 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3074 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3075 (__waitpid): Don't define as alias. Use libc_hidden_def not
3076 libc_hidden_weak.
3077 (waitpid): Define as alias of __waitpid.
3078 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3079 __waitpid.
3080 (__waitpid): Don't define as alias. Use libc_hidden_def not
3081 libc_hidden_weak.
3082 (waitpid): Define as alias of __waitpid.
3083 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3084 __libc_waitpid alias.
3085 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3087 Likewise.
3088 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3089 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3090 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3091 alias.
3092 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3093 __waitpid.
3094 (__waitpid): Don't define as alias. Use libc_hidden_def not
3095 libc_hidden_weak.
3096 (waitpid): Define as alias of __waitpid.
3097
da53d6db
CD
30982014-11-06 Carlos O'Donell <carlos@redhat.com>
3099
a2887bdb
CD
3100 * manual/llio.texi: Add comment that write safety has been
3101 fixed in Linux.
3102
da53d6db
CD
3103 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3104 (localplt-build-dso): Add elf/ld.so.
3105 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3106 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3107 and free for ld.so.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3109 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3111 Likewise.
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3113 Likewise.
3114 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3115 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3116 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3117 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3118 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3119 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3120 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3121 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3122 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3123 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3124 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3125
9cf27b8d
JM
31262014-11-05 Joseph Myers <joseph@codesourcery.com>
3127
3128 [BZ #14132]
3129 * include/libc-symbols.h (INTUSE): Remove macro.
3130 (INTDEF): Likewise.
3131 (INTVARDEF): Likewise.
3132 (_INTVARDEF): Likewise.
3133 (INTDEF2): Likewise.
3134 (INTVARDEF2): Likewise.
3135 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3136 rtld_hidden_def instead of INTVARDEF.
3137 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3138 (_dl_starting_up_internal): Remove declaration.
3139 (_dl_starting_up): Use rtld_hidden_proto.
3140 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3141 declaration.
3142 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3143 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3144 _dl_starting_up.
3145 * elf/dl-writev.h (_dl_writev): Likewise.
3146 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3147 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3148 _dl_starting_up_internal.
3149
af83568d
AZ
31502014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3151
3152 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3153 test-skeleton.c.
3154
b01ee67c
WN
31552014-11-05 Will Newton <will.newton@linaro.org>
3156
3157 * benchtests/Makefile: (bench-malloc): Add malloc thread
3158 scalability benchmark.
3159 * benchtests/bench-malloc-threads.c: New file.
3160
be9d4ccc
RE
31612014-11-05 Richard Earnshaw <rearnsha@arm.com>
3162
3163 * sysdeps/aarch64/strchrnul.S: New file.
3164
7110166d
AZ
31652014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3166
3167 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3168 definition.
3169 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3170 Likwise.
3171 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3172 Likewise.
3173 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3174 Likewise.
3175 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3176 Likewise.
3177 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3178 Likewise.
3179
31802014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
3181
3182 * catgets/test-gencat.c: Use test-skeleton.c.
3183 * catgets/tst-catgets.c: Likewise.
3184 * csu/tst-empty.c: Likewise.
3185 * elf/tst-audit2.c: Likewise.
3186 * elf/tst-global1.c: Likewise.
3187 * elf/tst-pathopt.c: Likewise.
3188 * elf/tst-piemod1.c: Likewise.
3189 * elf/tst-tls10.c: Likewise.
3190 * elf/tst-tls11.c: Likewise.
3191 * elf/tst-tls12.c: Likewise.
3192 * gnulib/tst-gcc.c: Likewise.
3193 * iconvdata/tst-e2big.c: Likewise.
3194 * iconvdata/tst-loading.c: Likewise.
3195 * iconv/tst-iconv1.c: Likewise.
3196 * iconv/tst-iconv2.c: Likewise.
3197 * inet/test-inet6_opt.c: Likewise.
3198 * inet/tst-gethnm.c: Likewise.
3199 * inet/tst-network.c: Likewise.
3200 * inet/tst-ntoa.c: Likewise.
3201 * intl/tst-codeset.c: Likewise.
3202 * intl/tst-gettext2.c: Likewise.
3203 * intl/tst-gettext3.c: Likewise.
3204 * intl/tst-ngettext.c: Likewise.
3205 * intl/tst-translit.c: Likewise.
3206 * io/test-stat.c: Likewise.
3207 * libio/test-fmemopen.c: Likewise.
3208 * libio/tst-freopen.c: Likewise.
3209 * libio/tst-sscanf.c: Likewise.
3210 * libio/tst-ungetwc1.c: Likewise.
3211 * libio/tst-ungetwc2.c: Likewise.
3212 * libio/tst-widetext.c: Likewise.
3213 * localedata/tst-ctype.c: Likewise.
3214 * localedata/tst-digits.c: Likewise.
3215 * localedata/tst-leaks.c: Likewise.
3216 * localedata/tst-mbswcs1.c: Likewise.
3217 * localedata/tst-mbswcs2.c: Likewise.
3218 * localedata/tst-mbswcs3.c: Likewise.
3219 * localedata/tst-mbswcs4.c: Likewise.
3220 * localedata/tst-mbswcs5.c: Likewise.
3221 * localedata/tst-setlocale.c: Likewise.
3222 * localedata/tst-trans.c: Likewise.
3223 * localedata/tst-wctype.c: Likewise.
3224 * localedata/tst-xlocale1.c: Likewise.
3225 * login/tst-grantpt.c: Likewise.
3226 * malloc/tst-calloc.c: Likewise.
3227 * malloc/tst-malloc.c: Likewise.
3228 * malloc/tst-mallocstate.c: Likewise.
3229 * malloc/tst-mcheck.c: Likewise.
3230 * malloc/tst-mtrace.c: Likewise.
3231 * malloc/tst-obstack.c: Likewise.
3232 * math/atest-exp2.c: Likewise.
3233 * math/atest-exp.c: Likewise.
3234 * math/atest-sincos.c: Likewise.
3235 * math/test-matherr.c: Likewise.
3236 * math/test-misc.c: Likewise.
3237 * math/test-powl.c: Likewise.
3238 * math/tst-definitions.c: Likewise.
3239 * misc/tst-dirname.c: Likewise.
3240 * misc/tst-efgcvt.c: Likewise.
3241 * misc/tst-fdset.c: Likewise.
3242 * misc/tst-hsearch.c: Likewise.
3243 * misc/tst-mntent2.c: Likewise.
3244 * nptl/tst-sem7.c: Likewise.
3245 * nptl/tst-sem8.c: Likewise.
3246 * nptl/tst-sem9.c: Likewise.
3247 * nss/test-netdb.c: Likewise.
3248 * posix/tst-fnmatch.c: Likewise.
3249 * posix/tst-getlogin.c: Likewise.
3250 * posix/tst-gnuglob.c: Likewise.
3251 * posix/tst-mmap.c: Likewise.
3252 * pwd/tst-getpw.c: Likewise.
3253 * resolv/tst-inet_ntop.c: Likewise.
3254 * rt/tst-timer.c: Likewise.
3255 * stdio-common/test-fseek.c: Likewise.
3256 * stdio-common/test-popen.c: Likewise.
3257 * stdio-common/test-vfprintf.c: Likewise.
3258 * stdio-common/tst-cookie.c: Likewise.
3259 * stdio-common/tst-fileno.c: Likewise.
3260 * stdio-common/tst-gets.c: Likewise.
3261 * stdio-common/tst-obprintf.c: Likewise.
3262 * stdio-common/tst-perror.c: Likewise.
3263 * stdio-common/tst-sprintf2.c: Likewise.
3264 * stdio-common/tst-sprintf3.c: Likewise.
3265 * stdio-common/tst-sprintf.c: Likewise.
3266 * stdio-common/tst-swprintf.c: Likewise.
3267 * stdio-common/tst-tmpnam.c: Likewise.
3268 * stdio-common/tst-unbputc.c: Likewise.
3269 * stdio-common/tst-wc-printf.c: Likewise.
3270 * stdlib/tst-environ.c: Likewise.
3271 * stdlib/tst-fmtmsg.c: Likewise.
3272 * stdlib/tst-limits.c: Likewise.
3273 * stdlib/tst-rand48-2.c: Likewise.
3274 * stdlib/tst-rand48.c: Likewise.
3275 * stdlib/tst-random2.c: Likewise.
3276 * stdlib/tst-random.c: Likewise.
3277 * stdlib/tst-strtol.c: Likewise.
3278 * stdlib/tst-strtoll.c: Likewise.
3279 * stdlib/tst-tls-atexit.c: Likewise.
3280 * stdlib/tst-xpg-basename.c: Likewise.
3281 * string/test-ffs.c: Likewise.
3282 * string/tst-bswap.c: Likewise.
3283 * string/tst-inlcall.c: Likewise.
3284 * string/tst-strtok.c: Likewise.
3285 * string/tst-strxfrm.c: Likewise.
3286 * sysdeps/x86_64/tst-audit10.c: Likewise.
3287 * sysdeps/x86_64/tst-audit3.c: Likewise.
3288 * sysdeps/x86_64/tst-audit4.c: Likewise.
3289 * sysdeps/x86_64/tst-audit5.c: Likewise.
3290 * time/tst-ftime_l.c: Likewise.
3291 * time/tst-getdate.c: Likewise.
3292 * time/tst-mktime3.c: Likewise.
3293 * time/tst-mktime.c: Likewise.
3294 * time/tst-posixtz.c: Likewise.
3295 * time/tst-strptime2.c: Likewise.
3296 * time/tst-strptime3.c: Likewise.
3297 * wcsmbs/tst-btowc.c: Likewise.
3298 * wcsmbs/tst-mbrtowc.c: Likewise.
3299 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3300 * wcsmbs/tst-wchar-h.c: Likewise.
3301 * wcsmbs/tst-wcpncpy.c: Likewise.
3302 * wcsmbs/tst-wcrtomb.c: Likewise.
3303 * wcsmbs/tst-wcsnlen.c: Likewise.
3304 * wcsmbs/tst-wcstof.c: Likewise.
3305
2004e7fb
JM
33062014-11-04 Joseph Myers <joseph@codesourcery.com>
3307
ab97ee8f
JM
3308 [BZ #14132]
3309 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3310 INTDEF.
3311 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3312 declaration.
3313 (_dl_mcount): Use rtld_hidden_proto.
3314 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3315 _dl_mcount.
3316 * elf/rtld.c (_rtld_global_ro): Likewise.
3317
c5684fdb
JM
3318 [BZ #14132]
3319 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3320 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3321 of _dl_init_internal.
3322 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3323 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3324 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3325 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3326 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3327 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3328 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3329 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3330 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3331 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3332 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3333 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3334 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3335 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3336 * sysdeps/tile/dl-start.S (_start): Likewise.
3337 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3338 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3339
4243cbea
JM
3340 [BZ #14132]
3341 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3342 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3343 (rtld_progname): Make macro definition unconditional.
3344 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3345 INTDEF.
3346 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3347 (dl_main): Likewise.
3348 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3349 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3350 instead of _dl_argv_internal.
3351 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3352 __GI__dl_argv instead of INTUSE(_dl_argv).
3353 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3354 __GI__dl_argv instead of _dl_argv_internal.
3355
2004e7fb
JM
3356 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3357 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3358 macro.
3359 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3360 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3361 New macro.
3362 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3363 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3364 macro.
3365 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3366 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3367
97827bfc
AS
33682014-11-04 Andreas Schwab <schwab@suse.de>
3369
3370 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3371
5e4df284
AZ
33722014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3373
3374 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3375 mtvsrd instruction in binary form.
3376
04b76b5a
AS
33772014-11-03 Andreas Schwab <schwab@suse.de>
3378
3379 [BZ #17522]
3380 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3381 for less than MB_LEN_MAX use a local buffer of that size.
3382 * libio/tst-fputws.c: New file.
3383 * libio/Makefile (tests): Add tst-fputws.
3384
4c6da7da
JM
33852014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3386
3387 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3388 the size of the fpu_fr.fpu_dregs[] array.
3389
1679ba8e
JM
33902014-11-01 Joseph Myers <joseph@codesourcery.com>
3391
3392 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3393 (__nanosleep): Do not define as alias.
3394 (nanosleep): Define as alias of __nanosleep.
3395 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3396 __libc_nanosleep name.
3397
2626c183
JM
33982014-10-31 Joseph Myers <joseph@codesourcery.com>
3399
3400 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3401 install.texi in comment.
3402
7f981fc2
TR
34032014-10-31 Torvald Riegel <triegel@redhat.com>
3404
3405 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3406 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3407 ... add here and use lwsync or sync ...
3408 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3409 ... and add here using lwsync.
3410
d6f373d2
MF
34112014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3412
3413 * elf/dl-machine-reject-phdr.h: New file.
3414 * elf/dl-load.c: #include that.
3415 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3416 if that returned true.
3417
67c37987
RM
34182014-10-31 Roland McGrath <roland@hack.frob.com>
3419
3420 [BZ #17496]
3421 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3422 gen-as-const-headers chunk. Add a big scare comment after the last
3423 safe place to touch before-compile.
3424
94a42455 34252014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 3426
f3f5d895
JM
3427 * manual/install.texi (Tools for Compilation): Update autoconf
3428 version requirements.
3429 * INSTALL: Regenerated.
3430
f62ff286
JM
3431 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3432 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3433 (__libc_pselect): Likewise.
94a42455
JM
3434
3435 [BZ #14138]
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3440
ff9dbdc0
TR
34412014-10-31 Torvald Riegel <triegel@redhat.com>
3442
3443 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3444 correct barrier instruction.
3445 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3446 Likewise.
3447 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3448 Likewise.
3449
b4f66884
RM
34502014-10-30 Roland McGrath <roland@hack.frob.com>
3451
3452 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3453 after defining inlines. Instead, just use parens to defeat macro
3454 expansion of __isctype in its declaration.
3455
e19c95fd
JM
34562014-10-30 Joseph Myers <joseph@codesourcery.com>
3457
3458 * include/sys/uio.h (__libc_readv): Remove declaration.
3459 (__libc_writev): Likewise.
3460 * misc/readv.c (__libc_readv): Rename to __readv.
3461 (__readv): Do not define as alias.
3462 (readv): Define as alias of __readv.
3463 * misc/writev.c (__libc_writev): Rename to __writev.
3464 (__writev): Do not define as alias.
3465 (writev): Define as alias of __writev.
3466 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3467 (__readv): Do not define as alias.
3468 (readv): Define unconditionally as alias of __readv.
3469 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3470 (__writev): Do not define as alias.
3471 (writev): Define unconditionally as alias of __writev.
3472 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3473 name.
3474 (writev): Do not define __libc_writev name.
3475
65b00b6c
RM
34762014-10-30 Roland McGrath <roland@hack.frob.com>
3477
3478 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3479 (convert_charseq): New function, broken out of ...
3480 (use_from_charmap): ... here. Call it.
3481 (use_to_charmap): Use convert_charseq and free instead of duplicating
3482 its code with a variable-length stack struct.
3483
d4e157aa
JM
34842014-10-30 Joseph Myers <joseph@codesourcery.com>
3485
3486 * include/fcntl.h (__libc_creat): Remove declaration.
3487 * io/creat.c (__libc_creat): Rename to creat.
3488 (creat): Do not define as alias.
3489 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3490 of creat instead of __libc_creat.
3491 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3492 to creat.
3493 (creat): Do not define as alias.
3494 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3495 __libc_creat.
3496 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3497 __libc_creat name.
3498 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3499 Likewise.
3500
0c6891a0
CD
35012014-10-29 Carlos O'Donell <carlos@redhat.com>
3502
3503 * manual/llio.texi: Add comments discussing why write() may be
3504 considered MT-unsafe on Linux.
3505
cc00cece
CD
35062014-10-28 Carlos O'Donell <carlos@redhat.com>
3507
3508 * dl-load.c (local_strdup): Remove.
3509 (expand_dynamic_string_token): Use __strdup.
3510 (decompose_rpath): Likewise.
3511 (_dl_map_object): Likewise.
3512
51e623f2
JM
35132014-10-28 Joseph Myers <joseph@codesourcery.com>
3514
3515 [BZ #14132]
3516 * sysdeps/generic/unwind-dw2-fde.c
3517 (__register_frame_info_bases_internal): Do not declare.
3518 (__register_frame_info_table_bases_internal): Likewise.
3519 (__deregister_frame_info_bases_internal): Likewise.
3520 (__register_frame_info_bases): Declare and use hidden_proto before
3521 definition. Use hidden_def instead of INTDEF.
3522 (__register_frame_info_table_bases): Likewise.
3523 (__deregister_frame_info_bases): Likewise.
3524 (__register_frame_info): Do not use INTUSE.
3525 (__register_frame): Likewise.
3526 (__register_frame_info_table): Likewise.
3527 (__register_frame_table): Likewise.
3528 (__deregister_frame_info): Likewise.
3529 (__deregister_frame): Likewise.
3530
03d41216
GC
35312014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3532
3533 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3534 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3535 not undefine.
3536 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3537 Likewise.
3538 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3539 Likewise.
3540
a4b3624d
JM
35412014-10-27 Joseph Myers <joseph@codesourcery.com>
3542
3543 [BZ #14138]
3544 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3545 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3546 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3547 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3548 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3549 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3550 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3551 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3552 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3553 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3555 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3556 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3557 syscall.
3558 (setfsuid): Likewise.
3559 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3560 (setfsuid): Likewise.
3561 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3562 (setfsuid): Likewise.
3563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3564 Likewise.
3565 (setfsuid): Likewise.
3566 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3567 (setfsuid): Likewise.
3568 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3569 Likewise.
3570 (setfsuid): Likewise.
3571
3574f2fd
AS
35722014-10-27 Andreas Schwab <schwab@suse.de>
3573
3574 [BZ #17501]
3575 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3576 check for Slow_SSE4_2 feature bit.
3577 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3578 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3579 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3580 Likewise. Fix check for Fast_Unaligned_Load feature bit.
3581
70996a37
RM
35822014-10-24 Roland McGrath <roland@hack.frob.com>
3583
461a7b1e
RM
3584 * configure.ac: Validate compiler version with a empirical test of
3585 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3586 $CC -v output.
3587 * configure: Regenerated.
3588
70996a37
RM
3589 * inet/htons.c (htons): Prototypify.
3590 * inet/htonl.c (htonl): Likewise.
3591
e80514b5
WD
35922014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3593
3594 * string/strncat.c (strncat): Improve performance by using strlen.
3595
6e46de42
WD
35962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3597
3598 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3599
6a9ad2fa
WD
36002014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3601
3602 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3603 Call libc_fetestexcept_aarch64.
3604
1c8810ed
WD
36052014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3606
3607 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3608 Call libc_feholdexcept_aarch64.
3609
8b1af712
WD
36102014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3611
3612 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3613 Call get_rounding_mode.
3614
a7b00c11
WD
36152014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3616
3617 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3618 Simplify logic.
3619
3a84f1a6
WD
36202014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3621
3622 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3623 Simplify logic.
3624
48eb7a94
JM
36252014-10-24 Joseph Myers <joseph@codesourcery.com>
3626
c8bc4038
JM
3627 [BZ #14138]
3628 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3629 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3630 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3631 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3632 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3633 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3634 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3635 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3636 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3637 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3638 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3639 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3640 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3641 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3642 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3643 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3644 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3645 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3646 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3647 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3648 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3649 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3650 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3651 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3652 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3653 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3654 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3655 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3656 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3657 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3658 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3659 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3660 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3661 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3662 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3663 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3664 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3665 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3666 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3667 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3668 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3669 syscall.
3670 (geteuid): Likewise.
3671 (getgid): Likewise.
3672 (getuid): Likewise.
3673 (getresgid): Likewise.
3674 (getresuid): Likewise.
3675 (getgroups): Likewise.
3676 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3677 (geteuid): Likewise.
3678 (getgid): Likewise.
3679 (getuid): Likewise.
3680 (getresgid): Likewise.
3681 (getresuid): Likewise.
3682 (getgroups): Likewise.
3683 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3684 (geteuid): Likewise.
3685 (getgid): Likewise.
3686 (getuid): Likewise.
3687 (getresgid): Likewise.
3688 (getresuid): Likewise.
3689 (getgroups): Likewise.
3690 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3691 Likewise.
3692 (geteuid): Likewise.
3693 (getgid): Likewise.
3694 (getuid): Likewise.
3695 (getresgid): Likewise.
3696 (getresuid): Likewise.
3697 (getgroups): Likewise.
3698 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3699 (geteuid): Likewise.
3700 (getgid): Likewise.
3701 (getuid): Likewise.
3702 (getresgid): Likewise.
3703 (getresuid): Likewise.
3704 (getgroups): Likewise.
3705 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3706 Likewise.
3707 (geteuid): Likewise.
3708 (getgid): Likewise.
3709 (getuid): Likewise.
3710 (getgroups): Likewise.
3711
48eb7a94
JM
3712 [BZ #14138]
3713 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3714 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3715 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3716 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3717 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3718 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3719 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3720 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3721 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3722 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3723 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3724 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3725 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3726 __chown.
3727 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3728 (lchown): Likewise.
3729 (fchown): Likewise.
3730 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3731 Likewise.
3732 (lchown): Likewise.
3733 (fchown): Likewise.
3734 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3735 (lchown): Likewise.
3736 (fchown): Likewise.
3737 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3738 Likewise.
3739 (lchown): Likewise.
3740 (fchown): Likewise.
3741
ea9a7c8b
WD
37422014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3743
3744 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3745 Simplify logic.
3746
e226de33
WD
37472014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3748
3749 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3750 Cleanup logic.
3751
6e3d8ed3
WD
37522014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3753
3754 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3755 Remove unused include.
3756
eb04247d
WD
37572014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3758
3759 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3760 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3761 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3762 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3763
13d84554
CD
37642014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3765 Helge Deller <deller@gmx.de>
3766
3767 [BZ #17508]
3768 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3769 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3770 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3771
15f9c5df
JM
37722014-10-23 Joseph Myers <joseph@codesourcery.com>
3773
3774 [BZ #14132]
3775 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3776 Remove macro definition.
3777 (__ashrdi3_v_glibc20): Likewise.
3778 (__lshrdi3_v_glibc20): Likewise.
3779 (__cmpdi2_v_glibc20): Likewise.
3780 (__ucmpdi2_v_glibc20): Likewise.
3781 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3782 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3783 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3784 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3785 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3786 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3787
c6dfed24
RM
37882014-10-22 Roland McGrath <roland@hack.frob.com>
3789
3790 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3791 old GNU extension [0] syntax.
3792 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3793 alloca rather than an array member with variable length.
3794 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3795 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3796 (parse_opt): ... here. Likewise use alloca there.
3797 Validate the -i argument before checking for rootness.
3798 (send_shutdown): New function, broken out of ...
3799 (parse_opt): ... here.
3800
8c2b1ed8
RM
38012014-10-22 Roland McGrath <roland@hack.frob.com>
3802
3803 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3804 macro to get at the _rt_local_ro field.
3805 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3806 ([PIC] case) or _dl_hwcap ([!PIC] case).
3807 * sysdeps/arm/setjmp.S: Likewise.
3808
3809 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3810 * sysdeps/arm/configure.ac: New check to define it.
3811 * sysdeps/arm/configure: Regenerated.
3812 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3813 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3814 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3815 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3816 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3817 Use move/movt pair instead of a load.
3818 (LDST_GLOBAL): Macro removed.
3819 (LDR_GLOBAL): New macro replaces it.
3820 (LDR_HIDDEN): New macro.
3821 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3822 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3823
3824 * setjmp/tst-setjmp-static.c: New file.
3825 * setjmp/Makefile (tests): Add it.
3826 (tests-static): New variable.
3827
b5af9297
MR
38282014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3829
3830 [BZ #17485]
3831 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3832
a13d0d74
JM
38332014-10-21 Joseph Myers <joseph@codesourcery.com>
3834
3835 [BZ #14132]
3836 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3837
f05e73f6
RM
38382014-10-21 Roland McGrath <roland@hack.frob.com>
3839
3840 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3841
6ab1d1ea
RM
38422014-10-20 Roland McGrath <roland@hack.frob.com>
3843
3844 * io/fts.c (dirent_not_directory): New function.
3845 (fts_build): Call it.
3846
ab49e763
RM
38472014-10-20 Roland McGrath <roland@hack.frob.com>
3848
e436eb79
RM
3849 * nptl/version.c (__nptl_main): Use normal __write rather than
3850 INTERNAL_SYSCALL.
3851 (banner): Update copyright years.
3852
6af246cf
RM
3853 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3854 gettimeofday.
3855 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3856 * nptl/pthread_cond_timedwait.c: Likewise.
3857 * nptl/pthread_mutex_timedlock.c: Likewise.
3858 * nptl/sem_timedwait.c: Likewise.
3859
ab49e763
RM
3860 * sysdeps/nptl/bits/libc-lock.h
3861 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3862 (__libc_lock_init_recursive): Return void, not 0.
3863 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3864 (__libc_rwlock_init): Likewise.
3865 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3866
f50277c1
TR
38672014-10-20 Torvald Riegel <triegel@redhat.com>
3868
3869 [BZ #15215]
3870 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3871 (__pthread_once_slow): ... here.
3872 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3873 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3874
63668b70
TR
38752014-10-20 Torvald Riegel <triegel@redhat.com>
3876
3877 [BZ #15215]
3878 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3879 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3880 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3881 * nptl/pthread_once.c (__pthread_once): Likewise.
3882 Update comments.
3883
42b7f5d4
JM
38842014-10-20 Joseph Myers <joseph@codesourcery.com>
3885
3886 [BZ #14138]
3887 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3888 name.
3889 (writev): Use __libc_writev as strong name.
3890 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3891 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3892
b0643088
RM
38932014-10-17 Roland McGrath <roland@hack.frob.com>
3894
114c4e09
RM
3895 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3896
674b8978
RM
3897 * sysdeps/i386/nptl/tls.h
3898 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3899 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3900 New macros.
3901 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3902 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3903 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3904 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3905 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3906 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3907
184ee940
RM
3908 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3909 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3910 on [__NR_futex].
3911 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3912 broken out of ...
3913 (__pthread_mutex_init): ... here. Call it.
3914 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3915 Conditionalize PI cases on [__NR_futex].
3916 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3917 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3918 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3919
327ae257
RM
3920 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3921 conditional on [SIGSETXID].
3922 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3923 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3924 is defined. Likewise for SIGSETXID.
3925 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3926 Conditionalize definitions on [SIGSETXID].
3927 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3928 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3929 unblocking on [SIGCANCEL].
3930
b0643088
RM
3931 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3932 [__NR_set_robust_list].
3933
33cc770b
SP
39342014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3935
3936 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3937 (do_compare): Likewise.
3938
0742aef6
LH
39392014-10-17 Leonhard Holz <leonhard.holz@web.de>
3940
3941 [BZ #15884]
3942 * string/strcoll_l.c: Don't include stdio.h.
3943 (coll_seq): Remove members idxarr and rulearr.
3944 (get_next_seq_cached): Remove function.
3945 (get_next_seq): Likewise.
3946 (get_next_seq_nocache): Rename to get_next_seq.
3947 (do_compare): Remove function.
3948 (do_compare_nocache): Rename to do_compare.
3949 (STRCOLL): Remove weight and rules cache.
3950
ee54ce44
RM
39512014-10-16 Roland McGrath <roland@hack.frob.com>
3952
3953 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3954 * sysdeps/arm/sfp-machine.h: ... to here.
3955 * sysdeps/arm/Implies: Remove arm/soft-fp.
3956
a75d3b02
JM
39572014-10-14 Joseph Myers <joseph@codesourcery.com>
3958
3959 * conform/data/sys/utsname.h-data (*_t): Allow.
3960 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3961 [POSIX] (WEXITED): Do not expect constant.
3962 [POSIX] (WSTOPPED): Likewise.
3963 [POSIX] (WNOHANG): Likewise.
3964 [POSIX] (WNOWAIT): Likewise.
3965 [POSIX] (siginfo_t): Do not expect type or elements.
3966 [POSIX] (pid_t): Do not expect type.
3967 [POSIX] (signal.h): Do not allow header.
3968 [POSIX] (sys/resource.h): Likewise.
3969 [POSIX] (si_*): Do not allow pattern.
3970 [POSIX] (W*): Likewise.
3971 [POSIX] (P_*): Likewise.
3972 [POSIX] (BUS_*): Likewise.
3973 [POSIX] (CLD_*): Likewise.
3974 [POSIX] (FPE_*): Likewise.
3975 [POSIX] (ILL_*): Likewise.
3976 [POSIX] (POLL_*): Likewise.
3977 [POSIX] (SEGV_*): Likewise.
3978 [POSIX] (SI_*): Likewise.
3979 [POSIX] (TRAP_*): Likewise.
3980 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3981 variable.
3982
fda389c8
SP
39832014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3984
3985 [BZ #12926]
3986 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3987 infinite loop when __recvmsg returns 0.
3988
6bc6bd3b
JM
39892014-10-10 Joseph Myers <joseph@codesourcery.com>
3990
fcb32af1
JM
3991 * CANCEL-FCT-WAIVE: Remove file.
3992 * CANCEL-FILE-WAIVE: Likewise.
3993
6bc6bd3b
JM
3994 [BZ #14132]
3995 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3996 instead of INTVARDEF.
3997 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3998 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3999 rtld_hidden_data_def instead of INTVARDEF.
4000 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4001 * elf/dl-deps.c (expand_dst): Likewise.
4002 * elf/dl-load.c (_dl_dst_count): Likewise.
4003 (_dl_dst_substitute): Likewise.
4004 (decompose_rpath): Likewise.
4005 (_dl_init_paths): Likewise.
4006 (open_path): Likewise.
4007 (_dl_map_object): Likewise.
4008 * elf/rtld.c (dl_main): Likewise.
4009 (process_dl_audit): Likewise.
4010 (process_envvars): Likewise.
4011 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4012 Remove declaration.
4013 (__libc_enable_secure): Use rtld_hidden_proto.
4014
b8c80a7e
KS
40152014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4016
4017 * elf/dl-load.c
4018 (add_path): New function broken out of _dl_rtld_di_serinfo.
4019 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4020
ff12c11f
JM
40212014-10-09 Joseph Myers <joseph@codesourcery.com>
4022
5c0508a3
JM
4023 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4024 parentheses around macro arguments.
4025 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4026 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4027 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4028 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4029 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4030 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4031 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4032 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4033 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4034 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4035 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4036 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4037 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4038 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4039 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4040 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4041 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4042 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4043 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4044 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4045 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4046 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4047 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4048 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4049 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4050 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4051 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4052 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4053 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4054 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4055 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4056 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4057 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4058 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4059 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4060 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4061 Likewise.
4062 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4063 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4064 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4065 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4066 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4067 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4068 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4069 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4070 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4071 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4072 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4073 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4074 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4075 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4076 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4077 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4078 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4079 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4080 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4081 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4082 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4083 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4084 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4085 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4086 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4087 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4088 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4089 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4090 (_FP_FRAC_SRS_1): Likewise.
4091 (_FP_FRAC_CLZ_1): Likewise.
4092 (_FP_MUL_MEAT_1_imm): Likewise.
4093 (_FP_MUL_MEAT_1_wide): Likewise.
4094 (_FP_MUL_MEAT_1_hard): Likewise.
4095 (_FP_SQRT_MEAT_1): Likewise.
4096 (_FP_FRAC_ASSEMBLE_1): Likewise.
4097 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4098 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4099 (__FP_CLZ_2): Likewise.
4100 (_FP_MUL_MEAT_2_wide): Likewise.
4101 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4102 (_FP_MUL_MEAT_2_gmp): Likewise.
4103 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4104 (_FP_SQRT_MEAT_2): Likewise.
4105 (_FP_FRAC_ASSEMBLE_2): Likewise.
4106 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4107 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4108 (_FP_FRAC_CLZ_4): Likewise.
4109 (_FP_MUL_MEAT_4_wide): Likewise.
4110 (_FP_MUL_MEAT_4_gmp): Likewise.
4111 (_FP_SQRT_MEAT_4): Likewise.
4112 (_FP_FRAC_ASSEMBLE_4): Likewise.
4113 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4114 * soft-fp/op-common.h (_FP_CMP): Likewise.
4115 (_FP_CMP_EQ): Likewise.
4116 (_FP_CMP_UNORD): Likewise.
4117 (_FP_TO_INT): Likewise.
4118 (_FP_FROM_INT): Likewise.
4119 [!__FP_CLZ] (__FP_CLZ): Likewise.
4120 (_FP_DIV_HELP_imm): Likewise.
4121 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4122 Likewise.
4123 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4124 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4125 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4126 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4127 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4128 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4129 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4130 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4131 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4132 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4133 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4134 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4135 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4136 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4137 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4138 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4139 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4140 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4141 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4142 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4143 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4144 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4145 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4146 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4147 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4148 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4149 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4150 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4151 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4152 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4153 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4154 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4155 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4156 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4157 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4158 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4159 (FP_UNPACK_RAW_SP): Likewise.
4160 (FP_PACK_RAW_S): Likewise.
4161 (FP_PACK_RAW_SP): Likewise.
4162 (FP_UNPACK_S): Likewise.
4163 (FP_UNPACK_SP): Likewise.
4164 (FP_UNPACK_SEMIRAW_S): Likewise.
4165 (FP_UNPACK_SEMIRAW_SP): Likewise.
4166 (FP_PACK_S): Likewise.
4167 (FP_PACK_SP): Likewise.
4168 (FP_PACK_SEMIRAW_S): Likewise.
4169 (FP_PACK_SEMIRAW_SP): Likewise.
4170 (_FP_SQRT_MEAT_S): Likewise.
4171 (FP_CMP_S): Likewise.
4172 (FP_CMP_EQ_S): Likewise.
4173 (FP_CMP_UNORD_S): Likewise.
4174 (FP_TO_INT_S): Likewise.
4175 (FP_FROM_INT_S): Likewise.
4176
a736ec37
JM
4177 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4178
ff12c11f
JM
4179 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4180 (FP_EX_INVALID_IMZ): Likewise.
4181 (FP_EX_INVALID_IMZ_FMA): Likewise.
4182 (FP_EX_INVALID_ISI): Likewise.
4183 (FP_EX_INVALID_ZDZ): Likewise.
4184 (FP_EX_INVALID_IDI): Likewise.
4185 (FP_EX_INVALID_SQRT): Likewise.
4186 (FP_EX_INVALID_CVI): Likewise.
4187 (FP_EX_INVALID_VC): Likewise.
4188 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4189 "invalid" exceptions.
4190 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4191 (_FP_ADD_INTERNAL): Likewise.
4192 (_FP_MUL): Likewise.
4193 (_FP_FMA): Likewise.
4194 (_FP_DIV): Likewise.
4195 (_FP_CMP_CHECK_NAN): Likewise.
4196 (_FP_SQRT): Likewise.
4197 (_FP_TO_INT): Likewise.
4198 (FP_EXTEND): Likewise.
4199
b6dcfe8c
AM
42002014-10-09 Allan McRae <allan@archlinux.org>
4201
4202 * po/fr.po: Update French translation from translation project.
4203
2d6a47ba
JM
42042014-10-09 Joseph Myers <joseph@codesourcery.com>
4205
cb831245
JM
4206 [BZ #14132]
4207 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4208 of INTDEF.
4209 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4210 (__cxa_atexit): Use libc_hidden_proto.
4211 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4212
5deeb190
JM
4213 [BZ #14132]
4214 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4215 declaration.
4216 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4217 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4218 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4219 [!_ISOMAC] (__iswctype_internal): Likewise.
4220 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4221 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4222 alias.
4223 (fcntl): Remove __fcntl_internal alias.
4224 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4225 __connect_internal alias.
4226 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4227 Likewise.
4228
454ac701
JM
4229 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4230 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4231 FP_DENORM_ZERO.
4232 (_FP_CHECK_FLUSH_ZERO): New macro.
4233 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4234 (_FP_CMP): Likewise.
4235 (_FP_CMP_EQ): Likewise.
4236 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4237 FP_DENORM_ZERO.
4238 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4239 (FP_TRUNC): Likewise.
4240
0022e688
JM
4241 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4242 treated as invalid conversion, not as normal exponent.
4243
73e28d9c
JM
4244 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4245 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4246 (_FP_CMP_EQ): Likewise.
4247 (_FP_CMP_UNORD): Likewise.
4248 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4249 (FP_CMP_EQ_D): Likewise.
4250 (FP_CMP_UNORD_D): Likewise.
4251 * soft-fp/extended.h (FP_CMP_E): Likewise.
4252 (FP_CMP_EQ_E): Likewise.
4253 (FP_CMP_UNORD_E): Likewise.
4254 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4255 (FP_CMP_EQ_Q): Likewise.
4256 (FP_CMP_UNORD_Q): Likewise.
4257 * soft-fp/single.h (FP_CMP_S): Likewise.
4258 (FP_CMP_EQ_S): Likewise.
4259 (FP_CMP_UNORD_S): Likewise.
4260 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4261 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4262 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4263 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4264 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4265 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4266 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4267 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4268 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4269 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4270 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4271 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4272 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4273 to FP_CMP_Q.
4274 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4275 FP_CMP_Q.
4276 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4277 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4278 FP_CMP_EQ_Q.
4279 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4280 FP_CMP_Q.
4281 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4282 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4283 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4284 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4285 FP_CMP_EQ_Q.
4286 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4287 FP_CMP_Q.
4288 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4289 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4290 FP_CMP_EQ_Q.
4291 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4292 FP_CMP_Q.
4293 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4294 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4295 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4296 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4297 FP_CMP_EQ_Q.
4298
43059f42
JM
4299 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4300 a subnormal result, set the underflow exception if trapping on
4301 underflow is enabled.
4302 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4303 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4304 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4305 redefine to 0.
4306 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4307 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4308 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4309 * soft-fp/extendxftf2.c (__extendxftf2): Use
4310 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4311
2d6a47ba
JM
4312 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4313 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4314 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4315 FP_HANDLE_EXCEPTIONS.
4316 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4317 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4318 FP_HANDLE_EXCEPTIONS.
4319 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4320 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4321 FP_HANDLE_EXCEPTIONS.
4322 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4323 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4324 FP_HANDLE_EXCEPTIONS.
4325
620f462e
JM
43262014-10-08 Joseph Myers <joseph@codesourcery.com>
4327
4328 [BZ #14132]
4329 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4330 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4331 use INTUSE.
4332 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4333 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4334 Remove alias.
4335 (__adjtimex): Define using libc_hidden_ver.
4336 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4337 Remove declaration.
4338 (ntp_gettime): Call __adjtimex directly.
4339 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4340 Remove declaration.
4341 (ntp_gettimex): Call __adjtimex directly.
4342 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4343 __adjtimex_internal alias.
4344
c763c5d2
RM
43452014-10-08 Roland McGrath <roland@hack.frob.com>
4346
4347 [BZ #17460]
4348 * nscd/nscd.c (more_help): Rewrite list of tables collection
4349 using xstrdup and asprintf.
4350
4351 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4352
7b8fb2b8
RM
43532014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4354 Roland McGrath <roland@hack.frob.com>
4355
4356 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4357 (do_lookup_unique): ... local function 'enter' here; update callers.
4358
abb280f7
JM
43592014-10-06 Joseph Myers <joseph@codesourcery.com>
4360
f7b42517
JM
4361 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4362 compat_symbol calls on [SHARED].
4363 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4364 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4365 Remove.
4366 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4367 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4368 (oldsetrlimit): Remove.
4369 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4371 (lchown): New syscall entry.
4372 (oldsetrlimit): Remove.
4373 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4374 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4375 (oldsetrlimit): Remove.
4376 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4377
abb280f7
JM
4378 [BZ #14138]
4379 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4380 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4381 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4382 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4383 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4384 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4385 (fchown): Likewise.
4386 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4387 (fchown): Likewise.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4389 Likewise.
4390
47d46237
AZ
43912014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4392
4393 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4394 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4395 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4396 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4397 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4398 Likewise.
4399 (__old_sem_post): Likewise.
4400
44012014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 4402
845a7343
CM
4403 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4404 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4405 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4406 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4407 Use INLINE_VSYSCALL macro.
4408 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4409 __vdso_clock_gettime.
4410 * sysdeps/unix/sysv/linux/tile/init-first.c
4411 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4412 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4413 __vdso_clock_gettime.
4414
83d641ef
CM
4415 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4416 to set up frame more cleanly.
4417
d9cd52e6
CM
4418 * sysdeps/tile/memcmp.c: New file.
4419
4b68ea11
CM
4420 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4421
c86f7b80
CM
4422 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4423 * sysdeps/tile/tilegx/strcasestr.c: New file.
4424 * sysdeps/tile/tilegx/strnlen.c: New file.
4425 * sysdeps/tile/tilegx/strstr.c: New file.
4426
1c4c1a6f
CM
4427 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4428
99d86ea3
AS
44292014-10-06 Arjun Shankar <arjun.is@lostca.se>
4430
4431 * nptl/tst-setuid3.c: Write errors to stdout.
4432
06210a44
KS
44332014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4434
4435 * elf/dl-deps.c
4436 (preload): New functions broken out of _dl_map_object_deps.
4437 (_dl_map_object_deps): Remove a nested function. Update call sites.
4438
6268f532
JM
44392014-10-01 Joseph Myers <joseph@codesourcery.com>
4440
4441 [BZ #14138]
4442 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4443 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4444
b925285f
SE
44452014-10-01 Steve Ellcey <sellcey@mips.com>
4446
4447 * sysdeps/mips/strcmp.S: New.
4448
754a15c6
JM
44492014-09-30 Joseph Myers <joseph@codesourcery.com>
4450
4451 [BZ #14138]
4452 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4453 (linkat): Likewise.
4454 (mkdirat): Likewise.
4455 (readlinkat): Likewise.
4456 (renameat): Likewise.
4457 (symlinkat): Likewise.
4458 (unlinkat): Likewise.
4459 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4460 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4461 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4462 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4463 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4464 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4465 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4466
85bb81c9
WN
44672014-09-30 Will Newton <will.newton@linaro.org>
4468
dc6fe23b
WN
4469 * math/math.h: Define long double math functions if
4470 _LIBC_TEST is defined.
4471 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4472
85bb81c9
WN
4473 * localedata/Makefile: Move assignment to tests-special
4474 into an ifdef testing run-built-tests.
4475 * timezone/Makefile: Likewise.
4476
b7e02da4
JM
44772014-09-29 Joseph Myers <joseph@codesourcery.com>
4478
4479 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4480 with $(BASH) not $(SHELL).
4481
62058ce6
CD
44822014-09-29 Carlos O'Donell <carlos@redhat.com>
4483 Matthew LeGendre <legendre1@llnl.gov>
4484
4485 [BZ #17411]
4486 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4487 l_reloc_result.
4488
8e257a29
KS
44892014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4490
4491 * stdio-common/printf_fp.c
4492 (hack_digit): New function, broken out of ...
4493 (__printf_fp): ... local function here. Update call sites.
4494 hack_digit now takes an additional parameter that is a pointer
4495 to a struct of the referenced locals. Those locals moved inside
4496 the struct and references updated.
4497
f4a58f0d
L
44982014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4499
4500 * aclocal.m4: Require autoconf 2.69.
4501 * configure: Regenerated.
4502 * sysdeps/aarch64/configure: Likewise.
4503 * sysdeps/alpha/configure: Likewise.
4504 * sysdeps/arm/armv7/configure: Likewise.
4505 * sysdeps/arm/configure: Likewise.
4506 * sysdeps/ia64/configure: Likewise.
4507 * sysdeps/mach/configure: Likewise.
4508 * sysdeps/mips/configure: Likewise.
4509 * sysdeps/s390/configure: Likewise.
4510 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4512
4513 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4514 file.
4515 * sysdeps/ia64/configure.ac: Likewise.
4516
93ae1eba
JM
45172014-09-26 Joseph Myers <joseph@codesourcery.com>
4518
1810d3ab
JM
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4520 specify symbol version for ld.so. Do not include entry for
4521 libpthread.
4522 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4523 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4524 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4525
93ae1eba
JM
4526 [BZ #14171]
4527 * Makeconfig [$(build-shared) = yes]
4528 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4529 makefiles.
4530 [$(build-shared) = yes && $(soversions.mk-done) = t]
4531 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4532 [$(build-shared) = yes && $(soversions.mk-done) = t]
4533 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4534 to Makerules.
4535 [$(build-shared) = yes && $(soversions.mk-done) = t]
4536 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4537 here.
4538 [$(build-shared) = yes && $(soversions.mk-done) = t]
4539 (common-generated): Don't append gnu/lib-names.h and
4540 gnu/lib-names.stmp here.
4541 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4542 (lib-names-h-abi): New variable.
4543 [$(build-shared) = yes && $(soversions.mk-done) = t]
4544 (lib-names-stmp-abi): Likewise.
4545 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4546 abi-variants] (before-compile): Append
4547 $(common-objpfx)$(lib-names-h-abi).
4548 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4549 abi-variants] (common-generated): Append gnu/lib-names.h.
4550 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4551 abi-variants] (install-others-nosubdir): Depend on
4552 $(inst_includedir)/$(lib-names-h-abi).
4553 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4554 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4555 [$(build-shared) = yes && $(soversions.mk-done) = t]
4556 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4557 [$(build-shared) = yes && $(soversions.mk-done) = t]
4558 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4559 [$(build-shared) = yes && $(soversions.mk-done) = t]
4560 (common-generated): Append $(lib-names-h-abi) and
4561 $(lib-names-stmp-abi).
4562 * scripts/lib-names.awk: Do not handle multi being set.
4563 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4564 Remove variable.
4565 (abi-lp64_be-ld-soname): Likewise.
4566 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4567 Likewise.
4568 (abi-hard-ld-soname): Likewise.
4569 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4570 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4571 Remove variable.
4572 (abi-o32_hard-ld-soname): Likewise.
4573 (abi-o32_soft_2008-ld-soname): Likewise.
4574 (abi-o32_hard_2008-ld-soname): Likewise.
4575 (abi-n32_soft-ld-soname): Likewise.
4576 (abi-n32_hard-ld-soname): Likewise.
4577 (abi-n32_soft_2008-ld-soname): Likewise.
4578 (abi-n32_hard_2008-ld-soname): Likewise.
4579 (abi-n64_soft-ld-soname): Likewise.
4580 (abi-n64_hard-ld-soname): Likewise.
4581 (abi-n64_soft_2008-ld-soname): Likewise.
4582 (abi-n64_hard_2008-ld-soname): Likewise.
4583 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4584 Likewise.
4585 (abi-64-v2-ld-soname): Likewise.
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4587 ld.so entries.
4588 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4589 variable.
4590 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4591 entry.
4592 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4593 variable.
4594 (abi-64-ld-soname): Likewise.
4595 (abi-x32-ld-soname): Likewise.
4596 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4597 entry.
4598 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4599
68870f12
JM
46002014-09-23 Joseph Myers <joseph@codesourcery.com>
4601
4602 [BZ #14138]
4603 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4604 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4605 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4606 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4607 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4608 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4609 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4610 syscall entry for GLIBC_2.2 symbol version.
4611 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4612 Likewise.
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4614 (setrlimit): Likewise.
4615 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4616 Likewise.
4617
ea58f202
WN
46182014-09-23 Will Newton <will.newton@linaro.org>
4619
4620 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4621 _LINUX_ARM_SYSDEP_H include guard too.
4622 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4623 define.
4624
69eb9a18
RV
46252014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4626
4627 * sysdeps/unix/sysv/linux/eventfd.c:
4628 Make first argument unsigned.
4629 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4630 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4631
20e5a5f7
OB
46322014-09-20 Ondřej Bílka <neleai@seznam.cz>
4633
4634 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4635 * socket/sys/socket.h: Likewise
4636 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4637
d3c827e7
AK
46382014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4639
4640 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4641
fe1cc35a
AS
46422014-09-17 Arjun Shankar <arjun.is@lostca.se>
4643
4644 * time/tst-ftime.c: New test.
4645 * time/Makefile (tests): Add tst-ftime.
4646
4e8afe69
JM
46472014-09-17 Joseph Myers <joseph@codesourcery.com>
4648
c4fe3ea7
JM
4649 * soft-fp/extended.h: Fix comment formatting.
4650 * soft-fp/op-1.h: Likewise.
4651 * soft-fp/op-2.h: Likewise.
4652 * soft-fp/op-4.h: Likewise.
4653 * soft-fp/op-8.h: Likewise.
4654 * soft-fp/op-common.h: Likewise.
4655 * soft-fp/soft-fp.h: Likewise.
4656
4e8afe69
JM
4657 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4658
af296fcd
JM
46592014-09-16 Joseph Myers <joseph@codesourcery.com>
4660
4661 [BZ #6652]
4662 * Makeconfig (soversions-default-setname): Remove variable.
4663 ($(common-objpfx)soversions.i): Don't pass default_setname to
4664 soversions.awk.
4665 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4666 oldest_abi to abi-versions.awk.
4667 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4668 * config.make.in (oldest-abi): Remove variable.
4669 * configure.ac (--enable-oldest-abi): Remove configure option.
4670 * configure: Regenerated.
4671 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4672 text.
4673 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4674 * scripts/soversions.awk: Do not handle default_setname variable.
4675 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4676 variable.
4677 * sysdeps/mach/hurd/configure: Regenerated.
4678 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4679 variable.
4680 * sysdeps/unix/sysv/linux/configure: Regenerated.
4681
545583d6
SP
46822014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4683
d330b980
SP
4684 * elf/Makefile (CFLAGS-interp.c): Remove.
4685 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4686 path string.
4687 * elf/interp.c: Include generated runtime-linker.h
4688
02657da2
SP
4689 * Makerules (lib%.so): Don't include $(+interp) in
4690 prerequisites.
4691 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4692 * dlfcn/eval.c: Remove file.
4693
653b1080
SP
4694 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4695 macros.
4696
602f80ec
SP
4697 [BZ #17266]
4698 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4699 4.2 and newer.
4700
545583d6
SP
4701 [BZ #17370]
4702 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4703
884ddc50
SP
47042014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4705 Jakub Jelinek <jakub@redhat.com>
4706
4707 [BZ #17266]
4708 * libio/stdio.h: Check definition of __fortify_function
4709 instead of __extern_always_inline to include bits/stdio2.h.
4710 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4711 check if __extern_always_inline is defined.
4712 [__USE_MISC || __USE_XOPEN]: Likewise.
4713 [__USE_ISOC99] Likewise.
4714 * misc/sys/cdefs.h (__fortify_function): Define only if
4715 __extern_always_inline is defined.
4716 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4717 __extern_always_inline and __extern_inline only for g++-4.3
4718 and newer or a compatible gcc.
4719
a7b87268
AS
47202014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4721
4722 [BZ #17371]
4723 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4724 last change to handle zero prefix length.
4725
3f41521d
SP
47262014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4727
61fe374a
SP
4728 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4729 _SC_REGEX_VERSION.
4730
3f41521d
SP
4731 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4732 _POSIX_RAW_SOCKETS.
4733
d8f879ee
AM
47342014-09-13 Allan McRae <allan@archlinux.org>
4735
4736 * po/ru.po: Update Russian translation from translation project.
4737
c079afb7
RM
47382014-09-12 Roland McGrath <roland@hack.frob.com>
4739
a62b3c15
RM
4740 * locale/programs/locale.c (show_locale_vars): Inline local function
4741 into its sole call site. Clean up some style nits.
4742 (print_item): New function, broken out of ...
4743 (show_info): ... local function here. Clean up style nits.
4744
d7e49b19
RM
4745 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4746 out of ...
4747 (set_class_defaults): ... local function set_default here.
4748 Define set_default as a macro locally to pass constant parameters.
4749 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4750 rather than a shared local.
4751
c079afb7
RM
4752 * stdlib/rpmatch.c (try): New function, broken out of ...
4753 (rpmatch): ... local function here. Also, prototypify definition.
4754
0bd72468
JM
47552014-09-12 Joseph Myers <joseph@codesourcery.com>
4756
ba90e050
JM
4757 * scripts/soversions.awk: Do not handle configuration names.
4758 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4759 vendor and os variables to soversions.awk.
4760 * configure.ac: Do not modify gnu-* host_os.
4761 * configure: Regenerated
4762 * shlib-versions: Remove first column with configuration names.
4763 * nptl/shlib-versions: Likewise.
4764 * nptl_db/shlib-versions: Likewise.
4765 * sysdeps/hppa/shlib-versions: Likewise.
4766 * sysdeps/m68k/shlib-versions: Likewise.
4767 * sysdeps/mach/hurd/shlib-versions: Likewise.
4768 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4769 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4770 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4771 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4772 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4773 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4774 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4775 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4777 Likewise.
4778 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4779 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4780 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4781 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4782 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4783 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4784 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4785 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4786
73a39112
JM
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4788 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4790 Regenerated.
4791 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4793 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4794
c729e7c1
JM
4795 * shlib-versions: Remove OS-specific entries. Moved to files in
4796 sysdeps.
4797 * sysdeps/mach/hurd/shlib-versions: New file.
4798 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4799
dc932a24
JM
4800 * nptl/shlib-versions: Remove architecture-specific entries.
4801 Moved to files in sysdeps.
4802 * shlib-versions: Likewise.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4804 file.
4805 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4806 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4807 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4808 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4809
0bd72468
JM
4810 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4811 (UDP_NO_CHECK6_RX): Likewise.
4812
920238e0
SP
48132014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4814
4815 * sysdeps/posix/sysconf.c (__sysconf): Spell
4816 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4817
ba7b4d29
FW
48182014-08-12 Florian Weimer <fweimer@redhat.com>
4819
4820 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4821 loading.
4822 * iconv/Versions (__gconv_transliterate): Export for use from
4823 gconv modules.
4824 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4825 (struct __gconv_trans_data, __gconv_trans_fct,
4826 __gconv_trans_context_fct, __gconv_trans_query_fct,
4827 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4828 definitions.
4829 (struct __gconv_step_data): Remove __trans member.
4830 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4831 longer hidden. Remove unused trans_data argument.
4832 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4833 (__gconv_translit_find): Remove declaration.
4834 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4835 prototype.
4836 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4837 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4838 trans_data argument. Add hidden definition.
4839 (__gconv_translit_find): Remove.
4840 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4841 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4842 * iconv/skeleton.c: Remove transliteration initialization.
4843 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4844 __gconv_step_data initialization.
4845 * libio/iofwide.c (__libio_translit_): Remove.
4846 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4847 * wcsmbs/btowc.c (__btowc): Likewise.
4848 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4849 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4850 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4851 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4852 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4853 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4854 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4855 * wcsmbs/wctob.c (wctob): Likewise.
4856
5379aebd
SP
48572014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4858
4859 [BZ #16194]
4860 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4861 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4862 register usage.
4863 * sysdeps/x86/Makefile: Adjust.
4864
8c0ab919
RM
48652014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4866 Roland McGrath <roland@hack.frob.com>
4867
4868 * locale/weight.h: Add include guard.
4869 (findidx): Make static rather than auto; take new parameters
4870 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4871 * locale/weightwc.h: Likewise.
4872 * posix/fnmatch_loop.c
4873 (FCT): Change type of EXTRA from int32_t to wint_t.
4874 Don't include either header inside the function.
4875 Call FINDIDX rather than findidx, and pass new arguments.
4876 #undef FINDIDX at the end of the file.
4877 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4878 FINDIDX before including fnmatch_loop.c for the non-wide version.
4879 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4880 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4881 for the wide version.
4882 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4883 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4884 Pass new arguments to findidx.
4885 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4886 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4887 Don't #include it inside the function. Pass new arguments to findidx.
4888 * posix/regex_internal.h
4889 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4890 (re_string_elem_size_at): Don't #include it inside the function.
4891 Pass new arguments to findidx.
4892 * string/strcoll_l.c: #include WEIGHT_H at top level.
4893 (get_next_seq): Don't #include it inside the function.
4894 Pass new arguments to findidx.
4895 (get_next_seq_nocache): Likewise.
4896 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4897 (STRXFRM): Don't #include it inside the function.
4898 Pass new arguments to findidx.
4899
52ffbdf2
FW
49002014-09-11 Florian Weimer <fweimer@redhat.com>
4901
4902 [BZ #17344]
4903 * malloc/malloc.c (unlink): Turn asserts into a call to
4904 malloc_printerr.
4905
984c0ea9
TL
49062014-09-11 Tim Lammens <tim.lammens@gmail.com>
4907
4908 [BZ #17370]
4909 * libio/wfileops (do_ftell_wide): Free OUT.
4910
3daee107
CM
49112014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4912
4913 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4914
58b930ae
SP
49152014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4916
4917 [BZ #17363]
4918 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4919 group if the current group is empty.
4920
3b473fec
AZ
49212014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4922
71ae8647
AZ
4923 * benchtests/bench-memset.c (test_main): Add more test from size
4924 from 32 to 512 bytes.
4925 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4926 Add POWER8 memset object.
4927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4928 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4929 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4930 implementation.
4931 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4932 Likewise.
4933 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4934 multiarch POWER8 memset optimization.
4935 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4936 POWER8 memset optimization.
4937
3b473fec
AZ
4938 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4939 Remove bzero multiarch objects.
4940 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4941 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4942 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4943 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4944 Remove define.
4945 [__bzero]: Redefine to specific name.
4946 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4947 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4948 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4949 define.
4950 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4951 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4952
e6fb9587
FW
49532014-09-10 Florian Weimer <fweimer@redhat.com>
4954
4955 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4956 warnings into errors.
4957
4958 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4959 __cxa_thread_atexit_impl prototype.
4960
9d3a350b
SE
49612014-09-09 Steve Ellcey <sellcey@mips.com>
4962
4963 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4964 Fix capitalization of error message.
4965
0febba23
SE
49662014-09-09 Steve Ellcey <sellcey@mips.com>
4967
4968 * sysdeps/mips/preconfigure: Modify ABI tests.
4969
645a0e9c
CD
49702014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4971
4972 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4973
d83f0734
CD
49742014-09-07 Roland McGrath <roland@hack.frob.com>
4975 Carlos O'Donell <carlos@systemhalted.org>
4976
4977 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4978 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4979 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4980 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4981 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4982 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4983 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4984 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4985 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4986 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4987 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4988 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4989 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4990 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4991 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4992 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4993 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4994 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4995 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4996 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4997 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4998 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4999 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5000 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5001 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5002 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5003 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5004 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5005 Deconditionalize the code that was previously under [RESET_PID].
5006 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5007 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5008 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5009 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5010 include sysdep.h.
5011
21c83793
AM
50122014-09-08 Allan McRae <allan@archlinux.org>
5013
5014 * version.h (RELEASE): Set to "development".
5015 (VERSION): Set to "2.20.90"
5016
1cd9b65c
AM
50172014-09-07 Allan McRae <allan@archlinux.org
5018
b8079dd0
AM
5019 * version.h (RELEASE): Set to "stable".
5020 (VERSION): Set to "2.20"
5021 * include/features.h (__GLIBC_MINOR__): Set to 20.
5022
c46303ef
AM
5023 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5024 Liebler.
5025
1cd9b65c
AM
5026 * po/ko.po: Update Korean translation from translation project.
5027
8622092d
CM
50282014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5029
5030 [BZ #17354]
5031 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5032 macro for handling signed relocations.
5033
41488498
FW
50342014-09-03 Florian Weimer <fweimer@redhat.com>
5035
5036 [BZ #17325]
5037 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5038 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5039 assert.
5040 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5041 * iconvdata/ibm935.c (BODY): Likewise.
5042 * iconvdata/ibm937.c (BODY): Likewise.
5043 * iconvdata/ibm939.c (BODY): Likewise.
5044 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5045 assert.
5046 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5047 script.
5048 * iconvdata/run-iconv-test.sh: New test loop for checking for
5049 decoder crashers.
5050
a78b712d
KR
50512014-09-02 Khem Raj <raj.khem@gmail.com>
5052
5053 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5054 libm_hidden_ver.
5055
cb08abc6
AM
50562014-09-01 Allan McRae <allan@archlinux.org>
5057
2c31e102
AM
5058 * po/eo.po: Update Esperanto translation from translation project.
5059
cb08abc6
AM
5060 * po/ca.po: Update Catalan translation from translation project.
5061
17a62de1
ST
50622014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5063
5064 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5065 __proc_dostop call.
5066
9570bc53
MW
50672014-08-27 Mark Wielaard <mjw@redhat.com>
5068
5069 [BZ #17319]
5070 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5071 to call set_thread_area instead of hand written asm.
5072 (__NR_set_thread_area): Removed define.
5073 (TLS_FLAG_WRITABLE): Likewise.
5074 (__ASSUME_SET_THREAD_AREA): Remove check.
5075 (TLS_EBX_ARG): Remove define.
5076 (TLS_LOAD_EBX): Likewise.
5077
b0f955c9
ST
50782014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5079
5080 Simplify atomicity of socket creation in bind.
5081
5082 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5083 looking up the name after linking the file.
5084
529bf515
AM
50852014-08-27 Allan McRae <allan@archlinux.org>
5086
5087 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5088
a1a6a401
FW
50892014-08-26 Florian Weimer <fweimer@redhat.com>
5090
5091 [BZ #17187]
5092 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5093 trans_compare, open_translit, __gconv_translit_find):
5094 Remove module loading code.
5095
686ab290
AM
50962014-08-26 Allan McRae <allan@archlinux.org>
5097
e4e7cfd2
AM
5098 * po/vi.po: Update Vietnamese translation from translation project.
5099
6aa09f71
AM
5100 * po/uk.po: Update Ukrainian translation from translation project.
5101
edc0660e
AM
5102 * po/fr.po: Update French translation from translation project.
5103
7eea72ac
AM
5104 * po/ru.po: Update Russian translation from translation project.
5105
93c49eff
AM
5106 * po/pl.po: Update Polish translation from translation project.
5107
46acaf63
AM
5108 * po/cs.po: Update Czech translation from translation project.
5109
a9f5ce98
AM
5110 * po/de.po: Update German translation from translation project.
5111
373f2b78
AM
5112 * po/bg.po: Update Bulgarian translation from translation project.
5113
e7548bd8
AM
5114 * po/sv.po: Update Sweedish translation from translation project.
5115
c526bf4d
AM
5116 * po/nl.po: Update Dutch translation from translation project.
5117
686ab290
AM
5118 * po/es.po: Update Spanish translation from translation project.
5119
eb72478a
SP
51202014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5121
dd763fdb
SP
5122 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5123
318c7a58
SP
5124 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5125 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5126 (CPPFLAGS-iconvconfig): Likewise.
5127 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5128
eb72478a
SP
5129 * include/libc-symbols.h: Remove unnecessary check for
5130 NOT_IN_libc.
5131 * nptl/pthreadP.h: Likewise.
5132 * sysdeps/aarch64/setjmp.S: Likewise.
5133 * sysdeps/alpha/setjmp.S: Likewise.
5134 * sysdeps/arm/sysdep.h: Likewise.
5135 * sysdeps/i386/setjmp.S: Likewise.
5136 * sysdeps/m68k/setjmp.c: Likewise.
5137 * sysdeps/posix/getcwd.c: Likewise.
5138 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5139 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5140 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5141 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5142 * sysdeps/sh/sh3/setjmp.S: Likewise.
5143 * sysdeps/sh/sh4/setjmp.S: Likewise.
5144 * sysdeps/unix/alpha/sysdep.h: Likewise.
5145 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5146 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5147 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5148 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5153 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5156 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5158 * sysdeps/x86_64/setjmp.S: Likewise.
5159
d44a052c
JM
51602014-08-13 Joseph Myers <joseph@codesourcery.com>
5161
5162 [BZ #17263]
5163 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5164 <stdint.h>.
5165 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5166 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5167
508ce3ac
SP
51682014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5169
e44c8b0e
SP
5170 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5171
508ce3ac
SP
5172 [BZ #17262]
5173 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5174 and __x86_64__ when disabling x87 inline functions.
5175
b4acef1f
L
51762014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5177
5178 [BZ #17259]
5179 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5180 asm statement with __cpuid_count.
5181
61b1ef6e
MF
51822014-08-12 Mike Frysinger <vapier@gentoo.org>
5183
5184 * configure.ac: Change __ehdr_start code to dereference the struct.
5185 Run readelf on the output to look for relocations.
5186 * configure: Regenerated.
5187
898c62f4
JM
51882014-08-12 Joseph Myers <joseph@codesourcery.com>
5189
5190 [BZ #17261]
5191 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5192 value to 0.
5193 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5194
9a8a5720
RM
51952014-08-12 Roland McGrath <roland@hack.frob.com>
5196
5197 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5198
4e75751c
BO
51992014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5200
5201 [BZ #16892]
5202 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5203 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5204
bb2ce416
SA
52052014-08-12 Sean Anderson <seanga2@gmail.com>
5206
5207 * malloc/malloc.c: Fix typo in comment.
5208
7950a4ee
AM
52092014-08-09 Allan McRae <allan@archlinux.org>
5210
5211 * Regenerate libc.po.
5212
f469c49f
MF
52132014-08-08 Mike Frysinger <vapier@gentoo.org>
5214
5215 * intl/tst-gettext2.sh: Check every lang file for creation.
5216
656b84c2
WD
52172014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5218
5219 * sysdeps/aarch64/fpu/math_private.h
5220 (libc_feholdsetround_noex_aarch64_ctx): New function.
5221
538e9e45
W
52222014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5223
5224 * sysdeps/arm/armv6/strcpy.S (strcpy):
5225 Fix performance issue in misaligned cases.
5226
d4795e4a
AZ
52272014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5228
5229 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5230 Move definition from termios.h.
5231 (struct termio): Likewise.
5232 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5233 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5234 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5235 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5236 Likewise.
5237 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5238 Move definition to ioctl-types.h
5239 (struct termio): Likewise.
5240 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5241 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5242 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5243 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5244 Likewise.
5245
64accb62
RH
52462014-08-05 Richard Henderson <rth@redhat.com>
5247
27bb6dc0
RH
5248 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5249 exceptions.
5250 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5251 Add fraiseexcpt.
5252 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5253 Use __feraiseexcept.
5254 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5255 Protect libm symbols with IS_IN_libm.
5256
64accb62
RH
5257 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5258
e5292691
BO
52592014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5260
5261 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5262
5b4bd2d4
WN
52632014-08-04 Will Newton <will.newton@linaro.org>
5264
5265 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5266 file.
5267
fcadaeef
MF
52682014-08-04 Mike Frysinger <vapier@gentoo.org>
5269
5270 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5271 variants for each function.
5272
43a94c64
RM
52732014-08-04 Roland McGrath <roland@hack.frob.com>
5274
5275 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5276 appended ...
5277 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5278 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5279 appended ...
5280 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5281 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5282 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5283 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5284 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5285 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5286 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5287 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5288 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5289 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5290 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5291 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5292 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5293 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5294 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5295 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5296 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5297 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5298 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5299 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5300 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5301 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5302 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5303 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5304 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5305 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5306 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5307 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5308 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5309 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5310 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5311 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5312 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5313 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5314 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5315 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5316 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5317 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5318 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5319 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5320 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5321 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5322 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5323 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5324 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5325 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5326 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5327 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5328 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5329 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5330 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5331 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5332 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5333 Update #include.
5334 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5335 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5336
8f3c1fa4
RM
53372014-08-04 Roland McGrath <roland@hack.frob.com>
5338
5339 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5340 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5341 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5342 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5343 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5344 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5345
ca08746f
RM
53462014-08-04 Roland McGrath <roland@hack.frob.com>
5347
5348 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5349 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5350 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5351 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5352
9c925ff9
RM
53532014-08-04 Roland McGrath <roland@hack.frob.com>
5354
5355 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5356 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5357 (__libc_vfork): Define function under this name.
5358 (__vfork): Define as an alias.
5359 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5360 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5361
e641054c
RM
53622014-08-04 Roland McGrath <roland@hack.frob.com>
5363
5364 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5365 that was previously under [RESET_PID].
5366 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5367
dacdc867
AS
53682014-08-04 Andreas Schwab <schwab@suse.de>
5369
5370 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5371
41f725ff
MF
53722014-08-03 Mike Frysinger <vapier@gentoo.org>
5373
5374 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5375 (main): Likewise.
5376
277cfb31
RM
53772014-08-01 Roland McGrath <roland@hack.frob.com>
5378
5379 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5380
4896f049
RH
53812014-08-01 Richard Henderon <rth@redhat.com>
5382
5383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5384 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5385 typo in exact zero test.
5386 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5387 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5388 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5389
6f64e7d7
RM
53902014-08-01 Roland McGrath <roland@hack.frob.com>
5391
5392 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5393 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5394 * sysdeps/arm/sysdep.h: ... here.
5395 [!__ASSEMBLER__]: Include <stdint.h>.
5396
3f3dd810
SP
53972014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5398
a476ac4b
SP
5399 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5400 (HAVE_WCTYPE_H): Likewise.
5401 (HAVE_ISWCTYPE): Likewise.
5402 (ENABLE_NLS): Likewise.
5403 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5404 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5405
78dd658a
SP
5406 * posix/regex_internal.c: Check if DEBUG is defined and is
5407 set.
5408
3f3dd810
SP
5409 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5410 (HAVE_MBSRTOWCS): Likewise.
5411 * posix/fnmatch.c: Include string.h unconditionally.
5412
95ee7fb1
SL
54132014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5414
5415 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5416 reversal.
5417
23fe486b
RM
54182014-07-31 Roland McGrath <roland@hack.frob.com>
5419
f61a113f
RM
5420 * sysdeps/generic/safe-fatal.h: New file.
5421 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5422 * nptl/forward.c: Include it.
5423 (__pthread_unwind): Use __safe_fatal as default action, rather
5424 than a bogus use of INTERNAL_SYSCALL that could never work.
5425
9fe7e787
RM
5426 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5427 * configure.ac (libc_cv_builtin_trap): New test.
5428 * configure: Regenerated.
5429 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5430 (ABORT_INSTRUCTION): Define using __builtin_trap.
5431
23fe486b
RM
5432 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5433 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5434 * sysdeps/nptl/nptl-signals.h: New file.
5435 * nptl/pthreadP.h: Include <nptl-signals.h>.
5436
f349489e
SL
54372014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5438
5439 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5440 (ONE_DIRECTION): Define.
5441 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5442 (ONE_DIRECTION): Define.
5443 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5444 (ONE_DIRECTION): Define.
5445
2f438e20
SL
54462014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5447
5448 * sysdeps/s390/Makefile: Delete file.
5449 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5450 * sysdeps/s390/__longjmp.c: Delete file.
5451 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5452 Remove fields __flags and __reserved.
5453 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5454 and add versioning.
5455 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5456 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5457 * sysdeps/s390/rtld-setjmp.S: Likewise.
5458 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5459 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5460 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5461 * sysdeps/s390/s390-32/setjmp.S: ... here.
5462 Add versioning.
5463 (__sigsetjmp): Remove setting __flags field.
5464 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5465 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5466 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5467 * sysdeps/s390/s390-64/setjmp.S: ... here.
5468 Add versioning.
5469 (__sigsetjmp): Remove setting __flags field.
5470 * sysdeps/s390/setjmp.S: Delete file.
5471 * sysdeps/s390/sigjmp.c: Likewise.
5472 * sysdeps/s390/v1-longjmp.c: Likewise.
5473 * sysdeps/s390/v1-setjmp.h: Likewise.
5474 * sysdeps/s390/v1-sigjmp.c: Likewise.
5475 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5476 Remove v1-longjmp_chk.
5477 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5478 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5479 Include debug/longjmp_chk.c and add versioning.
5480 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5481 Include nptl/pt-longjmp.c and add versioning.
5482 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5483 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5484 Include __longjmp.c.
5485 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5486 Move to ...
5487 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5488 (__getcontext): Remove setting __flags field.
5489 Add versioning.
5490 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5491 Don't restore upper high grps.
5492 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5493 Likewise.
5494 (__swapcontext): Remove setting uc_flags field.
5495 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5496 Delete file.
5497 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5498 Include __longjmp.c.
5499 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5500 Move to ...
5501 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5502 (__getcontext): Remove setting __flags field.
5503 Add versioning.
5504 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5505 (__swapcontext): Remove setting uc_flags field.
5506 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5507 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5508 Remove fields uc_high_gprs and __reserved.
5509 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5510 New file with reverted content.
5511 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5512 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5513 Regenerated.
5514 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5515 Regenerated.
5516
6c9578a2
AS
55172014-07-31 Andreas Schwab <schwab@suse.de>
5518
5519 * config.h.in (HAVE_IFUNC): Define to 0.
5520 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5521 definedness.
5522
05f3633d
LM
55232014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5524
5525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5526 memmove-avx-unaligned, memcpy-avx-unaligned and
5527 mempcpy-avx-unaligned.
5528 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5529 Add tests for AVX memcpy functions.
5530 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5531 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5532 memcpy_chk.
5533 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5534 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5535 memmove_chk.
5536 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5537 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5538 mempcpy_chk.
5539 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5540 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5541 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5542
a53fbd8e
AZ
55432013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5544
5545 [BZ #17213]
5546 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5547 powerpc64le.
5548
0961f7e1
JL
55492014-07-29 Jeff Layton <jlayton@poochiereds.net>
5550
5551 [BZ #16839]
5552 * manual/llio.texi: Add section about open file description locks.
5553 * manual/examples/ofdlocks.c: Example of open file description
5554 lock usage.
5555 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5556 F_OFD_SETLK, and F_OFD_SETLKW.
5557
cc5fb300
AM
55582014-07-23 Allan McRae <allan@archlinux.org>
5559
5560 * po/es.po: Update Spanish translation from translation project.
5561
23329dca
AS
55622014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5563
5564 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5565
9c82da17
MR
55662014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5567
5568 [BZ #17078]
5569 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5570 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5571 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5572
29c4f53e
JM
55732014-07-17 Joseph Myers <joseph@codesourcery.com>
5574
831b9896
JM
5575 [BZ #17088]
5576 * math/fesetenv.c (__fesetenv)
5577 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5578 * math/feupdateenv.c (__feupdateenv)
5579 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5580
b21c2d50
JM
5581 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5582 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5583 (__ASSUME_SOCKETCALL): Do not define.
5584
067764ef
JM
5585 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5586 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5587 (__ASSUME_SOCKETCALL): Do not define.
5588 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5589 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5590 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5591 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5592 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5593 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5594 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5595 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5596
642530c1
JM
5597 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5598 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5599 (__ASSUME_SOCKETCALL): Do not define.
5600 (__ASSUME_IPC64): Define unconditionally.
5601 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5602 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5603 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5604 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5605 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5606 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5607 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5608 Likewise.
5609
03f77315
JM
5610 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5611 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5612 (__ASSUME_SOCKETCALL): Do not define.
5613 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5614 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5615 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5616 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5617 (__ASSUME_REQUEUE_PI): Define unconditionally.
5618 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5619 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5620 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5621 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5622 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5623 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5624
083b1f7c
JM
5625 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5626 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5627 (__ASSUME_SOCKETCALL): Do not define.
5628 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5629 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5630 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5631 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5632 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5633 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5634
5be44ea6
JM
5635 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5636 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5637 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5638 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5639 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5640 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5641 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5642 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5643 (__ASSUME_GETCPU_SYSCALL): Likewise.
5644
d95ffd4c
JM
5645 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5646 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5647 cases for individual architectures.
5648 * sysdeps/gnu/configure: Regenerated.
5649 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5650 LIBC_SLIBDIR_RTLDDIR.
5651 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5652 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5653 LIBC_SLIBDIR_RTLDDIR.
5654 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5656 LIBC_SLIBDIR_RTLDDIR.
5657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5658 Regenerated.
5659 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5660 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5661 file.
5662 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5663 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5664 file.
5665 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5666 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5667 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5668 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5669
29c4f53e
JM
5670 * sysdeps/aarch64/shlib-versions: Move to ...
5671 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5672 * sysdeps/alpha/shlib-versions: Move to ...
5673 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5674 * sysdeps/arm/shlib-versions: Move to ...
5675 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5676 * sysdeps/hppa/shlib-versions: Move all contents except for
5677 libgcc_s entry to ...
5678 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5679 entry from ...
5680 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5681 * sysdeps/ia64/shlib-versions: Move to ...
5682 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5683 entry from ...
5684 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5685 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5686 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5687 * sysdeps/microblaze/shlib-versions: Move to ...
5688 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5689 * sysdeps/mips/shlib-versions: Move to ...
5690 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5691 entry from ...
5692 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5693 * sysdeps/tile/shlib-versions: Move to ...
5694 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5695 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5696 from ...
5697 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5698 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5699 entry from ...
5700 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5701
32bead5b
WN
57022014-07-17 Will Newton <will.newton@linaro.org>
5703
57977c4b
WN
5704 * sysdeps/arm/bits/atomic.h
5705 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5706 (__arch_compare_and_exchange_bool_16_int): Likewise.
5707 (__arch_compare_and_exchange_bool_64_int): Likewise.
5708
32bead5b
WN
5709 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5710 into an #else block.
5711
37fccd41
RM
57122014-07-16 Roland McGrath <roland@hack.frob.com>
5713
5714 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5715 just Linux configurations. Test empirically that the compiler sets
5716 __ARM_EABI__, rather than using the tuple to decide.
5717 * sysdeps/arm/preconfigure: Regenerated.
5718 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5719 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5720 contents appended ...
5721 * sysdeps/arm/configure.ac: ... here.
5722 * sysdeps/arm/configure: Regenerated.
5723
b365f3ec
RM
57242014-07-15 Roland McGrath <roland@hack.frob.com>
5725
8badf496
RM
5726 * nptl/pthread_kill.c: New file.
5727 * nptl/pthread_sigmask.c: New file.
5728 * nptl/pthread_sigqueue.c: New file.
5729
3df6f22e
RM
5730 * sysdeps/nptl/lowlevellock.h: New file.
5731 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5732 * sysdeps/nptl/lowlevellock-futex.h: New file.
5733
b365f3ec
RM
5734 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5735 Remove dead declarations.
5736
f2fef657
L
57372014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5738
5739 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5740 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5741 config-cflags-avx2.
5742 * sysdeps/x86_64/configure.ac: Likewise.
5743 * sysdeps/i386/configure: Regenerated.
5744 * sysdeps/x86_64/configure: Likewise.
5745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5746 memset-avx2 only if config-cflags-avx2 is yes.
5747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5748 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5749 defined.
5750 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5751 only if HAVE_AVX2_SUPPORT is defined.
5752 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5753
f6c44d47
AM
57542014-07-14 Alan Modra <amodra@gmail.com>
5755
5756 [BZ #17153]
5757 * elf/elf.h (DT_PPC64_NUM): Correct value.
5758 * NEWS: Add to fixed bug list.
5759
7ee03f00
JM
57602014-07-13 Jim Meyering <meyering@fb.com>
5761
5762 [BZ 17150]
5763 regex: don't deref NULL upon heap allocation failure
5764 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5765 failure in one more place.
5766 To trigger the segfault, configure grep -with-included-regex,
5767 build it, and run these commands:
5768 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5769
9d39d517
AS
57702014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5771
5772 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5773
a75b89b7
RH
57742014-07-11 Richard Henderson <rth@redhat.com>
5775
5776 * sysdeps/aarch64/libm-test-ulps: Update.
5777
771eb141
FW
57782014-07-10 Florian Weimer <fweimer@redhat.com>
5779
5780 [BZ #17135]
5781 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5782 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5783 (__nptl_setxid): Initialize error member. Call
5784 __nptl_setxid_error.
5785 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5786 * nptl/descr.h (struct xid_command): Add error member.
5787 * nptl/tst-setuid3.c: New file.
5788 * nptl/Makefile (tests): Add it.
5789
bc1da176
AZ
57902014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5791
5792 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5793 New define.
5794 (__lll_trylock): Use __lll_base_trylock.
5795 (__lll_cond_trylock): Likewise.
5796
887865fc
RM
57972014-07-10 Roland McGrath <roland@hack.frob.com>
5798
c0c6bac9
RM
5799 * nptl/pthread_create.c (start_thread): Use atomic_or and
5800 lll_futex_wake directly rather than lll_robust_dead.
5801 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5802 (lll_robust_dead): Macro removed.
6a42be57 5803 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
5804 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5805 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5806 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5807 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5808 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5809 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5810 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5811 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5812 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5813 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5814 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5815 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5816 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5817 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5818
887865fc
RM
5819 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5820 Use atomic_compare_and_exchange_val_acq directly rather than
5821 lll_robust_trylock.
5822 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5823 (__lll_robust_trylock, lll_robust_trylock): Removed.
5824 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5825 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5826 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5827 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5828 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5829 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5830 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5831 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5832 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5833 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5834 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5835 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5836 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5837 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5838
58536726
FW
58392014-07-02 Florian Weimer <fweimer@redhat.com>
5840
5841 * manual/locale.texi (Locale Names): New section documenting
5842 locale name syntax. Adjust menu and node chaining accordingly.
5843 (Choosing Locale): Reference Locale Names, Locale Categories.
5844 Mention setting LC_ALL=C. Reflect that name syntax is now
5845 documented.
5846 (Locale Categories): New section title. Reference Locale Names.
5847 LC_ALL is an environment variable, but not a category.
5848 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5849 description, now in Locale Name. Reference that section. Locale
5850 name syntax is now documented.
5851
4e8f95a0
FW
58522014-07-02 Florian Weimer <fweimer@redhat.com>
5853
5854 [BZ #17137]
5855 * locale/findlocale.c (name_present, valid_locale_name): New
5856 functions.
5857 (_nl_find_locale): Use the loc_name variable to store name
5858 candidates. Call name_present and valid_locale_name to check and
5859 validate locale names. Return an error if the locale is invalid.
5860
d1836456
FW
58612014-07-02 Florian Weimer <fweimer@redhat.com>
5862
5863 * locale/setlocale.c (setlocale): Use strdup for allocating
5864 composite name copy.
5865
d69b7f5a
SP
58662014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5867
888c679b
SP
5868 Sync up with gnulib.
5869 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5870 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5871 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5872 and _GL_ARG_NONNULL.
5873 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5874 [!_LIBC]: Include code for Windows and Cygwin.
5875 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5876 Include prototype for int strerror_r.
5877 [!_LIBC] (is_open): New function.
5878 (flush_stdout): New function.
5879 (print_errno_message): Use it.
5880 (error): Likewise.
5881 (error_at_line): Likewise.
5882 (error_tail) Add function attribute macros. Use
5883 __builtin_expect.
5884
180e0e4b
SP
5885 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5886
d22f1fe2
SP
5887 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5888
12f2254b
SP
5889 * io/ftw.c: Include sys/param.h unconditionally.
5890
c3c7c360
SP
5891 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5892
d62aa75a
SP
5893 [BZ #17125]
5894 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5895 libc_freeres_ptr.
5896 (freecache): New function to free CACHE on exit.
5897
d69b7f5a
SP
5898 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5899 initialization.
5900
5efe06a1
DM
59012014-07-09 David S. Miller <davem@davemloft.net>
5902
5903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5904
7000d82e
DM
5905 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5906 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5907 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5908 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5909 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5910 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5911 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5912 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5913 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5914 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5915 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5916 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5917 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5918
c213442d
AS
59192014-07-09 Andreas Schwab <schwab@suse.de>
5920
4a2552c3
AS
5921 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5922 output.
5923 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5924 (do_test): Likewise.
5925
c213442d
AS
5926 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5927
82374e65
WN
59282014-07-09 Will Newton <will.newton@linaro.org>
5929
5930 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5931 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5932 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5933 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5934 * sysdeps/hppa/start.S (_start): Likewise.
5935
6680738a
SP
59362014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5937
6ee3eab4
SP
5938 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5939
6680738a
SP
5940 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5941 defined.
5942
80b5c505
SP
59432014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5944
e35c53e3
SP
5945 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5946 after checking that it is non-NULL.
5947
80b5c505
SP
5948 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5949
91f4b564
AZ
59502014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5951
27b75f56
AZ
5952 * sysdeps/powerpc/memmove.c: Remove file.
5953 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5954 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5955 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5956 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5957 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5958 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5959 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5960 string memmove instead of removed powerpc one.
5961
e7f95bb5
AZ
5962 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5963 [weak_alias]: Fix compiler warning due trailing data.
5964 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5965 [weak_alias]: Likewise.
5966 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5967 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5968
91f4b564
AZ
5969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5970 (__libc_ifunc_impl_list): Add memmove functions.
5971
7c33f1e5
SP
59722014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5973
5974 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5975 Remove code.
5976 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5977 Likewise
5978 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5979 Likewise
5980 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5981 Likewise
5982 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5983 Likewise
5984 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5985 Likewise
5986 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5987 Likewise
5988 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5989 Likewise
5990 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5991 Likewise
5992 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5993 Likewise
5994 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5995 Likewise
5996 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5997 Likewise
5998 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5999 Likewise
6000 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6001 Likewise
6002 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6003 Likewise
6004 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6005 Likewise
6006 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6007 Likewise
6008
3f17b03b
AZ
60092014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6010
87868c24
AZ
6011 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6012 to avoid alignment traps in non-cacheable memory.
6013 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6014
07aedd78
AZ
6015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6016 multiarch objects.
6017 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6018 file: multiarch power7 memmove.
6019 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6020 multiarch default memmove.
6021 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6022 multiarch memove for powerpc32/power4.
6023
17762f66
AZ
6024 * string/bcopy.c: Use full path to include memmove.c.
6025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6026 multiarch objects.
6027 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6028 bcopy for powerpc64.
6029 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6030 bcopy for powerpc64.
6031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6032 and memmove implementations.
6033 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6034 optimized multiarch memmove for POWER7/powerpc64.
6035 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6036 default multiarch memmove for powerpc64.
6037 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6038 multiarch for powerpc64.
6039 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6040 for POWER7/powerpc64.
6041 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6042 memmove for POWER7/powerpc64.
6043
d6f68bbe
AZ
6044 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6045 glibc default one.
6046
3f17b03b
AZ
6047 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6048 __ELF_NATIVE_CLASS equal to 64.
6049
08192659
RM
60502014-07-07 Roland McGrath <roland@hack.frob.com>
6051
f4c4021b
RM
6052 * sysdeps/nptl/lowlevellock.h: File removed.
6053
f083450f
RM
6054 * NEWS: NPTL is no longer an add-on!
6055 * nptl/internaltypes.h: Moved ...
6056 * sysdeps/nptl/internaltypes.h: ... here.
6057 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6058 * sysdeps/nptl/fork.c: Likewise.
6059 * sysdeps/nptl/gai_misc.h: Likewise.
6060 * sysdeps/nptl/librt-cancellation.c: Likewise.
6061 * sysdeps/nptl/jmp-unwind.c: Likewise.
6062 * sysdeps/nptl/setxid.h: Likewise.
6063 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6064 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6065 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6066 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6067 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6068 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6069 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6070 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6071 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6072 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6073 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6074 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6075 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6076 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6077 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6078 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6079 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6080 * nptl/Makeconfig: Moved ...
6081 * sysdeps/nptl/Makeconfig: ... here.
6082 * nptl/configure: File removed.
6083 * nptl/ANNOUNCE: File removed.
6084 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6085 * sysdeps/unix/sysv/linux/configure: Regenerated.
6086
08192659
RM
6087 * nptl/Makefile (routines): Add libc_pthread_init,
6088 libc_multiple_threads, register-atfork and unregister-atfork.
6089 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6090 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6091 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6092 pthread-pi-defines.sym, structsem.sym.
6093 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6094 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6095 [$(subdir) = nptl] (tests): Add tst-setgetname.
6096 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6097 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6098 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6099 [!LIBC_SIGACTION]: Remove aliases.
6100 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6101 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6102 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6103 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6104 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6105 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6106 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6108 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6109 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6110 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6111 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6112 __libc_allocate_rtsig_private.
6113 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6114 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6115 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6116 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6117 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6118 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6119 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6120 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6121 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6122 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6123 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6124 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6125 * nptl/internaltypes.h: ... here.
6126 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6127 * sysdeps/nptl/jmp-unwind.c: ... here.
6128 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6129 * nptl/libc-lowlevellock.c: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6131 * nptl/libc_multiple_threads.c: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6133 * nptl/libc_pthread_init.c: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6135 * nptl/lowlevelbarrier.sym: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6137 * nptl/lowlevelcond.sym: ... here.
6138 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6139 * nptl/lowlevellock.c: ... here.
6140 * nptl/lowlevellock.h: Moved ...
6141 * sysdeps/nptl/lowlevellock.h: ... here.
6142 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6143 * nptl/lowlevelrobustlock.c: ... here.
6144 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6145 * nptl/lowlevelrobustlock.sym: ... here.
6146 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6147 * nptl/lowlevelrwlock.sym: ... here.
6148 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6149 * nptl/pt-fork.c: ... here.
6150 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6151 * nptl/pthread-pi-defines.sym: ... here.
6152 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6153 * nptl/pthread_attr_getaffinity.c: ... here.
6154 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6155 * nptl/pthread_attr_setaffinity.c: ... here.
6156 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6157 * nptl/pthread_mutex_cond_lock.c: ... here.
6158 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6159 Update #include.
6160 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6161 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6162 * nptl/pthread_once.c: ... here, replacing old file.
6163 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6164 * nptl/pthread_yield.c: ... here.
6165 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6166 * nptl/register-atfork.c: ... here.
6167 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6168 * nptl/sem_post.c: ... here.
6169 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6170 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6171 * nptl/sem_timedwait.c: ... here.
6172 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6173 * nptl/sem_trywait.c: ... here.
6174 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6175 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6176 * nptl/sem_wait.c: ... here.
6177 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6178 * nptl/structsem.sym: ... here.
6179 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6180 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6181 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6182 * nptl/unregister-atfork.c: ... here.
6183 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6184 * nptl/unwindbuf.sym: ... here.
6185 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6186 * sysdeps/nptl/fork.c: ... here.
6187 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6188 * sysdeps/nptl/fork.h: ... here.
6189 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6190 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6191 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6192 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6193 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6194 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6195 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6196 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6197 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6198 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6199 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6200 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6201 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6202 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6203 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6204 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6205 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6206 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6207 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6208 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6209 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6210 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6211 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6212 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6213 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6214 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6215 * sysdeps/unix/sysv/linux/raise.c: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6217 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6218 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6219 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6220 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6221 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6222 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6223 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6224 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6225 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6226 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6227 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6228 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6229 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6230 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6231
96baf6ff
SP
62322014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6233
6234 * sysdeps/generic/memcopy.h: Add comment for
6235 MEMCPY_OK_FOR_FWD_MEMMOVE.
6236
6b7b14b2
WN
62372014-07-04 Will Newton <will.newton@linaro.org>
6238
1570a72b
WN
6239 * string/memchr.c: Merge from gnulib.
6240 [_LIBC]: Remove conditionals.
6241 (__ptr_t): Remove define.
6242 (LONG_MAX_32_BITS): Likewise.
6243 (LONG_MAX): Likewise.
6244 (MEMCHR): Use ANSI prototype and optimize algorithm.
6245
6b7b14b2
WN
6246 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6247
38851324
SP
62482014-07-03 Roland McGrath <roland@hack.frob.com>
6249
3d9eb57c
RM
6250 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6251 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6252
78b984ae
RM
6253 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6254 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6255 in a bare environment with no <stdlib.h> installed.
6256 * sysdeps/nptl/configure: Regenerated.
6257
2d5976a5
RM
6258 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6259
c1f5acd4
RM
6260 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6261 AC_EGREP_CPP for kernel header checks, so they only succeed if
6262 including <linux/version.h> actually works right.
6263 * sysdeps/unix/sysv/linux/configure: Regenerated.
6264
4d614fe5
RM
6265 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6266 value so it's not diagnosed as unused.
6267
38851324
SP
6268 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6269 thing) with "ifeq ($(subdir),rt)".
6270
b3ec00e5
RH
62712014-07-03 Richard Henderson <rth@redhat.com>
6272
69862e25
RH
6273 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6274 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6275 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6276
d5e16ade
RH
6277 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6278 (math_force_eval): New.
6279
ca7b945c
RH
6280 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6281 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6282
cd1175a3
RH
6283 * sysdeps/alpha/fpu/s_round.c: Remove file.
6284 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6285
b3ec00e5
RH
6286 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6287 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6288 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6289 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6290 (_dl_start, print_statistics): Likewise.
6291 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6292 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6293
6294 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6295 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6296 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6297 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6298 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6299 (HP_SMALL_TIMING_AVAIL): Define.
6300 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6301 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6302 (HP_SMALL_TIMING_AVAIL): Define.
6303 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6304 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6305
6306 * sysdeps/aarch64/hp-timing.h: New file.
6307
6308 * sysdeps/generic/hp-timing.h: Remove dead comment.
6309 * sysdeps/generic/hp-timing-common.h: New file.
6310 * sysdeps/alpha/hp-timing.h: Include it.
6311 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6312 * sysdeps/i386/i686/hp-timing.h: Likewise.
6313 * sysdeps/ia64/hp-timing.h: Likewise.
6314 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6315 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6316 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6317 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6318 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6319 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6320 (hp_timing_t): New.
6321
6322 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6323 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6324 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6325 * elf/rtld.c (_dl_start_final): Likewise.
6326 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6327 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6328 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6329 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6330 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6331 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6332 (HP_TIMING_DIFF_INIT): Remove.
6333 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6334 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6335 (HP_TIMING_DIFF_INIT): Remove.
6336 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6337 * sysdeps/i386/i686/hp-timing.c: Remove file.
6338 * sysdeps/x86_64/hp-timing.c: Remove file.
6339 * sysdeps/ia64/hp-timing.c: Remove file.
6340 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6341 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6342 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6343 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6344
6345 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6346 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6347 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6348 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6349 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6350 (HP_TIMING_ACCUM): Remove.
6351 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6352 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6353 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6354
6355 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6356 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6357 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6358 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6359 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6360 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6361 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6362 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6363
6364 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6365
225f410f
MR
63662014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6367
6368 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6369
3247f285
SP
63702014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6371
6372 Sync up with gettext.
6373 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6374 [_MSC_VER]: Include malloc.h
6375 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6376 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6377 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6378 TEMP_FAILURE_RETRY. Cast return of alloca.
6379 [!_LIBC] Call gl_rwlock_init.
6380 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6381
d12704c7
SP
63822014-07-02 Roland McGrath <roland@hack.frob.com>
6383
6384 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6385 before checking its value.
6386
99f8dc92
SP
63872014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6388
05fdac77
SP
6389 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6390
99f8dc92
SP
6391 * debug/memcpy_chk.c: Don't include pagecopy.h.
6392 * debug/mempcpy_chk.c: Likewise.
6393 * string/memcpy.c: Likewise.
6394 * string/memmove.c: Likewise.
6395 * sysdeps/powerpc/memmove.c: Likewise.
6396 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6397 definition of PAGE_COPY_FWD_MAYBE here...
6398 * sysdeps/generic/pagecopy.h: ... from here.
6399 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6400
bc8ea385
VR
64012014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6402 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6403
6404 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6406 optimizations.
6407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6408 (__libc_ifunc_impl_list): Likewise.
6409 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6410 multiarch strcat for PPC64.
6411 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6412 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6413
fe5f34e4
RM
64142014-07-02 Roland McGrath <roland@hack.frob.com>
6415
6416 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6417
256aa665
SP
64182014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6419
d4eb8195
SP
6420 * intl/loadmsgcat.c: Remove declaration of
6421 get_sysdep_segment_value.
6422 (get_sysdep_segment_value): Use ISO C style.
6423 (_nl_load_domain): Use ISO C style. Get rid of redundant
6424 semicolon. Fix typo and formatting in comment.
6425 (_nl_unload_domain): Use ISO C style.
6426
256aa665
SP
6427 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6428
b100f9aa
WN
64292014-07-02 Will Newton <will.newton@linaro.org>
6430
6431 * malloc/obstack.c: Merge from gnulib master.
6432 [HAVE_CONFIG_H]: Remove conditional code.
6433 [!_LIBC]: Include config.h.
6434 [!ELIDE_CODE]: Don't include inttypes.h, include
6435 stdint.h unconditionally.
6436 (print_and_abort): Mark as _Noreturn.
6437 (_obstack_allocated_p): Mark as __attribute_pure__.
6438 (obstack_free): Rename to __obstack_free.
6439 [!__attribute__]: Remove conditional code.
6440 * malloc/obstack.h: Merge from gnulib master.
6441 [__cplusplus]: Move conditional down.
6442 [!__attribute_pure__]: Define __attribute_pure__ here
6443 if it is not already defined.
6444 (_obstack_memory_used): Mark as __attribute_pure__.
6445 [!__obstack_free]: Define as obstack_free.
6446 [__GNUC__]: Remove check for ancient NeXT gcc.
6447
c4c41244
PE
64482014-07-02 Will Newton <will.newton@linaro.org>
6449 Paul Eggert <eggert@cs.ucla.edu>
6450
6451 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6452
e1e041c4
SP
64532014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6454
6455 * resolv/gethnamaddr.c: Add comment warning that the file is
6456 not maintained.
6457
ccf431ff
CD
64582014-07-01 Carlos O'Donell <carlos@redhat.com>
6459
d34570a6
CD
6460 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6461 entries.
6462
ccf431ff
CD
6463 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6464 entry for aio_cancel and aio_cancel64.
6465 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6466 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6467 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6468 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6469 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6470 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6471 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6472 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6473 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6474 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6475 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6476 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6477 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6478
ca06321d
RM
64792014-07-01 Roland McGrath <roland@hack.frob.com>
6480
6481 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6482 * nptl/pthread_mutex_lock.c: Likewise.
6483 * nptl/pthread_mutex_timedlock.c: Likewise.
6484 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6485
a1ac3184
RH
64862014-07-01 Richard henderson <rth@redhat.com>
6487
631021e0
RH
6488 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6489 (__isnan, __isnanl): Remove.
6490 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6491
a1ac3184
RH
6492 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6493
0c1d731f
SL
64942014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6495
6496 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6497
76985d3e
SP
64982014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6499
6500 * resolv/nss_dns/dns-host.c (getanswer_r)
6501 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6502
b0cb3096
JM
65032014-07-01 Joseph Myers <joseph@codesourcery.com>
6504
6505 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6506 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6507 undefine.
6508 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6509 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6510
4d76cb39
RM
65112014-07-01 Roland McGrath <roland@hack.frob.com>
6512
6513 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6514 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6515
6516 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6517 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6518
6519 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6520 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6521 ... here.
6522 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6523 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6524
6525 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6526 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6527 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6528 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6529
6530 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6531 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6532 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6533 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6534 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6535 Moved ...
6536 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6537 ... here.
6538 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6539 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6540 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6541 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6542 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6543 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6544 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6545 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6546 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6547 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6548 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6549 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6550 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6551 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6552 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6553 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6554 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6555 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6556 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6557 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6558 ... here.
6559 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6560 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6561 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6562 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6563 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6564 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6565 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6566 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6567
0cdcad17
DH
65682014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6569
6570 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6571 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6572 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6573 Add sysdep.
6574
9b71d0e3
AZ
65752014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6576
6577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6578
665390c2
JM
65792014-06-30 Joseph Myers <joseph@codesourcery.com>
6580
ae05a9d7
JM
6581 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6582 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6583
a7672a2f
JM
6584 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6585
665390c2
JM
6586 * sysdeps/arm/libm-test-ulps: Regenerated.
6587
d7a05d07
MR
65882014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6589 Roland McGrath <roland@hack.frob.com>
6590
6591 * test-skeleton.c (signal_handler): Kill the whole process group
6592 before killing the child individually.
6593 (main): Report any failure on `setpgid'.
6594
46f1d8a6
RM
65952014-06-30 Roland McGrath <roland@hack.frob.com>
6596
6597 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6598 from _TLS_H to _ARM_NPTL_TLS_H.
6599 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6600 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6601
9c37ec0b
JM
66022014-06-30 Joseph Myers <joseph@codesourcery.com>
6603
ce9c5b3e
JM
6604 [BZ #16539]
6605 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6606 (__expm1l): Return argument unchanged when small but not
6607 subnormal.
6608
3a6e9887
JM
6609 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6610 include macro name.
6611 (_FP_UNPACK_RAW_1_P): Likewise.
6612 (_FP_PACK_RAW_1): Likewise.
6613 (_FP_PACK_RAW_1_P): Likewise.
6614 (_FP_MUL_MEAT_1_wide): Likewise.
6615 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6616 (_FP_MUL_MEAT_1_hard): Likewise.
6617 (_FP_DIV_MEAT_1_imm): Likewise.
6618 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6619 (_FP_DIV_MEAT_1_udiv): Likewise.
6620 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6621 (_FP_UNPACK_RAW_2): Likewise.
6622 (_FP_UNPACK_RAW_2_P): Likewise.
6623 (_FP_PACK_RAW_2): Likewise.
6624 (_FP_PACK_RAW_2_P): Likewise.
6625 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6626 (_FP_MUL_MEAT_2_wide): Likewise.
6627 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6628 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6629 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6630 (_FP_MUL_MEAT_2_gmp): Likewise.
6631 (_FP_DIV_MEAT_2_udiv): Likewise.
6632 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6633 (_FP_FRAC_SRL_4): Likewise.
6634 (_FP_FRAC_SRST_4): Likewise.
6635 (_FP_FRAC_SRS_4): Likewise.
6636 (_FP_UNPACK_RAW_4): Likewise.
6637 (_FP_UNPACK_RAW_4_P): Likewise.
6638 (_FP_PACK_RAW_4): Likewise.
6639 (_FP_PACK_RAW_4_P): Likewise.
6640 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6641 (_FP_MUL_MEAT_4_wide): Likewise.
6642 (_FP_MUL_MEAT_4_gmp): Likewise.
6643 (umul_ppppmnnn): Likewise.
6644 (_FP_DIV_MEAT_4_udiv): Likewise.
6645 (__FP_FRAC_ADD_4): Likewise.
6646 (__FP_FRAC_SUB_3): Likewise.
6647 (__FP_FRAC_SUB_4): Likewise.
6648 (__FP_FRAC_DEC_3): Likewise.
6649 (__FP_FRAC_DEC_4): Likewise.
6650 (__FP_FRAC_ADDI_4): Likewise.
6651 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6652 (_FP_FRAC_SRL_8): Likewise.
6653 (_FP_FRAC_SRS_8): Likewise.
6654
9c37ec0b
JM
6655 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6656 include macro name.
6657 (FP_UNPACK_RAW_EP): Likewise.
6658 (FP_PACK_RAW_E): Likewise.
6659 (FP_PACK_RAW_EP): Likewise.
6660 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6661 (_FP_ISSIGNAN): Likewise.
6662 (_FP_ADD_INTERNAL): Likewise.
6663 (_FP_FMA): Likewise.
6664 (_FP_CMP): Likewise.
6665 (_FP_SQRT): Likewise.
6666 (_FP_TO_INT): Likewise.
6667 (_FP_FROM_INT): Likewise.
6668 (FP_EXTEND): Likewise.
6669 (_FP_DIV_MEAT_N_loop): Likewise.
6670
2125f674
MR
66712014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6672
6673 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6674 throughout.
6675
edea4028
JM
66762014-06-29 Joseph Myers <joseph@codesourcery.com>
6677
6678 [BZ #17097]
6679 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6680 result with correct sign in case of exponents that produce
6681 overflow except for X very close to 1.
6682
dd0ba018
PE
66832014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6684
6685 mktime: merge #if/#ifdef usage from glibc
6686 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6687 as that works with both Glibc's and Gnulib's style.
6688 See thread starting at Siddhesh Poyarekar's bug report at:
6689 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6690
64df73c2
SP
66912014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6692
6693 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6694 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6695 * sysdeps/tile/tilegx/memmove.c: Remove file.
6696
f1eafb41
JM
66972014-06-27 Joseph Myers <joseph@codesourcery.com>
6698
6699 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6700 abi-name definition.
6701 * scripts/soversions.awk: Do not handle or generate ABI lines.
6702 * shlib-versions: Remove ABI entries.
6703 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6704 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6705
58eb0862
RM
67062014-06-27 Roland McGrath <roland@hack.frob.com>
6707
37caf178
RM
6708 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6709 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6710 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6711 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6712 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6713 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6714 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6715 Moved ...
6716 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6717 ... here.
6718 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6719 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6720 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6721 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6722 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6723 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6724 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6725 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6726 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6727 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6728 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6729 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6730 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6731 Moved ...
6732 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6733 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6734 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6735 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6736 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6737 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6738 Moved ...
6739 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6740 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6741 Moved ...
6742 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6743 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6744 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6745 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6746 Moved ...
6747 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6748 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6749 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6750 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6751 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6752 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6753 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6754 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6755 Moved ...
6756 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6757 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6758 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6759 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6760 Moved ...
6761 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6762 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6763 Moved ...
6764 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6765 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6766 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6767 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6768 Moved ...
6769 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6770 ... here.
6771 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6772 Identical file removed.
6773 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6774 Moved ...
6775 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6776 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6777 Identical file removed.
6778 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6779 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6780 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6781 Moved ...
6782 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6783 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6784 Identical file removed.
6785 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6786 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6787 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6788 Identical file removed.
6789 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6790 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6791 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6792 Identical file removed.
6793 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6794 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6795 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6796 Identical file removed.
6797 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6798 Moved ...
6799 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6800 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6801 Identical file removed.
6802 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6803 Moved ...
6804 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6805 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6806 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6807 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6808 Identical file removed.
6809 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6810 Moved ...
6811 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6812 ... here.
6813 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6814 Identical file removed.
6815 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6816 Moved ...
6817 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6818 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6819 Identical file removed.
6820 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6821 Moved ...
6822 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6823 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6824 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6825 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6826 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6827 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6828 Moved ...
6829 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6830 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6831 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6832
58eb0862
RM
6833 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6834 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6835 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6836 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6837 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6838
6f12d062
AS
68392014-06-27 Arjun Shankar <arjun.is@lostca.se>
6840
6841 [BZ #17092]
6842 * nscd/nscd.c (monitor_child): Return exit status of child
6843 instead of return value from wait syscall.
6844
be254932
JM
68452014-06-27 Joseph Myers <joseph@codesourcery.com>
6846
cb403c34
JM
6847 * configure.ac (libc_commonpagesize): Remove variable.
6848 (libc_relro_required): Likewise.
6849 (libc_cv_z_relro): Remove configure test.
6850 * configure: Regenerated.
6851 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6852 variable.
6853 (libc_relro_required): Likewise.
6854 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6855 (libc_relro_required): Likewise.
6856 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6857 (libc_relro_required): Likewise.
6858 * sysdeps/arm/preconfigure: Regenerated.
6859 * sysdeps/ia64/preconfigure: Remove file.
6860 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6861 variable.
6862 (libc_relro_required): Likewise.
6863
be254932
JM
6864 [BZ #16561]
6865 [BZ #16562]
6866 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6867 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6868 recompute overflowing results in original rounding mode.
6869 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6870 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6871 recompute overflowing results in original rounding mode.
6872 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6873 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6874 recompute overflowing results in original rounding mode.
6875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6876 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6877 recompute overflowing results in original rounding mode.
6878 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6879 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6880 recompute overflowing results in original rounding mode.
6881 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6882 (libc_feholdsetround_ctx): New macro.
6883 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6884 * sysdeps/i386/fpu/libm-test-ulps: Update.
6885 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6886
b351d85a
JM
68872014-06-26 Joseph Myers <joseph@codesourcery.com>
6888
6889 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6890 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6891 corresponding .cpsetup call.
6892
3cb4de47
RM
68932014-06-26 Roland McGrath <roland@hack.frob.com>
6894
6895 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6896 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6897 * sysdeps/arm/Makefile [$(subdir) = csu]
6898 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6899 (static-only-routines): Add aeabi_read_tp here.
6900 (shared-only-routines): Add libc-aeabi_read_tp here.
6901 (CFLAGS-libc-start.c): Add -fexceptions here.
6902 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6903 (sysdep_routines, static-only-routines, shared-only-routines):
6904 Don't add to these here.
6905 (CFLAGS-libc-start.c): Likewise.
6906
6907 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6908 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6909 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6910 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6911 * sysdeps/arm/Makefile [$(subdir) = rt]
6912 (librt-sysdep_routines, librt-shared-only-routines):
6913 Append rt-aeabi_unwind_cpp_pr1 here.
6914 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6915 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6916 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6917 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6918 Append nptl-aeabi_unwind_cpp_pr1 here.
6919 (tests): Filter out tst-cleanupx4 here.
6920 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6921 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6922 Don't do those here.
6923
354426bb
JM
69242014-06-26 Joseph Myers <joseph@codesourcery.com>
6925
6926 * scripts/list-sources.sh: Do not handle ports specially.
6927
28b0a8c9
RM
69282014-06-26 Roland McGrath <roland@hack.frob.com>
6929
a3dd035d
RM
6930 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6931 * sysdeps/arm/feupdateenv.c: Likewise.
6932
28b0a8c9
RM
6933 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6934
e66a8203
JM
69352014-06-26 Joseph Myers <joseph@codesourcery.com>
6936
6937 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6938 trailing whitespace removed.
6939 * scripts/config.guess: Update to version 2014-03-23.
6940 * scripts/config.sub: Update to version 2014-05-01
6941 * scripts/install-sh: Update to version 2013-12-25.23.
6942 * scripts/move-if-change: Update from gnulib.
6943
74171115
SP
69442014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6945
b97c9ce5
SP
6946 * debug/memmove_chk.c: Remove pagecopy.h include.
6947
4000f892
SP
69482014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6949
74171115
SP
6950 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6951 identical to gnulib mktime.
6952
a8779c28
JM
69532014-06-26 Joseph Myers <joseph@codesourcery.com>
6954
e64708de
JM
6955 * configure.ac: Do not test for machine being rs6000. Do not test
6956 for powerpc*-*soft.
6957 * configure: Regenerated.
6958
a8779c28
JM
6959 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6960 test.
6961 * configure: Regenerated.
6962 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6963 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6964 Remove configure test.
6965 * sysdeps/arm/configure: Regenerated.
6966 * sysdeps/nptl/configure.ac: Do not check
6967 libc_cv_asm_cfi_directives.
6968 * sysdeps/nptl/configure: Regenerated.
6969 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6970 * sysdeps/x86_64/nptl/configure: Remove generated file.
6971 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6972 unconditional.
6973 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6974
2aac0a86
SP
69752014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6976
059bf913
SP
6977 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6978 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6979 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6980 it is defined.
6981
4cf5b6d0
SP
6982 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6983 instead of whether it is defined.
6984 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6985 * sysdeps/hppa/dl-machine.h: Likewise.
6986 * sysdeps/ia64/dl-machine.h: Likewise.
6987 * sysdeps/m68k/dl-machine.h: Likewise.
6988 * sysdeps/microblaze/dl-machine.h: Likewise.
6989 * sysdeps/mips/dl-machine.: Likewise.
6990 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6991 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6992 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6993 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6994 * sysdeps/sh/dl-machine.h: Likewise.
6995 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6996 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6997 * sysdeps/tile/dl-machine.h: Likewise.
6998 * sysdeps/x86_64/dl-machine.h: Likewise.
6999
2aac0a86
SP
7000 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7001 code.
7002 (verify_persistent_db): Likewise.
7003
6ad2df0b
RM
70042014-06-26 Roland McGrath <roland@hack.frob.com>
7005
d8a483f3
RM
7006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7007 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7009 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7011 Moved ...
7012 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7013 ... here.
7014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7015 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7017 Identical file removed.
7018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7019 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7021 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7023 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7025 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7027 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7029 Moved ...
7030 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7032 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7034 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7036 Moved ...
7037 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7039 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7041 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7043 Identical file removed.
7044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7045 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7047 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7049 Moved ...
7050 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7051 ... here.
7052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7053 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7055 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7057 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7059 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7061 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7063 Moved ...
7064 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7066 Moved ...
7067 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7069 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7071 Moved ...
7072 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7074 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7075
52ae23b4
RM
7076 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7077 folded into ...
7078 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7079 * sysdeps/unix/sysv/linux/s390/Versions
7080 (libpthread: GLIBC_2.19): New version set.
7081 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7082 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7083 (librt: GLIBC_2.3.3): New version set.
7084 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7085 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7086 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7087 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7088 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7089 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7090 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7091 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7092 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7093 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7094 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7095 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7096 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7097 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7098 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7099 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7100 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7101 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7102 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7103 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7104 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7105 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7106 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7107 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7108 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7109 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7110 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7111 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7112 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7113 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7114 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7115 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7118 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7119 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7120 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7121 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7122 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7123 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7124 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7125 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7126 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7127 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7128 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7129
39507e4a
RM
7130 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7131 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7132 (__libc_vfork): Define the function under this name.
7133 [!NOT_IN_libc] (__vfork): Make this an alias.
7134 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7135 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7136 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7137 (__libc_vfork): Define the function under this name.
7138 [!NOT_IN_libc] (__vfork): Make this an alias.
7139 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7140 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7141 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7142 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7143 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7144 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7145
e549ee56
RM
7146 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7147 code that was previously under [RESET_PID].
7148 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7149 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7150 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7151
6ad2df0b
RM
7152 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7153 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7154 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7155 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7156 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7157 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7158 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7159 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7160 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7161 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7163 Moved ...
7164 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7165 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7166 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7167 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7168 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7169 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7170 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7171 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7172 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7173 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7174 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7175 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7176 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7177 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7178 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7179 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7180 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7181 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7182 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7183 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7184 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7185 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7186 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7187 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7188 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7189 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7190 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7191 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7192 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7193
7c1c1d8e
RM
71942014-06-25 Roland McGrath <roland@hack.frob.com>
7195
7196 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7197 that was previously under [RESET_PID].
7198 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7199
3e239be6
JM
72002014-06-25 Joseph Myers <joseph@codesourcery.com>
7201
74385da5
JM
7202 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7203 not undefine and redefine.
7204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7205 [O_CLOEXEC]: Make code unconditional.
7206 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7207 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7208 <kernel-features.h>.
7209 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7210 conditional variable definition.
7211 (shm_open) [O_CLOEXEC]: Make code unconditional.
7212 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7213 code.
7214
c2570a0b
JM
7215 * configure.ac (USE_REGPARMS): Don't define here.
7216 * configure: Regenerated.
7217 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7218 * sysdeps/i386/configure: Regenerated.
7219
11b076bb
JM
7220 * nptl/createthread.c: Don't include kernel-features.h.
7221 * nptl/pthread_cancel.c: Likewise.
7222 * nptl/pthread_condattr_setclock.c: Likewise.
7223 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7224 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7225 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7226 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7227 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7228 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7229 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7231 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7232 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7233 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7234 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7235 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7236 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7237 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7238 * nscd/gai.c: Likewise.
7239 * nss/nss_db/db-open.c: Likewise.
7240 * sysdeps/generic/ldsodefs.h: Likewise.
7241 * sysdeps/sh/nptl/tls.h: Likewise.
7242 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7243 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7244 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7245 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7246 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7247 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7248 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7249 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7250 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7251 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7252 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7253 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7254 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7255 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7256 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7257 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7258 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7259 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7260 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7261 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7262 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7263 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7264 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7265 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7266 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7267 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7268 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7269 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7270 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7271 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7272 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7273 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7274 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7275 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7276 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7277 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7278 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7279 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7280 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7281 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7282 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7283 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7284 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7285 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7286 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7287 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7288 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7289 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7290 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7291 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7292 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7293 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7294 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7295 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7296 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7297 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7298 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7299 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7322 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7323 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7324 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7325 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7326 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7327 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7328 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7329 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7330 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7331 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7332 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7333 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7334 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7335 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7336 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7337 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7340 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7341 * sysdeps/unix/sysv/linux/system.c: Likewise.
7342 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7343 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7344 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7345 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7346 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7347 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7348 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7349
92072d57
JM
7350 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7351 * configure: Regenerated.
7352 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7353
3e239be6
JM
7354 * configure.ac (base_machine): Do not set specially for particular
7355 machines here.
7356 * configure: Regenerated.
7357 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7358 settings from configure.ac.
7359 * sysdeps/i386/preconfigure: New file.
7360 * sysdeps/s390/preconfigure: Likewise.
7361 * sysdeps/sh/preconfigure: Likewise.
7362 * sysdeps/sparc/preconfigure: Likewise.
7363
06d50baa
RM
73642014-06-25 Roland McGrath <roland@hack.frob.com>
7365
74836003
RM
7366 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7367 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7368 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7369 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7370 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7371 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7372 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7373 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7374 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7375 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7376 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7377 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7378 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7379 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7380 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7381 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7382 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7383 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7384 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7385
7386 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7387 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7388 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7389 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7390 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7391 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7392 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7393 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7394 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7395 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7396 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7397 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7398 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7399 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7400 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7401 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7402 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7403 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7404 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7405 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7406 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7407 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7408 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7409 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7410 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7411 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7412 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7413 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7414 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7415 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7416 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7417 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7418 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7419 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7420 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7421 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7422 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7423 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7424
06d50baa
RM
7425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7426 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7428 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7430 Moved ...
7431 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7432 ... here.
7433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7434 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7436 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7438 Moved ...
7439 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7441 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7443 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7445 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7447 Moved ...
7448 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7450 Moved ...
7451 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7453 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7455 Moved ...
7456 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7458 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7460 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7462 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7464 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7466 Moved ...
7467 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7468 ... here.
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7470 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7472 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7474 Moved ...
7475 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7477 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7479 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7481 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7483 Moved ...
7484 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7486 Moved ...
7487 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7489 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7491 Moved ...
7492 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7496 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7497
a4ccbc9b
JM
74982014-06-25 Joseph Myers <joseph@codesourcery.com>
7499
0828edbf
JM
7500 * timezone/checktab.awk: Update from tzcode 2014e.
7501 * timezone/private.h: Likewise.
7502 * timezone/tzfile.h: Likewise.
7503 * timezone/zdump.c: Likewise.
7504 * timezone/zic.c: Likewise.
7505
a4ccbc9b
JM
7506 * sysdeps/unix/sysv/linux/kernel-features.h
7507 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7508 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7509 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7510 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7511 Remove conditional code.
7512
9aea0cb8
WN
75132014-06-25 Will Newton <will.newton@linaro.org>
7514
7515 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7516 (_dl_arm_cap_flags): Add HWCAP2 values.
7517 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7518 (_DL_HWCAP_COUNT): Increase to 37.
7519 (_DL_HWCAP_LAST): New define.
7520 (_DL_HWCAP2_LAST): New define.
7521 (_dl_procinfo): Add support for printing
7522 AT_HWCAP2 entries.
7523 (_dl_string_hwcap): Use _dl_hwcap_string.
7524
6eaa65ce
AZ
75252014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7526
7527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7528
0f5b7185
JM
75292014-06-25 Joseph Myers <joseph@codesourcery.com>
7530
cfd2ea50
JM
7531 * README: Do not mention ports directory.
7532
cecf2ed4
JM
7533 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7534 Remove macro.
7535 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7536 <kernel-features.h>.
7537 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7538 conditional variable definition.
7539 (__futimes): Update comment.
7540 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7541 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7542
a638de82
JM
7543 [BZ #16560]
7544 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7545 arguments close to 0.
7546 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7547 Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7549 Likewise.
7550 * math/auto-libm-test-in: Add more tests of exp10.
7551 * math/auto-libm-test-out: Regenerated.
7552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7553
0f5b7185
JM
7554 * sysdeps/unix/sysv/linux/kernel-features.h
7555 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7556 * sysdeps/unix/sysv/linux/readv.c: Do not include
7557 <kernel-features.h>.
7558 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7559 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7560 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7561 unconditional.
7562 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7563 conditional code.
7564 * sysdeps/unix/sysv/linux/writev.c: Do not include
7565 <kernel-features.h>.
7566 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7567 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7568 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7569 unconditional.
7570 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7571 conditional code.
7572
c7aec4be
WN
75732014-06-25 Will Newton <will.newton@linaro.org>
7574
7575 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7576 comment changes throughout the file. Remove checks
7577 for HAVE_*_H definitions that are not required.
7578 (__gen_tempname): Call abort if an unknown kind value is
7579 passed.
7580
c5241f95
AS
75812014-06-25 Andreas Schwab <schwab@suse.de>
7582
7583 [BZ #17086]
7584 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7585 scalbln, scalblnf, scalblnl in libc.
7586
911422da
SP
75872014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7588
7589 [BZ #17086]
7590 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7591 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7592 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7593
0d749bbe
RM
75942014-06-24 Roland McGrath <roland@hack.frob.com>
7595
7596 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7597 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7598 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7599 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7600 Update #include.
7601 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7602 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7603 Update #include.
7604 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7605 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7606 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7607 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7608 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7609 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7610 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7611 * sysdeps/x86/bits/semaphore.h: ... here.
7612 * sysdeps/x86/nptl/elide.h: Moved ...
7613 * sysdeps/x86/elide.h: ... here.
7614 * sysdeps/x86_64/nptl/Implies: File removed.
7615 * sysdeps/i386/nptl/Implies: File removed.
7616
0ea5d373
JM
76172014-06-24 Joseph Myers <joseph@codesourcery.com>
7618
4060283d
JM
7619 [BZ #16539]
7620 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7621 return the argument for normal arguments with exponent below -64.
7622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7623 Likewise.
7624 * math/auto-libm-test-in: Add another test of expm1.
7625 * math/auto-libm-test-out: Regenerated.
7626
e7dd3c8c
JM
7627 [BZ #16287]
7628 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7629 calling __erfcl for arguments at least 16.
7630 * math/auto-libm-test-in: Add more tests of erf.
7631 * math/auto-libm-test-out: Regenerated.
7632
0ea5d373
JM
7633 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7634 individual architectures.
7635 * sysdeps/unix/sysv/linux/configure: Regenerated.
7636 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7637 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7638 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7639 (ldd_rewrite_script): Define variable.
7640 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7642 file.
7643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7644 generated file.
7645 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7646 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7647 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7648 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7649 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7650 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7651 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7652 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7653
2307e126
SP
76542014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7655
7656 [BZ #17084]
7657 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7658 Rename member __data.d to __data.__elision_data.
7659
c0a4ed77
W
76602014-06-24 Wilco <wdijkstr@arm.com>
7661
7662 * NEWS: Add 16918 to fixed bug list.
7663
b8c00573
W
76642014-06-24 Wilco <wdijkstr@arm.com>
7665
7666 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7667
b5570d92
W
76682014-06-24 Wilco <wdijkstr@arm.com>
7669
7670 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7671 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7672 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7673 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7674 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7675 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7676 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7677 Use _FPU_MASK_RM.
7678
947bdca2
W
76792014-06-24 Wilco <wdijkstr@arm.com>
7680
7681 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7682
00f669ed
W
76832014-06-24 Wilco <wdijkstr@arm.com>
7684
7685 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7686 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7687 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7688 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7689
db59bad3
W
76902014-06-24 Wilco <wdijkstr@arm.com>
7691
7692 [BZ #16918]
7693 * sysdeps/arm/feupdateenv.c (feupdateenv):
7694 Rewrite to reduce FPSCR accesses and fix return value.
7695
001f7b77
W
76962014-06-24 Wilco <wdijkstr@arm.com>
7697
7698 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7699 Optimize to avoid unnecessary FPSCR writes.
7700 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7701 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7702 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7703 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7704
4841e6a6
W
77052014-06-24 Wilco <wdijkstr@arm.com>
7706
7707 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7708 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7709 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7710 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7711 Call libc_fetestexcept_vfp.
7712 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7713 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7714 __SOFTFP__ ifdef so that they can be built for softfp.
7715
0813022c
SP
77162014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7717
08e5862f
SP
7718 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7719 argument type signed char.
7720
0813022c
SP
7721 * Makerules (check-abi): Dump diff of symlist if the test
7722 fails.
7723
3fc7236a
RM
77242014-06-23 Roland McGrath <roland@hack.frob.com>
7725
aba8ef95
RM
7726 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7727 using abort.
7728
3fc7236a
RM
7729 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7730 Remove unused variable ST.
7731
4da6db51
JM
77322014-06-23 Joseph Myers <joseph@codesourcery.com>
7733
4648909d
JM
7734 [BZ #16354]
7735 [BZ #17061]
7736 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7737 small arguments before calling __expm1.
7738 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7739 small arguments before calling __expm1f.
7740 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7741 small arguments before calling __expm1l.
7742 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7743 Likewise.
7744 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7745 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7746 spurious underflow for some cosh tests.
7747 * math/auto-libm-test-out: Regenerated.
7748 * sysdeps/i386/fpu/libm-test-ulps: Update.
7749
46a3d3c7
JM
7750 [BZ #17050]
7751 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7752 (__ieee754_y1): Set errno if return value overflows.
7753 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7754 (__ieee754_y1f): Set errno if return value overflows.
7755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7756 (__ieee754_y1l): Set errno if return value overflows.
7757 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7758 (__ieee754_y1l): Set errno if return value overflows.
7759 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7760 * math/auto-libm-test-out: Regenerated.
7761
863893ec
JM
7762 * math/gen-auto-libm-tests.c: Document use of
7763 ignore-zero-inf-sign.
7764 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7765 (input_flags): Add ignore-zero-inf-sign.
7766 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7767 * math/gen-libm-test.pl (generate_testfile): Handle
7768 ignore-zero-inf-sign.
7769 * math/auto-libm-test-in: Mark some cpow tests with
7770 ignore-zero-inf-sign and some with xfail-rounding.
7771 * math/auto-libm-test-out: Regenerated.
7772 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7773 * sysdeps/i386/fpu/libm-test-ulps: Update.
7774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7775
4da6db51
JM
7776 [BZ #16315]
7777 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7778 overflowing or underflowing operations take place with sign of
7779 result.
7780 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7781 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7782 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7783 (__ieee754_pow): Recompute overflowing and underflowing results in
7784 original rounding mode.
7785 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7786 (__powl_helper): Allow negative argument X and scale negated value
7787 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7788 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7789 overflowing or underflowing operations take place with sign of
7790 result.
7791 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7792 Include <math.h>.
7793 * math/auto-libm-test-in: Add more tests of pow.
7794 * math/auto-libm-test-out: Regenerated.
7795 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7796 (pow_tonearest_test_data): Remove.
7797 (pow_test_tonearest): Likewise.
7798 (pow_towardzero_test_data): Likewise.
7799 (pow_test_towardzero): Likewise.
7800 (pow_downward_test_data): Likewise.
7801 (pow_test_downward): Likewise.
7802 (pow_upward_test_data): Likewise.
7803 (pow_test_upward): Likewise.
7804 (main): Don't call removed functions.
7805 * sysdeps/i386/fpu/libm-test-ulps: Update.
7806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7807
5686b236
RM
78082014-06-23 Roland McGrath <roland@hack.frob.com>
7809
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7811 Moved ...
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7814 Moved ...
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7817 Moved ...
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7820 Moved ...
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7823 File removed.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7825 File removed.
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7827 File removed.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7829 File removed.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7831 File removed.
7832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7833 File removed.
7834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7835 File removed.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7837 File removed.
7838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7839 File removed.
7840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7841 File removed.
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7843 File removed.
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7845 File removed.
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7847 Moved ...
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7850 Moved ...
7851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7852 ... here.
7853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7854 Moved ...
7855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7857 Moved ...
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7860 Moved ...
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7863 Moved ...
7864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7866 Moved ...
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7869 Moved ...
7870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7872 Moved ...
7873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7876 ... here.
7877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7878 Moved ...
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7881 Moved ...
7882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7883 ... here.
7884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7885 Moved ...
7886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7887 ... here.
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7889 Moved ...
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7891 ... here.
7892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7893 Moved ...
7894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7896 Moved ...
7897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7901 Moved ...
7902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7903 ... here.
7904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7905 Moved ...
7906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7907 ... here.
7908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7909 Moved ...
7910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7912 Moved ...
7913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7915 Moved ...
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7918 Moved ...
7919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7921 Moved ...
7922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7923 ... here.
7924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7925 Moved ...
7926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7928 Moved ...
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7931 Moved ...
7932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7934 Moved ...
7935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7939 Moved ...
7940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7942 Moved ...
7943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7945 Moved ...
7946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7947 ... here.
7948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7949 Moved ...
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7951 ... here.
7952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7953 Moved ...
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7955 ... here.
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7957 Moved ...
7958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7960 Moved ...
7961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7963 Moved ...
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7966 Moved ...
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7968 ... here.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7970 Moved ...
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7972 ... here.
7973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7974 Moved ...
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7976 ... here.
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7978 Moved ...
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7981 Moved ...
7982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7983
e6d90d67
WD
79842014-06-23 Will Newton <will.newton@linaro.org>
7985 Wilco <wdijkstr@arm.com>
7986
7987 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7988 implementation. Include get-rounding-mode.h.
7989 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7990 [!libc_feholdsetround_noex_ctx]: Define
7991 libc_feholdsetround_noex_ctx.
7992 [!libc_feholdsetround_noexf_ctx]: Define
7993 libc_feholdsetround_noexf_ctx.
7994 [!libc_feholdsetround_noexl_ctx]: Define
7995 libc_feholdsetround_noexl_ctx.
7996 (libc_feholdsetround_ctx): New function.
7997 (libc_feresetround_ctx): New function.
7998 (libc_feholdsetround_noex_ctx): New function.
7999 (libc_feresetround_noex_ctx): New function.
8000
d42df555
RM
80012014-06-23 Roland McGrath <roland@hack.frob.com>
8002
88a46474
RM
8003 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8004 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8005 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8006 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8007 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8008 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8009
15bed472
RM
8010 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8011 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8012 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8013 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8014 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8015 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8016 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8017 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8018 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8019 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8020 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8021 Moved ...
8022 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8023 ... here.
8024 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8025 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8026 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8027 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8028 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8029 Moved ...
8030 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8031 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8032 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8033 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8034 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8035 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8036 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8037 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8038 Moved ...
8039 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8040 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8041 Moved ...
8042 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8043 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8044 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8045 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8046 Moved ...
8047 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8048 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8049 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8050 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8051 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8052 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8053 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8054 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8055 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8056 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8057 Moved ...
8058 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8059 ... here.
8060 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8061 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8062 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8063 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8064 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8065 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8066 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8067 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8068 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8069 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8070 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8071 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8072 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8073 Moved ...
8074 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8075 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8076 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8077 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8078 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8080 Moved ...
8081 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8082 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8083 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8085 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8086
d42df555
RM
8087 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8088 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8089 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8090 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8092 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8093 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8094 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8096 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8097 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8098 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8099 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8100 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8101 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8102 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8103 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8104 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8105 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8106 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8107 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8108 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8109 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8110 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8111 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8112 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8113 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8114 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8115
76e5216e
JM
81162014-06-23 Joseph Myers <joseph@codesourcery.com>
8117
8118 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8119 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8120 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8121 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8122 (IPV6_PMTUDISC_INTERFACE): Likewise.
8123 (IPV6_PMTUDISC_OMIT): Likewise.
8124
7a81cbcc
AS
81252014-06-23 Andreas Schwab <schwab@suse.de>
8126
8127 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8128 Remove unused errout label.
8129
db224009
AZ
81302014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8131
8132 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8133 macro: hardware supports Vector Crypto instructions.
8134
f393b4aa
WN
81352014-06-23 Will Newton <will.newton@linaro.org>
8136
cc7d0447
WN
8137 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8138 rather than __builtin_expect.
8139
d6d06225
WN
8140 * elf/dl-lookup.c (undefined_msg): Remove variable.
8141 (_dl_lookup_symbol_x): Replace undefined_msg with string
8142 literal.
8143
f393b4aa
WN
8144 * elf/dl-lookup.c (do_lookup_unique): New function.
8145 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8146 to a separate function.
8147
ac60763e
AS
81482014-06-23 Andreas Schwab <schwab@suse.de>
8149
8150 [BZ #17079]
8151 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8152 before reading the next line.
8153
c5c13355
WN
81542014-06-23 Will Newton <will.newton@linaro.org>
8155
8156 * test-skeleton.c (signal_handler): Use printf and %m
8157 rather than perror. Use printf rather than fprintf to
8158 stderr. Use puts rather than fputs to stderr.
8159 (main): Likewise.
8160
bd3675f9
LC
81612014-06-22 Ludovic Courtès <ludo@gnu.org>
8162
8163 * nscd/nscd.c (thread_info_t): Remove typedef.
8164 (thread_info): Remove variable.
8165
d03efb2f
AM
81662014-06-21 Allan McRae <allan@archlinux.org>
8167
8168 * NEWS: Mention CVE-2014-4043.
8169
bc4a86fa
RM
81702014-06-20 Roland McGrath <roland@hack.frob.com>
8171
dc9a54f8
RM
8172 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8173 * nptl/smp.h: ... here.
8174
bd7022c4
RM
8175 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8176
26ffd5e6
RM
8177 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8178 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8179 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8180 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8181
93a6d082
RM
8182 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8183 * nptl/stack-aliasing.h: New file.
8184 * sysdeps/i386/i686/stack-aliasing.h: New file.
8185 * sysdeps/i386/i686/nptl/Makefile: File removed.
8186 * sysdeps/x86_64/stack-aliasing.h: New file.
8187 * sysdeps/x86_64/nptl/Makefile
8188 (CFLAGS-pthread_create.c): Variable removed.
8189
bc4a86fa
RM
8190 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8191 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8192 old file.
8193 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8194 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8195 old file.
8196
2272ffc1
JM
81972014-06-21 Joseph Myers <joseph@codesourcery.com>
8198
8199 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8200 (__ASSUME_SIGFRAME_V2): Remove macro.
8201 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8202 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8203 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8204 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8205 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8206 Declare as function. Remove conditional macro definitions.
8207 (__default_rt_sa_restorer): Likewise.
8208 (__default_sa_restorer_v1): Remove declaration.
8209 (__default_sa_restorer_v2): Likewise.
8210 (__default_rt_sa_restorer_v1): Likewise.
8211 (__default_rt_sa_restorer_v2): Likewise.
8212 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8213 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8214 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8215
4b88139b
RM
82162014-06-20 Roland McGrath <roland@hack.frob.com>
8217
8218 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8219 (libpthread-routines): Add sysdep.
8220 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8221 * sysdeps/unix/sysv/linux/sparc/Versions
8222 (libpthread: GLIBC_2.3.3): New version set.
8223 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8224 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8225 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8226 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8227 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8228 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8229 Moved ...
8230 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8232 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8233 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8234 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8235 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8236 * sysdeps/sparc/nptl/sem_init.c: ... here.
8237 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8238 * sysdeps/sparc/nptl/sem_post.c: ... here.
8239 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8240 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8241 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8242 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8243 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8244 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8245 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8246 (libpthread-routines): Add cpu_relax.
8247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8248 File removed.
8249 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8250 (librt: GLIBC_2.3.3): New version set.
8251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8252 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8253 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8254 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8257 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8259 Moved ...
8260 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8262 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8264 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8266 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8268 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8270 Moved ...
8271 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8272 Update #include.
8273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8274 Moved ...
8275 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8276 Update #include.
8277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8278 Moved ...
8279 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8280 Update #include.
8281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8282 Moved ...
8283 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8284 Update #include.
8285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8286 Moved ...
8287 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8288 Update #include.
8289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8290 Moved ...
8291 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8292 Update #include.
8293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8294 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8300 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8302 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8303 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8304 Moved ...
8305 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8307 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8309 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8310
d7109027
JM
83112014-06-20 Joseph Myers <joseph@codesourcery.com>
8312
9bc6103d
JM
8313 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8314 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8315 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8316 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8317 * nscd/nscd.c: Likewise.
8318 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8319 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8320 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8321 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8322
d7109027
JM
8323 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8324 <kernel-features.h>.
8325 (init_mq_netlink): Remove conditional have_sock_cloexec
8326 definitions. Remove code conditional on have_sock_cloexec < 0.
8327 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8328 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8329 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8330 <kernel-features.h>.
8331 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8332 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8333
d92d8f8a
L
83342014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8335
8336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8337 Add tests for memset_chk and memset.
8338
8339 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8340 with AVX2_Usable.
8341
4e6d2347
MR
83422014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8343
257ce712
MR
8344 [BZ #16046]
8345 * elf/tst-dl-iter-static.c: New file.
8346 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8347
4e6d2347
MR
8348 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8349 error.
8350
a2a76afe
JM
83512014-06-20 Joseph Myers <joseph@codesourcery.com>
8352
7fd00f99
JM
8353 * sysdeps/unix/sysv/linux/kernel-features.h
8354 (__ASSUME_F_GETOWN_EX): Remove macro.
8355 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8356 <kernel-features.h>.
8357 (miss_F_GETOWN_EX): Remove variable or macro.
8358 (do_fcntl): Do not check miss_F_GETOWN_EX.
8359 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8360
4a103975
JM
8361 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8362 Remove macro.
8363 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8364 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8365 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8366
a2a76afe
JM
8367 * sysdeps/unix/sysv/linux/kernel-features.h
8368 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8369 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8370 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8371 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8372
90e5dd48
MR
83732014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8374
8375 [BZ #17075]
8376 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8377 Fix calculation of the symbol's value.
8378 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8379 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8380 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8381 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8382 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8383 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8384 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8385 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8386 (modules-names): Add `tst-armtlsdescmod',
8387 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8388 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8389 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8390 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8391 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8392 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8393 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8394 ($(objpfx)tst-armtlsdescloc): New dependency.
8395 ($(objpfx)tst-armtlsdescextnow): Likewise.
8396 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8397 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8398 TLS scheme support.
8399 * sysdeps/arm/configure: Regenerate.
8400
809fdf0d
JM
84012014-06-20 Joseph Myers <joseph@codesourcery.com>
8402
8403 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8404 (__atfct_seterrno_2): Likewise.
8405 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8406 <kernel-features.h>.
8407 (__ASSUME_ATFCTS): Do not undefine and redefine.
8408 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8409 (__have_atfcts): Remove conditional definition.
8410 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8411 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8412 unreachable if [__ASSUME_ATFCTS].
8413 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8414 not undefine and redefine.
8415 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8416 <kernel-features.h>.
8417 (faccessat) [__NR_faccessat]: Make code unconditional.
8418 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8419 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8420 <kernel-features.h>.
8421 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8422 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8423 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8424 <kernel-features.h>.
8425 (fchownat) [__NR_fchownat]: Make code unconditional.
8426 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8427 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8428 <kernel-features.h>.
8429 (futimesat) [__NR_futimesat]: Make code unconditional.
8430 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8431 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8432 <kernel-features.h>.
8433 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8434 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8435 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8436 <kernel-features.h>.
8437 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8438 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8439 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8440 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8441 <kernel-features.h>.
8442 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8443 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8444 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8445 <kernel-features.h>.
8446 (linkat) [__NR_linkat]: Make code unconditional.
8447 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8448 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8449 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8450 <kernel-features.h>.
8451 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8452 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8453 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8454 <kernel-features.h>.
8455 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8456 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8457 * sysdeps/unix/sysv/linux/openat.c: Do not include
8458 <kernel-features.h>.
8459 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8460 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8461 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8462 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8463 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8464 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8465 <kernel-features.h>.
8466 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8467 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8468 result of INLINE_SYSCALL directly, not via int variable.
8469 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8470 <kernel-features.h>.
8471 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8472 (renameat) [__NR_renameat]: Make code unconditional.
8473 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8474 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8475 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8476 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8477 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8478 (__ASSUME_ATFCTS): Do not undefine and redefine.
8479 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8480 <kernel-features.h>.
8481 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8482 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8483 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8484 <kernel-features.h>.
8485 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8486 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8487 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8488 (__ASSUME_ATFCTS): Do not undefine and redefine.
8489 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8490 <kernel-features.h>.
8491 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8492 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8493 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8494 <kernel-features.h>.
8495 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8496 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8497
224c6c51
L
84982014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8499
8500 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8501
aa6ec754
AS
85022014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8503
8504 [BZ #17069]
8505 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8506 constructed tree before returning error.
8507 * posix/bug-regexp36.c: Expand test case.
8508
d8c2869d
SL
85092014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8510
3ef6b850
SL
8511 [BZ #6803]
8512 * math/libm-test.inc (scalbln_test_date):
8513 Add errno expectations.
8514 * math/w_scalblnf.c: New File.
8515 Add wrapper which checks for setting errno to ERANGE.
8516 Add weak_alias for corresponding scalbln function.
8517 * math/w_scalbln.c: Likewise.
8518 * math/w_scalblnl.c: Likewise.
8519 * math/Makefile (libm-calls): Add w_scalbln.
8520 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8521 Remove weak_alias for corresponding scalbln function.
8522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8524 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8526 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8527 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8528 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8529 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8530 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8531 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8532 Remove long_double_symbol for scalblnl function in libm, libc.
8533 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8534 Add wrapper which checks for setting errno to ERANGE.
8535 Add long_double_symbol for scalblnl function in libm, libc.
8536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8537 Remove long_double_symbol for scalblnl in libm.
8538 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8539 Add wrapper which checks for setting errno to ERANGE.
8540 Add long_double_symbol for scalblnl function in libm.
8541 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8542 Do not use wrapper because of own implementation.
8543
c8daec5c
L
85442014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8545
8546 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8547 3 bytes for __pad1 for x32.
8548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8549
5c74e47c
LM
85502014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8551 H.J. Lu <hongjiu.lu@intel.com>
8552
8553 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8554 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8555 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8556 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8557 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8558
4d43ef1e
AS
85592014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8560
8561 [BZ #17069]
8562 * posix/regcomp.c (parse_expression): Deallocate partially
8563 constructed tree before returning error.
8564 * posix/Makefile.c (tests): Add bug-regex36.
8565 (generated): Add bug-regex36.mtrace.
8566 (tests-special): Add $(objpfx)bug-regex36-mem.out
8567 (bug-regex36-ENV): New variable.
8568 ($(objpfx)bug-regex36-mem.out): New rule.
8569 * posix/bug-regex36.c: New file.
8570
51a7380b
WN
85712014-06-19 Will Newton <will.newton@linaro.org>
8572
8573 * malloc/malloc.c (systrim): If extra is zero then return
8574 early.
8575
91b84fe5
SP
85762014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8577
8578 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8579
f940b965
RE
85802014-06-19 Richard Earnshaw <rearnsha@arm.com>
8581
8582 * sysdeps/aarch64/strchr.S: New file.
8583
4ba7a00f
JM
85842014-06-18 Joseph Myers <joseph@codesourcery.com>
8585
8586 [BZ #17022]
8587 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8588 from arguments -2 or below.
8589 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8590 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8591
b3a9f56b
AS
85922014-06-18 Andreas Schwab <schwab@suse.de>
8593
8594 [BZ #17062]
8595 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8596 of a bracket expr not to run off the end of the string.
8597 * posix/Makefile (tests): Add tst-fnmatch3.
8598 * posix/tst-fnmatch3.c: New file.
8599
85d89278
JM
86002014-06-18 Joseph Myers <joseph@codesourcery.com>
8601
8602 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8603 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8604 [$(cross-compiling) = no]: Likewise.
8605 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8606 [$(cross-compiling) = no]: Likewise.
8607
754c5a08
RS
86082014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8609
8610 [BZ #17031]
8611 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8612 double, adjusted for any remainder from the high double.
8613 * math/libm-test.inc (nearbyint): Add tests.
8614 (rint): Likewise.
8615
556f529d
AZ
86162014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8617
8618 * nptl/sysdeps/powerpc/Makefile: Moved ...
8619 * sysdeps/powerpc/nptl/Makefile: ... here.
8620 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8621 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8622 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8623 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8624 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8625 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8626 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8627 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8628 * nptl/sysdeps/powerpc/tls.h: Moved ...
8629 * sysdeps/powerpc/nptl/tls.h: ... here.
8630
91c03c53
JM
86312014-06-16 Joseph Myers <joseph@codesourcery.com>
8632
8633 [BZ #16681]
8634 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8635 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8636 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8637 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8638 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8639 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8640 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8641 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8642 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8643
a76e63c5
AS
86442014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8645
8646 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8647
f2f6d82f
AS
86482014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8649
ea8a15f6
AS
8650 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8651 defined operator.
8652
f2f6d82f
AS
8653 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8654 $TIMEOUTFACTOR.
8655
a7291117
FW
86562014-06-16 Florian Weimer <fweimer@redhat.com>
8657
8658 [BZ #17058]
8659 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8660 non-executed part of the test.
8661
3d7c00e3
AS
86622014-06-16 Andreas Schwab <schwab@suse.de>
8663
8664 * string/bits/string2.h (strdup, strndup): Update feature guard.
8665
6957fb31
DM
86662014-06-14 David S. Miller <davem@davemloft.net>
8667
8668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8669
11b9e55b
AS
86702014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8671
1d2a0492
AS
8672 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8673 that was previously under [RESET_PID].
8674 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8675
11b9e55b
AS
8676 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8677 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8678 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8679 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8680 (__libc_vfork): New strong alias.
8681 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8682
0f6901d0
AK
86832014-06-14 Andi Kleen <ak@linux.intel.com>
8684
8685 * sysdeps/generic/elide.h: New file.
8686
38bbbb9f
SL
86872014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8688
8689 * Makefile (installed-headers): Adjust path of pthread.h header.
8690
45193bb8
RM
86912014-06-13 Roland McGrath <roland@hack.frob.com>
8692
9a25fd1e
RM
8693 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8694 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8695 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8696 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8697
4004f7e4
RM
8698 * nptl/sysdeps/s390/Makefile: Moved ...
8699 * sysdeps/s390/nptl/Makefile: ... here.
8700 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8701 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8702 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8703 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8704 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8705 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8706 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8707 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8708 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8709 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8710 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8711 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8712 * nptl/sysdeps/s390/tls.h: Moved ...
8713 * sysdeps/s390/nptl/tls.h: ... here.
8714
45193bb8
RM
8715 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8716 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8717
f6fdf533
DM
87182014-06-13 David S. Miller <davem@davemloft.net>
8719
8720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8723 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8727 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8728 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8729 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8730 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8731 Remove RESET_PID cpp guards.
8732 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8733 Remove RESET_PID cpp guards.
8734 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8735
f5d71e14
AS
87362014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8737
8738 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8739 __sp to uintptr_t.
8740
b7aa8caa
AK
87412014-06-13 Andi Kleen <ak@linux.intel.com>
8742
4b266200
AZ
8743 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8744 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8745 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8746 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8747 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8748 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8749 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8750 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8751 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8752 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8753 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8754 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8755 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8756 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8757 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8758 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8759 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8760 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8761 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8762 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
8763
8764 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
8765 (pthread_rwlock_rdlock): Add elision.
8766 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8767 (pthread_rwlock_wrlock): Add elision.
8768 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8769 (pthread_rwlock_trywrlock): Add elision.
8770 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8771 (pthread_rwlock_tryrdlock): Add elision.
8772 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8773 (pthread_rwlock_tryrdlock): Add elision unlock.
8774 * nptl/sysdeps/pthread/pthread.h:
8775 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8776 (PTHREAD_RWLOCK_INITIALIZER,
8777 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8778 Handle new elision field.
8779 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8780 * sysdeps/arm/nptl/bits/pthreadtypes.h
8781 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8782 * sysdeps/sh/nptl/bits/pthreadtypes.h
8783 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8784 * sysdeps/tile/nptl/bits/pthreadtypes.h
8785 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8786 * sysdeps/a/nptl/bits/pthreadtypes.h
8787 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8788 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8789 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8790 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8791 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8792 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8793 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8794 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8795 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8796 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8797 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8798 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8799 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8800 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8801 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8802 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8803 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8804 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8805 (elision_init): Set try_xbegin to zero when no RTM.
8806 * sysdeps/x86/nptl/bits/pthreadtypes.h
8807 (pthread_rwlock_t): Change __pad1 to __rwelision.
8808 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 8809
a832bdd3
AK
88102014-06-13 Andi Kleen <ak@linux.intel.com>
8811
8812 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8813 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8814 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8815 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8816
995a46bb
MI
88172014-06-13 Meador Inge <meadori@codesourcery.com>
8818
8819 [BZ #16996]
03ed7738 8820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
8821 that the cached result has been set before returning it.
8822
45262aee
RM
88232014-06-12 Roland McGrath <roland@hack.frob.com>
8824
febf6cc5
RM
8825 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8826 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8827 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8828 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8829 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8830 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8831
e2682246
RM
8832 * nptl/sysdeps/sparc/Makefile: Moved ...
8833 * sysdeps/sparc/nptl/Makefile: ... here.
8834 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8835 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8836 * nptl/sysdeps/sparc/tls.h: Moved ...
8837 * sysdeps/sparc/nptl/tls.h: ... here.
8838 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8839 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8840 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8841 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8842 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8843 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8844 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8845 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8846 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8847 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8848 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8849 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8850 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8851 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8852 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8853 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8854 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8855 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8856 Update #include.
8857 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8858 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8859 Update #include.
8860 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8861 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8862 Update #include.
8863 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8864 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8865 Update #include.
8866
b0725f43
RM
8867 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8868
b14368b8
RM
8869 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8870 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8871
c5620eb3
RM
8872 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8873 (struct list_links): Type removed.
8874 (struct thread_node, struct timer_node): Replace struct list_links
8875 with struct list_head.
8876 (list_unlink_ip): Likewise.
8877 * sysdeps/pthread/timer_routines.c
8878 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8879 (list_append, list_insbefore): Likewise.
8880 (list_init): Function removed.
8881 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
8882 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8883 * sysdeps/pthread/Makefile: ... here, new file.
8884
8885 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8886 * sysdeps/nptl/Implies: ... here.
8887 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8888 * nptl/sysdeps/pthread/list.h: Moved ...
8889 * include/list.h: ... here.
8890 * nptl/sysdeps/pthread/createthread.c: Moved ...
8891 * nptl/createthread.c: ... here.
8892 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8893 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8894 * nptl/pt-longjmp.c: ... here.
8895 * nptl/sysdeps/pthread/Makefile: Moved ...
8896 * sysdeps/nptl/Makefile: ... here.
8897 * nptl/sysdeps/pthread/Subdirs: Moved ...
8898 * sysdeps/nptl/Subdirs: ... here.
8899 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8900 * sysdeps/nptl/aio_misc.h: ... here.
8901 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8902 * sysdeps/nptl/bits/libc-lock.h: ... here.
8903 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8904 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8905 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8906 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8907 * nptl/sysdeps/pthread/configure: Moved ...
8908 * sysdeps/nptl/configure: ... here.
8909 * nptl/sysdeps/pthread/configure.ac: Moved ...
8910 * sysdeps/nptl/configure.ac: ... here.
8911 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8912 * sysdeps/nptl/gai_misc.h: ... here.
8913 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8914 * sysdeps/nptl/librt-cancellation.c: ... here.
8915 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8916 * sysdeps/nptl/malloc-machine.h: ... here.
8917 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8918 * sysdeps/nptl/pthread-functions.h: ... here.
8919 * nptl/sysdeps/pthread/pthread.h: Moved ...
8920 * sysdeps/nptl/pthread.h: ... here.
8921 * nptl/sysdeps/pthread/setxid.h: Moved ...
8922 * sysdeps/nptl/setxid.h: ... here.
8923 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8924 * sysdeps/nptl/sigfillset.c: ... here.
8925 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8926 * sysdeps/nptl/tcb-offsets.h: ... here.
8927 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8928 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8929 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8930 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8931 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8932 * sysdeps/pthread/allocalim.h: ... here.
8933 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8934 * sysdeps/pthread/bits/sigthread.h: ... here.
8935 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8936 * sysdeps/pthread/flockfile.c: ... here.
8937 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8938 * sysdeps/pthread/ftrylockfile.c: ... here.
8939 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8940 * sysdeps/pthread/funlockfile.c: ... here.
8941 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8942 * sysdeps/pthread/posix-timer.h: ... here.
8943 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8944 * sysdeps/pthread/timer_create.c: ... here.
8945 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8946 * sysdeps/pthread/timer_delete.c: ... here.
8947 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8948 * sysdeps/pthread/timer_getoverr.c: ... here.
8949 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8950 * sysdeps/pthread/timer_gettime.c: ... here.
8951 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8952 * sysdeps/pthread/timer_routines.c: ... here.
8953 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8954 * sysdeps/pthread/timer_settime.c: ... here.
8955 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8956 * sysdeps/pthread/tst-timer.c: ... here.
8957 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8958 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8959
e876b090
RM
8960 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8961 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8962
f6b07b3d
RM
8963 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8964 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8965 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8966 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8967 Update #include target.
8968 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8969 * sysdeps/i386/i686/nptl/Makefile: ... here.
8970 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8971 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8972 Update #include target.
8973 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8974 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8975 * nptl/sysdeps/i386/Makefile: Moved ...
8976 * sysdeps/i386/nptl/Makefile: ... here.
8977 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8978 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8979 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8980 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8981 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8982 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8983 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8984 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8985 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8986 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8987 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8988 * nptl/sysdeps/i386/tls.h: Moved ...
8989 * sysdeps/i386/nptl/tls.h: ... here.
8990
45262aee
RM
8991 * sysdeps/sh/Makefile [$(subdir) = csu]
8992 (gen-as-const-headers): Add tcb-offsets.sym.
8993 * nptl/sysdeps/sh/Makefile: File removed.
8994 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8995 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8996 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8997 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8998 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8999 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9000 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9001 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9002 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9003 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9004 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9005 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9006 * nptl/sysdeps/sh/tls.h: Moved ...
9007 * sysdeps/sh/nptl/tls.h: ... here.
9008 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9009 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9010 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9011 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9012 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9013 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9014 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9015 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9016 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9017 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9018 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9019 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9020 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9021 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9022 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9023 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9024 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9025 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9026 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9027 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9028 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9029 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9030 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9031 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9032 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9033 Moved ...
9034 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9035 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9036 Moved ...
9037 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9038 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9039 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9040 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9041 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9042 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9043 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9045 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9046 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9047 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9048 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9049 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9050 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9051 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9052 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9053 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9054 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9055 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9056
35a5e3e3
SL
90572014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9058
9059 * posix/spawn_faction_addopen.c: Include string.h.
9060
14642b85
RM
90612014-06-11 Roland McGrath <roland@hack.frob.com>
9062
9063 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9064 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9065 * nptl/sysdeps/x86_64/Makefile: Moved ...
9066 * sysdeps/x86_64/nptl/Makefile: ... here.
9067 * nptl/sysdeps/x86_64/configure: Moved ...
9068 * sysdeps/x86_64/nptl/configure: ... here.
9069 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9070 * sysdeps/x86_64/nptl/configure.ac: ... here.
9071 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9072 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9073 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9074 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9075 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9076 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9077 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9078 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9079 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9080 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9081 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9082 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9083 * nptl/sysdeps/x86_64/tls.h: Moved ...
9084 * sysdeps/x86_64/nptl/tls.h: ... here.
9085 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9086 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9087 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9088 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9089
9090 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9091
31c44fea
AZ
90922014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9093
9094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9095
e81a4f9a
JM
90962014-06-11 Joseph Myers <joseph@codesourcery.com>
9097
9098 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9099 type.
9100 [POSIX] (off_t): Likewise.
9101 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9102 [POSIX] (S_ISBLK): Require macro.
9103 [POSIX] (S_ISCHR): Likewise.
9104 [POSIX] (S_ISDIR): Likewise.
9105 [POSIX] (S_ISFIFO): Likewise.
9106 [POSIX] (S_ISREG): Likewise.
9107 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9108 optional-macro.
9109 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9110 type.
9111 [POSIX] (time_t): Likewise.
9112 [POSIX] (timer_t): Likewise.
9113
89e435f3
FW
91142014-06-11 Florian Weimer <fweimer@redhat.com>
9115
9116 [BZ #17048]
9117 * posix/spawn_int.h (struct __spawn_action): Make the path string
9118 non-const to support deallocation.
9119 * posix/spawn_faction_addopen.c
9120 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9121 * posix/spawn_faction_destroy.c
9122 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9123 path in all spawn_do_open actions.
9124 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9125 posix_spawn_file_actions_addopen.
9126
c3a2ebe1
CM
91272014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9128
9129 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9130 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9131 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9132 conditional code always true.
9133 (__libc_vfork): New alias.
9134
9503784a
RM
91352014-06-11 Roland McGrath <roland@hack.frob.com>
9136
c9cab3d2
RM
9137 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9138 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9139
d3996c79
RM
9140 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9141
ba5ec611
RM
9142 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9143 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9144
f12b4814
RM
9145 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9146 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9147
9503784a
RM
9148 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9149 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9150
e23d3d26
VR
91512014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9152
9153 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9154 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9155 multiarch strcmp for PPC64.
9156 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9157 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9159 multiarch optimizations.
9160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9161 (__libc_ifunc_impl_list): Likewise.
9162
42b1161e
SP
91632014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9164
9165 * benchtests/scripts/validate_benchout.py: New script.
9166 * benchtests/Makefile (bench-func): Call it.
9167 * benchtests/scripts/benchout.schema.json: New file.
9168
2d0fc4dc
CM
91692014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9170
4a594c34
AZ
9171 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9172 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9173 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9174 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9175 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9176 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9177 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9178 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9179 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9180 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9181 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9182 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9183 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9184 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9185 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9186 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 9188 Moved ...
4a594c34 9189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 9190 ... here.
4a594c34 9191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 9192 Moved ...
4a594c34
AZ
9193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 9195 Moved ...
4a594c34 9196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 9197 ... here.
4a594c34 9198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 9199 Moved ...
4a594c34 9200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 9201 ... here.
4a594c34 9202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 9203 Moved ...
4a594c34
AZ
9204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 9206 Moved ...
4a594c34 9207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 9208 ... here.
4a594c34 9209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 9210 Moved ...
4a594c34 9211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 9212 ... here.
4a594c34 9213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 9214 Moved ...
4a594c34
AZ
9215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 9217 Moved ...
4a594c34 9218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 9219 ... here.
4a594c34 9220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 9221 Moved ...
4a594c34 9222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 9223 ... here.
4a594c34 9224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 9225 Moved ...
4a594c34 9226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 9227 ... here.
4a594c34 9228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 9229 Moved ...
4a594c34
AZ
9230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 9232 Moved ...
4a594c34 9233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 9234 ... here.
4a594c34 9235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 9236 Moved ...
4a594c34 9237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 9238 ... here.
4a594c34 9239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 9240 Moved ...
4a594c34 9241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 9242 ... here.
4a594c34 9243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 9244 Moved ...
4a594c34
AZ
9245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 9247 Moved ...
4a594c34 9248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 9249 ... here.
4a594c34 9250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 9251 Moved ...
4a594c34 9252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 9253 ... here.
4a594c34 9254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 9255 Moved ...
4a594c34
AZ
9256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 9258 Moved ...
4a594c34 9259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 9260 ... here.
4a594c34 9261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 9262 Moved ...
4a594c34
AZ
9263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 9265 Moved ...
4a594c34
AZ
9266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 9268 Moved ...
4a594c34 9269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 9270 ... here.
4a594c34 9271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 9272 Moved ...
4a594c34 9273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 9274 ... here.
4a594c34 9275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 9276 Moved ...
4a594c34 9277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 9278 ... here.
4a594c34 9279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 9280 Moved ...
4a594c34
AZ
9281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 9283 Moved ...
4a594c34 9284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 9285 ... here.
4a594c34 9286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 9287 Moved ...
4a594c34 9288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 9289 ... here.
4a594c34
AZ
9290 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9291 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9292 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9293 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9294 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 9295 Moved ...
4a594c34 9296 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 9297 ... here.
4a594c34
AZ
9298 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9299 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9300 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9301 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9303 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9305 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9307 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9308 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9309 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 9311 Moved ...
4a594c34
AZ
9312 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9313 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 9314 Moved ...
4a594c34
AZ
9315 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9316 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9317 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9318 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 9319 Moved ...
4a594c34
AZ
9320 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9321 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9322 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9323 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9324 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9325 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9326 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 9327
0570cfed
W
93282014-06-10 Wilco <wdijkstr@arm.com>
9329
9330 * math/test-fenv-return.c: New file.
9331 * math/Makefile: Add new test test-fenv-return.
9332
f8ba1b56
JM
93332014-06-10 Joseph Myers <joseph@codesourcery.com>
9334
9335 [BZ #17042]
9336 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9337 when x - 1 is zero.
9338 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9339 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9340 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9341 0.0L for an argument of 1.0L.
9342 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9343 Likewise.
9344 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9345 value when x - 1 is zero.
9346 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9347 * sysdeps/i386/fpu/libm-test-ulps: Update.
9348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9349
2c3520d9
BO
93502014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9351
9352 [BZ #15119]
9353 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9354
acaa4d24
RM
93552014-06-09 Roland McGrath <roland@hack.frob.com>
9356
9357 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9358 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9359
962b744d
RM
93602014-06-09 Roland McGrath <roland@hack.frob.com>
9361
d752f0cc
RM
9362 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9363 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9364
34eda6d1
RM
9365 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9366 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9367
50f0a637
RM
9368 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9369 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9370
08f41f04
RM
9371 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9372 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9373
962b744d
RM
9374 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9375 if not already defined.
9376 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9377 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9378 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9379 (TLS_INIT_TP): Use it.
9380 (TLS_DEFINE_INIT_TP): New macro.
9381 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9382
09f19b05
JM
93832014-06-09 Joseph Myers <joseph@codesourcery.com>
9384
9385 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9386 constant.
9387 [POSIX] (IXANY): Likewise.
9388 [POSIX] (OLCUC): Likewise.
9389 [POSIX || POSIX2008] (CBAUD): Do not allow.
9390 [POSIX || POSIX2008] (DEFECHO): Likewise.
9391 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9392 [POSIX || POSIX2008] (ECHOKE): Likewise.
9393 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9394 [POSIX || POSIX2008] (EXTA): Likewise.
9395 [POSIX || POSIX2008] (EXTB): Likewise.
9396 [POSIX || POSIX2008] (FLUSHO): Likewise.
9397 [POSIX || POSIX2008] (LOBLK): Likewise.
9398 [POSIX || POSIX2008] (PENDIN): Likewise.
9399 [POSIX || POSIX2008] (SWTCH): Likewise.
9400 [POSIX || POSIX2008] (VDISCARD): Likewise.
9401 [POSIX || POSIX2008] (VDSUSP): Likewise.
9402 [POSIX || POSIX2008] (VLNEXT): Likewise.
9403 [POSIX || POSIX2008] (VREPRINT): Likewise.
9404 [POSIX || POSIX2008] (VSTATUS): Likewise.
9405 [POSIX || POSIX2008] (VWERASE): Likewise.
9406 (B*): Change to B[0123456789]*.
9407 * conform/data/time.h-data [POSIX || UNIX98]
9408 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9409 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9410 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9411 [POSIX] (tm_*): Do not allow.
9412
686554bf
JM
94132014-06-07 Joseph Myers <joseph@codesourcery.com>
9414
9415 * Makefile (install): Don't set LANGUAGE.
9416 * Makefile.in (install): Likewise.
9417 * assert/Makefile (test-assert-ENV): Remove variable.
9418 (test-assert-perr-ENV): Likewise.
9419 * elf/Makefile (neededtest4-ENV): Likewise.
9420 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9421 [$(cross-compiling) = no]: Don't set LANGUAGE.
9422 * io/ftwtest-sh (LANG): Remove variable.
9423 * libio/Makefile (tst-widetext-ENV): Likewise.
9424 * manual/install.texi (Running make install): Don't refer to
9425 environment settings for make install.
9426 * INSTALL: Regenerated.
9427 * nptl/tst-tls6.sh: Don't set LANG.
9428 * posix/globtest.sh (LANG): Remove variable.
9429 * string/Makefile (tester-ENV): Likewise.
9430 (inl-tester-ENV): Likewise.
9431 (noinl-tester-ENV): Likewise.
9432 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9433 [$(cross-compiling) = no]: Don't set LANGUAGE.
9434 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9435 without explicit environment settings.
9436
68e6b6b1
RM
94372014-06-06 Roland McGrath <roland@hack.frob.com>
9438
9439 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9440 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9441 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9442 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9443
4d3ae034
CM
94442014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9445
9446 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9447 other files in the crypt directory.
9448 * crypt/crypt.c: Remove duplicate includes.
9449 * crypt/crypt-entry.c: Likewise.
9450 * crypt/crypt_util.c: Likewise.
9451
8540f6d2
JM
94522014-06-06 Joseph Myers <joseph@codesourcery.com>
9453
9454 * Makeconfig (run-program-env): New variable.
9455 (run-program-prefix-before-env): Likewise.
9456 (run-program-prefix-after-env): Likewise.
9457 (run-program-prefix): Define in terms of new variables.
9458 (built-program-cmd-before-env): New variable.
9459 (built-program-cmd-after-env): Likewise.
9460 (built-program-cmd): Define in terms of new variables.
9461 (test-program-prefix-before-env): New variable.
9462 (test-program-prefix-after-env): Likewise.
9463 (test-program-prefix): Define in terms of new variables.
9464 (test-program-cmd-before-env): New variable.
9465 (test-program-cmd-after-env): Likewise.
9466 (test-program-cmd): Define in terms of new variables.
9467 * Rules (make-test-out): Use $(run-program-env).
9468 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9469 (help): Do not mention environment variables. Mention
9470 --timeoutfactor option.
9471 (timeoutfactor): New variable.
9472 (blacklist_exports): Remove function.
9473 (exports): Remove variable.
9474 (command): Do not include ${exports}.
9475 * manual/install.texi (Configuring and compiling): Do not mention
9476 test wrappers preserving environment variables. Mention that last
9477 assignment to a variable must take precedence.
9478 * INSTALL: Regenerated.
9479 * benchtests/Makefile (run-bench): Use $(run-program-env).
9480 * catgets/Makefile ($(objpfx)test1.cat): Use
9481 $(built-program-cmd-before-env), $(run-program-env) and
9482 $(built-program-cmd-after-env).
9483 ($(objpfx)test2.cat): Do not specify environment variables
9484 explicitly.
9485 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9486 $(run-program-env) and $(built-program-cmd-after-env).
9487 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9488 $(run-program-env) and $(test-program-cmd-after-env).
9489 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9490 explicitly.
9491 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9492 run_program_env and test_program_cmd_after_env arguments.
9493 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9494 * elf/tst-pathopt.sh: Use run_program_env argument.
9495 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9496 $(test-wrapper-env) and $(run-program-env).
9497 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9498 run_program_env arguments.
9499 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9500 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9501 $(test-program-prefix-before-env), $(run-program-env) and
9502 $(test-program-prefix-after-env).
9503 ($(objpfx)tst-gettext2.out): Likewise.
9504 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9505 run_program_env and test_program_prefix_after_env arguments.
9506 * intl/tst-gettext2.sh: Likewise.
9507 * intl/tst-gettext4.sh: Do not set environment variables
9508 explicitly.
9509 * intl/tst-gettext6.sh: Likewise.
9510 * intl/tst-translit.sh: Likewise.
9511 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9512 $(test-program-prefix-before-env), $(run-program-env) and
9513 $(test-program-prefix-after-env).
9514 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9515 run_program_env and test_program_prefix_after_env arguments.
9516 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9517 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9518 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9519 explicitly with each use of ${test_wrapper_env}.
9520 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9521 $(test-program-prefix-before-env), $(run-program-env) and
9522 $(test-program-prefix-after-env).
9523 * posix/tst-getconf.sh: Do not set environment variables
9524 explicitly.
9525 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9526 run_program_env and test_program_prefix_after_env arguments.
9527 * stdio-common/tst-printf.sh: Do not set environment variables
9528 explicitly.
9529 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9530 $(test-program-prefix-before-env), $(run-program-env) and
9531 $(test-program-prefix-after-env).
9532 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9533 run_program_env and test_program_prefix_after_env arguments.
9534 Split $test calls into $test_pre and $test.
9535 * timezone/Makefile (build-testdata): Use
9536 $(built-program-cmd-before-env), $(run-program-env) and
9537 $(built-program-cmd-after-env).
9538
ed36bfa1
AZ
95392014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9540
9541 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9542 strlen for non SHARED builds.
9543
fc75bf46
SP
95442014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9545
9546 * nptl/allocatestack.c (check_list): Inlined function...
9547 (__reclaim_stacks): ... here.
9548
d89b3d80
OB
95492014-06-05 Ondřej Bílka <neleai@seznam.cz>
9550
9551 [BZ #15698]
9552 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9553 memory overrun.
9554
2bf18041
JM
95552014-06-05 Joseph Myers <joseph@codesourcery.com>
9556
9557 * Rules (make-test-out): Include
9558 LOCPATH=$(common-objpfx)localedata in default environment.
9559 * debug/Makefile (tst-chk1-ENV): Remove variable.
9560 (tst-chk2-ENV): Likewise.
9561 (tst-chk3-ENV): Likewise.
9562 (tst-chk4-ENV): Likewise.
9563 (tst-chk5-ENV): Likewise.
9564 (tst-chk6-ENV): Likewise.
9565 (tst-lfschk1-ENV): Likewise.
9566 (tst-lfschk2-ENV): Likewise.
9567 (tst-lfschk3-ENV): Likewise.
9568 (tst-lfschk4-ENV): Likewise.
9569 (tst-lfschk5-ENV): Likewise.
9570 (tst-lfschk6-ENV): Likewise.
9571 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9572 (tst-iconv7-ENV): Likewise.
9573 * intl/Makefile (LOCPATH-ENV): Likewise.
9574 (tst-codeset-ENV): Likewise.
9575 (tst-gettext3-ENV): Likewise.
9576 (tst-gettext5-ENV): Likewise.
9577 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9578 (tst-fopenloc-ENV): Likewise.
9579 (tst-fgetws-ENV): Remove variable.
9580 (tst-ungetwc1-ENV): Likewise.
9581 (tst-ungetwc2-ENV): Likewise.
9582 (bug-ungetwc2-ENV): Likewise.
9583 (tst-swscanf-ENV): Likewise.
9584 (bug-ftell-ENV): Likewise.
9585 (tst-fgetwc-ENV): Likewise.
9586 (tst-fseek-ENV): Likewise.
9587 (tst-ftell-partial-wide-ENV): Likewise.
9588 (tst-ftell-active-handler-ENV): Likewise.
9589 (tst-ftell-append-ENV): Likewise.
9590 * posix/Makefile (tst-fnmatch-ENV): Likewise.
9591 (tst-regexloc-ENV): Likewise.
9592 (bug-regex1-ENV): Likewise.
9593 (tst-regex-ENV): Likewise.
9594 (tst-regex2-ENV): Likewise.
9595 (bug-regex5-ENV): Likewise.
9596 (bug-regex6-ENV): Likewise.
9597 (bug-regex17-ENV): Likewise.
9598 (bug-regex18-ENV): Likewise.
9599 (bug-regex19-ENV): Likewise.
9600 (bug-regex20-ENV): Likewise.
9601 (bug-regex22-ENV): Likewise.
9602 (bug-regex23-ENV): Likewise.
9603 (bug-regex25-ENV): Likewise.
9604 (bug-regex26-ENV): Likewise.
9605 (bug-regex30-ENV): Likewise.
9606 (bug-regex32-ENV): Likewise.
9607 (bug-regex33-ENV): Likewise.
9608 (bug-regex34-ENV): Likewise.
9609 (bug-regex35-ENV): Likewise.
9610 (tst-rxspencer-ENV): Likewise.
9611 (tst-rxspencer-no-utf8-ENV): Likewise.
9612 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9613 (tst-sscanf-ENV): Likewise.
9614 (tst-swprintf-ENV): Likewise.
9615 (tst-swscanf-ENV): Likewise.
9616 (test-vfprintf-ENV): Likewise.
9617 (scanf13-ENV): Likewise.
9618 (bug14-ENV): Likewise.
9619 (tst-grouping-ENV): Likewise.
9620 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9621 (tst-strtod3-ENV): Likewise.
9622 (tst-strtod4-ENV): Likewise.
9623 (tst-strtod5-ENV): Likewise.
9624 (testmb2-ENV): Likewise./
9625 * string/Makefile (tst-strxfrm-ENV): Likewise.
9626 (tst-strxfrm2-ENV): Likewise.
9627 (bug-strcoll1-ENV): Likewise.
9628 (test-strcasecmp-ENV): Likewise.
9629 (test-strncasecmp-ENV): Likewise.
9630 * time/Makefile (tst-strptime-ENV): Likewise.
9631 (tst-ftime_l-ENV): Likewise.
9632 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9633 (tst-mbrtowc-ENV): Likewise.
9634 (tst-wcrtomb-ENV): Likewise.
9635 (tst-mbrtowc2-ENV): Likewise.
9636 (tst-c16c32-1-ENV): Likewise.
9637 (tst-mbsnrtowcs-ENV): Likewise.
9638
cd1fb604
OB
96392014-06-05 Ondřej Bílka <neleai@seznam.cz>
9640
9641 * manual/resource.texi (How to get information about the memory
9642 subsystem?): Fix typo.
9643 Reported by Peon de la Parra Ivan <peon@keba.com>
9644
b42eca7d
GY
96452014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9646
9647 [BZ #16882]
9648 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9649 (pthread_spin_lock): Branch out of spin loop to proper location.
9650 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9651 (pthread_spin_lock): Likewise.
9652
902b71f9
DM
9653 * nptl/tst-spin4.c: New test.
9654 * nptl/Makefile (tests): Add tst-spin4.
9655
f9d2d032
AS
96562014-06-03 Andreas Schwab <schwab@suse.de>
9657
9658 [BZ #15946]
9659 * resolv/res_send.c (send_dg): Reload file descriptor after
9660 calling reopen.
9661
cf7bfd28
SL
96622014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9663
9664 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9665
111cc714
RH
96662014-06-03 Richard Henderson <rth@redhat.com>
9667
89b4bd6b
RH
9668 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9669 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9670 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9671 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9672 in the SAVE_PID block.
9673 (__libc_vfork): New alias.
71840409 9674 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 9675
111cc714
RH
9676 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9677 child in registers, not on the stack. Remove RESET_PID conditionals.
9678 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9679
ccc39911
MS
96802014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9681
9682 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9683
693096cc
W
96842014-06-03 Wilco <wdijkstr@arm.com>
9685
9686 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9687 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9688 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9689 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9690 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9691 Likewise.
9692
0b4366bc
W
96932014-06-03 Wilco <wdijkstr@arm.com>
9694
9695 * sysdeps/aarch64/fpu/math_private.h
9696 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9697 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9698 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9699 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9700 Fix declarations.
9701
8747cd03
KS
97022014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9703
9704 * crypt/crypt-private.h: Include ufc-crypt.h.
9705 (__b64_from_24bit): Declare extern.
9706 * crypt/crypt_util.c(__b64_from_24bit): New function.
9707 (b64t): New static const variable.
9708 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9709 (b64t): Remove variable.
9710 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9711 * crypt/sha256-crypt.c: Include crypt-private.h.
9712 (b64t): Remove variable.
9713 (__sha256_crypt_r): Remove b64_from_24bit and replace
9714 with __b64_from_24bit.
9715 * crypt/sha512-crypt.c: Likewise.
9716
d936d379
RM
97172014-06-02 Roland McGrath <roland@hack.frob.com>
9718
9719 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9720 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9721 Label the code __libc_vfork rather than __vfork.
9722 [!NOT_IN_libc] (vfork): Define as weak alias.
9723 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9724 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9725 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9726
9fa76613
SP
97272014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9728
9729 * malloc/malloc.c (malloc_info): Fix format specifier for
9730 n_mmaps.
9731
a88dadbe
W
97322014-06-02 Wilco <wdijkstr@arm.com>
9733
9734 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9735 FPCR write.
9736
c95b3011
W
97372014-06-02 Wilco <wdijkstr@arm.com>
9738
9739 [BZ #17009]
9740 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9741 Rewrite to reduce FPCR/FPSR accesses.
9742
6b4d7a90
DM
97432014-06-01 David S. Miller <davem@davemloft.net>
9744
9745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9746
30f3d07c
DM
97472014-05-31 David S. Miller <davem@davemloft.net>
9748
9749 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9750 to occur in round to nearest mode when |x| >= 2.0
9751
74f31c18
RH
97522014-05-30 Richard Henderson <rth@twiddle.net>
9753
f0712b54
RH
9754 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9755 (PSEUDO_RET_NOERRNO): Remove.
9756 (ret): Don't redefine.
9757 (ret_NOERRNO): Define in terms of ret.
9758 (ret_ERRVAL): Likewise.
9759
74f31c18
RH
9760 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9761 use of PSEUDO_RET; perform the error check directly.
9762
30477995
MM
97632014-05-30 Marko Myllynen <myllynen@redhat.com>
9764
9765 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9766 with __int128_t.
9767
62a58816
SP
97682014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9769
9770 * malloc/malloc (malloc_info): Fix formatting.
9771
4d653a59
SP
97722014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9773 Roland McGrath <roland@hack.frob.com>
9774
9775 * malloc/malloc (malloc_info): Also print mmapped statistics.
9776
5190c17f
RM
97772014-05-30 Roland McGrath <roland@hack.frob.com>
9778
9779 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9780 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9781
987c0269
OB
97822014-05-30 Ondřej Bílka <neleai@seznam.cz>
9783
9784 * malloc/malloc.c (malloc_info): Inline mi_arena.
9785
af4e8ef9
RH
97862014-05-29 Richard Henderson <rth@twiddle.net>
9787
1670e207
RH
9788 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9789 Remove comma before expanding ASM_ARGS_##nr.
9790 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9791 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9792 of ASM_ARGS_##nr.
9793 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9794 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9795 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9796 (ASM_ARGS_1): Add leading comma.
9797
11a28aee
RH
9798 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9799 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9800 to __errno_location.
9801 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9802 Remove the expected plt for __errno_location.
9803
a17e5ffb 9804 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 9805 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
9806 call to __read_tp.
9807
b5be4597
RH
9808 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9809 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9810 it and break it down.
9811 (DOCARGS_0, DOCARGS_1): Do nothing.
9812 (DOCARGS_2): Update to store into the new stack frame.
9813 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9814 (UNDOCARGS_1): Update to restore from the new stack frame.
9815 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9816 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9817
645d44ab
RH
9818 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9819 (SINGLE_THREAD_P): New parameter for result regno.
9820 (PSEUDO): Update to match; use cbz instead of beq.
9821
a8b4f04a
RH
9822 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9823 Use ENTRY to define the _nocancel entry point. Share the syscall
9824 and syscall error check paths with the cancel path.
9825 (PSEUDO_END): New.
9826
af4e8ef9
RH
9827 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9828 whitespace; tabs before and after asm mnemonics.
9829
26b0d2e1
EW
98302014-05-29 Eric Wong <normalperson@yhbt.net>
9831
9832 [BZ #15132]
9833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9834 Call fstat64 or stat64 internally, depending on arguments passed.
9835 Replace stat buffer argument with file descriptor argument.
9836 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9837 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9838 Pass fd to __internal_statvfs instead of calling fstat64.
9839 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9840 Pass fd to __internal_statvfs64 instead of calling fstat64.
9841 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9842 Pass -1 to __internal_statvfs instead of calling stat64.
9843 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9844 Pass -1 to __internal_statvfs64 instead of calling stat64.
9845
1efe2bd9
RM
98462014-05-28 Roland McGrath <roland@hack.frob.com>
9847
0d3b7a19
RM
9848 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9849 that was previously under [RESET_PID].
9850 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9851
1efe2bd9
RM
9852 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9853 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9854
a6bea3ca
RM
98552014-05-27 Roland McGrath <roland@hack.frob.com>
9856
30b6629e
RM
9857 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9858
a6bea3ca
RM
9859 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9860 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9861
3dfb9a5c
OB
98622014-05-27 Ondřej Bílka <neleai@seznam.cz>
9863
9864 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9865
774f9285
AS
98662014-05-27 Andreas Schwab <schwab@suse.de>
9867
9868 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9869 TLS_INIT_TP macro.
9870 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9871 * elf/rtld.c (init_tls, dl_main): Likewise.
9872 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9873 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9874 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9875 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9876 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9877 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9878 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9879 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9880 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9881 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9882 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9883 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9884 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9885 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9886 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9887 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9888 * sysdeps/generic/tls.h: Update description.
9889
36ffe739
WN
98902014-05-27 Will Newton <will.newton@linaro.org>
9891
9892 [BZ #16990]
9893 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9894 and restore r2 rather than just restoring.
9895
2482ae43
SP
98962014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9897
9898 [BZ #16724]
9899 * libio/tst-ftell-append.c: New test case.
9900 * libio/Makefile (tests): Add test case.
9901 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9902 append mode.
9903 * libio/wfileops.c (do_ftell_wide): Likewise.
9904
3d1024e8
AZ
99052014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9906
bab90016
AZ
9907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9908
c7a8d667
AZ
9909 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9910 ...
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9913 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9914 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9915 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9916 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9917 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9918 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9920 Moved ...
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9922 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9923 Moved ...
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9925 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9926 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9927 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9928 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9929 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9930 ...
9931 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9932 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9933 Moved ...
9934 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9935 here.
9936 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9937 ...
9938 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9939 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9940 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9941
daee7851
AZ
9942 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9943 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9944 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9945 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9946
50a40819
AZ
9947 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9948 merge into ...
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9950 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9951 ...
9952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9954 ...
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9956 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9957 Moved ...
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9959 here.
9960 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9961 Moved ...
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9964 Moved ...
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9966
8464c2a1
AZ
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9968 conditional [RESET_PID].
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9970 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9971 removed.
9972 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9973 removed.
9974
3d1024e8
AZ
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9976 <tcb-offsets.h>.
9977 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9978 (__libc_vfork): New strong alias.
9979 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9980 removed.
9981 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9982 Removed.
9983
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9985 <tcb-offsets.h>.
9986 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9987 (__libc_vfork): New strong alias.
9988 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9989 removed.
9990 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9991 removed.
9992
fdfd175d
CD
99932014-05-26 Carlos O'Donell <carlos@redhat.com>
9994
9995 * malloc/malloc.c (mi_arena): New function.
9996 (malloc_info): Remove nested function mi_arena. Call non-nosted
9997 function mi_arena.
9998
d298c416
AZ
99992014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10000
10001 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10002 by insrwi.
10003 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10004 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10005 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10006 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10007 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10008 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10009 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10010
b60ea6ff
AS
100112014-05-26 Andreas Schwab <schwab@suse.de>
10012
10013 [BZ #16984]
10014 * locale/programs/repertoire.c (repertoire_read): Add slash
10015 between I18NPATH element and file name.
10016 * locale/programs/locfile.c (locfile_read): Likewise.
10017
67365926
SL
100182014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10019
10020 * nptl/pthread_mutexattr_settype.c
10021 (__pthread_mutexattr_settype):
10022 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10023
f8bdf1f0
SL
100242014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10025
10026 * nptl/tst-mutex5 (do_test):
10027 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10028
15eaf6ff
SP
100292014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10030
10031 * benchtests/README: Document 'init' directive.
10032 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10033 BENCH_INIT.
10034 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10035 (parse_file): Recognize 'init' directive.
10036
75f11331
KM
100372014-05-26 Kyle McMartin <kyle@redhat.com>
10038
10039 [BZ #16796]
10040 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10041 alignment of struct pthread.
10042
c3ec475c
SP
100432014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10044
10045 [BZ #16878]
10046 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10047 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10048 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10049 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10050
82aab97c
RH
100512014-05-25 Richard Henderson <rth@twiddle.net>
10052
aa2f176d
RH
10053 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10054 (SINGLE_THREAD_P_PIC): Remove.
10055 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10056 (SINGLE_THREAD_P_PIC): Remove.
10057
ca3cfa40
RH
10058 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10059 branch to syscall error ...
10060 (PSEUDO): ... here.
10061 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10062 from __local_syscall_error to .Lsyscall_error.
10063 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10064 (SYSCALL_ERROR): Update label name.
10065
6e6c2d01
RH
10066 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10067 Do not use DOARGS/UNDOARGS.
10068 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10069 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10070 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10071 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10072 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10073
c69abcee
RH
10074 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10075 block comment.
10076
82aab97c
RH
10077 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10078 define if !NOT_IN_libc.
10079 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10080 define with non-default symbol versions.
10081
8820e3ac
RH
100822014-05-23 Richard Henderson <rth@twiddle.net>
10083
900e445f
RH
10084 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10085 (vfork, __vfork): Define via compat_symbol.
10086
8820e3ac
RH
10087 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10088 [!HAVE_IFUNC] (vfork_compat): Remove.
10089 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10090
e59252a5
JM
100912014-05-23 Joseph Myers <joseph@codesourcery.com>
10092
10093 [BZ #16978]
10094 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10095 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10096 variable.
10097
132c7f5f
RH
100982014-05-23 Richard Henderson <rth@twiddle.net>
10099
bc89e962
RH
10100 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10101 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10102 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10103 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10104
10105 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10106 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10107 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10108 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10109 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10110 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10111 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10112 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10113 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10114 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10115 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10116 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10117 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10118 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10119 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10120 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10121 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10122 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10123 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10124 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10125 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10126 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10127 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10128 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10129 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10130 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10131 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10132 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10133 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10134 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10135 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10136 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10137 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10138 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10139 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10140 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10141 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10142 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10143 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10144 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10145 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10146 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10147 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10148 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10149 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10150 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10151 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10152 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10153 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10154 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10155 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10156 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10157 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10158 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10159 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10160 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10161
e2fa4bc2
RH
10162 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10163 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10164 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10165 before exiting on error.
10166 (__libc_vfork): New strong alias.
10167 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10168 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10169
279b24e2
RH
10170 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10171 that was previously under [RESET_PID].
10172 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10173
132c7f5f
RH
10174 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10175
b72592e7
JM
101762014-05-23 Joseph Myers <joseph@codesourcery.com>
10177
10178 [BZ #16977]
10179 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10180 value when x - 1 is zero.
10181 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10182 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10183 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10184 0.0L for an argument of 1.0L.
10185 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10186 Likewise.
10187 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10188 value when x - 1 is zero.
10189 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10190 * sysdeps/i386/fpu/libm-test-ulps: Update.
10191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10192
2302d679
RV
101932014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10194
10195 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10196 alphasort and versionsort.
10197
32999d63
AZ
101982014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10199
10200 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10201 macro.
10202 [copysignf]: Likewise.
10203
019324d0
SP
102042014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10205
10206 * crypt/md5-crypt.c: Fix formatting.
10207
34fff5c2
KS
102082014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10209
10210 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10211 (b64_from_24bit): New function.
10212
3d2badac
AZ
102132014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10214
10215 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10216 libc_hidden_builtin_def to ifunc.
10217 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10218 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10219
f7bb179f 102202014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
10221
10222 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10223 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10224
4134b50d
JM
102252014-05-21 Joseph Myers <joseph@codesourcery.com>
10226
bb7d0337
JM
10227 * nscd/Depend (linuxthreads): Remove.
10228 (nptl): Add.
10229 * resolv/Depend (linuxthreads): Remove.
10230 * rt/Depend (linuxthreads): Remove.
10231
4134b50d
JM
10232 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10233 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10234 $(common-objpfx)elf/.
10235 (link-libc-before-gnulib): Likewise.
10236 (elfobjdir): Remove variable.
10237 * Makefile (install): Use $(elf-objpfx) instead of
10238 $(common-objpfx)elf/.
10239 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10240 $(elfobjdir)/.
10241 (link-libc-deps): Likewise.
10242 ($(common-objpfx)libc.so): Likewise.
10243 ($(common-objpfx)linkobj/libc.so): Likewise.
10244 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10245 instead of $(common-objpfx)elf/.
10246 (symbolic-link-list): Likewise.
10247 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10248 [$(cross-compiling) = no]: Likewise.
10249 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10250 $(elfobjdir)/.
10251 (static-gnulib-arch): Likewise.
10252 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10253 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10254 $(common-objpfx)elf/.
10255
3612eb8f
RH
102562014-05-21 Richard Henderson <rth@redhat.com>
10257
a6b3657b
RH
10258 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10259 (SINGLE_THREAD_P): Use the correct width load. Fold
10260 into the ldr offset.
10261
3612eb8f
RH
10262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10263 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10264
175cef41
JM
102652014-05-20 Joseph Myers <joseph@codesourcery.com>
10266
10267 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10268 (libgcc_s_resume): Use __attribute_used__.
10269 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10270 Likewise.
10271
e13bccd3
AZ
102722014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10273
10274 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10275 optimization when used with float constants.
10276
7c112a38
AZ
10277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10278
ae75a883
AJ
102792014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10280
10281 [BZ #16915]
10282 * locale/nl_langinfo_l.c: Make direct reference to every
10283 _nl_current_CATEGORY symbol.
10284 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10285 (tests-static): Add tst-langinfo-static.
10286 (tests-special): Add tst-langinfo-static.out.
10287 ($(objpfx)tst-langinfo.out): Redirect output.
10288 ($(objpfx)tst-langinfo-static.out): New.
10289 * localedata/tst-langinfo.sh: Send output to stdout.
10290 * localedata/tst-langinfo-static.c: New file.
10291
4406c41c
AJ
10292 [BZ #16965]
10293 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10294 when the shift amount is modulo the limb size.
10295
4c0a1e63
RH
102962014-05-20 Richard Henderson <rth@redhat.com>
10297
de9d8f20
RH
10298 [BZ #16967]
10299 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10300 Change type of sa_flags from unsigned int to int.
10301
4c0a1e63
RH
10302 [BZ #16966]
10303 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
10304
10305 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10306
a60339aa
WN
103072014-05-20 Will Newton <will.newton@linaro.org>
10308
10309 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10310 Test the return value of the system call in the nocancel case.
10311
7d05a816
YR
103122014-05-20 Will Newton <will.newton@linaro.org>
10313 Yvan Roux <yvan.roux@linaro.org>
10314
10315 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10316 #include of asm/ptrace.h.
10317 (PTRACE_GET_THREAD_AREA): Remove #undef.
10318 (PTRACE_GETHBPREGS): Likewise.
10319 (PTRACE_SETHBPREGS): Likewise.
10320 (struct user_regs_struct): New structure.
10321 (struct user_fpsimd_struct): New structure.
10322 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10323 #include of asm/ptrace.h and second #include of sys/user.h.
10324 (PTRACE_GET_THREAD_AREA): Remove #undef.
10325 (PTRACE_GETHBPREGS): Likewise.
10326 (PTRACE_SETHBPREGS): Likewise.
10327 (ELF_NGREG): Use new struct user_regs_struct.
10328 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10329
af121e37
AZ
103302014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10331
10332 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10333 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10334
834caf06
JM
103352014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10336
10337 [BZ #16958]
10338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10339 membar to avoid block loads/stores to overlap previous stores.
10340
e184a918
RH
103412014-05-17 Richard Henderson <rth@redhat.com>
10342
10343 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10344 Create the __##syscall_name##_nocancel entry point.
10345 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10346 Remove; let the sysdep-cancel.h code create it.
10347
f56c7a6a
DM
103482014-05-17 David S. Miller <davem@davemloft.net>
10349
10350 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10351 Protect with __USE_GNU.
10352 (TIOCSET_TEMPT): Likewise.
10353 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10354 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10355 these are already provided in bits/ioctl-types.h
10356
f75616b2
RM
103572014-05-16 Roland McGrath <roland@hack.frob.com>
10358
3edeca86
RM
10359 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10360 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10361
f75616b2
RM
10362 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10363 Use wait4 regardless of [__NR_waitpid].
10364
deb0f7f6
MR
103652014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10366
10367 PR libgcc/60166
10368 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10369 (_FP_NANSIGN_Q): Set the quiet bit.
10370
79520f4b
JM
103712014-05-16 Joseph Myers <joseph@codesourcery.com>
10372
10373 * benchtests/Makefile
10374 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10375 not $(common-objpfx)math/libm.so.
10376 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10377 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10378 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10379 $(common-objpfx)dlfcn/libdl.so.
10380 ($(objpfx)tst-audit8): Depend on $(libm), not
10381 $(common-objpfx)math/libm.so.
10382 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10383 not $(common-objpfx)dlfcn/libdl.so.
10384 * math/Makefile
10385 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10386 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10387 [$(build-shared) = yes].
10388 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10389 $(common-objpfx)nptl/libpthread.so.
10390 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10391 $(common-objpfx)math/libm.so$(libm.so-version) or
10392 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10393 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10394 $(common-objpfx)dlfcn/libdl.so.
10395 * setjmp/Makefile (link-libm): Remove variable.
10396 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10397 * stdio-common/Makefile (link-libm): Remove variable.
10398 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10399 * stdlib/Makefile (link-libm): Remove variable.
10400 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10401 ($(objpfx)tst-strtod-round): Likewise.
10402 ($(objpfx)tst-tininess): Likewise.
10403 ($(objpfx)tst-strtod-underflow): Likewise.
10404 ($(objpfx)tst-strtod6): Likewise.
10405 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10406 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10407 $(common-objpfx)dlfcn/libdl.so.
10408
026b0fe4
AZ
104092014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10410
10411 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10412 BSD terminal modes definitions.
10413
def4bcb2
RM
104142014-05-16 Roland McGrath <roland@hack.frob.com>
10415
fe39b021
RM
10416 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10417 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10418
1d1fc46e 10419 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
10420 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10421 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10422 Don't do #include_next.
10423 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10424 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10425 Don't do #include_next.
10426 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10427 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10428 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10429 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10430
c72399fb
AM
104312014-05-16 Allan McRae <allan@archlinux.org>
10432
d51d659d
AM
10433 * po/sv.po: Update Swedish translation from translation project.
10434
c72399fb
AM
10435 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10436 in sed expression.
10437
d0583c40
AJ
104382014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10439
10440 [BZ #16917]
10441 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10442 errno if the TIOCGPTN ioctl fails with an error different than
10443 EINVAL.
10444 * login/tst-ptsname.c: New file.
10445 * login/Makefile (tests): Add tst-ptsname.
10446
d16e6ec7
AJ
10447 [BZ #16943]
10448 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10449 and prlimit64.
10450
cf26a0cb
SP
104512014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10452
10453 [BZ #16849]
10454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10455 herrno to return EAI_AGAIN.
10456
5675da1e
RM
104572014-05-14 Roland McGrath <roland@hack.frob.com>
10458
a5d87b3d
RM
10459 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10460 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10461 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10462 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10463 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10464 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10465 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10466 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10467 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10468 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10469 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10470 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10471 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10472 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10473 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10474 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10475 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10476 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10477 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10478 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10479 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10480 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10481 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10482 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10483 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10484 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10485 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10486 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10487 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10488 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10490 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10492 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10494 Moved ...
10495 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10497 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10499 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10501 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10503 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10505 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10507 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10509 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10511 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10513 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10515 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10517 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10519 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10521 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10523 Moved ...
10524 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10526 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10528 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10530 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10532 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10534 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10536 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10538 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10540 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10542 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10544 Moved ...
10545 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10547 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10548
039890a6
RM
10549 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10550 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10551 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10552 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10553 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10554 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10555 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10556 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10557 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10558 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10559 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10560 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10561 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10562 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10563 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10564 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10565 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10566 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10567 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10568 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10569 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10570 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10571 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10572 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10573 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10574 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10575 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10576 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10577 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10578 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10579 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10580
65c89320
RM
10581 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10582 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10583
348f8e8c
RM
10584 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10585 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10586 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10587 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10588 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10589 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10590 Moved ...
10591 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10592 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10593 Moved ...
10594 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10595 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10596 Moved ...
10597 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10598 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10599 Moved ...
10600 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10601 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10602 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10603 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10604 Moved ...
10605 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10606 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10607 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10608 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10609 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10610 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10611 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10612 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10613 Moved ...
10614 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10615 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10616 Moved ...
10617 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10618 ... here.
10619 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10620 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10621 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10622 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10623 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10624 Moved ...
10625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10626 ... here.
10627 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10628 Moved ...
10629 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10630 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10631 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10632 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10633 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10634 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10635 Moved ...
10636 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10637 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10638 Moved ...
10639 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10640 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10641 Moved ...
10642 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10643 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10644 Moved ...
10645 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10646 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10647 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10648 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10649 Moved ...
10650 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10651 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10652 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10653 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10654 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10655 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10656 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10657 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10658 Moved ...
10659 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10660 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10661 Moved ...
10662 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10663 ... here.
10664 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10665 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10666 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10667 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10668 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10669 Moved ...
10670 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10671 ... here.
10672 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10673 Moved ...
10674 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10675 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10676 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10677 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10678 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10679 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10680 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10681 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10682 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10683 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10684 Moved ...
10685 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10686 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10687 Moved ...
10688 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10689 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10690 Moved ...
10691 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10692 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10693 Moved ...
10694 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10695 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10696 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10697 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10698 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10699 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10700 Moved ...
10701 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10702 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10703 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10704 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10705 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10706 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10707 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10708 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10709 Moved ...
10710 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10711 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10712 Moved ...
10713 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10714 ... here.
10715 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10716 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10717 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10718 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10719 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10720 Moved ...
10721 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10722 ... here.
10723 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10724 Moved ...
10725 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10726 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10727 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10728 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10729 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10730 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10731 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10732 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10733 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10734 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10735 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10736
5085af05
RM
10737 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10738 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10739
708f0813
RM
10740 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10741 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10742
c96067bc
RM
10743 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10744 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10745 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10746 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10747 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10748 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10749 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10750 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10751 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10752 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10753 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10754 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10755 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10756 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10757 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10758 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10759 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10760 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10761 Moved ...
10762 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10763 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10764 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10765 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10766 Moved ...
10767 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10768 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10769 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10770 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10771 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10772 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10773 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10774 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10775 Moved ...
10776 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10777 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10778 Moved ...
10779 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10780 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10781 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10782 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10783 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10784 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10785 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10786 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10787 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10788 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10789 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10790 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10791 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10792 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10793 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10794 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10795 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10796
ec136444
RM
10797 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10798 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10799 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10800 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10801 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10802
2fbdf533
RM
10803 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10804 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10805 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10806 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10807 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10808 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10809 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10810 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10811 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10812 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10813
4c68138b
RM
10814 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10815 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10816
4eaae765
RM
10817 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10818 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
10819 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10820 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10821 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10822 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10823 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10824 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10825 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10826 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10827 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10828 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10829 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10830 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10832 Update #include.
10833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10834 Likewise.
10835 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10836 Likewise.
10837 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10838 Likewise.
10839 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10840 Likewise.
10841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10842 Likewise.
10843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10844 Likewise.
10845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10846 Likewise.
10847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10848 Likewise.
10849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10850 Likewise.
4ef6befa
RM
10851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10854 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
10856 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10857 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10858 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10859 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10860 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10861 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10862 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10863 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10864 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10865 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 10866
941d7dfd
RM
10867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10868 that was previously under [RESET_PID].
10869 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10870 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10871 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10872
1b731c35
RM
10873 * sysdeps/i386/nptl/Implies: New file.
10874 * sysdeps/x86_64/nptl/Implies: New file.
10875 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10876 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10877 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10878 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10879
e2787137
RM
10880 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10881 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10882 (__libc_vfork): New strong alias.
10883 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10884 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10885
10886 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10887 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10888 (__libc_vfork): New strong alias.
10889 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10890 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10891
5675da1e
RM
10892 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10893 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10894 (__libc_vfork): New strong alias.
10895 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10896 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10897 * nptl/pt-vfork.c: New file.
10898 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10899 (libpthread: GLIBC_2.20): New version set (empty).
10900
4f02e2b8
WN
109012014-05-14 Will Newton <will.newton@linaro.org>
10902
10903 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10904 rather than #if.
10905
0bf061d3
JM
109062014-05-14 Joseph Myers <joseph@codesourcery.com>
10907
1a84c3d6
JM
10908 [BZ #16564]
10909 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10910 arguments with exponent 65 or above.
10911 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10912 arguments 0x1p113L or above.
10913 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10914 to arguments 0x1p107L or above.
10915 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10916 positive arguments with exponent 65 or above.
10917 * math/auto-libm-test-in: Add more tests of log1p.
10918 * math/auto-libm-test-out: Regenerated.
10919
01dbacd2
JM
10920 [BZ #16928]
10921 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10922 non-finite arguments is +0.
10923 * math/s_cacosf.c (__cacosf): Likewise.
10924 * math/s_cacosl.c (__cacosl): Likewise.
10925 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10926 * sysdeps/i386/fpu/libm-test-ulps: Update.
10927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10928
913d03c8
JM
10929 [BZ #16927]
10930 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10931 value.
10932 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10933 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10934 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10935 for explicit high bit of mantissa when testing for argument equal
10936 to 1.
10937 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10938 * sysdeps/i386/fpu/libm-test-ulps: Update.
10939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10940
0bf061d3
JM
10941 [BZ #16516]
10942 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10943 (__erf): Scale by 16 instead of 8 in potentially underflowing
10944 case. Ensure exception if result actually underflows.
10945 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10946 (__erff): Scale by 16 instead of 8 in potentially underflowing
10947 case. Ensure exception if result actually underflows.
10948 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10949 (efx8): Remove variable.
10950 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10951 case. Ensure exception if result actually underflows.
10952 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10953 (efx8): Remove variable.
10954 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10955 case. Ensure exception if result actually underflows.
10956 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10957 (efx8): Remove variable.
10958 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10959 case. Ensure exception if result actually underflows.
10960 * math/auto-libm-test-in: Add more tests of erf.
10961 * math/auto-libm-test-out: Regenerated.
10962
73ba67cb
AS
109632014-05-14 Andreas Schwab <schwab@suse.de>
10964
3d8c8bff
AS
10965 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10966 Remove code conditionalized on USE___THREAD.
10967
73ba67cb
AS
10968 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10969 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10970 not definedness.
10971
5c521ecd
JM
109722014-05-14 Joseph Myers <joseph@codesourcery.com>
10973
5e7698c6
JM
10974 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10975 Define unconditionally.
10976 (__ASSUME_O_CLOEXEC): Likewise.
10977 (__ASSUME_SOCK_CLOEXEC): Likewise.
10978 (__ASSUME_IN_NONBLOCK): Likewise.
10979 (__ASSUME_PIPE2): Likewise.
10980 (__ASSUME_EVENTFD2): Likewise.
10981 (__ASSUME_SIGNALFD4): Likewise.
10982 (__ASSUME_DUP3): Likewise.
10983 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10984 (__ASSUME_DUP3): Do not define.
10985 (__ASSUME_EVENTFD2): Likewise.
10986 (__ASSUME_IN_NONBLOCK): Likewise.
10987 (__ASSUME_O_CLOEXEC): Likewise.
10988 (__ASSUME_PIPE2): Likewise.
10989 (__ASSUME_SIGNALFD4): Likewise.
10990 (__ASSUME_SOCK_CLOEXEC): Likewise.
10991 (__ASSUME_UTIMES): Undefine.
10992 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10993 (__ASSUME_UTIMES): Do not define.
10994 (__ASSUME_O_CLOEXEC): Likewise.
10995 (__ASSUME_SOCK_CLOEXEC): Likewise.
10996 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10997 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10998 0x020621].
10999 (__ASSUME_PIPE2): Likewise.
11000 (__ASSUME_EVENTFD2): Likewise.
11001 (__ASSUME_SIGNALFD4): Likewise.
11002 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11003 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11004 Do not define.
11005 (__ASSUME_EVENTFD2): Likewise.
11006 (__ASSUME_SIGNALFD4): Likewise.
11007 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11008 (__ASSUME_32BITUIDS): Likewise.
11009 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11010 (__ASSUME_IPC64): Likewise.
11011 (__ASSUME_ST_INO_64_BIT): Likewise.
11012 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11013 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11014 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11015 (__ASSUME_UTIMES): Do not define.
11016 (__ASSUME_PSELECT): Likewise.
11017 (__ASSUME_PPOLL): Likewise.
11018 (__ASSUME_O_CLOEXEC): Likewise.
11019 (__ASSUME_SOCK_CLOEXEC): Likewise.
11020 (__ASSUME_IN_NONBLOCK): Likewise.
11021 (__ASSUME_PIPE2): Likewise.
11022 (__ASSUME_EVENTFD2): Likewise.
11023 (__ASSUME_SIGNALFD4): Likewise.
11024 (__ASSUME_DUP3): Likewise.
11025 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11026 (__ASSUME_UTIMES): Likewise.
11027 (__ASSUME_O_CLOEXEC): Likewise.
11028 (__ASSUME_SOCK_CLOEXEC): Likewise.
11029 (__ASSUME_IN_NONBLOCK): Likewise.
11030 (__ASSUME_PIPE2): Likewise.
11031 (__ASSUME_EVENTFD2): Likewise.
11032 (__ASSUME_SIGNALFD4): Likewise.
11033 (__ASSUME_DUP3): Likewise.
11034 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11035 (__ASSUME_UTIMES): Likewise.
11036 (__ASSUME_O_CLOEXEC): Likewise.
11037 (__ASSUME_SOCK_CLOEXEC): Likewise.
11038 (__ASSUME_IN_NONBLOCK): Likewise.
11039 (__ASSUME_PIPE2): Likewise.
11040 (__ASSUME_EVENTFD2): Likewise.
11041 (__ASSUME_SIGNALFD4): Likewise.
11042 (__ASSUME_DUP3): Likewise.
11043 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11044 Likewise.
11045 (__ASSUME_UTIMES): Likewise.
11046 (__ASSUME_EVENTFD2): Likewise.
11047 (__ASSUME_SIGNALFD4): Likewise.
11048 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11049 (__ASSUME_O_CLOEXEC): Likewise.
11050 (__ASSUME_SOCK_CLOEXEC): Likewise.
11051 (__ASSUME_IN_NONBLOCK): Likewise.
11052 (__ASSUME_PIPE2): Likewise.
11053 (__ASSUME_EVENTFD2): Likewise.
11054 (__ASSUME_SIGNALFD4): Likewise.
11055 (__ASSUME_DUP3): Likewise.
11056 (__ASSUME_UTIMES): Undefine.
11057
5c521ecd
JM
11058 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11059 feclearexcept. Remove symbol versioning code.
11060 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11061 symbol versioning code.
11062 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11063 symbol versioning code.
11064 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11065 feupdateenv. Remove symbol versioning code.
11066 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11067 fegetexceptflag. Remove symbol versioning code.
11068 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11069 fesetexceptflag. Remove symbol versioning code.
11070 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11071 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11072 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11073 (__posix_fadvise64_l32): Remove prototype.
11074 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11075 code.
11076
5da9dfad
RM
110772014-05-13 Roland McGrath <roland@hack.frob.com>
11078
11079 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11080 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11081 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11082 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11083
893b4f37
SK
110842014-05-13 Sami Kerola <kerolasa@iki.fi>
11085
11086 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11087 current working directory
11088
e0db6517
RM
110892014-05-13 Roland McGrath <roland@hack.frob.com>
11090
58aa195d
RM
11091 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11092 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11093 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11094 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11095 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11096 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11097 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11098 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11099 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11100 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11101 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11102 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11103 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11104 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11105 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11106 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11107 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11108 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11109 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11110 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11111 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11112 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11113 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11114 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11115 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11116 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11117 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11118 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11119 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11120 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11121 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11122 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11123 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11124 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11125 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11126 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11127 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11128 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11129 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11130 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11131 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11132 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11133
8c6d01f0
RM
11134 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11135 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11136
11137 * sysdeps/unix/sysv/linux/arm/Makefile
11138 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11139 Add rt-aeabi_unwind_cpp_pr1.
11140 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11141 Add nptl-aeabi_unwind_cpp_pr1.
11142 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11143 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11144 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11145 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11146 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11147 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11148
11149 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11150 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11151 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11152 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11153
bba6da4e
RM
11154 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11155 Deconditionalize the code that was previously under [RESET_PID].
11156 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11157
e0db6517
RM
11158 * sysdeps/generic/exit-thread.h: New file.
11159 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11160 * include/unistd.h (__exit_thread): Remove declaration.
11161 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11162 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11163 * csu/libc-start.c: Include <exit-thread.h>.
11164 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11165 * nptl/pthread_create.c: Include <exit-thread.h>.
11166 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11167 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11168 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11169 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11170 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11171 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11172 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11173 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11174 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11175 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11176 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11177 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11178 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11179 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11180 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11181 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11182 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11183
01eb16fd
AS
111842014-05-13 Andreas Schwab <schwab@suse.de>
11185
11186 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11187
637461d9
JM
111882014-05-12 Joseph Myers <joseph@codesourcery.com>
11189
11190 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11191 (__ASSUME_UTIMES): Do not condition on kernel version.
11192 (__ASSUME_PSELECT): Define unconditionally.
11193 (__ASSUME_PPOLL): Likewise.
11194 (__ASSUME_ATFCTS): Likewise.
11195 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11196 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11197 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11198 (__ASSUME_UTIMENSAT): Define unconditionally.
11199 (__ASSUME_PRIVATE_FUTEX): Likewise.
11200 (__ASSUME_FALLOCATE): Likewise.
11201 (__ASSUME_O_CLOEXEC): Likewise.
11202 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11203 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11204 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11205 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11206 (__ASSUME_IN_NONBLOCK): Likewise.
11207 (__ASSUME_PIPE2): Likewise.
11208 (__ASSUME_EVENTFD2): Likewise.
11209 (__ASSUME_SIGNALFD4): Likewise.
11210 (__ASSUME_DUP3): Likewise.
11211 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11212 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11213 (__ASSUME_AT_RANDOM): Likewise.
11214 (__ASSUME_PREADV): Likewise.
11215 (__ASSUME_PWRITEV): Likewise.
11216 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11217 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11218 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11219 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11220 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11221 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11222 (__ASSUME_O_CLOEXEC): Define unconditionally.
11223 (__ASSUME_PSELECT): Do not undefine conditionally.
11224 (__ASSUME_PPOLL): Likewise.
11225 (__ASSUME_ATFCTS): Likewise.
11226 (__ASSUME_SET_ROBUST_LIST): Likewise.
11227 (__ASSUME_UTIMENSAT): Likewise.
11228 (__ASSUME_FDATASYNC): Define unconditionally.
11229 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11230 (__ASSUME_SIGFRAME_V2): Likewise.
11231 )__ASSUME_EVENTFD2): Likewise.
11232 (__ASSUME_SIGNALFD4): Likewise.
11233 (__ASSUME_PSELECT): Do not undefine conditionally.
11234 (__ASSUME_PPOLL): Likewise.
11235 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11236 (__ASSUME_PSELECT): Define unconditionally.
11237 (__ASSUME_PPOLL): Likewise.
11238 (__ASSUME_O_CLOEXEC): Likewise.
11239 (__ASSUME_SOCK_CLOEXEC): Likewise.
11240 (__ASSUME_IN_NONBLOCK): Likewise.
11241 (__ASSUME_PIPE2): Likewise.
11242 (__ASSUME_EVENTFD2): Likewise.
11243 (__ASSUME_SIGNALFD4): Likewise.
11244 (__ASSUME_DUP3): Likewise.
11245 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11246 (__ASSUME_O_CLOEXEC): Likewise.
11247 (__ASSUME_SOCK_CLOEXEC): Likewise.
11248 (__ASSUME_IN_NONBLOCK): Likewise.
11249 (__ASSUME_PIPE2): Likewise.
11250 (__ASSUME_EVENTFD2): Likewise.
11251 (__ASSUME_SIGNALFD4): Likewise.
11252 (__ASSUME_DUP3): Likewise.
11253 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11254 (__ASSUME_EVENTFD2): Likewise.
11255 (__ASSUME_SIGNALFD4): Likewise.
11256 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11257
315eb1d8
AS
112582014-05-12 Andreas Schwab <schwab@suse.de>
11259
11260 [BZ #16932]
11261 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11262 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11263 than maximum RPC packet size.
11264 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11265 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11266 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11267 (_nss_nis_getservbyport_r): Likewise.
11268
91df99f7
WN
112692014-05-12 Will Newton <will.newton@linaro.org>
11270
11271 * malloc/Makefile (tests): Add tst-mallopt.
11272 * malloc/tst-mallopt.c: New file.
11273
0a982a29
RM
112742014-05-09 Roland McGrath <roland@hack.frob.com>
11275
11276 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11277 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11278
0ded08a5
AZ
112792014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11280
11281 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11282 (tst-tlsmod6.so): Likewise.
11283
55d4d550
RM
112842014-05-09 Roland McGrath <roland@hack.frob.com>
11285
11286 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11287
77d08aca
JM
112882014-05-09 Joseph Myers <joseph@codesourcery.com>
11289
11290 [BZ #16064]
11291 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11292 and <dl-procinfo.h>.
11293 (__fegetenv): Save SSE state in envp->__eip if supported.
11294 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11295 envp->__eip if supported.
11296 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11297 and <dl-procinfo.h>.
11298 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11299 __data_offset and __data_selector in environment to 0. Set SSE
11300 state if supported.
11301 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11302 test-fenv-sse.
11303 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11304 -mfpmath=sse.
11305 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11306
28162f4d
WN
113072014-05-09 Will Newton <will.newton@linaro.org>
11308
11309 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11310 and libc_relro_required for ARM.
11311 * sysdeps/arm/preconfigure: Regenerate.
11312
5a414ff7
DV
113132014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11314 Stefan Liebler <stli@linux.vnet.ibm.com>
11315
11316 * config.make.in (enable-lock-elision): New Makefile variable.
11317 * configure.ac: Likewise.
11318 * configure: Regenerate.
11319 * sysdeps/s390/configure.ac:
11320 Add check for gcc transactions support.
11321 * sysdeps/s390/configure: Regenerate.
11322 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11323 Build elision files if enabled.
11324 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11325 Add lock elision support for s390.
11326 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11327 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11328 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11329 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11330 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11331 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11332 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11333 Likewise.
11334 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11335 Likewise.
11336 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11337 Likewise.
11338 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11339 Likewise.
11340 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11341 (__lll_timedlock_elision, __lll_lock_elision)
11342 (__lll_unlock_elision, __lll_trylock_elision)
11343 (lll_timedlock_elision, lll_lock_elision)
11344 (lll_unlock_elision, lll_trylock_elision): Add.
11345 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11346 (pthread_mutex_t): Add lock elision support for s390.
11347
1a2f40e5
W
113482014-05-14 Wilco <wdijkstr@arm.com>
11349
11350 * sysdeps/arm/fclrexcpt.c: Cleanup.
11351 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11352 * sysdeps/arm/feenablxcpt.c: Cleanup.
11353 * sysdeps/arm/fegetenv.c: Cleanup.
11354 * sysdeps/arm/fegetexcept.c: Cleanup.
11355 * sysdeps/arm/fegetround.c: Cleanup.
11356 * sysdeps/arm/feholdexcpt.c: Cleanup.
11357 * sysdeps/arm/fesetenv.c: Cleanup.
11358 * sysdeps/arm/fesetround.c: Cleanup.
11359 * sysdeps/arm/feupdateenv.c: Cleanup.
11360 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11361 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11362 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11363 * sysdeps/arm/ftestexcept.c: Cleanup.
11364 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11365 * sysdeps/arm/setfpucw.c: Cleanup.
11366
f63c86fe
WN
113672014-05-09 Will Newton <will.newton@linaro.org>
11368
11369 * sysdeps/arm/armv7/strcmp.S: New file.
11370 * NEWS: Mention addition of ARMv7 optimized strcmp.
11371
7a1a51b5
RM
113722014-05-08 Roland McGrath <roland@hack.frob.com>
11373
95afbbe5
RM
11374 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11375 look for %.ac rather than %.in.
11376
11377 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11378 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11379 * sysdeps/mach/hurd/configure: Regenerated.
11380 * sysdeps/unix/sysv/linux/configure: Regenerated.
11381
7a1a51b5
RM
11382 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11383
5057ad3b
SE
113842014-05-07 Steve Ellcey <sellcey@mips.com>
11385
11386 [BZ# 16922]
11387 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11388 (LONG_SUB): Ditto.
11389 (PTR_SUB): Ditto.
11390
8dc97517
AS
113912014-05-07 Andreas Schwab <schwab@suse.de>
11392
11393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11394 when skipping over non-matching result from nscd.
11395
ce0c5b8f
OB
113962014-05-07 Ondřej Bílka <neleai@seznam.cz>
11397
11398 [BZ #16876]
11399 * nptl/sockperf.c (client): Check socket return value.
8dc97517 11400
a1189263
OB
11401 [BZ #16877]
11402 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11403 nscd security class.
ce0c5b8f 11404
0f58d252
RM
114052014-05-06 Roland McGrath <roland@hack.frob.com>
11406
11407 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11408 * sysdeps/arm/unwind.h: ... here.
11409
83df9ad0
AJ
114102014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11411
ce0c5b8f
OB
11412 [BZ# 16916]
11413 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11414 Define.
83df9ad0 11415
f360f94a
VR
114162014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11417
11418 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11419 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11420 multiarch strncpy for PPC64.
11421 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11422 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11424 multiarch optimizations.
11425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11426 (__libc_ifunc_impl_list): Likewise.
11427 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11428 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11429 multiarch stpncpy for PPC64.
11430 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11431 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11432
978a41c3
AS
114332014-05-06 Andreas Schwab <schwab@suse.de>
11434
11435 [BZ #16912]
11436 * gmon/mcount.c (_MCOUNT_DECL): Use
11437 atomic_compare_and_exchange_bool_acq instead of
11438 catomic_compare_and_exchange_bool_acq.
11439
eb1ed03d
RM
114402014-05-05 Roland McGrath <roland@hack.frob.com>
11441
fe658845
RM
11442 * elf/Makefile (others, install-bin): Remove pldd.
11443 (pldd-modules): Variable removed.
11444 ($(objpfx)pldd): Target removed.
11445 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11446 (others, install-bin): Append pldd here.
11447 ($(objpfx)pldd): New target.
11448
eb1ed03d
RM
11449 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11450 to 0, so the first #if test emitted later doesn't see it undefined.
11451 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11452 * sysdeps/gnu/errlist.c: Regenerated.
11453
19c4bec0
AZ
114542014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11455
11456 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11457 [libc_hidden_builtin_def]: Define to empty value.
11458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11459 [libc_hidden_builtin_def]: Likewise.
11460 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11461 [libc_hidden_builtin_def]: Likewise.
11462 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11463 [libc_hidden_builtin_def]: Likewise.
11464 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11465 __redirect_memcpy and define ifunc as default hidden symbol.
11466 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11467 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11468
7776e669
AC
114692014-05-04 Adam Conrad <adconrad@0c3.net>
11470
11471 * locale/iso-4217.def: Reintroduce XDR currency.
11472
d69aeb12
AM
114732014-05-04 Allan McRae <allan@archlinux.org>
11474
11475 * po/eo.po: Update Esperanto translation from translation project.
11476
8f1df5cf
CD
114772014-05-02 Carlos O'Donell <carlos@redhat.com>
11478
11479 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11480 and FEATURE_INDEX_MAX to 1.
11481 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11482
13e402e7
SE
114832014-05-01 Steve Ellcey <sellcey@mips.com>
11484
11485 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11486 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11487 * iconvdata/big5.c (ONE_DIRECTION): Define.
11488 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11489 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11490 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11491 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11492 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11493 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11494 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11495 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11496 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11497 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11498 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11499 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11500 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11501 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11502 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11503 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11504 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11505 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11506 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11507 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11508 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11509 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11510 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11511 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11512 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11513 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11514 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11515 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11516 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11517 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11518 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11519 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11520 * iconvdata/johab.c (ONE_DIRECTION): Define.
11521 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11522 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11523 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11524 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11525 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11526 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11527 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11528 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11529 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11530 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11531
c727f032
RM
115322014-05-01 Roland McGrath <roland@hack.frob.com>
11533
8f2f08d0
RM
11534 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11535 (_IO_JUMPS_OFFSET): Define to 0.
11536
c727f032
RM
11537 * nptl/sysdeps/pthread/bits/libc-lock.h
11538 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11539 (__libc_lock_define_initialized_recursive): Always define using
11540 initializer. Modern compilers treat uninitialized (implicit zero) and
11541 explicit zero initializers the same (i.e. put the datum in bss).
11542
a849e800
AS
115432014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11544
11545 * nscd/nscd-client.h: Include <string.h>.
11546
5331255b
DM
115472014-05-01 David S. Miller <davem@davemloft.net>
11548
11549 [BZ #16885]
11550 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11551 multiple zero bytes exist at the end of a string.
11552 Reported by Aurelien Jarno <aurelien@aurel32.net>
11553
11554 * string/test-strcmp.c (check): Add explicit test for situations where
11555 there are multiple zero bytes after the first.
11556
4fdfe821
AS
115572014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11558
11559 [BZ #16890]
11560 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11561 when compiling wprintf.
11562 * stdio-common/tstdiomisc.c (t3): New function.
11563 (main): Call it.
11564
0cdddc25
SE
115652014-05-01 Steve Ellcey <sellcey@mips.com>
11566
11567 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11568 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11569 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11570 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11571
6426d77e
SE
115722014-05-01 Steve Ellcey <sellcey@mips.com>
11573
11574 * stdlib/longlong.h: Updated from GCC.
11575
6d96f5e4
WN
115762014-05-01 Will Newton <will.newton@linaro.org>
11577 Bernard Ogden <bernie.ogden@linaro.org>
11578
7470db0c
WN
11579 * NEWS: Update fixed bug list.
11580
6d96f5e4
WN
11581 [BZ #15119]
11582 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11583
211d653c
DM
115842014-04-30 David S. Miller <davem@davemloft.net>
11585
4fa262fa
DM
11586 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11587 (libc_feholdexcept_setround_sparc_ctx): New function.
11588 (libc_fesetenv_sparc_ctx): Likewise.
11589 (libc_feupdateenv_sparc_ctx): Likewise.
11590 (libc_feholdsetround_sparc_ctx): Likewise.
11591 (libc_feholdexcept_setround_ctx): Define.
11592 (libc_feholdexcept_setroundf_ctx): Likewise.
11593 (libc_feholdexcept_setroundl_ctx): Likewise.
11594 (libc_fesetenv_ctx): Likewise.
11595 (libc_fesetenvf_ctx): Likewise.
11596 (libc_fesetenvl_ctx): Likewise.
11597 (libc_feupdateenv_ctx): Likewise.
11598 (libc_feupdateenvf_ctx): Likewise.
11599 (libc_feupdateenvl_ctx): Likewise.
11600 (libc_feresetround_ctx): Likewise.
11601 (libc_feresetroundf_ctx): Likewise.
11602 (libc_feresetroundl_ctx): Likewise.
11603 (libc_feholdsetround_ctx): Likewise.
11604 (libc_feholdsetroundf_ctx): Likewise.
11605 (libc_feholdsetroundl_ctx): Likewise.
11606
1d3d93ef
DM
11607 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11608 with __USE_GNU instead of XOPEN cpp guards.
11609
8aa583c3
DM
11610 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11611 0.
11612
211d653c
DM
11613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11614 with XOPEN cpp guards.
11615
60c8f1f6
JB
116162014-04-30 Julian Brown <julian@codesourcery.com>
11617
11618 [BZ #16888]
11619 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11620 handling.
11621
9a461d46
JM
116222014-04-30 Joseph Myers <joseph@codesourcery.com>
11623
d0f5b3f8
JM
11624 [BZ #9894]
11625 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11626 Change to 2.6.32.
11627 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11628 * sysdeps/unix/sysv/linux/configure: Regenerated.
11629 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11630 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11631 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11632 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11633 * README: Update reference to required Linux kernel version.
11634 * manual/install.texi (Linux): Update reference to required Linux
11635 kernel headers version.
11636 * INSTALL: Regenerated.
11637
9a461d46
JM
11638 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11639 header inclusion.
11640 [POSIX] (limits.h): Likewise.
11641 [POSIX] (math.h): Likewise.
11642 [POSIX] (sys/wait.h): Likewise.
11643 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11644 function.
11645 [POSIX] (stddef.h): Do not allow header inclusion.
11646
1775babf
AZ
116472014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11648
57f41c40 11649 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 11650
8f630cca
YY
116512014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11652
11653 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11654 Return immediately after lll_futex_wake.
11655
1cdeb237
SP
116562014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11657
bc8f194c
SP
11658 [BZ #16791]
11659 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11660 structure.
11661 (datahead_init_pos): Call datahead_init_common early.
11662 (datahead_init_neg): Likewise.
11663
1cdeb237
SP
11664 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11665 datahead_init_neg): New functions.
11666 * nscd/aicache.c (addhstaiX): Use them.
11667 * nscd/grpcache.c (cache_addgr): Likewise.
11668 * nscd/hstcache.c (cache_addhst): Likewise.
11669 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11670 * nscd/netgroupcache.c (do_notfound): Likewise.
11671 (addgetnetgrentX): Likewise.
11672 (addinnetgrX): Likewise.
11673 * nscd/pwdcache.c (cache_addpw): Likewise.
11674 * nscd/servicescache.c (cache_addserv): Likewise.
11675
16b293a7
SP
116762014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11677 Atsushi Onoe <atsushi@onoe.org>
11678
11679 [BZ #14308]
11680 [BZ #12994]
11681 [BZ #13651]
11682 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11683 one response is valid.
11684 * resolv/res_send.c (send_dg): Check for validity of other
11685 response if the current response is a referral.
11686
a28a9b94
SE
116872014-04-29 Steve Ellcey <sellcey@mips.com>
11688
11689 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11690
2ca180e9
SL
116912014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11692
11693 [BZ #16823]
11694 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11695 Always divide by positive zero when computing -Inf result.
11696 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11697 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11698
18f2945a
AZ
116992014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11700
11701 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11702 FPSCR if value do not change.
11703 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11704 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11705 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11706 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11707 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11708 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11709 function.
11710
5abebba4
CD
117112014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11712
11713 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11714 * sysdeps/unix/sysv/linux/hppa: Move directory from
11715 ports/systeps/unix/sysv/linux/hppa.
11716 * README: Update listing for hppa-*-linux-gnu.
11717
f7ed60c2
OB
117182014-04-28 Ondřej Bílka <neleai@seznam.cz>
11719
fff763a5
OB
11720 [BZ #16754]
11721 * manual/stdio.texi (Hook functions): Fix types of stream hook
11722 functions.
f7ed60c2
OB
11723 [BZ #16854]
11724 * socket/sys/socket.h: Fix typo in comment.
11725
df639d73
WD
117262014-04-28 Wilco <wdijkstr@arm.com>
11727
f7ed60c2 11728 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
11729 * sysdeps/arm/math_private.h: New file.
11730 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11731
48332d82
L
117322014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11733
11734 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11735 with __int128_t.
11736 (La_x86_64_retval): Likewise.
11737
e5e0d9a4
IB
117382014-04-24 Ian Bolton <ian.bolton@arm.com>
11739
11740 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11741 fpsr if value didn't change.
11742 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11743 to fpcr if value didn't change.
11744 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11745 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11746 fpsr or fpcr if value didn't change.
11747 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11748 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11749 fpcr if value didn't change.
11750 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11751 to fpsr if value didn't change.
11752
bacc75f7
SP
117532014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11754
11755 * nptl/tst-sem3.c: Use test-skeleton.c
11756 (main): Rename to do_test. Use return instead of
11757 exit.
11758 * nptl/tst-sem4.c: Use test-skeleton.c
11759 (main): Rename to do_test.
11760
a059d359
DM
117612014-04-22 David S. Miller <davem@davemloft.net>
11762
11763 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11764 (struct sigaction): New struct member __glibc_reserved0, change
11765 type of sa_flags to int.
11766
ea6c92f3
YZ
117672014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11768
11769 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11770 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11771
766c4a36
SP
117722014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11773
11774 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11775 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11776
140cc7ab
VK
117772014-04-22 Will Newton <will.newton@linaro.org>
11778 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11779
11780 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11781 (__longjmp): Add longjmp and longjmp_target SystemTap
11782 probes.
11783 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11784 (__sigsetjmp): Add setjmp SystemTap probe.
11785
c54e5cf7
CD
117862014-04-17 Carlos O'Donell <carlos@redhat.com>
11787
11788 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11789 match manual order.
11790
75ffb047
AZ
117912014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11792
11793 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11794
2cd925f7
AZ
11795 * sysdeps/powerpc/fpu/fenv_private.h
11796 (libc_feholdexcept_setroundl_ctx): Define to
11797 libc_feholdexcept_setround_ppc_ctx.
11798 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11799 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11800 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11801 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11802
39e6cd8d
IB
118032014-04-17 Ian Bolton <ian.bolton@arm.com>
11804
11805 * sysdeps/aarch64/math-tests.h: New file.
11806
f9281df9
SY
118072014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11808
11809 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11810 New.
11811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11812 Check and set bit_AVX2_Usable.
11813 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11814 macro.
11815 (bit_AVX2): Likewise.
11816 (index_AVX2_Usable): Likewise.
11817 (CPUID_AVX2): Likewise.
11818 (HAS_AVX2): Likewise.
11819
37d35007
WN
118202014-04-17 Will Newton <will.newton@linaro.org>
11821
7c677662
WN
11822 * manual/setjmp.texi (System V contexts): Add note that
11823 calling setcontext on a context created by a call to a
11824 signal handler is undefined. Update text to note that
11825 setcontext from a signal handler is possible but not
11826 recommended.
11827
37d35007 11828 [BZ #16629]
e04a4e9d
WN
11829 * stdlib/tst-setcontext.c: Include signal.h.
11830 (main): Check that the signal stack before and
11831 after swapcontext is the same.
11832
37d35007
WN
11833 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11834 Re-implement to restore registers in user code and avoid
11835 rt_sigreturn system call.
11836
423a7160
W
118372014-04-17 Wilco <wdijkstr@arm.com>
11838
11839 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11840 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11841 * math/test-fenv.c: Skip exception trap tests on targets which only
11842 support non-stop mode.
11843
bc93ab29
IB
118442014-04-17 Ian Bolton <ian.bolton@arm.com>
11845 Wilco Dijkstra <wilco.dijkstra@arm.com>
11846
11847 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11848 (libc_feholdsetround_aarch64_ctx)
11849 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11850 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11851 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11852 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11853 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11854 (libc_feresetround_noexl_ctx): Define.
11855
95fc5fa3
RH
118562014-04-16 Richard Henderson <rth@redhat.com>
11857
ddb04724
RH
11858 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11859
d77c0899
RH
11860 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11861 unwind tables.
11862
a3df56fc
RH
11863 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11864 const from the non-libc, non-ldso copy.
11865
95fc5fa3
RH
11866 * sysdeps/alpha/libm-test-ulps: Regenerate.
11867
7e0b6763
IB
118682014-04-16 Ian Bolton <ian.bolton@arm.com>
11869 Wilco Dijkstra <wilco.dijkstra@arm.com>
11870
11871 * sysdeps/aarch64/fpu/math_private.h: New file.
11872
a9ea2e0c
MS
118732014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11874
11875 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11876
ea8ba7cd
IZ
118772014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11878
7e54fd04 11879 [BZ #16275]
ea8ba7cd
IZ
11880 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11881 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11883 Intel MPX bound registers before _dl_profile_fixup.
11884 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11885 registers after _dl_profile_fixup. Save and restore bound
11886 registers bnd0/bnd1 when calling _dl_call_pltexit.
11887 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11888 (LR_BND_OFFSET): Likewise.
11889 (LRV_BND0_OFFSET): Likewise.
11890 (LRV_BND1_OFFSET): Likewise.
11891
9f2a4fbc
ST
118922014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11893
11894 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11895 to...
11896 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
11897 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11898 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11899 fields.
9f2a4fbc 11900
fd15a59b
ST
119012014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11902
11903 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11904
f19dfa0a
SL
119052014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11906
11907 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11908
4fa8bc3b
SL
119092014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11910
11911 [BZ #14770]
11912 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11913 * sysdeps/s390/configure: Regenerate.
11914
8ea587db
SL
11915 [BZ #16824]
11916 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11917 Set round-to-nearest internally to reduce error accumulation.
11918
aa5f0ff1
AM
119192014-04-16 Alan Modra <amodra@gmail.com>
11920
11921 [BZ #16740]
11922 [BZ #16619]
11923 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11924 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 11925 * NEWS: Update fixed bug list.
aa5f0ff1 11926
bb9c256f
SP
119272014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11928
11929 * benchtests/Makefile: Depend on libraries in build directory.
11930 (bench-math): Separate out math tests.
11931 (bench-pthread): Separate out pthread tests.
11932 (bench): Include math and pthread tests.
11933
f737dfd0
CD
119342014-04-14 Carlos O'Donell <carlos@redhat.com>
11935
11936 [BZ #16831]
11937 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11938 _dl_debug_initialize.
11939
0699f766
CD
11940 * configure.ac: Remove SELinux header check.
11941 * configure: Regenerate.
11942 * nscd/selinux.c (perms): Array of const char* to permission names.
11943 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11944 default policy. Call string_to_security_class and string_to_av_perm to
11945 translate strings. Enforce default policy and call avs_has_perm with
11946 results of translated strings.
11947
809bd45f
DM
119482014-04-13 David S. Miller <davem@davemloft.net>
11949
11950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11951
89e691f2
AM
119522014-04-12 Allan McRae <allan@archlinux.org>
11953
11954 [BZ #16838]
11955 * manual/string.texi (Collation Functions): Fix qsort argument
11956 order in example.
11957 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11958
9c9daaeb
CM
119592014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11960
11961 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11962 Make the test a no-op if there are no exceptions defined.
11963
95561fb9
PP
119642014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11965
fe8d072c 11966 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
11967 enable-hardcoded-path-in-tests
11968
970c602a
WN
119692014-04-11 Will Newton <will.newton@linaro.org>
11970
11971 * benchtests/Makefile (extra-objs): Add json-lib.o.
11972 (bench-func): Tidy up JSON output.
11973 * benchtests/bench-skeleton.c: Include json-lib.h.
11974 (main): Use JSON library functions to do output of
11975 benchmark results.
11976 * benchtests/bench-timing-type.c (main): Output the
11977 timing type simply, leaving formatting to the user.
11978 * benchtests/json-lib.c: New file.
11979 * benchtests/json-lib.h: Likewise.
11980
36875b06
TR
119812014-04-11 Torvald Riegel <triegel@redhat.com>
11982
11983 [BZ #15215]
11984 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11985 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11986 memory barriers. Add comments.
11987 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11988 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11989 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11990 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11991 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11992 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11993
579db35a
SL
119942014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11995
11996 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11997 * sysdeps/s390/s390-64/configure.ac: ... this ...
11998 * sysdeps/s390/configure.ac: ... to here.
11999 * sysdeps/s390/s390-32/configure: Delete file.
12000 * sysdeps/s390/s390-64/configure: Delete file.
12001 * sysdeps/s390/configure: Regenerate.
12002
c12e9f37
JAPH
120032014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12004
12005 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12006
439bda32
WN
120072014-04-11 Will Newton <will.newton@linaro.org>
12008
12009 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12010 to zero if it is not defined elsewhere. (mtrim): Test
12011 the value of MALLOC_DEBUG with #if rather than #ifdef.
12012
6a5d6ea1
TR
120132014-04-10 Torvald Riegel <triegel@redhat.com>
12014
12015 * benchtests/pthread_once-inputs: New file.
12016 * benchtests/pthread_once-source.c: New file.
12017 * benchtests/README: Update documentation.
12018
a4c75cfd
IZ
120192014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12020 H.J. Lu <hongjiu.lu@intel.com>
12021
7e54fd04 12022 [BZ #16275]
a4c75cfd
IZ
12023 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12024 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12025 * sysdeps/x86_64/configure: Regenerated.
12026 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12027 macro.
12028 (REGISTER_SAVE_RAX): Likewise.
12029 (REGISTER_SAVE_RCX): Likewise.
12030 (REGISTER_SAVE_RDX): Likewise.
12031 (REGISTER_SAVE_RSI): Likewise.
12032 (REGISTER_SAVE_RDI): Likewise.
12033 (REGISTER_SAVE_R8): Likewise.
12034 (REGISTER_SAVE_R9): Likewise.
12035 (REGISTER_SAVE_BND0): Likewise.
12036 (REGISTER_SAVE_BND1): Likewise.
12037 (REGISTER_SAVE_BND2): Likewise.
12038 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12039 bound registers when calling _dl_fixup.
12040
27822ce6
AZ
120412014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12042
12043 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
12044 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12045 of its definition.
27822ce6
AZ
12046 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12047 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12048 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12049 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12050 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12051 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12052 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12053
a88ddc90
PTB
120542014-04-09 Peter Brett <peter@peter-b.co.uk>
12055
12056 [BZ #15514]
12057 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12058 pathconf(_PC_NAME_MAX).
12059
01f8eac2
AZ
120602014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12061
12062 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12063 Remove macro usage.
12064 (__PTHREAD_SPINS): Move definition to ...
12065 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12066 (__PTHREAD_SPINS): ... here.
12067 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12068 (__PTHREAD_SPIN): Likewise.
12069 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12070 (__PTHREAD_SPIN): Likewise.
12071 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12072 (__PTHREAD_SPIN): Likewise.
12073 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12074 (__PTHREAD_SPIN): Likewise.
12075 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12076 (__PTHREAD_SPIN): Likewise.
12077 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12078 (__PTHREAD_SPIN): Likewise.
12079 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12080 (__PTHREAD_SPIN): Likewise.
12081 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12082 (__PTHREAD_SPIN): Likewise.
12083 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12084 (__PTHREAD_SPIN): Likewise.
12085 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12086 (__PTHREAD_SPIN): Likewise.
12087 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12088 (__PTHREAD_SPIN): Likewise.
12089 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12090 (__PTHREAD_SPIN): Likewise.
12091
de21c33c
AZ
12092 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12093 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12094 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12095 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12096 imply folder.
12097 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12098 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12099 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12100 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12101 correct imply path.
12102 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12103 strlen symbol for non multi-arch builds.
12104 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12105 missing hidden_def and weak_alias.
12106
862c472e
CD
121072014-04-08 Carlos O'Donell <carlos@redhat.com>
12108
12109 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12110
8667f90e
WN
121112014-04-07 Will Newton <will.newton@linaro.org>
12112
12113 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12114 and contents. [!_LIBC] Remove #ifndef and contents.
12115 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12116 * string/memccpy.c (__memccpy): Use ANSI prototype.
12117 * string/memfrob.c (memfrob): Likewise.
12118 * string/strcoll.c (STRCOLL): Likewise.
12119 * string/strlen.c (strlen): Likewise.
12120 * string/strtok.c (STRTOK): Likewise.
12121 * string/strcat.c: Remove unused #include of memcopy.h.
12122 (strcat): Use ANSI prototype.
12123 * string/strchr.c: Remove unused #include of memcopy.h.
12124 (strchr): Use ANSI prototype.
12125 * string/strcmp.c: Remove unused #include of memcopy.h.
12126 (strcmp): Use ANSI prototype.
12127 * string/strcpy.c: Remove unused #include of memcopy.h.
12128 (strcpy): Use ANSI prototype.
12129
7ffa9423
AZ
121302014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12131
12132 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12133 * config.make.in (config-extra-cppflags): Set it from
12134 libc_extra_cppflags.
12135 * configure.ac (libc_extra_cflags): Make it accumulate over
12136 configure fragments.
12137 (libc_extra_cppflags): New flag.
12138 * configure. Regenerate.
12139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
12140 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12141 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12143
8bd70862
AZ
12144 [BZ #16815]
12145 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12146 result for FE_DOWNWARD rounding mode.
12147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12148 Likewise.
12149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12150
d42f3448
CM
121512014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12152
12153 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12154 in function argument name.
12155
1c21d115
DS
121562014-04-03 David Svoboda <svoboda@cert.org>
12157
12158 [BZ #5666]
12159 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12160 explicitly.
12161
fcccd512
RM
121622014-04-03 Roland McGrath <roland@hack.frob.com>
12163
12164 * elf/dl-unmap-segments.h: New file.
12165 * sysdeps/generic/ldsodefs.h
12166 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12167 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12168 * elf/dl-fptr.c: Likewise.
12169 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12170 * sysdeps/aarch64/tlsdesc.c: Likewise.
12171 * sysdeps/arm/tlsdesc.c: Likewise.
12172 * sysdeps/i386/tlsdesc.c: Likewise.
12173 * sysdeps/tile/dl-runtime.c: Likewise.
12174 * sysdeps/x86_64/tlsdesc.c: Likewise.
12175 * elf/dl-load.h: New file.
12176 * elf/dl-load.c: Include it.
12177 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12178 Macros moved to dl-load.h.
12179 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12180 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12181 Use _dl_unmap_segments in place of __munmap.
12182 Break out segment-mapping loop into ...
12183 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12184
f6488e2b
WN
121852014-04-03 Will Newton <will.newton@linaro.org>
12186
12187 * elf/dl-lookup.c (do_lookup_x): Remove comment
12188 referring to nested function and move variable
12189 declarations down to before first use.
12190
6f05bafe
JM
121912014-04-02 Joseph Myers <joseph@codesourcery.com>
12192
a84e78c8
JM
12193 [BZ #16799]
12194 [BZ #16800]
12195 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12196 with 0 numerator.
12197 * math/s_catanf.c (__catanf): Likewise.
12198 * math/s_catanh.c (__catanh): Likewise.
12199 * math/s_catanhf.c (__catanhf): Likewise.
12200 * math/s_catanhl.c (__catanhl): Likewise.
12201 * math/s_catanl.c (__catanl): Likewise.
12202 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12203 by positive zero when computing -Inf result.
12204 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12205 (catanh_test): Likewise.
12206 * sysdeps/i386/fpu/libm-test-ulps: Update.
12207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12208
6f05bafe
JM
12209 [BZ #16789]
12210 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12211 instead of using underflowing value in computing result.
12212 * math/s_clog10.c (__clog10): Likewise.
12213 * math/s_clog10f.c (__clog10f): Likewise.
12214 * math/s_clog10l.c (__clog10l): Likewise.
12215 * math/s_clogf.c (__clogf): Likewise.
12216 * math/s_clogl.c (__clogl): Likewise.
12217 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12218 (clog10_test): Likewise.
12219 * sysdeps/i386/fpu/libm-test-ulps: Update.
12220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12221
b0abbc21
AM
122222014-04-02 Alan Modra <amodra@gmail.com>
12223
12224 [BZ #16739]
12225 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12226 output when value is near a power of two. Use int64_t for lx and
12227 remove casts. Use decimal rather than hex exponent constants.
12228 Don't use long double multiplication when double will suffice.
12229 * math/libm-test.inc (nextafter_test_data): Add tests.
12230 * NEWS: Add 16739 and 16786 to bug list.
12231
af6b1797
AM
12232 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12233
483818d7
AM
12234 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12235
f6c55796
WN
122362014-04-01 Will Newton <will.newton@linaro.org>
12237
12238 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12239 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12240
13f7fe35
FW
122412014-04-01 Florian Weimer <fweimer@redhat.com>
12242
12243 [BZ #13347]
12244 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12245 * nptl/tst-setuid2.c: New file.
12246 * nptl/Makefile (xtests): Add tst-setuid2.
12247
c859b32e
AM
122482014-04-01 Alan Modra <amodra@gmail.com>
12249
12250 [BZ #16786]
12251 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12252
54fa2475
JM
122532014-03-31 Joseph Myers <joseph@codesourcery.com>
12254
8795b4a4
JM
12255 [BZ #6803]
12256 [BZ #6804]
12257 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12258 set errno as appropriate.
12259 * math/w_scalbf.c (__scalbf): Likewise.
12260 * math/w_scalbl.c (__scalbl): Likewise.
12261 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12262 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12263 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12264 Add more NaN tests.
12265
54fa2475
JM
12266 [BZ #16349]
12267 * math/w_atan2.c: Include <errno.h>.
12268 (__atan2): Set errno for result underflowing to zero.
12269 * math/w_atan2f.c: Include <errno.h>.
12270 (__atan2f): Set errno for result underflowing to zero.
12271 * math/w_atan2l.c: Include <errno.h>.
12272 (__atan2l): Set errno for result underflowing to zero.
12273 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12274 tests.
12275 * math/auto-libm-test-out: Regenerated.
12276
757d9dd5
AZ
122772014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12278
12279 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12280 Encode instruction correctly in little endian.
12281 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12282 Likewise.
12283 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12284 Likewise.
12285 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12286 Likewise.
12287 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12288 Likewise.
12289
d7a68734
JM
122902014-03-31 Joseph Myers <joseph@codesourcery.com>
12291
47c5adeb
JM
12292 [BZ #9894]
12293 * sysdeps/unix/sysv/linux/kernel-features.h
12294 [__sparc__ && !__arch64__ && !__sparc_v9__]
12295 (__ASSUME_SET_ROBUST_LIST): Do not define.
12296 [__sparc__ && !__arch64__ && !__sparc_v9__]
12297 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12298 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12299 Likewise.
12300 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12301 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12302 (__ASSUME_REQUEUE_PI): Likewise.
12303 (__ASSUME_SET_ROBUST_LIST): Likewise.
12304 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12305 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12306 Undefine.
12307 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12308 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12309 Likewise.
12310 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12311 Likewise.
12312 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12313 Likewise.
12314 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12315 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12316 Undefine.
12317 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12318 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12319 Likewise.
12320
d7a68734
JM
12321 [BZ #16648]
12322 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12323 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12324 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12325
c760f5c2
WN
123262014-03-31 Will Newton <will.newton@linaro.org>
12327
12328 * benchtests/Makefile (bench): Add ffs and ffsll to list
12329 of tests.
12330 * benchtests/ffs-inputs: New file.
12331 * benchtests/ffsll-inputs: Likewise.
12332
ea6029b1
JM
123332014-03-29 Joseph Myers <joseph@codesourcery.com>
12334
12335 [BZ #16770]
12336 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12337 too large before casting to int.
12338 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12339 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12340 * math/libm-test.inc (scalb_test_data): Add more tests.
12341
cf806aff
SP
123422014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12343
56737508
SP
12344 * benchtests/Makefile (DETAILED_OPT): New make option.
12345 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12346 set.
12347 * benchtests/bench-skeleton.c: Include stdbool.h.
12348 (main): Store and print timings per input.
12349 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12350 member to each argument value.
12351 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12352 (_print_arg_data): Initialize per-input timing to 0.
12353
cb5e4aad
SP
12354 * benchtests/Makefile (timing-type): New binary.
12355 (bench-clean): Also remove bench-timing-type.
12356 (bench): New target for timing-type.
12357 (bench-func): Print output in JSON format.
12358 * benchtests/bench-skeleton.c (main): Print output in JSON
12359 format.
12360 * benchtests/bench-timing-type.c: New file.
12361 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12362 (TIMING_PRINT_STATS): Remove.
12363 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12364 name separately.
12365
cf806aff
SP
12366 * benchtests/bench-modf.c: Remove.
12367 * benchtests/modf-inputs: New inputs file.
12368
289e0779
JM
123692014-03-28 Joseph Myers <joseph@codesourcery.com>
12370
12371 [BZ #16362]
12372 * math/s_clog10.c (M_PI_LOG10E): New macro.
12373 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12374 imaginary parts are 0.
12375 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12376 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12377 imaginary parts are 0.
12378 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12379 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12380 imaginary parts are 0.
12381 * math/libm-test.inc (clog10_test_data): Update expected results
12382 for when real and imaginary parts are 0.
12383
277ae3f1
PP
123842014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12385
12386 * elf/dl-load.c: Finish conversion of __builtin_expect into
12387 __glibc_{un}likely.
12388
03a7091f
JM
123892014-03-27 Joseph Myers <joseph@codesourcery.com>
12390
12391 [BZ #16348]
12392 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12393 1+x for argument with exponent below -67.
12394 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12395 Likewise.
12396 * math/auto-libm-test-in: Add more tests of exp.
12397 * math/auto-libm-test-out: Regenerated.
12398
ea7d8b95
SP
123992014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12400
dd3022d7
SP
12401 [BZ #16759]
12402 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12403 (nscd_getnetgrent): Use it.
12404
ea7d8b95
SP
12405 [BZ #16760]
12406 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12407 of stpcpy.
12408
df5b85da
AK
124092014-03-27 Andi Kleen <ak@linux.intel.com>
12410
57f41c40
AS
12411 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12412 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12413 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12414 (lll_robust_unlock): Remove out of line section. Use cfi
12415 intrinsics.
df5b85da 12416 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
12417 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12418 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12419 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12420 (lll_robust_unlock): Remove out of line section. Use cfi
12421 intrinsics.
df5b85da
AK
12422 (LLL_STUB_UNWIND_INFO*): Remove.
12423
fbd6b5a4
SP
124242014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12425
12426 [BZ #16758]
12427 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12428 blank values.
12429
1b26b855
PP
124302014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12431
12432 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12433
9be36fb8
JM
124342014-03-26 Joseph Myers <joseph@codesourcery.com>
12435
12436 [BZ #16198]
12437 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12438 fnstenv.
12439 * math/test-fenv-preserve.c: New file.
12440 * math/Makefile (tests): Add test-fenv-preserve.
12441
60a2f3c1
WN
124422014-03-26 Will Newton <will.newton@linaro.org>
12443
12444 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12445
a5e5f1e2
RM
124462014-03-25 Roland McGrath <roland@hack.frob.com>
12447
12448 * scripts/versionlist.awk: Partition the version sets and emit all
12449 GLIBC_* (sorted) before all others (sorted).
12450
00f4012a
JM
124512014-03-25 Joseph Myers <joseph@codesourcery.com>
12452
12453 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12454 GLIBC_2.2.5 version.
12455
7bc5a741
AZ
124562014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12457
12458 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12459 calls.
12460
7578473b
AZ
12461 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12462 previous change.
12463
f3f1dab3
AZ
12464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12465
6da36183
AS
124662014-03-25 Andreas Schwab <schwab@suse.de>
12467
12468 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12469 label to be used after in6ailist is initialized.
12470
f3f1dab3 124712014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 12472
7578473b 12473 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
12474 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12475
046651c1
JM
124762014-03-25 Joseph Myers <joseph@codesourcery.com>
12477
12478 [BZ #16357]
12479 [BZ #16599]
12480 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12481 min_plus_half.
12482 (fp_formats): Update initializers.
12483 (init_fp_formats): Initialize new field.
12484 (output_for_one_input_case): Allow underflow for results up to
12485 min_plus_half.
12486 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12487 * math/auto-libm-test-in: Don't mark some underflows from asin and
12488 atanh as spurious.
12489 * math/auto-libm-test-out: Regenerated.
12490 * sysdeps/i386/fpu/libm-test-ulps: Update.
12491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12492
003e49ed
AS
124932014-03-25 Andreas Schwab <schwab@suse.de>
12494
12495 * libio/Makefile (tst-ftell-partial-wide-ENV)
12496 (tst-ftell-active-handler-ENV): Define.
12497
de031874
SL
124982014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12499
12500 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12501
55a81e3b
PP
125022014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12503
12504 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12505
f3426898
JM
125062014-03-24 Joseph Myers <joseph@codesourcery.com>
12507
12508 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12509 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12510 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12511
a42faf59
PP
125122014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12513
12514 [BZ #16634]
a42faf59 12515 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
12516 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12517 (open_path): Change from boolean 'secure' to complete flag 'mode'
12518 (_dl_map_object): Adjust.
a42faf59
PP
12519 * elf/Makefile (tests): Add tst-dlopen-aout.
12520 * elf/tst-dlopen-aout.c: New test.
12521
50936127
SL
125222014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12523
12524 [BZ #16714]
12525 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12526 (struct stat): Rename member pad0 to __glibc_reserved0.
12527
26011b5c
SL
12528 [BZ #16712]
12529 * sysdeps/s390/s390-32/bits/wordsize.h
12530 (__WORDSIZE32_SIZE_ULONG): New define.
12531 * sysdeps/s390/s390-64/bits/wordsize.h
12532 (__WORDSIZE32_SIZE_ULONG): Likewise.
12533 * sysdeps/generic/stdint.h (SIZE_MAX):
12534 Define as UL if __WORDSIZE32_SIZE_ULONG.
12535
a2d86bf1
SL
12536 [BZ #16713]
12537 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12538 (__glibc_reserved0): New variable.
12539 (sa_flags): Change type to int.
12540
78b6eebc
SL
12541 * posix/Makefile (before-compile): Use += before-compile instead
12542 of a :=.
12543
f1399b5a
SL
12544 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12545 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12546
a071766e
AS
125472014-03-20 Andreas Schwab <schwab@suse.de>
12548
12549 [BZ #16743]
12550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12551 non-matching result from nscd.
12552
27c673b8
SP
125532014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12554
12555 * scripts/bench.py: Moved to ...
12556 * benchtests/scripts/bench.py: ... here.
12557 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12558
44152e4b
AS
125592014-03-24 Andreas Schwab <schwab@suse.de>
12560
12561 [BZ #16002]
12562 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12563 alloca_account and account alloca use for struct in6ailist.
12564
b376a11a
JM
125652014-03-24 Joseph Myers <joseph@codesourcery.com>
12566
12567 [BZ #16284]
12568 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12569 rounding mode to recompute results that overflow to infinity or
12570 underflow to zero.
12571 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12572 bug 16284.
12573 * math/auto-libm-test-out: Regenerated.
12574 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12575 (ccosh_test): Likewise.
12576 (csin_test_data): Use plus_oflow.
12577 (csin_test): Use ALL_RM_TEST.
12578 (csinh_test_data): Use plus_oflow.
12579 (csinh_test): Use ALL_RM_TEST.
12580 * sysdeps/i386/fpu/libm-test-ulps: Update.
12581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12582
f7be7376
JM
125832014-03-21 Joseph Myers <joseph@codesourcery.com>
12584
1ca2d03e
JM
12585 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12586 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12587 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12588
f7be7376
JM
12589 [BZ #16731]
12590 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12591 when x - 1 is zero.
12592 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12593 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12594 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12595 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12596 argument is 1.
12597 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12598 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12599 zero.
12600 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12601 * sysdeps/i386/fpu/libm-test-ulps: Update.
12602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12603
fdf4534d
SP
126042014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12605
df26ea53
SP
12606 * scripts/bench.pl: Remove file.
12607 * scripts/bench.py: New benchmark script.
12608 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12609 * benchtests/README: Mention python dependency.
12610 * scripts/pylintrc: New file.
12611 * scripts/pylint: New file.
12612
fdf4534d
SP
12613 * bits/mathdef.h: Use #ifdef instead of #if.
12614 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12615 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12616 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12617 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12618 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12619 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12620
6f23d093
AZ
126212014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12622 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12623
12624 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12626 and strpbrk-ppc64 objects.
12627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12628 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12629 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12630 multiarch strpbrk for POWER7.
12631 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12632 multiarch strpbrk for PPC64.
12633 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12634 ifunc selector.
12635 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12636 strpbrk for POWER7.
12637
8c92dfff
JM
126382014-03-20 Joseph Myers <joseph@codesourcery.com>
12639
12640 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12641 (atan_test): Likewise.
12642 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12643 (atanh_test): Use ALL_RM_TEST.
12644 (atan2_test_data): Likewise.
12645 (cabs_test): Likewise.
12646 (cacosh_test): Likewise.
12647 (carg_test): Likewise.
12648 (casin_test): Likewise.
12649 (casinh_test): Likewise.
12650 (cbrt_test): Likewise.
12651 (csqrt_test): Likewise.
12652 (erf_test): Likewise.
12653 (erfc_test): Likewise.
12654 (pow10_test): Likewise.
12655 (exp2_test): Likewise.
12656 (hypot_test): Likewise.
12657 (j0_test): Likewise.
12658 (j1_test): Likewise.
12659 (lgamma_test): Likewise.
12660 (gamma_test): Likewise.
12661 (sincos_test): Likewise.
12662 (tanh_test): Likewise.
12663 (y0_test): Likewise.
12664 (y1_test): Likewise.
12665 * sysdeps/i386/fpu/libm-test-ulps: Update.
12666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12667
6eaf95cb
AZ
126682014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12669
a387428c
SP
12670 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
12672 and strcspn-ppc64 objects.
12673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12674 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12675 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12676 multiarch strcspn for POWER7.
12677 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12678 multiarch strcspn for PPC64.
12679 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12680 ifunc selector.
12681 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12682 strcspn for POWER7.
12683
ae3a5dff
JM
126842014-03-20 Joseph Myers <joseph@codesourcery.com>
12685
12686 * math/gen-libm-test.pl (generate_testfile): Expect only function
12687 name as argument to AUTO_TESTS_* and pass results for all rounding
12688 modes to parse_args.
12689 (parse_auto_input): Separate inputs of automatic tests from
12690 outputs before storing in %auto_tests.
12691 * math/libm-test.inc (acos_test_data): Update call to
12692 AUTO_TESTS_f_f.
12693 (acos_test): Use ALL_RM_TEST.
12694 (acos_tonearest_test_data): Remove.
12695 (acos_test_tonearest): Likewise.
12696 (acos_towardzero_test_data): Likewise.
12697 (acos_test_towardzero): Likewise.
12698 (acos_downward_test_data): Likewise.
12699 (acos_test_downward): Likewise.
12700 (acos_upward_test_data): Likewise.
12701 (acos_test_upward): Likewise.
12702 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12703 (asin_test_data): Likewise.
12704 (asin_test): Use ALL_RM_TEST.
12705 (asin_tonearest_test_data): Remove.
12706 (asin_test_tonearest): Likewise.
12707 (asin_towardzero_test_data): Likewise.
12708 (asin_test_towardzero): Likewise.
12709 (asin_downward_test_data): Likewise.
12710 (asin_test_downward): Likewise.
12711 (asin_upward_test_data): Likewise.
12712 (asin_test_upward): Likewise.
12713 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12714 (atan_test_data): Likewise.
12715 (atanh_test_data): Likewise.
12716 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12717 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12718 (carg_test_data): Likewise.
12719 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12720 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12721 (ccosh_test_data): Likewise.
12722 (cexp_test_data): Likewise.
12723 (clog_test_data): Likewise.
12724 (clog10_test_data): Likewise.
12725 (cos_test_data): Update call to AUTO_TESTS_f_f.
12726 (cos_test): Use ALL_RM_TEST.
12727 (cos_tonearest_test_data): Remove.
12728 (cos_test_tonearest): Likewise.
12729 (cos_towardzero_test_data): Likewise.
12730 (cos_test_towardzero): Likewise.
12731 (cos_downward_test_data): Likewise.
12732 (cos_test_downward): Likewise.
12733 (cos_upward_test_data): Likewise.
12734 (cos_test_upward): Likewise.
12735 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12736 (cosh_test): Use ALL_RM_TEST.
12737 (cosh_tonearest_test_data): Remove.
12738 (cosh_test_tonearest): Likewise.
12739 (cosh_towardzero_test_data): Likewise.
12740 (cosh_test_towardzero): Likewise.
12741 (cosh_downward_test_data): Likewise.
12742 (cosh_test_downward): Likewise.
12743 (cosh_upward_test_data): Likewise.
12744 (cosh_test_upward): Likewise.
12745 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12746 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12747 (ctan_test_data): Likewise.
12748 (ctan_test): Use ALL_RM_TEST.
12749 (ctan_tonearest_test_data): Remove.
12750 (ctan_test_tonearest): Likewise.
12751 (ctan_towardzero_test_data): Likewise.
12752 (ctan_test_towardzero): Likewise.
12753 (ctan_downward_test_data): Likewise.
12754 (ctan_test_downward): Likewise.
12755 (ctan_upward_test_data): Likewise.
12756 (ctan_test_upward): Likewise.
12757 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12758 (ctanh_test): Use ALL_RM_TEST.
12759 (ctanh_tonearest_test_data): Remove.
12760 (ctanh_test_tonearest): Likewise.
12761 (ctanh_towardzero_test_data): Likewise.
12762 (ctanh_test_towardzero): Likewise.
12763 (ctanh_downward_test_data): Likewise.
12764 (ctanh_test_downward): Likewise.
12765 (ctanh_upward_test_data): Likewise.
12766 (ctanh_test_upward): Likewise.
12767 (erf_test_data): Update call to AUTO_TESTS_f_f.
12768 (erfc_test_data): Likewise.
12769 (exp_test_data): Likewise.
12770 (exp_test): Use ALL_RM_TEST.
12771 (exp_tonearest_test_data): Remove.
12772 (exp_test_tonearest): Likewise.
12773 (exp_towardzero_test_data): Likewise.
12774 (exp_test_towardzero): Likewise.
12775 (exp_downward_test_data): Likewise.
12776 (exp_test_downward): Likewise.
12777 (exp_upward_test_data): Likewise.
12778 (exp_test_upward): Likewise.
12779 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12780 (exp10_test): Use ALL_RM_TEST.
12781 (exp10_tonearest_test_data): Remove.
12782 (exp10_test_tonearest): Likewise.
12783 (exp10_towardzero_test_data): Likewise.
12784 (exp10_test_towardzero): Likewise.
12785 (exp10_downward_test_data): Likewise.
12786 (exp10_test_downward): Likewise.
12787 (exp10_upward_test_data): Likewise.
12788 (exp10_test_upward): Likewise.
12789 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12790 (expm1_test_data): Likewise.
12791 (expm1_test): Use ALL_RM_TEST.
12792 (expm1_tonearest_test_data): Remove.
12793 (expm1_test_tonearest): Likewise.
12794 (expm1_towardzero_test_data): Likewise.
12795 (expm1_test_towardzero): Likewise.
12796 (expm1_downward_test_data): Likewise.
12797 (expm1_test_downward): Likewise.
12798 (expm1_upward_test_data): Likewise.
12799 (expm1_test_upward): Likewise.
12800 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12801 (fma_test): Use ALL_RM_TEST.
12802 (fma_towardzero_test_data): Remove.
12803 (fma_test_towardzero): Likewise.
12804 (fma_downward_test_data): Likewise.
12805 (fma_test_downward): Likewise.
12806 (fma_upward_test_data): Likewise.
12807 (fma_test_upward): Likewise.
12808 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12809 (j0_test_data): Update call to AUTO_TESTS_f_f.
12810 (j1_test_data): Likewise.
12811 (jn_test_data): Update call to AUTO_TESTS_if_f.
12812 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12813 (log_test_data): Update call to AUTO_TESTS_f_f.
12814 (log10_test_data): Likewise.
12815 (log1p_test_data): Likewise.
12816 (log2_test_data): Likewise.
12817 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12818 (pow_tonearest_test_data): Likewise.
12819 (sin_test_data): Update call to AUTO_TESTS_f_f.
12820 (sin_test): Use ALL_RM_TEST.
12821 (sin_tonearest_test_data): Remove.
12822 (sin_test_tonearest): Likewise.
12823 (sin_towardzero_test_data): Likewise.
12824 (sin_test_towardzero): Likewise.
12825 (sin_downward_test_data): Likewise.
12826 (sin_test_downward): Likewise.
12827 (sin_upward_test_data): Likewise.
12828 (sin_test_upward): Likewise.
12829 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12830 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12831 (sinh_test): Use ALL_RM_TEST.
12832 (sinh_tonearest_test_data): Remove.
12833 (sinh_test_tonearest): Likewise.
12834 (sinh_towardzero_test_data): Likewise.
12835 (sinh_test_towardzero): Likewise.
12836 (sinh_downward_test_data): Likewise.
12837 (sinh_test_downward): Likewise.
12838 (sinh_upward_test_data): Likewise.
12839 (sinh_test_upward): Likewise.
12840 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12841 (sqrt_test): Use ALL_RM_TEST.
12842 (sqrt_tonearest_test_data): Remove.
12843 (sqrt_test_tonearest): Likewise.
12844 (sqrt_towardzero_test_data): Likewise.
12845 (sqrt_test_towardzero): Likewise.
12846 (sqrt_downward_test_data): Likewise.
12847 (sqrt_test_downward): Likewise.
12848 (sqrt_upward_test_data): Likewise.
12849 (sqrt_test_upward): Likewise.
12850 (tan_test_data): Update call to AUTO_TESTS_f_f.
12851 (tan_test): Use ALL_RM_TEST.
12852 (tan_tonearest_test_data): Remove.
12853 (tan_test_tonearest): Likewise.
12854 (tan_towardzero_test_data): Likewise.
12855 (tan_test_towardzero): Likewise.
12856 (tan_downward_test_data): Likewise.
12857 (tan_test_downward): Likewise.
12858 (tan_upward_test_data): Likewise.
12859 (tan_test_upward): Likewise.
12860 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12861 (tgamma_test_data): Likewise.
12862 (y0_test_data): Likewise.
12863 (y1_test_data): Likewise.
12864 (yn_test_data): Update call to AUTO_TESTS_if_f.
12865 (main): Do not call removed functions.
12866
d71aeee8
JM
128672014-03-19 Joseph Myers <joseph@codesourcery.com>
12868
12869 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12870 (ldexp_test_data): Remove.
12871 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12872 scalbn_test_data.
12873 (scalb_test): Use ALL_RM_TEST.
12874
baaf1ded
AS
128752014-03-19 Andreas Schwab <schwab@suse.de>
12876
12877 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12878
b1115e91
JM
128792014-03-19 Joseph Myers <joseph@codesourcery.com>
12880
12881 [BZ #16649]
12882 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12883 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12884 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12885 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12886 (__ASSUME_PREADV): Undefine.
12887 (__ASSUME_PWRITEV): Likewise.
12888
0283ecca
RM
128892014-03-18 Roland McGrath <roland@hack.frob.com>
12890
7d375303
RM
12891 * bits/mman-linux.h: Add comment about non-Linux use.
12892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12893 bits/mman-linux.h resting place.
12894
0283ecca
RM
12895 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12896 * bits/mman-linux.h: ... here.
12897
aebe1003
AZ
128982014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12899
12900 * conform/conformtest.pl: Add standard definition when calling C
12901 preprocessor on data files.
12902 (checknamespace): Remove unused variable.
12903
b29b6bb8
JM
129042014-03-18 Joseph Myers <joseph@codesourcery.com>
12905
12906 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12907 minus_oflow, plus_uflow and minus_uflow in expected results.
12908 * math/libm-test.inc (scalbn_test_data): Add more tests of
12909 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12910 minus_uflow.
12911 (scalbn_test): Use ALL_RM_TEST.
12912 (scalbln_test_data): Add more tests of negative arguments. Use
12913 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12914 (scalbln_test): Use ALL_RM_TEST.
12915
c8f8fa15
RM
129162014-03-18 Roland McGrath <roland@hack.frob.com>
12917
12918 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12919
fede7a5f
WN
129202014-03-18 Will Newton <will.newton@linaro.org>
12921
12922 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12923 inaccurate comment.
12924
80cf0a58
JM
129252014-03-18 Joseph Myers <joseph@codesourcery.com>
12926
12927 * Makerules [!subdir] (check-abi): Exit with error status if a
12928 test failed.
12929
b3620862
JM
129302014-03-17 Joseph Myers <joseph@codesourcery.com>
12931
12932 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12933 for rint. Include results for all rounding modes.
12934 (nearbyint_test): Use ALL_RM_TEST.
12935 (rint_test_data): Include all tests used for nearbyint.
12936
788bba36
WN
129372014-03-17 Will Newton <will.newton@linaro.org>
12938
04ec140a
WN
12939 * nptl/sysdeps/pthread/pthread.h: Revert previous
12940 change.
12941
7579d8d5
WN
12942 * sysdeps/generic/ldsodefs.h: Revert previous
12943 change.
12944
c15cf13a
WN
12945 * libio/genops.c: Revert previous change.
12946 * libio/libioP.h: Likewise.
12947 * stdio-common/vfprintf.c: Likewise.
12948
d0ac1324
WN
12949 * sysdeps/generic/math_private.h: Revert previous
12950 change.
12951
9290130a
WN
12952 * sysdeps/generic/math_private.h: Check whether
12953 HAVE_RM_CTX is defined with #ifdef rather
12954 than #if.
12955
afb466fc
WN
12956 * argp/argp-fmtstream.h: Check whether
12957 __STRICT_ANSI__ is defined with #ifdef rather
12958 than #if.
12959 * argp/argp.h: Likewise.
12960
f7efd7c3
WN
12961 * libio/genops.c: Check whether
12962 _IO_JUMPS_OFFSET is defined with #ifdef rather
12963 than #if.
12964 * libio/libioP.h: Likewise.
12965 * stdio-common/vfprintf.c: Likewise.
12966
53f1bed3
WN
12967 * sysdeps/generic/ldsodefs.h: Check whether
12968 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12969 than #if.
12970
788bba36
WN
12971 * nptl/sysdeps/pthread/pthread.h: Check
12972 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12973 its value.
12974
fcd89ebe
SP
129752014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12976
ae42bbc5
SP
12977 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12978 setting O_APPEND.
12979 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12980 test case.
12981
ea33158c
SP
12982 [BZ #16680]
12983 * libio/fileops.c (_IO_file_open): Seek to end of file but
12984 don't cache the offset.
12985 (get_file_offset): Remove function.
12986 (do_ftell): Use cached offset when available.
12987 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12988 don't cache the offset.
12989 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12990 case.
12991 (do_one_test): Call it.
12992 (do_ftell_test): Fix up expected old offset for a+ mode.
12993 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12994 available.
12995
b1dbb426
SP
12996 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12997 up test status with function return status.
12998 (do_write_test): Likewise.
12999 (do_append_test): Likewise.
13000
fcd89ebe
SP
13001 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13002 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13003 Remove.
13004
9962a2d3
JM
130052014-03-17 Joseph Myers <joseph@codesourcery.com>
13006
13007 * math/gen-libm-test.pl (parse_args): Handle results specified for
13008 each rounding mode separately.
13009 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13010 tests and results from lrint_tonearest_test_data,
13011 lrint_towardzero_test_data, lrint_downward_test_data and
13012 lrint_upward_test_data.
13013 (lrint_test): Use ALL_RM_TEST.
13014 (lrint_tonearest_test_data): Remove.
13015 (lrint_test_tonearest): Likewise.
13016 (lrint_towardzero_test_data): Likewise.
13017 (lrint_test_towardzero): Likewise.
13018 (lrint_downward_test_data): Likewise.
13019 (lrint_test_downward): Likewise.
13020 (lrint_upward_test_data): Likewise.
13021 (lrint_test_upward): Likewise.
13022 (llrint_test_data): Merge in per-rounding-mode tests and results
13023 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13024 llrint_downward_test_data and llrint_upward_test_data.
13025 (llrint_test): Use ALL_RM_TEST.
13026 (llrint_tonearest_test_data): Remove.
13027 (llrint_test_tonearest): Likewise.
13028 (llrint_towardzero_test_data): Likewise.
13029 (llrint_test_towardzero): Likewise.
13030 (llrint_downward_test_data): Likewise.
13031 (llrint_test_downward): Likewise.
13032 (llrint_upward_test_data): Likewise.
13033 (llrint_test_upward): Likewise.
13034 (rint_test_data): Merge in per-rounding-mode tests and results
13035 from rint_tonearest_test_data, rint_towardzero_test_data,
13036 rint_downward_test_data and rint_upward_test_data. Add
13037 per-rounding-mode results for tests not in those arrays.
13038 (rint_test): Use ALL_RM_TEST.
13039 (rint_tonearest_test_data): Remove.
13040 (rint_test_tonearest): Likewise.
13041 (rint_towardzero_test_data): Likewise.
13042 (rint_test_towardzero): Likewise.
13043 (rint_downward_test_data): Likewise.
13044 (rint_test_downward): Likewise.
13045 (rint_upward_test_data): Likewise.
13046 (rint_test_upward): Likewise.
13047 (main): Don't call removed functions.
13048
5006148e
RM
130492014-03-14 Roland McGrath <roland@hack.frob.com>
13050
13051 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13052 "Compiled on ..." crapola. It is anti-useful.
13053
d6fe5e58
JM
130542014-03-14 Joseph Myers <joseph@codesourcery.com>
13055
13056 * scripts/evaluate-test.sh: Handle fourth argument to determine
13057 whether test run should stop on failure.
13058 * Makeconfig (stop-on-test-failure): New variable.
13059 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13060 $(stop-on-test-failure).
13061 * Makefile (tests): Give a summary of results from testing and
13062 exit with failure status if they include an ERROR or FAIL.
13063 (xtests): Likewise.
13064 * manual/install.texi (Configuring and compiling): Mention
13065 stop-on-test-failure=y.
13066 * INSTALL: Regenerated.
13067
498a2233
RM
130682014-03-14 Roland McGrath <roland@hack.frob.com>
13069
22dbc19d
RM
13070 * scripts/versionlist.awk: New file.
13071 * Makerules [$(build-shared) = yes]
13072 (postclean-generated): Add Versions.def, not Versions.def.v and
13073 Versions.def.v.i.
13074 ($(common-objpfx)Versions.def.v.i): Target removed.
13075 ($(common-objpfx)Versions.def): New target.
13076 ($(common-objpfx)Versions.all): Depend on that rather that
13077 $(common-objpfx)Versions.def.v.
13078 * Versions.def: File removed.
13079
498a2233
RM
13080 * Makeconfig (+gccwarn): Add -Wundef.
13081 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13082 a dl-sysdep.h breaking its contract.
13083 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13084 * include/stackinfo.h: New file.
13085 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13086 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13087 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13088 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13089 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13090 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13091 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13092 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13093 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13094 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13095 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13096 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13097 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13098 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13099 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13100
c7de5025
AZ
131012014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13102
13103 [BZ #16707]
13104 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13105 implementation.
13106 * math/libm-test.inc (round_test_data): Add more tests.
13107
98fb27a3
AZ
13108 [BZ #16706]
13109 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13110 implementation.
13111 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13112
374f7f61
AZ
13113 [BZ #16701]
13114 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13115 implementation.
13116 * math/libm-test.inc (ceil_test_data): Add more tests.
13117
4655c291
AZ
13118 * math/libm-test.inc (trunc_test_data): Add more tests related to
13119 BZ#16414.
13120
d7329d4b
RM
131212014-03-14 Roland McGrath <roland@hack.frob.com>
13122
13123 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13124 with #if rather than #ifdef.
13125 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13126
aa4de9ce
L
131272014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13128
13129 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13130 first. Disable AVX-512 GCC support if assembler doesn't support
13131 it.
13132 * sysdeps/x86_64/configure: Regenerated.
13133
2e03fae7
CD
131342014-03-13 Carlos O'Donell <carlos@redhat.com>
13135
13136 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13137 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13138 (__old_pthread_attr_setstack): Likewise.
13139 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13140 [!_STACK_GROWS_DOWN]: Likewise.
13141
43ca83ec
MF
131422014-03-13 Mike Frysinger <vapier@gentoo.org>
13143
13144 * config.make.in (have-bash2): Delete.
13145 * configure.ac (libc_cv_have_bash2): Delete.
13146 * configure: Regenerate.
13147 * elf/Makefile (common-ldd-rewrite): Rename to ...
13148 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13149 (sh-ldd-rewrite): Delete.
13150 (bash-ldd-rewrite): Delete.
13151 (have-bash2): Delete checks.
57f41c40
AS
13152 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13153 ldd-rewrite.
c66e48b4
MF
13154
13155 * config.make.in (have-ksh): Delete.
13156 (KSH): Delete.
13157 * configure.ac (libc_cv_have_ksh): Delete.
13158 * configure: Regenerate.
13159
b93834ef
MF
13160 * elf/Makefile: Delete $(have-ksh) check.
13161 ($(objpfx)sotruss): Change KSH to BASH.
13162 * elf/sotruss.ksh: Rename to ...
13163 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13164 function style to match POSIX. Drop ksh vim mode setting.
13165
f3a4632a
MF
13166 * manual/time.texi (Specifying the Time Zone with TZ): Change
13167 Tuesday to Thursday.
13168
5896c8bd
MF
13169 * debug/tst-longjmp_chk2.c: Update header comment.
13170 (stackoverflow_handler): Add comment. Call assert on pass value.
13171
2d63a517
IZ
131722014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13173
7e54fd04 13174 [BZ #16194]
2d63a517
IZ
13175 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13176 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13177 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13178 (La_x86_64_vector): Add zmm.
13179 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13180 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13181 ($(objpfx)tst-audit10): New target.
13182 ($(objpfx)tst-audit10.out): Likewise.
13183 (tst-audit10-ENV): New.
13184 (AVX512-CFLAGS): Likewise.
13185 (CFLAGS-tst-audit10.c): Likewise.
13186 (CFLAGS-tst-auditmod10a.c): Likewise.
13187 (CFLAGS-tst-auditmod10b.c): Likewise.
13188 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13189 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13190 * sysdeps/x86_64/configure: Regenerated.
13191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13192 AVX-512 zmm register support.
13193 (_dl_x86_64_save_sse): Likewise.
13194 (_dl_x86_64_restore_sse): Likewise.
13195 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13196 size vector registers.
13197 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13198 (ZMM_SIZE): Likewise.
13199 * sysdeps/x86_64/tst-audit10.c: New file.
13200 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13201 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13202
44c4e5d5
RM
132032014-03-13 Roland McGrath <roland@hack.frob.com>
13204
13205 * configure.ac (HAVE_EHDR_START): New check.
13206 * configure: Regenerated.
13207 * config.h.in (HAVE_EHDR_START): New #undef.
13208 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13209 assuming the lowest-addressed segment maps the start of the file.
13210
acd6e389
JM
132112014-03-13 Joseph Myers <joseph@codesourcery.com>
13212
13213 * INSTALL: Regenerated.
13214
6f918f36
WN
132152014-03-13 Will Newton <will.newton@linaro.org>
13216
13217 * manual/setjmp.texi (System V contexts): Improve
13218 clarity and grammar of documentation.
13219
798212a0
PP
132202014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13221
13222 [BZ #16381]
798212a0 13223 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 13224 (tests-pie): Add tst-pie2.
798212a0
PP
13225 * elf/tst-pie2.c: New file.
13226 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13227 for ET_EXEC.
13228 * elf/rtld.c (map_doit): Load executable as lt_executable.
13229 (dl_main): Likewise.
13230
abe6d90c
JM
132312014-03-12 Joseph Myers <joseph@codesourcery.com>
13232
13233 [BZ #16642]
13234 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13235 (__ASSUME_PSELECT): Undefine.
13236
dd3946c6
AZ
132372014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13238
13239 [BZ #16689]
13240 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13241 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13242 static build.
13243 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13244 selector for static builds.
13245
c44496df
SP
132462014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13247
13248 [BZ #16695]
13249 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13250 key in the buffer.
13251
27c7220a
AZ
132522014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13253
57f41c40
AS
13254 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13255 IFUNC selector for static builds.
27c7220a 13256
600fa361
JM
132572014-03-11 Joseph Myers <joseph@codesourcery.com>
13258
76c96cf7
JM
13259 * sysdeps/mips/math_private.h [__mips_hard_float]
13260 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13261 libc_feresetround_mips_ctx.
13262 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13263 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13264 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13265
600fa361
JM
13266 [BZ #16677]
13267 * math/s_nextafter.c (__nextafter): Do not return value from
13268 overflowing computation.
13269 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13270 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13271 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13272 Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13274 Likewise.
13275 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13276 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13277
d7706c32
RM
132782014-03-11 Roland McGrath <roland@hack.frob.com>
13279
13280 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13281 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13282 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13283 the new mov targetting sp.
13284
4facea47
AZ
132852014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13286
13287 [BZ #16683]
13288 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13289 Define it for static builds as well.
13290 (NO_BZERO_IMPL): Likewise.
13291
e65caf1f
VR
132922014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13293
13294 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13295 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13296 multiarch strspn for PPC64.
13297 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13298 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13300 (__libc_ifunc_impl_list): Likewise.
13301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13302 multiarch optimizations
13303 * string/strspn.c (strspn): Using macro to redefine symbol name.
13304
ba9cc071
AZ
133052014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13306 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13307
13308 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13309 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13310 multiarch strncat for PPC64.
13311 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13312 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13314 (__libc_ifunc_impl_list): Likewise.
13315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13316 multiarch optimizations
13317
8b4ff974
SP
133182014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13319
13320 [BZ #16639]
13321 * nscd/nscd.service: Make service type forking.
13322
54b46a4b
AZ
133232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13324
13325 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13326 sign in non default rounding modes.
13327 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13328
e9996ef7
JM
133292014-03-08 Joseph Myers <joseph@codesourcery.com>
13330
13331 * math/libm-test.inc (ALL_RM_TEST): New macro.
13332 (ceil_test): Use ALL_RM_TEST.
13333 (cimag_test): Likewise.
13334 (conj_test): Likewise.
13335 (copysign_test): Likewise.
13336 (cproj_test): Likewise.
13337 (creal_test): Likewise.
13338 (fabs_test): Likewise.
13339 (floor_test): Likewise.
13340 (fmax_test): Likewise.
13341 (fmin_test): Likewise.
13342 (fmod_test): Likewise.
13343 (fpclassify_test): Likewise.
13344 (frexp_test): Likewise.
13345 (ilogb_test): Likewise.
13346 (isfinite_test): Likewise.
13347 (finite_test): Likewise.
13348 (isgreater_test): Likewise.
13349 (isgreaterequal_test): Likewise.
13350 (isinf_test): Likewise.
13351 (isless_test): Likewise.
13352 (islessequal_test): Likewise.
13353 (islessgreater_test): Likewise.
13354 (isnan_test): Likewise.
13355 (isnormal_test): Likewise.
13356 (issignaling_test): Likewise.
13357 (isunordered_test): Likewise.
13358 (logb_test): Likewise.
13359 (logb_downward_test_data): Remove.
13360 (logb_test_downward): Likewise.
13361 (lround_test): Use ALL_RM_TEST.
13362 (llround_test): Likewise.
13363 (modf_test): Likewise.
13364 (nexttoward_test): Likewise.
13365 (remainder_test): Likewise.
13366 (drem_test): Likewise.
13367 (remainder_tonearest_test_data): Likewise.
13368 (remainder_test_tonearest): Likewise.
13369 (drem_test_tonearest): Likewise.
13370 (remainder_towardzero_test_data): Likewise.
13371 (remainder_test_towardzero): Likewise.
13372 (drem_test_towardzero): Likewise.
13373 (remainder_downward_test_data): Likewise.
13374 (remainder_test_downward): Likewise.
13375 (drem_test_downward): Likewise.
13376 (remainder_upward_test_data): Likewise.
13377 (remainder_test_upward): Likewise.
13378 (drem_test_upward): Likewise.
13379 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13380 (round_test): Use ALL_RM_TEST.
13381 (signbit_test): Likewise.
13382 (trunc_test): Likewise.
13383 (significand_test): Likewise.
13384 (main): Don't call removed functions.
13385
bc61d27c
JM
133862014-03-07 Joseph Myers <joseph@codesourcery.com>
13387
5c780849
JM
13388 [BZ #16674]
13389 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13390 || __USE_XOPEN2K8].
13391 (ILL_ILLOPN): Likewise.
13392 (ILL_ILLADR): Likewise.
13393 (ILL_ILLTRP): Likewise.
13394 (ILL_PRVOPC): Likewise.
13395 (ILL_PRVREG): Likewise.
13396 (ILL_COPROC): Likewise.
13397 (ILL_BADSTK): Likewise.
13398 (FPE_INTDIV): Likewise.
13399 (FPE_INTOVF): Likewise.
13400 (FPE_FLTDIV): Likewise.
13401 (FPE_FLTOVF): Likewise.
13402 (FPE_FLTUND): Likewise.
13403 (FPE_FLTRES): Likewise.
13404 (FPE_FLTINV): Likewise.
13405 (FPE_FLTSUB): Likewise.
13406 (SEGV_MAPERR): Likewise.
13407 (SEGV_ACCERR): Likewise.
13408 (BUS_ADRALN): Likewise.
13409 (BUS_ADRERR): Likewise.
13410 (BUS_OBJERR): Likewise.
13411 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13412 (TRAP_TRACE): Likewise.
13413 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13414 __USE_XOPEN2K8].
13415 (CLD_KILLED): Likewise.
13416 (CLD_DUMPED): Likewise.
13417 (CLD_TRAPPED): Likewise.
13418 (CLD_STOPPED): Likewise.
13419 (CLD_CONTINUED): Likewise.
13420 (POLL_IN): Likewise.
13421 (POLL_OUT): Likewise.
13422 (POLL_MSG): Likewise.
13423 (POLL_ERR): Likewise.
13424 (POLL_PRI): Likewise.
13425 (POLL_HUP): Likewise.
13426 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13427 Likewise.
13428 (ILL_ILLOPN): Likewise.
13429 (ILL_ILLADR): Likewise.
13430 (ILL_ILLTRP): Likewise.
13431 (ILL_PRVOPC): Likewise.
13432 (ILL_PRVREG): Likewise.
13433 (ILL_COPROC): Likewise.
13434 (ILL_BADSTK): Likewise.
13435 (FPE_INTDIV): Likewise.
13436 (FPE_INTOVF): Likewise.
13437 (FPE_FLTDIV): Likewise.
13438 (FPE_FLTOVF): Likewise.
13439 (FPE_FLTUND): Likewise.
13440 (FPE_FLTRES): Likewise.
13441 (FPE_FLTINV): Likewise.
13442 (FPE_FLTSUB): Likewise.
13443 (SEGV_MAPERR): Likewise.
13444 (SEGV_ACCERR): Likewise.
13445 (BUS_ADRALN): Likewise.
13446 (BUS_ADRERR): Likewise.
13447 (BUS_OBJERR): Likewise.
13448 (BUS_MCEERR_AR): Likewise.
13449 (BUS_MCEERR_AO): Likewise.
13450 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13451 (TRAP_TRACE): Likewise.
13452 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13453 __USE_XOPEN2K8].
13454 (CLD_KILLED): Likewise.
13455 (CLD_DUMPED): Likewise.
13456 (CLD_TRAPPED): Likewise.
13457 (CLD_STOPPED): Likewise.
13458 (CLD_CONTINUED): Likewise.
13459 (POLL_IN): Likewise.
13460 (POLL_OUT): Likewise.
13461 (POLL_MSG): Likewise.
13462 (POLL_ERR): Likewise.
13463 (POLL_PRI): Likewise.
13464 (POLL_HUP): Likewise.
13465 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13466 (ILL_ILLOPN): Likewise.
13467 (ILL_ILLADR): Likewise.
13468 (ILL_ILLTRP): Likewise.
13469 (ILL_PRVOPC): Likewise.
13470 (ILL_PRVREG): Likewise.
13471 (ILL_COPROC): Likewise.
13472 (ILL_BADSTK): Likewise.
13473 (FPE_INTDIV): Likewise.
13474 (FPE_INTOVF): Likewise.
13475 (FPE_FLTDIV): Likewise.
13476 (FPE_FLTOVF): Likewise.
13477 (FPE_FLTUND): Likewise.
13478 (FPE_FLTRES): Likewise.
13479 (FPE_FLTINV): Likewise.
13480 (FPE_FLTSUB): Likewise.
13481 (SEGV_MAPERR): Likewise.
13482 (SEGV_ACCERR): Likewise.
13483 (BUS_ADRALN): Likewise.
13484 (BUS_ADRERR): Likewise.
13485 (BUS_OBJERR): Likewise.
13486 (BUS_MCEERR_AR): Likewise.
13487 (BUS_MCEERR_AO): Likewise.
13488 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13489 (TRAP_TRACE): Likewise.
13490 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13491 __USE_XOPEN2K8].
13492 (CLD_KILLED): Likewise.
13493 (CLD_DUMPED): Likewise.
13494 (CLD_TRAPPED): Likewise.
13495 (CLD_STOPPED): Likewise.
13496 (CLD_CONTINUED): Likewise.
13497 (POLL_IN): Likewise.
13498 (POLL_OUT): Likewise.
13499 (POLL_MSG): Likewise.
13500 (POLL_ERR): Likewise.
13501 (POLL_PRI): Likewise.
13502 (POLL_HUP): Likewise.
13503 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13504 Likewise.
13505 (ILL_ILLOPN): Likewise.
13506 (ILL_ILLADR): Likewise.
13507 (ILL_ILLTRP): Likewise.
13508 (ILL_PRVOPC): Likewise.
13509 (ILL_PRVREG): Likewise.
13510 (ILL_COPROC): Likewise.
13511 (ILL_BADSTK): Likewise.
13512 (ILL_BADIADDR): Likewise.
13513 (ILL_BREAK): Likewise.
13514 (FPE_INTDIV): Likewise.
13515 (FPE_INTOVF): Likewise.
13516 (FPE_FLTDIV): Likewise.
13517 (FPE_FLTOVF): Likewise.
13518 (FPE_FLTUND): Likewise.
13519 (FPE_FLTRES): Likewise.
13520 (FPE_FLTINV): Likewise.
13521 (FPE_FLTSUB): Likewise.
13522 (FPE_DECOVF): Likewise.
13523 (FPE_DECDIV): Likewise.
13524 (FPE_DECERR): Likewise.
13525 (FPE_INVASC): Likewise.
13526 (FPE_INVDEC): Likewise.
13527 (SEGV_MAPERR): Likewise.
13528 (SEGV_ACCERR): Likewise.
13529 (SEGV_PSTKOVF): Likewise.
13530 (BUS_ADRALN): Likewise.
13531 (BUS_ADRERR): Likewise.
13532 (BUS_OBJERR): Likewise.
13533 (BUS_MCEERR_AR): Likewise.
13534 (BUS_MCEERR_AO): Likewise.
13535 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13536 (TRAP_TRACE): Likewise.
13537 (TRAP_BRANCH): Likewise.
13538 (TRAP_HWBKPT): Likewise.
13539 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13540 __USE_XOPEN2K8].
13541 (CLD_KILLED): Likewise.
13542 (CLD_DUMPED): Likewise.
13543 (CLD_TRAPPED): Likewise.
13544 (CLD_STOPPED): Likewise.
13545 (CLD_CONTINUED): Likewise.
13546 (POLL_IN): Likewise.
13547 (POLL_OUT): Likewise.
13548 (POLL_MSG): Likewise.
13549 (POLL_ERR): Likewise.
13550 (POLL_PRI): Likewise.
13551 (POLL_HUP): Likewise.
13552 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13553 (ILL_ILLOPN): Likewise.
13554 (ILL_ILLADR): Likewise.
13555 (ILL_ILLTRP): Likewise.
13556 (ILL_PRVOPC): Likewise.
13557 (ILL_PRVREG): Likewise.
13558 (ILL_COPROC): Likewise.
13559 (ILL_BADSTK): Likewise.
13560 (FPE_INTDIV): Likewise.
13561 (FPE_INTOVF): Likewise.
13562 (FPE_FLTDIV): Likewise.
13563 (FPE_FLTOVF): Likewise.
13564 (FPE_FLTUND): Likewise.
13565 (FPE_FLTRES): Likewise.
13566 (FPE_FLTINV): Likewise.
13567 (FPE_FLTSUB): Likewise.
13568 (SEGV_MAPERR): Likewise.
13569 (SEGV_ACCERR): Likewise.
13570 (BUS_ADRALN): Likewise.
13571 (BUS_ADRERR): Likewise.
13572 (BUS_OBJERR): Likewise.
13573 (BUS_MCEERR_AR): Likewise.
13574 (BUS_MCEERR_AO): Likewise.
13575 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13576 (TRAP_TRACE): Likewise.
13577 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13578 __USE_XOPEN2K8].
13579 (CLD_KILLED): Likewise.
13580 (CLD_DUMPED): Likewise.
13581 (CLD_TRAPPED): Likewise.
13582 (CLD_STOPPED): Likewise.
13583 (CLD_CONTINUED): Likewise.
13584 (POLL_IN): Likewise.
13585 (POLL_OUT): Likewise.
13586 (POLL_MSG): Likewise.
13587 (POLL_ERR): Likewise.
13588 (POLL_PRI): Likewise.
13589 (POLL_HUP): Likewise.
13590 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13591 (ILL_ILLOPN): Likewise.
13592 (ILL_ILLADR): Likewise.
13593 (ILL_ILLTRP): Likewise.
13594 (ILL_PRVOPC): Likewise.
13595 (ILL_PRVREG): Likewise.
13596 (ILL_COPROC): Likewise.
13597 (ILL_BADSTK): Likewise.
13598 (FPE_INTDIV): Likewise.
13599 (FPE_INTOVF): Likewise.
13600 (FPE_FLTDIV): Likewise.
13601 (FPE_FLTOVF): Likewise.
13602 (FPE_FLTUND): Likewise.
13603 (FPE_FLTRES): Likewise.
13604 (FPE_FLTINV): Likewise.
13605 (FPE_FLTSUB): Likewise.
13606 (SEGV_MAPERR): Likewise.
13607 (SEGV_ACCERR): Likewise.
13608 (BUS_ADRALN): Likewise.
13609 (BUS_ADRERR): Likewise.
13610 (BUS_OBJERR): Likewise.
13611 (BUS_MCEERR_AR): Likewise.
13612 (BUS_MCEERR_AO): Likewise.
13613 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13614 (TRAP_TRACE): Likewise.
13615 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13616 __USE_XOPEN2K8].
13617 (CLD_KILLED): Likewise.
13618 (CLD_DUMPED): Likewise.
13619 (CLD_TRAPPED): Likewise.
13620 (CLD_STOPPED): Likewise.
13621 (CLD_CONTINUED): Likewise.
13622 (POLL_IN): Likewise.
13623 (POLL_OUT): Likewise.
13624 (POLL_MSG): Likewise.
13625 (POLL_ERR): Likewise.
13626 (POLL_PRI): Likewise.
13627 (POLL_HUP): Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13629 (ILL_ILLOPN): Likewise.
13630 (ILL_ILLADR): Likewise.
13631 (ILL_ILLTRP): Likewise.
13632 (ILL_PRVOPC): Likewise.
13633 (ILL_PRVREG): Likewise.
13634 (ILL_COPROC): Likewise.
13635 (ILL_BADSTK): Likewise.
13636 (FPE_INTDIV): Likewise.
13637 (FPE_INTOVF): Likewise.
13638 (FPE_FLTDIV): Likewise.
13639 (FPE_FLTOVF): Likewise.
13640 (FPE_FLTUND): Likewise.
13641 (FPE_FLTRES): Likewise.
13642 (FPE_FLTINV): Likewise.
13643 (FPE_FLTSUB): Likewise.
13644 (SEGV_MAPERR): Likewise.
13645 (SEGV_ACCERR): Likewise.
13646 (BUS_ADRALN): Likewise.
13647 (BUS_ADRERR): Likewise.
13648 (BUS_OBJERR): Likewise.
13649 (BUS_MCEERR_AR): Likewise.
13650 (BUS_MCEERR_AO): Likewise.
13651 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13652 (TRAP_TRACE): Likewise.
13653 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13654 __USE_XOPEN2K8].
13655 (CLD_KILLED): Likewise.
13656 (CLD_DUMPED): Likewise.
13657 (CLD_TRAPPED): Likewise.
13658 (CLD_STOPPED): Likewise.
13659 (CLD_CONTINUED): Likewise.
13660 (POLL_IN): Likewise.
13661 (POLL_OUT): Likewise.
13662 (POLL_MSG): Likewise.
13663 (POLL_ERR): Likewise.
13664 (POLL_PRI): Likewise.
13665 (POLL_HUP): Likewise.
13666 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13667 (ILL_ILLOPN): Likewise.
13668 (ILL_ILLADR): Likewise.
13669 (ILL_ILLTRP): Likewise.
13670 (ILL_PRVOPC): Likewise.
13671 (ILL_PRVREG): Likewise.
13672 (ILL_COPROC): Likewise.
13673 (ILL_BADSTK): Likewise.
13674 (ILL_DBLFLT): Likewise.
13675 (ILL_HARDWALL): Likewise.
13676 (FPE_INTDIV): Likewise.
13677 (FPE_INTOVF): Likewise.
13678 (FPE_FLTDIV): Likewise.
13679 (FPE_FLTOVF): Likewise.
13680 (FPE_FLTUND): Likewise.
13681 (FPE_FLTRES): Likewise.
13682 (FPE_FLTINV): Likewise.
13683 (FPE_FLTSUB): Likewise.
13684 (SEGV_MAPERR): Likewise.
13685 (SEGV_ACCERR): Likewise.
13686 (BUS_ADRALN): Likewise.
13687 (BUS_ADRERR): Likewise.
13688 (BUS_OBJERR): Likewise.
13689 (BUS_MCEERR_AR): Likewise.
13690 (BUS_MCEERR_AO): Likewise.
13691 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13692 (TRAP_TRACE): Likewise.
13693 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13694 __USE_XOPEN2K8].
13695 (CLD_KILLED): Likewise.
13696 (CLD_DUMPED): Likewise.
13697 (CLD_TRAPPED): Likewise.
13698 (CLD_STOPPED): Likewise.
13699 (CLD_CONTINUED): Likewise.
13700 (POLL_IN): Likewise.
13701 (POLL_OUT): Likewise.
13702 (POLL_MSG): Likewise.
13703 (POLL_ERR): Likewise.
13704 (POLL_PRI): Likewise.
13705 (POLL_HUP): Likewise.
13706 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13707 (ILL_ILLOPN): Likewise.
13708 (ILL_ILLADR): Likewise.
13709 (ILL_ILLTRP): Likewise.
13710 (ILL_PRVOPC): Likewise.
13711 (ILL_PRVREG): Likewise.
13712 (ILL_COPROC): Likewise.
13713 (ILL_BADSTK): Likewise.
13714 (FPE_INTDIV): Likewise.
13715 (FPE_INTOVF): Likewise.
13716 (FPE_FLTDIV): Likewise.
13717 (FPE_FLTOVF): Likewise.
13718 (FPE_FLTUND): Likewise.
13719 (FPE_FLTRES): Likewise.
13720 (FPE_FLTINV): Likewise.
13721 (FPE_FLTSUB): Likewise.
13722 (SEGV_MAPERR): Likewise.
13723 (SEGV_ACCERR): Likewise.
13724 (BUS_ADRALN): Likewise.
13725 (BUS_ADRERR): Likewise.
13726 (BUS_OBJERR): Likewise.
13727 (BUS_MCEERR_AR): Likewise.
13728 (BUS_MCEERR_AO): Likewise.
13729 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13730 (TRAP_TRACE): Likewise.
13731 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13732 __USE_XOPEN2K8].
13733 (CLD_KILLED): Likewise.
13734 (CLD_DUMPED): Likewise.
13735 (CLD_TRAPPED): Likewise.
13736 (CLD_STOPPED): Likewise.
13737 (CLD_CONTINUED): Likewise.
13738 (POLL_IN): Likewise.
13739 (POLL_OUT): Likewise.
13740 (POLL_MSG): Likewise.
13741 (POLL_ERR): Likewise.
13742 (POLL_PRI): Likewise.
13743 (POLL_HUP): Likewise.
13744 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13745 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13746
bc61d27c
JM
13747 [BZ #16670]
13748 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13749 before #include of <time.h>.
13750 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13751 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13752 (test-xfail-UNIX98/sched.h/conform): Likewise.
13753
302949e2
MS
137542014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13755
13756 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13757 error absence of trapping exception support.
13758 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13759
a00f522a
JM
137602014-03-07 Joseph Myers <joseph@codesourcery.com>
13761
6f99f280
JM
13762 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13763 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13764 * timezone/Makefile (testdata): Move definition above include of
13765 Rules.
13766 (test-zones): New variable.
13767 (tests-special): Add zone files.
13768 (build-testdata): Use $(evaluate-test).
13769
0b20a9e8
JM
13770 * elf/Makefile (tests-special): Rename tests to end with .out.
13771 ($(objpfx)noload-mem): Likewise.
13772 ($(objpfx)tst-leaks1-mem): Likewise.
13773 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13774 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13775 $(objpfx)test-iconvconfig.out.
13776 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13777 set -e inside subshell and redirect output to file.
13778 * iconvdata/Makefile (generated): Rename tests to end with .out.
13779 Correct type.
13780 (tests-special): Rename tests to end with .out.
13781 ($(objpfx)mtrace-tst-loading): Likewise.
13782 * intl/Makefile (generated): Likewise.
13783 (tests-special): Likewise.
13784 ($(objpfx)mtrace-tst-gettext): Likewise.
13785 * misc/Makefile (generated): Likewise.
13786 (tests-special): Likewise.
13787 ($(objpfx)tst-error1-mem): Likewise.
13788 * nptl/Makefile (tests-special): Likewise.
13789 ($(objpfx)tst-stack3-mem): Likewise.
13790 (generated): Likewise.
13791 * posix/Makefile (generated): Likewise.
13792 (tests-special): Likewise.
13793 (xtests-special): Likewise.
13794 ($(objpfx)tst-fnmatch-mem): Likewise.
13795 ($(objpfx)bug-regex2-mem): Likewise.
13796 ($(objpfx)bug-regex14-mem): Likewise.
13797 ($(objpfx)bug-regex21-mem): Likewise.
13798 ($(objpfx)bug-regex31-mem): Likewise.
13799 ($(objpfx)tst-vfork3-mem): Likewise.
13800 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13801 ($(objpfx)tst-pcre-mem): Likewise.
13802 ($(objpfx)tst-boost-mem): Likewise.
13803 ($(objpfx)bug-ga2-mem): Likewise.
13804 ($(objpfx)bug-glob2-mem): Likewise.
13805 * resolv/Makefile (generate): Likewise.
13806 (tests-special): Likewise.
13807 (xtests-special): Likewise.
13808 (generated): Likewise.
13809 ($(objpfx)mtrace-tst-leaks): Likewise.
13810 ($(objpfx)mtrace-tst-leaks2): Likewise.
13811
265d52ab
JM
13812 * scripts/merge-test-results.sh: New file.
13813 * Makefile (tests-special-notdir): New variable.
13814 (tests): Run merge-test-results.sh.
13815 (xtests): Likewise.
13816 * Rules (tests-special-notdir): New variable.
13817 (xtests-special-notdir): Likewise.
13818 (tests): Run merge-test-results.sh
13819 (xtests): Likewise.
13820
54ee292d
JM
13821 * Makeconfig (test-xfail-name): New variable.
13822 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13823 compute variable name for expected failures.
13824 * conform/Makefile (conformtest-headers-data): New variable.
13825 (conformtest-standards): Likewise.
13826 (conformtest-headers-ISO): Likewise.
13827 (conformtest-headers-ISO99): Likewise.
13828 (conformtest-headers-ISO11): Likewise.
13829 (conformtest-headers-POSIX): Likewise.
13830 (conformtest-headers-XPG3): Likewise.
13831 (conformtest-headers-XPG4): Likewise.
13832 (conformtest-headers-UNIX98): Likewise.
13833 (conformtest-headers-XOPEN2K): Likewise.
13834 (conformtest-headers-POSIX2008): Likewise.
13835 (conformtest-headers-XOPEN2K8): Likewise.
13836 (conformtest-header-list-base): Likewise.
13837 (conformtest-header-list-tests): Likewise.
13838 (conformtest-header-base): Likewise.
13839 (conformtest-header-tests): Likewise.
13840 (tests-special): Add $(conformtest-header-list-tests). If
13841 [$(fast-check) && !$(cross-compiling)], add
13842 $(conformtest-header-tests) instead of
13843 $(objpfx)run-conformtest.out.
13844 (generated): Add $(conformtest-header-list-base). If
13845 [$(fast-check) && !$(cross-compiling)], add
13846 $(conformtest-header-base). Remove previous setting.
13847 ($(conformtest-header-list-tests)): New target.
13848 (test-xfail-run-conformtest): Remove variable.
13849 ($(objpfx)run-conformtest.out): Remove target.
13850 (test-xfail-ISO11/complex.h/conform): New variable.
13851 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13852 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13853 (test-xfail-XPG3/varargs.h/conform): Likewise.
13854 (test-xfail-XPG4/varargs.h/conform): Likewise.
13855 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13856 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13857 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13858 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13859 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13860 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13861 (test-xfail-XPG3/ftw.h/conform): Likewise.
13862 (test-xfail-XPG3/grp.h/conform): Likewise.
13863 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13864 (test-xfail-XPG3/limits.h/conform): Likewise.
13865 (test-xfail-XPG3/pwd.h/conform): Likewise.
13866 (test-xfail-XPG3/search.h/conform): Likewise.
13867 (test-xfail-XPG3/signal.h/conform): Likewise.
13868 (test-xfail-XPG3/stdio.h/conform): Likewise.
13869 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13870 (test-xfail-XPG3/string.h/conform): Likewise.
13871 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13872 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13873 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13874 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13875 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13876 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13877 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13878 (test-xfail-XPG3/termios.h/conform): Likewise.
13879 (test-xfail-XPG3/time.h/conform): Likewise.
13880 (test-xfail-XPG3/unistd.h/conform): Likewise.
13881 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13882 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13883 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13884 (test-xfail-XPG4/netdb.h/conform): Likewise.
13885 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13886 (test-xfail-XPG4/signal.h/conform): Likewise.
13887 (test-xfail-XPG4/stdio.h/conform): Likewise.
13888 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13889 (test-xfail-XPG4/stropts.h/conform): Likewise.
13890 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13891 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13892 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13893 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13894 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13895 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13896 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13897 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13898 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13899 (test-xfail-XPG4/termios.h/conform): Likewise.
13900 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13901 (test-xfail-XPG4/unistd.h/conform): Likewise.
13902 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13903 (test-xfail-POSIX/sched.h/conform): Likewise.
13904 (test-xfail-POSIX/signal.h/conform): Likewise.
13905 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13906 (test-xfail-POSIX/tar.h/conform): Likewise.
13907 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13908 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13909 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13910 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13911 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13912 (test-xfail-UNIX98/sched.h/conform): Likewise.
13913 (test-xfail-UNIX98/signal.h/conform): Likewise.
13914 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13915 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13916 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13917 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13918 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13919 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13920 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13921 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13922 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13923 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13924 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13925 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13926 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13927 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13928 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13929 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13930 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13931 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13932 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13933 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13934 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13935 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13936 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13937 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13938 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13939 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13940 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13941 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13942 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13943 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13944 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13945 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13946 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13947 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13948 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13949 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13950 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13951 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13952 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13953 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13954 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13955 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13956 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13957 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13958 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13959 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13960 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13961 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13962 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13963 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13964 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13965 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13966 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13967 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13968 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13969 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13970 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13971 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13972 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13973 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13974 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13975 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13976 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13977 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13978 (conformtest-cc-flags): Likewise.
13979 ($(conformtest-header-tests): New target.
13980 * conform/check-header-lists.sh: New file.
13981 * conform/run-conformtest.sh: Remove.
13982
a00f522a
JM
13983 * conform/conformtest.pl: Allow ' and \ in values given for
13984 constants.
13985 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13986 inclusion.
13987 [POSIX] (sys/types.h): Likewise.
13988 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13989 inclusion.
13990 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13991 inclusion.
13992 * conform/data/signal.h-data (SIGIO): Remove expectation.
13993 [XPG3] (SIGBUS): Do not expect.
13994 [POSIX || XPG3] (SIGPOLL): Likewise.
13995 [POSIX || XPG3] (SIGPROF): Likewise.
13996 [POSIX || XPG3] (SIGSYS): Likewise.
13997 [XPG3] (SIGTRAP): Likewise.
13998 [POSIX || XPG3] (SIGURG): Likewise.
13999 [POSIX || XPG3] (SIGVTALRM): Likewise.
14000 [POSIX || XPG3] (SIGXCPU): Likewise.
14001 [POSIX || XPG3] (SIGXFSZ): Likewise.
14002 [POSIX] (SA_SIGINFO): Expect.
14003 [XPG3] (siginfo_t): Do not expect type or contents.
14004 [POSIX] (si_pid): Do not expect element.
14005 [POSIX] (si_uid): Likewise.
14006 [POSIX] (si_addr): Likewise.
14007 [POSIX] (si_status): Likewise.
14008 [POSIX] (si_band): Likewise.
14009 [XPG4] (si_value): Likewise.
14010 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14011 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14012 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14013 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14014 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14015 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14016 [POSIX || XPG3] (ILL_COPROC): Likewise.
14017 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14018 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14019 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14020 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14021 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14022 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14023 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14024 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14025 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14026 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14027 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14028 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14029 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14030 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14031 [POSIX || XPG3] (CLD_EXITED): Likewise.
14032 [POSIX || XPG3] (CLD_KILLED): Likewise.
14033 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14034 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14035 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14036 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14037 [POSIX || XPG3] (POLL_IN): Likewise.
14038 [POSIX || XPG3] (POLL_OUT): Likewise.
14039 [POSIX || XPG3] (POLL_MSG): Likewise.
14040 [POSIX || XPG3] (POLL_ERR): Likewise.
14041 [POSIX || XPG3] (POLL_PRI): Likewise.
14042 [POSIX || XPG3] (POLL_HUP): Likewise.
14043 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14044 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14045 (SIG*): Do not allow.
14046 [XPG3] (si_*): Likewise.
14047 [XPG3] (SI_*): Likewise.
14048 [XPG3 || XPG4] (sigev_*): Likewise.
14049 [XPG3 || XPG4] (SIGEV_*): Likewise.
14050 [XPG3 || XPG4] (sival_*): Likewise.
14051 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14052 [POSIX || XPG3] (BUS_*): Likewise.
14053 [POSIX || XPG3] (CLD_*): Likewise.
14054 [POSIX || XPG3] (FPE_*): Likewise.
14055 [POSIX || XPG3] (ILL_*): Likewise.
14056 [POSIX || XPG3] (POLL_*): Likewise.
14057 [POSIX || XPG3] (SEGV_*): Likewise.
14058 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14059 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14060 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14061 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14062 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14063 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14064 Specify type and value.
14065 (TVERSLEN): Likewise.
14066 (REGTYPE): Likewise.
14067 (AREGTYPE): Likewise.
14068 (LNKTYPE): Likewise.
14069 (SYMTYPE): Likewise.
14070 (CHRTYPE): Likewise.
14071 (BLKTYPE): Likewise.
14072 (DIRTYPE): Likewise.
14073 (FIFOTYPE): Likewise.
14074 (CONTTYPE): Likewise.
14075 (TSUID): Likewise.
14076 (TSGID): Likewise.
14077 (TSVTX): Likewise.
14078 (TUREAD): Likewise.
14079 (TUWRITE): Likewise.
14080 (TUEXEC): Likewise.
14081 (TGREAD): Likewise.
14082 (TGWRITE): Likewise.
14083 (TGEXEC): Likewise.
14084 (TOREAD): Likewise.
14085 (TOWRITE): Likewise.
14086 (TOEXEC): Likewise.
14087 [POSIX] (TSVTX): Expect constant.
14088
aa97dee1
JM
140892014-03-06 Joseph Myers <joseph@codesourcery.com>
14090
f214606a
JM
14091 * Makefile (tests): Change dependencies to ....
14092 (tests-special): ... additions to this variable.
14093 (tests): Depend on $(tests-special).
14094 * Makerules (check-abi-list): New variable.
14095 (check-abi): Depend on $(check-abi-list).
14096 [$(subdir) = elf] (tests-special): Add
14097 $(objpfx)check-abi-libc.out.
14098 [$(build-shared) = yes && subdir] (tests-special): Add
14099 $(check-abi-list).
14100 [$(build-shared) = yes && subdir] (tests): Do not depend on
14101 check-abi.
14102 * Rules (tests): Depend on $(tests-special).
14103 (xtests): Depend on $(xtests-special).
14104 * catgets/Makefile (tests): Change dependencies to ....
14105 (tests-special): ... additions to this variable.
14106 * conform/Makefile (tests): Change dependencies to ....
14107 (tests-special): ... additions to this variable.
14108 * elf/Makefile (tests): Change dependencies to ....
14109 (tests-special): ... additions to this variable.
14110 * grp/Makefile (tests): Change dependencies to ....
14111 (tests-special): ... additions to this variable.
14112 * iconv/Makefile (xtests): Change dependencies to ....
14113 (xtests-special): ... additions to this variable.
14114 * iconvdata/Makefile (tests): Change dependencies to ....
14115 (tests-special): ... additions to this variable.
14116 * intl/Makefile (tests): Change dependencies to ....
14117 (tests-special): ... additions to this variable. Also add
14118 $(objpfx)tst-gettext.out.
14119 * io/Makefile (tests): Change dependencies to ....
14120 (tests-special): ... additions to this variable.
14121 * libio/Makefile (tests): Change dependencies to ....
14122 (tests-special): ... additions to this variable.
14123 * malloc/Makefile (tests): Change dependencies to ....
14124 (tests-special): ... additions to this variable.
14125 * misc/Makefile (tests): Change dependencies to ....
14126 (tests-special): ... additions to this variable.
14127 * nptl/Makefile (tests): Change dependencies to ....
14128 (tests-special): ... additions to this variable.
14129 * nptl_db/Makefile (tests): Change dependencies to ....
14130 (tests-special): ... additions to this variable.
14131 * posix/Makefile (tests): Change dependencies to ....
14132 (tests-special): ... additions to this variable.
14133 (xtests): Change dependencies to ....
14134 (xtests-special): ... additions to this variable.
14135 * resolv/Makefile (tests): Change dependencies to ....
14136 (tests-special): ... additions to this variable.
14137 (xtests): Change dependencies to ....
14138 (xtests-special): ... additions to this variable.
14139 * stdio-common/Makefile (tests): Change dependencies to ....
14140 (tests-special): ... additions to this variable.
14141 (do-tst-unbputc): Remove target.
14142 (do-tst-printf): Likewise.
14143 * stdlib/Makefile (tests): Change dependencies to ....
14144 (tests-special): ... additions to this variable.
14145 * string/Makefile (tests): Change dependencies to ....
14146 (tests-special): ... additions to this variable.
14147 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14148 (tests-special): ... additions to this variable.
14149
81700b53
JM
14150 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14151 whole file.
14152 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14153 whole file.
14154 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14155 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14156
2ea18461
JM
14157 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14158 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14159 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14160 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14161 * conform/data/libgen.h-data [XPG3]: Likewise.
14162 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14163 * conform/data/ndbm.h-data [XPG3]: Likewise.
14164 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14165 * conform/data/netdb.h-data [XPG3]: Likewise.
14166 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14167 * conform/data/poll.h-data [XPG3]: Likewise.
14168 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14169 * conform/data/strings.h-data [XPG3]: Likewise.
14170 * conform/data/stropts.h-data [XPG3]: Likewise.
14171 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14172 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14173 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14174 Likewise.
14175 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14176 * conform/data/sys/time.h-data [XPG3]: Likewise.
14177 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14178 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14179 * conform/data/sys/un.h-data [XPG3]: Likewise.
14180 * conform/data/syslog.h-data [XPG3]: Likewise.
14181 * conform/data/ucontext.h-data [XPG3]: Likewise.
14182 * conform/data/utmpx.h-data [XPG3]: Likewise.
14183 * conform/data/varargs.h-data [UNIX98]: Enable file.
14184
355bc986
JM
14185 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14186
215db402
JM
14187 * math/libm-test.inc (struct test_f_f_data): Move expected results
14188 into structure for each rounding mode.
14189 (struct test_ff_f_data): Likewise.
14190 (struct test_ff_f_data_nexttoward): Likewise.
14191 (struct test_fi_f_data): Likewise.
14192 (struct test_fl_f_data): Likewise.
14193 (struct test_if_f_data): Likewise.
14194 (struct test_fff_f_data): Likewise.
14195 (struct test_c_f_data): Likewise.
14196 (struct test_f_f1_data): Likewise.
14197 (struct test_fF_f1_data): Likewise.
14198 (struct test_ffI_f1_data): Likewise.
14199 (struct test_c_c_data): Likewise.
14200 (struct test_cc_c_data): Likewise.
14201 (struct test_f_i_data): Likewise.
14202 (struct test_ff_i_data): Likewise.
14203 (struct test_f_l_data): Likewise.
14204 (struct test_f_L_data): Likewise.
14205 (struct test_fFF_11_data): Likewise.
14206 (RM_): New macro.
14207 (RM_FE_DOWNWARD): Likewise.
14208 (RM_FE_TONEAREST): Likewise.
14209 (RM_FE_TOWARDZERO): Likewise.
14210 (RM_FE_UPWARD): Likewise.
14211 (RUN_TEST_LOOP_f_f): Update references to expected results.
14212 (RUN_TEST_LOOP_2_f): Likewise.
14213 (RUN_TEST_LOOP_fff_f): Likewise.
14214 (RUN_TEST_LOOP_c_f): Likewise.
14215 (RUN_TEST_LOOP_f_f1): Likewise.
14216 (RUN_TEST_LOOP_fF_f1): Likewise.
14217 (RUN_TEST_LOOP_fI_f1): Likewise.
14218 (RUN_TEST_LOOP_ffI_f1): Likewise.
14219 (RUN_TEST_LOOP_c_c): Likewise.
14220 (RUN_TEST_LOOP_cc_c): Likewise.
14221 (RUN_TEST_LOOP_f_i): Likewise.
14222 (RUN_TEST_LOOP_f_i_tg): Likewise.
14223 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14224 (RUN_TEST_LOOP_f_b): Likewise.
14225 (RUN_TEST_LOOP_f_b_tg): Likewise.
14226 (RUN_TEST_LOOP_f_l): Likewise.
14227 (RUN_TEST_LOOP_f_L): Likewise.
14228 (RUN_TEST_LOOP_fFF_11): Likewise.
14229 * math/gen-libm-test.pl (parse_args): Output four copies of
14230 expected results for each test.
14231
67737b8f
JM
14232 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14233 (__ASSUME_UTIMES): Remove.
14234 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14235 (__ASSUME_UTIMES): Likewise.
14236
aa97dee1
JM
14237 * math/gen-auto-libm-tests.c: Update comment on output format.
14238 (output_for_one_input_case): Generate before-rounding and
14239 after-rounding information as conditions on output flags not
14240 floating-point format.
14241 * math/auto-libm-test-out: Regenerated.
14242 * math/gen-libm-test.pl (cond_value): New function.
14243 (or_cond_value): Use cond_value.
14244 (generate_testfile): Handle conditional exceptions.
14245
e6b6a857
JM
142462014-03-05 Joseph Myers <joseph@codesourcery.com>
14247
2f0a0f44
JM
14248 * math/libm-test.inc (max_valid_error): New variable.
14249 (init_max_error): Take new argument specifying whether function
14250 results are exactly determined. Set max_valid_error and bound
14251 other variables for errors based on this argument.
14252 (set_max_error): Do not record results above max_valid_error.
14253 (check_float_internal): Only accept errors of up to 0.5ulps if
14254 also at most max_valid_error.
14255 (START): Take new argument EXACT and pass it to init_max_error.
14256 (acos_test): Update call to START.
14257 (acos_test_tonearest): Likewise.
14258 (acos_test_towardzero): Likewise.
14259 (acos_test_downward): Likewise.
14260 (acos_test_upward): Likewise.
14261 (acosh_test): Likewise.
14262 (asin_test): Likewise.
14263 (asin_test_tonearest): Likewise.
14264 (asin_test_towardzero): Likewise.
14265 (asin_test_downward): Likewise.
14266 (asin_test_upward): Likewise.
14267 (asinh_test): Likewise.
14268 (atan_test): Likewise.
14269 (atanh_test): Likewise.
14270 (atan2_test): Likewise.
14271 (cabs_test): Likewise.
14272 (cacos_test): Likewise.
14273 (cacosh_test): Likewise.
14274 (carg_test): Likewise.
14275 (casin_test): Likewise.
14276 (casinh_test): Likewise.
14277 (catan_test): Likewise.
14278 (catanh_test): Likewise.
14279 (cbrt_test): Likewise.
14280 (ccos_test): Likewise.
14281 (ccosh_test): Likewise.
14282 (ceil_test): Likewise.
14283 (cexp_test): Likewise.
14284 (cimag_test): Likewise.
14285 (clog_test): Likewise.
14286 (clog10_test): Likewise.
14287 (conj_test): Likewise.
14288 (copysign_test): Likewise.
14289 (cos_test): Likewise.
14290 (cos_test_tonearest): Likewise.
14291 (cos_test_towardzero): Likewise.
14292 (cos_test_downward): Likewise.
14293 (cos_test_upward): Likewise.
14294 (cosh_test): Likewise.
14295 (cosh_test_tonearest): Likewise.
14296 (cosh_test_towardzero): Likewise.
14297 (cosh_test_downward): Likewise.
14298 (cosh_test_upward): Likewise.
14299 (cpow_test): Likewise.
14300 (cproj_test): Likewise.
14301 (creal_test): Likewise.
14302 (csin_test): Likewise.
14303 (csinh_test): Likewise.
14304 (csqrt_test): Likewise.
14305 (ctan_test): Likewise.
14306 (ctan_test_tonearest): Likewise.
14307 (ctan_test_towardzero): Likewise.
14308 (ctan_test_downward): Likewise.
14309 (ctan_test_upward): Likewise.
14310 (ctanh_test): Likewise.
14311 (ctanh_test_tonearest): Likewise.
14312 (ctanh_test_towardzero): Likewise.
14313 (ctanh_test_downward): Likewise.
14314 (ctanh_test_upward): Likewise.
14315 (erf_test): Likewise.
14316 (erfc_test): Likewise.
14317 (exp_test): Likewise.
14318 (exp_test_tonearest): Likewise.
14319 (exp_test_towardzero): Likewise.
14320 (exp_test_downward): Likewise.
14321 (exp_test_upward): Likewise.
14322 (exp10_test): Likewise.
14323 (exp10_test_tonearest): Likewise.
14324 (exp10_test_towardzero): Likewise.
14325 (exp10_test_downward): Likewise.
14326 (exp10_test_upward): Likewise.
14327 (pow10_test): Likewise.
14328 (exp2_test): Likewise.
14329 (expm1_test): Likewise.
14330 (expm1_test_tonearest): Likewise.
14331 (expm1_test_towardzero): Likewise.
14332 (expm1_test_downward): Likewise.
14333 (expm1_test_upward): Likewise.
14334 (fabs_test): Likewise.
14335 (fdim_test): Likewise.
14336 (floor_test): Likewise.
14337 (fma_test): Likewise.
14338 (fma_test_towardzero): Likewise.
14339 (fma_test_downward): Likewise.
14340 (fma_test_upward): Likewise.
14341 (fmax_test): Likewise.
14342 (fmin_test): Likewise.
14343 (fmod_test): Likewise.
14344 (fpclassify_test): Likewise.
14345 (frexp_test): Likewise.
14346 (hypot_test): Likewise.
14347 (ilogb_test): Likewise.
14348 (isfinite_test): Likewise.
14349 (finite_test): Likewise.
14350 (isgreater_test): Likewise.
14351 (isgreaterequal_test): Likewise.
14352 (isinf_test): Likewise.
14353 (isless_test): Likewise.
14354 (islessequal_test): Likewise.
14355 (islessgreater_test): Likewise.
14356 (isnan_test): Likewise.
14357 (isnormal_test): Likewise.
14358 (issignaling_test): Likewise.
14359 (isunordered_test): Likewise.
14360 (j0_test): Likewise.
14361 (j1_test): Likewise.
14362 (jn_test): Likewise.
14363 (ldexp_test): Likewise.
14364 (lgamma_test): Likewise.
14365 (gamma_test): Likewise.
14366 (lrint_test): Likewise.
14367 (lrint_test_tonearest): Likewise.
14368 (lrint_test_towardzero): Likewise.
14369 (lrint_test_downward): Likewise.
14370 (lrint_test_upward): Likewise.
14371 (llrint_test): Likewise.
14372 (llrint_test_tonearest): Likewise.
14373 (llrint_test_towardzero): Likewise.
14374 (llrint_test_downward): Likewise.
14375 (llrint_test_upward): Likewise.
14376 (log_test): Likewise.
14377 (log10_test): Likewise.
14378 (log1p_test): Likewise.
14379 (log2_test): Likewise.
14380 (logb_test): Likewise.
14381 (logb_test_downward): Likewise.
14382 (lround_test): Likewise.
14383 (llround_test): Likewise.
14384 (modf_test): Likewise.
14385 (nearbyint_test): Likewise.
14386 (nextafter_test): Likewise.
14387 (nexttoward_test): Likewise.
14388 (pow_test): Likewise.
14389 (pow_test_tonearest): Likewise.
14390 (pow_test_towardzero): Likewise.
14391 (pow_test_downward): Likewise.
14392 (pow_test_upward): Likewise.
14393 (remainder_test): Likewise.
14394 (drem_test): Likewise.
14395 (remainder_test_tonearest): Likewise.
14396 (drem_test_tonearest): Likewise.
14397 (remainder_test_towardzero): Likewise.
14398 (drem_test_towardzero): Likewise.
14399 (remainder_test_downward): Likewise.
14400 (drem_test_downward): Likewise.
14401 (remainder_test_upward): Likewise.
14402 (drem_test_upward): Likewise.
14403 (remquo_test): Likewise.
14404 (rint_test): Likewise.
14405 (rint_test_tonearest): Likewise.
14406 (rint_test_towardzero): Likewise.
14407 (rint_test_downward): Likewise.
14408 (rint_test_upward): Likewise.
14409 (round_test): Likewise.
14410 (scalb_test): Likewise.
14411 (scalbn_test): Likewise.
14412 (scalbln_test): Likewise.
14413 (signbit_test): Likewise.
14414 (sin_test): Likewise.
14415 (sin_test_tonearest): Likewise.
14416 (sin_test_towardzero): Likewise.
14417 (sin_test_downward): Likewise.
14418 (sin_test_upward): Likewise.
14419 (sincos_test): Likewise.
14420 (sinh_test): Likewise.
14421 (sinh_test_tonearest): Likewise.
14422 (sinh_test_towardzero): Likewise.
14423 (sinh_test_downward): Likewise.
14424 (sinh_test_upward): Likewise.
14425 (sqrt_test): Likewise.
14426 (sqrt_test_tonearest): Likewise.
14427 (sqrt_test_towardzero): Likewise.
14428 (sqrt_test_downward): Likewise.
14429 (sqrt_test_upward): Likewise.
14430 (tan_test): Likewise.
14431 (tan_test_tonearest): Likewise.
14432 (tan_test_towardzero): Likewise.
14433 (tan_test_downward): Likewise.
14434 (tan_test_upward): Likewise.
14435 (tanh_test): Likewise.
14436 (tgamma_test): Likewise.
14437 (trunc_test): Likewise.
14438 (y0_test): Likewise.
14439 (y1_test): Likewise.
14440 (yn_test): Likewise.
14441 (significand_test): Likewise.
14442
e6b6a857
JM
14443 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14444 individual tests in comment.
14445 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14446 (prev_max_error): New variable.
14447 (prev_real_max_error): Likewise.
14448 (prev_imag_max_error): Likewise.
14449 (compare_ulp_data): Don't refer to test names in comment.
14450 (find_test_ulps): Remove function.
14451 (find_function_ulps): Likewise.
14452 (find_complex_function_ulps): Likewise.
14453 (init_max_error): Take function name as argument. Look up ulps
14454 for that function.
14455 (print_ulps): Remove function.
14456 (print_max_error): Use prev_max_error instead of calling
14457 find_function_ulps.
14458 (print_complex_max_error): Use prev_real_max_error and
14459 prev_imag_max_error instead of calling find_complex_function_ulps.
14460 (check_float_internal): Take max_ulp parameter instead of calling
14461 find_test_ulps. Don't call print_ulps.
14462 (check_float): Update call to check_float_internal.
14463 (check_complex): Update calls to check_float_internal.
14464 (START): Pass argument to init_max_error.
14465 * math/gen-libm-test.pl (%results): Don't include "kind"
14466 information.
14467 (parse_ulps): Don't handle ulps of individual tests.
14468 (print_ulps_file): Likewise.
14469 (output_ulps): Likewise.
14470 * math/README.libm-test: Update.
14471 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14472 individual tests.
14473 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14474 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14475 * sysdeps/arm/libm-test-ulps: Likewise.
14476 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14477 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14478 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14479 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14480 * sysdeps/microblaze/libm-test-ulps: Likewise.
14481 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14482 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14483 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14484 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14485 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14486 * sysdeps/sh/libm-test-ulps: Likewise.
14487 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14488 * sysdeps/tile/libm-test-ulps: Likewise.
14489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14490
45adef3c
JM
144912014-03-04 Joseph Myers <joseph@codesourcery.com>
14492
14493 * math/libm-test.inc (print_complex_max_error): Check separately
14494 whether real and imaginary errors are within allowed range and
14495 pass 0 to print_complex_function_ulps instead of value within
14496 allowed range.
14497
000232b9
SP
144982014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14499
d4b17258
SP
14500 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14501 formatting.
14502 (get_handles_fopen): Likewise.
14503 (do_write_test): Likewise.
14504
091eff71
SP
14505 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14506
fa3cd248
SP
14507 * libio/fileops.c (do_ftell): Use cached offset when
14508 available.
14509 * libio/iofwide.c (do_ftell_wide): Likewise.
14510 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14511 _IO_file_attach.
14512 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14513
000232b9
SP
14514 [BZ #16532]
14515 * libio/libioP.h (get_file_offset): New function.
14516 * libio/fileops.c (get_file_offset): Likewise.
14517 (do_ftell): Likewise.
14518 (_IO_new_file_seekoff): Split out ftell logic.
14519 * libio/wfileops.c (do_ftell_wide): Likewise.
14520 (_IO_wfile_seekoff): Split out ftell logic.
14521 * libio/tst-ftell-active-handler.c: New test case.
14522 * libio/Makefile (tests): Add it.
14523
116f4d1a
RM
145242014-03-03 Roland McGrath <roland@hack.frob.com>
14525
14526 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14527 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14528
532a6035
SP
145292014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14530
14531 [BZ #16639]
14532 * nscd/connections.c (nscd_init): Call do_exit.
14533 (start_threads): Call do_exit and notify_parent.
14534 (begin_drop_privileges): Call do_exit.
14535 (finish_drop_privileges): Likewise.
14536 * nscd/selinux.c (preserve_capabilities): Likewise.
14537 (install_real_capabilities): Likewise.
14538 (nscd_selinux_enabled): Likewise.
14539 (avc_create_thread): Likewise.
14540 (avc_alloc_lock): Likewise.
14541 (nscd_avc_init): Likewise.
14542 * nscd/nscd.c (parent_fd): New static variable.
14543 (main): Create a pipe between parent and child processes.
14544 Skip closing parent_fd.
14545 (monitor_child): New function.
14546 (do_exit): Likewise.
14547 (notify_parent): Likewise.
14548 * nscd/nscd.h (notify_parent): Likewise.
14549 (do_exit): Likewise.
14550
d6285c9f
CD
145512014-03-03 Carlos O'Donell <carlos@redhat.com>
14552
14553 * malloc/malloc.c (__libc_calloc): Revert last change.
14554
2b85d2a0
AZ
145552014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14556
14557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14558
c7debbdf
RS
145592014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14560
14561 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14563 implementation.
14564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14565 (__libc_ifunc_impl_list): Likewise.
14566 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14567 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14568 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14569 * string/strrchr.c: Define STRRCHR.
14570
235eed86
OB
145712014-02-28 Ondřej Bílka <neleai@seznam.cz>
14572
14573 * benchtest/bench-strtok.c (simple_strtok): Delete.
14574 (strtok_string): Use as benchmark.
14575 * string/strtok (STRTOK): New macro.
14576
8e25d1e7
CD
145772014-02-28 Carlos O'Donell <carlos@redhat.com>
14578
ef563f92
CD
14579 * manual/threads.texi: Add header and standard comments to all
14580 functions.
14581
8e25d1e7
CD
14582 * elf/dl-lookup.c (check_match): New function.
14583 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14584 (do_lookup_x): Remove nested function check_match. Use non-nested
14585 function check_match.
14586
ff71cc37
RM
145872014-02-28 Roland McGrath <roland@hack.frob.com>
14588
f08e9a26
RM
14589 * csu/Makefile (generated, before-compile): Use += rather than =.
14590 * catgets/Makefile (generated, generated-dirs): Likewise.
14591 * debug/Makefile (generated): Likewise.
14592 * dlfcn/Makefile (generated): Likewise.
14593 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14594 * iconvdata/Makefile (before-compile, generated): Likewise.
14595 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14596 * libio/Makefile (generated): Likewise.
14597 * malloc/Makefile (generated): Likewise.
14598 * manual/Makefile (generated, generated-dirs): Likewise.
14599 * misc/Makefile (generated): Likewise.
14600 * posix/Makefile (generated): Likewise.
14601 * resolv/Makefile (generated): Likewise.
14602 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14603 * timezone/Makefile (generated, generated-dirs): Likewise.
14604
ff71cc37
RM
14605 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14606
fe13a20c
AZ
146072014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14608
57f41c40
AS
14609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14610 power8 implementation.
14611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14612 file: POWER8 llround ifunc implementation.
14613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14614 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
14615 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14616 POWER8 llround implementation.
14617
57f41c40
AS
14618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14619 power8 implementation.
14620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14621 file: POWER8 llrint ifunc implementation.
14622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14623 Add POWER8 implementation.
1ad8950a
AZ
14624 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14625 POWER8 llrint implementation.
14626
57f41c40
AS
14627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14628 power8 implementation.
14629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14630 file: POWER8 finite ifunc implementation.
14631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14632 Add POWER8 implementation.
cac626d6
AZ
14633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14634 Likewise.
14635 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14636 POWER8 finite implementation.
14637 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14638
57f41c40
AS
14639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14640 power8 implementation.
14641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14642 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
14643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14644 POWER8 implementation.
14645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14646 Likewise.
57f41c40
AS
14647 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14648 isinf implementation.
4393fc11
AZ
14649 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14650
57f41c40
AS
14651 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14652 (INIT_ARCH): Add hwcap2 initialization.
14653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14654 power8 implementation.
14655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14656 file: POWER8 isnan ifunc implementation.
487972ae
AZ
14657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14658 POWER8 implementation.
14659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14660 Likewise.
57f41c40
AS
14661 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14662 isnan implementation.
487972ae
AZ
14663 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14664
7d92b787
JY
146652014-02-27 Joey Ye <joey.ye@arm.com>
14666
14667 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14668 (_FP_NANFRAC_Q): Set to zero.
14669
1cadc858
SP
146702014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14671
14672 [BZ #16623]
14673 * math/auto-libm-test-in: New test inputs.
14674 * math/auto-libm-test-out: Regenerate.
14675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14676 and DA.
14677 (__cos): Likewise.
14678 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14679
f8c17e79
JM
146802014-02-27 Joseph Myers <joseph@codesourcery.com>
14681
14682 * scripts/evaluate-test.sh: Take new argument indicating whether
14683 failure is expected.
14684 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14685 indicating whether failure is expected.
14686 * conform/Makefile (test-xfail-run-conformtest): New variable.
14687 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14688 level.
14689 * posix/Makefile (test-xfail-annexc): New variable.
14690 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14691
a5f891ac
JM
146922014-02-26 Joseph Myers <joseph@codesourcery.com>
14693
14694 * argp/Makefile: Include Makeconfig immediately after defining
14695 subdir.
14696 * assert/Makefile: Likewise.
14697 * benchtests/Makefile: Likewise.
14698 * catgets/Makefile: Likewise.
14699 * conform/Makefile: Likewise.
14700 * crypt/Makefile: Likewise.
14701 * csu/Makefile: Likewise.
14702 (all): Remove target.
14703 * ctype/Makefile: Include Makeconfig immediately after defining
14704 subdir.
14705 * debug/Makefile: Likewise.
14706 * dirent/Makefile: Likewise.
14707 * dlfcn/Makefile: Likewise.
14708 * gmon/Makefile: Likewise.
14709 * gnulib/Makefile: Likewise.
14710 * grp/Makefile: Likewise.
14711 * gshadow/Makefile: Likewise.
14712 * hesiod/Makefile: Likewise.
14713 * hurd/Makefile: Likewise.
14714 (all): Remove target.
14715 * iconvdata/Makefile: Include Makeconfig immediately after
14716 defining subdir.
14717 * inet/Makefile: Likewise.
14718 * intl/Makefile: Likewise.
14719 * io/Makefile: Likewise.
14720 * libio/Makefile: Likewise.
14721 (all): Remove target.
14722 * locale/Makefile: Include Makeconfig immediately after defining
14723 subdir.
14724 * login/Makefile: Likewise.
14725 * mach/Makefile: Likewise.
14726 (all): Remove target.
14727 * malloc/Makefile: Include Makeconfig immediately after defining
14728 subdir.
14729 (all): Remove target.
14730 * manual/Makefile: Include Makeconfig immediately after defining
14731 subdir.
14732 * math/Makefile: Likewise.
14733 * misc/Makefile: Likewise.
14734 * nis/Makefile: Likewise.
14735 * nss/Makefile: Likewise.
14736 * po/Makefile: Likewise.
14737 (all): Remove target.
14738 * posix/Makefile: Include Makeconfig immediately after defining
14739 subdir.
14740 * pwd/Makefile: Likewise.
14741 * resolv/Makefile: Likewise.
14742 * resource/Makefile: Likewise.
14743 * rt/Makefile: Likewise.
14744 * setjmp/Makefile: Likewise.
14745 * shadow/Makefile: Likewise.
14746 * signal/Makefile: Likewise.
14747 * socket/Makefile: Likewise.
14748 * soft-fp/Makefile: Likewise.
14749 * stdio-common/Makefile: Likewise.
14750 * stdlib/Makefile: Likewise.
14751 * streams/Makefile: Likewise.
14752 * string/Makefile: Likewise.
14753 * sunrpc/Makefile: Likewise.
14754 (all): Remove target.
14755 * sysvipc/Makefile: Include Makeconfig immediately after defining
14756 subdir.
14757 * termios/Makefile: Likewise.
14758 * time/Makefile: Likewise.
14759 * timezone/Makefile: Likewise.
14760 (all): Remove target.
14761 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14762 subdir.
14763 * wctype/Makefile: Likewise.
14764
5b456e9d
SE
147652014-02-26 Steve Ellcey <sellcey@mips.com>
14766
14767 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14768 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14769 (libc_feholdexcept_setround_mips): Ditto.
14770 (libc_feholdsetround): New.
14771 (libc_feholdsetroundf): New.
14772 (libc_feholdsetroundl): New.
14773 (libc_feupdateenv_test_mips): New.
14774 (libc_feupdateenv_test): New.
14775 (libc_feupdateenv_testf): New.
14776 (libc_feupdateenv_testl): New.
14777 (libc_feresetround): New.
14778 (libc_feresetroundf): New.
14779 (libc_feresetroundl): New.
14780 (libc_fetestexcept_mips): New.
14781 (libc_fetestexcept): New.
14782 (libc_fetestexceptf): New.
14783 (libc_fetestexceptl): New.
14784 (HAVE_RM_CTX): New.
14785 (libc_feholdexcept_setround_mips_ctx): New.
14786 (libc_feholdexcept_setround_ctx): New.
14787 (libc_feholdexcept_setroundf_ctx): New.
14788 (libc_feholdexcept_setroundl_ctx): New.
14789 (libc_fesetenv_mips_ctx): New.
14790 (libc_fesetenv_ctx): New.
14791 (libc_fesetenv_ctxf): New.
14792 (libc_fesetenv_ctxl): New.
14793 (libc_feupdateenv_mips_ctx): New.
14794 (libc_feupdateenv_ctx): New.
14795 (libc_feupdateenvf_ctx): New.
14796 (libc_feupdateenvl_ctx): New.
14797 (libc_feholdsetround_mips_ctx): New.
14798 (libc_feholdsetround_ctx): New.
14799 (libc_feholdsetroundf_ctx): New.
14800 (libc_feholdsetroundl_ctx): New.
14801 (libc_feresetround_mips_ctx): New.
14802 (libc_feresetround_ctx): New.
14803 (libc_feresetroundf_ctx): New.
14804 (libc_feresetroundl_ctx): New.
14805
085d0e35
CD
148062014-02-26 Carlos O'Donell <carlos@redhat.com>
14807
f067bf1f
CD
14808 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14809
085d0e35
CD
14810 * manual/ipc.texi: New file.
14811 * manual/Makefile (chapters): Add ipc.
14812 * manual/job.texi: Add "Inter-Process Communication" to next.
14813 * manual/process.texi: Add "Inter-Process Communication" to prev.
14814
86e58c08
AZ
148152014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14816
14817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14818
4248f0da
OB
148192014-02-26 Ondřej Bílka <neleai@seznam.cz>
14820
14821 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14822
cf822e3c
OB
14823 * manual/arith.texi: Fix spaces after sentences.
14824 * manual/charset.texi: Likewise.
14825 * manual/errno.texi: Likewise.
14826 * manual/install.texi: Likewise.
14827 * manual/llio.texi: Likewise.
14828 * manual/locale.texi: Likewise.
14829 * manual/maint.texi: Likewise.
14830 * manual/math.texi: Likewise.
14831 * manual/memory.texi: Likewise.
14832 * manual/message.texi: Likewise.
14833 * manual/probes.texi: Likewise.
14834 * manual/resource.texi: Likewise.
14835 * manual/signal.texi: Likewise.
14836 * manual/socket.texi: Likewise.
14837 * manual/stdio.texi: Likewise.
14838 * manual/string.texi: Likewise.
14839 * manual/time.texi: Likewise.
14840 * manual/users.texi: Likewise.
14841
ade40b10
CD
148422014-02-25 Carlos O'Donell <carlos@redhat.com>
14843
14844 [BZ #16632]
14845 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14846 _DEFAULT_SOURCE is defined.
14847
d0503676
CD
148482014-02-25 Ulrich Drepper <drepper@gmail.com>
14849 Carlos O'Donell <carlos@redhat.com>
14850
14851 [BZ #16613]
14852 * elf/dl-tls.c (_dl_count_modids): New function.
14853 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14854 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14855 audit library and increment generation counter.
14856 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14857 * elf/tst-audit9.c: New file.
14858 * elf/tst-auditmod9a.c: New file.
14859 * elf/tst-auditmod9b.c: New file.
14860 * elf/Makefile: Add rules to build and run tst-audit9.
14861
4cbf380c
FW
148622014-02-25 Florian Weimer <fweimer@redhat.com>
14863
14864 [BZ #15347]
14865 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14866
80a56cc3
WN
148672014-02-25 Will Newton <will.newton@linaro.org>
14868
14869 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14870 (__longjmp): Restore sp and lr before restoring callee
14871 saved registers. Add longjmp and longjmp_target
14872 SystemTap probe point.
14873 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14874 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14875 Define to zero to match jmpbuf layout.
14876 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14877 (__sigsetjmp): Save sp and lr before saving callee
14878 saved registers. Add setjmp SystemTap probe point.
14879
3ea0f74e
SL
148802014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14881
14882 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14883
b04acb26
AS
148842014-02-24 Andreas Schwab <schwab@suse.de>
14885
14886 [BZ #15804]
14887 * elf/pldd.c (wait_for_ptrace_stop): New function.
14888 (main): Call it after attaching.
14889
098ad55c
RM
148902014-02-22 Roland McGrath <roland@hack.frob.com>
14891
d4ec6ae1
RM
14892 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14893 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14894 Versions files is now verboten.
14895 * hurd/Versions (libc: GLIBC_2.0):
14896 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14897 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14898 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14899 * mach/Versions: Likewise.
14900
098ad55c
RM
14901 * csu/Versions: Remove unused %include.
14902 * resolv/Versions: Likewise.
14903
acd7f096
JM
149042014-02-21 Joseph Myers <joseph@codesourcery.com>
14905
f0881698
JM
14906 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14907 ($(objpfx)check-local-headers.out): Likewise.
14908 ($(objpfx)begin-end-check.out): Likewise.
14909 * Makerules (check-abi-%.out): Likewise.
14910 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14911 ($(objpfx)test2.cat): Likewise.
14912 ($(objpfx)de/libc.cat): Likewise.
14913 ($(objpfx)test-gencat.out): Likewise.
14914 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14915 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14916 ($(objpfx)noload-mem): Likewise.
14917 ($(objpfx)tst-pathopt.out): Likewise.
14918 ($(objpfx)tst-rtld-load-self.out): Likewise.
14919 ($(objpfx)tst-array1-cmp.out): Likewise.
14920 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14921 ($(objpfx)tst-array2-cmp.out): Likewise.
14922 ($(objpfx)tst-array3-cmp.out): Likewise.
14923 ($(objpfx)tst-array4-cmp.out): Likewise.
14924 ($(objpfx)tst-array5-cmp.out): Likewise.
14925 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14926 ($(objpfx)check-textrel.out): Likewise.
14927 ($(objpfx)check-execstack.out): Likewise.
14928 ($(objpfx)check-localplt.out): Likewise.
14929 ($(objpfx)order2-cmp.out): Likewise.
14930 ($(objpfx)tst-leaks1-mem): Likewise.
14931 ($(objpfx)tst-leaks1-static-mem): Likewise.
14932 ($(objpfx)tst-initorder-cmp.out): Likewise.
14933 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14934 ($(objpfx)tst-unused-dep.out): Likewise.
14935 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14936 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14937 * iconv/Makefile (test-iconvconfig): Likewise.
14938 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14939 ($(objpfx)iconv-test.out): Likewise.
14940 ($(objpfx)tst-tables.out): Likewise.
14941 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14942 ($(objpfx)tst-gettext.out): Likewise.
14943 ($(objpfx)tst-translit.out): Likewise.
14944 ($(objpfx)tst-gettext2.out): Likewise.
14945 ($(objpfx)tst-gettext4.out): Likewise.
14946 ($(objpfx)tst-gettext6.out): Likewise.
14947 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14948 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14949 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14950 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14951 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14952 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14953 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14954 ($(objpfx)wordexp-tst.out): Likewise.
14955 ($(objpfx)annexc.out): Likewise.
14956 ($(objpfx)tst-fnmatch-mem): Likewise.
14957 ($(objpfx)bug-regex2-mem): Likewise.
14958 ($(objpfx)bug-regex14-mem): Likewise.
14959 ($(objpfx)bug-regex21-mem): Likewise.
14960 ($(objpfx)bug-regex31-mem): Likewise.
14961 ($(objpfx)tst-vfork3-mem): Likewise.
14962 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14963 ($(objpfx)tst-pcre-mem): Likewise.
14964 ($(objpfx)tst-boost-mem): Likewise.
14965 ($(objpfx)tst-getconf.out): Likewise.
14966 ($(objpfx)bug-ga2-mem): Likewise.
14967 ($(objpfx)bug-glob2-mem): Likewise.
14968 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14969 ($(objpfx)mtrace-tst-leaks2): Likewise.
14970 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14971 ($(objpfx)tst-printf.out): Likewise.
14972 ($(objpfx)tst-setvbuf1.out): Likewise.
14973 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14974 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14975 ($(objpfx)tst-fmtmsg.out): Likewise.
14976 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14977 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14978
acd7f096
JM
14979 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14980 * bits/sigaction.h [__USE_MISC]: Likewise.
14981 * bits/waitstatus.h: Update #endif comments.
14982 * ctype/ctype.h: Likewise.
14983 * dirent/dirent.h: Likewise.
14984 [__USE_MISC]: Remove redundant conditionals.
14985 * grp/grp.h: Update #endif comments.
14986 [__USE_GNU]: Remove redundant conditionals.
14987 [__USE_MISC]: Likewise.
14988 * inet/netinet/in.h [__USE_GNU]: Likewise.
14989 * io/sys/stat.h [__USE_MISC]: Likewise.
14990 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14991 * libio/bits/stdio.h: Update #endif comments.
14992 [__USE_MISC]: Remove redundant conditionals.
14993 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14994 * libio/stdio.h: Update #endif comments.
14995 [__USE_MISC]: Remove redundant conditionals.
14996 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14997 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14998 * math/math.h: Update #else and #endif comments.
14999 [__USE_MISC]: Remove redundant conditionals.
15000 * misc/sys/uio.h: Update #endif comments.
15001 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15002 * posix/glob.h [__USE_MISC]: Likewise.
15003 * posix/sys/types.h: Update #endif comments.
15004 [__USE_MISC]: Remove redundant conditionals.
15005 * posix/sys/wait.h: Update #endif comments.
15006 [__USE_MISC]: Remove redundant conditionals.
15007 * posix/unistd.h: Update #endif comments.
15008 [__USE_MISC]: Remove redundant conditionals.
15009 * pwd/pwd.h [__USE_GNU]: Likewise.
15010 [__USE_MISC]: Likewise.
15011 * resolv/netdb.h [__USE_GNU]: Likewise.
15012 * signal/signal.h: Update #endif comments.
15013 [__USE_MISC]: Remove redundant conditionals.
15014 * stdlib/stdlib.h: Update #else and #endif comments.
15015 [__USE_MISC]: Remove redundant conditionals.
15016 [__USE_GNU]: Likewise.
15017 * string/bits/string2.h [__USE_MISC]: Likewise.
15018 * string/string.h: Update #endif comments.
15019 [__USE_MISC]: Remove redundant conditionals.
15020 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15021 Likewise.
15022 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15023 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15024 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15025 Likewise.
15026 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15027 Likewise.
15028 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15029 comments.
15030 [__USE_MISC]: Remove redundant conditionals.
15031 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15032 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15033 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15034 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15035 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15036 Likewise.
15037 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15038 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15039 Likewise.
15040 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15041 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15042 Likewise.
15043 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15044 Likewise.
15045 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15046 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15047 Likewise.
15048 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15049 Likewise.
15050 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15051 * sysdeps/x86/bits/string.h: Update #endif comments.
15052 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15053 conditionals.
15054 * time/sys/time.h: Update #endif comments.
15055 * time/time.h: Likewise.
15056 [__USE_MISC]: Remove redundant conditionals.
15057
a5d82e4e
YG
150582014-02-21 Yury Gribov <y.gribov@samsung.com>
15059
15060 [BZ #16600]
15061 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15062
9a80491d
AS
150632014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15064
15065 * Versions.def (librt): Add GLIBC_2.17.
15066
105fa381
AC
150672014-02-21 Adam Conrad <adconrad@0c3.net>
15068
15069 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15070 synonym for _SYS_AUXV_H to allow direct inclusion.
15071 * sysdeps/sparc/bits/hwcap.h: Likewise.
15072 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15073 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15074 * sysdeps/sparc/sysdep.h: Likewise.
15075
b8cd1c4e
SP
150762014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15077
15078 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15079
bd939d23
RS
150802014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15081
15082 * benchtests/bench-strrchr.c: Print length instead of position.
15083
5d7b57ca
JM
150842014-02-20 Joseph Myers <joseph@codesourcery.com>
15085
bc688c10
JM
15086 [BZ #16611]
15087 * sysdeps/unix/sysv/linux/kernel-features.h
15088 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15089 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15090 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15091 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15092 Likewise.
15093 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15094 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15095 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15096 (__ASSUME_SENDMMSG): Define instead of using previous
15097 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15098 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15099 (__ASSUME_SENDMMSG_SYSCALL): Define.
15100 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15101 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15102 Likewise.
15103 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15104 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15105 Likewise.
15106 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15107 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15108 Likewise.
15109 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15110 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15111 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15112 [__ASSUME_SENDMMSG]: Change conditionals to
15113 [__ASSUME_SENDMMSG_SOCKETCALL].
15114 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15115 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15116 Define.
15117 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15118 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15119 Likewise.
15120 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15121 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15122 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15123 [!__ASSUME_SENDMMSG]: Change conditional to
15124 [!__ASSUME_SENDMMSG_SOCKETCALL].
15125 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15126 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15127 Define.
15128
0e31b18c
JM
15129 [BZ #16610]
15130 * sysdeps/unix/sysv/linux/kernel-features.h
15131 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15132 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15133 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15134 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15135 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15136 [__i386__ || __sparc__]
15137 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15138 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15139 (__ASSUME_RECVMMSG): Define instead of using previous
15140 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15141 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15142 (__ASSUME_RECVMMSG_SYSCALL): Define.
15143 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15144 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15145 Likewise.
15146 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15147 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15148 Likewise.
15149 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15150 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15151 Likewise.
15152 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15153 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15154 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15155 [__ASSUME_RECVMMSG]: Change condition to
15156 [__ASSUME_RECVMMSG_SOCKETCALL].
15157 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15158 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15159 Define.
15160 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15161 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15162 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15163 Likewise.
15164 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15165 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15166 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15167 [!__ASSUME_RECVMMSG]: Change condition to
15168 [!__ASSUME_RECVMMSG_SOCKETCALL].
15169 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15170 (__ASSUME_RECVMMSG_SYSCALL): Define.
15171
dd481ccf
JM
15172 [BZ #16609]
15173 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15174 __powerpc__ || __s390__ || __sh__ || __sparc__]
15175 (__ASSUME_SOCKETCALL): Define.
15176 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15177 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15178 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15179 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15180 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15181 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15182 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15183 (__ASSUME_ACCEPT4): Define instead of using previous
15184 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15185 __powerpc__ || __sparc__ || __s390__)] condition.
15186 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15187 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15188 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15189 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15190 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15191 [!__ASSUME_ACCEPT4]: Change condition to
15192 [!__ASSUME_ACCEPT4_SOCKETCALL].
15193 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15194 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15195 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15196 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15197 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15198 __ASSUME_ACCEPT4_SYSCALL.
15199 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15200 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15201 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15202 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15203 __ASSUME_ACCEPT4_SYSCALL.
15204 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15205 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15206 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15207 [__ASSUME_ACCEPT4]: Change condition to
15208 [__ASSUME_ACCEPT4_SOCKETCALL].
15209 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15210 (__ASSUME_SOCKETCALL): Define.
15211 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15212 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15213 (__ASSUME_SOCKETCALL): Define.
15214 (__ASSUME_ACCEPT4): Remove.
15215 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15216 Define.
15217 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15218 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15219 Likewise.
15220 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15221 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15222
5d7b57ca
JM
15223 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15224 macro.
15225 (HWCAP_ARM_LPAE): Likewise.
15226 (HWCAP_ARM_EVTSTRM): Likewise.
15227 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15228 Add vpfd32, lpae and evtstrm.
15229 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15230 Increase to 22.
15231
63689d61
JM
152322014-02-19 Joseph Myers <joseph@codesourcery.com>
15233
15234 * math/auto-libm-test-in: Add tests of clog10.
15235 * math/auto-libm-test-out: Regenerated.
15236 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15237 * sysdeps/i386/fpu/libm-test-ulps: Update.
15238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15239
ab09bf61
AS
152402014-02-18 Andreas Schwab <schwab@suse.de>
15241
15242 [BZ #16574]
15243 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15244 Store non-zero if the second buffer was newly allocated.
15245 (send_dg): Likewise.
15246 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15247 to send_vc and send_dg.
15248 (res_nsend): Pass NULL for ansp2_malloced.
15249 * resolv/res_query.c (__libc_res_nquery): Add parameter
15250 answerp2_malloced and pass it down to __libc_res_nsend.
15251 (res_nquery): Pass additional NULL to __libc_res_nquery.
15252 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15253 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15254 second answer buffer if answerp2_malloced was set.
15255 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15256 (__libc_res_nquerydomain): Add parameter
15257 answerp2_malloced and pass it down to __libc_res_nquery.
15258 (res_nquerydomain): Pass additional NULL to
15259 __libc_res_nquerydomain.
15260 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15261 additional NULL to __libc_res_nsend and __libc_res_nquery.
15262 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15263 additional NULL to __libc_res_nsearch.
15264 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15265 parameter of __libc_res_nsearch to check for separately allocated
15266 second buffer.
15267 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15268 __libc_res_nquery.
15269 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15270 additional NULL to __libc_res_nquery.
15271 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15272 __libc_res_nsearch.
15273 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15274 * include/resolv.h: Update prototypes of __libc_res_nquery,
15275 __libc_res_nsearch, __libc_res_nsend.
15276
a4fb7861
JM
152772014-02-18 Joseph Myers <joseph@codesourcery.com>
15278
c6af2d89
JM
15279 * math/auto-libm-test-in: Add tests of fma.
15280 * math/auto-libm-test-out: Regenerated.
15281 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15282 (fma_towardzero_test_data): Likewise.
15283 (fma_downward_test_data): Likewise.
15284 (fma_upward_test_data): Likewise.
15285 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15286 mpc_mode.
15287 (rounding_modes): Add values for new field.
15288 (func_calc_method): Add value mpfr_fff_f.
15289 (func_calc_desc): Add mpfr_fff_f union field.
15290 (test_function): Add field exact_args.
15291 (FUNC): Add macro argument EXACT_ARGS.
15292 (FUNC_mpfr_f_f): Update call to FUNC.
15293 (FUNC_mpfr_f_f): Likewise.
15294 (FUNC_mpfr_ff_f): Likewise.
15295 (FUNC_mpfr_if_f): Likewise.
15296 (FUNC_mpc_c_f): Likewise.
15297 (FUNC_mpc_c_c): Likewise.
15298 (test_functions): Add fma. Update calls to FUNC.
15299 (handle_input_arg): Add argument exact_args.
15300 (add_test): Update call to handle_input_arg.
15301 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15302 (output_for_one_input_case): Update call to calc_generic_results.
15303 Recalculate exact zero results in each rounding mode.
15304
a4fb7861
JM
15305 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15306 non-negative before setting low bit.
15307 * math/auto-libm-test-in: Mark one asin test possibly having
15308 spurious underflow.
15309 * math/auto-libm-test-out: Regenerated.
15310 * sysdeps/i386/fpu/libm-test-ulps: Update.
15311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15312
ef114eaf
DH
153132014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15314
2b7f4f2c
SP
15315 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15316 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15317 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
15318 * README: Add missing listing for microblaze*-*-linux-gnu.
15319
8125aedc
AM
153202014-02-16 Ondřej Bílka <neleai@seznam.cz>
15321
15322 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15323 duplicate code
15324
c70a4b1d
MF
153252014-02-16 Mike Frysinger <vapier@gentoo.org>
15326
15327 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15328 * sysdeps/unix/sysv/linux/ia64: Move directory from
15329 ports/sysdeps/unix/sysv/linux/ia64.
15330 * README: Update listing for ia64-*-linux-gnu.
15331
591aeaf7
TD
153322014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15333 Joseph Myers <joseph@codesourcery.com>
15334
15335 * Makeconfig (test-name): New variable.
15336 (evaluate-test): Likewise.
15337 * Makerules (do-test-clean): Remove .test-result files.
15338 (common-mostlyclean): Likewise.
15339 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15340 * scripts/evaluate-test.sh: New file.
15341
6e89caf1
JM
153422014-02-14 Joseph Myers <joseph@codesourcery.com>
15343
7f98f180
JM
15344 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15345 separate $(objpfx)tst-fopenloc-cmp.out and
15346 $(objpfx)tst-fopenloc-mem.out targets.
15347 (tests): Update dependencies.
15348 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15349 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15350 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15351 (tst-rxspencer-no-utf8-ARGS): New variable.
15352 (tst-rxspencer-no-utf8-ENV): Likewise.
15353 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15354 instead of $(objpfx)tst-rxspencer-mem.
15355 ($(objpfx)tst-rxspencer-mem): Change target to
15356 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15357 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15358 * posix/tst-rxspencer-no-utf8.c: New file.
15359
6e89caf1
JM
15360 * elf/Makefile ($(objpfx)order.out): Remove rule.
15361 [$(run-built-tests) = yes] (tests): Depend on
15362 $(objpfx)order-cmp.out.
15363 ($(objpfx)order-cmp.out): New rule.
15364 [$(run-built-tests) = yes] (tests): Depend on
15365 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15366 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15367 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15368 $(objpfx)tst-array5-static-cmp.out.
15369 ($(objpfx)tst-array1.out): Remove rule.
15370 ($(objpfx)tst-array1-cmp.out): New rule.
15371 ($(objpfx)tst-array1-static.out): Remove rule.
15372 ($(objpfx)tst-array1-static-cmp.out): New rule.
15373 ($(objpfx)tst-array2.out): Remove rule.
15374 ($(objpfx)tst-array2-cmp.out): New rule.
15375 ($(objpfx)tst-array3.out): Remove rule.
15376 ($(objpfx)tst-array3-cmp.out): New rule.
15377 ($(objpfx)tst-array4.out): Remove rule.
15378 ($(objpfx)tst-array4-cmp.out): New rule.
15379 ($(objpfx)tst-array5.out): Remove rule.
15380 ($(objpfx)tst-array5-cmp.out): New rule.
15381 ($(objpfx)tst-array5-static.out): Remove rule.
15382 ($(objpfx)tst-array5-static-cmp.out): New rule.
15383 [$(run-built-tests) = yes] (tests): Depend on
15384 $(objpfx)order2-cmp.out.
15385 ($(objpfx)order2.out): Remove rule.
15386 ($(objpfx)order2-cmp.out): New rule.
15387 ($(objpfx)tst-initorder.out): Remove rule.
15388 [$(run-built-tests) = yes] (tests): Depend on
15389 $(objpfx)tst-initorder-cmp.out.
15390 ($(objpfx)tst-initorder-cmp.out): New rule.
15391 ($(objpfx)tst-initorder2.out): Remove rule.
15392 [$(run-built-tests) = yes] (tests): Depend on
15393 $(objpfx)tst-initorder2-cmp.out.
15394 ($(objpfx)tst-initorder2-cmp.out): New rule.
15395 [$(run-built-tests) = yes] (tests): Depend on
15396 $(objpfx)tst-unused-dep-cmp.out.
15397 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15398 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15399 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15400 on $(objpfx)tst-setvbuf1-cmp.out.
15401 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15402 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15403 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15404 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15405 ($(objpfx)tst-svc.out): Remove rule.
15406 ($(objpfx)tst-svc-cmp.out): New rule.
15407
ed9a38e2
JM
154082014-02-13 Joseph Myers <joseph@codesourcery.com>
15409
15410 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15411 * ctype/ctype.h [__USE_MISC]: Likewise.
15412 * dirent/dirent.h [__USE_MISC]: Likewise.
15413 * grp/grp.h [__USE_MISC]: Likewise.
15414 * io/fcntl.h [__USE_MISC]: Likewise.
15415 * io/sys/stat.h [__USE_MISC]: Likewise.
15416 * libio/stdio.h [__USE_MISC]: Likewise.
15417 * posix/unistd.h [__USE_MISC]: Likewise.
15418 * pwd/pwd.h [__USE_MISC]: Likewise.
15419 * stdlib.h [__USE_MISC]: Likewise.
15420 * string/bits/string2.h [__USE_MISC]: Likewise.
15421 * string/string.h [__USE_MISC]: Likewise.
15422 * time/time.h [__USE_MISC]: Likewise.
15423
d6680619
AS
154242014-02-13 Andreas Schwab <schwab@suse.de>
15425
15426 [BZ #16574]
15427 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15428 second answer buffer if it was separately allocated.
15429
ace614b8
JM
154302014-02-12 Joseph Myers <joseph@codesourcery.com>
15431
743151ae
JM
15432 * sysdeps/mips/math-tests.h: Include <features.h>.
15433 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15434 (ROUNDING_TESTS_long_double): Do not define.
15435 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15436 (EXCEPTION_TESTS_long_double): Likewise.
15437 * sysdeps/mips/mips64/libm-test-ulps: Update.
15438
498afc54
JM
15439 * include/features.h (__USE_BSD): Remove macro definitions.
15440 (__USE_SVID): Likewise.
15441 (_BSD_SOURCE): Likewise.
15442 (_SVID_SOURCE): Likewise.
15443 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15444 from definition of _DEFAULT_SOURCE.
15445 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15446 [_DEFAULT_SOURCE].
15447 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15448 * bits/mman.h [__USE_BSD]: Likewise.
15449 * bits/termios.h [__USE_BSD]: Likewise.
15450 * bits/waitstatus.h [__USE_BSD]: Likewise.
15451 * ctype/ctype.h [__USE_SVID]: Likewise.
15452 * dirent/dirent.h [__USE_BSD]: Likewise.
15453 * grp/grp.h [__USE_SVID]: Likewise.
15454 [__USE_BSD]: Likewise.
15455 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15456 * io/fcntl.h [__USE_BSD]: Likewise.
15457 * io/ftw.h [__USE_BSD]: Likewise.
15458 * io/sys/stat.h [__USE_BSD]: Likewise.
15459 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15460 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15461 * libio/stdio.h [__USE_SVID]: Likewise.
15462 [__USE_BSD]: Likewise.
15463 * math/math.h [__USE_SVID]: Likewise.
15464 [__USE_BSD]: Likewise.
15465 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15466 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15467 * misc/search.h [__USE_SVID]: Likewise.
15468 * misc/sys/mman.h [__USE_BSD]: Likewise.
15469 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15470 * misc/sys/uio.h [__USE_BSD]: Likewise.
15471 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15472 * posix/glob.h [__USE_BSD]: Likewise.
15473 * posix/regex.h [__USE_BSD]: Likewise.
15474 * posix/sys/types.h [__USE_BSD]: Likewise.
15475 [__USE_SVID]: Likewise.
15476 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15477 * posix/sys/wait.h [__USE_BSD]: Likewise.
15478 [__USE_SVID]: Likewise.
15479 * posix/unistd.h [__USE_BSD]: Likewise.
15480 [__USE_SVID]: Likewise.
15481 * pwd/pwd.h [__USE_SVID]: Likewise.
15482 * resolv/netdb.h [__USE_BSD]: Likewise.
15483 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15484 * signal/signal.h [__USE_BSD]: Likewise.
15485 [__USE_SVID]: Likewise.
15486 * socket/sys/socket.h [__USE_BSD]: Likewise.
15487 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15488 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15489 [__USE_SVID]: Likewise.
15490 * string/bits/string2.h [__USE_BSD]: Likewise.
15491 [__USE_SVID]: Likewise.
15492 * string/bits/string3.h [__USE_BSD]: Likewise.
15493 * string/endian.h [__USE_BSD]: Likewise.
15494 * string/string.h [__USE_SVID]: Likewise.
15495 [__USE_BSD]: Likewise.
15496 * string/strings.h [__USE_BSD]: Likewise.
15497 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15498 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15499 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15500 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15501 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15502 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15503 Likewise.
15504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15505 Likewise.
15506 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15507 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15508 Likewise.
15509 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15510 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15511 Likewise.
15512 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15513 Likewise.
15514 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15515 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15516 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15517 Likewise.
15518 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15519 Likewise.
15520 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15521 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15522 * termios/termios.h [__USE_BSD]: Likewise.
15523 * time/sys/time.h [__USE_BSD]: Likewise.
15524 * time/time.h [__USE_BSD]: Likewise.
15525 [__USE_SVID]: Likewise.
15526
dd7b064c
JM
15527 * Makefile (subdir_targets): Remove subdir_lint.out.
15528
a2c4c199
JM
15529 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15530 (do-tst-printf): Likewise.
15531 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15532 $(objpfx)tst-printf.out.
15533
8756f740
JM
15534 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15535
1b6dd3f1
JM
15536 * Makerules (check-abi-%): Change target to
15537 $(objpfx)check-abi-%.out.
15538 (check-abi target): Update dependencies.
15539 (check-abi-pattern variable): Redirect output of diff to $@.
15540 (check-abi variable): Likewise.
15541 * elf/Makefile (check-abi): Update dependencies.
15542
ace614b8
JM
15543 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15544 unused.
15545 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15546 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15547 subnormal range.
15548 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15549 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15550 value has largest subnormal exponent.
15551 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15552 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15553 * sysdeps/aarch64/soft-fp/sfp-machine.h
15554 (_FP_TININESS_AFTER_ROUNDING): New macro.
15555 * sysdeps/alpha/soft-fp/sfp-machine.h
15556 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15557 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15558 Likewise.
15559 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15560 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15561 * sysdeps/mips/soft-fp/sfp-machine.h
15562 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15563 * sysdeps/powerpc/soft-fp/sfp-machine.h
15564 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15565 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15566 Likewise.
15567 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15568 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15569 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15570 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15571 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15572 Likewise.
15573
fbfdf9cb
DAS
155742014-02-12 Dylan Alex Simon <dylan@dylex.net>
15575
15576 [BZ #16545]
15577 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15578 model 1.
15579
68b7efaa
RH
155802014-02-12 Richard Henderson <rth@redhat.com>
15581
c70a4b1d 15582 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
15583 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15584 * sysdeps/unix/sysv/linux/alpha: Move directory from
15585 ports/sysdeps/unix/sysv/linux/alpha.
15586 * README: Update listing for alpha-*-linux-gnu.
15587
cb4a2928
JM
155882014-02-11 Joseph Myers <joseph@codesourcery.com>
15589
c941736c
JM
15590 * include/features.h: Update comment documenting feature test
15591 macros.
15592 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15593 _DEFAULT_SOURCE.
15594 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15595 (_SVID_SOURCE): Likewise.
15596 (_DEFAULT_SOURCE): Update description of default features.
15597 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15598 with _GNU_SOURCE.
15599 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15600 (S_ISVTX): Likewise.
15601 * manual/math.texi (Mathematical Constants): Likewise.
15602 * manual/signal.texi (Interrupted Primitives): Likewise.
15603 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15604 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15605 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15606 Don't refer to _SVID_SOURCE in warning text.
15607
e8d8d7ec
JM
15608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15609
cb4a2928
JM
15610 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15611 already defined.
15612 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15613 * sysdeps/mips/dl-lookup.c: Remove.
15614 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15615
7e6424e3
AK
156162014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15617
15618 [BZ #16447]
15619 * math/auto-libm-test-in: Add testcase for expl.
15620 * math/auto-libm-test-out: Regenerate.
15621 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15622 calculation of unsafe.
15623 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15624
75eff3fe
MS
156252014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15626
15627 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15628 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15629 ports/sysdeps/unix/sysv/linux/aarch64.
15630 * README: Update listing for aarch64*-*-linux-gnu.
15631
d35f1e80
WN
156322014-02-11 Will Newton <will.newton@linaro.org>
15633
15634 * manual/probes.texi (Mathematical Function Probes): Use
15635 "triggered" instead of "hit".
15636
7b3436d4
WN
15637 * manual/probes.texi (Internal Probes): Add documentation
15638 of setjmp, longjmp and longjmp_target probes.
15639
b4f12ca3
WN
15640 * include/stap-probe.h: Add comment about probe argument
15641 format.
15642
c13a72b7
WN
15643 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15644 definition. (tr_where, tr_freehook, tr_mallochook,
15645 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15646
195b8165
DM
156472014-02-11 David S. Miller <davem@davemloft.net>
15648
15649 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15650 processing int_tests.
15651
2ad7600b
JM
156522014-02-10 Joseph Myers <joseph@codesourcery.com>
15653
15654 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15655 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15656 * sysdeps/unix/sysv/linux/mips: Move directory from
15657 ports/sysdeps/unix/sysv/linux/mips.
15658 * README: Update listing for mips-*-linux-gnu and
15659 mips64-*-linux-gnu.
15660
73588a72
AS
156612014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15662
15663 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15664 * sysdeps/unix/sysv/linux/m68k: Move directory from
15665 ports/sysdeps/unix/sysv/linux/m68k.
15666 * README: Update listing for m68k-*-linux-gnu.
15667
4372980f
CM
156682014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15669
15670 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15671 * sysdeps/unix/sysv/linux/generic: Move directory from
15672 ports/sysdeps/unix/sysv/linux/generic.
15673 * sysdeps/unix/sysv/linux/tile: Move directory from
15674 ports/sysdeps/unix/sysv/linux/tile.
15675 * README: Update listing for tile*-*-linux-gnu.
15676
a1ffb40e
OB
156772014-02-10 Ondřej Bílka <neleai@seznam.cz>
15678
57f41c40
AS
15679 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15680 __builtin_expect.
a1ffb40e
OB
15681 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15682 * catgets/open_catalog.c (__open_catalog): Likewise.
15683 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15684 * debug/confstr_chk.c: Likewise.
15685 * debug/fread_chk.c (__fread_chk): Likewise.
15686 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15687 * debug/getgroups_chk.c: Likewise.
15688 * debug/mbsnrtowcs_chk.c: Likewise.
15689 * debug/mbsrtowcs_chk.c: Likewise.
15690 * debug/mbstowcs_chk.c: Likewise.
15691 * debug/memcpy_chk.c: Likewise.
15692 * debug/memmove_chk.c: Likewise.
15693 * debug/mempcpy_chk.c: Likewise.
15694 * debug/memset_chk.c: Likewise.
15695 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15696 * debug/strcat_chk.c (__strcat_chk): Likewise.
15697 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15698 * debug/strncat_chk.c (__strncat_chk): Likewise.
15699 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15700 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15701 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15702 * debug/wcpncpy_chk.c: Likewise.
15703 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15704 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15705 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15706 * debug/wcsncpy_chk.c: Likewise.
15707 * debug/wcsnrtombs_chk.c: Likewise.
15708 * debug/wcsrtombs_chk.c: Likewise.
15709 * debug/wcstombs_chk.c: Likewise.
15710 * debug/wmemcpy_chk.c: Likewise.
15711 * debug/wmemmove_chk.c: Likewise.
15712 * debug/wmempcpy_chk.c: Likewise.
15713 * debug/wmemset_chk.c: Likewise.
15714 * dirent/scandirat.c (SCANDIRAT): Likewise.
15715 * dlfcn/dladdr1.c (dladdr1): Likewise.
15716 * dlfcn/dladdr.c (dladdr): Likewise.
15717 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15718 * dlfcn/dlerror.c (__dlerror): Likewise.
15719 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15720 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15721 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15722 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15723 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15724 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15725 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15726 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15727 Likewise.
15728 * elf/dl-conflict.c: Likewise.
15729 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15730 * elf/dl-dst.h: Likewise.
15731 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15732 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15733 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15734 * elf/dl-init.c (call_init, _dl_init): Likewise.
15735 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
15736 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15737 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15738 Likewise.
a1ffb40e
OB
15739 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15740 Likewise.
15741 * elf/dl-minimal.c (__libc_memalign): Likewise.
15742 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15743 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15744 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15745 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
15746 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15747 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
15748 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15749 * elf/dl-writev.h (_dl_writev): Likewise.
15750 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
15751 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15752 (dl_main): Likewise.
a1ffb40e
OB
15753 * elf/setup-vdso.h (setup_vdso): Likewise.
15754 * grp/compat-initgroups.c (compat_call): Likewise.
15755 * grp/fgetgrent.c (fgetgrent): Likewise.
15756 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15757 * grp/putgrent.c (putgrent): Likewise.
15758 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15759 Likewise.
15760 * hurd/hurdinit.c: Likewise.
15761 * iconvdata/8bit-gap.c (struct): Likewise.
15762 * iconvdata/ansi_x3.110.c : Likewise.
15763 * iconvdata/big5.c : Likewise.
15764 * iconvdata/big5hkscs.c : Likewise.
15765 * iconvdata/cp1255.c: Likewise.
15766 * iconvdata/cp1258.c : Likewise.
15767 * iconvdata/cp932.c : Likewise.
15768 * iconvdata/euc-cn.c: Likewise.
15769 * iconvdata/euc-jisx0213.c : Likewise.
15770 * iconvdata/euc-jp.c: Likewise.
15771 * iconvdata/euc-jp-ms.c : Likewise.
15772 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15773 * iconvdata/gb18030.c : Likewise.
15774 * iconvdata/gbbig5.c (const): Likewise.
15775 * iconvdata/gbgbk.c: Likewise.
15776 * iconvdata/gbk.c : Likewise.
15777 * iconvdata/ibm1364.c : Likewise.
15778 * iconvdata/ibm930.c : Likewise.
15779 * iconvdata/ibm932.c: Likewise.
15780 * iconvdata/ibm933.c : Likewise.
15781 * iconvdata/ibm935.c : Likewise.
15782 * iconvdata/ibm937.c : Likewise.
15783 * iconvdata/ibm939.c : Likewise.
15784 * iconvdata/ibm943.c: Likewise.
15785 * iconvdata/iso_11548-1.c: Likewise.
15786 * iconvdata/iso-2022-cn.c : Likewise.
15787 * iconvdata/iso-2022-cn-ext.c : Likewise.
15788 * iconvdata/iso-2022-jp-3.c: Likewise.
15789 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15790 * iconvdata/iso-2022-kr.c : Likewise.
15791 * iconvdata/iso646.c (gconv_end): Likewise.
15792 * iconvdata/iso_6937-2.c : Likewise.
15793 * iconvdata/iso_6937.c : Likewise.
15794 * iconvdata/iso8859-1.c: Likewise.
15795 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15796 * iconvdata/shift_jisx0213.c : Likewise.
15797 * iconvdata/sjis.c : Likewise.
15798 * iconvdata/t.61.c : Likewise.
15799 * iconvdata/tcvn5712-1.c : Likewise.
15800 * iconvdata/tscii.c: Likewise.
15801 * iconvdata/uhc.c : Likewise.
15802 * iconvdata/unicode.c (gconv_end): Likewise.
15803 * iconvdata/utf-16.c (gconv_end): Likewise.
15804 * iconvdata/utf-32.c (gconv_end): Likewise.
15805 * iconvdata/utf-7.c (base64): Likewise.
15806 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15807 * iconv/gconv_close.c (__gconv_close): Likewise.
15808 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
15809 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15810 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15811 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15812 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15813 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
15814 * iconv/iconv.c (iconv): Likewise.
15815 * iconv/iconv_close.c: Likewise.
15816 * iconv/loop.c (SINGLE): Likewise.
15817 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15818 * include/atomic.h: Likewise.
15819 * inet/inet6_option.c (option_alloc): Likewise.
15820 * intl/bindtextdom.c (set_binding_values): Likewise.
15821 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15822 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15823 * intl/localealias.c (read_alias_file): Likewise.
15824 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
15825 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15826 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
15827 * libio/fmemopen.c (fmemopen): Likewise.
15828 * libio/iofgets.c (_IO_fgets): Likewise.
15829 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15830 * libio/iofgetws.c (fgetws): Likewise.
15831 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15832 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
15833 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15834 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
15835 * locale/findlocale.c (_nl_find_locale): Likewise.
15836 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15837 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15838 Likewise.
15839 * locale/setlocale.c (setlocale): Likewise.
15840 * login/programs/pt_chown.c (main): Likewise.
15841 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15842 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
15843 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15844 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
15845 * math/e_exp2l.c: Likewise.
15846 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15847 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15848 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15849 * math/s_catan.c (__catan): Likewise.
15850 * math/s_catanf.c (__catanf): Likewise.
15851 * math/s_catanh.c (__catanh): Likewise.
15852 * math/s_catanhf.c (__catanhf): Likewise.
15853 * math/s_catanhl.c (__catanhl): Likewise.
15854 * math/s_catanl.c (__catanl): Likewise.
15855 * math/s_ccosh.c (__ccosh): Likewise.
15856 * math/s_ccoshf.c (__ccoshf): Likewise.
15857 * math/s_ccoshl.c (__ccoshl): Likewise.
15858 * math/s_cexp.c (__cexp): Likewise.
15859 * math/s_cexpf.c (__cexpf): Likewise.
15860 * math/s_cexpl.c (__cexpl): Likewise.
15861 * math/s_clog10.c (__clog10): Likewise.
15862 * math/s_clog10f.c (__clog10f): Likewise.
15863 * math/s_clog10l.c (__clog10l): Likewise.
15864 * math/s_clog.c (__clog): Likewise.
15865 * math/s_clogf.c (__clogf): Likewise.
15866 * math/s_clogl.c (__clogl): Likewise.
15867 * math/s_csin.c (__csin): Likewise.
15868 * math/s_csinf.c (__csinf): Likewise.
15869 * math/s_csinh.c (__csinh): Likewise.
15870 * math/s_csinhf.c (__csinhf): Likewise.
15871 * math/s_csinhl.c (__csinhl): Likewise.
15872 * math/s_csinl.c (__csinl): Likewise.
15873 * math/s_csqrt.c (__csqrt): Likewise.
15874 * math/s_csqrtf.c (__csqrtf): Likewise.
15875 * math/s_csqrtl.c (__csqrtl): Likewise.
15876 * math/s_ctan.c (__ctan): Likewise.
15877 * math/s_ctanf.c (__ctanf): Likewise.
15878 * math/s_ctanh.c (__ctanh): Likewise.
15879 * math/s_ctanhf.c (__ctanhf): Likewise.
15880 * math/s_ctanhl.c (__ctanhl): Likewise.
15881 * math/s_ctanl.c (__ctanl): Likewise.
15882 * math/w_pow.c: Likewise.
15883 * math/w_powf.c: Likewise.
15884 * math/w_powl.c: Likewise.
15885 * math/w_scalb.c (sysv_scalb): Likewise.
15886 * math/w_scalbf.c (sysv_scalbf): Likewise.
15887 * math/w_scalbl.c (sysv_scalbl): Likewise.
15888 * misc/error.c (error_tail): Likewise.
15889 * misc/pselect.c (__pselect): Likewise.
15890 * nis/nis_callback.c (__nis_create_callback): Likewise.
15891 * nis/nis_call.c (__nisfind_server): Likewise.
15892 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15893 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15894 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15895 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15896 * nis/nis_lookup.c (nis_lookup): Likewise.
15897 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
15898 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15899 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 15900 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
15901 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15902 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15903 * nis/nss_compat/compat-initgroups.c (add_group)
15904 (internal_getgrent_r): Likewise.
15905 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15906 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15907 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15908 (internal_getspnam_r): Likewise.
15909 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15910 (_nss_nis_getaliasbyname_r): Likewise.
15911 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15912 (_nss_nis_getntohost_r): Likewise.
15913 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15914 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15915 (_nss_nis_getgrgid_r): Likewise.
15916 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15917 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15918 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15919 (_nss_nis_gethostbyname4_r): Likewise.
15920 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15921 (initgroups_netid): Likewise.
a1ffb40e 15922 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
15923 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15924 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15925 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15926 (_nss_nis_getprotobynumber_r): Likewise.
15927 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15928 (_nss_nis_getsecretkey): Likewise.
15929 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15930 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15931 (_nss_nis_getpwuid_r): Likewise.
15932 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15933 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15934 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15935 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15936 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15937 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
15938 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15939 Likewise.
57f41c40
AS
15940 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15941 (_nss_nisplus_getntohost_r): Likewise.
15942 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15943 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15944 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15945 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 15946 Likewise.
57f41c40
AS
15947 * nis/nss_nisplus/nisplus-initgroups.c
15948 (_nss_nisplus_initgroups_dyn): Likewise.
15949 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15950 (_nss_nisplus_getnetbyaddr_r): Likewise.
15951 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15952 (_nss_nisplus_getprotobynumber_r): Likewise.
15953 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15954 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
15955 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15956 Likewise.
57f41c40
AS
15957 * nis/nss_nisplus/nisplus-service.c
15958 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15959 (_nss_nisplus_getservbyport_r): Likewise.
15960 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15961 (_nss_nisplus_getspnam_r): Likewise.
15962 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15963 Likewise.
a1ffb40e
OB
15964 * nscd/aicache.c (addhstaiX): Likewise.
15965 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
15966 * nscd/connections.c (register_traced_file, send_ro_fd)
15967 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15968 (main_loop_epoll): Likewise.
a1ffb40e
OB
15969 * nscd/grpcache.c (addgrbyX): Likewise.
15970 * nscd/hstcache.c (addhstbyX): Likewise.
15971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15972 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
15973 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15974 (addinnetgrX): Likewise.
15975 * nscd/nscd-client.h (__nscd_acquire_maplock)
15976 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
15977 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15978 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15979 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15980 Likewise.
15981 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15982 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
15983 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15984 (__nscd_get_map_ref): Likewise.
a1ffb40e 15985 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
15986 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15987 Likewise.
a1ffb40e
OB
15988 * nscd/pwdcache.c (addpwbyX): Likewise.
15989 * nscd/selinux.c (preserve_capabilities): Likewise.
15990 * nscd/servicescache.c (addservbyX): Likewise.
15991 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15992 * posix/fnmatch.c (fnmatch): Likewise.
15993 * posix/getopt.c (_getopt_internal_r): Likewise.
15994 * posix/glob.c (glob, glob_in_dir): Likewise.
15995 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
15996 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15997 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
15998 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15999 * resolv/res_init.c: Likewise.
16000 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16001 * resolv/res_query.c (__libc_res_nquery): Likewise.
16002 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16003 Likewise.
16004 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16005 * stdio-common/perror.c (perror): Likewise.
16006 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16007 * stdio-common/tmpnam.c (tmpnam): Likewise.
16008 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16009 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
16010 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16011 Likewise.
a1ffb40e
OB
16012 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16013 * stdlib/putenv.c (putenv): Likewise.
16014 * stdlib/setenv.c (__add_to_environ): Likewise.
16015 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16016 * stdlib/strtol_l.c (INTERNAL): Likewise.
16017 * string/memmem.c (memmem): Likewise.
16018 * string/strerror.c (strerror): Likewise.
16019 * string/strnlen.c (__strnlen): Likewise.
16020 * string/test-memmem.c (simple_memmem): Likewise.
16021 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16022 * sunrpc/pm_getport.c (__get_socket): Likewise.
16023 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16024 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
16025 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16026 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
16027 Likewise.
16028 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16029 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16030 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16031 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16032 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
16033 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16034 Likewise.
16035 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16036 Likewise.
a1ffb40e
OB
16037 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16038 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16039 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16040 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16041 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16043 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16044 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16045 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16046 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16047 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16048 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16049 Likewise.
16050 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16051 Likewise.
16052 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16053 Likewise.
16054 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16055 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16056 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16057 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16058 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16059 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16060 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16061 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16062 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16063 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16064 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16066 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16067 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16068 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
16069 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16070 Likewise.
a1ffb40e
OB
16071 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16072 Likewise.
16073 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16074 Likewise.
16075 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16076 Likewise.
16077 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16078 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16079 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16080 Likewise.
16081 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16082 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16083 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16084 * sysdeps/posix/sleep.c: Likewise.
16085 * sysdeps/posix/tempname.c: Likewise.
16086 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16087 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16088 Likewise.
57f41c40
AS
16089 * sysdeps/powerpc/powerpc32/dl-machine.h
16090 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
16091 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16093 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16094 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16095 Likewise.
16096 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16097 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16098 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16099 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16100 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16101 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16102 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16103 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16104 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16105 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16107 (elf_machine_lazy_rel): Likewise.
a1ffb40e 16108 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16110 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16111 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16112 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16113 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16114 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16115 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16116 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16117 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16119 Likewise.
16120 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16121 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16122 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16123 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16124 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16125 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16126 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16127 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16128 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16129 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16130 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16131 Likewise.
16132 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16133 (__posix_fallocate64_l64): Likewise.
16134 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16135 (posix_fallocate): Likewise.
57f41c40
AS
16136 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16137 Likewise.
a1ffb40e 16138 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
16139 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16140 (getifaddrs_internal): Likewise.
a1ffb40e
OB
16141 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16142 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16143 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16144 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16145 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16146 (__posix_fallocate64_l64): Likewise.
16147 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16148 Likewise.
16149 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
16150 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16151 (__get_clockfreq): Likewise.
a1ffb40e
OB
16152 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16153 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16154 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16155 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16157 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16158 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16159 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16160 Likewise.
16161 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16162 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16163 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16164 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16165 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16166 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16167 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16168 Likewise.
16169 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16170 (posix_fallocate): Likewise.
16171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16172 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16173 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16174 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16175 (elf_machine_rela, elf_machine_rela_relative)
16176 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16177 * time/asctime.c (asctime_internal): Likewise.
16178 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16179 * time/tzset.c (__tzset_parse_tz): Likewise.
16180 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16181 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16182 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16183 * wcsmbs/wcsmbsload.h: Likewise.
16184
f3d338c9
OB
16185 [BZ #15894]
16186 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16187
57f41c40
AS
16188 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16189 (arena_get2): Remove THREAD_STATS conditionals.
16190 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16191 (__malloc_stats, int): Likewise.
bdfe308a 16192
d674667c
MF
161932014-02-08 Mike Frysinger <vapier@gentoo.org>
16194
16195 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16196 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16197
6349768c
MF
16198 * manual/setjmp.texi: Fix typos/grammar errors.
16199
0b7c7473
MF
16200 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16201 Only return early when n is <= 0. Delete unused return statement.
16202
ac8cc9e3
MF
16203 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16204 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16205 * debug/tst-longjmp_chk3.c: New file.
16206
c5bb8e23
MF
16207 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16208 (test_main): Replace code with set_fortify_handler call.
16209 * debug/test-strcpy_chk.c: Likewise.
16210 * debug/tst-chk1.c: Likewise.
16211 * debug/tst-longjmp_chk.c: Likewise.
16212 * test-skeleton.c: Include fcntl.h & paths.h
16213 (set_fortify_handler): Define.
16214
10444e42
MF
16215 * debug/tst-longjmp_chk.c: Add header comment and include
16216 ../test-skeleton.c.
16217 (do_test): Mark static.
16218 (TEST_FUNCTION): Define.
16219
1e805e8d
MF
16220 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16221 (IP_PMTUDISC_INTERFACE): Likewise.
16222 (IP_MULTICAST_IF): Likewise.
16223 (IP_MULTICAST_TTL): Likewise.
16224 (IP_MULTICAST_LOOP): Likewise.
16225 (IP_ADD_MEMBERSHIP): Likewise.
16226 (IP_DROP_MEMBERSHIP): Likewise.
16227 (IP_UNBLOCK_SOURCE): Likewise.
16228 (IP_BLOCK_SOURCE): Likewise.
16229 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16230 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16231 (IP_MSFILTER): Likewise.
16232 (MCAST_JOIN_GROUP): Likewise.
16233 (MCAST_BLOCK_SOURCE): Likewise.
16234 (MCAST_UNBLOCK_SOURCE): Likewise.
16235 (MCAST_LEAVE_GROUP): Likewise.
16236 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16237 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16238 (MCAST_MSFILTER): Likewise.
16239 (IP_MULTICAST_ALL): Likewise.
16240 (IP_UNICAST_IF): Likewise.
16241
73f79bb7
MF
16242 * timezone/Makefile: Delete $(have-ksh) check.
16243 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16244 * timezone/tzselect.ksh: Add +x mode bits.
16245
8da79b60
MF
16246 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16247 (ANON_INODE_FS_MAGIC): Likewise.
16248 (BDEVFS_MAGIC): Likewise.
16249 (BINFMTFS_MAGIC): Likewise.
16250 (BTRFS_TEST_MAGIC): Likewise.
16251 (CRAMFS_MAGIC_WEND): Likewise.
16252 (DEBUGFS_MAGIC): Likewise.
16253 (ECRYPTFS_SUPER_MAGIC): Likewise.
16254 (EXT3_SUPER_MAGIC): Likewise.
16255 (EXT4_SUPER_MAGIC): Likewise.
16256 (FUTEXFS_SUPER_MAGIC): Likewise.
16257 (HOSTFS_SUPER_MAGIC): Likewise.
16258 (HUGETLBFS_MAGIC): Likewise.
16259 (MINIX3_SUPER_MAGIC): Likewise.
16260 (MTD_INODE_FS_MAGIC): Likewise.
16261 (NILFS_SUPER_MAGIC): Likewise.
16262 (OPENPROM_SUPER_MAGIC): Likewise.
16263 (PIPEFS_MAGIC): Likewise.
16264 (PSTOREFS_MAGIC): Likewise.
16265 (QNX6_SUPER_MAGIC): Likewise.
16266 (RAMFS_MAGIC): Likewise.
16267 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16268 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16269 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16270 (SECURITYFS_MAGIC): Likewise.
16271 (SELINUX_MAGIC): Likewise.
16272 (SMACK_MAGIC): Likewise.
16273 (SOCKFS_MAGIC): Likewise.
16274 (SQUASHFS_MAGIC): Likewise.
16275 (STACK_END_MAGIC): Likewise.
16276 (TMPFS_MAGIC): Likewise.
16277 (USBDEVICE_SUPER_MAGIC): Likewise.
16278 (V9FS_MAGIC): Likewise.
16279 (XENFS_SUPER_MAGIC): Likewise.
16280 (CRAMFS_MAGIC): Fix typo in comment.
16281 (EXT2_SUPER_MAGIC): Update comment.
16282 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16283
464263cc
JM
162842014-02-08 Joseph Myers <joseph@codesourcery.com>
16285
c6bfe5c4
JM
16286 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16287 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16288 * sysdeps/unix/sysv/linux/arm: Move directory from
16289 ports/sysdeps/unix/sysv/linux/arm.
16290 * README: Update listing for arm-*-linux-gnueabi.
16291
464263cc
JM
16292 * README: Remove mention of am33.
16293
32749f6c
RM
162942014-02-07 Roland McGrath <roland@hack.frob.com>
16295
16296 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16297 than the comma operator, to avoid "rhs of comma has no effect"
16298 compiler warnings.
16299 (__sigfillset, __sigandset, __sigorset): Likewise.
16300 * include/signal.h (__sigemptyset): Likewise.
16301 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16302
d5b396c1
AM
163032014-02-07 Allan McRae <allan@archlinux.org>
16304
16305 * version.h (RELEASE): Set to "development".
16306 (VERSION): Set to "2.19.90"
16307 * NEWS: Add 2.20 section.
16308
3bfff2ed
CD
163092014-02-06 Carlos O'Donell <carlos@redhat.com>
16310
16311 [BZ #16529]
16312 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16313
ee7cc385
SP
163142014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16315
16316 * manual/contrib.texi: Update entry for Carlos O'Donell,
16317 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16318
f877c4f2
CD
163192014-02-05 Carlos O'Donell <carlos@rehdat.com>
16320
27e839f6
CD
16321 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16322
f877c4f2
CD
16323 * sysdeps/unix/sysv/linux/kernel-features.h
16324 [__LINUX_KERNEL_VERSION >= 0x020621]
16325 (__ASSUME_PROC_PID_TASK_COMM): Define.
16326
68159946
SP
163272014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16328
ba17cdbd
SP
16329 [BZ #16398]
16330 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16331 conversion when destination buffer does not have enough space.
16332 * libio/tst-ftell-partial-wide.c: New test case.
16333 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16334
68159946
SP
16335 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16336 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16337 Leonard and Allan McRae.
16338
2b528732
DM
163392014-02-04 David S. Miller <davem@davemloft.net>
16340
16341 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16342 32-bit.
16343
0ff82463
AZ
163442014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16345
57f41c40
AS
16346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16347 New file
c01603f7
AZ
16348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16349 New file
57f41c40
AS
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16351 New file.
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16353 New file.
c01603f7
AZ
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16355 New file.
57f41c40
AS
16356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16357 New file.
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16359 New file.
c01603f7
AZ
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16361 New file.
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16363 New file.
16364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16365 New file.
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16367 New file.
16368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16369 New file.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16371 New file.
16372
163732014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16374
0ff82463
AZ
16375 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16376 * shlib-versions: Likewise.
16377
1695c773
AZ
163782014-02-04 Roland McGrath <roland@hack.frob.com>
16379 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16380
16381 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16382 (abilist-pattern): New variable, set to %-le.abilist.
16383
16384 * Makerules (abilist-pattern): New variable.
16385 (vpath): Use $(abilist-pattern) in place of %.abilist.
16386 (check-abi-% pattern rule): Likewise.
16387 (check-abi, update-abi): Likewise.
16388
6c0ce4b4
EW
163892014-02-04 Eric Wong <normalperson@yhbt.net>
16390
16391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16392
481e3524
CD
163932014-02-03 Carlos O'Donell <carlos@redhat.com>
16394
16395 * manual/startup.texi: Add next, previous, and top entries for
16396 the `Program Arguments' and `Environment Variables' nodes.
16397
375592d3
AO
163982014-02-03 Alexandre Oliva <aoliva@redhat.com>
16399
16400 * manual/macros.texi: Add comments before MTASC-safety macros.
16401
f54838ba
AO
16402 * manual/users.texi: Document MTASC-safety properties.
16403
57f41c40
AS
16404 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16405 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
16406 @deftypefun, and add @safety note.
16407 * manual/signal.texi: Move comments that analyze the above
16408 functions to their home place.
16409
fd3daba4
AM
164102014-02-03 Allan McRae <allan@archlinux.org>
16411
16412 * po/sl.po: Update Slovenian translation from translation project.
16413
597636d7
AO
164142014-02-02 Alexandre Oliva <aoliva@redhat.com>
16415
16416 * manual/time.texi (timegm): Add missing blank after @c.
16417 Reported by Joseph Myers <joseph@codesourcery.com>.
16418
ee196e3c
AO
164192014-02-01 Alexandre Oliva <aoliva@redhat.com>
16420
16421 * manual/check-safety.sh: New.
16422 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16423
f8d529d5
AO
16424 * manual/terminal.texi: Document MTASC-safety properties.
16425
de55fdf4
AO
16426 * manual/filesys.texi: Document MTASC-safety properties.
16427
c3299c08
AO
16428 * manual/errno.texi: Document MTASC-safety properties.
16429
06e90b14
AO
16430 * manual/intro.texi: Document safety identifiers and
16431 conditionals.
16432
1acd4371
AO
16433 * manual/string.texi (wcstok): Fix prototype.
16434 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16435
23e5b8cb
AO
16436 * manual/time.texi: Document MTASC-safety properties.
16437
11087373
AO
16438 * manual/string.texi: Document MTASC-safety properties.
16439
5da2c93d
AO
16440 * manual/threads.texi: Document MTASC-safety properties.
16441
171e9210
AO
16442 * manual/stdio.texi: Document MTASC-safety properties.
16443
d9e02532
AO
16444 * manual/syslog.texi: Document MTASC-safety properties.
16445
6af8bab7
AO
16446 * manual/sysinfo.texi: Document MTASC-safety properties.
16447
663b02d7
AO
16448 * manual/startup.texi: Document MTASC-safety properties.
16449
973f180b
AO
16450 * manual/socket.texi: Document MTASC-safety properties.
16451
8f3c25c8
AO
16452 * manual/signal.texi: Document MTASC-safety properties.
16453
542210fb
AO
164542014-01-31 Alexandre Oliva <aoliva@redhat.com>
16455
16456 * manual/setjmp.texi: Document MTASC-safety properties.
16457
433c45a2
AO
16458 * manual/search.texi: Document MTASC-safety properties.
16459
c8ce789c
AO
16460 * manual/resource.texi: Document MTASC-safety properties.
16461
19f5d29c
AO
16462 * manual/process.texi: Document MTASC-safety properties.
16463
e2dfb7f4
AO
16464 * manual/platform.texi: Document MTASC-safety properties.
16465
8c1413f5
AO
16466 * manual/pipe.texi: Document MTASC-safety properties.
16467
03483ada
AO
16468 * manual/pattern.texi: Document MTASC-safety properties.
16469
29e7e2df
AO
16470 * manual/message.texi: Document MTASC-safety properties.
16471
9f529d7c
AO
16472 [BZ #12751]
16473 * manual/memory.texi: Document MTASC-safety properties.
16474
27aaa791
AO
16475 * manual/math.texi: Document MTASC-safety properties.
16476
f2d58726
AO
16477 * manual/locale.texi: Document MTASC-safety properties.
16478
2cc3615c
AO
16479 * manual/llio.texi: Document MTASC-safety properties.
16480
d9f0ec97
AO
16481 * manual/libdl.texi: New.
16482
e7c4409a
AO
16483 * manual/lang.texi: Document MTASC-safety properties.
16484
27bdc63c
AO
16485 * manual/job.texi: Document MTASC-safety properties.
16486
a7b90ea9
AO
16487 * manual/getopt.texi: Document MTASC-safety properties.
16488
c49130e3
AO
16489 * manual/ctype.texi: Document MTASC-safety properties.
16490
0d23a5c1
MR
164912014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16492
16493 [BZ #16046]
16494 * csu/libc-tls.c (static_map): Remove variable.
16495 (__libc_setup_tls): Use main executable's link map for TLS data.
16496 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16497 casing for LM_ID_BASE and GL(dl_nns).
16498 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16499 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16500 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16501 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16502 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16503 member.
16504 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16505 l_phnum members.
16506
0037bb60
AO
165072014-01-30 Alexandre Oliva <aoliva@redhat.com>
16508
16509 * manual/debug.texi: Document MTASC-safety properties.
16510
409e00bd
L
165112014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16512
16513 [BZ #16510]
16514 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16515 of __x86_64__ when disabling x87 inline functions.
16516
86e60666
AO
165172014-01-29 Alexandre Oliva <aoliva@redhat.com>
16518
16519 * manual/charset.texi: Document MTASC-safety properties.
16520
76167637
AO
16521 * manual/crypt.texi: Document MTASC-safety properties.
16522
e567f2a0
AO
16523 * manual/conf.texi: Document MTASC-safety properties.
16524
b719dafd
AO
16525 * manual/arith.texi: Document MTASC-safety properties.
16526
4a16c662
AO
16527 * manual/argp.texi: Document MTASC-safety properties.
16528
0a57b83e
AO
16529 * manual/macros.texi: Introduce macros to document multi
16530 thread, asynchronous signal and asynchronous cancellation
16531 safety properties.
16532 * manual/intro.texi: Introduce the properties themselves.
16533
feab2397
KK
165342014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16535
16536 * sysdeps/sh/sh4/Makefile: New file.
16537
1c0d11bc
AS
165382014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16539
16540 * math/gen-libm-test.pl ($srcdir): New variable.
16541 ($auto_input): Use it.
16542
af37a8a3
SP
165432014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16544
d7b00f98
SP
16545 [BZ #16506]
16546 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16547 access beyond array bounds when parsing netgroups file.
16548
af37a8a3
SP
16549 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16550 the old buffer before realloc.
16551
0c00f062
AM
165522014-01-27 Allan McRae <allan@archlinux.org>
16553
16554 * po/fr.po: Update French translation from translation project.
16555
7d69a1b0
KK
165562014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16557
16558 * sysdeps/sh/libm-test-ulps: Regenerate.
16559
6e697ff7
DM
165602014-01-24 David S. Miller <davem@davemloft.net>
16561
16562 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16563
9cadb35c
KK
165642014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16565
16566 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16567 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16568
5d41dadf
SP
165692013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16570
16571 [BZ #16474]
16572 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16573 string pointers after reallocation.
16574
0bad441c
KK
165752014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16576
16577 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16578 __SH4A__ instead of __SH_FPU_ANY__.
16579
7007c661
KK
165802014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16581
16582 * sysdeps/sh/fpu_control.h: New file.
16583 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16584 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16585 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16586 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16587 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16588 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16589 * sysdeps/sh/sys/ucontext.h: Remove.
16590 * sysdeps/sh/sys: Remove directory.
16591
0f0c35e4
AK
165922014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16593
16594 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16595 s390/sys/ucontext.h.
16596 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16597 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16598
4959e284
L
165992014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16600
16601 [BZ #15605]
16602 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16603
d98720e0
AZ
166042014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16605
16606 [BZ#16431]
16607 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16608 Adjust the vDSO correctly for internal calls.
16609 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16610
91cbd0bc
AM
166112014-01-20 Allan McRae <allan@archlinux.org>
16612
16613 * po/ca.po: Update Catalan translation from translation project.
16614
7a02cfad
MF
166152014-01-16 Mike Frysinger <vapier@gentoo.org>
16616
16617 * sysdeps/s390/sotruss-lib.c: New file.
16618
736c304a
AZ
166192014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16620
16621 [BZ#16430]
6e077ee5 16622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
16623 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16624 local calls issues by not having a PLT stub required for IFUNC calls.
16625 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16626
94d0cea0
JM
166272014-01-16 Joseph Myers <joseph@codesourcery.com>
16628
16629 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16630 * math/test-fpucw-static.c: Likewise.
16631
980cb518
SP
166322013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16633
16634 [BZ #16453]
16635 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16636
2393fc01
AZ
166372014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16638
16639 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16640 implementation for powerpc.
16641
d359bcc2
OB
166422014-01-15 Ondřej Bílka <neleai@seznam.cz>
16643
16644 [BZ #14782]
16645 * sysdeps/posix/system.c (__libc_system): Do not enable
16646 asynchronous cancellation.
16647
7beb48cb
AK
166482014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16649
16650 [BZ #16427]
16651 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16652 handling only for numbers special also in the IEEE case.
16653
c20d5bf5
AK
166542014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16655
16656 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16657
e83bd4ee
AM
166582014-01-11 Allan McRae <allan@archlinux.org>
16659
76d0ea69
AM
16660 * po/bg.po: Update Bulgarian translation from translation project.
16661
e83bd4ee
AM
16662 * po/de.po: Update German translation from translation project.
16663
bc2ba20a
RM
166642014-01-10 Roland McGrath <roland@hack.frob.com>
16665
16666 * sysdeps/generic/gcc-compat.h: New file.
16667
649ecea2
SP
166682014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16669
16670 * benchtests/asin-inputs: Correct slow inputs.
16671 * benchtests/acos-inputs: Likewise.
16672
1b19c006
AM
166732014-01-10 Allan McRae <allan@archlinux.org>
16674
a46dab08
AM
16675 * po:sv.po: Update Swedish translation from translation project.
16676
421df74a
AM
16677 * po/vi.po: Update Vietnamese translation from translation project.
16678
d61c51a7
AM
16679 * po/eo.po: Update Esperanto translation from translation project.
16680
0339a319
AM
16681 * po/cs.po: Update Czech translation from translation project.
16682
94ad3e99
AM
16683 * po/nl.po: Update Dutch translation from translation project.
16684
e349ca71
AM
16685 * po/pl.po: Update Polish translation from translation project.
16686
ddf930c1
AM
16687 * po/ru.po: Update Russian translation from translation project.
16688
1b19c006
AM
16689 * po/uk.po: Update Ukrainian translation from translation project.
16690
9f236c49
BM
166912014-01-08 Brooks Moses <bmoses@google.com>
16692
16693 * elf/dl-load.c: Fix comment typo.
16694
cd6701cf
CD
166952014-01-08 Carlos O'Donell <carlos@redhat.com>
16696
16697 * po/header.pot: Rename to...
16698 * po/pot.header: ... this.
16699 * po/Makefile: Use pot.header.
16700
66671c84
YK
167012014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16702 Maxim Kuvyrkov <maxim@kugelworks.com>
16703
16704 [BZ #16394]
cd6701cf
CD
16705 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16706 SRC and DEST against LEN.
66671c84 16707
38f34581
AZ
167082014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16709
16710 [BZ #16414]
16711 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16712 implementation.
16713 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16714
167152014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
16716
16717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16718
4c327f2a
JM
167192014-01-08 Joseph Myers <joseph@codesourcery.com>
16720
16721 [BZ #16408]
16722 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16723 for large positive arguments.
16724
b821f414
JM
167252014-01-07 Joseph Myers <joseph@codesourcery.com>
16726
1f0f2067
JM
16727 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16728
a5a326f6
JM
16729 * math/auto-libm-test-in: Mark various tests with
16730 xfail-rounding:ldbl-128ibm.
16731 * math/auto-libm-test-out: Regenerated.
16732
b821f414
JM
16733 [BZ #16407]
16734 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16735 Increase overflow threshold.
16736
94c8a4bc
OB
167372014-01-07 Ondřej Bílka <neleai@seznam.cz>
16738
16739 [BZ #14286]
16740 * stdio-common/vfprintf.c: Check for integer overflow.
16741
87ded0c3
AK
167422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16743
16744 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16745 the first argument and return value of __tls_get_addr_internal.
16746
c5eebdd0
AK
167472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16748
16749 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16750 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16751
05d138ef
AK
167522014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16753
16754 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16755 * sysdeps/s390/rtld-global-offsets.sym: New file.
16756 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16757 GLIBC_2.19 symbol.
16758 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16759 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16760 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16761 ... this.
16762 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16763 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16764 ... this.
16765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16766 Regenerate.
16767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16768 Regenerate.
16769 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16770 halfs of GPRs for high_gprs contexts.
16771 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16772 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16773 field.
16774 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16775 uc_flags field.
16776 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16777 64 bit versions:
16778 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16779 for high GPRs (uc_high_gprs) and for future extensions
16780 (__reserved).
16781 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16782 for future extensions (__reserved).
16783 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16784 64 bit versions:
16785 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16786 SC_HIGHGPRS offset definition.
16787 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16788 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16789
93a45ff1
AK
16790 * Versions.def: Add GLIBC_2.19 for libpthread.
16791 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16792 siglongjmp for libpthread with GLIBC_2.19 symver.
16793 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16794 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16795 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16796 * sysdeps/s390/__longjmp.c: New file.
16797 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16798 * sysdeps/s390/longjmp.c: New file.
16799 * sysdeps/s390/setjmp.S: New file.
16800 * sysdeps/s390/sigjmp.S: New file.
16801 * sysdeps/s390/v1-longjmp.c: New file.
16802 * sysdeps/s390/v1-setjmp.h: New file.
16803 * sysdeps/s390/v1-sigjmp.c: New file.
16804 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16805 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16806 GLIBC_2.19 version.
16807 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16808 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16809 versioned symbols for ____longjmp_chk.
16810 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16811 Likewise.
16812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16813 Regenerate.
16814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16815 Regenerate.
16816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16817 Regenerate.
16818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16819 Regenerate.
16820 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16821 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16822 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16823 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16824 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16825 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16826 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16827 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16828 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16829 * sysdeps/s390/rtld-__longjmp.c: New file.
16830 * sysdeps/s390/rtld-setjmp.S: New file.
16831
eb3fc44b
JM
168322014-01-06 Joseph Myers <joseph@codesourcery.com>
16833
16834 [BZ #16400]
16835 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16836 Return -__logl (x) for small positive arguments without evaluating
16837 a polynomial.
16838
9341dde4
MF
168392014-01-06 Mike Frysinger <vapier@gentoo.org>
16840
16841 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16842 Rename to ...
16843 (__ptrace_peeksiginfo_args): ... this.
16844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16845 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16846 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16847
4cff0293
AM
168482014-01-06 Allan McRae <allan@archlinux.org>
16849
16850 * inet/netinet/in.h: Fix typo in comment.
16851
75595dcf
AJ
168522014-01-05 Andreas Jaeger <aj@suse.de>
16853
16854 * sysdeps/i386/fpu/libm-test-ulps: Update.
16855
79c1e109
AM
168562014-01-05 Allan McRae <allan@archlinux.org>
16857
dd804818
AM
16858 * po/libc.pot: Regenerated.
16859
79c1e109
AM
16860 * malloc/memusagestat.c: Fix gettext call formatting.
16861
0c813d1f
SK
168622014-01-04 Sami Kerola <kerolasa@iki.fi>
16863
16864 * nscd/nscd.c: Improve usage() output.
16865
20f4a8d9
MF
168662014-01-04 Mike Frysinger <vapier@gentoo.org>
16867
16868 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16869 * sysdeps/unix/sysv/linux/configure: Regenerated.
16870 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16871 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16872
22562bb2
JM
168732014-01-03 Joseph Myers <joseph@codesourcery.com>
16874
16875 [BZ #16390]
16876 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16877 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16878
d7ad2d9b
AZ
168792014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16880
16881 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16882 extra tokens at end of #undef directive.
16883 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16884 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16885 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16886
7dd009d8
JM
168872014-01-03 Joseph Myers <joseph@codesourcery.com>
16888
24db925a
JM
16889 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16890
7dd009d8
JM
16891 * math/auto-libm-test-in: Mark various tests with
16892 xfail-rounding:ldbl-128ibm.
16893 * math/auto-libm-test-out: Regenerated.
16894
396e3ecf
JM
168952014-01-02 Joseph Myers <joseph@codesourcery.com>
16896
819e5d50
JM
16897 [BZ #16386]
16898 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16899 numbers with subnormal high part when calculating exponent.
16900
90b6a1e5
JM
16901 [BZ #16385]
16902 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16903 fabs.
16904
396e3ecf
JM
16905 [BZ #16384]
16906 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16907 M_LN2l.
16908 (__ieee754_acoshl): Use __log1pl not __log1p.
16909
6c8dbf00
OB
169102013-01-02 Ondřej Bílka <neleai@seznam.cz>
16911
57f41c40
AS
16912 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16913 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16914 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16915 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16916 (reused_arena, arena_get2): Convert to GNU style.
16917 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16918 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16919 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 16920 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
16921 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16922 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16923 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16924 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16925 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16926 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 16927 * malloc/malloc.h: Likewise.
57f41c40
AS
16928 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16929 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 16930 * malloc/mcheck.h: Likewise.
57f41c40
AS
16931 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16932 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
16933 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16934 * malloc/morecore.c (__default_morecore): Likewise.
16935 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
16936 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16937 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16938 (print_and_abort): Likewise.
6c8dbf00
OB
16939 * malloc/obstack.h: Likewise.
16940 * malloc/set-freeres.c (__libc_freeres): Likewise.
16941 * malloc/tst-mallocstate.c (main): Likewise.
16942 * malloc/tst-mtrace.c (main): Likewise.
16943 * malloc/tst-realloc.c (do_test): Likewise.
16944
d4124212
SP
169452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16946
9a3c6a6f
SP
16947 [BZ #16366]
16948 * nscd/netgroupcache.c (do_notfound): New function.
16949 (addgetnetgrentX): Use it.
16950
d4124212
SP
16951 [BZ # 16365]
16952 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16953 NSS_STATUS_NOTFOUND.
16954
97b9a009
JM
169552014-01-01 Joseph Myers <joseph@codesourcery.com>
16956
16957 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16959
d4697bc9
AM
169602014-01-01 Allan McRae <allan@archlinux.org>
16961
ddb3687f
AM
16962 * scripts/update-copyrights: Update configure input file suffix.
16963
88726d48
AM
16964 * NEWS: Update copyright year.
16965 * catgets/gencat.c: Likewise.
16966 * csu/version.c: Likewise.
16967 * debug/catchsegv.sh: Likewise.
16968 * debug/pcprofiledump.c: Likewise.
16969 * debug/xtrace.sh: Likewise.
16970 * elf/ldconfig.c: Likewise.
16971 * elf/ldd.bash.in: Likewise.
16972 * elf/pldd.c: Likewise.
16973 * elf/sotruss.ksh: Likewise.
16974 * elf/sprof.c: Likewise.
16975 * iconv/iconv_prog.c: Likewise.
16976 * iconv/iconvconfig.c: Likewise.
16977 * locale/programs/locale.c: Likewise.
16978 * locale/programs/localedef.c: Likewise.
16979 * login/programs/pt_chown.c: Likewise.
16980 * malloc/memusage.sh: Likewise.
16981 * malloc/memusagestat.c: Likewise.
16982 * malloc/mtrace.pl: Likewise.
16983 * manual/libc.texinfo: Likewise.
16984 * nscd/nscd.c: Likewise.
16985 * nss/getent.c: Likewise.
16986 * nss/makedb.c: Likewise.
16987 * posix/getconf.c: Likewise.
16988 * scripts/test-installation.pl: Likewise.
16989
d4697bc9
AM
16990 * All files with FSF copyright notices: Update copyright dates
16991 using scripts/update-copyrights.
16992 * intl/plural.c: Regenerated.
16993 * locale/programs/charmap-kw.h: Likewise.
16994 * locale/programs/locfile-kw.h: Likewise.
16995
c8590f9d
MF
169962013-12-31 Mike Frysinger <vapier@gentoo.org>
16997
16998 * sysdeps/unix/sysv/linux/configure: Regenerated.
16999 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17000 the linux/fanotify.h header.
17001 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17002 HAVE_LINUX_FANOTIFY_H is defined.
17003
b19221b9
SP
170042013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17005
dd1d85e5
SP
17006 * benchtests/cos-inputs: New inputs.
17007 * benchtests/sin-inputs: Likewise.
17008
1acbb90f
SP
17009 * benchtests/atan-inputs: New inputs. Fix name of multiple
17010 precision fallback inputs.
17011
4c012ed3
SP
17012 * benchtests/atanh-inputs: New inputs.
17013 * benchtests/tanh-inputs: Likewise.
17014
eff98324
SP
17015 * benchtests/acosh-inputs: New inputs.
17016 * benchtests/asinh-inputs: Likewise.
17017
ce641152
SP
17018 * benchtests/cosh-inputs: New inputs.
17019 * benchtests/sinh-inputs: Likewise.
17020
b19221b9
SP
17021 * benchtests/acos-inputs: Add more inputs.
17022 * benchtests/asin-inputs: Likewise.
17023
030a4976 170242013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 17025
030a4976 17026 [BZ #16375]
9dcc8f11
VS
17027 * manual/arith.texi: Fix spelling.
17028 * manual/charset.texi: Likewise.
17029 * manual/errno.texi: Likewise.
17030 * manual/filesys.texi: Likewise.
17031 * manual/lang.texi: Likewise.
17032 * manual/llio.texi: Likewise.
17033 * manual/locale.texi: Likewise.
17034 * manual/message.texi: Likewise.
17035 * manual/resource.texi: Likewise.
17036 * manual/search.texi: Likewise.
17037 * manual/setjmp.texi: Likewise.
17038 * manual/stdio.texi: Likewise.
17039 * manual/string.texi: Likewise.
17040 * manual/sysinfo.texi: Likewise.
17041 * manual/time.texi: Likewise.
17042
11520a57
CD
170432013-12-27 Carlos O'Donell <carlos@redhat.com>
17044
17045 * po/sl.po: New file.
17046
471103ae
MF
170472013-12-27 Mike Frysinger <vapier@gentoo.org>
17048
17049 * .gitignore: Add core/.gdbinit/.gdb_history.
17050
6c9642ed
AM
170512013-12-27 Allan McRae <allan@archlinux.org>
17052
17053 [BZ #16369]
17054 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17055 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17056
3f637079
BM
170572013-12-24 Brooks Moses <bmoses@google.com>
17058
17059 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17060 all compilers that claim C++98 compliance, not just GCC.
17061 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17062 Likewise.
17063
abc26e99
MK
170642013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17065
17066 * NEWS: Restore accidentally deleted bug-fix entries.
17067
362b47fe
MK
170682013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17069 Ondřej Bílka <neleai@seznam.cz>
17070
17071 [BZ #15073]
17072 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 17073 have_lock.
362b47fe 17074
b9bcbbcb
OB
170752013-12-23 Ondřej Bílka <neleai@seznam.cz>
17076
17077 [BZ #12986]
17078 * manual/stdio.texi (String Input Conversions): Clarify that character
17079 classes are not supported.
17080
fb55fcd2
AZ
170812013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17082
17083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17084
ef7344f0
JM
170852013-12-22 Joseph Myers <joseph@codesourcery.com>
17086
4f40e4b3
JM
17087 [BZ #16337]
17088 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17089 Calculate results for small negative arguments directly rather
17090 than using reflection formula with special underflow handling.
17091
ef7344f0
JM
17092 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17093 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17094 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17095 (fchflags): Likewise.
17096 (revoke): Likewise.
17097 (setlogin): Likewise.
17098 (sigaltstack): Likewise.
17099 (wait4): Likewise.
17100 (sigblock): Remove.
17101 (sigsetmask): Likewise.
17102 (wait3): Likewise.
17103 (waitpid): Likewise.
17104 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17105 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17106 file.
17107 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17108 * sysdeps/unix/bsd/Makefile: ... here.
17109 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17110 * sysdeps/unix/bsd/Versions: ... here.
17111 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17112 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17113 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17114 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17115 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17116 * sysdeps/unix/bsd/sigblock.c: ... here.
17117 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17118 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17119 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17120 * sysdeps/unix/bsd/sigvec.c: ... here.
17121 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17122 * sysdeps/unix/bsd/tcdrain.c: ... here.
17123 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17124 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17125 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17126 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17127 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17128 * sysdeps/unix/bsd/wait.c: ... here.
17129 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17130 * sysdeps/unix/bsd/wait3.c: ... here.
17131 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17132 * sysdeps/unix/bsd/waitpid.c: ... here.
17133
5b0626b9
JM
171342013-12-21 Joseph Myers <joseph@codesourcery.com>
17135
17136 [BZ #16356]
17137 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17138 round-to-nearest for [!USE_AS_EXPM1L].
17139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17140 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17141 more tests of exp and exp10. Expect some exp10 tests to miss
17142 exceptions or fail in directed rounding modes.
17143 * math/auto-libm-test-out: Regenerated.
17144 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17145 (exp10_test_tonearest): New function.
17146 (exp10_towardzero_test_data): New array.
17147 (exp10_test_towardzero): New function.
17148 (exp10_downward_test_data): New array.
17149 (exp10_test_downward): New function.
17150 (exp10_upward_test_data): New array.
17151 (exp10_test_upward): New function.
17152 (main): Call the new functions.
17153 * sysdeps/i386/fpu/libm-test-ulps: Update.
17154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17155
7fda5682
JM
171562013-12-20 Joseph Myers <joseph@codesourcery.com>
17157
31e3a405
JM
17158 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17159 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17160 * math/auto-libm-test-out: Regenerated.
17161 * math/libm-test.inc (acosh_test_data): Add more tests.
17162 (atanh_test_data): Likewise.
17163 (ceil_test_data): Likewise.
17164 (copysign_test_data): Likewise.
17165 * sysdeps/i386/fpu/libm-test-ulps: Update.
17166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17167
85bff96a
JM
17168 * timezone/checktab.awk: Update from tzcode 2013i.
17169 * timezone/private.h: Likewise.
17170 * timezone/scheck.c: Likewise.
17171 * timezone/tzfile.h: Likewise.
17172 * timezone/tzselect.ksh: Likewise.
17173 * timezone/zdump.c: Likewise.
17174 * timezone/zic.c: Likewise.
17175
b7867a3b
JM
17176 * math/auto-libm-test-in: Add tests of cpow.
17177 * math/auto-libm-test-out: Regenerated.
17178 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 17179 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
17180 mpc_cc_c.
17181 (func_calc_desc): Add mpc_cc_c union field.
17182 (test_functions): Add cpow.
17183 (special_fill_2pi): New function.
17184 (special_real_inputs): Add 2pi.
17185 (calc_generic_results): Handle mpc_cc_c.
17186 * sysdeps/i386/fpu/libm-test-ulps: Update.
17187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17188
7fda5682
JM
17189 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17190 csqrt, ctan and ctanh.
17191 * math/auto-libm-test-out: Regenerated.
17192 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17193 (TEST_COND_x86): Likewise.
17194 (ccos_test_data): Use AUTO_TESTS_c_c.
17195 (ccosh_test_data): Likewise.
17196 (cexp_test_data): Likewise.
17197 (clog_test_data): Likewise.
17198 (csqrt_test_data): Likewise.
17199 (ctan_test_data): Likewise.
17200 (ctan_tonearest_test_data): Likewise.
17201 (ctan_towardzero_test_data): Likewise.
17202 (ctan_downward_test_data): Likewise.
17203 (ctan_upward_test_data): Likewise.
17204 (ctanh_test_data): Likewise.
17205 (ctanh_tonearest_test_data): Likewise.
17206 (ctanh_towardzero_test_data): Likewise.
17207 (ctanh_downward_test_data): Likewise.
17208 (ctanh_upward_test_data): Likewise.
17209 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17210 mpc_c_c.
17211 (func_calc_desc): Add mpc_c_c union field.
17212 (FUNC_mpc_c_c): New macro.
17213 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17214 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17215 ctanh.
17216 (special_fill_min_subnorm_p120): New function.
17217 (special_real_inputs): Add min_subnorm_p120.
17218 (calc_generic_results): Handle mpc_c_c.
17219 * sysdeps/i386/fpu/libm-test-ulps: Update.
17220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17221
5ff8d60e
SP
172222013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17223
57f41c40
AS
17224 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17225 (do_sin_slow): New functions.
17226 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17227 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 17228
84ba214c
SP
17229 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17230 Use M to change sign of result instead of X. Assume X is
17231 positive.
17232 (csloww1): Likewise.
17233 (__sin): Adjust.
17234 (__cos): Adjust.
17235
975195e4
SP
17236 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17237 arguments A and DA.
17238 (__sin): Adjust.
17239 (__cos): Likewise.
17240
5ff8d60e
SP
17241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17242 (__cos): Likewise.
17243 (sloww1): Don't adjust sign of DX.
17244 (csloww1): Likewise.
17245 (sloww2): Use X directly and don't adjust sign of DX.
17246 (csloww2): Likewise.
17247
eb983568
JM
172482013-12-19 Joseph Myers <joseph@codesourcery.com>
17249
64a17f1a
JM
17250 * math/auto-libm-test-in: Add tests of cabs and carg.
17251 * math/auto-libm-test-out: Regenerated.
17252 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17253 (carg_test_data): Likewise.
17254 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17255 mpc_c_f.
17256 (func_calc_desc): Add mpc_c_f union field.
17257 (test_functions): Add cabs and carg.
17258 (calc_generic_results): Handle mpc_c_f.
17259
eb983568
JM
17260 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17261 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17262 as a macro and a compat symbol.
17263 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17264 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17265 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17266 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17267 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17268 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17269 not use .hidden.
17270 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17271 Likewise.
17272 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17273 Likewise.
17274 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17275 Likewise.
17276 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17277 Likewise.
17278 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17279 Likewise.
17280 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17281 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17282 from GLIBC_2.3.2.
17283
6eeb678a
AZ
172842013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17285
17286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17287
6f6fc482
JM
172882013-12-19 Joseph Myers <joseph@codesourcery.com>
17289
21fea2e2
JM
17290 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17291 trailing whitespace removed.
17292 * scripts/config.guess: Update to version 2013-11-29.
17293 * scripts/config.sub: Update to version 2013-10-01.
17294
6f6fc482
JM
17295 * math/auto-libm-test-in: Add tests of sincos.
17296 * math/auto-libm-test-out: Regenerated.
17297 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17298 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17299 mpfr_f_11.
17300 (func_calc_desc): Add mpfr_f_11 union field.
17301 (test_functions): Add sincos.
17302 (calc_generic_results): Handle mpfr_f_11.
17303 * sysdeps/i386/fpu/libm-test-ulps: Update.
17304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17305
83f5c32d
AS
173062013-12-19 Andreas Schwab <schwab@suse.de>
17307
17308 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17309 CALL_MCOUNT.
17310 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17311 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17312 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17313
c688b419
JM
173142013-12-19 Joseph Myers <joseph@codesourcery.com>
17315
335ee092
JM
17316 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17317 * sysdeps/i386/fpu/libm-test-ulps: Update.
17318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17319
f88acd39
JM
17320 [BZ #16293]
17321 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17322 round-to-nearest mode when using frndint.
17323 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17324 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17325 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17326 Likewise.
17327 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17328 sinh test to fail.
17329 * math/auto-libm-test-out: Regenerated.
17330 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17331 (TEST_COND_x86): Likewise.
17332 (expm1_tonearest_test_data): New array.
17333 (expm1_test_tonearest): New function.
17334 (expm1_towardzero_test_data): New array.
17335 (expm1_test_towardzero): New function.
17336 (expm1_downward_test_data): New array.
17337 (expm1_test_downward): New function.
17338 (expm1_upward_test_data): New array.
17339 (expm1_test_upward): New function.
17340 (main): Run the new test functions.
17341 * sysdeps/i386/fpu/libm-test-ulps: Update.
17342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17343
c688b419
JM
17344 * include/features.h: Update comment documenting feature test
17345 macros. Mention _DEFAULT_SOURCE in comment.
17346 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17347 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17348 _BSD_SOURCE and _SVID_SOURCE.
17349 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17350 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17351 !_SVID_SOURCE]: Likewise.
17352 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17353 (__USE_POSIX_IMPLICITLY): Define.
17354 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17355 (_POSIX_SOURCE): Undefine and redefine.
17356 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17357 (_POSIX_C_SOURCE): Likewise.
17358 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17359 (Feature Test Macros): Update documentation of default features.
17360
9f6e964c
RS
173612013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17362
17363 * benchtests/Makefile: Add bench-strtok.
17364 * benchtests/bench-strtok.c: New file: strtok benchtest.
17365
ee0a148a
AM
173662013-12-19 Allan McRae <allan@archlinux.org>
17367
17368 * manual/install.texi: Suppress menu for plain text output.
17369 * INSTALL: Regenerated.
17370
b9ab448f
BM
173712013-12-18 Brooks Moses <bmoses@google.com>
17372
17373 [BZ #15846]
17374 * misc/getauxval.c: Include errno.h.
17375 (__getauxval): Set errno to ENOENT if the requested type is not
17376 found.
17377 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17378 don't declare with __attribute_const__.
17379 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17380 * manual/startup.texi: Document that getauxval sets errno.
17381
23776487
JM
173822013-12-18 Joseph Myers <joseph@codesourcery.com>
17383
f889953b
JM
17384 * math/auto-libm-test-in: Add tests of jn and yn.
17385 * math/auto-libm-test-out: Regenerated.
17386 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17387 (yn_test_data): Likewise.
17388 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17389 mpfr_if_f.
17390 (func_calc_desc): Add mpfr_if_f union field.
17391 (FUNC_mpfr_if_f): New macro.
17392 (test_functions): Add jn and yn.
17393 (calc_generic_results): Assert type of second input for
17394 mpfr_ff_f. Handle mpfr_if_f.
17395 (output_for_one_input_case): Disable all checking for arguments
17396 fitting floating-point types in case of an integer argument.
17397 * sysdeps/i386/fpu/libm-test-ulps: Update.
17398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17399
23776487
JM
17400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17401 Don't expect fegetround reference in libm.so.
17402
cb756c6d
MS
174032013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17404
17405 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17406 $(config-cflags-nofma).
17407
2dec468f
JM
174082013-12-18 Joseph Myers <joseph@codesourcery.com>
17409
5953eb3a
JM
17410 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17411 * math/auto-libm-test-out: Regenerated.
17412
2dec468f
JM
17413 [BZ #16338]
17414 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17415 to determine exponent and adjust argument to have exponent of -1.
17416 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17417 log2.
17418 * math/auto-libm-test-out: Regenerated.
17419 * sysdeps/i386/fpu/libm-test-ulps: Update.
17420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17421
4d84e6ad
OB
174222013-12-18 Ondřej Bílka <neleai@seznam.cz>
17423
17424 * manual/probes.texi: Remove cases when per-thread arenas are
17425 disabled.
17426
1818483b
AS
174272013-12-18 Andreas Schwab <schwab@suse.de>
17428
17429 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17430 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17431 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17432 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17433 * sysdeps/i386/i686/multiarch/Makefile: Update.
17434 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17435
25de95bf
JM
174362013-12-17 Joseph Myers <joseph@codesourcery.com>
17437
17438 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17439 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17440
674762d9
PE
174412013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17442
ed27ed83 17443 [BZ #15968]
0748546f
PE
17444 Support TZ transition times < 00:00:00.
17445 This is needed for version-3 tz-format files; it supports time
17446 stamps past 2037 for America/Godthab (the only entry in the tz
17447 database for which this change is relevant).
17448 * manual/time.texi (TZ Variable): Document transition times
17449 from -167:59:59 through -00:00:01.
17450 * time/tzset.c (tz_rule): Time of day is now signed.
17451 (__tzset_parse_tz): Parse negative time of day.
17452
4480e934
PE
17453 Document TZ transition times >= 25:00:00.
17454 * manual/time.texi (TZ Variable): Document transition times from
17455 25:00:00 through 167:59:59. These are already supported, and this
17456 support will help with version-3 tz-format files.
17457
69947401
PE
17458 * manual/time.texi (TZ Variable): Modernize North America example
17459 to reflect current (i.e., 2007-and-later) daylight saving rules.
17460
674762d9
PE
17461 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17462
7011c262
JM
174632013-12-17 Joseph Myers <joseph@codesourcery.com>
17464
2fc6557e
JM
17465 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17466 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17469 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17470 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17471 * sysdeps/unix/bsd/clock.c: Likewise.
17472 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17473 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17474 * sysdeps/unix/bsd/init-posix.c: Likewise.
17475 * sysdeps/unix/bsd/poll.c: Likewise.
17476 * sysdeps/unix/bsd/ptsname.c: Likewise.
17477 * sysdeps/unix/bsd/seekdir.c: Likewise.
17478 * sysdeps/unix/bsd/setegid.c: Likewise.
17479 * sysdeps/unix/bsd/seteuid.c: Likewise.
17480 * sysdeps/unix/bsd/setgid.c: Likewise.
17481 * sysdeps/unix/bsd/setrgid.c: Likewise.
17482 * sysdeps/unix/bsd/setruid.c: Likewise.
17483 * sysdeps/unix/bsd/setsid.c: Likewise.
17484 * sysdeps/unix/bsd/setuid.c: Likewise.
17485 * sysdeps/unix/bsd/sigaction.c: Likewise.
17486 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17487 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17488 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17489 * sysdeps/unix/bsd/telldir.c: Likewise.
17490 * sysdeps/unix/bsd/times.c: Likewise.
17491 * sysdeps/unix/bsd/usleep.c: Likewise.
17492
029c7b25
JM
17493 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17494 ($(objpfx)libbsd-compat.a): Remove rule.
17495
7011c262
JM
17496 * include/features.h (__FAVOR_BSD): Do not define.
17497 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17498 features conflicting with POSIX.
17499 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17500 (_BSD_SOURCE): Remove description of not being a subset of other
17501 feature test macros.
17502 * manual/job.texi (getpgrp): Do not document BSD version.
17503 (getpgid): Do not document by reference to BSD getpgrp.
17504 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17505 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17506 * signal/signal.h [__FAVOR_BSD]: Likewise.
17507 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17508 instead of making contents conditional on [__FAVOR_BSD].
17509 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17510
affb6f78
AZ
175112013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17512
17513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17514
c88769dd
JM
175152013-12-17 Joseph Myers <joseph@codesourcery.com>
17516
6432a540
JM
17517 [BZ #16314]
17518 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17519 values below 2**-450, not 2**-500.
17520 * math/auto-libm-test-in: Don't allow spurious underflow from
17521 hypot.
17522 * math/auto-libm-test-out: Regenerated.
17523
c88769dd
JM
17524 [BZ #16316]
17525 [BZ #16330]
17526 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17527 values of ha and hb and sort them after adjusting subnormal
17528 arguments.
17529 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17530 Likewise.
17531 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17532 values of ea and eb and sort them after adjusting subnormal
17533 arguments.
17534 * math/auto-libm-test-in: Do not expect some hypot tests of
17535 subnormals to fail. Add more hypot tests.
17536 * math/auto-libm-test-out: Regenerated.
17537
29618f6b
KK
175382013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17539
17540 [BZ #13304]
17541 * sysdeps/sh/s_fma.c: New file.
17542 * sysdeps/sh/s_fmaf.c: New file.
17543 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17544 version.
17545 * sysdeps/sh/Implies: Add sh/soft-fp.
17546
eacfdfbf
RM
175472013-12-16 Roland McGrath <roland@hack.frob.com>
17548
17549 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17550 level of indirection to members `objname', `errstring', `malloced'.
17551 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17552 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17553 it as the __longjmp argument (just pass 1 instead).
17554 (_dl_catch_error): Initialize C with argument pointers and address of
17555 volatile local ERRCODE rather than copying values out of C at return.
17556
ff362e5b
JM
175572013-12-16 Joseph Myers <joseph@codesourcery.com>
17558
17559 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17560 * math/auto-libm-test-out: Regenerated.
17561 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17562 (hypot_test_data): Likewise.
17563 (pow_test_data): Likewise.
17564 (pow_tonearest_test_data): Likewise.
17565 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17566 mpfr_ff_f.
17567 (func_calc_desc): Add mpfr_ff_f union field.
17568 (FUNC_mpfr_ff_f): New macro.
17569 (test_functions): Add atan2, hypot and pow.
17570 (special_fill_min): New function.
17571 (special_fill_minus_min): Likewise.
17572 (special_fill_min_subnorm): Likewise.
17573 (special_fill_minus_min_subnorm): Likewise.
17574 (special_real_inputs): Add min, -min, min_subnorm and
17575 -min_subnorm.
17576 (calc_generic_results): Handle mpfr_ff_f.
17577 * sysdeps/i386/fpu/libm-test-ulps: Update.
17578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17579
5764c27f
WN
175802013-12-16 Will Newton <will.newton@linaro.org>
17581
17582 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17583 (Aligned Memory Blocks): Add documentation for aligned_alloc
17584 and suggest it as an alternative to posix_memalign.
17585 (Hooks for Malloc): Document __memalign_hook is also called
17586 for aligned_alloc. (Summary of Malloc): Add summary for
17587 aligned alloc. Document __memalign_hook is also called
17588 for aligned_alloc.
17589
0a096e44
WN
175902013-12-16 Will Newton <will.newton@linaro.org>
17591
17592 * manual/memory.texi (Malloc Examples): Clarify default
17593 alignment documentation. Suggest posix_memalign rather
17594 than memalign or valloc.
17595 (Aligned Memory Blocks): Remove suggestion to use memalign
17596 or valloc. Remove obsolete comment about BSD.
17597 Document memalign errno values and mark the function obsolete.
17598 Document posix_memalign returned error codes. Mark valloc
17599 as obsolete. (Hooks for Malloc): __memalign_hook is also
17600 called for posix_memalign and valloc.
17601 (Summary of Malloc): Add posix_memalign to function summary.
17602 __memalign_hook is also called for posix_memalign and valloc.
17603
8d561986
SP
176042013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17605
17606 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17607 TAYLOR_SIN.
17608 (__sin): Adjust.
17609 (__cos): Likewise.
17610 (sloww): Use mynumber union. Expand ternary operator into
17611 if-else statements.
17612 (cslow): use mynumber union.
17613
73616a74
AM
176142013-12-16 Allan McRae <allan@archlinux.org>
17615
9e8ac24b
AM
17616 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17617 * configure: Regenerated.
17618
6f8e37eb
AM
17619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17620
8894bad3
AM
17621 [BZ #14120]
17622 * configure.ac: Added --enable-maintainer-mode. Check for
17623 autoconf when enabled.
17624 * configure: Regenerated.
17625
73616a74
AM
17626 * nscd/nscd.service: New file.
17627 * nscd/nscd.tmpfiles: New file.
17628
584b18eb
OB
176292013-12-14 Ondřej Bílka <neleai@seznam.cz>
17630
17631 [BZ #12100]
17632 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17633 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17634 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17635 (strstr): Add __strstr_sse2_unaligned ifunc.
17636 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17637 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17638 (strcasestr): Remove __strcasestr_sse42 ifunc.
17639 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17642
8a5c7897
KK
176432013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17644
17645 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17646 * sysdeps/sh/bits/fenv.h: ... here.
17647 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17648
fd712ef3
AZ
176492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17650
17651 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17652
42fcb46c
AZ
17653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17654 hypotf multiarch implementations.
17655 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17656 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17657 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17658 multiarch hypot for PPC64.
17659 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17660 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17661 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17662 multiarch hypotf for PPC64.
17663
83efded4
AZ
17664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17665 modff multiarch implementations.
17666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17669 multiarch modf for PPC64.
17670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17673 multiarch modff for PPC64.
17674
43e246d2
AZ
17675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17676 and logl multiarch implementations.
17677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17680 multiarch logb for PPC64.
17681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17684 multiarch logb for PPC64.
17685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17688 multiarch logb for PPC64.
17689
8fdad123
AZ
17690 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17691 isinff multiarch implementation.
17692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17693 file.
17694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17696 multiarch isinf for PPC64.
17697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17698 file.
17699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17700 multiarch isinff for PPC64.
17701
1481d706
AZ
17702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17703 finitef multiarch implementation.
17704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17705 file.
17706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17708 multiarch finite for PPC64.
17709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17710 file.
17711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17712 multiarch finitef for PPC64.
17713
5ccd5fc8
AZ
17714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17715 lrint multiarch implementation.
17716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17717 file.
17718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17720 multiarch llrint for PPC64.
17721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17722 multiarch lrint for PPC64.
17723
2568f3fa
AZ
17724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17725 copysignf multiarch implementation.
17726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17727 file.
17728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17729 file.
17730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17731 multiarch copysign for PPC64.
17732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17733 multiarch copysignf for PPC64.
17734
1cb341fd
AZ
17735 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17736 multiarch implementation.
17737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17738 file.
17739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17740 file.
17741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17742 file.
17743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17744 file.
17745 multiarch llround for PPC64.
17746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17747 multiarch trunc for PPC64.
17748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17749 multiarch truncf for PPC64.
17750
59a3e194
AZ
17751 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17752 multiarch implementation.
17753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17754 file.
17755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17756 file.
17757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17758 file.
17759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17760 file.
17761 multiarch llround for PPC64.
17762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17763 multiarch round for PPC64.
17764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17765 multiarch roundf for PPC64.
17766
357fd3b4
AZ
17767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17768 multiarch implementation.
17769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17770 file.
17771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17772 file.
17773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17774 file.
17775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17776 file.
17777 multiarch llround for PPC64.
17778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17779 multiarch floor for PPC64.
17780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17781 multiarch floorf for PPC64.
17782
96770f12
AZ
17783 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17784 multiarch implementation.
17785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17786 file.
17787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17788 file.
17789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17790 file.
17791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17792 file.
17793 multiarch llround for PPC64.
17794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17795 multiarch ceil for PPC64.
17796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17797 multiarch ceilf for PPC64.
17798
c3627f6e
AZ
17799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17800 multiarch implementation.
17801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17802 file.
17803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17804 file.
17805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17806 file.
17807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17808 multiarch llround for PPC64.
17809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17810 multiarch lround for PPC64.
17811
b2284ad7
AZ
17812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17813 multiarch implementation.
17814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17817 file.
17818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17821 multiarch isnan for PPC64.
17822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17823 multiarch isnanf for PPC64.
17824
69bbc63d
AZ
17825 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17826 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17827 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17828 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17829 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17831
c24517c9
AZ
17832 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17833 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17836
a52374e8
AZ
17837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17838 multiarch implementations.
17839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17840 (__libc_ifunc_impl_list): Likewise.
17841 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17842 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17843 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17844 multiarch stpcpy for PPC64.
17845
7f5ec113
AZ
17846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17847 multiarch implementations.
17848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17849 (__libc_ifunc_impl_list): Likewise.
17850 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17851 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17852 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17853 multiarch strcpy for PPC64.
17854
e28bcd42
AZ
17855 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17856 redefine function name.
17857 (_wordcopy_fwd_dest_aligned): Likewise.
17858 (_wordcopy_bwd_aligned): Likewise.
17859 (_wordcopy_bwd_dest_aligned): Likewise.
17860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17861 multiarch implementations.
17862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17863 (__libc_ifunc_impl_list): Likewise.
17864 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17865 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17866 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17867 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17868 multiarch wcscpy for PPC64.
17869
92cacfce
AZ
17870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17871 multiarch implementations.
17872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17873 (__libc_ifunc_impl_list): Likewise.
17874 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17875 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17876 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17877 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17878 multiarch wcscpy for PPC64.
17879
7b714620
AZ
17880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17881 multiarch implementations.
17882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17883 (__libc_ifunc_impl_list): Likewise.
17884 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17885 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17886 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17887 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17888 multiarch wcsrchr for PPC64.
17889
16fd2ae3
AZ
17890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17891 multiarch implementations.
17892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17893 (__libc_ifunc_impl_list): Likewise.
17894 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17895 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17896 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17897 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17898 multiarch wcschr for PPC64.
17899
9ee2969b
AZ
17900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17901 multiarch implementations.
17902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17903 (__libc_ifunc_impl_list): Likewise.
17904 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17905 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17906 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17907 multiarch strchrnul for PPC64.
17908
372dc060
AZ
17909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17910 implementations.
17911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17912 (__libc_ifunc_impl_list): Likewise.
17913 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17914 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17915 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17916 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17917 strchr for PPC64.
17918
24c2c3b9
AZ
17919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17920 implementations.
17921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17922 (__libc_ifunc_impl_list): Likewise.
17923 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17924 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17925 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17926 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17927 strncmp for PPC64.
17928
1c92d9a0
AZ
17929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17930 multiarch implementations.
17931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17932 (__libc_ifunc_impl_list): Likewise.
17933 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17934 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17935 strncasecmp for PPC64.
17936 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17937 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17938 multiarch strncasecmp_l for PPC64.
17939
17de3ee3
AZ
17940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17941 multiarch implementations.
17942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17943 (__libc_ifunc_impl_list): Likewise.
17944 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17945 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17946 multiarch strcasecmp for PPC64.
17947 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17948 file.
17949 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17950 multiarch strcasecmp_l for PPC64.
17951
62982bf9
AZ
17952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17953 implementations.
17954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17955 (__libc_ifunc_impl_list): Likewise.
17956 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17957 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17958 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17959 strnlen for PPC64.
17960
a65f4904
AZ
17961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17962 implementations.
17963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17964 (__libc_ifunc_impl_list): Likewise.
17965 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17966 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17967 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17968 strlen for PPC64.
17969
1fd005ad
AZ
17970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17971 implementations.
17972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17973 (__libc_ifunc_impl_list): Likewise.
17974 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17975 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17976 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17977 rawmemrchr for PPC64.
17978
cd05ba91
AZ
17979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17980 implementation.
17981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17982 (__libc_ifunc_impl_list): Likewise.
17983 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17984 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17985 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17986 memrchr for PPC64.
17987
870f8676
AZ
17988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17989 implementation.
17990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17991 (__libc_ifunc_impl_list): Likewise.
17992 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17993 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17994 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17995 memchr for PPC64.
17996
f00be62b
AZ
17997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17998 implementation.
17999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18000 (__libc_ifunc_impl_list): Likewise.
18001 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18002 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18003 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18004 mempcpy for PPC64.
18005
8a29a3d0
AZ
18006 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18007 avoid cretion of __bzero symbol.
18008 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18009 Likewise.
18010 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18011 Likewise.
18012 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18013 Likewise.
18014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18015 multiarch implementations.
18016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18017 (__libc_ifunc_impl_list): Likewise.
18018 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18019 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18020 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18021 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18022 bzero for PPC32.
18023 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18024 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18025 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18026 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18027 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18028 memset for PPC64.
18029 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18030
07253fcf
AZ
18031 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18033 implementations.
18034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18035 (__libc_ifunc_impl_list): Likewise.
18036 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18037 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18038 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18039 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18040 memcmp for PPC64.
18041
b5beafbc
AZ
18042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18043 multiarch for POWER/PPC64.
18044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18045 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18046 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18047 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18048 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18049 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18050 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18051 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18052 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18053 memcpy for PPC64.
18054
5e6a4d4b
AZ
18055 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18056 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18057 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18058 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18059 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18060 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18061 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18062 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18063 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18064 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18065 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18066 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18067 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18068 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18069 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18077
ddfab6dc
KK
180782013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18079
18080 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18081
19b5525e
SP
180822013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18083
18084 * benchtests/Makefile (bench): Add exp2 and log2.
18085 (LDLIBS-bench-exp2): Add -lm.
18086 (LDLIBS-bench-log2): Likewise.
18087 * benchtests/exp2-inputs: New inputs file.
18088 * benchtests/log2-inputs: New inputs file.
18089 * benchtests/log-inputs: Add new inputs.
18090 * benchtests/tan-inputs: Likewise.
18091
196f7f5d
SP
180922013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18093
7a74607f
SP
18094 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18095 definition...
57f41c40
AS
18096 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18097 (csloww2): ... from here.
7a74607f 18098
196f7f5d
SP
18099 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18100 instead of structures.
18101 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18102 (POLYNOMIAL): Likewise.
18103 (TAYLOR_SLOW): Likewise.
18104 (__sin): Likewise.
18105 (__cos): Likewise.
18106 (slow1): Likewise.
18107 (slow2): Likewise.
18108 (sloww): Likewise.
18109 (sloww1); Likewise.
18110 (sloww2): Likewise.
18111 (bsloww1): Likewise.
18112 (bsloww2): Likewise.
18113 (cslow2): Likewise.
18114 (csloww): Likewise.
18115 (csloww1): Likewise.
18116 (csloww2): Likewise.
18117
0dfa665c
OB
181182013-12-10 Ondřej Bílka <neleai@seznam.cz>
18119
18120 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
18121 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18122 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
18123 * malloc/hooks.c (realloc_check): Likewise.
18124
5782a80f
OB
18125 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18126 * malloc/arena.c: Remove PER_THREAD conditional.
18127 [!PER_THREAD]: Remove code.
18128 (ptmalloc_unlock_all2): Likewise.
18129 (ptmalloc_init): Likewise.
18130 (_int_new_arena): Likewise.
18131 (arena_get2): Likewise.
18132 * malloc/hooks.c (__malloc_get_state): Likewise.
18133 (__malloc_set_state): Likewise.
18134 * malloc/malloc.c: Likewise.
18135 (struct malloc_state): Likewise.
18136 (struct malloc_par): Likewise.
18137 (__libc_realloc): Likewise.
18138 (__libc_mallopt): Likewise.
18139
aeb95445
AZ
181402013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18141
18142 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18143
e8349efd
OB
181442013-12-09 Ondřej Bílka <neleai@seznam.cz>
18145
18146 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18147 macro to a function. Check for zero perturb_byte.
18148 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18149
f3eeb3fc 18150 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
18151 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18152 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
18153 force_reg by atomic_forced_read.
18154 * malloc/arena.c (ptmalloc_init): Likewise.
18155 * malloc/hooks.c (top_check): Likewise.
18156
be2f9009
AZ
181572013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18158
18159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18160
e7b914bd
MT
181612013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18162
18163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18164
9f0be4f8
JM
181652013-12-08 Joseph Myers <joseph@codesourcery.com>
18166
18167 * math/auto-libm-test-in: Add tests of lgamma.
18168 * math/auto-libm-test-out: Regenerated.
18169 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18170 (M_LOG_2_SQRT_PIl): Likewise.
18171 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18172 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18173 mpfr_f_f1.
18174 (func_calc_desc): Add mpfr_f_f1 union field.
18175 (ARGS1): New macro.
18176 (ARGS2): Likewise.
18177 (ARGS3): Likewise.
18178 (ARGS4): Likewise.
18179 (RET1): Likewise.
18180 (RET2): Likewise.
18181 (CALC): Likewise.
18182 (FUNC): Likewise.
18183 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18184 (test_functions): Add lgamma.
18185 (calc_generic_results): Handle mpfr_f_f1.
18186 * sysdeps/i386/fpu/libm-test-ulps: Update.
18187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18188
24eeafdb
AZ
181892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18190
18191 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18192 __mpn_add_n for PowerPC64/POWER7.
18193 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18194 __mpn_sub_n for PowerPC64/POWER7.
18195
4a2c0fd4
AZ
18196 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18197 __mpn_addmul_1 for PowerPC64.
18198 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18199 __mpn_submul_1 for PowerPC64.
18200 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18201 for PowerPC64.
18202 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18203 for PowerPC64.
18204
4b5b548c
FS
182052013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18206
18207 [BZ #15089]
18208 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18209
0a3ac0aa
AZ
182102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18211
18212 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18213
ccdc8438
AZ
18214 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18215 add multiarch folders.
18216 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18217 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18218 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18219 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18220 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18221 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18222 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18223 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18224 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18225 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18226 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18233
2e973d99
AZ
18234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18235 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18237 New file.
18238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18239 New file.
18240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18241 multiarch __ieee754_hypot for PowerPC32.
18242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18243 New file.
18244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18245 New file.
18246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18247 multiarch __ieee754_hypotf for PowerPC32.
18248
2d9470b2
AZ
18249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18250 long_double_symbol only if __logbl is defined.
18251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18252 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18254 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18256 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18257 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18258 path for implementation.
18259 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18260 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18262 logb, and logbl multiarch implementations for PowerPC32.
18263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18264 file.
18265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18266 file.
18267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18268 multiarch logb for PowerPC32.
18269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18270 file.
18271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18272 file.
18273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18274 multiarch logbf for PowerPC32.
18275 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18277 file.
18278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18279 multiarch logbl implementation for PowerPC32.
18280
5212ffce
AZ
18281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18282 and modff multiarch implementations.
18283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18284 New file.
18285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18286 New file.
18287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18288 multiarch modf for PowerPC32.
18289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18290 New file.
18291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18292 New file.
18293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18294 multiarch modff for PowerPC32.
18295
79dccf31
AZ
18296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18297 and lrintf multiarch implementations.
18298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18299 New file.
18300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18301 New file.
18302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18303 multiarch lrint for PowerPC32.
18304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18305 file: multiarch lrintf for PowerPC32.
18306
deb66480
AZ
18307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18308 and lroundf multiarch implementations.
18309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18310 New file.
18311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18312 New file.
18313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18314 New file.
18315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18316 multiarch lround for PowerPC32.
18317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18318 file: multiarch lroundf for PowerPC32.
18319
264b036b
AZ
18320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18321 copysign and copysignf multiarch implementations.
18322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18323 New file.
18324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18325 New file.
18326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18327 file: multiarch copysign for PowerPC32.
18328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18329 file: multiarch copysignf for PowerPC32.
18330
d47db6c9
AZ
18331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18332 and truncf multiarch implementations.
18333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18334 New file.
18335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18336 file.
18337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18338 multiarch trunc for PowerPC32.
18339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18340 New file.
18341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18342 New file.
18343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18344 multiarch truncf for PowerPC32.
18345
ddb60b5a
AZ
18346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18347 and roundf multiarch implementations.
18348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18349 New file.
18350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18351 file.
18352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18353 multiarch round for PowerPC32.
18354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18355 New file.
18356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18357 New file.
18358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18359 multiarch roundf for PowerPC32.
18360
bedcf49b
AZ
18361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18362 and floorf multiarch implementations.
18363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18364 New file.
18365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18366 file.
18367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18368 multiarch floor for PowerPC32.
18369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18370 New file.
18371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18372 New file.
18373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18374 multiarch floorf for PowerPC32.
18375
35ae5b40
AZ
18376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18377 and ceilf multiarch implementations.
18378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18379 New file.
18380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18381 file.
18382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18383 multiarch ceil for PowerPC32.
18384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18385 New file.
18386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18387 file.
18388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18389 multiarch ceilf for PowerPC32.
18390
ae1a4cd9
AZ
18391 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18392 is defined.
18393 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18394 FINITEF is defined.
18395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18396 and finitef multiarch implementations.
18397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18398 New file.
18399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18400 file.
18401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18402 multiarch finite for PowerPC32.
18403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18404 New file.
18405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18406 file: multiarch finitef for PowerPC32.
18407
64fffd65
AZ
18408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18409 and isinff multiarch implementations.
18410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18411 file.
18412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18413 file.
18414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18415 multiarch isinf for PowerPC32.
18416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18417 New file.
18418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18419 multiarch isinff for PowerPC32.
18420
8e4e7ba2
AZ
18421 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18422 alias when __isnan is defined.
18423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18424 and isnanf multiarch implementations.
18425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18426 file.
18427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18428 file.
18429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18430 file.
18431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18432 file.
18433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18434 multiarch isnan for PowerPC32.
18435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18436 New file.
18437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18438 New file.
18439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18440 multiarch isnanf for PowerPC32.
18441
ddba588e
AZ
18442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18443 and sqrtf multiarch implementations.
18444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18445 file.
18446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18447 file.
18448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18449 multiarch sqrt for PowerPC32.
18450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18451 file.
18452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18453 file.
18454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18455 multiarch sqrtf for PowerPC32.
18456
0f96a2f0
AZ
18457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18458 and llroundf multiarch implementations.
18459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18460 New file.
18461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18462 New file.
18463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18464 New file.
18465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18466 file: multiarch llround for PowerPC32.
18467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18468 file: multiarch llroundf for PowerPC32.
18469
c9b5d79e
AZ
18470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18471 multiarch PowerPC32 fpu implementations.
18472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18473 New file.
18474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18475 New file.
18476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18477 multiarch llrint for PowerPC32.
18478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18479 New file.
18480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18481 New file.
18482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18483 file.
18484
9cbb3aab
AZ
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18486
ea5a72f8
AZ
18487 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18488 file.
18489 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18490 file.
18491 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18492 file.
18493 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18494 multiarch wordcopy for PPC32.
18495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18496 wordcopy objects.
18497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18498 (__libc_ifunc_impl_list): Likewise.
18499 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18500 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18501 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18502 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18503 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18504 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18505
93be09e7
AZ
18506 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18508 file.
18509 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18510 file.
18511 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18512 file.
18513 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18514 multiarch wcscpy for PPC32.
18515 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18516 multiarch objects.
18517 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18518 (__libc_ifunc_impl_list): Likewise.
18519 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18520 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18521 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18522 sysdeps/powerpc/power6/wcscpy.c.
18523
bb04e529
AZ
18524 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18526 file.
18527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18528 file.
18529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18530 file.
18531 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18532 multiarch wcsrchr for PPC32.
18533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18534 multiarch objects.
18535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18536 (__libc_ifunc_impl_list): Likewise.
18537 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18538 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18539 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18540 sysdeps/powerpc/power6/wcsrchr.c.
18541
05b5cd1c
AZ
18542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18543 file.
18544 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18545 file.
18546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18547 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18548 multiarch wcschr for PPc32.
18549 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18550 multiarch objects.
18551 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18552 (__libc_ifunc_impl_list): Likewise.
18553 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18554 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18555 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18556 sysdeps/powerpc/power6/wcschr.c.
18557
ba964147
AZ
18558 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18559 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18560 file.
18561 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18562 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18563 file: multiarch strchr for PPC32.
18564 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18565 multiarch objects.
18566 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18567 (__libc_ifunc_impl_list): Likewise.
18568
31c81aaa
AZ
18569 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18570 name.
18571 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18572 file.
18573 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18574 file.
18575 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18576 multiarch strchrnul for PPC32.
18577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18578 multiarch objects.
18579 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18580 (__libc_ifunc_impl_list): Likewise.
18581
0d0607d9
AZ
18582 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18583 file.
18584 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18585 multiarch strncasecmp for PPC32.
18586 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18587 file.
18588 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18589 multiarch strncasecmp_l for PPC32.
18590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18591 strncasecmp multiarch objects.
18592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18593 (__libc_ifunc_impl_list): Likewise.
18594
4dfd5c86
AZ
18595 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18596 file.
18597 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18598 multiarch strncasecmp for PPC32.
18599 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18600 New file.
18601 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18602 multiarch strcasecmp_l for PPC32.
18603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18604 multiarch objects.
18605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18606 (__libc_ifunc_impl_list): Likewise.
18607
a19e01a3
AZ
18608 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18609 file.
18610 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18611 file.
18612 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18613 multiarch strncmp for PPC32.
18614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18615 multiarch objects.
18616 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18617 (__libc_ifunc_impl_list): Likewise.
18618
ae9cf7a2
AZ
18619 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18620 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18621 file.
18622 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18623 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18625 multiarch objects.
18626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18627 (__libc_ifunc_impl_list): Likewise.
18628
3148bb7d
AZ
18629 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18630 file.
18631 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18632 file.
18633 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18635 multiarch objects.
18636 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18637 (__libc_ifunc_impl_list): Likewise.
18638
7af8b946
AZ
18639 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18640 file.
18641 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18642 file.
18643 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18644 multiarch rawmemchr for PPC32.
18645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18646 multiarch objects.
18647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18648 (__libc_ifunc_impl_list): Likewise.
18649
03a6aa6a
AZ
18650 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18651 file.
18652 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18653 file.
18654 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18655 file: memrchr multiarch for PPC32.
18656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18657 multiarch objects.
18658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18659 (__libc_ifunc_impl_list): Likewise.
18660
1c62e6d9
AZ
18661 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18662 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18663 file.
18664 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18665 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18666 multiarch memchr for PPC32.
18667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18668 multiarch objects.
18669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18670 (__libc_ifunc_impl_list): Likewise.
18671
87da8bdb
AZ
18672 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18673 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18674 file.
18675 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18676 file.
18677 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18678 file: multiarch mempcpy for PPC32.
18679 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18680 multiarch objects.
18681 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18682 (__libc_ifunc_impl_list): Likewise.
18683
20ed4714
AZ
18684 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18685 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18686 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18687 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18688 multiarch bzero for PPC32.
18689 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18690 file.
18691 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18692 file.
18693 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18694 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18695 file: multiarch memset for PPC32.
18696 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18698 memset multiarch objects.
18699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18700 (__libc_ifunc_impl_list): Likewise.
18701
ab3e3a46
AZ
18702 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18703 file.
18704 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18705 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18706 memcmp for PPC32.
18707 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18709 multiarch objects.
18710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18711 (__libc_ifunc_impl_list): Likewise.
18712
930de6f0
AZ
18713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18714 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18716 file.
18717 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18718 file.
18719 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18720 file.
18721 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18722 multiarch memcpy for PPC32.
18723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18724 multiarch objects.
18725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18726 (__libc_ifunc_impl_list): Likewise.
18727
4c628e00
AZ
18728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18729 support multiarch for POWER/PPC32.
18730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18731 Likewise.
18732 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18734 Implies file to make multiarch folder appers before the fpu and
18735 default folder for power4 configuration.
18736
f4479220
SP
187372013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18738
18739 * scripts/bench.pl: Append volatile keyword to type.
18740
8517800f
KK
187412013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18742
18743 * sysdeps/sh/sotruss-lib.c: New file.
18744 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18745
180138f1
AZ
187462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18747
18748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18749
bbf37bdc
JM
187502013-12-05 Joseph Myers <joseph@codesourcery.com>
18751
e47cc4e0
JM
18752 [BZ #6810]
18753 * math/w_tgamma.c: Include <errno.h>.
18754 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18755 * math/w_tgammaf.c: Include <errno.h>.
18756 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18757 * math/w_tgammal.c: Include <errno.h>.
18758 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18759 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18760 underflow. Add more tgamma tests.
18761 * math/auto-libm-test-out: Regenerated.
18762 * sysdeps/i386/fpu/libm-test-ulps: Update.
18763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18764
bbf37bdc
JM
18765 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18766 sin, sinh, tan, tanh, tgamma, y0 and y1.
18767 * math/auto-libm-test-out: Regenerated.
18768 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18769 (TEST_COND_x86): Likewise.
18770 (M_E2l): Remove macro.
18771 (M_E3l): Likewise.
18772 (M_2_SQRT_PIl): Likewise.
18773 (M_SQRT_PIl): Likewise.
18774 (M_1_DIV_El): Likewise.
18775 (log_test_data): Use AUTO_TESTS_f_f.
18776 (log10_test_data): Likewise.
18777 (log1p_test_data): Likewise.
18778 (log2_test_data): Likewise.
18779 (sin_test_data): Likewise.
18780 (sin_tonearest_test_data): Likewise.
18781 (sin_towardzero_test_data): Likewise.
18782 (sin_downward_test_data): Likewise.
18783 (sin_upward_test_data): Likewise.
18784 (sinh_test_data): Likewise.
18785 (sinh_tonearest_test_data): Likewise.
18786 (sinh_towardzero_test_data): Likewise.
18787 (sinh_downward_test_data): Likewise.
18788 (sinh_upward_test_data): Likewise.
18789 (tan_test_data): Likewise.
18790 (tan_tonearest_test_data): Likewise.
18791 (tan_towardzero_test_data): Likewise.
18792 (tan_downward_test_data): Likewise.
18793 (tan_upward_test_data): Likewise.
18794 (tanh_test_data): Likewise.
18795 (tgamma_test_data): Likewise.
18796 (y0_test_data): Likewise.
18797 (y1_test_data): Likewise.
18798 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18799 (special_real_inputs): Add pi/4.
18800 * sysdeps/i386/fpu/libm-test-ulps: Update.
18801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18802
eb5ad6b9
AZ
188032013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18804
18805 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18806 "longjmp_target" static probes.
18807 (__longjmp): Rename to __longjmp_symbol.
18808 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18809 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18810 on which longjmp to generate.
18811 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18812 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18813 probe.
18814 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18815 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18816 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18817 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18818 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18819 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18821 __longjmp_symbol based on which __longjmp to generate.
18822 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18823 probe.
18824 (setjmp): Rename to setjmp_symbol.
18825 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18826 (_setjmp): Rename to _setjmp_symbol.
18827 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18828 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18829 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18830 which setjmp to generate.
18831 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18832 "longjmp_target" static probes.
18833
d136c6dc
SP
188342013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18835
9298ecba
SP
18836 * benchtests/README: Add note about output arguments.
18837 * benchtests/bench-sincos.c: Remove file.
18838 * benchtests/sincos-inputs: New file.
18839 * scripts/bench.pl: Identify output arguments and define
18840 static variables for them.
18841
232983e9
SP
18842 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18843
d136c6dc
SP
18844 [BZ #15941]
18845 * Makefile (INSTALL): Add install-plain.texi as the primary
18846 dependency.
18847 * manual/install-plain.texi: New file.
18848 * manual/install.texi: Include node directive only for
18849 non-plaintext output.
18850
699ff837
JM
188512013-12-04 Joseph Myers <joseph@codesourcery.com>
18852
ab07cea8
JM
18853 * stdlib/longlong.h: Update from GCC.
18854
699ff837
JM
18855 [BZ #6807]
18856 [BZ #15901]
18857 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18858 * math/w_j0f.c (y0f): Likewise.
18859 * math/w_j0l.c (__y0l): Likewise.
18860 * math/w_j1.c (y1): Likewise.
18861 * math/w_j1f.c (y1f): Likewise.
18862 * math/w_j1l.c (__y1l): Likewise
18863 * math/w_jn.c (yn): Likewise.
18864 * math/w_jnf.c (ynf): Likewise.
18865 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18866 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18867 value for Bessel function domain errors outside _SVID_ mode.
18868 Adjust sign of return value for yn (negative integer, 0).
18869 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18870 by zero in return for negative x and set sign appropriately for
18871 negative n.
18872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18873 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18874 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18875 expectations in error cases.
18876 (y1_test_data): Likewise.
18877 (yn_test_data): Likewise.
18878 * sysdeps/i386/fpu/libm-test-ulps: Update.
18879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18880
5b118558
UW
188812013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18882
18883 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18884 "64" to "64-v1". Add "64-v2".
18885 (abi-64-options): Rename to ...
18886 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18887 (abi-64-condition): Rename to ...
18888 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18889 (abi-64-ld-soname): Rename to ...
18890 (abi-64-v1-ld-soname): ... this.
18891 (abi-64-v2-options): Define.
18892 (abi-64-v2-condition): Likewise.
18893 (abi-64-v2-ld-soname): Likewise.
18894 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18895 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18899
61cd8fe4
UW
189002013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18901 Alan Modra <amodra@gmail.com>
18902
18903 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18904 New versions for use with the ELFv2 ABI.
18905 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18906 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18907 declaration.
18908 (struct La_ppc64v2_retval): Likewise.
18909 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18910 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18911 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18912 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18913 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18914 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18915 Do not save or restore CR.
18916 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18917 (_dl_profile_resolve): Do no save or restore CR. Support extended
18918 return values for ELFv2 ABI. Fix location of FPR return registers.
18919 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18920 updated values for _CALL_ELF == 2.
18921 (La_regs, La_retval, int_retval): Likewise.
18922
8b8a692c
UW
189232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18924
18925 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18926 (FRAME_MIN_SIZE_PARM): Likewise.
18927 (FRAME_BACKCHAIN): Likewise.
18928 (FRAME_CR_SAVE): Likewise.
18929 (FRAME_LR_SAVE): Likewise.
18930 (FRAME_TOC_SAVE): Likewise.
18931 (FRAME_PARM_SAVE): Likewise.
18932 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18933 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18934 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18935 (call_mcount_parm_offset): New macro.
18936 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18937 (PROF): Use symbolic stack frame offsets.
18938 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18939 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18940 Redefine in terms of FRAME_MIN_SIZE.
18941 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18942 (_dl_profile_resolve): Likewise. Update comment.
18943 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18944 symbols stack frame offsets.
18945 (__sigsetjmp): Likewise.
18946 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18947 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18948 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18949 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18950
18951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18952 (FRAME_BACKCHAIN): Remove.
18953 (FRAME_CR_SAVE): Likewise.
18954 (FRAME_LR_SAVE): Likewise.
18955 (FRAME_COMPILER_DW): Likewise.
18956 (FRAME_LINKER_DW): Likewise.
18957 (FRAME_TOC_SAVE): Likewise.
18958 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
18959 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18960 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18961 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
18962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18963 (CHECK_SP): Use symbolic stack frame offsets.
18964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18965 zone" instead of caller's parameter save area for temp storage.
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18967 Likewise. Also, use symbolic stack frame offsets.
18968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18969 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18970 our own stack frame instead of the caller's.
18971 (__socket): Use symbolic stack frame offsets.
18972
122b66de
UW
189732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18974 Alan Modra <amodra@gmail.com>
18975
18976 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18977 Define.
57f41c40
AS
18978 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18979 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
18980 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18981 New function.
18982 (elf_machine_fixup_plt): Call it.
18983 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18984 reloc arguments.
18985 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
18986 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18987 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
18988 r2 before calling target.
18989
696caf1d
UW
189902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18991 Alan Modra <amodra@gmail.com>
18992
18993 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18994 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18995 versions of macros to support ELFv2 ABI.
18996 (LOCALENTRY): New macro.
18997 (ENTRY, EALIGN): Use it.
18998 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18999 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19000 fall through into ENTRY entry point.
19001 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19002 Only define if _CALL_ELF != 2.
19003
19004 (elf_machine_matches_host): Verify ABI version matches.
19005 (RTLD_START): Use LOCALENTRY.
19006 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19007 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19008 (PLT_ENTRY_WORDS): New macro.
19009 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19010 (elf_machine_runtime_setup): Support ELFv2 ABI.
19011 (elf_machine_fixup_plt): Likewise.
19012 (elf_machine_plt_conflict): Likewise.
19013 (resolve_ifunc): Likewise.
19014 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19015 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19016 Likewise.
19017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19018 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19020 (makecontext): Support ELFv2 ABI.
19021 * elf/elf.h (EF_PPC64_ABI): Define.
19022
d31beafa
UW
190232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19024
57f41c40
AS
19025 * sysdeps/powerpc/powerpc64/sysdep.h
19026 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19027 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19028 (ENTRY) [ASSEMBLER]: ... but instead here ...
19029 (EALIGN) [ASSEMBLER]: ... and here.
19030 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19031 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19032 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
19033 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19034 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
19035 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19036 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
19037 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19039 Use PPC64_LOAD_FUNCPTR.
19040
b525166b
UW
19041 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19042
7ec07d9a
AM
190432013-12-04 Alan Modra <amodra@gmail.com>
19044
19045 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19046 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19047 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19048 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19049
19050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19051 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19052 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19053 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19054 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19055 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19056
5162e7dd
UW
190572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19058
19059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19060 (__makecontext): Fix incorrect CFI when backtracing out of
19061 context created via makecontext.
19062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19063 (__setcontext): Fix incorrect CFI during switch to new context.
19064 (__novec_setcontext): Likewise.
19065
19e3372b
OB
190662013-12-04 Ondřej Bílka <neleai@seznam.cz>
19067
19068 [BZ #4772]
19069 * time/strptime_l.c (__strptime_internal): Allow modifiers
19070 in strptime.
19071 * time/tst-strptime.c (day_tests): Add testcase.
19072
ecaf142d
SP
190732013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19074
19075 * scripts/bench.pl: Skip over blank lines.
19076
fbf964ae
PE
190772013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19078
19079 [BZ #926]
19080 * manual/time.texi (Calendar Time): Clarify what timezone functions
19081 use.
19082
fa60a674
AZ
190832013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19084
19085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19086
d674f0ef
OB
190872013-12-04 Ondřej Bílka <neleai@seznam.cz>
19088
19089 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19090 implementation.
19091 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19092 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19093 * debug/memset_chk.c (__memset_chk): Likewise.
19094 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19095 * debug/strncpy_chk.c: Likewise.
19096
17dea188
JM
190972013-12-03 Joseph Myers <joseph@codesourcery.com>
19098
749008ff
JM
19099 [BZ #15268]
19100 [BZ #15425]
19101 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19102 (__ieee754_exp): For possibly underflowing results, check size of
19103 result and force underflow exception if required.
19104 * math/auto-libm-test-in: Add more tests of exp.
19105 * math/auto-libm-test-out: Regenerated.
19106 * sysdeps/i386/fpu/libm-test-ulps: Update.
19107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19108
17dea188
JM
19109 [BZ #16283]
19110 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19111 * math/w_exp2f.c (__exp2f): Likewise.
19112 * math/w_exp2l.c (__exp2l): Likewise.
19113 * math/auto-libm-test-in: Do not allow missing errno on exp2
19114 underflow.
19115 * math/auto-libm-test-out: Regenerated.
19116
b20de2c3
OB
191172013-12-03 Ondřej Bílka <neleai@seznam.cz>
19118
19119 [BZ #16274]
19120 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19121 handle filename validation.
19122 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19123 (do_open): Delete.
19124
d8e2dbe3
JM
191252013-12-03 Joseph Myers <joseph@codesourcery.com>
19126
34e16df5
JM
19127 [BZ #6786]
19128 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19129 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19130 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19131 <float.h>.
19132 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19133 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19134 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19135 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19136 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19137 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19138 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19139 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19140 Add more erfc tests.
19141 * math/auto-libm-test-out: Regenerated.
19142 * sysdeps/i386/fpu/libm-test-ulps: Update.
19143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19144
d8e2dbe3
JM
19145 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19146 exp2, expm1, j0 and j1.
19147 * math/auto-libm-test-out: Regenerated.
19148 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19149 (erfc_test_data): Likewise.
19150 (exp_test_data): Likewise.
19151 (exp_tonearest_test_data): Likewise.
19152 (exp_towardzero_test_data): Likewise.
19153 (exp_downward_test_data): Likewise.
19154 (exp_upward_test_data): Likewise.
19155 (exp10_test_data): Likewise.
19156 (exp2_test_data): Likewise.
19157 (expm1_test_data): Likewise.
19158 (j0_test_data): Likewise.
19159 (j1_test_data): Likewise.
19160 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19161 (input_flag_type): Add flag_xfail_rounding.
19162 (input_flags): Add xfail-rounding.
19163 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19164 (output_for_one_input_case): Handle flag_xfail_rounding.
19165 * sysdeps/i386/fpu/libm-test-ulps: Update.
19166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19167
18d14251
AJ
191682013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19169
3d2e6075 19170 [BZ #16289]
18d14251
AJ
19171 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19172 division by 0.
19173
520d437b
SP
191742013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19175
19176 [BZ #16195]
19177 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19178 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19179 (STAP_PROBE0): New macro.
19180 (STAP_PROBE1): Likewise.
19181 (STAP_PROBE2): Likewise.
19182 (STAP_PROBE3): Likewise.
19183 (STAP_PROBE4): Likewise.
19184
416e0145
OB
191852013-12-02 Ondřej Bílka <neleai@seznam.cz>
19186
19187 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19188
9d17796a
SE
191892013-12-02 Steve Ellcey <sellcey@mips.com>
19190
19191 * benchtests/Makefile (bench): Add sqrt.
19192 (LDLIBS-bench-sqrt): New.
19193 * benchtests/sqrt-input: New.
19194
f524d6a8
PS
191952013-12-02 Pavel Simerda <psimerda@redhat.com>
19196
639a0ef8
PS
19197 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19198 (GAIH_EAI): Likewise.
19199 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19200 (gaih_inet): Likewise.
19201 (getaddrinfo): Don't use GAIH_EAI.
19202
f524d6a8
PS
19203 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19204 (struct gaih): Remove definition.
19205
df3aedaf
SP
192062013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19207
19208 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19209 Use HERRNOP directly.
19210
1ab19dec
AZ
192112013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19212
b42ad38d 19213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 19214
176b0c79
JM
192152013-11-30 Joseph Myers <joseph@codesourcery.com>
19216
19217 * math/gen-auto-libm-tests.c (test_functions): Add more
19218 single-argument functions.
19219 (special_fill_pi_2): New function.
19220 (special_fill_minus_pi_2): Likewise.
19221 (special_fill_pi_6): Likewise.
19222 (special_fill_minus_pi_6): Likewise.
19223 (special_fill_pi_3): Likewise.
19224 (special_fill_2pi_3): Likewise.
19225 (special_fill_e): Likewise.
19226 (special_fill_1_e): Likewise.
19227 (special_fill_e_minus_1): Likewise.
19228 (special_real_inputs): Add more special inputs.
19229 (output_for_one_input_case): Do not require ERANGE on underflow to
19230 zero if round-to-nearest result does not underflow to zero, unless
19231 exact results required.
19232 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19233 atan, atanh, cbrt, cos and cosh.
19234 * math/auto-libm-test-out: Regenerated.
19235 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19236 (acos_tonearest_test_data): Likewise.
19237 (acos_towardzero_test_data): Likewise.
19238 (acos_downward_test_data): Likewise.
19239 (acos_upward_test_data): Likewise.
19240 (acosh_test_data): Likewise.
19241 (asin_test_data): Likewise.
19242 (asin_tonearest_test_data): Likewise.
19243 (asin_towardzero_test_data): Likewise.
19244 (asin_upward_test_data): Likewise.
19245 (asinh_test_data): Likewise.
19246 (atan_test_data): Likewise.
19247 (atanh_test_data): Likewise.
19248 (cbrt_test_data): Likewise.
19249 (cos_test_data): Likewise.
19250 (cos_tonearest_test_data): Likewise.
19251 (cos_towardzero_test_data): Likewise.
19252 (cos_downward_test_data): Likewise.
19253 (cos_upward_test_data): Likewise.
19254 (cosh_test_data): Likewise.
19255 (cosh_tonearest_test_data): Likewise.
19256 (cosh_towardzero_test_data): Likewise.
19257 (cosh_downward_test_data): Likewise.
19258 (cosh_upward_test_data): Likewise.
19259 * sysdeps/i386/fpu/libm-test-ulps: Update.
19260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19261
ffb536d0
JM
192622013-11-29 Joseph Myers <joseph@codesourcery.com>
19263
2a77a467
JM
19264 [BZ #6787]
19265 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19266 * math/w_exp10f.c (__exp10f): Likewise.
19267 * math/w_exp10l.c (__exp10l): Likewise.
19268 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19269 errno settings in existing tests.
19270
ea3bc4e8
JM
19271 [BZ #14032]
19272 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19273 precision control set to double precision.
19274 * sysdeps/i386/fpu/w_sqrt.c: New file.
19275 * math/auto-libm-test-in: Add more tests.
19276 * math/auto-libm-test-out: Update.
19277
0712c9d8
JM
19278 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19279 (sqrt_test_tonearest): New function.
19280 (sqrt_towardzero_test_data): New variable.
19281 (sqrt_test_towardzero): New function.
19282 (sqrt_downward_test_data): New variable.
19283 (sqrt_test_downward): New function.
19284 (sqrt_upward_test_data): New variable.
19285 (sqrt_test_upward): New function.
19286 (main): Call the new functions.
19287
ffb536d0
JM
19288 * math/gen-auto-libm-tests.c: New file.
19289 * math/auto-libm-test-in: Likewise.
19290 * math/auto-libm-test-out: New generated file.
19291 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19292 variables.
19293 (%beautify): Add generated representations of zero.
19294 (top level): Set $auto_input and call parse_auto_input.
19295 (beautify): Remove trailing "f" from hex float constants.
19296 (parse_args): Handle XFAIL_TEST.
19297 (convert_condition): New function.
19298 (or_value): Likewise.
19299 (or_cond_value): Likewise.
19300 (generate_testfile): Handle AUTO_TESTS_* lines.
19301 (parse_auto_input): New function.
19302 * math/libm-test.inc (XFAIL_TEST): New macro.
19303 (ERRNO_UNCHANGED): Update value.
19304 (ERRNO_EDOM): Likewise.
19305 (ERRNO_ERANGE): Likewise.
19306 (IGNORE_RESULT): Likewise.
19307 (TEST_COND_flt_32): New macro.
19308 (TEST_COND_dbl_64): Likewise.
19309 (TEST_COND_ldbl_96_intel): Likewise.
19310 (TEST_COND_ldbl_96_m68k): Likewise.
19311 (TEST_COND_ldbl_128): Likewise.
19312 (TEST_COND_ldbl_128ibm): Likewise.
19313 (TEST_COND_long32): Likewise.
19314 (TEST_COND_long64): Likewise.
19315 (TEST_COND_before_rounding): Likewise.
19316 (TEST_COND_after_rounding): Likewise.
19317 (enable_test): Handle XFAIL_TEST flag.
19318 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19319 with finite results.
19320 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19321 auto-libm-test-out.
19322
acd98a8e
AK
193232013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19324 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19325
19326 [BZ #16214]
19327 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19328 __tls_get_addr_internal instead of __tls_get_offset in order to
19329 avoid GOT pointer dependency. Make rtld export
19330 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19331 __tls_get_addr since we are a __tls_get_offset platform.
19332 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19333 GOT pointer being set up before.
19334 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19335
3c1c46a6
JM
193362013-11-28 Joseph Myers <joseph@codesourcery.com>
19337
7475aef5
JM
19338 * manual/math.texi (Errors in Math Functions): Document accuracy
19339 goals.
19340
8bca7cd8
JM
19341 [BZ #15004]
19342 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19343 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19346 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19348 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19350 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19351 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19352 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19353 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19354 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19356 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19357 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19358
91a1f3fe
JM
19359 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19360 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19361 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19362 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19363 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19364 Likewise.
19365 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19366 Likewise.
19367 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19368 Likewise.
19369 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19370 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19371 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19372 atomic-feupdateenv and flt-rounds.
19373 * sysdeps/powerpc/nofpu/Versions (libc): Add
19374 __atomic_feholdexcept, __atomic_feclearexcept,
19375 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19376 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19377 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19378 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19379 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19380 here.
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19382 Update.
19383
c5df7609
JM
19384 * manual/arith.texi (FP Exceptions): Document that exceptions may
19385 not be raised when matherr is used.
19386 (Math Error Reporting): Document overflow in directed rounding
19387 modes. Document that errno may not be set when finite values are
19388 returned on overflow. Document intent to set errno on underflow
19389 only for underflow to zero.
19390
3c1c46a6
JM
19391 [BZ #16271]
19392 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19393 round-to-nearest then adjust result for other rounding modes.
19394 * include/fenv.h (fegetround): Use libm_hidden_proto.
19395 * math/fegetround.c (fegetround): Use libm_hidden_def.
19396 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19397 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19398 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19399 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19400 Likewise.
19401 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19402 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19403 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19404 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19405
5a4c6d53
SP
194062013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19407
19408 [BZ #16077]
19409 * nss/Versions (libnss_files): Add
19410 _nss_files_gethostbyname3_r.
19411 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19412 New function.
19413 (HOST_DB_LOOKUP): Remove macro.
19414 (_nss_files_gethostbyname_r): Implement function without the
19415 HOST_DB_LOOKUP macro.
19416 (_nss_files_gethostbyname2_r): Likewise.
19417
897b98ba
OB
194182013-11-28 Ondřej Bílka <neleai@seznam.cz>
19419
19420 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19421
6f476861
UB
194222013-11-26 Uros Bizjak <ubizjak@gmail.com>
19423
19424 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19425 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19426 warning.
19427
bd12ab55
AZ
194282013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19429
19430 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19431 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19432 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19433 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19434 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19435 __fe_nomask_env_priv and attribute_hidden.
19436 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19437 (libc_feupdateenv_test_ppc): Likewise.
19438 (libc_feresetround_ppc): Likewise.
19439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19440 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19441 compat_symbol macro.
19442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19443 (__fe_nomask_env): Likewise.
19444 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19445
52bb6543
OB
194462013-11-26 Ondřej Bílka <neleai@seznam.cz>
19447
19448 * string/Makefile: Remove ifunc tests.
19449 * string/test-string.h: Define TEST_IFUNC.
19450 * string/test-bcopy-ifunc.c: Remove.
19451 * string/test-bzero-ifunc.c: Likewise.
19452 * string/test-memccpy-ifunc.c: Likewise.
19453 * string/test-memchr-ifunc.c: Likewise.
19454 * string/test-memcmp-ifunc.c: Likewise.
19455 * string/test-memcpy-ifunc.c: Likewise.
19456 * string/test-memmem-ifunc.c: Likewise.
19457 * string/test-memmove-ifunc.c: Likewise.
19458 * string/test-mempcpy-ifunc.c: Likewise.
19459 * string/test-memrchr-ifunc.c: Likewise.
19460 * string/test-memset-ifunc.c: Likewise.
19461 * string/test-rawmemchr-ifunc.c: Likewise.
19462 * string/test-stpcpy-ifunc.c: Likewise.
19463 * string/test-stpncpy-ifunc.c: Likewise.
19464 * string/test-strcasecmp-ifunc.c: Likewise.
19465 * string/test-strcasestr-ifunc.c: Likewise.
19466 * string/test-strcat-ifunc.c: Likewise.
19467 * string/test-strchr-ifunc.c: Likewise.
19468 * string/test-strchrnul-ifunc.c: Likewise.
19469 * string/test-strcmp-ifunc.c: Likewise.
19470 * string/test-strcpy-ifunc.c: Likewise.
19471 * string/test-strcspn-ifunc.c: Likewise.
19472 * string/test-strlen-ifunc.c: Likewise.
19473 * string/test-strncasecmp-ifunc.c: Likewise.
19474 * string/test-strncat-ifunc.c: Likewise.
19475 * string/test-strncmp-ifunc.c: Likewise.
19476 * string/test-strncpy-ifunc.c: Likewise.
19477 * string/test-strnlen-ifunc.c: Likewise.
19478 * string/test-strpbrk-ifunc.c: Likewise.
19479 * string/test-strrchr-ifunc.c: Likewise.
19480 * string/test-strspn-ifunc.c: Likewise.
19481 * string/test-strstr-ifunc.c: Likewise.
19482
ab260039 194832013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
19484
19485 * benchtests/Makefile: Remove ifunc tests.
19486 * benchtests/bench-string.h: Define TEST_IFUNC.
19487 * benchtests/bench-bcopy-ifunc.c: Remove.
19488 * benchtests/bench-bzero-ifunc.c: Likewise.
19489 * benchtests/bench-memccpy-ifunc.c: Likewise.
19490 * benchtests/bench-memchr-ifunc.c: Likewise.
19491 * benchtests/bench-memcmp-ifunc.c: Likewise.
19492 * benchtests/bench-memcpy-ifunc.c: Likewise.
19493 * benchtests/bench-memmem-ifunc.c: Likewise.
19494 * benchtests/bench-memmove-ifunc.c: Likewise.
19495 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19496 * benchtests/bench-memrchr-ifunc.c: Likewise.
19497 * benchtests/bench-memset-ifunc.c: Likewise.
19498 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19499 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19500 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19501 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19502 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19503 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19504 * benchtests/bench-strcat-ifunc.c: Likewise.
19505 * benchtests/bench-strchr-ifunc.c: Likewise.
19506 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19507 * benchtests/bench-strcmp-ifunc.c: Likewise.
19508 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19509 * benchtests/bench-strcpy-ifunc.c: Likewise.
19510 * benchtests/bench-strcspn-ifunc.c: Likewise.
19511 * benchtests/bench-strlen-ifunc.c: Likewise.
19512 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19513 * benchtests/bench-strncat-ifunc.c: Likewise.
19514 * benchtests/bench-strncmp-ifunc.c: Likewise.
19515 * benchtests/bench-strncpy-ifunc.c: Likewise.
19516 * benchtests/bench-strnlen-ifunc.c: Likewise.
19517 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19518 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 19519 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
19520 * benchtests/bench-strspn-ifunc.c: Likewise.
19521 * benchtests/bench-strstr-ifunc.c: Likewise.
19522
195232013-11-26 Ondřej Bílka <neleai@seznam.cz>
19524
ab260039
OB
19525 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19526
d1d9eaf4 195272013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 19528
d1d9eaf4
OB
19529 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19530 * rt/aio.h: Likewise.
19531 * sysdeps/gnu/bits/utmp.h: Likewise.
19532 * sysdeps/gnu/bits/utmpx.h: Likewise.
19533 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19534 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19535 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19536 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19537 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19538 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19539 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19540 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19541 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19542 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19543 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19544 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19545 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19547 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19548 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19549 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19550 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19551 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19552 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19553 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19554 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19555 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19556 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19557 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19559 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19560 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19561 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19562 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19563 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19564 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19565 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19566 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19567 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19568 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19569 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19570 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19571 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19572 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19573 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19574 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19575
a7624ed9
CD
195762013-11-25 Carlos O'Donell <carlos@redhat.com>
19577
19578 [BZ #16245]
19579 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19580 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19581
63cfe52b
JM
195822013-11-25 Joseph Myers <joseph@codesourcery.com>
19583
19584 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19585 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19586 Likewise.
19587
41e8926a
AZ
195882013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19589
19590 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19591 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19592 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19593 (__fesetround): Remove define.
19594 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19595 rounding and exceptions handling.
19596 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19597 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19598 (__fe_nomask_env): Likewise.
19599 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19600 __fegetround instead of fegetround.
19601 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19603
6851bd4d
RM
196042013-11-21 Roland McGrath <roland@hack.frob.com>
19605
070906ff
RM
19606 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19607 it's there.
19608
6851bd4d
RM
19609 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19610
84ae135d
MI
196112013-11-21 Meador Inge <meadori@codesourcery.com>
19612
19613 [BZ #11157]
19614 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19615 (encrypt_r): Likewise.
19616 * malloc/obstack.h (obstack_free): Likewise.
19617 * posix/unistd.h (encrypt): Likewise.
19618
daf75146
GM
196192013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19620
19621 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19622 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19623 DL_CALL_DT_FINI() that call the functions directly.
19624 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19625 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19626 * elf/dl-fini.c: Likewise.
19627
10ad46bc
OB
196282013-11-20 Ondřej Bílka <neleai@seznam.cz>
19629
19630 * malloc/hooks.c (memalign_check): Add alignment rounding.
19631 * malloc/malloc.c (_mid_memalign): New function.
19632 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19633 Implement by calling _mid_memalign.
19634 * manual/probes.texi (Memory Allocation Probes): Remove
19635 memory_valloc_retry and memory_pvalloc_retry.
19636
f3fd2628
SP
196372013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19638
4712799f
SP
19639 * locale/programs/locarchive.c (open_archive): Add const
19640 qualifier to ARCHIVEFNAME and copy default fname to
19641 DEFAULT_FNAME.
19642
0417b20f
SP
19643 [BZ #15601]
19644 * libio/tst-widetext.input: Rename Oriya to Odia.
19645 * locale/iso-639.def: Likewise.
19646
f3fd2628
SP
19647 * manual/probes.texi (Mathematical Function Probes): Add
19648 documentation for sin, cos, asin and acos probes.
19649 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19650 (__sin32): Add slowasin probe.
19651 (__cos32): Add slowacos probe.
19652 (__mpsin): Add slowsin probe.
19653 (__mpcos): Add slowcos probe.
19654
73c1ce4f
JM
196552013-11-19 Joseph Myers <joseph@codesourcery.com>
19656
19657 [BZ #15483]
19658 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19659 thread-local __sim_exceptions_thread and global
19660 __sim_exceptions_global.
19661 (__sim_disabled_exceptions): Change to thread-local
19662 __sim_disabled_exceptions_thread and global
19663 __sim_disabled_exceptions_global.
19664 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19665 and global __sim_round_mode_global.
19666 (__simulate_exceptions): Use thread-local floating-point state and
19667 set global state from it as needed.
19668 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19669 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19670 __sim_round_mode_thread.
19671 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19672 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19673 and global __sim_exceptions_global.
19674 (__sim_disabled_exceptions): Change to thread-local
19675 __sim_disabled_exceptions_thread and global
19676 __sim_disabled_exceptions_global.
19677 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19678 and global __sim_round_mode_global.
19679 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19680 (SIM_SET_GLOBAL): Likewise.
19681 * sysdeps/powerpc/soft-fp/sfp-machine.h
19682 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19683 __sim_round_mode_thread.
19684 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19685 __sim_disabled_exceptions_thread.
19686 (__sim_exceptions): Change to __sim_exceptions_thread.
19687 (__sim_disabled_exceptions): Change to
19688 __sim_disabled_exceptions_thread.
19689 (__sim_round_mode): Change to __sim_round_mode_thread.
19690 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19691 thread-local floating-point state and set global state from it as
19692 needed.
19693 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19694 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19695 (__sim_disabled_exceptions): Remove extern declaration.
19696 (feenableexcept): Use thread-local floating-point state and set
19697 global state from it as needed.
19698 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19699 extern declaration.
19700 (__sim_disabled_exceptions): Likewise.
19701 (__sim_round_mode): Likewise.
19702 (__fegetenv): Use thread-local floating-point state.
19703 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19704 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19705 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19706 floating-point state and set global state from it as needed.
19707 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19708 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19709 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19710 Likewise.
19711 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19712 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19713 Likewise.
19714 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19715 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19716 Use __sim_round_mode_thread.
19717 * math/test-fenv-tls.c: New file.
19718 * math/Makefile (tests): Add test-fenv-tls.
19719 ($(objpfx)test-fenv-tls): Depend on
19720 $(common-objpfx)nptl/libpthread.so.
19721
b5449b12
AS
197222013-11-19 Andreas Schwab <schwab@suse.de>
19723
19724 * locale/programs/locale.c (show_info): Decode wordarray elements.
19725 * locale/categories.def (LC_MONETARY): Add element for
19726 _NL_MONETARY_CRNCYSTR.
19727 * locale/C-monetary.c (conversion_rate): New variable.
19728 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19729 element.
19730
e186536b
CM
197312013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19732
19733 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19734 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19735
5c349950
PP
197362013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19737
19738 * elf/Makefile (tst-auxv): New test.
19739 * elf/tst-auxv.c: New
19740 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19741
699df45b
JM
197422013-11-18 Joseph Myers <joseph@codesourcery.com>
19743
19744 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19745 (hidden_proto): Caller changed.
19746 (hidden_tls_proto): New macro.
19747 (libc_hidden_tls_proto): Likewise.
19748 (rtld_hidden_tls_proto): Likewise.
19749 (libm_hidden_tls_proto): Likewise.
19750 (libresolv_hidden_tls_proto): Likewise.
19751 (librt_hidden_tls_proto): Likewise.
19752 (libdl_hidden_tls_proto): Likewise.
19753 (libnss_files_hidden_tls_proto): Likewise.
19754 (libnsl_hidden_tls_proto): Likewise.
19755 (libnss_nisplus_hidden_tls_proto): Likewise.
19756 (libutil_hidden_tls_proto): Likewise.
19757
b7589107
OB
197582013-11-18 Ondřej Bílka <neleai@seznam.cz>
19759
19760 [BZ #10253]
19761 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19762 (decompose_rpath): Defer expansion to fillin_rpath.
19763 (_dl_init_paths): Pass linkmap to fillin_rpath.
19764
250c23bd
RS
197652013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19766
19767 * benchtests/Makefile: Add strsep.
19768 * benchtests/bench-strsep.c: New file: strsep benchtest.
19769 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19770
a7931fcf
AS
197712013-11-18 Andreas Schwab <schwab@suse.de>
19772
19773 * locale/programs/locale.c (show_info) [case byte]: Check for
19774 '\377' instead of '\177'.
19775 * locale/C-monetary.c (not_available): Always use "\377".
19776 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19777 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19778 detect unavailable sign_posn locale elements.
19779 * locale/localeconv.c (__localeconv): For grouping and
19780 mon_grouping handle "\177" and "\377" like no grouping.
19781 (INT_ELEM): New macro. Use it to set all numeric members.
19782 * locale/programs/ld-monetary.c (monetary_read)
19783 <tok_mon_grouping>: Normalize single -1 to the empty string.
19784 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19785 Likewise.
19786
728dab0e
OB
197872013-11-07 Ondřej Bílka <neleai@seznam.cz>
19788
19789 [BZ #16055]
19790 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19791 when we match (nil).
19792 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19793
66294491
JM
197942013-11-16 Joseph Myers <joseph@codesourcery.com>
19795
ce665817
JM
19796 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19797 (NO_TEST_INLINE): Update value.
19798 (ERRNO_UNCHANGED): Likewise.
19799 (ERRNO_EDOM): Likewise.
19800 (ERRNO_ERANGE): Likewise.
19801 (IGNORE_RESULT): Likewise.
19802 (check_float_internal): Check signs of NaN results if
19803 TEST_NAN_SIGN used.
19804 (check_complex): Pass TEST_NAN_SIGN flag through to second
19805 check_float_internal call.
19806 (copysign_test_data): Add tests with quiet NaNs as second
19807 argument. Use TEST_NAN_SIGN.
19808 (fabs_test_data): Add test of negative quiet NaN argument. Use
19809 TEST_NAN_SIGN.
19810 (signbit_test_data): Add tests of quiet NaN argument.
19811 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19812
ee1466a9
JM
19813 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19814 $ignore_result.
19815 (parse_args): Handle function results specified as IGNORE.
19816 * math/libm-test.inc (IGNORE_RESULT): New macro.
19817 (check_float_internal): Do not check numerical result if flag
19818 IGNORE_RESULT set.
19819 (check_complex): Pass through IGNORE_RESULT to second
19820 check_float_internal call.
19821 (check_int): Do not check numerical result if flag IGNORE_RESULT
19822 set.
19823 (check_long): Likewise.
19824 (check_bool): Likewise.
19825 (check_longlong): Likewise.
19826 (lrint_test_data): Add tests of infinite and NaN arguments.
19827 (lrint_tonearest_test_data): Likewise.
19828 (lrint_towardzero_test_data): Likewise.
19829 (lrint_downward_test_data): Likewise.
19830 (lrint_upward_test_data): Likewise.
19831 (llrint_test_data): Likewise.
19832 (llrint_tonearest_test_data): Likewise.
19833 (llrint_towardzero_test_data): Likewise.
19834 (llrint_downward_test_data): Likewise.
19835 (llrint_upward_test_data): Likewise.
19836 (lround_test_data): Likewise.
19837 (llround_test_data): Likewise.
19838
14407b7e
JM
19839 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19840 (ERRNO_UNCHANGED): Update value.
19841 (ERRNO_EDOM): Likewise.
19842 (ERRNO_ERANGE): Likewise.
19843 (NO_TEST_INLINE_FLOAT): New macro.
19844 (NO_TEST_INLINE_DOUBLE): Likewise.
19845 (enable_test): New function.
19846 (RUN_TEST_f_f): Check enable_test before running test.
19847 (RUN_TEST_2_f): Likewise.
19848 (RUN_TEST_fff_f): Likewise.
19849 (RUN_TEST_c_f): Likewise.
19850 (RUN_TEST_f_f1): Likewise.
19851 (RUN_TEST_fF_f1): Likewise.
19852 (RUN_TEST_fI_f1): Likewise.
19853 (RUN_TEST_ffI_f1): Likewise.
19854 (RUN_TEST_c_c): Likewise.
19855 (RUN_TEST_cc_c): Likewise.
19856 (RUN_TEST_f_i): Likewise.
19857 (RUN_TEST_f_i_tg): Likewise.
19858 (RUN_TEST_ff_i_tg): Likewise.
19859 (RUN_TEST_f_b): Likewise.
19860 (RUN_TEST_f_b_tg): Likewise.
19861 (RUN_TEST_f_l): Likewise.
19862 (RUN_TEST_f_L): Likewise.
19863 (RUN_TEST_fFF_11): Likewise.
19864 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19865 conditionals.
19866 (cosh_test_data): Likewise.
19867 (exp_test_data): Likewise.
19868 (expm1_test_data): Likewise.
19869 (hypot_test_data): Likewise.
19870 (pow_test_data): Likewise.
19871 (sinh_test_data): Likewise.
19872 (tanh_test_data): Likewise.
19873 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19874 flags argument.
19875
ca07f197
JM
19876 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19877 tests with quiet NaN input and output.
19878 (acosh_test_data): Likewise.
19879 (asin_test_data): Likewise.
19880 (asinh_test_data): Likewise.
19881 (atan_test_data): Likewise.
19882 (atanh_test_data): Likewise.
19883 (atan2_test_data): Likewise.
19884 (cbrt_test_data): Likewise.
19885 (cos_test_data): Likewise.
19886 (cosh_test_data): Likewise.
19887 (erf_test_data): Likewise.
19888 (erfc_test_data): Likewise.
19889 (exp_test_data): Likewise.
19890 (exp10_test_data): Likewise.
19891 (exp2_test_data): Likewise.
19892 (expm1_test_data): Likewise.
19893 (hypot_test_data): Likewise.
19894 (j0_test_data): Likewise.
19895 (j1_test_data): Likewise.
19896 (jn_test_data): Likewise.
19897 (lgamma_test_data): Likewise.
19898 (log_test_data): Likewise.
19899 (log10_test_data): Likewise.
19900 (log1p_test_data): Likewise.
19901 (log2_test_data): Likewise.
19902 (pow_test_data): Likewise.
19903 (scalb_test_data): Likewise.
19904 (sin_test_data): Likewise.
19905 (sincos_test_data): Likewise.
19906 (sinh_test_data): Likewise.
19907 (tan_test_data): Likewise.
19908 (tanh_test_data): Likewise.
19909 (tgamma_test_data): Likewise.
19910 (y0_test_data): Likewise.
19911 (y1_test_data): Likewise.
19912 (yn_test_data): Likewise.
19913
66294491
JM
19914 [BZ #16167]
19915 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19916 argument being NaN and avoid computations with second argument in
19917 that case.
19918 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19919 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19920 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19921
1820b143
CL
199222013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19923
19924 * locale/iso-639.def: Add Chitwani Tharu (the).
19925
714bd261
AS
199262013-11-14 Andreas Schwab <schwab@suse.de>
19927
19928 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19929 word instead of empty string.
19930
7ab44563
AZ
199312013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19932
19933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19934 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19936 (__fe_nomask_env): Likewise.
19937
e8470ea2
SE
199382013-11-13 Steve Ellcey <sellcey@mips.com>
19939
19940 * benchtests/bench-timing.h: Include time.h.
19941
17c1d9f0
L
199422013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19943
19944 [BZ #15997]
19945 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19946 to 3.4.0 for x32.
19947 * sysdeps/unix/sysv/linux/configure: Regenerated.
19948
9310c284
JM
199492013-11-13 Joseph Myers <joseph@codesourcery.com>
19950
19951 [BZ #16151]
19952 * stdlib/strtod_l.c (round_and_return): Do not consider
19953 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19954 exponent one less than half the least subnormal exponent.
19955 * stdlib/test-strtod-round-data: Add more tests.
19956 * stdlib/tst-strtod-round.c (tests): Regenerated.
19957
7a2ad8cf
AZ
199582013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19959
19960 [BZ #14143]
19961 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19962 (__fe_mask_env): Likewise.
19963 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19964 libm_hidden_proto and add function prototype.
19965 (__fe_mask_env): Add function prototype.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19967 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19969 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19971 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19972
50727aa7
MS
199732013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19974
b2f386c1 19975 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
19976 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19977
a615be46
MS
199782013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19979
19980 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19981 of htab_find_slot().
19982
7ddace62
DM
199832013-11-11 David S. Miller <davem@davemloft.net>
19984
19985 [BZ #16150]
19986 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19987 symbol in the non-vis3 case in static builds.
19988 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19989 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19990 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19991 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19992
9182aa67
JK
199932013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19994
19995 [BZ #387]
19996 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19997 it is empty.
19998
450a2e2d
AZ
199992013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20000
b2f386c1
SP
20001 * benchtests/Makefile: Add bench-strtod.
20002 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 20003
8ec3f656
AS
200042013-11-11 Andreas Schwab <schwab@suse.de>
20005
20006 [BZ #16153]
20007 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20008 terminating NUL in key length.
20009
76a9b998
AZ
200102013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20011
20012 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20013 Add artificial ODP entry for vDSO symbol for PPC64.
20014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20015 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20016
e4368156
OB
200172013-11-07 Ondřej Bílka <neleai@seznam.cz>
20018
20019 [BZ #15374]
20020 * nss/getent.c (services_keys): Recognize services starting with digit.
20021
8d6bb57c
DM
200222013-11-06 David S. Miller <davem@davemloft.net>
20023
20024 [BZ #15985]
20025 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20026 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20027
e256c421
WN
200282013-11-06 Will Newton <will.newton@linaro.org>
20029
20030 * manual/memory.texi (Malloc Examples): Remove register
20031 keyword from examples.
20032
f6e12daa 200332013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 20034
f6e12daa 20035 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 20036
9d880655
AS
200372013-11-04 Joseph Myers <joseph@codesourcery.com>
20038
fd2f9486 20039 [BZ #6981]
9d880655
AS
20040 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20041 depending on [__GCC_IEC_559 > 0].
20042 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20043 depending on [__GCC_IEC_559_COMPLEX > 0].
20044
ae129d3c
CL
200452013-11-03 Chris Leonard <cjl@sugarlabs.org>
20046
20047 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20048 to iso-639.def.
20049
4a15c2a4 200502013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
20051
20052 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20053
8b35e35d
OB
200542013-11-01 Ondřej Bílka <neleai@seznam.cz>
20055
20056 [BZ #16112]
20057 * malloc/malloc (malloc_info): Do not handle first bin as
20058 special case.
20059
1d70fd6c
CL
200602013-11-01 Chris Leonard <cjl@sugarlabs.org>
20061
20062 * locale/iso-639.def: Add Central Nahuatl (nhn).
20063
8c5c2600
BH
200642013-11-01 Bruno Haible <bruno@clisp.org>
20065
20066 [BZ #7003]
20067 * manual/math.texi (BSD Random): Specify range upper bound as
20068 in POSIX.
20069
da5579c2
CL
200702013-10-31 Chris Leonard <cjl@sugarlabs.org>
20071
20072 * locale/iso-639.def: Add Meadow Mari (mhr).
20073
5d30d853
OB
200742013-10-31 Ondřej Bílka <neleai@seznam.cz>
20075
20076 [BZ #14752], [BZ #15763]
20077 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20078 Validate name.
20079 * rt/tst_shm.c: Add test for escaping directory.
20080
a4966c61
AS
200812013-10-31 Andreas Schwab <schwab@suse.de>
20082
8a43e768 20083 [BZ #15917]
a4966c61
AS
20084 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20085 followed by 'x' as part of digit sequence.
20086 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20087
28d708c4
MAP
200882013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20089
20090 [BZ #16037]
20091 * configure.ac: allow GNU Make 4.0 and greater.
20092 * configure: Regenerated.
20093
a56ee40b
WN
200942013-10-30 Will Newton <will.newton@linaro.org>
20095
20096 [BZ #16038]
20097 * malloc/hooks.c (memalign_check): Limit alignment to the
20098 maximum representable power of two.
20099 * malloc/malloc.c (__libc_memalign): Likewise.
20100 * malloc/tst-memalign.c (do_test): Add test for very
20101 large alignment values.
20102 * malloc/tst-posix_memalign.c (do_test): Likewise.
20103
c6e4925d
OB
201042013-10-30 Ondřej Bílka <neleai@seznam.cz>
20105
20106 [BZ #11087]
20107 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20108 (munmap_chunk): Likewise.
20109 (mremap_chunk): Likewise.
20110
201112013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 20112
8a43e768 20113 [BZ #15799]
bbea82f7
OB
20114 * stdlib/div.c (div): Remove obsolete code.
20115 * stdlib/ldiv.c (ldiv): Likewise.
20116 * stdlib/lldiv.c (lldiv): Likewise.
20117
977f4b31
SP
201182013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20119
20120 [BZ #16071]
20121 * nss/nss_files/files-XXX.c (get_contents_ret): New
20122 enumerator.
20123 (get_contents): New function.
20124 (internal_getent): Use it. Expand size of LINEBUFLEN.
20125
cb8a6dbd
MF
201262013-10-30 Mike Frysinger <vapier@gentoo.org>
20127
20128 * configure.in: Moved to ...
20129 * configure.ac: ... here. Change reference to configure.in
20130 to configure.ac.
20131 * sysdeps/arm/preconfigure.ac: ... here.
20132 configure.in to configure.ac.
20133 * sysdeps/gnu/configure.in: Moved to ...
20134 * sysdeps/gnu/configure.ac: ... here.
20135 * sysdeps/i386/configure.in: Moved to ...
20136 * sysdeps/i386/configure.ac: ... here.
20137 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20138 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20139 * sysdeps/mach/configure.in: Moved to ...
20140 * sysdeps/mach/configure.ac: ... here.
20141 * sysdeps/mach/hurd/configure.in: Moved to ...
20142 * sysdeps/mach/hurd/configure.ac: ... here.
20143 * sysdeps/powerpc/configure.in: Moved to ...
20144 * sysdeps/powerpc/configure.ac: ... here.
20145 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20146 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20147 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20148 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20149 * sysdeps/s390/s390-32/configure.in: Moved to ...
20150 * sysdeps/s390/s390-32/configure.ac: ... here.
20151 * sysdeps/s390/s390-64/configure.in: Moved to ...
20152 * sysdeps/s390/s390-64/configure.ac: ... here.
20153 * sysdeps/sh/configure.in: Moved to ...
20154 * sysdeps/sh/configure.ac: ... here.
20155 * sysdeps/sparc/configure.in: Moved to ...
20156 * sysdeps/sparc/configure.ac: ... here.
20157 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20158 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20159 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20160 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20161 * sysdeps/x86_64/configure.in: Moved to ...
20162 * sysdeps/x86_64/configure.ac: ... here.
20163 * sysdeps/x86_64/preconfigure.in: Moved to ...
20164 * sysdeps/x86_64/preconfigure.ac: ... here.
20165 * aclocal.m4: Change reference to configure.in to configure.ac.
20166 * config.h.in: Likewise.
20167 * manual/install.texi: Likewise.
20168 * manual/maint.texi: Likewise.
20169 * Makefile: Likewise.
20170 * malloc/Makefile: Likewise.
20171 * nscd/Makefile: Likewise.
20172 * Makeconfig: Change reference to configure.in and
20173 preconfigure.in to configure.ac and preconfigure.ac
20174 respectively.
20175 * INSTALL: Regenerated.
20176 * configure: Likewise.
20177 * sysdeps/gnu/configure: Likewise.
20178 * sysdeps/i386/configure: Likewise.
20179 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20180 * sysdeps/mach/configure: Likewise.
20181 * sysdeps/mach/hurd/configure: Likewise.
20182 * sysdeps/powerpc/configure: Likewise.
20183 * sysdeps/powerpc/powerpc32/configure: Likewise.
20184 * sysdeps/powerpc/powerpc64/configure: Likewise.
20185 * sysdeps/s390/s390-32/configure: Likewise.
20186 * sysdeps/s390/s390-64/configure: Likewise.
20187 * sysdeps/sh/configure: Likewise.
20188 * sysdeps/sparc/configure: Likewise.
20189 * sysdeps/unix/sysv/linux/configure: Likewise.
20190 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20191 * sysdeps/x86_64/configure: Likewise.
20192 * sysdeps/x86_64/preconfigure: Likewise.
20193
36a4953a
AS
201942013-10-29 Andreas Schwab <schwab@suse.de>
20195
20196 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20197
c79a1204
SP
201982013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20199
dfa1b402
SP
20200 * benchtests/pow-inputs: Add new inputs.
20201
54f73d9c
SP
20202 * benchtests/exp-inputs: Add new inputs.
20203
c79a1204
SP
20204 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20205 conditional check for return value.
20206 (__cos32): Likewise.
20207
67beb545 202082013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
20209
20210 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20211 to provide a boost for large inputs with word alignment.
20212 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20213 implementation based on optimized PPC64 strcpy.
20214 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20215 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20216 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20217 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20218
151659f6
OB
202192013-10-25 Ondřej Bílka <neleai@seznam.cz>
20220
482a077e 20221 [BZ #2801]
151659f6
OB
20222 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20223
10b0f26b
OB
202242013-10-25 Ondřej Bílka <neleai@seznam.cz>
20225
20226 [BZ #14876]
20227 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20228 * time/tst-strptime.c (day_tests): Add testcase.
20229
ca42d35e
OB
202302013-10-25 Ondřej Bílka <neleai@seznam.cz>
20231
482a077e 20232 [BZ #14029]
ca42d35e
OB
20233 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20234
52e6d801
FB
202352013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20236
20237 [BZ #16074]
20238 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20239 MAP_FAILED on error.
20240
7cbcdb36
SP
202412013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20242
20243 [BZ #16072]
20244 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20245 heap for large requests.
20246
894f3f10
AM
202472013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20248
20249 [BZ #9954]
20250 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20251 result if the result has no associated interface.
20252 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20253 interface for all 127.X.Y.Z addresses.
20254
b85545a6
CL
202552013-10-24 Chris Leonard <cjl@sugarlabs.org>
20256
20257 * locale/iso-639.def: Add Ligurian (lij)
20258
d1f23d46
OB
202592013-10-21 Ondřej Bílka <neleai@seznam.cz>
20260
20261 [BZ #15825]
20262 * sunrpc/rpc_main.c: Document rpcgen -5.
20263
4db5b08f
MS
202642013-10-19 Michael Stahl <mstahl@redhat.com>
20265
20266 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20267
a471e96a
OB
202682013-10-19 Ondřej Bílka <neleai@seznam.cz>
20269
d1f23d46 20270 [BZ #10278]
a471e96a
OB
20271 * posix/glob.c: Match only directories when trailing slash is present.
20272 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20273 (main): Add testcase.
20274
45c30c61
OB
202752013-10-19 Ondřej Bílka <neleai@seznam.cz>
20276
20277 [BZ #15670]
20278 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20279
484c12fb
CD
202802013-10-18 Carlos O'Donell <carlos@redhat.com>
20281
3d7dc513
CD
20282 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20283 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20284 AUTH_DES and cindex for FIPS 140-2.
20285 (DES Encryption): Add cindex FIPS 46-3.
20286
484c12fb
CD
20287 * locale/locarchive.h (struct locarhandle): Add fname.
20288 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20289 if an optional argument was specified to --list-archive,
20290 otherwise NULL.
20291 * locale/programs/locarchive.c (show_archive_content): Take new
20292 argument fname and pass it via ah.fname to open_archive.
20293 * locale/programs/localedef.h: Update decl.
20294 (open_archive): If AH->fname is non-null, open that file
20295 rather than the default file name, and don't ignore ENOENT.
20296 (create_archive): Set AH.fname to NULL.
20297 (delete_locales_from_archive): Likewise.
20298 (add_locales_to_archive): Likewise.
20299 * locale/programs/locfile.c (write_all_categories): Likewise.
20300
3c8325fb
JM
203012013-10-18 Joseph Myers <joseph@codesourcery.com>
20302 Aldy Hernandez <aldyh@redhat.com>
20303
20304 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20305 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20306 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20307 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20308 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20309 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20310 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20311 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20312 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20313 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20314 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20315 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20316 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20317 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20318 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20319 Likewise.
20320 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20321 Likewise.
20322 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20323 Likewise.
20324 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20325 Likewise.
20326 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20327 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20328 Likewise.
20329 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20330 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20331 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20332 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20333 Likewise.
20334 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20335 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20336 * sysdeps/powerpc/preconfigure: Likewise.
20337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20338 Likewise.
20339 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20340 Replace contents of file by #include of <fenv_libc.h>.
20341 * sysdeps/powerpc/soft-fp/sfp-machine.h
20342 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20343 and <sys/prctl.h>.
20344 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20345 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20346 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20347 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20348 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20349 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20351 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20352 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20353 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20354 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20355 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20357 Allow copysignl PLT reference to be missing.
20358
5abe0682
RS
203592013-10-18 Richard Sandiford <richard@codesourcery.com>
20360 Joseph Myers <joseph@codesourcery.com
20361
20362 [BZ #15948]
20363 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20364 single character.
20365 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20366
c7738d08
SP
203672013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20368
20369 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20370 * elf/tst-tls1.c: Likewise.
20371 * elf/tst-tls10.h: Likewise.
20372 * elf/tst-tls14.c: Likewise.
20373 * elf/tst-tls2.c: Likewise.
20374 * elf/tst-tls3.c: Likewise.
20375 * elf/tst-tls4.c: Likewise.
20376 * elf/tst-tls5.c: Likewise.
20377 * elf/tst-tls6.c: Likewise.
20378 * elf/tst-tls7.c: Likewise.
20379 * elf/tst-tls8.c: Likewise.
20380 * elf/tst-tls9.c: Likewise.
20381 * elf/tst-tlsmod1.c: Likewise.
20382 * elf/tst-tlsmod13.c: Likewise.
20383 * elf/tst-tlsmod13a.c: Likewise.
20384 * elf/tst-tlsmod14a.c: Likewise.
20385 * elf/tst-tlsmod16a.c: Likewise.
20386 * elf/tst-tlsmod16b.c: Likewise.
20387 * elf/tst-tlsmod2.c: Likewise.
20388 * elf/tst-tlsmod3.c: Likewise.
20389 * elf/tst-tlsmod4.c: Likewise.
20390 * elf/tst-tlsmod5.c: Likewise.
20391 * elf/tst-tlsmod6.c: Likewise.
20392
0bfcf2c7
OB
203932013-10-18 Ondřej Bílka <neleai@seznam.cz>
20394
20395 [BZ #12486]
20396 * malloc/malloc.c: remove checks for statistics.
20397
264aad1e
OB
203982013-10-17 Ondřej Bílka <neleai@seznam.cz>
20399
20400 [BZ #15277]
20401 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20402 * inet/tst-network.c: Add testcase.
20403
b957ced8
AS
204042013-10-17 Andreas Schwab <schwab@suse.de>
20405
20406 [BZ #15218]
20407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20408 to determine canonical name.
20409
c5d5d574
OB
204102013-10-17 Ondřej Bílka <neleai@seznam.cz>
20411
20412 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20413 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20418 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20419 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20420 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20421 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20424 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20425 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20426 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20427 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20429 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20430 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20431 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20432 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20434 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20435 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20436 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20437 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20438 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20439 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20440 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20441 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20442 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20443 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20444 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20445 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20446 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20447 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20448 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20449 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20450 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20451 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20452 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20453 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20454 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20455 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20456 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20457 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20458 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20459 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20460 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20461 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20462 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20463 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20464 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20465 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20466 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20467 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20468 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20469 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20470
e5c2c2d0
JM
204712013-10-17 Joseph Myers <joseph@codesourcery.com>
20472
20473 [BZ #16041]
20474 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20475 make result into a quiet NaN.
20476
51ca9e29
JM
204772013-10-16 Joseph Myers <joseph@codesourcery.com>
20478
20479 * soft-fp/adddf3.c: Fix horizontal whitespace.
20480 * soft-fp/addsf3.c: Likewise.
20481 * soft-fp/addtf3.c: Likewise.
20482 * soft-fp/divdf3.c: Likewise.
20483 * soft-fp/divsf3.c: Likewise.
20484 * soft-fp/divtf3.c: Likewise.
20485 * soft-fp/double.h: Likewise.
20486 * soft-fp/eqdf2.c: Likewise.
20487 * soft-fp/eqsf2.c: Likewise.
20488 * soft-fp/eqtf2.c: Likewise.
20489 * soft-fp/extenddftf2.c: Likewise.
20490 * soft-fp/extended.h: Likewise.
20491 * soft-fp/extendsfdf2.c: Likewise.
20492 * soft-fp/extendsftf2.c: Likewise.
20493 * soft-fp/extendxftf2.c: Likewise.
20494 * soft-fp/fixdfdi.c: Likewise.
20495 * soft-fp/fixdfsi.c: Likewise.
20496 * soft-fp/fixdfti.c: Likewise.
20497 * soft-fp/fixsfdi.c: Likewise.
20498 * soft-fp/fixsfsi.c: Likewise.
20499 * soft-fp/fixsfti.c: Likewise.
20500 * soft-fp/fixtfdi.c: Likewise.
20501 * soft-fp/fixtfsi.c: Likewise.
20502 * soft-fp/fixtfti.c: Likewise.
20503 * soft-fp/fixunsdfdi.c: Likewise.
20504 * soft-fp/fixunsdfsi.c: Likewise.
20505 * soft-fp/fixunsdfti.c: Likewise.
20506 * soft-fp/fixunssfdi.c: Likewise.
20507 * soft-fp/fixunssfsi.c: Likewise.
20508 * soft-fp/fixunssfti.c: Likewise.
20509 * soft-fp/fixunstfdi.c: Likewise.
20510 * soft-fp/fixunstfsi.c: Likewise.
20511 * soft-fp/fixunstfti.c: Likewise.
20512 * soft-fp/floatdidf.c: Likewise.
20513 * soft-fp/floatdisf.c: Likewise.
20514 * soft-fp/floatditf.c: Likewise.
20515 * soft-fp/floatsidf.c: Likewise.
20516 * soft-fp/floatsisf.c: Likewise.
20517 * soft-fp/floatsitf.c: Likewise.
20518 * soft-fp/floattidf.c: Likewise.
20519 * soft-fp/floattisf.c: Likewise.
20520 * soft-fp/floattitf.c: Likewise.
20521 * soft-fp/floatundidf.c: Likewise.
20522 * soft-fp/floatundisf.c: Likewise.
20523 * soft-fp/floatunditf.c: Likewise.
20524 * soft-fp/floatunsidf.c: Likewise.
20525 * soft-fp/floatunsisf.c: Likewise.
20526 * soft-fp/floatunsitf.c: Likewise.
20527 * soft-fp/floatuntidf.c: Likewise.
20528 * soft-fp/floatuntisf.c: Likewise.
20529 * soft-fp/floatuntitf.c: Likewise.
20530 * soft-fp/fmadf4.c: Likewise.
20531 * soft-fp/fmasf4.c: Likewise.
20532 * soft-fp/fmatf4.c: Likewise.
20533 * soft-fp/gedf2.c: Likewise.
20534 * soft-fp/gesf2.c: Likewise.
20535 * soft-fp/getf2.c: Likewise.
20536 * soft-fp/ledf2.c: Likewise.
20537 * soft-fp/lesf2.c: Likewise.
20538 * soft-fp/letf2.c: Likewise.
20539 * soft-fp/muldf3.c: Likewise.
20540 * soft-fp/mulsf3.c: Likewise.
20541 * soft-fp/multf3.c: Likewise.
20542 * soft-fp/negdf2.c: Likewise.
20543 * soft-fp/negsf2.c: Likewise.
20544 * soft-fp/negtf2.c: Likewise.
20545 * soft-fp/op-1.h: Likewise.
20546 * soft-fp/op-2.h: Likewise.
20547 * soft-fp/op-4.h: Likewise.
20548 * soft-fp/op-8.h: Likewise.
20549 * soft-fp/op-common.h: Likewise.
20550 * soft-fp/quad.h: Likewise.
20551 * soft-fp/single.h: Likewise.
20552 * soft-fp/soft-fp.h: Likewise.
20553 * soft-fp/sqrtdf2.c: Likewise.
20554 * soft-fp/sqrtsf2.c: Likewise.
20555 * soft-fp/sqrttf2.c: Likewise.
20556 * soft-fp/subdf3.c: Likewise.
20557 * soft-fp/subsf3.c: Likewise.
20558 * soft-fp/subtf3.c: Likewise.
20559 * soft-fp/truncdfsf2.c: Likewise.
20560 * soft-fp/trunctfdf2.c: Likewise.
20561 * soft-fp/trunctfsf2.c: Likewise.
20562 * soft-fp/trunctfxf2.c: Likewise.
20563 * soft-fp/unorddf2.c: Likewise.
20564 * soft-fp/unordsf2.c: Likewise.
20565 * soft-fp/unordtf2.c: Likewise.
20566
9ebb0332
JM
205672013-10-15 Joseph Myers <joseph@codesourcery.com>
20568
20569 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20570 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20571
4b1a6d8b
OB
205722013-10-15 Ondřej Bílka <neleai@seznam.cz>
20573
20574 * elf/dl-libc.c: Clear initfini list after freeing.
20575
1e145589
JM
205762013-10-14 Joseph Myers <joseph@codesourcery.com>
20577
20578 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20579 * soft-fp/addsf3.c: Likewise.
20580 * soft-fp/addtf3.c: Likewise.
20581 * soft-fp/divdf3.c: Likewise.
20582 * soft-fp/divsf3.c: Likewise.
20583 * soft-fp/divtf3.c: Likewise.
20584 * soft-fp/double.h: Likewise.
20585 * soft-fp/eqdf2.c: Likewise.
20586 * soft-fp/eqsf2.c: Likewise.
20587 * soft-fp/eqtf2.c: Likewise.
20588 * soft-fp/extenddftf2.c: Likewise.
20589 * soft-fp/extended.h: Likewise.
20590 * soft-fp/extendsfdf2.c: Likewise.
20591 * soft-fp/extendsftf2.c: Likewise.
20592 * soft-fp/extendxftf2.c: Likewise.
20593 * soft-fp/fixdfdi.c: Likewise.
20594 * soft-fp/fixdfsi.c: Likewise.
20595 * soft-fp/fixdfti.c: Likewise.
20596 * soft-fp/fixsfdi.c: Likewise.
20597 * soft-fp/fixsfsi.c: Likewise.
20598 * soft-fp/fixsfti.c: Likewise.
20599 * soft-fp/fixtfdi.c: Likewise.
20600 * soft-fp/fixtfsi.c: Likewise.
20601 * soft-fp/fixtfti.c: Likewise.
20602 * soft-fp/fixunsdfdi.c: Likewise.
20603 * soft-fp/fixunsdfsi.c: Likewise.
20604 * soft-fp/fixunsdfti.c: Likewise.
20605 * soft-fp/fixunssfdi.c: Likewise.
20606 * soft-fp/fixunssfsi.c: Likewise.
20607 * soft-fp/fixunssfti.c: Likewise.
20608 * soft-fp/fixunstfdi.c: Likewise.
20609 * soft-fp/fixunstfsi.c: Likewise.
20610 * soft-fp/fixunstfti.c: Likewise.
20611 * soft-fp/floatdidf.c: Likewise.
20612 * soft-fp/floatdisf.c: Likewise.
20613 * soft-fp/floatditf.c: Likewise.
20614 * soft-fp/floatsidf.c: Likewise.
20615 * soft-fp/floatsisf.c: Likewise.
20616 * soft-fp/floatsitf.c: Likewise.
20617 * soft-fp/floattidf.c: Likewise.
20618 * soft-fp/floattisf.c: Likewise.
20619 * soft-fp/floattitf.c: Likewise.
20620 * soft-fp/floatundidf.c: Likewise.
20621 * soft-fp/floatundisf.c: Likewise.
20622 * soft-fp/floatunsidf.c: Likewise.
20623 * soft-fp/floatunsisf.c: Likewise.
20624 * soft-fp/floatuntidf.c: Likewise.
20625 * soft-fp/floatuntisf.c: Likewise.
20626 * soft-fp/floatuntitf.c: Likewise.
20627 * soft-fp/fmadf4.c: Likewise.
20628 * soft-fp/fmasf4.c: Likewise.
20629 * soft-fp/fmatf4.c: Likewise.
20630 * soft-fp/gedf2.c: Likewise.
20631 * soft-fp/gesf2.c: Likewise.
20632 * soft-fp/getf2.c: Likewise.
20633 * soft-fp/ledf2.c: Likewise.
20634 * soft-fp/lesf2.c: Likewise.
20635 * soft-fp/letf2.c: Likewise.
20636 * soft-fp/muldf3.c: Likewise.
20637 * soft-fp/mulsf3.c: Likewise.
20638 * soft-fp/multf3.c: Likewise.
20639 * soft-fp/negdf2.c: Likewise.
20640 * soft-fp/negsf2.c: Likewise.
20641 * soft-fp/negtf2.c: Likewise.
20642 * soft-fp/op-1.h: Likewise.
20643 * soft-fp/op-2.h: Likewise.
20644 * soft-fp/op-4.h: Likewise.
20645 * soft-fp/op-8.h: Likewise.
20646 * soft-fp/op-common.h: Likewise.
20647 * soft-fp/quad.h: Likewise.
20648 * soft-fp/single.h: Likewise.
20649 * soft-fp/soft-fp.h: Likewise.
20650 * soft-fp/sqrtdf2.c: Likewise.
20651 * soft-fp/sqrtsf2.c: Likewise.
20652 * soft-fp/sqrttf2.c: Likewise.
20653 * soft-fp/subdf3.c: Likewise.
20654 * soft-fp/subsf3.c: Likewise.
20655 * soft-fp/subtf3.c: Likewise.
20656 * soft-fp/truncdfsf2.c: Likewise.
20657 * soft-fp/trunctfdf2.c: Likewise.
20658 * soft-fp/trunctfsf2.c: Likewise.
20659 * soft-fp/trunctfxf2.c: Likewise.
20660 * soft-fp/unorddf2.c: Likewise.
20661 * soft-fp/unordsf2.c: Likewise.
20662 * soft-fp/unordtf2.c: Likewise.
20663
17c48a60
OB
206642013-10-14 Ondřej Bílka <neleai@seznam.cz>
20665
20666 [BZ #15672]
20667 * misc/error.c (error_tail): Fix possible buffer overflow.
20668
cabba934
OB
206692013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20670
20671 [BZ #13028]
20672 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20673 address.
20674
94bf958a
PM
206752013-10-14 P. J. McDermott <pj@pehjota.net>
20676
20677 [BZ #832]
20678 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20679 testing pipefail option.
20680
71b4dea7
JM
206812013-10-12 Joseph Myers <joseph@codesourcery.com>
20682
20683 * soft-fp/double.h: Indent preprocessor directives inside #if.
20684 * soft-fp/extended.h: Likewise.
20685 * soft-fp/op-2.h: Likewise.
20686 * soft-fp/op-4.h: Likewise.
20687 * soft-fp/op-common.h: Likewise.
20688 * soft-fp/quad.h: Likewise.
20689 * soft-fp/single.h: Likewise.
20690 * soft-fp/soft-fp.h: Likewise.
20691
55602758
YC
206922013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20693
20694 * iconv/iconv_prog.c: Fix typos.
20695 * stdio-common/psiginfo-data.h: Likewise.
20696
9cd83302
RT
206972013-10-12 Reuben Thomas <rrt@sc3d.org>
20698
20699 [BZ #15764]
20700 * locale/setlocale.c: Fix typo.
20701
99fd9f47
JM
207022013-10-12 Joseph Myers <joseph@codesourcery.com>
20703
b7ea74f0
JM
20704 [BZ #16036]
20705 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20706 signaling NaN arguments.
20707 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20708 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20709
8a509447
JM
20710 [BZ #14910]
20711 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20712 unordered operands.
20713 * soft-fp/gesf2.c (__gesf2): Likewise.
20714 * soft-fp/getf2.c (__getf2): Likewise.
20715 * soft-fp/ledf2.c (__ledf2): Likewise.
20716 * soft-fp/lesf2.c (__lesf2): Likewise.
20717 * soft-fp/letf2.c (__letf2): Likewise.
20718
98998e9f
JM
20719 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20720 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20721 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20722 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20723 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20724 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20725 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20726 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20727 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20728 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20729 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20730 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20731 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20732 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20733 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20734 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20735 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20736 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20737 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20738 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20739 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20740 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20741 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20742 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20743 * soft-fp/floattidf.c (__floattidf): Likewise.
20744 * soft-fp/floattisf.c (__floattisf): Likewise.
20745 * soft-fp/floattitf.c (__floattitf): Likewise.
20746 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20747 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20748 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20749 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20750 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20751 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20752 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20753 * soft-fp/gesf2.c (__gesf2): Likewise.
20754 * soft-fp/getf2.c (__getf2): Likewise.
20755 * soft-fp/ledf2.c (__ledf2): Likewise.
20756 * soft-fp/lesf2.c (__lesf2): Likewise.
20757 * soft-fp/letf2.c (__letf2): Likewise.
20758
8edc4a11
JM
20759 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20760 Undefine and redefine.
20761 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20762 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20763 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20764 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20765 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20766 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20767 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20768 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20769 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20770 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20771 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20772 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20773 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20774 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20775 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20776
8399acaf
JM
20777 [BZ #16032]
20778 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20779 without decrementing exponent if mantissa >= that for the
20780 denominator, not >.
20781 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20782 denominator, not >. Decrement exponent in < case instead of
20783 incrementing in >= case.
20784 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20785 without decrementing exponent if mantissa >= that for the
20786 denominator, not >.
20787
99fd9f47
JM
20788 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20789 computing saturated result for unsigned overflow.
20790
10e1cf6b
SP
207912013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20792 Jeff Law <law@redhat.com>
20793
20794 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20795 (atan2Mp): Add systemtap probe marker.
20796 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20797 (__ieee754_log): Add systemtap probe marker.
20798 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20799 (atanMp): Add systemtap probe marker.
20800 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20801 (tanMp): Add systemtap probe marker.
20802 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20803 (__slowexp): Add systemtap probe marker.
20804 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20805 (__slowpow): Add systemtap probe marker.
20806 * manual/probes.texi: Document probes.
20807
3d110c7c
EB
208082013-10-11 Eric Biggers <ebiggers3@gmail.com>
20809
20810 [BZ #15362]
20811 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20812 written.
20813 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20814 written.
20815 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20816 written to buffer but not flushed.
20817 * libio/iofwrite_u.c: Likewise.
20818 * libio/iopadn.c: Return bytes returned even if EOF was
20819 encountered.
20820 * libio/iowpadn.c: Likewise.
20821 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20822 if _IO_padn does not write the whole buffer.
20823 [!COMPILE_WPRINTF] (PAD): Likewise.
20824
75b4202a
DM
208252013-10-10 David S. Miller <davem@davemloft.net>
20826
20827 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20828 directory block.
20829
6c6352e6
JM
208302013-10-10 Joseph Myers <joseph@codesourcery.com>
20831
33b853c3
JM
20832 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20833 instead of FSF address.
20834 * soft-fp/fixdfti.c: Likewise.
20835 * soft-fp/fixsfti.c: Likewise.
20836 * soft-fp/fixtfti.c: Likewise.
20837 * soft-fp/fixunsdfti.c: Likewise.
20838 * soft-fp/fixunssfti.c: Likewise.
20839 * soft-fp/fixunstfti.c: Likewise.
20840 * soft-fp/floattidf.c: Likewise.
20841 * soft-fp/floattisf.c: Likewise.
20842 * soft-fp/floattitf.c: Likewise.
20843 * soft-fp/floatuntidf.c: Likewise.
20844 * soft-fp/floatuntisf.c: Likewise.
20845 * soft-fp/floatuntitf.c: Likewise.
20846 * soft-fp/trunctfxf2.c: Likewise.
20847
6c6352e6
JM
20848 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20849 * soft-fp/fixdfti.c: Likewise.
20850 * soft-fp/fixsfti.c: Likewise.
20851 * soft-fp/fixtfti.c: Likewise.
20852 * soft-fp/fixunsdfti.c: Likewise.
20853 * soft-fp/fixunssfti.c: Likewise.
20854 * soft-fp/fixunstfti.c: Likewise.
20855 * soft-fp/floattidf.c: Likewise.
20856 * soft-fp/floattisf.c: Likewise.
20857 * soft-fp/floattitf.c: Likewise.
20858 * soft-fp/floatuntidf.c: Likewise.
20859 * soft-fp/floatuntisf.c: Likewise.
20860 * soft-fp/floatuntitf.c: Likewise.
20861 * soft-fp/trunctfxf2.c: Likewise.
20862
3bf78b71
DM
208632013-10-10 David S. Miller <davem@davemloft.net>
20864
20865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20866
6f10289e
JM
208672013-10-10 Joseph Myers <joseph@codsourcery.com>
20868
bd878fc0
JM
20869 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20870 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20871 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20872 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20873 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20874 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20875 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20876
6f10289e
JM
20877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20878 for NaNs before doing comparisons on argument.
20879 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20880 Likewise.
20881
321e2684
WN
208822013-10-10 Will Newton <will.newton@linaro.org>
20883
20884 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20885 passed to _int_memalign does not overflow.
20886
40fefba1
TR
208872013-10-10 Torvald Riegel <triegel@redhat.com>
20888
20889 * scripts/bench.pl: Add include-sources directive.
20890 * benchtests/README: Update documentation.
20891
2ae21ed2
JM
208922013-10-10 Joseph Myers <joseph@codesourcery.com>
20893
dcc2dd3f
JM
20894 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20895 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20896 instead of FP_INIT_ROUNDMODE.
20897 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20898 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20899
2ae21ed2
JM
20900 [BZ #16034]
20901 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20902 copy class of input value.
20903 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20904 not handle exceptions.
20905 * soft-fp/negsf2.c (__negsf2): Likewise.
20906 * soft-fp/negtf2.c (__negtf2): Likewise.
20907 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20908
cb8f9562
JM
209092013-10-09 Joseph Myers <joseph@codesourcery.com>
20910
20911 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20912 semicolon. From Linux kernel.
20913
5b60c59d
AB
209142013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20915
20916 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20917
b86835ca
YC
209182013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20919
20920 [BZ #156]
20921 * manual/socket.texi: Added statement about buffer
20922 for gethostbyname2_r.
20923
e7044ea7
OB
209242013-10-08 Ondřej Bílka <neleai@seznam.cz>
20925
20926 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20927 Use .p2align directive instead, throughout.
20928 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20929 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20930 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20931 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20932 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20933 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20934 * sysdeps/x86_64/strchr.S: Likewise.
20935 * sysdeps/x86_64/strrchr.S: Likewise.
20936
09544cbc
SP
209372013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20938
88576635
SP
20939 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20940
e7b2d1dd
SP
20941 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20942
09544cbc
SP
20943 * sysdeps/generic/math_private.h (__mpsin1): Remove
20944 declaration.
20945 (__mpcos1): Likewise.
20946 (__mpsin): New argument __range_reduce.
20947 (__mpcos): Likewise.
20948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20949 (slow): Use __mpsin and __mpcos.
20950 (slow1): Likewise.
20951 (slow2): Likewise.
20952 (sloww): Likewise.
20953 (sloww1): Likewise.
20954 (sloww2): Likewise.
20955 (bsloww): Likewise.
20956 (bsloww1): Likewise.
20957 (bsloww2): Likewise.
20958 (cslow2): Likewise.
20959 (csloww): Likewise.
20960 (csloww1): Likewise.
20961 (csloww2): Likewise.
20962 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20963 range_reduce. Merge in __mpsin1.
20964 (__mpcos): Likewise.
20965 (__mpsin1): Remove.
20966 (__mpcos1): Likewise.
20967
7602d070
JM
209682013-10-07 Joseph Myers <joseph@codesourcery.com>
20969
20970 * locale/loadlocale.c (_nl_intern_locale_data): Use
20971 LOCFILE_ALIGNED_P.
20972 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20973 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20974 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20975 obstack data is appropriately aligned.
20976 (obstack_int32_grow_fast): Likewise.
20977 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20978 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20979 (add_locale_uint32_array): Likewise.
20980
a357259b
SP
209812013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20982
20983 * benchtests/Makefile: Remove ARGLIST and RET variables.
20984 ($(objpfx)bench-%.c): Pass only function name to the script.
20985 * benchtests/README: Update documentation.
20986 * benchtests/acos-inputs: Add new directives.
20987 * benchtests/acosh-inputs: Likewise.
20988 * benchtests/asin-inputs: Likewise.
20989 * benchtests/asinh-inputs: Likewise.
20990 * benchtests/atan-inputs: Likewise.
20991 * benchtests/atanh-inputs: Likewise.
20992 * benchtests/cos-inputs: Likewise.
20993 * benchtests/cosh-inputs: Likewise.
20994 * benchtests/exp-inputs: Likewise.
20995 * benchtests/log-inputs: Likewise.
20996 * benchtests/pow-inputs: Likewise.
20997 * benchtests/rint-inputs: Likewise.
20998 * benchtests/sin-inputs: Likewise.
20999 * benchtests/sinh-inputs: Likewise.
21000 * benchtests/tan-inputs: Likewise.
21001 * benchtests/tanh-inputs: Likewise.
21002 * scripts/bench.pl: Add support for new directives.
21003
9ec1b13d
AM
210042013-10-07 Alan Modra <amodra@gmail.com>
21005
21006 * README: Fix careless merge.
21007
8b7d57cd
AM
210082013-10-05 Alan Modra <amodra@gmail.com>
21009
21010 * NEWS: Mention powerpc64le support and bugs fixed.
21011 * README: Both big-endian and little-endian powerpc64 supported.
21012
7b7bab13
ST
210132013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21014
57f41c40
AS
21015 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21016 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
21017 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21018 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21019
d39baad1
RA
210202013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21021
21022 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21023 match prototype.
21024
cd78f7e7
JM
210252013-10-04 Joseph Myers <joseph@codesourcery.com>
21026
29d73d86
JM
21027 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21028 Move -mhard-float appending from
21029 ports/sysdeps/powerpc/powerpc32/Makefile.
21030 [$(with-fp) = yes] (ASFLAGS): Likewise.
21031 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21032 * sysdeps/powerpc/nofpu: Move directory from
21033 ports/sysdeps/powerpc/nofpu.
21034 * sysdeps/powerpc/soft-fp: Move directory from
21035 ports/sysdeps/powerpc/soft-fp.
21036 * sysdeps/powerpc/powerpc32/405: Move directory from
21037 ports/sysdeps/powerpc/powerpc32/405.
21038 * sysdeps/powerpc/powerpc32/440: Move directory from
21039 ports/sysdeps/powerpc/powerpc32/440.
21040 * sysdeps/powerpc/powerpc32/464: Move directory from
21041 ports/sysdeps/powerpc/powerpc32/464.
21042 * sysdeps/powerpc/powerpc32/476: Move directory from
21043 ports/sysdeps/powerpc/powerpc32/476.
21044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21045 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21047 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21049 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21051 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21053 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21054 * README: Update for powerpc-*-linux-gnu software floating point
21055 support in libc.
21056
e246b347
JM
21057 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21058 case to powerpc/powerpc32*.
21059 * sysdeps/unix/sysv/linux/configure: Regenerated.
21060
89c2003e
JM
21061 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21062 (_FPU_MASK_OM): Define as 0x04.
21063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21065 0x00c10080.
21066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21067 0x0000003c.
21068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21069
cd78f7e7
JM
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21071 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21072 getcontext_e500.
21073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21074 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21075 setcontext_e500.
21076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21077 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21078 and setcontext_e500.
21079
c755294d
CL
210802013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21081
21082 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21083
e16d221c
SP
210842013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21085
21086 * manual/threads.texi (Default Thread Attributes): Fix typo.
21087
215c7d43
WN
210882013-10-04 Will Newton <will.newton@linaro.org>
21089
21090 * malloc/Makefile: Add tst-memalign.
21091 * malloc/tst-memalign.c: New file.
21092
27d0461b
WN
21093 * malloc/tst-posix_memalign.c: Add comments.
21094 (do_test): Add comments and call free on all potentially
21095 allocated pointers. Add space after cast.
21096
1bc92709
WN
21097 * malloc/tst-pvalloc.c: Add comments.
21098 (do_test): Add comments and call free on all potentially
21099 allocated pointers. Remove duplicate check for NULL pointer.
21100 Add space after cast.
21101
66a9be9d
WN
21102 * malloc/tst-valloc.c: Add comments.
21103 (do_test): Add comments and call free on all potentially
21104 allocated pointers. Remove duplicate check for NULL pointer.
21105 Add space after cast.
21106
4cb81307
AM
211072013-10-04 Alan Modra <amodra@gmail.com>
21108
21109 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21110 Use stdint types in rather than __attribute__((mode())).
21111 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21112
f8e3e9f3
AM
211132013-10-04 Alan Modra <amodra@gmail.com>
21114
21115 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21116 Correct handling of unaligned relocs for little-endian.
21117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21118
8f9ebb08
AM
211192013-10-04 Alan Modra <amodra@gmail.com>
21120
21121 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21122 * configure: Regenerate.
21123 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21124 * shlib-versions: Likewise.
21125
0edf96c2
AM
211262013-10-04 Alan Modra <amodra@gmail.com>
21127
21128 * string/tester.c (test_memrchr): Increment reported test cycle.
21129
e0f7a380
AM
211302013-10-04 Alan Modra <amodra@gmail.com>
21131
21132 * string/test-memcpy.c (do_one_test): When reporting errors, print
21133 string address and don't overrun end of string.
21134
466b0393
AM
211352013-10-04 Alan Modra <amodra@gmail.com>
21136
21137 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21138 insrdi. Make better use of reg selection to speed exit slightly.
21139 Schedule entry path a little better. Remove useless "are we done"
21140 checks on entry to main loop. Handle wrapping around zero address.
21141 Correct main loop count. Handle single left-over word from main
21142 loop inline rather than by using loop_small. Remove extra word
21143 case in loop_small caused by wrong loop count. Add little-endian
21144 support.
21145 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21146 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21147 cache hint.
21148 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21149 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21150 support. Avoid rlwimi.
21151 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21152
3be87c77
AM
211532013-10-04 Alan Modra <amodra@gmail.com>
21154
21155 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 21156 insrdi. Formatting.
3be87c77
AM
21157 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21158 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21159 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21160 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21161 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21162 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21163
759cfef3
AM
211642013-10-04 Alan Modra <amodra@gmail.com>
21165
21166 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21168 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21169 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21170 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21171 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21172 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21173 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21174 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21175 use of regs. Use power7 mtocrf. Tidy function tails.
21176
fe6e95d7
AM
211772013-10-04 Alan Modra <amodra@gmail.com>
21178
21179 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21180 Formatting. Consistently use rXXX register defines or rN defines.
21181 Use early exit labels that avoid restoring unused non-volatile regs.
21182 Make cr field use more consistent with rWORDn compares. Rename
21183 regs used as shift registers for unaligned loop, using rN defines
21184 for short lifetime/multiple use regs.
21185 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21186 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21187 addi 1,1,64 to pop stack frame. Simplify return value code.
21188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21189
664318c3
AM
211902013-10-04 Alan Modra <amodra@gmail.com>
21191
21192 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21193 support. Correct typos, formatting. Optimize tail. Use insrdi
21194 rather than rlwimi.
21195 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21196 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21197 little-endian support. Correct typos.
21198 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21199 rather than rlwimi.
21200 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21201 in loop and entry code to keep "and." results.
21202 (strchr): Add little-endian support. Comment. Move cntlzd
21203 earlier in tail.
21204 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21205
43b84013
AM
212062013-10-04 Alan Modra <amodra@gmail.com>
21207
21208 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21209 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21210 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21211 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21212
8a7413f9
AM
212132013-10-04 Alan Modra <amodra@gmail.com>
21214
21215 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21216 (rTMP): Define as r11.
21217 (strcmp): Add little-endian support. Optimise tail.
21218 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21219 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21220 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21221 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21222 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21224 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21225
33ee81de
AM
212262013-10-04 Alan Modra <amodra@gmail.com>
21227
21228 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21229 little-endian support. Remove unnecessary "are we done" tests.
21230 Handle "s" wrapping around zero and extremely large "size".
21231 Correct main loop count. Handle single left-over word from main
21232 loop inline rather than by using small_loop. Correct comments.
21233 Delete "zero" tail, use "end_max" instead.
21234 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21235
db9b4570
AM
212362013-10-04 Alan Modra <amodra@gmail.com>
21237
21238 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21239 support. Don't branch over align.
21240 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21241 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21242 support. Rearrange tmp reg use to suit. Comment.
21243 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21244
f7c399cf
AM
212452013-10-04 Alan Modra <amodra@gmail.com>
21246
21247 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21248
0b2c2ace
AM
212492013-10-04 Alan Modra <amodra@gmail.com>
21250
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21252 conditional form of branch and link when obtaining pc.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21254
02f04a6c
AM
212552013-10-04 Alan Modra <amodra@gmail.com>
21256
21257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21258 HIWORD/LOWORD.
21259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21261
9b874b2f
AM
212622013-10-04 Alan Modra <amodra@gmail.com>
21263
21264 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21265 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21266 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21267 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21268 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21269 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21270 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21271 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21272 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21273 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21274
be1e5d31
AB
212752013-10-04 Anton Blanchard <anton@au1.ibm.com>
21276 Alistair Popple <alistair@ozlabs.au.ibm.com>
21277 Alan Modra <amodra@gmail.com>
21278
21279 [BZ #15723]
21280 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21281 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21282 _dl_hwcap access for little-endian.
21283 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21284 destroy vmx regs when saving unaligned.
21285 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21286 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21287 destroy vmx regs when saving unaligned.
21288
fef13a78
AM
212892013-10-04 Alan Modra <amodra@gmail.com>
21290
21291 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21292 Don't use a union to pack hi/low value.
21293
76a66d51
AB
212942013-10-04 Anton Blanchard <anton@au1.ibm.com>
21295
21296 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21297 for little-endian.
21298 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21300 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21301 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21302 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21303
6a31fe7f
AM
213042013-10-04 Alan Modra <amodra@gmail.com>
21305
21306 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21307 constants to usual value for .cst8 section, and remove redundant
21308 high address load.
21309 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21310 constant for 0x1p52. Load little-endian words of double from
21311 correct stack offsets.
21312
7b88401f
AM
213132013-10-04 Alan Modra <amodra@gmail.com>
21314
21315 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21316 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21317 words of double from correct stack offsets.
21318 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21319 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21320 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21321 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21322 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21324 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21325 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21326 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21328 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21329 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21330 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21331 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21332 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21333 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21334 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21335
9c008155
AM
213362013-10-04 Alan Modra <amodra@gmail.com>
21337
21338 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21339 64-bit int/double union.
21340 (_FPU_SETCW): Likewise.
21341 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21342 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21343
da13146d
AM
213442013-10-04 Alan Modra <amodra@gmail.com>
21345
21346 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21347 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21348
603e8410
AM
213492013-10-04 Alan Modra <amodra@gmail.com>
21350
21351 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21352 use vector int constants.
21353 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21354
4a28b3ca
AB
213552013-10-04 Anton Blanchard <anton@au1.ibm.com>
21356
21357 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21358 array with long long.
21359 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21360 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21361 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21362 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21363 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21364 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21365 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21366 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21367 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21368 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21369 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21370 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21371 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21372
2ca85d2b
AB
213732013-10-04 Anton Blanchard <anton@au1.ibm.com>
21374
21375 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21376 (__signbit): Likewise. Correct for little-endian.
21377 (__signbitl): Call __signbit.
21378 (lrint): Correct for little-endian.
21379 (lrintf): Call lrint.
21380
62a728ae
AM
213812013-10-04 Alan Modra <amodra@gmail.com>
21382
21383 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21384 union 32-bit int array member with 64-bit int array.
21385 (t515, tm256): Double rather than long double.
21386 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21387
32c301df
AM
213882013-10-04 Alan Modra <amodra@gmail.com>
21389
21390 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21391 Delete.
21392 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21393 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21394 version of math_ldbl.h.
21395
650ef4bd
AM
213962013-10-04 Alan Modra <amodra@gmail.com>
21397
21398 [BZ #15734], [BZ #15735]
21399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21400 all uses of ieee875 long double macros and unions. Simplify test
21401 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21402 ldbl_extract_mantissa value for ix,iy exponents. Properly
21403 normalize after ldbl_extract_mantissa, and don't add hidden bit
21404 already handled. Don't treat low word of ieee854 mantissa like
21405 low word of IBM long double and mask off bit when testing for
21406 zero.
21407 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21408 all uses of ieee875 long double macros and unions. Simplify tests
21409 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21410 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21411 two1022, instead use their values. Recognise that tests for large
21412 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21413 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21414 Rewrite all uses of ieee875 long double macros and unions. Simplify
21415 test for 0.0L and nan. Correct negation.
21416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21417 ieee875 long double macros and unions. Correct output for large
21418 magnitude x. Correct absolute value calculation.
21419 (__erfcl): Likewise.
21420 * math/libm-test.inc: Add tests for errors discovered in IBM long
21421 double versions of fmodl, remainderl, erfl and erfcl.
21422
765714ca
AM
214232013-10-04 Alan Modra <amodra@gmail.com>
21424
21425 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21426 all uses of ieee854 long double macros and unions. Simplify tests
21427 for long doubles that are fully specified by the high double.
21428 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21429 Likewise.
21430 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21431 Remove dead code too.
21432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21433 (__ieee754_ynl): Likewise.
21434 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21435 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21436 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21437 Remove dead code too.
21438 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21439 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21440 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21441 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21442 Simplify.
21443 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21444 Simplify.
21445 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21446 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21448 Comment on variable precision.
21449 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21450 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21451 Likewise.
21452 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21453 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21454 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21455 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21456 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21457
4ebd120c
AM
214582013-10-04 Alan Modra <amodra@gmail.com>
21459
21460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21461 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21462 all uses of ieee854 long double macros and unions.
21463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21465 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21466 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21467 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21469 Likewise.
21470 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21474 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21475 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21476 Simplify sign and nan test too.
21477 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21478 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21479 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21480 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21481 Likewise.
21482 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21483 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21484 Likewise.
21485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21486 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21487 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21488 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21489 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21491
1b6adf88
AM
214922013-10-04 Alan Modra <amodra@gmail.com>
21493
21494 * stdio-common/printf_size.c (__printf_size): Don't use
21495 union ieee854_long_double in fpnum union.
21496 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21497 signbit macro to retrieve sign from long double.
21498 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21499 retrieve sign from long double.
21500 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21501 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21502 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21503 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21504 * math/test-misc.c (main): Don't use union ieee854_long_double.
21505
4cf69995
AM
215062013-10-04 Alan Modra <amodra@gmail.com>
21507
21508 [BZ #15680]
21509 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21510 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21511 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21512 calculation. Remove unnecessary test for denormal exponent.
21513 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21514 Correct handling of denormals. Avoid undefined shift behaviour.
21515 Correct normalisation of low mantissa when low double is denormal.
21516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21517 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21518 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21519 Correct normalisation of low mantissa. Test for overflow of high
21520 mantissa and normalise.
21521 (ldbl_nearbyint): Use more readable constant for two52.
21522 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21523 (__mpn_construct_long_double): Fix test for overflow of high
21524 mantissa and correct normalisation. Avoid undefined shift.
21525
9605ca6c
AM
215262013-10-04 Alan Modra <amodra@gmail.com>
21527
21528 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21529 (union ibm_extended_long_double): Define as an array of ieee754_double.
21530 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21531 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21532 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21533 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21537 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21539 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21540 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21541
975569d0
JM
215422013-10-03 Joseph Myers <joseph@codesourcery.com>
21543
d3d23756
JM
21544 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21545 page size instead of calling getpagesize.
21546
975569d0
JM
21547 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21548 (LOCFILE_ALIGN_MASK): Likewise.
21549 (LOCFILE_ALIGN_UP): Likewise.
21550 (LOCFILE_ALIGNED_P): Likewise.
21551 * locale/programs/ld-collate.c (collate_output): Use the new
21552 macros instead of __alignof__ (int32_t).
21553 * locale/weight.h (findidx): Likewise.
21554
b1fe1f2b
OB
215552013-10-03 Ondřej Bílka <neleai@seznam.cz>
21556
21557 [BZ #431]
21558 * manual/string.texi: Fix strncat and wcsncat.
21559
5f855e35
BM
215602013-10-03 Brooks Moses <bmoses@google.com>
21561
21562 [BZ #15915]
21563 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21564 * Makerules: ...here, and adjust associated comments.
21565
3cef6009
WN
215662013-10-02 Will Newton <will.newton@linaro.org>
21567
21568 * malloc/Makefile: Add tst-pvalloc.
21569 * malloc/tst-pvalloc.c: New file.
21570
7815420b
WN
215712013-10-02 Will Newton <will.newton@linaro.org>
21572
21573 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21574 improve test coverage.
21575
4868b204
WN
215762013-10-02 Will Newton <will.newton@linaro.org>
21577
21578 * malloc/Makefile: Add tst-posix_memalign.
21579 * malloc/tst-posix_memalign.c: New file.
21580
29c793b3
EB
215812013-10-01 Eric Blake <eblake@redhat.com>
21582
21583 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21584 Use __THROWNL rather than __THROW on static functions.
21585
fd967522
PM
215862013-09-30 Petr Machata <pmachata@redhat.com>
21587
21588 * elf/elf.h (R_AARCH64_ABS16): New macro.
21589 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21590 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21591 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21592 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21593 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21594 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21595 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21596 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21597 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21598 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21599 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21600 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21601 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21602 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21603 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21604 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21605 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21606 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21607 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21608 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21609 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21610 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21611 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21612 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21613 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21614 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21615 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21616 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21617 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21618 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21619 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21620 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21621 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21622 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21623 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21624 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21625 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21626 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21627 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21628 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21629 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21630 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21631 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21632 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21633 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21634 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21635 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21636 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21637 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21638 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21639 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21640 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21641 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21642 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21643 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21644 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21645 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21646 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21647 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21648 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21649 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21650 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21651 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21652 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21653 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21654 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21655 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21656 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21657 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21658 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21659 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21660 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21661 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21662 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21663 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21664 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21665 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21666 (R_AARCH64_TLSDESC_LDR): Likewise.
21667 (R_AARCH64_TLSDESC_ADD): Likewise.
21668 (R_AARCH64_TLSDESC_CALL): Likewise.
21669
b2179107
AS
216702013-09-30 Andreas Schwab <schwab@suse.de>
21671
21672 [BZ #15048]
21673 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21674 the nss database lookup.
21675 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21677
47f28d0a
MF
216782013-09-28 Mike Frysinger <vapier@gentoo.org>
21679
21680 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21681
216822013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
21683
21684 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21685 ${Bash-specific parameter/pattern/string} parameter expansion.
21686 * sysdeps/unix/make-syscalls.sh: Likewise.
21687
f4518a17
KK
216882013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21689
21690 * sysdeps/sh/stackguard-macros.h: New file.
21691
dc1a95c7
OB
216922013-09-26 Ondřej Bílka <neleai@seznam.cz>
21693
21694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21696 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21698 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21699 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21700
5ebbff8f
AZ
217012013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21702
21703 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21704 Fix thread ID register.
21705
4fd2cf9f
JM
217062013-09-25 Joseph Myers <joseph@codesourcery.com>
21707
21708 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21709 [POSIX || UNIX98]: Require rather than permitting all symbols from
21710 <time.h>.
21711 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21712 element of struct sched_param.
21713 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21714 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21715 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21716 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21717 constant.
21718
12c22bc4
OL
217192013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21720
21721 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21722 argument calculation.
21723
a03d8ea7
JM
217242013-09-24 Joseph Myers <joseph@codesourcery.com>
21725
21726 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21727 Expect macro.
21728 [POSIX] (pthread_attr_t): Do not require type.
21729 [POSIX] (pthread_cond_t): Likewise.
21730 [POSIX] (pthread_condattr_t): Likewise.
21731 [POSIX] (pthread_key_t): Likewise.
21732 [POSIX] (pthread_mutex_t): Likewise.
21733 [POSIX] (pthread_mutexattr_t): Likewise.
21734 [POSIX] (pthread_once_t): Likewise.
21735 [POSIX] (pthread_t): Likewise.
21736 [POSIX-based standards] (pthread_atfork): Expect function.
21737
6055173a
JM
217382013-09-24 Joseph Myers <joseph@codesourcery.com>
21739 Richard Sandiford <richard@codesourcery.com>
21740
21741 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21742 (swap_endianness_p): New extern variable.
21743 (set_big_endian): New inline function.
21744 (maybe_swap_uint32): Likewise.
21745 (maybe_swap_uint32_array): Likewise.
21746 (maybe_swap_uint32_obstack): Likewise.
21747 * locale/programs/locfile.c: Include <stdbool.h>.
21748 (swap_endianness_p): New variable.
21749 (add_locale_uint32): Call maybe_swap_uint32.
21750 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21751 (write_locale_data): Call maybe_swap_uint32_array.
21752 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21753 maybe_swap_uint32.
21754 (obstack_int32_grow_fast): Likewise.
21755 (output_weightwc): Call maybe_swap_uint32_obstack.
21756 (collate_output): Likewise.
21757 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21758 (OPT_LITTLE_ENDIAN): Likewise.
21759 (options): Add --little-endian and --big-endian options.
21760 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21761 * locale/programs/locarchive.c: Include "locfile.h".
21762 (GET): New macro.
21763 (SET): Likewise.
21764 (INC): Likewise.
21765 (create_archive): Use the new macros to access fields of
21766 structures directly mapped from or written to locale archives.
21767 (oldlocrecentcmp): Likewise.
21768 (enlarge_archive): Likewise.
21769 (insert_name): Likewise.
21770 (add_alias): Likewise.
21771 (add_locale): Likewise.
21772 (delete_locales_from_archive): Likewise.
21773 (show_archive_content): Likewise.
21774 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21775 locale data.
21776
39bf0bb4
RM
217772013-09-24 Roland McGrath <roland@hack.frob.com>
21778
21779 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21780 http://www.gnu.org/doc/freemanuals.texi.
21781 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21782
f02eed10
WN
217832013-09-24 Will Newton <will.newton@linaro.org>
21784
21785 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21786 macro.
21787
a3a6c312
JM
217882013-09-23 Joseph Myers <joseph@codesourcery.com>
21789
21790 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21791 unsigned char.
21792
107375ac
MR
217932013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21794
21795 * manual/threads.texi (POSIX Threads): Fix a typo.
21796
141f3a77
SP
217972013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21798
303e567a
SP
21799 [BZ #14547]
21800 * string/tst-strcoll-overflow.c: New test case.
21801 * string/Makefile (xtests): Add tst-strcoll-overflow.
21802 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21803 cache if string sizes may cause integer overflow.
21804
141f3a77
SP
21805 [BZ #14547]
21806 * string/strcoll_l.c (coll_seq): New members rule, idx,
21807 save_idx and back_us.
21808 (get_next_seq_nocache): New function.
21809 (do_compare_nocache): New function.
21810 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21811 when malloc fails.
21812
c61b4d41
CD
218132013-09-23 Carlos O'Donell <carlos@redhat.com>
21814
0b1f8e35
CD
21815 [BZ #15754]
21816 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21817 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21818 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21819
c61b4d41
CD
21820 [BZ #15754]
21821 * elf/Makefile (tests): Add tst-ptrguard1.
21822 (tests-static): Add tst-ptrguard1-static.
21823 (tst-ptrguard1-ARGS): Define.
21824 (tst-ptrguard1-static-ARGS): Define.
21825 * elf/tst-ptrguard1.c: New file.
21826 * elf/tst-ptrguard1-static.c: New file.
21827 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21828 * sysdeps/i386/stackguard-macros.h: Likewise.
21829 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21830 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21831 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21832 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21833 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21834 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21835
218362013-09-23 Hector Marco <hecmargi@upv.es>
21837 Ismael Ripoll <iripoll@disca.upv.es>
21838 Carlos O'Donell <carlos@redhat.com>
21839
21840 [BZ #15754]
21841 * sysdeps/generic/stackguard-macros.h: Define
21842 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21843 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21844 Define __pointer_chk_guard_local.
21845 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21846 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21847
f5f4e7b4
VV
218482013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21849
21850 [BZ #15859]
21851 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21852
5bb43a43
AS
218532013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21854
21855 * include/string.h (__ffs): Declare as hidden.
21856 * string/ffs.c (__ffs): Define as hidden.
21857 * sysdeps/i386/ffs.c (__ffs): Likewise.
21858 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21859 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21860 * sysdeps/s390/ffs.c (__ffs): Likewise.
21861 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21862
3ea5be54
AO
218632013-09-20 Alexandre Oliva <aoliva@redhat.com>
21864
ffb89e53
AO
21865 * NEWS: Mention malloc probes.
21866
322dea08
AO
21867 * malloc/arena.c (new_heap): New memory_heap_new probe.
21868 (grow_heap): New memory_heap_more probe.
21869 (shrink_heap): New memory_heap_less probe.
21870 (heap_trim): New memory_heap_free probe.
21871 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21872 (systrim): New memory_sbrk_less probe.
21873 * manual/probes.texi: Document them.
21874
655673f3
AO
21875 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21876 * manual/probes.texi: Document it.
21877
35fed6f1
AO
21878 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21879 (__libc_realloc): Add memory_realloc_retry probe.
21880 (__libc_memalign): Add memory_memalign_retry probe.
21881 (__libc_valloc): Add memory_valloc_retry probe.
21882 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21883 (__libc_calloc): Add memory_calloc_retry probe.
21884 * manual/probes.texi: Document them.
21885
6999d38c
AO
21886 * malloc/arena.c (get_free_list): Add probe
21887 memory_arena_reuse_free_list.
21888 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21889 and memory_arena_reuse.
21890 (arena_get2) [!PER_THREAD]: Likewise.
21891 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21892 memory_arena_reuse_realloc.
21893 * manual/probes.texi: Document them.
21894
0653427f
AO
21895 * malloc/malloc.c (__libc_free): Add
21896 memory_mallopt_free_dyn_thresholds probe.
21897 (__libc_mallopt): Add multiple memory_mallopt probes.
21898 * manual/probes.texi: Document them.
21899
3ea5be54
AO
21900 * malloc/malloc.c: Include stap-probe.h.
21901 (__libc_mallopt): Add memory_mallopt probe.
21902 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21903 * manual/probes.texi: New.
21904 * manual/Makefile (chapters): Add probes.
21905 * manual/threads.texi: Set next node.
21906
e35696c3 219072013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 21908
e35696c3
CL
21909 [BZ #15963, #13985]
21910 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21911 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21912 Add `Chinese' to `nan' entry name.
21913
4aafb73c
SP
219142013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21915
21916 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21917 (POLYNOMIAL): Likewise.
21918 (TAYLOR_SINCOS): Likewise.
21919 (TAYLOR_SLOW): Likewise.
21920 (__sin): Use TAYLOR_SINCOS.
21921 (__cos): Likewise.
21922 (slow): Use TAYLOR_SLOW.
21923 (sloww): Likewise.
21924 (bsloww): Likewise.
21925 (csloww): Likewise.
21926
d84f25c7
LD
219272013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21928
21929 * stdlib/strtod_l.c: Fix buffer overrun.
21930
5eea0404
SP
219312013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21932
7849ff93
SP
21933 * benchtests/Makefile (bench): Add sincos.
21934 * benchtests/bench-sincos.c: New file.
21935
cfa3c886
SP
21936 * math/libm-test.inc (cos_test_data): New test inputs.
21937 (sin_test_data): Likewise.
21938
b348e1e3
SP
21939 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21940 macro.
21941 (__sin): Use it.
21942 (__cos): Likewise.
21943 (slow1): Likewise.
21944 (slow2): Likewise.
21945 (sloww1): Likewise.
21946 (sloww2): Likewise.
21947 (bsloww1): Likewise.
21948 (bsloww2): Likewise.
21949 (cslow2): Likewise.
21950 (csloww1): Likewise.
21951 (csloww2): Likewise.
21952
6cce25f8
SP
21953 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21954 function.
21955 (__sin): Use it.
21956 (__cos): Likewise.
21957
5eea0404
SP
21958 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21959 gotos.
21960 (__cos): Likewise.
21961
9c21573c
MR
219622013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21963
21964 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21965 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21966 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21967 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21968 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21969 * elf/cache.c (print_entry): Handle the new cache flags.
21970
24d22e65
JM
219712013-09-18 Joseph Myers <joseph@codesourcery.com>
21972 Aldy Hernandez <aldyh@redhat.com>
21973
21974 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21975 Change condition to [_SOFT_FLOAT].
21976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21980 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21982 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21983 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21984 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21985 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21986 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21988 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21990 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21991 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21992 declaration.
21993
d13ef066
JM
219942013-09-18 Joseph Myers <joseph@codesourcery.com>
21995
2e071de0
JM
21996 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21997 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21998 (__longjmp): Use LOAD_GP to load saved GPRs.
21999 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22000 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22001 (__sigsetjmp): Use SAVE_GP to save GPRs.
22002
d13ef066
JM
22003 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22004 Do not append -msoft-float.
22005 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22006
97a0650b
SP
220072013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22008
22009 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22010
11ca09e9
JM
220112013-09-17 Joseph Myers <joseph@codesourcery.com>
22012
22013 [BZ #15966]
22014 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22015 (_FPU_GETCW): Use initial "__" on variable and field names but not
22016 on macro parameter name.
22017 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22018 parentheses around reference to macro parameter.
22019
08ffcf34
RS
220202013-09-13 Richard Sandiford <richard@codesourcery.com>
22021
22022 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22023 prototype.
22024 (ctype_startup): Use uint32_t in cast and sizeof for
22025 ctype->charnames.
22026
ae7080d3
JL
220272013-09-11 Jia Liu <proljc@gmail.com>
22028
22029 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22030 __daddr_t_defined.
22031 [__FreeBSD__]: Likewise.
22032
5905e7b3
OB
220332013-09-11 Ondřej Bílka <neleai@seznam.cz>
22034
22035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22036 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22037 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22038 (strchr): Remove __strchr_sse42 ifunc selection.
22039 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22040 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22041
b987c776
WN
220422013-09-11 Will Newton <will.newton@linaro.org>
22043
22044 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22045 parameter to RES. Remove hardcoded 1000 value.
22046 * benchtests/bench-skeleton.c (main): Pass RES parameter
22047 to TIMING_INIT and multiply result by 1000.
22048
ddf985af
AZ
220492013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22050
22051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22052
ffdd3181
AS
220532013-09-11 Andreas Schwab <schwab@suse.de>
22054
22055 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22056 if not defined.
22057 (O_TMPFILE) [__USE_GNU]: Define.
22058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22059 Define.
22060
b73ed247
WN
220612013-09-11 Will Newton <will.newton@linaro.org>
22062
22063 [BZ #15857]
22064 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22065 does not overflow.
22066
55e17aad
WN
220672013-09-11 Will Newton <will.newton@linaro.org>
22068
22069 [BZ #15856]
22070 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22071 does not overflow.
22072
1159a193
WN
220732013-09-11 Will Newton <will.newton@linaro.org>
22074
22075 [BZ #15855]
22076 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22077 does not overflow.
22078
5905e7b3 220792013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
22080
22081 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22082 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22086
cdfc721b
AM
220872013-09-10 Allan McRae <allan@archlinux.org>
22088
aa04af00
AM
22089 [BZ #15748]
22090 * manual/arith.texi (Parsing of Floats): Clarify
22091 cross-reference.
22092
cdfc721b
AM
22093 [BZ #15849]
22094 * manual/install.texi (Running make install): Mention
22095 --enable-pt-chown.
22096 * INSTALL: Regenerated.
22097
95e7cf29
MR
220982013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22099
22100 * csu/init-first.c (_init): Remove the !SHARED condition around
22101 FPU control word initialization.
22102 * elf/dl-support.c (_dl_fpu_control): New variable.
22103 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22104 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22105 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22106 * math/test-fpucw-static.c: New file.
22107 * math/test-fpucw-ieee.c: New file.
22108 * math/test-fpucw-ieee-static.c: New file.
22109 * math/Makefile (tests): Add `test-fpucw-ieee' and
22110 `$(tests-static)'.
22111 (tests-static): New variable.
22112 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22113 dependency to...
22114 [($(build-shared),yes)]
22115 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22116 ... this.
22117 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22118 New dependency.
22119
83e43bf0
AM
221202013-09-09 Allan McRae <allan@archlinux.org>
22121
a9f5ce09
AM
22122 [BZ #15939]
22123 * manual/string.texi (Collation Functions): Fix typo in
22124 strcoll example.
22125 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22126
34829bc2
AM
22127 [BZ #15893]
22128 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22129
3932737d
AM
22130 [BZ #15892]
22131 * libio/memstream.c (open_memstream): Fix memory leak.
22132 * libio/wmemstream.c (open_wmemstream): Likewise.
22133
83e43bf0
AM
22134 [BZ #15895]
22135 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22136
0c66b8e9
WN
221372013-09-09 Will Newton <will.newton@linaro.org>
22138
22139 * malloc/Makefile: Add tst-realloc to tests.
22140 * malloc/tst-realloc.c: New file.
22141
f6b00fd1
AM
221422013-09-09 Allan McRae <allan@archlinux.org>
22143
22144 [BZ #15844]
22145 * COPYING: Update from GNU website to fix FSF address.
22146 * COPYING.LIB: Likewise.
22147
eec55e16
DM
221482013-09-06 David S. Miller <davem@davemloft.net>
22149
22150 * po/zh_TW.po: Update Chinese (traditional) translation from
22151 translation project.
22152
1ecbb381
RS
221532013-09-06 Richard Sandiford <richard@codesourcery.com>
22154 Joseph Myers <joseph@codesourcery.com>
22155
22156 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22157 "localeinfo.h".
22158 (obstack_chunk_alloc): New macro.
22159 (obstack_chunk_free): Likewise.
22160 (record_offset): New function.
22161 (init_locale_data): Likewise.
22162 (align_locale_data): Likewise.
22163 (add_locale_empty): Likewise.
22164 (add_locale_raw_data): Likewise.
22165 (add_locale_raw_obstack): Likewise.
22166 (add_locale_string): Likewise.
22167 (add_locale_wstring): Likewise.
22168 (add_locale_uint32): Likewise.
22169 (add_locale_uint32_array): Likewise.
22170 (add_locale_char): Likewise.
22171 (start_locale_structure): Likewise.
22172 (end_locale_structure): Likewise.
22173 (start_locale_prelude): Likewise.
22174 (end_locale_prelude): Likewise.
22175 (write_locale_data): Take locale_file structure rather than an
22176 iovec.
22177 * locale/programs/locfile.h: Include "obstack.h".
22178 (struct locale_file): Change to store locale file contents instead
22179 of header.
22180 (init_locale_data): New prototype.
22181 (align_locale_data): Likewise.
22182 (add_locale_empty): Likewise.
22183 (add_locale_raw_data): Likewise.
22184 (add_locale_raw_obstack): Likewise.
22185 (add_locale_string): Likewise.
22186 (add_locale_wstring): Likewise.
22187 (add_locale_uint32): Likewise.
22188 (add_locale_uint32_array): Likewise.
22189 (add_locale_char): Likewise.
22190 (start_locale_structure): Likewise.
22191 (end_locale_structure): Likewise.
22192 (start_locale_prelude): Likewise.
22193 (end_locale_prelude): Likewise.
22194 (write_locale_data): Update prototype.
22195 * locale/programs/3level.h (struct TABLE): Remove result field.
22196 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22197 Use new locale_file interface.
22198 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22199 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22200 * locale/programs/ld-address.c (address_output): Use new
22201 locale_file interface.
22202 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22203 NO_ADD_LOCALE.
22204 (collate_finish): Don't call collseq_table_finalize.
22205 (collate_output): Use new locale_file interface.
22206 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22207 in file.
22208 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22209 (TABLE): Move defines earlier in file.
22210 (ELEMENT): Likewise.
22211 (DEFAULT): Likewise.
22212 (wctrans_table_add): Move macro and inline function earlier in
22213 file.
22214 (struct wctype_table): Move type earlier in file.
22215 (add_locale_wctype_table): New static prototype.
22216 (struct locale_ctype_t): Use logical types instead of struct iovec
22217 pointers for members.
22218 (ctype_output): Use new locale_file interface.
22219 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22220 new locale_file interface.
22221 (allocate_arrays): Update for use of new locale_file interface.
22222 * locale/programs/ld-identification.c (identification_output): Use
22223 new locale_file interface.
22224 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22225 * locale/programs/ld-messages.c (messages_output): Likewise.
22226 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22227 * locale/programs/ld-name.c (name_output): Likewise.
22228 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22229 * locale/programs/ld-paper.c (paper_output): Likewise.
22230 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22231 * locale/programs/ld-time.c (time_output): Likewise.
22232
e029e2e5
AZ
222332013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22234
22235 * benchtests/Makefile: Add memrchr benchmark.
22236 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22237 benchmark as memrchr.
22238 * benchtests/bench-memrchr-ifunc.c: New file.
22239 * benchtests/bench-memrchr.c: New file.
22240
bbf6e8e4
WN
222412013-09-06 Will Newton <will.newton@linaro.org>
22242
22243 * benchtests/Makefile (string-bench): Add memcpy.
22244
6c82a2f8
CD
222452013-09-05 Carlos O'Donell <carlos@redhat.com>
22246 Cong Wang <amwang@redhat.com>
22247
e732c5f0 22248 [BZ #15850]
6c82a2f8
CD
22249 * sysdeps/unix/sysv/linux/bits/in.h
22250 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22251 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22252 before __USE_KERNEL_IPV6_DEFS uses.
22253 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22254 IPPROTO_BEETPH.
22255 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22256 sockaddr_in6, or ipv6_mreq.
22257
5430fc65
AZ
222582013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22259
22260 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22261 memory access for final bytes in some large inputs.
22262 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22263
4660856c
AZ
222642013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22265
22266 * string/test-memrchr.c: New file.
22267 * string/test-memrchr-ifunc.c: New file.
22268 * string/Makefile: Add new memrchr testcase.
22269
bb8ea713
MF
222702013-09-05 Mike Frysinger <vapier@gentoo.org>
22271
22272 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22273 fanotify_init returns EPERM.
22274
b92a20b5
JM
222752013-09-04 Joseph Myers <joseph@codesourcery.com>
22276
22277 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22278 errors.
22279 (top level): Treat second token from macro or constant entries for
22280 allowed headers as allowed.
22281 * include/complex.h: Condition internal declarations on
22282 [!_ISOMAC].
22283 * include/fenv.h: Condition include of <stdbool.h> and internal
22284 declarations on [!_ISOMAC].
7447ccd9
CL
22285
222862013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22287
3e181dda 22288 [BZ #15923]
7447ccd9
CL
22289 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22290
3f2e46a4
JM
222912013-09-04 Joseph Myers <joseph@codesourcery.com>
22292
22293 * configure.in (--enable-versioning): Remove configure option.
22294 (libc_cv_asm_symver_directive): Remove configure test.
22295 (libc_cv_ld_version_script_option): Likewise.
22296 (VERSIONING): Remove variable and AC_SUBST.
22297 (DO_VERSIONING): Remove AC_DEFINE.
22298 * configure: Regenerated.
22299 * config.h.in (DO_VERSIONING): Remove macro.
22300 * Makerules [$(versioning) = yes]: Change conditionals to
22301 [$(build-shared) = yes].
22302 * config.make.in (versioning): Remove variable.
22303 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22304 [$(build-shared) = yes].
22305 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22306 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22307 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22308 [$(build-shared) = yes].
22309 * extra-lib.mk [$(versioning) = yes]: Likewise.
22310 * hurd/Makefile [$(versioning) = yes]: Likewise.
22311 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22312 [SHARED].
22313 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22314 [SHARED].
22315 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22316 [SHARED && !NO_HIDDEN].
22317 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22318 [SHARED].
22319 [SHARED && DO_VERSIONING]: Likewise..
22320 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22321 [$(build-shared) = yes].
22322 * manual/install.texi (--disable-versioning): Remove
22323 documentation.
22324 * INSTALL: Regenerated.
22325 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22326 to [SHARED].
22327 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22328 [$(build-shared) = yes].
22329 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22330 * sysdeps/i386/i686/multiarch/strstr-c.c
22331 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22332 [SHARED && !NO_HIDDEN].
22333 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22334 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22335 * sysdeps/powerpc/powerpc32/dl-machine.c
22336 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22337 * sysdeps/powerpc/powerpc32/sysdep.h
22338 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22339 to [SHARED && PIC && !NO_HIDDEN].
22340 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22341 conditional to [SHARED].
22342
44558701
WN
223432013-09-04 Will Newton <will.newton@linaro.org>
22344
22345 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22346 * benchtests/bench-string.h: Include bench-timing.h instead
22347 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22348 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22349 call to HP_TIMING_DIFF_INIT.
22350 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22351 instead of hp-timing.h macros.
22352 * benchtests/bench-memchr.c: Likewise.
22353 * benchtests/bench-memcmp.c: Likewise.
22354 * benchtests/bench-memcpy.c: Likewise.
22355 * benchtests/bench-memmem.c: Likewise.
22356 * benchtests/bench-memmove.c: Likewise.
22357 * benchtests/bench-memset.c: Likewise.
22358 * benchtests/bench-rawmemchr.c: Likewise.
22359 * benchtests/bench-strcasecmp.c: Likewise.
22360 * benchtests/bench-strcasestr.c: Likewise.
22361 * benchtests/bench-strcat.c: Likewise.
22362 * benchtests/bench-strchr.c: Likewise.
22363 * benchtests/bench-strcmp.c: Likewise.
22364 * benchtests/bench-strcpy.c: Likewise.
22365 * benchtests/bench-strcpy_chk.c: Likewise.
22366 * benchtests/bench-strlen.c: Likewise.
22367 * benchtests/bench-strncasecmp.c: Likewise.
22368 * benchtests/bench-strncat.c: Likewise.
22369 * benchtests/bench-strncmp.c: Likewise.
22370 * benchtests/bench-strncpy.c: Likewise.
22371 * benchtests/bench-strnlen.c: Likewise.
22372 * benchtests/bench-strpbrk.c: Likewise.
22373 * benchtests/bench-strrchr.c: Likewise.
22374 * benchtests/bench-strspn.c: Likewise.
22375 * benchtests/bench-strstr.c: Likewise.
22376
cae16d66
WN
223772013-09-04 Will Newton <will.newton@linaro.org>
22378
22379 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22380
ffa3cd7f
JM
223812013-09-03 Joseph Myers <joseph@codesourcery.com>
22382
22383 [BZ #15427]
22384 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22385 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22386 * math/libm-test.inc (lgamma_test_data): Add more tests.
22387 * sysdeps/i386/fpu/libm-test-ulps: Update.
22388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22389
8f02859f
OB
223902013-09-03 Ondřej Bílka <neleai@seznam.cz>
22391
22392 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22393 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22394 Add ifunc.
22395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22396 Add strcmp-sse2-unaligned
22397 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22398
18d43716
MF
223992013-09-02 Mike Frysinger <vapier@gentoo.org>
22400
22401 * Versions.def (libc): Add GLIBC_2.19.
22402
ac444012
MF
224032013-09-02 Mike Frysinger <vapier@gentoo.org>
22404
22405 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22406 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22407
b7835e32
JM
224082013-09-02 Joseph Myers <joseph@codesourcery.com>
22409
22410 [BZ #14155]
22411 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22412 intermediate calculations in recurrence.
22413 (__ieee754_ynf): Likewise.
22414 * math/libm-test.inc (jn_test_data): Do not allow spurious
22415 underflow exception. Add more tests.
22416 (yn_test_data): Add more tests.
22417 * sysdeps/i386/fpu/libm-test-ulps: Update.
22418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22419
8220f4f0
OB
224202013-09-02 Ondřej Bílka <neleai@seznam.cz>
22421
22422 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22423
f24a6d08
OB
224242013-08-30 Ondřej Bílka <neleai@seznam.cz>
22425
22426 * csu/init-first.c: Fix then/than typos.
22427 * locale/programs/ld-collate.c: Likewise.
22428 * locale/programs/linereader.h: Likewise.
22429 * manual/charset.texi: Likewise.
22430 * manual/filesys.texi: Likewise.
22431 * manual/stdio.texi: Likewise.
22432 * manual/string.texi: Likewise.
22433 * stdlib/fmtmsg.c: Likewise.
22434 * sysdeps/i386/stpncpy.S: Likewise.
22435 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22436 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22437 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22438 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22439
382466e0
OB
224402013-08-30 Ondřej Bílka <neleai@seznam.cz>
22441
22442 * elf/dl-open.c: Fix typos.
22443 * iconvdata/gbbig5.c: Likewise.
22444 * iconvdata/iso-2022-jp.c: Likewise.
22445 * iconv/gconv_int.h: Likewise.
22446 * iconv/loop.c: Likewise.
22447 * nis/rpcsvc/nis.h: Likewise.
22448 * resolv/ns_name.c: Likewise.
22449 * stdio-common/vfscanf.c: Likewise.
22450 * streams/stropts.h: Likewise.
22451 * sunrpc/rpc_thread.c: Likewise.
22452 * sysdeps/i386/strpbrk.S: Likewise.
22453 * sysdeps/ieee754/k_standard.c: Likewise.
22454 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22456 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22457 * sysdeps/mach/hurd/profil.c: Likewise.
22458 * sysdeps/s390/dl-procinfo.h: Likewise.
22459 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22460 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22461 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22462 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22463 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22464
0186c6e9
OB
224652013-08-30 Ondřej Bílka <neleai@seznam.cz>
22466
22467 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22469
d4e16af1
OB
224702013-08-29 Ondřej Bílka <neleai@seznam.cz>
22471
22472 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22473 aix specific files.
22474 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22475 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22476 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22477 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22478 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22479 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22480 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22481 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22482
88335980
TS
224832013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22484 Roland McGrath <roland@hack.frob.com>
22485
22486 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22487 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22488
ed479b02
ST
224892013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22490
22491 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22492 __executable_start symbol instead of _start.
22493
f1cc4c86
TS
224942013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22495
d821f07c
TS
22496 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22497 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22498 Move macros to...
22499 * sysdeps/gnu/ldsodefs.h: ... this new file.
22500
c54290cf
TS
22501 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22502 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22503 instead of ELFOSABI_LINUX.
22504
0007fc9b 22505 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
22506 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22507 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22508 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22509 Likewise.
22510 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22511 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22512 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22513 Likewise.
22514 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22515 (ibm_extended_long_double): Add ieee_nan member.
22516 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22517 (do_test): New function.
22518
f1cc4c86
TS
22519 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22520 TEST_TRUNC.
22521 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22522 functions, renamed from truncdfsf_test, trunctfsf_test,
22523 trunctfdf_test.
22524 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22525 functions.
22526 (do_test): Run all these.
22527
6f65e668
OB
225282013-08-29 Ondřej Bílka <neleai@seznam.cz>
22529
22530 * argp/argp-help.c: Fix typos.
22531 * argp/argp-parse.c: Likewise.
22532 * debug/backtracesyms.c: Likewise.
22533 * elf/elf.h: Likewise.
22534 * malloc/malloc.c: Likewise.
22535 * nis/nis_print.c: Likewise.
22536 * resolv/res_comp.c: Likewise.
22537 * stdlib/stdlib.h: Likewise.
22538 * sunrpc/clnt_tcp.c: Likewise.
22539 * sunrpc/clnt_udp.c: Likewise.
22540 * sunrpc/clnt_unix.c: Likewise.
22541 * sysdeps/unix/bsd/ptsname.c: Likewise.
22542 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22543 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
22544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22545 Likewise.
22546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22547 Likewise.
22548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22549 Likewise.
6f65e668
OB
22550 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22551
3a309239
SP
225522013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22553
22554 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22556
3b813b29
MF
225572013-08-27 Mike Frysinger <vapier@gentoo.org>
22558
22559 [BZ #15897]
22560 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22561 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22562 ($(objpfx)bug-dl-leaf): New rule.
22563 ($(objpfx)bug-dl-leaf.so): Likewise.
22564 ($(objpfx)bug-dl-leaf.out): Likewise.
22565 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22566 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22567 * dlfcn/bug-dl-leaf.c: New test.
22568 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22569 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22570 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22571 (dlclose): Likewise.
22572 (dlmopen): Likewise.
22573
8cc3269f
RM
225742013-08-27 Roland McGrath <roland@hack.frob.com>
22575
7f9d0034
RM
22576 * include/netdb.h [!_ISOMAC]:
22577 Don't include <tls.h>.
22578 (h_errno, __libc_h_errno): Move declaration and macros out of
22579 [_LIBC_REENTRANT].
22580
fb431262
RM
22581 * include/resolv.h [_RESOLV_H_]:
22582 Don't include <tls.h>.
22583 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22584 * resolv/res_libc.c: Don't include <tls.h>.
22585 (_res): Use __attribute__ ((nocommon)) in place of
22586 __attribute__ ((section (".bss"))).
22587
bd81123a
RM
22588 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22589 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22590
c4e42566
RM
22591 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22592
f890a59b
RM
22593 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22594 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22595
22596 * resolv/res_mkquery.c: Include <sys/time.h>.
22597
5d1f0a09
RM
22598 * inet/ifreq.c: Moved to ...
22599 * sysdeps/unix/ifreq.c: ... here.
22600 * inet/ifreq.c: New file, true stub version.
22601
6fcf28b3
RM
22602 * socket/sa_len.c: New file.
22603 * socket/Makefile (aux): Add it.
22604 * sysdeps/unix/sysv/linux/Makefile
22605 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22606 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22607 and #include <socket/sa_len.c>.
22608 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22609 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22610
e041fb8b
RM
22611 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22612 * bits/socket.h: ... here.
22613
8cc3269f
RM
22614 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22615 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22616 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22617
5d228a43
AS
226182013-08-27 Andreas Schwab <schwab@suse.de>
22619
45b8accc
AS
22620 [BZ #15736]
22621 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22622 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22623 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22624 * string/test-strcasecmp.c (test_main): Run tests in several
22625 locales.
22626 * string/test-strncasecmp.c (test_main): Likewise.
22627
5d228a43
AS
22628 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22629 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22630 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22632 (__strncasecmp_ssse3) [PIC]: Likewise.
22633
59d112a4
RM
226342013-08-26 Roland McGrath <roland@hack.frob.com>
22635
53234cc3
RM
22636 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22637
59d112a4
RM
22638 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22639 instead of explicitly declaring xdecrypt.
22640 * nis/nss_nis/nis-publickey.c: Likewise.
22641
595aba70
SP
226422013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22643
22644 [BZ #15890]
22645 * nscd/aicache.c: Include res_hconf.h.
22646 (addhstaiX): Initialize res_hconf.
22647
ffabd393
AS
226482013-08-26 Andreas Schwab <schwab@suse.de>
22649
22650 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22651 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22652
e0a69f5c
SP
226532013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22654
22655 * nscd/aicache.c (addhstaiX): Fix indentation.
22656
8c12f01d
MF
226572013-08-25 Mike Frysinger <vapier@gentoo.org>
22658
22659 * configure.ac: Quote $build_pt_chown test.
22660 * configure: Regenerated.
22661
8fe89494
JM
226622013-08-23 Joseph Myers <joseph@codesourcery.com>
22663
22664 [BZ #15532]
22665 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22666 * math/s_cexpf.c (__cexpf): Likewise.
22667 * math/s_cexpl.c (__cexpl): Likewise.
22668 * math/libm-test.inc (cexp_test_data): Correct expected return
22669 value for NaN + i0. Add another test.
22670
75b181d6
DM
226712013-08-22 David S. Miller <davem@davemloft.net>
22672
22673 * po/ca.po: Update Catalan translation from translation project.
936241e4 22674 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 22675
acd06bb1
JM
226762013-08-21 Joseph Myers <joseph@codesourcery.com>
22677
22678 [BZ #15797]
22679 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22680 is infinite, not alongside NaN test.
22681 * math/s_fdimf.c (__fdimf): Likewise.
22682 * math/s_fdiml.c (__fdiml): Likewise.
22683 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22684 errno is unchanged.
22685
c0c3f78a
OB
226862013-08-21 Ondřej Bílka <neleai@seznam.cz>
22687
22688 * argp/argp-help.c: Fix typos.
22689 * crypt/speeds.c: Likewise.
22690 * csu/check_fds.c: Likewise.
22691 * elf/dl-load.c: Likewise.
22692 * elf/dl-open.c: Likewise.
22693 * elf/reldep3.c: Likewise.
22694 * elf/reldep.c: Likewise.
22695 * elf/sprof.c: Likewise.
22696 * iconv/iconv_charmap.c: Likewise.
22697 * iconv/skeleton.c: Likewise.
22698 * iconv/strtab.c: Likewise.
22699 * io/lockf64.c: Likewise.
22700 * libio/libioP.h: Likewise.
22701 * resolv/gai_notify.c: Likewise.
22702 * resolv/ns_name.c: Likewise.
22703 * resolv/ns_samedomain.c: Likewise.
22704 * resolv/res_send.c: Likewise.
22705 * stdlib/random.c: Likewise.
22706 * sunrpc/rpc/xdr.h: Likewise.
22707 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22709 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22710 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22711 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22712 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22713 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22714 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22715 * sysdeps/mach/hurd/check_fds.c: Likewise.
22716 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22717 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22719 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22720 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22721 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22722 * sysdeps/pthread/aio_notify.c: Likewise.
22723 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22724 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22725 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22726 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22727 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22728
46ed1038
LD
227292013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22730
22731 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22732 version if bit_Slow_SSE4_2 is set.
22733 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22734 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22735
d400dcac
AZ
227362013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22737
22738 [BZ #15867]
22739 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22740 trampoline stack frame information.
22741 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22742 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22743 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22744 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22745 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22746 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22747 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22748 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22749 sa_flags value.
22750 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22751 interrupting a syscall and set with option SA_SIGINFO.
22752
42c8fdd8
JM
227532013-08-20 Joseph Myers <joseph@codesourcery.com>
22754
c980f2f4
JM
22755 [BZ #15531]
22756 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22757 argument is infinite.
22758 * math/s_cprojf.c (__cprojf): Likewise.
22759 * math/s_cprojl.c (__cprojl): Likewise.
22760 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22761 * math/libm-test.inc (cproj_test_data): Add more tests.
22762
0716c4fc
JM
22763 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22764
42c8fdd8
JM
22765 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22766 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22767 size. Use __ffs to determine corresponding shift.
22768
b31469d0
JM
227692013-08-20 Joseph Myers <joseph@codesourcery.com>
22770 Roland McGrath <roland@hack.frob.com>
22771
22772 * Makefile (INSTALL): Remove trailing blank lines from output of
22773 makeinfo.
22774
4e39af6e
AK
227752013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22776
22777 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22778 Align 32 bit compat elf_greg to 8 bytes.
22779
f315524e
AA
227802013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22781
22782 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22783
1326ba1a
SP
227842013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22785
22786 * string/strcoll_l.c (coll_seq): New structure.
22787 (get_next_seq_cached): New function.
22788 (get_next_seq): New function.
22789 (do_compare): New function.
22790 (STRCOLL): Use GNU style definition. Simplify implementation
22791 by using get_next_seq, get_next_seq_cached and do_compare.
22792
91ce4085
FW
227932013-08-16 Florian Weimer <fweimer@redhat.com>
22794
22795 [BZ #14699]
22796 CVE-2013-4237
22797 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22798 member.
22799 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22800 member.
22801 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22802 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22803 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22804 conditional.
22805 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22806 GETDENTS_64BIT_ALIGNED.
22807 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22808 * manual/filesys.texi (Reading/Closing Directory): Document
22809 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22810 strongly.
22811 * manual/conf.texi (Limits for Files): Add portability note to
22812 NAME_MAX, PATH_MAX.
22813 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22814
ca0a6bc4
AS
228152013-08-13 Andreas Schwab <schwab@suse.de>
22816
22817 [BZ #15749]
22818 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22819 of fabs.
22820 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22821 LDBL_MAX_EXP >= 16384]: Add tests for it.
22822
6c1fd795
DM
228232013-08-12 David S. Miller <davem@davemloft.net>
22824
22825 * version.h (RELEASE): Set to "development".
22826 (VERSION): Set to "2.18.90".
22827 * NEWS: Add 2.19 section.
22828
31ad488d
DM
228292013-08-03 David S. Miller <davem@davemloft.net>
22830
22831 * po/ko.po: Update Korean translation from translation project.
22832
db24e684
DM
228332013-08-01 David S. Miller <davem@davemloft.net>
22834
22835 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22836 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22837 Bilka.
22838
f723285b
DM
228392013-07-30 David S. Miller <davem@davemloft.net>
22840
22841 * po/fr.po: Update French translation from translation project.
22842
3cbc52db
DM
228432013-07-28 David S. Miller <davem@davemloft.net>
22844
30bbc0cc
DM
22845 * po/cs.po: Update Czech translation from translation project.
22846
3cbc52db
DM
22847 * po/sv.po: Update Swedish translation from translation project.
22848
d492e6d0
DM
228492013-07-27 David S. Miller <davem@davemloft.net>
22850
f1a7f492
DM
22851 * po/eo.po: Update Esperanto translation from translation project.
22852
90e62a4a
DM
22853 * po/vi.po: Update Vietnamese translation from translation project.
22854
d492e6d0
DM
22855 * po/de.po: Update German translation from translation project.
22856
d4baa62d
DM
228572013-07-26 David S. Miller <davem@davemloft.net>
22858
641aa7b4
DM
22859 * po/bg.po: Update Bulgarian translation from translation project.
22860
d4baa62d
DM
22861 * po/nl.po: Update Dutch translation from translation project.
22862 * po/pl.po: Update Polish translation from translation project.
22863 * po/ru.po: Update Russian translation from translation project.
22864
61a9dcb9
DM
228652013-07-24 David S. Miller <davem@davemloft.net>
22866
22867 * po/libc.pot: Update.
22868
7b1f8b58
AZ
228692013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22870
22871 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22872 variable page size.
22873 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22874 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22875 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22876
a8fc7a03
AK
228772013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22878
22879 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22880
e4608715
CD
228812013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22882 Andreas Schwab <schwab@suse.de>
22883 Roland McGrath <roland@hack.frob.com>
22884 Joseph Myers <joseph@codesourcery.com>
22885 Carlos O'Donell <carlos@redhat.com>
22886
22887 [BZ #15755]
22888 * config.h.in: Define HAVE_PT_CHOWN.
22889 * config.make.in (build-pt-chown): New variable.
22890 * configure.in (--enable-pt_chown): New configure option.
22891 * configure: Regenerate.
22892 * login/Makefile: Include Makeconfig. Build pt_chown only if
22893 build-pt-chown is enabled.
22894 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22895 pt_chown to fix pty ownership.
22896 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22897 CLOSE_ALL_FDS.
22898 * manual/install.texi (Configuring and compiling): Mention
22899 --enable-pt_chown. Add @findex for grantpt.
22900 * INSTALL: Regenerate.
22901
da2d62df
DM
229022013-07-20 David S. Miller <davem@davemloft.net>
22903
22904 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22905 difference between 32-bit and 64-bit.
22906
d7e06450
CD
229072013-07-15 Carlos O'Donell <carlos@redhat.com>
22908
22909 [BZ #15711]
22910 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22911 Avoid system header dependency with -ffreestanding.
22912 ($(objpfx)bits/syscall%d): Likewise.
22913
f959cfd7
DM
229142013-07-13 David S. Miller <davem@davemloft.net>
22915
22916 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22917 underflows from atanl/atan2l due to bug 15319.
22918 (casinh_test_data): Likewise.
22919
c61f8513
DM
229202013-07-07 David S. Miller <davem@davemloft.net>
22921
22922 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22923
72c90ed0
JA
229242013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22925
22926 * sysdeps/i386/fpu/libm-test-ulps: Update.
22927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22928
52dfbe13
SP
229292013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22930
22931 * configure.in (--enable-lock-elision): Fix message text.
22932 * INSTALL: Regenerate.
22933 * configure: Regenerate.
22934
3f169543
AZ
229352013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22936
22937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22938
521c6785
AJ
229392013-07-03 Andreas Jaeger <aj@suse.de>
22940
22941 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22942 define.
22943 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22944 (ptrace_peeksiginfo_args): Add.
22945 (__ptrace_peeksiginfo_flags): Add.
22946 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22947 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22948 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22949
d2cc15cb
AM
229502013-07-03 Allan McRae <allan@archlinux.org>
22951
22952 * sysdeps/i386/fpu/libm-test-ulps: Update.
22953
3aaeeca7
DM
229542013-07-02 David S. Miller <davem@davemloft.net>
22955
22956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22957
5314ed1a
MT
229582013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22959
22960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22961
67338156
JM
229622013-07-02 Joseph Myers <joseph@codesourcery.com>
22963
22964 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22966
1717da59
AK
229672013-07-02 Andi Kleen <ak@linux.intel.com>
22968
22969 * config.h.in (ENABLE_LOCK_ELISION): Add.
22970 * configure.in (--enable-lock-elision): Add option.
22971 * manual/install.texi: Document --enable lock elision.
22972 * configure: Regenerate
22973 * INSTALL: Regenerate.
22974
1c81621c
L
229752013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22976
22977 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22978 SSE4.2 strcasecmp for libc.a.
22979 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22980
77f01ab5
JM
229812013-07-02 Joseph Myers <joseph@codesourcery.com>
22982
22983 [BZ #13304]
22984 * soft-fp/op-common.h (_FP_FMA): New macro.
22985 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22986 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22987 (_FP_MUL_MEAT_1_imm): ... here.
22988 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22989 (_FP_MUL_MEAT_1_wide): ... here.
22990 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22991 (_FP_MUL_MEAT_1_hard): ... here.
22992 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22993 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22994 (_FP_MUL_MEAT_2_wide): ... here.
22995 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22996 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22997 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22998 (_FP_MUL_MEAT_2_gmp): ... here.
22999 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23000 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23001 (_FP_MUL_MEAT_4_wide): ... here.
23002 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23003 (_FP_MUL_MEAT_4_gmp): ... here.
23004 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23005 (_FP_WFRACBITS_DW_S): Likewise.
23006 (_FP_WFRACXBITS_DW_S): Likewise.
23007 (_FP_HIGHBIT_DW_S): Likewise.
23008 (FP_FMA_S): Likewise.
23009 (_FP_FRAC_HIGH_DW_S): Likewise.
23010 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23011 (_FP_WFRACBITS_DW_D): Likewise.
23012 (_FP_WFRACXBITS_DW_D): Likewise.
23013 (_FP_HIGHBIT_DW_D): Likewise.
23014 (FP_FMA_D): Likewise.
23015 (_FP_FRAC_HIGH_DW_D): Likewise.
23016 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23017 (_FP_WFRACBITS_DW_E): Likewise.
23018 (_FP_WFRACXBITS_DW_E): Likewise.
23019 (_FP_HIGHBIT_DW_E): Likewise.
23020 (FP_FMA_E): Likewise.
23021 (_FP_FRAC_HIGH_DW_E): Likewise.
23022 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23023 (_FP_WFRACBITS_DW_Q): Likewise.
23024 (_FP_WFRACXBITS_DW_Q): Likewise.
23025 (_FP_HIGHBIT_DW_Q): Likewise.
23026 (FP_FMA_Q): Likewise.
23027 (_FP_FRAC_HIGH_DW_Q): Likewise.
23028 * soft-fp/fmasf4.c: New file.
23029 * soft-fp/fmadf4.c: Likewise.
23030 * soft-fp/fmatf4.c: Likewise.
23031
6308fd9a
LD
230322013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23033
23034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23035 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23036 Silvermont.
23037 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23038 macro.
23039 (index_Slow_SSE4_2): Likewise.
23040 (index_Prefer_PMINUB_for_stringop): Likewise.
23041 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23042 bit_Slow_SSE4_2 is set.
23043 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23044 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23045
89cd9569
RA
230462013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23047
23048 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23049 rtld_global._dl_hwcap2.
23050 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23051 POWER8.
23052 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23053 POWER8 feature descriptions defined in _dl_hwcap2.
23054 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23055 string handling for POWER8 feature bits.
23056 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23057 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23058 _dl_powerpc_cap_flags.
23059 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23060 * sysdeps/powerpc/rtld-global-offsets.sym
23061 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23062 _dl_hwcap2 in the rtld_global_ro structure.
23063
1ae8bfe0
RA
230642013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23065
23066 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23067 hardware capabilities in support of AT_HWCAP2.
23068 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23069 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23070 GLRO(dl_hwcap2).
23071 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23072 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23073 explicitly the unknown a_type display mechanism is used.
23074 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23075 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23076 struct member.
23077 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23078 to macro prototype for AT_HWCAP2 support.
23079 * sysdeps/i386/dl-procinfo.h: Likewise.
23080 * sysdeps/s390/dl-procinfo.h: Likewise.
23081 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23082 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23083 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23084 return -1 for unknown a_type display fallback.
23085 * sysdeps/sparc/dl-procinfo.h: Likewise.
23086 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23087 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23088
8fbec010
JM
230892013-06-28 Joseph Myers <joseph@codesourcery.com>
23090
23091 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23092 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23093
0432680e
PY
230942013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23095
23096 [BZ #12492]
23097 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23098 mprotect making __stack_prot writable.
23099
ce61a2ad
NF
231002013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23101 Joseph Myers <joseph@codesourcery.com>
23102
23103 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23104 as being properly aligned.
23105
f91f1c0f
MR
231062013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23107
3d0f5d0c
MR
23108 * dlfcn/modstatic5.c: New file.
23109 * dlfcn/tststatic5.c: New file.
23110 * dlfcn/Makefile (tests): Add tststatic5.
23111 (tests-static): Likewise.
23112 (modules-names): Add modstatic5.
23113 (tststatic5-ENV): New variable.
23114 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23115
f91f1c0f
MR
23116 [BZ #15022]
23117 * elf/dl-support.c (_dl_main_map): New variable.
23118 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23119 (_dl_nns, _dl_load_adds): Set to 1.
23120 (_dl_initial_searchlist): Refer to _dl_main_map.
23121 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23122 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23123 call to _dl_get_origin.
23124 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23125 around call_map.
23126 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23127 * dlfcn/modstatic3.c: New file.
23128 * dlfcn/tststatic3.c: New file.
23129 * dlfcn/tststatic4.c: New file.
23130 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23131 (tests-static): Likewise.
23132 (modules-names): Add modstatic3.
23133 (tststatic3-ENV, tststatic4-ENV): New variables.
23134 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23135 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23136
cbe7d24b
JM
231372013-06-26 Joseph Myers <joseph@codesourcery.com>
23138
23139 * configure.in (CC): Require GCC version 4.4 or later.
23140 * configure: Regenerated.
23141 * manual/install.texi (Tools for Compilation): Update GCC version
23142 requirement.
23143 * INSTALL: Regenerated.
23144
11b8a0e1
LD
231452013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23146
23147 [BZ #15674]
bb5bb87c
L
23148 * string/test-memcmp.c (check2): New.
23149 (main): Call check2.
23150
11b8a0e1
LD
23151 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23152
b0037103
MR
231532013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23154
23155 [BZ #15022]
23156 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23157 over to...
23158 (dl_open_worker) [!SHARED]: ... here.
23159
c18c701d
RA
231602013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23161
23162 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23163
1d17fa5f
RH
231642013-06-25 Richard Henderson <rth@redhat.com>
23165
23166 * locale/programs/locarchive.c: Include <libc-internal.h>
23167
8fcb833a
JM
231682013-06-25 Joseph Myers <joseph@codesourcery.com>
23169
23170 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23171 trailing whitespace removed.
23172
17db6e8d
MF
231732013-06-24 Mike Frysinger <vapier@gentoo.org>
23174
23175 [BZ #10283]
17db6e8d
MF
23176 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23177 * locale/programs/locarchive.c: Include libc-mmap.h.
23178 (prepare_address_space): Take two new outputs (the mmap base and len).
23179 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23180 values.
23181 (create_archive): Declare new mmap base and len values for
23182 prepare_address_space, and store the result in ah.
23183 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23184 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23185 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23186 Declare new mmap base and len values for
23187 prepare_address_space, and store the result in new_ah.
23188 (open_archive): Declare new mmap base and len values for
23189 prepare_address_space, and store the result in ah.
23190 (close_archive): If ah->mmap_base is not NULL, use that and
23191 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23192 * sysdeps/generic/libc-mmap.h: New file.
23193
d605071e
MF
231942013-06-24 Mike Frysinger <vapier@gentoo.org>
23195
23196 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23197 (ALIGN_UP): Likewise.
23198 (PTR_ALIGN_DOWN): Likewise.
23199 (PTR_ALIGN_UP): Likewise.
23200
2f063a6e
RA
232012013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23202
23203 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23204 entry mapped to PPC_PLATFORM_POWER8.
23205 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23206 POWER8.
23207 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23208 (_dl_string_platform): Add case for exporting platform position for
23209 POWER8.
23210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23211 search path to sysdeps/powerpc/powerpc32/power8 directory.
23212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23213 search path to sysdeps/powerpc/powerpc64/power8 directory.
23214 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23215 power7 directories.
23216 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23217 power7 directories.
23218
a31ee4b3
SP
232192013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23220
a74ca98f
SP
23221 * INSTALL: Regenerate.
23222
a31ee4b3
SP
23223 * nscd/connections.c (nscd_init): Fix comment.
23224
695c378f
JM
232252013-06-22 Joseph Myers <joseph@codesourcery.com>
23226
d8412221
JM
23227 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23228
695c378f
JM
23229 [BZ #15667]
23230 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23231 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23232
d1d54715
MR
232332013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23234
23235 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23236 DL_DST_REQ_STATIC.
23237 (DL_DST_REQ_STATIC): Remove macro.
23238
8fdda7af
JM
232392013-06-21 Joseph Myers <joseph@codesourcery.com>
23240
23241 [BZ #7006]
23242 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23243 with a shift of 0 bits.
23244
f3bc5e5a
MR
232452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23246
23247 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23248 $(tststatic-ENV).
23249
be09e8c9
KK
232502013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23251
23252 [BZ #15655]
23253 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23254
85c2e611
AZ
232552013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23256
23257 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23258 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23259 accepts -fno-tree-loop-distribute-patterns.
23260 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23261 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23262 recursive call.
23263 * string/memset.c (memset): Likewise.
23264 * string/test-memmove.c (simple_memmove): Disable loop transformation
23265 to library calls.
23266 * string/test-memset.c (simple_memset): Likewise.
23267 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23268 * benchtests/bench-memset.c (simple_memset): Likewise.
23269 * configure: Regenerated.
23270
c91e0825
JM
232712013-06-20 Joseph Myers <joseph@codesourcery.com>
23272
b8c792af
JM
23273 * math/test-misc.c (main): Ignore fesetround failure when failures
23274 of subsequent rounding tests would be ignored.
23275
c91e0825
JM
23276 [BZ #15654]
23277 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23278 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23279 * math/fegetenv.c (__fegetenv): Return 0.
23280 * math/fegetexcept.c (fegetexcept): Return 0.
23281 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23282 FE_TONEAREST.
23283 * math/feholdexcpt.c (feholdexcept): Return 0.
23284 * math/fesetenv.c (__fesetenv): Return 0.
23285 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23286 argument FE_TONEAREST.
23287 * math/feupdateenv.c (__feupdateenv): Return 0.
23288 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23289
bfcacbde
RM
232902013-06-18 Roland McGrath <roland@hack.frob.com>
23291
23292 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23293 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23294 ($(objpfx)rtld-%.os rules): Use them.
23295
e55a9b25
AZ
232962013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23297
23298 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23299 fields.
23300
346d65b3
RM
233012013-06-17 Roland McGrath <roland@hack.frob.com>
23302
12086fb4
RM
23303 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23304 length of target pattern, then descending length of dependency pattern.
23305 * configure.in (AWK): Require gawk 3.1.2 or newer.
23306 * manual/install.texi (Tools for Compilation): Say that we do.
23307 * configure: Regenerated.
23308
346d65b3
RM
23309 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23310 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23311 * scripts/sysd-rules.awk: ... this new script.
23312 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23313 than a glob-style pattern.
23314
1a846317
JM
233152013-06-17 Joseph Myers <joseph@codesourcery.com>
23316
23317 * math/test-misc.c (main): Do not treat incorrectly rounded
23318 conversions as failure unless ROUNDING_TESTS passes.
23319
8fc75e6f
JM
233202013-06-15 Joseph Myers <joseph@codesourcery.com>
23321
3711a167
JM
23322 [BZ #15631]
23323 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23324 restore exception state around main square root computation, then
23325 check for inexactness explicitly.
23326
8fc75e6f
JM
23327 * math/libm-test.inc (fma_test_data): Add another test.
23328
61dd6208
SP
233292013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23330
adf23d2c
SP
23331 * manual/threads.texi (Non-POSIX Extensions): New document
23332 node. Document pthread_getattr_default_np and
23333 pthread_setattr_default_np.
23334
61dd6208
SP
23335 * Versions.def (libpthread): Add GLIBC_2.18.
23336 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23338 Likewise.
23339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23340 Likewise.
23341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23342 Likewise.
23343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23344 Likewise.
23345 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23346 Likewise.
23347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23348 Likewise.
23349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23350 Likewise.
23351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23352 Likewise.
23353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23354 Likewise.
23355
d086fc7b
LD
233562013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23357
23358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23359 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23360
747ef469
SP
233612013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23362 H.J. Lu <hjl.tools@gmail.com>
23363
23364 [BZ #15627]
23365 * sysdeps/x86_64/rtld-memset.c: Remove file.
23366 * sysdeps/x86_64/rtld-memset.S: New file.
23367
1b2feed2
JM
233682013-06-14 Joseph Myers <joseph@codesourcery.com>
23369
23370 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23371 (test_in_one_mode): Take arguments for whether the rounding mode
23372 is supported for each floating-point type.
23373 (do_test): Pass new arguments to test_in_one_mode using
23374 ROUNDING_TESTS.
23375
a58ad3f8
RM
233762013-06-13 Roland McGrath <roland@hack.frob.com>
23377
23378 * posix/tst-waitid.c (do_test): Distinguish different instances of
23379 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23380 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23381 before entering the kernel for waitpid.
23382
c204ab28
SP
233832013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23384
23385 * NEWS: Fix note on clock function precision. Text by Roland
23386 McGrath.
23387
f4a29fba
RM
233882013-06-13 Roland McGrath <roland@hack.frob.com>
23389
23390 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23391 it into place only when and if the sanity check passes.
23392
1f24b9ad
JM
233932013-06-13 Joseph Myers <joseph@codesourcery.com>
23394
23395 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23396 output for whether conversion result is exact. Take argument
23397 indicating whether type is IBM long double.
23398 (round_for_all): Change need_exact field to ibm_ld.
23399 * stdlib/tst-strtod-round.c (struct exactness): New type.
23400 (struct test): Change bool ld_ok field to struct exactness exact.
23401 (TEST): Update all definitions for change to field.
23402 (tests): Regenerate array contents.
23403 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23404 field value. Check for IBM long double here.
23405 (do_test): Update calls to test_in_one_mode.
23406
58206c68
SP
234072013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23408
23409 [BZ #12515]
23410 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23411 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23412
2d6f4c5b 234132013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
23414
23415 [BZ #15605]
23416 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23417 generated by the compiler on loop optimizations.
23418 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23419 general definitions.
23420
94f2c076
JM
234212013-06-12 Joseph Myers <joseph@codesourcery.com>
23422
23423 * math/bug-nextafter.c: Include <math-tests.h>.
23424 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23425 the relevant type.
23426 * math/bug-nexttoward.c: Include <math-tests.h>.
23427 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23428 the relevant type.
23429 * math/test-misc.c: Include <math-tests.h>.
23430 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23431 the relevant type.
23432
e0e50a0a
AJ
234332013-06-12 Andreas Jaeger <aj@suse.de>
23434
23435 * po/ia.po: Update Interlingua translation from translation
23436 project.
23437
25061094
SP
234382013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23439
23440 * include/fenv.h: Include stdbool.h.
23441 (struct rm_ctx): New structure.
23442 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23443 Define macro.
23444 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23445 (SET_RESTORE_ROUNDF): Likewise.
23446 (SET_RESTORE_ROUNDL): Likewise.
23447 (SET_RESTORE_ROUND_NOEX): Likewise.
23448 (SET_RESTORE_ROUND_NOEXF): Likewise.
23449 (SET_RESTORE_ROUND_NOEXL): Likewise.
23450 (SET_RESTORE_ROUND_53BIT): Likewise.
23451 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23452 (libc_feresetround_noexf_ctx): Likewise.
23453 (libc_feresetround_noexl_ctx): Likewise.
23454 (libc_feholdsetround_53bit_ctx): Likewise.
23455 (libc_feresetround_53bit_ctx): Likewise.
23456 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23457 (libc_feholdexcept_setround_sse_ctx): New function.
23458 (libc_fesetenv_sse_ctx): Likewise.
23459 (libc_feupdateenv_sse_ctx): Likewise.
23460 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23461 (libc_feholdexcept_setround_387_ctx): Likewise.
23462 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23463 (libc_feholdsetround_387_prec_ctx): Likewise.
23464 (libc_feholdsetround_387_ctx): Likewise.
23465 (libc_feholdsetround_387_53bit_ctx): Likewise.
23466 (libc_feholdsetround_sse_ctx): Likewise.
23467 (libc_feresetround_sse_ctx): Likewise.
23468 (libc_feresetround_387_ctx): Likewise.
23469 (libc_feupdateenv_387_ctx): Likewise.
23470 (libc_feholdexcept_setroundf_ctx): Define macro.
23471 (libc_fesetenvf_ctx): Likewise.
23472 (libc_feupdateenvf_ctx): Likewise.
23473 (libc_feholdsetroundf_ctx): Likewise.
23474 (libc_feresetroundf_ctx): Likewise.
23475 (libc_feholdexcept_setround_ctx): Likewise.
23476 (libc_fesetenv_ctx): Likewise.
23477 (libc_feupdateenv_ctx): Likewise.
23478 (libc_feholdsetround_ctx): Likewise.
23479 (libc_feresetround_ctx): Likewise.
23480 (libc_feholdexcept_setroundl_ctx): Likewise.
23481 (libc_feupdateenvl_ctx): Likewise.
23482 (libc_feholdsetroundl_ctx): Likewise.
23483 (libc_feresetroundl_ctx): Likewise.
23484 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23485 (libc_feresetround_53bit_ctx): Likewise.
23486
59b30555
SP
234872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23488
23489 * locale/iso-639.def: Convert to UTF-8.
23490
f1d73d30
JM
234912013-06-11 Joseph Myers <joseph@codesourcery.com>
23492
23493 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23494 (EXCEPTION_TESTS_double): Likewise.
23495 (EXCEPTION_TESTS_long_double): Likewise.
23496 (EXCEPTION_TESTS): Likewise.
23497 * math/libm-test.inc (test_exceptions): Only test exceptions if
23498 EXCEPTION_TESTS (FLOAT).
23499
94aca5e7
SP
235002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23501
23502 * benchtests/Makefile (string-bench): Add strcpy_chk and
23503 stpcpy_chk.
23504 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23505 * benchtests/bench-stpcpy_chk.c: New file.
23506 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23507 * benchtests/bench-strcpy_chk.c: New file.
23508 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23509 code.
23510 (do_test): Likewise.
23511
fac0c5f2
RA
235122013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23513
23514 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23515 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23516 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23517 with tabs where appropriate.
23518 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23519 dl-procinfo.h.
23520 [PPC_PLATFORM_PPC440]: Likewise.
23521 [PPC_PLATFORM_PPC464]: Likewise.
23522 [PPC_PLATFORM_PPC476]: Likewise.
23523 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23524 ppc464, and ppc476 platform strings merging from ports/
23525 dl-procinfo.h.
23526
f22bc486
AS
235272013-06-11 Andreas Schwab <schwab@suse.de>
23528
23529 [BZ #14991]
23530 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23531 (from_ucs4_idx): Regenerate.
23532 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23533 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23534 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23535 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23536 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23537 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23538 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23539 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23540 from FROM_LOOP and TO_LOOP specific macros.
23541 (BODY): Handle combining characters.
23542 * iconvdata/BIG5HKSCS.irreversible: Update.
23543 * iconvdata/BIG5HKSCS.precomposed: New file.
23544 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23545 characters.
23546 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23547
c1f75dc3
SP
235482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23549
4eacded2
SP
23550 * include/sys/time.h: Fix indentation and add copyright header.
23551
fec799f8
SP
23552 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23553 (do_test): Likewise.
23554 * string/test-memchr.c (do_one_test): Likewise.
23555 (do_test): Likewise.
23556 * string/test-memcmp.c (do_one_test): Likewise.
23557 (do_test): Likewise.
23558 * string/test-memcpy.c (do_one_test): Likewise.
23559 (do_test): Likewise.
23560 * string/test-memmem.c (do_one_test): Likewise.
23561 (do_test): Likewise.
23562 (do_random_tests): Likewise.
23563 * string/test-memmove.c (do_one_test): Likewise.
23564 (do_test): Likewise.
23565 * string/test-memset.c (do_one_test): Likewise.
23566 (do_test): Likewise.
23567 * string/test-rawmemchr.c (do_one_test): Likewise.
23568 (do_test): Likewise.
23569 * string/test-strcasecmp.c (do_one_test): Likewise.
23570 (do_test): Likewise.
23571 * string/test-strcasestr.c (do_one_test): Likewise.
23572 (do_test): Likewise.
23573 * string/test-strcat.c (do_one_test): Likewise.
23574 (do_test): Likewise.
23575 * string/test-strchr.c (do_one_test): Likewise.
23576 (do_test): Likewise.
23577 * string/test-strcmp.c (do_one_test): Likewise.
23578 (do_test): Likewise.
23579 * string/test-strcpy.c (do_one_test): Likewise.
23580 (do_test): Likewise.
23581 * string/test-string.h: Likewise.
23582 (test_init): Likewise.
23583 * string/test-strlen.c (do_one_test): Likewise.
23584 (do_test): Likewise.
23585 * string/test-strncasecmp.c (do_one_test): Likewise.
23586 (do_test): Likewise.
23587 * string/test-strncat.c (do_one_test): Likewise.
23588 (do_test): Likewise.
23589 * string/test-strncmp.c (do_one_test): Likewise.
23590 (do_test_limit): Likewise.
23591 (do_test): Likewise.
23592 * string/test-strncpy.c (do_one_test): Likewise.
23593 (do_test): Likewise.
23594 * string/test-strnlen.c (do_one_test): Likewise.
23595 (do_test): Likewise.
23596 * string/test-strpbrk.c (do_one_test): Likewise.
23597 (do_test): Likewise.
23598 * string/test-strrchr.c (do_one_test): Likewise.
23599 (do_test): Likewise.
23600 * string/test-strspn.c (do_one_test): Likewise.
23601 (do_test): Likewise.
23602 * string/test-strstr.c (do_one_test): Likewise.
23603 (do_test): Likewise.
23604
97020474
SP
23605 * benchtests/Makefile (string-bench): Add string benchmarks.
23606 * benchtests/bench-bcopy-ifunc.c: New file.
23607 * benchtests/bench-bcopy.c: New file.
23608 * benchtests/bench-bzero-ifunc.c: New file.
23609 * benchtests/bench-bzero.c: New file.
23610 * benchtests/bench-memccpy-ifunc.c: New file.
23611 * benchtests/bench-memccpy.c: New file.
23612 * benchtests/bench-memchr-ifunc.c: New file.
23613 * benchtests/bench-memchr.c: New file.
23614 * benchtests/bench-memcmp-ifunc.c: New file.
23615 * benchtests/bench-memcmp.c: New file.
23616 * benchtests/bench-memmem-ifunc.c: New file.
23617 * benchtests/bench-memmem.c: New file.
23618 * benchtests/bench-memmove-ifunc.c: New file.
23619 * benchtests/bench-memmove.c: New file.
23620 * benchtests/bench-mempcpy-ifunc.c: New file.
23621 * benchtests/bench-mempcpy.c: New file.
23622 * benchtests/bench-memset-ifunc.c: New file.
23623 * benchtests/bench-memset.c: New file.
23624 * benchtests/bench-rawmemchr-ifunc.c: New file.
23625 * benchtests/bench-rawmemchr.c: New file.
23626 * benchtests/bench-stpcpy-ifunc.c: New file.
23627 * benchtests/bench-stpcpy.c: New file.
23628 * benchtests/bench-stpncpy-ifunc.c: New file.
23629 * benchtests/bench-stpncpy.c: New file.
23630 * benchtests/bench-strcasecmp-ifunc.c: New file.
23631 * benchtests/bench-strcasecmp.c: New file.
23632 * benchtests/bench-strcasestr-ifunc.c: New file.
23633 * benchtests/bench-strcasestr.c: New file.
23634 * benchtests/bench-strcat-ifunc.c: New file.
23635 * benchtests/bench-strcat.c: New file.
23636 * benchtests/bench-strchr-ifunc.c: New file.
23637 * benchtests/bench-strchr.c: New file.
23638 * benchtests/bench-strchrnul-ifunc.c: New file.
23639 * benchtests/bench-strchrnul.c: New file.
23640 * benchtests/bench-strcmp-ifunc.c: New file.
23641 * benchtests/bench-strcmp.c: New file.
23642 * benchtests/bench-strcpy-ifunc.c: New file.
23643 * benchtests/bench-strcpy.c: New file.
23644 * benchtests/bench-strcspn-ifunc.c: New file.
23645 * benchtests/bench-strcspn.c: New file.
23646 * benchtests/bench-strlen-ifunc.c: New file.
23647 * benchtests/bench-strlen.c: New file.
23648 * benchtests/bench-strncasecmp-ifunc.c: New file.
23649 * benchtests/bench-strncasecmp.c: New file.
23650 * benchtests/bench-strncat-ifunc.c: New file.
23651 * benchtests/bench-strncat.c: New file.
23652 * benchtests/bench-strncmp-ifunc.c: New file.
23653 * benchtests/bench-strncmp.c: New file.
23654 * benchtests/bench-strncpy-ifunc.c: New file.
23655 * benchtests/bench-strncpy.c: New file.
23656 * benchtests/bench-strnlen-ifunc.c: New file.
23657 * benchtests/bench-strnlen.c: New file.
23658 * benchtests/bench-strpbrk-ifunc.c: New file.
23659 * benchtests/bench-strpbrk.c: New file.
23660 * benchtests/bench-strrchr-ifunc.c: New file.
23661 * benchtests/bench-strrchr.c: New file.
23662 * benchtests/bench-strspn-ifunc.c: New file.
23663 * benchtests/bench-strspn.c: New file.
23664 * benchtests/bench-strstr-ifunc.c: New file.
23665 * benchtests/bench-strstr.c: New file.
23666
c1f75dc3
SP
23667 * benchtests/Makefile: Disable parallel execution of targets.
23668 (string-bench): Add memcpy.
23669 (benchset): New variable to store a list of benchmark sets.
23670 (bench-func): Renamed from bench.
23671 (bench-set): New target.
23672 (bench): Depend on bench-func and bench-set.
23673 * benchtests/README: Add section on benchmark sets.
23674 * benchtests/bench-memcpy-ifunc.c: New file.
23675 * benchtests/bench-memcpy.c: New file.
23676 * benchtests/bench-string.h: New file.
23677
50fd745b
AS
236782013-06-11 Andreas Schwab <schwab@suse.de>
23679
23680 [BZ #15577]
23681 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23682 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23683 values in the triple.
23684 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23685 terminator in the group key.
23686
3ee7e9fe
AJ
236872013-06-11 Andreas Jaeger <aj@suse.de>
23688
23689 * po/zh_TW.po: Update Chinese (traditional) translation from
23690 translation project.
23691
89fb6835
SP
236922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23693
23694 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23695 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23696 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23697 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23698 (clock_getcpuclockid): Likewise.
23699 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23700 Add weak_alias and libc_hidden_def.
23701 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23702 * rt/clock_gettime.c (clock_gettime): Rename to
23703 __clock_gettime. Add weak_alias and libc_hidden_def.
23704 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23705 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23706 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23707 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23708 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23709 Likewise.
23710 * rt/clock_settime.c (clock_settime): Rename to
23711 __clock_settime. Add weak_alias and libc_hidden_def.
23712 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23713
0efa6f8b
JM
237142013-06-10 Joseph Myers <joseph@codesourcery.com>
23715
b8c61b4b
JM
23716 * mach/err_boot.sub: Remove trailing whitespace.
23717 * mach/err_ipc.sub: Likewise.
23718 * mach/err_mach.sub: Likewise.
23719
0efa6f8b
JM
23720 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23721 (ROUNDING_TESTS_double): Likewise.
23722 (ROUNDING_TESTS_long_double): Likewise.
23723 (ROUNDING_TESTS): Likewise.
23724 * math/libm-test.inc: Include <math-tests.h>.
23725 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23726 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23727 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23728 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23729
50b818bf
SP
237302013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23731
23732 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23733 of assigning.
23734
60d2f8f3
JM
237352013-06-08 Joseph Myers <joseph@codesourcery.com>
23736
4902d2c3
JM
23737 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23738 otherwise empty TRANS lines.
23739 * sysdeps/gnu/errlist.c: Regenerated.
23740
60d2f8f3
JM
23741 * catgets/gencat.c (error_print): Use (void) in function
23742 definition.
23743 * crypt/crypt_util.c (__init_des): Likewise.
23744 * crypt/speeds.c (Stop): Likewise.
23745 (main): Likewise.
23746 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23747 * inet/ruserpass.c (token): Likewise.
23748 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23749 * intl/localealias.c (extend_alias_table): Likewise.
23750 * intl/plural-exp.c (init_germanic_plural): Likewise.
23751 * libio/fcloseall.c (__fcloseall): Likewise.
23752 * libio/genops.c (_IO_flush_all): Likewise.
23753 (_IO_flush_all_linebuffered): Likewise.
23754 (_IO_cleanup): Likewise.
23755 (_IO_iter_begin): Likewise.
23756 (_IO_iter_end): Likewise.
23757 (_IO_list_lock): Likewise.
23758 (_IO_list_unlock): Likewise.
23759 (_IO_list_resetlock): Likewise.
23760 * libio/getchar.c (getchar): Likewise.
23761 * libio/getchar_u.c (getchar_unlocked): Likewise.
23762 * libio/getwchar.c (getwchar): Likewise.
23763 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23764 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23765 * login/getpt.c (__getpt): Likewise.
23766 * login/tst-utmp.c (main): Likewise.
23767 * malloc/hooks.c (__malloc_check_init): Likewise.
23768 * malloc/malloc.c (__malloc_stats): Likewise.
23769 * malloc/mtrace.c (tr_break): Likewise.
23770 (mtrace): Likewise.
23771 (muntrace): Likewise.
23772 * misc/fstab.c (endfsent): Likewise.
23773 * misc/getclktck.c (__getclktck): Likewise.
23774 * misc/getdtsz.c (__getdtablesize): Likewise.
23775 * misc/gethostid.c (gethostid): Likewise.
23776 * misc/getpagesize.c (__getpagesize): Likewise.
23777 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23778 (__get_nprocs): Likewise.
23779 (__get_phys_pages): Likewise.
23780 (__get_avphys_pages): Likewise.
23781 * misc/getttyent.c (getttyent): Likewise.
23782 (setttyent): Likewise.
23783 (endttyent): Likewise.
23784 * misc/getusershell.c (getusershell): Likewise.
23785 (endusershell): Likewise.
23786 (setusershell): Likewise.
23787 (initshells): Likewise.
23788 * misc/hsearch.c (__hdestroy): Likewise.
23789 * misc/sync.c (sync): Likewise.
23790 * misc/syslog.c (closelog_internal): Likewise.
23791 (closelog): Likewise.
23792 * misc/ttyslot.c (ttyslot): Likewise.
23793 * misc/vhangup.c (vhangup): Likewise.
23794 * posix/fork.c (__fork): Likewise.
23795 * posix/getegid.c (__getegid): Likewise.
23796 * posix/geteuid.c (__geteuid): Likewise.
23797 * posix/getgid.c (__getgid): Likewise.
23798 * posix/getpid.c (__getpid): Likewise.
23799 * posix/getppid.c (__getppid): Likewise.
23800 * posix/getuid.c (__getuid): Likewise.
23801 * posix/pause.c (pause): Likewise.
23802 * posix/setpgrp.c (setpgrp): Likewise.
23803 * posix/setsid.c (__setsid): Likewise.
23804 * posix/test-vfork.c (noop): Likewise.
23805 * resolv/gethnamaddr.c (_endhtent): Likewise.
23806 (_gethtent): Likewise.
23807 (ht_endhostent): Likewise.
23808 (gethostent): Likewise.
23809 (dns_service): Likewise.
23810 * stdlib/drand48.c (drand48): Likewise.
23811 * stdlib/lrand48.c (lrand48): Likewise.
23812 * stdlib/mrand48.c (mrand48): Likewise.
23813 * stdlib/rand.c (rand): Likewise.
23814 * stdlib/random.c (__random): Likewise.
23815 * stdlib/setenv.c (clearenv): Likewise.
23816 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23817 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23818 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23819 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23820 (__get_nprocs): Likewise.
23821 (__get_phys_pages): Likewise.
23822 (__get_avphys_pages): Likewise.
23823 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23824 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23825 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23826 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23827 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23828 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23829 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23830 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23831 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23832 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23833 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23834 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23835 * sysdeps/posix/clock.c (clock): Likewise.
23836 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23837 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23838 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23839 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23840 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23841 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23842 (__get_nprocs_conf): Likewise.
23843 (__get_phys_pages): Likewise.
23844 (__get_avphys_pages): Likewise.
23845 * time/clock.c (clock): Likewise.
23846 * time/tzset.c (__tzname_max): Likewise.
23847
2e09a79a
JM
238482013-06-07 Joseph Myers <joseph@codesourcery.com>
23849
23850 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23851 (__bswap_32): Do not use "register".
23852 * crypt/crypt.c (_ufc_doit_r): Likewise.
23853 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23854 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23855 * gmon/gmon.c (__monstartup): Likewise.
23856 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23857 * hurd/hurdmalloc.c (more_memory): Likewise.
23858 (malloc): Likewise.
23859 (free): Likewise.
23860 (realloc): Likewise.
23861 (malloc_fork_prepare): Likewise.
23862 (malloc_fork_parent): Likewise.
23863 (malloc_fork_child): Likewise.
23864 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23865 (_svcauth_des): Likewise.
23866 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23867 * inet/inet_net.c (inet_network): Likewise.
23868 * inet/inet_netof.c (inet_netof): Likewise.
23869 * inet/rcmd.c (__validuser2_sa): Likewise.
23870 * io/fts.c (fts_open): Likewise.
23871 (fts_load): Likewise.
23872 (fts_close): Likewise.
23873 (fts_read): Likewise.
23874 (fts_children): Likewise.
23875 (fts_build): Likewise.
23876 (fts_stat): Likewise.
23877 (fts_sort): Likewise.
23878 (fts_alloc): Likewise.
23879 (fts_lfree): Likewise.
23880 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23881 (_IO_file_xsgetn): Likewise.
23882 (_IO_file_xsgetn_mmap): Likewise.
23883 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23884 (_IO_cookie_write): Likewise.
23885 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23886 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23887 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23888 * malloc/obstack.c (_obstack_begin): Likewise.
23889 (_obstack_begin_1): Likewise.
23890 (_obstack_newchunk): Likewise.
23891 (_obstack_allocated_p): Likewise.
23892 (obstack_free): Likewise.
23893 (_obstack_memory_used): Likewise.
23894 * misc/getttyent.c (getttynam): Likewise.
23895 (getttyent): Likewise.
23896 (skip): Likewise.
23897 (value): Likewise.
23898 * misc/getusershell.c (initshells): Likewise.
23899 * misc/syslog.c (__vsyslog_chk): Likewise.
23900 * misc/ttyslot.c (ttyslot): Likewise.
23901 * nis/nis_hash.c (__nis_hash): Likewise.
23902 * posix/fnmatch_loop.c (FCT): Likewise.
23903 * posix/getconf.c (print_all): Likewise.
23904 (main): Likewise.
23905 * posix/getopt.c (exchange): Likewise.
23906 * posix/glob.c (globfree): Likewise.
23907 (prefix_array): Likewise.
23908 (__glob_pattern_type): Likewise.
23909 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23910 (NS_GET32): Likewise.
23911 (NS_PUT16): Likewise.
23912 (NS_PUT32): Likewise.
23913 * resolv/gethnamaddr.c (getanswer): Likewise.
23914 (gethostbyname2): Likewise.
23915 (gethostbyaddr): Likewise.
23916 (_gethtent): Likewise.
23917 (_gethtbyname2): Likewise.
23918 (_gethtbyaddr): Likewise.
23919 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23920 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23921 * resolv/res_init.c (__res_vinit): Likewise.
23922 (net_mask): Likewise.
23923 * resolv/res_mkquery.c (outchar): Likewise.
23924 (PRINT): Likewise.
23925 * stdio-common/printf_fp.c (outchar): Likewise.
23926 (PRINT): Likewise.
23927 * stdio-common/printf_fphex.c (outchar): Likewise.
23928 (PRINT): Likewise.
23929 * stdio-common/printf_size.c (outchar): Likewise.
23930 (PRINT): Likewise.
23931 * stdio-common/test_rdwr.c (main): Likewise.
23932 * stdio-common/tfformat.c (matches): Likewise.
23933 * stdio-common/vfprintf.c (outchar): Likewise.
23934 (printf_unknown): Likewise.
23935 (buffered_vfprintf): Likewise.
23936 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23937 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23938 (ReadFile): Likewise.
23939 * stdlib/qsort.c (SWAP): Likewise.
23940 (_quicksort): Likewise.
23941 * stdlib/setenv.c (__add_to_environ): Likewise.
23942 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23943 * stdlib/strtol_l.c (__strtol_l): Likewise.
23944 * stdlib/tst-strtod.c (main): Likewise.
23945 * stdlib/tst-strtol.c (main): Likewise.
23946 * stdlib/tst-strtoll.c (main): Likewise.
23947 * string/bits/string2.h (__strcmp_cc): Likewise.
23948 (__strcmp_cg): Likewise.
23949 (__strcspn_c1): Likewise.
23950 (__strcspn_c2): Likewise.
23951 (__strcspn_c3): Likewise.
23952 (__strspn_c1): Likewise.
23953 (__strspn_c2): Likewise.
23954 (__strspn_c3): Likewise.
23955 (__strsep_1c): Likewise.
23956 (__strsep_2c): Likewise.
23957 (__strsep_3c): Likewise.
23958 * string/memccpy.c (__memccpy): Likewise.
23959 * string/stpcpy.c (__stpcpy): Likewise.
23960 * string/strcmp.c (strcmp): Likewise.
23961 * string/strrchr.c (strrchr): Likewise.
23962 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23963 Likewise.
23964 * sysdeps/mach/hurd/getcwd.c
23965 (_hurd_canonicalize_directory_name_internal): Likewise.
23966 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23967 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23968 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23969 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23970 Likewise, in both definitions.
23971 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23972 definitions.
23973 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23974 64] (__bswap_64): Likewise.
23975 * time/test_time.c (main): Likewise.
23976 * time/tzfile.c (__tzfile_read): Likewise.
23977 (__tzfile_compute): Likewise.
23978 * time/tzset.c (__tzset_parse_tz): Likewise.
23979 (tzset_internal): Likewise.
23980 (compute_change): Likewise.
23981 * wcsmbs/wcscat.c (__wcscat): Likewise.
23982 * wcsmbs/wcschr.c (wcschr): Likewise.
23983 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23984 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23985 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23986 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23987 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23988 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23989 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23990 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23991 * wcsmbs/wmemset.c (wmemset): Likewise.
23992
9e54314b
JM
239932013-06-06 Joseph Myers <joseph@codesourcery.com>
23994
23995 * scripts/config.guess: Update to version 2013-05-16.
23996 * scripts/config.sub: Update to version 2013-04-24.
23997 * scripts/install-sh: Update to version 2011-11-20.07.
23998 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23999 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24000
350635a5
OB
240012013-06-06 Ondřej Bílka <neleai@seznam.cz>
24002
24003 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24004 * elf/sln.c: Likewise.
24005 * hurd/hurd/ioctl.h: Likewise.
24006 * hurd/hurdmalloc.c: Likewise.
24007 * hurd/xattr.c: Likewise.
24008 * include/shlib-compat.h: Likewise.
24009 * inet/ruserpass.c: Likewise.
24010 * libio/iofgets_u.c: Likewise.
24011 * libio/iofgetws_u.c: Likewise.
24012 * locale/programs/ld-identification.c: Likewise.
24013 * locale/programs/ld-time.c: Likewise.
24014 * mach/msg-destroy.c: Likewise.
24015 * nss/nss_files/files-netgrp.c: Likewise.
24016 * resolv/res_data.c: Likewise.
24017 * soft-fp/op-1.h: Likewise.
24018 * soft-fp/op-2.h: Likewise.
24019 * soft-fp/op-4.h: Likewise.
24020 * soft-fp/op-common.h: Likewise.
24021 * stdio-common/printf_fphex.c: Likewise.
24022 * stdlib/strtod_l.c: Likewise.
24023 * sunrpc/rpc/clnt.h: Likewise.
24024 * sysdeps/generic/framestate.c: Likewise.
24025 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24026 * sysdeps/i386/bsd-setjmp.S: Likewise.
24027 * sysdeps/i386/__longjmp.S: Likewise.
24028 * sysdeps/i386/setjmp.S: Likewise.
24029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24030 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24039 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24040 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24043 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24045 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24047 * sysdeps/ieee754/support.c: Likewise.
24048 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24049 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24050 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24051 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24052 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24053 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24054 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24055 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24056 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24057 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24058 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24059 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24060 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24061 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24062 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24063 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24064 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24066
44a988af
OB
240672013-06-05 Ondřej Bílka <neleai@seznam.cz>
24068
25506f09 24069 * posix/transbug.c: Remove executable mode.
44a988af 24070
9c84384c
JM
240712013-06-05 Joseph Myers <joseph@codesourcery.com>
24072
24073 * crypt/speeds.c: Remove trailing whitespace.
24074 * dlfcn/default.c: Likewise.
24075 * elf/ifuncdep2.c: Likewise.
24076 * elf/ifuncmain1.c: Likewise.
24077 * elf/ifuncmain1vis.c: Likewise.
24078 * elf/testobj.h: Likewise.
24079 * elf/tst-stackguard1.c: Likewise.
24080 * gmon/sys/gmon.h: Likewise.
24081 * hurd/hurdmsg.c: Likewise.
24082 * hurd/new-fd.c: Likewise.
24083 * hurd/ports-get.c: Likewise.
24084 * iconvdata/ibm1008_420.c: Likewise.
24085 * inet/tst-getni1.c: Likewise.
24086 * inet/tst-getni2.c: Likewise.
24087 * libio/ioungetc.c: Likewise.
24088 * libio/wfiledoalloc.c: Likewise.
24089 * manual/libm-err-tab.pl: Likewise.
24090 * math/w_dremf.c: Likewise.
24091 * misc/ftruncate.c: Likewise.
24092 * posix/bug-glob2.c: Likewise.
24093 * posix/tst-pcre.c: Likewise.
24094 * posix/wait4.c: Likewise.
24095 * resolv/README: Likewise.
24096 * resolv/res_debug.h: Likewise.
24097 * resolv/tst-inet_ntop.c: Likewise.
24098 * setjmp/bug269-setjmp.c: Likewise.
24099 * soft-fp/extended.h: Likewise.
24100 * soft-fp/op-1.h: Likewise.
24101 * soft-fp/op-2.h: Likewise.
24102 * soft-fp/op-4.h: Likewise.
24103 * soft-fp/op-8.h: Likewise.
24104 * soft-fp/testit.c: Likewise.
24105 * stdio-common/bug16.c: Likewise.
24106 * stdlib/random.c: Likewise.
24107 * sunrpc/rpcsvc/rquota.x: Likewise.
24108 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24109 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24110 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24111 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24112 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24113 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24114 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24115 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24116 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24117 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24118 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24127 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24128 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24130 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24131 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24133 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24134 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24135 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24136 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24137 * sysdeps/ieee754/s_lib_version.c: Likewise.
24138 * sysdeps/mach/hurd/check_fds.c: Likewise.
24139 * sysdeps/mach/hurd/getsockname.c: Likewise.
24140 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24141 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24142 * sysdeps/powerpc/bits/link.h: Likewise.
24143 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24144 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24145 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24146 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24147 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24148 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24149 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24150 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24151 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24152 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24153 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24154 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24155 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24156 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24157 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24158 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24159 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24160 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24162 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24163 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24164 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24165 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24166 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24167 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24168 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24169 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24170 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24171 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24172 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24173 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24174 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24175 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24176 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24177 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24178 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24179 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24180 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24181 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24182 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24183 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24184 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24185 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24186 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24187 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24188 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24189 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24190 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24191 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24192 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24195 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24196 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24197 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24198 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24199 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24200 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24201 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24202 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24203 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24204 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24205 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24206 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24207 * sysdeps/powerpc/sysdep.h: Likewise.
24208 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24209 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24210 * sysdeps/sh/dl-trampoline.S: Likewise.
24211 * sysdeps/sh/memset.S: Likewise.
24212 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24213 * sysdeps/sh/strlen.S: Likewise.
24214 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24215 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24216 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24217 * sysdeps/sparc/sparc32/rem.S: Likewise.
24218 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24219 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24220 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24221 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24222 * sysdeps/sparc/sparc32/urem.S: Likewise.
24223 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24224 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24225 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24226 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24227 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24228 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24229 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24230 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24231 * sysdeps/unix/bsd/times.c: Likewise.
24232 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24233 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24237 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24238 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24239 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24240 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24241 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24242 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24243 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24244 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24245 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24246 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24247 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24248 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24249 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24250 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24251 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24252 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24253 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24254 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24255 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24256 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24257 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24258 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24259 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24260 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24261 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24262 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24263 * sysdeps/x86_64/strcspn.S: Likewise.
24264
869378a5
RA
242652013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24266
24267 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24268 generated file. Regenerate properly from gen-translit.pl.
24269 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24270 locale/C-translit.h.
24271
840e2943
AS
242722013-06-05 Andreas Schwab <schwab@suse.de>
24273
24274 [BZ #15100]
24275 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24276 week as 6 instead of -1.
24277 * time/tst-strptime.c (day_tests): Add test case.
24278
4c60cb0c
SP
242792013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24280
24281 * sysdeps/generic/math_private.h
24282 (libc_feholdexcept_setround_53bit): Replace with
24283 libc_feholdsetround_53bit.
24284 (libc_feupdateenv_53bit): Replace with
24285 libc_feresetround_53bit.
24286 (SET_RESTORE_ROUND_53BIT): Adjust.
24287
d180203e
SP
242882013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24289
96df079a
SP
24290 * string/test-strchrnul.c: Add copyright header.
24291
d180203e
SP
24292 * posix/tst-getaddrinfo4.c: Increase test timeout.
24293
8b0ccb2d
CD
242942013-06-03 Carlos O'Donell <carlos@redhat.com>
24295
24296 [BZ #15536]
24297 * math/libm-test.inc (MAX_EXP): Remove
24298 (MIN_EXP): Define.
24299 (ulp): Use MIN_EXP - MANT_DIG.
24300 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24301
3b3c4d40
CD
243022013-05-31 Carlos O'Donell <carlos@redhat.com>
24303
24304 * po/be.po: Revert last change.
24305 * po/zh_CN.po: Likewise.
24306 * po/header.pot: Likewise.
24307
fab7ce3f
JM
243082013-05-31 Joseph Myers <joseph@codesourcery.com>
24309
24310 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24311 link-libc-deps to empty as target-specific variable.
24312 * Makerules (link-libc-args): New variable.
24313 (libc-for-link): Likewise.
24314 (link-libc-deps): Likewise.
24315 (lib%.so): Depend on $(link-libc-deps). Link with
24316 $(link-libc-args).
24317 (build-module): Link with $(link-libc-args).
24318 (build-module-asneeded): Likewise.
24319 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24320 list of objects.
24321 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24322 target-specific variable.
24323 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24324 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24325 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24326 libc.
24327 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24328 libc and ld.so.
24329 ($(objpfx)libpcprofile.so): Likewise.
24330 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24331 libc_nonshared.a.
24332 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24333 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24334 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24335 $(link-libc-deps).
24336 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24337 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24338 * login/Makefile ($(objpfx)libutil.so): Likewise.
24339 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24340 * math/Makefile ($(objpfx)libm.so): Likewise.
24341 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24342 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24343 variable instead of depending directly on libc.
24344 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24345 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24346 $(link-libc-deps).
24347 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24348 libc.
24349 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24350 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24351 ($(objpfx)libanl.so): Likewise.
24352 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24353 ld.so.
24354 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24355 $(link-libc-deps).
24356 * sysdeps/i386/fpu/Makefile: Remove file.
24357 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24358 ($(objpfx)libm.so): Remove dependency on ld.so.
24359
eca5920c
PF
243602013-05-30 Patsy Franklin <pfrankli@redhat.com>
24361
24362 [BZ # 15553]
24363 * nis/yp_xdr.c (XDRMAXNAME): Define.
24364 (XDRMAXRECORD): Define.
24365 (xdr_domainname): Use XDRMAXNAME.
24366 (xdr_mapname): Likewise.
24367 (xdr_peername): Likewise.
24368 (xdr_keydat): Use XDRMAXRECORD.
24369 (xdr_valdat): Likewise.
24370
243712013-05-30 Jeff Law <law@redhat.com>
96945714
JL
24372
24373 [BZ #14256]
24374 * manual/errno.texi (ESTALE): Update to account for more than
24375 just NFS file systems.
24376 * sysdeps/gnu/errlist.c: Regenerated.
24377
b9375348
SP
243782013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24379
24380 [BZ #15465]
24381 * elf/Makefile (tests): Add tst-null-argv.
24382 (modules-names): Add tst-null-argv-lib.
24383 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24384 (tst-null-argv-ENV): Set environment for tst-null-argv.
24385 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24386 (RTLD_PROGNAME): New macro.
24387 * elf/tst-null-argv.c: New test case.
24388 * elf/tst-null-argv-lib.c: Library for test case.
24389 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24390 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24391 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24392 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24393 * elf/dl-init.c (call_init): Likewise.
24394 (_dl_init): Likewise.
24395 * elf/dl-load.c (print_search_path): Likewise.
24396 (_dl_map_object): Likewise.
24397 * elf/dl-lookup.c (do_lookup_x): Likewise.
24398 (add_dependency): Likewise.
24399 (_dl_lookup_symbol_x): Likewise.
24400 (_dl_debug_bindings): Likewise.
24401 * elf/dl-open.c (_dl_show_scope): Likewise.
24402 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24403 * elf/dl-version.c (match_symbol): Likewise.
24404 (_dl_check_map_versions): Likewise.
24405 * elf/rtld.c (dl_main): Likewise.
24406 (print_unresolved): Use RTLD_PROGNAME.
24407 (print_missing_version): Likewise.
24408 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24409 (elf_machine_rela): Likewise.
24410 * sysdeps/powerpc/powerpc32/dl-machine.c
24411 (__process_machine_rela): Likewise.
24412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24413 Likewise.
24414 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24415 Likewise.
24416 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24417 Likewise.
24418 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24419 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24420 Likewise.
24421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24422 Likewise.
24423 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24424
8a9f20c8
CD
244252013-05-28 Carlos O'Donell <carlos@redhat.com>
24426
24427 * po/be.po: Add descriptive title.
24428 * po/zh_CN.po: Likewise.
24429 * po/header.pot: Likewise.
24430
0e60d68e
MF
244312013-05-28 Mike Frysinger <vapier@gentoo.org>
24432
24433 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24434 error message.
24435 (enlarge_archive): Likewise.
24436
56b672e9
BN
244372013-05-28 Ben North <ben@redfrontdoor.org>
24438
24439 * manual/arith.texi (frexp): It is the magnitude of the return
24440 value which lies in [0.5, 1), not the return value itself.
24441
5e056687
AZ
244422013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24443
24444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24445
2b66ef5d
TS
244462013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24447
528c2405
TS
24448 * stdio-common/bug26.c (main): Correct fscanf template.
24449
07b4c13d
TS
24450 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24451 declare _dl_skip_args.
24452
ec9dd97c
TS
24453 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24454 Don't declare.
24455
2b66ef5d
TS
24456 * manual/platform.texi: Add missing @end deftypefun.
24457
4f8dfe27
JM
244582013-05-24 Joseph Myers <joseph@codesourcery.com>
24459
0323d086
JM
24460 [BZ #15529]
24461 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24462 bit of mantissa of 2^16382.
24463 * math/libm-test.inc (hypot_test_data): Add more tests.
24464
dd4259b9
JM
24465 * math/libm-test.inc: Add drem and pow10 to list of tested
24466 functions.
24467 (pow10_test): New function.
24468 (drem_test): Likewise.
24469 (drem_test_tonearest): Likewise.
24470 (drem_test_towardzero): Likewise.
24471 (drem_test_downward): Likewise.
24472 (drem_test_upward): Likewise.
24473 (main): Call the new functions.
24474
4f8dfe27
JM
24475 * math/libm-test.inc (finite_test_data): Remove.
24476 (finite_test): Run tests from isfinite_test_data.
24477 (gamma_test_data): Remove.
24478 (gamma_test): Run tests from lgamma_test_data.
24479 * sysdeps/i386/fpu/libm-test-ulps: Update.
24480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24481
d116b7c4
AZ
244822013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24483
24484 * manual/platform.texi: Add PowerPC PPR function set documentation.
24485 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24486 implementation.
24487
e96e3767
CD
244882013-05-24 Carlos O'Donell <carlos@redhat.com>
24489
24490 * math/libm-test.inc (MAX_EXP): Define.
24491 (ULPDIFF): Define.
24492 (ulp): New function.
24493 (check_float_internal): Use ULPDIFF.
24494 (cpow_test): Disable failing test.
24495 (check_ulp): Test ulp() implemetnation.
24496 (main): Call check_ulp before starting tests.
24497
b679a606
JM
244982013-05-24 Joseph Myers <joseph@codesourcery.com>
24499
e8bdba36
JM
24500 * math/gen-libm-test.pl (generate_testfile): Do not handle
24501 START_DATA and END_DATA.
24502 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24503 END_DATA.
24504 (acos_tonearest_test_data): Likewise.
24505 (acos_towardzero_test_data): Likewise.
24506 (acos_downward_test_data): Likewise.
24507 (acos_upward_test_data): Likewise.
24508 (acosh_test_data): Likewise.
24509 (asin_test_data): Likewise.
24510 (asin_tonearest_test_data): Likewise.
24511 (asin_towardzero_test_data): Likewise.
24512 (asin_downward_test_data): Likewise.
24513 (asin_upward_test_data): Likewise.
24514 (asinh_test_data): Likewise.
24515 (atan_test_data): Likewise.
24516 (atanh_test_data): Likewise.
24517 (atan2_test_data): Likewise.
24518 (cabs_test_data): Likewise.
24519 (cacos_test_data): Likewise.
24520 (cacosh_test_data): Likewise.
24521 (carg_test_data): Likewise.
24522 (casin_test_data): Likewise.
24523 (casinh_test_data): Likewise.
24524 (catan_test_data): Likewise.
24525 (catanh_test_data): Likewise.
24526 (cbrt_test_data): Likewise.
24527 (ccos_test_data): Likewise.
24528 (ccosh_test_data): Likewise.
24529 (ceil_test_data): Likewise.
24530 (cexp_test_data): Likewise.
24531 (cimag_test_data): Likewise.
24532 (clog_test_data): Likewise.
24533 (clog10_test_data): Likewise.
24534 (conj_test_data): Likewise.
24535 (copysign_test_data): Likewise.
24536 (cos_test_data): Likewise.
24537 (cos_tonearest_test_data): Likewise.
24538 (cos_towardzero_test_data): Likewise.
24539 (cos_downward_test_data): Likewise.
24540 (cos_upward_test_data): Likewise.
24541 (cosh_test_data): Likewise.
24542 (cosh_tonearest_test_data): Likewise.
24543 (cosh_towardzero_test_data): Likewise.
24544 (cosh_downward_test_data): Likewise.
24545 (cosh_upward_test_data): Likewise.
24546 (cpow_test_data): Likewise.
24547 (cproj_test_data): Likewise.
24548 (creal_test_data): Likewise.
24549 (csin_test_data): Likewise.
24550 (csinh_test_data): Likewise.
24551 (csqrt_test_data): Likewise.
24552 (ctan_test_data): Likewise.
24553 (ctan_tonearest_test_data): Likewise.
24554 (ctan_towardzero_test_data): Likewise.
24555 (ctan_downward_test_data): Likewise.
24556 (ctan_upward_test_data): Likewise.
24557 (ctanh_test_data): Likewise.
24558 (ctanh_tonearest_test_data): Likewise.
24559 (ctanh_towardzero_test_data): Likewise.
24560 (ctanh_downward_test_data): Likewise.
24561 (ctanh_upward_test_data): Likewise.
24562 (erf_test_data): Likewise.
24563 (erfc_test_data): Likewise.
24564 (exp_test_data): Likewise.
24565 (exp_tonearest_test_data): Likewise.
24566 (exp_towardzero_test_data): Likewise.
24567 (exp_downward_test_data): Likewise.
24568 (exp_upward_test_data): Likewise.
24569 (exp10_test_data): Likewise.
24570 (exp2_test_data): Likewise.
24571 (expm1_test_data): Likewise.
24572 (fabs_test_data): Likewise.
24573 (fdim_test_data): Likewise.
24574 (finite_test_data): Likewise.
24575 (floor_test_data): Likewise.
24576 (fma_test_data): Likewise.
24577 (fma_towardzero_test_data): Likewise.
24578 (fma_downward_test_data): Likewise.
24579 (fma_upward_test_data): Likewise.
24580 (fmax_test_data): Likewise.
24581 (fmin_test_data): Likewise.
24582 (fmod_test_data): Likewise.
24583 (fpclassify_test_data): Likewise.
24584 (frexp_test_data): Likewise.
24585 (gamma_test_data): Likewise.
24586 (hypot_test_data): Likewise.
24587 (ilogb_test_data): Likewise.
24588 (isfinite_test_data): Likewise.
24589 (isgreater_test_data): Likewise.
24590 (isgreaterequal_test_data): Likewise.
24591 (isinf_test_data): Likewise.
24592 (isless_test_data): Likewise.
24593 (islessequal_test_data): Likewise.
24594 (islessgreater_test_data): Likewise.
24595 (isnan_test_data): Likewise.
24596 (isnormal_test_data): Likewise.
24597 (issignaling_test_data): Likewise.
24598 (isunordered_test_data): Likewise.
24599 (j0_test_data): Likewise.
24600 (j1_test_data): Likewise.
24601 (jn_test_data): Likewise.
24602 (ldexp_test_data): Likewise.
24603 (lgamma_test_data): Likewise.
24604 (lrint_test_data): Likewise.
24605 (lrint_tonearest_test_data): Likewise.
24606 (lrint_towardzero_test_data): Likewise.
24607 (lrint_downward_test_data): Likewise.
24608 (lrint_upward_test_data): Likewise.
24609 (llrint_test_data): Likewise.
24610 (llrint_tonearest_test_data): Likewise.
24611 (llrint_towardzero_test_data): Likewise.
24612 (llrint_downward_test_data): Likewise.
24613 (llrint_upward_test_data): Likewise.
24614 (log_test_data): Likewise.
24615 (log10_test_data): Likewise.
24616 (log1p_test_data): Likewise.
24617 (log2_test_data): Likewise.
24618 (logb_test_data): Likewise.
24619 (logb_downward_test_data): Likewise.
24620 (lround_test_data): Likewise.
24621 (llround_test_data): Likewise.
24622 (modf_test_data): Likewise.
24623 (nearbyint_test_data): Likewise.
24624 (nextafter_test_data): Likewise.
24625 (nexttoward_test_data): Likewise.
24626 (pow_test_data): Likewise.
24627 (pow_tonearest_test_data): Likewise.
24628 (pow_towardzero_test_data): Likewise.
24629 (pow_downward_test_data): Likewise.
24630 (pow_upward_test_data): Likewise.
24631 (remainder_test_data): Likewise.
24632 (remainder_tonearest_test_data): Likewise.
24633 (remainder_towardzero_test_data): Likewise.
24634 (remainder_downward_test_data): Likewise.
24635 (remainder_upward_test_data): Likewise.
24636 (remquo_test_data): Likewise.
24637 (rint_test_data): Likewise.
24638 (rint_tonearest_test_data): Likewise.
24639 (rint_towardzero_test_data): Likewise.
24640 (rint_downward_test_data): Likewise.
24641 (rint_upward_test_data): Likewise.
24642 (round_test_data): Likewise.
24643 (scalb_test_data): Likewise.
24644 (scalbn_test_data): Likewise.
24645 (scalbln_test_data): Likewise.
24646 (signbit_test_data): Likewise.
24647 (sin_test_data): Likewise.
24648 (sin_tonearest_test_data): Likewise.
24649 (sin_towardzero_test_data): Likewise.
24650 (sin_downward_test_data): Likewise.
24651 (sin_upward_test_data): Likewise.
24652 (sincos_test_data): Likewise.
24653 (sinh_test_data): Likewise.
24654 (sinh_tonearest_test_data): Likewise.
24655 (sinh_towardzero_test_data): Likewise.
24656 (sinh_downward_test_data): Likewise.
24657 (sinh_upward_test_data): Likewise.
24658 (sqrt_test_data): Likewise.
24659 (tan_test_data): Likewise.
24660 (tan_tonearest_test_data): Likewise.
24661 (tan_towardzero_test_data): Likewise.
24662 (tan_downward_test_data): Likewise.
24663 (tan_upward_test_data): Likewise.
24664 (tanh_test_data): Likewise.
24665 (tgamma_test_data): Likewise.
24666 (trunc_test_data): Likewise.
24667 (y0_test_data): Likewise.
24668 (y1_test_data): Likewise.
24669 (yn_test_data): Likewise.
24670 (significand_test_data): Likewise.
24671
b679a606
JM
24672 * math/gen-libm-test.pl (@functions): Remove variable.
24673 (generate_testfile): Don't handle START and END lines.
24674 * math/libm-test.inc (START): New macro.
24675 (END): Likewise.
24676 (END_COMPLEX): Likewise.
24677 (acos_test): Use END macro without arguments.
24678 (acos_test_tonearest): Likewise.
24679 (acos_test_towardzero): Likewise.
24680 (acos_test_downward): Likewise.
24681 (acos_test_upward): Likewise.
24682 (acosh_test): Likewise.
24683 (asin_test): Likewise.
24684 (asin_test_tonearest): Likewise.
24685 (asin_test_towardzero): Likewise.
24686 (asin_test_downward): Likewise.
24687 (asin_test_upward): Likewise.
24688 (asinh_test): Likewise.
24689 (atan_test): Likewise.
24690 (atanh_test): Likewise.
24691 (atan2_test): Likewise.
24692 (cabs_test): Likewise.
24693 (cacos_test): Use END_COMPLEX macro without arguments.
24694 (cacosh_test): Likewise.
24695 (carg_test): Use END macro without arguments.
24696 (casin_test): Use END_COMPLEX macro without arguments.
24697 (casinh_test): Likewise.
24698 (catan_test): Likewise.
24699 (catanh_test): Likewise.
24700 (cbrt_test): Use END macro without arguments.
24701 (ccos_test): Use END_COMPLEX macro without arguments.
24702 (ccosh_test): Likewise.
24703 (ceil_test): Use END macro without arguments.
24704 (cexp_test): Use END_COMPLEX macro without arguments.
24705 (cimag_test): Use END macro without arguments.
24706 (clog_test): Use END_COMPLEX macro without arguments.
24707 (clog10_test): Likewise.
24708 (conj_test): Likewise.
24709 (copysign_test): Use END macro without arguments.
24710 (cos_test): Likewise.
24711 (cos_test_tonearest): Likewise.
24712 (cos_test_towardzero): Likewise.
24713 (cos_test_downward): Likewise.
24714 (cos_test_upward): Likewise.
24715 (cosh_test): Likewise.
24716 (cosh_test_tonearest): Likewise.
24717 (cosh_test_towardzero): Likewise.
24718 (cosh_test_downward): Likewise.
24719 (cosh_test_upward): Likewise.
24720 (cpow_test): Use END_COMPLEX macro without arguments.
24721 (cproj_test): Likewise.
24722 (creal_test): Use END macro without arguments.
24723 (csin_test): Use END_COMPLEX macro without arguments.
24724 (csinh_test): Likewise.
24725 (csqrt_test): Likewise.
24726 (ctan_test): Likewise.
24727 (ctan_test_tonearest): Likewise.
24728 (ctan_test_towardzero): Likewise.
24729 (ctan_test_downward): Likewise.
24730 (ctan_test_upward): Likewise.
24731 (ctanh_test): Likewise.
24732 (ctanh_test_tonearest): Likewise.
24733 (ctanh_test_towardzero): Likewise.
24734 (ctanh_test_downward): Likewise.
24735 (ctanh_test_upward): Likewise.
24736 (erf_test): Use END macro without arguments.
24737 (erfc_test): Likewise.
24738 (exp_test): Likewise.
24739 (exp_test_tonearest): Likewise.
24740 (exp_test_towardzero): Likewise.
24741 (exp_test_downward): Likewise.
24742 (exp_test_upward): Likewise.
24743 (exp10_test): Likewise.
24744 (exp2_test): Likewise.
24745 (expm1_test): Likewise.
24746 (fabs_test): Likewise.
24747 (fdim_test): Likewise.
24748 (finite_test): Likewise.
24749 (floor_test): Likewise.
24750 (fma_test): Likewise.
24751 (fma_test_towardzero): Likewise.
24752 (fma_test_downward): Likewise.
24753 (fma_test_upward): Likewise.
24754 (fmax_test): Likewise.
24755 (fmin_test): Likewise.
24756 (fmod_test): Likewise.
24757 (fpclassify_test): Likewise.
24758 (frexp_test): Likewise.
24759 (gamma_test): Likewise.
24760 (hypot_test): Likewise.
24761 (ilogb_test): Likewise.
24762 (isfinite_test): Likewise.
24763 (isgreater_test): Likewise.
24764 (isgreaterequal_test): Likewise.
24765 (isinf_test): Likewise.
24766 (isless_test): Likewise.
24767 (islessequal_test): Likewise.
24768 (islessgreater_test): Likewise.
24769 (isnan_test): Likewise.
24770 (isnormal_test): Likewise.
24771 (issignaling_test): Likewise.
24772 (isunordered_test): Likewise.
24773 (j0_test): Likewise.
24774 (j1_test): Likewise.
24775 (jn_test): Likewise.
24776 (ldexp_test): Likewise.
24777 (lgamma_test): Likewise.
24778 (lrint_test): Likewise.
24779 (lrint_test_tonearest): Likewise.
24780 (lrint_test_towardzero): Likewise.
24781 (lrint_test_downward): Likewise.
24782 (lrint_test_upward): Likewise.
24783 (llrint_test): Likewise.
24784 (llrint_test_tonearest): Likewise.
24785 (llrint_test_towardzero): Likewise.
24786 (llrint_test_downward): Likewise.
24787 (llrint_test_upward): Likewise.
24788 (log_test): Likewise.
24789 (log10_test): Likewise.
24790 (log1p_test): Likewise.
24791 (log2_test): Likewise.
24792 (logb_test): Likewise.
24793 (logb_test_downward): Likewise.
24794 (lround_test): Likewise.
24795 (llround_test): Likewise.
24796 (modf_test): Likewise.
24797 (nearbyint_test): Likewise.
24798 (nextafter_test): Likewise.
24799 (nexttoward_test): Likewise.
24800 (pow_test): Likewise.
24801 (pow_test_tonearest): Likewise.
24802 (pow_test_towardzero): Likewise.
24803 (pow_test_downward): Likewise.
24804 (pow_test_upward): Likewise.
24805 (remainder_test): Likewise.
24806 (remainder_test_tonearest): Likewise.
24807 (remainder_test_towardzero): Likewise.
24808 (remainder_test_downward): Likewise.
24809 (remainder_test_upward): Likewise.
24810 (remquo_test): Likewise.
24811 (rint_test): Likewise.
24812 (rint_test_tonearest): Likewise.
24813 (rint_test_towardzero): Likewise.
24814 (rint_test_downward): Likewise.
24815 (rint_test_upward): Likewise.
24816 (round_test): Likewise.
24817 (scalb_test): Likewise.
24818 (scalbn_test): Likewise.
24819 (scalbln_test): Likewise.
24820 (signbit_test): Likewise.
24821 (sin_test): Likewise.
24822 (sin_test_tonearest): Likewise.
24823 (sin_test_towardzero): Likewise.
24824 (sin_test_downward): Likewise.
24825 (sin_test_upward): Likewise.
24826 (sincos_test): Likewise.
24827 (sinh_test): Likewise.
24828 (sinh_test_tonearest): Likewise.
24829 (sinh_test_towardzero): Likewise.
24830 (sinh_test_downward): Likewise.
24831 (sinh_test_upward): Likewise.
24832 (sqrt_test): Likewise.
24833 (tan_test): Likewise.
24834 (tan_test_tonearest): Likewise.
24835 (tan_test_towardzero): Likewise.
24836 (tan_test_downward): Likewise.
24837 (tan_test_upward): Likewise.
24838 (tanh_test): Likewise.
24839 (tgamma_test): Likewise.
24840 (trunc_test): Likewise.
24841 (y0_test): Likewise.
24842 (y1_test): Likewise.
24843 (yn_test): Likewise.
24844 (significand_test): Likewise.
24845
bae143d2
OB
248462013-05-24 Ondřej Bílka <neleai@seznam.cz>
24847
24848 [BZ #15381]
24849 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24850
9323d39b
EM
248512013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24852
d4ea44a0 24853 [BZ #14894]
9323d39b
EM
24854 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24855 __ppc_mdoio and __ppc_mdoom.
24856 * manual/platform.texi: Document new functions __ppc_yield,
24857 __ppc_mdoio and __ppc_mdoom.
24858
13e23af7
CD
248592013-05-22 Carlos O'Donell <carlos@redhat.com>
24860
24861 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24862 (main): Mention "tls" pseudo-hwcap is legacy.
24863 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24864
351fe550
JM
248652013-05-22 Joseph Myers <joseph@codesourcery.com>
24866
24867 * math/gen-libm-test.pl (parse_args): Output only string of
24868 arguments as text for test name, not full call or descriptions of
24869 tests for extra outputs.
24870 (generate_testfile): Do not pass function name to parse_args.
24871 Generate this_func variable from START.
24872 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24873 field to arg_str.
24874 (struct test_ff_f_data): Likewise.
24875 (test_ff_f_data_nexttoward): Likewise.
24876 (struct test_fi_f_data): Likewise.
24877 (struct test_fl_f_data): Likewise.
24878 (struct test_if_f_data): Likewise.
24879 (struct test_fff_f_data): Likewise.
24880 (struct test_c_f_data): Likewise.
24881 (struct test_f_f1_data): Likewise. Remove field extra_name.
24882 (struct test_fF_f1_data): Likewise.
24883 (struct test_ffI_f1_data): Likewise.
24884 (struct test_c_c_data): Rename test_name field to arg_str.
24885 (struct test_cc_c_data): Likewise.
24886 (struct test_f_i_data): Likewise.
24887 (struct test_ff_i_data): Likewise.
24888 (struct test_f_l_data): Likewise.
24889 (struct test_f_L_data): Likewise.
24890 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24891 and extra2_name.
24892 (COMMON_TEST_SETUP): New macro.
24893 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24894 (COMMON_TEST_CLEANUP): Likewise.
24895 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24896 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24897 macros.
24898 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24899 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24900 macros.
24901 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24902 (RUN_TEST_fff_f): Take argument string. Call new setup and
24903 cleanup macros.
24904 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24905 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24906 macros.
24907 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24908 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24909 macros.
24910 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24911 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24912 cleanup macros.
24913 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24914 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24915 cleanup macros.
24916 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24917 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24918 cleanup macros.
24919 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24920 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24921 macros.
24922 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24923 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24924 macros.
24925 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24926 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24927 macros.
24928 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24929 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24930 cleanup macros.
24931 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24932 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24933 cleanup macros.
24934 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24935 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24936 macros.
24937 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24938 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24939 cleanup macros.
24940 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24941 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24942 macros.
24943 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24944 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24945 macros.
24946 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24947 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24948 cleanup macros.
24949 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24950
85118d4d
EBM
249512013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24952
24953 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24954 to _sifields.sigfault.
24955 (si_addr_lsb): Define new macro.
24956 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24957 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24958 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24959
7a44c18f
CD
249602013-05-03 Carlos O'Donell <carlos at redhat.com>
24961
24962 [BZ #15441]
24963 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24964 returns -1.
24965 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24966 null return -1.
24967 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24968 loading the domain.
24969
b50a7181
JM
249702013-05-22 Joseph Myers <joseph@codesourcery.com>
24971
24972 * math/gen-libm-test.pl (parse_args): Do not include expected
24973 result in test name.
24974 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24975 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24976 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24977 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24978 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24980
051063c8
SP
249812013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24982
3ce9e010
SP
24983 * benchtests/Makefile: Sort function entries.
24984
051063c8
SP
24985 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24986 tanh, asinh, acosh, atanh.
24987 * benchtests/acos-inputs: New file.
24988 * benchtests/acosh-inputs: New file.
24989 * benchtests/asin-inputs: New file.
24990 * benchtests/asinh-inputs: New file.
24991 * benchtests/atanh-inputs: New file.
24992 * benchtests/cosh-inputs: New file.
24993 * benchtests/log-inputs: New file.
24994 * benchtests/sinh-inputs: New file.
24995 * benchtests/tanh-inputs: New file.
24996
47c22455
DL
249972013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24998
24999 [BZ #15339]
25000 * posix/tst-getaddrinfo4.c: New test.
25001 * posix/Makefile (tests): Add it.
25002
3d04f5db
SP
250032013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25004
25005 [BZ #15339]
25006 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25007 when no services were used.
25008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25009 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25010
d5dd6189
AS
250112013-05-21 Andreas Schwab <schwab@suse.de>
25012
25013 [BZ #15014]
25014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25015 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25016 successful.
25017 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25018 redundant variable declarations and reallocation of buffer when
25019 parsing as IPv6 address. Always set NSS status when called from
25020 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25021 buffer too small. Correct computation of needed size.
25022 * nss/Makefile (tests): Add test-digits-dots.
25023 * nss/test-digits-dots.c: New test.
25024
fef94eab
SP
250252013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25026
25027 * benchtests/Makefile: Remove instructions for adding
25028 benchmark tests.
25029 * benchtests/README: New file to explain how to execute and
25030 enhance the benchmark tests.
25031
e39adf43
AS
250322013-05-21 Andreas Schwab <schwab@suse.de>
25033
25034 [BZ #15493]
25035 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25036 * setjmp/tst-sigsetjmp.c: New test.
25037
b2b671b6
OB
250382013-05-20 Ondřej Bílka <neleai@seznam.cz>
25039
25040 * sysdeps/x86_64/memset.S (memset): New implementation.
25041 (__bzero): Likewise.
25042 (__memset_tail): New function.
25043
2d48b41c
OB
250442013-05-20 Ondřej Bílka <neleai@seznam.cz>
25045
25046 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25047 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25048 __memcpy_sse2_unaligned ifunc selection.
25049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25050 Add memcpy-sse2-unaligned.S.
25051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25052 Add: __memcpy_sse2_unaligned.
25053
f16cc3eb
JM
250542013-05-19 Joseph Myers <joseph@codesourcery.com>
25055
3e694268
JM
25056 [BZ #15490]
25057 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25058 math_force_eval before restoring floating-point envrionment.
25059 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25060 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25061 Likewise.
25062 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25063 <math_private.h>.
25064 (__nearbyintl): Use math_force_eval before restoring
25065 floating-point environment.
25066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25067
db62a907
JM
25068 * math/gen-libm-test.pl (special_functions): Remove.
25069 (parse_args): Don't handle TEST_extra. Handle functions with no
25070 return value.
25071 * math/libm-test.inc (struct test_sincos_data): Replace with
25072 struct test_fFF_11_data.
25073 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25074 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25075 (sincos_test_data): Change element type to struct
25076 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25077 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25078 RUN_TEST_LOOP_sincos.
25079 * math/README.libm-test: Don't mention special handling of
25080 individual functions.
25081 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25082 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25083 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25084 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25085 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25087
f16cc3eb
JM
25088 * math/gen-libm-test.pl (get_variable): Remove function.
25089 (parse_args): Don't show pointer parameters to call in test
25090 names. Use "extra output N" in test names for extra outputs
25091 rather than naming variables.
25092
3779b5b6
JM
250932013-05-18 Joseph Myers <joseph@codesourcery.com>
25094
2ee094ff
JM
25095 [BZ #15488]
25096 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25097 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25098 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25099 double tests.
25100 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25101 disable.
25102 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25103 check_long_double.
25104
3779b5b6
JM
25105 * math/gen-libm-test.pl (@tests): Remove variable.
25106 ($count): Likewise.
25107 (new_test): Remove function.
25108 (show_exceptions): New function.
25109 (special_functions): Use show_exceptions instead of new_test.
25110 (parse_args): Likewise.
25111 (generate_testfile): Pass only function name in generated call to
25112 print_max_error or print_complex_max_error.
25113 (get_ulps): Do not handle complex tests specially.
25114 (output_test): Rename to ...
25115 (get_all_ulps_for_test): ... this. Return a string rather than
25116 printing to a file. Require ulps to be present.
25117 (output_ulps): Generate arrays rather than #defines.
25118 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25119 (struct ulp_data): New type.
25120 (BUILD_COMPLEX_ULP): Remove macro.
25121 (compare_ulp_data): New function.
25122 (find_ulps): Likewise.
25123 (find_test_ulps): Likewise.
25124 (find_function_ulps): Likewise.
25125 (find_complex_function_ulps): Likewise.
25126 (print_max_error): Determine allowed ulps using
25127 find_function_ulps.
25128 (print_complex_max_error): Determine allowed ulps using
25129 find_complex_function_ulps.
25130 (check_float_internal): Determine max ulps using find_test_ulps.
25131 (check_float): Do not take max_ulp parameter. Update call to
25132 check_float_internal.
25133 (check_complex): Likewise.
25134 (check_int): Do not take max_ulp parameter.
25135 (check_long): Likewise.
25136 (check_bool): Likewise.
25137 (check_longlong): Likewise.
25138 (struct test_f_f_data): Remove max_ulp field.
25139 (struct test_ff_f_data): Likewise.
25140 (struct test_ff_f_data_nexttoward): Likewise.
25141 (struct test_fi_f_data): Likewise.
25142 (struct test_fl_f_data): Likewise.
25143 (struct test_if_f_data): Likewise.
25144 (struct test_fff_f_data): Likewise.
25145 (struct test_c_f_data): Likewise.
25146 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25147 (struct test_fF_f1_data): Likewise.
25148 (struct test_ffI_f1_data): Likewise.
25149 (struct test_c_c_data): Remove max_ulp field.
25150 (struct test_cc_c_data): Likewise.
25151 (struct test_f_i_data): Likewise.
25152 (struct test_ff_i_data): Likewise.
25153 (struct test_f_l_data): Likewise.
25154 (struct test_f_L_data): Likewise.
25155 (struct test_sincos_data): Likewise.
25156 (RUN_TEST_f_f): Do not handle ulps.
25157 (RUN_TEST_LOOP_f_f): Likewise.
25158 (RUN_TEST_2_f): Likewise.
25159 (RUN_TEST_LOOP_2_f): Likewise.
25160 (RUN_TEST_fff_f): Likewise.
25161 (RUN_TEST_LOOP_fff_f): Likewise.
25162 (RUN_TEST_c_f): Likewise.
25163 (RUN_TEST_LOOP_c_f): Likewise.
25164 (RUN_TEST_f_f1): Likewise.
25165 (RUN_TEST_LOOP_f_f1): Likewise.
25166 (RUN_TEST_fF_f1): Likewise.
25167 (RUN_TEST_LOOP_fF_f1): Likewise.
25168 (RUN_TEST_fI_f1): Likewise.
25169 (RUN_TEST_LOOP_fI_f1): Likewise.
25170 (RUN_TEST_ffI_f1): Likewise.
25171 (RUN_TEST_LOOP_ffI_f1): Likewise.
25172 (RUN_TEST_c_c): Likewise.
25173 (RUN_TEST_LOOP_c_c): Likewise.
25174 (RUN_TEST_cc_c): Likewise.
25175 (RUN_TEST_LOOP_cc_c): Likewise.
25176 (RUN_TEST_f_i): Likewise.
25177 (RUN_TEST_LOOP_f_i): Likewise.
25178 (RUN_TEST_f_i_tg): Likewise.
25179 (RUN_TEST_LOOP_f_i_tg): Likewise.
25180 (RUN_TEST_ff_i_tg): Likewise.
25181 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25182 (RUN_TEST_f_b): Likewise.
25183 (RUN_TEST_LOOP_f_b): Likewise.
25184 (RUN_TEST_f_b_tg): Likewise.
25185 (RUN_TEST_LOOP_f_b_tg): Likewise.
25186 (RUN_TEST_f_l): Likewise.
25187 (RUN_TEST_LOOP_f_l): Likewise.
25188 (RUN_TEST_f_L): Likewise.
25189 (RUN_TEST_LOOP_f_L): Likewise.
25190 (RUN_TEST_sincos): Likewise.
25191 (RUN_TEST_LOOP_sincos): Likewise.
25192
8269107f
JM
251932013-05-17 Joseph Myers <joseph@codesourcery.com>
25194
bb38759d
JM
25195 [BZ #15480]
25196 [BZ #15485]
25197 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25198 main case of finite arguments, set rounding mode to FE_TONEAREST
25199 and discard exceptions.
25200 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25201 exceptions.
25202 (remainder_tonearest_test_data): New variable.
25203 (remainder_test_tonearest): New function.
25204 (remainder_towardzero_test_data): New variable.
25205 (remainder_test_towardzero): New function.
25206 (remainder_downward_test_data): New variable.
25207 (remainder_test_downward): New function.
25208 (remainder_upward_test_data): New variable.
25209 (remainder_test_upward): New function.
25210 (main): Call the new test functions.
25211
a00bdcf0
JM
25212 * math/libm-test.inc (struct test_f_f1_data): Remove field
25213 extra_init.
25214 (struct test_fF_f1_data): Likewise.
25215 (struct test_ffI_f1_data): Likewise.
25216 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25217 based on value of EXTRA_EXPECTED.
25218 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25219 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25220 EXTRA_VAR based on value of EXTRA_EXPECTED.
25221 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25222 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25223 EXTRA_VAR based on value of EXTRA_EXPECTED.
25224 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25225 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25226 EXTRA_VAR based on value of EXTRA_EXPECTED.
25227 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25228 * math/gen-libm-test.pl (parse_args): Don't output initializers
25229 for extra output values.
25230
de407f79
JM
25231 * math/libm-test.inc (check_int): Expect result to be exactly
25232 equal to expected value and do not handle ulps.
25233 (check_long): Likewise.
25234 (check_longlong): Likewise.
25235
8269107f
JM
25236 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25237 exceptions.
25238 (cimag_test_data): Likewise.
25239 (conj_test_data): Likewise.
25240 (copysign_test_data): Likewise.
25241 (cproj_test_data): Likewise.
25242 (creal_test_data): Likewise.
25243 (fabs_test_data): Likewise.
25244 (fdim_test_data): Likewise.
25245 (finite_test_data): Likewise.
25246 (floor_test_data): Likewise.
25247 (fmax_test_data): Likewise.
25248 (fmin_test_data): Likewise.
25249 (fmod_test_data): Likewise.
25250 (fpclassify_test_data): Likewise.
25251 (frexp_test_data): Likewise.
25252 (ilogb_test_data): Likewise.
25253 (isfinite_test_data): Likewise.
25254 (isgreater_test_data): Likewise.
25255 (isgreaterequal_test_data): Likewise.
25256 (isinf_test_data): Likewise.
25257 (isless_test_data): Likewise.
25258 (islessequal_test_data): Likewise.
25259 (islessgreater_test_data): Likewise.
25260 (isnan_test_data): Likewise.
25261 (isnormal_test_data): Likewise.
25262 (issignaling_test_data): Likewise.
25263 (isunordered_test_data): Likewise.
25264 (ldexp_test_data): Likewise.
25265 (lrint_test_data): Likewise.
25266 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25267 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25268 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25269 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25270 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25271 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25272 test input.
25273 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25274 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25275 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25276 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25277 that test input.
25278 (lrint_downward_test_data): Test for "inexact" exceptions.
25279 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25280 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25281 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25282 test input.
25283 (lrint_upward_test_data): Test for "inexact" exceptions.
25284 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25285 test input.
25286 (llrint_test_data): Test for "inexact" exceptions.
25287 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25288 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25289 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25290 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25291 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25292 (llrint_downward_test_data): Test for "inexact" exceptions.
25293 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25294 (llrint_upward_test_data): Test for "inexact" exceptions.
25295 (logb_test_data): Likewise.
25296 (logb_downward_test_data): Likewise.
25297 (nextafter_test_data): Likewise.
25298 (nexttoward_test_data): Likewise.
25299 (remainder_test_data): Likewise.
25300 (remquo_test_data): Likewise.
25301 (scalbn_test_data): Likewise.
25302 (scalbln_test_data): Likewise.
25303 (signbit_test_data): Likewise.
25304 (sqrt_test_data): Likewise.
25305 (significand_test_data): Likewise.
25306
48a18de1
SP
253072013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25308
25309 [BZ #15424]
25310 * benchtests/bench-modf.c (struct args): Mark arg0 as
25311 volatile.
25312 * scripts/bench.pl: Mark members of struct args as volatile.
25313
13d3b41a
AZ
253142013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25315
68191c1d 25316 [BZ # 15497]
13d3b41a
AZ
25317 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25318 negative infinity on POWER6 or lower.
25319 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25320
2848b105
MR
253212013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25322
25323 [BZ #15442]
25324 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25325 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25326 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25327 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25328 (_FP_SETQNAN): New macro.
25329 (_FP_SETQNAN_SEMIRAW): Likewise.
25330 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25331 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25332 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25333 (FP_EXTEND): Use _FP_FRAC_SNANP.
25334 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25335 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25336 into account.
25337 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25338 New macro.
25339 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25340 Likewise.
25341
323e5cb7
JM
253422013-05-16 Joseph Myers <joseph@codesourcery.com>
25343
c58b274f
JM
25344 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25345 with DIVIDE_BY_ZERO_EXCEPTION.
25346 (gamma_test_data): Likewise.
25347 (lgamma_test_data): Likewise.
25348 (log_test_data): Likewise.
25349 (log10_test_data): Likewise.
25350 (log2_test_data): Likewise.
25351 (tgamma_test_data): Likewise.
25352
0ab34904
JM
25353 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25354 (acos_test_tonearest): Likewise.
25355 (acos_test_towardzero): Likewise.
25356 (acos_test_downward): Likewise.
25357 (acos_test_upward): Likewise.
25358 (acosh_test): Likewise.
25359 (asin_test): Likewise.
25360 (asin_test_tonearest): Likewise.
25361 (asin_test_towardzero): Likewise.
25362 (asin_test_downward): Likewise.
25363 (asin_test_upward): Likewise.
25364 (asinh_test): Likewise.
25365 (atan_test): Likewise.
25366 (atanh_test): Likewise.
25367 (atan2_test): Likewise.
25368 (cabs_test): Likewise.
25369 (cacos_test): Likewise.
25370 (cacosh_test): Likewise.
25371 (casin_test): Likewise.
25372 (casinh_test): Likewise.
25373 (catan_test): Likewise.
25374 (catanh_test): Likewise.
25375 (cbrt_test): Likewise.
25376 (ccos_test): Likewise.
25377 (ccosh_test): Likewise.
25378 (cexp_test): Likewise.
25379 (clog_test): Likewise.
25380 (clog10_test): Likewise.
25381 (cos_test): Likewise.
25382 (cos_test_tonearest): Likewise.
25383 (cos_test_towardzero): Likewise.
25384 (cos_test_downward): Likewise.
25385 (cos_test_upward): Likewise.
25386 (cosh_test): Likewise.
25387 (cosh_test_tonearest): Likewise.
25388 (cosh_test_towardzero): Likewise.
25389 (cosh_test_downward): Likewise.
25390 (cosh_test_upward): Likewise.
25391 (cpow_test): Likewise.
25392 (csin_test): Likewise.
25393 (csinh_test): Likewise.
25394 (csqrt_test): Likewise.
25395 (ctan_test): Likewise.
25396 (ctan_test_tonearest): Likewise.
25397 (ctan_test_towardzero): Likewise.
25398 (ctan_test_downward): Likewise.
25399 (ctan_test_upward): Likewise.
25400 (ctanh_test): Likewise.
25401 (ctanh_test_tonearest): Likewise.
25402 (ctanh_test_towardzero): Likewise.
25403 (ctanh_test_downward): Likewise.
25404 (ctanh_test_upward): Likewise.
25405 (erf_test): Likewise.
25406 (erfc_test): Likewise.
25407 (exp_test): Likewise.
25408 (exp_test_tonearest): Likewise.
25409 (exp_test_towardzero): Likewise.
25410 (exp_test_downward): Likewise.
25411 (exp_test_upward): Likewise.
25412 (exp10_test): Likewise.
25413 (exp2_test): Likewise.
25414 (expm1_test): Likewise.
25415 (fmod_test): Likewise.
25416 (gamma_test): Likewise.
25417 (hypot_test): Likewise.
25418 (j0_test): Likewise.
25419 (j1_test): Likewise.
25420 (jn_test): Likewise.
25421 (lgamma_test): Likewise.
25422 (log_test): Likewise.
25423 (log10_test): Likewise.
25424 (log1p_test): Likewise.
25425 (log2_test): Likewise.
25426 (logb_test_downward): Likewise.
25427 (pow_test): Likewise.
25428 (pow_test_tonearest): Likewise.
25429 (pow_test_towardzero): Likewise.
25430 (pow_test_downward): Likewise.
25431 (pow_test_upward): Likewise.
25432 (remainder_test): Likewise.
25433 (remquo_test): Likewise.
25434 (sin_test): Likewise.
25435 (sin_test_tonearest): Likewise.
25436 (sin_test_towardzero): Likewise.
25437 (sin_test_downward): Likewise.
25438 (sin_test_upward): Likewise.
25439 (sincos_test): Likewise.
25440 (sinh_test): Likewise.
25441 (sinh_test_tonearest): Likewise.
25442 (sinh_test_towardzero): Likewise.
25443 (sinh_test_downward): Likewise.
25444 (sinh_test_upward): Likewise.
25445 (sqrt_test): Likewise.
25446 (tan_test): Likewise.
25447 (tan_test_tonearest): Likewise.
25448 (tan_test_towardzero): Likewise.
25449 (tan_test_downward): Likewise.
25450 (tan_test_upward): Likewise.
25451 (tanh_test): Likewise.
25452 (tgamma_test): Likewise.
25453 (y0_test): Likewise.
25454 (y1_test): Likewise.
25455 (yn_test): Likewise.
25456
323e5cb7
JM
25457 * math/gen-libm-test.pl (adjust_arg): Remove function.
25458 (special_function): Remove argument $in_func. Only handle
25459 generating output for tables of tests, not inside functions.
25460 (parse_args): Likewise.
25461 (generate_testfile): Remove variable $in_func. Update call to
25462 parse_args.
25463 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25464 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25465 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25466 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25467 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25468 (MAX_VALUE_INIT): Rename macro to max_value.
25469 (MIN_VALUE_INIT): Rename macro to min_value.
25470 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25471 (plus_zero): Remove variable.
25472 (minus_zero): Likewise.
25473 (plus_infty): Likewise.
25474 (minus_infty): Likewise.
25475 (qnan_value): Likewise.
25476 (max_value): Likewise.
25477 (min_value): Likewise.
25478 (min_subnorm_value): Likewise.
25479
e054f494
RA
254802013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25481
25482 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25483 uint64_t or uint32_t usage.
25484 * crypt/sha256-block.c: Likewise.
25485 * crypt/sha256-crypt.c: Likewise.
25486 * crypt/sha256.c: Likewise.
25487 * crypt/sha512-block.c: Likewise.
25488 * crypt/sha512-crypt.c: Likewise.
25489 * crypt/sha512.c: Likewise.
25490 * debug/backtrace-tst.c: Likewise.
25491 * debug/pcprofiledump.c: Likewise.
25492 * elf/cache.c: Likewise.
25493 * elf/dl-cache.c: Likewise.
25494 * elf/dl-misc.c: Likewise.
25495 * elf/dl-profile.c: Likewise.
25496 * elf/dl-support.c: Likewise.
25497 * elf/ldconfig.c: Likewise.
25498 * elf/sprof.c: Likewise.
25499 * iconv/dummy-repertoire.c: Likewise.
25500 * iconv/iconv_charmap.c: Likewise.
25501 * iconv/skeleton.c: Likewise.
25502 * iconvdata/8bit-generic.c: Likewise.
25503 * iconvdata/cp737.h: Likewise.
25504 * iconvdata/cp775.h: Likewise.
25505 * iconvdata/ibm1008.h: Likewise.
25506 * iconvdata/ibm1025.h: Likewise.
25507 * iconvdata/ibm1046.h: Likewise.
25508 * iconvdata/ibm1097.h: Likewise.
25509 * iconvdata/ibm1112.h: Likewise.
25510 * iconvdata/ibm1122.h: Likewise.
25511 * iconvdata/ibm1123.h: Likewise.
25512 * iconvdata/ibm1124.h: Likewise.
25513 * iconvdata/ibm1129.h: Likewise.
25514 * iconvdata/ibm1130.h: Likewise.
25515 * iconvdata/ibm1132.h: Likewise.
25516 * iconvdata/ibm1133.h: Likewise.
25517 * iconvdata/ibm1137.h: Likewise.
25518 * iconvdata/ibm1140.h: Likewise.
25519 * iconvdata/ibm1141.h: Likewise.
25520 * iconvdata/ibm1142.h: Likewise.
25521 * iconvdata/ibm1143.h: Likewise.
25522 * iconvdata/ibm1144.h: Likewise.
25523 * iconvdata/ibm1145.h: Likewise.
25524 * iconvdata/ibm1146.h: Likewise.
25525 * iconvdata/ibm1147.h: Likewise.
25526 * iconvdata/ibm1148.h: Likewise.
25527 * iconvdata/ibm1149.h: Likewise.
25528 * iconvdata/ibm1153.h: Likewise.
25529 * iconvdata/ibm1154.h: Likewise.
25530 * iconvdata/ibm1155.h: Likewise.
25531 * iconvdata/ibm1156.h: Likewise.
25532 * iconvdata/ibm1157.h: Likewise.
25533 * iconvdata/ibm1158.h: Likewise.
25534 * iconvdata/ibm1160.h: Likewise.
25535 * iconvdata/ibm1161.h: Likewise.
25536 * iconvdata/ibm1162.h: Likewise.
25537 * iconvdata/ibm1163.h: Likewise.
25538 * iconvdata/ibm1164.h: Likewise.
25539 * iconvdata/ibm1166.h: Likewise.
25540 * iconvdata/ibm1167.h: Likewise.
25541 * iconvdata/ibm12712.h: Likewise.
25542 * iconvdata/ibm1390.h: Likewise.
25543 * iconvdata/ibm1399.h: Likewise.
25544 * iconvdata/ibm16804.h: Likewise.
25545 * iconvdata/ibm4517.h: Likewise.
25546 * iconvdata/ibm4899.h: Likewise.
25547 * iconvdata/ibm4909.h: Likewise.
25548 * iconvdata/ibm4971.h: Likewise.
25549 * iconvdata/ibm5347.h: Likewise.
25550 * iconvdata/ibm803.h: Likewise.
25551 * iconvdata/ibm856.h: Likewise.
25552 * iconvdata/ibm901.h: Likewise.
25553 * iconvdata/ibm902.h: Likewise.
25554 * iconvdata/ibm9030.h: Likewise.
25555 * iconvdata/ibm9066.h: Likewise.
25556 * iconvdata/ibm921.h: Likewise.
25557 * iconvdata/ibm922.h: Likewise.
25558 * iconvdata/ibm9448.h: Likewise.
25559 * iconvdata/isiri-3342.h: Likewise.
25560 * iconvdata/jis0201.h: Likewise.
25561 * include/link.h: Likewise.
25562 * include/netdb.h: Likewise.
25563 * inet/check_native.c: Likewise.
25564 * inet/check_pf.c: Likewise.
25565 * inet/getipv4sourcefilter.c: Likewise.
25566 * inet/getnameinfo.c: Likewise.
25567 * inet/getsourcefilter.c: Likewise.
25568 * inet/htonl.c: Likewise.
25569 * inet/setipv4sourcefilter.c: Likewise.
25570 * inet/setsourcefilter.c: Likewise.
25571 * inet/test-inet6_opt.c: Likewise.
25572 * inet/tst-network.c: Likewise.
25573 * locale/C-collate.c: Likewise.
25574 * locale/C-ctype.c: Likewise.
25575 * locale/C-time.c: Likewise.
25576 * locale/C-translit.h: Likewise.
25577 * locale/loadarchive.c: Likewise.
25578 * locale/programs/3level.h: Likewise.
25579 * locale/programs/charmap.c: Likewise.
25580 * locale/programs/charmap.h: Likewise.
25581 * locale/programs/ld-address.c: Likewise.
25582 * locale/programs/ld-collate.c: Likewise.
25583 * locale/programs/ld-ctype.c: Likewise.
25584 * locale/programs/ld-identification.c: Likewise.
25585 * locale/programs/ld-measurement.c: Likewise.
25586 * locale/programs/ld-messages.c: Likewise.
25587 * locale/programs/ld-monetary.c: Likewise.
25588 * locale/programs/ld-name.c: Likewise.
25589 * locale/programs/ld-numeric.c: Likewise.
25590 * locale/programs/ld-paper.c: Likewise.
25591 * locale/programs/ld-telephone.c: Likewise.
25592 * locale/programs/ld-time.c: Likewise.
25593 * locale/programs/linereader.c: Likewise.
25594 * locale/programs/locale.c: Likewise.
25595 * locale/programs/locarchive.c: Likewise.
25596 * locale/programs/locfile.h: Likewise.
25597 * locale/programs/repertoire.c: Likewise.
25598 * locale/programs/simple-hash.c: Likewise.
25599 * locale/programs/simple-hash.h: Likewise.
25600 * malloc/memusage.c: Likewise.
25601 * malloc/memusagestat.c: Likewise.
25602 * nis/nis_defaults.c: Likewise.
25603 * nis/nis_hash.c: Likewise.
25604 * nis/nis_print.c: Likewise.
25605 * nis/nis_xdr.c: Likewise.
25606 * nscd/connections.c: Likewise.
25607 * nscd/hstcache.c: Likewise.
25608 * nscd/nscd_gethst_r.c: Likewise.
25609 * nscd/nscd_getserv_r.c: Likewise.
25610 * nscd/nscd_helper.c: Likewise.
25611 * nscd/servicescache.c: Likewise.
25612 * nss/makedb.c: Likewise.
25613 * nss/nss_db/db-XXX.c: Likewise.
25614 * nss/nss_db/db-initgroups.c: Likewise.
25615 * nss/nss_db/db-netgrp.c: Likewise.
25616 * nss/nss_files/files-network.c: Likewise.
25617 * nss/nss_files/files-parse.c: Likewise.
25618 * posix/bug-regex5.c: Likewise.
25619 * posix/fnmatch_loop.c: Likewise.
25620 * posix/regcomp.c: Likewise.
25621 * posix/regexec.c: Likewise.
25622 * posix/tst-rfc3484-2.c: Likewise.
25623 * posix/tst-rfc3484-3.c: Likewise.
25624 * posix/tst-rfc3484.c: Likewise.
25625 * resolv/nss_dns/dns-canon.c: Likewise.
25626 * resolv/nss_dns/dns-network.c: Likewise.
25627 * resolv/res_init.c: Likewise.
25628 * resolv/res_mkquery.c: Likewise.
25629 * resolv/tst-aton.c: Likewise.
25630 * stdlib/cxa_atexit.c: Likewise.
25631 * stdlib/cxa_finalize.c: Likewise.
25632 * stdlib/gen-fpioconst.c: Likewise.
25633 * stdlib/strtol_l.c: Likewise.
25634 * string/tst-endian.c: Likewise.
25635 * sunrpc/auth_des.c: Likewise.
25636 * sunrpc/clnt_udp.c: Likewise.
25637 * sunrpc/rtime.c: Likewise.
25638 * sunrpc/svcauth_des.c: Likewise.
25639 * sunrpc/xdr.c: Likewise.
25640 * sunrpc/xdr_intXX_t.c: Likewise.
25641 * sunrpc/xdr_rec.c: Likewise.
25642 * sysdeps/generic/ldconfig.h: Likewise.
25643 * sysdeps/generic/ldsodefs.h: Likewise.
25644 * sysdeps/generic/memusage.h: Likewise.
25645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25647 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25651 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25653 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25655 * sysdeps/posix/getaddrinfo.c: Likewise.
25656 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25657 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25658 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25659 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25660 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25661 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25662 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25663 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25664 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25665 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25666 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25667 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25668 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25669 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25670 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25671 * sysdeps/x86_64/dl-tls.h: Likewise.
25672 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25673 * time/alt_digit.c: Likewise.
25674 * time/era.c: Likewise.
25675 * wcsmbs/tst-c16c32-1.c: Likewise.
25676
8c75f674
JM
256772013-05-16 Joseph Myers <joseph@codesourcery.com>
25678
25679 * math/libm-test.inc (struct test_sincos_data): New type.
25680 (RUN_TEST_LOOP_sincos): New macro.
25681 (sincos_test_data): New variable.
25682 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25683
e6e49e59
RH
256842013-05-16 Richard Henderson <rth@redhat.com>
25685
25686 * math/atest-exp2.c (LIMB64): New macro.
25687 (CONSTSZ): New macro.
25688 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25689 (hexdig): Move ...
25690 (print_mpn_fp): ... to function scope.
25691 (read_mpn_hex): Remove.
25692 (get_log2): Remove.
25693 (exp2_mpn): Use mp_log2.
25694 (main): Use mp_exp1.
25695
15c7c18d
JM
256962013-05-16 Joseph Myers <joseph@codesourcery.com>
25697
105a07df
JM
25698 * math/libm-test.inc: Remove comment about not testing "inexact"
25699 exceptions.
25700 (INEXACT_EXCEPTION): New macro.
25701 (NO_INEXACT_EXCEPTION): Likewise.
25702 (INVALID_EXCEPTION_OK): Update value.
25703 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25704 (OVERFLOW_EXCEPTION_OK): Likewise.
25705 (UNDERFLOW_EXCEPTION_OK): Likewise.
25706 (IGNORE_ZERO_INF_SIGN): Likewise.
25707 (ERRNO_UNCHANGED): Likewise.
25708 (ERRNO_EDOM): Likewise.
25709 (ERRNO_ERANGE): Likewise.
25710 (test_exceptions): Handle testing "inexact" exceptions.
25711 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25712 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25713 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25714 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25715 INEXACT_EXCEPTION.
25716 (rint_towardzero_test_data): Likewise.
25717 (rint_downward_test_data): Likewise.
25718 (rint_upward_test_data): Likewise.
25719
e9eee333
JM
25720 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25721 with OVERFLOW_EXCEPTION.
25722 (exp10_test_data): Likewise.
25723 (exp2_test_data): Likewise.
25724 (expm1_test_data): Likewise.
25725 (lgamma_test_data): Likewise.
25726 (pow_test_data): Likewise.
25727 (tgamma_test_data): Likewise.
25728 (yn_test_data): Remove duplicate test of overflow.
25729
1c38ff73
JM
25730 * math/libm-test.inc (struct test_cc_c_data): New type.
25731 (RUN_TEST_LOOP_cc_c): New macro.
25732 (cpow_test_data): New variable.
25733 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25734
15c7c18d
JM
25735 * math/libm-test.inc (struct test_f_L_data): New type.
25736 (RUN_TEST_LOOP_f_L): New macro.
25737 (llrint_test_data): New variable.
25738 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25739 (llrint_tonearest_test_data): New variable.
25740 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25741 (llrint_towardzero_test_data): New variable.
25742 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25743 (llrint_downward_test_data): New variable.
25744 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25745 (llrint_upward_test_data): New variable.
25746 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25747 (llround_test_data): New variable.
25748 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25749
f137ff13
PC
257502013-05-13 Peter Collingbourne <pcc@google.com>
25751
25752 * math/atest-exp2.c (get_log2): Remove const attribute.
25753
3608cb24
JM
257542013-05-15 Joseph Myers <joseph@codesourcery.com>
25755
25756 * math/libm-test.inc (struct test_f_l_data): New type.
25757 (RUN_TEST_LOOP_f_l): New macro.
25758 (lrint_test_data): New variable.
25759 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25760 (lrint_tonearest_test_data): New variable.
25761 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25762 (lrint_towardzero_test_data): New variable.
25763 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25764 (lrint_downward_test_data): New variable.
25765 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25766 (lrint_upward_test_data): New variable.
25767 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25768 (lround_test_data): New variable.
25769 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25770
39b1f617
PC
257712013-05-15 Peter Collingbourne <pcc@google.com>
25772
1deff3dc
PC
25773 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25774 (EXTRACT_WORDS64) Use where appropriate.
25775 (INSERT_WORDS64) Likewise.
25776
791f3ba0
PC
25777 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25778 constraints with x constraints.
25779 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25780
39b1f617
PC
25781 * malloc/obstack.c (_obstack_compat): Add initializer.
25782
12fba011
EM
257832013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25784
25785 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25786 si_trapno and add si_addr_lsb to _sifields.sigfault.
25787 (si_trapno): Remove macro.
25788 (si_addr_lsb): Define new macro.
25789 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25790
d369f531
JM
257912013-05-15 Joseph Myers <joseph@codesourcery.com>
25792
b861c6c4
JM
25793 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25794 instead of TEST_f_l.
25795 (llrint_test_tonearest): Likewise.
25796 (llrint_test_towardzero): Likewise.
25797 (llrint_test_downward): Likewise.
25798 (llrint_test_upward): Likewise.
25799 (llround_test): Likewise.
25800
7abeee12
JM
25801 * math/libm-test.inc (struct test_f_i_data): Add comment.
25802 (RUN_TEST_LOOP_f_b): New macro.
25803 (RUN_TEST_LOOP_f_b_tg): Likewise.
25804 (finite_test_data): New variable.
25805 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25806 (isfinite_test_data): New variable.
25807 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25808 (isinf_test_data): New variable.
25809 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25810 (isnan_test_data): New variable.
25811 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25812 (isnormal_test_data): New variable.
25813 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25814 (issignaling_test_data): New variable.
25815 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25816 (signbit_test_data): New variable.
25817 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25818
cbe8c4d3
JM
25819 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25820 with INVALID_EXCEPTION.
25821 (acosh_test_data): Likewise.
25822 (asin_test_data): Likewise.
25823 (atanh_test_data): Likewise.
25824 (fmod_test_data): Likewise.
25825 (log_test_data): Likewise.
25826 (log10_test_data): Likewise.
25827 (log2_test_data): Likewise.
25828 (pow_test_data): Likewise.
25829 (sqrt_test_data): Likewise.
25830 (y0_test_data): Likewise.
25831 (y1_test_data): Likewise.
25832 (yn_test_data): Likewise.
25833
5575c0e5
JM
25834 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25835 function contents.
25836
d369f531
JM
25837 * math/libm-test.inc (struct test_ff_i_data): New type.
25838 (RUN_TEST_LOOP_ff_i_tg): New macro.
25839 (isgreater_test_data): New variable.
25840 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25841 (isgreaterequal_test_data): New variable.
25842 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25843 (isless_test_data): New variable.
25844 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25845 (islessequal_test_data): New variable.
25846 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25847 (islessgreater_test_data): New variable.
25848 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25849 (isunordered_test_data): New variable.
25850 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25851
781fd748
DM
258522013-05-14 David S. Miller <davem@davemloft.net>
25853
25854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25855
87aa21df
JM
258562013-05-14 Joseph Myers <joseph@codesourcery.com>
25857
5e908270
JM
25858 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25859
f71172e5
JM
25860 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25861 extra_test to int.
25862 (struct test_f_i_data): Change type of max_ulp to int.
25863
8cfa635a
JM
25864 * math/libm-test.inc (test_ffI_f1_data): New type.
25865 (RUN_TEST_LOOP_ffI_f1): New macro.
25866 (remquo_test_data): New variable.
25867 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25868
2bcb36b2
JM
25869 * setjmp/tst-setjmp-fp.c: New file.
25870 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25871 (link-libm): New variable.
25872 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25873
acbd839a
JM
25874 * math/libm-test.inc (struct test_f_i_data): New type.
25875 (RUN_TEST_LOOP_f_i): New macro.
25876 (RUN_TEST_LOOP_f_i_tg): Likewise.
25877 (fpclassify_test_data): New variable.
25878 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25879 (ilogb_test_data): New variable.
25880 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25881
e414d745
JM
25882 * math/libm-test.inc (scalbln_test): Correct function name in END
25883 call.
25884
d9c2a0fd
JM
25885 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25886 (RUN_TEST_LOOP_fI_f1): New macro.
25887 (frexp_test_data): New variable.
25888 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25889
9dc9095d
JM
25890 * math/libm-test.inc (struct test_fF_f1_data): New type.
25891 (RUN_TEST_LOOP_fF_f1): New macro.
25892 (modf_test_data): New variable.
25893 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25894
87aa21df
JM
25895 * math/libm-test.inc (struct test_f_f1_data): New type.
25896 (RUN_TEST_LOOP_f_f1): New macro.
25897 (gamma_test_data): New variable.
25898 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25899 (lgamma_test_data): New variable.
25900 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25901
141af660
CD
259022013-05-13 Carlos O'Donell <carlos@redhat.com>
25903
25904 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25905 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25906 (main): Comment "tls" pseudo-hwcap.
25907
6d33265c
JM
259082013-05-13 Joseph Myers <joseph@codesourcery.com>
25909
68fc074c
JM
25910 * math/libm-test.inc (struct test_fl_f_data): New type.
25911 (RUN_TEST_LOOP_fl_f): New variable.
25912 (scalbln_test_data): New variable.
25913 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25914
243216e1
JM
25915 * math/libm-test.inc (struct test_fi_f_data): New type.
25916 (RUN_TEST_LOOP_fi_f): New macro.
25917 (ldexp_test_data): New variable.
25918 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25919 (scalbn_test_data): New variable.
25920 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25921
6a1992e2
JM
25922 * math/libm-test.inc (struct test_c_f_data): New type.
25923 (RUN_TEST_LOOP_c_f): New macro.
25924 (cabs_test_data): New variable.
25925 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25926 (carg_test_data): New variable.
25927 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25928 (cimag_test_data): New variable.
25929 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25930 (creal_test_data): New variable.
25931 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25932
0e400df5
JM
25933 * math/libm-test.inc (struct test_if_f_data): New type.
25934 (RUN_TEST_LOOP_if_f): New macro.
25935 (jn_test_data): New variable.
25936 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25937 (yn_test_data): New variable.
25938 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25939
6d33265c
JM
25940 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25941
f98ece5f
AZ
259422013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25943
25944 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25945 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25946
0f7d347b
SP
259472013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25948
43fe811b
SP
25949 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25950 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25951 (bench-deps): Add bench-timing.h.
25952 * benchtests-bench-skeleton.c: Include bench-timing.h.
25953 (main): Use TIMING_* macros instead of clock_gettime.
25954 * benchtests/bench-timing.h: New file.
25955
0f7d347b
SP
25956 [BZ #14582]
25957 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25958 Renamed from _LIB_VERSION.
25959 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25960
601a3a5f
JM
259612013-05-12 Joseph Myers <joseph@codesourcery.com>
25962
4f184d30
JM
25963 * math/libm-test.inc (struct test_fff_f_data): New type.
25964 (RUN_TEST_LOOP_fff_f): New macro.
25965 (fma_test_data): New variable.
25966 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25967 (fma_towardzero_test_data): New variable.
25968 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25969 (fma_downward_test_data): New variable.
25970 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25971 (fma_upward_test_data): New variable.
25972 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25973
08198877
JM
25974 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25975 (struct test_c_c_data): New type.
25976 (RUN_TEST_LOOP_c_c): New macro.
25977 (cacos_test_data): New variable.
25978 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25979 (cacosh_test_data): New variable.
25980 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25981 (casin_test_data): New variable.
25982 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25983 (casinh_test_data): New variable.
25984 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25985 (catan_test_data): New variable.
25986 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25987 (catanh_test_data): New variable.
25988 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25989 (ccos_test_data): New variable.
25990 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25991 (ccosh_test_data): New variable.
25992 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25993 (cexp_test_data): New variable.
25994 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25995 (clog_test_data): New variable.
25996 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25997 (clog10_test_data): New variable.
25998 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25999 (conj_test_data): New variable.
26000 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26001 (cproj_test_data): New variable.
26002 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26003 (csin_test_data): New variable.
26004 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26005 (csinh_test_data): New variable.
26006 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26007 (csqrt_test_data): New variable.
26008 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26009 (ctan_test_data): New variable.
26010 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26011 (ctan_tonearest_test_data): New variable.
26012 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26013 (ctan_towardzero_test_data): New variable.
26014 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26015 (ctan_downward_test_data): New variable.
26016 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26017 (ctan_upward_test_data): New variable.
26018 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26019 (ctanh_test_data): New variable.
26020 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26021 (ctanh_tonearest_test_data): New variable.
26022 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26023 (ctanh_towardzero_test_data): New variable.
26024 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26025 (ctanh_downward_test_data): New variable.
26026 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26027 (ctanh_upward_test_data): New variable.
26028 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26029 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26030 of BUILD_COMPLEX.
26031
601a3a5f
JM
26032 * math/libm-test.inc (struct test_ff_f_data): New type.
26033 (struct test_ff_f_data_nexttoward): Likewise.
26034 (RUN_TEST_LOOP_2_f): New macro.
26035 (RUN_TEST_LOOP_ff_f): Likewise.
26036 (atan2_test_data): New variable.
26037 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26038 (copysign_test_data): New variable.
26039 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26040 (fdim_test_data): New variable.
26041 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26042 (fmax_test_data): New variable.
26043 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26044 (fmin_test_data): New variable.
26045 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26046 (fmod_test_data): New variable.
26047 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26048 (hypot_test_data): New variable.
26049 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26050 (nextafter_test_data): New variable.
26051 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26052 (nexttoward_test_data): New variable.
26053 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26054 (pow_test_data): New variable.
26055 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26056 (pow_tonearest_test_data): New variable.
26057 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26058 (pow_towardzero_test_data): New variable.
26059 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26060 (pow_downward_test_data): New variable.
26061 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26062 (pow_upward_test_data): New variable.
26063 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26064 (remainder_test_data): New variable.
26065 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26066 (scalb_test_data): New variable.
26067 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26068 * sysdeps/i386/fpu/libm-test-ulps: Update.
26069
74c57478
JM
260702013-05-11 Joseph Myers <joseph@codesourcery.com>
26071
8329e4da
JM
26072 * math/libm-test.inc (fma_test): Use max_value instead of local
26073 variable fltmax.
26074 (nextafter_test): Likewise.
26075
74c57478
JM
26076 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26077 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26078 (acos_downward_test_data): New variable.
26079 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26080 (acos_upward_test_data): New variable.
26081 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26082 (acosh_test_data): New variable.
26083 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26084 (asin_test_data): New variable.
26085 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26086 (asin_tonearest_test_data): New variable.
26087 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26088 (asin_towardzero_test_data): New variable.
26089 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26090 (asin_downward_test_data): New variable.
26091 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26092 (asin_upward_test_data): New variable.
26093 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26094 (asinh_test_data): New variable.
26095 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26096 (atan_test_data): New variable.
26097 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26098 (atanh_test_data): New variable.
26099 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26100 (cbrt_test_data): New variable.
26101 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26102 (ceil_test_data): New variable.
26103 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26104 (cos_test_data): New variable.
26105 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26106 (cos_tonearest_test_data): New variable.
26107 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26108 (cos_towardzero_test_data): New variable.
26109 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26110 (cos_downward_test_data): New variable.
26111 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26112 (cos_upward_test_data): New variable.
26113 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26114 (cosh_test_data): New variable.
26115 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26116 (cosh_tonearest_test_data): New variable.
26117 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26118 (cosh_towardzero_test_data): New variable.
26119 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26120 (cosh_downward_test_data): New variable.
26121 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26122 (cosh_upward_test_data): New variable.
26123 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26124 (erf_test_data): New variable.
26125 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26126 (erfc_test_data): New variable.
26127 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26128 (exp_test_data): New variable.
26129 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26130 (exp_tonearest_test_data): New variable.
26131 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26132 (exp_towardzero_test_data): New variable.
26133 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26134 (exp_downward_test_data): New variable.
26135 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26136 (exp_upward_test_data): New variable.
26137 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26138 (exp10_test_data): New variable.
26139 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26140 (exp2_test_data): New variable.
26141 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26142 (expm1_test_data): New variable.
26143 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26144 (fabs_test_data): New variable.
26145 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26146 (floor_test_data): New variable.
26147 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26148 (j0_test_data): New variable.
26149 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26150 (j1_test_data): New variable.
26151 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26152 (log_test_data): New variable.
26153 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26154 (log10_test_data): New variable.
26155 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26156 (log1p_test_data): New variable.
26157 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26158 (log2_test_data): New variable.
26159 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26160 (logb_test_data): New variable.
26161 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26162 (logb_downward_test_data): New variable.
26163 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26164 (nearbyint_test_data): New variable.
26165 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26166 (rint_test_data): New variable.
26167 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26168 (rint_tonearest_test_data): New variable.
26169 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26170 (rint_towardzero_test_data): New variable.
26171 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26172 (rint_downward_test_data): New variable.
26173 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26174 (rint_upward_test_data): New variable.
26175 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26176 (round_test_data): New variable.
26177 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26178 (sin_test_data): New variable.
26179 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26180 (sin_tonearest_test_data): New variable.
26181 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26182 (sin_towardzero_test_data): New variable.
26183 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26184 (sin_downward_test_data): New variable.
26185 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26186 (sin_upward_test_data): New variable.
26187 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26188 (sinh_test_data): New variable.
26189 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26190 (sinh_tonearest_test_data): New variable.
26191 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26192 (sinh_towardzero_test_data): New variable.
26193 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26194 (sinh_downward_test_data): New variable.
26195 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26196 (sinh_upward_test_data): New variable.
26197 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26198 (sqrt_test_data): New variable.
26199 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26200 (tan_test_data): New variable.
26201 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26202 (tan_tonearest_test_data): New variable.
26203 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26204 (tan_towardzero_test_data): New variable.
26205 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26206 (tan_downward_test_data): New variable.
26207 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26208 (tan_upward_test_data): New variable.
26209 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26210 (tanh_test_data): New variable.
26211 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26212 (tgamma_test_data): New variable.
26213 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26214 (trunc_test_data): New variable.
26215 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26216 (y0_test_data): New variable.
26217 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26218 (y1_test_data): New variable.
26219 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26220 (significand_test_data): New variable.
26221 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26222
7187d844
CG
262232013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26224
26225 [BZ #12387]
26226 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26227
f63fae73
PT
262282013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26229
26230 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26231
8a67a4b3
AJ
262322013-05-10 Andreas Jaeger <aj@suse.de>
26233
26234 [BZ #15448]
26235 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26236 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26237
51df539d
JM
262382013-05-10 Joseph Myers <joseph@codesourcery.com>
26239
26240 * math/gen-libm-test.pl (adjust_arg): New function.
26241 (special_functions): Handle generating output in both functions
26242 and arrays.
26243 (parse_args): Likewise.
26244 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26245 $in_func argument to parse_args.
26246 * math/libm-test.inc (struct test_f_f_data): New type.
26247 (IF_ROUND_INIT_): New macro.
26248 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26249 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26250 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26251 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26252 (ROUND_RESTORE_): Likewise.
26253 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26254 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26255 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26256 (ROUND_RESTORE_FE_UPWARD): Likewise.
26257 (RUN_TEST_LOOP_f_f): New macro.
26258 (acos_test_data): New variable.
26259 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26260 (acos_tonearest_test_data): New variable.
26261 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26262
5c637fe5
SP
262632013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26264
26265 * benchtests/bench-skeleton.c (startup): Fix coding style.
26266
ab2b9461
JM
262672013-05-10 Joseph Myers <joseph@codesourcery.com>
26268
26269 [BZ #6809]
26270 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26271 negative infinity argument.
26272 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26273 negative infinity argument.
26274 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26275 negative infinity argument.
26276 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26277 domain errors.
26278
4c0fe6fe
FW
262792013-05-10 Florian Weimer <fweimer@redhat.com>
26280
26281 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26282 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26283 * iconv/iconv_prog.c (main): Likewise.
26284 * locale/programs/charmap-dir.c (charmap_readdir)
26285 (fopen_uncompressed): Likewise.
26286 * locale/programs/locfile.c (siblings_uncached)
26287 (write_locale_data): Use lstat64 instead of lstat.
26288 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26289 stat.
26290
a3375d29
AJ
262912013-05-10 Andreas Jaeger <aj@suse.de>
26292
26293 [BZ #15395]
26294 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26295 localization.
26296 Include <locale.h>.
26297
36129722
CD
262982013-05-09 Carlos O'Donell <carlos@redhat.com>
26299
26300 * elf/dl-close.c (_dl_close_worker): Add comments.
26301
faa7f811
JM
263022013-05-09 Joseph Myers <joseph@codesourcery.com>
26303
ed41ffef
JM
26304 [BZ #15359]
26305 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26306 high part of pi/2.
26307 (__ieee754_rem_pio2l): Update comments.
26308
d0213cd0
JM
26309 [BZ #15429]
26310 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26311 high part of pi/2.
26312 (__ieee754_rem_pio2l): Update comments.
26313
0d3e777a
JM
26314 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26315 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26316
24f56066
JM
26317 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26318 M_PI_4l.
26319
faa7f811
JM
26320 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26321 (M_PI_34_LOG10El): Likewise.
26322 (M_PI2_LOG10El): Likewise.
26323 (M_PI4_LOG10El): Likewise.
26324 (M_PI_LOG10El): Likewise.
26325
e9a5e0fd
AZ
263262013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26327
26328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26329
d8cd06db
JM
263302013-05-08 Joseph Myers <joseph@codesourcery.com>
26331
a0d9f9d7
JM
26332 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26333 (MINUS_ZERO_INIT): Likewise.
26334 (PLUS_INFTY_INIT): Likewise.
26335 (MINUS_INFTY_INIT): Likewise.
26336 (QNAN_VALUE_INIT): Likewise.
26337 (MAX_VALUE_INIT): Likewise.
26338 (MIN_VALUE_INIT): Likewise.
26339 (MIN_SUBNORM_VALUE_INIT): Likewise.
26340 (plus_zero): Initialize with PLUS_ZERO_INIT.
26341 (minus_zero): Initialize with MINUS_ZERO_INIT.
26342 (plus_infty): Initialize with PLUS_INFTY_INIT.
26343 (minus_infty): Initialize with MINUS_INFTY_INIT.
26344 (qnan_value): Initialize with QNAN_VALUE_INIT.
26345 (max_value): Initialize with MAX_VALUE_INIT.
26346 (min_value): Initialize with MIN_VALUE_INIT.
26347 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26348
ae08db3b
JM
26349 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26350 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26351 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26352 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26353
f44bf14a
JM
26354 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26355 (RUN_TEST_2_f): Likewise.
26356 (RUN_TEST_ff_f): Likewise.
26357 (RUN_TEST_fi_f): Likewise.
26358 (RUN_TEST_fl_f): Likewise.
26359 (RUN_TEST_fff_f): Likewise.
26360 (RUN_TEST_c_f): Likewise.
26361 (RUN_TEST_f_f1): Likewise.
26362 (RUN_TEST_fF_f1): Likewise.
26363 (RUN_TEST_fI_f1): Likewise.
26364 (RUN_TEST_ffI_f1): Likewise.
26365 (RUN_TEST_c_c): Likewise.
26366 (RUN_TEST_cc_c): Likewise.
26367 (RUN_TEST_f_i): Likewise.
26368 (RUN_TEST_f_i_tg): Likewise.
26369 (RUN_TEST_ff_i_tg): Likewise.
26370 (RUN_TEST_f_b): Likewise.
26371 (RUN_TEST_f_b_tg): Likewise.
26372 (RUN_TEST_f_l): Likewise.
26373 (RUN_TEST_f_L): Likewise.
26374 (RUN_TEST_sincos): Likewise.
26375 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26376 whether to show exceptions. Do not include ");\n" in return
26377 value.
26378 (special_functions): Output call to RUN_TEST_sincos instead of
26379 check_float calls. Update calls to new_test.
26380 (parse_args): Output call to single RUN_TEST_* macro instead of
26381 check_* calls and other assignments. Update calls to new_test.
26382
d8cd06db
JM
26383 [BZ #2546]
26384 [BZ #2560]
26385 [BZ #5159]
26386 [BZ #15426]
26387 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26388 input to result for tgamma overflow.
26389 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26390 (gamma_coeff): New variable.
26391 (NCOEFF): New macro.
26392 (gamma_positive): New function.
26393 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26394 underflow here. Use gamma_positive instead of exp (lgamma) for
26395 other arguments.
26396 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26397 (gamma_coeff): New variable.
26398 (NCOEFF): New macro.
26399 (gammaf_positive): New function.
26400 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26401 underflow here. Use gamma_positive instead of exp (lgamma) for
26402 other arguments.
26403 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26404 (gamma_coeff): New variable.
26405 (NCOEFF): New macro.
26406 (gammal_positive): New function.
26407 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26408 underflow here. Use gamma_positive instead of exp (lgamma) for
26409 other arguments.
26410 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26411 (gamma_coeff): New variable.
26412 (NCOEFF): New macro.
26413 (gammal_positive): New function.
26414 (__ieee754_gammal_r): Handle positive infinity, overflow and
26415 underflow here. Handle NaN the same as positive infinity. Remove
26416 check x < 0xffffffff for negative integers. Use gamma_positive
26417 instead of exp (lgamma) for other arguments.
26418 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26419 (gamma_coeff): New variable.
26420 (NCOEFF): New macro.
26421 (gammal_positive): New function.
26422 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26423 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26424 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26425 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26426 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26427 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26428 * sysdeps/generic/math_private.h (__gamma_productf): New
26429 prototype.
26430 (__gamma_product): Likewise.
26431 (__gamma_productl): Likewise.
26432 * math/Makefile (libm-calls): Add gamma_product.
26433 * math/libm-test.inc (tgamma_test): Add more tests.
26434 * sysdeps/i386/fpu/libm-test-ulps: Update.
26435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26436
bb7cf681
OB
264372013-05-08 Ondřej Bílka <neleai@seznam.cz>
26438
26439 * benchtests/bench-skeleton.c (main): Preheat CPU.
26440
ba853947
AJ
264412013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26442
26443 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26444
8347c74c
RM
264452013-05-07 Roland McGrath <roland@hack.frob.com>
26446
26447 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26448 and _dl_skip_args_internal.
26449
e8dd4791
CD
264502013-05-07 Carlos O'Donell <carlos@redhat.com>
26451
26452 * manual/message.texi (Message Translation): Talk about users.
26453 Message to key mapping impacts design.
26454
c7405830
RM
264552013-05-06 Roland McGrath <roland@hack.frob.com>
26456
a9173057
RM
26457 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26458
976e2f03
RM
26459 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26460
9723ffc5
RM
26461 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26462 * sysdeps/wordsize-64/glob64.c: ... here.
26463
962e6658
RM
26464 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26465 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26466 New macros.
26467
ee586a6d
RM
26468 * debug/getlogin_r_chk.c: Moved to ...
26469 * login/getlogin_r_chk.c: ... here.
26470 * debug/Makefile (routines): Move getlogin_r_chk to ...
26471 * login/Makefile (routines): ... here.
26472 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26473 * login/Versions (libc: GLIBC_2.4): ... here.
26474
355f9165
RM
26475 * io/poll.c (__poll): Renamed from poll.
26476 Add libc_hidden_def.
26477 (poll): Define as weak alias.
26478
bd9ffde6
RM
26479 * debug/ptsname_r_chk.c: Moved to ...
26480 * login/ptsname_r_chk.c: ... here.
26481 * debug/Makefile (routines): Move ptsname_r_chk to ...
26482 * login/Makefile (routines): ... here.
26483 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26484 * login/Versions (libc: GLIBC_2.4): ... here.
26485
8fb16a04
RM
26486 * posix/getlogin.c: Moved to ...
26487 * login/getlogin.c: ... here.
26488 * posix/getlogin_r.c: Moved to ...
26489 * login/getlogin_r.c: ... here.
26490 * posix/getlogin_r.c: Moved to ...
26491 * login/getlogin_r.c: ... here.
26492 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26493 * login/Makefile (routines): ... here.
26494 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26495 * login/Versions (libc: GLIBC_2.0): ... here.
26496
b99b892f
RM
26497 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26498 (setrlimit): Define as weak alias.
26499
c7405830
RM
26500 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26501 Call __ names for open, ftruncate, and close.
26502 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26503 (truncate): Define as weak alias.
26504
5bf96de5
JM
265052013-05-06 Joseph Myers <joseph@codesourcery.com>
26506
9ea3513c
JM
26507 * math/gen-libm-test.pl (parse_args): Initialize x before each
26508 test of frexp, modf and remquo.
26509
5bf96de5
JM
26510 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26511 test signgam value.
26512
16e616a7
AZ
265132013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26514
26515 [BZ #15418]
26516 [BZ #15419]
26517 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26518 internal tests.
26519 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26520
d5e82754
RM
265212013-05-06 Roland McGrath <roland@hack.frob.com>
26522
26523 * elf/dl-writev.h: New file.
26524 * elf/dl-misc.c: Include it.
26525 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26526 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26527
a7548d41
JM
265282013-05-04 Joseph Myers <joseph@codesourcery.com>
26529
b7dab1e4
JM
26530 * math/libm-test.inc (noXFails): Remove variable.
26531 (noXPasses): Likewise.
26532 (BUILD_COMPLEX_INT): Remove macro.
26533 (print_screen): Remove xfail argument.
26534 (print_screen_max_error): Likewise.
26535 (update_stats): Likewise.
26536 (print_max_error): Likewise. Update calls to other affected
26537 functions.
26538 (print_complex_max_error): Likewise.
26539 (test_single_exception): Update calls to print_screen.
26540 (test_single_errno): Likewise.
26541 (check_float_internal): Remove xfail argument. Update calls to
26542 other affected functions.
26543 (check_float): Likewise.
26544 (check_complex): Likewise.
26545 (check_int): Likewise.
26546 (check_long): Likewise.
26547 (check_bool): Likewise.
26548 (check_longlong): Likewise.
26549 (main): Don't print noXFails and noXPasses.
26550 * math/gen-libm-test.pl (top level): Don't mention expected
26551 failure handling in comment.
26552 (new_test): Don't handle expected failures.
26553 (parse_args): Don't mention expected failure handling in comment.
26554 (generate_testfile): Don't handle expected failures.
26555 (parse_ulps): Likewise.
26556 (print_ulps_file): Likewise.
26557 (get_failure): Remove function.
26558 (output_test): Don't handle expected failures.
26559 * make/README.libm-test: Don't mention expected failure handling.
26560
a7548d41
JM
26561 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26562 (minus_zero): Likewise.
26563 (plus_infty): Likewise.
26564 (minus_infty): Likewise.
26565 (qnan_value): Likewise.
26566 (max_value): Likewise.
26567 (min_value): Likewise.
26568 (min_subnorm_value): Likewise.
26569 (initialize): Do not initialize those variables dynamically.
26570
60bfd54c
RM
265712013-05-03 Roland McGrath <roland@hack.frob.com>
26572
cc0e6ed8
RM
26573 * io/open.c (__open_2): Moved to ...
26574 * io/open_2.c: ... this new file.
26575 * io/open64.c (__open64_2): Moved to ...
26576 * io/open64_2.c: ... this new file.
26577 * io/openat.c (__openat_2): Moved to ...
26578 * io/openat_2.c: ... this new file.
26579 * io/openat64.c (__openat64_2): Moved to ...
26580 * io/openat64_2.c: ... this new file.
26581 * io/Makefile (routines): Add them.
26582 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26583 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26584 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26585 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26586 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26587 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26588 (__openat64): Add hidden_ver.
26589 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26590 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26591
60bfd54c
RM
26592 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26593 Separately conditionalize setting of GLRO(dl_sysinfo) so
26594 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26595 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26596
83e7640f
AZ
265972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26598
26599 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26600 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26601 definition.
26602 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26603 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26604 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26605 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26606 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26607
d5dc2af3
JM
266082013-05-03 Joseph Myers <joseph@codesourcery.com>
26609
c31a5b1e
JM
26610 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26611 test signgam value.
26612
d5dc2af3
JM
26613 * math/libm-test.inc (hypot_test): Do not use
26614 IGNORE_ZERO_INF_SIGN.
26615
164fd39d
AJ
266162013-05-03 Andreas Jaeger <aj@suse.de>
26617
26618 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26619 Linux 3.9.
26620 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26621 (PF_MAX): Adjust for VSOCK change.
26622
8237f48c
AZ
266232013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26624
26625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26626
9df02941
CD
266272013-05-02 Carlos O'Donell <carlos@redhat.com>
26628
26629 [BZ #15264]
26630 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26631 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26632 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26633
d422395e
DM
266342013-05-02 David S. Miller <davem@davemloft.net>
26635
26636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26637
a07c5731
OB
266382013-05-01 Ondřej Bílka <neleai@seznam.cz>
26639
26640 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26641
1324e37f
RM
266422013-05-01 Roland McGrath <roland@hack.frob.com>
26643
26644 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26645
0695940b
RS
266462013-05-01 Richard Smith <richard@metafoo.co.uk>
26647
bb5f27ad 26648 [BZ #14952]
0695940b
RS
26649 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26650 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26651 Use __attribute__ ((__gnu_inline__)).
26652 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26653 Don't use __attribute__ ((__gnu_inline__)).
26654
10de07f5
JM
266552013-05-01 Joseph Myers <joseph@codesourcery.com>
26656
26657 [BZ #15423]
26658 * math/s_catan.c (__catan): Handle small real or imaginary part of
26659 input specially to avoid spurious underflow.
26660 * math/s_catanf.c (__catanf): Likewise.
26661 * math/s_catanh.c (__catanh): Likewise.
26662 * math/s_catanhf.c (__catanhf): Likewise.
26663 * math/s_catanhl.c (__catanhl): Likewise.
26664 * math/s_catanl.c (__catanl): Likewise.
26665 * math/libm-test.inc (catan_test): Add more tests.
26666 (catanh_test): Likewise.
26667 * sysdeps/i386/fpu/libm-test-ulps: Update.
26668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26669
cb4d5414
AZ
266702013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26671
26672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26673
caf84319
JM
266742013-04-30 Joseph Myers <joseph@codesourcery.com>
26675
26676 [BZ #15416]
26677 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26678 accurately for denominator in atan2.
26679 * math/s_catanf.c (__catanf): Likewise.
26680 * math/s_catanh.c (__catanh): Likewise.
26681 * math/s_catanhf.c (__catanhf): Likewise.
26682 * math/s_catanhl.c (__catanhl): Likewise.
26683 * math/s_catanl.c (__catanl): Likewise.
26684 * math/libm-test.inc (catan_test): Add more tests.
26685 (catanh_test): Likewise.
26686 * sysdeps/i386/fpu/libm-test-ulps: Update.
26687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26688
d569c6ee
SP
266892013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26690
6dbe713d
SP
26691 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26692
f0ee064b
SP
26693 * benchtests/Makefile (bench): Remove slow benchmarks.
26694 * benchtests/atan-inputs: Add slow benchmark inputs.
26695 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26696 (BENCH_FUNC): Accept variant offset.
26697 (VARIANT): Define.
26698 * benchtests/bench-skeleton.c (main): Run benchmark for each
26699 variant.
26700 * benchtests/cos-inputs: Add slow benchmark inputs.
26701 * benchtests/exp-inputs: Likewise.
26702 * benchtests/pow-inputs: Likewise.
26703 * benchtests/sin-inputs: Likewise.
26704 * benchtests/slowatan-inputs: Remove.
26705 * benchtests/slowatan.c: Remove.
26706 * benchtests/slowcos-inputs: Remove.
26707 * benchtests/slowcos.c: Remove.
26708 * benchtests/slowexp-inputs: Remove.
26709 * benchtests/slowexp.c: Remove.
26710 * benchtests/slowpow-inputs: Remove.
26711 * benchtests/slowpow.c: Remove.
26712 * benchtests/slowsin-inputs: Remove.
26713 * benchtests/slowsin.c: Remove.
26714 * benchtests/slowtan-inputs: Remove.
26715 * benchtests/slowtan.c: Remove.
26716 * benchtests/tan-inputs: Add slow benchmark inputs.
26717 * scripts/bench.pl: Parse comments and directives.
26718
d569c6ee
SP
26719 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26720 in CPPFLAGS.
26721 ($(objpfx)bench-%.c): Remove *-ITER.
26722 * benchtests/bench-modf.c: Remove definition of ITER.
26723 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26724 (main): Loop for DURATION seconds instead of fixed number of
26725 iterations.
26726 * scripts/bench.pl: Don't expect iterations in parameters.
26727
a6a242fe
RM
267282013-04-29 Roland McGrath <roland@hack.frob.com>
26729
26730 * io/fchdir.c (__fchdir): Renamed from fchdir.
26731 (fchdir): Define as weak alias.
26732
f2da7793
JM
267332013-04-29 Joseph Myers <joseph@codesourcery.com>
26734
26735 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26736 (ERRNO_EDOM): Likewise.
26737 (ERRNO_ERANGE): Likewise.
26738 (noErrnoTests): New variable.
26739 (init_max_error): Set errno to 0.
26740 (test_single_errno): New function.
26741 (test_errno): Likewise.
26742 (check_float_internal): Call test_errno. Set errno to 0.
26743 (check_complex): Refer to errno tests in comment.
26744 (check_int): Call test_errno. Set errno to 0.
26745 (check_long): Likewise.
26746 (check_bool): Likewise.
26747 (check_longlong): Likewise.
26748 (cos_test): Use ERRNO_* flags for errno tests instead of
26749 check_int.
26750 (expm1_test): Likewise.
26751 (fmod_test): Likewise.
26752 (ilogb_test): Likewise.
26753 (lgamma_test): Likewise.
26754 (pow_test): Likewise.
26755 (remainder_test): Likewise.
26756 (sin_test): Likewise.
26757 (tan_test): Likewise.
26758 (yn_test): Likewise.
26759 (initialize): Set errno to 0.
26760 (main): Print number of errno tests.
26761 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26762
b1a36ceb
AJ
267632013-04-29 Andreas Jaeger <aj@suse.de>
26764
c3ed8088
AJ
26765 [BZ #15084]
26766 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26767 and RES_USEVC.
26768
f1a24198
AJ
26769 [BZ #15085]
26770 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26771 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26772 unimplemented.
26773
9ce3b2cb
AJ
26774 [BZ #15380]
26775 * stdlib/random.c (__initstate): Return NULL if
26776 __initstate fails.
26777
f1a24198 26778 [BZ #15086]
b1a36ceb
AJ
26779 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26780 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26781 RES_SNGLKUPREOP.
26782
7e7b6f36
AZ
267832013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26784
26785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26786
4d14f449
JM
267872013-04-29 Joseph Myers <joseph@codesourcery.com>
26788
26789 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26790 of individual tests.
26791 (casin_test): Likewise.
26792 (casinh_test): Likewise.
26793
5b4217d7
JM
267942013-04-27 Joseph Myers <joseph@codesourcery.com>
26795
26796 [BZ #15409]
26797 * math/s_catan.c (__catan): Handle arguments with large real or
26798 imaginary part separately without squaring.
26799 * math/s_catanf.c (__catanf): Likewise.
26800 * math/s_catanh.c (__catanh): Likewise.
26801 * math/s_catanhf.c (__catanhf): Likewise.
26802 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26803 and redefine.
26804 (__catanhl): Handle arguments with large real or imaginary part
26805 separately without squaring.
26806 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26807 and redefine.
26808 (__catanl): Handle arguments with large real or imaginary part
26809 separately without squaring.
26810 * math/libm-test.inc (catan_test): Add more tests.
26811 (catanh_test): Likewise.
26812 * sysdeps/i386/fpu/libm-test-ulps: Update.
26813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26814
4220c3ef
AJ
268152013-04-27 Andreas Jaeger <aj@suse.de>
26816
26817 [BZ #15007]
26818 * stdlib/stdlib.h: Update guards for qecvt.
26819 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26820 <stdlib.h>.
26821
4721b2d1
AM
268222013-04-27 Allan McRae <allan@archlinux.org>
26823
26824 * sysdeps/i386/fpu/libm-test-ulps: Update.
26825
f0302940
JM
268262013-04-26 Joseph Myers <joseph@codesourcery.com>
26827
9457fd95
JM
26828 [BZ #15406]
26829 * math/s_catan.c: Include <float.h>.
26830 (__catan): Ensure underflow exception occurs for underflowed
26831 result.
26832 * math/s_catanf.c: Include <float.h>.
26833 (__catanf): Ensure underflow exception occurs for underflowed
26834 result.
26835 * math/s_catanh.c: Include <float.h>.
26836 (__catanh): Ensure underflow exception occurs for underflowed
26837 result.
26838 * math/s_catanhf.c: Include <float.h>.
26839 (__catanhf): Ensure underflow exception occurs for underflowed
26840 result.
26841 * math/s_catanhl.c: Include <float.h>.
26842 (__catanhl): Ensure underflow exception occurs for underflowed
26843 result.
26844 * math/s_catanl.c: Include <float.h>.
26845 (__catanl): Ensure underflow exception occurs for underflowed
26846 result.
26847 * math/libm-test.inc (catan_test): Add more tests.
26848 (catanh_test): Likewise.
26849
f0302940
JM
26850 [BZ #15405]
26851 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26852 underflowed result.
26853 * math/s_ccoshf.c (__ccoshf): Likewise.
26854 * math/s_ccoshl.c (__ccoshl): Likewise.
26855 * math/s_csin.c (__csin): Likewise.
26856 * math/s_csinf.c (__csinf): Likewise.
26857 * math/s_csinh.c (__csinh): Likewise.
26858 * math/s_csinhf.c (__csinhf): Likewise.
26859 * math/s_csinhl.c (__csinhl): Likewise.
26860 * math/s_csinl.c (__csinl): Likewise.
26861 * math/libm-test.inc (ccos_test): Add more tests.
26862 (ccosh_test): Likewise.
26863 (csin_test): Likewise.
26864 (csinh_test): Likewise.
26865
aa630f59
AZ
268662013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26867
26868 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26869 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26870 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26871 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26872 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26873 powerpc/power5+/fpu folders.
26874 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26875
26876
1b835983
MT
268772013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26878
26879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26880
73709b26
JM
268812013-04-25 Joseph Myers <joseph@codesourcery.com>
26882
26883 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26884 additions to variable.
26885 [$(config-machine) = x86_64] (modules-names): Likewise.
26886 ($(objpfx)tst-audit3): Remove dependency.
26887 ($(objpfx)tst-audit3.out): Likewise.
26888 ($(objpfx)tst-audit4): Likewise.
26889 ($(objpfx)tst-audit4.out): Likewise.
26890 ($(objpfx)tst-audit5): Likewise.
26891 ($(objpfx)tst-audit5.out): Likewise.
26892 ($(objpfx)tst-audit6): Likewise.
26893 ($(objpfx)tst-audit6.out): Likewise.
26894 ($(objpfx)tst-audit7): Likewise.
26895 ($(objpfx)tst-audit7.out): Likewise.
26896 (tst-audit3-ENV): Remove variable.
26897 (tst-audit4-ENV): Likewise.
26898 (tst-audit5-ENV): Likewise.
26899 (tst-audit6-ENV): Likewise.
26900 (tst-audit7-ENV): Likewise.
26901 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26902 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26903 addition to variable.
26904 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26905 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26906 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26907 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26908 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26909 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26910 tst-audit3, tst-audit4 and tst-audit5.
26911 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26912 tst-audit6 and tst-audit7.
26913 [$(subdir) = elf] (modules-names): Add audit modules for those
26914 tests.
26915 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26916 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26917 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26918 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26919 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26920 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26921 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26922 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26923 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26924 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26925 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26926 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26927 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26928 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26929 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26930 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26931 Likewise.
26932 [$(subdir) = elf && $(config-cflags-avx) = yes]
26933 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26934 [$(subdir) = elf && $(config-cflags-avx) = yes]
26935 (CFLAGS-tst-auditmod4a.c): Likewise.
26936 [$(subdir) = elf && $(config-cflags-avx) = yes]
26937 (CFLAGS-tst-auditmod4b.c): Likewise.
26938 [$(subdir) = elf && $(config-cflags-avx) = yes]
26939 (CFLAGS-tst-auditmod6b.c): Likewise.
26940 [$(subdir) = elf && $(config-cflags-avx) = yes]
26941 (CFLAGS-tst-auditmod6c.c): Likewise.
26942 [$(subdir) = elf && $(config-cflags-avx) = yes]
26943 (CFLAGS-tst-auditmod7b.c): Likewise.
26944 * elf/tst-audit3.c: Move to ...
26945 * sysdeps/x86_64/tst-audit3.c: ... here.
26946 * elf/tst-audit4.c: Move to ...
26947 * sysdeps/x86_64/tst-audit4.c: ... here.
26948 * elf/tst-audit5.c: Move to ...
26949 * sysdeps/x86_64/tst-audit5.c: ... here.
26950 * elf/tst-audit6.c: Move to ...
26951 * sysdeps/x86_64/tst-audit6.c: ... here.
26952 * elf/tst-audit7.c: Move to ...
26953 * sysdeps/x86_64/tst-audit7.c: ... here.
26954 * elf/tst-auditmod3a.c: Move to ...
26955 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26956 * elf/tst-auditmod3b.c: Move to ...
26957 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26958 * elf/tst-auditmod4a.c: Move to ...
26959 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26960 * elf/tst-auditmod4b.c: Move to ...
26961 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26962 * elf/tst-auditmod5a.c: Move to ...
26963 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26964 * elf/tst-auditmod5b.c: Move to ...
26965 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26966 * elf/tst-auditmod6a.c: Move to ...
26967 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26968 * elf/tst-auditmod6b.c: Move to ...
26969 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26970 * elf/tst-auditmod6c.c: Move to ...
26971 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26972 * elf/tst-auditmod7a.c: Move to ...
26973 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26974 * elf/tst-auditmod7b.c: Move to ...
26975 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26976
1ef74943
PP
269772013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26978
26979 [BZ #15366]
26980 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26981 define unconditionally.
26982 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26983 define unconditionally.
26984 (INT8_C, INT16_C, etc.): Likewise.
26985
93fd48c5
MR
269862013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26987
ae9552cf
MR
26988 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26989 __ehdr_start with hidden visibility.
26990
93fd48c5
MR
26991 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26992
418601aa
CD
269932013-04-24 Carlos O'Donell <carlos@redhat.com>
26994
26995 * math/libm-test.inc (cos_test): Use accurate hex constants.
26996 (sincost_test): Likewise.
26997
2f38fbfe
JM
269982013-04-24 Joseph Myers <joseph@codesourcery.com>
26999
5e221800
JM
27000 * math/libm-test.inc (catan_test): Add more tests.
27001 (catanh_test): Likewise.
27002
77f143fd
JM
27003 * math/s_catanf.c (__catanf): Use suffixed floating-point
27004 constants.
27005 * math/s_catanhf.c (__catanhf): Likewise.
27006 * math/s_catanhl.c (__catanhl): Likewise.
27007 * math/s_catanl.c (__catanl): Likewise.
27008
2f38fbfe
JM
27009 [BZ #15394]
27010 * math/s_catan.c (__catan): Calculate imaginary part of result
27011 with log1p not log unless computing log of number close to 0.
27012 * math/s_catanf.c (__catanf): Likewise.
27013 * math/s_catanl.c (__catanl): Likewise.
27014 * math/s_catanh.c (__catanh): Calculate real part of result with
27015 log1p not log unless computing log of number close to 0.
27016 * math/s_catanhf.c (__catanhf): Likewise.
27017 * math/s_catanhl.c (__catanhl): Likewise.
27018 * math/libm-test.inc (catan_test): Add more tests.
27019 (catanh_test): Likewise.
27020 * sysdeps/i386/fpu/libm-test-ulps: Update.
27021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27022
45d69176
SP
270232013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27024
27025 * benchtests/Makefile: Mention files in which fast and slow
27026 paths of math functions are implemented.
27027
87f51853
RM
270282013-04-23 Roland McGrath <roland@hack.frob.com>
27029
27030 * sysdeps/posix/timespec_get.c: New file.
27031
3c026539
AZ
270322013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27033
27034 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27035 POWER.
27036 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27037 for POWER.
27038 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27039 powerpc/power5/fpu folders.
27040 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27041 * benchtests/Makefile: Add modf testcase.
27042 * benchtests/bench-modf.c: New file: Benchmark test for mo
27043
ff491d14
SP
270442013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27045
27046 [BZ #14888]
27047 * time/Makefile (tests): Add tst-strptime-whitespace.
27048 * time/strptime_l.c (get_number): Use ISSPACE.
27049 (__strptime_internal): Likewise.
27050 * time/tst-strptime-whitespace.c: New test case.
27051
7ed3f4e8
AS
270522013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27053
27054 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27055 member.
27056 (_nss_files_init): Set it here.
27057
5c95f7b6
HC
270582013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27059
27060 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27061 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27062 unsigned.
27063
d34c9158
JBG
270642013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27065
27066 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27067
2169712d
SP
270682013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27069
27070 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27071 size just once.
27072
29c5de99
DM
270732013-04-21 David S. Miller <davem@davemloft.net>
27074
27075 * po/ru.po: Update Russion translation from translation project.
27076
ccdad15d
AC
270772013-04-17 Adam Conrad <adconrad@0c3.net>
27078
27079 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27080 and setfsgid.
27081
0f122b8d
CD
270822013-04-17 Carlos O'Donell <carlos@redhat.com>
27083
5c5b07da 27084 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 27085 * configure: Regenerate.
5c5b07da 27086 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
27087 Add example to error message.
27088 * sysdeps/i386/configure: Regenerate.
27089
037714dd
SP
270902013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27091
27092 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27093 slowtan.
27094 * benchtests/cos-inputs: New file.
27095 * benchtests/slowcos-inputs: New file.
27096 * benchtests/slowcos.c: New file.
27097 * benchtests/slowtan-inputs: New file.
27098 * benchtests/slowtan.c: New file.
27099 * benchtests/tan-inputs: New file.
27100
e913141d
RM
271012013-04-16 Roland McGrath <roland@hack.frob.com>
27102
27103 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27104 considered kosher.
27105
a2964074
SP
271062013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27107
4856bcd2
SP
27108 * benchtests/Makefile: Include cppflags-iterator.mk to add
27109 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27110
a2964074
SP
27111 * Makefile.in (bench-clean): New target.
27112 * benchtests/Makefile (bench-clean): Likewise.
27113
9fbf9aca
DH
271142013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27115
27116 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27117
207d1e2a
TS
271182013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27119
27120 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27121
306dfba9
AS
271222013-04-15 Andreas Schwab <schwab@suse.de>
27123
27124 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27126 * nscd/pwdcache.c (cache_addpw): Likewise.
27127 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27128 more than recsize.
27129
206a6699
SP
271302013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27131
27132 * benchtests/Makefile (bench): Write all output to
27133 bench-out.tmp together.
27134
0582f6b3
AS
271352013-04-15 Andreas Schwab <schwab@suse.de>
27136
27137 * nscd/nscd.c (main): Don't fork again after closing files.
27138
acb4325f
SP
271392013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27140
5cb26d0a
SP
27141 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27142
acb4325f
SP
27143 * benchtests/Rules (bench-deps): Collect dependencies into a
27144 single variable. Add Makefile to dependencies.
27145 ($(objpfx)bench-%.c): Depend on bench-deps.
27146
47792506
RM
271472013-04-12 Roland McGrath <roland@hack.frob.com>
27148 Xavier Roche <roche+kml2@exalead.com>
27149
27150 [BZ #15361]
27151 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27152 just that it's a file descriptor.
27153 * manual/llio.texi (Synchronizing AIO Operations): Update description
27154 for EBADF error from aio_fsync.
27155
8fc1bee5
SP
271562013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27157
27158 * Rules (bench): Move target definition...
27159 * benchtests/Makefile: ... here.
27160
aba5e333
CD
271612013-04-11 Carlos O'Donell <carlos@redhat.com>
27162
27163 * math/libm-test.inc (cos_test): Fix PI/2 test.
27164 (sincos_test): Likewise.
27165 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27166 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27167
273cdee8
AS
271682013-04-11 Andreas Schwab <schwab@suse.de>
27169
6ecec3b6
AS
27170 [BZ #13988]
27171 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27172 accept exponent character only when digits were seen.
27173 * stdio-common/Makefile (tests): Add bug26.
27174 * stdio-common/bug26.c: New file.
27175
273cdee8
AS
27176 [BZ #14293]
27177 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27178 non-freeable.
27179
8da491f5
SP
271802013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27181
01dc6df9
SP
27182 * Makeconfig (rtld-prefix): Define built linker prefix.
27183 * Rules (run-bench): Use it.
27184 * math/Makefile (run-regen-ulps): Likewise.
27185
8da491f5
SP
27186 * Rules (bench): Remove eval.
27187
abe7f530
SP
271882013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27189 Roland McGrath <roland@hack.frob.com>
27190 Ondrej Bilka <neleai@seznam.cz>
27191
27192 [BZ #15346]
27193 * time/getdate.c: Include ctype.h and alloca.h.
27194 (__getdate_r): Trim leading and trailing spaces of input.
27195 * time/tst-getdate.c (tests): Add tests with leading and
27196 trailing spaces.
27197
61c23e62
RM
271982013-04-08 Roland McGrath <roland@hack.frob.com>
27199
27200 [BZ #14280]
27201 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27202 when computing value.
27203
7208a313
CD
272042013-04-06 Carlos O'Donell <carlos@redhat.com>
27205
085b2d41
CD
27206 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27207 Use testrun.sh to run libm tests.
27208
7208a313
CD
27209 [BZ #15309]
27210 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27211
872c0acd
MM
272122013-04-06 Marko Myllynen <myllynen@redhat.com>
27213
27214 [BZ #15264]
27215 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27216
26510bdd
CD
272172013-04-06 Carlos O'Donell <carlos@redhat.com>
27218
27219 * Makefile.in (regen-ulps): New target.
27220 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27221 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27222 [ifneq (no,$(PERL)] (regen-ulps): New target.
27223 [ifeq (no,$(PERL)] (regen-ulps): New target.
27224 * math/libm-test.inc (ulps_file_name): Define.
27225 (output_dir): New variable.
27226 (options): Add "output-dir" option.
27227 (parse_opt): Handle 'o' case.
27228 (main): If output_dir is non-NULL use it as a prefix
27229 otherwise use "".
27230 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27231
a01f19c8
CD
272322013-04-06 Carlos O'Donell <carlos@redhat.com>
27233
27234 [BZ #10060, #10062]
27235 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27236 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27237 fail configure if __sync_val_compare_and_swap is not inlined.
27238 * sysdeps/i386/configure: Regenerate.
27239 * configure.in: Build for i686 when configured for i386.
27240 * configure: Regenerate.
27241 * README: Remove i386 reference.
27242
b7a329a5
CD
272432013-04-06 Carlos O'Donell <carlos@redhat.com>
27244
27245 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27246 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27247
bf0f50df
TS
272482013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27249
ee091edf
TS
27250 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27251 (lmsnanval): New variables.
27252 (F): Add conversion tests.
27253 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27254 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27255
a8b792d6
TS
27256 * stdio-common/tstdiomisc.c (F): Properly collect individual
27257 tests' results.
27258
a1cbf437
TS
27259 [BZ #14686, #15336]
27260 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27261 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27262 Instead, use input NaN values or generate a qNaN by arithmetic
27263 operation. Also fix bugs to comply with the standard.
27264 * math/libm-test.inc (remainder_test): Add more tests.
27265
8b43a0c9
TS
27266 [BZ #15335, #15342]
27267 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27268 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27269 input NaN values or generate a qNaN by arithmetic operation.
27270
d91da4ce
TS
27271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27272 unreachable code.
27273
bf0f50df
TS
27274 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27275 definitions.
27276
05e166c8
JM
272772013-04-03 Joseph Myers <joseph@codesourcery.com>
27278
27279 [BZ #14478]
27280 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27281 underflowed result.
27282 * math/s_cexpf.c (__cexpf): Likewise.
27283 * math/s_cexpl.c (__cexpl): Likewise.
27284 * math/libm-test.inc (cexp_test): Add more tests.
27285
1cef1b19
AS
272862013-04-03 Andreas Schwab <schwab@suse.de>
27287
27288 [BZ #15330]
27289 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27290 order arrays from heap if bigger than alloca cutoff.
27291
74d87055
TS
272922013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27293
27294 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27295 (SNAN_TESTS_double): Refer to GCC PR56831.
27296 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27297 GCC PR56828.
27298
d755bba4
SP
272992013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27300
90d5d5bb
SP
27301 * Rules (bench): Move bench.out after the run is complete.
27302
73e0cd5d
SP
27303 * Rules (bench): Echo currently running benchmark.
27304
64aabd4b
SP
27305 * benchtests/Makefile (bench): Add atan and slowatan.
27306 * benchtests/atan-inputs: New file.
27307 * benchtests/slowatan-inputs: New file.
27308 * benchtests/slowatan.c: New file.
27309
c871eccd
SP
27310 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27311 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27312 its value.
27313
d755bba4
SP
27314 [BZ #15305]
27315 * sysdeps/unix/sysv/linux/kernel-features.h
27316 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27317 __ASSUME_XFS_RESTRICTED_CHOWN.
27318 * sysdeps/unix/sysv/linux/pathconf.c
27319 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27320 Save and restore errno.
27321
52ce4860
JM
273222013-04-02 Joseph Myers <joseph@codesourcery.com>
27323
27324 [BZ #15327]
27325 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27326 arguments using __kernel_casinh.
27327 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27328 arguments using __kernel_casinhf.
27329 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27330 arguments using __kernel_casinhl.
27331 * math/libm-test.inc (cacosh_test): Add more tests.
27332 * sysdeps/i386/fpu/libm-test-ulps: Update.
27333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27334
81f311c2
SP
273352013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27336
e7906a47
SP
27337 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27339
92e3664b
SP
27340 * bench/Makefile (bench): Add sin and slowsin.
27341 * benchtests/sin-inputs: New file.
27342 * benchtests/slowsin-inputs: New file.
27343 * benchtests/slowsin.c: New file.
27344
81f311c2
SP
27345 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27346 (bench): Add slowexp and slowpow.
27347 (exp-ITER): Increase iterations.
27348 (pow-ITER): Likewise.
27349 * benchtests/exp-inputs: Change input.
27350 * benchtests/pow-inputs: Likewise.
27351 * benchtests/slowexp-inputs: New file.
27352 * benchtests/slowexp.c: New file.
27353 * benchtests/slowpow-inputs: New file.
27354 * benchtests/slowpow.c: New file.
27355
ab0f1aa9
AZ
273562013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27357
27358 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27359 instructions.
27360 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27361 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27362 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27363 * benchtests/Makefile: Add rint benchtest.
27364 * benchtests/rint-inputs: Input for rint benchtest.
27365
57267616
TS
273662013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27367
27368 * Versions.def (libm): Add GLIBC_2.18.
27369 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27370 hidden libm prototypes.
27371 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27372 * math/Makefile (libm-calls): Add s_issignaling.
27373 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27374 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27375 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27376 declaration.
27377 * math/math.h [__USE_GNU] (issignaling): New macro.
27378 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27379 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27380 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27381 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27382 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27384 * manual/arith.texi (issignaling): New section.
27385 * manual/libm-err-tab.pl (@all_functions): Update comment.
27386 * math/gen-libm-test.pl (parse_args): Apply special handling for
27387 issignaling.
27388 * math/libm-test.inc (print_float, issignaling_test): New
27389 functions.
27390 (check_float_internal): Add issignaling checks.
27391 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27392 default definition.
27393 * sysdeps/powerpc/math-tests.h: New file.
27394 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27395 tests.
27396 * math/test-snan.c (TEST_FUNC): Likewise.
27397
6142896d
DM
273982013-03-30 David S. Miller <davem@davemloft.net>
27399
27400 * po/de.po: Update from translation team.
27401
ccc8cadf
JM
274022013-03-30 Joseph Myers <joseph@codesourcery.com>
27403
27404 [BZ #10357]
27405 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27406 imaginary part less than 1.0 and real part less than 0.5
27407 specially.
27408 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27409 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27410 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27411 (cacos_test): Add more tests.
27412 (casin_test): Likewise.
27413 (casinh_test): Likewise.
27414 * sysdeps/i386/fpu/libm-test-ulps: Update.
27415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27416
0f6a8d4b
SP
274172013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27418
0d1029de
SP
27419 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27420 ONE with its value.
27421
c2d94018
SP
27422 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27423 (__pow_mp): Replace ONE and MONE with their values.
27424 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27425 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27426 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27427 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27428 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27429 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27430
27ec37f1
SP
27431 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27432
a64d7e0e
SP
27433 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27434 (__pow_mp): Replace ZERO and MZERO with their values.
27435 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27436 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27437 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27439 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27440 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27441 (__sqr): Likewise.
27442
d26dd3eb
SP
27443 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27444
0f6a8d4b
SP
27445 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27446
e57b0c61
RM
274472013-03-28 Roland McGrath <roland@hack.frob.com>
27448
27449 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27450 Declare with __attribute__ ((weak)).
27451 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27452 Call __call_tls_dtors only if it's not NULL.
27453
356b3480
RM
274542013-03-28 Roland McGrath <roland@hack.frob.com>
27455
288f7d79
RM
27456 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27457 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27458 magic __ehdr_start linker symbol if it's defined.
27459 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27460 them up here if it was already done.
27461
dc0a0263
RM
27462 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27463 (_dl_aux_init): Use const in cast when setting it.
27464 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27465 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27466 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27467
3d3436ae
RM
27468 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27469 Declare them here.
27470 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27471 * csu/libc-tls.c: Nor here.
27472 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27473
356b3480
RM
27474 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27475 (__libc_message): Never call vsyslog.
27476
b0f1246a
AM
274772013-03-28 Alan Modra <amodra@gmail.com>
27478
27479 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27480 Define as empty.
27481 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27482 Likewise.
27483
fbbe2b9a
AZ
274842013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27485
27486 [BZ #15214]
27487 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27488 underflow.
27489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27490
1728ab37
SP
274912013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27492
7a86be6e
SP
27493 [BZ #15304]
27494 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27495 Don't add gid passed as argument.
27496
1728ab37
SP
27497 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27498
3a7182a1
JM
274992013-03-27 Joseph Myers <joseph@codesourcery.com>
27500
27501 [BZ #15307]
27502 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27503 imaginary part between 1.0 and 1.5 and real part less than 0.5
27504 specially.
27505 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27506 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27507 * math/libm-test.inc (cacos_test): Add more tests.
27508 (casin_test): Likewise.
27509 (casinh_test): Likewise.
27510 * sysdeps/i386/fpu/libm-test-ulps: Update.
27511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27512
6f2e90e7
SP
275132013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27514
5739f705
SP
27515 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27516 constants.
27517 (norm): Likewise.
27518 (denorm): Likewise.
27519 (__dbl_mp): Likewise.
27520 (add_magnitudes): Likewise.
27521 (sub_magnitudes): Likewise.
27522 (__add): Likewise.
27523 (__sub): Likewise.
27524 (__mul): Likewise.
27525 (__sqr): Likewise.
27526 (__inv): Likewise.
27527 (__dvd): Likewise.
27528
e375e83d
SP
27529 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27530 commented code.
27531 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27532 (__dubcos): Likewise.
27533 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27534 (__ieee754_acos): Likewise.
27535 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27536 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27537 (__exp1): Likewise.
27538 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27539 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27540 (log1): Likewise.
27541 (my_log2): Likewise.
27542 (checkint): Likewise.
27543 * sysdeps/ieee754/dbl-64/e_remainder.c
27544 (__ieee754_remainder): Likewise.
27545 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27546 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27547 (bsloww): Likewise.
27548 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27549
6f2e90e7
SP
27550 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27551 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27552 MANTISSA_STORE_T to store computations on mantissa. Use
27553 macros for rounding and division.
27554 (denorm): Likewise.
27555 (__dbl_mp): Likewise.
27556 (add_magnitudes): Likewise.
27557 (sub_magnitudes): Likewise.
27558 (__mul): Likewise.
27559 (__sqr): Likewise.
27560 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27561 powers of two in terms of TWOPOW macro.
27562 (mp_no): Make type of mantissa as MANTISSA_T.
27563 [!RADIXI]: Define RADIXI.
27564 [!TWO52]: Define TWO52.
27565 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27566
fce14d4e
AZ
275672013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27568
27569 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27570 llroundl symbol when building for PPC32.
27571
9ad027fb
MW
275722013-03-24 Mark H Weaver <mhw@netris.org>
27573
27574 * manual/arith.texi (Normalization Functions): Fix prototypes for
27575 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27576
e42a38dd
AZ
275772013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27578
27579 [BZ #13889]
27580 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27581 high value to check if expl overflow.
27582 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27583 to check for underflow and overflow.
27584 * math/libm-test.inc: Add exp test.
27585
2e0fb521
DL
275862013-03-21 Dmitry V. Levin <ldv@altlinux.org>
27587
27588 [BZ #11120]
27589 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27590 with NOT_IN_libc.
27591
b5784d95
AZ
275922013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27593
27594 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27595 symbol.
27596
5aa4a1a1
TS
275972013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27598
bdef0be7
TS
27599 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27600 wrap blocks consisting of several statements.
27601
5aa4a1a1
TS
27602 * sysdeps/generic/math-tests.h: New file.
27603 * sysdeps/i386/fpu/math-tests.h: Likewise.
27604 * math/test-snan.c: Include it.
27605 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27606
98c48fe5
JM
276072013-03-21 Joseph Myers <joseph@codesourcery.com>
27608
27609 [BZ #15285]
27610 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27611 (__ieee754_j0l): Do not improve calculations using cos of twice
27612 input for inputs above LDBL_MAX / 2.0L.
27613 (__ieee754_y0l): Likewise.
27614 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27615 (__ieee754_j1l): Do not improve calculations using cos of twice
27616 input for inputs above LDBL_MAX / 2.0L.
27617 (__ieee754_y1l): Likewise.
27618 * math/libm-test.inc (j0_test): Add another test.
27619 (j1_test): Likewise.
27620 (y0_test): Likewise.
27621 (y1_test): Likewise.
27622 * sysdeps/i386/fpu/libm-test-ulps: Update.
27623
3775a8bc
SP
276242013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27625
27626 * Rules ($(objpfx)bench-%.c): Include code from a C source
27627 file.
27628
0a1b2ae6
JM
276292013-03-21 Joseph Myers <joseph@codesourcery.com>
27630
27631 [BZ #15287]
27632 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27633 imaginary part 1.0 and real part less than 0.5 specially.
27634 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27635 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27636 * math/libm-test.inc (cacos_test): Add more tests.
27637 (casin_test): Likewise.
27638 (casinh_test): Likewise.
27639 * sysdeps/i386/fpu/libm-test-ulps: Update.
27640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27641
b33d4ce4
SP
276422013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27643
27644 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27645 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27646
bef0b507
JM
276472013-03-20 Joseph Myers <joseph@codesourcery.com>
27648
27649 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27650 * config.make.in (config-cflags-sse4): Remove variable.
27651 (config-cflags-avx): Likewise.
27652 (config-cflags-sse2avx): Likewise.
27653 (config-cflags-novzeroupper): Likewise.
27654 (config-asflags-i686): Likewise.
27655 (have-mfma4): Likewise.
27656 (have-as-vis3): Likewise.
27657 (MIG): Likewise.
27658 * configure.in (MIG): Do not AC_SUBST.
27659 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27660 (libc_cv_cc_sse4): Do not AC_SUBST.
27661 (libc_cv_cc_avx): Likewise.
27662 (libc_cv_cc_sse2avx): Likewise.
27663 (libc_cv_cc_novzeroupper): Likewise.
27664 (libc_cv_cc_fma4): Likewise.
27665 (libc_cv_as_i686): Likewise.
27666 (libc_cv_sparc_as_vis3): Likewise.
27667 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27668 LIBC_CONFIG_VAR.
27669 (config-asflags-i686): Likewise.
27670 (config-cflags-avx): Likewise.
27671 (config-cflags-sse2avx): Likewise.
27672 (have-mfma4): Likewise.
27673 (config-cflags-novzeroupper): Likewise.
27674 * sysdeps/mach/configure.in (MIG): Likewise.
27675 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27676 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27677 LIBC_CONFIG_VAR.
27678 (config-cflags-avx): Likewise.
27679 (config-cflags-sse2avx): Likewise.
27680 (have-mfma4): Likewise.
27681 (config-cflags-novzeroupper): Likewise.
27682 * configure: Regenerated.
27683 * sysdeps/i386/configure: Likewise.
27684 * sysdeps/mach/configure: Likewise.
27685 * sysdeps/sparc/configure: Likewise.
27686 * sysdeps/x86_64/configure: Likewise.
27687
912cc4b3
RM
276882013-03-20 Roland McGrath <roland@hack.frob.com>
27689
27690 [BZ #14812]
27691 * locale/programs/localedef.c (options): Put N_ translation marker
27692 on argument names, not just descriptions.
27693
04eed2b0
MS
276942013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27695
27696 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27697
a065ceff
OB
276982013-03-20 Ondřej Bílka <neleai@seznam.cz>
27699
9bb2a810 27700 [BZ #14176]
a065ceff
OB
27701 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27702
a600e5ce
RM
277032013-03-19 Roland McGrath <roland@hack.frob.com>
27704
27705 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27706 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27707 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27708 [!BEFORE_ABORT] (before_abort): New function.
27709 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27710 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27711 (writev_for_fatal): New function.
27712 (WRITEV_FOR_FATAL): New macro; call that.
27713 (backtrace_and_maps): New function.
27714 (BEFORE_ABORT): New macro; call that.
27715 (struct str_list): Type removed.
27716 (__libc_message, __libc_fatal): Functions removed.
27717 Include <sysdeps/posix/libc_fatal.c> instead.
27718
6b18bea6
JM
277192013-03-19 Joseph Myers <joseph@codesourcery.com>
27720
27721 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27722 constants.
27723 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27724 double constants.
27725
aaa8cb4b
AS
277262013-03-19 Andreas Schwab <schwab@suse.de>
27727
44673770
AS
27728 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27729 * sysdeps/gnu/configure: Regenerate.
27730
aaa8cb4b
AS
27731 * configure.in: Substitute libc_cv_rtlddir.
27732 * configure: Regenerate.
27733 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27734 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27735 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27736 * elf/Makefile (install-others, CFLAGS-interp.c)
27737 (ldso_install, common-ldd-rewrite): Likewise.
27738 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27739 $(inst_slibdir)/$(rtld-installed-name).
27740 * scripts/rellns-sh: Add -p option.
27741 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27742 for source.
27743
d3cfc668
SP
277442013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27745
27746 * manual/nptl.texi: Renamed to ...
27747 * manual/threads.texi: ... this.
27748 * manual/Makefile (chapters): Update.
27749
0e2b9cdd
RM
277502013-03-18 Roland McGrath <roland@hack.frob.com>
27751
27752 [BZ #14812]
27753 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27754 on argument names, not just descriptions.
0e2b9cdd
RM
27755 * malloc/memusagestat.c (options): Likewise.
27756 * nss/getent.c (options): Likewise.
63270c24
RM
27757
277582013-03-18 Benno Schulenberg <bensberg@justemail.net>
27759
27760 [BZ #14812]
27761 * iconv/iconv_prog.c (options): Put N_ translation marker
27762 on argument names, not just descriptions.
27763 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 27764
b2e1393c
OB
277652013-03-18 Ondrej Bilka <neleai@seznam.cz>
27766
27767 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27768 implementation which is faster on all x86_64 architectures.
27769 Tested on AMD, Intel Nehalem, SNB, IVB.
27770 * sysdeps/x86_64/strnlen.S: Likewise.
27771
27772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27773 Remove all multiarch strlen and strnlen versions.
27774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27775 Remove strlen and strnlen related parts.
27776
27777 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27778 Inline strlen part.
27779 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27780
27781 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27782 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27783 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27784 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27785 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27786 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27787
ec4ff04d
CD
277882013-03-17 Carlos O'Donell <carlos@redhat.com>
27789
27790 * manual/memory.texi (Malloc Tunable Parameters):
27791 Sort parameters alphabetically. Add comments for missing entries.
27792
cd18e90a
DM
277932013-03-17 David S. Miller <davem@davemloft.net>
27794
27795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27796
2a185d32
JM
277972013-03-16 Joseph Myers <joseph@codesourcery.com>
27798
d2f9799e
JM
27799 [BZ #15283]
27800 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27801 for arguments at most half maximum finite value.
27802 * math/libm-test.inc (j0_test): Add more tests.
27803 (j1_test): Likewise.
27804 (y0_test): Likewise.
27805 (y1_test): Likewise.
27806 * sysdeps/i386/fpu/libm-test-ulps: Update.
27807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27808
2a185d32
JM
27809 [BZ #14155]
27810 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27811 1 / x and functions P and Q for arguments above 0x1p256L.
27812 (__ieee754_y0l): Likewise.
27813 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27814 (__ieee754_y1l): Likewise.
27815 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27816 (j1_test): Likewise.
27817 (y0_test): Likewise.
27818 (y1_test): Likewise.
27819
6cbec759
TS
278202013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27821
27822 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27823 variable.
27824
bc16e260
RM
278252013-03-15 Roland McGrath <roland@hack.frob.com>
27826
aefc9b8c
RM
27827 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27828 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27829 zero since it's initialized to EXEC_PAGESIZE.
27830
bc16e260
RM
27831 * sysdeps/unix/sysv/linux/ldsodefs.h
27832 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27833 * sysdeps/generic/ldsodefs.h: ... here.
27834
a57da955
TS
278352013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27836
af00a34d
TS
27837 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27838
495ded2c
TS
27839 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27840 math/test-snan.c.
27841 * math/test-snan.c: Renamed from
27842 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27843 * math/Makefile (tests): Add test-snan.
27844 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27845 test-powerpc-snan.
27846
777b0332
TS
27847 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27848 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27849 functions.
27850 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27851 __builtin_nan family of functions.
27852 * math/libm-test.inc (initialize): Initialize qnan_value with
27853 __builtin_nan family of functions.
27854 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27855 Remove variables.
27856 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27857 Remove functions.
27858 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27859 storage class. Initialize qNaN_var and sNaN_var with
27860 __builtin_nan and __builtin_nans families of functions,
27861 respectively.
27862
64d063b8
TS
27863 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27864 (sqrt_test): Remove duplicate test with qNaN input.
27865 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27866 (round_test, signbit_test, significand_test): Note missing +/-Inf
27867 as well as qNaN tests.
27868
67e971f1
TS
27869 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27870 qNaN_var. Fix a few strings, too.
27871 * math/libm-test.inc (nan_value): Rename to qnan_value.
27872 * math/gen-libm-test.pl (%beautify): Adjust to that.
27873 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27874 * math/test-misc.c (main): Likewise.
27875 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27876 to __qnan_bytes, and __qnan_union, respectively.
27877 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27878 Likewise.
27879 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27880 and lqnanval, respectively.
27881 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27882 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27883 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27884 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27885
64487e12
TS
27886 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27887 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27888 doubles.
27889
e015e27b
TS
27890 * math/test-misc.c (main): Fix copy'n'pastos.
27891 * misc/tst-efgcvt.c (special): Likewise.
27892
a57da955
TS
27893 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27894 Remove declarations.
27895
1e380345
SP
278962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27897
27898 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27899 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27900 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27901 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27902
ef26eece
AZ
279032013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27904
27905 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27906 macro to return vdso values correctly in IFUNC implementations.
27907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27908 Optimization by using IFUNC.
27909
8cfdb7e0
SP
279102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27911 Richard Henderson <rth@redhat.com>
27912 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27913
27914 * Makefile.in (bench): New target.
27915 * NEWS: Mention the benchmark framework.
27916 * Rules (bench): Likewise.
27917 (binaries-bench): Generate binaries for functions to
27918 benchmark.
27919 * benchtests/Makefile: New makefile for benchmark tests.
27920 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27921 programs.
27922 * benchtests/exp-inputs: New input file for EXP function.
27923 * benchtests/pow-inputs: New input file for POW function.
27924 * scripts/bench.pl: New script to generate source files for
27925 benchmark programs.
27926
bcda9880
SP
279272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27928
d22ca8cd
SP
27929 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27930 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27931 computations on mantissa. Use macros for rounding and
27932 division.
27933 (denorm): Likewise.
27934 (__dbl_mp): Likewise.
27935 (add_magnitudes): Likewise.
27936 (sub_magnitudes): Likewise.
27937 (__mul): Likewise.
27938 (__sqr): Likewise.
27939 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27940 powers of two in terms of TWOPOW macro.
27941 (mp_no): Make type of mantissa as MANTISSA_T.
27942 [!RADIXI]: Define RADIXI.
27943 [!TWO52]: Define TWO52.
27944 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27945
bcda9880
SP
27946 * manual/nptl.texi (cindex): Modify threads to pthreads.
27947
06d5adfb
JM
279482013-03-15 Joseph Myers <joseph@codesourcery.com>
27949
27950 * sysdeps/x86_64/preconfigure: Regenerated.
27951
41c7328e
JM
279522013-03-14 Joseph Myers <joseph@codesourcery.com>
27953
27954 [BZ #14155]
27955 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27956 0x1p28 and above.
27957 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27958 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27959 0x1p28 and above.
27960 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27961 * math/libm-test.inc (j0_test): Do not allow one spurious
27962 underflow exception.
27963 (y1_test): Likewise.
27964
e25cfa60
SP
279652013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27966
0409959c
SP
27967 * manual/Makefile (chapters): Add nptl.
27968 * manual/debug.texi (Debugging Support): Add link to Threads
27969 chapter.
27970 * manual/nptl.texi: New file.
27971
e25cfa60
SP
27972 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27973
58a1335e
PB
279742013-03-14 Petr Baudis <pasky@ucw.cz>
27975
27976 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27977 for non-NULL pointer before the memory validity test. Pointed
27978 out by Holger Brunck <holger.brunck@keymile.com>.
27979
9dc7c64f
AS
279802013-03-13 Andreas Schwab <schwab@suse.de>
27981
27982 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27983 instead of .os.
27984
54206aa6
JM
279852013-03-13 Joseph Myers <joseph@codesourcery.com>
27986
27987 * timezone/zic.c: Update from tzcode 2013b.
27988
e98cdb38
CD
279892013-03-12 Carlos O'Donell <carlos@redhat.com>
27990
27991 * manual/install.texi (Configuring and compiling):
27992 Mention i686 and i586.
27993 * INSTALL: Regenerate.
27994
9967e003
RM
279952013-03-12 Roland McGrath <roland@hack.frob.com>
27996
27997 * sysdeps/init_array/elf-init.c: New file.
27998 * csu/elf-init.c
27999 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28000 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28001
28002 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28003 __gmon_start__ as global, but as static with a .preinit_array pointer.
28004 * sysdeps/init_array/gmon-start.c: New file. Use that.
28005 * sysdeps/init_array/crti.S: New file, empty except for comments.
28006 * sysdeps/init_array/crtn.S: Likewise.
28007
e6b5a293 280082013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
28009
28010 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28011 definining bcopy.
80f844c9
OB
28012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28013 Remove Prefer_SSE_for_memop.
28014 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28015 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28016 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
28017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28018 memset-x86-64.
80f844c9 28019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 28020 Remove bzero, memset ifunc support.
80f844c9
OB
28021 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28022 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28023 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28024 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28025
fb6b0fcb
AS
280262013-03-11 Andreas Schwab <schwab@suse.de>
28027
28028 [BZ #15234]
28029 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28030 by SHLIB_COMPAT.
28031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28032 (GLIBC_2.16): Remove pthread_atfork.
28033
3e6bd4b1
PP
280342013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28035
28036 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28037 (ptestcases.h): Likewise.
28038
222d7f00
RM
280392013-03-08 Roland McGrath <roland@hack.frob.com>
28040
28041 * Makeconfig ($(common-objpfx)config.status): Depend on
28042 sysdeps/*/preconfigure{,.in} too.
28043
1ba4f030
JM
280442013-03-08 Joseph Myers <joseph@codesourcery.com>
28045
a222d91a
JM
28046 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28047 (__free_hook): Use void * instead of __malloc_ptr_t.
28048 (__malloc_hook): Likewise.
28049 (__realloc_hook): Likewise.
28050 (__memalign_hook): Likewise.
28051 (__after_morecore_hook): Likewise.
28052 * malloc/arena.c (save_malloc_hook): Likewise.
28053 (save_free_hook): Likewise.
28054 * malloc/hooks.c (malloc_hook_ini): Likewise.
28055 (realloc_hook_ini): Likewise.
28056 (memalign_hook_ini): Likewise.
28057 * malloc/malloc.c (malloc_hook_ini): Likewise.
28058 (realloc_hook_ini): Likewise.
28059 (memalign_hook_ini): Likewise.
28060 (__free_hook): Likewise.
28061 (__malloc_hook): Likewise.
28062 (__realloc_hook): Likewise.
28063 (__memalign_hook): Likewise.
28064 (__libc_malloc): Likewise.
28065 (__libc_free): Likewise.
28066 (__libc_realloc): Likewise.
28067 (__libc_memalign): Likewise.
28068 (__libc_valloc): Likewise.
28069 (__libc_pvalloc): Likewise.
28070 (__libc_calloc): Likewise.
28071 (__posix_memalign): Likewise.
28072 * malloc/morecore.c (__sbrk): Likewise.
28073 (__default_morecore): Likewise.
28074
5cc45e10
JM
28075 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28076
dd54b864
JM
28077 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28078 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28079 __malloc_ptrdiff_t.
28080
1ba4f030
JM
28081 * malloc/malloc.h (__malloc_size_t): Remove macro.
28082 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28083 __malloc_size_t.
28084 (old_memalign_hook): Likewise.
28085 (old_realloc_hook): Likewise.
28086 (struct hdr): Likewise.
28087 (flood): Likewise.
28088 (mallochook): Likewise.
28089 (memalignhook): Likewise.
28090 (reallochook): Likewise.
28091 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28092 (tr_old_realloc_hook): Likewise.
28093 (tr_old_memalign_hook): Likewise.
28094 (tr_mallochook): Likewise.
28095 (tr_reallochook): Likewise.
28096 (tr_memalignhook): Likewise.
28097
edf66e57
AZ
280982013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28099
28100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28101 default_ldbl_pack and using as default implementation.
28102 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28103 implementation.
28104 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28105 redundant definition.
28106 (ldbl_insert_mantissa): Likewise.
28107 (ldbl_canonicalize): Likewise.
28108 (ldbl_nearbyint): Likewise.
28109 (ldbl_pack): Rename to ldbl_pack_ppc.
28110 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28111 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28112 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28113
6d9145d8
SP
281142013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28115
28116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28117 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28118 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28119 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28121 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28122 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28123 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28124
4dd4e157
AJ
281252013-03-07 Andreas Jaeger <aj@suse.de>
28126
28127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28128 bits/mman-linux.h.
28129
adbb8027
SP
281302013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28131
ce544b5b
SP
28132 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28133 Include mpa.h and declare __MPEXP.
28134 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28135 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28136 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28137 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28138 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28139 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28140 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28141
4cc149fd
SP
28142 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28143 (__slowpow): Use long double EXPL and LOGL functions to
28144 compute POW.
28145 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28146 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28147 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28148 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28149 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28150 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28151
e6ebd4a7
SP
28152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28153 intermediate variable to calculate exponent.
28154 (__sqr): Likewise.
28155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28156 Likewise.
28157 (__sqr): Likewise.
28158
82a9811d
SP
28159 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28160 [!NO__SQR]: Define __sqr.
28161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28162 and NO__SQR. Remove all code except __mul and __sqr. Include
28163 sysdeps/ieee754/dbl-64/mpa.c.
28164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28165
adbb8027
SP
28166 [BZ #12723]
28167 * posix/Makefile (tests): Add tst-pathconf.
28168 * posix/tst-pathconf.c: New test case.
28169 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28170 _PC_PIPE_BUF.
28171 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28172
39120df9
PF
281732013-03-06 Patsy Franklin <pfrankli@redhat.com>
28174
28175 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28176
67525cb8
AJ
281772013-03-06 Andreas Jaeger <aj@suse.de>
28178
664a9ce4
AJ
28179 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28180 definition via __MAP_ANONYMOUS.
28181
8e39047d
AJ
28182 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28183 it's not part of Linux headers.
28184
67525cb8
AJ
28185 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28186 (MAP_HUGE_MASK): Define.
28187
28188 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28189 Define.
28190 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28191 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28192 Define.
28193 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28194 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28195 Define.
28196 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28197 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28198 Define.
28199 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28200
28201 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28202 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28203 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28204 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28205 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28206 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28207
28208 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28209 Handle f2fs.
28210
28211 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28212 Handle f2fs and efivarfs.
28213
28214 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28215 f2fs.
28216
28217 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28218 (EFIVARFS_MAGIC): Add.
28219 (F2FS_LINK_MAX): Add.
28220
e1b42695
PP
282212013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28222
28223 * stdio-common/vfprintf.c: Replace __builtin_expect with
28224 __glibc_unlikely.
28225
2d67d91a
JM
282262013-03-06 Joseph Myers <joseph@codesourcery.com>
28227
28228 [BZ #13550]
28229 * sysdeps/generic/bp-sym.h: Remove file.
28230 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28231 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28232 <bp-sym.h> and <bp-asm.h>.
28233 (__longjmp): Don't use BP_SYM.
28234 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28235 and <bp-asm.h>.
28236 (memcpy): Don't use BP_SYM.
28237 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28238 <bp-sym.h> and <bp-asm.h>.
28239 (memcpy): Don't use BP_SYM.
28240 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28241 <bp-asm.h>.
28242 (memcpy): Don't use BP_SYM.
28243 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28244 <bp-asm.h>.
28245 (memset): Don't use BP_SYM.
28246 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28247 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28248 (__bzero): Don't use BP_SYM.
28249 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28250 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28251 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28252 <bp-sym.h> and <bp-asm.h>.
28253 (memcmp): Don't use BP_SYM. Remove comment about bounded
28254 pointers.
28255 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28256 <bp-sym.h> and <bp-asm.h>.
28257 (memcpy): Don't use BP_SYM.
28258 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28259 <bp-sym.h> and <bp-asm.h>.
28260 (memset): Don't use BP_SYM.
28261 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28262 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28263 (__bzero): Don't use BP_SYM.
28264 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28265 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28266 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28267 <bp-sym.h> and <bp-asm.h>.
28268 (strncmp): Don't use BP_SYM. Remove comment about bounded
28269 pointers.
28270 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28271 <bp-sym.h> and <bp-asm.h>.
28272 (memcpy): Don't use BP_SYM.
28273 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28274 <bp-sym.h> and <bp-asm.h>.
28275 (memset): Don't use BP_SYM.
28276 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28277 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28278 (__bzero): Don't use BP_SYM.
28279 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28280 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28281 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28282 <bp-sym.h> and <bp-asm.h>.
28283 (__memchr): Don't use BP_SYM.
28284 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28285 <bp-sym.h> and <bp-asm.h>.
28286 (memcmp): Don't use BP_SYM. Remove comment about bounded
28287 pointers.
28288 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28289 <bp-sym.h> and <bp-asm.h>.
28290 (memcpy): Don't use BP_SYM.
28291 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28292 <bp-sym.h> and <bp-asm.h>.
28293 (__mempcpy): Don't use BP_SYM.
28294 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28295 <bp-sym.h> and <bp-asm.h>.
28296 (__memrchr): Don't use BP_SYM.
28297 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28298 <bp-sym.h> and <bp-asm.h>.
28299 (memset): Don't use BP_SYM.
28300 (__bzero): Likewise.
28301 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28302 <bp-sym.h> and <bp-asm.h>.
28303 (__rawmemchr): Don't use BP_SYM.
28304 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28305 <bp-sym.h> and <bp-asm.h>.
28306 (__STRCMP): Don't use BP_SYM.
28307 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28308 <bp-sym.h> and <bp-asm.h>.
28309 (strchr): Don't use BP_SYM.
28310 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28311 <bp-sym.h> and <bp-asm.h>.
28312 (__strchrnul): Don't use BP_SYM.
28313 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28314 <bp-sym.h> and <bp-asm.h>.
28315 (strlen): Don't use BP_SYM.
28316 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28317 <bp-sym.h> and <bp-asm.h>.
28318 (strncmp): Don't use BP_SYM. Remove comment about bounded
28319 pointers.
28320 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28321 <bp-sym.h> and <bp-asm.h>.
28322 (__strnlen): Don't use BP_SYM.
28323 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28324 <bp-sym.h> and <bp-asm.h>.
28325 (__GI__setjmp): Don't use BP_SYM.
28326 (_setjmp): Likewise.
28327 (__sigsetjmp): Likewise.
28328 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28329 (L(start_addresses)): Don't use BP_SYM.
28330 (_start): Likewise.
28331 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28332 <bp-asm.h>.
28333 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28334 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28335 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28336 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28337 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28338 <bp-asm.h>.
28339 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28340 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28341 about bounded pointers.
28342 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28343 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28344 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28345 <bp-asm.h>.
28346 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28347 about bounded pointers. Remove GKM FIXME comments.
28348 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28349 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28350 <bp-asm.h>.
28351 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28352 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28353 Remove GKM FIXME comments.
28354 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28355 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28356 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28357 <bp-asm.h>.
28358 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28359 about bounded pointers. Remove GKM FIXME comment.
28360 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28361 and <bp-asm.h>.
28362 (strncmp): Don't use BP_SYM. Remove comment about bounded
28363 pointers.
28364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28365 <bp-sym.h> and <bp-asm.h>.
28366 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28368 <bp-sym.h> and <bp-asm.h>.
28369 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28370 comment.
28371
cdcf361f
PP
283722013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28373
28374 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28375 call free(NULL).
28376
3c4a2b15
DM
283772013-03-05 David S. Miller <davem@davemloft.net>
28378
28379 * po/es.po: Update from translation team.
28380
cdcf361f 283812013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
28382
28383 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28384 <bits/mman-linux.h>.
28385 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28386 is fine.
28387 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28388 <bits/mman-linux.h> to end of file.
28389 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28390 is fine.
28391 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28392 <bits/mman-linux.h> to end of file.
28393 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28394 is fine.
28395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28396 <bits/mman-linux.h> to end of file.
28397
28398 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28399 (MCL_CURRENT, MCL_FUTURE): Define here.
28400
5f67c04f
AK
284012013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28402
8a4473cc 28403 [BZ #15232]
5f67c04f
AK
28404 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28405 attribute_hidden.
28406 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28407
c3e94a95
AK
284082013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28409
28410 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28411 fourth parameter needed for rt_sigprocmask syscall.
28412 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28413 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28414 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28415 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28416 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28417 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28418
cfb6382a
JM
284192013-03-04 Joseph Myers <joseph@codesourcery.com>
28420
28421 [BZ #13550]
28422 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28423 comment about bounded pointers.
28424 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28425 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28426
539d8e01
AJ
284272013-03-04 Andreas Jaeger <aj@suse.de>
28428
28429 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28430 common definitions.
28431
28432 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28433 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28434 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28435 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28436 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
28437 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28438
2e167a70 284392013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
28440
28441 [BZ #15055]
28442 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28443 __ieee754_sqrl instead of __sqrl.
28444
68508633
JM
284452013-03-01 Joseph Myers <joseph@codesourcery.com>
28446
28447 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28448 * sysdeps/powerpc/fpu_control.h: ... here.
28449 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28450 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28451 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28452 * sysdeps/powerpc/bits/mathinline.h: ... here.
28453
7775448e
RM
284542013-03-01 Roland McGrath <roland@hack.frob.com>
28455
28456 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28457 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28458 to just [NEED_DL_SYSINFO_DSO].
28459 * elf/dl-support.c: Likewise.
28460 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28461 * elf/rtld.c (dl_main): Likewise.
28462 * elf/setup-vdso.h (setup_vdso): Likewise.
28463 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28464 * sysdeps/unix/sysv/linux/dl-sysdep.c
28465 (_dl_discover_osversion): Likewise.
28466
4e9b5995
CD
284672013-03-01 Carlos O'Donell <carlos@redhat.com>
28468
28469 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28470 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28471
e23872c8
SP
284722013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28473
e5c74c63
SP
28474 * NEWS: Mention libm performance improvements and non-x86 PI
28475 futex support.
28476
e23872c8
SP
28477 * csu/libc-start.c (__pthread_initialize_minimal): Change
28478 function arguments.
28479 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28480
b5510883
JM
284812013-02-28 Joseph Myers <joseph@codesourcery.com>
28482
28483 [BZ #13550]
28484 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28485 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28486 <bp-sym.h> and <bp-asm.h>.
28487 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28488 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28489 and <bp-asm.h>.
28490 (memcpy): Don't use BP_SYM.
28491 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28492 <bp-asm.h>.
28493 (__mpn_add_n): Don't use BP_SYM.
28494 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28495 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28496 and <bp-asm.h>.
28497 (__mpn_addmul_1): Don't use BP_SYM.
28498 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28499 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28500 <bp-sym.h>.
28501 (_setjmp): Don't use BP_SYM.
28502 (__novmx_setjmp): Likewise.
28503 (__GI__setjmp): Likewise.
28504 (__vmx_setjmp): Likewise.
28505 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28506 <bp-sym.h>.
28507 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28508 (__bzero): Don't use BP_SYM.
28509 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28510 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28511 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28512 <bp-sym.h> and <bp-asm.h>.
28513 (memcpy): Don't use BP_SYM.
28514 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28515 <bp-sym.h> and <bp-asm.h>.
28516 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28517 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28518 <bp-sym.h> and <bp-asm.h>.
28519 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28520 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28521 <bp-asm.h>.
28522 (__mpn_lshift): Don't use BP_SYM.
28523 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28524 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28525 <bp-asm.h>.
28526 (memset): Don't use BP_SYM.
28527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28529 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28530 <bp-asm.h>.
28531 (__mpn_mul_1): Don't use BP_SYM.
28532 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28533 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28534 <bp-sym.h> and <bp-asm.h>.
28535 (memcmp): Don't use BP_SYM.
28536 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28537 <bp-sym.h> and <bp-asm.h>.
28538 (memcpy): Don't use BP_SYM.
28539 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28540 <bp-sym.h> and <bp-asm.h>.
28541 (memset): Don't use BP_SYM.
28542 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28543 <bp-sym.h> and <bp-asm.h>.
28544 (strncmp): Don't use BP_SYM.
28545 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28546 <bp-sym.h> and <bp-asm.h>.
28547 (memcpy): Don't use BP_SYM.
28548 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28549 <bp-sym.h> and <bp-asm.h>.
28550 (memset): Don't use BP_SYM.
28551 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28552 <bp-sym.h> and <bp-asm.h>.
28553 (__memchr): Don't use BP_SYM.
28554 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28555 <bp-sym.h> and <bp-asm.h>.
28556 (memcmp): Don't use BP_SYM.
28557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28558 <bp-sym.h> and <bp-asm.h>.
28559 (memcpy): Don't use BP_SYM.
28560 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28561 <bp-sym.h> and <bp-asm.h>.
28562 (__mempcpy): Don't use BP_SYM.
28563 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28564 <bp-sym.h> and <bp-asm.h>.
28565 (__memrchr): Don't use BP_SYM.
28566 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28567 <bp-sym.h> and <bp-asm.h>.
28568 (memset): Don't use BP_SYM.
28569 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28570 <bp-sym.h> and <bp-asm.h>.
28571 (__rawmemchr): Don't use BP_SYM.
28572 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28573 <bp-sym.h> and <bp-asm.h>.
28574 (__STRCMP): Don't use BP_SYM.
28575 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28576 <bp-sym.h> and <bp-asm.h>.
28577 (strchr): Don't use BP_SYM.
28578 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28579 <bp-sym.h> and <bp-asm.h>.
28580 (__strchrnul): Don't use BP_SYM.
28581 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28582 <bp-sym.h> and <bp-asm.h>.
28583 (strlen): Don't use BP_SYM.
28584 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28585 <bp-sym.h> and <bp-asm.h>.
28586 (strncmp): Don't use BP_SYM.
28587 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28588 <bp-sym.h> and <bp-asm.h>.
28589 (__strnlen): Don't use BP_SYM.
28590 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28591 <bp-asm.h>.
28592 (__mpn_rshift): Don't use BP_SYM.
28593 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28594 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28595 <bp-sym.h> and <bp-asm.h>.
28596 (__sigsetjmp): Don't use BP_SYM.
28597 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28598 (L(start_addresses)): Don't use BP_SYM.
28599 (_start): Likewise.
28600 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28601 <bp-asm.h>.
28602 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28603 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28604 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28605 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28606 <bp-asm.h>.
28607 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28608 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28609 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28610 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28611 <bp-asm.h>.
28612 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28613 comments.
28614 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28615 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28616 <bp-asm.h>.
28617 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28618 FIXME comments.
28619 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28620 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28621 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28622 <bp-asm.h>.
28623 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28624 comment.
28625 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28626 and <bp-asm.h>.
28627 (strncmp): Don't use BP_SYM,
28628 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28629 <bp-asm.h>.
28630 (__mpn_sub_n): Don't use BP_SYM.
28631 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28632 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28633 and <bp-asm.h>.
28634 (__mpn_submul_1): Don't use BP_SYM.
28635 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28637 <bp-sym.h> and <bp-asm.h>.
28638 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28640 <bp-sym.h> and <bp-asm.h>.
28641 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28642 comment.
28643
8d19fe64
SP
286442013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28645
28646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28647 Use ZK to minimize writes to Z.
28648 (sub_magnitudes): Simplify code a bit.
28649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28650 Use ZK to minimize writes to Z.
28651 (sub_magnitudes): Simplify code a bit.
28652
85bd816a
RM
286532013-02-27 Roland McGrath <roland@hack.frob.com>
28654
28655 * csu/gmon-start.c: Add special exception to license text.
28656
b5977bf2
RH
286572013-02-27 Richard Henderson <rth@redhat.com>
28658
28659 * scripts/config.guess: Update from config.git.
28660 * scripts/config.sub: Likewise.
28661
11d6e2f2
SP
286622013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28663
09c14ed2
SP
28664 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28665
a688864e
SP
28666 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28667
6295157a
SP
28668 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28669
b8de2202
SP
28670 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28671
11d6e2f2
SP
28672 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28673
7e80ddb8
RM
286742013-02-26 Roland McGrath <roland@hack.frob.com>
28675
28676 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28677 [$(build-shared = yes].
7e80ddb8 28678
7da6d9ed
SP
286792013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28680
45f05884
SP
28681 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28682 (__mul): Reduce iterations for calculating mantissa.
28683
2236d359
SP
28684 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28685 MPTWO.
28686 (__mpranred): Likewise.
28687
7da6d9ed
SP
28688 [BZ #15160]
28689 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28690 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28691
b7688c42
PE
286922013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28693
28694 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28695 Define __attribute__.
28696
53a5c423
SP
286972013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28698
28699 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28700 unused.
28701 * posix/regex_internal.h (__attribute): Remove.
28702 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28703 (re_string_context_at): Likewise.
28704 (bitset_not): Use __attribute__ and mark function as possibly
28705 unused.
28706 (bitset_merge): Likewise.
28707 (bitset_mask): Likewise.
28708 (re_string_char_size_at): Likewise.
28709 (re_string_wchar_at): Likewise.
28710 (re_string_elem_size_at): Likewise.
28711
60f5a8b5
SP
287122013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28713
2a983a2e
SP
28714 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28715 code.
28716 (cc32): Likewise.
28717
e69804d1
SP
28718 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28719 (__acr): Likewise.
28720 (__cpy): Likewise.
28721 (norm): Likewise.
28722 (denorm): Likewise.
28723 (__dbl_mp): Likewise.
28724 (add_magnitudes): Likewise.
28725 (sub_magnitudes): Likewise.
28726 (__mul): Likewise.
28727 (__inv): Likewise.
28728
2f22a1e8
SP
28729 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28730 style.
28731
8930ddc7
SP
28732 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28733 style.
28734
dc60cb11
SP
28735 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28736 code.
28737
60f5a8b5
SP
28738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28739 up changes with default code.
28740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28741 Likewise.
28742
b4d1fd33
AM
287432013-02-24 Allan McRae <allan@archlinux.org>
28744
faf6f8bc
AM
28745 * manual/socket.texi (The Internet Namespace): Order menu items
28746 to match that in the file.
28747
b4d1fd33
AM
28748 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28749 node listing of the info page menu.
28750
2366713d
JM
287512013-02-21 Joseph Myers <joseph@codesourcery.com>
28752
28753 [BZ #13550]
28754 * sysdeps/i386/bp-asm.h: Remove file.
28755 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28756 (PARMS): Do not use macros from bp-asm.h.
28757 (S1): Likewise.
28758 (S2): Likewise.
28759 (SIZE): Likewise.
28760 (__mpn_add_n): Do not use BP_SYM
28761 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28762 "bp-asm.h".
28763 (PARMS): Do not use macros from bp-asm.h.
28764 (S1): Likewise.
28765 (SIZE): Likewise.
28766 (__mpn_addmul_1): Do not use BP_SYM
28767 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28768 "bp-asm.h".
28769 (PARMS): Do not use macros from bp-asm.h.
28770 (SIGMSK): Likewise.
28771 (_setjmp): Likewise. Do not use BP_SYM.
28772 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28773 "bp-asm.h".
28774 (PARMS): Do not use macros from bp-asm.h.
28775 (SIGMSK): Likewise.
28776 (setjmp): Likewise. Do not use BP_SYM.
28777 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28778 "bp-asm.h".
28779 (PARMS): Do not use macros from bp-asm.h.
28780 (__frexp): Do not use BP_SYM.
28781 (frexp): Likewise.
28782 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28783 "bp-asm.h".
28784 (PARMS): Do not use macros from bp-asm.h.
28785 (__frexpf): Do not use BP_SYM.
28786 (frexpf): Likewise.
28787 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28788 "bp-asm.h".
28789 (PARMS): Do not use macros from bp-asm.h.
28790 (__frexpl): Do not use BP_SYM.
28791 (frexpl): Likewise.
28792 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28793 "bp-asm.h".
28794 (PARMS): Do not use macros from bp-asm.h.
28795 (__remquo): Do not use BP_SYM.
28796 (remquo): Likewise.
28797 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28798 "bp-asm.h".
28799 (PARMS): Do not use macros from bp-asm.h.
28800 (__remquof): Do not use BP_SYM.
28801 (remquof): Likewise.
28802 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28803 "bp-asm.h".
28804 (PARMS): Do not use macros from bp-asm.h.
28805 (__remquol): Do not use BP_SYM.
28806 (remquol): Likewise.
28807 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28808 "bp-asm.h".
28809 (PARMS): Do not use macros from bp-asm.h.
28810 (DEST): Likewise.
28811 (SRC): Likewise.
28812 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28813 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28814 "bp-asm.h".
28815 (PARMS): Do not use macros from bp-asm.h.
28816 (strlen): Do not use BP_SYM.
28817 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28818 "bp-asm.h".
28819 (PARMS): Do not use macros from bp-asm.h.
28820 (S1): Likewise.
28821 (S2): Likewise.
28822 (SIZE): Likewise.
28823 (__mpn_add_n): Do not use BP_SYM.
28824 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28825 "bp-asm.h".
28826 (PARMS): Do not use macros from bp-asm.h.
28827 (S1): Likewise.
28828 (SIZE): Likewise.
28829 (__mpn_addmul_1): Do not use BP_SYM.
28830 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28831 weak_alias.
28832 (bzero): Likewise.
28833 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28834 "bp-asm.h".
28835 (PARMS): Do not use macros from bp-asm.h.
28836 (S): Likewise.
28837 (SIZE): Likewise.
28838 (__mpn_lshift): Do not use BP_SYM.
28839 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28840 "bp-asm.h".
28841 (PARMS): Do not use macros from bp-asm.h.
28842 (DEST): Likewise.
28843 (SRC): Likewise.
28844 (LEN): Likewise.
28845 (memcpy): Likewise. Do not use BP_SYM.
28846 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28847 libc_hidden_def and weak_alias.
28848 (mempcpy): Do not use BP_SYM in weak_alias.
28849 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28850 "bp-asm.h".
28851 (PARMS): Do not use macros from bp-asm.h.
28852 (DEST): Likewise.
28853 (LEN): Likewise.
28854 [!BZERO_P] (CHR): Likewise.
28855 (memset): Likewise. Do not use BP_SYM.
28856 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28857 "bp-asm.h".
28858 (PARMS): Do not use macros from bp-asm.h.
28859 (S1): Likewise.
28860 (SIZE): Likewise.
28861 (__mpn_mul_1): Do not use BP_SYM.
28862 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28863 "bp-asm.h".
28864 (PARMS): Do not use macros from bp-asm.h.
28865 (S): Likewise.
28866 (SIZE): Likewise.
28867 (__mpn_rshift): Do not use BP_SYM.
28868 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28869 "bp-asm.h".
28870 (PARMS): Do not use macros from bp-asm.h.
28871 (STR): Likewise.
28872 (CHR): Likewise.
28873 (strchr): Likewise. Do not use BP_SYM.
28874 (index): Do not use BP_SYM in weak_alias.
28875 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28876 "bp-asm.h".
28877 (PARMS): Do not use macros from bp-asm.h.
28878 (DEST): Likewise.
28879 (SRC): Likewise.
28880 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28881 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28882 "bp-asm.h".
28883 (PARMS): Do not use macros from bp-asm.h.
28884 (strlen): Do not use BP_SYM.
28885 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28886 "bp-asm.h".
28887 (PARMS): Do not use macros from bp-asm.h.
28888 (S1): Likewise.
28889 (S2): Likewise.
28890 (SIZE): Likewise.
28891 (__mpn_sub_n): Do not use BP_SYM.
28892 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28893 "bp-asm.h".
28894 (PARMS): Do not use macros from bp-asm.h.
28895 (S1): Likewise.
28896 (SIZE): Likewise.
28897 (__mpn_submul_1): Do not use BP_SYM.
28898 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28899 "bp-asm.h".
28900 (PARMS): Do not use macros from bp-asm.h.
28901 (S1): Likewise.
28902 (S2): Likewise.
28903 (SIZE): Likewise.
28904 (__mpn_add_n): Do not use BP_SYM.
28905 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28906 weak_alias.
28907 (bzero): Likewise.
28908 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28909 "bp-asm.h".
28910 (PARMS): Do not use macros from bp-asm.h.
28911 (BLK2): Likewise.
28912 (LEN): Likewise.
28913 (memcmp): Do not use BP_SYM.
28914 (bcmp): Do not use BP_SYM in weak_alias.
28915 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28916 "bp-asm.h".
28917 (PARMS): Do not use macros from bp-asm.h.
28918 (DEST): Likewise.
28919 (SRC): Likewise.
28920 (LEN): Likewise.
28921 (memcpy): Likewise. Do not use BP_SYM.
28922 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28923 "bp-asm.h".
28924 (PARMS): Do not use macros from bp-asm.h.
28925 (DEST): Likewise.
28926 (SRC): Likewise.
28927 (LEN): Likewise.
28928 (memmove): Likewise. Do not use BP_SYM.
28929 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28930 "bp-asm.h".
28931 (PARMS): Do not use macros from bp-asm.h.
28932 (DEST): Likewise.
28933 (SRC): Likewise.
28934 (LEN): Likewise.
28935 (__mempcpy): Likewise. Do not use BP_SYM.
28936 (mempcpy): Do not use BP_SYM in weak_alias.
28937 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28938 "bp-asm.h".
28939 (PARMS): Do not use macros from bp-asm.h.
28940 (DEST): Likewise.
28941 (LEN): Likewise.
28942 [!BZERO_P] (CHR): Likewise.
28943 (memset): Likewise. Do not use BP_SYM.
28944 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28945 "bp-asm.h".
28946 (PARMS): Do not use macros from bp-asm.h.
28947 (STR2): Likewise.
28948 (strcmp): Do not use BP_SYM.
28949 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28950 "bp-asm.h".
28951 (PARMS): Do not use macros from bp-asm.h.
28952 (STR): Likewise.
28953 (DELIM): Likewise.
28954 [USE_AS_STRTOK_R] (SAVE): Likewise.
28955 (FUNCTION): Likewise. Do not use BP_SYM.
28956 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28957 aliases.
28958 (strtok_r): Likewise.
28959 (__GI___strtok_r): Likewise.
28960 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28961 (PARMS): Do not use macros from bp-asm.h.
28962 (S): Likewise.
28963 (SIZE): Likewise.
28964 (__mpn_lshift): Do not use BP_SYM.
28965 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28966 (PARMS): Do not use macros from bp-asm.h.
28967 (STR): Likewise.
28968 (CHR): Likewise.
28969 (__memchr): Do not use BP_SYM.
28970 (memchr): Do not use BP_SYM in weak_alias.
28971 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28972 (PARMS): Do not use macros from bp-asm.h.
28973 (BLK2): Likewise.
28974 (LEN): Likewise.
28975 (memcmp): Do not use BP_SYM.
28976 (bcmp): Do not use BP_SYM in weak_alias.
28977 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28978 (PARMS): Do not use macros from bp-asm.h.
28979 (S1): Likewise.
28980 (SIZE): Likewise.
28981 (__mpn_mul_1): Do not use BP_SYM.
28982 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28983 "bp-asm.h".
28984 (PARMS): Do not use macros from bp-asm.h.
28985 (STR): Likewise.
28986 (CHR): Likewise.
28987 (__rawmemchr): Do not use BP_SYM.
28988 (rawmemchr): Do not use BP_SYM in weak_alias.
28989 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28990 (PARMS): Do not use macros from bp-asm.h.
28991 (S): Likewise.
28992 (SIZE): Likewise.
28993 (__mpn_rshift): Do not use BP_SYM.
28994 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28995 (PARMS): Do not use macros from bp-asm.h.
28996 (SIGMSK): Likewise.
28997 (__sigsetjmp): Likewise. Do not use BP_SYM.
28998 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28999 (_start): Do not use BP_SYM.
29000 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29001 (PARMS): Do not use macros from bp-asm.h.
29002 (DEST): Likewise.
29003 (SRC): Likewise.
29004 (__stpcpy): Likewise. Do not use BP_SYM.
29005 (stpcpy): Do not use BP_SYM in weak_alias.
29006 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29007 "bp-asm.h".
29008 (PARMS): Do not use macros from bp-asm.h.
29009 (DEST): Likewise.
29010 (SRC): Likewise.
29011 (LEN): Likewise.
29012 (__stpncpy): Likewise. Do not use BP_SYM.
29013 (stpncpy): Do not use BP_SYM in weak_alias.
29014 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29015 (PARMS): Do not use macros from bp-asm.h.
29016 (STR): Likewise.
29017 (CHR): Likewise.
29018 (strchr): Likewise. Do not use BP_SYM.
29019 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29020 "bp-asm.h".
29021 (PARMS): Do not use macros from bp-asm.h.
29022 (STR): Likewise.
29023 (CHR): Likewise.
29024 (__strchrnul): Likewise. Do not use BP_SYM.
29025 (strchrnul): Do not use BP_SYM in weak_alias.
29026 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29027 "bp-asm.h".
29028 (PARMS): Do not use macros from bp-asm.h.
29029 (STOP): Likewise.
29030 (strcspn): Do not use BP_SYM.
29031 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29032 "bp-asm.h".
29033 (PARMS): Do not use macros from bp-asm.h.
29034 (STR): Likewise.
29035 (STOP): Likewise.
29036 (strpbrk): Likewise. Do not use BP_SYM.
29037 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29038 "bp-asm.h".
29039 (PARMS): Do not use macros from bp-asm.h.
29040 (STR): Likewise.
29041 (CHR): Likewise.
29042 (strrchr): Likewise. Do not use BP_SYM.
29043 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29044 (PARMS): Do not use macros from bp-asm.h.
29045 (SKIP): Likewise.
29046 (strspn): Do not use BP_SYM.
29047 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29048 (PARMS): Do not use macros from bp-asm.h.
29049 (STR): Likewise.
29050 (DELIM): Likewise.
29051 (SAVE): Likewise.
29052 (FUNCTION): Likewise. Do not use BP_SYM.
29053 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29054 aliases.
29055 (strtok_r): Likewise.
29056 (__GI___strtok_r): Likewise.
29057 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29058 (PARMS): Do not use macros from bp-asm.h.
29059 (S1): Likewise.
29060 (S2): Likewise.
29061 (SIZE): Likewise.
29062 (__mpn_sub_n): Do not use BP_SYM.
29063 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29064 "bp-asm.h".
29065 (PARMS): Do not use macros from bp-asm.h.
29066 (S1): Likewise.
29067 (SIZE): Likewise.
29068 (__mpn_submul_1): Do not use BP_SYM.
29069 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29070 <bp-sym.h>.
29071 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29072 and <bp-asm.h>.
29073 (PARMS): Do not use macros from bp-asm.h.
29074 (FLAGS): Likewise.
29075 (PTID): Likewise.
29076 (TLS): Likewise.
29077 (CTID): Likewise.
29078 (__clone): Do not use BP_SYM.
29079 (clone): Do not use BP_SYM in weak_alias.
29080 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29081 and <bp-asm.h>.
29082 (PARMS): Do not use macros from bp-asm.h.
29083 (LEN): Likewise.
29084 (__mmap64): Do not use BP_SYM.
29085 (mmap64): Do not use BP_SYM in weak_alias.
29086 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29087 <bp-sym.h> and <bp-asm.h>.
29088 (PARMS): Do not use macros from bp-asm.h.
29089 (__posix_fadvise64_l64): Do not use BP_SYM.
29090 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29091 (PARMS): Do not use macros from bp-asm.h.
29092 (NSOPS): Likewise.
29093 (semtimedop): Do not use BP_SYM.
29094 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29095 and <bp-asm.h>.
29096
582a3cff
AM
290972013-02-21 Allan McRae <allan@archlinux.org>
29098
29099 * manual/message.texi (Charset conversion in gettext):
29100 Move @end statement to beginning of line.
29101
bab8a695
SP
291022013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29103
80945231
SP
29104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29105 static.
29106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29107 Likewise.
29108
bab8a695
SP
29109 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29110 (denorm): Likewise.
29111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29113
e21d7aa7
AK
291142013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29115
29116 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29117 tail-call to the resolved function if pltexit isn't needed.
29118
4c7a4263
SP
291192013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29120
29121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29122 or Y being zero as being unlikely.
29123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29124 Likewise.
29125
41f49342
CD
291262013-02-20 Carlos O'Donell <carlos@redhat.com>
29127
29128 * manual/nss.texi (System Databases and Name Service Switch):
29129 Remove frobnicate @pxref.
29130
50022a93
TS
291312013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29132
29133 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29134 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29135
08cbd996
PM
291362013-02-20 Petr Machata <pmachata@redhat.com>
29137
29138 * elf/elf.h (R_ARM_TARGET1): New macro.
29139 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29140 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29141 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29142 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29143 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29144 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29145 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29146 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29147 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29148 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29149 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29150 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29151 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29152 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29153 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29154 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29155 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29156 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29157 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29158 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29159 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29160 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29161 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29162 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29163 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29164 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29165 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29166 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29167 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29168 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29169 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29170 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29171 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29172 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29173 (R_ARM_THM_GOT_BREL12): Likewise.
29174 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29175 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29176 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29177 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29178 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29179 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29180 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29181 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29182 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29183
c7b275d6
TS
291842013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29185
29186 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29187 __attribute_used__ to __attribute__ ((unused)).
29188
20cd7fb3
SP
291892013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29190
29191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29192 powerpc mpa.c.
29193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29194 comment formatting.
29195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29196
92945b52
JM
291972013-02-19 Joseph Myers <joseph@codesourcery.com>
29198
29199 [BZ #13550]
29200 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29201 Remove macro.
29202 (ENTER): Remove both macro definitions.
29203 (LEAVE): Likewise.
29204 (CHECK_BOUNDS_LOW): Likewise.
29205 (CHECK_BOUNDS_HIGH): Likewise.
29206 (CHECK_BOUNDS_BOTH): Likewise.
29207 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29208 (RETURN_BOUNDED_POINTER): Likewise.
29209 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29210 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29211 (POP_ERRNO_LOCATION_RETURN): Likewise.
29212 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29213 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29214 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29215 macros.
29216 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29217 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29218 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29219 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29220 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29221 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29222 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29223 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29224 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29225 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29226 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29227 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29228 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29229 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29230 removed macros.
29231 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29232 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29233 macros.
29234 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29235 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29236 * sysdeps/i386/i586/memset.S (memset): Likewise.
29237 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29238 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29239 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29240 macros.
29241 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29242 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29243 Change uses of L(2) to L(out).
29244 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29245 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29246 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29247 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29248 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29249 removed macros.
29250 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29251 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29252 macros.
29253 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29254 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29255 (RETURN): Do not use macro LEAVE.
29256 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29257 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29258 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29259 * sysdeps/i386/i686/memset.S (memset): Likewise.
29260 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29261 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29262 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29263 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29264 Likewise.
29265 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29266 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29267 L(1_2) and L(1_3) into L(1).
29268 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29269 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29270 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29271 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29272 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29273 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29274 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29275 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29276 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29277 macros.
29278 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29279 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29280 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29281 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29282 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29283 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29284 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29285 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29286 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29287 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29288 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29289 * sysdeps/i386/strspn.S (strspn): Likewise.
29290 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29291 conditional code.
29292 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29293 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29294 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29295 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29296 L(1_3) into L(1_1).
29297 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29298 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29299 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29300 macros.
29301 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29302
2389741a
JJ
293032013-02-19 Jakub Jelinek <jakub@redhat.com>
29304
29305 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29306 macro.
29307
2016b3cd
SP
293082013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29309
e4f22324
SP
29310 * math/atest-exp.c (exp_mpn): Remove ROUND.
29311 * math/atest-exp2.c (exp_mpn): Likewise.
29312 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29313
2016b3cd
SP
29314 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29315 * stdlib/tst-tls-atexit-lib.c: Likewise.
29316 * stdlib/tst-tls-atexit.c: Likewise.
29317
4be9b544
MF
293182013-02-18 Mike Frysinger <vapier@gentoo.org>
29319
29320 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29321 and __attribute_alloc_size__.
29322
2f62b9ee
MF
293232013-02-18 Mike Frysinger <vapier@gentoo.org>
29324
29325 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29326 __attribute_alloc_size__.
29327 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29328 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29329
6ff444c4
MF
293302013-02-18 Mike Frysinger <vapier@gentoo.org>
29331
29332 * include/programs/xmalloc.h: New file.
29333 * catgets/gencat.c: Include it.
29334 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29335 * elf/pldd.c: Likewise.
29336 * iconv/iconv_charmap.c: Likewise.
29337 * iconv/iconvconfig.c: Likewise.
29338 * iconv/strtab.c: Likewise.
29339 * locale/programs/locale.c: Likewise.
29340 * locale/programs/localedef.h: Likewise.
29341 * locale/programs/simple-hash.c: Likewise.
29342 * nscd/nscd.h: Likewise.
29343 * nss/makedb.c: Likewise.
29344 * sysdeps/generic/ldconfig.h: Likewise.
29345
be179c8a
SP
293462013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29347
ba384f6e
SP
29348 * Versions.def: Add GLIBC_2.18.
29349 * include/link.h (struct link_map): New member l_tls_dtor_count.
29350 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29351 (__call_tls_dtors): Likewise.
29352 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29353 __cxa_thread_atexit_impl.
29354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29355 Likewise.
29356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29357 Likewise.
29358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29359 Likewise.
29360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29361 Likewise.
29362 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29364 Likewise.
29365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29366 Likewise.
29367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29369 Likewise.
29370 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29371 (tests): Add test case tst-tls-atexit.
29372 (modules-names): Add shared library for tst-tls-atexit.
85891aca 29373 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
29374 (GLIBC_PRIVATE): Add __call_tls_dtors.
29375 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29376 for libstdc++.
29377 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29378 * stdlib/tst-tls-atexit.c: New test case.
29379 * stdlib/tst-tls-atexit-lib.c: New test case.
29380
ffaa74cf 29381 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 29382
be179c8a
SP
29383 * elf/Versions (ld): Add _dl_find_dso_for_object.
29384 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29385 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29386 (dl_open_worker): Use _dl_find_dso_for_object.
29387 * elf/dl-sym.c (do_sym): Likewise.
29388 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29389
f78b5caa
AK
293902013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29391
29392 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29393 Syntactic changes only.
29394 (_dl_runtime_profile): Do a tail-call to the resolved function.
29395
29691210
JM
293962013-02-17 Joseph Myers <joseph@codesourcery.com>
29397
29398 [BZ #13550]
29399 * sysdeps/x86_64/bp-asm.h: Remove file.
29400 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29401 <bp-sym.h> and <bp-asm.h>.
29402 (__clone): Do not use BP_SYM.
29403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29404 <bp-sym.h> and <bp-asm.h>.
29405 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29406 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29407 "bp-asm.h".
29408 (_setjmp): Do not use BP_SYM.
29409 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29410 "bp-asm.h".
29411 (setjmp): Do not use BP_SYM.
29412 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29413 libc_hidden_def.
29414 (mempcpy): Do not use BP_SYM in weak_alias.
29415 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29416 "bp-asm.h".
29417 (strchr): Do not use BP_SYM.
29418 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29419 "bp-asm.h".
29420 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29421 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29422 (_start): Do not use BP_SYM.
29423 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29424 "bp-asm.h".
29425 (strcat): Do not use BP_SYM.
29426 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29427 "bp-asm.h".
29428 (STRCMP): Do not use BP_SYM.
29429 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29430 "bp-asm.h".
29431 (STRCPY): Do not use BP_SYM.
29432 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29433 "bp-asm.h".
29434 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29435 "bp-asm.h".
29436 (FUNCTION): Do not use BP_SYM.
29437 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29438 weak_alias.
29439 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29440
f238fd19
AJ
294412013-02-17 Andreas Jaeger <aj@suse.de>
29442
29443 * time/Versions: Sort entries.
29444 * string/Versions: Likewise.
29445 * resolv/Versions: Likewise.
29446 * posix/Versions: Likewise.
29447 * iconv/Versions: Likewise.
29448 * elf/Versions: Likewise.
29449 * wcsmbs/Versions: Likewise.
29450
bd07f23c 294512013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 29452
22af19f9
SP
29453 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29454 loop termination condition.
29455
4709fe76
SP
29456 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29457 variable to calculate EZ.
29458 (__sqr): Likewise.
2d0e0f29
SP
29459
29460 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29461 the lower precision input.
29462
daaa7713
JM
294632013-02-15 Joseph Myers <joseph@codesourcery.com>
29464
29465 [BZ #13550]
29466 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29467 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29468 (run-via-rtld-prefix): Do not handle %-bp tests.
29469 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29470 (all-object-suffixes): Remove .ob.
29471 (bppfx): Remove variable.
29472 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29473 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29474 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29475 [$(build-bounded) = yes] (libtype.ob): Likewise.
29476 * Makerules (elide-routines.ob): Remove variable.
29477 (do-tests-clean): Do not handle *-bp.out.
29478 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29479 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29480 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29481 (tests): Do not include $(tests-bp.out).
29482 (xtests): Do not include $(xtests-bp.out).
29483 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29484 [$(build-bounded) = yes] ($(addprefix
29485 $(objpfx),$(binaries-bounded))): Remove rule.
29486 ($(objpfx)%-bp.out): Remove rule.
29487 * config.make.in (build-bounded): Remove variable.
29488 * crypt/Makefile [$(build-bounded) = yes]
29489 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29490 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29491 append to variable.
29492 [$(build-bounded) = yes] (install-lib): Likewise.
29493 [$(build-bounded) = yes] (generated): Likewise.
29494 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29495 Remove rule.
29496 * intl/Makefile [$(build-bounded) = yes]
29497 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29498 * math/Makefile [$(build-bounded) = yes]
29499 ($(tests:%=$(objpfx)%-bp): Likewise.
29500 * misc/Makefile [$(build-bounded) = yes]
29501 ($(objpfx)tst-tsearch-bp): Likewise.
29502 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29503 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29504 Remove dependency.
29505 * string/Makefile (o-objects.ob): Remove variable.
29506 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29507 (CFLAGS-.ob): Remove variable.
29508 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29509 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29510 both definitions of variable.
29511 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29512 (ASFLAGS-.ob): Remove variable.
29513
e97ed6dd
JM
295142013-02-14 Joseph Myers <joseph@codesourcery.com>
29515
2bdd4ca6
JM
29516 [BZ #13550]
29517 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29518 Remove __BOUNDED_POINTERS__ from condition.
29519 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29520 * string/bits/string2.h [!__NO_STRING_INLINES &&
29521 !__BOUNDED_POINTERS__]: Likewise.
29522 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29523 Likewise.
29524 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29525 Remove conditional code.
29526 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29527 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29528 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29529 condition.
29530
e97ed6dd
JM
29531 [BZ #13550]
29532 * csu/libc-start.c: Do not include <bp-sym.h>.
29533 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29534 * elf/dl-open.c: Do not include <bp-sym.h>.
29535 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29536 * math/fegetenv.c: Do not include <bp-sym.h>.
29537 (fegetenv): Do not use BP_SYM in versioned symbols.
29538 * nptl/sysdeps/pthread/bits/libc-lockP.h
29539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29540 <bp-sym.h>.
29541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29542 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29544 (__pthread_mutex_destroy): Likewise.
29545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29546 (__pthread_mutex_lock): Likewise.
29547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29548 (__pthread_mutex_trylock): Likewise.
29549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29550 (__pthread_mutex_unlock): Likewise.
29551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29552 (__pthread_mutexattr_init): Likewise.
29553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29554 (__pthread_mutexattr_destroy): Likewise.
29555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29556 (__pthread_mutexattr_settype): Likewise.
29557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29558 (__pthread_rwlock_init): Likewise.
29559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29560 (__pthread_rwlock_destroy): Likewise.
29561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29562 (__pthread_rwlock_rdlock): Likewise.
29563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29564 (__pthread_rwlock_tryrdlock): Likewise.
29565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29566 (__pthread_rwlock_wrlock): Likewise.
29567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29568 (__pthread_rwlock_trywrlock): Likewise.
29569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29570 (__pthread_rwlock_unlock): Likewise.
29571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29572 (__pthread_key_create): Likewise.
29573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29574 (__pthread_setspecific): Likewise.
29575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29576 (__pthread_getspecific): Likewise.
29577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29578 Likewise.
29579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29580 (_pthread_cleanup_push_defer): Likewise.
29581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29582 (_pthread_cleanup_pop_restore): Likewise.
29583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29584 (pthread_setcancelstate): Likewise.
29585 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29586 <bp-sym.h>.
29587 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29588 (memchr): Do not use BP_SYM in weak_alias.
29589 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29590 (fegetenv): Do not use BP_SYM in versioned symbols.
29591 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29592 (fesetenv): Do not use BP_SYM in versioned symbols.
29593 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29594 (feupdateenv): Do not use BP_SYM in versioned symbols.
29595 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29596 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29597 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29598 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29599 (open64): Do not use BP_SYM in weak_alias.
29600 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29601 (fegetenv): Do not use BP_SYM in versioned symbols.
29602 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29603 (fesetenv): Do not use BP_SYM in versioned symbols.
29604 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29605 (feupdateenv): Do not use BP_SYM in versioned symbols.
29606 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29607 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29608 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29609 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29610 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29611 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29612 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29613 <bp-sym.h>.
29614 (__libc_start_main): Do not use BP_SYM.
29615
d6752ccd
SP
296162013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29617
cb57ce60
SP
29618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29619 redundant return line.
29620 (norm): Likewise.
29621 (denorm): Likewise.
29622 (dbl_mp): Likewise.
29623 (sub_magnitudes): Likewise.
29624 (__add): Likewise.
29625 (__sub): Likewise.
29626 (__mul): Likewise.
29627 (__inv): Likewise.
29628 (__dvd): Likewise.
29629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29630 (norm): Likewise.
29631 (denorm): Likewise.
29632 (dbl_mp): Likewise.
29633 (sub_magnitudes): Likewise.
29634 (__add): Likewise.
29635 (__sub): Likewise.
29636 (__mul): Likewise.
29637 (__inv): Likewise.
29638 (__dvd): Likewise.
29639
f414520d
SP
29640 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29641 instead of __mul.
29642 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29643 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29644 (cc32): Likewise.
29645
d6752ccd
SP
29646 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29647 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29649 of __mul for squares.
29650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29651 function
29652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29653 Likewise.
29654 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29655 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29656
70d9946a
JM
296572013-02-13 Joseph Myers <joseph@codesourcery.com>
29658
29659 [BZ #13550]
29660 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29661 code.
29662 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29663 prototype or function definition. Rename ubp_* variables and
29664 parameters. Remove argv definitions conditional on
29665 [__BOUNDED_POINTERS__].
29666 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29667 * elf/dl-runtime.c (_dl_fixup): Likewise.
29668 * include/set-hooks.h (RUN_HOOK): Likewise.
29669 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29670 definition.
29671 * string/strcpy.c (strcpy): Do not use __unbounded.
29672 * sysdeps/generic/frame.h (struct layout): Likewise.
29673 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29674 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29675 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29676 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29677 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29678 (__backtrace): Likewise.
29679 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29680 use __ptrvalue.
29681 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29682 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29683 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29684 Likewise.
29685 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29686 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29687 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29688 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29689 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29690 Do not use __unbounded.
29691 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29692 Rename __unboundedrlimits parameter to rlimits in prototype.
29693 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29694 Do not use __unbounded.
29695 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29696 not use __ptrvalue.
29697 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29698 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29699 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29700 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29701 __ptrvalue or __unbounded.
29702 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29703 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29704 use __unbounded.
29705 (__new_msgctl): Do not use __ptrvalue.
29706 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29707 __unbounded.
29708 (__libc_msgrcv): Do not use __ptrvalue.
29709 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29710 startup_info): Do not use __unbounded.
29711 (__libc_start_main): Likewise. Rename ubp_* variables and
29712 parameters. Remove argv definitions conditional on
29713 [__BOUNDED_POINTERS__].
29714 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29715 __ptrvalue.
29716 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29717 use __unbounded.
29718 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29719 or __ptrvalue.
29720 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29721 use __unbounded.
29722 (__new_shmctl): Do not use __ptrvalue.
29723 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29724 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29725 Likewise.
29726 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29727 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29728 (__libc_sigaction): Likewise.
29729 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29730 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29731 Likewise.
29732 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29733
cc7834d6
OB
297342013-02-13 Ondřej Bílka <neleai@seznam.cz>
29735
ffb1ec7b 29736 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
29737
29738 * string/mempcpy.c: Implement by calling memcpy.
29739
bdf02814
SP
297402013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29741
c2af38aa
SP
29742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29743
4e92d59e
SP
29744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29745 evaluation.
29746
909279a5
SP
29747 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29748 values in the mantissa.
29749
bdf02814
SP
29750 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29751 minimize writes to Z.
29752 (sub_magnitudes): Simplify code a bit.
29753
cd525923
RM
297542013-02-12 Roland McGrath <roland@hack.frob.com>
29755
29756 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29757 from the message. The linker prefixes all warnings with that already.
29758
7e2f0d2d
AS
297592013-02-12 Andreas Schwab <schwab@suse.de>
29760
a445af0b
AS
29761 [BZ #15078]
29762 * posix/regexec.c (extend_buffers): Add parameter min_len.
29763 (check_matching): Pass minimum needed length.
29764 (clean_state_log_if_needed): Likewise.
29765 (get_subexp): Likewise.
29766 * posix/Makefile (tests): Add bug-regex34.
29767 (bug-regex34-ENV): Define.
29768 * posix/bug-regex34.c: New file.
29769
7e2f0d2d
AS
29770 [BZ #11561]
29771 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29772 elements compare against the byte sequence of it, not its name.
29773 * posix/Makefile (tests): Add bug-regex35.
29774 (bug-regex35-ENV): Define.
29775 * posix/bug-regex35.c: New file.
29776
a175b684
TV
297772013-02-11 Tom de Vries <tom@codesourcery.com>
29778
29779 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29780 comment.
29781 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29782 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29783 (CHECK_EOL): Add undef.
29784
310998fe 297852013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
29786
29787 * bits/stdlib-bsearch.h: New file.
29788 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 29789 * stdlib/stdlib.h: Likewise.
41eda41d 29790
8ded91fb
RM
297912013-02-11 Roland McGrath <roland@hack.frob.com>
29792
29793 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29794 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29795 declaration.
29796 * manual/search.texi (Array Search Function): Add missing const in
29797 lfind prototype.
29798 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29799 declaration to use rlim_t.
29800 (Basic Scheduling Functions): Remove erroneous const from
29801 sched_getparam prototype. Remove erroneous * from
29802 sched_get_priority_max and sched_get_priority_min prototypes.
29803 (Resource Usage): Fix summary @comment on vtimes to refer to
29804 sys/vtimes.h rather than vtimes.h.
29805 Add missing *s in vtimes prototype.
29806 (Limits on Resources): Fix ulimit prototype to return long int.
29807 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29808 prototypes to use long int rather than double.
29809 (BSD Random): Fix initstate and setstate to use char *, not void *.
29810 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29811 prototype to make second argument 'struct aiocb64 *const[]'.
29812 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29813 (Status of AIO Operations): Remove erroneous const in aio_return and
29814 aio_return64 prototypes.
29815 (Synchronizing I/O): Fix sync prototype to return void.
29816 * manual/startup.texi (Suboptions): Remove an erroneous const in
29817 getsubopt prototype.
29818 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29819 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29820 use size_t rather than int.
29821 (Scanning All Users): Likewise for getpwent_r.
29822 (Setting Groups): Add missing const to setgroups prototype.
29823 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29824 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29825 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29826 'const void *' rather than 'const char *'.
29827 (Host Address Functions): Likewise for inet_ntop.
29828 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29829 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29830 ssize_t for return value.
29831 (Sending Data): Likewise for send, sendto, sendmsg.
29832 (Socket Option Functions): Add a missing const in setsockopt prototype.
29833 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29834 use wchar_t for the argument.
29835 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29836 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29837 take no arguments.
29838 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29839 double/float/long double for second argument.
29840 Fix return types of significand, significandf, significandl.
29841 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29842 argument in fchmod prototype.
29843 (File Owner): Use uid_t and gid_t in fchown prototype.
29844 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29845 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29846 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29847 use 'const struct dirent **' as argument types to CMP function pointer
29848 argument.
29849 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29850 (File Times): Fix summary magic @comment for struct utimbuf and utime
29851 to refer to utime.h, not time.h.
29852 * manual/string.texi (Argz Functions): Add missing const in
29853 argz_extract and argz_next prototypes.
29854 (Finding Tokens in a String): Likewise for basename.
29855 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29856 (Copying and Concatenation): Fix typo in wmemmove prototype.
29857 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29858 (Signal Stack): Remove erroneous const in sigstack prototype.
29859 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29860 prototype.
29861 (Simple Calendar Time): Likewise for stime.
29862 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29863 prototype.
29864 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29865 say sys/sysctl.h instead.
29866 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29867 and vsyslog prototypes.
29868
fe77fe6d
TV
298692013-02-11 Tom de Vries <tom@codesourcery.com>
29870
29871 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29872 Remove.
29873
3a09b620
RM
298742013-02-11 Roland McGrath <roland@hack.frob.com>
29875
29876 * misc/sys/mman.h: Fix typo in mremap comment.
29877
550a0b89
RM
298782013-02-08 Roland McGrath <roland@hack.frob.com>
29879
29880 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29881 the '\0' terminator.
29882
a2da1673
JM
298832013-02-08 Joseph Myers <joseph@codesourcery.com>
29884
29885 [BZ #13550]
29886 * debug/segfault.c: Don't include <bp-checks.h>.
29887 * sysdeps/generic/bp-checks.h: Remove file.
29888 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29889 (__GETDENTS): Don't use CHECK_N.
29890 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29891 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29892 (__getgroups): Don't use CHECK_N.
29893 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29894 (setgroups): Don't use CHECK_N.
29895 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29896 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29897 (__libc_msgrcv): Don't use CHECK_N.
29898 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29899 (__libc_msgsnd): Don't use CHECK_N.
29900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29901 <bp-checks.h>.
29902 (__libc_pread): Don't use CHECK_N.
29903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29904 include <bp-checks.h>.
29905 (__libc_pread64): Don't use CHECK_N.
29906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29907 include <bp-checks.h>.
29908 (__libc_pwrite): Don't use CHECK_N.
29909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29910 include <bp-checks.h>.
29911 (__libc_pwrite64): Don't use CHECK_N.
29912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29913 <bp-checks.h>.
29914 (__libc_pread): Don't use CHECK_N.
29915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29916 include <bp-checks.h>.
29917 (__libc_pread64): Don't use CHECK_N.
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29919 include <bp-checks.h>.
29920 (__libc_pwrite): Don't use CHECK_N.
29921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29922 include <bp-checks.h>.
29923 (__libc_pwrite64): Don't use CHECK_N.
29924 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29925 (do_pread): Don't use CHECK_N.
29926 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29927 (do_pread64): Don't use CHECK_N.
29928 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29929 (do_pwrite): Don't use CHECK_N.
29930 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29931 (do_pwrite64): Don't use CHECK_N.
29932 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29933 (__libc_readv): Don't use CHECK_N.
29934 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29935 (semop): Don't use CHECK_N.
29936 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29937 <bp-checks.h>.
29938 (semtimedop): Don't use CHECK_N.
29939 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29940 (__libc_pread): Don't use CHECK_N.
29941 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29942 <bp-checks.h>.
29943 (__libc_pread64): Don't use CHECK_N.
29944 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29945 <bp-checks.h>.
29946 (__libc_pwrite): Don't use CHECK_N.
29947 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29948 <bp-checks.h>.
29949 (__libc_pwrite64): Don't use CHECK_N.
29950 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29951 <bp-checks.h>.
29952 (__libc_msgrcv): Don't use CHECK_N.
29953 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29954 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29955 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29956 (__libc_writev): Don't use CHECK_N.
29957
b84660a8
RM
299582013-02-08 Roland McGrath <roland@hack.frob.com>
29959
7f3e75f8
RM
29960 * string/strcpy.c: Removed unused variable.
29961
b84660a8
RM
29962 * Makeconfig (+sysdep-includes): Define with := rather than =.
29963 Use an existing include/ subdir of each sysdeps dir before it.
29964
471514d3
CD
299652013-02-08 Carlos O'Donell <carlos@redhat.com>
29966
29967 * nscd/connection.c (register_traced_file): Comment function.
29968 [HAVE_INOTIFY] (union __inev): Define.
29969 [HAVE_INOTIFY] (inotify_check_files): New function.
29970 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29971 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29972 clear_db_cache.
29973 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29974
b2d3c3be
CD
299752013-02-08 Carlos O'Donell <carlos@redhat.com>
29976
29977 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29978 loaded if not already and that a failure is permanent.
29979
b39949d2
CD
299802013-02-08 Carlos O'Donell <carlos@redhat.com>
29981
ddacd1db 29982 [BZ #15006]
b39949d2
CD
29983 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29984 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29985
b2c9eff4
JM
299862013-02-08 Joseph Myers <joseph@codesourcery.com>
29987
f3aae3f3
JM
29988 [BZ #13550]
29989 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29990 (CHECK_1_NULL_OK): Likewise.
29991 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29992 (__fxstat): Do not use CHECK_1.
29993 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29994 <bp-checks.h>.
29995 (___fxstat64): Do not use CHECK_1.
29996 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29997 <bp-checks.h>.
29998 (__fxstatat): Do not use CHECK_1.
29999 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30000 <bp-checks.h>.
30001 (__fxstatat64): Do not use CHECK_1.
30002 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30003 <bp-checks.h>.
30004 (__fxstat): Do not use CHECK_1.
30005 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30006 <bp-checks.h>.
30007 (__fxstatat): Do not use CHECK_1.
30008 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30009 <bp-checks.h>.
30010 (__getresgid): Do not use CHECK_1.
30011 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30012 <bp-checks.h>.
30013 (__getresuid): Do not use CHECK_1.
30014 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30015 <bp-checks.h>.
30016 (__lxstat): Do not use CHECK_1.
30017 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30018 <bp-checks.h>.
30019 (__old_msgctl): Do not use CHECK_1.
30020 (__new_msgctl): Likewise.
30021 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30022 <bp-checks.h>.
30023 (__new_setrlimit): Do not use CHECK_1.
30024 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30025 <bp-checks.h>.
30026 (__old_shmctl): Do not use CHECK_1.
30027 (__new_shmctl): Likewise.
30028 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30029 <bp-checks.h>.
30030 (__xstat): Do not use CHECK_1.
30031 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30032 (__lxstat): Do not use CHECK_1.
30033 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30034 <bp-checks.h>.
30035 (___lxstat64): Do not use CHECK_1.
30036 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30037 (__old_msgctl): Do not use CHECK_1.
30038 (__new_msgctl): Likewise.
30039 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30040 <bp-checks.h>.
30041 (__gettimeofday): Do not use CHECK_1.
30042 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30043 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30044 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30045 <bp-checks.h>.
30046 (__gettimeofday): Do not use CHECK_1.
30047 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30048 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30049 (__new_shmctl): Do not use CHECK_1.
30050 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30051 <bp-checks.h>.
30052 (do_sigtimedwait): Do not use CHECK_1.
30053 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30054 <bp-checks.h>.
30055 (do_sigwaitinfo): Do not use CHECK_1.
30056 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30057 <bp-checks.h>.
30058 (msgctl): Do not use CHECK_1.
30059 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30060 <bp-checks.h>.
30061 (shmctl): Do not use CHECK_1.
30062 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30063 (ustat): Do not use CHECK_1.
30064 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30065 <bp-checks.h>.
30066 (__fxstat): Do not use CHECK_1.
30067 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30068 <bp-checks.h>.
30069 (__fxstatat): Do not use CHECK_1.
30070 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30071 <bp-checks.h>.
30072 (__lxstat): Do not use CHECK_1.
30073 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30074 <bp-checks.h>.
30075 (__xstat): Do not use CHECK_1.
30076 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30077 (__xstat): Do not use CHECK_1.
30078 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30079 (___xstat64): Do not use CHECK_1.
30080
b2c9eff4
JM
30081 [BZ #13550]
30082 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30083 definitions.
30084 (CHECK_BOUNDS_HIGH): Likewise.
30085 * string/strcpy.c: Do not include <bp-checks.h>.
30086 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30087
f1d70dad
RM
300882013-02-07 Roland McGrath <roland@hack.frob.com>
30089
30090 * nscd/nscd-client.h (__nscd_drop_map_ref):
30091 Add __attribute__ ((unused)).
30092 * nis/nss-nisplus.h (niserr2nss): Likewise.
30093
30094 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30095 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30096
30097 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30098 Remove inline keyword.
30099 * include/rounding-mode.h (round_away): Likewise.
30100 * libio/wfileops.c (adjust_wide_data): Likewise.
30101 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30102 (__m128i_strloadu_tolower): Likewise.
30103 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30104 (__m128i_strloadu_tolower): Likewise.
30105 * time/mktime.c (ydhms_diff): Likewise.
30106 * locale/elem-hash.h (elem_hash): Likewise.
30107 * locale/setlocale.c (setdata): Likewise.
30108 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30109 (re_string_wchar_at): Likewise.
30110 (bitset_not, bitset_merge, bitset_mask): Likewise.
30111 [!(__GNUC__ > 3)] (inline): Remove macro.
30112 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30113 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30114 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30115 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30116 * string/memcmp.c (memcmp_bytes): Likewise.
30117 * locale/programs/locarchive.c (compute_hashval): Likewise.
30118 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30119 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30120 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30121 * nss/getent.c (print_rpc, print_protocols): Likewise.
30122 (print_passwd, print_group, print_aliases): Likewise.
30123 * nis/nss-nisplus.h (niserr2nss): Likewise.
30124 * nscd/connections.c (restart_p): Likewise.
30125 Change return type to bool.
30126
eab55bfb
RM
301272013-02-05 Roland McGrath <roland@hack.frob.com>
30128
7bd642f5
RM
30129 * Makeconfig (all-Depend-files): Add existing
30130 $(sorted-subdirs:=/Depend) files.
30131 (all-subdirs): Remove nss.
30132 * sysdeps/unix/inet/Subdirs: Add it here instead.
30133 * hesiod/Depend: New file.
30134
573c29b2
RM
30135 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30136 instead of calling alloca.
30137
b2e25af0
RM
30138 * io/lseek.c (__lseek): Rename to __libc_lseek.
30139 Define __lseek as an alias.
30140
eab55bfb
RM
30141 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30142
9a0d1941
CD
301432013-02-04 Carlos O'Donell <carlos@redhat.com>
30144
30145 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30146 else clause and remove check for non-standard endianness.
30147
b83bbec4
DM
301482013-02-04 David S. Miller <davem@davemloft.net>
30149
30150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30151
6277fdab
JM
301522013-02-04 Joseph Myers <joseph@codesourcery.com>
30153
30154 [BZ #13550]
30155 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30156 (__ubp_memchr): Remove prototype.
30157 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30158 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30159 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30160 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30161 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30162 Remove alias.
30163 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30164 (__ubp_memchr): Likewise.
30165 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30166 (__ubp_memchr): Likewise.
30167 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30168 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30169 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30170 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30171 CHECK_STRING.
30172 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30173 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30174 (__getcwd): Do not use CHECK_STRING.
30175 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30176 <bp-checks.h>.
30177 (__real_chown): Do not use CHECK_STRING.
30178 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30179 <bp-checks.h>.
30180 (fchownat): Do not use CHECK_STRING.
30181 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30182 CHECK_STRING.
30183 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30184 <bp-checks.h>.
30185 (__lchown): Do not use CHECK_STRING.
30186 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30187 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30188 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30189 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30191 include <bp-checks.h>.
30192 (truncate64): Do not use CHECK_STRING.
30193 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30194 <bp-checks.h>.
30195 (__real_chown): Do not use CHECK_STRING.
30196 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30197 <bp-checks.h>.
30198 (__lchown): Do not use CHECK_STRING.
30199 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30200 <bp-checks.h>.
30201 (__chown): Do not use CHECK_STRING.
30202 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30203 <bp-checks.h>.
30204 (truncate64): Do not use CHECK_STRING.
30205 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30206 Likewise.
30207 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30208 (__xmknod): Do not use CHECK_STRING.
30209 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30210 <bp-checks.h>.
30211 (__xmknodat): Do not use CHECK_STRING.
30212 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30213 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30214
903ae060
AS
302152013-02-04 Andreas Schwab <schwab@suse.de>
30216
30217 [BZ #14142]
30218 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30219 * include/netdb.h: Likewise for h_errno.
30220 * elf/tst-stackguard1.c: Include <tls.h>.
30221
542f9466
JK
302222013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30223
30224 * elf/link.h (struct link_map): Extend the l_addr comment.
30225 * include/link.h (struct link_map): Likewise.
30226
e782a927
JM
302272013-02-01 Joseph Myers <joseph@codesourcery.com>
30228
30229 [BZ #13550]
30230 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30231 (BOUNDED_1): Remove macro.
30232 * debug/backtrace.c: Don't include <bp-checks.h>.
30233 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30234 (__backtrace): Likewise.
30235 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30236 <bp-checks.h>.
30237 (__backtrace): Don't use BOUNDED_1.
30238 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30239 <bp-checks.h>.
30240 (__backtrace): Don't use BOUNDED_1.
30241 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30242 (__backtrace): Don't use BOUNDED_1.
30243 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30244 (shmat): Don't use BOUNDED_N.
30245
8cf28c5e
JM
302462013-01-31 Joseph Myers <joseph@codesourcery.com>
30247
3a7ac8a0
JM
30248 [BZ #13550]
30249 * sysdeps/generic/bp-start.h: Remove file.
30250 * csu/libc-start.c: Don't include <bp-start.h>.
30251 (LIBC_START_MAIN): Set up __environ directly instead of using
30252 INIT_ARGV_and_ENVIRON.
30253 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30254 <bp-start.h>.
30255
f3499f95
JM
30256 [BZ #13550]
30257 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30258 definitions.
30259 (CHECK_FCNTL): Likewise.
30260 (CHECK_N_PAGES): Likewise.
30261
32a45bea
JM
30262 [BZ #13550]
30263 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30264 definitions.
30265 (CHECK_SIGSET_NULL_OK): Likewise.
30266 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30267 <bp-checks.h>.
30268 (sigpending): Don't use CHECK_SIGSET.
30269 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30270 <bp-checks.h>.
30271 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30272 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30273 <bp-checks.h>.
30274 (do_sigsuspend): Don't use CHECK_SIGSET.
30275 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30276 use CHECK_SIGSET.
30277 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30278 (do_sigwait): Don't use CHECK_SIGSET.
30279 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30280 use CHECK_SIGSET.
30281 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30282 include <bp-checks.h>.
30283 (sigpending): Don't use CHECK_SIGSET.
30284 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30285 include <bp-checks.h>.
30286 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30287 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30288 <bp-checks.h>.
30289 (sigpending): Don't use CHECK_SIGSET.
30290 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30291 <bp-checks.h>.
30292 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30293
2e8a5c8c
JM
30294 [BZ #13550]
30295 * sysdeps/generic/bp-semctl.h: Remove file.
30296 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30297 <bp-checks.h> and <bp-semctl.h>.
30298 (__old_semctl): Don't use CHECK_SEMCTL.
30299 (__new_semctl): Likewise.
30300 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30301 and <bp-semctl.h>.
30302 (__old_semctl): Don't use CHECK_SEMCTL.
30303 (__new_semctl): Likewise.
30304 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30305 <bp-checks.h> and <bp-semctl.h>.
30306 (__old_semctl): Don't use CHECK_SEMCTL.
30307 (__new_semctl): Likewise.
30308 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30309 <bp-checks.h> and <bp-semctl.h>.
30310 (semctl): Don't use CHECK_SEMCTL.
30311
c2d54929
JM
30312 [BZ #13550]
30313 * Makerules (elide-bp-thunks): Remove variable.
30314 (elide-routines.oS): Don't use $(elide-bp-thunks).
30315 (elide-routines.os): Likewise.
30316 (elide-routines.o): Likewise.
30317 (elide-routines.op): Likewise.
30318 (elide-routines.og): Likewise.
30319 (objects): Don't use $(bp-thunks).
30320 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30321 include.
30322 (common-generated): Do not add s-proto-bp.d.
30323 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30324 (int): Likewise.
30325 (typ): Likewise.
30326 Do not generate makefile rules for bounded-pointer thunks.
30327 * sysdeps/generic/bp-thunks.h: Remove file.
30328 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30329 * sysdeps/unix/s-proto-bp.S: Likewise.
30330
8cf28c5e
JM
30331 [BZ #15062]
30332 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30333 parts of result separately when argument is not close to line from
30334 -i to i and one part of argument is small.
30335 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30336 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30337 * math/libm-test.inc (cacos_test): Add more tests.
30338 (casin_test): Likewise.
30339 (casinh_test): Likewise.
30340 * sysdeps/i386/fpu/libm-test-ulps: Update.
30341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30342
c4e33b8d
DM
303432013-01-31 David S. Miller <davem@davemloft.net>
30344
30345 * po/de.po: Update from translation team.
30346
3b60b421
MK
303472013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30348
30349 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30350
bb931195
TS
303512013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30352
b5a5da23
TS
30353 * configure.in (_AC_PROG_CC_C89): New definition.
30354 * configure: Regenerate.
30355
bb931195
TS
30356 * configure.in (AC_PROG_CPP): New definition.
30357 * configure: Regenerate.
30358
8c53a12c
JM
303592013-01-23 Joseph Myers <joseph@codesourcery.com>
30360
30361 * debug/tst-backtrace.h: New file.
30362 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30363 (ret): Remove variable.
30364 (x): Likewise.
30365 (FAIL): Remove macro.
30366 (NO_INLINE): Likewise.
30367 (fn1): Use match function instead of strstr.
30368 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30369 (ret): Remove variable.
30370 (x): Likewise.
30371 (FAIL): Remove macro.
30372 (NO_INLINE): Likewise.
30373 (fn): Use match function instead of strstr.
30374 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30375 (ret): Remove variable.
30376 (x): Likewise.
30377 (FAIL): Remove macro.
30378 (NO_INLINE): Likewise.
30379 (handle_signal): Use match function instead of strstr.
30380 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30381 (ret): Remove variable.
30382 (x): Likewise.
30383 (FAIL): Remove macro.
30384 (NO_INLINE): Likewise.
30385 (handle_signal): Use match function instead of strstr.
30386
4858fa2a
RM
303872013-01-23 Roland McGrath <roland@hack.frob.com>
30388
30389 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30390
bae8e7f5
DM
303912013-01-23 David S. Miller <davem@davemloft.net>
30392
30393 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30394 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30395 argument of CAS if possible.
30396 * sysdeps/sparc/sparc64/bits/atomic.h
30397 (__arch_compare_and_exchange_val_32_acq): Likewise.
30398 (__arch_compare_and_exchange_val_64_acq): Likewise.
30399
9cbbc4ae
PT
304002013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30401
30402 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30403 * sysdeps/posix/ulimit.c: ... this.
92a601b8 30404 Include <limits.h>.
67b3f58c 30405 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 30406
5655a0b5
AC
304072013-01-23 Adam Conrad <adconrad@0c3.net>
30408
30409 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30410 (LDFLAGS-tst-array5): Likewise.
30411
052aff95
JM
304122013-01-23 Joseph Myers <joseph@codesourcery.com>
30413
30414 [BZ #15036]
30415 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30416 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30417 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30418 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30419
7c1e01aa
DM
304202013-01-21 David S. Miller <davem@davemloft.net>
30421
30422 * sysdeps/sparc/backtrace.c: New file.
30423 * sysdeps/sparc/sparc32/backtrace.h: New file.
30424 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30425 * sysdeps/sparc/sparc64/backtrace.h: New file.
30426 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30427 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30428 -funwind-tables.
30429
ab087e0a
AS
304302013-01-21 Andreas Schwab <schwab@suse.de>
30431
30432 [BZ #15020]
30433 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30434 closed its stdout.
30435
ed689c2f
AS
304362013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30437
30438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30439 "mpa2.h".
30440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30441
31d470ac
JM
304422013-01-18 Joseph Myers <joseph@codesourcery.com>
30443 Mark Mitchell <mark@codesourcery.com>
30444 Tom de Vries <tom@codesourcery.com>
30445 Paul Pluzhnikov <ppluzhnikov@google.com>
30446
30447 * debug/tst-backtrace2.c: New file.
30448 * debug/tst-backtrace3.c: Likewise.
30449 * debug/tst-backtrace4.c: Likewise.
30450 * debug/tst-backtrace5.c: Likewise.
30451 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30452 (CFLAGS-tst-backtrace3.c): Likewise.
30453 (CFLAGS-tst-backtrace4.c): Likewise.
30454 (CFLAGS-tst-backtrace5.c): Likewise.
30455 (LDFLAGS-tst-backtrace2): Likewise.
30456 (LDFLAGS-tst-backtrace3): Likewise.
30457 (LDFLAGS-tst-backtrace4): Likewise.
30458 (LDFLAGS-tst-backtrace5): Likewise.
30459 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30460 tst-backtrace4 and tst-backtrace5.
30461
90567f30 304622013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
30463 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30464
30465 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30466 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30467 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30468 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30470 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30471 "+r" and remove output regs list as redundant. Add explicit inline
30472 asm to specify register of return val to work around compiler codegen
30473 bug. Remove (int) cast on return value. Add return type parameter to
30474 use in macro so that this macro does not truncate return value for
30475 64-bit values.
30476 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30477 pass to INTERNAL_VSYSCALL_NCS.
30478 (INLINE_VSYSCALL): Add 'long int' as return type to
30479 INTERNAL_VSYSCALL_NCS macro invocation.
30480 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30481 INTERNAL_VSYSCALL_NCS macro invocation.
30482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30483
d3b9ea61
SP
304842013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30485
0b57daeb
SP
30486 [BZ #14496]
30487 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30488 Fix application of SIMD FP exception mask.
30489
caa99d06
SP
30490 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30491 mp_no from a power of two.
30492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30493 __mpexp_twomm1. Use __pow_mp.
30494
d3b9ea61
SP
30495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30496 multiplication.
30497
1dbaee3c
DM
304982013-01-17 David S. Miller <davem@davemloft.net>
30499
30500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30501
728d7b43
JM
305022013-01-17 Joseph Myers <joseph@codesourcery.com>
30503
30504 [BZ #15023]
30505 * include/complex.h: Condition contents on [!_COMPLEX_H].
30506 (__kernel_casinhf): New prototype.
30507 (__kernel_casinh): Likewise.
30508 (__kernel_casinhl): Likewise.
30509 * math/Makefile (libm_calls): Add k_casinh.
30510 * math/k_casinh.c: New file.
30511 * math/k_casinhf.c: Likewise.
30512 * math/k_casinhl.c: Likewise.
30513 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30514 finite nonzero arguments.
30515 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30516 finite nonzero arguments.
30517 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30518 finite nonzero arguments.
30519 * math/s_casinh.c: Do not include <float.h>.
30520 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30521 * math/s_casinhf.c: Do not include <float.h>.
30522 (__casinhf): Move code for finite nonzero arguments to
30523 k_casinhf.c.
30524 * math/s_casinhl.c: Do not include <float.h>.
30525 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30526 redefine.
30527 (__casinhl): Move code for finite nonzero arguments to
30528 k_casinhl.c.
30529 * math/libm-test.inc (cacos_test): Add more tests.
30530 * sysdeps/i386/fpu/libm-test-ulps: Update.
30531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30532
2a26ef3a
PT
305332013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30534
30535 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30536 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30537 [!HAVE_MREMAP]: Remove [defined linux] case.
30538 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30539
a897655d
SP
305402013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30541
30542 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30543
881ebe89 305442013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
30545
30546 * elf/elf.h (R_386_SIZE32): New relocation.
30547 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30548 R_386_SIZE32.
30549 (elf_machine_rela): Likewise.
30550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30551 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30552
59981e9b
JM
305532013-01-17 Joseph Myers <joseph@codesourcery.com>
30554
30555 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30556 (FP_FAST_FMA): Do not define.
30557 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30558 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30559 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30560 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30561 !_SOFT_FLOAT]: Likewise.
30562 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30563 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30564 value.
30565 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30566 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30567 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30568 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30569 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30570 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30571 file.
30572
cfa8054f
AS
305732013-01-16 Andreas Schwab <schwab@suse.de>
30574
30575 [BZ #14327]
30576 * include/stdlib.h (__mktemp): Add declaration.
30577 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30578 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30579
dd930cc5
SP
305802013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30581
881ebe89
SP
30582 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30583 definitions.
30584 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30585 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30586 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30587 definitions here.
30588 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30589 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30590 definitions.
30591 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30592 and ONE.
30593 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30594 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30595 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30596 definitions.
30597 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30598 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30599 definitions.
30600 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 30601
dd930cc5
SP
30602 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30603
c19a9f89
DM
306042013-01-15 David S. Miller <davem@davemloft.net>
30605
1aa61767
DM
30606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30607 trunc{,f} to libm-sysdep_routes.
30608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30610 file.
30611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30613 file.
30614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30615 file.
30616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30618 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30619 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30620 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30621 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30622 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30623 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30624
c42d5e98
DM
30625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30626 nearbyint{,f} to libm-sysdep_routes.
30627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30629 New file.
30630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30631 file.
30632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30633 New file.
30634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30635 file.
30636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30638 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30639 file.
30640 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30641 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30642 file.
30643 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30644 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30645 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30646
c19a9f89
DM
30647 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30648 libc_feholdexcept and libc_fesetenv.
30649
357679d2
MF
306502013-01-15 Mike Frysinger <vapier@gentoo.org>
30651
30652 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30653
65a82e3d
DM
306542013-01-14 David S. Miller <davem@davemloft.net>
30655
8b954ab9
DM
30656 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30657 (SPARC_ASM_VIS2_IFUNC): Likewise.
30658 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30660 use of 'siam' instruction.
30661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30662 Likewise.
30663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30664 Likewise.
30665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30666 Likewise.
30667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30672 file.
30673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30674 file.
30675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30676 file.
30677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30678 file.
30679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30684 new VIS2 routines.
30685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30688 Likewise.
30689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30694 routines to libm-sysdep_routines.
30695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30696
65a82e3d
DM
30697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30698 fdim/fdimf to libm-sysdep_routines.
30699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30700 file.
30701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30703 file.
30704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30707 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30708 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30709 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30710 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30711
e34ab705
SP
307122013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30713
2a91b573
SP
30714 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30715 to optimize copies.
30716
1066a534
SP
30717 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30720
e34ab705
SP
30721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30722 local variable MPTWO.
30723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30724 Likewise.
30725
aba5e596
MF
307262013-01-13 Mike Frysinger <vapier@gentoo.org>
30727
30728 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30729 GLOB_NOESCAPE.
30730
e557e9e5
MF
307312013-01-13 Mike Frysinger <vapier@gentoo.org>
30732
30733 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30734
0428cec9
MF
307352013-01-13 Mike Frysinger <vapier@gentoo.org>
30736
30737 * manual/pattern.texi (glob_t): Document gl_flags.
30738 (glob64_t): Likewise.
30739
8794a964
DM
307402013-01-11 David S. Miller <davem@davemloft.net>
30741
66438c3f
RM
30742 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30743 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30744 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
30745 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30746 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30747 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30748 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30749 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30750 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30751 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30752 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30753 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30754 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30755
4ae4244d
DM
30756 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30757 sparc V9 rather than using V8 code.
30758 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30759 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30760
8794a964
DM
30761 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30762 Move to...
30763 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30764 Here.
30765
6270516e
RM
307662013-01-11 Roland McGrath <roland@hack.frob.com>
30767
30768 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30769 not in the main loop.
30770 * configure: Regenerated.
30771
6a57d931
JM
307722013-01-11 Joseph Myers <joseph@codesourcery.com>
30773
30774 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30775 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30776 to just #else.
30777 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30778 [!__GLIBC_HAVE_LONG_LONG] case.
30779 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30780 condition to just #else.
30781 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30782 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30783 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30784 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30785 unconditional.
30786 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30787 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30788 #elif condition to just #else.
30789 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30790 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30791 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30792 #elif condition to just #else.
30793
0e8529e9
SE
307942013-01-11 Steve Ellcey <sellcey@mips.com>
30795
30796 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30797 (EF_MIPS_ARCH_64): Fix value.
30798 (EF_MIPS_ARCH_32R2): New.
30799 (EF_MIPS_ARCH_64R2): New.
30800
740b3dbe
L
308012013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30802
30803 * Makeconfig (+link-pie-before-libc): New.
30804 (+link-pie-after-libc): Likewise.
30805 (+link-pie-tests): Likewise.
30806 (+link-pie): Rewritten.
30807 (link-before-libc): Remove $(config-LDFLAGS).
30808 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30809 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30810 (config-LDFLAGS): Renamed to ...
30811 (rtld-LDFLAGS): This.
30812 (rtld-tests-LDFLAGS): New macro.
30813 (link-libc-rpath-link): Likewise.
30814 (link-libc-tests-rpath-link): Likewise.
30815 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30816 (link-libc): Prepand $(link-libc-rpath-link).
30817 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30818 (test-program-prefix): New macro.
30819 (test-via-rtld-prefix): Likewise.
30820 (test-program-cmd): Likewise.
30821 (host-test-program-cmd): Likewise.
30822 * Makefile ($(common-objpfx)testrun.sh): Replace
30823 $(run-program-prefix) with $(test-program-prefix).
30824 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30825 $(rtld-LDFLAGS).
30826 ($(common-objpfx)shlib.lds): Likewise.
30827 (build-module-helper): Likewise.
30828 ($(common-objpfx)format.lds): Likewise.
30829 * Rules (binaries-pie-tests): New.
30830 (binaries-pie-notests): Likewise.
30831 (binaries-pie): Rewritten.
30832 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30833 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30834 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30835 (make-test-out): Replace $(host-built-program-cmd) with
30836 $(host-test-program-cmd).
30837 * config.make.in (build-hardcoded-path-in-tests): New variable.
30838 * configure.in (--enable-hardcoded-path-in-tests): New configure
30839 option.
30840 (hardcoded_path_in_tests): New AC_SUBST.
30841 * configure: Regenerated.
30842 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30843 $(built-program-cmd) with $(test-program-cmd).
30844 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30845 (test_program_cmd): This.
30846 * elf/Makefile ($(objpfx)order.out): Run test with
30847 $(test-program-prefix).
30848 ($(objpfx)order2.out): Likewise.
30849 ($(objpfx)tst-initorder.out): Likewise.
30850 ($(objpfx)tst-initorder2.out): Likewise.
30851 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30852 $(test-program-cmd).
30853 ($(objpfx)tst-array1-static.out): Likewise.
30854 ($(objpfx)tst-array2.out): Likewise.
30855 ($(objpfx)tst-array3.out): Likewise.
30856 ($(objpfx)tst-array4.out): Likewise.
30857 ($(objpfx)tst-array5.out): Likewise.
30858 ($(objpfx)tst-array5-static.out): Likewise.
30859 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30860 $(test-program-cmd).
30861 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30862 $(run-program-prefix) with $(test-program-prefix).
30863 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30864 (test_program_prefix): This.
30865 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30866 $(run-program-prefix) with $(test-program-prefix).
30867 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30868 (test_program_prefix): This.
30869 * iconvdata/tst-tables.sh: Likewise.
30870 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30871 $(run-program-prefix) with $(test-program-prefix).
30872 ($(objpfx)tst-translit.out): Likewise.
30873 ($(objpfx)tst-gettext2.out): Likewise.
30874 ($(objpfx)tst-gettext4.out): Likewise.
30875 ($(objpfx)tst-gettext6.out): Likewise.
30876 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30877 (test_program_prefix): This.
30878 * intl/tst-gettext2.sh: Likewise.
30879 * intl/tst-gettext4.sh Likewise.
30880 * intl/tst-gettext6.sh: Likewise.
30881 * intl/tst-translit.sh: Likewise.
30882 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30883 with $(test-program-cmd).
30884 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30885 $(run-program-prefix) with $(test-program-prefix).
30886 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30887 (test_program_prefix): This.
30888 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30889 $(run-program-prefix) with $(test-program-prefix).
30890 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30891 (test_program_prefix): This.
30892 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30893 * posix/Makefile ($(objpfx)globtest.out): Replace
30894 $(run-via-rtld-prefix) and $(test-wrapper) with
30895 $(test-program-prefix) and $(test-via-rtld-prefix).
30896 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30897 $(test-program-prefix).
30898 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30899 $(host-test-program-cmd).
30900 (tst-spawn-ARGS): Likewise.
30901 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30902 $(test-program-prefix).
30903 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30904 (test_via_rtld_prefix): This.
30905 (test_wrapper): Renamed to ...
30906 (test_program_prefix): This.
30907 (run_program_prefix): Replaced by test_program_prefix.
30908 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30909 (test_program_prefix): This.
30910 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30911 with $(host-test-program-cmd).
30912 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30913 $(run-program-prefix) with $(test-program-prefix).
30914 ($(objpfx)tst-printf.out): Likewise.
30915 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30916 $(test-program-cmd).
30917 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30918 (test_program_prefix): This.
30919 * stdio-common/tst-unbputc.sh: Likewise.
30920 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30921 $(run-program-prefix) with $(test-program-prefix).
30922 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30923 (test_program_prefix): This.
30924 * string/Makefile ($(objpfx)tst-svc.out): Replace
30925 $(built-program-cmd) with $(test-program-cmd).
30926
c6fe55cf
AJ
309272013-01-11 Andreas Jaeger <aj@suse.de>
30928
30929 [BZ #15003]
30930 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30931 value. Sync with Linux 3.7.
30932
9e6919c8
DM
309332013-01-10 David S. Miller <davem@davemloft.net>
30934
30935 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30936 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30937 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30938
1c9f1a02
RM
309392013-01-10 Roland McGrath <roland@hack.frob.com>
30940
30941 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30942 never set.
30943 * configure: Regenerated.
30944
b9de2dde
DM
309452013-01-10 David S. Miller <davem@davemloft.net>
30946
30947 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30948 sparc V9 rather than using V8 code.
30949 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30950 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30951
e7f68ef4
RM
309522013-01-10 Roland McGrath <roland@hack.frob.com>
30953
30954 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30955 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30956 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30957 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30958 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30959 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30960 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30961 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30962 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30963 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30964 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30965 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30966 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30967 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30968 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30969 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30970 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30971 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30972 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30973 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30974 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30975 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30976 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30977 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30978 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30979 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30980 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30981
5a47cc9c
DM
309822013-01-10 David S. Miller <davem@davemloft.net>
30983
30984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30985
4cf8f209
L
309862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30987
30988 * posix/Makefile (tests-static): New variable.
30989 (tests): Add $(tests-static).
30990 (tst-exec-static-ARGS): New variable.
30991 (tst-spawn-static-ARGS): Likewise.
30992 * posix/tst-exec-static.c: New file.
30993 * posix/tst-spawn-static.c: Likewise.
30994 * posix/tst-exec.c: Support run directly.
30995 * posix/tst-spawn.c: Likewise.
30996
fed0faa1
JM
309972013-01-10 Joseph Myers <joseph@codesourcery.com>
30998
828beb13
JM
30999 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31000 long.
31001 * math/bits/mathcalls.h (llrint): Likewise.
31002 (llround): Likewise.
31003 * stdlib/stdlib.h (struct drand48_data): Likewise.
31004 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31005 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31006 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31007 Likewise.
31008 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31009 Likewise.
31010 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31011 (elf_greg_t): Likewise.
31012 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31013 (__jmp_buf): Likewise.
31014 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31015 definitions.
31016 (llrint): Likewise, for all definitions.
31017 (llrintl): Likewise.
31018
fed0faa1
JM
31019 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31020 Remove [__GNUC__] condition.
31021 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31022 condition to just [__USE_ISOC99].
31023 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31024
1a20cb20
L
310252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31026
31027 [BZ #14200]
31028 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31029 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31030 defined.
31031 (_POSIX_V6_ILP32_OFF32): Likewise.
31032 (_XBS5_ILP32_OFF32): Likewise.
31033 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31034 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31035
751b85f7
SP
310362013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31037
7490eb81
SP
31038 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31039
751b85f7
SP
31040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31041 doubles __mpexp_twomm1. Adjust usage.
31042 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31043 Remove.
31044
988197f0
AS
310452013-01-10 Andreas Schwab <schwab@suse.de>
31046
31047 [BZ #14964]
31048 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31049 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31050
e83d7298
DM
310512013-01-09 David S. Miller <davem@davemloft.net>
31052
034ed64b 31053 [BZ #15003]
57f41c40
AS
31054 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31055 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31056 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31057 (TCP_FASTOPEN): Define.
e83d7298
DM
31058 (tcp_repair_opt): New structure.
31059 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31060 enum values.
57f41c40
AS
31061 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31062 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31063 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
31064 (tcp_cookie_transactions): New structure.
31065
d5e0b9bd
AB
310662013-01-09 Anton Blanchard <anton@samba.org>
31067
31068 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31069 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31070 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31071 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31072
0c07e3ea
JM
310732013-01-09 Joseph Myers <joseph@codesourcery.com>
31074
31075 * include/features.h (__USE_ANSI): Remove.
31076
232f7002
RM
310772013-01-09 Roland McGrath <roland@hack.frob.com>
31078
ad98e30c
RM
31079 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31080
232f7002
RM
31081 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31082
950c99ca
SP
310832013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31084
b5792741
SP
31085 * sysdeps/s390/fpu/libm-test-ulps: Update.
31086
47cf2278
SP
31087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31088
950c99ca
SP
31089 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31090 (__acr): Likewise.
31091 (__cpy): Likewise.
31092 (norm): Likewise.
31093 (denorm): Likewise.
31094 (__mp_dbl): Likewise.
31095 (__dbl_mp): Likewise.
31096 (add_magnitudes): Likewise.
31097 (sub_magnitudes): Likewise.
31098 (__add): Likewise.
31099 (__sub): Likewise.
31100 (__mul): Likewise.
31101 (__inv): Likewise.
31102 (__dvd): Likewise.
31103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31104 (__acr): Likewise.
31105 (__cpy): Likewise.
31106 (norm): Likewise.
31107 (denorm): Likewise.
31108 (__mp_dbl): Likewise.
31109 (__dbl_mp): Likewise.
31110 (add_magnitudes): Likewise.
31111 (sub_magnitudes): Likewise.
31112 (__add): Likewise.
31113 (__sub): Likewise.
31114 (__mul): Likewise.
31115 (__inv): Likewise.
31116 (__dvd): Likewise.
31117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31118 (__acr): Likewise.
31119 (__cpy): Likewise.
31120 (norm): Likewise.
31121 (denorm): Likewise.
31122 (__mp_dbl): Likewise.
31123 (__dbl_mp): Likewise.
31124 (add_magnitudes): Likewise.
31125 (sub_magnitudes): Likewise.
31126 (__add): Likewise.
31127 (__sub): Likewise.
31128 (__mul): Likewise.
31129 (__inv): Likewise.
31130 (__dvd): Likewise.
31131
eede9df9
JM
311322013-01-08 Joseph Myers <joseph@codesourcery.com>
31133
31134 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31135 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31136 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31137 2 && __USE_EXTERN_INLINES]: Likewise.
31138
c40ea3d9
AJ
311392013-01-08 Andreas Jaeger <aj@suse.de>
31140
31141 [BZ# 14985]
31142 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31143 Remove.
31144 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31145 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31146
2ccdea26
AB
311472013-01-07 Anton Blanchard <anton@samba.org>
31148
31149 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31150 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31151 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31152 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31153 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31154 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31155 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31156 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31158 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31159 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31160 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31161 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31162 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31164 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31165 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31167 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31168 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31169 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31170 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31171 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31172 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31173 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31174 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31175 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31176 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31177 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31178 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31179 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31181 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31182 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31183 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31184 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31185 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31186 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31188 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31189 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31191 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31192
a9708fed
JM
311932013-01-07 Joseph Myers <joseph@codesourcery.com>
31194
375607b9
JM
31195 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31196 (__MALLOC_PMT): Likewise.
31197 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31198 [__GNUC__], only on [_LIBC].
31199 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31200 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31201 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31202 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31203 forward declaration.
31204 (realloc_hook_ini): Likewise.
31205 (memalign_hook_ini): Likewise.
31206 (__libc_memalign): Do not use __MALLOC_PMT in variable
31207 declaration.
31208 (__libc_valloc): Likewise.
31209 (__libc_pvalloc): Likewise.
31210 (__libc_calloc): Likewise.
31211 (__posix_memalign): Likewise.
31212
a9708fed
JM
31213 [BZ #14996]
31214 * math/s_casinh.c: Include <float.h>.
31215 (__casinh): Do not do computation with squaring and square root
31216 for large arguments.
31217 * math/s_casinhf.c: Include <float.h>.
31218 (__casinhf): Do not do computation with squaring and square root
31219 for large arguments.
31220 * math/s_casinhl.c: Include <float.h>.
31221 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31222 (__casinhl): Do not do computation with squaring and square root
31223 for large arguments.
31224 * math/libm-test.inc (casin_test): Add more tests.
31225 (casinh_test): Likewise.
31226 * sysdeps/i386/fpu/libm-test-ulps: Update.
31227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31228
afec409a
L
312292013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31230
31231 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31232 (__x86_64_raw_data_cache_size): Likewise.
31233 (__x86_64_data_cache_size_half): Likewise.
31234 (__x86_64_raw_data_cache_size_half): Likewise.
31235 (__x86_64_shared_cache_size): Likewise.
31236 (__x86_64_raw_shared_cache_size): Likewise.
31237 (__x86_64_shared_cache_size_half): Likewise.
31238 (__x86_64_raw_shared_cache_size_half): Likewise.
31239 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31240 to ...
31241 (__x86_data_cache_size): This.
31242 (__x86_64_raw_data_cache_size): Renamed to ...
31243 (__x86_raw_data_cache_size): This.
31244 (__x86_64_data_cache_size_half): Renamed to ...
31245 (__x86_data_cache_size_half): This.
31246 (__x86_64_raw_data_cache_size_half): Renamed to ...
31247 (__x86_raw_data_cache_size_half): This.
31248 (__x86_64_shared_cache_size): Renamed to ...
31249 (__x86_shared_cache_size): This.
31250 (__x86_64_raw_shared_cache_size): Renamed to ...
31251 (__x86_raw_shared_cache_size): This.
31252 (__x86_64_shared_cache_size_half): Renamed to ...
31253 (__x86_shared_cache_size_half): This.
31254 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31255 (__x86_raw_shared_cache_size_half): This.
31256 * sysdeps/x86_64/memcpy.S: Updated.
31257 * sysdeps/x86_64/memset.S: Likewise.
31258 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31261
0b3986d0
DM
312622013-01-04 David S. Miller <davem@davemloft.net>
31263
31264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31265
e47686e9
AS
312662013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31267
d643bac1
AS
31268 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31269 1 to avoid redefinition warning.
31270 (__USE_GNU): Don't define.
31271 (init_signaling_nan): Protoize.
31272
e47686e9
AS
31273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31274
b18decba
SP
312752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31276
fffb407f
SP
31277 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31279 (__cpymn): Likewise.
31280 (norm): Remove commented code.
31281 (denorm): Likewise.
31282 (__mp_dbl): Likewise.
31283 (__inv): Likewise.
31284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31285 (__cpymn): Likewise.
31286 (norm): Remove commented code.
31287 (denorm): Likewise.
31288 (__mp_dbl): Likewise.
31289 (__inv): Likewise.
31290
b18decba
SP
31291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31292 mp_no value for 1.0 and 2.0.
31293 (norm): Use RADIXI instead of radixi.d.
31294 (denorm): Likewise.
31295 (__mul): Use 0.0 instead of zero.d.
31296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31297 mp_no value for 1.0 and 2.0.
31298 (norm): Use RADIXI instead of radixi.d.
31299 (denorm): Likewise.
31300 (__mul): Use 0.0 instead of zero.d.
31301
cdc1c96f
JM
313022013-01-04 Joseph Myers <joseph@codesourcery.com>
31303
31304 [BZ #14994]
31305 * math/s_casinh.c (__casinh): Reduce finite argument to first
31306 quadrant then set signs of results at the end.
31307 * math/s_casinhf.c (__casinhf): Likewise.
31308 * math/s_casinhl.c (__casinhl): Likewise.
31309 * math/libm-test.inc (casin_test): Add more tests.
31310 (casinh_test): Likewise.
31311 * sysdeps/i386/fpu/libm-test-ulps: Update.
31312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31313
302913e1
SP
313142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31315
6420d207
SP
31316 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31317
a9e48ab4
SP
31318 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31319
b7837264
SP
31320 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31321 declarations.
31322 (denorm): Likewise.
31323 (__mp_dbl): Likewise.
31324 (__inv): Likewise.
31325
f8af25d2
SP
31326 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31327 and adjust the header comment.
31328
302913e1
SP
31329 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31330 variable name from declaration.
31331
5d7dd1ca
L
313322013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31333
31334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31335 Initialize COMMON_CPUID_INDEX_7 element.
31336 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31337 (CPUID_RTM): Likewise.
31338 (HAS_RTM): Likewise.
31339 (COMMON_CPUID_INDEX_7): New enum.
31340
2f5f40f4
AS
313412013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31342
31343 [BZ #14981]
31344 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31345 size is zero, record memory as freed.
31346
4056f4a0
AJ
313472013-01-03 Andreas Jaeger <aj@suse.de>
31348
31349 * po/ia.po: Add new Interlingua translation.
31350
ab15736f 313512012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
31352
31353 * locale/programs/localedef.c: Fix description of '--posix' flag.
31354
568035b7
JM
313552013-01-02 Joseph Myers <joseph@codesourcery.com>
31356
e6898b8d
JM
31357 * NEWS: Update dates in second copyright notice.
31358 * README: Update copyright dates in example.
31359 * manual/libc.texinfo: Update copyright dates.
31360 * scripts/test-installation.pl: Update copyright date in --version
31361 output.
31362
0e2f9562
JM
31363 * hurd/ctty-input.c: Fix copyright notice formatting.
31364 * hurd/ctty-output.c: Likewise.
31365 * hurd/dtable.c: Likewise.
31366 * hurd/hurd-raise.c: Likewise.
31367 * hurd/hurdprio.c: Likewise.
31368 * hurd/msgportdemux.c: Likewise.
31369 * misc/sys/file.h: Likewise.
31370 * misc/sys/ioctl.h: Likewise.
31371 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31372 * sysdeps/mach/hurd/chdir.c: Likewise.
31373 * sysdeps/mach/hurd/fchdir.c: Likewise.
31374 * sysdeps/mach/hurd/rename.c: Likewise.
31375 * sysdeps/mach/hurd/rmdir.c: Likewise.
31376 * sysdeps/mach/hurd/seekdir.c: Likewise.
31377 * sysdeps/mach/hurd/setsid.c: Likewise.
31378 * sysdeps/posix/wait3.c: Likewise.
31379
568035b7
JM
31380 * All files with FSF copyright notices: Update copyright dates
31381 using scripts/update-copyrights.
31382 * intl/plural.c: Regenerated.
31383 * locale/programs/charmap-kw.h: Likewise.
31384 * locale/programs/locfile-kw.h: Likewise.
31385
da08f647
SP
313862013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31387
0f5477af
SP
31388 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31389 four values.
31390
44e0d4c2
SP
31391 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31392 calculation loop and add branch prediction.
31393
4d55b4e5
SP
31394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31395 check access beyond bounds of m1np.
31396
da08f647
SP
31397 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31398 MPTWO.
31399 (__inv): Remove local variable MPTWO to use the global
31400 constant.
31401 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31402 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31403 variable MPTWO.
31404 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31405 MP3HALFS static const.
31406
8e051029
DM
314072013-01-01 David S. Miller <davem@davemloft.net>
31408
31409 * po/ca.po: Update from translation team.
31410
f4cf5f2d
JM
314112013-01-01 Joseph Myers <joseph@codesourcery.com>
31412
31413 * scripts/update-copyrights: New file.
31414 * Makeconfig: Reformat copyright notice.
31415 * ctype/ctype.h: Likewise.
31416 * debug/swprintf_chk.c: Likewise.
31417 * elf/dl-cache.c: Likewise.
31418 * elf/dl-debug.c: Likewise.
31419 * elf/dl-object.c: Likewise.
31420 * grp/initgroups.c: Likewise.
31421 * hurd/Makefile: Likewise.
31422 * hurd/hurd/signal.h: Likewise.
31423 * hurd/hurdfault.c: Likewise.
31424 * hurd/hurdioctl.c: Likewise.
31425 * hurd/hurdlookup.c: Likewise.
31426 * hurd/intr-msg.c: Likewise.
31427 * iconv/gconv_open.c: Likewise.
31428 * libio/swprintf.c: Likewise.
31429 * locale/lc-ctype.c: Likewise.
31430 * locale/nl_langinfo.c: Likewise.
31431 * mach/Machrules: Likewise.
31432 * mach/Makefile: Likewise.
31433 * malloc/obstack.h: Likewise.
31434 * manual/Makefile: Likewise.
31435 * manual/tsort.awk: Likewise.
31436 * misc/bits/stab.def: Likewise.
31437 * nis/nis_print_group_entry.c: Likewise.
31438 * nis/nis_table.c: Likewise.
31439 * nis/nss_compat/compat-pwd.c: Likewise.
31440 * nis/nss_compat/compat-spwd.c: Likewise.
31441 * po/Makefile: Likewise.
31442 * posix/fnmatch.c: Likewise.
31443 * posix/regex.h: Likewise.
31444 * resolv/Makefile: Likewise.
31445 * resolv/nss_dns/dns-network.c: Likewise.
31446 * resolv/res_hconf.c: Likewise.
31447 * scripts/gen-sorted.awk: Likewise.
31448 * soft-fp/soft-fp.h: Likewise.
31449 * stdio-common/printf.h: Likewise.
31450 * stdlib/monetary.h: Likewise.
31451 * stdlib/random.c: Likewise.
31452 * stdlib/random_r.c: Likewise.
31453 * sysdeps/generic/Makefile: Likewise.
31454 * sysdeps/gnu/Makefile: Likewise.
31455 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31457 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31462 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31465 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31466 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31467 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31468 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31469 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31470 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31471 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31473 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31475 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31476 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31477 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31478 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31479 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31480 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31481 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31482 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31483 * sysdeps/mach/hurd/errnos.awk: Likewise.
31484 * sysdeps/mach/hurd/fork.c: Likewise.
31485 * sysdeps/mach/hurd/getcwd.c: Likewise.
31486 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31487 * sysdeps/mach/hurd/mmap.c: Likewise.
31488 * sysdeps/mach/hurd/utimes.c: Likewise.
31489 * sysdeps/mach/hurd/xmknod.c: Likewise.
31490 * sysdeps/posix/profil.c: Likewise.
31491 * sysdeps/posix/readdir_r.c: Likewise.
31492 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31493 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31494 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31495 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31497 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31498 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31499 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31501 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31502 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31503 * sysdeps/pthread/lio_listio.c: Likewise.
31504 * sysdeps/sparc/dl-procinfo.h: Likewise.
31505 * sysdeps/unix/i386/sysdep.S: Likewise.
31506 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31507 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31508 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31509 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31511 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31512 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31513 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31514 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31515 * sysdeps/wordsize-32/divdi3.c: Likewise.
31516 * time/sys/time.h: Likewise.
31517 * wcsmbs/Makefile: Likewise.
31518
0549fbba
DM
315192013-01-01 David S. Miller <davem@davemloft.net>
31520
a141f1a7
DM
31521 * po/fr.po: Update from translation team.
31522
0549fbba
DM
31523 * catgets/gencat.c: Update copyright year.
31524 * csu/version.c: Likewise.
31525 * debug/catchsegv.sh: Likewise.
31526 * debug/pcprofiledump.c: Likewise.
31527 * debug/xtrace.sh: Likewise.
31528 * elf/ldconfig.c: Likewise.
31529 * elf/ldd.bash.in: Likewise.
31530 * elf/pldd.c: Likewise.
31531 * elf/sotruss.ksh: Likewise.
31532 * elf/sprof.c: Likewise.
31533 * iconv/iconv_prog.c: Likewise.
31534 * iconv/iconvconfig.c: Likewise.
31535 * locale/programs/locale.c: Likewise.
31536 * locale/programs/localedef.c: Likewise.
31537 * login/programs/pt_chown.c: Likewise.
31538 * malloc/memusage.sh: Likewise.
31539 * malloc/memusagestat.c: Likewise.
31540 * malloc/mtrace.pl: Likewise.
31541 * nscd/nscd.c: Likewise.
31542 * nss/getent.c: Likewise.
31543 * nss/makedb.c: Likewise.
31544 * posix/getconf.c: Likewise.
31545
18ea052c
SP
315462012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31547
31548 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31549 numbers.
31550
9c89fca6
MF
315512012-12-30 Mike Frysinger <vapier@gentoo.org>
31552
31553 * math/bits/mathcalls.h (modf): Use __nonnull.
31554
085ec079
SP
315552012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31556
31557 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31558 (split): Use macro CN instead of the bare value.
31559 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31560 could be used.
31561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31562 instead of the bare value.
31563 (power1): Likewise.
31564
6d9f97e1
SP
315652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31566
d63f73be
SP
31567 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31568 __ATAN_TWOM.
31569 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31570
6d9f97e1
SP
31571 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31572 their values.
31573 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31574 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31575 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31576 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31577
4c4febf5
AJ
315782012-12-28 Andreas Jaeger <aj@suse.de>
31579
af5843ef
AJ
31580 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
31581 values are from Linux 3.7.
31582
4c4febf5
AJ
31583 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31584 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31585
99136f82
SP
315862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31587
2f216c3c 31588 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
31589 TRUE case.
31590
99136f82
SP
31591 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31592 (norm): Likewise.
31593 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31594 variables with preprocessor constants.
31595 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31596 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31597 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31598
7fffbdff
BH
315992012-12-27 Bruno Haible <bruno@clisp.org>
31600
31601 [BZ #14317]
31602 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31603 only if needed.
31604
b76eb5f0
SP
316052012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31606
31a7fe5c
SP
31607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31608 and use variable directly.
31609 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31610
b76eb5f0
SP
31611 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31612 MPONE.
31613 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31615 variable MPONE.
31616 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31618 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31619 include directive. Remove local variable MPONE.
31620 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31621 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31622 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31623
2c8bfe7d
DM
316242012-12-25 David S. Miller <davem@davemloft.net>
31625
31626 * version.h (RELEASE): Set to "development".
31627 (VERSION): Set to "2.17.90".
31628 * NEWS: Add 2.18 section.
31629
147d03b0
DM
316302012-12-21 David S. Miller <davem@davemloft.net>
31631
31632 * po/hr.po: Update from translation team.
31633
a8ebb2b9
AK
316342012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31635
31636 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31637
95b4f1b6
SE
316382012-12-19 Steve Ellcey <sellcey@mips.com>
31639
b2d94007 31640 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 31641
cedb2a90
MS
316422012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31643
31644 * manual/contrib.texi (Contributors): Spelling correction.
31645
bbf527d6
DM
316462012-12-15 David S. Miller <davem@davemloft.net>
31647
31648 * po/ru.po: Update from translation team.
31649
bc38c906
DM
316502012-12-13 David S. Miller <davem@davemloft.net>
31651
85429b1a
DM
31652 * NEWS: Mention IFUNC testsuite enhancements.
31653
d283e353
DM
31654 * po/pl.po: Update from translation team.
31655 * po/bg.po: Likewise.
31656
bc38c906
DM
31657 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31658 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31659
a181b0d7
DM
316602012-12-11 David S. Miller <davem@davemloft.net>
31661
4641d57e
DM
31662 * po/sv.po: Update from translation team.
31663
f7bc6495
DM
31664 * po/vi.po: Update from translation team.
31665
6fc9048f
DM
31666 * po/cs.po: Update from translation team.
31667
a181b0d7
DM
31668 * po/de.po: Update from translation team.
31669 * po/eo.po: Likewise.
31670 * po/nl.po: Likewise.
31671
f70bfe80
SP
316722012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31673
3c8b4190
SP
31674 [BZ #14246]
31675 * manual/argp.texi (Argp Helper Functions): Move node to follow
31676 Argp Parsing State.
31677
f70bfe80
SP
31678 [BZ #14872]
31679 * manual/conf.texi (Limits on File System Capacity): Mention if
31680 terminating null is included in the max size.
31681
188f0adf
AJ
316822012-12-10 Andreas Jaeger <aj@suse.de>
31683
31684 * po/cs.po: Update from translation team.
31685
56e7d3ad
SP
316862012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31687
31688 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31689 void pointer and cast to uintptr_t.
31690 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31691 path.
31692 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31693 * sysdeps/s390/s390-64/memset.S: Likewise.
31694
76f2d2ea 316952012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
31696
31697 [BZ #14833]
31698 * menual/message.texi (Message Translation): Fix typos.
31699 (Helper programs for gettext): Likewise.
31700
67cbf9a2
AS
317012012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31702
31703 [BZ #14898]
31704 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31705 Change to -1.
31706
682d0e9a
DM
317072012-12-07 David S. Miller <davem@davemloft.net>
31708
31709 * po/libc.pot: Update.
31710
573cd484
RH
317112012-12-07 Richard Henderson <rth@redhat.com>
31712
7e9da188 31713 [BZ #10114]
573cd484
RH
31714 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31715 normal/normal case to before the switch.
31716 (_FP_DIV): Likewise.
31717
e933a943
MF
317182012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31719 Mike Frysinger <vapier@gentoo.org>
31720
31721 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31722 check for __NR_fadvise64_64.
31723
82123268
CM
317242012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31725
31726 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31727 0, not just to plain "0" as a statement.
31728 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31729 with cw.
31730
d9814526
JM
317312012-12-06 Joseph Myers <joseph@codesourcery.com>
31732
31733 * NEWS: Use sourceware.org in Bugzilla URL.
31734
7728c574
SP
317352012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31736
f16946dd
SP
31737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31738 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31739
5704bbcb
SP
31740 * stdio-common/tst-put-error.c (do_test): Add newline to the
31741 padded test to ensure flush.
31742
17aa0516
JL
317432012-12-05 Jeff Law <law@redhat.com>
31744
31745 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31746
363313b5
JM
317472012-12-05 Joseph Myers <joseph@codesourcery.com>
31748
effbd42a
JM
31749 * README: Don't refer to ports add-on as distributed separately.
31750 Mention AArch64 in list of systems supported in the ports add-on.
31751
87600365
JM
31752 * LICENSES: Add more non-FSF copyright and license notices.
31753
a0d7066a
JM
31754 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31755 ((unused)).
31756
66ca5a5b
JM
31757 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31758
363313b5
JM
31759 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31760 10000 as width of padded output.
31761
b37984ad
JM
317622012-12-04 Joseph Myers <joseph@codesourcery.com>
31763
9003570a
JM
31764 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31765
b37984ad
JM
31766 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31767 variable LX with __attribute__ ((unused)).
31768 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31769 Likewise.
31770 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31771 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31772 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31773 with __attribute__ ((unused)).
31774
c8df52ec
DM
317752012-12-04 David S. Miller <davem@abraco.davemloft.net>
31776
31777 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31778
b3b099af
JM
317792012-12-04 Joseph Myers <joseph@codesourcery.com>
31780
c33aa6e3
JM
31781 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31782 (CFLAGS-nldbl-acos.c): New variable.
31783 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31784 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31785 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31786 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31787 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31788 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31789 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31790 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31791 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31792 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31793 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31794 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31795 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31796 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31797 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31798 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31799 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31800 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31801 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31802 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31803 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31804 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31805 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31806 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31807 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31808 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31809 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31810 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31811 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31812 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31813 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31814 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31815 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31816 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31817 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31818 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31819 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31820 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31821 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31822 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31823 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31824 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31825 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31826 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31827 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31828 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31829 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31830 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31831 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31832 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31833 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31834 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31835 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31836 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31837 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31838 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31839 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31840 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31841 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31842 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31843 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31844 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31845 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31846 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31847 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31848 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31849 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31850 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31851 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31852 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31853 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31854 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31855 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31856 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31857 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31858 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31859 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31860 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31861 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31862 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31863 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31864 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31865 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31866 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31867 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31868 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31869 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31870 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31871 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31872 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31873 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31874 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31875 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31876 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31877 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31878 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31879 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31880
20f0018d
JM
31881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31882 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31883
b3b099af
JM
31884 [BZ #14914]
31885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31886 whole low double instead of just low 47 bits when splitting values
31887 into two parts.
31888
029264d1
AM
318892012-12-03 Allan McRae <allan@archlinux.org>
31890
31891 * manual/stdio.texi (Predefined Printf Handlers): Remove
31892 @hsep and @vsep usage.
31893
c9d6789e
MF
318942012-12-03 Mike Frysinger <vapier@gentoo.org>
31895
31896 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31897 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31898
4b7634a5
JL
318992012-12-03 Jeff Law <law@redhat.com>
31900
31901 * time/sys/time.h (settimeofday): Do not mark TV argument
31902 as __nonnull.
31903
eb6cbd24
MF
319042012-12-01 Mike Frysinger <vapier@gentoo.org>
31905
31906 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31907 when currently writing and seek to current position when not.
31908 * libio/Makefile (tests): Remove bug-fclose1.
31909 * libio/bug-fclose1.c: Delete.
31910
f638872a
JM
319112012-12-01 Joseph Myers <joseph@codesourcery.com>
31912
31913 * manual/arith.texi (feenableexcept): Fix typo.
31914 (fedisableexcept): Likewise.
31915
48085d14
RM
319162012-11-30 Roland McGrath <roland@hack.frob.com>
31917
31918 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31919 second, differently-typed declaration, rather than a cast.
31920
1a538b9f
SP
319212012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31922
31923 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31924 * include/rpc/svc.h: ... here.
31925
d07f2ff1 319262012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
31927
31928 [BZ #13013]
31929 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31930 depending n and resplen2 to catch cases where answer
31931 equals answerp2.
31932
c93ec1f0
CD
319332012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31934
31935 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31936 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31937
37db69de
MF
319382012-11-29 Mike Frysinger <vapier@gentoo.org>
31939
31940 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31941
e10c4e4f
RM
319422012-11-29 Roland McGrath <roland@hack.frob.com>
31943
31944 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31945
2af1b328
JL
319462012-11-28 Jeff Law <law@redhat.com>
31947
31948 [BZ #13761]
31949 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31950 dataset_temporary. Track alloca usage into alloca_used.
31951 If dataset is large allocate and release it via malloc/free.
31952
111db5b1
FW
319532012-06-04 Florian Weimer <fweimer@redhat.com>
31954
f06cc227 31955 [BZ #14197]
111db5b1
FW
31956 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31957
dd694abd
DM
319582012-11-28 David S. Miller <davem@davemloft.net>
31959
31960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31961
9984dd01
JM
319622012-11-28 Joseph Myers <joseph@codesourcery.com>
31963
31964 [BZ #14803]
31965 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31966 of pi/2 rounded to nearest to 64 bits.
31967 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31968 nearest to 64 bits.
31969 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31970 bits.
31971
14bc93a9
JL
319722012-11-28 Jeff Law <law@redhat.com>
31973 Martin Osvald <mosvald@redhat.com>
31974
31975 [BZ #14889]
31976 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31977 * sunrpc/svc.c: Include time.h.
31978 (__svc_accept_failed): New function.
31979 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31980 any reason other than EINTR, call __svc_accept_failed.
31981 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31982 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31983
e3c6aa3a
AS
319842012-11-28 Andreas Schwab <schwab@suse.de>
31985
31986 * scripts/abilist.awk: Also handle indirect functions in .opd
31987 section.
31988
1bead169
JM
319892012-11-28 Joseph Myers <joseph@codesourcery.com>
31990
31991 [BZ #13881]
31992 * sysdeps/x86/fpu/powl_helper.c: New file.
31993 * sysdeps/x86/fpu/Makefile: Likewise.
31994 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31995 (p3): New object.
31996 (__ieee754_powl): Use __powl_helper for finite arguments except
31997 integer exponents below 8.
31998 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31999 (p3): New object.
32000 (__ieee754_powl): Use __powl_helper for finite arguments except
32001 integer exponents below 8.
32002 * math/libm-test.inc (pow_test): Add more tests and enable some
32003 previously disabled tests.
32004 * sysdeps/i386/fpu/libm-test-ulps: Update.
32005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32006
0817d63d
SP
320072012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32008 Carlos O'Donell <carlos_odonell@mentor.com>
32009
32010 * nss/makedb.c (is_prime): Assert that input is odd and greater
32011 than 4. Note that fact in a comment too.
32012 (next_prime): Add 4 to input.
32013
de2fd463
SP
320142012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32015
32016 [BZ #11741]
32017 * libio/Makefile (tests): Add test case tst-fwrite-error.
32018 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32019 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32020 * libio/tst-fwrite-error.c: New test case.
32021
c515fb51
L
320222012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32023
32024 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32025 before casting to void *.
32026 * include/libc-internal.h (__pointer_type): New macro.
32027 (__integer_if_pointer_type_sub): Likewise.
32028 (__integer_if_pointer_type): Likewise.
32029 (cast_to_integer): Likewise.
32030 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32031 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32032 before casting to atomic64_t.
32033 (atomic_exchange_acq): Likewise.
32034 (__arch_exchange_and_add_body): Likewise.
32035 (__arch_add_body): Likewise.
32036 (atomic_add_negative): Likewise.
32037 (atomic_add_zero): Likewise.
32038
4cf77aa9
JM
320392012-11-26 Joseph Myers <joseph@codesourcery.com>
32040
32041 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32042 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32043 (add_fdes): Likewise.
32044 (linear_search_fdes): Likewise.
32045 (binary_search_unencoded_fdes): Likewise.
32046
d260b3b4
AS
320472012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32048
32049 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32050
67060746
AC
320512012-11-24 Adam Conrad <adconrad@0c3.net>
32052
32053 * configure.in: Autodetect C++ header directories.
32054 * configure: Regenerated.
32055
800938a1
MF
320562012-11-23 Mike Frysinger <vapier@gentoo.org>
32057
32058 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32059
4e6e34e6
AS
320602012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32061
32062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32063
7c7feb47
JM
320642012-11-22 Joseph Myers <joseph@codesourcery.com>
32065
7184dcdf
JM
32066 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32067 LDBL_MANT_DIG == 106]: Disable some tests.
32068 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32069 Likewise.
32070 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32071 Likewise.
32072
0a42601f
JM
32073 [BZ #14871]
32074 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32075 input for small inputs. Return +/- pi/2 for large inputs.
32076 * math/libm-test.inc (atan_test): Add more tests.
32077
79c9b9fe
JM
32078 * sysdeps/generic/unwind-dw2-fde-glibc.c
32079 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32080 __attribute__ ((unused)).
32081
c60d3bf2
JM
32082 [BZ #14645]
32083 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32084 x * y if x and y are nonzero and z is zero.
32085
ef1e0867
JM
32086 [BZ #14811]
32087 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32088 nonzero exponents with absolute value below 0x1p-117 to +/-
32089 0x1p-117.
32090
1468ded3
JM
32091 [BZ #14869]
32092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32093 up arguments below 2**-450, not just those below 2**-500.
32094 * math/libm-test.inc (hypot_test): Add another test.
32095
8e27e3cc
JM
32096 [BZ #14868]
32097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32098 Return a+b for ratio over 2**120, not 2**60.
32099 * math/libm-test.inc (hypot_test): Add another test.
32100
c9c0279b
JM
32101 * math/libm-test.inc (clog_test): Use
32102 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32103 (clog10_test): Likewise.
32104
7c7feb47
JM
32105 [BZ #6778]
32106 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32107
fff1530e
AS
321082012-11-22 Andreas Schwab <schwab@suse.de>
32109
32110 * sysdeps/i386/fpu/libm-test-ulps: Update.
32111
94558d30
PT
321122012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32113
32114 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32115 printf output with newline.
32116
7e1be741
L
321172012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32118
6bfea974
L
32119 [BZ #14865]
32120 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32121 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32122 -z nodlopen, -z initfirst and -z execstack support.
32123 * configure: Regenerated.
32124
7e1be741
L
32125 * elf/elf.h (DF_1_NODIRECT): New macro.
32126 (DF_1_IGNMULDEF): Likewise.
32127 (DF_1_NOKSYMS): Likewise.
32128 (DF_1_NOHDR): Likewise.
32129 (DF_1_EDITED): Likewise.
32130 (DF_1_NORELOC): Likewise.
32131 (DF_1_SYMINTPOSE): Likewise.
32132 (DF_1_GLOBAUDIT): Likewise.
32133 (DF_1_SINGLETON): Likewise.
32134 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32135 DT_1_SUPPORTED_MASK bits.
32136 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32137
105ce2ce
CD
321382012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32139
32140 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32141
123be9de
TS
321422012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32143
d072f3f7
TS
32144 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32145 macro.
32146
123be9de
TS
32147 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32148 (sendmmsg): Move declarations...
32149 * socket/sys/socket.h: ... here.
32150 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32151 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32152 include it from...
32153 * socket/recvmmsg.c: ... this new file.
32154 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32155 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32156 definition of __sendmmsg hidden.
32157 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32158 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32159 Move ENOSYS stub into and include it from...
32160 * socket/sendmmsg.c: ... this new file.
32161 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32162 (sysdep_routines): Move recvmmsg and sendmmsg...
32163 * socket/Makefile (routines): ... here.
32164 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32165 (GLIBC_PRIVATE): Add __sendmmsg.
32166 * include/sys/socket.h (__sendmmsg): Add declarations.
32167 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32168 sendmmsg.
32169
cf9a5d18
JM
321702012-11-20 Joseph Myers <joseph@codesourcery.com>
32171
32172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32173 variable I1 with __attribute__ ((unused)).
32174 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32175
ecd4caf9
JM
321762012-11-19 Joseph Myers <joseph@codesourcery.com>
32177
be14d48f
JM
32178 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32179 DUMMY variables with __attribute__ ((unused)).
32180
ecd4caf9
JM
32181 * bits/byteswap.h: Include <bits/types.h>.
32182 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32183
986cab95
PT
321842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32185
32186 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32187 string_t. Do not manually set errno.
32188 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32189 length with __strnlen. Make sure to both set errno and return it on
32190 failure.
32191
6d33cc9d
DM
321922012-11-19 David S. Miller <davem@davemloft.net>
32193
32194 With help from Joseph Myers.
32195 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32196 very large arguments properly.
32197 * math/libm-test.inc (atan_test): New tests.
32198 (atan2_test): New tests.
32199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32201
ee663277
JM
322022012-11-19 Joseph Myers <joseph@codesourcery.com>
32203
877f2d8e
JM
32204 [BZ #14856]
32205 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32206 Define to 3.
32207
116fc08a
JM
32208 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32209 [POSIX] (EADDRNOTAVAIL): Likewise.
32210 [POSIX] (EAFNOSUPPORT): Likewise.
32211 [POSIX] (EALREADY): Likewise.
32212 [POSIX] (ECONNABORTED): Likewise.
32213 [POSIX] (ECONNREFUSED): Likewise.
32214 [POSIX] (ECONNRESET): Likewise.
32215 [POSIX] (EDESTADDRREQ): Likewise.
32216 [POSIX] (EDQUOT): Likewise.
32217 [POSIX] (EHOSTUNREACH): Likewise.
32218 [POSIX] (EIDRM): Likewise.
32219 [POSIX] (EISCONN): Likewise.
32220 [POSIX] (ELOOP): Likewise.
32221 [POSIX] (EMULTIHOP): Likewise.
32222 [POSIX] (ENETDOWN): Likewise.
32223 [POSIX] (ENETUNREACH): Likewise.
32224 [POSIX] (ENOBUFS): Likewise.
32225 [POSIX] (ENODATA): Likewise.
32226 [POSIX] (ENOLINK): Likewise.
32227 [POSIX] (ENOMSG): Likewise.
32228 [POSIX] (ENOPROTOOPT): Likewise.
32229 [POSIX] (ENOSR): Likewise.
32230 [POSIX] (ENOSTR): Likewise.
32231 [POSIX] (ENOTCONN): Likewise.
32232 [POSIX] (ENOTSOCK): Likewise.
32233 [POSIX] (EOPNOTSUPP): Likewise.
32234 [POSIX] (EOVERFLOW): Likewise.
32235 [POSIX] (EPROTO): Likewise.
32236 [POSIX] (EPROTONOSUPPORT): Likewise.
32237 [POSIX] (EPROTOTYPE): Likewise.
32238 [POSIX] (ESTALE): Likewise.
32239 [POSIX] (ETIME): Likewise.
32240 [POSIX] (ETXTBSY): Likewise.
32241 [POSIX] (EWOULDBLOCK): Likewise.
32242 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32243 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32244 [POSIX] (SEEK_CUR): Likewise.
32245 [POSIX] (SEEK_END): Likewise.
32246 [POSIX || UNIX98] (mode_t): Do not require.
32247 [POSIX] (off_t): Likewise.
32248 [POSIX] (pid_t): Likewise.
32249 [POSIX] (sys/stat.h): Do not allow header.
32250 [POSIX] (unistd.h): Likewise.
32251 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32252 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32253 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32254 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32255 require.
32256 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32257 sigevent): Specify elements.
32258 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32259 entry.
32260 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32261 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32262
a483863f
JM
32263 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32264 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32265 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32266 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32267 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32268 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32269 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32270 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32271 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32272 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32273 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32274 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32275 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32276 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32277 Likewise.
32278 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32279 Likewise.
32280 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32281 Likewise.
32282 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32283 Likewise.
32284 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32285 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32286 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32287 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32288 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32289 Specify lower bound on value.
32290 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32291 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32292 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32293 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32294 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32295 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32296 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32297 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32298 value.
32299 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32300 as optional.
32301 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32302 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32303 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32304 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32305 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32306 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32307 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32308 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32309 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32310 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32311 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32312 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32313 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32314 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32315 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32316 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32317 entry.
32318 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32319 optional.
32320 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32321 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32322 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32323 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32324 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32325 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32326 Likewise.
32327 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32328 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32329 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32330 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32331 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32332 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32333 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32334 as optional.
32335 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32336 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32337 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32338 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32339 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32340 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32341 specify as optional.
32342 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32343 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32344 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32345 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32346 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32347 [XPG3] (NL_LANGMAX): Likewise.
32348 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32349 [POSIX || XPG3] (NL_NMAX): Likewise.
32350 [POSIX || XPG3] (NL_SETMAX): Likewise.
32351 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32352 [XPG3] (NZERO): Likewise.
32353 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32354 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32355 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32356 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32357 (REG_ERANGE): Expect.
32358 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32359 optional-constant.
32360 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32361 Use (void) in prototype.
32362 [POSIX] (*_t): Allow.
32363 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32364 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32365 (WRDE_BADVAL): Expect.
32366
5ba924e3
JM
32367 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32368 expect.
32369 [XPG3 || XPG4] (O_RSYNC): Likewise.
32370 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32371 Likewise.
32372 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32373 [XPG3 || XPG4] (sigqueue): Likewise.
32374 [XPG3 || XPG4] (sigtimedwait): Likewise.
32375 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32376 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32377 [XPG3 || XPG4] (vsnprintf): Likewise.
32378 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32379 Likewise.
32380 [XPG3 || XPG4] (blksize_t): Likewise.
32381 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32382 Likewise.
32383 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32384 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32385 [XPG3 || XPG4] (struct itimerspec): Likewise.
32386 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32387 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32388 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32389 [XPG3 || XPG4] (clockid_t): Likewise.
32390 [XPG3 || XPG4] (timer_t): Likewise.
32391 [XPG3 || XPG4] (clock_getres): Likewise.
32392 [XPG3 || XPG4] (clock_gettime): Likewise.
32393 [XPG3 || XPG4] (clock_settime): Likewise.
32394 [XPG3 || XPG4] (nanosleep): Likewise.
32395 [XPG3 || XPG4] (timer_create): Likewise.
32396 [XPG3 || XPG4] (timer_delete): Likewise.
32397 [XPG3 || XPG4] (timer_gettime): Likewise.
32398 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32399 [XPG3 || XPG4] (timer_settime): Likewise.
32400 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32401 [XPG3 || XPG4] (getlogin_r): Likewise.
32402 [XPG3 || XPG4] (pread): Likewise.
32403 [XPG3 || XPG4] (pthread_atfork): Likewise.
32404 [XPG3 || XPG4] (pwrite): Likewise.
32405
ee663277
JM
32406 [BZ #14835]
32407 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32408 <bits/siginfo.h>.
32409
942caa16
PT
324102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32411
e19af380
PT
32412 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32413 finalizing MALLSTREAM.
32414
942caa16
PT
32415 * sysdeps/mach/hurd/syncfs.c: New file.
32416
cfde9b46
SP
324172012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32418
32419 [BZ #14719]
32420 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32421 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32422 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32423 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32424 (_nss_dns_gethostbyname4_r): Likewise.
32425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32426 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32427
f6da27e5
PH
324282012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32429
32430 [BZ #13763]
32431 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32432
6665d4a2
SM
324332012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32434
1f51ee92
SM
32435 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32436 * elf/cache.c (print_entry): Print ",AArch64" for
32437 FLAG_AARCH64_LIB64
32438
6665d4a2
SM
32439 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32440 * elf/cache.c (print_entry): Print ",hard-float" for
32441 FLAG_ARM_LIBHF.
32442
05b227bd
DM
324432012-11-18 David S. Miller <davem@davemloft.net>
32444
32445 With help from Joseph Myers.
32446 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32447 cutoff to 2**-13.
32448 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32449 cutoff to 2**-25.
32450 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32451 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32452 small.
32453 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32454 * math/libm-test.inc (y0_test): New tests.
32455 (y1_test): New tests.
32456 * sysdeps/i386/fpu/libm-test-ulps: Update.
32457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32459
786b0b67
AS
324602012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32461
32462 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32463 64-bit targets.
32464 * configure: Regenerated.
32465
8e18b86d
DM
324662012-11-17 David S. Miller <davem@davemloft.net>
32467
32468 [BZ #14811]
32469 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32470 nonzero exponents with absolute value below 0x1p-128 to +/-
32471 0x1p-128.
32472
531f1ae0
JM
324732012-11-17 Joseph Myers <joseph@codesourcery.com>
32474
12df29e2
JM
32475 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32476
150dc1a0
JM
32477 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32478
531f1ae0
JM
32479 * posix/getconf-speclist.c: New file.
32480 * posix/posix-envs.def: Likewise.
32481 * posix/confstr.c (START_ENV_GROUP): New macro.
32482 (END_ENV_GROUP): Likewise.
32483 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32484 (KNOWN_PRESENT_ENV_STRING): Likewise.
32485 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32486 (UNKNOWN_ENVIRONMENT): Likewise.
32487 (confstr): Include posix-envs.def instead of handling
32488 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32489 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32490 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32491 (END_ENV_GROUP): Likewise.
32492 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32493 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32494 (UNKNOWN_ENVIRONMENT): Likewise.
32495 (__sysconf): Include posix-envs.def instead of handling associated
32496 cases directly here.
32497 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32498 preprocessing getconf-speclist.c rather than running getconf or
32499 generating empty file.
32500
a93f9cbc
PT
325012012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32502
32503 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32504
d64d9f87
AL
325052012-11-16 Andrej Lajovic <natrij@gmail.com>
32506
32507 [BZ #14672]
32508 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32509
447885eb
DM
325102012-11-16 David S. Miller <davem@davemloft.net>
32511
32512 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32513 smaller than LDBL_EPSILON/2.0L, just return xm1.
32514
bcbf9830
L
325152012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32516
32517 * elf/tst-array1.c (init): Set constructor priority to 1000.
32518 (fini): Set destructor priority to 1000.
32519 * elf/tst-array2dep.c: Likewise.
32520
2b766585
SP
325212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32522
32523 [BZ #11741]
32524 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32525 (_IO_new_file_xsputn): Also return EOF if none of the input
32526 data was written when overflow failed.
32527 * libio/iopadn.c (_IO_padn): Likewise.
32528 * libio/iowpadn.c (_IO_wpadn): Likewise.
32529 * stdio-common/tst-put-error.c: Add copyright notice.
32530 (do_test): Add case for printing padded string.
32531 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32532 _IO_padn returned error.
32533 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32534 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32535 return EOF.
32536
b1848fde
SP
325372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32538
32539 * libio/libioP.h: Add comment note that the references to C++
32540 bits are now obsolete.
32541
2fd89785
MS
325422012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32543
32544 * math/libm-test.inc (check_complex): Use asprintf.
32545
e3ea5409
JM
325462012-11-14 Joseph Myers <joseph@codesourcery.com>
32547
32548 * debug/pcprofiledump.c (print_version): Update copyright year.
32549 * malloc/memusagestat.c (print_version): Likewise.
32550
2e64d265
L
325512012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32552
32553 [BZ #14831]
32554 * elf/Makefile (tests): Add tst-audit8.
32555 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32556 ($(objpfx)tst-audit8.out): New target.
32557 (tst-audit8-ENV): New variable.
32558 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32559 audit if l_reloc_result is NULL.
32560 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32561 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32562 * elf/tst-audit8.c: New file.
32563
c485e4d2
MS
325642012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32565
32566 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32567 * misc/Makefile (CFLAGS-select.c): Define.
32568 * posix/Makefile (CFLAGS-pause.c): Define.
32569
3a0d900a
DM
325702012-11-13 David S. Miller <davem@davemloft.net>
32571
32572 * crypt/Makefile: Move test targets after toplevel Rules
32573 inclusion. Grab any necessary sysdep routines when linking.
32574 * crypt/md5.c (md5_process_block): Remove define, we will always
32575 name it __md5_process_block.
32576 (md5_finish_ctx): Update md5_process_block call.
32577 (md5_stream): Likewise.
32578 (md5_process_bytes): Likewise.
32579 (md5_process_block): Rename to __md5_process_block and move to ...
32580 * crypt/md5-block.c: ... here.
32581 * crypt/sha256.c (sha256_process_block): Move to ...
32582 * crypt/sha256-block.c: ... here.
32583 * crypt/sha512.c (sha512_process_block): Move to ...
32584 * crypt/sha512-block.c: ... here.
32585 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32586 path.
32587 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32588 * sysdeps/sparc/sparc64/multiarch/Makefile
32589 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32590 crypt subdir.
32591 (localedef-aux): Add md5 crypto assembler when in locale subdir.
32592 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32593 multiarch changes.
32594 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32595 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32596 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32597 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32598 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32599 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32600 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32601 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32602 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32603 file.
32604 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32605 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32606 file.
32607 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32608
8ca89318
JM
326092012-11-13 Joseph Myers <joseph@codesourcery.com>
32610
e27d476a
JM
32611 * timezone/tzselect.ksh: Update from tzcode git revision
32612 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32613 * timezone/zdump.c: Likewise.
32614 * timezone/zic.c: Likewise.
32615 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32616 in TZVERSION setting, not $(PKGVERSION).
32617 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32618 REPORT_BUGS_TO settings.
32619
8ca89318
JM
32620 [BZ #14838]
32621 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32622 macro.
32623
47594329
MS
326242012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32625
32626 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32627 detection to immediately after _FP_ROUND().
32628 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32629 bits are 0.
32630
640ac3f1
DM
326312012-11-11 David S. Miller <davem@davemloft.net>
32632
32633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32634 inttypes.h
32635 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32636 __close rather than their public counterparts.
32637
3d2577bb
JM
326382012-11-10 Joseph Myers <joseph@codesourcery.com>
32639
32640 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32641 file.
32642 [UNIX98] (sem_timedwait): Do not expect.
32643 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32644 [XPG4 || UNIX98] (sockatmark): Do not expect.
32645 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32646 (clock_getcpuclockid): Do not expect.
32647 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32648 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32649 Do not expect.
32650 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32651 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32652 [UNIX98] (vwscanf): Likewise.
32653 [UNIX98] (vswscanf): Likewise.
32654
fb1ae1ee
JM
326552012-11-09 Joseph Myers <joseph@codesourcery.com>
32656
9ec6f8bd
JM
32657 * timezone/version.h: Remove file.
32658 * timezone/README: Do not refer to version.h.
32659 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32660 $(objpfx)version.h.
32661 ($(objpfx)zdump.o): Likewise.
c3f81911 32662 ($(objpfx)version.h): New target.
9ec6f8bd 32663
0aa8f8a1
JM
32664 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32665 2012i.
32666 * timezone/README: Don't mention modification to tzselect.ksh.
32667 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32668 work on unmodified tzselect.ksh. Substitute version numbers in
32669 tzselect.ksh.
32670
4e87147f
JM
32671 * Makefile (format-me): Remove.
32672 (INSTALL): Adjust indentation. Use commands directly instead of
32673 using $(format-me).
32674
8b748aed
JM
32675 * aclocal.m4 (ACX_PKGVERSION): New macro.
32676 (ACX_BUGURL): Likewise.
32677 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32678 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32679 (REPORT_BUGS_TO): Likewise.
32680 * configure: Regenerated.
32681 * config.h.in (PKGVERSION): New macro.
32682 (REPORT_BUGS_TO): Likewise.
32683 * config.make.in (PKGVERSION): New variable.
32684 (PKGVERSION_TEXI): Likewise.
32685 (REPORT_BUGS_TO): Likewise.
32686 (REPORT_BUGS_TEXI): Likewise.
32687 * Makefile (format-me): Use -I$(common-objpfx)manual.
32688 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32689 ($(common-objpfx)manual/%): New target.
32690 (manual/%): Remove target.
32691 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32692 (print_version): Use PKGVERSION.
32693 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32694 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32695 and REPORT_BUGS_TO.
32696 ($(objpfx)xtrace): Likewise.
32697 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32698 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32699 (print_version): Use PKGVERSION.
32700 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32701 (do_version): Use PKGVERSION.
32702 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32703 REPORT_BUGS_TO.
32704 (common-ldd-rewrite): Likewise.
32705 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32706 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32707 (print_version): Use PKGVERSION.
32708 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32709 * elf/pldd.c (argp_program_bug_address): Remove variable.
32710 (more_help): New function.
32711 (argp): Use more_help.
32712 (print_version): Use PKGVERSION.
32713 * elf/sln.c (main): Use PKGVERSION.
32714 (usage): Use REPORT_BUGS_TO.
32715 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32716 (top level): Use PKGVERSION.
32717 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32718 (print_version): Use PKGVERSION.
32719 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32720 (print_version): Use PKGVERSION.
32721 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32722 (print_version): Use PKGVERSION.
32723 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32724 (print_version): Use PKGVERSION.
32725 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32726 (print_version): Use PKGVERSION.
32727 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32728 (print_version): Use PKGVERSION.
32729 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32730 and BUGURL.
32731 ($(objpfx)memusage): Likewise.
32732 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32733 (do_version): Use PKGVERSION.
32734 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32735 (print_version): Use PKGVERSION.
32736 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32737 ($PKGVERSION): New variable.
32738 ($REPORT_BUGS_TO): Likewise.
32739 (usage): Use $REPORT_BUGS_TO.
32740 (top level): Use $PKGVERSION.
32741 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32742 ($(objpfx)pkgvers.texi): New rule.
32743 ($(objpfx)stamp-pkgvers): Likewise.
32744 * manual/install.texi: Include pkgvers.texi.
32745 (--with-pkgversion): Document new configure option.
32746 (--with-bugurl): Likewise.
32747 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32748 than necessarily for this particular distribution. Use
32749 REPORT_BUGS_TO for where to report bugs.
32750 * INSTALL: Regenerated.
32751 * manual/libc.texinfo: Include pkgvers.texi.
32752 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32753 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32754 (print_version): Use PKGVERSION.
32755 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32756 (print_version): Use PKGVERSION.
32757 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32758 (print_version): Use PKGVERSION.
32759 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32760 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32761 macro.
32762 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32763 (print_version): Use PKGVERSION.
32764 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32765 (print_version): Use PKGVERSION.
32766 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32767 and PKGVERSION.
32768
92e4b6a9
JM
32769 * timezone/checktab.awk: Update from tzcode 2012i.
32770 * timezone/ialloc.c: Likewise.
32771 * timezone/private.h: Likewise.
32772 * timezone/scheck.c: Likewise.
32773 * timezone/tzfile.h: Likewise.
32774 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32775 (TZVERSION): Hardcode tzcode version number.
32776 * timezone/zdump.c: Update from tzcode 2012i.
32777 * timezone/zic.c: Likewise.
32778 * timezone/version.h: New file.
32779 * timezone/README: Describe version.h. Update upstream location.
32780
9bde902c
JM
32781 [BZ #14824]
32782 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32783 (mktemp): Enable declaration.
32784 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32785 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32786 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32787 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32788 Likewise.
32789 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32790 Likewise.
32791 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32792 Likewise.
32793 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32794 Likewise.
32795 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32796 Likewise.
32797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32798 Likewise.
32799
fb1ae1ee
JM
32800 [BZ #14821]
32801 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32802 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32803 for copies of such integer values.
32804 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32805 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32806
2c1adbcb
AJ
328072012-11-09 Andreas Jaeger <aj@suse.de>
32808
32809 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32810 definitions and declarations that are provided by
32811 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32812
d0f8457e
AK
328132012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32814
3a235abb 32815 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
32816 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32817 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32818 definition.
32819
57241e26
MS
328202012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32821
32822 * elf/elf.h: Update comment before AArch64 relocations.
32823
60e8270d
DM
328242012-11-07 David S. Miller <davem@davemloft.net>
32825
32826 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32827 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32828 (__start_context): Declare.
32829 (__makecontext_ret): Delete.
32830 (__makecontext): Hook up __start_context instead of
32831 __makecontext_ret.
32832 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32833 (sysdep_routines): Add __start_context when in stdlib.
32834
0fbb0fbc
JM
328352012-11-07 Joseph Myers <joseph@codesourcery.com>
32836
32837 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32838 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32839 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32840 hardcoded "nm".
32841 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32842 (READELF): New variable. Use it instead of hardcoded "readelf".
32843
eb48db7e
L
328442012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32845
32846 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32847 * sysdeps/x86/Makefile: Here.
32848 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32849 * sysdeps/x86/tst-xmmymm.sh: This.
32850
05bcf62a
JM
328512012-11-07 Joseph Myers <joseph@codesourcery.com>
32852
c4b6cf53
JM
32853 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32854 expectations.
32855 [UNIX98] (pthread_barrier_t): Do not expect.
32856 [UNIX98] (pthread_barrierattr_t): Likewise.
32857 [UNIX98] (pthread_spinlock_t): Likewise.
32858 [UNIX98] (pthread_barrier_destroy): Likewise.
32859 [UNIX98] (pthread_barrier_init): Likewise.
32860 [UNIX98] (pthread_barrier_wait): Likewise.
32861 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32862 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32863 [UNIX98] (pthread_barrierattr_init): Likewise.
32864 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32865 [UNIX98] (pthread_getcpuclockid): Likewise.
32866 [UNIX98] (pthread_mutex_timedlock): Likewise.
32867 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32868 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32869 [UNIX98] (pthread_sigmask): Likewise.
32870 [UNIX98] (pthread_spin_destroy): Likewise.
32871 [UNIX98] (pthread_spin_init): Likewise.
32872 [UNIX98] (pthread_spin_lock): Likewise.
32873 [UNIX98] (pthread_spin_trylock): Likewise.
32874 [UNIX98] (pthread_spin_unlock): Likewise.
32875 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32876 Do not expect.
32877 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32878 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32879 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32880 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32881 [XPG3 || XPG4] (pthread_key_t): Likewise.
32882 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32883 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32884 [XPG3 || XPG4] (pthread_once_t): Likewise.
32885 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32886 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32887 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32888 [XPG3 || XPG4] (pthread_t): Likewise.
32889
cbe6e120
JM
32890 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32891 not expect.
32892 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32893
1b126443
JM
32894 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32895 Change function return type to int.
32896
b961a573
JM
32897 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32898 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32899 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32900 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32901 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32902 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32903 [!POSIX] (posix_madvise): Likewise.
32904 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32905 && !UNIX98].
32906 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32907 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32908 (mode_t): Likewise.
32909 (posix_mem_offset): Likewise.
32910 (posix_typed_mem_get_info): Likewise.
32911 (posix_typed_mem_open): Likewise.
32912
9e188909
JM
32913 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32914 Change condition to [XOPEN2K8].
32915
05bcf62a
JM
32916 * conform/conformtest.pl: Preprocess allow-header data with -x c
32917 instead of from stdin.
32918 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32919 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32920 [C99-based standards] (cerfc): Likewise.
32921 [C99-based standards] (cexp2): Likewise.
32922 [C99-based standards] (cexpm1): Likewise.
32923 [C99-based standards] (clog10): Likewise.
32924 [C99-based standards] (clog1p): Likewise.
32925 [C99-based standards] (clog2): Likewise.
32926 [C99-based standards] (clgamma): Likewise.
32927 [C99-based standards] (ctgamma): Likewise.
32928 [C99-based standards] (cerff): Likewise.
32929 [C99-based standards] (cerfcf): Likewise.
32930 [C99-based standards] (cexp2f): Likewise.
32931 [C99-based standards] (cexpm1f): Likewise.
32932 [C99-based standards] (clog10f): Likewise.
32933 [C99-based standards] (clog1pf): Likewise.
32934 [C99-based standards] (clog2f): Likewise.
32935 [C99-based standards] (clgammaf): Likewise.
32936 [C99-based standards] (ctgammaf): Likewise.
32937 [C99-based standards] (cerfl): Likewise.
32938 [C99-based standards] (cerfcl): Likewise.
32939 [C99-based standards] (cexp2l): Likewise.
32940 [C99-based standards] (cexpm1l): Likewise.
32941 [C99-based standards] (clog10l): Likewise.
32942 [C99-based standards] (clog1pl): Likewise.
32943 [C99-based standards] (clog2l): Likewise.
32944 [C99-based standards] (clgammal): Likewise.
32945 [C99-based standards] (ctgammal): Likewise.
32946 * conform/data/inttypes.h-data [C99-based standards]: Include
32947 stdint.h-data. Remove all expectations for stdint.h contents.
32948 [C99-based standards] (PRI*): Do not allow.
32949 [C99-based standards] (SCN*): Likewise.
32950 [C99-based standards] (*_t): Likewise.
32951 [C99-based-standards] (PRId8): Expect macro.
32952 [C99-based-standards] (PRIi8): Likewise.
32953 [C99-based-standards] (PRIo8): Likewise.
32954 [C99-based-standards] (PRIu8): Likewise.
32955 [C99-based-standards] (PRIx8): Likewise.
32956 [C99-based-standards] (PRIX8): Likewise.
32957 [C99-based-standards] (SCNd8): Likewise.
32958 [C99-based-standards] (SCNi8): Likewise.
32959 [C99-based-standards] (SCNo8): Likewise.
32960 [C99-based-standards] (SCNu8): Likewise.
32961 [C99-based-standards] (SCNx8): Likewise.
32962 [C99-based-standards] (PRIdLEAST8): Likewise.
32963 [C99-based-standards] (PRIiLEAST8): Likewise.
32964 [C99-based-standards] (PRIoLEAST8): Likewise.
32965 [C99-based-standards] (PRIuLEAST8): Likewise.
32966 [C99-based-standards] (PRIxLEAST8): Likewise.
32967 [C99-based-standards] (PRIXLEAST8): Likewise.
32968 [C99-based-standards] (SCNdLEAST8): Likewise.
32969 [C99-based-standards] (SCNiLEAST8): Likewise.
32970 [C99-based-standards] (SCNoLEAST8): Likewise.
32971 [C99-based-standards] (SCNuLEAST8): Likewise.
32972 [C99-based-standards] (SCNxLEAST8): Likewise.
32973 [C99-based-standards] (PRIdFAST8): Likewise.
32974 [C99-based-standards] (PRIiFAST8): Likewise.
32975 [C99-based-standards] (PRIoFAST8): Likewise.
32976 [C99-based-standards] (PRIuFAST8): Likewise.
32977 [C99-based-standards] (PRIxFAST8): Likewise.
32978 [C99-based-standards] (PRIXFAST8): Likewise.
32979 [C99-based-standards] (SCNdFAST8): Likewise.
32980 [C99-based-standards] (SCNiFAST8): Likewise.
32981 [C99-based-standards] (SCNoFAST8): Likewise.
32982 [C99-based-standards] (SCNuFAST8): Likewise.
32983 [C99-based-standards] (SCNxFAST8): Likewise.
32984 [C99-based-standards] (PRId16): Likewise.
32985 [C99-based-standards] (PRIi16): Likewise.
32986 [C99-based-standards] (PRIo16): Likewise.
32987 [C99-based-standards] (PRIu16): Likewise.
32988 [C99-based-standards] (PRIx16): Likewise.
32989 [C99-based-standards] (PRIX16): Likewise.
32990 [C99-based-standards] (SCNd16): Likewise.
32991 [C99-based-standards] (SCNi16): Likewise.
32992 [C99-based-standards] (SCNo16): Likewise.
32993 [C99-based-standards] (SCNu16): Likewise.
32994 [C99-based-standards] (SCNx16): Likewise.
32995 [C99-based-standards] (PRIdLEAST16): Likewise.
32996 [C99-based-standards] (PRIiLEAST16): Likewise.
32997 [C99-based-standards] (PRIoLEAST16): Likewise.
32998 [C99-based-standards] (PRIuLEAST16): Likewise.
32999 [C99-based-standards] (PRIxLEAST16): Likewise.
33000 [C99-based-standards] (PRIXLEAST16): Likewise.
33001 [C99-based-standards] (SCNdLEAST16): Likewise.
33002 [C99-based-standards] (SCNiLEAST16): Likewise.
33003 [C99-based-standards] (SCNoLEAST16): Likewise.
33004 [C99-based-standards] (SCNuLEAST16): Likewise.
33005 [C99-based-standards] (SCNxLEAST16): Likewise.
33006 [C99-based-standards] (PRIdFAST16): Likewise.
33007 [C99-based-standards] (PRIiFAST16): Likewise.
33008 [C99-based-standards] (PRIoFAST16): Likewise.
33009 [C99-based-standards] (PRIuFAST16): Likewise.
33010 [C99-based-standards] (PRIxFAST16): Likewise.
33011 [C99-based-standards] (PRIXFAST16): Likewise.
33012 [C99-based-standards] (SCNdFAST16): Likewise.
33013 [C99-based-standards] (SCNiFAST16): Likewise.
33014 [C99-based-standards] (SCNoFAST16): Likewise.
33015 [C99-based-standards] (SCNuFAST16): Likewise.
33016 [C99-based-standards] (SCNxFAST16): Likewise.
33017 [C99-based-standards] (PRId32): Likewise.
33018 [C99-based-standards] (PRIi32): Likewise.
33019 [C99-based-standards] (PRIo32): Likewise.
33020 [C99-based-standards] (PRIu32): Likewise.
33021 [C99-based-standards] (PRIx32): Likewise.
33022 [C99-based-standards] (PRIX32): Likewise.
33023 [C99-based-standards] (SCNd32): Likewise.
33024 [C99-based-standards] (SCNi32): Likewise.
33025 [C99-based-standards] (SCNo32): Likewise.
33026 [C99-based-standards] (SCNu32): Likewise.
33027 [C99-based-standards] (SCNx32): Likewise.
33028 [C99-based-standards] (PRIdLEAST32): Likewise.
33029 [C99-based-standards] (PRIiLEAST32): Likewise.
33030 [C99-based-standards] (PRIoLEAST32): Likewise.
33031 [C99-based-standards] (PRIuLEAST32): Likewise.
33032 [C99-based-standards] (PRIxLEAST32): Likewise.
33033 [C99-based-standards] (PRIXLEAST32): Likewise.
33034 [C99-based-standards] (SCNdLEAST32): Likewise.
33035 [C99-based-standards] (SCNiLEAST32): Likewise.
33036 [C99-based-standards] (SCNoLEAST32): Likewise.
33037 [C99-based-standards] (SCNuLEAST32): Likewise.
33038 [C99-based-standards] (SCNxLEAST32): Likewise.
33039 [C99-based-standards] (PRIdFAST32): Likewise.
33040 [C99-based-standards] (PRIiFAST32): Likewise.
33041 [C99-based-standards] (PRIoFAST32): Likewise.
33042 [C99-based-standards] (PRIuFAST32): Likewise.
33043 [C99-based-standards] (PRIxFAST32): Likewise.
33044 [C99-based-standards] (PRIXFAST32): Likewise.
33045 [C99-based-standards] (SCNdFAST32): Likewise.
33046 [C99-based-standards] (SCNiFAST32): Likewise.
33047 [C99-based-standards] (SCNoFAST32): Likewise.
33048 [C99-based-standards] (SCNuFAST32): Likewise.
33049 [C99-based-standards] (SCNxFAST32): Likewise.
33050 [C99-based-standards] (PRId64): Likewise.
33051 [C99-based-standards] (PRIi64): Likewise.
33052 [C99-based-standards] (PRIo64): Likewise.
33053 [C99-based-standards] (PRIu64): Likewise.
33054 [C99-based-standards] (PRIx64): Likewise.
33055 [C99-based-standards] (PRIX64): Likewise.
33056 [C99-based-standards] (SCNd64): Likewise.
33057 [C99-based-standards] (SCNi64): Likewise.
33058 [C99-based-standards] (SCNo64): Likewise.
33059 [C99-based-standards] (SCNu64): Likewise.
33060 [C99-based-standards] (SCNx64): Likewise.
33061 [C99-based-standards] (PRIdLEAST64): Likewise.
33062 [C99-based-standards] (PRIiLEAST64): Likewise.
33063 [C99-based-standards] (PRIoLEAST64): Likewise.
33064 [C99-based-standards] (PRIuLEAST64): Likewise.
33065 [C99-based-standards] (PRIxLEAST64): Likewise.
33066 [C99-based-standards] (PRIXLEAST64): Likewise.
33067 [C99-based-standards] (SCNdLEAST64): Likewise.
33068 [C99-based-standards] (SCNiLEAST64): Likewise.
33069 [C99-based-standards] (SCNoLEAST64): Likewise.
33070 [C99-based-standards] (SCNuLEAST64): Likewise.
33071 [C99-based-standards] (SCNxLEAST64): Likewise.
33072 [C99-based-standards] (PRIdFAST64): Likewise.
33073 [C99-based-standards] (PRIiFAST64): Likewise.
33074 [C99-based-standards] (PRIoFAST64): Likewise.
33075 [C99-based-standards] (PRIuFAST64): Likewise.
33076 [C99-based-standards] (PRIxFAST64): Likewise.
33077 [C99-based-standards] (PRIXFAST64): Likewise.
33078 [C99-based-standards] (SCNdFAST64): Likewise.
33079 [C99-based-standards] (SCNiFAST64): Likewise.
33080 [C99-based-standards] (SCNoFAST64): Likewise.
33081 [C99-based-standards] (SCNuFAST64): Likewise.
33082 [C99-based-standards] (SCNxFAST64): Likewise.
33083 [C99-based-standards] (PRIdMAX): Likewise.
33084 [C99-based-standards] (PRIiMAX): Likewise.
33085 [C99-based-standards] (PRIoMAX): Likewise.
33086 [C99-based-standards] (PRIuMAX): Likewise.
33087 [C99-based-standards] (PRIxMAX): Likewise.
33088 [C99-based-standards] (PRIXMAX): Likewise.
33089 [C99-based-standards] (SCNdMAX): Likewise.
33090 [C99-based-standards] (SCNiMAX): Likewise.
33091 [C99-based-standards] (SCNoMAX): Likewise.
33092 [C99-based-standards] (SCNuMAX): Likewise.
33093 [C99-based-standards] (SCNxMAX): Likewise.
33094 [C99-based-standards] (PRIdPTR): Likewise.
33095 [C99-based-standards] (PRIiPTR): Likewise.
33096 [C99-based-standards] (PRIoPTR): Likewise.
33097 [C99-based-standards] (PRIuPTR): Likewise.
33098 [C99-based-standards] (PRIxPTR): Likewise.
33099 [C99-based-standards] (PRIXPTR): Likewise.
33100 [C99-based-standards] (SCNdPTR): Likewise.
33101 [C99-based-standards] (SCNiPTR): Likewise.
33102 [C99-based-standards] (SCNoPTR): Likewise.
33103 [C99-based-standards] (SCNuPTR): Likewise.
33104 [C99-based-standards] (SCNxPTR): Likewise.
33105 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33106 allow.
33107 * conform/data/stdint.h-data: Update comments to clarify
33108 requirements.
33109 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33110 type.
33111 [C99-based standards] (INT8_MAX): Likewise.
33112 [C99-based standards] (INT16_MIN): Likewise.
33113 [C99-based standards] (INT16_MAX): Likewise.
33114 [C99-based standards] (INT32_MIN): Likewise.
33115 [C99-based standards] (INT32_MAX): Likewise.
33116 [C99-based standards] (INT64_MIN): Likewise.
33117 [C99-based standards] (INT64_MAX): Likewise.
33118 [C99-based standards] (UINT8_MAX): Likewise.
33119 [C99-based standards] (UINT16_MAX): Likewise.
33120 [C99-based standards] (UINT32_MAX): Likewise.
33121 [C99-based standards] (UINT64_MAX): Likewise.
33122 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33123 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33124 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33125 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33126 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33127 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33128 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33129 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33130 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33131 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33132 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33133 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33134 [C99-based standards] (INT_FAST8_MIN): Likewise.
33135 [C99-based standards] (INT_FAST8_MAX): Likewise.
33136 [C99-based standards] (INT_FAST16_MIN): Likewise.
33137 [C99-based standards] (INT_FAST16_MAX): Likewise.
33138 [C99-based standards] (INT_FAST32_MIN): Likewise.
33139 [C99-based standards] (INT_FAST32_MAX): Likewise.
33140 [C99-based standards] (INT_FAST64_MIN): Likewise.
33141 [C99-based standards] (INT_FAST64_MAX): Likewise.
33142 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33143 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33144 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33145 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33146 [C99-based standards] (INTPTR_MIN): Likewise.
33147 [C99-based standards] (INTPTR_MAX): Likewise.
33148 [C99-based standards] (UINTPTR_MAX): Likewise.
33149 [C99-based standards] (INTMAX_MIN): Likewise.
33150 [C99-based standards] (INTMAX_MAX): Likewise.
33151 [C99-based standards] (UINTMAX_MAX): Likewise.
33152 [C99-based standards] (PTRDIFF_MIN): Likewise.
33153 [C99-based standards] (PTRDIFF_MAX): Likewise.
33154 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33155 [C99-based standards] (SIZE_MAX): Likewise.
33156 [C99-based standards] (WCHAR_MAX): Likewise.
33157 [C99-based standards] (WINT_MAX): Likewise.
33158 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33159 constraint on value.
33160 [C99-based standards] (WCHAR_MIN): Likewise.
33161 [C99-based standards] (WINT_MIN): Likewise.
33162 [C99-based standards] (*_t): Allow.
33163 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33164 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33165 Include math.h-data and complex.h-data. Remove all expectations
33166 of math.h and complex.h contents.
33167 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33168 at end of line.
33169 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33170 (struct tm): Expect tag.
33171 [C99-based-standards] (wcstof): Expect function.
33172 [C99-based-standards] (wcstold): Likewise.
33173 [C99-based-standards] (wcstoll): Likewise.
33174 [C99-based-standards] (wcstoull): Likewise.
33175 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33176 macro-int-constant. Specify type.
33177 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33178 constraint on value.
33179 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33180 Specify type.
33181 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33182 Specify value.
33183 [ISO C standards]: Do not allow headers.
33184 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33185 wcs[abcdefghijklmnopqrstuvwxyz]*.
33186 [ISO C standards] (*_t): Do not allow.
33187 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33188 Expect function.
33189 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33190 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33191 Specify type.
33192 [ISO C standards]: Do not allow headers.
33193 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33194 is[abcdefghijklmnopqrstuvwxyz]*.
33195 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33196 to[abcdefghijklmnopqrstuvwxyz]*.
33197 [ISO C standards] (*_t): Do not allow.
33198 * conform/data/stdalign.h-data: New file.
33199 * conform/data/stdbool.h-data: Likewise.
33200 * conform/data/stdnoreturn.h-data: Likewise.
33201
7514feb8
RM
332022012-11-07 Roland McGrath <roland@hack.frob.com>
33203
33204 [BZ #14815]
33205 * manual/filesys.texi (Directory Entries): Typo fix.
33206 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33207
19b2ecfc
MS
332082012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33209
33210 * elf/elf.h (EM_AARCH64): New macro.
33211 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33212 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33213 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33214 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33215 (R_AARCH64_TLSDESC): Likewise.
33216 (NT_ARM_TLS): Likewise.
33217 (NT_ARM_HW_BREAK): Likewise.
33218 (NT_ARM_HW_WATCH): Likewise.
33219
60e235ee
JM
332202012-11-07 Joseph Myers <joseph@codesourcery.com>
33221
33222 [BZ #14811]
33223 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33224 (__ieee754_powl): Saturate nonzero exponents with absolute value
33225 below 0x1p-79 to +/- 0x1p-79.
33226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33227 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33228 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33229 nonzero exponents with absolute value below 0x1p-32 to +/-
33230 0x1p-32.
33231 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33232 (__ieee754_powl): Saturate nonzero exponents with absolute value
33233 below 0x1p-79 to +/- 0x1p-79.
33234 * math/libm-test.inc (pow_test): Add more tests.
33235
0ab234b7
AK
332362012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33237
33238 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33239 _dl_s390_cap_flags with kernel. Increase string length.
33240 (_dl_s390_platforms): Add z196 and zEC12.
33241
45832f74
JM
332422012-11-07 Joseph Myers <joseph@codesourcery.com>
33243
33244 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33245 Change XOPEN21K to XOPEN2K.
33246
19218757
MK
332472012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33248
33249 * string/memmove.c: Use memcpy when possible.
33250
c5f45721
AJ
332512012-11-06 Andreas Jaeger <aj@suse.de>
33252
33253 * po/eo.po: Update from translation team.
33254
82477c28
JM
332552012-11-06 Joseph Myers <joseph@codesourcery.com>
33256
33257 [BZ #14793]
33258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33259 exponent and small x and y exponents, scale x or y up. Increase
33260 by 2 the exponent used in scaling up.
33261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33263 * math/libm-test.inc (fma_test): Add more tests.
33264 (fma_test_towardzero): Likewise.
33265 (fma_test_downward): Likewise.
33266 (fma_test_upward): Likewise.
33267
99252c8c
JM
332682012-11-05 Joseph Myers <joseph@codesourcery.com>
33269
acfa885f
JM
33270 [BZ #14805]
33271 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33272 fenv_t *.
33273
99252c8c
JM
33274 [BZ #14801]
33275 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33276 namespace for names of struct fields.
33277 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33278 fenv_t fields.
33279 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33280 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33281
d6d98dea
ST
332822012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33283
33284 [BZ #3665]
33285 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33286
e10bb107
TS
332872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33288
33289 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33290 PTR_DEMANGLE.
33291
33292 [BZ #5246]
33293 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33294 PTR_DEMANGLE.
33295
a0c2940d
JM
332962012-11-04 Joseph Myers <joseph@codesourcery.com>
33297
33298 [BZ #14797]
33299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33300 definitely overflow as x * y not x * y + z.
33301 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33302 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33303 * math/libm-test.inc (fma_test): Add more tests.
33304 (fma_test_towardzero): Likewise.
33305 (fma_test_downward): Likewise.
33306 (fma_test_upward): Likewise.
33307
b830319d
TS
333082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33309
33310 [BZ #157]
33311
33312 * include/stub-tag.h: Remove file.
33313 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33314 '#include' of it.
33315 * manual/maint.texi (Porting): Don't reference it.
33316 * Makerules ($(objpfx)stubs): Likewise.
33317 * dirent/closedir.c: Don't include <stub-tag.h>.
33318 * dirent/dirfd.c: Likewise.
33319 * dirent/fdopendir.c: Likewise.
33320 * dirent/getdents.c: Likewise.
33321 * dirent/getdents64.c: Likewise.
33322 * dirent/opendir.c: Likewise.
33323 * dirent/readdir.c: Likewise.
33324 * dirent/readdir64.c: Likewise.
33325 * dirent/readdir64_r.c: Likewise.
33326 * dirent/readdir_r.c: Likewise.
33327 * dirent/rewinddir.c: Likewise.
33328 * dirent/seekdir.c: Likewise.
33329 * dirent/telldir.c: Likewise.
33330 * gmon/profil.c: Likewise.
33331 * grp/setgroups.c: Likewise.
33332 * inet/if_index.c: Likewise.
33333 * io/access.c: Likewise.
33334 * io/chdir.c: Likewise.
33335 * io/chmod.c: Likewise.
33336 * io/chown.c: Likewise.
33337 * io/close.c: Likewise.
33338 * io/dup.c: Likewise.
33339 * io/dup2.c: Likewise.
33340 * io/dup3.c: Likewise.
33341 * io/euidaccess.c: Likewise.
33342 * io/faccessat.c: Likewise.
33343 * io/fchdir.c: Likewise.
33344 * io/fchmod.c: Likewise.
33345 * io/fchmodat.c: Likewise.
33346 * io/fchown.c: Likewise.
33347 * io/fchownat.c: Likewise.
33348 * io/fcntl.c: Likewise.
33349 * io/flock.c: Likewise.
33350 * io/fstatfs.c: Likewise.
33351 * io/fstatfs64.c: Likewise.
33352 * io/fstatvfs.c: Likewise.
33353 * io/fstatvfs64.c: Likewise.
33354 * io/futimens.c: Likewise.
33355 * io/fxstat.c: Likewise.
33356 * io/fxstat64.c: Likewise.
33357 * io/fxstatat.c: Likewise.
33358 * io/fxstatat64.c: Likewise.
33359 * io/getcwd.c: Likewise.
33360 * io/isatty.c: Likewise.
33361 * io/lchmod.c: Likewise.
33362 * io/lchown.c: Likewise.
33363 * io/link.c: Likewise.
33364 * io/linkat.c: Likewise.
33365 * io/lseek.c: Likewise.
33366 * io/lseek64.c: Likewise.
33367 * io/lxstat64.c: Likewise.
33368 * io/mkdir.c: Likewise.
33369 * io/mkdirat.c: Likewise.
33370 * io/mkfifo.c: Likewise.
33371 * io/mkfifoat.c: Likewise.
33372 * io/open.c: Likewise.
33373 * io/open64.c: Likewise.
33374 * io/openat.c: Likewise.
33375 * io/openat64.c: Likewise.
33376 * io/pipe.c: Likewise.
33377 * io/pipe2.c: Likewise.
33378 * io/poll.c: Likewise.
33379 * io/posix_fadvise.c: Likewise.
33380 * io/posix_fadvise64.c: Likewise.
33381 * io/posix_fallocate.c: Likewise.
33382 * io/posix_fallocate64.c: Likewise.
33383 * io/read.c: Likewise.
33384 * io/readlink.c: Likewise.
33385 * io/readlinkat.c: Likewise.
33386 * io/rmdir.c: Likewise.
33387 * io/sendfile.c: Likewise.
33388 * io/sendfile64.c: Likewise.
33389 * io/statfs.c: Likewise.
33390 * io/statfs64.c: Likewise.
33391 * io/statvfs.c: Likewise.
33392 * io/statvfs64.c: Likewise.
33393 * io/symlink.c: Likewise.
33394 * io/symlinkat.c: Likewise.
33395 * io/ttyname.c: Likewise.
33396 * io/ttyname_r.c: Likewise.
33397 * io/umask.c: Likewise.
33398 * io/unlink.c: Likewise.
33399 * io/unlinkat.c: Likewise.
33400 * io/utime.c: Likewise.
33401 * io/utimensat.c: Likewise.
33402 * io/write.c: Likewise.
33403 * io/xmknod.c: Likewise.
33404 * io/xmknodat.c: Likewise.
33405 * io/xstat.c: Likewise.
33406 * io/xstat64.c: Likewise.
33407 * login/getpt.c: Likewise.
33408 * login/grantpt.c: Likewise.
33409 * login/unlockpt.c: Likewise.
33410 * math/e_acoshl.c: Likewise.
33411 * math/e_acosl.c: Likewise.
33412 * math/e_asinl.c: Likewise.
33413 * math/e_atan2l.c: Likewise.
33414 * math/e_atanhl.c: Likewise.
33415 * math/e_coshl.c: Likewise.
33416 * math/e_expl.c: Likewise.
33417 * math/e_fmodl.c: Likewise.
33418 * math/e_gammal_r.c: Likewise.
33419 * math/e_hypotl.c: Likewise.
33420 * math/e_j0l.c: Likewise.
33421 * math/e_j1l.c: Likewise.
33422 * math/e_jnl.c: Likewise.
33423 * math/e_lgammal_r.c: Likewise.
33424 * math/e_log10l.c: Likewise.
33425 * math/e_log2l.c: Likewise.
33426 * math/e_logl.c: Likewise.
33427 * math/e_powl.c: Likewise.
33428 * math/e_rem_pio2l.c: Likewise.
33429 * math/e_sinhl.c: Likewise.
33430 * math/e_sqrtl.c: Likewise.
33431 * math/fclrexcpt.c: Likewise.
33432 * math/fedisblxcpt.c: Likewise.
33433 * math/feenablxcpt.c: Likewise.
33434 * math/fegetenv.c: Likewise.
33435 * math/fegetexcept.c: Likewise.
33436 * math/fegetround.c: Likewise.
33437 * math/feholdexcpt.c: Likewise.
33438 * math/fesetenv.c: Likewise.
33439 * math/fesetround.c: Likewise.
33440 * math/feupdateenv.c: Likewise.
33441 * math/fgetexcptflg.c: Likewise.
33442 * math/fraiseexcpt.c: Likewise.
33443 * math/fsetexcptflg.c: Likewise.
33444 * math/ftestexcept.c: Likewise.
33445 * math/k_cosl.c: Likewise.
33446 * math/k_rem_pio2l.c: Likewise.
33447 * math/k_sinl.c: Likewise.
33448 * math/k_tanl.c: Likewise.
33449 * math/s_asinhl.c: Likewise.
33450 * math/s_atanl.c: Likewise.
33451 * math/s_cbrtl.c: Likewise.
33452 * math/s_erfl.c: Likewise.
33453 * math/s_expm1l.c: Likewise.
33454 * math/s_log1pl.c: Likewise.
33455 * math/s_tanhl.c: Likewise.
33456 * misc/acct.c: Likewise.
33457 * misc/brk.c: Likewise.
33458 * misc/chflags.c: Likewise.
33459 * misc/chroot.c: Likewise.
33460 * misc/fchflags.c: Likewise.
33461 * misc/fgetxattr.c: Likewise.
33462 * misc/flistxattr.c: Likewise.
33463 * misc/fremovexattr.c: Likewise.
33464 * misc/fsetxattr.c: Likewise.
33465 * misc/fsync.c: Likewise.
33466 * misc/ftruncate.c: Likewise.
33467 * misc/futimes.c: Likewise.
33468 * misc/futimesat.c: Likewise.
33469 * misc/getdomain.c: Likewise.
33470 * misc/getdtsz.c: Likewise.
33471 * misc/gethostid.c: Likewise.
33472 * misc/gethostname.c: Likewise.
33473 * misc/getloadavg.c: Likewise.
33474 * misc/getpagesize.c: Likewise.
33475 * misc/getsysstats.c: Likewise.
33476 * misc/getxattr.c: Likewise.
33477 * misc/gtty.c: Likewise.
33478 * misc/ioctl.c: Likewise.
33479 * misc/lgetxattr.c: Likewise.
33480 * misc/listxattr.c: Likewise.
33481 * misc/llistxattr.c: Likewise.
33482 * misc/lremovexattr.c: Likewise.
33483 * misc/lsetxattr.c: Likewise.
33484 * misc/lutimes.c: Likewise.
33485 * misc/madvise.c: Likewise.
33486 * misc/mincore.c: Likewise.
33487 * misc/mlock.c: Likewise.
33488 * misc/mlockall.c: Likewise.
33489 * misc/mmap.c: Likewise.
33490 * misc/mprotect.c: Likewise.
33491 * misc/msync.c: Likewise.
33492 * misc/munlock.c: Likewise.
33493 * misc/munlockall.c: Likewise.
33494 * misc/munmap.c: Likewise.
33495 * misc/preadv.c: Likewise.
33496 * misc/preadv64.c: Likewise.
33497 * misc/ptrace.c: Likewise.
33498 * misc/pwritev.c: Likewise.
33499 * misc/pwritev64.c: Likewise.
33500 * misc/readv.c: Likewise.
33501 * misc/reboot.c: Likewise.
33502 * misc/remap_file_pages.c: Likewise.
33503 * misc/removexattr.c: Likewise.
33504 * misc/revoke.c: Likewise.
33505 * misc/select.c: Likewise.
33506 * misc/setdomain.c: Likewise.
33507 * misc/setegid.c: Likewise.
33508 * misc/seteuid.c: Likewise.
33509 * misc/sethostid.c: Likewise.
33510 * misc/sethostname.c: Likewise.
33511 * misc/setregid.c: Likewise.
33512 * misc/setreuid.c: Likewise.
33513 * misc/setxattr.c: Likewise.
33514 * misc/sstk.c: Likewise.
33515 * misc/stty.c: Likewise.
33516 * misc/swapoff.c: Likewise.
33517 * misc/swapon.c: Likewise.
33518 * misc/sync.c: Likewise.
33519 * misc/syncfs.c: Likewise.
33520 * misc/syscall.c: Likewise.
33521 * misc/truncate.c: Likewise.
33522 * misc/ualarm.c: Likewise.
33523 * misc/usleep.c: Likewise.
33524 * misc/ustat.c: Likewise.
33525 * misc/utimes.c: Likewise.
33526 * misc/vhangup.c: Likewise.
33527 * misc/writev.c: Likewise.
33528 * posix/_exit.c: Likewise.
33529 * posix/alarm.c: Likewise.
33530 * posix/execve.c: Likewise.
33531 * posix/fexecve.c: Likewise.
33532 * posix/fork.c: Likewise.
33533 * posix/fpathconf.c: Likewise.
33534 * posix/getaddrinfo.c: Likewise.
33535 * posix/getegid.c: Likewise.
33536 * posix/geteuid.c: Likewise.
33537 * posix/getgid.c: Likewise.
33538 * posix/getgroups.c: Likewise.
33539 * posix/getlogin.c: Likewise.
33540 * posix/getlogin_r.c: Likewise.
33541 * posix/getpgid.c: Likewise.
33542 * posix/getpid.c: Likewise.
33543 * posix/getppid.c: Likewise.
33544 * posix/getresgid.c: Likewise.
33545 * posix/getresuid.c: Likewise.
33546 * posix/getsid.c: Likewise.
33547 * posix/getuid.c: Likewise.
33548 * posix/glob64.c: Likewise.
33549 * posix/nanosleep.c: Likewise.
33550 * posix/pathconf.c: Likewise.
33551 * posix/pause.c: Likewise.
33552 * posix/posix_madvise.c: Likewise.
33553 * posix/pread.c: Likewise.
33554 * posix/pread64.c: Likewise.
33555 * posix/pwrite.c: Likewise.
33556 * posix/pwrite64.c: Likewise.
33557 * posix/sched_getaffinity.c: Likewise.
33558 * posix/sched_getp.c: Likewise.
33559 * posix/sched_gets.c: Likewise.
33560 * posix/sched_primax.c: Likewise.
33561 * posix/sched_primin.c: Likewise.
33562 * posix/sched_rr_gi.c: Likewise.
33563 * posix/sched_setaffinity.c: Likewise.
33564 * posix/sched_setp.c: Likewise.
33565 * posix/sched_sets.c: Likewise.
33566 * posix/sched_yield.c: Likewise.
33567 * posix/setgid.c: Likewise.
33568 * posix/setlogin.c: Likewise.
33569 * posix/setpgid.c: Likewise.
33570 * posix/setresgid.c: Likewise.
33571 * posix/setresuid.c: Likewise.
33572 * posix/setsid.c: Likewise.
33573 * posix/setuid.c: Likewise.
33574 * posix/sleep.c: Likewise.
33575 * posix/spawni.c: Likewise.
33576 * posix/sysconf.c: Likewise.
33577 * posix/times.c: Likewise.
33578 * posix/wait.c: Likewise.
33579 * posix/wait3.c: Likewise.
33580 * posix/wait4.c: Likewise.
33581 * posix/waitpid.c: Likewise.
33582 * resolv/gai_sigqueue.c: Likewise.
33583 * resource/getpriority.c: Likewise.
33584 * resource/getrlimit.c: Likewise.
33585 * resource/getrusage.c: Likewise.
33586 * resource/nice.c: Likewise.
33587 * resource/setpriority.c: Likewise.
33588 * resource/setrlimit.c: Likewise.
33589 * resource/ulimit.c: Likewise.
33590 * rt/aio_cancel.c: Likewise.
33591 * rt/aio_fsync.c: Likewise.
33592 * rt/aio_read.c: Likewise.
33593 * rt/aio_sigqueue.c: Likewise.
33594 * rt/aio_suspend.c: Likewise.
33595 * rt/aio_write.c: Likewise.
33596 * rt/clock_getres.c: Likewise.
33597 * rt/clock_gettime.c: Likewise.
33598 * rt/clock_nanosleep.c: Likewise.
33599 * rt/clock_settime.c: Likewise.
33600 * rt/lio_listio.c: Likewise.
33601 * rt/mq_close.c: Likewise.
33602 * rt/mq_getattr.c: Likewise.
33603 * rt/mq_notify.c: Likewise.
33604 * rt/mq_open.c: Likewise.
33605 * rt/mq_receive.c: Likewise.
33606 * rt/mq_send.c: Likewise.
33607 * rt/mq_setattr.c: Likewise.
33608 * rt/mq_timedreceive.c: Likewise.
33609 * rt/mq_timedsend.c: Likewise.
33610 * rt/mq_unlink.c: Likewise.
33611 * rt/shm_open.c: Likewise.
33612 * rt/shm_unlink.c: Likewise.
33613 * rt/timer_create.c: Likewise.
33614 * rt/timer_delete.c: Likewise.
33615 * rt/timer_getoverr.c: Likewise.
33616 * rt/timer_gettime.c: Likewise.
33617 * rt/timer_settime.c: Likewise.
33618 * setjmp/__longjmp.c: Likewise.
33619 * setjmp/setjmp.c: Likewise.
33620 * signal/kill.c: Likewise.
33621 * signal/killpg.c: Likewise.
33622 * signal/raise.c: Likewise.
33623 * signal/sigaction.c: Likewise.
33624 * signal/sigaltstack.c: Likewise.
33625 * signal/sigblock.c: Likewise.
33626 * signal/sigignore.c: Likewise.
33627 * signal/sigintr.c: Likewise.
33628 * signal/signal.c: Likewise.
33629 * signal/sigpause.c: Likewise.
33630 * signal/sigpending.c: Likewise.
33631 * signal/sigqueue.c: Likewise.
33632 * signal/sigreturn.c: Likewise.
33633 * signal/sigset.c: Likewise.
33634 * signal/sigsetmask.c: Likewise.
33635 * signal/sigstack.c: Likewise.
33636 * signal/sigsuspend.c: Likewise.
33637 * signal/sigtimedwait.c: Likewise.
33638 * signal/sigvec.c: Likewise.
33639 * signal/sigwait.c: Likewise.
33640 * signal/sigwaitinfo.c: Likewise.
33641 * signal/sysv_signal.c: Likewise.
33642 * socket/accept.c: Likewise.
33643 * socket/accept4.c: Likewise.
33644 * socket/bind.c: Likewise.
33645 * socket/connect.c: Likewise.
33646 * socket/getpeername.c: Likewise.
33647 * socket/getsockname.c: Likewise.
33648 * socket/getsockopt.c: Likewise.
33649 * socket/isfdtype.c: Likewise.
33650 * socket/listen.c: Likewise.
33651 * socket/recv.c: Likewise.
33652 * socket/recvfrom.c: Likewise.
33653 * socket/recvmsg.c: Likewise.
33654 * socket/send.c: Likewise.
33655 * socket/sendmsg.c: Likewise.
33656 * socket/sendto.c: Likewise.
33657 * socket/setsockopt.c: Likewise.
33658 * socket/shutdown.c: Likewise.
33659 * socket/sockatmark.c: Likewise.
33660 * socket/socket.c: Likewise.
33661 * socket/socketpair.c: Likewise.
33662 * stdio-common/ctermid.c: Likewise.
33663 * stdio-common/cuserid.c: Likewise.
33664 * stdio-common/remove.c: Likewise.
33665 * stdio-common/rename.c: Likewise.
33666 * stdio-common/renameat.c: Likewise.
33667 * stdio-common/tempname.c: Likewise.
33668 * stdlib/getcontext.c: Likewise.
33669 * stdlib/makecontext.c: Likewise.
33670 * stdlib/setcontext.c: Likewise.
33671 * stdlib/swapcontext.c: Likewise.
33672 * stdlib/system.c: Likewise.
33673 * streams/fattach.c: Likewise.
33674 * streams/fdetach.c: Likewise.
33675 * streams/getmsg.c: Likewise.
33676 * streams/getpmsg.c: Likewise.
33677 * streams/putmsg.c: Likewise.
33678 * streams/putpmsg.c: Likewise.
33679 * sysdeps/unix/bsd/getpt.c: Likewise.
33680 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33681 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33682 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33684 Likewise.
33685 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33686 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33687 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33688 * sysvipc/msgctl.c: Likewise.
33689 * sysvipc/msgget.c: Likewise.
33690 * sysvipc/msgrcv.c: Likewise.
33691 * sysvipc/msgsnd.c: Likewise.
33692 * sysvipc/semctl.c: Likewise.
33693 * sysvipc/semget.c: Likewise.
33694 * sysvipc/semop.c: Likewise.
33695 * sysvipc/semtimedop.c: Likewise.
33696 * sysvipc/shmat.c: Likewise.
33697 * sysvipc/shmctl.c: Likewise.
33698 * sysvipc/shmdt.c: Likewise.
33699 * sysvipc/shmget.c: Likewise.
33700 * termios/tcdrain.c: Likewise.
33701 * termios/tcflow.c: Likewise.
33702 * termios/tcflush.c: Likewise.
33703 * termios/tcgetattr.c: Likewise.
33704 * termios/tcgetpgrp.c: Likewise.
33705 * termios/tcsendbrk.c: Likewise.
33706 * termios/tcsetattr.c: Likewise.
33707 * termios/tcsetpgrp.c: Likewise.
33708 * time/adjtime.c: Likewise.
33709 * time/clock.c: Likewise.
33710 * time/getitimer.c: Likewise.
33711 * time/gettimeofday.c: Likewise.
33712 * time/setitimer.c: Likewise.
33713 * time/settimeofday.c: Likewise.
33714 * time/stime.c: Likewise.
33715 * time/time.c: Likewise.
33716
337172012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 33718
a20492cf
PT
33719 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33720 /usr/old/bin.
33721
72e182e3
PT
33722 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33723 instead of spaces.
33724 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33725
fbeafede
JM
337262012-11-03 Joseph Myers <joseph@codesourcery.com>
33727
5b5b04d6
JM
33728 [BZ #14796]
33729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33730 FE_TONEAREST before applying Dekker multiplication and Knuth
33731 addition. Clear inexact exceptions and check for exact zero
33732 results afterwards.
33733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33734 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33736 * math/libm-test.inc (fma_test): Add more tests.
33737 (fma_test_towardzero): Likewise.
33738 (fma_test_downward): Likewise.
33739 (fma_test_upward): Likewise.
33740 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33741 function.
33742 (libc_fesetround): New macro.
33743 (libc_fesetroundf): Likewise.
33744 (libc_fesetroundl): Likewise.
33745 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33746 function.
33747 (libc_fesetround_387): Likewise.
33748 (libc_fesetroundf): New macro.
33749 (libc_fesetround): Likewise.
33750 (libc_fesetroundl): Likewise.
33751 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33752 function.
33753 (libc_fesetroundf): New macro.
33754 (libc_fesetround): Likewise.
33755 (libc_fesetroundl): Likewise.
33756 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33757 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33758 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33759 libm_hidden_ver.
33760 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33761 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33762 libm_hidden_def.
33763 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33764 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33765 libm_hidden_ver.
33766 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33767 libm_hidden_def.
33768
fbeafede
JM
33769 [BZ #3439]
33770 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33771 integer constant usable in #if and use that to give value to enum
33772 constant.
33773 (FE_DIVBYZERO): Likewise.
33774 (FE_UNDERFLOW): Likewise.
33775 (FE_OVERFLOW): Likewise.
33776 (FE_INVALID): Likewise.
33777 (FE_INVALID_SNAN): Likewise.
33778 (FE_INVALID_ISI): Likewise.
33779 (FE_INVALID_IDI): Likewise.
33780 (FE_INVALID_ZDZ): Likewise.
33781 (FE_INVALID_IMZ): Likewise.
33782 (FE_INVALID_COMPARE): Likewise.
33783 (FE_INVALID_SOFTWARE): Likewise.
33784 (FE_INVALID_SQRT): Likewise.
33785 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33786 (FE_TONEAREST): Likewise.
33787 (FE_TOWARDZERO): Likewise.
33788 (FE_UPWARD): Likewise.
33789 (FE_DOWNWARD): Likewise.
33790 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33791 (FE_DIVBYZERO): Likewise.
33792 (FE_OVERFLOW): Likewise.
33793 (FE_UNDERFLOW): Likewise.
33794 (FE_INEXACT): Likewise.
33795 (FE_TONEAREST): Likewise.
33796 (FE_DOWNWARD): Likewise.
33797 (FE_UPWARD): Likewise.
33798 (FE_TOWARDZERO): Likewise.
33799 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33800 (FE_UNDERFLOW): Likewise.
33801 (FE_OVERFLOW): Likewise.
33802 (FE_DIVBYZERO): Likewise.
33803 (FE_INVALID): Likewise.
33804 (FE_TONEAREST): Likewise.
33805 (FE_TOWARDZERO): Likewise.
33806 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33807 (FE_OVERFLOW): Likewise.
33808 (FE_UNDERFLOW): Likewise.
33809 (FE_DIVBYZERO): Likewise.
33810 (FE_INEXACT): Likewise.
33811 (FE_TONEAREST): Likewise.
33812 (FE_TOWARDZERO): Likewise.
33813 (FE_UPWARD): Likewise.
33814 (FE_DOWNWARD): Likewise.
33815 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33816 (FE_DIVBYZERO): Likewise.
33817 (FE_OVERFLOW): Likewise.
33818 (FE_UNDERFLOW): Likewise.
33819 (FE_INEXACT): Likewise.
33820 (FE_TONEAREST): Likewise.
33821 (FE_DOWNWARD): Likewise.
33822 (FE_UPWARD): Likewise.
33823 (FE_TOWARDZERO): Likewise.
33824
105ca950
CM
338252012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33826
33827 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33828
a542b389
AS
338292012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33830
33831 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33832 commands. Quote $PWD.
33833 (blacklist_exports): Don't use remove_newlines. Replace "declare
33834 -x" by "export".
33835 (remove_newlines): Remove.
33836
f62c8abc
L
338372012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33838
33839 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33840 * stdlib/stdlib.h (atof): Moved to ...
33841 * include/bits/stdlib-float.h: Here. New file.
33842 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33843 * stdlib/bits/stdlib-float.h: New file.
33844 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33845 -mno-sse -mno-mmx.
33846 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33847 <xmmintrin.h>.
33848
0155d5b2
JM
338492012-11-02 Joseph Myers <joseph@codesourcery.com>
33850
a68d0680
JM
33851 * conform/conformtest.pl (@headers): Add fenv.h.
33852 * conform/data/fenv.h-data: New file.
33853 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33854 include of <math/fenv.h>.
33855
caf7f573
JM
33856 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33857 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33858 && !UNIX98]. Enables tests for XOPEN2K8.
33859 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33860 POSIX2008]: Likewise.
33861
6c073ad6
JM
33862 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33863 (struct rusage): Do not expect type or its members.
33864
0155d5b2
JM
33865 [BZ #3439]
33866 * math/math.h (FP_NAN): Define macro to integer constant usable in
33867 #if and use that to give value to enum constant.
33868 (FP_INFINITE): Likewise.
33869 (FP_ZERO): Likewise.
33870 (FP_SUBNORMAL): Likewise.
33871 (FP_NORMAL): Likewise.
33872
b5dcacb4
AS
338732012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33874
33875 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33876 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33877 arguments.
33878
f7934be8
RM
338792012-11-02 Roland McGrath <roland@hack.frob.com>
33880
33881 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33882 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33883 autoconf-time if not.
33884 * configure.in: Remove AC_PREREQ.
33885
d7d08bde
TMQMF
338862012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33887
33888 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33889 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33890 of the internal implementation.
33891
dcdae19a
JM
338922012-11-02 Joseph Myers <joseph@codesourcery.com>
33893
33894 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33895 except include of <misc/sys/syslog.h>.
33896
d6cffd3e
AS
338972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33898
33899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33900 function returns with a NULL context exit with zero.
33901
b3563932
TMQMF
339022012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33903
33904 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33905
b288a93d
L
339062012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33907
33908 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33909 (run_program_cmd): This.
33910 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33911 (tst_langinfo): New variable. Use it.
33912
a2421a68
SAS
339132012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33914
33915 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33916 floating point opcodes.
33917
6f796e1b
TS
339182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33919
7402596b
TS
33920 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33921 variable.
33922
d0d4f868
TS
33923 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33924
6f796e1b
TS
33925 * sysdeps/mach/hurd/powerpc: Remove directory.
33926 * sysdeps/mach/powerpc: Likewise.
33927
4da224a2
AS
339282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33929
33930 * scripts/check-local-headers.sh: Ignore c++ headers.
33931
341dd673
TS
339322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33933
33934 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33935 __libc_cleanup_region_start argument.
33936
473611b2
JM
339372012-11-01 Joseph Myers <joseph@codesourcery.com>
33938
33939 [BZ #14784]
33940 [BZ #14785]
33941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33942 x * y using scaling, not as x * y + z.
33943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33944 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33945 * math/libm-test.inc (fma_test): Add more tests.
33946 (fma_test_towardzero): Likewise.
33947 (fma_test_downward): Likewise.
33948 (fma_test_upward): Likewise.
33949
4078da3d
TS
339502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33951
33952 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33953
903252aa
JM
339542012-10-31 Joseph Myers <joseph@codesourcery.com>
33955
33956 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33957 New variable.
33958
cbc818d0
TS
339592012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33960
33961 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33962
5a03cb1e
AS
339632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33964
33965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33966 Fix sort order.
33967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33968 Likewise.
33969
90aff2ff
TMQMF
339702012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33971
33972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33973 Fix the order of the list for glibc 2.17.
33974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33975 Likewise.
33976
1818fcb7
AS
339772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33978
33979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33980
ef82f4da
JM
339812012-10-31 Joseph Myers <joseph@codesourcery.com>
33982
16a0e2ec
JM
33983 [BZ #14610]
33984 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33985 for low part of x being zero before using __atanl (y).
33986 * math/libm-test.inc (atan2_test): Add another test.
33987
0eb69512
JM
33988 * manual/install.texi (Configuring and compiling): Document
33989 general use of test-wrapper and test-wrapper-env.
33990 * INSTALL: Regenerated.
33991
ef82f4da
JM
33992 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33993 (__fma): Do not extract and scale down low bits on after-rounding
33994 systems when result rounded to normal precision would have normal
33995 exponent.
33996 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33997 (__fmal): Do not extract and scale down low bits on after-rounding
33998 systems when result rounded to normal precision would have normal
33999 exponent.
34000 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34001 (__fmal): Do not extract and scale down low bits on after-rounding
34002 systems when result rounded to normal precision would have normal
34003 exponent.
34004 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34005 macro.
34006 (fma_test): Add more tests.
34007 (fma_test_towardzero): Likewise.
34008 (fma_test_downward): Likewise.
34009 (fma_test_upward): Likewise.
34010
954ef0d9
L
340112012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34012
34013 * sysdeps/i386/tininess.h: Renamed to ...
34014 * sysdeps/x86/tininess.h: This.
34015 * sysdeps/x86_64/tininess.h: Removed.
34016
df61ffb2
JM
340172012-10-30 Joseph Myers <joseph@codesourcery.com>
34018
34019 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34020 input. Use $(build-program-cmd).
34021 ($(objpfx)tst-array1-static.out): Likewise.
34022 ($(objpfx)tst-array2.out): Likewise.
34023 ($(objpfx)tst-array3.out): Likewise.
34024 ($(objpfx)tst-array4.out): Likewise.
34025 ($(objpfx)tst-array5.out): Likewise.
34026 ($(objpfx)tst-array5-static.out): Likewise.
34027
01767843
CM
340282012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34029
47cc1490
CM
34030 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34031 if defined.
34032
01767843
CM
34033 * nss/nsswitch.h (nss_interface_function): Provide new
34034 macro for use with NSS functions.
34035 * grp/initgroups.c: Use new macro.
34036 * nss/getXXbyYY.c: Likewise.
34037 * nss/getXXbyYY_r.c: Likewise.
34038 * nss/getXXent.c: Likewise.
34039 * nss/getXXent_r.c: Likewise.
34040 * sysdeps/posix/getaddrinfo.c: Likewise.
34041
8321aa97
AJ
340422012-10-30 Andreas Jaeger <aj@suse.de>
34043
34044 * po/ru.po: Update Russion translation from translation project.
34045
2a27fd6d
JM
340462012-10-30 Joseph Myers <joseph@codesourcery.com>
34047
8627a232
JM
34048 [BZ #14152]
34049 [BZ #14783]
34050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34051 result and shift together with sticky bit instead of replicating
34052 round-to-nearest rounding.
34053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34055 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34056 missing underflow exceptions.
34057 (fma_test_towardzero): Add more tests.
34058 (fma_test_downward): Likewise.
34059 (fma_test_upward): Likewise.
34060
2a27fd6d
JM
34061 [BZ #14047]
34062 * sysdeps/generic/tininess.h: New file.
34063 * sysdeps/i386/tininess.h: Likewise.
34064 * sysdeps/sh/tininess.h: Likewise.
34065 * sysdeps/x86_64/tininess.h: Likewise.
34066 * stdlib/tst-strtod-underflow.c: Likewise.
34067 * stdlib/tst-tininess.c: Likewise.
34068 * stdlib/strtod_l.c: Include <tininess.h>.
34069 (round_and_return): Do not set errno for exact underflow cases.
34070 Force an underflow exception when setting errno for underflow.
34071 Determine underflow based on rounding to normal precision if
34072 TININESS_AFTER_ROUNDING.
34073 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34074 ERANGE for exact underflow cases.
34075 * stdlib/Makefile (tests): Add tst-tininess and
34076 tst-strtod-underflow.
34077 ($(objpfx)tst-tininess): Use $(link-libm).
34078 ($(objpfx)tst-strtod-underflow): Likewise.
34079
e7170363
AJ
340802012-10-30 Andreas Jaeger <aj@suse.de>
34081
e5088dc6
AJ
34082 [BZ#14767]
34083 * elf/Makefile (tests): Remove conditional for have-initfini-array
34084 since this is now always required and the variable does not exist
34085 anymore.
34086 (tests-static): Likewise.
34087 (modules-names): Likewise.
34088
e7170363 34089 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
34090
34091 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34092 merged with constructor/destructor.
34093 (init_array): Likewise.
34094 * elf/tst-array2dep.c (fini_array): Likewise.
34095 (init_array): Likewise.
34096
60457d8a
MF
340972012-10-29 Mike Frysinger <vapier@gentoo.org>
34098
34099 * manual/message.texi: Delete @cartouche tags.
34100
8bece752
PT
341012012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34102
94ce799f
PT
34103 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34104 EOPNOTSUPP.
34105 * sysdeps/mach/hurd/fsync.c: Likewise.
34106
8bece752
PT
34107 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34108 [_POSIX_REALTIME_SIGNALS]: Change condition to
34109 [_POSIX_REALTIME_SIGNALS > 0].
34110
86ebe6b1
AJ
341112012-10-27 Andreas Jaeger <aj@suse.de>
34112
34113 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34114 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34116 [__WORDSIZE != 64]: Likewise.
34117
54399c08
L
341182012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34119
34120 * iconvdata/tst-table.sh: Remove ${SHELL}.
34121 * iconvdata/tst-tables.sh: Likewise.
34122
e2211bed
DM
341232012-10-25 David S. Miller <davem@davemloft.net>
34124
34125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34126 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34127 of strtoull.
34128
f303f97c
DM
34129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34130 ifunc-impl-list.c
34131 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34132 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34133 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34134 file.
34135
1e9d84cd
RM
341362012-10-25 Roland McGrath <roland@hack.frob.com>
34137
34138 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34139 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34140 __getdirentries.
34141
df381762
JM
341422012-10-25 Joseph Myers <joseph@codesourcery.com>
34143 Jim Blandy <jimb@codesourcery.com>
34144
34145 * scripts/cross-test-ssh.sh: New file.
34146 * manual/install.texi (Configuring and compiling): Document use of
34147 cross-test-ssh.sh.
34148 * INSTALL: Regenerated.
34149
bff64913
PT
341502012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34151
34152 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34153 EOPNOTSUPP.
34154
25fe8932
JM
341552012-10-25 Joseph Myers <joseph@codesourcery.com>
34156
34157 * Makeconfig (run-program-prefix): Fix comment.
34158
cc1290d0
JM
341592012-10-24 Joseph Myers <joseph@codesourcery.com>
34160 Jim Blandy <jimb@codesourcery.com>
34161
34162 * Makeconfig (test-wrapper): New variable,
34163 (test-wrapper-env): Likewise.
34164 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34165 (run-built-tests): Define to yes.
34166 (run-program-prefix): Use $(test-wrapper).
34167 (built-program-cmd): Likewise.
34168 * Rules (make-test-out): Use $(test-wrapper-env) and
34169 $(host-built-program-cmd).
34170 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34171 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34172 tst-pathopt.sh.
34173 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34174 $(test-wrapper-env) to tst-rtld-load-self.sh.
34175 ($(objpfx)order2.out): Use $(test-wrapper).
34176 ($(objpfx)tst-initorder.out): Likewise.
34177 ($(objpfx)tst-initorder2.out): Likewise.
34178 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34179 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34180 (test_wrapper_env): New variable. Use it to run ld.so.
34181 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34182 Use it to run ld.so.
34183 (test_wrapper_env): Likewise.
34184 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34185 $(test-wrapper) to run-iconv-test.sh.
34186 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34187 (ICONV): Use $test_wrapper.
34188 * posix/Makefile ($(objpfx)globtest.out): Pass
34189 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34190 globtest.sh, not $(run-program-prefix).
34191 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34192 (test_wrapper): Likewise.
34193 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34194 set together with run_via_rtld_prefix.
34195 (run_program_prefix): Define in terms of test_wrapper and
34196 run_via_rtld_prefix.
34197
6e6249d0
RM
341982012-10-24 Roland McGrath <roland@hack.frob.com>
34199
34200 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34201 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34202 Targets removed.
34203
34204 [BZ #14743]
34205 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34206 Declare __clock_getres, __clock_gettime, __clock_settime,
34207 __clock_nanosleep, and __clock_getcpuclockid.
34208 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34209 Remove librt_hidden_def (clock_gettime).
34210 * sysdeps/unix/clock_gettime.c: Likewise.
34211 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34213 * rt/clock_getres.c: Define __clock_getres as an alias.
34214 * sysdeps/posix/clock_getres.c: Likewise.
34215 * rt/clock_settime.c: Define __clock_settime as an alias.
34216 * sysdeps/unix/clock_settime.c: Likewise.
34217 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34218 * sysdeps/unix/clock_nanosleep.c: Likewise.
34219 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34220 * rt/clock-compat.c: New file.
34221 * rt/Makefile (librt-routines): Add clock-compat and move
34222 $(clock-routines) to ...
34223 (routines): ... here, new variable.
34224 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34225 Don't add get_clockfreq here.
34226 * rt/Versions (libc: GLIBC_2.17): New version set.
34227 Add clock_* symbols here.
34228 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34229 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34230 (GLIBC_2.17): Add clock_* symbols.
34231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34235 Likewise.
34236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34237 Likewise.
34238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34242 * NEWS: Mention the move.
34243
34244 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34245 Use __open, __read, __close rather than their public counterparts.
34246 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34247 (__get_clockfreq_via_cpuinfo): Likewise.
34248 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34249 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34250
34251 * config.h.in (HAVE_IFUNC): New #undef.
34252 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34253 was successful.
34254 * configure: Regenerated.
34255
0cae3f4b
MF
342562012-10-24 Mike Frysinger <vapier@gentoo.org>
34257
34258 * configure.in: Move READELF check to start of file.
34259 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34260 libc_cv_asm_gnu_indirect_function in the process.
34261 * configure: Regenerated.
34262
8175a253
MF
342632012-10-24 Mike Frysinger <vapier@gentoo.org>
34264
34265 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34266 send the output to /dev/null.
34267 (libc_cv_cc_with_libunwind): Likewise.
34268 (libc_cv_as_noexecstack): Likewise.
34269 * configure: Regenerate.
34270
0708a7d1
JM
342712012-10-24 Joseph Myers <joseph@codesourcery.com>
34272
10b40d85
JM
34273 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34274
0708a7d1
JM
34275 * posix/globtest.sh (TMPDIR): Do not set.
34276 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34277 (testout): Likewise.
34278
9fddec1a
AJ
342792012-10-24 Andreas Jaeger <aj@suse.de>
34280
3a8db22f
AJ
34281 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34282 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34283 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34284 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34285 posix_fadvise64, posix_fallocate64.
34286
9fddec1a
AJ
34287 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34288 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34289 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34290 Likewise.
34291 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34292 Likewise.
34293 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34294
34295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34296 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34297 <bits/fcntl-linux.h>.
34298 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34299
34300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34301 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34302 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34303 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34304 [__WORDSIZE != 64]: Likewise.
34305
ebfd1bbd
JM
343062012-10-23 Joseph Myers <joseph@codesourcery.com>
34307
03ac099f
JM
34308 * Makeconfig (run-built-tests): New variable.
34309 * Rules [$(cross-compiling) = yes]: Change condition to
34310 [$(run-built-tests) = no].
34311 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34312 to [$(run-built-tests) = yes].
34313 * elf/Makefile [$(cross-compiling) = no]: Likewise
34314 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34315 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34316 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34317 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34318 * io/Makefile [$(cross-compiling) = no]: Likewise.
34319 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34320 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34321 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34322 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34323 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34324 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34325 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34326 * string/Makefile [$(cross-compiling) = no]: Likewise.
34327
ebfd1bbd
JM
34328 * posix/Makefile ($(objpfx)globtest.out): Pass
34329 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34330 $(rtld-installed-name).
34331 * posix/globtest.sh (elf_objpfx): Remove variable.
34332 (rtld_installed_name): Likewise.
34333 (library_path): Likewise.
34334 (run_program_prefix): New variable. Use for running globtest
34335 binary.
34336
166bca24
JB
343372012-10-23 Jim Blandy <jimb@codesourcery.com>
34338 Joseph Myers <joseph@codesourcery.com>
34339
34340 * Makeconfig (host-built-program-cmd): New variable.
34341 * elf/Makefile (tst-stackguard1-ARGS): Use
34342 $(host-built-program-cmd).
34343 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34344 (tst-spawn-ARGS): Likewise.
34345 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34346
88866099
JM
343472012-10-23 Joseph Myers <joseph@codesourcery.com>
34348 Jim Blandy <jimb@codesourcery.com>
34349
34350 * Makeconfig (run-via-rtld-prefix): New variable.
34351 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34352 (built-program-cmd): Likewise.
34353
b4b4c296
AJ
343542012-10-22 Andreas Jaeger <aj@suse.de>
34355
34356 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34357 __O_RSYNC if it exists, otherwise to O_SYNC.
34358
6fb54a22
JB
343592012-10-22 Jim Blandy <jimb@codesourcery.com>
34360 Joseph Myers <joseph@codesourcery.com>
34361
34362 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34363 /dev/null.
34364 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34365 from /dev/null
34366 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34367 /dev/null.
34368
481b90b9
AJ
343692012-10-22 Andreas Jaeger <aj@suse.de>
34370
2a0e2669
AJ
34371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34372 Define always.
34373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34374
76e38f9a
AJ
34375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34376 bits/fcntl-linux.h.
34377
7cd37b43
AJ
34378 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34379 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34380
481b90b9
AJ
34381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34382 to __O_LARGEFILE.
34383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34384 to __O_LARGEFILE.
34385
aba75984
JB
343862012-10-21 Jim Blandy <jimb@codesourcery.com>
34387 Joseph Myers <joseph@codesourcery.com>
34388
34389 * config.make.in (NM): New variable.
34390
88d4247f
AJ
343912012-10-21 Andreas Jaeger <aj@suse.de>
34392
34393 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34394 definitions and declarations that are provided by
34395 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34396
f2eed205
L
343972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34398
34399 [BZ #14683]
34400 * elf/Makefile (tests-static): Add tst-leaks1-static.
34401 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34402 ($(objpfx)tst-leaks1-static): New rule.
34403 ($(objpfx)tst-leaks1-static-mem): Likewise.
34404 (tst-leaks1-static-ENV): New macro.
34405 * elf/dl-open.c (dl_open_worker): Check the main application
34406 only if SHARED is defined.
34407 * elf/tst-leaks1-static.c: New file.
34408
335e6931
AJ
344092012-10-20 Andreas Jaeger <aj@suse.de>
34410
34411 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34412 generic values for Linux.
34413 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34414 and declarations that are provided by <bits/fcntl-linux.h> and
34415 include <bits/fcntl-linux.h>.
34416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34418
ac5c94d3
RM
344192012-10-20 Roland McGrath <roland@hack.frob.com>
34420
34421 * io/fcntl.h: Move include of <bits/types.h> to the top and
34422 include it unconditionally.
34423
de54b33a
L
344242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34425
228cfb01
L
34426 * wcsmbs/Makefile (tests-ifunc): New variable.
34427 (tests): Add $(tests-ifunc).
34428 * wcsmbs/test-wcschr-ifunc.c: New file.
34429 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34430 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34431 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34432 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34433 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34434
69f07e5f
L
34435 * string/Makefile (tests-ifunc): New variable.
34436 (tests): Add $(tests-ifunc).
34437 * string/test-memccpy.c (TEST_NAME): New macro.
34438 * string/test-memchr.c (TEST_NAME): Likewise.
34439 * string/test-memcmp.c (TEST_NAME): Likewise.
34440 * string/test-memcpy.c (TEST_NAME): Likewise.
34441 * string/test-memmem.c (TEST_NAME): Likewise.
34442 * string/test-memmove.c (TEST_NAME): Likewise.
34443 * string/test-memset.c (TEST_NAME): Likewise.
34444 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34445 * string/test-stpcpy.c (TEST_NAME): Likewise.
34446 * string/test-stpncpy.c (TEST_NAME): Likewise.
34447 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34448 * string/test-strcasestr.c (TEST_NAME): Likewise.
34449 * string/test-strcat.c (TEST_NAME): Likewise.
34450 * string/test-strchr.c (TEST_NAME): Likewise.
34451 * string/test-strcmp.c(TEST_NAME): Likewise.
34452 * string/test-strcpy.c (TEST_NAME): Likewise.
34453 * string/test-strcspn.c (TEST_NAME): Likewise.
34454 * string/test-strlen.c (TEST_NAME): Likewise.
34455 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34456 * string/test-strncmp.c (TEST_NAME): Likewise.
34457 * string/test-strncpy.c (TEST_NAME): Likewise.
34458 * string/test-strnlen.c (TEST_NAME): Likewise.
34459 * string/test-strpbrk.c (TEST_NAME): Likewise.
34460 * string/test-strrchr.c (TEST_NAME): Likewise.
34461 * string/test-strspn.c (TEST_NAME): Likewise.
34462 * string/test-strstr.c (TEST_NAME): Likewise.
34463 * string/test-bcopy-ifunc.c: New file.
34464 * string/test-bzero-ifunc.c: Likewise.
34465 * string/test-memccpy-ifunc.c: Likewise.
34466 * string/test-memchr-ifunc.c: Likewise.
34467 * string/test-memcmp-ifunc.c: Likewise.
34468 * string/test-memcpy-ifunc.c: Likewise.
34469 * string/test-memmem-ifunc.c: Likewise.
34470 * string/test-memmove-ifunc.c: Likewise.
34471 * string/test-mempcpy-ifunc.c: Likewise.
34472 * string/test-memset-ifunc.c: Likewise.
34473 * string/test-rawmemchr-ifunc.c: Likewise.
34474 * string/test-stpcpy-ifunc.c: Likewise.
34475 * string/test-stpncpy-ifunc.c: Likewise.
34476 * string/test-strcasecmp-ifunc.c: Likewise.
34477 * string/test-strcasestr-ifunc.c: Likewise.
34478 * string/test-strcat-ifunc.c: Likewise.
34479 * string/test-strchr-ifunc.c: Likewise.
34480 * string/test-strchrnul-ifunc.c: Likewise.
34481 * string/test-strcmp-ifunc.c: Likewise.
34482 * string/test-strcpy-ifunc.c: Likewise.
34483 * string/test-strcspn-ifunc.c: Likewise.
34484 * string/test-strlen-ifunc.c: Likewise.
34485 * string/test-strncasecmp-ifunc.c: Likewise.
34486 * string/test-strncat-ifunc.c: Likewise.
34487 * string/test-strncmp-ifunc.c: Likewise.
34488 * string/test-strncpy-ifunc.c: Likewise.
34489 * string/test-strnlen-ifunc.c: Likewise.
34490 * string/test-strpbrk-ifunc.c: Likewise.
34491 * string/test-strrchr-ifunc.c: Likewise.
34492 * string/test-strspn-ifunc.c: Likewise.
34493 * string/test-strstr-ifunc.c: Likewise.
34494
de54b33a
L
34495 * debug/Makefile (tests-ifunc): New variable.
34496 (tests): Add $(tests-ifunc).
34497 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34498 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34499 * debug/test-stpcpy_chk-ifunc.c: New file.
34500 * debug/test-strcpy_chk-ifunc.c: Likewise.
34501
88481c16
SP
345022012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34503
34504 [BZ #13601]
34505 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34506 header is not read in.
34507
135948bd
JM
345082012-10-19 Joseph Myers <joseph@codesourcery.com>
34509
89f1c388
JM
34510 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34511 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34512 directly. Pass built executable to script as
34513 $(built-program-cmd).
34514 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34515 $testprogram without using LD_LIBRARY_PATH and $ldso.
34516
e40a0d21
JM
34517 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34518 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34519 $(rtld-installed-name).
34520 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34521 (rtld_installed_name): Likewise.
34522 (library_path): Likewise.
34523 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34524 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34525 $(run-program-prefix) to tst-tables.sh.
34526 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34527 it to run tst-table-from and tst-table-to.
34528 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34529 Pass it to tst-table.sh.
34530 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34531 $(run-program-prefix) to tst-gettext.sh.
34532 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34533 tst-translit.sh.
34534 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34535 tst-gettext2.sh.
34536 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34537 to run tst-gettext.
34538 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34539 to run tst-gettext2.
34540 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34541 to run tst-translit.
34542 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34543 $(run-program-prefix) to tst-mtrace.sh.
34544 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34545 to run tst-mtrace.
34546 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34547 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34548 $(rtld-installed-name).
34549 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34550 (rtld_installed_name): Likewise.
34551 (run_program_prefix): New variable. Use it to run wordexp-test.
34552
728e272a
JM
34553 * Makeconfig (ARCH): Remove all definitions.
34554 (machine): Likewise.
34555 [ARCH]: Remove conditional code.
34556 [!objdir]: Give error.
34557 [!objdir] (objpfx): Remove.
34558 [!objdir] (common-objpfx): Likewise.
34559 [!objdir] (common-objdir): Likewise.
34560 * configure.in (config_makefile): Remove. Hardcode Makefile in
34561 AC_CONFIG_FILES call.
34562 * configure: Regenerated.
34563
d528cdcf
JM
34564 [BZ #13888]
34565 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34566 or TMPDIR.
34567 (testout): Likewise.
34568
135948bd
JM
34569 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34570 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34571 $(rtld-installed-name).
34572 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34573 (rtld_installed_name): Likwise.
34574 (runit): Remove function.
34575 (run_getconf): New variable, Use it for running getconf binary.
34576
38c78296
L
345772012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34578
34579 [BZ #14716]
34580 * string/test-memmem.c (check_result): New function.
34581 (do_one_test): Use it.
34582 (check1): New function.
34583 (test_main): Use it.
34584
d077f65f
MT
345852012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
34586
34587 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34588
ced52c71
JM
345892012-10-18 Joseph Myers <joseph@codesourcery.com>
34590
34591 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34592 (_G_LSEEK64): Likewise.
34593 (_G_MMAP64): Likewise.
34594 (_G_FSTAT64): Likewise.
34595 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34596 (_G_LSEEK64): Likewise.
34597 (_G_MMAP64): Likewise.
34598 (_G_FSTAT64): Likewise.
34599 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34600 unconditional. Call __mmap64 directly.
34601 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34602 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34603 __lseek64 directly.
34604 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34605 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34606 __mmap64 directly.
34607 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34608 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34609 __lseek64 directly.
34610 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34611 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34612 __lseek64 directly.
34613 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34614 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34615 __lseek64 directly.
34616 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34617 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34618 __fxstat64 directly.
34619 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34620 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34621 unconditional.
34622 (freopen64) [!_G_OPEN64]: Remove conditional code.
34623 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34624 unconditional.
34625 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34626 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34627 unconditional.
34628 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34629 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34630 unconditional.
34631 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34632 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34633 unconditional.
34634 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34635 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34636 unconditional.
34637 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34638 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34639 unconditional.
34640 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34641 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34642 unconditional.
34643 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34644
b741de23
SP
346452012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34646
34647 [BZ #12140]
34648 * manual/memory.texi (Malloc Tunable Parameters): Add note
34649 about free list pointers overwriting some perturb bytes.
34650 Wording suggested by Roland McGrath.
34651
f9b9d9c9
JM
346522012-10-17 Joseph Myers <joseph@codesourcery.com>
34653
34654 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34655 (lgamma_test): Likewise.
34656 (tgamma_test): Likewise.
34657
172a631a
FW
346582012-10-16 Florian Weimer <fweimer@redhat.com>
34659
34660 [BZ #14700]
34661 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34662 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34663
e9f37252
MK
346642012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34665
34666 * NEWS: Mention BZ #14716.
34667 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34668 when removing AVAILABLE1_USES_J macro.
34669
d394eb74
L
346702012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34671
34672 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34673 (__bswap_64): __uint64_t for unsigned 64-bit int.
34674
ca38dc17
AS
346752012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34676
34677 * include/string.h (memmem): Declare libc hidden alias.
34678 * string/memmem.c (memmem): Define libc hidden alias.
34679 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34680 __read, __close instead of open, read, close.
34681
9a387d1f
L
346822012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34683
ac49ecaf
L
34684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34685 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34686 global and hidden.
34687 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34688 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34689 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34690 Likewise.
34691 (__rawmemchr_sse2): Likewise.
34692 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34693 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34694 (__strchr_sse2): Likewise.
34695 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34696 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34697 (__strcasecmp_sse2): Likewise.
34698 (__strncasecmp_sse2): Likewise.
34699 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34700 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34701 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34702 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34703 (__strrchr_sse2): Likewise.
34704 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34705 ifunc-impl-list.c.
34706 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34707 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34708 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34709 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34710 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34711 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34712 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34713 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34714 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34715 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34716 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34717 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34718 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34719 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34720 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34721 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34722 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34723 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34724 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34725 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34726 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34727 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34728 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34729 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34730 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34731 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34732 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34733 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34734 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34735 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34736
b090e8ea
L
34737 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34738 global and hidden.
34739 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34740 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34741 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34742 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34743 Likewise.
34744 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34745 Likewise.
34746 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34747 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34748 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34749 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34750 ifunc-impl-list.c.
34751 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34752 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34753 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34754 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34755 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34756 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34757 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34758 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34759 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34760 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34761 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34762 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34763 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34764 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34765 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34766 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34767 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34768 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34769 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34770 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34771 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34772 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34773 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34774 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34775 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34776 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34777 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34778 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34779 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34780 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34781 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34782 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34783 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34784 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34785 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34786 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34787 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34788 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34789 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34790 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34791 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34792
11dd4af6
L
34793 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34794 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34795 * include/ifunc-impl-list.h: New file.
34796 * misc/ifunc-impl-list.c: Likewise.
34797 * misc/Makefile (routines): Add ifunc-impl-list.
34798 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34799 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
34800 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34801 TEST_NAME]: New variables.
11dd4af6
L
34802 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34803 are defined.
34804 (test_init): Call __libc_ifunc_impl_list to initialize
34805 func_list if TEST_IFUNC and TEST_NAME are defined.
34806
9a387d1f
L
34807 * string/Makefile (strop-tests): Add bcopy and bzero.
34808 * string/test-bcopy.c: New file.
34809 * string/test-bzero.c: Likewise.
34810 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34811 defined.
34812 * string/test-memset.c: Support bzero test if TEST_BZERO is
34813 defined.
34814 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34815 __libc_memmove.
34816 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34817 __libc_memset.
34818 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34819 of memset.
34820
472371b9
JM
348212012-10-10 Joseph Myers <joseph@codesourcery.com>
34822
1e4a9536
JM
34823 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34824 * configure: Regenerated.
34825
d173d12e
JM
34826 * Makeconfig (+link-static-before-libc): Don't include
34827 $(link-static-libc).
34828
472371b9
JM
34829 * libio/libio.h (_IO_pos_t): Remove.
34830
89a3ad0b
AO
348312012-10-10 Alexandre Oliva <aoliva@redhat.com>
34832
34833 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34834 McGrath.
34835
e7451425
AO
348362012-10-10 Alexandre Oliva <aoliva@redhat.com>
34837
34838 * crypt/crypt-entry.c: Include fips-private.h.
34839 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34840 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34841 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34842 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34843
4ba74a35
AO
348442012-10-10 Alexandre Oliva <aoliva@redhat.com>
34845
34846 * crypt/crypt-private.h: Include stdbool.h.
34847 (_ufc_setup_salt_r): Return bool.
34848 * crypt/crypt-entry.c: Include errno.h.
34849 (__crypt_r): Return NULL with EINVAL for bad salt.
34850 * crypt/crypt_util.c (bad_for_salt): New.
34851 (_ufc_setup_salt_r): Check that salt is long enough and within
34852 the specified alphabet.
34853 * crypt/badsalttest.c: New file.
34854 * crypt/Makefile (tests): Add it.
34855 ($(objpfx)badsalttest): New.
34856
f96f1242
MK
348572012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34858
34859 * NEWS: Add entry for BZ #14602.
34860
0e8e0c1c
JM
348612012-10-09 Joseph Myers <joseph@codesourcery.com>
34862
34863 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34864 type-generic.
34865 * math/libm-test.inc: Update comment listing what functions and
34866 macros are tested.
34867 (isgreater_test): New function.
34868 (isgreaterequal_test): Likewise.
34869 (isless_test): Likewise.
34870 (islessequal_test): Likewise.
34871 (islessgreater_test): Likewise.
34872 (isunordered_test): Likewise.
34873 (main): Call the new functions.
34874
273edc5e
RM
348752012-10-09 Roland McGrath <roland@hack.frob.com>
34876
b8493de0
RM
34877 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34878 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34879 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34880 * sysdeps/i386/configure: Regenerated.
34881 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34882 * sysdeps/mach/configure: Regenerated.
34883 * sysdeps/mach/hurd/configure: Regenerated.
34884 * sysdeps/powerpc/configure: Regenerated.
34885 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34886 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34887 * sysdeps/s390/s390-32/configure: Regenerated.
34888 * sysdeps/s390/s390-64/configure: Regenerated.
34889 * sysdeps/sh/configure: Regenerated.
34890 * sysdeps/sparc/configure: Regenerated.
34891 * sysdeps/unix/sysv/linux/configure: Regenerated.
34892 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34893 * sysdeps/x86_64/configure: Regenerated.
34894
273edc5e
RM
34895 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34896 defined. Don't check if MAP is NULL.
34897
c8450f70
JM
348982012-10-09 Joseph Myers <joseph@codesourcery.com>
34899
34900 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34901 (_G_stat64): Likewise.
34902 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34903 (_G_stat64): Likewise.
34904 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34905 instead of struct _G_stat64.
34906 * libio/fileops.c (mmap_remap_check): Likewise.
34907 (decide_maybe_mmap): Likewise.
34908 (_IO_new_file_seekoff): Likewise.
34909 (_IO_file_stat): Likewise.
34910 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34911 _G_off64_t.
34912 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34913 instead of struct _G_stat64.
34914 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34915
57e605ba
MK
349162012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34917
34918 [BZ #14602]
34919 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34920 Replace with ...
34921 (CHECK_EOL): New macro.
34922 (two_way_short_needle): Check beginning of haystack for EOL. Use
34923 CHECK_EOL.
34924 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34925 Replace with CHECK_EOL.
34926 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34927 Replace with CHECK_EOL.
34928
ef1bb361
JM
349292012-10-08 Joseph Myers <joseph@codesourcery.com>
34930
34931 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34932 type-generic.
34933 * math/libm-test.inc: Update comment listing what functions and
34934 macros are tested.
34935 (finite_test): New function.
34936 (isinf_test): Likewise.
34937 (isnan_test): Likewise.
34938 (fpclassify_test): Test subnormal input.
34939 (isfinite_test): Likewise.
34940 (isnormal_test): Likewise.
34941 (main): Call the new functions.
34942
55f11534
JN
349432012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34944
34945 [BZ #14660]
34946 * Makerules (%.dynsym): Force C locale when running
34947 $(OBJDUMP) --dynamic-syms.
34948
1ab29350
AS
349492012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34950
34951 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34952 <stdint.h>.
34953
f1ecb7ef
DM
349542012-10-06 David S. Miller <davem@davemloft.net>
34955
34956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34957 upper 32-bits of the length value in %o2 since we use branch-on-register
34958 tests which consider the entire 64-bit register.
34959
5d41d91a
L
349602012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34961
34962 * string/test-strstr.c (check2): Add a test for page boundary.
34963
3baddb72
DM
349642012-10-05 David S. Miller <davem@davemloft.net>
34965
34966 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34967 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34968 file.
34969 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34970 sysdep_routines.
34971 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34972 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34973 and bzero when HWCAP_SPARC_CRYPTO is present.
34974
9cee5585
L
349752012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34976
d7e0dab9
L
34977 [BZ #14602]
34978 * string/test-strstr.c (check2): New function.
34979 (test_main): Call check2.
34980
03759f47
L
34981 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34982 and bug-strchr1.
34983 * string/bug-strcasestr1.c (do_test): Moved to ...
34984 * string/test-strcasestr.c (check1): Here. New function.
34985 (do_one_test): Break out result checking code into ...
34986 (check_result): This. New function.
34987 (do_one_test): Call check_result.
34988 (test_main): Call check1.
34989 * string/bug-strchr1.c (do_test): Moved to ...
34990 * string/test-strchr.c (check1): Here. New function.
34991 (do_one_test): Break out result checking code into ...
34992 (check_result): This. New function.
34993 (do_one_test): Call check_result.
34994 (test_main): Call check1.
34995 * string/bug-strstr1.c (main): Moved to ...
046f153e 34996 * string/test-strstr.c (check1): Here. New function.
03759f47
L
34997 (do_one_test): Break out result checking code into ...
34998 (check_result): This. New function.
34999 (do_one_test): Call check_result.
35000 (test_main): Call check1.
35001 * string/bug-strcasestr1.c: Removed.
35002 * string/bug-strchr1.c: Likewise.
35003 * string/bug-strstr1.c: Likewise.
35004
53cea63e
L
35005 * elf/Makefile (dl-routines): Add hwcaps.
35006 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35007 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35008 (_dl_important_hwcaps): Moved to ...
35009 * elf/dl-hwcaps.c: Here. New file.
35010 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35011
9cee5585 35012 [BZ #14557]
bb859b06
L
35013 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35014 if IS_IN_rtld isn't defined.
35015
9cee5585
L
35016 * elf/dl-support.c (_dl_sysinfo_map): New.
35017 Include "get-dynamic-info.h" and "setup-vdso.h".
35018 (_dl_non_dynamic_init): Call setup_vdso.
35019 * elf/dynamic-link.h: Don't include <assert.h>.
35020 (elf_get_dynamic_info): Moved to ...
35021 * elf/get-dynamic-info.h: Here. New file.
35022 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35023 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35024 * elf/setup-vdso.h: Here. New file.
35025 * elf/rtld.c: Include "setup-vdso.h".
35026 (dl_main): Call setup_vdso.
35027
23c31b76
JM
350282012-10-05 Joseph Myers <joseph@codesourcery.com>
35029
28234b07
JM
35030 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35031 creal in comment listing functions tested. List finite, isinf,
35032 isnan, isless, islessequal, isgreater, isgreaterequal,
35033 islessgreater, isunordered, lgamma_r and pow10 as functions and
35034 macros not tested. Mention which functions not tested are aliases
35035 for other functions. Fix typo. Note that signs of NaNs are not
35036 tested.
35037
23c31b76
JM
35038 * scripts/config.guess: Update from config.git.
35039 * scripts/config.sub: Likewise.
35040
9043e228
RM
350412012-10-04 Roland McGrath <roland@hack.frob.com>
35042
35043 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35044 * misc/madvise.c (madvise): Renamed to __madvise.
35045 Make madvise a weak alias.
35046 * include/sys/mman.h: Declare __madvise.
35047 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35048 * sysdeps/unix/syscalls.list
35049 (madvise): Make __madvise the strong name, and madvise a weak alias.
35050 * sysdeps/unix/sysv/linux/syscalls.list
35051 (madvise, mmap): Remove redundant entries.
35052 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35053 * malloc/malloc.c (mtrim): Likewise.
35054 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35055
f57f8055
RM
350562012-10-03 Roland McGrath <roland@hack.frob.com>
35057
35058 * sysdeps/mach/hurd/dl-cache.c: File removed.
35059 * config.h.in (USE_LDCONFIG): New #undef.
35060 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35061 * configure: Regenerated.
35062 * elf/Makefile (dl-routines): Add dl-cache only under
35063 [$(use-ldconfig) = yes].
35064 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35065 cache on [USE_LDCONFIG].
35066 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35067 [USE_LDCONFIG].
35068 * elf/rtld.c (dl_main): Likewise.
35069
5bb0c10a
PT
350702012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35071
35072 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35073 _SC_LEVEL4_CACHE_LINESIZE.
35074
010188c6
RM
350752012-10-03 Roland McGrath <roland@hack.frob.com>
35076
35077 * sysdeps/unix/bsd/confstr.h: File removed.
35078
b6c5ec07
AO
350792012-10-02 Alexandre Oliva <aoliva@redhat.com>
35080
35081 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35082 sys/sdt-config.h.
35083
408223d4
RM
350842012-10-02 Roland McGrath <roland@hack.frob.com>
35085
35086 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35087 Make 'mapoff' field ElfW(Off) rather than off_t.
35088
bb9510dc
DL
350892012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35090
fc997c6e
DL
35091 * nscd/Makefile: Remove nscd-cflags and all its users.
35092 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35093 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35094
bb9510dc
DL
35095 [BZ #10631]
35096 * malloc.c (malloc_printerr): Clarify error message.
35097
05699367
L
350982012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35099
35100 [BZ #14648]
35101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35102 Set bit_FMA_Usable if FMA is supported.
35103 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35104 macro.
35105 (bit_FMA4_Usable): Updated.
35106 (index_FMA_Usable): New macro.
35107 (CPUID_FMA): Likewise
35108 (HAS_FMA): Defined with bit_FMA_Usable.
35109
51367701
RM
351102012-10-01 Roland McGrath <roland@hack.frob.com>
35111
35112 * bits/types.h (__swblk_t): Type removed.
35113 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35114 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35116 (__SWBLK_T_TYPE): Likewise.
35117 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35118 (__SWBLK_T_TYPE): Likewise.
35119 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35120 (__SWBLK_T_TYPE): Likewise.
35121 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35122 (__SWBLK_T_TYPE): Likewise.
35123
4d57bf63 351242012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 35125 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
35126
35127 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35128 (xdr_mapname): Use YPMAXMAP as maxsize.
35129 (xdr_peername): Use YPMAXPEER as maxsize.
35130 (xdr_keydat): Use YPAXRECORD as maxsize.
35131 (xdr_valdat): Use YPMAXRECORD as maxsize.
35132
93c65d43
RM
351332012-10-01 Roland McGrath <roland@hack.frob.com>
35134
497a03d6
RM
35135 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35136
93c65d43
RM
35137 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35138 * csu/init-first.c: ... here.
35139 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35140 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35141 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35142 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35143 * sysdeps/i386/init-first.c: File removed.
35144 * sysdeps/sh/init-first.c: File removed.
35145
bec749fd
JM
351462012-10-01 Joseph Myers <joseph@codesourcery.com>
35147
35148 [BZ #14645]
35149 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35150 if x * y might underflow to zero and z is zero.
35151 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35152 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35153 * math/libm-test.inc (min_subnorm_value): New variable.
35154 (fma_test): Add more tests.
35155 (fma_test_towardzero): Likewise.
35156 (fma_test_downward): Likewise
35157 (fma_test_upward): Likewise.
35158 (initialize): Set min_subnorm_value.
35159
8ec5b013
JM
351602012-09-29 Joseph Myers <joseph@codesourcery.com>
35161
35162 [BZ #14638]
35163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35164 0 + 0.
35165 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35166 mode for addition resulting in exact zero.
35167 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35169 exact 0 + 0.
35170 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35171 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35172 * math/libm-test.inc (fma_test): Add more tests.
35173 (fma_test_towardzero): New function.
35174 (fma_test_downward): Likewise.
35175 (fma_test_upward): Likewise.
35176 (main): Call the new functions.
35177
b1fa802e
DM
351782012-09-28 David S. Miller <davem@davemloft.net>
35179
35180 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35181
d3b9fd9e
RM
351822012-09-28 Roland McGrath <roland@hack.frob.com>
35183
ea4d37b3
RM
35184 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35185 instead of SIGALRM.
35186
ac51c949
RM
35187 * sysdeps/gnu/_G_config.h: Moved to ...
35188 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35189 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35190 * sysdeps/generic/_G_config.h: ... here.
35191
28c195f7
RM
35192 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35193
848917f9
RM
35194 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35195
6bacf05b
RM
35196 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35197 Conditionalize target on [libnss_test1.so-version].
35198
91363dbb
RM
35199 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35200
cc87f7d8
RM
35201 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35202 (elfobjdir): Move out of conditionals.
35203
b1c608fe
RM
35204 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35205 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35206 (__nss_lookup_function): Conditionalize label remove_from_tree on
35207 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 35208
1d9a6d96
DM
352092012-09-28 David S. Miller <davem@davemloft.net>
35210
35211 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35212 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35213 file.
35214 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35215 sysdep_routines.
35216 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35218 when HWCAP_SPARC_CRYPTO is present.
35219
72581615
PT
352202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35221
35222 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35223
715a900c
JL
352242012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35225
35226 [BZ #6530]
35227 * stdio-common/vfprintf.c (process_string_arg): Revert
35228 2000-07-22 change.
35229
352302011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35231
35232 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35233 for testcase.
35234 * stdio-common/tst-sprintf.c: Include <locale.h>
35235 (main): Test sprintf's handling of incomplete multibyte
35236 characters.
35237
9bac1d86
L
352382012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35239
35240 * elf/dl-runtime.c (VERSYMIDX): Removed.
35241 * elf/dl-version.c (VERSYMIDX): Likewise.
35242 * elf/do-rel.h (VERSYMIDX): Likewise.
35243 (VALIDX): Likewise.
35244 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35245 * elf/rtld.c (VALIDX): Likewise.
35246 (ADDRIDX): Likewise.
9bac1d86
L
35247 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35248 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35249 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
35250 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35251 (VALIDX): Likewise.
35252 (ADDRIDX): Likewise.
9bac1d86 35253
b31606c0
PT
352542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35255
35256 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35257
11541177
JL
352582012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35259
35260 [BZ #11438]
35261 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35262 to global scope.
35263 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35264 addresses are in the same scope as 192.0.2/24.
35265 * posix/gai.conf: Document new scope table defaults.
35266
adb26fae
SP
352672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35268
35269 [BZ #5298]
35270 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35271 for ftell. Compute offsets from write pointers instead.
35272 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35273
4573c6b0
SP
352742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35275
35276 [BZ #14543]
35277 * libio/Makefile (tests): New test case tst-fseek.
35278 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35279 combination works in wide mode.
35280 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35281 state when the external buffer state changes.
35282
aa9bbfe6
DM
352832012-09-27 David S. Miller <davem@davemloft.net>
35284
35285 [BZ #14376]
35286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35287 pass reloc->r_addend in as the 'high' argument to
35288 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35289
784421e7
DM
35290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35291
c39bc8b8
PT
352922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35293
35294 * rt/tst-aio2.c: Include <pthread.h>.
35295 * rt/tst-aio3.c: Likewise.
35296
1ccc2399
SE
352972012-09-27 Steve Ellcey <sellcey@mips.com>
35298
35299 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35300
31ed4153
L
353012012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35302
25f5f885
L
35303 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35304 contents on [SHARED].
31ed4153 35305
b7bfe116
MP
353062012-09-26 Marek Polacek <polacek@redhat.com>
35307
35308 [BZ #14530]
35309 [BZ #13741]
35310 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35311 for C++ and GCC <4.3 as well as for non GCC compilers.
35312
43c4edba
MT
353132012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35314
35315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35316
6a1bf82f
RM
353172012-09-25 Roland McGrath <roland@hack.frob.com>
35318
35319 * Makefile.in (all, install): Declare with .PHONY.
35320 Reported by Michael Hope <michael.hope@linaro.org>.
35321
8ad11b9a
TMQMF
353222012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35323
35324 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35325 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35326 system header.
35327 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35328 Likewise.
35329 (sydep_routines): Add the new and the internal functions.
35330 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35331 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35333 (GLIBC_2.17): Add the new function.
35334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35335 (GLIBC_2.17): Likewise.
35336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35337 (GLIBC_2.17): Likewise.
35338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35339 (GLIBC_2.17): Likewise.
35340 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35341
7e2fca8d
AM
353422012-09-25 Alan Modra <amodra@gmail.com>
35343
35344 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35345 Add release barrier before setting once_control to say
35346 initialisation is done. Add hints on lwarx. Use macro in
35347 place of isync.
35348 (clear_once_control): Add release barrier.
35349
b87c4b24
JM
353502012-09-25 Joseph Myers <joseph@codesourcery.com>
35351
d032e0d2
JM
35352 [BZ #13629]
35353 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35354 specially.
35355 * math/s_clog10.c (__clog10): Likewise.
35356 * math/s_clog10f.c (__clog10f): Likewise.
35357 * math/s_clog10l.c (__clog10l): Likewise.
35358 * math/s_clogf.c (__clogf): Likewise.
35359 * math/s_clogl.c (__clogl): Likewise.
35360 * math/Makefile (libm-calls): Add x2y2m1.
35361 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35362 (__x2y2m1): Likewise.
35363 (__x2y2m1l): Likewise.
35364 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35365 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35368 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35369 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35370 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35371 * sysdeps/i386/fpu/libm-test-ulps: Update.
35372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35373
b87c4b24
JM
35374 [BZ #14621]
35375 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35376 int as type of variable DEPTH.
35377 (glob): Use size_t instead of int as type of variables NEWCOUNT
35378 and OLD_PATHC.
35379
6d3bf199
LD
353802012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35381
22bf5c17
LD
35382 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35383 Add s_sincosf-sse2.
35384 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35385 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35386 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35387 macros for using routine as __sincosf_ia32.
35388 Use macro for function declaration and weak_alias.
35389 * sysdeps/i386/fpu/libm-test-ulps: Update.
35390
35391 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35393
35394 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
35395 subnormal argument.
35396 * math/s_cexpf.c (__cexpf): Likewise.
35397 * math/s_csinf.c (__csinf): Likewise.
35398 * math/s_csinhf.c (__csinhf): Likewise.
35399 * math/s_ctanf.c (__ctanf): Likewise.
35400 * math/s_ctanhf.c (__ctanhf): Likewise.
35401 * math/s_ccosh.c (__ccoshf): Likewise.
35402 * math/s_cexp.c (__cexpl): Likewise.
35403 * math/s_csin.c (__csin): Likewise.
35404 * math/s_csinh.c (__csinh): Likewise.
35405 * math/s_ctan.c (__ctan): Likewise.
35406 * math/s_ctanh.c (ctanh): Likewise.
35407 * math/s_ccoshl.c (__ccoshl): Likewise.
35408 * math/s_cexpl.c (__cexpl): Likewise.
35409 * math/s_csinl.c (__csinl): Likewise.
35410 * math/s_csinhl.c (__csinhl): Likewise.
35411 * math/s_ctanl.c (__ctanl): Likewise.
35412 * math/s_ctanhl.c (__ctanhl): Likewise.
35413
203e5603
JM
354142012-09-25 Joseph Myers <joseph@codesourcery.com>
35415
35416 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35417 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35418 (_IO_off_t): Define to __off_t, not _G_off_t.
35419 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35420 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35421 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35422 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35423 type of __dummy and __dummy2 fields.
35424 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35425 (_G_ssize_t): Likewise.
35426 (_G_off_t): Likewise.
35427 (_G_pid_t): Likewise.
35428 (_G_uid_t): Likewise.
35429 (_G_wchar_t): Likewise.
35430 (_G_wint_t): Likewise.
35431 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35432 (_G_ssize_t): Likewise.
35433 (_G_off_t): Likewise.
35434 (_G_pid_t): Likewise.
35435 (_G_uid_t): Likewise.
35436 (_G_wchar_t): Likewise.
35437 (_G_wint_t): Likewise.
35438 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35439 (_G_ssize_t): Likewise.
35440 (_G_off_t): Likewise.
35441 (_G_pid_t): Likewise.
35442 (_G_uid_t): Likewise.
35443 (_G_wchar_t): Likewise.
35444 (_G_wint_t): Likewise.
35445
9fab36eb
SP
354462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35447
35448 * malloc/arena.c: Include malloc-sysdep.h.
35449 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35450 is sufficient to shrink the heap or an unmap is needed.
35451 * sysdeps/generic/malloc-sysdep.h: New file. Define
35452 new function check_may_shrink_heap.
35453 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35454 new function check_may_shrink_heap.
35455
2b4f00d1
SP
354562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35457
35458 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35459 comments.
35460
9a9028b1
DL
354612012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35462
57c69bef
DL
35463 * catgets/test-gencat.sh: Add "set -e".
35464 * elf/tst-pathopt.sh: Likewise.
35465 * grp/tst_fgetgrent.sh: Likewise.
35466 * iconvdata/run-iconv-test.sh: Likewise.
35467 * intl/tst-gettext.sh: Likewise.
35468 * intl/tst-gettext2.sh: Likewise.
35469 * intl/tst-gettext4.sh: Likewise.
35470 * intl/tst-gettext6.sh: Likewise.
35471 * intl/tst-translit.sh: Likewise.
35472 * io/ftwtest-sh: Likewise.
35473 * libio/test-freopen.sh: Likewise.
35474 * malloc/tst-mtrace.sh: Likewise.
35475 * posix/globtest.sh: Likewise.
35476 * posix/tst-getconf.sh: Likewise.
35477 * posix/wordexp-tst.sh: Likewise.
35478 * stdio-common/tst-printf.sh: Likewise.
35479 * stdio-common/tst-unbputc.sh: Likewise.
35480 * stdlib/tst-fmtmsg.sh: Likewise.
35481 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35482 * catgets/Makefile: Do not specify -e option when running
35483 testsuite shell scripts.
35484 * elf/Makefile: Likewise.
35485 * grp/Makefile: Likewise.
35486 * iconvdata/Makefile: Likewise.
35487 * intl/Makefile: Likewise.
35488 * io/Makefile: Likewise.
35489 * libio/Makefile: Likewise.
35490 * malloc/Makefile: Likewise.
35491 * posix/Makefile: Likewise.
35492 * stdio-common/Makefile: Likewise.
35493 * stdlib/Makefile: Likewise.
35494 * sysdeps/x86_64/Makefile: Likewise.
35495
9a9028b1
DL
35496 * io/ftwtest-sh: Add copyright header.
35497 * posix/globtest.sh: Likewise.
35498 * posix/tst-getconf.sh: Likewise.
35499 * posix/wordexp-tst.sh: Likewise.
35500 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35501
ced6f16e
L
355022012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35503
94b32c39
L
35504 [BZ #13679]
35505 * Makeconfig (+link): Defined as $(+link-static) if
35506 $(build-shared) isn't yes.
35507 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35508 isn't yes.
35509 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35510
189e935b
L
35511 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35512
ced6f16e
L
35513 [BZ #14562]
35514 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35515 new chunk size with MALLOC_ALIGN_MASK.
35516
a9f8e53a
JM
355172012-09-24 Joseph Myers <joseph@codesourcery.com>
35518
35519 [BZ #5044]
35520 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35521 <rounding-mode.h>.
35522 (__printf_fphex): Determine rounding using get_rounding_mode and
35523 round_away.
35524 * stdio-common/tst-printf-round.c (struct hex_test): New
35525 structure.
35526 (hex_tests): New variable.
35527 (test_hex_in_one_mode): New function.
35528 (do_test): Also run tests for hex float output.
35529
43153109
JM
355302012-09-21 Joseph Myers <joseph@codesourcery.com>
35531
35532 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35533 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35534 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35535 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35536 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35537 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35538 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35539 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35540
8a26625d
JM
355412012-09-20 Joseph Myers <joseph@codesourcery.com>
35542
35543 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35544 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35545 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35546 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35547
f3fd569c
DL
355482012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35549
35550 [BZ #14579]
35551 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35552 mode only.
35553 * elf/tst-rtld-load-self.sh: New test.
35554 * elf/Makefile: Run it.
35555
63bbedd4
JM
355562012-09-18 Joseph Myers <joseph@codesourcery.com>
35557
35558 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35559 (tst-writev-ENV): Remove.
35560 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35561
626f8b6a
CM
355622012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35563
35564 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35565
b7aaa4d6
JM
355662012-09-17 Joseph Myers <joseph@codesourcery.com>
35567
35568 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35569 unconditional.
35570 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35571 Likewise.
35572 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35573 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35574 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35575 Likewise.
35576
65513990
L
355772012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35578
35579 [BZ #14587]
35580 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35581 * config.make.in (have-cpp-asm-debuginfo): Removed.
35582 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35583 * configure: Regenerated.
35584
784761be
JM
355852012-09-14 Joseph Myers <joseph@codesourcery.com>
35586
35587 [BZ #5044]
35588 * stdio-common/printf_fp.c: Include <stdbool.h> and
35589 <rounding-mode.h>.
35590 (___printf_fp): Determine rounding using get_rounding_mode and
35591 round_away.
35592 * stdio-common/tst-printf-round.c: New file.
35593 * stdio-common/Makefile (tests): Add tst-printf-round.
35594 (link-libm): New variable.
35595 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35596
9503345f
L
355972012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35598
35599 [BZ #14576]
35600 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35601 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35602 Likewise.
35603 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35604 Likewise.
35605
ad35fc00
JM
356062012-09-13 Joseph Myers <joseph@codesourcery.com>
35607
35608 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35609 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35610 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35611 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35612
6c9b0f68
JM
356132012-09-12 Joseph Myers <joseph@codesourcery.com>
35614
35615 [BZ #14518]
35616 * include/rounding-mode.h: New file.
35617 * sysdeps/generic/get-rounding-mode.h: Likewise.
35618 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35619 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35620 (MAX_VALUE): New macro.
35621 (MIN_VALUE): Likewise.
35622 (overflow_value): New function.
35623 (underflow_value): Likewise.
35624 (round_and_return): Use overflow_value and underflow_value to
35625 determine return values in overflow and underflow cases. Use
35626 round_away to determine rounding depending on rounding mode.
35627 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35628 determine return values in overflow and underflow cases.
35629 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35630 (struct test_results): New structure.
35631 (struct test): Use struct test_results to store expected results
35632 for all rounding modes.
35633 (TEST): Include expected results for all rounding modes.
35634 (test_in_one_mode): New function.
35635 (do_test): Use test_in_one_mode to compute and check results.
35636 Check results for all rounding modes.
35637 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35638 $(link-libm).
35639
19fcedd5
AM
356402012-12-09 Allan McRae <allan@archlinux.org>
35641
1e9d84cd 35642 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 35643
8bbfd2f1
JM
356442012-09-11 Joseph Myers <joseph@codesourcery.com>
35645
35646 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35647 (_G_int32_t): Likewise.
35648 (_G_uint16_t): Likewise.
35649 (_G_uint32_t): Likewise.
35650 (_G_HAVE_BOOL): Likewise.
35651 (_G_HAVE_ATEXIT): Likewise.
35652 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35653 (_G_HAVE_IO_FILE_OPEN): Likewise.
35654 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35655 (_G_int32_t): Likewise.
35656 (_G_uint16_t): Likewise.
35657 (_G_uint32_t): Likewise.
35658 (_G_HAVE_BOOL): Likewise.
35659 (_G_HAVE_ATEXIT): Likewise.
35660 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35661 (_G_HAVE_IO_FILE_OPEN): Likewise.
35662 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35663 (_G_int32_t): Likewise.
35664 (_G_uint16_t): Likewise.
35665 (_G_uint32_t): Likewise.
35666 (_G_HAVE_BOOL): Likewise.
35667 (_G_HAVE_ATEXIT): Likewise.
35668 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35669 (_G_HAVE_IO_FILE_OPEN): Likewise.
35670
b1dc5912
L
356712012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35672
35673 * csu/libc-tls.c: Update copyright years.
35674
0e886ef9
JM
356752012-09-10 Joseph Myers <joseph@codesourcery.com>
35676
28361c5e
JM
35677 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35678 [!_G_USING_THUNKS]: Remove conditional code.
35679 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35680 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35681
0e886ef9
JM
35682 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35683 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35684 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35685 (_G_VTABLE_LABEL_PREFIX): Likewise.
35686 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35687 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35688 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35689 (_G_VTABLE_LABEL_PREFIX): Likewise.
35690 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35691 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35692 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35693 (_G_VTABLE_LABEL_PREFIX): Likewise.
35694 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35695
bcba7aa2
L
356962012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35697
35698 * libio/Makefile: Include ../Makeconfig before tests.
35699 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35700 only if $(build-shared) is yes.
35701
06585ee8
L
35702 * iconv/gconv_db.c: Update copyright years.
35703
80ccd52c
LD
357042012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35705
35706 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35707 unwind info if defined PIC. Fix special cases description.
35708 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35709
35710 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35711 DP_HI_MASK entry.
35712 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35713
691bc9c1
L
357142012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35715
3d9b46b3
L
35716 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35717
de2139a9
L
35718 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35719 is NULL.
35720
5ca78dd0
L
35721 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35722 (LDLIBS-tst-chk4): This.
35723 (LDFLAGS-tst-chk5): Renamed to ...
35724 (LDLIBS-tst-chk5): This.
35725 (LDFLAGS-tst-chk6): Renamed to ...
35726 (LDLIBS-tst-chk6): This.
35727 (LDFLAGS-tst-lfschk4): Renamed to ...
35728 (LDLIBS-tst-lfschk4): This.
35729 (LDFLAGS-tst-lfschk5): Renamed to ...
35730 (LDLIBS-tst-lfschk5): This.
35731 (LDFLAGS-tst-lfschk6): Renamed to ...
35732 (LDLIBS-tst-lfschk6): This.
35733
691bc9c1
L
35734 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35735 on $(common-objpfx)soversions.mk.
35736
65cafb1c
JM
357372012-09-07 Joseph Myers <joseph@codesourcery.com>
35738
35739 [BZ #10014]
35740 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35741 example host name.
35742
c78ab094
SP
357432012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35744
35745 * malloc/arena.c (arena_get_retry): New function that gets
35746 another arena for the caller to try its request on.
35747 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35748 current arena cannot fulfill the request.
35749 (__libc_memalign): Likewise.
35750 (__libc_memalign): Likewise.
35751 (__libc_pvalloc): Likewise.
35752 (__libc_calloc): Likewise.
35753
01f49f59
JT
357542012-09-05 John Tobey <john.tobey@gmail.com>
35755
35756 [BZ #13542]
35757 * manual/arith.texi (Operations on Complex): Fix description
35758 of carg branch cut.
35759
4c23fed5
JM
357602012-09-06 Joseph Myers <joseph@codesourcery.com>
35761
1d3c8572
JM
35762 [BZ #10014]
35763 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35764 host name.
35765
4c23fed5
JM
35766 [BZ #10038]
35767 * manual/memory.texi (Memory): Make order of menu items match
35768 order of sections.
35769
04570aaa
L
357702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35771
35772 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35773 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35774 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35775
b80af2f4
L
357762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35777
35778 * csu/libc-tls.c (static_dtv): Renamed to ...
35779 (_dl_static_dtv): This. Make it global.
35780 (_dl_initial_dtv): Removed.
35781 (__libc_setup_tls): Updated.
35782 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35783 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35784 DL_INITIAL_DTV.
35785
2abe9f15
PM
357862012-09-06 Petr Machata <pmachata@redhat.com>
35787
35788 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35789 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35790 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35791 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35792
0948c3af
L
357932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35794
35795 [BZ #14545]
35796 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35797 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35798 freeing dtv[-1].
35799
a5055ad1
L
358002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35801
35802 [BZ #14544]
35803 * Makeconfig (link-static-before-libc): Replace $(+prector)
35804 with $(+prectorT).
35805 (link-static-after-libc): Replace $(+postctor) with
35806 $(+postctorT).
35807 (link-bounded): Replace $(+prector)/$(+postctor) with
35808 $(+prectorT)/$(+postctorT).
35809 (+prectorT): New macro.
35810 (+postctorT): Likewise.
35811
ed8c2ecd
JM
358122012-09-06 Joseph Myers <joseph@codesourcery.com>
35813
35814 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35815 (round_str): Handle values above the maximum for IBM long double
35816 as inexact.
35817 * stdlib/tst-strtod-round.c (tests): Regenerated.
35818
14c996c8
AK
358192012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35820
35821 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35822 assembler flag.
35823 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35824 zarch_nohighgprs around the zarch optimized routines.
35825 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35826 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35827 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35828 for zarch.
35829
430d6ce6
DM
358302012-09-05 David S. Miller <davem@davemloft.net>
35831
35832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35833
57f41c40
AS
35834 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35835 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
35836 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35837 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35838 entries.
35839
24d4e01b
AO
358402012-09-05 Alexandre Oliva <aoliva@redhat.com>
35841
35842 * malloc/arena.c: Fold copyright years.
35843 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35844
61d58174
AO
358452012-09-05 Alexandre Oliva <aoliva@redhat.com>
35846
35847 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35848
20196a5e
AO
358492012-09-05 Alexandre Oliva <aoliva@redhat.com>
35850
35851 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35852
5c447383
AO
358532012-09-05 Alexandre Oliva <aoliva@redhat.com>
35854
35855 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35856 change internal state upon failure.
35857
fad64255
AO
358582012-09-05 Alexandre Oliva <aoliva@redhat.com>
35859
35860 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35861 * malloc/memusage.c (mmap): Likewise.
35862 (mmap64, mremap): Likewise. Adjust name in comment.
35863
1ffb8c90
SP
358642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35865
35866 * libio/fileops.c: Fix typos in comments.
35867 * libio/oldfileops.c: Likewise.
35868 * libio/wfileops.c: Likewise.
35869
6ef9cc37
SP
358702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35871
35872 [BZ #1349]
35873 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35874 (tst-malloc-usable-ENV): Set environment for test case.
35875 * malloc/hooks.c (malloc_check_get_size): New function to get
35876 requested size.
35877 * malloc/malloc.c (musable): Use malloc_check_get_size.
35878 * malloc/tst-malloc-usable.c: New test case.
35879
4d038ae3
AS
358802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35881
35882 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35883
c4e85184
AM
358842012-09-05 Allan McRae <allan@archlinux.org>
35885
b9dafc56 35886 [BZ #13966]
c4e85184
AM
35887 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35888 determine header location.
35889 * configure: Regenerated.
35890
e1343020
AS
358912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35892
35893 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35894 float format.
35895 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
35896 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35897 format.
e1343020
AS
35898 (test): Regenerate.
35899
0a9f1987
DM
359002012-09-04 David S. Miller <davem@davemloft.net>
35901
35902 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35903 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35904 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35905
29237804
FW
359062012-09-04 Florian Weimer <fweimer@redhat.com>
35907
35908 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35909 failures.
35910
edb3cb88
FW
35911 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35912
60160d83
JM
359132012-09-04 Joseph Myers <joseph@codesourcery.com>
35914
35915 [BZ #9914]
35916 * libio/iogetdelim.c: Include <limits.h>.
35917 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35918 + len + 1 would overflow.
35919
bcd6c8dc
AJ
359202012-09-03 Andreas Jaeger <aj@suse.de>
35921
35922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35923 * sysdeps/i386/fpu/libm-test-ulps: Update.
35924
4ffffbd2
LD
359252012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35926
35927 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35928 Add s_sinf-sse2, s_conf-sse2.
35929
35930 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35931 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35932 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35933 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35934
35935 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35936 for using routine as __sinf_ia32.
35937 Use macro for function declaration and weak_alias.
35938 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35939 for using routine as __cosf_ia32.
35940 Use macro for function declaration and weak_alias.
35941
35942 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35943 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35944
35945 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35946 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35948
35949 * math/libm-test.inc (cos_test): Add more test cases.
35950 (sin_test): Likewise.
35951 (sincos_test): Likewise.
35952
511fa286
AK
359532012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35954
35955 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35956 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35957 hidden.
35958 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35959
5f30cfec
L
359602012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35961
35962 [BZ #14538]
35963 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35964 first element of the GOT.
35965 (elf_machine_load_address): Return the difference between
35966 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35967
0786794f
AM
359682012-09-01 Allan McRae <allan@archlinux.org>
35969
5f30cfec
L
35970 [BZ #13412]
35971 * configure.in (AWK): Require gawk version 3.0 or later.
35972 * configure: Regenerated.
0786794f 35973
26889eac
JM
359742012-09-01 Joseph Myers <joseph@codesourcery.com>
35975
35976 * sysdeps/unix/sysv/linux/kernel-features.h
35977 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35978 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35979 [__NR_clock_getres]: Make code unconditional.
35980 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35981 (clock_getcpuclockid): Remove code left unreachable by removal of
35982 conditionals.
35983 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35984 code unconditional.
35985 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35986 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35987 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35988 Make code unconditional.
35989 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35990 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35991 * sysdeps/unix/sysv/linux/clock_settime.c
35992 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35993 conditional code.
35994 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35995 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35996
d22e28b0
L
359972012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35998
35999 [BZ #14476]
36000 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36001 scripts/test-installation.pl.
36002
36003 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36004 and $ld_so_version if it is set.
36005
050af9c4
SP
360062012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36007
36008 [BZ #14516]
36009 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36010 failure if reading from procfs failed.
36011 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36012
ad845c0b
JM
360132012-08-27 Joseph Myers <joseph@codesourcery.com>
36014
36015 * sysdeps/unix/sysv/linux/kernel-features.h
36016 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36017 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36018 Remove conditional code.
36019 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36020 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36021 Remove conditional code.
36022 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36023 * sysdeps/unix/sysv/linux/i386/fxstat.c
36024 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36025 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36026 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36027 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36028 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36029 * sysdeps/unix/sysv/linux/i386/lxstat.c
36030 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36031 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36032 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36033 Remove conditional code.
36034 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36035 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36036 Remove conditional code.
36037 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36038 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36039 <kernel-features.h>.
36040 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36041 Remove.
36042 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36043 Remove conditional code.
36044 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36045 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36046 Remove conditional.
36047
5dbf56af
MF
360482012-08-27 Mike Frysinger <vapier@gentoo.org>
36049
36050 [BZ #5400]
36051 * NEWS: Add fixed bug number.
36052
d6e70f43
JM
360532012-08-27 Joseph Myers <joseph@codesourcery.com>
36054
7efb4737
JM
36055 [BZ #14519]
36056 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36057 underflowing exponent in case of negative sign.
36058 * stdlib/tst-strtod-round-data: Add more tests.
36059 * stdlib/tst-strtod-round.c (tests): Regenerated.
36060
af92131a
JM
36061 [BZ #3479]
36062 * stdlib/strtod_l.c (NDIG): Remove.
36063 (HEXNDIG): Likewise.
36064 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36065 smallest representable value.
36066 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36067 lie within an exact representation of 1/2 ulp of the result.
36068 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36069 unconditionally.
36070 (TENS_P9_IDX): Define unconditionally.
36071 (TENS_P9_SIZE): Likewise.
36072 (TENS_P10_IDX): Likewise.
36073 (TENS_P10_SIZE): Likewise.
36074 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36075 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36076 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36077 entries for 10^2^13 and 10^2^14.
36078 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36079 (TENS_P13_IDX): Define.
36080 (TENS_P13_SIZE): Likewise.
36081 (TENS_P14_IDX): Likewise.
36082 (TENS_P14_SIZE): Likewise.
36083 (_fpioconst_pow10): Change array size to
36084 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36085 unconditional.
36086 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36087 1024]: Add entries for 10^2^13 and 10^2^14.
36088 [LAST_POW10 > _LAST_POW10]: Remove #error.
36089 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36090 (_fpioconst_pow10): Change array size to
36091 FPIOCONST_POW10_ARRAY_SIZE.
36092 * stdlib/gen-fpioconst.c: New file.
36093 * stdlib/gen-tst-strtod-round.c: Likewise.
36094 * stdlib/tst-strtod-round-data: Likewise.
36095 * stdlib/tst-strtod-round.c: Likewise.
36096 * stdlib/Makefile (tests): Add tst-strtod-round.
36097
d6e70f43
JM
36098 [BZ #14459]
36099 * stdlib/strtod_l.c: Include <stdint.h>.
36100 (NDEBUG): Do not define.
36101 (round_and_return): Change EXPONENT parameter to type intmax_t.
36102 Rearrange calculations to avoid internal overflow possibilities.
36103 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36104 Rearrange calculations to avoid internal overflow possibilities.
36105 Assert that number fits inside MPNSIZE limbs.
36106 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36107 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36108 calculations and add assertions to avoid internal overflow
36109 possibilities. Add casts to avoid signed/unsigned operations.
36110 * stdlib/tst-strtod-overflow.c: New file.
36111 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36112
1f529f7d
MP
361132012-08-25 Marek Polacek <polacek@redhat.com>
36114
36115 * time/time.h: Fix some typos in comments.
36116
59a629f1
RM
361172012-08-23 Roland McGrath <roland@hack.frob.com>
36118
36119 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36120 * posix/tst-rfc3484-2.c: Likewise.
36121 * posix/tst-rfc3484-3.c: Likewise.
36122
d3bafbc9
SM
361232012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36124
36125 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36126 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36127
4efcc022
JM
361282012-08-23 Joseph Myers <joseph@codesourcery.com>
36129
36130 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36131 #include of fxstatat64.c.
36132
3cc3ef96
RM
361332012-08-22 Roland McGrath <roland@hack.frob.com>
36134
f04e2132
RM
36135 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36136 * shadow/getspent_r.c: Likewise.
36137 * shadow/getspnam.c: Likewise.
36138 * shadow/getspnam_r.c: Likewise.
36139 * gshadow/getsgent.c: Likewise.
36140 * gshadow/getsgent_r.c: Likewise.
36141 * gshadow/getsgnam.c: Likewise.
36142 * gshadow/getsgnam_r.c: Likewise.
36143 * inet/getnetbyad.c: Likewise.
36144 * inet/getnetbyad_r.c: Likewise.
36145 * inet/getnetbynm.c: Likewise.
36146 * inet/getnetbynm_r.c: Likewise.
36147 * inet/getnetent.c: Likewise.
36148 * inet/getnetent_r.c: Likewise.
36149 * inet/getproto.c: Likewise.
36150 * inet/getproto_r.c: Likewise.
36151 * inet/getprtent.c: Likewise.
36152 * inet/getprtent_r.c: Likewise.
36153 * inet/getprtname.c: Likewise.
36154 * inet/getprtname_r.c: Likewise.
36155 * inet/getrpcbyname.c: Likewise.
36156 * inet/getrpcbyname_r.c: Likewise.
36157 * inet/getrpcbynumber.c: Likewise.
36158 * inet/getrpcbynumber_r.c: Likewise.
36159 * inet/getrpcent.c: Likewise.
36160 * inet/getrpcent_r.c: Likewise.
36161 * inet/getaliasent.c: Likewise.
36162 * inet/getaliasent_r.c: Likewise.
36163 * inet/getaliasname.c: Likewise.
36164 * inet/getaliasname_r.c: Likewise.
36165 * nscd/getgrgid_r.c: Likewise.
36166 * nscd/getgrnam_r.c: Likewise.
36167 * nscd/gethstbyad_r.c: Likewise.
36168 * nscd/gethstbynm3_r.c: Likewise.
36169 * nscd/getpwnam_r.c: Likewise.
36170 * nscd/getpwuid_r.c: Likewise.
36171 * nscd/getsrvbynm_r.c: Likewise.
36172 * nscd/getsrvbypt_r.c: Likewise.
36173 * nscd/gai.c: Likewise.
36174
c53d909c
RM
36175 * configure.in (build_nscd): New substituted variable, set
36176 by --disable-build-nscd and defaults to $use_nscd.
36177 * configure: Regenerated.
36178 * config.make.in (build-nscd): New substituted variable.
36179 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36180 Change conditional to require [$(build-nscd) = yes] as well.
36181 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36182
3cc3ef96
RM
36183 [BZ# 13696]
36184 * configure.in (use_nscd): New substituted variable, set by
36185 --disable-nscd. If enabled, define USE_NSCD.
36186 * configure: Regenerated.
36187 * config.h.in: Add USE_NSCD.
36188 * config.make.in (use-nscd): New substituted variable.
36189 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36190 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36191 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36192 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36193 (CFLAGS-getgrnam_r.c): Likewise.
36194 (CFLAGS-initgroups.c): Likewise.
36195 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36196 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36197 Variables removed.
36198 * inet/getnetgrent_r.c
36199 (nscd_setnetgrent): New function, broken out of ...
36200 (setnetgrent): ... here. Call it.
36201 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36202 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36203 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36204 * nscd/Makefile (routines, aux): Move definitions after include of
36205 Makeconfig. Conditionalize on [$(use-nscd) != no].
36206 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36207 Conditionalize on [USE_NSCD].
36208 (is_nscd, nscd_init_cb): Likewise.
36209 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36210 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36211 * nss/nss_db/db-init.c: Likewise.
36212 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36213 [USE_NSCD].
36214 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36215 (make_request): Use it.
36216 (cache_valid_p): New function.
36217 (__check_pf): Use it.
36218 * NEWS: Add item for --disable-nscd.
36219
07e51550
DL
362202012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36221
36222 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36223 to support sed >= 4.2.1-20-ga9bf076.
36224 * configure: Regenerated.
36225
35a5b08b
RM
362262012-08-22 Roland McGrath <roland@hack.frob.com>
36227
36228 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36229 Conditionalize whole body on [IREL].
36230
8479f23a
JL
362312012-08-22 Jeff Law <law@redhat.com>
36232
36233 [BZ #14505]
36234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36235 if the family is PF_UNSPEC.
36236
48da0b21
MF
362372012-08-22 Mike Frysinger <vapier@gentoo.org>
36238
36239 * Makerules (lib-version): Rename from V.
36240 (install-lib-nosubdir): Change V to lib-version.
36241
15d0da8c
WS
362422012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36243
36244 [BZ #14252]
36245 * powerpc32/power6/wcschr.c: New file.
36246 * powerpc32/power6/wcscpy.c: New file.
36247 * powerpc32/power6/wcsrchr.c: New file.
36248 * powerpc64/power6/wcschr.c: New file.
36249 * powerpc64/power6/wcscpy.c: New file.
36250 * powerpc64/power6/wcsrchr.c: New file.
36251
bcca0895
MK
362522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36253
36254 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36255 (two_way_short_needle): Use it.
5a4aaa33
RM
36256 * string/strstr.c (AVAILABLE1_USES_J): Define.
36257 * string/strcasestr.c: Likewise.
99677e57
MK
36258
36259 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36260 array references.
36261 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36262
400726de
MK
36263 [BZ #11607]
36264 * NEWS: Add an entry.
36265 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36266 define their defaults.
36267 (two_way_short_needle): Detect end-of-string on-the-fly.
36268 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36269 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36270 * string/bug-strcasestr1.c: New test.
36271 * string/Makefile: Run it.
36272
20a71f2c
MK
362732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36274
36275 [BZ #11607]
36276 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36277 the first character.
36278
21ad0558
RM
362792012-08-21 Roland McGrath <roland@hack.frob.com>
36280
36281 * csu/elf-init.c (__libc_csu_irel): Function removed.
36282 * csu/libc-start.c (apply_irel): New function.
36283 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36284
0e1d9911
JM
362852012-08-21 Joseph Myers <joseph@codesourcery.com>
36286
36287 * sysdeps/unix/sysv/linux/kernel-features.h
36288 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36289 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36290 <kernel-features.h>.
36291 [__NR_fadvise64_64]: Make code unconditional.
36292 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36293 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36294 !__NR_fadvise64_64)]: Likewise.
36295 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36296 !__NR_fadvise64_64))]: Likewise.
36297 [__NR_fadvise64]: Make code unconditional.
36298 [!__NR_fadvise64]: Remove conditional code.
36299 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36300 <kernel-features.h>.
36301 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36302 unconditional.
36303 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36304 conditional code.
36305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36306 not include <kernel-features.h>.
36307 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36308 unconditional.
36309 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36310 conditional code.
36311 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36312 include <kernel-features.h>.
36313 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36314 unconditional.
36315 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36316 conditional code.
36317
14a50c9d
WS
363182012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36319
36320 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36321 slight instruction rearrangements per scrollpipe analysis.
36322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36323
c0f4faf0
RM
363242012-08-20 Roland McGrath <roland@hack.frob.com>
36325
696da859
RM
36326 * manual/syslog.texi (syslog; vsyslog, closelog):
36327 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36328 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36329
c0f4faf0
RM
36330 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36331 DSOCAPS to match condition on defining it.
36332
348363b2
JM
363332012-08-20 Joseph Myers <joseph@codesourcery.com>
36334
a35cbf28
JM
36335 * sysdeps/unix/sysv/linux/kernel-features.h
36336 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36338 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36339 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36341 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36342 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36344 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36345 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36346
445f7ecd
JM
36347 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36348 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36349
348363b2
JM
36350 * sysdeps/unix/sysv/linux/kernel-features.h
36351 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36352 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36353 unconditional.
36354 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36355 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36356 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36357 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36358 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36359 Make code unconditional.
36360 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36361 (__mmap64) [!__NR_mmap2]: Likewise.
36362 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36363 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36364 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36365 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36366 [__NR_mmap2]: Make code unconditional.
36367 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36368 (__mmap64) [!__NR_mmap2]: Likewise.
36369
bc5bc0e5
AK
363702012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36371
36372 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36373
88d506de
AJ
363742012-08-18 Andreas Jaeger <aj@suse.de>
36375
36376 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36377
493387d2
MF
363782012-08-18 Mike Frysinger <vapier@gentoo.org>
36379
36380 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36381 * include/unistd.h (__have_sock_cloexec): Likewise.
36382 (__have_pipe2): Likewise.
36383 (__have_dup3): Likewise.
36384
a277af22
MF
363852012-08-18 Mike Frysinger <vapier@gentoo.org>
36386
36387 [BZ #9685]
36388 * include/unistd.h (__have_pipe2): Change define into an extern int.
36389 (__have_dup3): Likewise.
36390 * socket/have_sock_cloexec.c: Include fcntl.h.
36391 (__have_pipe2): New variable.
36392 (__have_dup3): Likewise.
36393
fdab8fd3
MF
363942012-08-17 Mike Frysinger <vapier@gentoo.org>
36395
36396 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36397
31035e80
MP
363982012-08-17 Marek Polacek <polacek@redhat.com>
36399
36400 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36401 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36402
3bd9e993
RM
364032012-08-17 Roland McGrath <roland@hack.frob.com>
36404
c91c505f
RM
36405 * configure.in: Add AC_SUBST for sysheaders.
36406 * configure: Regenerated.
36407 * config.make.in (sysheaders): New substituted variable.
36408
7c6f9d53
RM
36409 * sysdeps/unix/mkfifo.c: Moved ...
36410 * sysdeps/posix/mkfifo.c: ... here.
36411 * sysdeps/unix/mkfifoat.c: Moved ...
36412 * sysdeps/posix/mkfifoat.c: ... here.
36413
36414 * sysdeps/unix/utime.c: Moved ...
36415 * sysdeps/posix/utime.c: ... here.
36416
36417 * sysdeps/unix/time.c: Moved ...
36418 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
36419 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36420 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
36421
36422 * sysdeps/unix/nice.c: Moved ...
36423 * sysdeps/posix/nice.c: ... here.
36424
36425 * sysdeps/unix/alarm.c: Moved ...
36426 * sysdeps/posix/alarm.c: ... here.
36427
3bd9e993
RM
36428 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36429
d1f09384
JL
364302012-08-17 Jeff Law <law@redhat.com>
36431
36432 * intl/Makefile (codeset_mo): New variable.
36433 ($(codeset_mo)): New target.
36434 (tst-codeset.out): Depend on that. Remove explicit rule.
36435 (tst-gettext3.out, tst-gettext5.out): Likewise.
36436 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36437 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36438 * intl/tst-codeset.sh: Remove.
36439 * intl/tst-gettext3.sh: Likewise.
36440 * intl/tst-gettext5.sh: Likewise.
36441
2ae1ae5c
RM
364422012-08-17 Roland McGrath <roland@hack.frob.com>
36443
c31fdb83
RM
36444 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36445 * sysdeps/unix/syscalls.list: ... here.
36446
a0844057
RM
36447 * sysdeps/posix/getaddrinfo.c
36448 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36449 (gaiconf_init, gaiconf_reload): Use them.
36450 [!_STATBUF_ST_NSEC]
36451 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36452 Define using time_t rather than struct timespec.
36453
750c1f2a
RM
36454 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36455 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36456 Macros removed.
36457 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36458 [!NO_THREADS].
36459 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36460 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36461 Likewise.
36462
2ae1ae5c
RM
36463 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36464 __libc_cleanup_push argument.
36465
e66a42f5
RM
36466 * bits/param.h: New file.
36467 * misc/sys/param.h: New file.
36468 * include/sys/param.h: New file.
36469 * misc/Makefile (headers): Add bits/param.h.
36470 * sysdeps/generic/sys/param.h: File removed.
36471 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36472 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36473 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 36474 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 36475
b7c08a66
RM
36476 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36477 last change.
36478
b2e1c562
RM
36479 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36480 [_IO_MTSAFE_IO].
36481 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36482 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36483 New macros.
36484
c75ccd4c
RM
36485 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36486 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36487 rather than -D_IO_MTSAFE_IO conditionally.
36488 * stdio-common/Makefile (CPPFLAGS): Likewise.
36489 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36490 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36491 Use $(libio-mtsafe).
36492 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36493 of -D_IO_MTSAFE_IO.
36494 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36495 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36496 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36497 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36498 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36499 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36500 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36501 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36502 (CFLAGS-fread_u_chk.c): Likewise.
36503 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36504 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36505 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36506 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36507 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36508 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36509 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36510 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36511 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36512
36513 * libio/Makefile: Test [$(libc-reentrant) = yes]
36514 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36515
36516 * Makeconfig
36517 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36518 * sysdeps/pthread/configure: File removed.
36519 * sysdeps/pthread/Makeconfig: New file.
36520 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36521 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36522
d9195db8
GB
365232012-08-16 Gary Benson <gbenson@redhat.com>
36524
36525 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36526 unmapping the first object in a namespace.
36527
86466cd9
RM
365282012-08-16 Roland McGrath <roland@hack.frob.com>
36529
36530 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36531 (__internal_setnetgrent): ... this. Add internal_function to
36532 definition. Add libc_hidden_def.
36533 (setnetgrent): Update caller.
36534 (internal_endnetgrent): Renamed to ...
36535 (__internal_endnetgrent): ... this. Add internal_function to
36536 definition. Add libc_hidden_def.
36537 (endnetgrent): Update caller.
36538 (internal_getnetgrent_r): Renamed to ...
36539 (__internal_getnetgrent_r): ... this. Add internal_function to
36540 definition. Add libc_hidden_def.
36541 (__getnetgrent_r): Update caller.
36542 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36543
c3c8283c
JM
365442012-08-16 Joseph Myers <joseph@codesourcery.com>
36545
36546 * stdlib/longlong.h: Update from GCC.
36547
db1ee0a8
RM
365482012-08-16 Roland McGrath <roland@hack.frob.com>
36549
36550 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36551 on _QL, which is set by umul_ppmm but never used.
36552 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36553 variables, which are set by GMP macros but never used.
36554 * stdio-common/_itowa.c (_itowa): Likewise.
36555 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36556 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36557
30f69637
CD
365582012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36559
36560 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36561 struct La_sh_regs is not constant.
36562 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36563 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36564 and struct La_sparc64_regs are not constant.
36565
93a78ac4
JM
365662012-08-16 Joseph Myers <joseph@codesourcery.com>
36567
36568 * sysdeps/unix/sysv/linux/kernel-features.h
36569 (__ASSUME_POSIX_TIMERS): Remove.
36570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36571 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36572 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36573 Make code unconditional.
36574 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36575 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36576 Make code unconditional.
36577 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36578 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36579 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36580 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36581 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36582 Make code unconditional.
36583 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36584 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36585 (__libc_missing_posix_timers): Remove.
36586
dd924cd7
RM
365872012-08-15 Roland McGrath <roland@hack.frob.com>
36588
4b4f2771
RM
36589 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36590 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36591
601c888b
RM
36592 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36593
176790a7
RM
36594 * elf/dl-sym.c: Include <stdlib.h>.
36595
329bc018
RM
36596 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36597 constants, which avoids warnings in 32-bit builds.
36598
e04e272d
RM
36599 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36600 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36601
952bf94a
RM
36602 * misc/lseek.c: File moved to ...
36603 * io/lseek.c: ... here.
36604
7c99b50a
RM
36605 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36606
dd924cd7
RM
36607 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36608 shifting LEN more than 31 bits at once.
36609
b3f479a8
LD
366102012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36611
36612 [BZ #14195]
8c4ae0d4
RM
36613 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36614 segmentation fault for a case of two empty input strings.
b3f479a8
LD
36615 * string/test-strncasecmp.c (check1): Renamed to...
36616 (bz12205): ...this.
36617 (bz14195): Add new testcase for two empty input strings and N > 0.
36618 (test_main): Call new testcase, adapt for renamed function.
36619
9c55864e
AJ
366202012-08-15 Andreas Jaeger <aj@suse.de>
36621
36622 [BZ #14090]
36623 * crypt/md5test2.c: New test, based on test supplied by Serge
36624 Belyshev <belyshev@depni.sinp.msu.ru>.
36625 * crypt/Makefile (xtests): Add md5test-giant..
36626 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36627
02dcb6c5
PE
366282012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36629
36630 [BZ #14090]
36631 * crypt/md5.c (md5_process_block): Don't assume the buffer
36632 length is less than 2**32.
36633 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36634 length is less than 2**64.
36635
a3f95dcc
RM
366362012-08-15 Roland McGrath <roland@hack.frob.com>
36637
be75d758
RM
36638 * string/str-two-way.h: Include <sys/param.h>.
36639 (MAX): Macro removed.
36640
7312ca90
RM
36641 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36642 Move #define and #undef of memmove to just before and after
36643 including <string.h>.
36644
9a0a5486
RM
36645 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36646 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36647 and after including <string.h>. Move declarations of
36648 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36649 to before #include "string/memmove.c".
36650
67cc348d
RM
36651 * include/dirent.h: Declare __getdirentries.
36652
a3f95dcc
RM
36653 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36654 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36655
ca98e171
MF
366562012-08-14 Mike Frysinger <vapier@gentoo.org>
36657
36658 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36659 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36660 * sysdeps/i386/configure: Regenerated.
36661 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36662 STABS_CURRENT_FILE, and STABS_FUN.
36663 (END): Remove call to STABS_FUN_END.
36664 (STABS_CURRENT_FILE1): Delete.
36665 (STABS_CURRENT_FILE): Likewise.
36666 (STABS_FUN): Likewise.
36667 (STABS_FUN_END): Likewise.
36668 (STABS_FUN2): Likewise.
36669 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36670 * sysdeps/x86_64/configure: Regenerated.
36671
5908bf46
RM
366722012-08-14 Roland McGrath <roland@hack.frob.com>
36673
36674 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 36675 * elf/dl-lookup.c: Likewise.
5908bf46 36676
f2c05b9e
JM
366772012-08-14 Joseph Myers <joseph@codesourcery.com>
36678
36679 * sysdeps/unix/sysv/linux/kernel-features.h
36680 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36681 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36682 unconditionally.
36683 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36684 unconditionally.
36685 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36686 condition on __ASSUME_CLONE_THREAD_FLAGS.
36687
e11f5155
AJ
366882012-08-14 Andreas Jaeger <aj@suse.de>
36689
36690 * sysdeps/i386/fpu/libm-test-ulps: Update.
36691
51a9ba86
MK
366922012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36693
2fdd4f78
AJ
36694 * include/atomic.h (atomic_exchange_and_add): Split into ...
36695 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36696 New atomic macros.
51a9ba86 36697
ba6cba9e
MT
366982012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36699
36700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36701
42443a47
JL
367022012-08-13 Jeff Law <law@redhat.com>
36703
36704 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36705 null byte in the output string.
36706
121dce05
JM
367072012-08-10 Joseph Myers <joseph@codesourcery.com>
36708
36709 * sysdeps/unix/sysv/linux/kernel-features.h
36710 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36711 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36712 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36713 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36714 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36715 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36716 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36717
bf51f568
JL
367182012-08-09 Jeff Law <law@redhat.com>
36719
36720 [BZ #13939]
36721 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36722 When avoid_arena is set, don't retry in the that arena. Pick the
36723 next one, whatever it might be.
36724 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36725 (arena_lock): Pass in new parameter to arena_get2.
36726 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36727 arena_get2.
36728 (__libc_malloc): Unify retrying after main arena failure with
36729 __libc_memalign version.
36730 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36731
f85fa270
L
367322012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36733
36734 [BZ #14166]
36735 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36736 to __redirect_strstr.
36737 (__strstr_sse42): Use typeof __redirect_strstr.
36738 (__strstr_ia32): Likewise.
36739 (__libc_strstr): New prototype.
36740 (strstr): Renamed to ...
36741 (__libc_strstr): This.
36742 (strstr): New strong alias of __libc_strstr.
36743 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36744 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36745 __redirect_time.
36746 Include <time.h>.
36747 (__libc_time): New prototype.
36748 (time_ifunc): Replace time with __libc_time.
36749 (time): New strong alias and hidden definition of __libc_time.
36750 (__GI_time): Remove strong alias.
36751 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36752 Include <stddef.h>.
36753 (memmove): Redefined to __redirect_memmove.
36754 (__memmove_sse2): Use typeof __redirect_memmove.
36755 (__memmove_ssse3): Likewise.
36756 (__memmove_ssse3_back): Likewise.
36757 (__libc_memmove): New prototype.
36758 (memmove): Renamed to ...
36759 (__libc_memmove): This.
36760 (memmove): New strong alias of __libc_memmove.
36761
33b4a91e
MS
367622012-08-08 Mark Salter <msalter@redhat.com>
36763
36764 * elf/elf.h
36765 (R_MN10300_TLS_GD): Define.
36766 (R_MN10300_TLS_LD): Likewise.
36767 (R_MN10300_TLS_LDO): Likewise.
36768 (R_MN10300_TLS_GOTIE): Likewise.
36769 (R_MN10300_TLS_IE): Likewise.
36770 (R_MN10300_TLS_LE): Likewise.
36771 (R_MN10300_TLS_DTPMOD): Likewise.
36772 (R_MN10300_TLS_DTPOFF): Likewise.
36773 (R_MN10300_TLS_TPOFF): Likewise.
36774 (R_MN10300_SYM_DIFF): Likewise.
36775 (R_MN10300_ALIGN): Likewise.
36776 (R_MN10300_NUM): Update.
36777
b36137f1
JM
367782012-08-08 Joseph Myers <joseph@codesourcery.com>
36779
36780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36781 Remove.
36782
cdd915fd
RM
367832012-08-08 Roland McGrath <roland@hack.frob.com>
36784
a2433aac
RM
36785 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36786
cdd915fd
RM
36787 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36788 sysdeps/unix -> sysdeps/posix move.
36789 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36790
bf9b740a
AM
367912012-08-07 Allan McRae <allan@archlinux.org>
36792
36793 [BZ #14303]
36794 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36795 (SUNOS_CPP): Likewise.
36796 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36797 not found.
36798 (open_input): Call CPP using execvp.
36799
93df14ee
JM
368002012-08-07 Joseph Myers <joseph@codesourcery.com>
36801
36802 * sysdeps/unix/sysv/linux/kernel-features.h
36803 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36804 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36805 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36806 (__ASSUME_WAITID_SYSCALL): Likewise.
36807 * sysdeps/unix/sysv/linux/dl-execstack.c
36808 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36809 code unconditional.
36810 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36811 conditional code.
36812 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36813 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36814 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36815 code.
36816 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36817 unconditional.
36818 [__ASSUME_WAITID_SYSCALL]: Likewise.
36819 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36820
d34689de
RM
368212012-08-07 Roland McGrath <roland@hack.frob.com>
36822
a281decc
RM
36823 * sysdeps/unix/closedir.c: Renamed to ...
36824 * sysdeps/posix/closedir.c: ... here.
36825 * sysdeps/unix/dirfd.c: Renamed to ...
36826 * sysdeps/posix/dirfd.c: ... here.
36827 * sysdeps/unix/dirstream.h: Renamed to ...
36828 * sysdeps/posix/dirstream.h: ... here.
36829 * sysdeps/unix/fdopendir.c: Renamed to ...
36830 * sysdeps/posix/fdopendir.c: ... here.
36831 * sysdeps/unix/opendir.c: Renamed to ...
36832 * sysdeps/posix/opendir.c: ... here.
36833 * sysdeps/unix/readdir.c: Renamed to ...
36834 * sysdeps/posix/readdir.c: ... here.
36835 * sysdeps/unix/readdir_r.c: Renamed to ...
36836 * sysdeps/posix/readdir_r.c: ... here.
36837 * sysdeps/unix/rewinddir.c: Renamed to ...
36838 * sysdeps/posix/rewinddir.c: ... here.
36839 * sysdeps/unix/seekdir.c: Renamed to ...
36840 * sysdeps/posix/seekdir.c: ... here.
36841 * sysdeps/unix/telldir.c: Renamed to ...
36842 * sysdeps/posix/telldir.c: ... here.
36843 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36844 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36845 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36846 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36847
22895b47
RM
36848 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36849 * bits/fcntl.h: ... here.
36850
707a53b6
RM
36851 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36852 not 0.
36853 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36854 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36855 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36856 (struct flock): Move l_start, l_len to the beginning.
36857 Use __pid_t for l_pid.
36858 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36859 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36860 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36861 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36862 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36863 [__USE_LARGEFILE64] (struct flock64): New type.
36864 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36865
f0bd3e25
RM
36866 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36867 * bits/dirent.h: ... here.
36868
d34689de
RM
36869 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36870 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36871
6dad2c06
JM
368722012-08-07 Joseph Myers <joseph@codesourcery.com>
36873
36874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36875 Change from 2.6.0 to 2.6.16.
36876 * sysdeps/unix/sysv/linux/configure: Regenerated.
36877 * sysdeps/unix/sysv/linux/kernel-features.h
36878 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36879 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36880 version.
36881 (__ASSUME_UTIMES): Likewise.
36882 (__ASSUME_CLONE_STOPPED): Remove.
36883 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36884 architectures, not kernel version.
36885 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36886 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36887 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36888 (__ASSUME_WAITID_SYSCALL): Likewise.
36889 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36890 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36891 * README: State 2.6.16 as minimum Linux kernel version. Do not
36892 refer to older versions.
36893
03af9520
RM
368942012-08-06 Roland McGrath <roland@hack.frob.com>
36895
8e49df1d
RM
36896 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36897 Define alphasort64 as an alias.
36898 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36899 Define versionsort64 as an alias.
36900 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36901 Define scandir64 as an alias.
36902 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36903 Define scandirat64 as an alias.
36904 * dirent/alphasort64.c (alphasort64):
36905 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36906 * dirent/versionsort64.c: Likewise.
36907 * dirent/scandir64.c: Likewise.
36908 * dirent/scandirat64.c: Likewise.
36909 * sysdeps/wordsize-64/alphasort.c: File removed.
36910 * sysdeps/wordsize-64/alphasort64.c: File removed.
36911 * sysdeps/wordsize-64/scandir.c: File removed.
36912 * sysdeps/wordsize-64/scandir64.c: File removed.
36913 * sysdeps/wordsize-64/scandirat.c: File removed.
36914 * sysdeps/wordsize-64/scandirat64.c: File removed.
36915 * sysdeps/wordsize-64/versionsort.c: File removed.
36916 * sysdeps/wordsize-64/versionsort64.c: File removed.
36917 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36918 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36919 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36920 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36921 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36922 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36923 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36924 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36925
36926 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36928 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36930 [defined __arch64__ || defined __sparcv9]
36931 (__INO_T_MATCHES_INO64_T): New macro.
36932 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36933 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36934 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36935 * sysdeps/unix/sysv/linux/bits/dirent.h
36936 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36937 (_DIRENT_MATCHES_DIRENT64): New macro.
36938
03af9520
RM
36939 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36940 Define lockf64 as an alias.
36941 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36942 Define fseeko64 as an alias.
36943 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36944 Define ftello64 as an alias.
36945 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36946 Define _IO_fgetpos64 and fgetpos64 as aliases.
36947 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36948 Define _IO_fsetpos64 and fsetpos64 as aliases.
36949 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36950 Conditionalize body on this.
36951 * libio/fseeko64.c: Likewise.
36952 * libio/ftello64.c: Likewise.
36953 * libio/iofgetpos64.c: Likewise.
36954 * libio/iofsetpos64.c: Likewise.
36955 * sysdeps/wordsize-64/lockf.c: File removed.
36956 * sysdeps/wordsize-64/lockf64.c: File removed.
36957 * sysdeps/wordsize-64/fseeko.c: File removed.
36958 * sysdeps/wordsize-64/fseeko64.c: File removed.
36959 * sysdeps/wordsize-64/ftello.c: File removed.
36960 * sysdeps/wordsize-64/ftello64.c: File removed.
36961 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36962 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36963 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36964 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36965 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36966 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36967 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36968 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36969 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36970 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36971 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36972 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36973 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36974 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36975
36976 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36978 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36979 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36980 [defined __arch64__ || defined __sparcv9]
36981 (__OFF_T_MATCHES_OFF64_T): New macro.
36982 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36983 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36984 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36985 (__OFF_T_MATCHES_OFF64_T): New macro.
36986
c5757acd
L
369872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36988
36989 * stdlib/secure-getenv.c (__secure_getenv): Replace
36990 GLIBC_2_16 with GLIBC_2_17.
36991
3a31811e
L
369922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36993
36994 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36995 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36996
faa2bccb
DM
369972012-08-03 David S. Miller <davem@davemloft.net>
36998
36999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37000
85fe1997
JM
370012012-08-03 Joseph Myers <joseph@codesourcery.com>
37002
37003 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37004 Remove.
37005 (__ASSUME_CORRECT_SI_PID): Likewise.
37006 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37007 (__ASSUME_TMPFS_NAME): Likewise.
37008 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37009 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37010 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37011 (HAVE_AUX_SECURE): Make definition unconditional.
37012 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37013 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37014
4f75b7a0
RM
370152012-08-03 Roland McGrath <roland@hack.frob.com>
37016
37017 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37018 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37019 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37020 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37021 __eloop_threshold instead of SYMLOOP_MAX.
37022
37023 * sysdeps/generic/eloop-threshold.h: New file.
37024 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37025 of MAXSYMLINKS.
37026 * elf/chroot_canon.c (chroot_canon): Likewise.
37027
7aab07e4
JM
370282012-08-03 Joseph Myers <joseph@codesourcery.com>
37029
37030 [BZ #13717]
37031 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37032 Change to 2.6.0 everywhere.
37033 * sysdeps/unix/sysv/linux/configure: Regenerated.
37034 * sysdeps/unix/sysv/linux/kernel-features.h
37035 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37036 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37037 kernel versions.
37038 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37039 (__ASSUME_FUTEX_REQUEUE): Remove.
37040 (__ASSUME_STATFS64): Define unconditionally.
37041 (__ASSUME_AT_SECURE): Likewise.
37042 (__ASSUME_CORRECT_SI_PID): Likewise.
37043 (__ASSUME_TGKILL): Define without depending on kernel version for
37044 i386.
37045 (__ASSUME_UTIMES): Likewise.
37046 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37047 kernel version.
37048 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37049 (__ASSUME_TMPFS_NAME): Likewise.
37050 * README: Update reference to Linux kernel versions.
37051
b67e9372
MP
370522012-08-02 Marek Polacek <polacek@redhat.com>
37053
1f529f7d 37054 [BZ# 14150]
b67e9372
MP
37055 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37056 libc_cv_asm_type_prefix with %.
37057 * configure: Regenerated.
d2441631
RM
37058 * include/libc-symbols.h: Remove comment about
37059 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
37060 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37061 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37062 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37063 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37064 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37065 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37066 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37067 * elf/tst-unique2mod1.c: Likewise.
37068 * elf/tst-unique1mod2.c: Likewise.
37069 * elf/tst-unique1mod1.c: Likewise.
37070 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37071 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37072 Replace ASM_TYPE_DIRECTIVE with .type.
37073 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37074 * sysdeps/i386/sysdep.h: Likewise.
37075 * sysdeps/x86_64/sysdep.h: Likewise.
37076 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
37077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37078 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 37079 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
37080 * sysdeps/powerpc/powerpc32/sysdep.h:
37081 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
37082 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37083 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37084 * sysdeps/i386/fpu/e_powf.S: Likewise.
37085 * sysdeps/i386/fpu/e_expl.S: Likewise.
37086 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37087 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37088 * sysdeps/i386/fpu/e_pow.S: Likewise.
37089 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37090 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37091 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37092 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37093 * sysdeps/i386/fpu/e_log2.S: Likewise.
37094 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37095 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37096 * sysdeps/i386/fpu/e_powl.S: Likewise.
37097 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37098 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37099 * sysdeps/i386/fpu/e_logl.S: Likewise.
37100 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37101 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37102 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37103 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37104 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37105 * sysdeps/i386/fpu/e_log.S: Likewise.
37106 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37107 * sysdeps/i386/fpu/e_logf.S: Likewise.
37108 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37109 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37110 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37111 * sysdeps/i386/fpu/e_log10.S: Likewise.
37112 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37113 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37114 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37115 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37116 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37117 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37118 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37119 * sysdeps/i386/i686/strtok.S: Likewise.
37120 * sysdeps/i386/i386-mcount.S: Likewise.
37121 * sysdeps/i386/strtok.S: Likewise.
37122 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37123 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37124 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37125 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37126 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37127 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37128 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37129 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37130 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37131 * sysdeps/x86_64/_mcount.S: Likewise.
37132 * sysdeps/x86_64/strtok.S: Likewise.
37133 * sysdeps/sh/_mcount.S: Likewise.
37134
2747bf9a
RM
371352012-08-01 Roland McGrath <roland@hack.frob.com>
37136
37137 * libio/iofopen.c: Include <fcntl.h>.
37138 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37139 (_IO_fopen64, fopen64): Define as aliases.
37140 * libio/iofopen64.c: Include <fcntl.h>.
37141 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37142 Conditionalize body on this.
37143 * sysdeps/wordsize-64/iofopen.c: File removed.
37144 * sysdeps/wordsize-64/iofopen64.c: File removed.
37145
3fb791b8
MP
371462012-08-01 Marek Polacek <polacek@redhat.com>
37147
37148 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37149 Use dlfcn directly instead of a variable.
37150 (binfmt-subdir): Do not define.
37151 (dlfcn): Likewise.
37152
a9f1039f
JM
371532012-08-01 Joseph Myers <joseph@codesourcery.com>
37154
23bddc06
JM
37155 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37156 Remove all definitions.
37157 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37158 <kernel-features.h>.
37159 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37160 (miss_F_GETOWN_EX): Remove all definitions.
37161 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37162 macro definition.
37163 [!__ASSUME_FCNTL64]: Remove conditional code.
37164 [__ASSUME_FCNTL64]: Make code unconditional.
37165 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37166 <kernel-features.h>.
37167 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37168 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37169 (lockf64) [__NR_fcntl64]: Make code unconditional.
37170 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37171
a9f1039f
JM
37172 * sysdeps/unix/sysv/linux/kernel-features.h
37173 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37174 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37175 Make code unconditional.
37176 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37177 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37179 [__NR_vfork]: Make code unconditional.
37180 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37181 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37183 [__NR_vfork]: Make code unconditional.
37184 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37185 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37186
09c0ee5f
RM
371872012-08-01 Roland McGrath <roland@hack.frob.com>
37188
48aec5b9
RM
37189 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37190 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37191
cd97c966
RM
37192 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37193 Define mkstemp64 as an alias.
3f55550c
RM
37194 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37195 Define mkstemps64 as an alias.
cd97c966
RM
37196 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37197 Define mkostemp64 as an alias.
b8625cfc
RM
37198 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37199 Define mkostemps64 as an alias.
cd97c966
RM
37200 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37201 Conditionalize body on this.
37202 * misc/mkostemp64.c: Likewise.
b8625cfc 37203 * misc/mkostemps64.c: Likewise.
3f55550c 37204 * misc/mkstemps64.c: Likewise.
cd97c966
RM
37205 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37206 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37207 * sysdeps/wordsize-64/mkostemp.c: File removed.
37208 * sysdeps/wordsize-64/mkstemp.c: File removed.
37209 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37210 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37211 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37212 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37213
09c0ee5f
RM
37214 [BZ #14138]
37215 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37216 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37217 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37218 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37219
37220 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37221 compat_symbol macros from <shlib-compat.h> rather than the underlying
37222 default_symbol_version and symbol_version macros, so that DEFAULT
37223 lines in shlib-versions are respected.
37224 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37225
7e66ee51
FW
372262012-08-01 Florian Weimer <fweimer@redhat.com>
37227
37228 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37229 Declare with warn_unused_result.
37230 (setgid, setregid, setegid, setresgid): Likewise.
37231 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37232 Likewise.
37233 * WUR-REPORT: Remove set*id functions.
37234
d2a54255
PT
372352012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37236
37237 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37238
7ecdb005
RM
372392012-07-31 Roland McGrath <roland@hack.frob.com>
37240
b4180a5e 37241 [BZ #10191]
789bd351
RM
37242 * include/sys/socket.h (__libc_accept, __libc_accept4):
37243 Add attribute_hidden.
37244 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37245
40ce302d
RM
37246 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37247 use of PTR_MANGLE.
37248 * inet/getnetgrent_r.c (setup): Likewise.
37249
7ecdb005
RM
37250 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37251
e2eabb2c
DM
372522012-07-31 David S. Miller <davem@davemloft.net>
37253
37254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37255
d0419dbf
JM
372562012-07-31 Joseph Myers <joseph@codesourcery.com>
37257
37258 [BZ #13629]
37259 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37260 value between 1.0 and 2.0 and smaller part has absolute value less
37261 than 1.0.
37262 * math/s_clog10.c (__clog10): Likewise.
37263 * math/s_clog10f.c (__clog10f): Likewise.
37264 * math/s_clog10l.c (__clog10l): Likewise.
37265 * math/s_clogf.c (__clogf): Likewise.
37266 * math/s_clogl.c (__clogl): Likewise.
37267 * math/libm-test.inc (clog_test): Add more tests.
37268 (clog10_test): Likewise.
37269 * sysdeps/i386/fpu/libm-test-ulps: Update.
37270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37271
2bc13872
FW
372722012-07-31 Florian Weimer <fweimer@redhat.com>
37273
37274 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37275 Exit with zero in case no suitable GID is found, and write a
37276 message to standard error.
37277
bea9b193
RM
372782012-07-30 Roland McGrath <roland@hack.frob.com>
37279
37280 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37281 rather than to 1.
37282 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37283 (MAXPATHLEN): Removed.
37284 (NOGROUP, NODEV): New macros.
37285 (setbit, clrbit, isset, isclr): New macros.
37286 (howmany, roundup, powerof2): New macros.
37287 (DEV_BSIZE): New macro.
37288
37289 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37290 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37291
37292 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37293 definition on [!__NO_LONG_DOUBLE_MATH].
37294
37295 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37296 PTR_MANGLE and PTR_DEMANGLE.
37297
37298 * socket/accept4.c (accept4): Rename to __libc_accept4.
37299 Define accept4 as a weak alias.
37300
37301 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37302 on [_DIRENT_HAVE_D_TYPE].
37303 * io/ftw.c (ftw_dir): Likewise.
37304
37305 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37306
37307 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37308
37309 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37310 Use the BSD numbers rather than the arbitrary ones we had.
37311 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37312 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37313 (SIGXCPU, SIGXFSZ): New macros.
37314 (_NSIG): Now 32.
37315
37316 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37317 initializer on [_LIBC_REENTRANT].
37318
37319 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37320 definitions inside [_POSIX_MAPPED_FILES].
37321
37322 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37323
37324 * dirent/opendir.c: Include <fcntl.h>.
37325
37326 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37327 (__libc_getspecific): Likewise.
37328 (__libc_key_create): Likewise.
37329
37330 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37331 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37332 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37333 (tmpfile64): Define as alias.
37334 * sysdeps/wordsize-64/tmpfile.c: File removed.
37335 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37336 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37337 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37338
37339 * stdio-common/vfscanf.c: Include <stdbool.h>.
37340 * nss/makedb.c: Likewise.
37341 * stdio-common/_i18n_number.h: Likewise.
37342 * argp/argp-help.c: Likewise.
37343 * posix/wordexp.c: Likewise.
37344 * sysdeps/posix/spawni.c: Likewise.
37345 * nss/nss_files/files-initgroups.c: Likewise.
37346 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37347 * nss/nss_files/files-initgroups.c: Likewise.
37348 * nss/nss_db/db-netgrp.c: Likewise.
37349 * nss/nss_db/db-initgroups.c: Likewise.
37350 * io/fchmodat.c: Include <sys/stat.h>.
37351
37352 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37353 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37354
37355 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37356 [HAVE_MMAP].
37357
37358 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37359 Add multiple inclusion protection.
37360
e5abc686
DM
373612012-07-27 David S. Miller <davem@davemloft.net>
37362
37363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37364
815e6fa3
GB
373652012-07-27 Gary Benson <gbenson@redhat.com>
37366
37367 [BZ #14298]
37368 * elf/rtld.c: Include <stap-probe.h>.
37369 (dl_main): Added static probes "init_start" and "init_complete".
37370 * elf/dl-load.c: Include <stap-probe.h>.
37371 (lose): Take new parameter "nsid".
37372 Added static probe "map_failed".
37373 (_dl_map_object_from_fd): Pass namespace id to lose.
37374 Added static probe "map_start".
37375 (open_verify): Pass namespace id to lose.
37376 * elf/dl-open.c: Include <stap-probe.h>.
37377 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37378 and "reloc_complete".
37379 * elf/dl-close.c: Include <stap-probe.h>.
37380 (_dl_close_worker): Added static probes "unmap_start" and
37381 "unmap_complete".
37382 * elf/rtld-debugger-interface.txt: New file documenting the above.
37383
9f98c16c
RM
373842012-07-26 Roland McGrath <roland@hack.frob.com>
37385
37386 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37387 rather than a string variable.
37388 * sunrpc/rpc_main.c (h_output): Likewise.
37389 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37390
f3c22df3
PT
373912012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37392
37393 * inet/check_native.c: New file.
37394
3129cfc6
JM
373952012-07-26 Joseph Myers <joseph@codesourcery.com>
37396
da865e95
JM
37397 [BZ #13629]
37398 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37399 if larger part has absolute value 1.0.
37400 * math/s_clog10.c (__clog10): Likewise.
37401 * math/s_clog10f.c (__clog10f): Likewise.
37402 * math/s_clog10l.c (__clog10l): Likewise.
37403 * math/s_clogf.c (__clogf): Likewise.
37404 * math/s_clogl.c (__clogl): Likewise.
37405 * math/libm-test.inc (clog_test): Add more tests.
37406 (clog10_test): Likewise.
37407 * sysdeps/i386/fpu/libm-test-ulps: Update.
37408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37409
3129cfc6
JM
37410 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37411 (pltexit): Likewise.
37412 (La_regs): Likewise.
37413 (La_retval): Likewise.
37414 (int_retval): Likewise.
37415 Update #error for removed macros to refer only to definitions in
37416 tst-audit.h.
37417 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37418 macro.
37419 (pltexit): Likewise.
37420 (La_regs): Likewise.
37421 (La_retval): Likewise.
37422 (int_retval): Likewise.
37423 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37424 macro.
37425 (pltexit): Likewise.
37426 (La_regs): Likewise.
37427 (La_retval): Likewise.
37428 (int_retval): Likewise.
37429 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37430 macro.
37431 (pltexit): Likewise.
37432 (La_regs): Likewise.
37433 (La_retval): Likewise.
37434 (int_retval): Likewise.
37435 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37436 macro.
37437 (pltexit): Likewise.
37438 (La_regs): Likewise.
37439 (La_retval): Likewise.
37440 (int_retval): Likewise.
37441 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37442 macro.
37443 (pltexit): Likewise.
37444 (La_regs): Likewise.
37445 (La_retval): Likewise.
37446 (int_retval): Likewise.
37447 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37448 macro.
37449 (pltexit): Likewise.
37450 (La_regs): Likewise.
37451 (La_retval): Likewise.
37452 (int_retval): Likewise.
37453 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37454 macro definitions in tst-audit.h.
37455 * sysdeps/i386/tst-audit.h: New file.
37456 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37457 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37458 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37459 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37460 * sysdeps/sh/tst-audit.h: Likewise.
37461 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37462 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37463 * sysdeps/x86_64/tst-audit.h: Likewise.
37464
bfc07087
AJ
374652012-07-26 Andreas Jaeger <aj@suse.de>
37466
b1b2aaf8
AJ
37467 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37468 ptrace.
37469
37470 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37471 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37472 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37473 PTRACE_O_MASK.
37474 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37475 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37476 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37477
bfc07087
AJ
37478 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37479 value.
37480
37481 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37482 _sigsys.
37483 (si_call_addr, si_syscall, si_arch): Define new macro.
37484 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37485 _sigsys.
37486 (si_call_addr, si_syscall, si_arch): Define new marcro.
37487 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37488 _sigsys.
37489 (si_call_addr, si_syscall, si_arch): Define new macro.
37490 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37491 _sigsys.
37492 (si_call_addr, si_syscall, si_arch): Define new macro.
37493
89b4b02f
JM
374942012-07-25 Joseph Myers <joseph@codesourcery.com>
37495
37496 [BZ #13717]
37497 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37498 Change to 2.4.21 where previously 2.4.1.
37499 * sysdeps/unix/sysv/linux/configure: Regenerated.
37500 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37501 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37502 Linux kernel version.
37503 (__ASSUME_STD_AUXV): Remove.
37504 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37505 kernel version.
37506 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37507 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37508 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37509 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37510 (__ASSUME_NETLINK_SUPPORT): Likewise.
37511 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37512 (__no_netlink_support): Remove conditional definition.
37513 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37514 Remove.
37515 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37516 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37517 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37518 (if_nameindex_ioctl): Remove.
37519 (if_nameindex_netlink): Do not handle __no_netlink_support.
37520 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37521 code.
37522 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37523 Remove conditional code.
37524 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37525 code.
37526 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37527 unconditional.
37528 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37529 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37530 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37531 Remove.
37532 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37533 [!__ASSUME_STD_AUXV]: Remove conditional code.
37534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37535 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37536 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37538 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37539 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37540 code.
37541 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37543 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37544 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37545 conditional code.
37546 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37548 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37549 code.
37550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37551 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37552 conditional code.
37553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37554 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37555 code unconditional.
37556 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37557 conditional code.
37558 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37559 unconditional.
37560 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37561 conditional code.
37562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37563 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37564 unconditional.
37565 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37566 conditional code.
37567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37568 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37569 code unconditional.
37570 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37571 conditional code.
37572 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37573 unconditional.
37574 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37575 conditional code.
37576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37577 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37578 code unconditional.
37579 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37580 conditional code.
37581 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37582 unconditional.
37583 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37584 conditional code.
37585
842a39cd
AS
375862012-07-25 Andreas Schwab <schwab@linux-m68k.org>
37587
37588 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37589 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37590 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37591 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37592 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37593 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37594 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37595 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37596 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37597 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37598 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37599 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37600 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37601 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37602 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37603 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37604 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37605 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37606 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37608 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37609 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37610 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37611
84b3fd84
FW
376122012-07-25 Florian Weimer <fweimer@redhat.com>
37613
37614 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
37615 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37616 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37617 Introduce __libc_secure_getenv.
0c7936d5
FW
37618 * stdlib/Versions (2.17): Add secure_getenv
37619 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37620 * stdlib/secure-getenv.c: Rename __secure_getenv to
37621 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37622 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
37623 * stdlib/tst-secure-getenv.c: New.
37624 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
37625 * manual/startup.texi (Environment Access): Document
37626 secure_getenv.
84b3fd84
FW
37627 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37628 __libc_secure_getenv.
37629 * inet/ruserpass.c (ruserpass): Likewise.
37630 * malloc/mtrace.c (mtrace): Likewise.
37631 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 37632 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
37633 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37634 * sysdeps/posix/tempname.c: Likewise. Evaluate
37635 HAVE_SECURE_GETENV.
37636 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 37637 __secure_getenv to __libc_secure_getenv.
84b3fd84 37638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
37639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37640 Likewise.
37641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37642 Likewise.
37643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 37650
56e49b71
JM
376512012-07-25 Joseph Myers <joseph@codesourcery.com>
37652
37653 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37654 (struct La_i86_retval): Likewise.
37655 (struct La_x86_64_regs): Likewise.
37656 (struct La_x86_64_retval): Likewise.
37657 (struct La_x32_regs): Likewise.
37658 (struct La_x32_retval): Likewise.
37659 (struct La_ppc32_regs): Likewise.
37660 (struct La_ppc32_retval): Likewise.
37661 (struct La_ppc64_regs): Likewise.
37662 (struct La_ppc64_retval): Likewise.
37663 (struct La_sh_regs): Likewise.
37664 (struct La_sh_retval): Likewise.
37665 (struct La_s390_32_regs): Likewise.
37666 (struct La_s390_32_retval): Likewise.
37667 (struct La_s390_64_regs): Likewise.
37668 (struct La_s390_64_retval): Likewise.
37669 (struct La_sparc32_regs): Likewise.
37670 (struct La_sparc32_retval): Likewise.
37671 (struct La_sparc64_regs): Likewise.
37672 (struct La_sparc64_retval): Likewise.
37673 (struct audit_ifaces): Remove architecture-specific pltenter and
37674 pltexit members.
37675 * sysdeps/i386/ldsodefs.h: New file.
37676 * sysdeps/powerpc/ldsodefs.h: Likewise.
37677 * sysdeps/s390/ldsodefs.h: Likewise.
37678 * sysdeps/sh/ldsodefs.h: Likewise.
37679 * sysdeps/sparc/ldsodefs.h: Likewise.
37680 * sysdeps/x86_64/ldsodefs.h: Likewise.
37681
354691b7
MP
376822012-07-25 Marek Polacek <polacek@redhat.com>
37683
37684 [BZ #6808]
37685 * math/libm-test.inc (yn_test): Add another test.
37686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37687 to ERANGE when the result is +-Inf.
37688 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37689 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37690 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37691 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37692
bf9e2071
JM
376932012-07-24 Joseph Myers <joseph@codesourcery.com>
37694
37695 * conform/data/time.h-data (NULL): Use macro-constant. Require
37696 equal to 0.
37697 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37698 clock_t.
37699 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37700
57633811
TS
377012012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37702
37703 * configure.in <sysdeps resolving>: Correct printing
37704 Implies_before.
37705 * configure: Regenerate.
37706
c23c33b0
TS
377072012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37708
37709 * math/w_ilogb.c: Include <limits.h>.
37710 * math/w_ilogbl.c: Likewise.
37711
b5982523
JM
377122012-07-20 Joseph Myers <joseph@codesourcery.com>
37713
37714 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37715 va_copy. Document allowing for unavailable va_copy only as
37716 pre-C99 compatibility.
37717 * manual/string.texi (Copying and Concatenation): Use va_copy
37718 instead of __va_copy in concat example.
37719
ac4ea442
PT
377202012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37721
37722 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37723 (__sendto): Use create_address_port. Initialize APORT and deallocate
37724 it if not null.
37725
f98eafbd
PT
37726 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37727 with O_NOLINK passed to __file_name_lookup.
37728
898c7aab
PT
37729 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37730 with O_NOLINK passed to __file_name_lookup.
37731
0ced335a
PT
37732 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37733 negative N or less than NGIDS.
37734
b3404dbd
PT
37735 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37736 type to string_t. Set ERANGE as errno and return it if NAME is not big
37737 enough. Use memcpy instead of strncpy.
37738
0f48659e
JM
377392012-07-20 Joseph Myers <joseph@codesourcery.com>
37740
37741 * elf/Makefile (check-data): Remove.
37742 (localplt.data): New vpath directive.
37743 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37744 instead of $(check-data).
37745 * scripts/data/localplt-generic.data: Move to ...
37746 * sysdeps/generic/localplt.data: ... here.
37747 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37748 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37749 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37751 ... here.
37752 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37754 ... here.
37755 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37757 ... here.
37758 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37760 ... here.
37761 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37763 ... here.
37764 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37766 ... here.
37767
d37cbdaa
AZ
377682012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37769
37770 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37771 PPC32 and PPC64 files.
37772 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37773 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37774
46f85fc2
AK
377752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37776
37777 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37778 __makecontext_ret to ...
37779 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37780 ... here and call exit if uc_link is NULL. New file.
37781 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37782 __makecontext_ret.S.
37783 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37784 __makecontext_ret to ...
37785 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37786 ... here and call exit if uc_link is NULL. New file.
37787 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37788 __makecontext_ret.S.
37789
08f43f9b
AK
377902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37791
37792 * elf/elf.h (R_390_IRELATIVE): New definition.
37793 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37794 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37795 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37796 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37797 (elf_machine_lazy_rel): Likewise.
37798 * sysdeps/s390/dl-irel.h: New file.
37799 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37800 * sysdeps/s390/s390-64/memset.S: New asm code.
37801 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37802 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37803 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37804 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37805 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37806 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37807 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37808 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37809 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37810 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37811 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37812 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37813 * sysdeps/s390/s390-32/memset.S: New asm code.
37814 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37815
3b05db33
MP
378162012-07-17 Marek Polacek <polacek@redhat.com>
37817
37818 [BZ #14349]
37819 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37820 * sysdeps/s390/s390-64/configure.in: Likewise.
37821 * sysdeps/sparc/configure.in: Likewise.
37822 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37823 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37824 * sysdeps/i386/configure.in: Likewise.
37825 * sysdeps/x86_64/configure.in: Likewise.
37826 * sysdeps/sh/configure.in: Likewise.
37827 * sysdeps/s390/s390-32/configure: Regenerated.
37828 * sysdeps/s390/s390-64/configure: Likewise.
37829 * sysdeps/x86_64/configure: Likewise.
37830 * sysdeps/sh/configure: Likewise.
37831 * sysdeps/powerpc/powerpc64/configure: Likewise.
37832 * sysdeps/powerpc/powerpc32/configure: Likewise.
37833 * sysdeps/sparc/configure: Likwise.
37834 * sysdeps/i386/configure: Likewise.
37835
a66877c6
MP
37836 * elf/dl-open.c: Comment fixes.
37837
cfc82fd8
JM
378382012-07-17 Joseph Myers <joseph@codesourcery.com>
37839
bd29910a
JM
37840 * Makefile [CXX] (check-data): Remove.
37841 [CXX] (c++-types.data): New vpath directive.
37842 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37843 vpath. Do not allow for C++ type data being missing.
37844 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37845 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37846 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37847 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37848 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37849 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37850 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37852 ... here.
37853 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37855 ... here.
37856 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37858 ... here.
37859 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37861 ... here.
37862 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37864 ... here.
37865 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37867 ... here.
37868 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37870 ... here.
37871 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37873
cfc82fd8
JM
37874 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37875 definitions to architecture-specific files.
37876 (TLS_IE): Likewise.
37877 (TLS_LD): Likewise.
37878 (TLS_GD): Likewise.
37879 * sysdeps/i386/tls-macros.h: New file.
37880 * sysdeps/powerpc/tls-macros.h: Likewise.
37881 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37882 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37883 * sysdeps/sh/tls-macros.h: Likewise.
37884 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37885 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37886 * sysdeps/x86_64/tls-macros.h: Likewise.
37887
f7db3170
TS
378882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37889
07cbfc23
TS
37890 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37891 zero value for regular exit case.
37892
f7db3170
TS
37893 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37894 (__start_context): Preserve zero value for regular exit case.
37895
dc97c227
TS
378962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37897 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37898
37899 * manual/setjmp.texi (setcontext): Clarify normal process
37900 termination when uc_link is the null pointer.
37901 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37902 exit call.
37903
d0cd7d02
AS
379042012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37905
37906 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37907 preprocessor. Test for each exception mask separately.
37908
dd318934
AJ
379092012-07-16 Andreas Jaeger <aj@suse.de>
37910
37911 * po/ru.po: Update from translation team.
37912
8048311a
JM
379132012-07-15 Joseph Myers <joseph@codesourcery.com>
37914
37915 * conform/data/string.h-data (NULL): Use macro-constant. Require
37916 equal to 0.
37917 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37918 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37919 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37920 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37922
b637d46e
AJ
379232012-07-13 Andreas Jaeger <aj@suse.de>
37924
37925 * po/fr.po: Update from translation team.
37926
541428fe
MP
379272012-07-12 Marek Polacek <polacek@redhat.com>
37928
37929 [BZ #14173]
37930 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37931 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37932 loop condition.
37933
ec332e94
JM
379342012-07-12 Joseph Myers <joseph@codesourcery.com>
37935
37936 [BZ #13717]
37937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37938 Change to 2.4.1 where previously 2.4.0.
37939 * sysdeps/unix/sysv/linux/configure: Regenerated.
37940 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37941 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37942 version.
37943 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37944 (__ASSUME_AT_CLKTCK): Remove.
37945 (__ASSUME_AT_PAGESIZE): Likewise.
37946 (__ASSUME_AT_XID): Likewise.
37947 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37948 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37949 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37950 unconditionally.
37951 (HAVE_AUX_PAGESIZE): Likewise.
37952 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37953 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37954 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37955
7b6e99be
JB
379562012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37957
37958 [BZ #14307]
37959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37960 the temporary buffer used to invoke __gethostbyname2_r,
37961 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37962 host_data / struct gaih_addrtuple.
37963 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37964 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37965 header file nss/nsswitch.h.
37966 * nss/nsswitch.h (global scope): Add definition of implementation
37967 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37968 resolv/nss_dns/dns-host.c).
37969
608404eb
AJ
379702012-07-11 Andreas Jaeger <aj@suse.de>
37971
37972 * po/fr.po: Update from translation team.
37973
71220aca
AJ
37974 * po/sv.po: Update from translation team
37975 * po/fr.po: Another update from translation team.
37976
28cfe843
AZ
379772012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37978
37979 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37980 for subnormals or multiply small sinh result by itself.
37981 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37983
6b90f981
DM
379842012-07-11 David S. Miller <davem@davemloft.net>
37985
37986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37987
c6825772
AS
379882012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37989
37990 [BZ #14347]
37991 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37992 (INTERNAL_MARK): Shift it here.
37993
7b8e0d49
MP
379942012-07-10 Marek Polacek <polacek@redhat.com>
37995
37996 [BZ #14151]
37997 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37998 libc_cv_asm_global_directive with .globl.
37999 * configure: Regenerated.
38000 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38001 with .globl.
38002 * sysdeps/i386/configure: Regenerated.
38003 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38004 with .globl.
38005 * sysdeps/x86_64/configure: Regenerated.
38006 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38007 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38008 * elf/tst-unique2mod2.c: Likewise.
38009 * elf/tst-unique2mod1.c: Likewise.
38010 * elf/tst-unique1mod2.c: Likewise.
38011 * elf/tst-unique1mod1.c: Likewise.
38012 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38013 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38015 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38016 * sysdeps/mach/sysdep.h: Likewise.
38017 * sysdeps/i386/sysdep.h: Likewise.
38018 * sysdeps/i386/i386-mcount.S: Likewise.
38019 * sysdeps/x86_64/_mcount.S: Likewise.
38020 * sysdeps/x86_64/sysdep.h: Likewise.
38021 * sysdeps/sh/_mcount.S: Likewise.
38022 * sysdeps/sh/sysdep.h: Likewise.
38023 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38024 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38025 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38026 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38027 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38028 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38029 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38030 * locale/localeinfo.h: Likewise.
38031 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38032 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38033
6c55cda3
RM
380342012-07-09 Roland McGrath <roland@hack.frob.com>
38035
38036 [BZ #14336]
38037 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38038 system".
38039 * manual/message.texi (The Uniforum approach): Likewise.
38040 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38041 (glibc iconv Implementation): Likewise.
38042
638a572e
JM
380432012-07-09 Joseph Myers <joseph@codesourcery.com>
38044
38045 [BZ #14337]
38046 * math/s_clog.c (__clog): Avoid scaling a value down where that
38047 could result in underflow.
38048 * math/s_clog10.c (__clog10): Likewise.
38049 * math/s_clog10f.c (__clog10f): Likewise.
38050 * math/s_clog10l.c (__clog10l): Likewise.
38051 * math/s_clogf.c (__clogf): Likewise.
38052 * math/s_clogl.c (__clogl): Likewise.
38053 * math/libm-test.inc (clog_test): Add more tests.
38054 (clog10_test): Likewise.
38055 * sysdeps/i386/fpu/libm-test-ulps: Update.
38056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38057
261f4859
AS
380582012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38059
0abaf3e4
AS
38060 [BZ #14283]
38061 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38062 by 7 not 8 to examine high bit of fractional part.
38063
261f4859
AS
38064 [BZ #14042]
38065 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38066 for call to __mcount_internal.
38067 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38068 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38069 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38070
f17ac40d
JM
380712012-07-06 Joseph Myers <joseph@codesourcery.com>
38072
9ad63c23
JM
38073 [BZ #14154]
38074 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38075 approximation for values within 0x1p-13f of an odd multiple of
38076 pi/4.
38077 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38078 exception. Add more tests.
38079 * sysdeps/i386/fpu/libm-test-ulps: Update.
38080
f17ac40d
JM
38081 [BZ #6778]
38082 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38083 inputs and return -1 for them. Do not check for +Inf in case not
38084 reachable for +Inf.
38085 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38086 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38087 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38088 and return -1 for them. Do not check for +Inf in case not
38089 reachable for +Inf.
38090 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38091 define.
38092 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38093 and return -1 for them. Do not check for +Inf in case not
38094 reachable for +Inf.
38095 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38096 spurious underflow.
38097 * sysdeps/i386/fpu/libm-test-ulps: Update.
38098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38099
fb21f89b
MF
381002012-07-06 Mike Frysinger <vapier@gentoo.org>
38101
38102 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38103
cdfe2c5e
JM
381042012-07-05 Joseph Myers <joseph@codesourcery.com>
38105
38106 [BZ #14157]
38107 [BZ #14331]
38108 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38109 could result in spurious underflow. Scale down values above
38110 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38111 * math/s_csqrtf.c (__csqrtf): Likewise.
38112 * math/s_csqrtl.c (__csqrtl): Likewise.
38113 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38114 spurious underflow.
38115 * sysdeps/i386/fpu/libm-test-ulps: Update.
38116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38117
70d35b67
AS
381182012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38119
704bc459
AS
38120 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38121 xopen-msg.sed.
38122 * catgets/xopen-msg.awk: New file.
38123 * catgets/xopen-msg.sed: Removed.
38124
70d35b67
AS
38125 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38126 po2text.sed.
38127 * intl/po2test.awk: New file.
38128 * intl/po2test.sed: Removed.
38129
ca61cf32
JM
381302012-07-04 Joseph Myers <joseph@codesourcery.com>
38131
38132 [BZ #14328]
38133 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38134 or multiply small sinh result by itself.
38135 * math/s_ctanf.c (__ctanf): Likewise.
38136 * math/s_ctanh.c (__ctanh): Likewise.
38137 * math/s_ctanhf.c (__ctanhf): Likewise.
38138 * math/s_ctanhl.c (__ctanhl): Likewise.
38139 * math/s_ctanl.c (__ctanl): Likewise.
38140 * math/libm-test.inc (ctan_test_tonearest): New function.
38141 (ctan_test_towardzero): Likewise.
38142 (ctan_test_downward): Likewise.
38143 (ctan_test_upward): Likewise.
38144 (ctanh_test_tonearest): Likewise.
38145 (ctanh_test_towardzero): Likewise.
38146 (ctanh_test_downward): Likewise.
38147 (ctanh_test_upward): Likewise.
38148 (main): Call these new functions.
38149 * sysdeps/i386/fpu/libm-test-ulps: Update.
38150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38151
ca48a46a
MF
381522012-07-03 Mike Frysinger <vapier@gentoo.org>
38153
38154 * .gitignore: Delete /ports entry.
38155
9d63d37d
AJ
381562012-07-03 Andreas Jaeger <aj@suse.de>
38157
38158 * po/bg.po: Update from translation team.
38159 * po/cs.po: Likewise.
38160 * po/de.po: Likewise.
38161 * po/hr.po: Likewise.
38162 * po/nl.pl: Likewise.
38163 * po/pl.po: Likewise.
38164 * po/vi.po: Likewise.
38165
370ca3d2
JM
381662012-07-03 Joseph Myers <joseph@codesourcery.com>
38167
95f5a9a8
JM
38168 * Makeconfig [!+link] (+link-before-libc): New variable.
38169 [!+link] (+link-after-libc): Likewise.
38170 [!+link] (+link-tests): Likewise.
38171 [!+link] (+link): Define in terms of $(+link-before-libc) and
38172 $(+link-after-libc).
38173 [!+link-static] (+link-static-before-libc): New variable.
38174 [!+link-static] (+link-static-after-libc): Likewise.
38175 [!+link-static] (+link-static-tests): Likewise.
38176 [!+link-static] (+link-static): Define in terms of
38177 $(+link-static-before-libc) and $(+link-static-after-libc).
38178 [build-shared] (link-libc-before-gnulib): New variable.
38179 [build-shared] (link-libc-tests): Likewise.
38180 [build-shared] (link-libc): Define in terms of
38181 $(link-libc-before-gnulib).
38182 [!build-shared] (link-libc-tests): New variable.
38183 (link-libc-static-tests): New variable.
38184 [!gnulib] (gnulib-arch): New variable.
38185 [!gnulib] (gnulib-tests): Likewise.
38186 [!gnulib] (static-gnulib-arch): Likewise.
38187 [!gnulib] (static-gnulib-tests): Likewise.
38188 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38189 Define with "=" instead of ":=".
38190 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38191 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38192 * Rules (binaries-all-notests): New variable.
38193 (binaries-all-tests): Likewise.
38194 (binaries-static-notests): Likewise.
38195 (binaries-static-tests): Likewise.
38196 (binaries-all): Define using $(binaries-all-notests) and
38197 $(binaries-all-tests).
38198 (binaries-static): Define using $(binaries-static-notests) and
38199 $(binaries-static-tests).
38200 (binaries-shared-tests): New variable.
38201 (binaries-shared-notests): Likewise.
38202 (binaries-shared): Remove variable.
38203 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38204 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38205 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38206 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38207 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38208 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38209 * elf/Makefile (sln-modules): New variable.
38210 (extra-objs): Add $(sln-modules:=.o).
38211 (ldconfig-modules): Add static-stubs.
38212 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38213 * elf/static-stubs.c: New file.
38214
7a845b2c
JM
38215 [BZ #14283]
38216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38217 by 7 not 8 to examine high bit of fractional part. Use volatile
38218 variables when splitting into final array of floats if
38219 __FLT_EVAL_METHOD__ != 0.
38220 * math/libm-test.inc (cos_test): Add another test.
38221 (sin_test): Likewise.
38222 * sysdeps/i386/fpu/libm-test-ulps: Update.
38223
e2283f38
JM
38224 [BZ #14273]
38225 * math/libm-test.inc (cosh_test): Add more tests.
38226
370ca3d2
JM
38227 * version.h (RELEASE): Set to "development".
38228 (VERSION): Set to "2.16.90".
38229
ee9247c3
CD
382302012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38231
38232 * NEWS: Update copyright. Remove last-updated date.
38233 Mention math library bug fixes and timezone data changes.
38234 * README: Mention GNU/Hurd, x32, and HPPA support status.
38235
4648c381
TS
382362012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38237
38238 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38239
aac78a43
AJ
382402012-06-27 Andreas Jaeger <aj@suse.de>
38241
38242 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38243
ed3dbfad
AJ
382442012-06-25 Andreas Jaeger <aj@suse.de>
38245
38246 * sysdeps/s390/fpu/libm-test-ulps: Update.
38247
4d0ee855
AS
382482012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38249 Thomas Schwinge <thomas@codesourcery.com>
38250
38251 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38252 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38253 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38254 fanotify_mark.
38255
af1bce34
TS
382562012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38257
a9fa33ba
TS
38258 * sysdeps/mach/start.c: Remove file.
38259 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38260 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38261 * sysdeps/sh/init-first.c: Likewise.
38262
58f902b8
TS
38263 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38264 registers for frame unwinding purposes, add CFI directives.
38265 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38266 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38267 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38268 Likewise.
38269
1518f58b
TS
38270 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38271 __fortify_fail returning.
38272 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38273
db9b5059
TS
38274 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38275 sysdeps/sh/____longjmp_chk.S.
38276 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38277 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38278 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38279 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38280
967705fe
TS
38281 * sysdeps/sh/abort-instr.h: New file.
38282 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38283 process in case exit returns.
38284
a9def8c4
TS
38285 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38286 initialize the GOT register before use.
38287
2a649725
TS
38288 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38289 calculation of ARGC > 4.
38290
af1bce34
TS
38291 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38292 meaningful names to some local labels.
38293
d230f50a
KK
382942012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38295 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38296
38297 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38298 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38299 (__arch_compare_and_exchange_val_16_acq): Likewise.
38300 (__arch_compare_and_exchange_val_32_acq): Likewise.
38301 (atomic_exchange_and_add): Fix gUSA sequence.
38302 (atomic_add): Likewise.
38303 (atomic_add_negative): Likewise.
38304 (atomic_add_zero): Likewise.
38305 (atomic_bit_test_set): Likewise.
38306
0479b305
AS
383072012-06-22 Andreas Schwab <schwab@redhat.com>
38308
38309 [BZ #13579]
38310 * include/link.h (struct link_map): Add l_free_initfini.
38311 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38312 l_initfini.
38313 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38314 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38315 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38316 set.
38317
0e3933b9
CD
383182012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38319
38320 * configure.in: Use AC_LANG_SOURCE.
38321 * configure: Regenerate.
38322
4248b1b1
RM
383232012-06-22 Roland McGrath <roland@hack.frob.com>
38324
38325 * configure.in (libc_cv_localstatedir): New substituted variable.
38326 * configure: Regenerated.
38327 * config.make.in (localstatedir): New variable, substituted from
38328 libc_cv_localstatedir.
38329 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38330 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38331 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38332 * sysdeps/gnu/configure: Regenerated.
38333
006dd861
JL
383342012-06-21 Jeff Law <law@redhat.com>
38335
38336 [BZ #14277]
38337 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38338 free. Simplify list management for _LIBC case.
38339
79662d42
JM
383402012-06-21 Joseph Myers <joseph@codesourcery.com>
38341
b7abb4bf
JM
38342 [BZ #14273]
38343 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38344 Clear sign bit of 64-bit integer value before comparing against
38345 overflow value.
38346
79662d42
JM
38347 * sysdeps/mach/configure: Regenerated.
38348
1f150908
L
383492012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38350
38351 [BZ #14278]
38352 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38353
28363bbf
JL
383542012-06-21 Jeff Law <law@redhat.com>
38355
38356 [BZ #13882]
38357 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38358 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 38359 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
38360 * elf/dl-open.c (dl_open_worker): Likewise.
38361
09615db4
CD
383622012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38363
38364 * scripts/list-sources.sh: Scan PORTS for translations.
38365 * po/libc.pot: Regenerated.
38366
2174c6dd
AJ
383672012-06-21 Andreas Jaeger <aj@suse.de>
38368
38369 [BZ #12194]
38370 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38371 warning.
38372 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38373 * bits/byteswap-16.h (__bswap_16): Likewise.
38374 * bits/byteswap.h (__bswap_constant_16): Likewise.
38375
3ee947b1
L
383762012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38377
38378 [BZ #14117]
a2f34833
L
38379 * sysdeps/i386/fpu_control.h: Removed.
38380 * sysdeps/x86_64/fpu_control.h: Moved to ...
38381 * sysdeps/x86/fpu_control.h: Here.
38382
3ee947b1
L
38383 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38384 (_FPU_SETCW): Likewise.
38385
ed1825f8
L
383862012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38387
25f1282a
L
38388 [BZ #14117]
38389 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38390 * sysdeps/x86/fpu/bits/mathinline.h: This.
38391 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38392
ed1825f8
L
38393 [BZ #14050]
38394 [BZ #14117]
38395 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38396 functions if __x86_64__ is defined.
38397
36d54b74
CLT
383982012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38399
38400 * string/endian.h: Add !__ASSEMBLER__ condition for including
38401 conversion interfaces.
38402
10285c21
JM
384032012-06-15 Joseph Myers <joseph@codesourcery.com>
38404
38405 [BZ #14241]
38406 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38407 of ABS(x) in calculating zero to negative powers other than odd
38408 integers.
38409 * math/libm-test.inc (pow_test): Add more tests.
38410
06c5abbd
AJ
384112012-06-15 Andreas Jaeger <aj@suse.de>
38412
38413 * manual/contrib.texi (Contributors): Update entry of Liubov
38414 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38415 Machado Filho.
38416
a3aeac40
CH
384172012-06-15 Cyril Hrubis <metan@ucw.cz>
38418
38419 * string/string.h: Add __wur to GNU version of strerror_r.
38420
49bdf4c1
L
384212012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38422
38423 [BZ #14229]
38424 * string/Makefile (tests): Add tst-strtok_r.
38425 * string/tst-strtok_r.c: New file.
38426 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38427 RAX_LP/RDX_LP on SAVE_PTR.
38428
834f9b8d
RM
384292012-06-14 Roland McGrath <roland@hack.frob.com>
38430
38431 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38432
75fa1921
JM
384332012-06-14 Joseph Myers <joseph@codesourcery.com>
38434
38435 * libm_test.inc (csqrt_test): Allow more spurious underflow
38436 exceptions.
38437 (j0_test): Likewise.
38438 (j1_test): Likewise.
38439 (y0_test): Likewise.
38440 (y1_test): Likewise.
38441
771766df
CD
384422012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38443
38444 * po/Makefile (libc.pot): Use UTF-8 charset.
38445
ceb9e56b
PP
384462012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38447
38448 [BZ #14210]
38449 Suppress sign-conversion warning from FD_SET.
38450 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38451 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38452 not unsigned long int.
38453 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38454
ddb28975
L
384552012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38456
38457 [BZ #14050]
38458 [BZ #14117]
38459 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38460 __extern_always_inline instead of __extern_inline.
38461 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38462 (__signbit): Likewise.
38463 (__signbitl): Support C++ namespace.
38464 (lrintf): New inline function.
38465 (lrint): Likewise.
38466 (llrintf): Likewise.
38467 (llrint): Likewise.
38468 (fmaxf): Likewise.
38469 (fmax): Likewise.
38470 (fminf): Likewise.
38471 (fmin): Likewise.
38472 (rint): Likewise.
38473 (rintf): Likewise.
38474 (ceil): Likewise.
38475 (ceilf): Likewise.
38476 (floor): Likewise.
38477 (floorf): Likewise.
38478 (nearbyint): Likewise.
38479 (nearbyintf): Likewise.
38480
d7b4fb26
TS
384812012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38482
38483 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38484 non-default versions.
38485
eb55f5c2
RM
384862012-06-11 Roland McGrath <roland@hack.frob.com>
38487
38488 [BZ #14218]
38489 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38490
366af02c
TS
384912012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38492
99ff6e5c
TS
38493 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38494 (FE_UPWARD, FE_DOWNWARD): Don't define.
38495 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38496 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38497
366af02c
TS
38498 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38499 reading it.
38500 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38501 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38502
793ea851
KK
385032012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38504
38505 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38506 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38507 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38508 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38509
a728a38f
L
385102012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38511
38512 [BZ #14117]
c08010c7
L
38513 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38514 * sysdeps/i386/fpu/Implies: New file.
38515 * sysdeps/x86_64/fpu/Implies: Likewise.
38516 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38517 * sysdeps/x86/fpu/bits/fenv.h: This.
38518
a728a38f
L
38519 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38520 __SSE_MATH__.
38521
6e230d11
SP
385222012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38523
38524 [BZ #14134]
38525 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38526 character 0xffff that matches the last element of the
38527 conversion table.
38528
1b671feb
AZ
385292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38530
38531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38532 fmodl commit.
38533
6043738b
AZ
385342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38535
38536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38537 values higher than 25.6283.
38538
34ae0b32
AZ
385392012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38540
38541 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38542 subnormal exponent extraction and add some __builtin_expect.
38543 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38544 Fix for subnormal mantissa calculation.
38545
1214ec8f
MF
385462012-06-04 Mike Frysinger <vapier@gentoo.org>
38547
38548 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38549 cpu2 is -1 and errno is not ENOSYS.
38550
f3d1f93c
L
385512012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38552
38553 [BZ #14117]
0e4a3cd7
L
38554 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38555 * sysdeps/x86/bits/string.h: This.
38556 * sysdeps/x86_64/bits/string.h: Removed.
38557
6704c645
L
38558 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38559 if not compiling for x86-64, but compiling for >= i486.
38560
48495318
L
38561 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38562 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38563
14adcbfc
L
38564 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38565 New macro from Linux kernel 3.4.0.
38566 (FP_XSTATE_MAGIC2): Likewise.
38567 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38568 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38569 (struct _fpx_sw_bytes): New struct.
38570 (struct _xsave_hdr): Likewise.
38571 (struct _ymmh_state): Likewise.
38572 (struct _xstate): Likewise.
38573
68e408ab
L
38574 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38575 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38576 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38577 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38578 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38579 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38580
f3d1f93c
L
38581 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38582 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38583 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38584 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38585 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38586 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38587
d9dc34cd
TMQMF
385882012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38589
38590 [BZ #13743]
38591 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38592 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38593 (sysdep_headers): Include sys/platform/ppc.h.
38594 * sysdeps/powerpc/test-gettimebase.c: Test for
38595 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38596 * manual/Makefile (appendices): Include platform.texi.
38597 * manual/contrib.texi (Contributors): Update @node pointers.
38598 * manual/maint.texi (Maintenance): Likewise.
38599 (Platform): New node.
38600 * manual/platform.texi: New file. Document the new features.
38601
4af3879c
SP
386022012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38603 Jakub Jelinek <jakub@redhat.com>
38604
38605 [BZ #14188]
38606 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38607 where __builtin_expect is unavailable.
38608
2fd6ff13
DM
386092012-06-03 David S. Miller <davem@davemloft.net>
38610
38611 * stdlib/longlong.h: Updated from GCC.
38612
173f7220
AS
386132012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38614
38615 [BZ #14042]
38616 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38617 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38618 __mcount_internal.
38619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38620 (GLIBC_2.16): Likewise.
38621
f34a1c6f
L
386222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38623
38624 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38625
88a4576f
JM
386262012-06-01 Joseph Myers <joseph@codesourcery.com>
38627
ea32bcdd
JM
38628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38629 (default-abi): New variable.
38630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38631 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38632 variable.
38633 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38634 Likewise.
38635 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38636 Likewise.
38637 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38638 Likewise.
38639
88a4576f
JM
38640 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38641 definition. Document in comment.
38642
402fe938
DM
386432012-06-01 David S. Miller <davem@davemloft.net>
38644
38645 * stdlib/longlong.h: Updated from GCC.
38646
3553723f
L
386472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38648
38649 [BZ #14117]
3bd872c4
L
38650 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38651 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38652 sys/debugreg.h sys/io.h here.
38653 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38654 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38655 sys/io.h.
38656 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38657 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38658 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38659 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38660 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38661 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38662
3553723f
L
38663 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38664 Define only if __x86_64__ is defined.
38665
4842e4fe
JM
386662012-06-01 Joseph Myers <joseph@codesourcery.com>
38667
c5bfe3d5
JM
38668 [BZ #14048]
38669 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38670 Use int64_t for variable i.
38671 * math/libm-test.inc (fmod_test): Add more tests.
38672
4842e4fe
JM
38673 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38674 z computation is not scheduled after fetestexcept.
38675 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38676 Use math_force_eval instead of asm to ensure calculation scheduled
38677 before exception test.
38678 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38679 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38680
efb73488
AJ
386812012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38682
38683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38684 computation is not scheduled after fetestexcept.
38685
29bcce7c
L
386862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38687
38688 [BZ #14117]
38689 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38690 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38691
73a68f94
AZ
386922012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38693
38694 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38695 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38696
67b6df78
L
386972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38698
edf2933a 38699 [BZ #14117]
ebc64a18
L
38700 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38701 <bits/wordsize.h>.
38702 (__WCHAR_MIN): Support __WORDSIZE == 64.
38703 (__WCHAR_MAX): Likewise.
38704
edf2933a
L
38705 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38706 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38707
57c6cf40
L
38708 [BZ #14183]
38709 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38710 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38711
67b6df78 38712 [BZ #14117]
8eb6281e
L
38713 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38714 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38715
aac639f4
L
38716 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38717 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38718
67b6df78
L
38719 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38720 Defined to 1 if __x86_64__ isn't defined.
38721 (_STAT_VER_LINUX_OLD): New.
38722 (st_atime): Remove duplicate.
38723 (st_mtime): Likewise.
38724 (st_ctime): Likewise.
38725
1c2cfe81
DM
387262012-05-31 David S. Miller <davem@davemloft.net>
38727
38728 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38729 entries.
38730
5be8418c
AS
387312012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38732
e7725326
AS
38733 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38734 gen-libm-test.pl.
38735
5be8418c
AS
38736 [BZ #14132]
38737 * elf/dl-reloc.c: Include <_itoa.h>.
38738 (_dl_reloc_bad_type): Remove use of INTUSE.
38739 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38740 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38741 * stdio-common/psiginfo.c (psiginfo): Likewise.
38742 * stdio-common/psignal.c (psignal): Likewise.
38743 * string/strsignal.c (strsignal): Likewise.
38744 * include/signal.h (_sys_siglist): Declare hidden proto.
38745 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38746 INTVARDEF with libc_hidden_data_def.
38747 * stdio-common/itoa-udigits.c: Likewise.
38748 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38749 (_itoa_lower_digits_internal): Remove declaration.
38750 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38751 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38752 (_sys_sigabbrev_internal): Remove aliases.
38753 (_sys_siglist): Define hidden alias.
38754
507352f1
MT
387552012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38756
38757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38758 bits/sysctl.h.
38759
42bbb1c3
L
387602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38761
38762 [BZ #14117]
6bd784b6
L
38763 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38764 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38765
8bca20f0
L
38766 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38767 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38768 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38769 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38771 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38772
f9e890a9
L
38773 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38774 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38775 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38776
471101a1
L
38777 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38778 with __addr.
38779 (insw): Likewise.
38780 (insl): Likewise.
38781 (outsb): Likewise.
38782 (outsw): Likewise.
38783 (outsl): Likewise.
38784
6451c862
L
38785 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38786 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38787 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38788
a254b8c9
L
38789 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38790 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38791 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38792 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38793 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38794 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38795
b8dfdd92
L
38796 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38797 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38798
578cd270
L
38799 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38800 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38801
de662f5f
L
38802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38804 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38805
25653439
L
38806 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38807 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38808 to ...
38809 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38810
6bad24a0
L
38811 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38812 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38813 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38814
42bbb1c3
L
38815 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38816 for x86-64.
38817 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38818
2d10d547
JM
388192012-05-31 Joseph Myers <joseph@codesourcery.com>
38820
38821 * math/math.h (M_El): Use two more decimal places.
38822 (M_LOG2El): Likewise.
38823 (M_LOG10El): Likewise.
38824 (M_LN2l): Likewise.
38825 (M_LN10l): Likewise.
38826 (M_PIl): Likewise.
38827 (M_PI_2l): Likewise.
38828 (M_PI_4l): Likewise.
38829 (M_1_PIl): Likewise.
38830 (M_2_PIl): Likewise.
38831 (M_2_SQRTPIl): Likewise.
38832 (M_SQRT2l): Likewise.
38833 (M_SQRT1_2l): Likewise.
38834
f230c29b
DM
388352012-05-31 David S. Miller <davem@davemloft.net>
38836
38837 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38838 values between float registers.
38839 * sysdeps/sparc/sparc64/memset.S: Likewise.
38840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38841
fed806c3
MF
388422012-05-31 Mike Frysinger <vapier@gentoo.org>
38843
38844 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38845 -D_FORTIFY_SOURCE=1.
38846 (CPPFLAGS-tst-longjmp_chk.c): Define.
38847 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38848 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38849 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38850 CFLAGS-tst-wchar-h.c.
38851
30917259
MP
388522012-05-31 Marek Polacek <polacek@redhat.com>
38853
38854 [BZ #14132]
38855 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38856 __endmntent_internal): Remove declaration.
38857 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38858 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38859 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38860
1c58d5dc
DM
388612012-05-30 David S. Miller <davem@davemloft.net>
38862
38863 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38864 (___Q_simulate_exceptions): Use real FP ops rather than writing
38865 into the %fsr.
38866 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38867 Likewise.
38868
7dc00e0d
L
388692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38870
38871 [BZ #14117]
0bd53985
L
38872 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38873 * sysdeps/x86/bits/xtitypes.h: This.
38874
3a257e66
L
38875 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38876 * sysdeps/x86/bits/wordsize.h: This.
38877
62f62904
L
38878 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38879 * sysdeps/x86/bits/huge_vall.h: This.
38880
404fe9d9
L
38881 * sysdeps/i386/bits/select.h: Removed.
38882 * sysdeps/x86_64/bits/select.h: Renamed to ...
38883 * sysdeps/x86/bits/select.h: This.
38884
d48d0446
L
38885 * sysdeps/i386/bits/setjmp.h: Removed.
38886 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38887 * sysdeps/x86/bits/setjmp.h: This.
38888
7dc00e0d
L
38889 * sysdeps/i386/bits/mathdef.h: Removed.
38890 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38891 * sysdeps/x86/bits/mathdef.h: This.
38892
03277f8f
AS
388932012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38894
38895 [BZ #14132]
38896 * include/sys/socket.h (__connect_internal)
38897 (__libc_sa_len_internal): Remove declaration.
38898 (__connect, __libc_sa_len): Declare hidden_proto.
38899 (SA_LEN): Remove use of INTUSE.
38900 * socket/connect.c: Add libc_hidden_def.
38901 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38902 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38903 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38904 alias.
38905 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38906 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38907 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38908 of adding _internal alias.
38909
13764867
L
389102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38911
38912 [BZ #14117]
6bd97696
L
38913 * sysdeps/i386/bits/link.h: Removed.
38914 * sysdeps/i386/bits/linkmap.h: Likewise.
38915 * sysdeps/x86_64/bits/link.h: Renamed to ...
38916 * sysdeps/x86/bits/link.h: This.
38917 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38918 * sysdeps/x86/bits/linkmap.h: This.
38919
f726f0bb
L
38920 * sysdeps/i386/bits/endian.h: Removed.
38921 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38922 * sysdeps/x86/bits/endian.h: This.
38923
13764867
L
38924 * sysdeps/i386/bits/byteswap.h: Removed.
38925 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38926 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38927 * sysdeps/x86/bits/byteswap.h: This.
38928 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38929 * sysdeps/x86/bits/byteswap-16.h: This.
38930 * sysdeps/i386/Implies: Add x86.
38931 * sysdeps/x86_64/Implies: Likewise.
38932
ae251b0b
DM
389332012-05-30 David S. Miller <davem@davemloft.net>
38934
38935 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38936 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38937 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38938 (FP_TRAPPING_EXCEPTIONS): Define.
38939 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38940 (FP_TRAPPING_EXCEPTIONS): Define.
38941 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38942 subnormals only when inexact has been signalled or underflow
38943 exceptions are enabled.
38944 (_FP_PACK_CANONICAL): Likewise.
38945
d5c90867
L
389462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38947
38948 [BZ #14183]
38949 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38950 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38951
63f1549e
RH
389522012-05-30 Richard Henderson <rth@twiddle.net>
38953
8d8f2279
RH
38954 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38955 with #ifndef NOT_IN_libc.
38956
63f1549e
RH
38957 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38958 marked to avoid plt entry.
38959
0ab0291b
L
389602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38961
38962 [BZ #14112]
38963 * Makeconfig (default-abi): New macro.
38964 (abi-includes): Likewise.
38965 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38966 $(abi-$(default-abi)-lib-soname) for soname if defined.
38967 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38968 abi-variants.
38969 * Makefile (installed-stubs): Likewise.
38970 * include/stubs-biarch.h: Removed.
38971 * scripts/lib-names.awk: Only handle one library at a time.
38972 * scripts/soversions.awk: Remove WORDSIZE support.
38973 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38974 entries.
38975 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38976 Removed.
38977 (syscall-list-default-condition): Likewise.
38978 (syscall-list-default-condition): Likewise.
38979 (syscall-list-includes): Likewise.
38980 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38981 syscall-list-* with abi-*. Handle undefined abi-variants.
38982 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38983 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38984 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38985 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38986 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38987 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38988 Removed.
38989 (syscall-list-32-options): Likewise.
38990 (syscall-list-32-condition): Likewise.
38991 (syscall-list-64-options): Likewise.
38992 (syscall-list-64-condition): Likewise.
38993 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38994 macro.
38995 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38996 Renamed to ...
38997 (abi-*): This.
38998 (abi-64-ld-soname): New macro.
38999 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39000 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39001 Renamed to ...
39002 (abi-*): This.
39003 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39004 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39005
4da0431d
JM
390062012-05-30 Joseph Myers <joseph@codesourcery.com>
39007
3a85279c
JM
39008 * sysdeps/unix/sysv/linux/kernel-features.h
39009 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39010 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39011 include <kernel-features.h>.
39012 [!__NR_ftruncate64]: Remove conditional code.
39013 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39014 [__NR_ftruncate64]: Make code unconditional.
39015 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39016 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39017 include <kernel-features.h>.
39018 [!__NR_ftruncate64]: Remove conditional code.
39019 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39020 [__NR_ftruncate64]: Make code unconditional.
39021 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39023 include <kernel-features.h>.
39024 [!__NR_ftruncate64]: Remove conditional code.
39025 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39026 [__NR_ftruncate64]: Make code unconditional.
39027 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39029 include <kernel-features.h>.
39030 [!__NR_ftruncate64]: Remove conditional code.
39031 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39032 [__NR_ftruncate64]: Make code unconditional.
39033 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39034
4da0431d
JM
39035 * configure.in (libc_cv_fpie): Weaken to a compile test using
39036 LIBC_TRY_CC_OPTION.
39037 * configure: Regenerated.
39038
11ef492c
AK
390392012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39040
39041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39045 Refreshed.
39046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39052 Refreshed.
39053
d66ef399
DM
390542012-05-27 David S. Miller <davem@davemloft.net>
39055
39056 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39057 (___Q_zero): New.
39058 (__Q_simulate_exceptions): Return void. Change to simulate
39059 exceptions by writing into the %fsr.
39060 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39061 (__Qp_handle_exceptions): Likewise.
39062 (numbers): Delete.
39063 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39064 __Qp_handle_exceptions.
39065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39066 __Qp_handle_exceptions.
39067 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39068 as unused and give dummy FP_RND_NEAREST initializer.
39069 (FP_INHIBIT_RESULTS): Define.
39070 (___Q_simulate_exceptions): Update declaration.
39071 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39072 formatting.
39073 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39074 as unused and give dummy FP_RND_NEAREST initializer.
39075 (__Qp_handle_exceptions): Update declaration.
39076 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39077 formatting.
39078
04fb54b5
TS
390792012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39080
39081 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39082 the temporary FPU control word.
39083 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39084 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39085 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39086 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39087 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39088 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39089 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39090 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39091 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39092 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39093 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39094
3f99608f
KK
390952012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39096
39097 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39098 fields.
39099
65a4de4e
CLT
391002012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39101
39102 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39103 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39104 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39105 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39106 Likewise.
39107 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39108 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39109 Likewise.
39110
15749d40
UD
391112012-05-27 Ulrich Drepper <drepper@gmail.com>
39112
39113 * po/h.po: Update from translation team.
39114
25dbcb27
AS
391152012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39116
3d3f8e55
AS
39117 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39118
25dbcb27
AS
39119 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39120 handling of denormals.
39121 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39122 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39123 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39124 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39126 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39128 Likewise.
39129
7ad47a80 391302012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
39131
39132 [BZ #14152]
39133 * math/libm-test.inc (fma_test): Don't always expect underflow
39134 exception.
39135
9c6ea9fa
SP
391362012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39137
39138 [BZ #12416]
39139 * elf/tst-execstack.c: Include stackinfo.h.
39140 (do_test): Adjust test case to ensure that pthread_getattr_np
39141 behaviour remains the same after marking stack executable.
39142
a8239222
JM
391432012-05-25 Joseph Myers <joseph@codesourcery.com>
39144
39145 * sysdeps/unix/sysv/linux/kernel-features.h
39146 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39147 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39148 kernel-features.h.
39149 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39150 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39151 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39152 kernel-features.h.
39153 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39154 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39155
918b5606
L
391562012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39157
39158 * configure.in: Define the default includes to being none.
39159 * configure: Regenerated.
39160
3a097cc7
RM
391612012-05-25 Roland McGrath <roland@hack.frob.com>
39162
8422c9a5
RM
39163 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39164 * sysdeps/x86_64/setjmp.S: Likewise.
39165 * sysdeps/i386/bsd-setjmp.S: Likewise.
39166 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39167 * sysdeps/i386/setjmp.S: Likewise.
39168 * sysdeps/i386/__longjmp.S: Likewise.
39169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39170 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39171
3a097cc7
RM
39172 * include/stap-probe.h: New file.
39173 * configure.in: Handle --enable-systemtap.
39174 * configure: Regenerated.
39175 * config.h.in (USE_STAP_PROBE): New #undef.
39176 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39177 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39178 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39179
21708942
JM
391802012-05-25 Joseph Myers <joseph@codesourcery.com>
39181
39182 [BZ #13717]
39183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39184 to 2.4.0 where earlier.
39185 * sysdeps/unix/sysv/linux/configure: Regenerated.
39186 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39187 <kernel-features.h>.
39188 [__ASSUME_32BITUIDS]: Make code unconditional.
39189 [!__ASSUME_32BITUIDS]: Remove conditional code.
39190 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39191 <kernel-features.h>.
39192 [__ASSUME_32BITUIDS]: Make code unconditional.
39193 [!__ASSUME_32BITUIDS]: Remove conditional code.
39194 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39195 [__ASSUME_32BITUIDS]: Make code unconditional.
39196 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39197 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39198 <kernel-features.h>.
39199 [__ASSUME_32BITUIDS]: Make code unconditional.
39200 [!__ASSUME_32BITUIDS]: Remove conditional code.
39201 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39202 <kernel-features.h>.
39203 [__ASSUME_32BITUIDS]: Make code unconditional.
39204 [!__ASSUME_32BITUIDS]: Remove conditional code.
39205 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39206 <kernel-features.h>.
39207 [__ASSUME_32BITUIDS]: Make code unconditional.
39208 [!__ASSUME_32BITUIDS]: Remove conditional code.
39209 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39210 <kernel-features.h>.
39211 [__ASSUME_32BITUIDS]: Make code unconditional.
39212 [!__ASSUME_32BITUIDS]: Remove conditional code.
39213 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39214 <kernel-features.h>.
39215 [__ASSUME_32BITUIDS]: Make code unconditional.
39216 [!__ASSUME_32BITUIDS]: Remove conditional code.
39217 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39218 <kernel-features.h>.
39219 [__ASSUME_32BITUIDS]: Make code unconditional.
39220 [!__ASSUME_32BITUIDS]: Remove conditional code.
39221 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39222 <kernel-features.h>.
39223 [__ASSUME_32BITUIDS]: Make code unconditional.
39224 [!__ASSUME_32BITUIDS]: Remove conditional code.
39225 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39226 <kernel-features.h>.
39227 [__ASSUME_32BITUIDS]: Make code unconditional.
39228 [!__ASSUME_32BITUIDS]: Remove conditional code.
39229 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39230 <kernel-features.h>.
39231 [__ASSUME_32BITUIDS]: Make code unconditional.
39232 [!__ASSUME_32BITUIDS]: Remove conditional code.
39233 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39234 <kernel-features.h>.
39235 [__ASSUME_32BITUIDS]: Make code unconditional.
39236 [!__ASSUME_32BITUIDS]: Remove conditional code.
39237 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39238 <kernel-features.h>.
39239 [__NR_setresgid] (__setresgid): Do not declare.
39240 [__ASSUME_32BITUIDS]: Make code unconditional.
39241 [!__ASSUME_32BITUIDS]: Remove conditional code.
39242 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39243 <kernel-features.h>.
39244 [__NR_setresuid] (__setresuid): Do not declare.
39245 [__ASSUME_32BITUIDS]: Make code unconditional.
39246 [!__ASSUME_32BITUIDS]: Remove conditional code.
39247 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39248 <kernel-features.h>.
39249 [__ASSUME_32BITUIDS]: Make code unconditional.
39250 [!__ASSUME_32BITUIDS]: Remove conditional code.
39251 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39252 <kernel-features.h>.
39253 [__ASSUME_32BITUIDS]: Make code unconditional.
39254 [!__ASSUME_32BITUIDS]: Remove conditional code.
39255 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39256 <kernel-features.h>.
39257 [__ASSUME_32BITUIDS]: Make code unconditional.
39258 [!__ASSUME_32BITUIDS]: Remove conditional code.
39259 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39260 <kernel-features.h>.
39261 [__ASSUME_32BITUIDS]: Make code unconditional.
39262 [!__ASSUME_32BITUIDS]: Remove conditional code.
39263 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39264 <kernel-features.h>.
39265 [__ASSUME_32BITUIDS]: Make code unconditional.
39266 [!__ASSUME_32BITUIDS]: Remove conditional code.
39267 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39268 <kernel-features.h>.
39269 [__ASSUME_32BITUIDS]: Make code unconditional.
39270 [!__ASSUME_32BITUIDS]: Remove conditional code.
39271 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39272 <kernel-features.h>.
39273 [__ASSUME_32BITUIDS]: Make code unconditional.
39274 [!__ASSUME_32BITUIDS]: Remove conditional code.
39275 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39276 <kernel-features.h>.
39277 [__ASSUME_32BITUIDS]: Make code unconditional.
39278 [!__ASSUME_32BITUIDS]: Remove conditional code.
39279 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39280 <kernel-features.h>.
39281 [__ASSUME_32BITUIDS]: Make code unconditional.
39282 [!__ASSUME_32BITUIDS]: Remove conditional code.
39283 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39284 <kernel-features.h>.
39285 [__ASSUME_32BITUIDS]: Make code unconditional.
39286 [!__ASSUME_32BITUIDS]: Remove conditional code.
39287 * sysdeps/unix/sysv/linux/kernel-features.h
39288 (__ASSUME_SETRESUID_SYSCALL): Remove.
39289 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39290 (__ASSUME_32BITUIDS): Likewise.
39291 (__ASSUME_LDT_WORKS): Likewise.
39292 (__ASSUME_O_DIRECTORY): Likewise.
39293 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39294 architecture but not kernel version.
39295 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39296 (__ASSUME_MMAP2_SYSCALL): Likewise.
39297 (__ASSUME_STAT64_SYSCALL): Likewise.
39298 (__ASSUME_IPC64): Likewise.
39299 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39300 <kernel-features.h>.
39301 [__ASSUME_32BITUIDS]: Make code unconditional.
39302 [!__ASSUME_32BITUIDS]: Remove conditional code.
39303 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39304 <kernel-features.h>.
39305 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39306 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39307 132096]: Remove conditional code.
39308 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39309 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39310 <kernel-features.h>.
39311 [__ASSUME_32BITUIDS]: Make code unconditional.
39312 [!__ASSUME_32BITUIDS]: Remove conditional code.
39313 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39314 <kernel-features.h>.
39315 [__ASSUME_32BITUIDS]: Make code unconditional.
39316 [!__ASSUME_32BITUIDS]: Remove conditional code.
39317 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39318 <kernel-features.h>.
39319 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39320 unconditional.
39321 (__setresgid): Do not declare.
39322 [__ASSUME_32BITUIDS]: Make code unconditional.
39323 [!__ASSUME_32BITUIDS]: Remove conditional code.
39324 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39325 <kernel-features.h>.
39326 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39327 unconditional.
39328 (__setresuid): Do not declare.
39329 [__ASSUME_32BITUIDS]: Make code unconditional.
39330 [!__ASSUME_32BITUIDS]: Remove conditional code.
39331 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39332 <kernel-features.h>.
39333 [__ASSUME_32BITUIDS]: Make code unconditional.
39334 [!__ASSUME_32BITUIDS]: Remove conditional code.
39335 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39336 <kernel-features.h>.
39337 [__ASSUME_32BITUIDS]: Make code unconditional.
39338 [!__ASSUME_32BITUIDS]: Remove conditional code.
39339
a386f1cc
RH
393402012-05-25 Richard Henderson <rth@twiddle.net>
39341
39342 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39343 dl_hwcap to ifunc resolver.
39344 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39345 elf_ifunc_invoke.
39346 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39347 dl_hwcap to ifunc resolver.
39348 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39349
b6550497
JM
393502012-05-24 Joseph Myers <joseph@codesourcery.com>
39351
39352 [BZ #14153]
39353 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39354 for |x| <= 2**-26, not 2**-57.
39355 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39356 exception.
39357
b0bc23a1
JL
393582012-05-24 Jeff Law <law@redhat.com>
39359
39360 * stdio-common/Makefile (tests): Add bug25.
39361 * stdio-common/bug25.c: New test.
39362
347c92e9
L
393632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39364
39365 [BZ #13576]
39366 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39367 multiple of MALLOC_ALIGNMENT in size.
39368 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39369
6bcc8b3f
JM
393702012-05-24 Joseph Myers <joseph@codesourcery.com>
39371
39372 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39373 Require >= 256.
39374 (FILENAME_MAX): Use macro-int-constant.
39375 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39376 (_IOFBF): Use macro-int-constant.
39377 (_IOLBF): Likewise.
39378 (_IONBF): Likewise.
39379 (SEEK_CUR): Likewise.
39380 (SEEK_END): Likewise.
39381 (SEEK_SET): Likewise.
39382 (TMP_MAX): Likewise.
39383 (EOF): Use macro-int-constant. Require < 0.
39384 (NULL): Use macro-constant. Require == 0.
39385 (stdin): Require type to be FILE *.
39386 (stdout): Likewise.
39387 (stderr): Likewise.
39388 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39389 macro-int-constant.
39390 (EXIT_SUCCESS): Likewise.
39391 (NULL): Use macro-constant. Require == 0.
39392 (RAND_MAX): Use macro-int-constant.
39393 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39394 [C99-based standards] (strtof): Require function.
39395 [C99-based standards] (strtold): Likewise.
39396 [C99-based standards] (strtoll): Likewise.
39397 [C99-based standards] (strtoull): Likewise.
39398 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39399 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39400 [ISO || ISO99 || ISO11] (math.h): Likewise.
39401 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39402 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39403 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39404
d18ea0c5
AS
394052012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39406
39407 [BZ #14132]
56d25bb8
AS
39408 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39409 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39410 * intl/dgettext.c (DCGETTEXT): Likewise.
39411 * intl/gettext.c (DCGETTEXT): Likewise.
39412 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39413 * posix/regex_internal.h (gettext): Likewise.
39414 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39415 Remove declaration.
39416 * include/argz.h (__argz_count_internal)
39417 (__argz_stringify_internal): Remove declaration.
39418 (__argz_count, __argz_stringify): Declare hidden proto.
39419 * intl/dcgettext.c: Remove use of INTDEF.
39420 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39421 * string/argz-stringify.c: Likewise.
39422 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39423 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39424 Declare hidden proto.
d18ea0c5
AS
39425 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39426 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39427 Declare hidden proto.
39428 * include/stdio.h (__asprintf_internal): Don't declare.
39429 (__asprintf): Don't define as macro. Declare hidden proto.
39430 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39431 (__fsetlocking): Declare hidden proto.
39432 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39433 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39434 hidden proto.
39435 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39436 (_IO_setlinebuf): Remove use of INTUSE.
39437 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39438 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39439 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39440 Remove declaration.
39441 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39442 (_IO_do_flush): Remove use of INTUSE.
39443 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39444 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39445 (_IO_adjust_column, _IO_least_wmarker)
39446 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39447 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39448 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39449 (_IO_default_doallocate, _IO_wdefault_doallocate)
39450 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39451 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39452 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39453 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39454 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39455 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39456 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39457 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39458 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39459 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39460 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39461 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39462 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39463 proto.
39464 (_IO_flush_all_internal, _IO_adjust_column_internal)
39465 (_IO_default_uflow_internal, _IO_default_finish_internal)
39466 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39467 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39468 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39469 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39470 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39471 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39472 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39473 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39474 (_IO_file_close_internal, _IO_file_close_it_internal)
39475 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39476 (_IO_file_init_internal, _IO_file_attach_internal)
39477 (_IO_file_fopen_internal, _IO_file_read_internal)
39478 (_IO_file_sync_internal, _IO_file_seek_internal)
39479 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39480 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39481 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39482 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39483 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39484 (_IO_list_all_internal, _IO_link_in_internal)
39485 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39486 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39487 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39488 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39489 (_IO_do_write_internal, _IO_padn_internal)
39490 (_IO_getline_info_internal, _IO_getline_internal)
39491 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39492 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39493 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39494 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39495 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39496 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39497 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39498 with libc_hidden_ver, remove use of INTUSE.
39499 * libio/genops.c: Likewise.
39500 * libio/freopen.c: Likewise.
39501 * libio/freopen64.c: Likewise.
39502 * libio/iofclose.c: Likewise.
39503 * libio/iofdopen.c: Likewise.
39504 * libio/iofflush.c: Likewise.
39505 * libio/iofflush_u.c: Likewise.
39506 * libio/iofgets.c: Likewise.
39507 * libio/iofgets_u.c: Likewise.
39508 * libio/iofopen.c: Likewise.
39509 * libio/iofopncook.c: Likewise.
39510 * libio/iofread.c: Likewise.
39511 * libio/iofread_u.c: Likewise.
39512 * libio/ioftell.c: Likewise.
39513 * libio/iofwrite.c: Likewise.
39514 * libio/iogetline.c: Likewise.
39515 * libio/iogets.c: Likewise.
39516 * libio/iogetwline.c: Likewise.
39517 * libio/iopadn.c: Likewise.
39518 * libio/iopopen.c: Likewise.
39519 * libio/ioseekoff.c: Likewise.
39520 * libio/ioseekpos.c: Likewise.
39521 * libio/iosetbuffer.c: Likewise.
39522 * libio/iosetvbuf.c: Likewise.
39523 * libio/ioungetc.c: Likewise.
39524 * libio/ioungetwc.c: Likewise.
39525 * libio/iovdprintf.c: Likewise.
39526 * libio/iovsprintf.c: Likewise.
39527 * libio/iovsscanf.c: Likewise.
39528 * libio/memstream.c: Likewise.
39529 * libio/obprintf.c: Likewise.
39530 * libio/oldfileops.c: Likewise.
39531 * libio/oldiofclose.c: Likewise.
39532 * libio/oldiofdopen.c: Likewise.
39533 * libio/oldiofopen.c: Likewise.
39534 * libio/oldiopopen.c: Likewise.
39535 * libio/oldstdfiles.c: Likewise.
39536 * libio/putc.c: Likewise.
39537 * libio/setbuf.c: Likewise.
39538 * libio/setlinebuf.c: Likewise.
39539 * libio/stdfiles.c: Likewise.
39540 * libio/strops.c: Likewise.
39541 * libio/vasprintf.c: Likewise.
39542 * libio/vscanf.c: Likewise.
39543 * libio/vsnprintf.c: Likewise.
39544 * libio/vswprintf.c: Likewise.
39545 * libio/wfiledoalloc.c: Likewise.
39546 * libio/wfileops.c: Likewise.
39547 * libio/wgenops.c: Likewise.
39548 * libio/wmemstream.c: Likewise.
39549 * libio/wstrops.c: Likewise.
39550 * libio/__fpurge.c: Likewise.
39551 * libio/__fsetlocking.c: Likewise.
39552 * assert/assert.c: Likewise.
39553 * debug/fgets_chk.c: Likewise.
39554 * debug/fgets_u_chk.c: Likewise.
39555 * debug/fread_chk.c: Likewise.
39556 * debug/fread_u_chk.c: Likewise.
39557 * debug/gets_chk.c: Likewise.
39558 * debug/obprintf_chk.c: Likewise.
39559 * debug/vasprintf_chk.c: Likewise.
39560 * debug/vdprintf_chk.c: Likewise.
39561 * debug/vsnprintf_chk.c: Likewise.
39562 * debug/vsprintf_chk.c: Likewise.
39563 * malloc/mtrace.c: Likewise.
39564 * misc/error.c: Likewise.
39565 * misc/syslog.c: Likewise.
39566 * stdio-common/asprintf.c: Likewise.
39567 * stdio-common/fxprintf.c: Likewise.
39568 * stdio-common/getw.c: Likewise.
39569 * stdio-common/isoc99_fscanf.c: Likewise.
39570 * stdio-common/isoc99_scanf.c: Likewise.
39571 * stdio-common/isoc99_vfscanf.c: Likewise.
39572 * stdio-common/isoc99_vscanf.c: Likewise.
39573 * stdio-common/isoc99_vsscanf.c: Likewise.
39574 * stdio-common/printf-prs.c: Likewise.
39575 * stdio-common/printf_fp.c: Likewise.
39576 * stdio-common/printf_fphex.c: Likewise.
39577 * stdio-common/printf_size.c: Likewise.
39578 * stdio-common/putw.c: Likewise.
39579 * stdio-common/scanf.c: Likewise.
39580 * stdio-common/sprintf.c: Likewise.
39581 * stdio-common/tmpfile.c: Likewise.
39582 * stdio-common/vfprintf.c: Likewise.
39583 * stdio-common/vfscanf.c: Likewise.
39584 * stdlib/strfmon_l.c: Likewise.
39585 * sunrpc/openchild.c: Likewise.
39586 * sunrpc/xdr_stdio.c: Likewise.
39587 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39588 * sysdeps/mach/hurd/tmpfile.c: Likewise.
39589
d6c33fda
RM
395902012-05-24 Roland McGrath <roland@hack.frob.com>
39591
c1487492
RM
39592 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39593
39594 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39595 in the third column, to generate for the shared library an IFUNC
39596 that uses _dl_vdso_vsym.
39597 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39598 * Makeconfig (object-suffixes-noshared): New variable.
39599
39600 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39601 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39602 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39603 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39604
d6c33fda
RM
39605 [BZ #14132]
39606 * include/sys/time.h (__gettimeofday): Remove macro.
39607 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39608 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39609 Remove INTDEF.
39610 (__gettimeofday): Add libc_hidden_def.
39611 (gettimeofday): Add libc_hidden_weak.
39612 * sysdeps/mach/gettimeofday.c: Likewise.
39613 * sysdeps/posix/gettimeofday.c: Likewise.
39614 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39615 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39617 (__gettimeofday_internal): Remove strong_alias.
39618 (__gettimeofday): Add libc_hidden_def.
39619 (gettimeofday): Add libc_hidden_weak.
39620 * sysdeps/unix/syscalls.list (gettimeofday):
39621 Remove __gettimeofday_internal alias.
39622
b5a2bbe6
L
396232012-05-24 Daniel Jacobowitz <drow@false.org>
39624 H.J. Lu <hongjiu.lu@intel.com>
39625
39626 [BZ #12495]
39627 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39628 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39629 (largebin_index_32_big): New.
39630 (largebin_index): Use it for 16-byte alignment.
39631 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39632 correction with front_misalign.
39633
cfba4fda
L
396342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39635
7f907421
L
39636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39638 Likewise.
39639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39640 Likewise.
39641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39642 Likewise.
39643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39644 Likewise.
39645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39646 Likewise.
39647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39648 Likewise.
39649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39650 Likewise.
39651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39652 Likewise.
39653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39654 Likewise.
39655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39656 Likewise.
39657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39658 Likewise.
39659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39660 Likewise.
39661
cfba4fda
L
39662 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39663 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39664
80bad0cc
JM
396652012-05-24 Joseph Myers <joseph@codesourcery.com>
39666
7a25eb06
JM
39667 [BZ #10846]
39668 [BZ #14036]
39669 * math/libm-test.inc (exp_test): Add test from bug 14036.
39670 (pow_test): Add test from bug 10846.
39671
795405f9
JM
39672 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39673 and other flags.
39674 (special_function): Do not include flags in test name.
39675 (parse_args): Likewise.
39676 * sysdeps/i386/fpu/libm-test-ulps: Update.
39677 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39678 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39681
80bad0cc
JM
39682 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39683 exceptions.
39684 * math/libm-test.inc ("Philosophy"): Update comment about
39685 exception testing.
39686 (UNDERFLOW_EXCEPTION): New macro.
39687 (UNDERFLOW_EXCEPTION_OK): Likewise.
39688 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39689 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39690 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39691 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39692 (INVALID_EXCEPTION_OK): Update value.
39693 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39694 (OVERFLOW_EXCEPTION_OK): Likewise.
39695 (IGNORE_ZERO_INF_SIGN): Likewise.
39696 (test_exceptions): Handle underflow exceptions.
39697 (acos_test): Update for underflow exception expectations.
39698 (cexp_test): Likewise.
39699 (clog_test): Likewise.
39700 (clog10_test): Likewise.
39701 (csqrt_test): Likewise.
39702 (ctan_test): Likewise.
39703 (ctanh_test): Likewise.
39704 (exp_test): Likewise.
39705 (exp10_test): Likewise.
39706 (exp2_test): Likewise.
39707 (expm1_test): Likewise.
39708 (fma_test): Likewise.
39709 (j0_test): Likewise.
39710 (jn_test): Likewise.
39711 (nexttoward_test): Likewise.
39712 (pow_test): Likewise.
39713 (scalbn_test): Likewise.
39714 (scalbln_test): Likewise.
39715 (tan_test): Likewise.
39716 (y1_test): Likewise.
39717 * sysdeps/i386/fpu/libm-test-ulps: Update.
39718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39719
9e0e3d0b
DM
397202012-05-23 David S. Miller <davem@davemloft.net>
39721
39722 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39723 (__libc_sigaction): Remove unused local variables.
39724
ccd0a08f
L
397252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39726
39727 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39728
62bdf9a6
PE
397292012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39730
f8591f80
PE
39731 mktime: avoid signed integer overflow
39732 * time/mktime.c (__mktime_internal): Do not mishandle the case
39733 where diff == INT_MIN.
39734
94c7d826
PE
39735 mktime: simplify computation of average
39736 * time/mktime.c (ranged_convert): Use new time_t_avg function
39737 instead of rolling our own (probably-slower) code.
39738
ce73d683
PE
39739 mktime: do not assume signed right shift propagates sign bit
39740 * time/mktime.c (isdst_differ): New static function.
39741 (__mktime_internal): No need to normalize tm_isdst now.
39742 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39743 tm_isdst values.
39744
72a22e59
PE
39745 mktime: merge another wrapv change from gnulib
39746 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39747 from some compilers.
39748
68605433
PE
39749 mktime: remove incorrect attempt at unusual arithmetics
39750 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39751 The code didn't really work on such machines anyway.
39752 (TYPE_MINIMUM): Assume two's complement.
39753 (twos_complement_arithmetic): Verify that long_int and time_t
39754 are two's complement (or unsigned, in the latter case).
39755
03cf7fe3
PE
39756 mktime: check signed shifts on long_int and time_t, too
39757 * time/mktime.c (SHR): Check that shifts work as desired
39758 on the types long_int and time_t too, as SHR is used on
39759 such types.
39760
f04dfbc2
PE
39761 mktime: do not assume 'long' is wide enough
39762 * time/mktime.c (verify): Move decl up.
39763 (long_int): New type.
39764 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39765 to remove assumption in the code that 'long' is wide enough to
39766 store year values. This assumption is not true on x32 and on
39767 some non-glibc platforms.
39768
62bdf9a6
PE
39769 mktime: merge wrapv change from gnulib
39770 * time/mktime.c (WRAPV): New macro.
39771 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39772 (guess_time_tm, __mktime_internal): Do not assume that signed
39773 integer overflow wraps around; modern compilers generate code
39774 where this assumption is no longer valid.
39775
5e292e4f
L
397762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39777
39778 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39779 Replace "jmp L(pseudo_end)" with "ret".
39780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39781 Likewise.
39782
8caf8c87
AJ
397832012-05-23 Andreas Jaeger <aj@suse.de>
39784
39785 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39786 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39787
1a09dc56
AJ
397882012-05-23 Andreas Jaeger <aj@suse.de>
39789 Maximilian Attems <max@stro.at>
39790
39791 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39792 New macros.
39793
1c87aba0
L
397942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39795
39796 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39797 code so that pseudo_end is just ret and the stack pointer is
39798 correct also for static library in error case.
39799
40e45bd5
JM
398002012-05-23 Joseph Myers <joseph@codesourcery.com>
39801
c2670533
JM
39802 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39803 move to syscalls.list.
39804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39808
40e45bd5
JM
39809 * manual/install.texi (Running make install): Do not mention Linux
39810 kernel version for which pt_chown is not needed.
39811 (Linux): Do not mention problems with nscd with 2.0 kernels.
39812 * INSTALL: Regenerated.
39813
be08eda5
AJ
398142012-05-23 Andreas Jaeger <aj@suse.de>
39815
39816 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39817 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39818 macro.
39819 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39820 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39821 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39822 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39823 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39824 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39825 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39826 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39828 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39829 * sysdeps/unix/sysv/linux/bits/in.h
39830 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39831
a6a056bb
RM
398322012-05-22 Roland McGrath <roland@hack.frob.com>
39833
39834 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39835 (PREPARE_VERSION): Just use assert instead, it will be elided
39836 under [NDEBUG] anyway.
39837
c9009328
L
398382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39839
39840 * sysdeps/unix/sysv/linux/Makefile: Include
39841 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 39842 (sysdep_routines): Remove sysctl.
c9009328
L
39843 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39844 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39845 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39846 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39847 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39848
73338355
AJ
398492012-05-22 Andreas Jaeger <aj@suse.de>
39850
39851 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39852 that pseudo_end is just ret and the stack pointer is correct also
39853 for static library in error case.
39854
d44638b0
PP
398552012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39856
39857 [BZ #14122]
39858 * nss/nsswitch.c (defconfig_entries): New variable.
39859 (__nss_database_lookup): Don't leak defconfig entries.
39860 (nss_parse_service_list): Don't leak on error paths.
39861 (free_database_entries): New function.
39862 (free_defconfig): New function.
39863 (free_mem): Move common code to free_database_entries.
39864
31a39bd8
L
398652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39866
da0331a8
L
39867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39868 Add arch_prctl.
39869 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39870
31a39bd8
L
39871 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39872 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39874 New macro.
39875 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39876 (INTERNAL_SYSCALL_TYPES): Likewise.
39877 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39878 (LOAD_REGS_TYPES_[1-6]): Likewise.
39879 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39880 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39881
45470df3
AZ
398822012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39883
39884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39885 copysignl for GLIBC_2_0.
39886 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39887 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39889 logbl for GLIBC_2_0.
39890 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39891 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39892
98a61bcb
L
398932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39894
a4f6e481
L
39895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39896 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39897
f63d5db6
L
39898 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39899 Use "neg %eax".
39900
98a61bcb
L
39901 * time/mktime.c: Update copyright years.
39902
95770f14
PE
399032012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39904
6226efbd
PE
39905 mktime: merge comment-quoting-style change from gnulib
39906 * time/mktime.c: Quote 'like this' in comments.
39907 The GNU coding standards suggest that we no longer quote `like this',
39908 as "`" and "'" are typically rendered asymmetrically nowadays.
39909 The typical gnulib style is to quote 'like this' when quoting
39910 code, and "like this" when quoting English.
39911
b99e4f78
PE
39912 * time/mktime.c (compile-command): Add "-I.".
39913
643e01e6
PE
39914 mktime: merge mktime-internal.h change from gnulib
39915 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39916
2554247d
PE
39917 mktime: merge time_r change from gnulib
39918 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39919
826dd0ab
PE
39920 mktime: merge DEBUG change from gnulib
39921 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39922 case system <time.h> has a #define.
39923
bd83aabe
PE
39924 mktime: merge <sys/types.h> change from gnulib
39925 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39926 since <time.t> is now guaranteed to define time_t.
39927
95770f14
PE
39928 mktime: merge HAVE_CONFIG_H change from gnulib
39929 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39930
5e1a27a9
L
399312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39932
0e44a77e
L
39933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39934 Use "neg %eax".
39935
5e1a27a9
L
39936 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39937 __rlim_t cast.
39938 (struct rusage): Use anonymous union to pad each field to
39939 __syscall_slong_t.
39940
46259bec
DM
399412012-05-21 David S. Miller <davem@davemloft.net>
39942
39943 * Makefules (o-iterator): Remove .s cases.
39944 (compile-command.s): Delete.
39945 (COMPILE.s): Delete.
39946 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39947
59f0c22e
JM
399482012-05-21 Joseph Myers <joseph@codesourcery.com>
39949
39950 * configure.in (libc_cv_predef_stack_protector): Only consider
39951 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39952 * configure: Regenerated.
39953
20c07380
L
399542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39955
bbb3154b
L
39956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39957 New macro. Use R*LP on int and pointer.
39958 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
39959 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39960 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
39961 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39962
20c07380
L
39963 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39964 [__WORDSIZE_TIME64_COMPAT32] instead of
39965 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39966 (struct utmp): Likewise.
39967 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39968 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39969 Renamed to ...
39970 (__WORDSIZE_TIME64_COMPAT32): This.
39971 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39972 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39973 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39974 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39975 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39976 (__WORDSIZE_TIME64_COMPAT32): New macro.
39977
d8d1017e
AJ
399782012-05-21 Andreas Jaeger <aj@suse.de>
39979
39980 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39981 only if [SHARED]. Add prototype for __wcschr_ia32.
39982
6c7fb145
RM
399832012-05-21 Roland McGrath <roland@hack.frob.com>
39984
39985 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39986 of %rbp unmolested in the jmp_buf while mangling the low bits.
39987 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39988 unmolested high bits of %rbp while demangling the low bits.
39989 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39990
66274218
AJ
399912012-05-21 Andreas Jaeger <aj@suse.de>
39992
07c58f8f
AJ
39993 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39994 * sunrpc/svc_simple.c: Use it for registerrpc.
39995 * sunrpc/xcrypt.c: Use it for passwd2des.
39996
66274218
AJ
39997 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39998
61f65140
L
399992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40000
40001 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40002 Don't define if [__SYSCALL_WORDSIZE != 32].
40003 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40004 New macro.
40005
5fefb436
AJ
400062012-05-21 Bruno Haible <bruno@clisp.org>
40007 Andreas Jaeger <aj@suse.de>
40008
40009 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40010 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40011 inptr and inend for must_buffer_ch.
40012 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40013 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40014 * stdio-common/Makefile (tests): Remove bug15.
40015 (bug15-ENV): Remove macro.
40016 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40017 anymore.
40018
d8e272ab
AJ
400192012-05-19 Andreas Jaeger <aj@suse.de>
40020 Roland McGrath <roland@hack.frob.com>
40021
40022 * manual/contrib.texi: Completely rewritten. It contains now an
40023 alphabetical list of contributors and their contributions.
40024
4a56a162
RH
400252012-05-21 Richard Henderson <rth@twiddle.net>
40026
40027 * misc/getauxval.c (__getauxval): Use unsigned long int.
40028 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40029 (getauxval): Use unsigned long int.
40030
d024d23c
L
400312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40032
40033 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40034
cbc00a03
RM
400352012-05-21 Roland McGrath <roland@hack.frob.com>
40036
40037 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40038 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40039 __alignof__ (long double).
40040
478143fa
AZ
400412012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40042
40043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40044
c7683a6d
RH
400452012-05-20 Richard Henderson <rth@twiddle.net>
40046
40047 * misc/getauxval.c: New file.
40048 * misc/sys/auxv.h: New file.
40049 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40050 (routines): Add getauxval.
40051 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40052 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40053 * elf/dl-sysdep.c (_dl_auxv): Remove.
40054 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40055 * elf/dl-support.c (_dl_auxv): New variable.
40056 (_dl_aux_init): Initialize it.
40057 * manual/startup.texi (Auxiliary Vector): New node.
40058 * sysdeps/generic/bits/hwcap.h: New file.
40059 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40060 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40061 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40062 * sysdeps/sparc/sysdep.h: ... here. Include it.
40063 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40064 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
40065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40066 Update.
c7683a6d
RH
40067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40075
a6f1845d
AZ
400762012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40077
40078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40079
cbcbe830
DM
400802012-05-19 David S. Miller <davem@davemloft.net>
40081
40082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40083
e0b16cc2
JM
400842012-05-19 Joseph Myers <joseph@codesourcery.com>
40085
40086 [BZ #14123]
40087 * math/s_ccosh.c: Include <float.h>
40088 (__ccosh): Avoid internal overflow calculating sinh and cosh
40089 values before multiplying by sin and cos values.
40090 * math/s_ccoshf.c: Likewise.
40091 * math/s_ccoshl.c: Likewise.
40092 * math/s_csin.c: Likewise.
40093 * math/s_csinf.c: Likewise.
40094 * math/s_csinl.c: Likewise.
40095 * math/s_csinh.c: Likewise.
40096 * math/s_csinhf.c: Likewise.
40097 * math/s_csinhl.c: Likewise.
40098 * math/libm-test.inc (ccos_test): Add more tests.
40099 (ccosh_test): Likewise.
40100 (csin_test): Likewise.
40101 (csinh_test): Likewise.
40102 * sysdeps/i386/fpu/libm-test-ulps: Update.
40103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40104
6ad13e08
L
401052012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40106
f66f0ce8
L
40107 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40108 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40109
6ad13e08
L
40110 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40111
b1d072a7
JM
401122012-05-19 Joseph Myers <joseph@codesourcery.com>
40113
40114 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40115 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40116 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40117 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40118 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40119 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40120 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40121 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40122 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40123 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40124 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40125 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40126 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40127 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40128 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40129 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40130 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40131 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40132 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40133 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40134 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40135 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40136 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40137 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40138 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40139 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40140 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40141 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40142 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40143 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40144 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40145
9eae47cb
AJ
401462012-05-18 Andreas Jaeger <aj@suse.de>
40147
40148 * csu/.gitignore: Delete.
40149
bb07f69f
L
401502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40151
40152 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40153 (timex): Use __syscall_slong_t.
40154
e6bdb741
AJ
401552012-05-18 Andreas Jaeger <aj@suse.de>
40156 Carlos O'Donell <carlos_odonell@mentor.com>
40157
40158 * manual/install.texi (Configuring and compiling): Update
40159 description about files modified in the source directory.
d6c33fda 40160 * INSTALL: Regenerated.
e6bdb741 40161
1b74487e
L
401622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40163
40164 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40165 value. Use "or" to set return value to -1.
40166 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40167 negate return value.
40168
a88b64b9
TMQMF
401692012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40170
57f41c40
AS
40171 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40172 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
40173 failure if the compiler has Graphite support disabled.
40174 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40175 Likewise.
57f41c40
AS
40176 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40177 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
40178 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40179 Likewise.
40180
3707636e
L
401812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40182
610b8622
L
40183 * sysdeps/x86_64/x32/_itoa.h: New file.
40184
7cd195df
L
40185 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40186 getdents system call only if kernel and user dirents have the
40187 same d_ino and d_off.
40188
94b07d20
L
40189 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40190 LLONG_MAX != LONG_MAX.
40191 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40192 (_fitoa_word): Likewise.
40193
18298070
L
40194 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40195 years.
40196 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40197 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40198 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40199
553c7ea4
L
40200 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40201 include <bits/wordsize.h>. Check __x86_64__ instead of
40202 __WORDSIZE.
40203 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40204 if __x86_64__ is defined. Use anonymous union on fpstate.
40205
3707636e
L
40206 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40207 anonymous union.
40208
b53ef01a
AS
402092012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40210
37fb1dc0
AS
40211 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40212 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40213 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40214 Refer to _rtld_local_ro instead of _rtld_global_ro.
40215 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40216 Likewise.
40217 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40218 Likewise.
40219 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40220 Likewise.
40221 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40222 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40223 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40224
b53ef01a
AS
40225 * sysdeps/powerpc/powerpc32/dl-machine.c
40226 (__elf_machine_runtime_setup) [PROF]: Don't reference
40227 _dl_prof_resolve.
40228
7a185db2
AJ
402292012-05-18 Andreas Jaeger <aj@suse.de>
40230
40231 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40232 function only available for GCCs before 3.4 since GCC 3.4
40233 introduced a builtin.
40234 (lrint): Likewise.
40235 (llrintf): Likewise.
40236 (llrint): Likewise.
40237 (fmaxf): Likewise.
40238 (fmax): Likewise.
40239 (fminf): Likewise.
40240 (fmin): Likewise.
40241 (rint): Likewise.
40242 (rintf): Likewise.
40243 (nearbyint): Likewise.
40244 (nearbyintf): Likewise.
40245 (ceil): Likewise.
40246 (ceilf): Likewise.
40247 (floor): Likewise.
40248 (floorf): Likewise.
40249
3e5aef87
L
402502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40251
428bd707
L
40252 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40253 on both fields and cast pointer to __syscall_ulong_t.
40254
3e5aef87
L
40255 * bits/types.h (__fsword_t): New type.
40256 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40257 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40259 (__FSWORD_T_TYPE): Likewise.
40260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40261 (__FSWORD_T_TYPE): Likewise.
40262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40263 (__FSWORD_T_TYPE): Likewise.
40264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40265 (__FSWORD_T_TYPE): Likewise.
40266 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40267 __SWORD_TYPE with __fsword_t.
40268 (statfs64): Likewise.
40269
1ba7c3dc
DM
402702012-05-17 David S. Miller <davem@davemloft.net>
40271
40272 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40273
59910343
AJ
402742012-05-17 Andreas Jaeger <aj@suse.de>
40275
40276 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40277 warning.
40278
2e4c1e9e
L
402792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40280
40281 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40282
de7f5ce7
AJ
402832012-05-17 Andreas Jaeger <aj@suse.de>
40284
40285 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40286 when it is used.
40287
286abc3d
CM
402882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40289
40290 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40291
477cc68e
L
402922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40293
40294 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40295 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40296
1a0994f5
CD
402972012-05-17 Andreas Jaeger <aj@suse.de>
40298 Carlos O'Donell <carlos_odonell@mentor.com>
40299
40300 [BZ #14059]
40301 * sysdeps/x86_64/multiarch/init-arch.h
40302 (bit_YMM_Usable): Rename to...
40303 (bit_AVX_Usable): ... this.
40304 (bit_FMA4_Usable): New macro.
40305 (bit_XMM_state): New macro.
40306 (bit_YMM_state): New macro.
40307 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40308 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40309 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40310 (CPUID_OSXSAVE): New macro.
40311 (CPUID_AVX): New macro.
40312 (CPUID_FMA4): New macro.
40313 (index_YMM_Usable): Rename to...
40314 (index_AVX_Usable): ... this.
40315 (HAS_AVX): Use HAS_ARCH_FEATURE.
40316 (HAS_FMA4): Likewise.
40317 (HAS_YMM_USABLE): Remove.
40318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40319 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40320 are present.
40321 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40322 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40323 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40324 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40325 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40326
0af797de
CM
403272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40328
40329 * math/libm-test.c: Support platforms without multiple rounding modes.
40330 * math/bug-nextafter.c: Support platforms without FP exceptions.
40331 * math/bug-nexttoward.c: Likewise.
40332 * math/test-fenv.c: Likewise.
40333 * math/test-misc.c: Likewise.
40334 * stdlib/bug-getcontext.c: Likewise.
40335
e39745ff
AJ
403362012-05-17 Andreas Jaeger <aj@suse.de>
40337
40338 * manual/examples/search.c (critter_cmp): Change signature to
40339 avoid warnings.
40340 * manual/string.texi (Collation Functions): Likewise.
40341
48970aba
L
403422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40343
40344 * bits/types.h: Fold copyright years.
40345 * bits/typesizes.h: Likewise.
40346 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40350 * time/time.h: Likewise.
40351
bedee953
PP
403522012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40353
40354 [BZ #208]
40355 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40356 in instead of returning them. Return void.
40357 (__libc_mallinfo): Accumulate over all arenas.
40358 (__malloc_stats): Adjust for change in int_mallinfo interface.
40359
61653dfb
RM
403602012-05-16 Roland McGrath <roland@hack.frob.com>
40361
30b99d79
RM
40362 [BZ #10375]
40363 * configure.in (NM): Add AC_CHECK_TOOL for it.
40364 (libc_extra_cflags): New substituted variable.
40365 Check for -fstack-protector being used implicitly.
40366 * configure: Regenerated.
40367 * config.make.in (config-extra-cflags): New variable,
40368 gets @libc_extra_cflags@.
40369 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40370
61653dfb
RM
40371 [BZ #10375]
40372 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40373 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40374 * configure: Regenerated.
40375 * config.make.in (CPPUNDEFS): New substituted variable.
40376 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40377 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40378 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40379
661768bb
L
403802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40381
40382 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40383 (mq_attr): Use __syscall_slong_t.
40384
d4261567
L
403852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40386
40387 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40388 Check __x86_64__ instead of __WORDSIZE.
40389 (_STAT_VER_LINUX): Likewise.
40390 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40391 __syscall_ulong_t and __syscall_slong_t.
40392 (stat64): Likewise.
40393
cf3ff365
L
403942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40395
40396 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40397
76cf3e4d
L
403982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40399
40400 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40401
a637753a
L
404022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40403
40404 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40405 __syscall_ulong_t.
40406
d5e05119
L
40407 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40408 include <bits/wordsize.h>. Check __x86_64__ instead of
40409 __WORDSIZE.
40410 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40411 defined.
40412 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40413
f62ee380
L
40414 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40415 include <bits/wordsize.h>. Check __x86_64__ instead of
40416 __WORDSIZE.
40417 (user_regs_struct): Use "__extension__ unsigned long long"
40418 instead of "unsigned long" if __x86_64__ is defined.
40419 (user): Likewise. Pad after pointer field if __ILP32__ is
40420 defined.
40421
4e124ced
JM
404222012-05-16 Joseph Myers <joseph@codesourcery.com>
40423
6a3951a0
JM
40424 * configure.in (makeinfo): Require version 4.5 or later. Allow
40425 versions 5 to 9.
40426 * configure: Regenerated.
40427 * manual/install.texi (texinfo): Increase version requirement to
40428 4.5 or later.
40429 * INSTALL: Regenerated.
40430
4e124ced
JM
40431 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40432
953ca31a
L
404332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40434
40435 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40436
617aca05
L
40437 * sysdeps/x86_64/x32/ffs.c: New file.
40438
5762f7ae
L
40439 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40440 __syscall_ulong_t.
40441 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40442 defined. Use __syscall_ulong_t.
40443 (shminfo): Use __syscall_ulong_t.
40444 (shm_info): Likewise.
40445
a26b6856
L
40446 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40447 __syscall_ulong_t.
40448
cb2b9ef7
L
40449 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40450 <bits/wordsize.h>.
40451 (msgqnum_t): Use __syscall_ulong_t.
40452 (msglen_t): Likewise.
40453 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40454 __syscall_ulong_t.
40455
34683bb0
L
40456 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40457 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40458
84a68786
L
40459 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40460
48baa5f1
L
40461 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40462 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40463
180be88b
L
40464 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40465 __syscall_slong_t.
40466
5e90c8ad
L
40467 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40468 include <bits/wordsize.h>. Check __x86_64__ instead of
40469 __WORDSIZE.
40470
23dfb58b
L
40471 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40472 "unsigned long long int" if __x86_64__ is defined.
40473 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40474
ce5d54b0
L
40475 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40476 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40477 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40478
13dc9eac
L
40479 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40480 <stdint.h>.
40481 (GET_PC): Cast to uintptr_t first.
40482 (GET_FRAME): Likewise.
40483 (GET_STACK): Likewise.
40484
a7895d15
L
40485 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40486 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40487 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40488 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40489 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40490 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40491 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40492 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40493 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40494 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40495 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40496 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40497 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40498 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40499 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40500 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40501 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40502 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40503 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40504 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40505 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40506 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40507 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40508 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40509 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40510 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40511 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40512 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40513 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40514
656416c9
AS
405152012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40516
5bd66283
AS
40517 * Makerules (+depfiles): Also collect depfiles from .oS in
40518 $(extra-objs).
40519 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40520 .oS, $(libnldbl-routines)).
40521
656416c9
AS
40522 * Makerules (native-compile-mkdep-flags): Define.
40523 * sunrpc/Makefile (extra-objs): Add $(addprefix
40524 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40525 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40526 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40527 calling $(make-target-directory).
40528
a46f2169
L
405292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40530
40531 * bits/types.h (__snseconds_t): Removed.
40532 * time/time.h (struct timespec): Replace __snseconds_t with
40533 __syscall_slong_t.
40534 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40535 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40536 Likewise.
40537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40538 (__SNSECONDS_T_TYPE): Likewise.
40539 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40540 (__SNSECONDS_T_TYPE): Likewise.
40541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40542 (__SNSECONDS_T_TYPE): Likewise.
40543
6af6528b
L
405442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40545
40546 * sysdeps/mach/hurd/bits/typesizes.h
40547 (__SYSCALL_SLONG_TYPE): New macro.
40548 (__SYSCALL_ULONG_TYPE): Likewise.
40549
de986b56
L
405502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40551
40552 * bits/types.h (__syscall_slong_t): New type.
40553 (__syscall_ulong_t): Likewise.
40554
40555 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40556 (__SYSCALL_ULONG_TYPE): Likewise.
40557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40558 (__SYSCALL_SLONG_TYPE): Likewise.
40559 (__SYSCALL_ULONG_TYPE): Likewise.
40560 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40561 (__SYSCALL_SLONG_TYPE): Likewise.
40562 (__SYSCALL_ULONG_TYPE): Likewise.
40563 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40564 (__SYSCALL_SLONG_TYPE): Likewise.
40565 (__SYSCALL_ULONG_TYPE): Likewise.
40566
85736dc7
L
405672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40568
40569 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40570 Add sigaltstack-offsets.sym.
40571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40572 <sigaltstack-offsets.h>.
40573 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40574 longjmp_msg pointer.
40575 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40576 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40577 signal stack.
40578 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40579
cc03b296
JM
405802012-05-15 Joseph Myers <joseph@codesourcery.com>
40581
a9538892
JM
40582 * elf/stackguard-macros.h: Remove file.
40583 * sysdeps/generic/stackguard-macros.h: New file.
40584 * sysdeps/i386/stackguard-macros.h: Likewise.
40585 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40586 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40587 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40588 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40589 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40590 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40591 * sysdeps/x86_64/stackguard-macros.h: Likewise.
40592 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40593 <elf/stackguard-macros.h>.
40594
cc03b296
JM
40595 [BZ #14109]
40596 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40597 __aligned__ in attribute.
40598 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40599 (gregset_t): Likewise.
40600
93171016
L
406012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40602
40603 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40604 * sysdeps/x86_64/64/Implies-after: Here. New file.
40605 * sysdeps/x86_64/x32/Implies-after: New file.
40606
d86813a0
L
406072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40608
40609 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40610 and access return value for _dl_profile_fixup. Use R10_LP to
40611 load frame size.
40612
2953ec75
L
406132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40614
40615 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40616
3b550e9e
L
406172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40618
40619 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40620 * sysdeps/x86_64/x32/sysdep.h: New file.
40621
eda41706
L
406222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40623
40624 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40625 * sysdeps/x86_64/setjmp.S: Likewise.
40626
9ea01d93
AZ
406272012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40628
40629 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40630 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40631 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40632 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40633 remove unused global constant.
40634
02a91938
CM
406352012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40636
40637 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40638 include of <not-cancel.h>.
40639
6540185f
RM
406402012-05-15 Roland McGrath <roland@hack.frob.com>
40641
40642 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40643
509072a0
AJ
406442012-05-15 Jeff Law <law@redhat.com>
40645 Andreas Jaeger <aj@suse.de>
40646
40647 [BZ #13594]
40648 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40649 out from...
40650 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40651 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40652 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40653 code changing __hst_map_handle.map.
40654
ba75122d
RM
406552012-05-15 Roland McGrath <roland@hack.frob.com>
40656
40657 * configure.in (sysnames): Look for Implies-before and Implies-after
40658 files.
40659 * configure: Regenerated.
40660
890d8bd8
L
406612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40662
40663 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40664 8-byte data alignment with LP_SIZE alignment.
40665
f6ee6623
L
406662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40667
40668 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40669 into R10_LP.
40670
ea2626f6
L
406712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40672
40673 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40674
085f715e
L
406752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40676
40677 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40678 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40679 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40680 Likewise.
40681 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40682
be8498fc
L
406832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40684
40685 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40686 (stackinfo_sub_sp): Likewise.
40687
70bc83b9
L
406882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40689
40690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40691 RAX_LP.
40692
9bc0b730
L
406932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40694
40695 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40696 into R*_LP.
40697
6d2850e7
L
406982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40699
40700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40701 sizes into R*_LP.
40702
3cb84561
L
407032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40704
40705 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40706
54e2ed81
L
407072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40708
40709 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40710 into R11_LP and load __x86_64_shared_cache_size_half into
40711 R8_LP.
40712
8a17f349
L
407132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40714
40715 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40716 R8_LP.
40717
777b1eea
AZ
407182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40719
40720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40721 logb for POWER7.
40722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40723 logbf for POWER7.
40724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40725 logbl for POWER7.
40726 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40727 powerpc32/power7/fpu/s_logb.c via #include.
40728 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40729 powerpc32/power7/fpu/s_logbf.c via #include.
40730 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40731 powerpc32/power7/fpu/s_logbl.c via #include.
40732
d20d4ac2
JM
407332012-05-15 Joseph Myers <joseph@codesourcery.com>
40734
40735 * README.libm: Remove file.
40736
6cdef1ab
L
407372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40738
40739 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40740 count for x32. Use R*_LP and omit operand-size suffix.
40741
0b254d8f
L
407422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40743
40744 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40745 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40746 * sysdeps/x86_64/x32/shlib-versions: New file.
40747
ceb809dc
RM
407482012-05-14 Roland McGrath <roland@hack.frob.com>
40749
40750 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40751 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40752 Use _dl_fatal_printf instead.
40753
37f1abd4
JM
407542012-05-14 Joseph Myers <joseph@codesourcery.com>
40755
40756 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40757 set if not set by the user. Do not allow for being unset.
40758 * sysdeps/unix/sysv/linux/configure: Regenerated.
40759
11de3a33
L
407602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40761
40762 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40763 the `q' suffix from lea and replace .quad with ASM_ADDR.
40764
e02f153a
L
407652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40766
40767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40768 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40769 instead of $17.
40770 (PTR_DEMANGLE): Likewise.
40771
520ae0fd
L
407722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40773
40774 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40775 (LP_OP): Likewise.
40776 (ASM_ADDR): Likewise.
40777 (RAX_LP): Likewise.
40778 (RBP_LP): Likewise.
40779 (RBX_LP): Likewise.
40780 (RCX_LP): Likewise.
40781 (RDI_LP): Likewise.
40782 (RSI_LP): Likewise.
40783 (RSP_LP): Likewise.
40784 (R8_LP): Likewise.
40785 (R9_LP): Likewise.
40786 (R10_LP): Likewise.
40787 (R10_LP): Likewise.
40788 (R11_LP): Likewise.
40789 (R12_LP): Likewise.
40790 (R13_LP): Likewise.
40791 (R14_LP): Likewise.
40792 (R15_LP): Likewise.
40793
b985be81
L
407942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40795
40796 * sysdeps/x86_64/x32/dl-machine.h: New file.
40797
6a4888ff
AJ
407982012-05-14 Andreas Jaeger <aj@suse.de>
40799
40800 * manual/Makefile (subdir): Remove export of subdir.
40801 (all): Remove target.
40802 (.PHONY): Remove all from list.
40803 (mkinstalldirs): Remove.
40804 (.PHONY): Remove installdirs from list.
40805 ($(inst_infodir)/libc.info): Use make-target-directory.
40806 (installdirs): Remove.
40807 (subdir_%): Remove.
40808 (glibc-targets): Remove.
40809 (lib): Remove.
40810 (stubs): Remove.
40811 ($(objpfx)stubs ../po/manual.pot): Remove.
40812 ($(objpfx)stamp%): Remove.
40813 (make-target-directory): Remove.
40814 (subdir_install): Remove.
40815 (routines): Remove.
40816 (aux): Remove.
40817 (sources): Remove.
40818 (objects): Remove.
40819 (headers): Remove.
40820
40821 [BZ #13750]
40822 * manual/.gitignore: Remove, it's not needed anymore.
40823 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40824 all files in it.
40825 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40826 directory.
40827 (texis): Renamed to $(objpfx)texis.
40828 (texis-path): New, contains path to generated files.
40829 (chapters.%): Use texis-path for complete path, add extra argument
40830 libc-texinfo.sh.
40831 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40832 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40833 (summary,texi, stamp-summary): Use complete path of
40834 files. Generate files in build dir.
40835 (dir-add.texi): Build in build dir.
40836 (libm-err.texi,stamp-libm-err): Likewise.
40837 (version.texi, stamp-version): Likewise.
40838 (.%c.texi): Likewise.
40839 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40840 (mostlyclean): Remove target.
40841 (realclean): Remove target.
40842 (generated): Add new variable with contents from mostlyclean and
40843 realclean, remove entries duplicated in common-mostlyclean, add
40844 stamp-libm-err and stamp-version.
40845 (generated-dirs): Add libc directory.
40846 ($(inst_infodir)/libc.info): Install files from build dir.
40847
40848 * manual/install.texi (Configuring and compiling): Adjust since
40849 the info files are not part of the tar ball anymore.
40850
7ac77294
AJ
408512012-05-14 Andreas Jaeger <aj@suse.de>
40852
40853 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40854 variable.
40855
ffb7875d
JM
408562012-05-14 Joseph Myers <joseph@codesourcery.com>
40857
40858 [BZ #13717]
40859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40860 to 2.2.0 where earlier.
40861 * sysdeps/unix/sysv/linux/configure: Regenerated.
40862 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40863 Remove conditional code.
40864 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40865 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40866 Remove conditional code.
40867 [!__NR_lchown]: Likewise.
40868 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40869 [__NR_lchown]: Likewise.
40870 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40871 comment referencing __ASSUME_LCHOWN_SYSCALL.
40872 * sysdeps/unix/sysv/linux/i386/sigaction.c
40873 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40874 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40875 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40876 Remove conditional code.
40877 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40878 (__protocol_available): Remove #if 0 code.
40879 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40880 conditional code.
40881 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40882 * sysdeps/unix/sysv/linux/kernel-features.h
40883 (__ASSUME_GETCWD_SYSCALL): Don't define.
40884 (__ASSUME_REALTIME_SIGNALS): Likewise.
40885 (__ASSUME_PREAD_SYSCALL): Likewise.
40886 (__ASSUME_PWRITE_SYSCALL): Likewise.
40887 (__ASSUME_POLL_SYSCALL): Likewise.
40888 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40889 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40890 non-SPARC.
40891 (__ASSUME_SIOCGIFNAME): Don't define.
40892 (__ASSUME_MSG_NOSIGNAL): Likewise.
40893 (__ASSUME_SENDFILE): Define unconditionally.
40894 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40895 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40896 conditional code.
40897 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40898 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40899 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40900 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40901 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40902 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40903 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40905 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40908 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40909 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40911 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40912 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40914 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40915 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40917 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40918 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40920 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40921 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40923 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40924 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40926 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40928 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40929 Remove conditional code.
40930 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40931 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40932 Remove conditional code.
40933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40934 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40935 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40936 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40937 Remove conditional code.
40938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40939 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40940 Remove conditional code.
40941 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40942 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40943 Remove conditional code.
40944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40945 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40946 Remove conditional code.
40947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40948 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40949 Remove conditional code.
40950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40951 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40952 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40954 * sysdeps/unix/sysv/linux/sigaction.c
40955 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40956 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40957 * sysdeps/unix/sysv/linux/sigpending.c
40958 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40959 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40960 * sysdeps/unix/sysv/linux/sigprocmask.c
40961 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40962 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40963 * sysdeps/unix/sysv/linux/sigsuspend.c
40964 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40965 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40966 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40967 (__libc_missing_rt_sigs): Remove.
40968 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40969 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40970 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40971 Remove conditional code.
40972 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40973 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40974 return 1.
40975 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40976 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40977 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40978 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40979
1bfb7291
AJ
409802012-05-14 Andreas Jaeger <aj@suse.de>
40981
caae5a81
AJ
40982 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40983 it's not used in glibc.
40984 (__coshm1): Likewise.
40985 (__acosh1p): Likewise.
40986 (__sgn): Likewise.
40987
1bfb7291
AJ
40988 * manual/string.texi (Copying and Concatenation): Add missing
40989 variable in concat example.
40990 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40991
c044d724
L
409922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40993
144c5467 40994 [BZ #14103]
c044d724
L
40995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40996 __builtin_clzl with __builtin_clzll.
40997
2523c62b
L
409982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40999
41000 [BZ #14104]
41001 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41002 libc_freeres_ptr.
41003
d7bb4c42
LD
410042012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41005
41006 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41007 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41008 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41009 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41010
9dc4e1fb
MF
410112012-05-14 Mike Frysinger <vapier@gentoo.org>
41012
41013 * NEWS: Update ia64 info.
41014
c7df0112
AS
410152012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41016
41017 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41018 used as bcopy.
41019
dc70356c
TS
410202012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41021
41022 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41023 * sysdeps/unix/syscalls.list (dup3): Likewise.
41024 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41025 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41026
9fb1a21f
L
410272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41028
41029 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41030 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41031
4822a2a5
L
410322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41033
41034 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41035 thread pointer.
41036 (TLS_IE): Use mov/add instead of movq/addq to load thread
41037 pointer.
41038 (TLS_GD_PREFIX): New.
41039 (TLS_GD): Use it.
41040
842b81d6
DM
410412012-05-11 David S. Miller <davem@davemloft.net>
41042
41043 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41044 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41045 (_FPU_SETCW): Likewise.
41046
1cf463cd
L
410472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41048
41049 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41050 is 32-byte aligned.
41051
60cc4a18
AS
410522012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41053
41054 [BZ #11837]
41055 * iconvdata/gb18030.c: Update tables.
41056 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41057 characters specially.
41058 (BODY for TO_LOOP): Add encoding of missing ranges.
41059
febb44a4
TS
410602012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41061
41062 [BZ #13673]
41063 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41064 * sysdeps/mach/hurd/dup3.c: Likewise.
41065 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41066 * sysdeps/powerpc/memmove.c:: Likewise.
41067
0a10fb9e
L
410682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41069
41070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41071 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41072
df8a552f
L
410732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41074
41075 * elf/elf.h (R_X86_64_RELATIVE64): New.
41076 (R_X86_64_NUM): Updated.
41077 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41078 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41079 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41080 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41081 tst-quad1pie tst-quad2pie
41082 (modules-names): Add tst-quadmod1 tst-quadmod2.
41083 ($(objpfx)tst-quad1): New dependency.
41084 ($(objpfx)tst-quad2): Likewise.
41085 ($(objpfx)tst-quad1pie): Likewise.
41086 ($(objpfx)tst-quad2pie): Likewise.
41087 * sysdeps/x86_64/tst-quad1.c: New file.
41088 * sysdeps/x86_64/tst-quad1pie.c: New file.
41089 * sysdeps/x86_64/tst-quad2.c: Likewise.
41090 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41091 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41092 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41093 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41094 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41095
f34d6f84
ST
410962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41097
f42d41d1
ST
41098 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41099 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41100 * streams/stropts.h (t_scalar_t): Define type.
41101
3c3571fc
ST
41102 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41103 (_PATH_PRESERVE): Set to "/var/lib".
41104 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41105
61f06bd3
ST
41106 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41107 instead of int.
41108
918d4d71
ST
41109 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41110 if __dir_mkfile succeeded.
41111
f34d6f84
ST
41112 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41113 checking for _hurd_dtablesize. Unlock it right after having
41114 finished _hurd_dtable allocation.
41115
10589b4a
TS
411162012-05-10 Thomas Schwinge <thomas@schwinge.name>
41117
674cdbc7
TS
41118 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41119 * sysdeps/mach/hurd/configure: Regenerated.
41120 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41121 special-casing to...
41122 * sysdeps/gnu/configure.in: ... this new file.
41123 * sysdeps/unix/sysv/linux/configure: Regenerated.
41124 * sysdeps/gnu/configure: New generated file.
41125
8e41b99f
TS
41126 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41127 for Linux: use nsec instead of usec, as well as:
41128 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41129 members of type struct timespec.
41130 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41131 New macros.
41132 (struct stat64): Likewise.
41133 (_STATBUF_ST_NSEC): New macro.
41134 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41135
10589b4a
TS
41136 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41137 __strtoul_internal rather than strtoul.
41138
63643c85
PT
411392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41140
41141 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41142 and reject them.
41143
3faebe6a
ST
411442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41145
41146 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41147 which preserves existing values.
41148 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41149
c6474b07
PT
411502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41151
41152 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41153 TIMEOUT values. Return EINVAL for NFDS values either negative or
41154 greater than FD_SETSIZE.
41155
1043890b
ST
411562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41157
41158 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41159 allocated, call __vm_protect to finish enabling the existing space, and
41160 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41161 allocate the remainder.
41162
37ed8b9b
PT
411632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41164
41165 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41166 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41167
db653660
ST
411682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41169
37ed8b9b
PT
41170 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41171 sysdeps/mach/hurd/readlink.c.
b29d4053 41172
db653660
ST
41173 * posix/tst-sysconf.c (posix_options): Only use
41174 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41175 _POSIX_SYNCHRONIZED_IO when they are defined
41176 * sysdeps/mach/hurd/bits/posix_opt.h:
41177 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41178 (_XOPEN_REALTIME): Undefine macro.
41179 (_XOPEN_REALTIME_THREADS): Undefine macro.
41180 (_XOPEN_SHM): Undefine macro.
41181 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41182 macro to -1.
41183 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41184 macro to -1.
41185 (_POSIX_ASYNC_IO): Undefine macro.
41186 (_POSIX_PRIORITIZED_IO): Undefine macro.
41187 (_POSIX_SPIN_LOCKS): Define macro to -1.
41188
ee16e894
ST
41189 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41190 SA_NODEFER, SA_RESETHAND.
41191 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41192 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41193 F_DUPFD_CLOEXEC.
41194
6103ae3b
TS
411952012-05-10 Thomas Schwinge <thomas@schwinge.name>
41196
41197 * elf/Makefile (pldd-modules): Define unconditionally.
41198
80b4e5f3
TS
411992012-05-10 Thomas Schwinge <thomas@schwinge.name>
41200
41201 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41202
edadcbd6
ST
412032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41204
41205 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41206 Return ENOENT when name is empty.
41207 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41208
80694780
TS
412092012-05-10 Thomas Schwinge <thomas@schwinge.name>
41210
1792c087
TS
41211 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41212
80694780
TS
41213 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41214
6b645f0d
ST
412152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41216
80694780
TS
41217 Fix mlock in all cases except non-readable pages.
41218 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41219 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 41220
6b645f0d
ST
41221 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41222 (__mkdir): When path is `/', just fail with EEXIST.
41223 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41224
e468f8a3
TS
412252012-05-10 Thomas Schwinge <thomas@schwinge.name>
41226
41227 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41228 <sys/uio.h> (for writev).
41229 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41230 and <sys/param.h> (for MIN).
41231
a4186cff
PT
412322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41233
41234 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41235 REQUESTED_TIME. Properly set the remaining time and return EINTR
41236 if interrupted.
41237
510bbf14
TS
412382012-05-10 Thomas Schwinge <thomas@schwinge.name>
41239
41240 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41241 Depend on against $(link-rpcuserlibs).
41242
5d5722e8
ST
412432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41244
a4186cff
PT
41245 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41246 (__libc_stack_end): Do not use attribute_relro.
41247 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41248 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 41249 to libthread-provided value.
a4186cff
PT
41250 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41251 attribute_relro.
5d5722e8 41252
37233df9
TS
412532012-05-10 Thomas Schwinge <thomas@schwinge.name>
41254
be971a2b
TS
41255 [BZ #3748]
41256 * bits/libc-lock.h (__libc_once_get): New macro.
41257 * sysdeps/mach/bits/libc-lock.h: Likewise.
41258 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41259 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41260 instead of using implementation details.
41261
37233df9
TS
41262 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41263 * libio/freopen.c: Likewise.
41264 * libio/freopen64.c: Likewise.
41265 * misc/syslog.c: Likewise.
41266 * nscd/connections.c: Likewise.
41267 * nscd/netgroupcache.c: Likewise.
41268 * sysdeps/posix/getcwd.c: Likewise.
41269
38de94a5
RM
412702012-05-10 Roland McGrath <roland@hack.frob.com>
41271
41272 * math/w_ilogbf.c: Add #include <limits.h>.
41273
67530489
ST
412742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41275
a4186cff 41276 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
41277 path instead of returning without unlocking.
41278
67530489
ST
41279 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41280 immediate-write ioctls.
41281 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41282
5aa3a74a
TS
412832012-05-10 Thomas Schwinge <thomas@schwinge.name>
41284
18bad2ae
TS
41285 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41286 __builtin_frame_address instead of making assumptions about the
41287 location of the return address relative to DATA. Force early load of
41288 the return address.
41289 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41290 __builtin_frame_address.
41291
5aa3a74a
TS
41292 dup3 for GNU Hurd.
41293 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41294 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41295 implement dup3 and do some further code clean-ups.
41296 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41297 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41298
ecd0de9a
ST
412992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41300
cd9fa985
ST
41301 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41302
a4186cff
PT
41303 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41304 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41305 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41306 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41307 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41308 d->port.lock.
802ca5a5 41309
a4186cff
PT
41310 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41311 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41312 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 41313
bcf55240
TS
413142012-05-10 Thomas Schwinge <thomas@schwinge.name>
41315
6960eb42
TS
41316 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41317 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41318 definitions.
41319
eb43375f
TS
41320 accept4 for GNU Hurd.
41321 * include/sys/socket.h (__libc_accept4): New prototype.
41322 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41323 to implement __libc_accept4.
41324 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41325 __libc_accept4.
41326 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41327
bcf55240
TS
41328 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41329 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41330 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41331 signal-defines.sym.
41332
6178c55b
ST
413332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41334
a4186cff 41335 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 41336
6f080c2f
TS
413372012-05-10 Thomas Schwinge <thomas@schwinge.name>
41338
41339 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41340 assertion on O_CLOEXEC flag.
41341 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41342 * hurd/intern-fd.c: Likewise.
41343 * hurd/port2fd.c: Likewise.
41344
bcfe3a54
ST
413452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41346
41347 [BZ #3906]
41348 * bits/in.h (IPV6_PKTINFO): Define new macro.
41349 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41350
89c9aa49
AZ
413512012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41352
41353 [BZ #13954]
41354 [BZ #13955]
41355 [BZ #13956]
41356 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41358 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41359 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41361 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41362 * math/libm-test.inc (logb_test) : Additional logb tests.
41363
021db4be
AJ
413642012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41365 Andreas Jaeger <aj@suse.de>
41366
41367 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41368 * configure: Regenerated.
41369 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41370 * config.make.in (link-obsolete-rpc): New substituted variable.
41371 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41372 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41373 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41374 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41375 so that libc.a contains the symbols.
41376 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41377 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41378 * sunrpc/auth_none.c: Likewise.
41379 * sunrpc/auth_unix.c: Likewise.
41380 * sunrpc/authdes_prot.c: Likewise.
41381 * sunrpc/authuxprot.c: Likewise.
41382 * sunrpc/clnt_gen.c: Likewise.
41383 * sunrpc/clnt_perr.c: Likewise.
41384 * sunrpc/clnt_raw.c: Likewise.
41385 * sunrpc/clnt_simp.c: Likewise.
41386 * sunrpc/clnt_tcp.c: Likewise.
41387 * sunrpc/clnt_udp.c: Likewise.
41388 * sunrpc/clnt_unix.c: Likewise.
41389 * sunrpc/des_crypt.c: Likewise.
41390 * sunrpc/des_soft.c: Likewise.
41391 * sunrpc/get_myaddr.c: Likewise.
41392 * sunrpc/key_call.c: Likewise.
41393 * sunrpc/key_prot.c: Likewise.
41394 * sunrpc/netname.c: Likewise.
41395 * sunrpc/pm_getmaps.c: Likewise.
41396 * sunrpc/pm_getport.c: Likewise.
41397 * sunrpc/pmap_clnt.c: Likewise.
41398 * sunrpc/pmap_prot.c: Likewise.
41399 * sunrpc/pmap_prot2.c: Likewise.
41400 * sunrpc/pmap_rmt.c: Likewise.
41401 * sunrpc/publickey.c: Likewise.
41402 * sunrpc/rpc_cmsg.c: Likewise.
41403 * sunrpc/rpc_common.c: Likewise.
41404 * sunrpc/rpc_dtable.c: Likewise.
41405 * sunrpc/rpc_prot.c: Likewise.
41406 * sunrpc/rpc_thread.c: Likewise.
41407 * sunrpc/rtime.c: Likewise.
41408 * sunrpc/svc.c: Likewise.
41409 * sunrpc/svc_auth.c: Likewise.
41410 * sunrpc/svc_raw.c: Likewise.
41411 * sunrpc/svc_run.c: Likewise.
41412 * sunrpc/svc_tcp.c: Likewise.
41413 * sunrpc/svc_udp.c: Likewise.
41414 * sunrpc/svc_unix.c: Likewise.
41415 * sunrpc/svcauth_des.c: Likewise.
41416 * sunrpc/xcrypt.c: Likewise.
41417 * sunrpc/xdr.c: Likewise.
41418 * sunrpc/xdr_array.c: Likewise.
41419 * sunrpc/xdr_float.c: Likewise.
41420 * sunrpc/xdr_intXX_t.c: Likewise.
41421 * sunrpc/xdr_mem.c: Likewise.
41422 * sunrpc/xdr_rec.c: Likewise.
41423 * sunrpc/xdr_ref.c: Likewise.
41424 * sunrpc/xdr_sizeof.c: Likewise.
41425 * sunrpc/xdr_stdio.c: Likewise.
41426
b5c086a2
RM
414272012-05-10 Roland McGrath <roland@hack.frob.com>
41428
41429 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41430 change. Update copyright years.
41431
6d74dd09
JM
414322012-05-10 Joseph Myers <joseph@codesourcery.com>
41433
41434 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41435
28e72501
MK
414362012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41437 Joseph Myers <joseph@codesourcery.com>
41438 Paul Pluzhnikov <ppluzhnikov@google.com>
41439
41440 [BZ #14012]
41441 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41442 requiring rpcgen.
41443 [cross-compiling] (extra-libs): Likewise.
41444 [cross-compiling] (extra-libs-others): Likewise.
41445 [cross-compiling] (librpcsvc-routines): Likewise.
41446 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41447 [cross-compiling] (omit-deps): Likewise.
41448 (sunrpc-CPPFLAGS): New variable.
41449 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41450 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41451 (cross-rpcgen-objs): New variable.
41452 (extra-objs): Append $(cross-rpcgen-objs).
41453 ($(cross-rpcgen-objs)): New rule.
41454 ($(objpfx)cross-rpcgen): Likewise.
41455 (rpcgen-cmd): Define to use $(built-program-file). Expand
41456 comment.
41457 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41458 ($(objpfx)x%.stmp): Likewise.
41459 * sunrpc/proto.h [IS_IN_build] (_): Define.
41460 [IS_IN_build] (_libc_intl_domainname): Likewise.
41461
c8c59454
L
414622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41463
41464 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41465 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41466 and R_X86_64_TPOFF64.
41467
6f27cd16
JM
414682012-05-10 Joseph Myers <joseph@codesourcery.com>
41469
41470 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41471 sysdeps/unix/sysv/syscalls.list.
41472 (stime): Likewise.
41473 (utime): Likewise.
41474 * sysdeps/unix/sysv/syscalls.list: Remove file.
41475
02467e1c
PE
414762012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41477
41478 [BZ #3440]
41479 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41480 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41481 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41482 (__LC_IDENTIFICATION): Make these macros useful in #if
41483 expressions, as required by C99.
41484
da392631
AS
414852012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41486
41487 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41488 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41489 after this.
41490
8115f29b
L
414912012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41492
41493 * stdlib/longlong.h: Updated from GCC.
41494
bdd74070
AJ
414952012-05-09 Andreas Jaeger <aj@suse.de>
41496
edfe0dbe
AJ
41497 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41498 default is first entry.
41499 (run_mode): Set type.
41500 (main): Remove informal message about syslog.
41501 (options): Fix typo.
41502
bcfe3a54
ST
41503 [BZ #14053]
41504 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 41505 to asm.
bcfe3a54
ST
41506 (lrint): Likewise.
41507 (llrintf): Likewise.
41508 (llrint): Likewise.
41509 (rint): Likewise.
41510 (rintf): Likewise.
41511 (nearbyint): Likewise.
41512 (nearbyintf): Likewise.
bdd74070 41513
91d8d69e
AJ
415142012-05-09 Andreas Jaeger <aj@suse.de>
41515 Pedro Alves <palves@redhat.com>
41516
41517 * nscd/nscd.c (run_mode): Use enum.
41518 (main): Cleanup coding style issue.
41519
bb90b80b
AJ
415202012-05-09 Alexandre Oliva <aoliva@redhat.com>
41521 Andreas Jaeger <aj@suse.de>
41522
bcfe3a54
ST
41523 * nscd/nscd.c (go_background): Replaced with...
41524 (run_mode): ... this.
bb90b80b 41525 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
41526 (options): Add -F --foreground.
41527 (main): Implement it.
41528 (parse_opt): Parse it.
bb90b80b 41529
1a4b75a1
AJ
415302012-05-09 Andreas Jaeger <aj@suse.de>
41531
41532 [BZ #14083]
41533 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41534 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41535 -Wconversion warning.
41536 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41537 Likewise.
41538
b1cc2472
JM
415392012-05-09 Joseph Myers <joseph@codesourcery.com>
41540
41541 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41542 == 0.
41543 (LC_ALL): Use macro-int-constant.
41544 (LC_COLLATE): Likewise.
41545 (LC_CTYPE): Likewise.
41546 (LC_MESSAGES): Likewise.
41547 (LC_MONETARY): Likewise.
41548 (LC_NUMERIC): Likewise.
41549 (LC_TIME): Likewise.
41550 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41551 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41552 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41553 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41554 Specify type.
41555 [C99-based standards] (float_t): Expect type.
41556 [C99-based standards] (double_t): Expect type.
41557 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41558 type.
41559 [C99-based standards] (HUGE_VALL): Likewise.
41560 [C99-based standards] (INFINITY): Likewise.
41561 [C99-based standards] (NAN): Likewise.
41562 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41563 [C99-based standards] (FP_NAN): Likewise.
41564 [C99-based standards] (FP_NORMAL): Likewise.
41565 [C99-based standards] (FP_SUBNORMAL): Likewise.
41566 [C99-based standards] (FP_ZERO): Likewise.
41567 [C99-based standards] (FP_FAST_FMA): Use
41568 optional-macro-int-constant. Specify type. Require == 1.
41569 [C99-based standards] (FP_FAST_FMAF): Likewise.
41570 [C99-based standards] (FP_FAST_FMAL): Likewise.
41571 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41572 [C99-based standards] (FP_ILOGBNAN): Likewise.
41573 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41574 Specify type.
41575 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41576 [C99-based standards] (math_errhandling): Specify type.
41577 [ISO99 || ISO11] (signgam): Do not allow.
41578 [non-C99-based standards] (copysignf): Do not allow.
41579 [non-C99-based standards] (exp2f): Likewise.
41580 [non-C99-based standards] (log2f): Likewise.
41581 [non-C99-based standards] (modff): Allow.
41582 [non-C99-based standards] (erff): Do not allow.
41583 [non-C99-based standards] (erfcf): Likewise.
41584 [non-C99-based standards] (gammaf): Likewise.
41585 [non-C99-based standards] (hypotf): Likewise.
41586 [non-C99-based standards] (j0f): Likewise.
41587 [non-C99-based standards] (j1f): Likewise.
41588 [non-C99-based standards] (jnf): Likewise.
41589 [non-C99-based standards] (lgammaf): Likewise.
41590 [non-C99-based standards] (tgammaf): Likewise.
41591 [non-C99-based standards] (y0f): Likewise.
41592 [non-C99-based standards] (y1f): Likewise.
41593 [non-C99-based standards] (ynf): Likewise.
41594 [non-C99-based standards] (isnanf): Likewise.
41595 [non-C99-based standards] (acoshf): Likewise.
41596 [non-C99-based standards] (asinhf): Likewise.
41597 [non-C99-based standards] (atanhf): Likewise.
41598 [non-C99-based standards] (cbrtf): Likewise.
41599 [non-C99-based standards] (expm1f): Likewise.
41600 [non-C99-based standards] (ilogbf): Likewise.
41601 [non-C99-based standards] (log1pf): Likewise.
41602 [non-C99-based standards] (logbf): Likewise.
41603 [non-C99-based standards] (nextafterf): Likewise.
41604 [non-C99-based standards] (remainderf): Likewise.
41605 [non-C99-based standards] (rintf): Likewise.
41606 [non-C99-based standards] (scalbf): Likewise.
41607 [non-C99-based standards] (copysignl): Likewise.
41608 [non-C99-based standards] (exp2l): Likewise.
41609 [non-C99-based standards] (log2l): Likewise.
41610 [non-C99-based standards] (modfl): Allow.
41611 [non-C99-based standards] (erfl): Do not allow.
41612 [non-C99-based standards] (erfcl): Likewise.
41613 [non-C99-based standards] (gammal): Likewise.
41614 [non-C99-based standards] (hypotl): Likewise.
41615 [non-C99-based standards] (j0l): Likewise.
41616 [non-C99-based standards] (j1l): Likewise.
41617 [non-C99-based standards] (jnl): Likewise.
41618 [non-C99-based standards] (lgammal): Likewise.
41619 [non-C99-based standards] (tgammal): Likewise.
41620 [non-C99-based standards] (y0l): Likewise.
41621 [non-C99-based standards] (y1l): Likewise.
41622 [non-C99-based standards] (ynl): Likewise.
41623 [non-C99-based standards] (isnanl): Likewise.
41624 [non-C99-based standards] (acoshl): Likewise.
41625 [non-C99-based standards] (asinhl): Likewise.
41626 [non-C99-based standards] (atanhl): Likewise.
41627 [non-C99-based standards] (cbrtl): Likewise.
41628 [non-C99-based standards] (expm1l): Likewise.
41629 [non-C99-based standards] (ilogbl): Likewise.
41630 [non-C99-based standards] (log1pl): Likewise.
41631 [non-C99-based standards] (logbl): Likewise.
41632 [non-C99-based standards] (nextafterl): Likewise.
41633 [non-C99-based standards] (remainderl): Likewise.
41634 [non-C99-based standards] (rintl): Likewise.
41635 [non-C99-based standards] (scalbl): Likewise.
41636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41637 [non-C99-based standards] (FP_*): Do not allow.
41638 [C99-based standards] (FP_*): Change to
41639 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41640 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41641 allow.
41642 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41643 (SIG_ERR): Likewise.
41644 [X/Open-based standards] (SIG_HOLD): Likewise.
41645 (SIG_IGN): Likewise.
41646 (SIGABRT): Use macro-int-constant. Specify type. Require
41647 positive value.
41648 (SIGFPE): Likewise.
41649 (SIGILL): Likewise.
41650 (SIGINT): Likewise.
41651 (SIGSEGV): Likewise.
41652 (SIGTER): Likewise.
41653 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41654 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41655 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41656 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41657 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41658 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41659 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41660 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41661 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41662 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41663 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41664 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41665 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41666 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41667 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41668 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41669 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41670 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41671 [X/Open-based standards] (SIGTRAP): Likewise.
41672 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41673 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41674 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41675 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41676 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41677 allow.
41678
b9f1922d
IW
416792012-05-08 Ian Wienand <ianw@vmware.com>
41680
41681 [BZ #14080]
41682 * time/tzset.c (__tzset_parse_tz): Update default rules for
41683 daylight time changes in the Energy Policy Act of 2005.
41684
1db86e88
AJ
416852012-05-09 Andreas Jaeger <aj@suse.de>
41686
41687 [BZ #13983]
41688 * elf/ldconfig.c (parse_conf): Change string to make clear that
41689 ldconfig only issued a warning if ld.so.conf does not exist.
41690
dee4a4e3
DM
416912012-05-08 David S. Miller <davem@davemloft.net>
41692
ee0db190
DM
41693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41694 movxtod instead of popping the value on the stack.
41695
dee4a4e3
DM
41696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41697
6a43ec98
CD
416982012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41699
41700 * config.h.in: Add HAVE_ARM_PCS_VFP.
41701
05c2c961
RMG
417022012-05-08 Roland Mc Grath <roland@hack.frob.com>
41703
bcfe3a54
ST
41704 [BZ #13979]
41705 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41706 checking but the checks are disabled for any reason.
05c2c961 41707
4b30f61a
L
417082012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41709
41710 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41711 and ELF64_R_TYPE with ELFW(R_TYPE).
41712
eee2bc67
JM
417132012-05-08 Joseph Myers <joseph@codesourcery.com>
41714
7ea5391a
JM
41715 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41716 (ulimit): Likewise.
41717
eee2bc67
JM
41718 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41719 (settimeofday): Likewise.
41720
abb66a67
MF
417212012-05-08 Mike Frysinger <vapier@gentoo.org>
41722
41723 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41724 a struct th_u2 inside the union, and move tu_block/tu_code into
41725 a new th_u3 union of tu_block/tu_code inside of that. Move
41726 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41727 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41728 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41729 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41730 (th_stuff): Change to th_u1.tu_stuff.
41731 (th_data): Define.
41732 (th_msg): Change to th_u1.th_u2.tu_data.
41733
7f18b530
DM
417342012-05-07 David S. Miller <davem@davemloft.net>
41735
05760585
DM
41736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41737
7f18b530
DM
41738 [BZ #14074]
41739 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41740 (SETUP_PIC_REG): Use it.
41741 (SETUP_PIC_REG_LEAF): Use it.
41742
495fd99f
JM
417432012-05-07 Joseph Myers <joseph@codesourcery.com>
41744
41745 [BZ #13885]
41746 [BZ #13923]
41747 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41748 USE_AS_EXPM1L.
41749 (EXPL_FINITE): Likewise.
41750 (FLDLOG): Likewise.
41751 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41752 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41753 e_expl.S.
41754 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41755 USE_AS_EXPM1L.
41756 (EXPL_FINITE): Likewise.
41757 (FLDLOG): Likewise.
41758 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41759 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41760 e_expl.S.
41761 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41762 test of -max_value argument for long double.
41763 * sysdeps/i386/fpu/libm-test-ulps: Update.
41764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41765
6693d694
DM
417662012-05-06 David S. Miller <davem@davemloft.net>
41767
41768 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41769 quad soft-float symbols whose references which are compiler
41770 generated.
41771 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41772
6c23e11c
JM
417732012-05-06 Joseph Myers <joseph@codesourcery.com>
41774
d8b82cad
JM
41775 [BZ #13884]
41776 [BZ #13914]
41777 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41778 USE_AS_EXP10L.
41779 (EXPL_FINITE): Likewise.
41780 (FLDLOG): Likewise.
41781 (c0): Likewise.
41782 (c1): Likewise.
41783 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41784 Adjust comments for base varying.
41785 (__expl_finite): Change alias to EXPL_FINITE.
41786 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41787 e_expl.S.
41788 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41789 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41790 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41791 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41792 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41793 USE_AS_EXP10L.
41794 (EXPL_FINITE): Likewise.
41795 (FLDLOG): Likewise.
41796 (c0): Likewise.
41797 (c1): Likewise.
41798 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41799 Adjust comments for base varying.
41800 (__expl_finite): Change alias to EXPL_FINITE.
41801 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41802 tests for bugs.
41803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41804
6c23e11c
JM
41805 [BZ #14064]
41806 * math/libm-test.inc (check_float_internal): Correct ulp
41807 calculation for subnormal expected results.
41808
29ba805c
AJ
418092012-05-06 Andreas Jaeger <aj@suse.de>
41810
41811 * Makeconfig (+math-flags): New, set to -frounding-math.
41812 (+cflags): Add +math-flags so that all of glibc gets compiled with
41813 it.
41814
41815 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41816
7b17aeda
JM
418172012-05-05 Joseph Myers <joseph@codesourcery.com>
41818
5779f134
JM
41819 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41820 Disable one test.
41821
41498f4d
JM
41822 [BZ #13787]
41823 [BZ #13922]
41824 [BZ #14036]
41825 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41826 (__ieee754_expl): Allow for and saturate large arguments.
41827 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41828 (u_threshold): Likewise.
41829 (__exp): Call __ieee754_exp before checking for overflow and
41830 underflow.
41831 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41832 (u_threshold): Likewise.
41833 (__expf): Call __ieee754_expf before checking for overflow and
41834 underflow.
41835 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41836 (u_threshold): Likewise.
41837 (__expl): Call __ieee754_expl before checking for overflow and
41838 underflow.
41839 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41840 (__ieee754_expl): Allow for and saturate large arguments.
41841 * math/libm-test.inc (exp_test): Add another test. Do not allow
41842 missing overflow exception on overflow.
41843 (expm1_test): Do not allow missing overflow exception on overflow.
41844
6698b8bf
JM
41845 * sysdeps/i386/fpu/e_expl.c: Move to ...
41846 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41847 rather than using inline asm.
41848 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41849 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41850 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41851
7b17aeda
JM
41852 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41853 (nice): Likewise.
41854 (poll): Likewise.
41855 (signal): Likewise.
41856 (time): Likewise.
41857 (times): Likewise.
41858
f7c85819
JM
418592012-05-04 Joseph Myers <joseph@codesourcery.com>
41860
41861 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41862 sysdeps/unix/common/syscalls.list.
41863 (fchmod): Likewise.
41864 (fchown): Likewise.
41865 (ftruncate): Likewise.
41866 (getrusage): Likewise.
41867 (gettimeofday): Likewise.
41868 (setpgid): Likewise.
41869 (setregid): Likewise.
41870 (setreuid): Likewise.
41871 (sigaction): Likewise.
41872 (truncate): Likewise.
41873 (vhangup): Likewise.
41874 * sysdeps/unix/common/syscalls.list: Remove file.
41875 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41876 * sysdeps/unix/sysv/linux/Implies: Likewise.
41877
336270d0
L
418782012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41879
41880 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41882 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41883 Moved to ...
41884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41885 Here.
41886 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41887 to ...
41888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41889 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41890 to ...
41891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41892 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41893 to ...
41894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41895 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41896 to ...
41897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41898 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41899 to ...
41900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41901 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41902 to ...
41903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41904 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41905 to ...
41906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41907 Here.
41908 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41909 to ...
41910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41911 Here.
41912 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41913 to ...
41914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41915 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41916 Moved to ...
41917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41918 Here.
41919 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41920 to ...
41921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41922
d128e450
JM
419232012-05-04 Joseph Myers <joseph@codesourcery.com>
41924
fa8ee516
JM
41925 * sysdeps/unix/common/bits/dirent.h: Remove file.
41926 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41927
d128e450
JM
41928 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41929 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41930 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41931 * sysdeps/unix/bsd/isatty.c: Likewise.
41932 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41933 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41934 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41935
ff8faaf0 419362012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 41937
62881be4 41938 [BZ #13563]
31dc8730
AZ
41939 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41940 long double comparison inaccuracies.
41941 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41943
6fef930c
AS
419442012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41945
41946 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41948
8f203e6c
JM
419492012-05-04 Joseph Myers <joseph@codesourcery.com>
41950
41951 [BZ #14049]
41952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41953 nonzero digits before rounding a hex value.
41954 * stdlib/tst-strtod.c (tests): Add another test.
41955
5197d9c2
AK
419562012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41957
41958 * sysdeps/s390/fpu/libm-test-ulps: Update.
41959
f0c1dedf
AJ
419602012-05-03 Andreas Jaeger <aj@suse.de>
41961
41962 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41963 does not get optimized out.
41964 (malloc_opt_barrier): New.
41965
a65ef2ae 419662012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 41967 Roland McGrath <roland@hack.frob.com>
a65ef2ae 41968
2b942cb7 41969 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 41970 intermediate file deletion.
2b942cb7 41971 (generated): Add .symlist files.
a65ef2ae 41972
54b71e02
JM
419732012-05-03 Joseph Myers <joseph@codesourcery.com>
41974
41975 [BZ #13775]
41976 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41977 Redirect under this condition.
41978 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41979 [__USE_GNU] (__dprintf_chk): Not under this condition.
41980 [__USE_GNU] (__vdprintf_chk): Likewise.
41981 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41982 under this condition.
41983 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41984 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41985 [__USE_XOPEN2K8] (vdprintf): Likewise.
41986 [__USE_GNU] (__dprintf_chk): Not under this condition.
41987 [__USE_GNU] (__vdprintf_chk): Likewise.
41988 [__USE_GNU] (dprintf): Likewise.
41989 [__USE_GNU] (vdprintf): Likewise.
41990
d3dfcc41
RM
419912012-05-03 Roland McGrath <roland@hack.frob.com>
41992
41993 * elf/Makefile (common-generated): Set this instead of generated for
41994 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41995 $(all-built-dso)-derived lists.
41996
7ac30cc5
AJ
419972012-05-03 Andreas Jaeger <aj@suse.de>
41998
0c51e550
AJ
41999 * sysdeps/i386/fpu/libm-test-ulps: Update.
42000
7ac30cc5
AJ
42001 * FAQ: Removed.
42002 * FAQ.in: Likewise.
42003 * scripts/gen-FAQ.pl: Likewise.
42004 * manual/install.texi (Installation): Point to online location of
42005 FAQ.
42006 * Makefile (files-for-dist): Remove FAQ.
42007 (FAQ): Remove.
42008
d4c2917f
AM
420092012-05-02 Allan McRae <allan@archlinux.org>
42010
42011 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42012 (LDFLAGS-reldepmod5.so): Likewise.
42013 (LDFLAGS-reldep6mod1.so): Likewise.
42014 (LDFLAGS-reldep6mod4.so): Likewise.
42015 (LDFLAGS-reldep8mod3.so): Likewise.
42016 (LDFLAGS-unload4mod1.so): Likewise.
42017 (LDFLAGS-unload4mod2.so): Likewise.
42018 (LDFLAGS-tst-initorder): Likewise.
42019 (LDFLAGS-tst-initordera2.so): Likewise.
42020 (LDFLAGS-tst-initordera3.so): Likewise.
42021 (LDFLAGS-tst-initordera4.so): Likewise.
42022 (LDFLAGS-tst-initorderb2.so): Likewise.
42023 (LDFLAGS-noload): Likewise.
42024 (LDFLAGS-next): Likewise.
42025 (LDFLAGS-order2mod1.so): Likewise.
42026 (LDFLAGS-order2mod2.so): Likewise.
42027 (LDFLAGS-tst-initorder2): Likewise.
42028 (LDFLAGS-tst-initorder2a.so): Likewise.
42029 (LDFLAGS-tst-initorder2b.so): Likewise.
42030 (LDFLAGS-tst-initorder2c.so): Likewise.
42031 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42032
d77f993f
DM
420332012-05-02 David S. Miller <davem@davemloft.net>
42034
42035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42036
171a70b4
PP
420372012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42038
42039 [BZ #14055]
42040 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42041
0be196ad
AJ
420422012-05-02 Andreas Jaeger <aj@suse.de>
42043
42044 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42045 since we manipulate rounding mode.
42046 (CPPFLAGS-test-idouble.c): Likewise.
42047 (CPPFLAGS-test-ifloat.c): Likewise.
42048 (CFLAGS-test-ldouble.c): Likewise.
42049 (CFLAGS-test-double.c): Likewise.
42050 (CFLAGS-test-float.c): Likewise.
42051 (CFLAGS-test-misc.c): Likewise.
42052 (CFLAGS-test-test-fenv.c): Likewise.
42053
4f9d04aa
AZ
420542012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42055
2b942cb7
RM
42056 [BZ #2550]
42057 [BZ #2570]
42058 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42059 comparisons to determine direction to adjust input.
4f9d04aa 42060
82a79e7d
RM
420612012-05-01 Roland McGrath <roland@hack.frob.com>
42062
f5a01ca9
RM
42063 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42064 output to the target.
42065
90fe4186
RM
42066 * scripts/localplt.awk: New file.
42067 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42068 (check-localplt-CFLAGS): Variable removed.
42069 ($(all-built-dso:=.jmprel)): New static pattern rule.
42070 (generated): Add those targets.
42071 (localplt-built-dso): New variable.
42072 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42073
42074 * elf/check-localplt.c: File removed.
42075
82397ed6
RM
42076 * scripts/check-execstack.awk: New file.
42077 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42078 (check-execstack-CFLAGS): Variable removed.
42079 ($(objpfx)check-execstack.h): Target removed.
42080 ($(objpfx)execstack-default): New target.
42081 (generated): Add that instead of check-execstack.h.
42082 ($(all-built-dso:=.phdr)): New static pattern rule.
42083 (generated): Add those targets.
42084 * elf/check-execstack.c: File removed.
42085
82a79e7d
RM
42086 * scripts/check-textrel.awk: New file.
42087 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42088 (check-textrel-CFLAGS): Variable removed.
42089 (all-built-dso): Use := to define.o
42090 ($(all-built-dso:=.dyn)): New static pattern rule.
42091 (generated): Add those targets.
42092 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42093 * config.make.in (READELF): New substituted variable.
42094 * elf/check-textrel.c: File removed.
42095
62fde54f 420962012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 42097
615605c9
JM
42098 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42099 allow.
42100 * conform/data/ctype.h-data [C99-based standards] (isblank):
42101 Expect function.
42102 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42103 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42105 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42106 Specify type. Require positive value.
42107 (EILSEQ): Likewise.
42108 (ERANGE): Likewise.
42109 [ISO || POSIX] (EILSEQ): Do not expect.
42110 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42111 Specify type. Require positive value.
42112 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42113 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42114 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42115 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42116 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42117 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42118 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42119 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42120 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42121 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42122 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42123 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42124 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42125 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42126 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42127 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42128 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42129 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42130 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42131 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42132 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42133 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42134 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42135 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42136 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42137 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42138 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42139 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42140 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42141 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42142 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42143 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42144 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42145 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42146 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42147 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42148 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42149 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42150 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42151 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42152 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42153 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42154 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42155 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42156 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42157 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42158 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42159 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42160 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42161 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42162 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42163 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42164 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42165 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42166 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42167 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42168 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42169 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42170 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42171 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42172 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42173 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42174 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42175 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42176 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42177 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42178 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42179 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42180 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42181 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42182 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42183 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42184 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42185 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42186 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42187 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42188 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42189 Require >= 2.
42190 (FLT_ROUNDS): Expect as macro, not constant.
42191 (FLT_MANT_DIG): Use macro-int-constant.
42192 (DBL_MANT_DIG): Likewise.
42193 (LDBL_MANT_DIG): Likewise.
42194 (FLT_DIG): Likewise.
42195 (DBL_DIG): Likewise.
42196 (LDBL_DIG): Likewise.
42197 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42198 (DBL_MIN_EXP): Likewise.
42199 (LDBL_MIN_EXP): Likewise.
42200 (FLT_MAX_EXP): Use macro-int-constant.
42201 (DBL_MAX_EXP): Likewise.
42202 (LDBL_MAX_EXP): Likewise.
42203 (FLT_MAX_10_EXP): Likewise.
42204 (DBL_MAX_10_EXP): Likewise.
42205 (LDBL_MAX_10_EXP): Likewise.
42206 (FLT_MAX): Use macro-constant.
42207 (DBL_MAX): Likewise.
42208 (LDBL_MAX): Likewise.
42209 (FLT_EPSILON): Use macro-constant. Give upper bound.
42210 (DBL_EPSILON): Likewise.
42211 (LDBL_EPSILON): Likewise.
42212 (FLT_MIN): Likewise.
42213 (DBL_MIN): Likewise.
42214 (LDBL_MIN): Likewise.
42215 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42216 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42217 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42218 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42219 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42220 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42221 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42222 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42223 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42224 [ISO11] (FLT_TRUE_MIN): Likewise.
42225 [ISO11] (LDBL_TRUE_MIN): Likewise.
42226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42227 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42228 (SCHAR_MIN): Use macro-int-constant. Specify type.
42229 (SCHAR_MAX): Likewise.
42230 (UCHAR_MAX): Likewise.
42231 (CHAR_MIN): Likewise.
42232 (CHAR_MAX): Likewise.
42233 (MB_LEN_MAX): Use macro-int-constant.
42234 (SHRT_MIN): Use macro-int-constant. Specify type.
42235 (SHRT_MAX): Likewise.
42236 (USHRT_MAX): Likewise.
42237 (INT_MAX): Likewise.
42238 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42239 bound negative.
42240 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42241 bound with "U".
42242 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42243 bound with "L".
42244 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42245 bound negative. Suffix upper bound with "L".
42246 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42247 bound with "UL".
42248 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42249 Specify type.
42250 [C99-based standards] (LLONG_MAX): Likewise.
42251 [C99-based standards] (ULLONG_MAX): Likewise.
42252 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42253 == 0.
42254 [ISO11] (max_align_t): Require type.
42255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42256
c9140a62
JM
42257 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42258 from $CFLAGS, without defining away __attribute__ calls.
42259 (checknamespace): Use $CFLAGS_namespace.
42260
9af0bf29
JM
42261 * conform/conformtest.pl (@keywords): Only include C99 keywords
42262 for standards based on C99 or C11.
42263
343222a2
JM
42264 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42265 Disable tests.
42266 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42267 UNIX98]: Likewise.
42268
661f8cf0
JM
42269 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42270 usability of symbols in #if.
42271
ee74b9cb
JM
42272 * conform/conformtest.pl: If macro or constant types start
42273 "promoted:", expect the symbol to be of the following type
42274 promoted by the integer promotions.
62fde54f 42275
aafc49b3
JM
42276 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42277 in one place. Also handle "macro-constant".
42278
fefdf574
JM
42279 * conform/conformtest.pl: Only accept expected macro values with
42280 "==". Parse all "macro" lines in one place.
42281 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42282
f2d922fe
JM
42283 * conform/conformtest.pl: Handle braced types on "constant" lines
42284 instead of handling "typed-constant".
42285 * conform/data/signal.h-data: Use "constant" instead of
42286 "typed-constant".
42287
d22956c9
JM
42288 * conform/conformtest.pl: Handle "optional-" at start of lines in
42289 one place rather than duplicating several cases. Handle each
42290 format of "macro" line with initial "optional-".
42291
028e2e38
JM
42292 * conform/conformtest.pl: Only accept expected constant or
42293 optional-constant values with "==". Parse all "constant" lines in
42294 one place. Parse all "optional-constant" lines in one place.
42295 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42296 * conform/data/fmtmsg.h-data: Likewise.
42297 * conform/data/netinet/in.h-data: Likewise.
42298 * conform/data/tar.h-data: Likewise.
42299 * conform/data/limits.h-data: Use "==" form on "constant" and
42300 "optional-constant" lines.
42301
1b8f2850
JM
42302 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42303 Use -std=c99 for XOPEN2K.
42304 (@knownproblems): Remove.
42305 (newtoken): Don't check %isknown.
42306
a05a144b
JM
42307 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42308 Do not expect macro.
42309 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42310 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42311 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42312 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42313 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42314 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42315 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42316 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42317 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42318 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42319 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42320 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42321 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42322 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42323 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42324 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42325 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42326 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42327 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42328 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42329 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42330 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42331 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42332 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42333 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42334 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42335 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42336 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42337 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42338 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42339 [XPG3] (acosh): Likewise.
42340 [XPG3] (asinh): Likewise.
42341 [XPG3] (atanh): Likewise.
42342 [XPG3] (cbrt): Likewise.
42343 [XPG3] (expm1): Likewise.
42344 [XPG3] (ilogb): Likewise.
42345 [XPG3] (log1p): Likewise.
42346 [XPG3] (logb): Likewise.
42347 [XPG3] (nextafter): Likewise.
42348 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42349 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42350 [XPG3] (remainder): Likewise.
42351 [XPG3] (rint): Likewise.
42352 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42353 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42354 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42355 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42356 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42357 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42358 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42359 [UNIX98 || XOPEN2K] (scalb): Expect.
42360 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42361 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42362 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42363 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42364 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42365 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42366 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42367 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42368 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42369 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42370 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42371 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42372 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42373 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42374 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42375 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42376 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42377 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42378 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42379 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42380 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42381 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42382 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42383 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42384 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42385 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42386 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42387 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42388 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42389 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42390 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42391 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42392 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42393 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42394 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42395 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42396 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42397 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42398 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42399 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42400 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42401 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42402 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42403 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42404 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42405 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42406 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42407 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42408 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42409 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42410 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42411 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42412 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42413 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42414 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42415 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42416 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42417 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42418 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42419 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42420 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42421 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42422 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42423 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42424 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42425 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42426 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42427 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42428 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42429 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42430 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42431 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42432 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42433 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42434 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42435 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42436 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42437 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42438 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42439 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42440 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42441 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42442 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42443 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42444 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42445 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42446 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42447 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42448 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42449 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42450 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42451 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42452 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42453 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42454 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42455 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42456 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42457 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42458 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42459 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42460 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42461 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42462 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42463 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42464 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42465 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42466 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42467 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42468 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42469 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42470 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42471 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42472 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42473 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42474 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42475 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42476 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42477 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42478 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42479 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42480 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42481 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42482 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42483 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42484 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42485 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42486 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42487 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42488 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42489 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42490 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42491 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42492 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42493 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42494 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42495 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42496 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42497
73c5ebe3
JM
42498 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42499 _XOPEN_SOURCE_EXTENDED for XPG4.
42500
39c33b6c
JM
42501 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42502
62fde54f
JM
42503 * Makeconfig (localtime): Remove variable.
42504 (inst_localtime-file): Likewise.
42505
0741d64c
AS
425062012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42507
42508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42509 Update.
42510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42511 Update.
42512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42513 Update.
42514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42515 Update.
42516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42517 Update.
42518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42519 Update.
42520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42521 Update.
42522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42523 Update.
42524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42525 Update.
42526
7cb029ee
JM
425272012-05-01 Joseph Myers <joseph@codesourcery.com>
42528
42529 [BZ #2550]
42530 [BZ #2570]
42531 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42532 comparisons to determine direction to adjust input.
42533 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42534 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42536 Likewise.
42537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42538 Likewise.
42539 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42540 Likewise.
42541 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42542 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42543 Likewise.
42544 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42545 Likewise.
42546 * math/libm-test.inc (nexttoward_test): Add more tests.
42547
412bd966
AS
425482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42549
42550 [BZ #14040]
42551 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42552 in version GLIBC_2.1, not GLIBC_2.0.
42553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42554 Likewise.
42555
9568c0c2
JM
425562012-04-30 Joseph Myers <joseph@codesourcery.com>
42557
adfbc8ac
JM
42558 [BZ #13942]
42559 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42560 (1 - x) * (1 + x).
42561 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42562 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42563 * math/libm-test.inc (acos_test): Add more tests.
42564 (asin_test): Likewise.
42565 * sysdeps/i386/fpu/libm-test-ulps: Update.
42566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42567
5ba3cc69
JM
42568 [BZ #14034]
42569 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42570 of square root.
42571 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42572 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42573 * math/libm-test.inc (acos_test_tonearest): New function.
42574 (acos_test_towardzero): Likewise.
42575 (acos_test_downward): Likewise.
42576 (acos_test_upward): Likewise.
42577 (asin_test_tonearest): Likewise.
42578 (asin_test_towardzero): Likewise.
42579 (asin_test_downward): Likewise.
42580 (asin_test_upward): Likewise.
42581 (main): Call the new functions.
42582 * sysdeps/i386/fpu/libm-test-ulps: Update.
42583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42584
9568c0c2
JM
42585 [BZ #13884]
42586 [BZ #13924]
42587 * math/e_exp10.c: Include <float.h>.
42588 (__ieee754_exp10): Handle underflow here rather than multiplying
42589 large negative argument by M_LN10.
42590 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42591 of __ieee754_expf.
42592 * math/e_exp10l.c: Include <float.h>.
42593 (__ieee754_exp10l): Handle underflow here rather than multiplying
42594 large negative argument by M_LN10l.
42595 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42596 spurious overflow exception on underflow.
42597
5ac3ea17
MP
425982012-04-29 Marek Polacek <polacek@redhat.com>
42599
42600 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42601 (__fortify_function): New macro.
42602 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42603 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42604 __extern_always_inline.
42605 * libio/bits/stdio2.h: Likewise.
42606 * libio/bits/stdio.h: Likewise.
42607 * string/string.h: Likewise.
42608 * string/bits/string3.h: Likewise.
42609 * include/stdio.h: Likewise.
42610 * stdlib/bits/stdlib.h: Likewise.
42611 * stdlib/stdlib.h: Likewise.
42612 * rt/bits/mqueue2.h: Likewise.
42613 * rt/mqueue.h: Likewise.
42614 * posix/bits/unistd.h: Likewise.
42615 * posix/unistd.h: Likewise.
42616 * io/bits/poll2.h: Likewise.
42617 * io/bits/fcntl2.h: Likewise.
42618 * io/fcntl.h: Likewise.
42619 * io/sys/poll.h: Likewise.
42620 * misc/bits/syslog.h: Likewise.
42621 * misc/bits/syslog-ldbl.h: Likewise.
42622 * misc/sys/syslog.h: Likewise.
42623 * socket/bits/socket2.h: Likewise.
42624 * socket/sys/socket.h: Likewise.
42625 * debug/tst-chk1.c: Likewise.
42626 * wcsmbs/bits/wchar2.h: Likewise.
42627 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42628 * wcsmbs/wchar.h: Likewise.
42629
ecf0ebfb
AJ
426302012-04-29 Andreas Jaeger <aj@suse.de>
42631
42632 * Makerules (tests): Remove enable-check-abi protection.
42633 (check-abi-warn): Remove.
42634 (check-abi-%): Remove check-abi-warn usage.
42635
42636 * configure.in: Remove check-abi configure option.
42637 * configure: Regenerated.
42638 * config.make.in (enable-check-abi): Remove.
42639
6d5c57fa
AS
426402012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42641
24c5d07e 42642 [BZ #14033]
ded5180a
AS
42643 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42644 double functions to double *_finite functions.
42645
7e0d315d
AS
42646 [BZ #13941]
42647 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42648 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42649 LDBL_MIN_EXP.
42650 * stdio-common/Makefile (tests): Add tst-sprintf3.
42651 * stdio-common/tst-sprintf3.c: New file.
42652
6d5c57fa
AS
42653 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42654 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42655
0749ff8b
JM
426562012-04-28 Joseph Myers <joseph@codesourcery.com>
42657
42658 * conform/conformtest.pl: Remove duplicate typed-constant
42659 handling.
42660
8dbd5d7b
DM
426612012-04-28 David S. Miller <davem@davemloft.net>
42662
42663 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42664 (check-abi-%): Remove AWK script prerequisite and explicit
42665 abilist directory.
42666 (check-abi): Rewrite to just diff the symlist with the abilist.
42667 (config-tls, config-abi-config): Delete, no longer used.
42668 (update-abi-%): Remove AWK script and explicit abilist directory.
42669 (update-abi): Rewrite to simply compare and conditionally copy the
42670 symlist and the sysdep abilist file. Remove update-abi-config
42671 checks.
42672 * abilist/ld.abilist: Remove.
42673 * abilist/libBrokenLocale.abilist: Remove.
42674 * abilist/libanl.abilist: Remove.
42675 * abilist/libcrypt.abilist: Remove.
42676 * abilist/libdl.abilist: Remove.
42677 * abilist/librt.abilist: Remove.
42678 * abilist/libthread_db.abilist: Remove.
42679 * abilist/libutil.abilist: Remove.
42680 * scripts/extract-abilist.awk: Remove.
42681 * scripts/merge-abilist.awk: Remove.
42682 * sysdeps/generic/libcidn.abilist: New file.
42683 * sysdeps/generic/libnss_compat.abilist: New file.
42684 * sysdeps/generic/libnss_db.abilist: New file.
42685 * sysdeps/generic/libnss_dns.abilist: New file.
42686 * sysdeps/generic/libnss_files.abilist: New file.
42687 * sysdeps/generic/libnss_hesiod.abilist: New file.
42688 * sysdeps/generic/libnss_nis.abilist: New file.
42689 * sysdeps/generic/libnss_nisplus.abilist: New file.
42690 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42691 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42692 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42693 file.
42694 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42695 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42696 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42697 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42698 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42699 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42700 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42701 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42702 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42703 file.
42704 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42705 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42706 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42707 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42708 file.
42709 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42710 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42711 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42712 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42713 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42714 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42715 file.
42716 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42717 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42718 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42719 file.
42720 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42722 New file.
42723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42724 New file.
42725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42726 New file.
42727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42728 New file.
42729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42730 New file.
42731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42732 New file.
42733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42734 New file.
42735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42736 New file.
42737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42738 New file.
42739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42740 New file.
42741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42742 New file.
42743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42744 New file.
42745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42746 New file.
42747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42748 file.
42749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42750 New file.
42751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42752 New file.
42753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42754 file.
42755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42756 New file.
42757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42758 New file.
42759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42760 file.
42761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42762 New file.
42763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42764 New file.
42765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42766 New file.
42767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42768 New file.
42769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42770 New file.
42771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42772 New file.
42773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42775 file.
42776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42777 New file.
42778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42779 file.
42780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42781 file.
42782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42783 file.
42784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42785 file.
42786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42787 file.
42788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42789 New file.
42790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42791 file.
42792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42793 file.
42794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42795 New file.
42796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42797 file.
42798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42800 file.
42801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42802 New file.
42803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42804 file.
42805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42806 file.
42807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42808 file.
42809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42810 file.
42811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42812 file.
42813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42814 New file.
42815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42816 file.
42817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42818 file.
42819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42820 New file.
42821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42822 file.
42823 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42824 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42825 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42826 file.
42827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42828 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42829 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42830 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42831 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42832 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42833 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42834 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42835 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42836 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42839 file.
42840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42841 New file.
42842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42843 file.
42844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42845 file.
42846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42847 file.
42848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42849 file.
42850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42851 file.
42852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42853 New file.
42854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42855 New file.
42856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42857 file.
42858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42859 New file.
42860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42861 file.
42862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42864 file.
42865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42866 New file.
42867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42868 file.
42869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42870 file.
42871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42872 file.
42873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42874 file.
42875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42876 file.
42877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42878 New file.
42879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42880 New file.
42881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42882 file.
42883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42884 New file.
42885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42886 file.
42887
41d73a1b
JM
428882012-04-28 Joseph Myers <joseph@codesourcery.com>
42889
42890 * conform/conformtest.pl: Fix typo in handling typed-constant from
42891 allow-header.
42892
28aeeda4
JM
428932012-04-27 Joseph Myers <joseph@codesourcery.com>
42894
adae8f5e
JM
42895 * README: Cut down references to pre-2.6 Linux kernels and
42896 Linuxthreads. Update lists of configurations in libc and ports
42897 and sort alphabetically. Say "or newer" with Linux kernel version
42898 requirements.
42899
28aeeda4
JM
42900 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42901
a462cb63
RA
429022012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42903
42904 [BZ #887]
42905 * math/libm-test.inc (logb_test_downward): New test to expose
42906 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42907 rounding mode.
42908
6ad3493e
JM
429092012-04-27 Joseph Myers <joseph@codesourcery.com>
42910
42911 [BZ #14027]
42912 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42913 to be done.
42914 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42915 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42916
2ce4f015
JM
429172012-04-26 Joseph Myers <joseph@codesourcery.com>
42918
5aeb141a
JM
42919 * sysdeps/unix/i386/brk.S: Remove file.
42920 * sysdeps/unix/i386/dl-brk.S: Likewise.
42921 * sysdeps/unix/i386/pipe.S: Likewise.
42922 * sysdeps/unix/i386/sigreturn.S: Likewise.
42923 * sysdeps/unix/i386/syscall.S: Likewise.
42924 * sysdeps/unix/i386/vfork.S: Likewise.
42925 * sysdeps/unix/i386/wait.S: Likewise.
42926
7143acae
JM
42927 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42928 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42929
2ce4f015
JM
42930 * configure.in (arm*-none*): Do not allow without
42931 --enable-hacker-mode.
42932 (netbsd*): Remove case setting base_os.
42933 (386bsd*): Likewise.
42934 (freebsd*): Likewise.
42935 (bsdi*): Likewise.
42936 (osf*): Likewise.
42937 (sunos*): Likewise.
42938 (ultrix*): Likewise.
42939 (newsos*): Likewise.
42940 (dynix*): Likewise.
42941 (*bsd*): Likewise.
42942 (sysv*): Likewise.
42943 (isc*): Likewise.
42944 (esix*): Likewise.
42945 (sco*): Likewise.
42946 (minix*): Likewise.
42947 (irix4*): Likewise.
42948 (irix6*): Likewise.
42949 (solaris[2-9]*): Likewise.
42950 (none): Likewise.
42951 * configure: Regenerated.
42952
0ac229c8
AZ
429532012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42954
42955 [BZ #11521]
42956 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42957 overflow or cancellation in calculating denominator.
42958 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42960 down expression to avoid unexpected rounding in newer GCCs.
42961 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42962
33f244f4
DM
429632012-04-26 David S. Miller <davem@davemloft.net>
42964
42965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42966 long-double compat symbols.
42967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42980
cfa1f3e8
DM
429812012-04-25 David S. Miller <davem@davemloft.net>
42982
42983 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42984 HWCAP_* values only after the memory barriers have been defined.
42985 (atomic_full_barrier): Define.
42986 (atomic_read_barrier): Define.
42987 (atomic_write_barrier): Define.
42988
6e236b92
SP
429892012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42990
42991 * shlib-versions: Add libgcc_s version information.
42992 * sysdeps/generic/libgcc_s.h: Remove.
42993 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42994 libgcc_s.h.
42995 * sysdeps/gnu/unwind-resume.c: Likewise.
42996 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42997
aab39a09
DM
429982012-04-25 David S. Miller <davem@davemloft.net>
42999
43000 * sysdeps/unix/sparc/brk.S: Delete.
43001 * sysdeps/unix/sparc/dl-brk.S: Delete.
43002 * sysdeps/unix/sparc/pipe.S: Delete.
43003 * sysdeps/unix/sparc/sysdep.S: Delete.
43004 * sysdeps/unix/sparc/sysdep.h: Delete.
43005 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
43006 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43007 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43008 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43009 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
43010 (JUMPTARGET): Remove.
43011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43012 sysdeps/unix/sparc/sysdep.h
43013 (ENTRY, END): Remove.
43014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43015
a3cc4f48
JM
430162012-04-25 Joseph Myers <joseph@codesourcery.com>
43017
2ed8cda2
JM
43018 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43019 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43020 -DIS_IN_build.
43021
35d76d59
JM
43022 * timezone/README: Update upstream location and email address for
43023 tzcode and tzdata.
43024 * timezone/zdump.c: Update from tzcode 2012b.
43025 * timezone/zic.c: Likewise.
43026
a3cc4f48
JM
43027 * configure.in (libc_cv_as_needed): Remove test.
43028 * configure: Regenerated.
43029 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43030 conditional definition.
43031 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43032 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43033 * config.make.in (have-as-needed): Remove variable.
43034
ceab42c3
SP
430352012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43036 Paul Pluzhnikov <ppluzhnikov@google.com>
43037
43038 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43039 strings correctly.
43040
3ce2865f
CLT
430412012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43042
43043 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43044 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43045 * sysdeps/sh/strlen.S: Likewise.
43046
f37e0d68
JM
430472012-04-24 Joseph Myers <joseph@codesourcery.com>
43048
ae186e9a
JM
43049 * sysdeps/unix/fork.S: Remove file.
43050 * sysdeps/unix/i386/fork.S: Likewise.
43051 * sysdeps/unix/sparc/fork.S: Likewise.
43052
b96914af
JM
43053 * sysdeps/unix/system.c: Remove file.
43054 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43055
f37e0d68
JM
43056 * sysdeps/unix/getegid.S: Remove file.
43057 * sysdeps/unix/geteuid.S: Likewise.
43058
87ef29ca
RM
430592012-04-24 Roland McGrath <roland@hack.frob.com>
43060
83bcd236
RM
43061 * scripts/check-localplt.awk: New file.
43062 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43063 of diff.
43064 * scripts/data/localplt-generic.data: Add a comment.
43065
87ef29ca
RM
43066 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43067 NODE when __dir_mkfile failed.
43068 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43069 Reported by Ludovic Courtès <ludo@gnu.org>.
43070
e5a6e567
AJ
430712012-04-24 Andreas Jaeger <aj@suse.de>
43072
43073 * Makerules (common-clean): Also remove gen-as-const-headers
43074 files.
43075
c1820385
JM
430762012-04-24 Joseph Myers <joseph@codesourcery.com>
43077
43078 * Makerules (native-compile): Do not change working directory for
43079 build. Use $(OUTPUT_OPTION) in command.
43080 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43081
94e02fc4
AZ
430822012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43083
43084 [BZ #13886]
43085 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43086 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43087 * math/libm-test.inc (floor_test): Add more tests.
43088 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43089
3a533ca3
JM
430902012-04-24 Joseph Myers <joseph@codesourcery.com>
43091
940ab4b3
JM
43092 * sysdeps/unix/getdents.c: Remove file.
43093 * sysdeps/unix/sysv/getdents.c: Likewise.
43094 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43095
90e037bd
JM
43096 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43097 sysdeps/unix/mman/syscalls.list.
43098 (mmap): Likewise.
43099 (mprotect): Likewise.
43100 (msync): Likewise.
43101 (munmap): Likewise.
43102 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43103 * sysdeps/unix/mman/syscalls.list: Remove.
43104 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43105
3a533ca3
JM
43106 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43107 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43108 * configure: Regenerated.
43109 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43110 $(libgcc_s_suffix).
43111 * config.make.in (libgcc_s_suffix): Remove variable.
43112
1ad743de
JM
431132012-04-23 Joseph Myers <joseph@codesourcery.com>
43114
4ad451e2
JM
43115 * sysdeps/unix/sysv/gethostname.c: Move to ...
43116 * sysdeps/posix/gethostname.c: ... here.
43117
5e37ce39
JM
43118 * sysdeps/unix/execve.S: Remove file.
43119
1ad743de
JM
43120 * sysdeps/unix/_exit.S: Remove file.
43121
4e681b5b
AJ
431222012-04-23 Andreas Jaeger <aj@suse.de>
43123
43124 [BZ #13739]
43125 * manual/Makefile: Remove make dist support, there's no
43126 need for a stand-alone documentation tar ball.
43127 (TEXI2DVI): Define always, it's not in Makeconfig.
43128 (dist): Removed.
43129 (tar-it): Removed.
43130 (edition): Removed.
43131 (glibc-doc-$(edition).tar): Removed
43132 (%.Z): Removed.
43133 (%.gz): Removed.
43134 (%.uu): Removed.
43135 (ETAGS): Remove, it's in Makeconfig.
43136 (move-if-change): Remove, it's in Makeconfig.
43137
38686a03 431382012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
43139
43140 [BZ #13970]
43141 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43142 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43143 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43144 (strtod_l, strtof_l, strtold_l): Remove __wur.
43145 It is not necessarily an error to ignore strtol's return value.
43146 One can reliably look at the stored endptr to decide whether
43147 the number had valid syntax.
43148
7c0616fa
AJ
431492012-04-21 Andreas Jaeger <aj@suse.de>
43150
803cb6b7 43151 [BZ #13739]
7c0616fa
AJ
43152 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43153
b0fe253f
JM
431542012-04-21 Joseph Myers <joseph@codesourcery.com>
43155
43156 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43157 * sysdeps/unix/sysv/Versions: Remove file.
43158
8280f22d
MT
431592012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43160
43161 [BZ #13927]
43162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43163
75ce411f 431642012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
43165
43166 [BZ #7064]
43167 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43168 version from __vm86.
43169
097d59fa
JM
431702012-04-20 Joseph Myers <joseph@codesourcery.com>
43171
a90f3bcb
JM
43172 * sysdeps/unix/common/lxstat.c: Remove file.
43173 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43174
edc7ea78
JM
43175 * sysdeps/unix/sysv/Makefile: Remove file.
43176
cb78c221
JM
43177 * sysdeps/unix/sysv/direct.h: Remove file.
43178
efa6a45f
JM
43179 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43180 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43181 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43182 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43183 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43184 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43185 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43186
9c9f2d0c
JM
43187 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43188
4541c83b
JM
43189 * sysdeps/unix/xmknod.c: Remove file.
43190 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43191
f5d153a0
JM
43192 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43193
aa746595
JM
43194 * sysdeps/unix/sysv/i386/time.S: Remove file.
43195
cce5905e
JM
43196 * sysdeps/unix/fxstat.c: Remove file.
43197 * sysdeps/unix/xstat.c: Likewise.
43198 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43199
37fa3841
JM
43200 * sysdeps/unix/sysv/sigaction.c: Remove file.
43201
ff1962a3
JM
43202 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43203 (sysdep_headers): Remove variable.
43204 [termio.h not in sysdep_headers] (generated): Likewise.
43205 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43206 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43207 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43208 * sysdeps/unix/sysv/tcflow.c: Likewise.
43209 * sysdeps/unix/sysv/tcflush.c: Likewise.
43210 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43211 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43212 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43213 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43214 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43215
e7740d31
JM
43216 * sysdeps/unix/siglist.c: Remove file.
43217
ee06f18b
JM
43218 * sysdeps/unix/getppid.S: Remove file.
43219
097d59fa
JM
43220 * sysdeps/unix/mkdir.c: Remove file.
43221 * sysdeps/unix/rmdir.c: Likewise.
43222
ff3d51ec
AS
432232012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43224
43225 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43226 ERR_MAX value.
43227 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43228 errlist-compat value.
43229
50f81fd7
DM
432302012-04-18 David S. Miller <davem@davemloft.net>
43231
43232 * sysdeps/generic/memcopy.h (reg_char): Delete.
43233 * debug/strcat_chk.c: Use char, not reg_char.
43234 * debug/strcpy_chk.c: Likewise.
43235 * debug/strncat_chk.c: Likewise.
43236 * debug/strncpy_chk.c: Likewise.
43237 * string/memchr.c: Likewise.
43238 * string/memrchr.c: Likewise.
43239 * string/rawmemchr.c: Likewise.
43240 * string/strcat.c: Likewise.
43241 * string/strchr.c: Likewise.
43242 * string/strchrnul.c: Likewise.
43243 * string/strcmp.c: Likewise.
43244 * string/strcpy.c: Likewise.
43245 * string/strncat.c: Likewise.
43246 * string/strncmp.c: Likewise.
43247 * string/strncpy.c: Likewise.
43248
8ff41c46
WS
432492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43250
43251 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43252 __builtin_memcopy is called when src and dest ranges are known to not
43253 overlap.
43254
6b652f46
WS
432552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43256
43257 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43258 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43259 fwd_align_merge macro call.
43260 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43261 bwd_align_merge macro call.
43262 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43263
b282631e
WS
432642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43265
43266 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43267 bwd_align_merge macros.
43268 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43269 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43270 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43271
95aa737c
DM
432722012-04-18 David S. Miller <davem@davemloft.net>
43273
43274 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43275
7a99a614
AJ
432762012-04-18 Andreas Jaeger <aj@suse.de>
43277
43278 [BZ# 6794]
43279 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43280 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43281 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43282
43283 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43284 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43285 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43286
43287 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43288 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43289 Adjust for changed ldbl-128 files.
43290
43291 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43292 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43293 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43294
e5270c23
DM
432952012-04-17 David S. Miller <davem@davemloft.net>
43296
43297 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43298
fb5e92c9
AS
432992012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43300
43301 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43302 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43303 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43304 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43305 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43306 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43307
76da7265
AZ
433082012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43309
43310 [BZ #6794]
43311 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43312 * math/libm-test.inc: Add ilogb errno and exception tests.
43313 * math/w_ilogb.c: New file: ilogb wrapper.
43314 * math/w_ilogbf.c: New file: ilogbf wrapper.
43315 * math/w_ilogbl.c: New file: ilogbl wrapper.
43316 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43317 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43318 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43319 exception being thrown with 0.0 as argument.
43320 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43321 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43322 exception being thrown with 0.0 as argument.
43323 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43324 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43325 exception being thrown with 0.0 as argument.
43326 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43327 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43328 exception being thrown with 0.0 as argument.
43329 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43330 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 43331 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
43332 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43333 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43334 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43335 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43336 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43337 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43338
0396e69d
PB
433392012-04-17 Petr Baudis <pasky@ucw.cz>
43340
43341 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43342 with altivec.
43343
750b5926
MP
433442012-04-16 Marek Polacek <polacek@redhat.com>
43345
43346 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43347
751728a1
MP
433482012-04-16 Marek Polacek <polacek@redhat.com>
43349
43350 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43351 operands of fdivp instruction.
43352
34a27407
L
433532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43354
43355 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43356 * elf/tst-auditmod3b.c: Likewise.
43357 * elf/tst-auditmod4b.c: Likewise.
43358 * elf/tst-auditmod5b.c: Likewise.
43359 * elf/tst-auditmod6b.c: Likewise.
43360 * elf/tst-auditmod6c.c: Likewise.
43361 * elf/tst-auditmod7b.c: Likewise.
43362 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43363 * sysdeps/x86_64/preconfigure.in: Likewise.
43364 * sysdeps/x86_64/preconfigure: Regenerated.
43365
7e73e17d
L
433662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43367
43368 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43369 __ILP32__.
43370
c7a6ab72
AB
433712012-04-13 Antoine Balestrat <merkil33@gmail.com>
43372
43373 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43374 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43375
a9e8e0e0
CL
433762012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43377
43378 [BZ #13973]
43379 * locale/iso-639.def: Fix gl language name. Spotted by
43380 Yaron Shahrabani.
43381
ec98af7d
RM
433822012-04-12 Roland McGrath <roland@hack.frob.com>
43383
43384 [BZ #2074]
43385 * libio/libio.h (__io_write_fn): Update comment.
43386
247c3ede
PB
433872012-04-12 Petr Baudis <pasky@ucw.cz>
43388
43389 [BZ #2074]
43390 * stdio.texi (Hook Functions): The user provided writer function
43391 is not allowed to return -1.
43392
55939d6d
DM
433932012-04-11 David S. Miller <davem@davemloft.net>
43394
43395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43396
90020f5a
MF
433972012-04-11 Mike Frysinger <vapier@gentoo.org>
43398
43399 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43400 Add a leading slash to rtkaio.
43401
288f9098
JM
434022012-04-11 Jim Meyering <meyering@redhat.com>
43403
90020f5a
MF
43404 [BZ #11959]
43405 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43406 It is not necessarily an error to ignore fwrite's return
43407 value. One can reliably use ferror to test for errors after
43408 the fact.
288f9098 43409
4be2b570
L
434102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43411
43412 * bits/types.h (__snseconds_t): New type.
43413 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43414
43415 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43416 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43417 (__SNSECONDS_T_TYPE): Likewise.
43418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43419 (__SNSECONDS_T_TYPE): Likewise.
43420 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43421 (__SNSECONDS_T_TYPE): Likewise.
43422
288f9098 434232012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
43424
43425 [BZ #2636]
43426 * manual/time.texi (Processor Time): Return type of times is
43427 elapsed real time since an arbitrary point in the past.
43428 (CPU Time): Move CLK_TCK from here...
43429 (Processor Time): ...to here. Correct description.
43430 * manual/conf.texi (Constants for Sysconf): Correct description of
43431 _SC_CLK_TCK.
43432
d7dd4413
DM
434332012-04-10 David S. Miller <davem@davemloft.net>
43434
43435 [BZ #13967]
43436 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43437 where the is a gap between DT_REL(A) and DT_JMPREL.
43438
b46068fc
L
434392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43440
43441 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43442 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43443 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43444
73d65cc3
SP
434452012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43446
43447 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43448 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43449 (dl_main): Handle --inhibit-cache.
43450 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43451 _dl_inhibit_cache.
43452 * elf/dl-load.c (_dl_map_object): Use it.
43453 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43454
bcc8d661
JM
434552012-04-09 Joseph Myers <joseph@codesourcery.com>
43456
8f9a2fae
JM
43457 [BZ #13872]
43458 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43459 (__ieee754_powl): Saturate large exponents rather than testing for
43460 overflow of y*log2(x).
43461 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43462 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43463 exceptions.
43464
bcc8d661
JM
43465 [BZ #11521]
43466 * math/s_ctan.c: Include <float.h>.
43467 (__ctan): Avoid internal overflow or cancellation in calculating
43468 denominator.
43469 * math/s_ctanf.c: Likewise.
43470 * math/s_ctanl.c: Likewise.
43471 * math/s_ctanh.c: Likewise.
43472 * math/s_ctanhf.c: Likewise.
43473 * math/s_ctanhl.c: Likewise.
43474 * math/libm-test.inc (ctan_test): Add more tests.
43475 (ctanh_test): Likewise.
43476 * sysdeps/i386/fpu/libm-test-ulps: Update.
43477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43478
823fbbb4
AJ
434792012-04-09 Andreas Jaeger <aj@suse.de>
43480
03879793
AJ
43481 [BZ #6894]
43482 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43483 is an optional BSD extension.
43484
823fbbb4
AJ
43485 [BZ #10254]
43486 * manual/stdio.texi (Opening Streams): Document additional fopen
43487 parameters.
43488
8de131cb
RM
434892012-04-09 Roland McGrath <roland@hack.frob.com>
43490
43491 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43492 %eax without telling the compiler.
43493
c0ed9d7d
CD
434942012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43495
43496 [BZ # 13963]
43497 * manual/install.texi: Use sourceware.org.
43498
c483f6b4
JM
434992012-04-09 Joseph Myers <joseph@codesourcery.com>
43500
d7dd9453
JM
43501 [BZ #13873]
43502 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43503 (__ieee754_pow): Generate overflow and underflow using huge*huge
43504 and tiny*tiny rather than just returning constant infinity or zero
43505 for large exponents.
43506 * math/libm-test.inc (pow_test): Require overflow exceptions for
43507 applicable cases of large exponents.
43508
c483f6b4
JM
43509 [BZ #706]
43510 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43511 (__ieee754_pow): Use iterative multiplication algorithm only for
43512 integer exponents with absolute value below 1024. Check for odd
43513 integer exponents when using algorithm for real exponents.
43514 * math/libm-test.inc (pow_test): Add more tests.
43515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43516
d2de7579
JM
435172012-04-08 Joseph Myers <joseph@codesourcery.com>
43518
43519 [BZ #13705]
43520 * math/libm-test.inc (exp_test): Do not allow overflow exception
43521 on underflow test.
43522
f77f1232
AJ
435232012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43524
43525 [BZ #13705]
43526 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43527 instead of __kernel_standard_f.
43528
3884932b
MF
435292012-04-08 Mike Frysinger <vapier@gentoo.org>
43530
43531 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43532 * sysdeps/x86_64/memset_chk.S: Likewise.
43533
54472e9c
AJ
435342012-04-08 Andreas Jaeger <aj@suse.de>
43535
6ab0fbfc
AJ
43536 [BZ #10153]
43537 * manual/startup.texi (Environment Access): Describe return value
43538 for putenv and setenv.
43539
61efba8c
AJ
43540 [BZ #6895]
43541 * manual/filesys.texi (Directory Entries): Add description for
43542 DT_LNK.
43543
95c3f29a
AJ
43544 [BZ #6890]
43545 * manual/filesys.texi (Directory Entries): Clarify that it's file
43546 system not operating system in the description of DT_UNKNOWN.
43547
54472e9c
AJ
43548 [BZ #6578]
43549 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43550
624254b1
SC
435512012-04-08 Stephen Compall <s11@member.fsf.org>
43552
43553 [BZ #6649]
43554 * manual/llio.texi (Opening and Closing Files): Add cross
43555 reference to explain mode argument.
43556
1e4920e0
MF
435572012-04-07 Mike Frysinger <vapier@gentoo.org>
43558
43559 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43560 * sysdeps/x86_64/memset_chk.S: Likewise.
43561
5ed848f3
DM
435622012-04-07 David S. Miller <davem@davemloft.net>
43563
43564 * elf/elf.h (R_SPARC_WDISP10): Define.
43565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43566 R_SPARC_SIZE32.
43567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43568 R_SPARC_SIZE64 and R_SPARC_H34.
43569
96154cd8
CD
435702012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43571
43572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43573 conditions and remove no longer applicable assertion.
43574
9904dc47
L
435752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43576
43577 * bits/byteswap.h: Include <features.h>.
43578 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43579 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43580
f8887d0a
L
435812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43582
43583 * bits/byteswap.h (__bswap_16): Removed.
43584 Include <bits/byteswap-16.h> to get __bswap_16.
43585 * sysdeps/i386/bits/byteswap.h: Likewise.
43586 * sysdeps/s390/bits/byteswap.h: Likewise.
43587 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43588 * bits/byteswap-16.h: New file.
43589 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43590 * sysdeps/s390/bits/byteswap-16.h: Likewise.
43591 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43592 * string/Makefile (headers): Add bits/byteswap-16.h.
43593
62470f60
PP
435942012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43595
43596 [BZ #13895]
43597 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43598 extra indirection.
43599 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43600 * nss/tst-nss-static.c: New.
43601
4dad7bab
RM
436022012-04-06 Robert Millan <rmh@gnu.org>
43603
43604 [BZ #6486]
43605 * manual/llio.texi (File Position Primitive): lseek
43606 refers to WHENCE when it really means OFFSET.
43607
e9142a17
AJ
436082012-04-06 Andreas Jaeger <aj@suse.de>
43609
2c040eff
AJ
43610 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43611 strncmp declarations.
43612
e9142a17
AJ
43613 * abilist/libc.abilist: Add __poll and __ppoll.
43614
ff9f1c5f
DM
436152012-04-05 David S. Miller <davem@davemloft.net>
43616
dcd2ae90
DM
43617 * scripts/check-local-headers.sh: Accept a host triplet in the
43618 path matched by the exclude regexp.
43619
993eb054
DM
43620 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43621 definition.
43622 * sysdeps/powerpc/powerpc32/dl-machine.h
43623 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43624 * sysdeps/s390/s390-32/dl-machine.h
43625 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43626 * sysdeps/sparc/sparc32/dl-machine.h
43627 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43628 * sysdeps/sparc/sparc64/dl-machine.h
43629 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43630
ff9f1c5f
DM
43631 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43632 lazy binding.
48e2e132 43633 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
43634 undefined symbol errors.
43635
48e2e132 43636 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
43637 DT_NEEDED entries.
43638
e80d6f94
MM
436392012-04-05 Michael Matz <matz@suse.de>
43640
43641 [BZ #13592]
43642 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43643
349fa79f
AJ
436442012-04-05 Andreas Jaeger <aj@suse.de>
43645
43646 [BZ #13908]
43647 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43648 comment.
43649
f402708f
KK
436502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43651
43652 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43653 which ROUND is no valid rounding mode.
43654
2ecccfc9
KK
436552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43656
43657 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43658 read again.
43659 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43660
8a53f50f
KK
436612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43662
43663 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43664 an exception using FPU order intentionally.
43665
436662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43667
43668 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43669 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43670 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43671 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43672
d653abb7
SJ
436732012-04-05 Simon Josefsson <simon@josefsson.org>
43674
43675 [BZ #12340]
43676 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43677 EINVAL when BUFLEN is too smal.
43678
c3b1bf7d
TS
436792012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43680
43681 [BZ #13553]
43682 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43683 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43684
b1aa60f3
AJ
436852012-04-03 Andreas Jaeger <aj@suse.de>
43686
c3b1bf7d 43687 [BZ #13938]
67f60a26
AJ
43688 * manual/setjmp.texi (System V contexts): Fix sentence.
43689
b1aa60f3
AJ
43690 [BZ #13926]
43691 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43692 New macro for this case.
43693 [!__GNUC__] (__bswap_64): New inline function for this case.
43694 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43695 * bits/byteswap.h: Likewise.
43696 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43697 ull, guard with __GLIBC_HAVE_LONG_LONG.
43698
43699 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43700 __GLIBC_HAVE_LONG_LONG.
43701
43702 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43703 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43704
39c59c35
TMQMF
437052012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43706
43707 [BZ #13691]
43708 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43709 inptr and inend, rather than using last_ch.
43710
135ffda8
DM
437112012-04-02 David S. Miller <davem@davemloft.net>
43712
43713 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43714 * stdio-common/printf-parse.h (read_int): Change return type to
43715 'int', return -1 on INT_MAX overflow.
43716 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43717 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43718 overflows INT_MAX. Check for overflow of in-format-string precision
43719 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43720 SIZE_MAX not INT_MAX for integer overflow test.
43721 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43722 skip the construct in the format string but do not record anything.
43723 * stdio-common/bug22.c: Adjust to test both width/prevision
43724 INT_MAX overflow as well as total length INT_MAX overflow. Check
43725 explicitly for proper errno values.
43726
228c019e
TS
437272012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43728
302cadd3
TS
43729 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43730 CHAR_MAX.
43731 * string/test-strcmp.c [! WIDE]: Likewise.
43732 * time/tst-mktime2.c: Likewise for INT_MAX.
43733 * string/test-string.h: #include <sys/param.h> for MIN.
43734
228c019e
TS
43735 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43736 * sysdeps/i386/init-first.c (init): Likewise.
43737 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43738 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43739 * sysdeps/sh/init-first.c (init): Likewise.
43740
cfa633f5
UD
437412012-04-01 Ulrich Drepper <drepper@gmail.com>
43742
43743 * po/ru.po: Update from translation team.
d1635ef8 43744 * po/vi.po: Likewise.
cfa633f5 43745
6cd0a5ea
SP
437462012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43747
43748 * resolv/nss_dns/dns-host.c: Merge copyright years.
43749
4b43400f
LD
437502012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43751
43752 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43753 Optimize memcpy with prefetch if
43754 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43755 src, dst pointers have unequal 16 byte alignments.
43756
48c41d04
SP
437572012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43758
43759 [BZ #13928]
43760 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43761 from a CNAME entry and return the minimum ttl for the query.
43762 (gaih_getanswer_slice): Likewise.
43763
b8dc394d
JL
437642012-03-30 Jeff Law <law@redhat.com>
43765
43766 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43767 due to long keys.
43768 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43769 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43770
2f5a5ed0
JL
43771 * resolv/nss_dns/dns-host.c: Update copyright year.
43772
1d39e359
UD
437732012-03-30 Ulrich Drepper <drepper@gmail.com>
43774
c030f70c 43775 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 43776 requests to save a system call. Fix check that all bytes are sent.
c030f70c 43777
1d39e359
UD
43778 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43779 comments for sendmmsg.
43780
437812012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
43782
43783 [BZ #13691]
43784 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43785 with only 1 character between 0x0041 and 0x01b0.
43786 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43787 * wcsmbs/tst-mbsnrtowcs.c: New file.
43788
20fde227
DM
437892012-03-29 David S. Miller <davem@davemloft.net>
43790
43791 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43792 small copies by hand.
43793
984a4237
JL
437942012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43795
43796 [BZ #13761]
57f41c40
AS
43797 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43798 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43799 group memberships.
984a4237 43800
18c9d62b
DM
438012012-03-28 David S. Miller <davem@davemloft.net>
43802
88d85d4f
DM
43803 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43804 that branches into memcpy.
43805 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43806 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43808 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43810 bits.
43811 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43812 implementation too.
43813 * sysdeps/sparc/mempcpy.S: New file.
43814
e5aa83e1
DM
43815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43816 the IFUNC routine in the libc case.
43817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43818
88570753
DM
43819 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43820 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43821 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43822 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43823 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43824 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43825 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43826 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43827
249d7567
DM
43828 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43829 loop to 256 bytes instead of 64 bytes and fix test signedness.
43830
18c9d62b
DM
43831 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43832 * sysdeps/sparc/sparc32/Makefile: rather than here...
43833 * sysdeps/sparc/sparc64/Makefile: and here.
43834
05f3d1f6
UD
438352012-03-28 Ulrich Drepper <drepper@gmail.com>
43836
43837 * malloc/mallocbug.c: Avoid warnings about unused variables.
43838
86ae07a8
JL
438392012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43840
43841 [BZ #13760]
43842 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43843 in the right place. Discard and retry query if response is
43844 larger than input buffer size.
43845
41bf21a1
JM
438462012-03-28 Joseph Myers <joseph@codesourcery.com>
43847
d6270972
JM
43848 [BZ #369]
43849 [BZ #2678]
43850 [BZ #3866]
43851 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43852 x for large integer exponent.
43853 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43854 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43855 sign of result as needed afterwards.
43856 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43857 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43858 result for underflowing pow the same as for overflow.
43859 (__kernel_standard_l): Handle powl overflow and underflow here
43860 rather than calling __kernel_standard.
43861 * math/libm-test.inc (pow_test): Add more tests.
43862
414fca03 43863 [BZ #3868]
41bf21a1
JM
43864 [BZ #13879]
43865 [BZ #13910]
43866 [BZ #13911]
43867 [BZ #13912]
43868 [BZ #13913]
43869 [BZ #13915]
43870 [BZ #13916]
43871 [BZ #13917]
43872 [BZ #13918]
43873 [BZ #13919]
43874 [BZ #13920]
43875 [BZ #13921]
43876 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43877 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43878 (__kernel_standard_l): New function.
43879 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43880 __kernel_standard.
43881 * math/w_acosl.c (__acosl): Likewise.
43882 * math/w_asinl.c (__asinl): Likewise.
43883 * math/w_atan2l.c (__atan2l): Likewise.
43884 * math/w_atanhl.c (__atanhl): Likewise.
43885 * math/w_coshl.c (__coshl): Likewise.
43886 * math/w_exp10l.c (__exp10l): Likewise.
43887 * math/w_exp2l.c (__exp2l): Likewise.
43888 * math/w_fmodl.c (__fmodl): Likewise.
43889 * math/w_hypotl.c (__hypotl): Likewise.
43890 * math/w_j0l.c (__j0l, __y0l): Likewise.
43891 * math/w_j1l.c (__j1l, __y1l): Likewise.
43892 * math/w_jnl.c (__jnl, __ynl): Likewise.
43893 * math/w_lgammal.c (__lgammal): Likewise.
43894 * math/w_log10l.c (__log10l): Likewise.
43895 * math/w_log2l.c (__log2l): Likewise.
43896 * math/w_logl.c (__logl): Likewise.
43897 * math/w_powl.c (__powl): Likewise.
43898 * math/w_remainderl.c (__remainderl): Likewise.
43899 * math/w_scalbl.c (sysv_scalbl): Likewise.
43900 * math/w_sinhl.c (__sinhl): Likewise.
43901 * math/w_sqrtl.c (__sqrtl): Likewise.
43902 * math/w_tgammal.c (__tgammal): Likewise.
43903 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43904 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43905 * math/libm-test.inc (acos_test): Add more tests.
43906 (acosh_test): Likewise.
43907 (asin_test): Likewise.
43908 (atanh_test): Likewise.
43909 (exp_test): Likewise.
43910 (exp10_test): Likewise.
43911 (exp2_test): Likewise.
43912 (expm1_test): Likewise.
43913 (lgamma_test): Likewise.
43914 (log_test): Likewise.
43915 (log10_test): Likewise.
43916 (log1p_test): Likewise.
43917 (log2_test): Likewise.
43918 (pow_test): Do not allow some spurious overflow exceptions.
43919 (sqrt_test): Add more tests.
43920 (tgamma_test): Likewise.
43921 (y0_test): Likewise.
43922 (y1_test): Likewise.
43923 (yn_test): Likewise.
43924
dd62fda6
AB
439252012-03-27 Anton Blanchard <anton@samba.org>
43926
43927 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43928 MAP_HUGETLB.
43929 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43930 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43931 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43932
1e3cdfda
AJ
439332012-03-27 David S. Miller <davem@davemloft.net>
43934
b855ab85
DM
43935 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43936
1e3cdfda
AJ
43937 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43938 have-as-vis3 check.
43939
439402012-03-27 Andreas Jaeger <aj@suse.de>
43941
43942 * sysdeps/x86_64/elf/configure.in: Moved to ...
43943 * sysdeps/x86_64/configure.in: ... here.
43944 * sysdeps/x86_64/elf/start.S: Moved to ...
43945 * sysdeps/x86_64/start.S: ... here.
43946 * sysdeps/x86_64/elf/configure: Delete.
43947
43948 * sysdeps/x86_64/configure.in: Merge contents from
43949 sysdeps/i386/configure.in (without i686 check).
43950
43951 * sysdeps/i386/elf/Versions: Merge into ...
43952 * sysdeps/i386/Versions: ... this.
43953 * sysdeps/i386/elf/Versions: Delete file.
43954 * sysdeps/i386/elf/start.S: Moved to ...
43955 * sysdeps/i386/start.S: ...here.
43956 * sysdeps/i386/elf/configure.in: Merge into...
43957 * sysdeps/i386/configure.in: ...here.
43958 * sysdeps/i386/elf/configure.in: Delete file.
43959 * sysdeps/i386/elf/configure: Delete file.
43960
43961 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43962 * debug/backtracesyms.c: ... here.
43963 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43964 * debug/backtracesymsfd.c: ... here.
43965 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43966 * sysdeps/generic/ifunc-sel.h: ... here.
43967
43968 * sysdeps/unix/i386/start.c: Delete file.
43969 * sysdeps/unix/sparc/start.c: Delete file.
43970 * sysdeps/unix/start.c: Delete file.
43971
43972 * sysdeps/sh/elf/configure.in: Moved to ...
43973 * sysdeps/sh/configure.in: ... here.
43974 * sysdeps/sh/elf/start.S: Moved to ...
43975 * sysdeps/sh/start.S: ... here.
43976 * sysdeps/sh/elf/configure: Delete file.
43977
43978 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43979 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43980 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43981 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43982 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43983 * sysdeps/powerpc/powerpc64/start.S: here.
43984 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43985 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43986 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43987 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43988 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43989
43990 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43991 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43992 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43993 * sysdeps/powerpc/powerpc32/start.S: ... here.
43994 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43995 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43996 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43997
43998 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43999 * sysdeps/powerpc/ifunc-sel.h: ... here.
44000 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44001 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44002
44003 * sysdeps/sparc/elf/configure.in: Moved to ...
44004 * sysdeps/sparc/configure.in: ... here.
44005 * sysdeps/sparc/elf/configure: Delete file.
44006 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44007 * sysdeps/sparc/sparc32/start.S: ... here.
44008 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44009 * sysdeps/sparc/sparc64/start.S: ... here.
44010 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44011 * sysdeps/sparc/sparc32/Makefile: ... this.
44012 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44013 * sysdeps/sparc/sparc64/Makefile: ... this.
44014
44015 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44016 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44017 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44018 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44019 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44020 * sysdeps/s390/s390-32/setjmp.S: ... here.
44021 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44022 * sysdeps/s390/s390-32/configure.in: ... here.
44023 * sysdeps/s390/s390-32/elf/configure: Delete file.
44024 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44025 * sysdeps/s390/s390-32/start.S: ... here.
44026
44027 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44028 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44029 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44030 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44031 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44032 * sysdeps/s390/s390-64/setjmp.S: ... here.
44033 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44034 * sysdeps/s390/s390-64/configure.in: ... here
44035 * sysdeps/s390/s390-64/elf/configure: Delete file.
44036 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44037 * sysdeps/s390/s390-64/start.S: ... here.
44038 * sysdeps/s390/s390-64/elf/configure: Delete.
44039
44040 * configure.in: Remove support for elf directories in sysdeps.
44041
44042 * configure: Regenerated.
44043 * sysdeps/i386/configure: Regenerated.
44044 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44045 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44046 * sysdeps/s390/s390-32/configure: Regenerated.
44047 * sysdeps/s390/s390-64/configure: Regenerated.
44048 * sysdeps/sh/configure: Regenerated.
44049 * sysdeps/sparc/configure: Regenerated.
44050 * sysdeps/x86_64/configure: Regenerated.
44051
a3f61311
AS
440522012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44053
c876e002
AS
44054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44055
a3f61311
AS
44056 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44057 denormal result into account.
44058
ac4c54f0
RM
440592012-03-25 Roland McGrath <roland@hack.frob.com>
44060
44061 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44062 Reported by Allan McRae <allan@archlinux.org>.
44063
6a9b9c02
JL
440642012-03-23 Jeff Law <law@redhat.com>
44065
44066 * nss/getnssent.c (__nss_getent): Fix typo.
44067
4c42a0c1
DM
440682012-03-23 David S. Miller <davem@davemloft.net>
44069
44070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44071
1532c7ac
L
440722012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44073
44074 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44075 to pad to uint64_t for each field.
44076 (dl_tls_index): Replace unsigned long with uint64_t.
44077
3ff42526
PP
440782012-03-23 Daniel Jacobowitz <dmj@google.com>
44079 Paul Pluzhnikov <ppluzhnikov@google.com>
44080
44081 [BZ #6528]
44082 * grp/Makefile (otherlibs): Don't set it.
44083 * inet/Makefile (otherlibs): Likewise.
44084 * login/Makefile (otherlibs): Likewise.
44085 * nscd/Makefile (otherlibs): Likewise.
44086 * posix/Makefile (otherlibs): Likewise.
44087 * pwd/Makefile (otherlibs): Likewise.
44088 * rt/Makefile (otherlibs): Likewise.
44089 * sunrpc/Makefile (otherlibs): Likewise.
44090 * nss/Makefile (otherlibs): Likewise.
44091 Add libnss_files to routines and static-only-routines.
44092 ($(objpfx)getent): Remove rule.
44093 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44094 static-only-routines.
44095
7c69cd14
JM
440962012-03-22 Joseph Myers <joseph@codesourcery.com>
44097
44098 [BZ #13892]
44099 * math/s_cexp.c: Include <float.h>.
44100 (__cexp): Handle exp result overflowing not necessarily
44101 overflowing both real and imaginary parts of result.
44102 * math/s_cexpf.c: Likewise.
44103 * math/s_cexpl.c: Likewise.
44104 * math/libm-test.inc (cexp_test): Add more tests.
44105 * sysdeps/i386/fpu/libm-test-ulps: Update.
44106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44107
81b035fe
L
441082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44109
44110 * include/link.h (ELFW): New macro.
44111 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44112 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44113
1da7940c
L
441142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44115
44116 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44117 with uint64_t.
44118
b749dbb9
L
441192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44120
44121 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44122 declaration.
44123 (struct La_x32_retval): Likewise.
44124
2ff87f3f
L
441252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44126
44127 * sysdeps/x86_64/preconfigure.in: New file.
44128 * sysdeps/x86_64/preconfigure: New generated file.
44129
c0df8e69
JM
441302012-03-22 Joseph Myers <joseph@codesourcery.com>
44131
48e44791
JM
44132 [BZ #13824]
44133 * math/e_exp2l.c: Include <float.h>.
44134 (__ieee754_exp2l): Handle overflow and underflow cases
44135 separately. Only pass fractional part of argument to
44136 __ieee754_expl.
44137 * math/libm-test.inc (exp2_test): Add more tests.
44138
c0df8e69
JM
44139 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44140 negating x to take absolute value.
44141 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44142 Likewise.
44143 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44144 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44145 Likewise.
44146 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44147 computing low part if x was negated.
44148 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44149
c8e43ba7
L
441502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44151
44152 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44153 la_x32_gnu_pltexit.
44154 (pltexit): Cast int_retval to ptrdiff_t.
44155 * elf/tst-auditmod3b.c: Likewise.
44156 * elf/tst-auditmod4b.c: Likewise.
44157 * elf/tst-auditmod5b.c: Likewise.
44158 * elf/tst-auditmod6b.c: Likewise.
44159 * elf/tst-auditmod6c.c: Likewise.
44160 * elf/tst-auditmod7b.c: Likewise.
44161
44162 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44163 and x32_gnu_pltexit.
44164
44165 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44166 __ELF_NATIVE_CLASS.
44167 (La_x32_regs): New macro.
44168 (La_x32_retval): Likewise.
44169 (la_x32_gnu_pltenter): New function prototype.
44170 (la_x32_gnu_pltexit): Likewise.
44171
7998fa78
AS
441722012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44173
dcb33988
AS
44174 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44175 exponent.
44176
233fc563
AS
44177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44178
7998fa78
AS
44179 * configure.in (libc_cv_cc_nofma): Check for option to disable
44180 generation of FMA instructions.
44181 * configure: Regenerate.
44182 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44183 * sysdeps/ieee754/dbl-64/Makefile: New file.
44184 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44185 Remove brandred-fma4.
44186 (CFLAGS-brandred-fma4.c): Remove.
44187 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44188 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44189 define.
44190 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44191 define.
44192
8e95c99a
L
441932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44194
44195 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44196 LLONG_MAX != LONG_MAX.
44197 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44198 (_fitoa_word): Likewise.
44199 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44200 LLONG_MAX != LONG_MAX.
44201 * stdio-common/_itowa.h: Include <_itoa.h>.
44202 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44203 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44204 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44205 only if not defined.
44206 (_ITOA_WORD_TYPE): Likewise.
44207 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44208 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44209
6f4db457
DM
442102012-03-21 David S. Miller <davem@davemloft.net>
44211
44212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44213
7785fe5a
L
442142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44215
44216 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44217 of x86_64 when setting libc_cv_slibdir, libdir and
44218 libc_cv_localedir.
44219 * sysdeps/unix/sysv/linux/configure: Regenerated.
44220
4535cd55
JM
442212012-03-21 Joseph Myers <joseph@codesourcery.com>
44222
44223 * manual/lang.texi (Old Varargs): Remove section.
44224 (How Variadic): Update menu.
44225 (va_start): Do not mention varargs.h.
44226
17228132
TS
442272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44228 Joseph Myers <joseph@codesourcery.com>
44229
44230 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44231 link test.
44232 * configure: Regenerated.
44233
8149f976
TS
442342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44235
05f3d1f6
UD
44236 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44237 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44238 conformtest.pl
8149f976 44239
1a4ac776
JM
442402012-03-21 Joseph Myers <joseph@codesourcery.com>
44241
be22ce65
JM
44242 * NOTES: Remove.
44243 * Makefile (files-for-dist): Remove NOTES.
44244 (NOTES): Remove rule.
44245 * README: Don't refer to NOTES.
44246 * manual/creature.texi: Don't include macros.texi.
44247 * manual/intro.texi (creature.texi): Remove comment referring to
44248 NOTES.
44249
40b601fb
JM
44250 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44251 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44252 * configure: Regenerated.
44253 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44254 LIBC_TRY_CC_OPTION.
44255 (libc_cv_as_i686): Likewise.
44256 (libc_cv_cc_avx): Likewise.
44257 (libc_cv_cc_sse2avx): Likewise.
44258 (libc_cv_cc_fma4): Likewise.
44259 (libc_cv_cc_novzeroupper): Likewise.
44260 * sysdeps/i386/configure: Regenerated.
44261
1a4ac776
JM
44262 [BZ #13883]
44263 * sysdeps/i386/fpu/s_cexp.S: Remove.
44264 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44265 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44266 * math/libm-test.inc (cexp_test): Add more tests.
44267 * sysdeps/i386/fpu/libm-test-ulps: Update.
44268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44269
a458e7fe
AM
442702012-03-21 Allan McRae <allan@archlinux.org>
44271
44272 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44273
0cb7efc5
JM
442742012-03-21 Joseph Myers <joseph@codesourcery.com>
44275
44276 [BZ #13871]
44277 * math/w_exp2.c: Do not include <float.h>.
44278 (o_threshold, u_threshold): Remove.
44279 (__exp2): Calculate result before checking finiteness and calling
44280 __kernel_standard.
44281 * math/w_exp2f.c: Likewise.
44282 * math/w_exp2l.c: Likewise.
44283 * math/libm-test.inc (exp2_test): Require overflow exception for
44284 1e6 input.
2460d3aa
JM
44285
44286 [BZ #3866]
44287 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44288 range of signed 64-bit integers before using fistpll. Remove
44289 checks for whether integers fit in mantissa bits.
44290 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44291 the range of signed 32-bit integers before using fistpl. Remove
44292 checks for whether integers fit in mantissa bits.
44293 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44294 (__ieee754_powl): Test for y outside the range of signed 64-bit
44295 integers before using fistpll. Reduce 64-bit values to 63-bit
44296 ones as needed.
44297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44298 divide-by-zero is raised for zero to large negative powers.
44299 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44300 (__ieee754_powl): Test for y outside the range of signed 64-bit
44301 integers before using fistpll. Reduce 64-bit values to 63-bit
44302 ones as needed.
44303 * math/libm-test.inc (pow_test): Add more tests.
44304
eb96ffb0
L
443052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44306
44307 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44308 <stdio-common/_itoa.h>.
44309 * debug/segfault.c: Likewise.
44310 * elf/dl-cache.c: Likewise.
44311 * elf/dl-minimal.c: Likewise.
44312 * elf/dl-misc.c: Likewise.
44313 * elf/dl-sysdep.c: Likewise.
44314 * elf/dl-version.c: Likewise.
44315 * elf/rtld.c: Likewise.
44316 * hurd/hurdsock.c: Likewise.
44317 * hurd/lookup-retry.c: Likewise.
44318 * malloc/malloc.c: Likewise.
44319 * malloc/mtrace.c: Likewise.
44320 * nscd/nscd_getgr_r.c: Likewise.
44321 * nscd/nscd_getpw_r.c: Likewise.
44322 * nscd/nscd_getserv_r.c: Likewise.
44323 * posix/getopt_init.c: Likewise.
44324 * posix/wordexp.c: Likewise.
44325 * stdio-common/_itoa.c: Likewise.
44326 * stdio-common/printf_fphex.c: Likewise.
44327 * stdio-common/vfprintf.c: Likewise.
44328 * string/_strerror.c: Likewise.
44329 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44330 * sysdeps/i386/i686/hp-timing.h: Likewise.
44331 * sysdeps/mach/_strerror.c: Likewise.
44332 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44333 * sysdeps/mach/hurd/sethostid.c: Likewise.
44334 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44335 * sysdeps/mach/xpg-strerror.c: Likewise.
44336 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44337 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44338 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44339 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44340 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44341 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44342 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44343 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44344 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44345 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44346 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44347 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44348 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44349 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44350 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44351 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44352 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44353 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44354 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44355 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44356 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44357
44358 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44359
44360 * stdio-common/_itoa.h: Moved to ...
44361 * sysdeps/generic/_itoa.h: Here.
44362
44363 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44364
44365 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44366 instead of "_itoa.h" and "_itowa.h".
44367 * stdio-common/vfprintf.: Likewise.
44368
d1af992d
L
443692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44370
44371 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44372 <bits/wordsize.h>.
44373 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44374 (__signbit): Likwise.
44375 (llrintf): Likwise.
44376 (llrint): Likwise.
44377
114883e0
L
443782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44379
44380 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44381 __WORDSIZE != 64.
44382
c135cc1b
JM
443832012-03-20 Joseph Myers <joseph@codesourcery.com>
44384
44385 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44386 OVERFLOW_EXCEPTION_OK.
44387 * math/libm-test.inc ("Philosophy"): Update comment about
44388 exception testing.
44389 (OVERFLOW_EXCEPTION): Define.
44390 (OVERFLOW_EXCEPTION_OK): Likewise.
44391 (INVALID_EXCEPTION_OK): Renumber.
44392 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44393 (IGNORE_ZERO_INF_SIGN): Likewise.
44394 (test_exceptions): Handle FE_OVERFLOW.
44395 (exp10_test): Expect overflow exceptions.
44396 (exp2_test): Likewise.
44397 (expm1_test): Likewise.
44398 (nextafter_test): Likewise.
44399 (pow_test): Likewise.
44400 (scalbn_test): Likewise.
44401 (scalbln_test): Likewise.
44402
95443d88
L
444032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44404
44405 * sysdeps/x86_64/bits/atomic.h
44406 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44407 64bit integer.
44408 (atomic_exchange_acq): Likewise.
44409 (__arch_exchange_and_add_body): Likewise.
44410 (__arch_add_body): Likewise.
44411 (atomic_add_negative): Likewise.
44412 (atomic_add_zero): Likewise.
44413
490df6c4
L
444142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44415
c2722551 44416 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
44417 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44418
5e52b189
L
444192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44420
44421 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44422 Check __x86_64__ instead of __WORDSIZE.
44423
a9879d4c
L
444242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44425
44426 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44427
5df98260
DM
444282012-03-19 David S. Miller <davem@davemloft.net>
44429
e1497744
DM
44430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44431
5df98260
DM
44432 * sysdeps/sparc/fpu/fenv_private.h: New file.
44433 * sysdeps/sparc/fpu/math_private.h: Use it.
44434 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44435 Remove.
57f41c40 44436 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
44437 (libc_feholdexcept_setroundl): Remove.
44438 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44439 Remove.
44440 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44441 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44442
b4c35121
L
444432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44444
44445 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44446 int64_t instead of long int.
44447 (INSERT_WORDS64): Likwise.
44448
56965fd7
L
444492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44450
44451 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44452 _Unwind_GetCFA return to _Unwind_Ptr first.
44453
83d1aec8
JM
444542012-03-19 Joseph Myers <joseph@codesourcery.com>
44455
1897ad44
JM
44456 [BZ #13629]
44457 * math/s_clog.c: Include <float.h>.
44458 (__clog): Scale large or subnormal inputs.
44459 * math/s_clogf.c: Likewise.
44460 * math/s_clogl.c: Likewise.
44461 * math/s_clog10.c: Include <float.h>.
44462 (M_LOG10_2): Define.
44463 (__clog10): Scale large or subnormal inputs.
44464 * math/s_clog10f.c: Likewise.
44465 * math/s_clog10l.c: Likewise.
44466 * math/libm-test.inc (clog_test): Add more tests.
44467 (clog10_test): Likewise.
44468 * sysdeps/i386/fpu/libm-test-ulps: Update.
44469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44470
7726d6a9
JM
44471 [BZ #11451]
44472 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44473 x and y.
44474 * math/libm-test.inc (atan2_test): Add another test.
44475
83d1aec8
JM
44476 * Makerules (common-objdir-compile): Remove.
44477 * sysdeps/unix/Makefile (config-generated): Do not add
44478 $(unix-generated) to variable.
44479 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44480 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44481 Remove rule.
44482 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44483 Likewise.
44484 [generic bits/local_lim.h] (before-compile): Do not append to
44485 variable.
44486 [generic bits/local_lim.h] (common-generated): Likewise.
44487 [generic sys/param.h] (before-compile): Do not append to variable.
44488 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44489 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44490 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44491 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44492 include.
44493 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44494 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44495 [generic sys/param.h] ($(addprefix
44496 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44497 [generic sys/param.h] (common-generated): Do not append to
44498 variable.
44499 [generic sys/param.h] (sysdep_headers): Likewise.
44500 [generic bits/errno.h] (before-compile): Do not append to
44501 variable.
44502 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44503 rule.
44504 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44505 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44506 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44507 [generic bits/errno.h] (common-generated): Do not append to
44508 variable.
44509 [generic bits/ioctls.h] (before-compile): Do not append to
44510 variable.
44511 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44512 rule.
44513 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44514 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44515 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44516 rule.
44517 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44518 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44519 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44520 [generic bits/ioctls.h] (common-generated): Do not append to
44521 variable.
44522 [generic sys/syscall.h] (syscall.h): Remove variable.
44523 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44524 rule.
44525 [generic sys/syscall.h] (before-compile): Do not append to
44526 variable.
44527 [generic sys/syscall.h] (common-generated): Likewise.
44528 * sysdeps/unix/errnos-tmpl.c: Remove file.
44529 * sysdeps/unix/errnos.awk: Likewise.
44530 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44531 * sysdeps/unix/ioctls.awk: Likewise.
44532 * sysdeps/unix/mk-local_lim.c: Likewise.
44533 * sysdeps/unix/snarf-ioctls: Likewise.
44534
4851a949
RH
445352012-03-19 Richard Henderson <rth@twiddle.net>
44536
bd37f2ee
RH
44537 * sysdeps/i386/fpu/fenv_private.h: New file.
44538 * sysdeps/i386/fpu/math_private.h: Use it.
44539 (math_opt_barrier, math_force_eval): Remove.
44540 (libc_feholdexcept_setround_53bit): Remove.
44541 (libc_feupdateenv_53bit): Remove.
44542 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44543 (math_opt_barrier, math_force_eval): Remove.
44544 (libc_feholdexcept): Remove.
44545 (libc_feholdexcept_setround): Remove.
44546 (libc_fetestexcept, libc_fesetenv): Remove.
44547 (libc_feupdateenv_test): Remove.
44548 (libc_feupdateenv, libc_feholdsetround): Remove.
44549 (libc_feresetround): Remove.
44550
d0adc922
RH
44551 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44552 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44553
0fe0f1f8
RH
44554 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44555 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44556 (libc_feupdateenv_testl): New.
44557 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44558 (libc_feupdateenv_testf): New.
44559 (libc_feupdateenv): Use libc_feupdateenv_test.
44560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44561 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44562
eb92c487
RH
44563 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44564 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44565 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44566 (libc_feresetround_noex): New.
44567 (libc_feresetround_noexf): New.
44568 (libc_feresetround_noexl): New.
44569 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44570 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44571 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44572 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44573 SET_RESTORE_ROUND.
44574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44575 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44576 (__cos): Likewise.
44577 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44578 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44579 SET_RESTORE_ROUND_NOEX.
44580 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44581 SET_RESTORE_ROUND_NOEXF.
44582 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44583 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44584 (libc_feholdsetroundf): New.
44585 (libc_feresetround, libc_feresetroundf): New.
44586
7d2e8012
RH
44587 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44588 (libc_feholdexcept_setround_53bit): Convert from macro to function.
44589 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
44590
b4dabbb4
RH
44591 * sysdeps/generic/math_private.h: Include <fenv.h>.
44592 (default_libc_feholdexcept): New.
44593 (default_libc_feholdexcept_setround): New.
44594 (default_libc_fesetenv, default_libc_feupdateenv): New.
44595 (libc_feholdexcept): Only define if undefined.
44596 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44597 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44598 (libc_feholdexcept_setroundl): Likewise.
44599 (libc_feholdexcept_setround_53bit): Likewise.
44600 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44601 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44602 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44603 (libc_feupdateenv_53bit): Likewise.
44604 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44605 (libc_feholdexcept): Convert from macro to inline function.
44606 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44607 (libc_fesetenv, libc_feupdateenv): Likewise.
44608
4851a949
RH
44609 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44610 not previously defined.
44611 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44612 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44613 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44614 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44615 * sysdeps/ieee754/flt-32/math_private.h: New file.
44616 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44617 math_private.h below SET_FLOAT_WORD.
44618 (__isnan, __isinf_ns, __finite): Remove.
44619 (__isnanf, __isinf_nsf, __finitef): Remove.
44620
e79d442e
AS
446212012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44622
44623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44624
90b80344
DM
446252012-03-17 David S. Miller <davem@davemloft.net>
44626
44627 [BZ #6471]
44628 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44629 for 2.16.
44630
edc21804
DM
446312012-03-16 David S. Miller <davem@davemloft.net>
44632
77e927af
DM
44633 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44634 warnings.
44635
374976dd
DM
44636 [BZ #6471]
44637 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44638 properly.
44639 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44640 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44641 sysdep_routines when subdir is sysvipc.
44642 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44643 __getshmlba helper.
44644
edc21804
DM
44645 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44646
473c3ef3
L
446472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44648
44649 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44650 [__LP64__].
44651
eb0f39b6
L
446522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44653
44654 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44655 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44656 (__lround): Renamed to ...
44657 (__llround): This. Replace long int with long long int.
44658 Define lround functions as aliases of llround functions.
44659 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44660
6b6cd74b
L
446612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44662
44663 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44664 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44665 adresses to uintptr_t. Replace "long int" and "unsigned long
44666 int" with "greg_t" on va_arg.
44667
f1a77b01
L
446682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44669
44670 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44671 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44672
44673 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44674 Move e_machine check before EI_CLASS check. Handle x32
44675 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44676 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44677 SKIP_EM_IA_64 and include
44678 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44679
44680 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44681 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44682 (add_system_dir): New macro.
44683
44684 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44685 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44686
11b90b9f
JM
446872012-03-16 Joseph Myers <joseph@codesourcery.com>
44688
c36e1d23
JM
44689 [BZ #2551]
44690 [BZ #2552]
44691 [BZ #2553]
44692 [BZ #2554]
44693 [BZ #2562]
44694 [BZ #2563]
44695 [BZ #2565]
44696 [BZ #2566]
44697 [BZ #2576]
44698 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44699 (y0): Likewise.
44700 * math/w_j0f.c (j0f): Likewise.
44701 (y0f): Likewise.
44702 * math/w_j0l.c (__j0l): Likewise.
44703 (__y0l): Likewise.
44704 * math/w_j1.c (j1): Likewise.
44705 (y1): Likewise.
44706 * math/w_j1f.c (j1f): Likewise.
44707 (y1f): Likewise.
44708 * math/w_j1l.c (__j1l): Likewise.
44709 (__y1l): Likewise.
44710 * math/w_jn.c (jn): Likewise.
44711 (yn): Likewise.
44712 * math/w_jnf.c (jnf): Likewise.
44713 (ynf): Likewise.
44714 * math/w_jnl.c (__jnl): Likewise.
44715 (__ynl): Likewise.
44716 * math/libm-test.inc (j0_test): Add more tests.
44717 (j1_test): Likewise.
44718 (jn_test): Likewise. Add trailing semicolon to existing test.
44719 (y0_test): Likewise.
44720 (y1_test): Likewise.
44721 * sysdeps/i386/fpu/libm-test-ulps: Update.
44722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44723
11b90b9f
JM
44724 [BZ #13851]
44725 [BZ #13854]
44726 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44727 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44728 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44729 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44730 (__tanl): Set errno for infinite argument.
44731 * sysdeps/i386/fpu/mptan.c: Remove.
44732 * sysdeps/i386/fpu/s_tan.S: Likewise.
44733 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44734 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44735 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44736 * math/libm-test.inc (tan_test): Add more tests and enable more
44737 tests for double and long double.
44738 * sysdeps/i386/fpu/libm-test-ulps: Update.
44739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44740
6a1bd2a1
JK
447412012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44742
44743 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44744 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44745
10a803e0
RM
447462012-03-16 Roland McGrath <roland@hack.frob.com>
44747
44748 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44749 * configure.in: Use it for both main tree and add-ons.
44750 * configure: Regenerated.
44751
f196c7f7
L
447522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44753
44754 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44755
8848d99d
JM
447562012-03-16 Joseph Myers <joseph@codesourcery.com>
44757
96cbe7f4
JM
44758 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44759 in comment.
44760
8848d99d
JM
44761 [BZ #13851]
44762 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44763 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44764 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44765 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44766 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44767 infinite argument.
44768 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44769 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44770 != 0 for prec == 2.
44771 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44772 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44773 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44774 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44775 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44776 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44777 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44778 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44779 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44780 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44781 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44782 * math/libm-test.inc (cos_test): Add more tests and enable more
44783 tests for long double.
44784 (sin_test): Likewise.
44785 (sincos_test): Likewise.
44786 * sysdeps/i386/fpu/libm-test-ulps: Update.
44787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44788
dd7f4703
DM
447892012-03-16 David S. Miller <davem@davemloft.net>
44790
44791 * sysdeps/sparc/fpu/math_private.h: New file.
44792
006f1daa
DM
447932012-03-15 David S. Miller <davem@davemloft.net>
44794
c0c83bc8
DM
44795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44796 file.
e6a62e18 44797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
44798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44799 file.
e6a62e18
DM
44800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44806 sysdep routines.
44807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44808
88cb87d9
DM
44809 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44810 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44811
006f1daa 44812 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
44813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44814 sparc-ifunc.h
006f1daa 44815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
44816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44817 Likewise.
44818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44819 Likewise.
006f1daa
DM
44820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
44823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44824 Likewise.
006f1daa
DM
44825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
44829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44830 Likewise.
44831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44832 Likewise.
006f1daa
DM
44833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44851 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44853 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44854 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44857
11e0098e
AS
448582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44859
44860 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44861 scaling.
44862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44863
e85b09d0
AJ
448642012-03-15 Andreas Jaeger <aj@suse.de>
44865
44866 [BZ #13852]
44867 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44868 ieee754/flt-32 implementation for sin, cos and sincos.
44869 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44870 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44871 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44872 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44873 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44874 ieee754/flt-32 implementation for tan.
44875
44876 * math/libm-test.inc (cos_test): Enable some large input tests for
44877 float as well
44878 (sin_test): Likewise.
44879 (sincos_test): Likewise.
44880 (tan_test): Add tests for large input.
44881
44882 * sysdeps/i386/fpu/libm-test-ulps: Update.
44883
81c64153
AJ
448842012-03-15 Andreas Jaeger <aj@suse.de>
44885
44886 [BZ #13658]
44887 * math/libm-test.inc (cos_test): Add more test cases.
44888 (sin_test): Likewise.
44889 (sincos_test): Likewise.
44890
7bbfa5c6
AJ
448912012-03-15 Andreas Jaeger <aj@suse.de>
44892
44893 [BZ #13837]
44894 * math/libm-test.inc (cos_test): Add a test case for large input
44895 value.
44896 (sin_test): Likewise.
44897 (sincos_test): Likewise.
44898
57f41c40
AS
448992012-03-15 Andreas Jaeger <aj@suse.de>
44900 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
44901
44902 [BZ #13658]
0671f479 44903 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
44904 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44905 * sysdeps/i386/fpu/branred.c: Likewise.
44906 * sysdeps/i386/fpu/dosincos.c: Likewise.
44907 * sysdeps/i386/fpu/mpa.c: Likewise.
44908 * sysdeps/i386/fpu/s_cos.S: Likewise.
44909 * sysdeps/i386/fpu/s_sin.S: Likewise.
44910 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44911 * sysdeps/i386/fpu/sincos32.c: Likewise.
44912
44913 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44914 Define.
44915 (libc_feupdateenv_53bit): Define.
44916 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44917 Define.
44918 (libc_feupdateenv_53bit): Define.
44919
44920 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44921 53 bit (without extend i386 double precision).
44922
44923 * math/libm-test.inc (sincos_test): Add tests for large input.
44924 (sin): Likewise.
44925 (cos): Likewise.
44926
44927 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44928
9cad04ea
AS
449292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44930
44931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44932
f7062b9a
DM
449332012-03-15 David S. Miller <davem@davemloft.net>
44934
44935 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44936 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44937 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44938 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
44950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44951 file.
f7062b9a 44952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
44953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44954 file.
f7062b9a 44955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
44956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44957 file.
f7062b9a 44958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
44959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44960 file.
f7062b9a
DM
44961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44962 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44963 fmin/fmax sysdep routines.
44964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44965
7bd951ff
DM
449662012-03-14 David S. Miller <davem@davemloft.net>
44967
559398ab
DM
44968 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44969 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44972 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44973 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44974 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44988 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44989 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44992 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44996 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44997 routines.
44998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44999 file.
559398ab 45000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
45001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45002 file.
559398ab 45003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
45004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45005 file.
559398ab 45006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
45007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45008 file.
559398ab 45009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
45010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45011 file.
559398ab 45012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
45013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45014 file.
45015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45016 file.
45017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45018 file.
45019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45020 file.
45021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45022 New file.
45023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45024 file.
45025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45026 file.
559398ab 45027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
45028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45029 file.
559398ab 45030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45032 file.
559398ab 45033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
45034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45035 file.
559398ab 45036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
45037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45038 VIS3 routines.
559398ab
DM
45039
45040 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45041 New file.
45042
5a1c1e32
DM
45043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45044
eae47a36
DM
45045 * sysdeps/sparc/configure.in: New file.
45046 * sysdeps/sparc/configure: Generate.
45047 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45048 * configure: Regenerate.
45049 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45050 * config.make.in (have-as-vis3): New.
45051 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45052 available use -Av9d instead of -Av9a.
45053 * sysdeps/sparc/sparc64/Makefile: Likewise.
45054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
45055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45056 New file.
45057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45058 file.
45059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45060 New file.
45061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45062 file.
eae47a36
DM
45063 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45065 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45066 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45067 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45068
c0c83bc8
DM
45069 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45070 fzeros/fnegs to load 0x80000000 into a float register instead of
45071 using the stack.
7bd951ff
DM
45072 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45073
bd951ccb
JM
450742012-03-14 Joseph Myers <joseph@codesourcery.com>
45075
45076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45077 bits/syscall.h.
45078 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45079 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45080 ($(inst_includedir)/bits/syscall.h): Remove rule.
45081 ($(objpfx)bits/syscall.d): Include instead of
45082 $(objpfx)syscall-list.d.
45083 (generated): Change syscall-list.h and syscall-list.d to
45084 bits/syscall.h and bits/syscall.d.
45085
bb4e6db2
RM
450862012-03-14 Roland McGrath <roland@hack.frob.com>
45087
45088 [BZ #13846]
45089 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45090
aa4a2ae1
JM
450912012-03-14 Joseph Myers <joseph@codesourcery.com>
45092
e456826d
JM
45093 [BZ #13841]
45094 * math/s_csqrt.c: Include <float.h>.
45095 (__csqrt): Scale large or subnormal inputs.
45096 * math/s_csqrtf.c: Likewise.
45097 * math/s_csqrtl.c: Likewise.
45098 * math/libm-test.inc (csqrt_test): Add more tests.
45099 * sysdeps/i386/fpu/libm-test-ulps: Update.
45100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45101
aa4a2ae1
JM
45102 [BZ #13840]
45103 * math/libm-test.inc (hypot_test): Add more tests.
45104
7c10fd35
DM
451052012-03-13 David S. Miller <davem@davemloft.net>
45106
45107 [BZ #13840]
45108 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45109 double-precision for the calculation instead of scaling.
45110
f453b98b
JM
451112012-03-13 Joseph Myers <joseph@codesourcery.com>
45112
45113 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45114 manipulate bits before adding and subtracting TWO52[sx].
45115 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45116 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45117 Likewise.
45118 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45119
09a3453f
DM
451202012-03-13 David S. Miller <davem@davemloft.net>
45121
8e59da90
DM
45122 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45123 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45125 rtld-global-offsets.h
45126 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45127
2a8ab7f2
DM
45128 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45129 large parameters.
45130
10f62770
DM
45131 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45132
5f0bdb18
DM
45133 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45134 'err' in the ifdef scope in which it is actually used.
45135
09a3453f
DM
45136 * nss/nss_db/db-init.c: Include string.h
45137
b4b2eb5e
DM
451382012-03-12 David S. Miller <davem@davemloft.net>
45139
98bb2f1c
DM
45140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45141 masking out of the most significant byte of random value used.
45142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45143 Fix coding style in previous change.
45144
b4b2eb5e
DM
45145 * sysdeps/unix/sysv/linux/kernel-features.h
45146 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45147 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45148 expression.
45149 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45150 later.
45151
6e226b09
DM
451522012-03-11 David S. Miller <davem@davemloft.net>
45153
a1bcbd40
DM
45154 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45155 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45156 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45157 for 'resultvar' otherwise things get truncated on 64-bit.
45158
cb9d6174
DM
45159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45160 Fix masking out of the most significant byte of random value used.
45161
6e226b09
DM
45162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45163
058c132d
AS
451642012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45165
45166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45167
2d2cd515
DM
451682012-03-09 David S. Miller <davem@davemloft.net>
45169
45170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45171 variables with appropriate CPP guards.
57f41c40
AS
45172 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45173 from the frame pointer, not the stack pointer. Correct layout
45174 comments. Fix test on resulting framesize and the management of
45175 the outregs buffer for pltexit. Preserve floating point return
45176 values across _dl_call_pltexit call.
2d2cd515
DM
45177 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45178 framesize and the management of the outregs buffer for pltexit.
45179 Preserve floating point return values across _dl_call_pltexit
45180 call.
57f41c40
AS
45181 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45182 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45183 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
45184 (print_exit): Fix format string for return register value.
45185
9a07f9d0
JM
451862012-03-10 Joseph Myers <joseph@codesourcery.com>
45187
45188 * sunrpc/Makefile (others): Add rpcgen.
45189 ($(objpfx)rpcgen): Remove special build rule and dependency on
45190 libc.
45191 * sunrpc/rpcgen.c: New file.
45192
547b5e30
PE
451932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45194
c524201a
PE
45195 [BZ #13673]
45196 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45197 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45198 * sysdeps/i386/crti.S: Likewise.
45199 * sysdeps/i386/crtn.S: Likewise.
45200 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45201 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45202 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45203 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45204 * sysdeps/sh/crti.S: Likewise.
45205 * sysdeps/sh/crtn.S: Likewise.
45206 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45207
7b6235f2
PE
45208 [BZ #13673]
45209 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45210 with URL.
45211 * locale/programs/locfile-kw.gperf: Likewise.
45212 * locale/programs/charmap-kw.h: Regenerated.
45213 * locale/programs/locfile-kw.h: Likewise.
45214
547b5e30
PE
45215 [BZ #13673]
45216 * intl/plural.y: Replace FSF snail mail address with URL.
45217 * intl/plural.c: Regenerated.
45218
5f0a5dae
RH
452192012-03-09 Richard Henderson <rth@twiddle.net>
45220
45221 * include/math_private.h: Remove file.
45222 * math/math_private.h: Move file ...
45223 * sysdeps/generic/math_private.h: ... here.
45224
b8c03620
RH
45225 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45226 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45227 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45228
4e234f5d 45229 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
45230 and <math_private.h>.
45231 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45232 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45233 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45234 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45235 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45236 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45237 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45239 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45240 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45242 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45243 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45244 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45245 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45246 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45247 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45248 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45249 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45250 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45252 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45253 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45255 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45256 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45257 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45261 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45262 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45263 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45264 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45265 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45266 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45267 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45268 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45269 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45271 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45272 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45274 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45275 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45276 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45277 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45278 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45279 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45280 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45281 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45282 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45283 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45284 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45285 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45286 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45287 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45288 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45289 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45290 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45291 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45292 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45293 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45294 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45295 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45296 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45297 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45298 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45299 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45300 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45303 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45305 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45310 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45311 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45312 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45313 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45314 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45315 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45317 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45318 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45319 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45320 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45321 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45322 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45324 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45325 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45326 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45327 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45328 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45329 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45330 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45331 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45332 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45333 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45334 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45335 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45336 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45337 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45338 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45339 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45341 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45342 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45343 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45344 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45345 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45346 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45347 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45348 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45349 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45350 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45351 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45352 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45353 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45354 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45355 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45356 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45357 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45358 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45359 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45360 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45361 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45362 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45363 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45364 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45365 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45366 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45367 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45368 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45369 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45370 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45371 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45372 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45373 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45374 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45375 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45376 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45377 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45378 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45379 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45380 * sysdeps/ieee754/k_standard.c: Likewise.
45381 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45382 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45383 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45384 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45385 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45386 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45387 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45388 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45389 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45390 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45391 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45392 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45393 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45394 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45395 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45396 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45397 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45398 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45399 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45400 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45401 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45402 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45403 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45404 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45405 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45406 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45407 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45408 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45409 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45410 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45411 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45412 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45413 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45414 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45415 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45416 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45417 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45418 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45419 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45420 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45421 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45422 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45423 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45424 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45425 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45426 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45427 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45428 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45429 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45430 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45431 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45432 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45433 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45434 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45435 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45436 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45437 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45438 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45439 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45440 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45441 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45442 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45443 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45444 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45446 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45447 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45448 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45450 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45451 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45452 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45453 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45454 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45455 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45457 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45458 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45459 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45460 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45461 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45462 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45463 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45464 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45465 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45466 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45467 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45468 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45469 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45470 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45471 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45472 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45473 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45474 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45475 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45476 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45477 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45478 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45479 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45480 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45482 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45483 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45484 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45485 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45486 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45487 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45488 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45489 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45490 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45491 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45492 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45493 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45494 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45495 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45496 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45497 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45498 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45499 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45500 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45501 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45502 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45503 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45504 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45505 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45506 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45507 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45508 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45509 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45510 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45511 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45512 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45513 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45514 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45515 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45516 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45517 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45518 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45520 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45521 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45522 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45523 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45524 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45525 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45526 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45527 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45529 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45530 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45531 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45532 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45533 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45534 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45535 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45536 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45537 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45538 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45539 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45540 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45541 * sysdeps/ieee754/s_lib_version.c: Likewise.
45542 * sysdeps/ieee754/s_matherr.c: Likewise.
45543 * sysdeps/ieee754/s_signgam.c: Likewise.
45544 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45545 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45546 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45547 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45548 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45549 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45550 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45551 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45552 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45553 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45554 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45555 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45556 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45557 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45558 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45559 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45560 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45561 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45562 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 45565
1991fa03
JM
455662012-03-09 Joseph Myers <joseph@codesourcery.com>
45567
45568 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45569 * sunrpc/rpc_main.c: Likewise.
45570 * sunrpc/rpc_svcout.c: Likewise.
45571
60d6f5a6
DM
455722012-03-09 David S. Miller <davem@davemloft.net>
45573
45574 * include/math_private.h: New file.
45575
4962050e
JM
455762012-03-09 Joseph Myers <joseph@codesourcery.com>
45577
02a6f887
JM
45578 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45579 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45580 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45581 from <bits/socket_type.h>.
45582 (enum __socket_type): Don't define here.
45583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45585 bits/socket_type.h.
45586
c6e013c1
JM
45587 [BZ #13566]
45588 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45589 checking __USE_GNU.
45590
4962050e
JM
45591 * Makerules ($(inst_includedir)/%.h): New rule.
45592 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45593 (install-others): Remove variable setting.
45594 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45595
38842f45
RH
455962012-03-08 Richard Henderson <rth@twiddle.net>
45597
67bb6da6
RH
45598 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45599 from macro to inline function; merge with the
45600 !__LIBC_INTERNAL_MATH_INLINES version.
45601 (__ieee754_sqrtf): Likewise.
45602
15194b4b
RH
45603 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45604 to inline function.
45605 (__rintf, __floor, __floorf): Likewise.
45606
64e21ede
RH
45607 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45608 macro to inline function.
45609 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45610
38842f45
RH
45611 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45612 not <math/math_private.h>.
45613
c64bf5fe
DM
456142012-03-08 David S. Miller <davem@davemloft.net>
45615
45616 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45617 copyright year.
45618 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45619
82d86f28
TS
456202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45621
45622 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45623 normalization.
45624 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45625 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45626
aea5d727
UD
456272012-03-08 Ulrich Drepper <drepper@gmail.com>
45628
45629 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45630 be defined individually, they must be defined as a block. Define
45631 S for printing a string instead of hidint the different by using a
45632 macro for adding the 'l'.
45633 * stdio-common/tst-fphex-wide.c: Adjust.
45634
70bca0a3
MP
456352012-03-07 Marek Polacek <polacek@redhat.com>
45636
45637 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45638
65b81130
MP
456392012-03-08 Marek Polacek <polacek@redhat.com>
45640
45641 [BZ #13806]
45642 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45643 * stdio-common/tst-fphex.c: Define a few macros to make the
45644 test reusable. Use them.
45645 * stdio-common/tst-fphex-wide.c: New file.
45646
07037eeb
JM
456472012-03-08 Joseph Myers <joseph@codesourcery.com>
45648
a7a93d50
JM
45649 [BZ #6911]
45650 * manual/macros.texi (gnusystems): New macro.
45651 (nongnusystems): Likewise.
45652 (gnulinuxhurdsystems): Likewise.
45653 (gnuhurdsystems): Likewise..
45654 (gnulinuxsystems): Likewise.
45655 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45656 variants of the GNU system, not "GNU system".
45657 * manual/conf.texi: Likewise.
45658 * manual/errno.texi: Likewise. Update example of errno macro
45659 expansion.
45660 * manual/filesys.texi: Likewise.
45661 (getumask): Document as specific to GNU/Hurd.
45662 * manual/install.texi: Likewise. Reword some references to
45663 GNU/Linux.
45664 * manual/intro.texi: Likewise.
45665 * manual/io.texi: Likewise.
45666 (File Name Portability): Detail which constraints are inapplicable
45667 to all GNU systems and which are only inapplicable to GNU/Hurd.
45668 * manual/job.texi: Likewise.
45669 * manual/llio.texi: Likewise.
45670 (O_NOCTTY): Document as present on GNU/Linux.
45671 * manual/maint.texi: Likewise.
45672 * manual/memory.texi: Likewise.
45673 * manual/pattern.texi: Likewise.
45674 * manual/pipe.texi: Likewise.
45675 * manual/process.texi: Likewise.
45676 * manual/resource.texi: Likewise.
45677 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45678 child on GNU/Hurd.
45679 * manual/setjmp.texi: Likewise.
45680 * manual/signal.texi: Likewise.
45681 * manual/startup.texi: Likewise.
45682 * manual/stdio.texi: Likewise.
45683 * manual/terminal.texi: Likewise.
45684 (ONLCR): Document as POSIX.
45685 (OXTABS): Document availability on GNU/Linux as XTABS.
45686 (ONOEOT): Document availability separately from other bits.
45687 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45688 * manual/time.texi: Likewise.
45689 * manual/users.texi: Likewise.
45690 * INSTALL: Regenerated.
45691 * sysdeps/gnu/errlist.c: Regenerated.
45692
07037eeb
JM
45693 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45694 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45695 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45696 puts.
45697 * configure: Regenerated.
45698
d1d3431a
JM
456992012-03-07 Joseph Myers <joseph@codesourcery.com>
45700
af6a1e37
JM
45701 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45702 default includes instead of AC_HEADER_CHECK.
45703 * sysdeps/i386/configure: Regenerated.
45704
d1d3431a
JM
45705 [BZ #10716]
45706 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45707 * math/s_cacoshf.c (__cacoshf): Likewise.
45708 * math/s_cacoshl.c (__cacoshl): Likewise.
45709 * math/s_casinh.c (__casinh): Set signs of result from argument.
45710 * math/s_casinhf.c (__casinhf): Likewise.
45711 * math/s_casinhl.c (__casinhl): Likewise.
45712 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45713 (casinh_test): Add more tests.
45714 * sysdeps/i386/fpu/libm-test-ulps: Update.
45715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45716
482ff4da
UD
457172012-03-07 Ulrich Drepper <drepper@gmail.com>
45718
872fda05
UD
45719 * po/zh_TW.po: Update from translation team.
45720
a4300c7a
UD
45721 * login/Makefile (distribute): Remove variable.
45722 * catgets/Makefile: Likewise.
45723 * mach/Makefile: Likewise.
45724 * malloc/Makefile: Likewise.
45725 * misc/Makefile: Likewise.
45726 * iconv/Makefile: Likewise.
45727 * nscd/Makefile: Likewise.
45728 * hurd/Makefile: Likewise.
45729 * manual/Makefile: Likewise.
45730 * locale/Makefile: Likewise.
45731 * intl/Makefile: Likewise.
45732 * conform/Makefile: Likewise.
45733 * nss/Makefile: Likewise.
45734 * time/Makefile: Likewise.
45735 * soft-fp/Makefile: Likewise.
45736 * dirent/Makefile: Likewise.
45737 * gmon/Makefile: Likewise.
45738 * po/Makefile: Likewise.
45739 * rt/Makefile: Likewise.
45740 * socket/Makefile: Likewise.
45741 * math/Makefile: Likewise.
45742 * signal/Makefile: Likewise.
45743 * debug/Makefile: Likewise.
45744 * elf/Makefile: Likewise.
45745 * timezone/Makefile: Likewise.
45746 * stdlib/Makefile: Likewise.
45747 * iconvdata/Makefile: Likewise.
45748 * sunrpc/Makefile: Likewise.
45749 * io/Makefile: Likewise.
45750 * argp/Makefile: Likewise.
45751 * inet/Makefile: Likewise.
45752 * hesiod/Makefile: Likewise.
45753 * grp/Makefile: Likewise.
45754 * csu/Makefile: Likewise.
45755 * wctype/Makefile: Likewise.
45756 * crypt/Makefile: Likewise.
45757 * libio/Makefile: Likewise.
45758 * string/Makefile: Likewise.
45759 * nis/Makefile: Likewise.
45760 * resolv/Makefile: Likewise.
45761 * stdio-common/Makefile: Likewise.
45762 * wcsmbs/Makefile: Likewise.
45763 * dlfcn/Makefile: Likewise.
45764 * posix/Makefile: Likewise.
45765
3b7c4e74 45766 [BZ #6959]
482ff4da
UD
45767 * timezone/Makefile: Don't install timezone files, just the programs
45768 and scripts.
45769
f72ed77d
UD
457702012-03-06 Ulrich Drepper <drepper@gmail.com>
45771
a000466f
UD
45772 * nss/databases.def: Add missing gshadow entry.
45773
f72ed77d
UD
45774 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45775
a53b7a4e
MP
457762012-03-06 Marek Polacek <polacek@redhat.com>
45777
45778 [BZ #13726]
45779 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45780 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45781 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45782 * stdio-common/tst-long-dbl-fphex.c: New file.
45783
e9258400
DM
457842012-03-06 David S. Miller <davem@davemloft.net>
45785
45786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45787 (set_obp_int): New function.
45788 (get_obp_int): New function.
45789 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
45790 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45791 Avoid unused variable warnings on 'val' and use builtin_expect.
45792 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45793 __builtin_expect.
e9258400
DM
45794 (INLINE_CLONE_SYSCALL): Likewise.
45795
3bd2c723
DM
457962012-03-05 David S. Miller <davem@davemloft.net>
45797
45798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45799
bbb78d03
AS
458002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45801
884c5db4
AS
45802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45803
bbb78d03
AS
45804 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45805 only for |x| >= 40.
45806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45807
1c9f702a 458082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
45809
45810 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45811 Replace gettimeofday with __vdso_gettimeofday.
45812
7be16f82
RM
45813 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45814 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45815 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
45816
45817 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45818 time with __vdso_time.
45819
ed58a00f
JM
458202012-03-05 Joseph Myers <joseph@codesourcery.com>
45821
45822 * manual/lang.texi (size_t): Note types to which size_t may be
45823 equivalent with the GNU C Library, but do not describe when
45824 differences between them are significant.
45825
30ee4ced
AJ
458262012-03-05 Andreas Jaeger <aj@suse.de>
45827
45828 * sysdeps/i386/fpu/libm-test-ulps: Update.
45829
b7cd39e8
JM
458302012-03-05 Joseph Myers <joseph@codesourcery.com>
45831
45832 [BZ #3976]
45833 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45834 (__ieee754_pow): Save and restore rounding mode and use
45835 round-to-nearest for main computations.
45836 * math/libm-test.inc (pow_test_tonearest): New function.
45837 (pow_test_towardzero): Likewise.
45838 (pow_test_downward): Likewise.
45839 (pow_test_upward): Likewise.
45840 (main): Call the new functions.
45841 * sysdeps/i386/fpu/libm-test-ulps: Update.
45842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
45843
45844 [BZ #3976]
45845 * math/libm-test.inc (cosh_test_tonearest): New function.
45846 (cosh_test_towardzero): Likewise.
45847 (cosh_test_downward): Likewise.
45848 (cosh_test_upward): Likewise.
45849 (sinh_test_tonearest): Likewise.
45850 (sinh_test_towardzero): Likewise.
45851 (sinh_test_downward): Likewise.
45852 (sinh_test_upward): Likewise.
45853 (main): Call the new functions.
45854 * sysdeps/i386/fpu/libm-test-ulps: Update.
45855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45856
6c6a98c9
TV
458572012-03-05 Tom de Vries <tom@codesourcery.com>
45858
45859 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45860 default stack guard is set in last bytes.
45861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45862
21bb2d2e 458632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 45864
21bb2d2e 45865 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 45866
21bb2d2e
AJ
45867 [BZ #13656]
45868 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45869 possibly allocate from heap instead of stack.
45870 * stdio-common/bug-vfprintf-nargs.c: New file.
45871 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 45872
c6922934
AS
458732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45874
45875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45876
bc957d53
MP
458772012-03-03 Marek Polacek <polacek@redhat.com>
45878
45879 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45880 * math/math_private.h: Likewise.
45881 * stdlib/tst-strtod.c: Likewise.
45882 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45883 * sysdeps/x86_64/bits/atomic.h: Likewise.
45884
6358490d
DM
458852012-03-02 David S. Miller <davem@davemloft.net>
45886
45887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45891 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45892 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45893 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45894 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45895
01ae168d
RM
458962012-03-02 Roland McGrath <roland@hack.frob.com>
45897
d9a17c07
RM
45898 [BZ #13792]
45899 * manual/examples/README: New file, says the example source files
45900 can be used under GPL>=2.
45901 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45902 line containing just "*/".
45903 * manual/examples/add.c: Add copyright header (GPL>=2).
45904 * manual/examples/argp-ex1.c: Likewise.
45905 * manual/examples/argp-ex2.c: Likewise.
45906 * manual/examples/argp-ex3.c: Likewise.
45907 * manual/examples/argp-ex4.c: Likewise.
45908 * manual/examples/atexit.c: Likewise.
45909 * manual/examples/db.c: Likewise.
45910 * manual/examples/dir.c: Likewise.
45911 * manual/examples/dir2.c: Likewise.
45912 * manual/examples/execinfo.c: Likewise.
45913 * manual/examples/filecli.c: Likewise.
45914 * manual/examples/filesrv.c: Likewise.
45915 * manual/examples/fmtmsgexpl.c: Likewise.
45916 * manual/examples/genpass.c: Likewise.
45917 * manual/examples/inetcli.c: Likewise.
45918 * manual/examples/inetsrv.c: Likewise.
45919 * manual/examples/isockad.c: Likewise.
45920 * manual/examples/longopt.c: Likewise.
45921 * manual/examples/memopen.c: Likewise.
45922 * manual/examples/memstrm.c: Likewise.
45923 * manual/examples/mkfsock.c: Likewise.
45924 * manual/examples/mkisock.c: Likewise.
45925 * manual/examples/mygetpass.c: Likewise.
45926 * manual/examples/pipe.c: Likewise.
45927 * manual/examples/popen.c: Likewise.
45928 * manual/examples/rprintf.c: Likewise.
45929 * manual/examples/search.c: Likewise.
45930 * manual/examples/select.c: Likewise.
45931 * manual/examples/setjmp.c: Likewise.
45932 * manual/examples/sigh1.c: Likewise.
45933 * manual/examples/sigusr.c: Likewise.
45934 * manual/examples/stpcpy.c: Likewise.
45935 * manual/examples/strdupa.c: Likewise.
45936 * manual/examples/strftim.c: Likewise.
45937 * manual/examples/strncat.c: Likewise.
45938 * manual/examples/subopt.c: Likewise.
45939 * manual/examples/swapcontext.c: Likewise.
45940 * manual/examples/termios.c: Likewise.
45941 * manual/examples/testopt.c: Likewise.
45942 * manual/examples/testpass.c: Likewise.
45943 * manual/examples/timeval_subtract.c: Likewise.
45944
01ae168d
RM
45945 [BZ #13792]
45946 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45947 function to ...
45948 * manual/timeval_subtract.c.texi: ... here, new file.
45949
49efa33d
DM
459502012-03-02 David S. Miller <davem@davemloft.net>
45951
45952 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45953
28afd92d
JM
459542012-03-02 Joseph Myers <joseph@codesourcery.com>
45955
804360ed
JM
45956 [BZ #3976]
45957 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45958 (__sin): Save and restore rounding mode and use round-to-nearest
45959 for all computations.
45960 (__cos): Save and restore rounding mode and use round-to-nearest
45961 for all computations.
45962 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45963 <fenv.h>.
45964 (tan): Save and restore rounding mode and use round-to-nearest for
45965 all computations.
45966 * math/libm-test.inc (cos_test_tonearest): New function.
45967 (cos_test_towardzero): Likewise.
45968 (cos_test_downward): Likewise.
45969 (cos_test_upward): Likewise.
45970 (sin_test_tonearest): Likewise.
45971 (sin_test_towardzero): Likewise.
45972 (sin_test_downward): Likewise.
45973 (sin_test_upward): Likewise.
45974 (tan_test_tonearest): Likewise.
45975 (tan_test_towardzero): Likewise.
45976 (tan_test_downward): Likewise.
45977 (tan_test_upward): Likewise.
45978 (main): Call the new functions.
45979 * sysdeps/i386/fpu/libm-test-ulps: Update.
45980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45981
a6d06d7b
JM
45982 [BZ #10135]
45983 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45984 small n, then large n, before computing and testing k+n.
45985 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45986 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45987 Likewise.
45988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45989 Likewise.
45990 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45991 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45992 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45993 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45994 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45995 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45996 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45997 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45998 * math/libm-test.inc (scalbn_test): Add more tests.
45999 (scalbln_test): Likewise.
46000
07e12bb3
JM
46001 * manual/filesys.texi (mode_t): Describe constraints on size and
46002 signedness, not exact equivalence to a particular type.
46003 (ino_t): Likewise.
46004 (ino64_t): Likewise.
46005 (dev_t): Likewise.
46006 (nlink_t): Likewise.
46007 (blkcnt_t): Likewise.
46008 (blkcnt64_t): Likewise.
46009 * manual/llio.texi (off_t): Likewise.
46010
28afd92d
JM
46011 [BZ #3976]
46012 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46013 (__ieee754_exp): Save and restore rounding mode and use
46014 round-to-nearest for all computations.
46015 * math/libm-test.inc (exp_test_tonearest): New function.
46016 (exp_test_towardzero): Likewise.
46017 (exp_test_downward): Likewise.
46018 (exp_test_upward): Likewise.
46019 (main): Call the new functions.
46020 * sysdeps/i386/fpu/libm-test-ulps: Update.
46021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46022
b1eeb65d
CD
460232012-03-01 Chris Demetriou <cgd@google.com>
46024
46025 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46026 have predictable order.
46027
53362a4b
DM
460282012-03-01 David S. Miller <davem@davemloft.net>
46029
3c969083
DM
46030 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46031
759707de
DM
46032 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46033 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46034 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46035 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46036
dfdb8ff2
DM
46037 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46038 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46039 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46041 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46042 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46043 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46044 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46045 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46046
ead89f96
DM
46047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46048
7f66bd07
DM
46049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46050 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46051 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46052
53362a4b
DM
46053 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46054 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46055 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46056 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46057 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46059 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46060 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46061 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46062 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46063 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46066 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46067 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46069 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46070 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46071 * sysdeps/sparc/elf/configure: Regenerated.
46072
7b1902cb
JM
460732012-03-01 Joseph Myers <joseph@codesourcery.com>
46074
bec039bc
JM
46075 * configure.in (AS, LD): Require binutils 2.20 or later.
46076 * configure: Regenerated.
46077 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46078 as required minimum version.
46079 * INSTALL: Regenerated.
46080
7b1902cb
JM
46081 [BZ #2541]
46082 [BZ #4108]
46083 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46084 before squaring exponent.
46085 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46086 bottom long double and 27 bits of top long double before squaring
46087 exponent.
46088 * math/libm-test.inc (erfc_test): Add more tests.
46089 * sysdeps/i386/fpu/libm-test-ulps: Update.
46090 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46092
f775c276
KT
460932012-03-01 Kai Tietz <ktietz@redhat.com>
46094
46095 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46096 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46097 containing bit-fields.
46098 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46099 * soft-fp/single.h (_FP_UNION_S): Likewise.
46100 * soft-fp/double.h (_FP_UNION_D): Likewise.
46101
5b8a4d4a
JM
461022012-02-29 Joseph Myers <joseph@codesourcery.com>
46103
0bab47b6
JM
46104 [BZ #13786]
46105 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46106 not include ../strcmp.S.
46107 [USE_AS_STRNCASECMP_L]: Likewise.
46108 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46109 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46110 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46111 (__strncasecmp_l_ia32): Define as alias to
46112 __strncasecmp_l_nonascii.
46113
0fcad3e2
JM
46114 [BZ #5794]
46115 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46116 * sysdeps/i386/fpu/libm-test-ulps: Update.
46117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46118
5b8a4d4a
JM
46119 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46121
8fdceb2e
JL
461222012-02-29 Jeff Law <law@redhat.com>
46123
46124 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46125 out of bounds read.
46126
1f393a11
MP
461272012-02-29 Marek Polacek <polacek@redhat.com>
46128
46129 [BZ #13706]
46130 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46131 * elf/Makefile: Add rules to run tst-unused-dep.out.
46132
8847f037
DM
461332012-02-28 David S. Miller <davem@davemloft.net>
46134
46135 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46136 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46137 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46138 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46139 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46140 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46141
169d7f11
JM
461422012-02-29 Joseph Myers <joseph@codesourcery.com>
46143
46144 * math/libm-test.inc (llround_test): Move one test from
46145 lround_test. Use TEST_f_L in moved test.
46146 (lround_test): Move misplaced test to llround_test. Add testcase
46147 from bug 2561.
46148
39adf059
UD
461492012-02-28 Ulrich Drepper <drepper@gmail.com>
46150
46151 * sysdeps/x86_64/fpu/e_expf.S: New file.
46152 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46153
71b5d1c5
SB
461542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46155
46156 [BZ #13637]
46157 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46158 of remain_len that may cause incomplete multi-byte character and
46159 false match.
46160 * posix/bug-regex33.c: New file.
46161 * posix/Makefile (tests): Add bug-regex33.
46162
1f77f049
JM
461632012-02-28 Joseph Myers <joseph@codesourcery.com>
46164
46165 * manual/macros.texi: New file.
46166 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46167 * manual/libc.texinfo: Include macros.texi.
46168 * manual/creatute.texi: Likewise.
46169 * manual/install.texi: Likewise.
46170 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46171 @glibcadj{} in references to the GNU C Library.
46172 * manual/charset.texi: Likewise.
46173 * manual/conf.texi: Likewise.
46174 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46175 when not using those macros.
46176 * manual/creature.texi: Likewise.
46177 * manual/crypt.texi: Likewise.
46178 * manual/errno.texi: Likewise.
46179 * manual/filesys.texi: Likewise.
46180 * manual/header.texi: Likewise.
46181 * manual/install.texi: Likewise.
46182 * manual/intro.texi: Likewise.
46183 * manual/io.texi: Likewise.
46184 * manual/job.texi: Likewise.
46185 * manual/lang.texi: Likewise.
46186 * manual/libc.texiinfo: Likewise.
46187 * manual/llio.texi: Likewise.
46188 * manual/locale.texi: Likewise.
46189 * manual/maint.texi: Likewise.
46190 * manual/math.texi: Likewise.
46191 * manual/memory.texi: Likewise.
46192 * manual/message.texi: Likewise.
46193 * manual/nss.texi: Likewise.
46194 * manual/pattern.texi: Likewise.
46195 * manual/process.texi: Likewise.
46196 * manual/resource.texi: Likewise.
46197 * manual/search.texi: Likewise.
46198 * manual/setjmp.texi: Likewise.
46199 * manual/signal.texi: Likewise.
46200 * manual/socket.texi: Likewise.
46201 * manual/startup.texi: Likewise.
46202 * manual/stdio.texi: Likewise.
46203 * manual/string.texi: Likewise.
46204 * manual/sysinfo.texi: Likewise.
46205 * manual/syslog.texi: Likewise.
46206 * manual/terminal.texi: Likewise.
46207 * manual/time.texi: Likewise.
46208 * manual/users.texi: Likewise.
46209 * INSTALL: Regenerated.
46210 * NOTES: Regenerated.
d40c5d54 46211 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 46212
450bf206
AS
462132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46214
46215 * include/dirent.h: Include <dirstream.h> before
46216 <dirent/dirent.h>.
46217
741a235b
DM
462182012-02-28 David S. Miller <davem@davemloft.net>
46219
46220 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46221 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46222 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46223 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46224
d6b5aa58
DM
462252012-02-27 David S. Miller <davem@davemloft.net>
46226
1aff59a3
DM
46227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46229 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46230 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46231
d6b5aa58
DM
46232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46233 frame pointer instead of stack pointer relative arg slot.
46234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46235 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46236 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46237
433f48bf
CD
462382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46239
46240 [BZ #3992]
46241 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46242
d674b76d
DM
462432012-02-27 David S. Miller <davem@davemloft.net>
46244
46245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46249 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46250 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46251 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46252 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46253
0e7727f7
JM
462542012-02-27 Joseph Myers <joseph@codesourcery.com>
46255
46256 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46257 later. Allow versions 5-9.
43be4ca2 46258 * configure: Regenerated.
0e7727f7
JM
46259 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46260 required minimum version and 4.6 as recommended version. Do not
46261 mention bugs in GCC 2.7 and 2.8.
43be4ca2 46262 * INSTALL: Regenerated.
0e7727f7 46263
a78bc654
DM
462642012-02-27 David S. Miller <davem@davemloft.net>
46265
428d5830
DM
46266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46270 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46271 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46272 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46273 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46274
a78bc654
DM
46275 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46276 manipulate bits before adding and subtracting TWO112[sx].
46277 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46278
4579f81c
RM
462792012-02-27 Roland McGrath <roland@hack.frob.com>
46280
36c8acb4
RM
46281 [BZ #13775]
46282 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46283 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46284 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46285 being in POSIX, because they are in 1003.1-2008.
46286
84ad622b
RM
46287 * rt/tst-aio.c: Include <fcntl.h>.
46288 * rt/tst-aio7.c: Likewise.
46289 * rt/tst-aio64.c: Likewise.
46290
4579f81c
RM
46291 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46292
abd923db
JM
462932012-02-27 Joseph Myers <joseph@codesourcery.com>
46294
46295 * manual/install.texi (--with-headers): Describe headers as
46296 interface headers, not private headers.
46297 (Specific advice for GNU/Linux systems): Describe use of headers
46298 from "make headers_install", not private headers from older
46299 kernels.
43be4ca2 46300 * INSTALL: Regenerated.
abd923db
JM
46301 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46302 Change to 2.6.19.
46303 * sysdeps/unix/sysv/linux/configure: Regenerated.
46304
6664049b
JM
46305 * manual/llio.texi (fclean): Remove documentation.
46306
bb8b6697
JM
46307 * manual/Makefile (libc-texi-generated): New variable. Include
46308 version.texi.
46309 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46310 $(libc-texi-generated), not duplicated list of files.
46311 (version.texi, stamp-version): New rules.
46312 (realclean): Remove $(libc-texi-generated), not individual files
46313 from that list. Do not remove dir-add.texinfo.
46314 * manual/libc.texinfo: Comment out uses of edition numbers and
46315 references to printed manual. Remove last-updated dates.
46316 (EDITION): Comment out.
46317 (ISBN): Likewise.
46318 (VERSION, UPDATED): Remove.
46319 (version.texi): Include.
46320
12e5c3b9
AS
463212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46322
46323 * sysdeps/posix/spawni.c: Include <signal.h>.
46324 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46325 * sysdeps/pthread/aio_fsync.c: Likewise.
46326
4efeffc1 463272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 46328
ba63ba08
UD
46329 * conform/Makefile (tests): Run only when not cross-compiling and
46330 when fast-check is not defined.
46331
d94a4670
UD
46332 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46333 * conform/data/limits.h-data: Fixes for POSIX2008.
46334 * conform/run-conformtest.sh: Run all tests.
46335 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46336 headers.
46337 * include/bits/dlfcn.h: Likewise.
46338 * include/langinfo.h: Likewise.
46339 * include/monetary.h: Likewise.
46340 * include/sys/poll.h: Likewise.
46341
46342 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46343 for __USE_GNU.
46344 * posix/spawn.h: Define __need_sigset_t.
46345 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46346 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46347 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46348 to get sigevent_t only.
46349 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46350 only for __USE_GNU.
46351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46352 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46353 process_vm_writev only for __USE_GNU.
46354 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
46355
46356 * conform/Makefile: For now ignore errors from run-conformtest.
46357 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46358 POSIX to avoid namespace pollution. Don't prepend headers.
46359 * conform/data/aio.h-data: Fixes for POSIX testing.
46360 * conform/data/fcntl.h-data: Likewise.
46361 * conform/data/glob.h-data: Likewise.
46362 * conform/data/grp.h-data: Likewise.
46363 * conform/data/pthread.h-data: Likewise.
46364 * conform/data/pwd.h-data: Likewise.
46365 * conform/data/signal.h-data: Likewise.
46366 * conform/data/spawn.h-data: Likewise.
46367 * conform/data/stdio.h-data: Likewise.
46368 * conform/data/stdlib.h-data: Likewise.
46369 * conform/data/stropts.h-data: Likewise.
46370 * conform/data/sys/mman.h-data: Likewise.
46371 * conform/data/sys/stat.h-data: Likewise.
46372 * conform/data/sys/types.h-data: Likewise.
46373 * conform/data/sys/wait.h-data: Likewise.
46374 * conform/data/time.h-data: Likewise.
46375 * conform/data/unistd.h-data: Likewise.
46376 * conform/data/utime.h-data: Likewise.
46377
46378 * io/sys/stat.h: fchmod was always in POSIX.
46379 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46380 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46381 * rt/aio.h: Define __need_timespec before including <time.h>.
46382 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46383 struct. Add forward declaration of pthread_attr_t and use it in
46384 sigevent.
46385 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46386 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46387 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46388 always remove CLK_TCK definition.
46389
c20105c3
AS
463902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46391
46392 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46393
7a270350
UD
463942012-02-25 Ulrich Drepper <drepper@gmail.com>
46395
31341567
UD
46396 * conform/run-conformtest.sh: New file.
46397 * conform/Makefile: Run run-conformtest for tests.
46398 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46399 support.
46400
46401 * conform/data/uchar.h-data: New file.
46402 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46403 * conform/data/arpa/inet.h-data: Likewise.
46404 * conform/data/assert.h-data: Likewise.
46405 * conform/data/complex.h-data: Likewise.
46406 * conform/data/cpio.h-data: Likewise.
46407 * conform/data/ctype.h-data: Likewise.
46408 * conform/data/dirent.h-data: Likewise.
46409 * conform/data/dlfcn.h-data: Likewise.
46410 * conform/data/errno.h-data: Likewise.
46411 * conform/data/fcntl.h-data: Likewise.
46412 * conform/data/float.h-data: Likewise.
46413 * conform/data/fmtmsg.h-data: Likewise.
46414 * conform/data/fnmatch.h-data: Likewise.
46415 * conform/data/ftw.h-data: Likewise.
46416 * conform/data/glob.h-data: Likewise.
46417 * conform/data/grp.h-data: Likewise.
46418 * conform/data/iconv.h-data: Likewise.
46419 * conform/data/inttypes.h-data: Likewise.
46420 * conform/data/langinfo.h-data: Likewise.
46421 * conform/data/libgen.h-data: Likewise.
46422 * conform/data/limits.h-data: Likewise.
46423 * conform/data/locale.h-data: Likewise.
46424 * conform/data/math.h-data: Likewise.
46425 * conform/data/monetary.h-data: Likewise.
46426 * conform/data/mqueue.h-data: Likewise.
46427 * conform/data/ndbm.h-data: Likewise.
46428 * conform/data/net/if.h-data: Likewise.
46429 * conform/data/netdb.h-data: Likewise.
46430 * conform/data/netinet/in.h-data: Likewise.
46431 * conform/data/nl_types.h-data: Likewise.
46432 * conform/data/poll.h-data: Likewise.
46433 * conform/data/pthread.h-data: Likewise.
46434 * conform/data/pwd.h-data: Likewise.
46435 * conform/data/regex.h-data: Likewise.
46436 * conform/data/sched.h-data: Likewise.
46437 * conform/data/search.h-data: Likewise.
46438 * conform/data/semaphore.h-data: Likewise.
46439 * conform/data/setjmp.h-data: Likewise.
46440 * conform/data/signal.h-data: Likewise.
46441 * conform/data/spawn.h-data: Likewise.
46442 * conform/data/stdarg.h-data: Likewise.
46443 * conform/data/stdio.h-data: Likewise.
46444 * conform/data/stdlib.h-data: Likewise.
46445 * conform/data/string.h-data: Likewise.
46446 * conform/data/strings.h-data: Likewise.
46447 * conform/data/stropts.h-data: Likewise.
46448 * conform/data/sys/ipc.h-data: Likewise.
46449 * conform/data/sys/mman.h-data: Likewise.
46450 * conform/data/sys/msg.h-data: Likewise.
46451 * conform/data/sys/resource.h-data: Likewise.
46452 * conform/data/sys/select.h-data: Likewise.
46453 * conform/data/sys/sem.h-data: Likewise.
46454 * conform/data/sys/shm.h-data: Likewise.
46455 * conform/data/sys/socket.h-data: Likewise.
46456 * conform/data/sys/stat.h-data: Likewise.
46457 * conform/data/sys/statvfs.h-data: Likewise.
46458 * conform/data/sys/time.h-data: Likewise.
46459 * conform/data/sys/timeb.h-data: Likewise.
46460 * conform/data/sys/times.h-data: Likewise.
46461 * conform/data/sys/types.h-data: Likewise.
46462 * conform/data/sys/uio.h-data: Likewise.
46463 * conform/data/sys/un.h-data: Likewise.
46464 * conform/data/sys/utsname.h-data: Likewise.
46465 * conform/data/sys/wait.h-data: Likewise.
46466 * conform/data/syslog.h-data: Likewise.
46467 * conform/data/tar.h-data: Likewise.
46468 * conform/data/termios.h-data: Likewise.
46469 * conform/data/utime.h-data: Likewise.
46470 * conform/data/utmpx.h-data: Likewise.
46471 * conform/data/varargs.h-data: Likewise.
46472 * conform/data/wchar.h-data: Likewise.
46473 * conform/data/wctype.h-data: Likewise.
46474 * conform/data/wordexp.h-data: Likewise.
46475
46476 * include/stropts.h: New file.
46477 * include/uchar.h: New file.
46478 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46479 * include/assert.h: Likewise.
46480 * include/ctype.h: Likewise.
46481 * include/dirent.h: Likewise.
46482 * include/dlfcn.h: Likewise.
46483 * include/fcntl.h: Likewise.
46484 * include/fnmatch.h: Likewise.
46485 * include/glob.h: Likewise.
46486 * include/grp.h: Likewise.
46487 * include/libio.h: Likewise.
46488 * include/locale.h: Likewise.
46489 * include/math.h: Likewise.
46490 * include/net/if.h: Likewise.
46491 * include/netdb.h: Likewise.
46492 * include/netinet/in.h: Likewise.
46493 * include/pthread.h: Likewise.
46494 * include/pwd.h: Likewise.
46495 * include/regex.h: Likewise.
46496 * include/sched.h: Likewise.
46497 * include/search.h: Likewise.
46498 * include/setjmp.h: Likewise.
46499 * include/signal.h: Likewise.
46500 * include/stdio.h: Likewise.
46501 * include/stdlib.h: Likewise.
46502 * include/string.h: Likewise.
46503 * include/sys/cdefs.h: Likewise.
46504 * include/sys/mman.h: Likewise.
46505 * include/sys/msg.h: Likewise.
46506 * include/sys/resource.h: Likewise.
46507 * include/sys/select.h: Likewise.
46508 * include/sys/socket.h: Likewise.
46509 * include/sys/stat.h: Likewise.
46510 * include/sys/statvfs.h: Likewise.
46511 * include/sys/time.h: Likewise.
46512 * include/sys/times.h: Likewise.
46513 * include/sys/uio.h: Likewise.
46514 * include/sys/utsname.h: Likewise.
46515 * include/sys/wait.h: Likewise.
46516 * include/termios.h: Likewise.
46517 * include/time.h: Likewise.
46518 * include/ulimit.h: Likewise.
46519 * include/unistd.h: Likewise.
46520 * include/utime.h: Likewise.
46521 * include/wchar.h: Likewise.
46522 * include/wctype.h: Likewise.
46523 * include/wordexp.h: Likewise.
46524
46525 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46526
7a270350
UD
46527 * time/time.h: TIME_UTC must be a macro.
46528 Make timespec_get available for ISO C11 only as well.
46529
7724defc
UD
465302012-02-24 Ulrich Drepper <drepper@gmail.com>
46531
46532 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46533 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46534
6b1d1d46
JM
465352012-02-24 Joseph Myers <joseph@codesourcery.com>
46536
46537 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 46538
0f8bbd69
JM
465392012-02-24 Joseph Myers <joseph@codesourcery.com>
46540
46541 * manual/texinfo.tex: Update to version 2012-01-19.16.
46542
66ab80bc
JM
465432012-02-24 Joseph Myers <joseph@codesourcery.com>
46544
46545 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46546
74981cc5
RM
465472012-02-24 Roland McGrath <roland@hack.frob.com>
46548
ee968201
RM
46549 [BZ #13738]
46550 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46551 * manual/fdl-1.3.texi: New file.
46552 * manual/fdl-1.1.texi: File removed.
46553
74981cc5
RM
46554 [BZ #13738]
46555 * manual/libc.texinfo (FDL_VERSION): New @set.
46556 Use it for mention of FDL in cover text.
46557 (Documentation License): Use it in @include file name.
46558
7bb764bc
JM
465592012-02-22 Joseph Myers <joseph@codesourcery.com>
46560 Roland McGrath <roland@hack.frob.com>
46561
46562 [BZ #5461]
57f41c40
AS
46563 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46564 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
46565 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46566 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46567 name.
46568 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46569
6cbeae47
JM
465702012-02-22 Joseph Myers <joseph@codesourcery.com>
46571
46572 [BZ #2547]
46573 [BZ #11365]
46574 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46575 manipulate bits before adding and subtracting TWO23[sx].
46576 * math/libm-test.inc (nearbyint_test): Add more tests.
46577
fe45ce09
JM
465782012-02-22 Joseph Myers <joseph@codesourcery.com>
46579
46580 [BZ #2548]
46581 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46582 bits before adding and subtracting TWO23[sx].
46583 * math/libm-test.inc (rint_test): Add more tests.
46584 (rint_test_tonearest): Likewise.
46585 (rint_test_towardzero): Likewise.
46586 (rint_test_downward): Likewise.
46587 (rint_test_upward: Likewise.
46588
ff3b3d82
JM
465892012-02-22 Joseph Myers <joseph@codesourcery.com>
46590
46591 [BZ #10110]
46592 * include/stdc-predef.h: New file. Extracted from features.h.
46593 * include/features.h: Include stdc-predef.h.
46594 * Makefile (headers): Add stdc-predef.h.
46595 * CONFORMANCE (Compiler limitations): Update.
46596
ef0aab35
JM
465972012-02-22 Joseph Myers <joseph@codesourcery.com>
46598
46599 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46600
58639409
DM
466012012-02-21 David S. Miller <davem@davemloft.net>
46602
46603 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46605
c0e70b25
DM
466062012-02-20 David S. Miller <davem@davemloft.net>
46607
46608 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46609 using a normal save/restore sequence, rather than allocating a
46610 dummy stack frame just to store a frame pointer and restore.
46611 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46612
fb06851d
JM
466132012-02-21 Joseph Myers <joseph@codesourcery.com>
46614
46615 * manual/install.texi: Fix stray word in line-wrapped comment.
46616
7a8b71c3
DM
466172012-02-20 David S. Miller <davem@davemloft.net>
46618
d510c123
DM
46619 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46620 both binutils and gcc support GOTDATA.
46621
0722d7c2
DM
46622 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46623 "rd %pc" in the PIC register setup sequences.
46624
3d2b3019
DM
46625 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46626 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46627 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46628 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46629 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46631 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46634 (SYSCALL_ERROR_HANDLER): Likewise.
46635 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46636 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46638 (SYSCALL_ERROR_HANDLER): Likewise.
46639
c80098a9
DM
46640 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46641 (HAVE_GCC_GOTDATA): New.
46642 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46643 relocation support in both binutils and gcc.
46644 * sysdeps/sparc/elf/configure: Regenerate.
46645
3a2545a0
DM
46646 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46647 * sysdeps/sparc/sparc32/elf/configure: Delete.
46648 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46649 * sysdeps/sparc/sparc64/elf/configure: Delete.
46650 * sysdeps/sparc/elf/configure.in: New file.
46651 * sysdeps/sparc/elf/configure: Generate.
46652
7a8b71c3
DM
46653 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46654 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46655 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46656 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46657 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46658
f1e86fca
JM
466592012-02-21 Joseph Myers <joseph@codesourcery.com>
46660
46661 * manual/install.texi: Do not mention specific glibc version
46662 numbers.
46663 * manual/libc.texinfo (VERSION, UPDATED): Update.
46664 (@copying): Use @copyright{} and range of years.
46665
0e7dfaef
JM
466662012-02-21 Joseph Myers <joseph@codesourcery.com>
46667
46668 [BZ #13695]
46669 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46670 [crti.S not in sysdirs] (generated): Do not append.
46671 [crti.S not in sysdirs] (omit-deps): Likewise.
46672 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46673 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46674 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46675 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46676 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46677 Likewise.
46678 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46679 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46680 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46681 * csu/defs.awk: Remove file.
46682 * sysdeps/generic/initfini.c: Likewise.
46683 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46684 variable.
46685 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46686 Likewise.
46687
599af3ca
JM
466882012-02-20 Joseph Myers <joseph@codesourcery.com>
46689
46690 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46691 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46692 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46693 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46694 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46695 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46696 <bits/epoll.h>.
46697 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46698 (__EPOLL_PACKED): Define to empty if not defined by
46699 <bits/epoll.h>.
46700 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46702 bits/epoll.h.
46703
0e499750
JM
467042012-02-20 Joseph Myers <joseph@codesourcery.com>
46705
46706 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46707 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46708 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46709 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46710 <bits/timerfd.h>.
46711 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46713 bits/timerfd.h.
46714
5ad91f6e
JM
467152012-02-20 Joseph Myers <joseph@codesourcery.com>
46716
46717 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46718 in C locale.
46719 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46720 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46721 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46723
06b99b02
AJ
467242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46725
46726 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46727 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46728
7638c0fd
AS
467292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46730
46731 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46732 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46733 defined.
46734 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46735 Likewise.
46736 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46737 entry for 2.16.
46738
92221550
AJ
467392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46740
46741 * math/w_acos.c: Use non-signaling floating-point comparisons.
46742 * math/w_acosf.c: Likewise.
46743 * math/w_acosh.c: Likewise.
46744 * math/w_acoshf.c: Likewise.
46745 * math/w_acoshl.c: Likewise.
46746 * math/w_acosl.c: Likewise.
46747 * math/w_asin.c: Likewise.
46748 * math/w_asinf.c: Likewise.
46749 * math/w_asinl.c: Likewise.
46750 * math/w_atanh.c: Likewise.
46751 * math/w_atanhf.c: Likewise.
46752 * math/w_atanhl.c: Likewise.
46753 * math/w_exp2.c: Likewise.
46754 * math/w_exp2f.c: Likewise.
46755 * math/w_exp2l.c: Likewise.
46756 * math/w_j0.c: Likewise.
46757 * math/w_j0f.c: Likewise.
46758 * math/w_j0l.c: Likewise.
46759 * math/w_j1.c: Likewise.
46760 * math/w_j1f.c: Likewise.
46761 * math/w_j1l.c: Likewise.
46762 * math/w_jn.c: Likewise.
46763 * math/w_jnf.c: Likewise.
46764 * math/w_log.c: Likewise.
46765 * math/w_log10.c: Likewise.
46766 * math/w_log10f.c: Likewise.
46767 * math/w_log10l.c: Likewise.
46768 * math/w_log2.c: Likewise.
46769 * math/w_log2f.c: Likewise.
46770 * math/w_log2l.c: Likewise.
46771 * math/w_logf.c: Likewise.
46772 * math/w_logl.c: Likewise.
46773 * math/w_sqrt.c: Likewise.
46774 * math/w_sqrtf.c: Likewise.
46775 * math/w_sqrtl.c: Likewise.
46776 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46777 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46778 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46779 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46780 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46781
ebaf36eb
JM
467822012-02-19 Joseph Myers <joseph@codesourcery.com>
46783
46784 [BZ #9739]
46785 * manual/string.texi (strnlen): Use correct parameter name in
46786 equivalent expression.
46787
71c254a6
JM
467882012-02-19 Joseph Myers <joseph@codesourcery.com>
46789
46790 [BZ #11174]
46791 * manual/users.texi (seteuid): Consistently use neweuid for
46792 argument name.
46793
16d2c631
JM
467942012-02-19 Joseph Myers <joseph@codesourcery.com>
46795
46796 [BZ #13704]
46797 * manual/nss.texi (Services in the NSS configuration): Correct
46798 list of services in example configuration file.
46799
cd837b09
NB
468002012-02-19 Nick Bowler <nbowler@draconx.ca>
46801
46802 [BZ #11322]
46803 * manual/arith.texi: Remove statements about negative zero
46804 behaving identically to zero.
46805
02c4bbad
JM
468062012-02-18 Joseph Myers <joseph@codesourcery.com>
46807
46808 [BZ #5993]
46809 * manual/install.texi: Do not document upgrading from libc5.
46810
366842e7
JM
468112012-02-18 Joseph Myers <joseph@codesourcery.com>
46812
46813 [BZ #4596]
46814 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46815
dd54084d
DM
468162012-02-18 David S. Miller <davem@davemloft.net>
46817
46818 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46819 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46820 %o7 across the call.
46821 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46822 instead.
46823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46824 SETUP_PIC_REG_LEAF.
46825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46826 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46827 * sysdeps/sparc/crtn.S: Likewise.
46828
2bcc53a3
UD
468292012-02-17 Ulrich Drepper <drepper@gmail.com>
46830
46831 * aout/Makefile: Remove.
46832
09c093b5
RK
468332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46834
46835 [BZ #13058]
46836 * manual/examples/argp-ex1.c (main): Format definition in GNU
46837 style.
46838 * manual/examples/argp-ex2.c (main): Likewise.
46839 * manual/examples/argp-ex3.c (main): Likewise.
46840 * manual/examples/argp-ex4.c (main): Likewise.
46841 * manual/examples/longopt.c (main): Use new-style prototype
46842 definition.
46843 * manual/examples/strncat.c (main): Specify return type and use
46844 (void) for arguments.
46845 * manual/examples/subopt.c (main): Use char **argv argument.
46846
2ee633a2
JM
468472012-02-17 Joseph Myers <joseph@codesourcery.com>
46848
46849 [BZ #5077]
46850 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46851 rounding modes.
46852
0520adde
FB
468532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46854
46855 [BZ #6907]
46856 * manual/string.texi (strchr): Change when strchrnul is
46857 recommended.
46858
3f4081cd
DGM
468592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46860
46861 [BZ #174]
46862 * manual/locale.texi (setlocale): Document LOCPATH.
46863
d1b10e78
JM
468642012-02-17 Joseph Myers <joseph@codesourcery.com>
46865
46866 [BZ #10210]
46867 * manual/process.texi (execle): Move @dots{} before last argument.
46868
79c6869c
PB
468692012-02-17 Paul Bolle <pebolle@tiscali.nl>
46870
46871 [BZ #12047]
46872 * manual/charset.texi (Generic Charset Conversion): Fix typo
46873 (LC_TYPE -> LC_CTYPE).
46874
cc6e48bc
NB
468752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46876
46877 [BZ #5805]
46878 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46879 (scalbnf): Likewise.
46880 (scalbnl): Likewise.
46881 (scalbln): Likewise.
46882 (scalblnf): Likewise.
46883 (scalblnl): Likewise.
46884 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46885 (vwarnx): Likewise.
46886 (verr): Likewise.
46887 (verrx): Likewise.
46888 * manual/filesys.texi (telldir): Use braces around return type.
46889 * manual/llio.texi (mmap): Add space after comma.
46890 (mmap64): Likewise.
46891 * manual/math.texi (jn): Use @var{} on parameter names.
46892 (jnf): Likewise.
46893 (jnl): Likewise.
46894 (yn): Likewise.
46895 (ynf): Likewise.
46896 (ynl): Likewise.
46897 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46898 line.
46899 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46900 "...".
46901 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46902 (sched_get_priority_max): Likewise.
46903 * manual/signal.texi (sigvec): Add space after comma.
46904 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46905 names.
46906 (if_indextoname): Likewise.
46907 (if_freenameindex): Likewise.
46908 (sendto): Use ',' instead of '.' in prototype.
46909 * manual/startup.texi (syscall): Use @dots{} instead of literal
46910 "...".
46911 * manual/stdio.texi (__fpending): Separate initial words of
46912 paragraph from @deftypefun line.
46913 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46914 "...".
46915 (vsyslog): Use @var{} on parameter names.
46916 * manual/terminal.texi (stty): Use @var{} on parameter names.
46917 * manual/users.texi (getutmp): Use @var{} on parameter names.
46918 (getutmpx): Likewise.
46919
5b23062f
JM
469202012-02-17 Joseph Myers <joseph@codesourcery.com>
46921
46922 [BZ #6884]
46923 * manual/stdio.texi (fopen): Fix typos in description of
46924 ",ccs=STRING".
46925
8dee4833
AJ
469262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46927
46928 [BZ #4026]
46929 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46930 get clock_id definition.
46931
9078ce93
TS
469322012-02-17 Thomas Schwinge <thomas@schwinge.name>
46933
46934 [BZ #4822]
46935 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46936 (madvise): Cast every argument to void on its own.
46937
3835c55f
JM
469382012-02-17 Joseph Myers <joseph@codesourcery.com>
46939
46940 [BZ #9902]
46941 * manual/startup.texi (Exit Status): Fix typo.
46942
35c47e37
JM
469432012-02-17 Joseph Myers <joseph@codesourcery.com>
46944
46945 [BZ #10140]
46946 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46947 * manual/examples/argp-ex2.c: Likewise.
46948 * manual/examples/argp-ex3.c: Likewise.
46949
e3b69ca7
RH
469502012-02-16 Richard Henderson <rth@redhat.com>
46951
46952 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46953 * sysdeps/s390/s390-32/initfini.c: Remove.
46954 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46955 * sysdeps/s390/s390-64/initfini.c: Remove.
46956
df83af67
KK
469572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46958
46959 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46960 compiler output for sysdeps/generic/initfini.c.
46961 * sysdeps/sh/elf/initfini.c: Remove file.
46962
f63f3380
DM
469632012-02-16 David S. Miller <davem@davemloft.net>
46964
fb59b3a4
DM
46965 [BZ #11494]
46966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46967
f63f3380
DM
46968 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46969 * sysdeps/sparc/crti.S: New file.
46970 * sysdeps/sparc/crtn.S: New file.
46971 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46972 * sysdeps/sparc/sparc64/Makefile: Likewise.
46973
df6a4a4a
MF
469742012-02-15 Mike Frysinger <vapier@gentoo.org>
46975
6dd8f3dc 46976 [BZ #3335]
df6a4a4a
MF
46977 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46978
1cac7236
RM
469792012-02-15 Roland McGrath <roland@hack.frob.com>
46980
d2c736f8
RM
46981 [BZ #4822]
46982 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46983
1cac7236
RM
46984 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46985 (write, read, close): Likewise.
46986 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46987
8e475601
JM
469882012-02-15 Joseph Myers <joseph@codesourcery.com>
46989
46990 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46991 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46992 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46993 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46994 <bits/signalfd.h>.
46995 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46997 bits/signalfd.h.
46998
ed656b40
MP
469992012-02-14 Marek Polacek <polacek@redhat.com>
47000
47001 * sysdeps/x86_64/crti.S: New file.
47002 * sysdeps/x86_64/crtn.S: New file.
47003 * sysdeps/x86_64/elf/initfini.c: Remove file.
47004
2a979d3a
JM
470052012-02-13 Joseph Myers <joseph@codesourcery.com>
47006
47007 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47008 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47009 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47010 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47011 <bits/inotify.h>.
47012 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47014 bits/inotify.h.
47015
2a418ac3
JM
470162012-02-13 Joseph Myers <joseph@codesourcery.com>
47017
47018 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47019 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47020 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47021 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47022 <bits/eventfd.h>.
47023 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47025 bits/eventfd.h.
47026
fb779be7
TS
470272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47028
e19e83c5
RM
47029 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47030 __feraiseexcept instead of feraiseexcept.
7c35ffed 47031
fb779be7
TS
47032 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47033 nanosleep invocations.
47034 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47035 strings, and add error checking for a nanosleep invocations.
47036
59ba27a6
PE
470372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47038
47039 Replace FSF snail mail address with URLs, as per GNU coding standards.
47040 Most of the snail mail addresses were wrong anyway, and omitting
47041 them makes the source code easier to maintain. Almost all of the
47042 changes are to license notices and to locale LC_IDENTIFICATION
47043 addresses, except for this one:
47044 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47045 not its snail mail address.
47046
57b957eb
RH
470472012-02-09 Richard Henderson <rth@twiddle.net>
47048
af850b1c
RH
47049 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47050 of kernel-features.h.
47051
57b957eb
RH
47052 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47053
6b73181a
MP
470542012-02-08 Marek Polacek <polacek@redhat.com>
47055
47056 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47057 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47058 * sysdeps/gnu/_G_config.h: Likewise.
47059 * sysdeps/generic/_G_config.h: Likewise.
47060
26ecc33a
AS
470612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47062
6c6dbc63
AS
47063 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47064 tests.
47065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47066
e216c012
AS
47067 * sysdeps/powerpc/powerpc32/crti.S: New file.
47068 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47069 * sysdeps/powerpc/powerpc64/crti.S: New file.
47070 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47071
26ecc33a
AS
47072 * Makeconfig (have-initfini): Don't set.
47073 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47074 * configure.in (nopic_initfini): Don't substitute.
47075 * config.h.in (HAVE_INITFINI): Don't #undef.
47076 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47077 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47078
3add8e13
JM
470792012-02-08 Joseph Myers <joseph@codesourcery.com>
47080
47081 Support crti.S and crtn.S provided directly by architectures.
47082 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47083 [crti.S in sysdirs] (omit-deps): Likewise.
47084 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47085 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47086 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47087 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47088 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47089 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47090 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47091 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47092 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47093 compiler output for sysdeps/generic/initfini.c.
47094 * sysdeps/i386/elf/Makefile: Remove file.
47095 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47096
a22f12b4
MP
470972012-02-07 Marek Polacek <polacek@redhat.com>
47098
47099 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47100 * sysdeps/gnu/_G_config.h: Likewise.
47101 * sysdeps/mach/hurd/_G_config.h: Likewise.
47102
148cf100
MP
471032012-02-07 Marek Polacek <polacek@redhat.com>
47104
47105 * math/Makefile (tests): Add tst-CMPLX2.
47106 * math/tst-CMPLX2.c: New file.
47107
cfdc0dd7
AS
471082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47109
84ba42c4
AS
47110 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47111
cfdc0dd7
AS
47112 * math/libm-test.inc (jn_test): Add missing L suffix.
47113
622c86f4
MP
471142012-02-06 Marek Polacek <polacek@redhat.com>
47115
47116 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47117 * sysdeps/i386/fpu/e_powf.S: Likewise.
47118 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47119 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47120 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47121 * sysdeps/i386/fpu/e_pow.S: Likewise.
47122 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47123 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47124 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47125 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47126 * sysdeps/i386/fpu/e_log2.S: Likewise.
47127 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47128 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47129 * sysdeps/i386/fpu/e_powl.S: Likewise.
47130 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47131 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47132 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47133 * sysdeps/i386/fpu/e_logl.S: Likewise.
47134 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47135 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47136 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47137 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47138 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47139 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47140 * sysdeps/i386/fpu/e_log.S: Likewise.
47141 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47142 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47143 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47144 * sysdeps/i386/fpu/e_logf.S: Likewise.
47145 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47146 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47147 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47148 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47149 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47150 * sysdeps/i386/fpu/e_log10.S: Likewise.
47151 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47152 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47153 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47154 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47155 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47156 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47157 * sysdeps/i386/asm-syntax.h: Likewise.
47158 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47159 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47160 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47161 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47162 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47163 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47164 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47165 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47166 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47167 * sysdeps/powerpc/sysdep.h: Likewise.
47168 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47169 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47170
d4a54ac6
JM
471712012-02-06 Joseph Myers <joseph@codesourcery.com>
47172
47173 [BZ #411]
47174 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47175
314054ea
JM
471762012-02-06 Joseph Myers <joseph@codesourcery.com>
47177
47178 * sysdeps/i386/sysdep.h: Include <features.h>.
47179 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47180 version.
47181
d8e0ca50
JM
471822012-02-05 Joseph Myers <joseph@codesourcery.com>
47183
47184 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47185 Define.
47186 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47187 LOAD_PIC_REG_STR.
47188
b1da7dd9
JM
471892012-02-03 Joseph Myers <joseph@codesourcery.com>
47190
47191 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47192 (SETUP_PIC_REG): Use GET_PC_THUNK.
47193 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47194 macro.
47195
9a1d9254
JM
471962012-02-03 Joseph Myers <joseph@codesourcery.com>
47197
47198 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47199 for non-PIC compilation.
47200 (SETUP_PIC_REG): Add .p2align directive.
47201 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47202 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47203 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47204 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47205 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47206 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47207 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47208 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47209 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47210 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47211 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47212 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47213 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47214 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47215 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47216 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47217 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47218 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47219 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47220 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47221 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47222 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47223 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47224 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47225 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47226 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47227 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47228 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47229 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47230 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47231 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47232 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47233 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47234 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47235 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47236 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47237 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47238 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47239 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47240 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47241 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47242
65dc3b75
JM
472432012-02-03 Joseph Myers <joseph@codesourcery.com>
47244
47245 * math/tst-CMPLX.c: Include <stdio.h>.
47246
d55bf177
JM
472472012-01-31 Joseph Myers <joseph@codesourcery.com>
47248
47249 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47250 float.
47251 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47252 * sysdeps/sparc/bits/mathdef.h: Likewise.
47253
69db4f8f
MP
472542012-01-31 Marek Polacek <polacek@redhat.com>
47255
47256 * libio/libio.h: Don't define _PARAMS.
47257 * locale/programs/config.h: Don't define PARAMS.
47258 * stdlib/strtol_l.c: Likewise.
47259 (__strtol_l): Remove PARAMS from the prototype.
47260
41b81892
UD
472612012-01-31 Ulrich Drepper <drepper@gmail.com>
47262
3b49edc0
UD
47263 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47264 names. Just use the correct names. Remove unnecessary wrapper
47265 functions.
47266 * malloc/arena.c: Likewise.
47267 * malloc/hooks.c: Likewise.
47268
41b81892
UD
47269 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47270 ARENA_TEST says not to. Simplify test for creation of a new arena.
47271 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47272
27a25b6e
UD
472732012-01-30 Ulrich Drepper <drepper@gmail.com>
47274
47275 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47276 into tail calls.
47277 (update_get_addr): New function.
47278 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47279 GET_ADDR_MODULE parameter.
47280
c8a89e7d
JM
472812012-01-30 Joseph Myers <joseph@codesourcery.com>
47282
47283 * crypt/cert.c: Remove __STDC__ conditionals.
47284 * crypt/crypt-entry.c: Likewise.
47285 * crypt/crypt_util.c: Likewise.
47286 * libio/filedoalloc.c: Likewise.
47287 * libio/fileops.c: Likewise.
47288 * libio/genops.c: Likewise.
47289 * libio/iofclose.c: Likewise.
47290 * libio/iofdopen.c: Likewise.
47291 * libio/iofopen.c: Likewise.
47292 * libio/iofopen64.c: Likewise.
47293 * libio/iogetdelim.c: Likewise.
47294 * libio/iopopen.c: Likewise.
47295 * libio/obprintf.c: Likewise.
47296 * libio/oldfileops.c: Likewise.
47297 * libio/oldiofclose.c: Likewise.
47298 * libio/oldiofdopen.c: Likewise.
47299 * libio/oldiofopen.c: Likewise.
47300 * libio/oldiopopen.c: Likewise.
47301 * libio/wfiledoalloc.c: Likewise.
47302 * libio/wgenops.c: Likewise.
47303 * locale/programs/xmalloc.c: Likewise.
47304 * misc/syslog.c: Likewise.
47305 * stdio-common/xbug.c: Likewise.
47306 * string/memchr.c: Likewise.
47307 * string/memcmp.c: Likewise.
47308 * string/memrchr.c: Likewise.
47309 * string/rawmemchr.c: Likewise.
47310 * sysdeps/posix/getcwd.c: Likewise.
47311 * time/strftime_l.c: Likewise.
47312
3b100462
JM
473132012-01-30 Joseph Myers <joseph@codesourcery.com>
47314
47315 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
47316 * config.make.in (config-cflags-sse2avx): Define.
47317 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47318 Fix typo.
47319
607998af
CM
473202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47321
47322 * scripts/config.guess: Update from upstream config git repository.
47323 * scripts/config.sub: Likewise.
47324
3601428f
CM
473252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47326
3ac8b282
CM
47327 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47328 (EM_NUM): Update.
47329 (R_TILEPRO_*, R_TILEGX_*): New macros.
47330
e034841e
CM
47331 * scripts/firstversions.awk: Fix bug in version range handling.
47332
540d7568
CM
47333 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47334
3601428f
CM
47335 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47336
463de862
CM
47337 * include/sys/epoll.h: New file.
47338 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47339 libc_hidden_def.
47340
73139a76
UD
473412012-01-28 Ulrich Drepper <drepper@gmail.com>
47342
96bc5b45
UD
47343 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47344 Avoid unnecessary __WORDSIZE == 64 test.
47345 (fmaxf): Use VEX format if possible.
47346 (fmax): Likewise.
47347 (fminf): Likewise.
47348 (fmin): Likewise.
47349
56f6f6a2
UD
47350 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47351 * math/math_private.h: Remove libc_fegetround* and
47352 libc_fesetround*.
47353 * sysdeps/i386/configure.in: Check for -msse2avx.
47354 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47355 also if SSE2AVX is defined.
47356 Remove libc_fegetround* and libc_fesetround*.
47357 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47358 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47359 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47360 of HAS_YMM_USABLE.
47361 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47362 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47363 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47365 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47366
73139a76
UD
47367 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47368
d73f93a4
AZ
473692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47370
47371 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47372 size is not set.
47373 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47374
6ee65ed6
UD
473752012-01-27 Ulrich Drepper <drepper@gmail.com>
47376
47377 [BZ #13618]
47378 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47379 relocation.
47380 * Makeconfig (libm): Define.
47381 * elf/Makefile: Add rules to build and run tst-relsort1.
47382 * elf/tst-relsort1.c: New file.
47383 * elf/tst-relsort1mod1.c: New file.
47384 * elf/tst-relsort1mod2.c: New file.
47385
8db21882
JM
473862012-01-27 Joseph Myers <joseph@codesourcery.com>
47387
47388 * math/s_ldexp.c: Remove __STDC__ conditionals.
47389 * math/s_ldexpf.c: Likewise.
47390 * math/s_ldexpl.c: Likewise.
47391 * math/s_nextafter.c: Likewise.
47392 * math/s_nexttowardf.c: Likewise.
47393 * math/s_significand.c: Likewise.
47394 * math/s_significandf.c: Likewise.
47395 * math/s_significandl.c: Likewise.
47396 * math/w_jnl.c: Likewise.
47397 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47398 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47399 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47400 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47401 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47402 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47403 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47404 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47405 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47406 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47407 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47408 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47409 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47410 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47411 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47412 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47413 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47414 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47415 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47416 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47417 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47418 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47419 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47420 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47421 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47422 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47423 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47424 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47425 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47426 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47427 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47428 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47430 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47431 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47432 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47433 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47434 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47435 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47436 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47437 * sysdeps/ieee754/k_standard.c: Likewise.
47438 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47439 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47440 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47441 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47442 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47443 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47444 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47445 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47446 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47447 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47448 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47449 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47450 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47451 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47452 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47453 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47454 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47455 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47456 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47457 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47458 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47459 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47460 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47461 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47462 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47463 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47464 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47465 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47467 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47468 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47469 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47470 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47471 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47472 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47473 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47474 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47475 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47476 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47477 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47478 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47479 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47480 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47481 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47482 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47483 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47484 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47485 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47486 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47487 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47488 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47489 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47490 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47491 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47492 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47493 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47494 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47495 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47496 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47497 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47498 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47499 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47500 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47501 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47502 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47503 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47504 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47505 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47506 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47507 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47508 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47509 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47510 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47511 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47512 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47513 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47514 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47515 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47516 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47517 * sysdeps/ieee754/s_matherr.c: Likewise.
47518 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47519 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47521 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47522
965a54a4
JM
475232012-01-26 Joseph Myers <joseph@codesourcery.com>
47524
47525 * crypt/md5.h: Remove __STDC__ conditionals.
47526 * libio/libioP.h: Likewise.
47527 * locale/programs/config.h: Likewise.
47528 * sysdeps/generic/sysdep.h: Likewise.
47529 * sysdeps/i386/asm-syntax.h: Likewise.
47530 * sysdeps/s390/asm-syntax.h: Likewise.
47531 * sysdeps/unix/sysdep.h: Likewise.
47532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47534
7071ad79
JM
475352012-01-26 Joseph Myers <joseph@codesourcery.com>
47536
47537 * libio/libio.h: Remove __STDC__ conditionals.
47538 * malloc/obstack.h: Likewise.
47539 * math/complex.h: Likewise.
47540 * math/math.h: Likewise.
47541 * sysdeps/generic/_G_config.h: Likewise.
47542 * sysdeps/gnu/_G_config.h: Likewise.
47543 * sysdeps/mach/hurd/_G_config.h: Likewise.
47544 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47545 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47546 * sysdeps/sparc/bits/mathdef.h: Likewise.
47547
afc5ed09
UD
475482012-01-26 Ulrich Drepper <drepper@gmail.com>
47549
47550 [BZ #13583]
47551 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 47552 Clean up HAS_* macros.
afc5ed09 47553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
47554 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47555 possible.
47556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47557 HAS_AVX.
47558 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47559 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47560 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47561 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47562 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 47563
bdb6de1d
JM
475642012-01-25 Joseph Myers <joseph@codesourcery.com>
47565
47566 * elf/tst-unique3.cc (gets): Remove declaration.
47567 * elf/tst-unique3lib.cc (gets): Likewise.
47568 * elf/tst-unique3lib2.cc (gets): Likewise.
47569 * elf/tst-unique4.cc (gets): Likewise.
47570
b15549e6
UD
475712012-01-24 Ulrich Drepper <drepper@gmail.com>
47572
47573 * include/stdio.h: Add C++ protection. Add gets declarations and
47574 definitions.
47575 * debug/tst-chk1.c: Don't declare gets here.
47576 * stdio-common/tst-gets.c: Likewise.
47577
a037381f
JM
475782012-01-24 Joseph Myers <joseph@codesourcery.com>
47579
47580 * posix/glob: Remove directory.
47581
f1d4aa75
JM
475822012-01-24 Joseph Myers <joseph@codesourcery.com>
47583
47584 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47585
81c0c964
PT
475862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
47587
47588 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47589 of the non-standard EPFNOSUPPORT.
47590
0ea698ae
ST
475912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47592
47593 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47594 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47595 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47596
d220b117
UD
475972012-01-21 Ulrich Drepper <drepper@gmail.com>
47598
47599 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47600
3e1aa84e
UD
476012012-01-20 Ulrich Drepper <drepper@gmail.com>
47602
47603 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47604 transient errors.
47605 * nscd/grpcache.c (cache_addgr): Likewise.
47606 * nscd/hstcache.c (cache_addhst): Likewise.
47607 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47608 * nscd/pwdcache.c (cache_addpw): Likewise.
47609 * nscd/servicescache.c (cache_addserv): Likewise.
47610
400aa020
UD
476112012-01-16 Ulrich Drepper <drepper@gmail.com>
47612
d77e7869
UD
47613 * malloc/malloc.c: Various cleanups.
47614 * malloc/hooks.c: Likewise.
47615
400aa020
UD
47616 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47617 * stdlib/bug-fmtmsg1.c: New file.
47618
47619 * stdlib/fmtmsg.c (init): Add missing unlock.
47620 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47621
e0a309cf
MP
476222012-01-12 Marek Polacek <polacek@redhat.com>
47623
47624 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47625 and _GNU_SOURCE.
47626
929d11c7
WS
476272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47628
47629 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47630 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47631 macro to ensure uniqueness of label name.
47632 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47633 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47634
41d0e869
UD
476352012-01-11 Ulrich Drepper <drepper@gmail.com>
47636
0cc5ed3b
UD
47637 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47638
41d0e869
UD
47639 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47640 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47641 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47643
a47a831a
UD
476442012-01-10 Ulrich Drepper <drepper@gmail.com>
47645
daa891c0
UD
47646 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47647
47648 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47649 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47650 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47651
e58ef0f2
UD
47652 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47653
a47a831a 47654 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
47655 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47656 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 47657 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
47658
47659 * math/bits/math-finite.h: Add ldexp support.
47660
a0bfc9c7
MP
476612012-01-10 Marek Polacek <polacek@redhat.com>
47662
47663 * locale/programs/localedef.h (show_archive_content): Add noreturn
47664 attribute.
47665
d6e97a1d
UD
476662012-01-09 Ulrich Drepper <drepper@gmail.com>
47667
47668 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47669
d5835c26
UD
476702012-01-08 Ulrich Drepper <drepper@gmail.com>
47671
e5f484c6
UD
47672 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47673
d5835c26
UD
47674 * io/Makefile (headers): Add bits/poll2.h.
47675
d1f741e9
WS
476762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47677
47678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47679 typo #include statement.
47680
ec09c1c4
UD
476812012-01-08 Ulrich Drepper <drepper@gmail.com>
47682
47683 * include/sys/cdefs.h: Define __attribute_alloc_size.
47684 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47685 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47686 * elf/pldd.c: Likewise.
47687 * iconv/iconv_charmap.c: Likewise.
47688 * iconv/iconvconfig.c: Likewise.
47689 * iconv/strtab.c: Likewise.
47690 * locale/programs/locale.c: Likewise.
47691 * locale/programs/localedef.h: Likewise.
47692 * locale/programs/simple-hash.c: Likewise.
47693 * nscd/nscd.h: Likewise.
47694 * nss/makedb.c: Likewise.
47695 * sysdeps/generic/ldconfig.h: Likewise.
47696 * locale/programs/localedef.c: Remove xmalloc prototype.
47697 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47698
20b38e03
PP
476992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47700
47701 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47702 appropriate.
47703
a0da5fe1
UD
477042012-01-08 Ulrich Drepper <drepper@gmail.com>
47705
1d5a644a 47706 * math/Makefile (tests): Add tst-CMPLX.
669704fd 47707 * math/tst-CMPLX.c: New file.
1d5a644a 47708
8784a6db
UD
47709 * math/complex.h (CMPLXL): Fix typo.
47710
d9a216c0
UD
47711 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47712 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47713 GLIBC_2.16.
47714 * debug/tst-chk1.c: Add poll and ppoll tests.
47715 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47716 * include/sys/poll.h: Add hidden proto for ppoll.
47717 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47718 * sysdeps/mach/hurd/ppoll.c: Likewise.
47719 * io/ppoll.c: Likewise.
47720 * debug/poll_chk.c: New file.
47721 * debug/ppoll_chk.c: New file.
47722 * include/bits/poll2.h: New file.
47723 * io/bits/poll2.h: New file.
47724
ac097f5c
UD
47725 [BZ #1350]
47726 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47727
2119dcfa
UD
47728 * configure.in: static is always set to yes. Remove.
47729 * config.make.in: Don't set build-static.
47730 * Makeconfig: Remove use of build-static.
47731 * dlfcn/Makefile: Likewise.
47732 * elf/Makefile: Likewise.
47733 * math/Makefile: Likewise.
47734 * misc/Makefile: Likewise.
47735 * nptl/Makefile: Likewise.
47736 * sysdeps/mach/hurd/Makefile: Likewise.
47737
121766a9
UD
47738 * configure.in: PWD_P is not used anymore.
47739 * config.make.in: Remove PWD_P entry.
47740
51a1d39c 47741 * configure.in: Remove last remnants of RANLIB.
8720d066 47742 No need to check for signed size_t anymore.
215f4bdc
UD
47743 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47744 and IA-64.
3857022a 47745 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
47746 * aclocal.m4: Likewise.
47747
d3ed7225
UD
47748 * wcsmbs/mbrtoc16.c: Implement using towc function.
47749 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47750 * wcsmbs/wcsmbsload.c: Likewise.
47751 * iconv/gconv_simple.c: Likewise.
47752 * iconv/gconv_int.h: Likewise.
47753 * iconv/gconv_builtin.h: Likewise.
47754 * iconv/iconv_prog.c: Remove CHAR16 handling.
47755
47756 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47757
47758 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47759
a0da5fe1
UD
47760 * configure.in: Remove --with-elf and --enable-bounded options.
47761 Dont set base_machine for ia64. More non-ELF conditions removed.
47762 Remove testing and setting of leading underscore information.
47763 * config.make.in (build-bounded): Set to no.
47764 * config.h.in: Remove NO_UNDERSCORES entry.
47765 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47766 them.
47767 * csu/start.c: Remove !NO_UNDERSCORE code.
47768 * locale/localeinfo.h: Likewise.
47769 * sysdeps/generic/machine-gmon.h: Likewise.
47770 * sysdeps/generic/sysdep.h: Likewise.
47771 * sysdeps/i386/sysdep.h: Likewise.
47772 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47773 * sysdeps/mach/sysdep.h: Likewise.
47774 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47775 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47776 * sysdeps/sh/sysdep.h: Likewise.
47777 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47778 * sysdeps/unix/i386/sysdep.S: Likewise.
47779 * sysdeps/unix/sparc/start.c: Likewise.
47780 * sysdeps/unix/sparc/sysdep.S: Likewise.
47781 * sysdeps/unix/sparc/sysdep.h: Likewise.
47782 * sysdeps/unix/start.c: Likewise.
47783 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47784 * sysdeps/x86_64/sysdep.h: Likewise.
47785
df78418a
UD
477862012-01-07 Ulrich Drepper <drepper@gmail.com>
47787
a784e502
UD
47788 [BZ #13553]
47789 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47790 for non-gcc.
47791 * argp/argp-fmtstream.h: Use const instead __const.
47792 * argp/argp.h: Likewise.
47793 * assert/assert.h: Likewise.
47794 * bits/fenv.h: Likewise.
47795 * bits/sched.h: Likewise.
47796 * bits/sigset.h: Likewise.
47797 * bits/sigthread.h: Likewise.
47798 * catgets/nl_types.h: Likewise.
47799 * conform/data/pthread.h-data: Likewise.
47800 * crypt/crypt-private.h: Likewise.
47801 * crypt/crypt.h: Likewise.
47802 * crypt/crypt_util.c: Likewise.
47803 * ctype/ctype.h: Likewise.
47804 * debug/execinfo.h: Likewise.
47805 * debug/mbsnrtowcs_chk.c: Likewise.
47806 * debug/mbsrtowcs_chk.c: Likewise.
47807 * debug/wcsnrtombs_chk.c: Likewise.
47808 * debug/wcsrtombs_chk.c: Likewise.
47809 * debug/wcstombs_chk.c: Likewise.
47810 * dirent/dirent.h: Likewise.
47811 * dlfcn/dlfcn.h: Likewise.
47812 * elf/neededtest4.c: Likewise.
47813 * grp/grp.h: Likewise.
47814 * gshadow/gshadow.h: Likewise.
47815 * iconv/gconv.h: Likewise.
47816 * iconv/gconv_int.h: Likewise.
47817 * iconv/gconv_simple.c: Likewise.
47818 * iconv/iconv.h: Likewise.
47819 * iconv/loop.c: Likewise.
47820 * iconv/skeleton.c: Likewise.
47821 * include/aio.h: Likewise.
47822 * include/aliases.h: Likewise.
47823 * include/argz.h: Likewise.
47824 * include/arpa/inet.h: Likewise.
47825 * include/assert.h: Likewise.
47826 * include/dirent.h: Likewise.
47827 * include/dlfcn.h: Likewise.
47828 * include/execinfo.h: Likewise.
47829 * include/fcntl.h: Likewise.
47830 * include/fenv.h: Likewise.
47831 * include/glob.h: Likewise.
47832 * include/grp.h: Likewise.
47833 * include/libintl.h: Likewise.
47834 * include/mntent.h: Likewise.
47835 * include/netdb.h: Likewise.
47836 * include/pwd.h: Likewise.
47837 * include/rpc/netdb.h: Likewise.
47838 * include/sched.h: Likewise.
47839 * include/search.h: Likewise.
47840 * include/shadow.h: Likewise.
47841 * include/signal.h: Likewise.
47842 * include/stdio.h: Likewise.
47843 * include/stdlib.h: Likewise.
47844 * include/string.h: Likewise.
47845 * include/sys/socket.h: Likewise.
47846 * include/sys/stat.h: Likewise.
47847 * include/sys/statfs.h: Likewise.
47848 * include/sys/statvfs.h: Likewise.
47849 * include/sys/syslog.h: Likewise.
47850 * include/sys/time.h: Likewise.
47851 * include/sys/uio.h: Likewise.
47852 * include/time.h: Likewise.
47853 * include/unistd.h: Likewise.
47854 * include/utmp.h: Likewise.
47855 * include/wchar.h: Likewise.
47856 * include/wctype.h: Likewise.
47857 * inet/aliases.h: Likewise.
47858 * inet/arpa/inet.h: Likewise.
47859 * inet/netinet/ether.h: Likewise.
47860 * inet/netinet/in.h: Likewise.
47861 * intl/libintl.h: Likewise.
47862 * io/bits/fcntl2.h: Likewise.
47863 * io/fcntl.h: Likewise.
47864 * io/ftw.h: Likewise.
47865 * io/sys/poll.h: Likewise.
47866 * io/sys/stat.h: Likewise.
47867 * io/sys/statfs.h: Likewise.
47868 * io/sys/statvfs.h: Likewise.
47869 * io/utime.h: Likewise.
47870 * libio/bits/stdio.h: Likewise.
47871 * libio/bits/stdio2.h: Likewise.
47872 * libio/libio.h: Likewise.
47873 * libio/libioP.h: Likewise.
47874 * libio/stdio.h: Likewise.
47875 * locale/lc-ctype.c: Likewise.
47876 * locale/locale.h: Likewise.
47877 * login/utmp.h: Likewise.
47878 * malloc/arena.c: Likewise.
47879 * malloc/malloc.c: Likewise.
47880 * malloc/malloc.h: Likewise.
47881 * malloc/mcheck.c: Likewise.
47882 * malloc/mtrace.c: Likewise.
47883 * math/bits/mathcalls.h: Likewise.
47884 * math/fenv.h: Likewise.
47885 * math/math_private.h: Likewise.
47886 * misc/bits/error.h: Likewise.
47887 * misc/bits/syslog.h: Likewise.
47888 * misc/err.h: Likewise.
47889 * misc/error.h: Likewise.
47890 * misc/fstab.h: Likewise.
47891 * misc/mntent.h: Likewise.
47892 * misc/regexp.h: Likewise.
47893 * misc/search.h: Likewise.
47894 * misc/sgtty.h: Likewise.
47895 * misc/sys/mman.h: Likewise.
47896 * misc/sys/syslog.h: Likewise.
47897 * misc/sys/uio.h: Likewise.
47898 * misc/sys/xattr.h: Likewise.
47899 * misc/ttyent.h: Likewise.
47900 * nis/rpcsvc/ypclnt.h: Likewise.
47901 * nss/nss.h: Likewise.
47902 * posix/bits/unistd.h: Likewise.
47903 * posix/fnmatch.h: Likewise.
47904 * posix/glob.h: Likewise.
47905 * posix/sched.h: Likewise.
47906 * posix/spawn.h: Likewise.
47907 * posix/sys/wait.h: Likewise.
47908 * posix/unistd.h: Likewise.
47909 * posix/wordexp.h: Likewise.
47910 * pwd/pwd.h: Likewise.
47911 * resolv/netdb.h: Likewise.
47912 * resource/sys/resource.h: Likewise.
47913 * rt/aio.h: Likewise.
47914 * rt/bits/mqueue2.h: Likewise.
47915 * rt/mqueue.h: Likewise.
47916 * shadow/shadow.h: Likewise.
47917 * signal/signal.h: Likewise.
47918 * socket/send.c: Likewise.
47919 * socket/sendto.c: Likewise.
47920 * socket/sys/socket.h: Likewise.
47921 * stdio-common/printf.h: Likewise.
47922 * stdlib/bits/stdlib.h: Likewise.
47923 * stdlib/fmtmsg.h: Likewise.
47924 * stdlib/monetary.h: Likewise.
47925 * stdlib/stdlib.h: Likewise.
47926 * stdlib/ucontext.h: Likewise.
47927 * streams/stropts.h: Likewise.
47928 * string/argz.h: Likewise.
47929 * string/bits/string2.h: Likewise.
47930 * string/string.h: Likewise.
47931 * string/strings.h: Likewise.
47932 * sunrpc/rpc/auth.h: Likewise.
47933 * sunrpc/rpc/auth_des.h: Likewise.
47934 * sunrpc/rpc/clnt.h: Likewise.
47935 * sunrpc/rpc/netdb.h: Likewise.
47936 * sunrpc/rpc/pmap_clnt.h: Likewise.
47937 * sunrpc/rpc/xdr.h: Likewise.
47938 * sysdeps/generic/inttypes.h: Likewise.
47939 * sysdeps/generic/net/if.h: Likewise.
47940 * sysdeps/generic/sys/swap.h: Likewise.
47941 * sysdeps/gnu/net/if.h: Likewise.
47942 * sysdeps/gnu/utmpx.h: Likewise.
47943 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47944 * sysdeps/i386/i486/bits/string.h: Likewise.
47945 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47946 * sysdeps/s390/bits/string.h: Likewise.
47947 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47948 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47949 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47950 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47951 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47952 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47953 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47954 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47955 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47956 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47957 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47958 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47959 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47960 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47961 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47962 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47963 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47965 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47966 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47967 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47968 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47969 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47970 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47971 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47972 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47973 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47974 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47975 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47976 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47977 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47978 * sysvipc/sys/ipc.h: Likewise.
47979 * sysvipc/sys/msg.h: Likewise.
47980 * sysvipc/sys/sem.h: Likewise.
47981 * sysvipc/sys/shm.h: Likewise.
47982 * termios/termios.h: Likewise.
47983 * time/sys/time.h: Likewise.
47984 * time/time.h: Likewise.
47985 * wcsmbs/bits/wchar2.h: Likewise.
47986 * wcsmbs/uchar.h: Likewise.
47987 * wcsmbs/wchar.h: Likewise.
47988 * wctype/wctype.h: Likewise.
47989
0269750c
UD
47990 [BZ #13551]
47991 * Makeconfig: Remove all but ELF support including AIX support.
47992 * Makerules: Likewise.
47993 * config.h.in: Likewise.
47994 * config.make.in: Likewise.
47995 * configure: Likewise.
47996 * configure.in: Likewise.
47997 * csu/Makefile: Likewise.
47998 * csu/version.c: Likewise.
47999 * debug/Makefile: Likewise.
48000 * dlfcn/Makefile: Likewise.
48001 * elf/Makefile: Likewise.
48002 * extra-lib.mk: Likewise.
48003 * iconv/Makefile: Likewise.
48004 * include/libc-symbols.h: Likewise.
48005 * include/shlib-compat.h: Likewise.
48006 * resolv/Makefile: Likewise.
48007 * resolv/res_libc.c: Likewise.
48008 * rt/Makefile: Likewise.
48009 * sysdeps/i386/asm-syntax.h: Likewise.
48010 * sysdeps/i386/sysdep.h: Likewise.
48011 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48012 * sysdeps/mach/sysdep.h: Likewise.
48013 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48014 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48015 * sysdeps/s390/asm-syntax.h: Likewise.
48016 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48017 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48018 * sysdeps/sh/sysdep.h: Likewise.
48019 * sysdeps/unix/sparc/sysdep.h: Likewise.
48020 * sysdeps/wordsize-32/divdi3.c: Likewise.
48021 * sysdeps/x86_64/sysdep.h: Likewise.
48022
00bbd29b
UD
48023 * argp/Versions: Remove _argp_unlock_xxx.
48024
48025 [BZ #13559]
48026 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48027 * abilist/libBrokenLocale.abilist: Likewise.
48028 * abilist/libanl.abilist: Likewise.
48029 * abilist/libc.abilist: Likewise.
48030 * abilist/libcrypt.abilist: Likewise.
48031 * abilist/libdl.abilist: Likewise.
48032 * abilist/libm.abilist: Likewise.
48033 * abilist/libnsl.abilist: Likewise.
48034 * abilist/libpthread.abilist: Likewise.
48035 * abilist/libresolv.abilist: Likewise.
48036 * abilist/librt.abilist: Likewise.
48037 * abilist/libthread_db.abilist: Likewise.
48038 * abilist/libutil.abilist: Likewise.
48039 * abilist/libnss_db.abilist: New file.
48040
48041 * scripts/abilist.awk: Add support for indirect functions.
48042
a2693a0e
UD
48043 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48044
3f05895f
UD
48045 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48046
ecb6fb48
UD
48047 * shlib-versions: Remove entries for ports architectures.
48048
664f8cb9
UD
48049 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48050 files in ports.
48051 * elf/stackguard-macros.h: Remove support for IA-64.
48052 * elf/tst-auditmod1.c: Likewise.
48053 * sysdeps/generic/ldsodefs.h: Likewise.
48054
7ae81d88
UD
48055 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48056 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48057 configure files.
48058
bdeba135
UD
48059 [BZ #13552]
48060 * configure.in: Remove --enable-omitfp support.
48061 * FAQ.in: Adjust.
48062 * config.make.in: Likewise.
48063 * Makeconfig: Likewise.
48064 * manual/install.texi: Likewise.
48065
d75a0a62
UD
48066 In case anyone cares, the IA-64 architecture could move to ports.
48067 * sysdeps/ia64/*: Removed.
48068 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 48069 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 48070
dcc9756b
UD
48071 [BZ #13555]
48072 * configure.in: Remove entries for unsupported architectures.
48073
d3761ebc 48074 [BZ #13533]
9954432e
UD
48075 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48076 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48077 routines.
48078 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48079 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48080 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48081 fall back to using wcrtomb.
48082 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48083 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48084 renaming.
48085 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48086 * wcsmbs/tst-c16c32-1.c: New file.
48087
48088 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48089 local variable.
48090
c3a87236
UD
48091 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48092
28926a1b
UD
48093 * elf/tst-unique3.cc: Add explicit declaration of gets.
48094 * elf/tst-unique3lib.cc: Likewise.
48095 * elf/tst-unique3lib2.cc: Likewise.
48096 * elf/tst-unique4.cc: Likewise.
48097
df78418a
UD
48098 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48099
8ecd6b2a
JM
481002012-01-06 Joseph Myers <joseph@codesourcery.com>
48101
48102 [BZ #13566]
48103 * assert/assert.h (static_assert): Don't define for C++.
48104 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48105 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48106
9f115170
UD
481072012-01-03 Ulrich Drepper <drepper@gmail.com>
48108
5e0d0300
UD
48109 * iconv/loop.c (single loop): Fix assertion in storing of
48110 remaining bytes.
48111
9f115170
UD
48112 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48113
81fb02b0
UD
481142012-01-01 Ulrich Drepper <drepper@gmail.com>
48115
48116 * posix/getconf.c: Update copyright year.
48117 * nss/getent.c: Likewise.
a316c1f6 48118 * nss/makedb.c: Likewise.
81fb02b0
UD
48119 * iconv/iconvconfig.c: Likewise.
48120 * iconv/iconv_prog.c: Likewise.
48121 * elf/ldconfig.c: Likewise.
a316c1f6
UD
48122 * elf/pldd.c: Likewise.
48123 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
48124 * catgets/gencat.c: Likewise.
48125 * csu/version.c: Likewise.
48126 * elf/ldd.bash.in: Likewise.
48127 * elf/sprof.c (print_version): Likewise.
48128 * locale/programs/locale.c: Likewise.
48129 * locale/programs/localedef.c: Likewise.
a316c1f6 48130 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
48131 * nscd/nscd.c (print_version): Likewise.
48132 * debug/xtrace.sh: Likewise.
48133 * malloc/memusage.sh: Likewise.
48134 * malloc/mtrace.pl: Likewise.
48135 * debug/catchsegv.sh: Likewise.
48136
2ba92745
JJ
481372011-12-30 Jakub Jelinek <jakub@redhat.com>
48138
48139 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48140 pure attribute.
48141
dadebdae
UD
481422011-12-24 Ulrich Drepper <drepper@gmail.com>
48143
d3761ebc 48144 [BZ #13533]
db6af3eb
UD
48145 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48146 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48147 transformations.
48148 * iconv/gconv_int.h: Likewise.
48149 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48150 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48151 from libc for GLIBC_2.16.
48152 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48153 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48154 * wcsmbs/uchar.h: Really define mbstate_t.
48155 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48156 * wcsmbs/c16rtomb.c: New file.
48157 * wcsmbs/mbrtoc16.c: New file.
48158 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48159 for C/POSIX locale.
48160 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48161 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48162
dadebdae
UD
48163 * wcsmbs/wchar.h: Add missing __restrict.
48164
67371b56
UD
481652011-12-23 Ulrich Drepper <drepper@gmail.com>
48166
74033a25
UD
48167 [BZ #13532]
48168 * time/Makefile (routines): Add timespec_get.
48169 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48170 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48171 timespec for ISO C11.
48172 * time/timespec_get.c: New file.
48173 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48174 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48175
380d7e87
UD
48176 [BZ #13531]
48177 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48178 * stdlib/stdlib.h: Declare aligned_alloc.
48179 * Versions.def: Add GLIBC_2.16 for libc.
48180 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48181
4e9e7a35
UD
48182 [BZ 13527]
48183 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48184 ISO C11.
48185
380d7e87 48186 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
48187 code.
48188
03a71829
UD
48189 [BZ #13528]
48190 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48191
839e283e
UD
48192 [BZ #13529]
48193 * assert/assert.h (static_assert): Define.
48194
ce5294e2 48195 * version.h: Update for 2.16 development version.
90fa7312 48196
8d44e150 48197 [BZ #13526]
d7809905
UD
48198 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48199 _ISOC11_SOURCE.
48200
c0da14cd
UD
48201 * version.h (RELEASE): Bump for 2.15 release.
48202 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48203
530a3249
MP
48204 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48205 Patch by Marek Polacek <mpolacek@redhat.com>.
48206
67371b56
UD
48207 * bits/byteswap.h: Protect long long constants with __extension__.
48208 * sysdeps/i386/bits/byteswap.h: Likewise.
48209 * sysdeps/ia64/bits/byteswap.h: Likewise.
48210 * sysdeps/s390/bits/byteswap.h: Likewise.
48211 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48212
15db4de1
LD
482132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48214
48215 [BZ #13540]
bbe315ea
LD
48216 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48217 destination buffer.
15db4de1
LD
48218 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48219
2b2596b1
MP
482202011-12-23 Marek Polacek <polacek@redhat.com>
48221
48222 * elf/dl-addr.c (determine_info): Add inline keyword.
48223 * elf/tst-auditmod4b.c (check_avx): Likewise.
48224 * elf/tst-auditmod6b.c (check_avx): Likewise.
48225 * elf/tst-auditmod6c.c (check_avx): Likewise.
48226 * elf/tst-auditmod7b.c (check_avx): Likewise.
48227
70c6c246
UD
482282011-12-23 Ulrich Drepper <drepper@gmail.com>
48229
48230 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48231 !__SSE_MATH__.
48232
c044cf14
LD
482332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48234
15db4de1 48235 [BZ #13540]
c044cf14
LD
48236 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48237 processing for last bytes.
48238
6b13d9d9
BH
482392011-08-06 Bruno Haible <bruno@clisp.org>
48240
d455f537
BH
48241 [BZ #13061]
48242 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48243 U+0385, not to U+1FEE.
48244
6b13d9d9
BH
48245 [BZ #13062]
48246 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48247 entry for U+00A5 U+0301.
48248
db910efd
UD
482492011-12-22 Ulrich Drepper <drepper@gmail.com>
48250
27deeafc
UD
48251 [BZ #13166]
48252 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48253 buffer for the output is too small.
48254
aed9d171
UD
48255 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48256 optimization.
48257
db910efd
UD
48258 [BZ #13185]
48259 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48260 SSE flags if possible.
48261
2bd779ae
LD
482622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48263
e7f9dac3 48264 [BZ #13540]
2bd779ae
LD
48265 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48266 processing for last bytes.
48267
154bfc16
JM
482682011-12-22 Joseph Myers <joseph@codesourcery.com>
48269
48270 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48271 (syscall-list-default-options, syscall-list-default-condition)
48272 (syscall-list-includes): Define.
48273 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48274 list of ABIs and options and #if conditions for each ABI. Do not
48275 handle common syscalls between ABIs specially.
48276 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48277 Remove.
48278 (syscall-list-variants, syscall-list-32bit-options)
48279 (syscall-list-32bit-condition, syscall-list-64bit-options)
48280 (syscall-list-64bit-condition): Define.
48281 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48282 (syscall-list-variants, syscall-list-32bit-options)
48283 (syscall-list-32bit-condition, syscall-list-64bit-options)
48284 (syscall-list-64bit-condition): Define.
48285 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48286 Remove.
48287 (syscall-list-variants, syscall-list-32bit-options)
48288 (syscall-list-32bit-condition, syscall-list-64bit-options)
48289 (syscall-list-64bit-condition): Define.
48290 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48291 Remove.
48292 (syscall-list-variants, syscall-list-32bit-options)
48293 (syscall-list-32bit-condition, syscall-list-64bit-options)
48294 (syscall-list-64bit-condition): Define.
48295
21eaf3a5
UD
482962011-12-22 Ulrich Drepper <drepper@gmail.com>
48297
16c6f992
UD
48298 * locale/iso-639.def: Add brx entry.
48299
41043168
UD
48300 [BZ #13328]
48301 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48302 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48303
21eaf3a5
UD
48304 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48305 __feraiseexcept_renamed.
48306
e3a851a2
UD
483072011-12-21 Ulrich Drepper <drepper@gmail.com>
48308
4920765e
UD
48309 [BZ #13538]
48310 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48311 EPOLLET with unsigned values.
48312 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48313 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48314
e3a851a2
UD
48315 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48316 to large cancellation.
48317 * math/s_cacoshf.c: Likewise.
48318 * math/s_cacoshl.c: Likewise.
48319
b27e24b8
RK
483202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48321
48322 [BZ #13305]
aebefeee 48323 [BZ #12786]
b27e24b8
RK
48324 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48325 * math/s_cacoshf.c: Likewise.
48326 * math/s_cacoshl.c: Likewise.
48327
ee190f67
UD
483282011-12-21 Ulrich Drepper <drepper@gmail.com>
48329
48330 [BZ #13439]
48331 * iconv/gconv.h: Define __GCONV_SWAP.
48332 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48333 * iconvdata/utf-16.c: Likewise.
48334 * iconvdata/utf-32.c: Likewise.
48335
707f25df
AS
483362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48337
48338 [BZ #13524]
48339 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48340 numerator after shifting it by one limb.
48341
d2daaa1e
RÁE
483422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48343
48344 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48345 under [__USE_EXTERN_INLINES].
48346
a4647e72
UD
483472011-12-17 Ulrich Drepper <drepper@gmail.com>
48348
48349 [BZ #13446]
48350 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48351
f0b264f1
AZ
483522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48353
48354 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48355 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48356 optimized code.
48357 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48358 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48359 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48360 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48361 for strncasecmp/strncasecmp_l compilation.
48362 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48363 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48364
8ef4f244
MP
483652011-12-08 Marek Polacek <mpolacek@redhat.com>
48366
48367 [BZ #13484]
48368 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48369 of __asm__.
48370
97ac2654
UD
483712011-12-17 Ulrich Drepper <drepper@gmail.com>
48372
48373 [BZ #13506]
48374 * time/tzfile.c (__tzfile_read): Check values from file header.
48375
91d2a845
WS
483762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48377
48378 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48379 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48380 * powerpc/powerpc32/dl-start.S: Likewise.
48381 * powerpc/powerpc32/elf/start.S: Likewise.
48382 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48383 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48384 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48385 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48386 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48387 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48388 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48389 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48390 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48391 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48392 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48393 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48394 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48395 * powerpc/powerpc32/memset.S: Likewise.
48396 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48397 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48398 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48399 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48400 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48401 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48402 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48403 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48404 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48405 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48406 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48407 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48408 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48409
a1267ba1
AZ
484102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48411
48412 * math/libm-test.inc: Added more nearbyint tests.
48413 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48414 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48415 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48417
ad8ac1bd
RL
484182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48419
48420 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48421 FD_CLOEXEC.
48422
1d3e4b61
UD
484232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48424
48425 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48426 Add wcscpy-ssse3 wcscpy-c.
48427 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48428 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48429 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48430 * sysdeps/x86_64/wcschr.S: New file.
48431 * sysdeps/x86_64/wcsrchr.S: New file.
48432 * string/test-strcmp.c: Remove checking of wcscmp function for
48433 wrong alignments.
48434 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48435 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48436 wcsrchr-sse2 wcsrchr-c.
48437 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48438 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48439 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48440 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48441 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48442 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48443 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48444 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48445 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48446 * wcsmbc/wcschr.c (WCSCHR): New macro.
48447
5b330a2d
UD
484482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48449
48450 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48451 * wcsmbs/test-wcsrchr.c: New file.
48452 * string/test-strrchr.c: Add wcsrchr support.
48453 (WIDE): New macro.
48454 * wcsmbs/test-wcscpy.c: New file.
48455 * string/test-strcpy.c: Add wcscpy support.
48456 (WIDE): New macro.
26428b7c 48457
f039c043
UD
484582011-12-10 Ulrich Drepper <drepper@gmail.com>
48459
48460 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48461 the inner loop.
48462
850fb039
AS
484632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48464
48465 [BZ #13472]
48466 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48467
4efbd5cb
UD
484682011-12-04 Ulrich Drepper <drepper@gmail.com>
48469
52ff5dd0 48470 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 48471 Minor optimizations.
52ff5dd0 48472
4efbd5cb
UD
48473 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48474 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48475 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48476
8a426e12
UD
484772011-12-03 Ulrich Drepper <drepper@gmail.com>
48478
aff2453d
UD
48479 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48480 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48481 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48482 for gcc to avoid warnings.
48483 * inet/Makefile (tests): Add tst-checks.
48484 * inet/tst-checks.c: New file.
48485
48486 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48487 warning.
48488
48489 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48490 __wmemcmp_sse2.
48491
48492 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48493 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48494
8a426e12
UD
48495 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48496
9bea3473
UD
484972011-12-02 Ulrich Drepper <drepper@gmail.com>
48498
3a965496
UD
48499 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48500 problem.
48501
9bea3473
UD
48502 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48503
f101631b
UD
485042011-11-29 Joseph Myers <joseph@codesourcery.com>
48505
48506 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48507 conditional on GCC version.
48508 (__arch_compare_and_exchange_val_8_acq)
48509 (__arch_compare_and_exchange_val_16_acq)
48510 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48511 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48512 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48513
a98275aa
UD
485142011-12-02 Joseph Myers <joseph@codesourcery.com>
48515
48516 * sysdeps/sh/backtrace.c: New file.
48517
d4cc29a2
AS
485182011-12-02 Andreas Schwab <schwab@redhat.com>
48519
48520 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48521 parenthesis.
48522
6257af2d
AS
485232011-12-01 Andreas Schwab <schwab@redhat.com>
48524
48525 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48526 falling back to utime.
48527
b5f44c1a
AS
485282011-11-30 Andreas Schwab <schwab@redhat.com>
48529
48530 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48531 expectations for float.
48532
f3a6cc0a
AS
485332011-11-29 Andreas Schwab <schwab@redhat.com>
48534
48535 * locale/weight.h (findidx): Add parameter len.
48536 * locale/weightwc.h (findidx): Likewise.
48537 * posix/fnmatch_loop.c (FCT): Adjust caller.
48538 * posix/regcomp.c (build_equiv_class): Likewise.
48539 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48540 * posix/regexec.c (check_node_accept_bytes): Likewise.
48541 * string/strcoll_l.c (STRCOLL): Likewise.
48542 * string/strxfrm_l.c (STRXFRM): Likewise.
48543
9d65ea3a
UD
485442011-11-17 Ulrich Drepper <drepper@gmail.com>
48545
48546 * Makefile.in: Remove CVSOPT handling.
48547 * configure.in: Remove use of AC_REVISION.
48548 * iconvdata/Makefile (distribute): No need to filter out CVS.
48549 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48550 handling.
48551
5583a086
AS
485522011-11-16 Andreas Schwab <schwab@redhat.com>
48553
48554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48555 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48556 [USE_AS_STRNCASECMP_L]: Likewise.
48557 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48558 NO_TLS_DIRECT_SEG_REFS.
48559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48560 Fix argument offsets for non-PIC.
48561 [USE_AS_STRNCASECMP_L]: Likewise.
48562 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48563 NO_TLS_DIRECT_SEG_REFS.
48564
d62a8200
UD
485652011-11-15 Ulrich Drepper <drepper@gmail.com>
48566
9d65ea3a 48567 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
48568 O_CLOEXEC.
48569 * locale/loadlocale.c (_nl_load_locale): Likewise.
48570
09f93bd3
AS
485712011-11-15 Andreas Schwab <schwab@redhat.com>
48572
446514f9
AS
48573 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48574 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48575 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48576 (SYSCALL_GETTIME): Set errno on error.
48577
09f93bd3
AS
48578 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48579 count references to noai6ai_cached.
48580
312be3f9
UD
485812011-11-15 Ulrich Drepper <drepper@gmail.com>
48582
48583 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48584
48585 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48586 FD_CLOEXEC for /proc/self/maps.
48587
48588 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48589 FD_CLOEXEC for /proc/meminfo.
48590
48591 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48592 gai.conf.
48593
48594 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48595 FD_CLOEXEC for given file.
48596
48597 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48598
48599 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48600 FD_CLOEXEC for /etc/hosts.
48601 (_gethtent): Likewise.
48602
48603 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48604
48605 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48606 cancellation and set FD_CLOEXEC for /etc/netgroup.
48607
48608 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48609 reading /etc/publickey.
48610
48611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48612 allow cancellation when reading /etc/group.
48613
48614 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48615 cancellation.
48616 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48617
48618 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48619 when using data file.
48620
48621 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48622
48623 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48624 (write_nis_obj): Use "c" and "e" in fopen.
48625
48626 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48627
48628 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48629
48630 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48631
48632 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48633
48634 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48635 locale.alias.
48636
48637 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48638
48639 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48640
48641 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48642
48643 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48644 file parsing and set FD_CLOEXEC.
48645
82af0fa8
UD
486462011-11-14 Ulrich Drepper <drepper@gmail.com>
48647
48648 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48649
a5fb313c
AS
486502011-11-14 Andreas Schwab <schwab@redhat.com>
48651
48652 * malloc/arena.c (arena_get2): Don't call reused_arena when
48653 _int_new_arena failed.
48654
6abf3465
UD
486552011-11-14 Ulrich Drepper <drepper@gmail.com>
48656
48657 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48658 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48659 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48660 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48661 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48662 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48663 to compile strcasecmp and strncasecmp.
48664 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48665 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48666
48667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48668
76e3966e
UD
486692011-11-13 Ulrich Drepper <drepper@gmail.com>
48670
48671 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48672 locale-defines.sym to gen-as-const-headers.
48673 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48674 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48676 to compile strcasecmp and strncasecmp.
48677 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48678 strcasecmp_l and strncasecmp_l.
48679 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48680 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48681 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48682 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48683 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48684 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48685 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48686 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48687 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48688 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48689 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48690
ab26144e
UD
486912011-11-12 Ulrich Drepper <drepper@gmail.com>
48692
7edb22ef
UD
48693 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48694 result of SYSDEP_GETTIME_CPU to retval.
48695 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48696 parameter list to macro. Remove trailing semicolon. Adjust users.
48697
9694fc44
UD
48698 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48699 variable.
48700
8ad89ef8
UD
48701 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48702 mantissa words.
48703 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48704
0c822ef9
UD
48705 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48706 from unused variable.
48707
874e0564
UD
48708 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48709 DWARF definitions.
48710 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48711 for assembling.
48712
3a2edc79
UD
48713 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48714 over namespaces.
48715
f3c2577f
UD
48716 * sunrpc/rpc_prot.c (rejected): Fix case value.
48717
294ce126
UD
48718 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48719 unsigned long long int to avoid warnings in shift.
48720
5e2b63c6
UD
48721 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48722 of use of trans.
48723 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48724 variable tmp.
48725
e7f4b08e
UD
48726 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48727 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48728 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48729
ab26144e
UD
48730 * nis/nis_table.c (nis_list): Use variable of correct type for
48731 result of __follow_path call.
48732
8a6d5255
AZ
487332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48734
48735 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48736 of math functions ceil, trunc, floor, round, and sqrt, when
48737 avaliable on the platform.
48738 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48739 name clash.
48740 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48741 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48742 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48743
aaddc98c
MP
487442011-10-30 Marek Polacek <mpolacek@redhat.com>
48745
48746 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48747 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48748
95b7042b
RM
487492011-11-11 Roland McGrath <roland@hack.frob.com>
48750
48751 * include/unistd.h: Fix __readlink return type.
48752 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48753
57769839
UD
487542011-11-11 Ulrich Drepper <drepper@gmail.com>
48755
48756 * stdlib/ucontext.h: Undo last change for makecontext.
48757
edc5984d
AS
487582011-11-11 Andreas Schwab <schwab@redhat.com>
48759
98591e58
AS
48760 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48761
edc5984d
AS
48762 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48763 * setjmp/setjmp.h: Mark functions as non-leaf.
48764 * setjmp/bits/setjmp2.h: Likewise.
48765 * stdlib/ucontext.h: Likewise.
48766
77cdc054
AS
487672011-11-10 Andreas Schwab <schwab@redhat.com>
48768
48769 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48770 (reused_arena): Don't check arena limit.
48771 (arena_get2): Atomically check arena limit.
48772
fe72eebd
UD
487732011-11-08 Ulrich Drepper <drepper@gmail.com>
48774
5f078c32
UD
48775 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48776 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48777
fe72eebd
UD
48778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48779 instructions.
48780
ae1bc2fa
AS
487812011-11-07 Andreas Schwab <schwab@redhat.com>
48782
7583a88d
AS
48783 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48784 handler when locking.
48785
ae1bc2fa
AS
48786 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48787 Fix size of allocated buffer.
48788
10fb0bfa
AS
487892011-11-04 Andreas Schwab <schwab@redhat.com>
48790
998832a4
AS
48791 [BZ #10103]
48792 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48793 declarations for long double functions.
48794 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48795
10fb0bfa
AS
48796 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48797
3d7ba52b
AS
487982011-11-03 Andreas Schwab <schwab@redhat.com>
48799
a9ae54a1
AS
48800 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48801 installed.
48802
3d7ba52b
AS
48803 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48804 is disabled.
48805
bc8db248
ST
488062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48807
48808 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48809
45b96dd6
AS
488102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48811
647776f6
AS
48812 * include/alloca.h (stackinfo_alloca_round): Define.
48813 (extend_alloca): Use it.
48814 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48815 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48816 here.
48817
d91a8b93
AS
48818 * scripts/check-local-headers.sh: Ignore libaudit.h.
48819
45b96dd6
AS
48820 * nscd/Makefile (extra-objs): Make recursively expanded.
48821
432d41ce
UD
488222011-11-01 Ulrich Drepper <drepper@gmail.com>
48823
34372fc6
UD
48824 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48826
fadb59f8
UD
48827 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48828 * posix/tst-rfc3484-2.c: Likewise.
48829 * posix/tst-rfc3484-3.c: Likewise.
48830
78239589
UD
48831 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48832 process_vm_writev.
48833 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48834 process_vm_writev.
48835 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48836 process_vm_writev from libc using GLIBC_2.15 version.
48837
432d41ce
UD
48838 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48839
02f9c6cf
PP
488402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48841
48842 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48843 stack usage.
48844
3a2c0242
UD
488452011-10-31 Ulrich Drepper <drepper@gmail.com>
48846
f4ec4833
UD
48847 [BZ #13367]
48848 * nss/getent.c (initgroups_keys): Show error message in case no group
48849 names are given.
48850
3a2c0242
UD
48851 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48852 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48853 __bump_nl_timestamp.
48854 * nscd/connections (nscd_init): When host database is served open
48855 netlink socket and request notification about configuration changes.
48856 (main_loop_poll): Track netlink file descriptor and bump timestamp
48857 in case data becomes available.
48858 (main_loop_epoll): Likewise.
48859 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48860 (database_pers_head): Add extra_data fileds.
48861 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48862 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48863 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48864 Adjust caller.
48865 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48866 in6ai data, call __free_in6ai.
48867 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48868 Add -DHAVE_NETLINK.
48869 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48870 interface information. Reuse previous data if netlink timestamp
48871 is not changed.
48872 (__bump_nl_timestamp): New function.
48873 (__free_in6ai): New function.
48874
636064eb
UD
488752011-10-30 Ulrich Drepper <drepper@gmail.com>
48876
48877 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48878 close_not_cancel_no_status here.
48879 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48880
9beb2334
UD
488812011-10-29 Ulrich Drepper <drepper@gmail.com>
48882
6ef76f3b
UD
48883 [BZ #13276]
48884 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48885 return value.
48886
0ffc4f3e 48887 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
48888 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48889 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48890
cb95113e
UD
488912011-07-03 Andreas Jaeger <aj@suse.de>
48892
48893 [BZ #10709]
48894 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48895 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48896 * math/libm-test.inc (sin_test): Add test case.
48897
a1b560ff
UD
488982011-10-29 Ulrich Drepper <drepper@gmail.com>
48899
c9aaface
UD
48900 [BZ #13337]
48901 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48902 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48903
d272e7f1
UD
48904 * elf/chroot_canon.c (chroot_canon): Cleanups.
48905
1bc33071
UD
48906 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48907
1760874d
TJ
48908 [BZ #13335]
48909 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48910 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48911
51d91b18
UD
48912 * string/test-strchr.c: Make usable for strchrnul testing.
48913 * string/test-strchrnul.c: New file.
48914 * string/Makefile (strop-tests): Add strchrnul.
48915
a1b560ff 48916 * po/it.po: Update from translation team.
b611fb81 48917 * po/es.po: Likewise.
a1b560ff 48918
a5b81e1f
UD
489192011-10-28 Ulrich Drepper <drepper@gmail.com>
48920
fd52bc6d
UD
48921 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48922 the three constants needed as parameters. Drop the others.
48923 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48924 __m128i_strloadu_tolower.
52e4b9eb
UD
48925 Create and initialize variable zero and use it in all the places
48926 where _mm_setzero_si128 was used.
fd52bc6d 48927
a5b81e1f
UD
48928 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48929 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48930 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48931 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48932 anymore.
48933 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48934 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48935 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48936 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48937 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48938 __mpranred, __mptan.
48939 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48940 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48941 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48942 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48943 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48944 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48945 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48946 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48947 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48948
b4343346
AS
489492011-10-28 Andreas Schwab <schwab@redhat.com>
48950
0c92d8a8
AS
48951 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48952 redefine if SHARED.
48953 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48954
b4343346
AS
48955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48956 wide char related routines to wcsmbs subdir.
48957
3871f58f
AS
489582011-10-27 Andreas Schwab <schwab@redhat.com>
48959
48960 [BZ #13344]
48961 * misc/sys/cdefs.h (__THROWNL): Define.
48962 * posix/unistd.h: Use __THREADNL instead of __THREAD
48963 for memory synchronization functions.
48964
94d44d9f
RM
489652011-10-26 Roland McGrath <roland@hack.frob.com>
48966
21b64b15 48967 [BZ #13349]
94d44d9f
RM
48968 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48969 doesn't exist.
48970 * manual/stdio.texi (Obstack Streams): Node removed.
48971
f6ce9294
AS
489722011-10-26 Andreas Schwab <schwab@redhat.com>
48973
80479147
AS
48974 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48975 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48976 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48977
f6ce9294
AS
48978 * math/math_private.h (math_force_eval): Allow non-addressable
48979 arguments.
48980 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48981
618280a1
UD
489822011-10-25 Ulrich Drepper <drepper@gmail.com>
48983
e0016b11
UD
48984 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48985 file is not needed.
48986
48987 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48989 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48990 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48991 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48992 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48993 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48994 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48995 Add AVX variants.
48996 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48997 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48998 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48999 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49000 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49001 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49002 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49003 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49004 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49005 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49006 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49007 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49008 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49009 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49010 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49011 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49012 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49013 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49014 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49015
49016 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49017 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49018
618280a1
UD
49019 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49020 place. Use VEX encoding when compiling for AVX.
49021
37822576
AS
490222011-10-25 Andreas Schwab <schwab@redhat.com>
49023
1f1e1947
AS
49024 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49025 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49026
37822576
AS
49027 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49028
31ea014d
UD
490292011-10-25 Ulrich Drepper <drepper@gmail.com>
49030
d7826aa1 49031 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 49032 useless if() expression.
d7826aa1
UD
49033 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49034 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49035 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49036 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49037 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49038 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49039 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49040 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49041 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49042 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49043 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49044 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49045 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49046 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49047 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49048 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49049 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49050 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49051 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49052
31ea014d
UD
49053 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49054
16437fec
AS
490552011-10-25 Andreas Schwab <schwab@redhat.com>
49056
49057 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49058 condition.
49059 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49060
31d3cc00
UD
490612011-10-25 Ulrich Drepper <drepper@gmail.com>
49062
49063 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49064 .text section. Avoid duplicate constants.
49065 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49067 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49069 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49073 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49074 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49075 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49076 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49077 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49078 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49079 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49080 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49081 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49082 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49083 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49085 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49086 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49087 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49088 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49089 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49090 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49091 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49092 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49093 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49094 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49095 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49096 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49097 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49098 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49099 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49100 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49101 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49102 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49103 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49104 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49105 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49106 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49107 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49108 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49109 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49110
58985aa9
UD
491112011-10-24 Ulrich Drepper <drepper@gmail.com>
49112
202c9deb
UD
49113 * sysdeps/x86_64/dla.h: Move to ...
49114 * sysdeps/x86_64/fpu/dla.h: ...here.
49115 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49116 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 49117
af968f62
UD
49118 * config.make.in: Add have-mfma4 entry.
49119 * configure.in: Substitute libc_cv_cc_fma4.
49120 * math/Makefile (dbl-only-routines): Add sincostab.
49121 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49122 Use __sincostab not sincos.
49123 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49124 name is a macro.
49125 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49128 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49129 using __copysign.
49130 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49131 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49132 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49133 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49134 and __inv.
49135 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49136 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49137 __copysign.
49138 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49139 define aliases when function name is a macro.
49140 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49141 sysdeps/ieee754/dbl-64/sincos.tbl.
49142 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49143 fma4-enabled routines.
49144 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49145 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49146 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49147 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49148 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49149 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49150 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49151 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49153 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49154 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49155 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49156 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49157 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49158 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49159 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49160 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49161 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49162 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49163 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49164 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49165 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49166 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49167 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49169 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49171 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49172 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49173 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49174
58985aa9
UD
49175 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49176 rename.
49177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49185
a201fbcf
AS
491862011-10-24 Andreas Schwab <schwab@redhat.com>
49187
49188 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49189
fc2ee42a
LD
491902011-10-23 Ulrich Drepper <drepper@gmail.com>
49191
bb3129bd
UD
49192 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49193
0275fff8
UD
49194 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49195 prediction.
49196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49197
2fa2ae85
UD
49198 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49199 Remove unused variable magic_bits.
49200 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49201
fc2ee42a
LD
49202 * string/strnlen.c: Define and use STRNLEN macro.
49203 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49204 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49205 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49206 * wcsmbs/wcslen.c: Define and use WCSLEN.
49207 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49208 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49209 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49210 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49211 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49212 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49213 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49214
ce7dd29f
LD
492152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49216
49217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49218 strnlen-sse2-no-bsf.
49219 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49221 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49222 Add strnlen support.
49223 (USE_AS_STRNLEN): New macro.
49224 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49225 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49226 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49227 * sysdeps/x86_64/wcslen.S: New file.
49228
979c70a3
MZ
492292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49230
49231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49232 XMM-moves are used for copying on small sizes.
49233
2d09f82f
LD
492342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49235
49236 * wcsmbs/Makefile (strop-tests): Add wcschr.
49237 * wcsmbs/test-wcschr.c: New file.
49238 * string/test-strchr.c: Update.
49239 Add wcschr support.
49240 (WIDE): New macro.
49241
619fccca
LD
492422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49243
2d09f82f 49244 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
49245 * wcsmbs/test-wcslen.c: New file.
49246 * string/test-strlen.c: Update.
49247 Add wcslen support.
49248 (WIDE): New macro.
49249
09f699ea
UD
492502011-10-23 Ulrich Drepper <drepper@gmail.com>
49251
49252 * po/it.po: Update from translation team.
49253
95584d3b
LD
492542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49255
49256 * sysdeps/x86_64/wcscmp.S: Update.
49257 Fix wrong comparison semantics.
49258 wcscmp shall use signed comparison not unsigned.
49259 Don't use substraction to avoid overflow bug.
49260 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49261 * wcsmbc/wcscmp.c: Likewise.
49262 * string/test-strcmp.c: Likewise.
49263 Add new tests to check cases with negative values.
49264
c8b3296b
UD
492652011-10-23 Ulrich Drepper <drepper@gmail.com>
49266
49267 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49268 * sysdeps/x86_64/dla.h: ...here. New file.
49269 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49270 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49274 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49276 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49278
246ad57a
AS
492792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49280
49281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49282 __ynl_finite aliases.
49283
a1a87169
UD
492842011-10-22 Ulrich Drepper <drepper@gmail.com>
49285
0d355eb7
UD
49286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49287
a1a87169
UD
49288 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49289 define DLA_FMA.
49290 [DLA_FMA] (EMULV): Use DLA_FMA.
49291 [DLA_FMA] (MUL12): Use EMULV.
49292 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49293 that are not needed.
49294 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49299 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49300 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49301
ee2aafe0
AS
493022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49303
49304 * math/s_nan.c: Undef __nan.
49305 * math/s_nanf.c: Undef __nanf.
49306 * math/s_nanl.c: Undef __nanl.
49307 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49308 "math_private.h".
49309
bc62c2fb
UD
493102011-10-22 Ulrich Drepper <drepper@gmail.com>
49311
77425c63
UD
49312 * math/s_catan.c: Add branch predictions.
49313 * math/s_catanf.c: Likewise.
49314 * math/s_catanh.c: Likewise.
49315 * math/s_catanhf.c: Likewise.
49316 * math/s_catanhl.c: Likewise.
49317 * math/s_catanl.c: Likewise.
49318 * math/s_cexp.c: Likewise.
49319 * math/s_cexpf.c: Likewise.
49320 * math/s_cexpl.c: Likewise.
49321 * math/s_clog.c: Likewise.
49322 * math/s_clog10.c: Likewise.
49323 * math/s_clog10f.c: Likewise.
49324 * math/s_clog10l.c: Likewise.
49325 * math/s_clogf.c: Likewise.
49326 * math/s_clogl.c: Likewise.
49327 * math/s_csqrt.c: Likewise.
49328 * math/s_csqrtf.c: Likewise.
49329 * math/s_csqrtl.c: Likewise.
49330 * math/s_ctanf.c: Likewise.
49331 * math/s_ctanh.c: Likewise.
49332 * math/s_ctanhf.c: Likewise.
49333 * math/s_ctanhl.c: Likewise.
49334 * math/s_ctanl.c: Likewise.
49335
bc62c2fb
UD
49336 * math/math_private.h: Define __nan, __nanf, __nanl.
49337 * math/s_cacosh.c: Include <math_private.h>.
49338 * math/s_cacoshl.c: Likewise.
49339 * math/s_casinh.c: Likewise.
49340 * math/s_casinhf.c: Likewise.
49341 * math/s_casinhl.c: Likewise.
49342 * math/s_ccos.c: Rely entire on ccosh.
49343 * math/s_ccosf.c: Rely entire on ccoshf.
49344 * math/s_ccosl.c: Rely entirely on ccoshl.
49345 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49346 Remove tests for FE_INVALID.
49347 * math/s_ccoshf.c: Likewise.
49348 * math/s_ccoshl.c: Likewise.
49349 * math/s_csin.c: Likewise.
49350 * math/s_csinf.c: Likewise.
49351 * math/s_csinh.c Likewise.
49352 * math/s_csinhf.c: Likewise.
49353 * math/s_csinhl.c: Likewise.
49354 * math/s_csinl.c: Likewise.
49355 * math/s_ctan.c: Likewise.
49356 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49357 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49359
8ec250a4
UD
493602011-10-21 Ulrich Drepper <drepper@gmail.com>
49361
c196fed8
UD
49362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49363 compilation problems.
49364
8ec250a4
UD
49365 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49366 __builtin_expect.
49367
8d4f46c6
UD
493682011-10-20 Ulrich Drepper <drepper@gmail.com>
49369
ed72b654
UD
49370 * sysdeps/i386/configure.in: Test for -mfma4 option.
49371 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49372 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49373 COMMON_CPUID_INDEX_80000001.
49374 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49375 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49376 use it if FMA3 is not supported.
49377 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49378
8d4f46c6
UD
49379 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49380 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49381
d45c60c2
AS
493822011-10-20 Andreas Schwab <schwab@redhat.com>
49383
49384 [BZ #12892]
49385 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49386 it would create a cycle with a link time dependency.
49387
d9a4d2ab
UD
493882011-10-19 Ulrich Drepper <drepper@gmail.com>
49389
855d1560
UD
49390 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49391 instruction.
49392 * string/Makefile (strop-tests): Add rawmemchr.
49393 * string/test-rawmemchr.c: New file.
49394
d9a4d2ab
UD
49395 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49396 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49397 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49398 when compiling str{,n}casecmp and when AVX is available. Hook up
49399 new optimized code in initializers.
49400
8f3b1ffe
AS
494012011-10-19 Andreas Schwab <schwab@redhat.com>
49402
49403 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49404 __feraiseexcept instead of feraiseexcept.
49405
d38f1dba
UD
494062011-10-18 Ulrich Drepper <drepper@gmail.com>
49407
d9a8d0ab
UD
49408 * math/math_private.h: Define defaults for libc_fetestexcept and
49409 libc_feupdateenv.
49410 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49411 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49412 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49413 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49414 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49415 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49416 libc_fetestexcept and libc_feupdateenv.
49417
4855e3dd
UD
49418 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49419 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49420 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49421 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49422 libc_feholdexcept_setround.
49423
581d30e3
UD
49424 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49425 Add s_nearbyint-c and s_nearbyintf-c.
49426 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49427 nearbyintf inlines.
49428 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49429 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49430 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49431 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49432
d38f1dba
UD
49433 * math/math_private.h: Define defaults for libc_fegetround,
49434 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49435 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49436 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49437 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49438 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49439 standard functions.
49440 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49441 Remove comments and hacks for old compiler versions.
49442 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49443 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49444 libc_feholdexceptl.
49445
caa6c9d8
AS
494462011-10-18 Andreas Schwab <schwab@redhat.com>
49447
49448 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
49449 (__feraiseexcept_renamed): Add __NTH.
49450 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
49451 namespace violations.
49452
97c066e6
UD
494532011-10-17 Ulrich Drepper <drepper@gmail.com>
49454
99ce7b04
UD
49455 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49456
1004d182
UD
49457 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49458
228a984d
UD
49459 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49460 recently added interfaces.
49461 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49462
c8553a6a
UD
49463 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49464 about macro parameter expansion.
49465
ed22dcf6
UD
49466 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49467 __NO_MATH_INLINES is defined. Cleanups.
49468
49469 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49470 and __floorf is target has SSE4.1.
49471 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49472 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49473 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49474 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49475
b171c137
UD
49476 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49477 name.
49478 (floorf): Likewise.
49479
97c066e6
UD
49480 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49481
629f62ef
AS
494822011-10-17 Andreas Schwab <schwab@redhat.com>
49483
49a43d80
AS
49484 * misc/sys/cdefs.h: Fix last change.
49485
629f62ef
AS
49486 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49487 database lookup.
49488
e453f6cd
UD
494892011-10-16 Ulrich Drepper <drepper@gmail.com>
49490
aa78043a
UD
49491 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49492
ad0f5cad
UD
49493 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49494 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49495 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49496 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49498 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49499 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49500 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49501 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49502 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49503 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49504 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49505 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49506 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49507 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49508 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49509 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49510 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49511 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49512 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49513 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49514 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49515
49516 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49517 ceil, ceilf, floor, floorf.
49518
49519 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49520 Perform IRELATIVE relocations last.
49521
e453f6cd
UD
49522 * elf/do-rel.h: Add another parameter nrelative, replacing the
49523 local variable with the same name. Change name of the function
49524 to end in Rel or Rela (uppercase).
49525 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49526 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49527 elf_dynamic_do_##reloc function.
49528
fd5bdc09
UD
495292011-10-15 Ulrich Drepper <drepper@gmail.com>
49530
79b195b5
UD
49531 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49532 is sufficient, at least on modern CPUs.
49533
d4a28569
UD
49534 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49535
b61099b5
UD
49536 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49537 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49538
bcf01e6d
UD
49539 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49540 __expl_finite.
49541 * math/bits/math-finite.h: Add entries for exp.
49542 * math/e_expl.c: Add __*_finite alias.
49543 * sysdeps/i386/fpu/e_exp.S: Likewise.
49544 * sysdeps/i386/fpu/e_expf.S: Likewise.
49545 * sysdeps/i386/fpu/e_expl.c: Likewise.
49546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49547 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49548 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49549 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49550 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49551 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49552 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49553
ba1a0d59
UD
49554 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49555 is sufficient, at least on modern CPUs.
49556
fd5bdc09
UD
49557 * ctype/ctype-info.c (__ctype_init): Define.
49558 * include/ctype.h (__ctype_init): Declare.
49559 (__ctype_b_loc): The variable is always initialized.
49560 (__ctype_toupper_loc): Likewise.
49561 (__ctype_tolower_loc): Likewise.
49562 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49563 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49564
7872cfb0
AS
495652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49566
b468825a
AS
49567 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49568
7872cfb0
AS
49569 * configure.in: Also look in $cxxmachine/include for C++ system
49570 headers.
49571
be13f7bf
LD
495722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49573
49574 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49575 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49576 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49577 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49578 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49579 (USE_AS_WMEMCMP): New macro.
49580 Fixing indents.
49581 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49582 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49583 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49584 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49586 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49587 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49588 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49589 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49590 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49591 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49592 (USE_AS_WMEMCMP): New macro.
49593 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49594 * sysdeps/string/test-memcmp.c: Update.
49595 Fix simple_wmemcmp.
49596 Add new tests.
49597 * wcsmbs/wmemcmp.c: Update.
49598 (WMEMCMP): New macro.
49599 Fix overflow bug.
49600
556a2007
AJ
496012011-10-12 Andreas Jaeger <aj@suse.de>
49602
49603 [BZ #13268]
49604 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49605
538faaa7
UD
496062011-10-15 Ulrich Drepper <drepper@gmail.com>
49607
ab6737ff
UD
49608 * libio/iofwide.c (do_length): Avoid warning.
49609
538faaa7
UD
49610 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49611
396a21b1
UD
496122011-10-14 Ulrich Drepper <drepper@gmail.com>
49613
cdf2901f
UD
49614 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49615
38ad40ce
UD
49616 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49617 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49618 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49619 * sysdeps/i386/i686/fpu/e_log.S: New file.
49620 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49621 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49622
396a21b1
UD
49623 * ctype/ctype.h: Add support for inlined isXXX functions when
49624 compiling C++ code.
49625
6b1f68c9
AS
496262011-10-14 Andreas Schwab <schwab@redhat.com>
49627
349290c0
AS
49628 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49629
6b1f68c9
AS
49630 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49631
f2282d42
RM
496322011-10-13 Roland McGrath <roland@hack.frob.com>
49633
49634 [BZ #13291]
49635 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49636
5298ffa8
AS
496372011-10-13 Andreas Schwab <schwab@redhat.com>
49638
714fad23
AS
49639 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49640 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49641 feraiseexcept.
49642
81dcc7fb
AS
49643 * sysdeps/x86_64/memrchr.S: Check for zero size.
49644
5298ffa8
AS
49645 * string/stratcliff.c: Add memrchr tests.
49646
951fbcec
LD
496472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49648
49649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49650 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49651 rawmemchr-sse2 rawmemchr-sse2-bsf.
49652 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49653 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49654 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49655 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49656 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49657 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49658 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49659 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49660 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49661 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49662 * string/memrchr.c (MEMRCHR): New macro.
49663
0ac5ae23
UD
496642011-10-12 Ulrich Drepper <drepper@gmail.com>
49665
49666 Add integration with gcc's -ffinite-math-only and optimize wrapper
49667 functions in libm.
49668 * Versions.def: Define GLIBC_2.15 version for libm.
49669 * math/Makefile (headers): Add bits/math-finite.h.
49670 * math/bits/math-finite.h: New file.
49671 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49672 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49673 * math/e_acoshl.c: Add __*_finite alias.
49674 * math/e_acosl.c: Likewise.
49675 * math/e_asinl.c: Likewise.
49676 * math/e_atan2l.c: Likewise.
49677 * math/e_atanhl.c: Likewise.
49678 * math/e_coshl.c: Likewise.
49679 * math/e_exp10.c: Likewise.
49680 * math/e_exp10f.c: Likewise.
49681 * math/e_exp10l.c: Likewise.
49682 * math/e_exp2l.c: Likewise.
49683 * math/e_fmodl.c: Likewise.
49684 * math/e_gammal_r.c: Likewise.
49685 * math/e_hypotl.c: Likewise.
49686 * math/e_j0l.c: Likewise.
49687 * math/e_j1l.c: Likewise.
49688 * math/e_jnl.c: Likewise.
49689 * math/e_lgammal_r.c: Likewise.
49690 * math/e_log10l.c: Likewise.
49691 * math/e_log2l.c: Likewise.
49692 * math/e_logl.c: Likewise.
49693 * math/e_powl.c: Likewise.
49694 * math/e_sinhl.c: Likewise.
49695 * math/e_sqrtl.c: Likewise.
49696 * math/e_scalb.c: Completely rewritten and optimized.
49697 * math/e_scalbf.c: Likewise.
49698 * math/e_scalbl.c: Likewise.
49699 * math/w_acos.c: Likewise.
49700 * math/w_acosf.c: Likewise.
49701 * math/w_acosl.c: Likewise.
49702 * math/w_acosh.c: Likewise.
49703 * math/w_acoshf.c: Likewise.
49704 * math/w_acoshl.c: Likewise.
49705 * math/w_asin.c: Likewise.
49706 * math/w_asinf.c: Likewise.
49707 * math/w_asinl.c: Likewise.
49708 * math/w_atan2.c: Likewise.
49709 * math/w_atan2f.c: Likewise.
49710 * math/w_atan2l.c: Likewise.
49711 * math/w_atanh.c: Likewise.
49712 * math/w_atanhf.c: Likewise.
49713 * math/w_atanhl.c: Likewise.
49714 * math/w_exp10.c: Likewise.
49715 * math/w_exp10f.c: Likewise.
49716 * math/w_exp10l.c: Likewise.
49717 * math/w_fmod.c: Likewise.
49718 * math/w_fmodf.c: Likewise.
49719 * math/w_fmodl.c: Likewise.
49720 * math/w_j0.c: Likewise.
49721 * math/w_j0f.c: Likewise.
49722 * math/w_j0l.c: Likewise.
49723 * math/w_j1.c: Likewise.
49724 * math/w_j1f.c: Likewise.
49725 * math/w_j1l.c: Likewise.
49726 * math/w_jn.c: Likewise.
49727 * math/w_jnf.c: Likewise.
49728 * math/w_log.c: Likewise.
49729 * math/w_logf.c: Likewise.
49730 * math/w_logl.c: Likewise.
49731 * math/w_log10.c: Likewise.
49732 * math/w_log10f.c: Likewise.
49733 * math/w_log10l.c: Likewise.
49734 * math/w_log2.c: Likewise.
49735 * math/w_log2f.c: Likewise.
49736 * math/w_log2l.c: Likewise.
49737 * math/w_pow.c: Likewise.
49738 * math/w_powf.c: Likewise.
49739 * math/w_powl.c: Likewise.
49740 * math/w_remainder.c: Likewise.
49741 * math/w_remainderf.c: Likewise.
49742 * math/w_remainderl.c: Likewise.
49743 * math/w_scalb.c: Likewise.
49744 * math/w_scalbf.c: Likewise.
49745 * math/w_scalbl.c: Likewise.
49746 * math/w_sqrt.c: Likewise.
49747 * math/w_sqrtf.c: Likewise.
49748 * math/w_sqrtl.c: Likewise.
49749 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49750 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49751 used.
49752 * math/math_private.h: Declare __kernel_standard_f.
49753 * math/w_cosh.c: Remove cruft and optimize a bit.
49754 * math/w_coshf.c: Likewise.
49755 * math/w_coshl.c: Likewise.
49756 * math/w_exp2.c: Likewise.
49757 * math/w_exp2f.c: Likewise.
49758 * math/w_exp2l.c: Likewise.
49759 * math/w_hypot.c: Likewise.
49760 * math/w_hypotf.c: Likewise.
49761 * math/w_hypotl.c: Likewise.
49762 * math/w_lgamma.c: Likewise.
49763 * math/w_lgamma_r.c: Likewise.
49764 * math/w_lgammaf.c: Likewise.
49765 * math/w_lgammaf_r.c: Likewise.
49766 * math/w_lgammal.c: Likewise.
49767 * math/w_lgammal_r.c: Likewise.
49768 * math/w_sinh.c: Likewise.
49769 * math/w_sinhf.c: Likewise.
49770 * math/w_sinhl.c: Likewise.
49771 * math/w_tgamma.c: Likewise.
49772 * math/w_tgammaf.c: Likewise.
49773 * math/w_tgammal.c: Likewise.
49774 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49775 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49776 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49777 Minor optimizations. Pretty printing. Remove cruft.
49778 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49779 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49780 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49781 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49782 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49783 * sysdeps/i386/fpu/e_asin.S: Likewise.
49784 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49785 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49786 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49787 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49788 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49789 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49790 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49791 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49792 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49793 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49794 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49795 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49796 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49797 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49798 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49799 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49800 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49801 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49802 * sysdeps/i386/fpu/e_log.S: Likewise.
49803 * sysdeps/i386/fpu/e_log10.S: Likewise.
49804 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49805 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49806 * sysdeps/i386/fpu/e_log2.S: Likewise.
49807 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49808 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49809 * sysdeps/i386/fpu/e_logf.S: Likewise.
49810 * sysdeps/i386/fpu/e_logl.S: Likewise.
49811 * sysdeps/i386/fpu/e_pow.S: Likewise.
49812 * sysdeps/i386/fpu/e_powf.S: Likewise.
49813 * sysdeps/i386/fpu/e_powl.S: Likewise.
49814 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49815 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49816 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49817 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49818 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49819 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49820 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49821 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49822 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49823 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49824 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49826 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49827 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49828 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49829 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49830 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49831 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49832 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49833 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49834 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49836 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49837 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49839 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49840 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49841 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49843 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49844 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49845 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49846 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49847 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49848 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49849 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49850 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49851 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49852 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49853 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49854 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49855 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49856 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49857 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49858 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49859 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49860 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49861 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49862 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49863 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49864 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49865 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49866 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49867 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49868 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49869 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49870 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49871 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49872 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49873 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49874 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49875 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49877 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49878 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49879 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49880 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49881 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49882 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49883 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49884 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49886 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49887 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49888 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49889 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49890 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49892 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49893 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49894 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49895 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49897 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49898 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49899 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49900 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49901 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49902 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49903 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49904 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49905 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49906 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49907 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49908 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49909 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49910 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49911 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49912 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49913 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49914 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49915 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49916 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49917 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49918 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49919 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49920 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49921 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49922 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49923 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49924 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49925 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49926 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49927 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49928 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49929 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49930 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49931 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49932 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49933 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49934 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49935 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49936 (__isnanf): Likewise.
49937 (__isinf_ns): Likewise.
49938 (__isinf_nsf): Likewise.
49939 (__finite): Likewise.
49940 (__finitef): Likewise.
49941 (__ieee754_sqrt): Define as macro.
49942 (__ieee754_sqrtf): Define as macro.
49943 (__ieee754_sqrtl): Define as macro.
49944 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49945 inlined copy.
49946 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49947 __FINITE_MATH_ONLY__ consistent.
49948 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49949
12cc2fcd
AS
499502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49951
a843a204
AS
49952 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49953 of rawmemchr.
49954
12cc2fcd
AS
49955 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49956
c853acd5
UD
499572011-10-09 Ulrich Drepper <drepper@gmail.com>
49958
49959 * po/ja.po: Update from translation team.
49960
c658d255
RM
499612011-10-08 Roland McGrath <roland@hack.frob.com>
49962
110946e4
RM
49963 * locale/programs/locarchive.c (prepare_address_space): New function.
49964 (create_archive, enlarge_archive, open_archive): Use it.
49965
50604220
RM
49966 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49967 inside [SHARED], where it is used.
49968
c658d255
RM
49969 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49970
49971 * nss/getent.c (netgroup_keys): Remove unused variable.
49972 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49973
6a621eb7
UD
499742011-10-08 Ulrich Drepper <drepper@gmail.com>
49975
7edb55ce
UD
49976 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49977 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49979 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49980 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49981 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49982 * math/Makefile (libm-calls): Add s_isinf_ns.
49983 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49984 * math/multc3.c: Likewise.
49985 * math/s_casin.c: Likewise.
49986 * math/s_casinf.c: Likewise.
49987 * math/s_casinl.c: Likewise.
49988 * math/s_ccos.c: Likewise.
49989 * math/s_ccosf.c: Likewise.
49990 * math/s_ccosl.c: Likewise.
49991 * math/s_ctan.c: Likewise.
49992 * math/s_ctanf.c: Likewise.
49993 * math/s_ctanh.c: Likewise.
49994 * math/s_ctanhf.c: Likewise.
49995 * math/s_ctanhl.c: Likewise.
49996 * math/s_ctanl.c: Likewise.
49997 * math/w_fmod.c: Likewise.
49998 * math/w_fmodf.c: Likewise.
49999 * math/w_fmodl.c: Likewise.
50000 * math/w_remainder.c: Likewise.
50001 * math/w_remainderf.c: Likewise.
50002 * math/w_remainderl.c: Likewise.
50003 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50004 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50005 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50007 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50008 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50009 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50010 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50011
187da0ae
UD
50012 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50013 of the number.
50014 * stdio-common/printf_fphex.c: Likewise.
50015 * stdio-common/printf_size.c: Likewise.
50016
9277c064
UD
50017 * math/e_exp10.c: Include math_private.h using <...> not "...".
50018 * math/e_exp10f.c: Likewise.
50019 * math/e_exp10l.c: Likewise.
50020 * math/e_exp2l.c: Likewise.
50021 * math/e_j0l.c: Likewise.
50022 * math/e_j1l.c: Likewise.
50023 * math/e_jnl.c: Likewise.
50024 * math/e_lgammal_r.c: Likewise.
50025 * math/e_rem_pio2l.c: Likewise.
50026 * math/e_scalb.c: Likewise.
50027 * math/e_scalbf.c: Likewise.
50028 * math/e_scalbl.c: Likewise.
50029 * math/k_cosl.c: Likewise.
50030 * math/k_sinl.c: Likewise.
50031 * math/k_tanl.c: Likewise.
50032 * math/s_cacoshf.c: Likewise.
50033 * math/s_catan.c: Likewise.
50034 * math/s_catanf.c: Likewise.
50035 * math/s_catanh.c: Likewise.
50036 * math/s_catanhf.c: Likewise.
50037 * math/s_catanhl.c: Likewise.
50038 * math/s_catanl.c: Likewise.
50039 * math/s_ccosh.c: Likewise.
50040 * math/s_ccoshf.c: Likewise.
50041 * math/s_ccoshl.c: Likewise.
50042 * math/s_cexp.c: Likewise.
50043 * math/s_cexpf.c: Likewise.
50044 * math/s_cexpl.c: Likewise.
50045 * math/s_clog.c: Likewise.
50046 * math/s_clog10.c: Likewise.
50047 * math/s_clog10f.c: Likewise.
50048 * math/s_clog10l.c: Likewise.
50049 * math/s_clogf.c: Likewise.
50050 * math/s_clogl.c: Likewise.
50051 * math/s_csin.c: Likewise.
50052 * math/s_csinf.c: Likewise.
50053 * math/s_csinh.c: Likewise.
50054 * math/s_csinhf.c: Likewise.
50055 * math/s_csinhl.c: Likewise.
50056 * math/s_csinl.c: Likewise.
50057 * math/s_csqrt.c: Likewise.
50058 * math/s_csqrtf.c: Likewise.
50059 * math/s_csqrtl.c: Likewise.
50060 * math/s_ctan.c: Likewise.
50061 * math/s_ctanf.c: Likewise.
50062 * math/s_ctanh.c: Likewise.
50063 * math/s_ctanhf.c: Likewise.
50064 * math/s_ctanhl.c: Likewise.
50065 * math/s_ctanl.c: Likewise.
50066 * math/s_ldexp.c: Likewise.
50067 * math/s_ldexpf.c: Likewise.
50068 * math/s_ldexpl.c: Likewise.
50069 * math/s_significand.c: Likewise.
50070 * math/s_significandf.c: Likewise.
50071 * math/s_significandl.c: Likewise.
50072 * math/w_acos.c: Likewise.
50073 * math/w_acosf.c: Likewise.
50074 * math/w_acosh.c: Likewise.
50075 * math/w_acoshf.c: Likewise.
50076 * math/w_acoshl.c: Likewise.
50077 * math/w_acosl.c: Likewise.
50078 * math/w_asin.c: Likewise.
50079 * math/w_asinf.c: Likewise.
50080 * math/w_asinl.c: Likewise.
50081 * math/w_atan2.c: Likewise.
50082 * math/w_atan2f.c: Likewise.
50083 * math/w_atan2l.c: Likewise.
50084 * math/w_atanh.c: Likewise.
50085 * math/w_atanhf.c: Likewise.
50086 * math/w_atanhl.c: Likewise.
50087 * math/w_cosh.c: Likewise.
50088 * math/w_coshf.c: Likewise.
50089 * math/w_coshl.c: Likewise.
50090 * math/w_dremf.c: Likewise.
50091 * math/w_exp10.c: Likewise.
50092 * math/w_exp10f.c: Likewise.
50093 * math/w_exp10l.c: Likewise.
50094 * math/w_exp2.c: Likewise.
50095 * math/w_exp2f.c: Likewise.
50096 * math/w_fmod.c: Likewise.
50097 * math/w_fmodf.c: Likewise.
50098 * math/w_fmodl.c: Likewise.
50099 * math/w_hypot.c: Likewise.
50100 * math/w_hypotf.c: Likewise.
50101 * math/w_hypotl.c: Likewise.
50102 * math/w_j0.c: Likewise.
50103 * math/w_j0f.c: Likewise.
50104 * math/w_j0l.c: Likewise.
50105 * math/w_j1.c: Likewise.
50106 * math/w_j1f.c: Likewise.
50107 * math/w_j1l.c: Likewise.
50108 * math/w_jn.c: Likewise.
50109 * math/w_jnf.c: Likewise.
50110 * math/w_jnl.c: Likewise.
50111 * math/w_lgamma.c: Likewise.
50112 * math/w_lgamma_r.c: Likewise.
50113 * math/w_lgammaf.c: Likewise.
50114 * math/w_lgammaf_r.c: Likewise.
50115 * math/w_lgammal.c: Likewise.
50116 * math/w_lgammal_r.c: Likewise.
50117 * math/w_log.c: Likewise.
50118 * math/w_log10.c: Likewise.
50119 * math/w_log10f.c: Likewise.
50120 * math/w_log10l.c: Likewise.
50121 * math/w_log2.c: Likewise.
50122 * math/w_log2f.c: Likewise.
50123 * math/w_log2l.c: Likewise.
50124 * math/w_logf.c: Likewise.
50125 * math/w_logl.c: Likewise.
50126 * math/w_pow.c: Likewise.
50127 * math/w_powf.c: Likewise.
50128 * math/w_powl.c: Likewise.
50129 * math/w_remainder.c: Likewise.
50130 * math/w_remainderf.c: Likewise.
50131 * math/w_remainderl.c: Likewise.
50132 * math/w_scalb.c: Likewise.
50133 * math/w_scalbf.c: Likewise.
50134 * math/w_scalbl.c: Likewise.
50135 * math/w_sinh.c: Likewise.
50136 * math/w_sinhf.c: Likewise.
50137 * math/w_sinhl.c: Likewise.
50138 * math/w_sqrt.c: Likewise.
50139 * math/w_sqrtf.c: Likewise.
50140 * math/w_sqrtl.c: Likewise.
50141 * math/w_tgamma.c: Likewise.
50142 * math/w_tgammaf.c: Likewise.
50143 * math/w_tgammal.c: Likewise.
50144
6a621eb7
UD
50145 * po/ja.po: Update from translation team.
50146
bf582445
AJ
501472011-09-29 Andreas Jaeger <aj@suse.de>
50148
f9efbf3a
AJ
50149 [BZ #13179]
50150 * sunrpc/netname.c (netname2host): Fix logic.
50151
bf582445
AJ
50152 [BZ #6779]
50153 [BZ #6783]
50154 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50155 correctly.
50156 * math/w_remainder.c (__remainder): Likewise.
50157 * math/w_remainderf.c (__remainderf): Likewise.
50158 * math/libm-test.inc (remainder_test): Add test cases.
50159
48693bea
AK
501602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50161
50162 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50163 sdiv_qrnnd.
50164
42622229
LD
501652011-10-07 Ulrich Drepper <drepper@gmail.com>
50166
50167 * string/test-memcmp.c: Avoid unncessary #defines.
50168 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50169
093ecf92
LD
501702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50171
50172 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50173 Use new sse2 version for core i3 - i7 as it's faster
50174 than sse42 version.
50175 (bit_Prefer_PMINUB_for_stringop): New.
50176 * sysdeps/x86_64/rawmemchr.S: Update.
50177 Replace with faster SSE2 version.
50178 * sysdeps/x86_64/memrchr.S: New file.
50179 * sysdeps/x86_64/memchr.S: Update.
50180 Replace with faster SSE2 version.
50181
fde56e5c
MP
501822011-09-12 Marek Polacek <mpolacek@redhat.com>
50183
50184 * elf/dl-load.c (lose): Add cast to avoid warning.
50185
21fd49a9
UD
501862011-10-07 Ulrich Drepper <drepper@gmail.com>
50187
5a06e643
UD
50188 * po/ca.po: Update from translation team.
50189
684ae515
UD
50190 * inet/getnetgrent_r.c: Hook up nscd.
50191 * nscd/Makefile (routines): Add nscd_netgroup.
50192 (nscd-modules): Add netgroupcache.
50193 (CFLAGS-netgroupcache.c): Define.
50194 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50195 (cache_search): Add const to second parameter.
50196 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50197 INNETGR.
50198 (dbs): Add netgrdb entry.
50199 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50200 (verify_persistent_db): Handle netgrdb.
50201 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50202 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50203 GETFDNETGR.
50204 (netgroup_response_header): Define.
50205 (innetgroup_response_header): Define.
50206 (datahead): Add netgroup_response_header and innetgroup_response_header
50207 elements.
50208 * nscd/nscd.conf: Add entries for netgroup cache.
50209 * nscd/nscd.h (dbtype): Add netgrdb.
50210 (_PATH_NSCD_NETGROUP_DB): Define.
50211 (netgroup_iov_disabled): Declare.
50212 (xmalloc, xcalloc, xrealloc): Move declarations here.
50213 (cache_search): Adjust prototype.
50214 Add netgroup-related prototypes.
50215 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50216 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50217 (__nscd_innetgr): Declare.
50218 * nscd/selinux.c (perms): Use access_vector_t as element type and
50219 add netgroup-related initializers.
50220 * nscd/netgroupcache.c: New file.
50221 * nscd/nscd_netgroup.c: New file.
50222 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50223 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50224 For four parameters use innetgr.
50225 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50226 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50227 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50228 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50229
21fd49a9
UD
50230 * nscd/connections.c (register_traced_file): Don't register file
50231 for disabled databases.
50232
054c0457
UD
502332011-10-06 Ulrich Drepper <drepper@gmail.com>
50234
32b63198
UD
50235 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50236
054c0457
UD
50237 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50238 from tree and freeing node.
50239
64031225
JO
502402011-09-25 Jiri Olsa <jolsa@redhat.com>
50241
50242 * nss/nsswitch.c (__nss_database_lookup): Handle
50243 nss_parse_service_list out of memory case.
50244
0490345c
JO
502452011-09-15 Jiri Olsa <jolsa@redhat.com>
50246
50247 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50248 out of memory case.
50249
3a62d00d
AS
502502011-10-04 Andreas Schwab <schwab@redhat.com>
50251
50252 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50253 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50254 pass it down.
50255 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50256 elf_machine_rela, elf_machine_lazy_rel.
50257 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50258 (ELF_DYNAMIC_DO_REL): Likewise.
50259 (ELF_DYNAMIC_DO_RELA): Likewise.
50260 (ELF_DYNAMIC_RELOCATE): Likewise.
50261 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50262 to ELF_DYNAMIC_DO_REL.
50263 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50264 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50265 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50266 elf_machine_rela.
50267 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50268 skip_ifunc, don't call ifunc function if non-zero.
50269 (elf_machine_rela): Likewise.
50270 (elf_machine_lazy_rel): Likewise.
50271 (elf_machine_lazy_rela): Likewise.
50272 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50273 (elf_machine_lazy_rel): Likewise.
50274 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50275 Likewise.
50276 (elf_machine_lazy_rel): Likewise.
50277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50278 Likewise.
50279 (elf_machine_lazy_rel): Likewise.
50280 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50281 (elf_machine_lazy_rel): Likewise.
50282 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50283 (elf_machine_lazy_rel): Likewise.
50284 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50285 (elf_machine_lazy_rel): Likewise.
50286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50287 (elf_machine_lazy_rel): Likewise.
50288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50289 (elf_machine_lazy_rel): Likewise.
50290 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50291 (elf_machine_lazy_rel): Likewise.
50292
68577918
UD
502932011-09-28 Ulrich Drepper <drepper@gmail.com>
50294
50295 * nss/nss_files/files-init.c (_nss_files_init): Use static
50296 initialization for all the *_traced_file variables.
50297
68822d74
AS
502982011-09-28 Andreas Schwab <schwab@redhat.com>
50299
50300 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50301
2056100b
RM
503022011-09-27 Roland McGrath <roland@hack.frob.com>
50303
50304 [BZ #13226]
50305 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50306
32c76b63
AS
503072011-09-27 Andreas Schwab <schwab@redhat.com>
50308
50309 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50310 Reread the line before reparsing it.
50311
bf972c9d
AS
503122011-09-26 Andreas Schwab <schwab@redhat.com>
50313
50314 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50315
e057a1b5
JM
503162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50317 Maxim Kuvyrkov <maxim@codesourcery.com>
50318 Joseph Myers <joseph@codesourcery.com>
50319
50320 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50321 if needed for __stack_chk_guard.
50322
bc7e1c36
RM
503232011-09-19 Roland McGrath <roland@hack.frob.com>
50324
ecb1482f
RM
50325 * sysdeps/posix/spawni.c (script_execute): Always define it.
50326 It will be optimized away if unused.
50327 (maybe_script_execute): New function.
50328 (__spawni): Call it.
50329
bc7e1c36
RM
50330 * Makerules: Don't include tls.make.
50331 (config-tls): Always set to thread.
50332 * tls.make.c: File removed.
50333
1c3b002b
MF
503342011-09-19 Mike Frysinger <vapier@gentoo.org>
50335
50336 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50337 * config.make.in (CPPFLAGS-config): New substituted variable.
50338
2840865d
UD
503392011-09-15 Ulrich Drepper <drepper@gmail.com>
50340
88738eb6
UD
50341 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50342
cbf645a6 50343 [BZ #13192]
2840865d
UD
50344 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50345 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50346
b402e91a
RM
503472011-09-15 Roland McGrath <roland@hack.frob.com>
50348
50349 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50350 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50352 (CALL_FAIL): Likewise.
50353 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50354 (CALL_FAIL): Macro removed.
50355 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50356
4c1a1f71
UD
503572011-09-15 Ulrich Drepper <drepper@gmail.com>
50358
50359 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50360 for __FINITE_MATH_ONLY__ == 1.
50361
edc121be
AS
503622011-09-15 Andreas Schwab <schwab@redhat.com>
50363
50364 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50365 __ieee754_sqrt instead of sqrt.
50366 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50367 __ieee754_sqrtf instead of sqrtf.
50368 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50369 __floorf instead of floorf.
50370 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50371 __floorf, __truncf instead of floorf, truncf.
50372
cd205654
UD
503732011-09-14 Ulrich Drepper <drepper@gmail.com>
50374
ee4d0315
UD
50375 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50376
cd205654
UD
50377 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50378 __extern_always_inline.
50379 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50380 32-bit.
50381
48b67d71
AS
503822011-09-14 Andreas Schwab <schwab@redhat.com>
50383
50384 * elf/rtld.c (dl_main): Also relocate in dependency order when
50385 doing symbol dependency testing.
50386
1ae12c75
AS
503872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50388
50389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50390 Always define `refsym'.
50391
995a80df
AS
503922011-09-13 Andreas Schwab <schwab@redhat.com>
50393
e529793b
AS
50394 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50395 (__FD_ELT): Renamed from __FDELT.
50396 * misc/bits/select2.h (__FD_ELT): Likewise.
50397 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50398 __FD_MASK instead of __FDELT, __FDMASK.
50399 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50400 Likewise.
50401 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50402 Likewise.
50403
52d4fef8
AS
50404 * elf/Makefile (gen-ldd): Fix pattern.
50405
995a80df
AS
50406 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50407 (init_tls): Likewise.
50408
8682f8b0
UD
504092011-09-12 Ulrich Drepper <drepper@gmail.com>
50410
50411 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50412
de82006d
AS
504132011-09-12 Andreas Schwab <schwab@redhat.com>
50414
a7c8e6a1
AS
50415 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50416 `struct cmsghdr *' instead of `void *'.
50417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50418 Likewise.
50419
0f31fe77
AS
504202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50421
50422 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50423 if non-absolute.
50424 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50425 ldd_rewrite_script.
0f31fe77 50426
32b4c839
UD
504272011-09-11 Ulrich Drepper <drepper@gmail.com>
50428
83cd1420
UD
50429 * configure.in: Remove --with-tls option.
50430 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50431 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50432 out in case it is missing.
50433 * sysdeps/ia64/elf/configure.in: Likewise.
50434 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50435 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50436 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50437 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50438 * sysdeps/sh/elf/configure.in: Likewise.
50439 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50440 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50441 * sysdeps/x86_64/elf/configure.in: Likewise.
50442 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50443 * sysdeps/mach/hurd/tls.h: Likewise.
50444
633f745d
UD
50445 [BZ #13067]
50446 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50447
f318beb8
UD
50448 [BZ #13090]
50449 * configure.in: Fix use of AC_INIT.
50450
32b4c839
UD
50451 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50452
3ce1f295
UD
504532011-09-10 Ulrich Drepper <drepper@gmail.com>
50454
bb016596
UD
50455 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50456 __set_errno.
8e58439c
UD
50457 * malloc/hooks.c: Likewise.
50458
aebae053 50459 [BZ #11929]
02d46fc4
UD
50460 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50461 variables statically.
50462 (narenas): Initialize.
50463 (list_lock): Initialize.
bb016596
UD
50464 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50465 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
50466 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50467 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50468 Add initializers to main_arena and mp_.
50469 (malloc_state): Remove pagesize member. Change all users to use
50470 GLRO(dl_pagesize).
50471
50472 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50473 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50474 is always initialized.
50475
22a89187
UD
50476 * malloc/malloc.c: Removed unused configurations and dead code.
50477 * malloc/arena.c: Likewise.
50478 * malloc/hooks.c: Likewise.
02d46fc4 50479 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 50480
d063d164
UD
50481 * include/tls.h: Removed. USE___THREAD must always be defined.
50482 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50483 * elf/dl-libc.c: Likewise.
50484 * elf/dl-tsd.c: Likewise.
50485 * include/errno.h: Likewise.
50486 * include/netdb.h: Likewise.
50487 * include/resolv.h: Likewise.
50488 * inet/herrno-loc.c: Likewise.
50489 * inet/herrno.c: Likewise.
50490 * malloc/arena.c: Likewise.
50491 * malloc/hooks.c: Likewise.
50492 * malloc/malloc.c: Likewise.
50493 * resolv/res-state.c: Likewise.
50494 * resolv/res_libc.c: Likewise.
50495 * sysdeps/i386/dl-machine.h: Likewise.
50496 * sysdeps/ia64/dl-machine.h: Likewise.
50497 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50498 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50499 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50500 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50501 * sysdeps/sh/dl-machine.h: Likewise.
50502 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50503 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50504 * sysdeps/unix/i386/sysdep.S: Likewise.
50505 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50506 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50507 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50508 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50510 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50511 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50513 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50515 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50516 * sysdeps/x86_64/dl-machine.h: Likewise.
50517 * tls.make.c: Likewise.
50518
3ce1f295
UD
50519 * configure.in: Remove --with-__thread option. Make tests for
50520 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50521 tls_model attribute fail if no support is available. Remove
50522 USE_IN_LIBIO.
50523 * Makeconfig: Adjust for dropped configure option. All features are
50524 now mandatory.
50525 * Makerules: Likewise.
50526 * Versions.def: Likewise.
50527 * argp/argp-fmtstream.c: Likewise.
50528 * argp/argp-fmtstream.h: Likewise.
50529 * argp/argp-help.c: Likewise.
50530 * assert/assert.c: Likewise.
50531 * config.h.in: Likewise.
50532 * config.make.in: Likewise.
50533 * configure: Likewise.
50534 * configure.in: Likewise.
50535 * csu/Versions: Likewise.
50536 * csu/init.c: Likewise.
50537 * elf/tst-audit2.c: Likewise.
50538 * elf/tst-tls10.c: Likewise.
50539 * elf/tst-tls10.h: Likewise.
50540 * elf/tst-tls11.c: Likewise.
50541 * elf/tst-tls12.c: Likewise.
50542 * elf/tst-tls14.c: Likewise.
50543 * elf/tst-tlsmod11.c: Likewise.
50544 * elf/tst-tlsmod12.c: Likewise.
50545 * elf/tst-tlsmod13.c: Likewise.
50546 * elf/tst-tlsmod13a.c: Likewise.
50547 * elf/tst-tlsmod14a.c: Likewise.
50548 * elf/tst-tlsmod15b.c: Likewise.
50549 * elf/tst-tlsmod16a.c: Likewise.
50550 * elf/tst-tlsmod16b.c: Likewise.
50551 * elf/tst-tlsmod7.c: Likewise.
50552 * elf/tst-tlsmod8.c: Likewise.
50553 * elf/tst-tlsmod9.c: Likewise.
50554 * gmon/gmon.c: Likewise.
50555 * grp/fgetgrent_r.c: Likewise.
50556 * grp/putgrent.c: Likewise.
50557 * hurd/fopenport.c: Likewise.
50558 * include/libc-symbols.h: Likewise.
50559 * include/tls.h: Likewise.
50560 * intl/gettextP.h: Likewise.
50561 * intl/loadinfo.h: Likewise.
50562 * locale/global-locale.c: Likewise.
50563 * locale/localeinfo.h: Likewise.
50564 * mach/devstream.c: Likewise.
50565 * malloc/arena.c: Likewise.
50566 * malloc/set-freeres.c: Likewise.
50567 * misc/err.c: Likewise.
50568 * misc/getttyent.c: Likewise.
50569 * misc/mntent_r.c: Likewise.
50570 * posix/getopt.c: Likewise.
50571 * posix/wordexp.c: Likewise.
50572 * pwd/fgetpwent_r.c: Likewise.
50573 * resolv/Versions: Likewise.
50574 * resolv/res_hconf.c: Likewise.
50575 * shadow/fgetspent_r.c: Likewise.
50576 * shadow/putspent.c: Likewise.
50577 * stdio-common/printf_fphex.c: Likewise.
50578 * stdio-common/tmpfile.c: Likewise.
50579 * stdlib/abort.c: Likewise.
50580 * stdlib/fmtmsg.c: Likewise.
50581 * sunrpc/auth_unix.c: Likewise.
50582 * sunrpc/clnt_perr.c: Likewise.
50583 * sunrpc/clnt_tcp.c: Likewise.
50584 * sunrpc/clnt_udp.c: Likewise.
50585 * sunrpc/clnt_unix.c: Likewise.
50586 * sunrpc/openchild.c: Likewise.
50587 * sunrpc/svc_simple.c: Likewise.
50588 * sunrpc/svc_tcp.c: Likewise.
50589 * sunrpc/svc_udp.c: Likewise.
50590 * sunrpc/svc_unix.c: Likewise.
50591 * sunrpc/xdr.c: Likewise.
50592 * sunrpc/xdr_array.c: Likewise.
50593 * sunrpc/xdr_rec.c: Likewise.
50594 * sunrpc/xdr_ref.c: Likewise.
50595 * sunrpc/xdr_stdio.c: Likewise.
50596
1248c1c4
PB
505972011-09-09 Ulrich Drepper <drepper@gmail.com>
50598
50599 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50600
506012011-07-03 Andreas Jaeger <aj@suse.de>
50602
50603 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50604 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50605 regenerate with gen-libm-tests.pl.
50606
506072010-05-12 Petr Baudis <pasky@suse.cz>
50608
50609 [BZ #11589]
50610 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50611 around j0() zero points by switching to j1().
50612 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50613 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50616
f22e1074
UD
506172011-09-09 Ulrich Drepper <drepper@gmail.com>
50618
f19009c1
UD
50619 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50620 instead of 0.
50621 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 50622 instead of 0.
f19009c1
UD
50623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50624 Patch in part by Pavel Roskin <proski@gnu.org>.
50625
3f8cc204
UD
50626 [BZ #13138]
50627 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50628 realloc.
50629 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50630 Free memory block if necessary.
50631
f22e1074
UD
50632 [BZ #12847]
50633 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50634 be NULL. Don't lock in this case.
50635
0a2349f9
RM
506362011-09-09 Roland McGrath <roland@hack.frob.com>
50637
50638 * elf/elf.h (ELFOSABI_GNU): New macro.
50639 (ELFOSABI_LINUX): Define to that.
50640
f3cdd467
DZ
506412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50642
50643 * string/strncat.c (strncat): Undef the symbol in case it has been
50644 defined in bits/string.h.
50645
74718d13
UD
506462011-09-09 Ulrich Drepper <drepper@gmail.com>
50647
633e9e0f
UD
50648 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50649
0a2349f9 50650 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
50651 link map.
50652
f9924780
AJ
506532011-08-17 Andreas Jaeger <aj@suse.de>
50654
50655 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50656
7f5517aa
PP
506572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50658 Ian Lance Taylor <iant@google.com>
50659
50660 * math/libm-test.inc (lround_test): New testcase.
50661 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50662
762011fe
UD
506632011-09-08 Ulrich Drepper <drepper@gmail.com>
50664
92963737
UD
50665 * Makefile: Remove support for automatic cvs check-ins.
50666 * Makerules: Likewise.
50667 * config.make.in: Likewise.
50668 * configure.in: Likewise.
50669 * intl/Makefile: Likewise.
50670 * locale/Makefile: Likewise.
50671 * po/Makefile: Likewise.
50672 * posix/Makefile: Likewise.
50673 * sysdeps/gnu/Makefile: Likewise.
50674 * sysdeps/mach/hurd/Makefile: Likewise.
50675 * sysdeps/sparc/sparc32/Makefile: Likewise.
50676
b0727fd8
JS
50677 [BZ #13118]
50678 * posix/Makefile (bug-regex32-ENV): Define.
50679 Patch by John Stanley <jpsinthemix@verizon.net>.
50680
a0f33f99
UD
50681 * misc/Makefile (headers): Add bits/select2.h.
50682 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50683 * misc/bits/select2.h: New file.
50684 * include/bits/select2.h: New file.
50685 * debug/Makefile (routines): Add fdelt_chk.
50686 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50687 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50688 FD_ISSET.
50689 * debug/fdelt_chk.c: New file.
50690
762011fe
UD
50691 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50692 * wcsmbs/test-wmemcmp.c: Likewise.
50693 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 50694 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
50695
506962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50697
50698 * string/Makefile (strop-tests): Add memcmp.
50699 * string/test-wmemcmp.c: New file.
50700 * string/test-memcmp.c: Add wmemcmp support.
50701
7f513ec8
RM
507022011-09-08 Roland McGrath <roland@hack.frob.com>
50703
0442afb4
RM
50704 [BZ #13153]
50705 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50706 2011-07-19 change.
50707
7f513ec8
RM
50708 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50709 garbage value in a __mach_port_mod_refs call in the cases of the
50710 task-self and thread-self ports.
50711
a12b2239
ST
507122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50713
50714 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50715
610f9ab4
AS
507162011-09-08 Andreas Schwab <schwab@redhat.com>
50717
7f513ec8 50718 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 50719
48882a1a
LD
507202011-09-07 Ulrich Drepper <drepper@gmail.com>
50721
b49865be
UD
50722 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50723
fdc86bc9
UD
50724 * elf/dl-libc.c (dlerror_run): Pass back error code from
50725 dl_catch_error.
50726
c966526a
UD
50727 [BZ #13123]
50728 * elf/dl-load.c (lose): Free l_origin if it is valid.
50729
48882a1a
LD
50730 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50731 names.
50732 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50733 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50734 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50735 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50736 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50737 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50738
77a2a8b4
AZ
507392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50740
50741 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50742 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50743 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50744 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50745 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50746 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50747 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50748 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50749 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50750 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50751
24f579d8
AM
507522011-08-15 Alan Modra <amodra@gmail.com>
50753
50754 [BZ #13092]
50755 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50756 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50757 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50758 ppc_mcount to static-only-routines.
50759 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50760 __mcount_internal.
50761 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50762 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50763
3d4837df
UD
507642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50765
50766 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50767 for finite and infinity parameters.
50768
22700377
WS
507692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50770
50771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50772 and add nop instructions for throughput optimization.
50773 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50774
5025581e
WS
507752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50776
50777 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50778 aligned copy for power7 with vector-scalar instructions.
50779 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50780
08a300c9
L
507812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50782
50783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50784 AVX check.
50785
59178ef9
AS
507862011-09-07 Andreas Schwab <schwab@redhat.com>
50787
50788 [BZ #13144]
50789 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50790 last change.
50791
e38ba7ab
UD
507922011-09-07 Ulrich Drepper <drepper@gmail.com>
50793
50794 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50795 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50796 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50797 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50798 clock_gettime.
50799
d53a73ac
UD
508002011-09-06 Ulrich Drepper <drepper@gmail.com>
50801
fc8bffcc
UD
50802 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50803 Forgot to demangle the pointer.
50804
ceaa0c5d
UD
50805 * sysdeps/i386/sysdep.h: Define atom_text_section.
50806 * sysdeps/x86_64/sysdep.h: Likewise.
50807 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50808 section with atom_text_section.
50809 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50810 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50811 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50812 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50813 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50814
a77d3c17
UD
50815 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50816 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50817 already be defined. Change to take two parameters and don't assign
50818 result to variable. Adjust all users.
50819 Define INTERNAL_GETTIME if not already defined.
50820 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50821 call.
50822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50823 HAVE_CLOCK_GETTIME_VSYSCALL.
50824 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50825
d53a73ac
UD
50826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50827 gettimeofday vsyscall, just use time.
50828
a8f84144
AS
508292011-09-06 Andreas Schwab <schwab@redhat.com>
50830
50831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50832 <errno.h>.
50833
ef606249
UD
508342011-09-06 Ulrich Drepper <drepper@gmail.com>
50835
50836 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50837 syscall on x86-64.
50838 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50839 syscall.
50840 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50841 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50842 syscall if possible.
50843
6585cb60
UD
508442011-09-05 Ulrich Drepper <drepper@gmail.com>
50845
50846 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50847 e_ident. Don't pass to find_mapsXX.
50848 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50849
a5f524e4
LD
508502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50851
50852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50853 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50854 * sysdeps/x86_64/multiarch/strchr.S: Update.
50855 Check bit_slow_BSF bit.
50856 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50857 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50858 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50859
554881ef
UD
508602011-09-05 Ulrich Drepper <drepper@gmail.com>
50861
d96de963
UD
50862 [BZ #13134]
50863 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50864 before glibc 2.15.
50865 (tryshell): Define.
50866 (__spawni): Change last parameter to be flag. Test
50867 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50868 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50869 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50870 * posix/spawni.c: Likewise.
50871 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50872 * posix/spawnp.c: Likewise. Change normal version to use
50873 SPAWN_XFLAGS_USE_PATH.
50874 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50875 SPAWN_XFLAGS_TRY_SHELL.
50876
d48e5868
UD
50877 [BZ #13150]
50878 * posix/glob.h: Remove gcc 1.x support.
50879
554881ef
UD
50880 [BZ #13068]
50881 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50882
693fb948
LD
508832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50884
50885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50886 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50887 strrchr-sse2-bsf
50888 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50889 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50890 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50891 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50892 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50893 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50894
1b48c537
UD
508952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50896
49d42c37
UD
50897 * sysdeps/x86_64/wcscmp.S: New file.
50898
1b48c537
UD
50899 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50900 wcscmp-c wcscmp-sse2
50901 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50902 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50903 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50904 * wcsmbs/wcscmp.c: Allow renaming.
50905
15c95c5d
DM
509062011-09-05 David S. Miller <davem@davemloft.net>
50907
50908 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50909 stack slot, rather than the struct return pointer slot.
50910 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50911 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50913 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50914
2f0ad8f3
UD
509152011-09-05 Ulrich Drepper <drepper@gmail.com>
50916
d88ae418
UD
50917 * po/ja.po: Update from translation team.
50918
2f0ad8f3
UD
50919 [BZ #13144]
50920 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50921 kernel in 64-bit binaries.
50922
5f4318d1
DM
509232011-09-01 David S. Miller <davem@davemloft.net>
50924
50925 * elf/elf.h (HWCAP_SPARC_*): Move to..
50926 * sysdeps/sparc/sysdep.h: this new file and add new values.
50927 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50928 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50929 _DL_HWCAP_COUNT to 24.
50930 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50931 entries.
50932 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50933 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50934 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50936 instead of magic constants.
50937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50938
3ba57516
DM
509392011-08-31 David S. Miller <davem@davemloft.net>
50940
50941 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50942 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50943 Reimplement to do errno handling inline.
50944 (SYSCALL_ERROR_HANDLER): New macro.
50945 (__SYSCALL_STRING): Do not do errno handling in asm.
50946 (__CLONE_SYSCALL_STRING): Delete.
50947 (__INTERNAL_SYSCALL_STRING): Delete.
50948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50949 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50950 (PSEUDO): Reimplement to do errno handling inline.
50951 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50952 (SYSCALL_ERROR_HANDLER): New macro.
50953 (__SYSCALL_STRING): Do not do errno handling in asm.
50954 (__CLONE_SYSCALL_STRING): Delete.
50955 (__INTERNAL_SYSCALL_STRING): Delete.
50956 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50957 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50958 i386.
50959 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50960 (inline_syscall*): Add 'err' argument.
50961 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50962 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50963 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50964 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50965
50966 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50967 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50968
2bc17433
AS
509692011-08-30 Andreas Schwab <schwab@redhat.com>
50970
50971 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50972
fbeb5f4d
JO
509732011-08-29 Jiri Olsa <jolsa@redhat.com>
50974
50975 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50976 directive.
50977
ad69cc26
DM
509782011-08-24 David S. Miller <davem@davemloft.net>
50979
50980 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50981
39dd69df
AS
509822011-08-24 Andreas Schwab <schwab@redhat.com>
50983
50984 * elf/Makefile: Add rules to build and run unload8 test.
50985 * elf/unload8.c: New file.
50986 * elf/unload8mod1.c: New file.
50987 * elf/unload8mod1x.c: New file.
50988 * elf/unload8mod2.c: New file.
50989 * elf/unload8mod3.c: New file.
50990
50991 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50992 it wasn't used.
50993
2c0b250a
DM
509942011-08-23 David S. Miller <davem@davemloft.net>
50995
50996 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50997 subtract stack bias.
50998 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50999 %sp not %fp in calculations.
51000 (_JMPBUF_UNWINDS_ADJ): Likewise.
51001
22044b48
DM
51002 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51003 (aio_suspend): Call it to force an exception region around the
51004 AIO_MISC_WAIT() invocation.
51005
2cae4995
AS
510062011-08-23 Andreas Schwab <schwab@redhat.com>
51007
51008 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51009 backslash.
51010
873a772e
AJ
510112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51012
51013 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51014 protection macro.
51015 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51016 and <dl-machine.h>.
51017 (Elf64_FuncDesc): Remove.
51018
25ad0df1
DM
510192011-08-22 David S. Miller <davem@davemloft.net>
51020
51021 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51022 sigaltstack check, add missing cfi directives.
51023 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51024 missing cfi directives, and sigaltstack handling.
51025
e888bcbe
AS
510262011-08-16 Andreas Schwab <schwab@redhat.com>
51027
51028 [BZ #11724]
51029 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51030 object is seen twice.
51031 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51032
51033 * elf/Makefile (distribute): Add tst-initorder2.c.
51034 (tests): Add tst-initorder2.
51035 (modules-names): Add tst-initorder2a tst-initorder2b
51036 tst-initorder2c tst-initorder2d. Add rules to build them.
51037 ($(objpfx)tst-initorder2.out): New rule.
51038 * elf/tst-initorder2.c: New file.
51039 * elf/tst-initorder2.exp: New file.
51040
87162f46
AS
510412011-08-22 Andreas Schwab <schwab@redhat.com>
51042
70538b7f
AS
51043 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51044
f55ffe58
AS
51045 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51046 dependencies back to end of function.
51047
87162f46
AS
51048 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51049 $(elfobjdir)/ld.so.
51050
91b392a4
UD
510512011-08-21 Ulrich Drepper <drepper@gmail.com>
51052
51053 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51054 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51055 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51056 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51057 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51058 of __vdso_gettimeofday.
51059 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51060 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51061 attribute_hidden.
51062 (_libc_vdso_platform_setup): Remove initialization of
51063 __vdso_gettimeofday and __vdso_time.
51064
5c43483f
UD
510652011-08-20 Ulrich Drepper <drepper@gmail.com>
51066
775a77e7
UD
51067 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51068 and fgetc_unlocked.
51069 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51070 getc_unlocked.
89f447ed 51071
49c74ba9
UD
51072 * elf/dl-open.c (add_to_global): Report additions to the global scope
51073 for LD_DEBUG=scopes.
51074 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 51075 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 51076
5c43483f
UD
51077 [BZ #13114]
51078 * stdio-common/Makefile (tests): Add bug24.
51079 * stdio-common/bug24.c: New file.
51080
a101b025
AJ
510812011-08-19 Andreas Jaeger <aj@suse.de>
51082
51083 [BZ #13114]
51084 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51085 non-existant file when using close-on-exec mode.
51086
c88f1766
UD
510872011-08-20 Ulrich Drepper <drepper@gmail.com>
51088
0276a718
UD
51089 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51090 the very first instruction.
51091
c88f1766
UD
51092 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51093 the CFI state in the end.
51094 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51095 inclusion of dl-trampoline.h.
51096 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51097
51ccffa0
AS
510982011-08-19 Andreas Schwab <schwab@redhat.com>
51099
94d7165f
AS
51100 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51101 expectations for long double.
51102
51ccffa0
AS
51103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51104 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51105
fd708658 511062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
51107
51108 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51109 artificual limit depends upon the system page size.
51110
44f0a71e
UD
511112011-08-17 Ulrich Drepper <drepper@gmail.com>
51112
51113 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51114 * resolv/Makefile: Define CFLAGS-libresolv.
51115
8de79a24
AS
511162011-08-17 Andreas Schwab <schwab@redhat.com>
51117
51118 * nss/makedb.c (compute_tables): Make variables used in nested
51119 function static.
51120
27724598
UD
511212011-08-17 Ulrich Drepper <drepper@gmail.com>
51122
c5305d88
UD
51123 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51124 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51125 if buffer was too small.
51126
27724598
UD
51127 * elf/pldd.c (main): Attach to all threads in the process.
51128 Rewrite /proc handling to use *at functions.
51129
076fe015
UD
511302011-08-16 Ulrich Drepper <drepper@gmail.com>
51131
174baab3
UD
51132 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51133 specifies first scope to show.
51134 (dl_open_worker): Update callers. Move printing scope of new
51135 object to before the relocation.
44f0a71e 51136 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
51137 * sysdeps/generic/ldsodefs.h: Update declaration.
51138
076fe015
UD
51139 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51140 string for the scope number.
51141
a60df2c3
UD
511422011-08-14 Ulrich Drepper <drepper@gmail.com>
51143
51144 * nscd/servicescache.c (cache_addserv): Make sure written is always
51145 initialized.
51146
5e4287d1
RM
511472011-08-14 Roland McGrath <roland@hack.frob.com>
51148
85ae0589
RM
51149 * sysdeps/i386/i486/bits/atomic.h
51150 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51151 statement expression, so as to suppress "set but not used" warning.
51152 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51153
69f63097
RM
51154 * string/strncat.c (STRNCAT): Use prototype definition.
51155
675456ef
RM
51156 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51157 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51158 -Iprograms here.
51159 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51160 (localedef-modules): Add localedef.
51161 (locale-modules): Add locale.
51162
5e4287d1
RM
51163 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51164 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51165 to avoid a warning.
51166
9c96ff23
DM
511672011-08-14 David S. Miller <davem@davemloft.net>
51168
51169 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51170 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51171
f9ddf089
UD
511722011-08-13 Ulrich Drepper <drepper@gmail.com>
51173
44f0a71e 51174 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
51175 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51176 * elf/rtld.c (dl_main): Set l_name of vDSO.
51177 Call _dl_show_scope when DL_DEBUG_SCOPES.
51178 (process_dl_debug): Recognize scopes flag and also set it for all.
51179 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51180 Declare _dl_show_scope.
51181
1dc27704
UD
51182 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51183 (do_dlopen): Pass caller_dlopen to dl_open.
51184 (__libc_dlopen_mode): Initialize caller_dlopen.
51185
f9ddf089
UD
51186 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51187 of libc. Make tolower call locale-independent. Optimize a bit by
51188 using isdigit instead of isalnum.
51189 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51190
9ac533d3
UD
511912011-08-12 Ulrich Drepper <drepper@gmail.com>
51192
51193 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51194 was a dependency or dynamically loaded.
51195
89edf2e9
UD
511962011-08-11 Ulrich Drepper <drepper@gmail.com>
51197
8e999d29
UD
51198 * intl/l10nflist.c: Allow architecture-specific pop function.
51199 * sysdeps/x86_64/l10nflist.c: New file.
51200
89edf2e9
UD
51201 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51202 classification.
51203
14d96785
AS
512042011-08-10 Andreas Schwab <schwab@redhat.com>
51205
51206 * include/dirent.h: Add libc_hidden_proto for scandirat and
51207 scandirat64. Don't declare __scandirat64.
51208 * dirent/scandirat.c: Add libc_hidden_def.
51209 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51210 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51211
6761ac04
DM
512122011-08-10 David S. Miller <davem@davemloft.net>
51213
51214 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51215 enum.
51216 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51217 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51218 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51219
c55fbd1e
UD
512202011-08-09 Ulrich Drepper <drepper@gmail.com>
51221
51222 * Versions.def [libc]: Add GLIBC_2.15.
51223 * dirent/Makefile (routines): Add scandirat and scandirat64.
51224 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51225 GLIBC_2.15.
51226 * dirent/dirent.h: Declare scandirat and scandirat64.
51227 * dirent/scandirat.c: New file.
51228 * dirent/scandirat64.c: New file.
51229 * sysdeps/wordsize-64/scandirat.c: New file.
51230 * sysdeps/wordsize-64/scandirat64.c: New file.
51231 * dirent/opendir.c: Define opendirat.
51232 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51233 using scandirat.
51234 * dirent/scandir64.c: Adjust for scandir.c change.
51235 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51236 __scandirat64, and __scandir_cancel_handler.
51237 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51238 additional parameter and use openat instead of open (outside of ld.so).
51239 Add new __opendir as wrapper around __opendirat.
51240 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51241 here without requiring old scandirat implementation.
51242
879165f2
UD
512432011-08-08 Ulrich Drepper <drepper@gmail.com>
51244
51245 * dirent/scandir.c (cancel_handler): Renamed to
51246 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51247 defined. Adjust users.
51248 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51249 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51250
cb7e923b
UD
512512011-08-04 Ulrich Drepper <drepper@gmail.com>
51252
16292edd
UD
51253 * string/test-string.h (IMPL): Use __STRING to expand name and then
51254 stringify it.
51255
cb7e923b
UD
51256 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51257 of cleanups.
51258
cff82933
LD
512592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51260
51261 * string/Makefile: Update.
51262 (strop-tests): Append strncat.
51263 * string/test-wcscmp.c: New file.
51264 New comprehensive test for wcscmp.
51265 * string/test-strcmp.c: Update.
51266 (WIDE): New define.
51267
9be9bfcc
AS
512682011-07-22 Andreas Schwab <schwab@redhat.com>
51269
51270 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51271 line.
51272
2e96f1c7
AS
512732011-07-26 Andreas Schwab <schwab@redhat.com>
51274
51275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51276 encoding to ACE if AI_IDN.
51277
85188888
JJ
512782011-08-01 Jakub Jelinek <jakub@redhat.com>
51279
51280 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51281 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51282
5fa16e9b
LD
512832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51284
51285 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51286 Fix overflow bug in strncat.
51287 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51288
51289 * string/test-strncat.c: Update.
51290 Add new tests for checking overflow bugs.
51291
512922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51293
51294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51295 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51296 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51297 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51298 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51299 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51300 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51301 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51302 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51303
51304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51305 (USE_AS_STRCAT): Define.
51306 Add strcat and strncat support.
51307 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51308
8c1a459f
AS
513092011-07-25 Andreas Schwab <schwab@redhat.com>
51310
51311 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51312 __n bigger than INT_MAX+1.
51313 (__strncmp_g): Likewise.
51314
bba33c28
UD
513152011-07-23 Ulrich Drepper <drepper@gmail.com>
51316
798be72d
UD
51317 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51318 * libio/stido.h: Likewise.
51319
8accd4dc
UD
51320 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51321 (AF_NFC): Define.
51322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51323 (AF_NFC): Define.
51324
cbff0d96
UD
51325 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51326 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51327 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51328 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51329 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51330
9191c04a
UD
51331 [BZ #13021]
51332 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51333 installed.
51334
bba33c28
UD
51335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51336 typo.
51337 (_dl_x86_64_save_sse): Likewise.
51338
90f139dd
UD
513392011-07-22 Ulrich Drepper <drepper@gmail.com>
51340
1aae088a
UD
51341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51342 OSXSAVE.
51343 (_dl_x86_64_save_sse): Likewise.
51344
8e2045f5
UD
51345 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51346
90f139dd
UD
51347 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51348
1d002f25
AS
513492011-07-21 Andreas Schwab <schwab@redhat.com>
51350
51351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51352 change.
51353 (_dl_x86_64_save_sse): Use correct AVX check.
51354
21137f89
UD
513552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51356
51357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51358 bug in strncpy/strncat.
51359 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51360
a65c0b7a
UD
513612011-07-21 Ulrich Drepper <drepper@gmail.com>
51362
51363 * string/tester.c (test_strcat): Add tests for different alignments
51364 of source and destination.
51365 (test_strncat): Likewise.
51366
6986b98a
UD
513672011-07-20 Ulrich Drepper <drepper@gmail.com>
51368
90bb2039
UD
51369 [BZ #12852]
51370 * posix/glob.c (glob): Check passed in values before using them in
51371 expressions to avoid some overflows.
51372 (glob_in_dir): Likewise.
51373
5644ef54
UD
51374 [BZ #13007]
51375 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51376 check for AVX enablement so that we don't crash with old kernels and
51377 new hardware.
51378 * elf/tst-audit4.c: Add same checks here.
51379 * elf/tst-audit6.c: Likewise.
51380
51381 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 51382
bfc9dc9b
AS
513832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51384
51385 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51386
702e64bb
UD
513872011-07-20 Ulrich Drepper <drepper@gmail.com>
51388
51389 * po/cs.po: Update from translation team.
51390 * po/bg.po: Likewise.
51391
295e904f
MP
513922011-07-12 Marek Polacek <mpolacek@redhat.com>
51393
51394 * misc/sys/cdefs.h: Add support for const attribute.
51395 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51396 to gnu_dev_{major,minor,makedev} functions.
51397
3ff94596
MP
513982011-07-20 Marek Polacek <mpolacek@redhat.com>
51399
51400 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51401
28b59fca
AS
514022011-07-20 Andreas Schwab <schwab@redhat.com>
51403
51404 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51405 strlen results.
51406
19df733e
AK
514072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51408
51409 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51410 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51411 register in order to avoid conflicts with the soft frame pointer
51412 being held in r11 when necessary.
51413 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51414 (INTERNAL_VSYSCALL_NCS): Likewise.
51415
c8835729
MP
514162011-07-14 Marek Polacek <mpolacek@redhat.com>
51417
51418 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51419 * elf/dl-fini.c (_dl_fini): Adjust caller.
51420 * elf/dl-close.c (_dl_close_worker): Likewise.
51421 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51422
b902330c
MP
514232011-07-15 Marek Polacek <mpolacek@redhat.com>
51424
8991e135
MP
51425 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51426 "aux_cache->nlibs < 0".
51427
b902330c
MP
51428 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51429 in the reload-count case.
51430
99710781
LD
514312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51432
51433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51434 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51435 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51436 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51437 * sysdeps/x86_64/multiarch/strcat.S: New file.
51438 * sysdeps/x86_64/multiarch/strncat.S: New file.
51439 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51440 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51441 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51442 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51443 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51444 (USE_AS_STRCAT): Define.
51445 Add strcat and strncat support.
51446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51447 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51448 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51449 * string/strncat.c: Update.
51450 (USE_AS_STRNCAT): Define.
51451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51452 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51453 and i7.
51454 * sysdeps/x86_64/multiarch/init-arch.h
51455 (bit_Prefer_PMINUB_for_stringop): New.
51456 (index_Prefer_PMINUB_for_stringop): Likewise.
51457 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51458 bit_Prefer_PMINUB_for_stringop.
51459
7dc6bd90
UD
514602011-07-19 Ulrich Drepper <drepper@gmail.com>
51461
51462 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51463 buffer64.
51464 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51465 of casting of buffer.
51466 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51467 buffer32 and buffer64.
51468 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51469 writes instead of casting of buffer.
51470 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51471 buffer32.
51472 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51473 casting of buffer.
51474
e0e72284
AS
514752011-07-19 Andreas Schwab <schwab@redhat.com>
51476
51477 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51478
feb1eb0b
UD
514792011-07-19 Ulrich Drepper <drepper@gmail.com>
51480
51481 * nscd/nscd.c (termination_handler): Don't do anything for a database
51482 if it has not yet been initialized.
51483
298711ff
UD
514842011-07-18 Ulrich Drepper <drepper@gmail.com>
51485
51486 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51487
514882011-07-15 Marek Polacek <mpolacek@redhat.com>
51489
51490 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51491
f9d68389
UD
514922011-07-18 Ulrich Drepper <drepper@gmail.com>
51493
51494 * po/nl.po: Update from translation team.
51495 * po/sv.po: Likewise.
51496
db290cf5
RM
514972011-07-16 Roland McGrath <roland@hack.frob.com>
51498
51499 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51500 now disallowed by GCC.
5c550700 51501
fd5e21c7
RM
51502 * configure.in (use-default-link): Default to yes if a test -shared
51503 link meets our qualifications.
51504 * configure: Regenerated.
51505
5c550700
RM
51506 * config.make.in (output-format): New variable.
51507 * configure.in: Check for ld --print-output-format support.
51508 * configure: Regenerated.
51509 * Makerules ($(common-objpfx)format.lds)
51510 [$(output-format) != unknown]: Just use $(output-format),
51511 instead of the linker-script munging.
51512
9fa2c032
RM
515132011-07-14 Roland McGrath <roland@hack.frob.com>
51514
a6928d51
RM
51515 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51516 of $(common-objpfx)shlib.lds.
51517 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51518
661607b3
RM
51519 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51520 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51521
9fa2c032
RM
51522 * configure.in (-z relro check): Adjust test code to add a large
51523 writable data section after it.
51524 * configure: Regenerated.
51525
defe9061
RM
515262011-07-11 Roland McGrath <roland@hack.frob.com>
51527
51528 * configure.in (-z relro check): Fix test code to make the variable
51529 truly const.
51530 * configure: Regenerated.
51531
319b9ad4
UD
515322011-07-11 Ulrich Drepper <drepper@gmail.com>
51533
51534 * nscd/nscd.h (struct traced_file): Define.
51535 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51536 elements. Add traced_files.
51537 (inotify_fd): Declare.
51538 (register_traced_file): Declare.
51539 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51540 (inotify_fd): Export.
51541 (resolv_conf_descr): Remove.
51542 (nscd_init): Move inotify descriptor creation to main.
51543 Don't register files for notification here.
51544 (register_traced_file): New function.
51545 (invalidate_cache): Don't use reset_res to determine whether to call
51546 res_init, go through the list of registered files.
51547 (main_loop_poll): The inotify descriptors are now stored in the
51548 structures for the traced files.
51549 (main_loop_epoll): Likewise
51550 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51551 to __nss_disable_nscd.
51552 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51553 for a database anymore. Check the records for all the registered
51554 files instead.
51555 * nss/Makefile (libnss_files-routines): Add files-init.
51556 (libnss_db-routines): Add db-init.
51557 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51558 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51559 * nss/nss_db/db-init.c: New file.
51560 * nss/nss_files/files-init.c: New file.
51561 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51562 __nss_lookup_function.
51563 (__nss_lookup_function): Call nss_load_library.
51564 (nss_load_all_libraries): New function.
51565 (__nss_disable_nscd): Take parameter with callback function for files
51566 to register. Set is_nscd. Load all the DSOs for the NSS modules
51567 used for the cached services.
51568 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51569 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51570 options for features to all the files in nscd.
51571
51572 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51573
23bee3e8
RM
515742011-07-10 Roland McGrath <roland@hack.frob.com>
51575
51576 * csu/elf-init.c (__libc_csu_init): Comment typo.
51577
46a5b7f0
UD
515782011-07-09 Ulrich Drepper <drepper@gmail.com>
51579
51580 * po/pl.po: Update from translation team.
51581 * po/ja.po: Likewise.
51582 * po/ru.po: Likewise.
51583 * po/ko.po: Likewise.
51584 * po/fr.po: Likewise.
51585
d30cf5bb
RM
515862011-07-09 Roland McGrath <roland@hack.frob.com>
51587
113ddea4
RM
51588 * configure.in (.ctors/.dtors header and trailer check):
51589 Use an empirical test on a built program.
51590 * configure: Regenerated.
51591
574920b4
RM
51592 * configure.in (-z relro check): Use an empirical test on a built DSO.
51593 Detect, but do not require, on ia64.
51594 * configure: Regenerated.
51595
d30cf5bb
RM
51596 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51597 Update tests that use readelf to use $READELF instead.
51598 * configure: Regenerated.
51599
8538fdb3
UD
516002011-07-08 Ulrich Drepper <drepper@gmail.com>
51601
51602 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51603 if the result is not used.
51604
04d08991
AJ
516052011-07-05 Andreas Jaeger <aj@suse.de>
51606
51607 [BZ#9696]
51608 * stdlib/tst-strtod.c: Add testcase.
51609
de283087
AD
516102011-07-07 Ulrich Drepper <drepper@gmail.com>
51611
4e5f31c8 51612 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 51613 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
51614 The latter has a higher limit. Take additional parameter to pass to
51615 the new function.
51616 (__pathconf): Pass file to __statfs_link_max.
51617 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51618 __statfs_link_max.
51619 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51620 __statfs_link_max.
51621
de283087
AD
51622 [BZ #12868]
51623 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51624 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51625 Handle Lustre.
51626 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51627 (__statfs_filesize_max): Likewise.
51628 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51629
c75fa153
AJ
516302011-07-05 Andreas Jaeger <aj@suse.de>
51631
51632 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51633
1a544854
UD
516342011-07-06 Marek Polacek <mpolacek@redhat.com>
51635
51636 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51637 `status' variable.
51638 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51639 Likewise.
51640
6f0eec67
UD
516412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51642
51643 * Makefile (strop-tests): Add strncat.
51644 * string/test-strncat.c: New file.
51645
aae30307
UD
516462011-06-30 Marek Polacek <mpolacek@redhat.com>
51647
51648 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51649
c0cfb5eb
UD
516502011-06-21 Andreas Jaeger <aj@suse.de>
51651
51652 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51653 Copy rule from iconvdata/Makefile.
51654
01636b21
UD
516552011-07-06 Ulrich Drepper <drepper@gmail.com>
51656
51657 [BZ #12922]
51658 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51659 but no long options are defined, just return 'W'.
51660
9895c8bc
UD
516612011-06-22 Marek Polacek <mpolacek@redhat.com>
51662
51663 [BZ #9696]
51664 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51665
5d4cf042
UD
516662011-07-06 Ulrich Drepper <drepper@gmail.com>
51667
51668 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51669 netgroups to read.
960e5535 51670 (innetgr): Likewise.
5d4cf042 51671
751eb97e
RM
516722011-07-05 Roland McGrath <roland@hack.frob.com>
51673
51674 * config.make.in (install_root): Default to $(DESTDIR).
51675
f15f1e45
UD
516762011-07-05 Ulrich Drepper <drepper@gmail.com>
51677
51678 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51679
4e34ac6a
RM
516802011-07-02 Roland McGrath <roland@hack.frob.com>
51681
5e9b6af4
RM
51682 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51683
84f9ea0f
RM
51684 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51685 containing directory rather than embedding absolute directory names.
51686
ea5ee9f7
RM
51687 * scripts/check-local-headers.sh: Rewritten using awk.
51688 Match by word, not by line. Print error messages for matches.
51689 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51690
1b74661a
RM
51691 * Makerules [shlib-lds-flags empty]:
51692 ($(common-objpfx)libc_pic.opts): New target.
51693 ($(common-objpfx)libc_pic.os.clean): New target.
51694 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51695
51696 * config.make.in (OBJCOPY): New variable.
51697 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51698 * configure: Regenerated.
51699
f781ef40
RM
51700 * config.make.in (use-default-link): New variable.
51701 * configure.in (use_default_link): Grok --with-default-link to set it.
51702 * configure: Regenerated.
51703 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51704 (shlib-lds, shlib-lds-flags): Define to empty.
51705
2d4fa81e
RM
51706 * Makerules (shlib-lds): New variable.
51707 (shlib-lds-flags): New variable.
51708 (build-shlib, build-moduile, build-module-asneeded): Use it.
51709 ($(common-objpfx)libc.so): Use $(shlib-lds).
51710 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51711 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51712
31fffa6b
RM
51713 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51714 DT_FLAGS/DT_FLAGS_1 with zero flags.
51715
4e34ac6a
RM
51716 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51717 linker script munging.
51718
fcfc776b
UD
517192011-07-02 Ulrich Drepper <drepper@gmail.com>
51720
51721 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51722 as 128-bit value.
51723 * crypt/sha512.c (sha512_process_block): Perform total addition using
51724 128-bit if possible.
51725 (__sha512_finish_ctx): Likewise.
51726 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51727 as 64-bit value.
51728 * crypt/sha256.c (SWAP64): Define.
51729 (sha256_process_block): Perform total addition using 64-bit if
51730 possible.
51731 (__sha256_finish_ctx): Likewise.
51732
99231d9a
UD
517332011-07-01 Ulrich Drepper <drepper@gmail.com>
51734
51735 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51736 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51737 * nscd/hstcache.c (cache_addhst): Likewise.
51738 * nscd/grpcache.c (cache_addgr): Likewise.
51739 * nscd/aicache.c (addhstaiX): Likewise
51740 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51741
445b4a53
TK
517422011-07-01 Thorsten Kukuk <kukuk@suse.de>
51743
51744 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51745 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51746 * nscd/hstcache.c (cache_addhst): Likewise.
51747 * nscd/grpcache.c (cache_addgr): Likewise.
51748 * nscd/aicache.c (addhstaiX): Likewise
51749
6d4d8e8e
AS
517502011-07-01 Andreas Schwab <schwab@redhat.com>
51751
51752 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51753 domain only when needed.
51754
89f654c5
AS
517552011-06-30 Andreas Schwab <schwab@redhat.com>
51756
51757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51758 is always restored.
51759
cf3b23ff
UD
517602011-06-29 Ulrich Drepper <drepper@gmail.com>
51761
51762 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51763 are re-adding the entry.
51764 * nscd/servicescache.c (cache_addserv): Likewise.
51765
751626f9
AJ
517662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51767
51768 * sysdeps/generic/dl-irel.h: fix protection against multiple
51769 inclusions.
51770 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51771
9113ea1f
UD
517722011-06-28 Ulrich Drepper <drepper@gmail.com>
51773
5c0b8d90
UD
51774 [BZ #12935]
51775 * malloc/memusage.sh: Fix quoting in message.
51776 * debug/xtrace.sh: Likewise.
51777
9113ea1f
UD
51778 * configure.in: Remove support for --experimental-malloc option, make
51779 it the default.
51780 * config.make.in: Likewise.
51781 * malloc/Makefile: Likewise.
51782
a4172181
AS
517832011-06-27 Andreas Schwab <schwab@redhat.com>
51784
51785 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51786 two-byte characters.
51787
78a7eee7
RM
517882011-06-27 Roland McGrath <roland@hack.frob.com>
51789
62bede13
RM
51790 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51791 AC_CACHE_CHECK invocation.
51792 * configure: Regenerated.
51793
78a7eee7
RM
51794 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51795
5ce33a62
UD
517962011-06-27 Ulrich Drepper <drepper@gmail.com>
51797
034807a9
UD
51798 [BZ #12350]
51799 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51800 bit from old_res_options.
51801
4902da17
UD
51802 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51803
5ce33a62
UD
51804 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51805 value type for setfct.
51806
c2344f56
L
518072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51808
51809 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51810 __gettimeofday instead of gettimeofday.
51811
68468076
UD
518122011-06-26 Ulrich Drepper <drepper@gmail.com>
51813
51814 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51815
acb0d739
L
518162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51817
51818 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51819
51820 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51821 info.
51822
8912479f
L
518232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51824
51825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51826 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51827 strcpy-sse2-unaligned strncpy-sse2-unaligned
51828 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51829 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51830 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51831 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51832 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51833 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51834 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51835 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51836 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51837 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51838 (STRCPY): Support SSE2 and SSSE3 versions.
51839
d5495a11
UD
518402011-06-24 Ulrich Drepper <drepper@gmail.com>
51841
51842 [BZ #12874]
51843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51844 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51845 kernels which artificially limit size of requests.
51846
0b1cbaae
L
518472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51848
51849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51850 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51851 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51852 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51853 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51854 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51855 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51856 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51857 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51858 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51859 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51860 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51861 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51862 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51863 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51865 Enable unaligned load optimization for Intel Core i3, i5 and i7
51866 processors.
51867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51868 Define.
51869 (index_Fast_Unaligned_Load): Define.
51870 (HAS_FAST_UNALIGNED_LOAD): Define.
51871
07f494a0
MP
518722011-06-23 Marek Polacek <mpolacek@redhat.com>
51873
51874 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51875
fa3fc0fe
UD
518762011-06-22 Ulrich Drepper <drepper@gmail.com>
51877
51878 [BZ #12907]
51879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51880 until it is clear that the information is realy needed.
51881 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51882
e12df166
AS
518832011-06-22 Andreas Schwab <schwab@redhat.com>
51884
51885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51886
852eb34d
UD
518872011-06-22 Ulrich Drepper <drepper@gmail.com>
51888
84e2a551
UD
51889 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51890 /sys/devices/system/cpu/online if it is usable.
51891
852eb34d
UD
51892 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51893 reading the information from the /proc filesystem to once a second.
51894
6e502e19
UD
518952011-06-21 Andreas Jaeger <aj@suse.de>
51896
51897 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51898 NULL after inclusion of kernel headers.
51899
75d39ff2
UD
519002011-06-21 Ulrich Drepper <drepper@gmail.com>
51901
51f9aa6a
UD
51902 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51903 calls to internal_setent.
51904
c0244a9d
UD
51905 [BZ #12885]
51906 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51907 addresses using gethostbyname4_r ignore IPv4 addresses.
51908
c5e3c2ae
UD
51909 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51910 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51911
75d39ff2
UD
51912 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51913
42675c6f
DM
519142011-06-20 David S. Miller <davem@davemloft.net>
51915
51916 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51917 inclusions.
51918 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51919
51920 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51921 (elf_irel): Use it.
51922 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51923 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51924 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51925 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51926 * sysdeps/x86_64/dl-irel.h: Likewise.
51927
51928 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51929 * elf/dl-sym.c: Likewise.
51930
57912a71
UD
519312011-06-15 Ulrich Drepper <drepper@gmail.com>
51932
51933 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51934 need to dereference resplen2.
51935
ee22793d
AS
519362011-06-14 Andreas Schwab <schwab@redhat.com>
51937
51938 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51939
a9e836b0
UD
519402011-06-15 Ulrich Drepper <drepper@gmail.com>
51941
77fb9117
UD
51942 * Makeconfig: Define vardbdir and inst_vardbdir.
51943 * nss/Makefile: Add rules to install db-Makefile.
51944
40c1b22c
UD
51945 * nss/nss_db/db-XXX.c: Cleanup.
51946
9f2da732
UD
51947 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51948 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51949 GLIBC_PRIVATE.
51950 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51951 * nss/makedb.c: Implement -g option to specify that value strings
51952 are generated and should not be added to table iterated over for
51953 get*ent calls.
51954 * nss/nss_db/db-initgroups.c: New file.
51955
82e9a1f7
UD
51956 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51957 interface.
51958
c41af17e
UD
51959 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51960 (internal_getgrouplist): Adjust to name change.
51961 Update use_initgroups_entry if this is not the first call.
51962 * nss/databases.def: Add initgroups entry.
51963
a9e836b0
UD
51964 * nss/makedb.c (compute_tables): Check result of multiple hash table
51965 sizes to minimize maximum chain length.
51966
2666d441
UD
519672011-06-14 Ulrich Drepper <drepper@gmail.com>
51968
51969 * Versions.def: Add entry for libnss_db.
51970 * shlib-versions: Likewise.
51971 * nss/Makefile: Add rules to build libnss_db.
51972 * nss/Versions: Add libnss_db information. Organize libnss_files
51973 entries better.
51974 * nss/db-Makefile: Add gshadow support. Change rules for the new
51975 makedb progra. Some minor improvements to generate smaller files.
51976 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51977 here from...
51978 * nss/makedb.c: ...here.
51979 Improve database format to be smaller and require less memory at
51980 runtime.
51981 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51982 db anymore.
51983 * nss/nss_db/db-netgrp.c: Likewise.
51984 * nss/nss_db/db-open.c: Likewise.
51985 * nss/nss_files/flies-XXX.x: Adjust comments.
51986 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51987 * nss/nss_files/files-grp.c: Likewise.
51988 * nss/nss_files/files-hosts.c: Likewise.
51989 * nss/nss_files/files-network.c: Likewise.
51990 * nss/nss_files/files-proto.c: Likewise.
51991 * nss/nss_files/files-pwd.c: Likewise.
51992 * nss/nss_files/files-rpc.c: Likewise.
51993 * nss/nss_files/files-service.c: Likewise.
51994 * nss/nss_files/files-sgrp.c: Likewise.
51995 * nss/nss_files/files-spwd.c: Likewise.
51996 * nss/nss_db/db-alias.c: Removed.
51997 * nss/nss_db/dummy-db.h: Removed.
51998
9ee76b5a
UD
519992011-06-02 Ulrich Drepper <drepper@gmail.com>
52000
52001 * nss/makedb.c: Rewritten to not use database library.
52002 * nss/Makefile: Update to build new makedb program.
52003
c71ca1f8
AJ
520042011-06-14 Andreas Jaeger <aj@suse.de>
52005
52006 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52007 memset declaration.
52008
3154bfb8
UD
520092011-06-10 Andreas Schwab <schwab@redhat.com>
52010
52011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52012 tmpbuf.
52013
b350afab
RM
520142011-06-10 Roland McGrath <roland@hack.frob.com>
52015
decd4e50
RM
52016 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52017 * elf/Makefile ($(objpfx)ld.so): Likewise.
52018
5615eaf2
RM
52019 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52020 Don't list ld.so twice in dependencies.
52021
52022 * posix/bug-regex31.c: Include <stdlib.h>.
52023
52024 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52025
52026 * nis/nss_compat/compat-spwd.c
52027 (getspent_next_nss_netgr): Remove unused variable.
52028 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52029
52030 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52031 nonmembers" output to use the right array.
52032
52033 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52034
52035 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52036
52037 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52038 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52039 * catgets/gencat.c (read_input_file): Likewise.
52040 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52041
52042 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52043 variable definition inside #if's controlling its use.
52044
52045 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52046
52047 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52048
52049 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52050
52051 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52052 unreachable code.
52053
52054 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52055
b68e08db
RM
52056 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52057 * configure: Regenerated.
52058
b350afab
RM
52059 * Makerules: Revert last change.
52060 * elf/Makefile: Likewise.
52061
28368601
RM
520622011-06-09 Roland McGrath <roland@hack.frob.com>
52063
52064 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52065 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52066 (reloc-link): Likewise.
52067
11988f8f
UD
520682011-06-09 Ulrich Drepper <drepper@gmail.com>
52069
52070 * elf/Makefile: Add rules to build pldd.
52071 * elf/pldd.c: New file.
52072 * elf/pldd-xx.c: New file.
52073
e80fab37
UD
520742011-06-07 Ulrich Drepper <drepper@gmail.com>
52075
52076 * version.h: Update for 2.15 development version.
52077
9b849836
DM
520782011-06-07 David S. Miller <davem@davemloft.net>
52079
52080 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52081 ifuncs.
52082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52083 elf_machine_lazy_rel): Likewise.
52084 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52085 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52086 elf_machine_lazy_rel): Likewise.
52087 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52088 dl_hwcap via passed in argument.
52089 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52090 Likewise.
52091
5a31b283
AK
520922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52093
52094 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52095
069e52f8
RM
520962011-06-06 Roland McGrath <roland@hack.frob.com>
52097
52098 [BZ #12849]
52099 * manual/fdl-1.1.texi: New file, verbatim from:
52100 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52101 * manual/lgpl-2.1.texi: New file, verbatim from:
52102 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52103 * manual/Makefile (licenses): New variable, list those new file names.
52104 (texis): Use it.
52105 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52106
52107 * manual/fdl.texi: File removed.
52108 * manual/lesser.texi: File removed.
52109 * manual/libc.texinfo (Copying, Documentation License):
52110 Use new @include file names, put @appendix directive before @include.
52111
f16846a5
JJ
521122011-06-04 Jakub Jelinek <jakub@redhat.com>
52113
52114 [BZ #12841]
52115 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52116 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52117 (mq_open): Add __NTH.
52118
3d29045b
L
521192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52120
52121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52122 Assume Intel Core i3/i5/i7 processor if AVX is available.
52123
8c297311
UD
521242011-05-31 Ulrich Drepper <drepper@gmail.com>
52125
52126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52127 typo.
52128
c8fc0c91
UD
521292011-05-31 Andreas Schwab <schwab@redhat.com>
52130
52131 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52132 memory. Use alloca_account. Fix memory leak when retrying.
52133
5b27a807
UD
521342011-05-31 Ulrich Drepper <drepper@gmail.com>
52135
356f8bc6
UD
52136 * version.h (RELEASE): Bump for 2.14 release.
52137 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52138
5b27a807
UD
52139 * config.make.in (RANLIB): Remove entry.
52140
01f16ab0
UD
521412011-05-30 Ulrich Drepper <drepper@gmail.com>
52142
41fce8bd
UD
52143 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52144 (libc.pot): Work around missing support for .ksh extension in xgettext.
52145
4769ae77
UD
52146 [BZ #12684]
52147 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52148 if both request failed.
52149 (send_dg): In case of server errors clear resplen or *resplen2.
52150
6b1e7d19
UD
52151 [BZ #12454]
52152 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52153 when there are multiple maps.
52154 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52155 (_dl_fini): Remove test here.
52156
01f16ab0
UD
52157 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52158
b1ebd700
UD
521592011-05-29 Ulrich Drepper <drepper@gmail.com>
52160
7ae22829
UD
52161 [BZ #12350]
52162 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52163 bit from old_res_options.
52164 (gaih_inet): Likewise.
52165
553149f6 52166 [BZ #11099]
18a84741 52167 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
52168 as signed.
52169
652ffab1
UD
52170 * resolv/res_init.c (res_setoptions): Make the code more compact.
52171
16985fd0
UD
52172 [BZ #11558]
52173 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52174 set RES_USEVC.
52175
0464f746
UD
52176 [BZ #11634]
52177 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52178
7d17596c
UD
52179 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52180
cf6bbbd7
UD
52181 [BZ #11781]
52182 * malloc/malloc.h: Declare malloc hook variables as volatile.
52183
13f1ab36
UD
52184 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52185 in last patch.
52186
b1ebd700
UD
52187 [BZ #11799]
52188 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 52189 raise in the comment.
80e2212d
UD
52190 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52192 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 52193
ce67228d
UD
521942011-05-28 Ulrich Drepper <drepper@gmail.com>
52195
8887a920
UD
52196 [BZ #12811]
52197 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52198 grow the buffers more if it already has to be sufficient.
52199 (build_wcs_upper_buffer): Likewise.
52200 * posix/regexec.c (check_matching): Likewise.
52201 (clean_state_log_if_needed): Likewise.
52202 (extend_buffers): Don't enlarge buffers beyond size of the input
52203 buffer.
52204 Patches mostly by Emil Wojak <emil@wojak.eu>.
52205 * posix/bug-regex32.c: New file.
52206 * posix/Makefile (tests): Add bug-regex32.
52207
4f031072
UD
52208 * locale/findlocale.c (_nl_find_locale): Return right away if
52209 _nl_explode_name failed.
52210 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52211
d0478f0c
UD
52212 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52213
de81b246
UD
52214 * debug/xtrace.sh: Unify messages.
52215 * malloc/memusage.sh: Likewise.
52216
c738465a
UD
52217 [BZ #12813]
52218 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52219 time symbol from vDSO. Substitute with vsyscall if not available.
52220 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52221 __vdso_time.
52222
f1f929d7
UD
52223 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52224 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52225 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52226 Add sendmmsg and internal_sendmmsg.
52227 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52228 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52229 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52230
ce67228d
UD
52231 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52232 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52233 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52234
e57420c6
UD
522352011-05-27 Ulrich Drepper <drepper@gmail.com>
52236
a8509ca5
UD
52237 [BZ #12813]
52238 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52239 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52240 available.
52241 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52242 __vdso_getcpu.
52243
e57420c6
UD
52244 [BZ #12814]
52245 * iconvdata/Makefile (tests): Add bug-iconv9.
52246 * iconvdata/bug-iconv9.c: New file.
52247
4d07db15
AS
522482011-05-27 Andreas Schwab <schwab@redhat.com>
52249
52250 [BZ #12814]
52251 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52252
ea486f69
JJ
522532011-05-25 Jakub Jelinek <jakub@redhat.com>
52254
52255 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52256 (struct user_regs_struct): Change intcs field back to cs.
52257
6f038433
UD
522582011-05-25 Ulrich Drepper <drepper@gmail.com>
52259
52260 * po/ja.po: Update from translation team.
52261
67f86a25
UD
522622011-05-23 Ulrich Drepper <drepper@gmail.com>
52263
52264 [BZ #12795]
52265 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52266 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52267
def7fbd6
AS
522682011-05-20 Andreas Schwab <schwab@redhat.com>
52269
52270 * stdlib/longlong.h: Update from GCC.
52271
f50ef8f1
AS
522722011-05-23 Andreas Schwab <schwab@redhat.com>
52273
52274 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52275 parameter name.
52276 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52277 Add parameter name.
52278 (__sysconf): Pass it down.
52279
de7ce8f1
UD
522802011-05-22 Ulrich Drepper <drepper@gmail.com>
52281
f2962a71
UD
52282 [BZ #12671]
52283 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52284 some situations.
52285 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52286 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52287 add in in __libc_use_alloca calls. Adjust callers.
52288 (glob): Use malloc in some situations.
52289
de7ce8f1
UD
52290 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52291 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52292 pltexit.
52293
aec84f53
UD
522942011-05-21 Ulrich Drepper <drepper@gmail.com>
52295
05bb4a68
UD
52296 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52297 and CLOCK_BOOTTIME_ALARM.
52298
7ea72f99
UD
52299 [BZ #12782]
52300 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52301 is returned.
52302
7e4afad5
UD
52303 * string/_strerror.c (__strerror_r): Print negative errors as signed
52304 numbers.
52305
8e211fec
UD
52306 [BZ #12777]
52307 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52308 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52309 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52310
f7d82dc9
UD
52311 * configure.in: Fix typo in redirection and correct removal of test
52312 files in two cases.
52313
cc9e536d
UD
52314 [BZ #12788]
52315 * locale/setlocale.c (new_composite_name): Fix test to check for
52316 identical name of all categories.
52317
aec84f53
UD
52318 [BZ #12792]
52319 * libio/filedoalloc.c (local_isatty): New function.
52320 (_IO_file_doallocate): Use local_isatty.
52321 * stdio-common/perror.c (perror): In case a new stream is used
52322 forward the stream error.
52323 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52324 error flag.
52325
78e64fdc
RT
523262011-05-20 Ulrich Drepper <drepper@gmail.com>
52327
34a9094f
UD
52328 [BZ #11869]
52329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52330 alloca.
52331 * include/alloca.h (extend_alloca_account): Define.
52332
78e64fdc
RT
52333 [BZ #11857]
52334 * posix/regex.h: Fix comments with documentation of user-accessible
52335 fields after compilation and describe correct free'ing of pattern
52336 after re_compile_pattern.
52337 Patch by Reuben Thomas <rrt@sc3d.org>.
52338
457bddfc
RA
523392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52340
52341 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52342 and -mno-altivec to prevent the compiler from using Altivec and/or
52343 VSX instructions when the corresponding registers are not available.
52344
a4527b51
AS
523452011-05-19 Andreas Schwab <schwab@redhat.com>
52346
52347 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52348
ed690b2f
UD
523492011-05-19 Ulrich Drepper <drepper@gmail.com>
52350
52351 * libio/freopen.c (freopen): Use __dup2, not dup2.
52352 * libio/freopen64.c (freopen64): Likewise.
52353
8db73634
L
523542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52355
52356 [BZ #12775]
52357 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52358 * math/Makefile (tests): Add test-powl.
52359 (CFLAGS-test-powl.c): Define.
52360 * math/test-powl.c: New file.
52361
0a197a9d
L
523622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52363
52364 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52365
ee30c380
UD
523662011-05-17 Ulrich Drepper <drepper@gmail.com>
52367
52368 [BZ #11837]
52369 * iconvdata/gb18030.c: Update to GB18020-2005.
52370
6ce75379
UD
523712011-05-16 Ulrich Drepper <drepper@gmail.com>
52372
a4b89fd8
AR
52373 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52374 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52375 Patch by Aharon Robbins <arnold@skeeve.com>.
52376
ea389b12
UD
52377 [BZ #11892]
52378 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52379 on the stack.
52380
68a3f91f
UD
52381 [BZ #11895]
52382 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52383 through underflows.
52384
15cc7dd1
UD
52385 [BZ #12766]
52386 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52387 point to strings before performing equality test for error_one_per_line
52388 mode.
52389
f3799213
UD
52390 [BZ #11697]
52391 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52392
d79a9c94
UD
52393 [BZ #11820]
52394 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52395 (struct user_fpregs_struct): Avoid __uint*_t types.
52396
56e5eb46
UD
52397 [BZ #6420]
52398 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52399 symbol info. Use it instead of calling _dl_addr locally.
52400 (lock_and_info): New function.
52401 (tr_freehook): Call lock_and_info and pass symbol info as additional
52402 parameter to tr_where.
52403 (tr_mallochook): Likewise.
52404 (tr_reallochook): Likewise.
52405 (tr_memalignhook): Likewise.
52406
6ce75379
UD
52407 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52408 used and couldn't be at all thread-safe.
52409
f8a3b5bf
UD
524102011-05-15 Ulrich Drepper <drepper@gmail.com>
52411
94b7cc37
UD
52412 * libio/freopen.c (freopen): Don't close old file descriptor
52413 before the new one is opened. Instead dup the new file descriptor
52414 to the old one after the new stream is created.
52415 * libio/freopen64.c (freopen64): Likewise.
52416 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52417 * libio/fileops.c (_IO_new_file_close_it): Handle new
52418 _IO_FLAGS2_NOCLOSE flag.
52419 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52420 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52421 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52422 _IO_FLAGS2_NOCLOSE flag.
52423 * include/unistd.h: Add hidden_proto for dup3.
52424 Define __have_dup3.
52425 * io/dup3.c: Define hidden symbol.
52426 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52427
bd25564e
UD
52428 [BZ #7101]
52429 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52430 when an incomplete long option is used.
52431 * posix/tst-getopt_long1.c: New file.
52432 * posix/Makefile (tests): Add tst-getopt_long1.
52433
c84cfef4
UD
52434 [BZ #10138]
52435 * scripts/config.guess: Update from autoconf-2.68.
52436 * scripts/config.sub: Likewise.
52437
3b85df27
UD
52438 [BZ #10157]
52439 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52440 tests into ...
52441 (has_cpuclock): ...this. New function.
52442 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52443 macro here based on has_cpuclock code.
52444
15a856b1
UD
52445 [BZ #10149]
52446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52447 First byte (not low byte) is now always NUL.
52448 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52449
05f399e6
UD
52450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52451 Use non-cancelable interfaces.
52452
10a52685 52453 [BZ #9809]
94ecc67d
UD
52454 * locale/iso-639.def: Add entry for Sorani.
52455
f8a3b5bf
UD
52456 [BZ #11901]
52457 * include/stdlib.h: Move include protection to the right place.
52458 Define abort_msg_s. Declare __abort_msg with it.
52459 * stdlib/abort.c (__abort_msg): Adjust type.
52460 * assert/assert.c (__assert_fail_base): New function. Majority
52461 of code from __assert_fail. Allocate memory for __abort_msg with
52462 mmap.
52463 (__assert_fail): Now call __assert_fail_base.
52464 * assert/assert-perr.c: Remove bulk of implementation. Use
52465 __assert_fail_base.
52466 * include/assert.hL Declare __assert_fail_base.
52467 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52468 mmap.
52469 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52470
1af4e298
UD
524712011-05-14 Ulrich Drepper <drepper@gmail.com>
52472
f8a3b5bf 52473 [BZ #11952]
d26dfc60
MG
52474 [BZ #12453]
52475 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52476 until all modules are registered in the DTV.
52477 * elf/Makefile: Add rules to build and run tst-tls19.
52478 * elf/tst-tls19.c: New file.
52479 * elf/tst-tls19mod1.c: New file.
52480 * elf/tst-tls19mod2.c: New file.
52481 * elf/tst-tls19mod3.c: New file.
52482 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52483
2fc54d6f
UD
52484 [BZ #12083]
52485 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52486 correctly.
52487
98d76b46
UD
52488 [BZ #12601]
52489 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52490 two-byte sequence errors.
52491 * iconvdata/Makefile (tests): Add bug-iconv8.
52492 * iconvdata/bug-iconv8.c: New file.
52493
da3c19ef
UD
52494 [BZ #12626]
52495 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52496 buf2 definition.
52497
ca408c15
UD
52498 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52499
d6f67f7d
UD
52500 [BZ #12432]
52501 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52502 (dummy_getcfa): New function.
52503 (init): Get _Unwind_GetCFA address, use dummy if not found.
52504 (backtrace_helper): In recursion check, also check whether CFA changes.
52505 (__backtrace): Completely initialize arg.
52506
1af4e298 52507 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
52508 storing incomplete byte sequence in state object. Avoid testing for
52509 guaranteed too small input if we know there is enough data available.
1af4e298 52510
da62f81b
AS
525112011-05-11 Andreas Schwab <schwab@redhat.com>
52512
52513 * Makeconfig (+link-pie): Indent.
52514 * Rules (binaries-pie): Define if $(have-fpie) and
52515 $(build-shared).
52516 (binaries-shared): Also filter out $(binaries-pie).
52517 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52518 * nscd/Makefile (others-pie): Add nscd.
52519 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52520 ($(objpfx)nscd): Remove command override.
52521 * login/Makefile (others-pie): Add pt_chown.
52522 ($(objpfx)pt_chown): Remove command override.
52523 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52524 remove command overrides.
52525
fcabc0f8
UD
525262011-05-13 Ulrich Drepper <drepper@gmail.com>
52527
20030ae6
UD
52528 * libio/tst_putwc.c: Fix error messages.
52529
fcabc0f8
UD
52530 [BZ #12724]
52531 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52532 currently writing and seek to current position when not.
52533 * libio/Makefile (tests): Add bug-fclose1.
52534 * libio/bug-fclose1.c: New file.
52535
320a5dc0
PB
525362011-05-12 Ulrich Drepper <drepper@gmail.com>
52537
52538 [BZ #12511]
52539 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52540 don't set DF_1_NODELETE here.
52541 (do_lookup_x): When entering new entry test for copy relocation
52542 and if necessary set DF_1_NODELETE flag.
52543 * elf/tst-unique4.cc: New file.
52544 * elf/tst-unique4.h: New file.
52545 * elf/tst-unique4lib.cc: New file.
52546 * elf/Makefile: Add rules to build and run tst-unique4.
52547 Patch by Piotr Bury <pbury@goahead.com>.
52548
22836f52
UD
525492011-05-11 Ulrich Drepper <drepper@gmail.com>
52550
f574184a
UD
52551 [BZ #12052]
52552 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52553
e1fb097f
UD
52554 [BZ #12625]
52555 * misc/mntent_r.c (addmntent): Flush the stream after the output
52556
22836f52
UD
52557 [BZ #12393]
52558 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52559 (is_trusted_path_normalize): Skip initial colon. Append slash
52560 to empty buffer. Duplicate is_trusted_path code but allow
52561 constructed patch to be prefix.
52562 (is_dst): Allow $ORIGIN followed by /.
52563 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52564 Correct testing of result of is_trusted_path_normalize
52565 (decompose_rpath): Fix warning.
52566
7b3b0b2a
UD
525672011-05-10 Ulrich Drepper <drepper@gmail.com>
52568
52569 [BZ #11257]
52570 * grp/initgroups.c (internal_getgrouplist): When we found the service
52571 list through the initgroups entry in nsswitch.conf do not always
52572 continue on a successful lookup. Don't always use the
eac80ce2 52573 __nss_group_database value if it is set.
7b3b0b2a
UD
52574 * nss/nsswitch.conf (initgroups): Change action for successful db
52575 lookup to continue for compatibility.
52576
2a81eaa5
UD
525772011-05-09 Ulrich Drepper <drepper@gmail.com>
52578
be97a69e
UD
52579 [BZ #11532]
52580 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52581 and CP774 modules.
52582 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52583 and CP774 modules.
52584 * iconvdata/tst-tables.sh: Likewise.
52585 * iconvdata/cp770.c: New file.
52586 * iconvdata/cp771.c: New file.
52587 * iconvdata/cp772.c: New file.
52588 * iconvdata/cp773.c: New file.
52589 * iconvdata/cp774.c: New file.
52590 * iconvdata/testdata/CP770: New file.
52591 * iconvdata/testdata/CP770..UTF8: New file.
52592 * iconvdata/testdata/CP771: New file.
52593 * iconvdata/testdata/CP771..UTF8: New file.
52594 * iconvdata/testdata/CP772: New file.
52595 * iconvdata/testdata/CP772..UTF8: New file.
52596 * iconvdata/testdata/CP773: New file.
52597 * iconvdata/testdata/CP773..UTF8: New file.
52598 * iconvdata/testdata/CP774: New file.
52599 * iconvdata/testdata/CP774..UTF8: New file.
52600
52601 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52602 END CHARMAP line.
52603 * iconvdata/gen-8bit-gap.sh: Likewise.
52604 * iconvdata/gen-8bit.sh: Likewise.
52605
c1e9e399
UD
52606 * locale/iso-639.def: Add ary entry.
52607
24c55fb3 52608 [BZ #11258]
96b4b1b0
UD
52609 * locale/C-translit.h.in: Add U20A1 transliteration.
52610
bdc2f971
KB
52611 [BZ #12178]
52612 * locale/iso-639.def: Add wae entry.
52613 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52614
2952b117
UD
52615 [BZ #12545]
52616 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52617 for n.
52618
2a81eaa5
UD
52619 [BZ #12711]
52620 * locale/C-translit.h.in: Add entry for U20B9.
52621 Patch by pravin.d.s@gmail.com.
52622
28377d1b
UD
526232011-05-08 Ulrich Drepper <drepper@gmail.com>
52624
7fb90fb8
UD
52625 [BZ #12713]
52626 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52627 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
52628 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52629 in rtld. Use *stat64.
7fb90fb8 52630 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 52631 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 52632 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
52633 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52634 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52635 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52636 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52637 __fstatat64 macros.
7fb90fb8
UD
52638 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52639 * dirent/rewinddir.c: Add libc_hidden_def.
52640 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 52641 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 52642
28377d1b
UD
52643 * include/dirent.h (__alloc_dir): Add flags parameter.
52644 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52645 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52646 __alloc_dir.
52647 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52648 from fdopendir if O_CLOEXEC is already set.
52649
66bdbaa4
AM
526502011-03-15 Alan Modra <amodra@gmail.com>
52651
52652 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52653 l_tls_firstbyte_offset non-zero. Save padding offset in
52654 l_tls_firstbyte_offset for later use.
52655 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52656 freeing static tls block.
52657
95721191
JN
526582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52659
52660 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52661 where #ifdef was intended. The intent is to prevent ARG_MAX from
52662 being defined by the kernel headers.
52663
f87dfb1f
UD
526642011-05-07 Ulrich Drepper <drepper@gmail.com>
52665
52666 [BZ #12734]
52667 * resolv/resolv.h: Define RES_NOTLDQUERY.
52668 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52669 no-tld-query and set RES_NOTLDQUERY.
52670 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52671 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52672 modern BIND to search name as TLD unless forbidden.
52673
47c3cd7a
UD
526742011-05-07 Petr Baudis <pasky@suse.cz>
52675 Ulrich Drepper <drepper@gmail.com>
52676
52677 [BZ #12393]
52678 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52679 (is_trusted_path): ...to here.
c1e9ea35 52680 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 52681 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 52682 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 52683
8a35c912
PP
526842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52685
52686 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52687 __BEGIN/__END_DECLS.
52688
acd41f47
UD
526892011-05-06 Ulrich Drepper <drepper@gmail.com>
52690
52691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52692 NSS_STATUS_NOTFOUND if no record was found.
52693
597df647
AS
526942011-05-05 Andreas Schwab <schwab@redhat.com>
52695
52696 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52697 (headers-not-in-tirpc): Remove rpc/netdb.h
52698 * resolv/netdb.h: Revert last change.
52699
b9af1301
PP
527002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52701
52702 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52703 circular dependency between libgcc.a and libc.a.
52704
4e34d5f5
AS
527052011-05-05 Andreas Schwab <schwab@redhat.com>
52706
52707 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52708 * nis/Makefile: Don't install rpcsvc/*.
52709 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52710 instead of <rpc/types.h>.
52711 (MAXHOSTNAMELEN): Define.
52712
00ee369c
AS
527132011-05-03 Andreas Schwab <schwab@redhat.com>
52714
52715 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52716
0b592a30
MB
527172011-04-28 Maciej Babinski <mbabinski@google.com>
52718
52719 [BZ #12714]
52720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52721 gethostbyname4_r when IPv6 results are possible.
52722
6e04cbbe
UD
527232011-05-02 Ulrich Drepper <drepper@gmail.com>
52724
52725 [BZ #12723]
52726 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52727 _PC_PIPE_BUF handling.
52728
e4ecafe0
BH
527292011-04-30 Bruno Haible <bruno@clisp.org>
52730
52731 [BZ #12717]
52732 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52733 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52734 to 'int'.
52735 * inet/getnameinfo.c (getnameinfo): Likewise.
52736
125ee683
UD
527372011-04-29 Ulrich Drepper <drepper@gmail.com>
52738
52739 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52740 to groups setting in database lookup.
52741 * nss/nsswitch.conf: Add initgroups entry.
52742
b722481a
EB
527432011-04-22 Ulrich Drepper <drepper@gmail.com>
52744
52745 [BZ #12685]
52746 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52747 mode string.
52748 Patch by Eric Blake <eblake@redhat.com>.
52749
4df46dbd
L
527502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52751
52752 * sunrpc/Makefile (need-export-routines): Add svc_run.
52753 (routines): Remove svc_run.
52754 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52755 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52756 * sunrpc/svc_run.c (svc_run): Likewise.
52757 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52758
e84142d2
UD
527592011-04-21 Ulrich Drepper <drepper@gmail.com>
52760
52761 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52762 problem in reallocation in last patch.
52763
877175d8
UD
527642011-04-20 Ulrich Drepper <drepper@gmail.com>
52765
52766 * sunrpc/Makefile: Move inclusion of Rules.
52767
ab8eed78
UD
527682011-04-19 Ulrich Drepper <drepper@gmail.com>
52769
52770 * nss/nss_files/files-initgroups.c: New file.
52771 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52772 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52773 _nss_files_initgroups_dyn.
52774
e3d8f584
RS
527752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52776
52777 * elf/elf.h (R_ARM_IRELATIVE): Define.
52778
af190f45
UD
527792011-04-19 Ulrich Drepper <drepper@gmail.com>
52780
52781 * po/ru.po: Update from translation team.
52782
53cf59ef
UD
527832011-04-17 Ulrich Drepper <drepper@gmail.com>
52784
52785 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52786 dependencies.
52787
4c559bcd
MF
527882011-02-06 Mike Frysinger <vapier@gentoo.org>
52789
52790 [BZ #12653]
52791 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52792 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52794 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52795 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52796
4420675c
AS
527972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52798
52799 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52800 differing bytes.
52801 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52802 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52803 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52804
75ea32ab
UD
528052011-04-17 Ulrich Drepper <drepper@gmail.com>
52806
52807 [BZ #12420]
52808 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52809 storing it.
52810 * stdlib/bug-getcontext.c: New file.
52811 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52812
27390476
AK
528132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52814
52815 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52816 instructions into .machine "z9-109".
52817 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52818 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52819
10442705
AK
528202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52821
52822 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52823 between environment variables and auxiliary vector.
52824
7b57bfe5
UD
528252011-04-16 Ulrich Drepper <drepper@gmail.com>
52826
52827 * Makefile: Add rules to build linkobj/libc.so.
52828 * include/libc-symbols.h: Define libc_hidden_nolink.
52829 * include/rpc/auth.h: Mark functions which are to be hidden.
52830 * include/rpc/auth_des.h: Likewise.
52831 * include/rpc/auth_unix.h: Likewise.
52832 * include/rpc/clnt.h: Likewise.
52833 * include/rpc/des_crypt.h: Likewise.
52834 * include/rpc/key_prot.h: Likewise.
52835 * include/rpc/pmap_clnt.h: Likewise.
52836 * include/rpc/pmap_prot.h: Likewise.
52837 * include/rpc/pmap_rmt.h: Likewise.
52838 * include/rpc/rpc_msg.h: Likewise.
52839 * include/rpc/svc.h: Likewise.
52840 * include/rpc/svc_auth.h: Likewise.
52841 * include/rpc/xdr.h: Likewise.
52842 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52843 * nss/Makefile: Likewise.
52844 * sunrpc/Makefile: Don't install headers. Build library with normal
52845 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52846 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52847 for the compat linking library. Remove use of INTDEF/INTUSE.
52848 * sunrpc/auth_none.c: Likewise.
52849 * sunrpc/auth_unix.c: Likewise.
52850 * sunrpc/authdes_prot.c: Likewise.
52851 * sunrpc/authuxprot.c: Likewise.
52852 * sunrpc/clnt_gen.c: Likewise.
52853 * sunrpc/clnt_perr.c: Likewise.
52854 * sunrpc/clnt_raw.c: Likewise.
52855 * sunrpc/clnt_simp.c: Likewise.
52856 * sunrpc/clnt_tcp.c: Likewise.
52857 * sunrpc/clnt_udp.c: Likewise.
52858 * sunrpc/clnt_unix.c: Likewise.
52859 * sunrpc/des_crypt.c: Likewise.
52860 * sunrpc/des_soft.c: Likewise.
52861 * sunrpc/get_myaddr.c: Likewise.
52862 * sunrpc/key_call.c: Likewise.
52863 * sunrpc/key_prot.c: Likewise.
52864 * sunrpc/netname.c: Likewise.
52865 * sunrpc/pm_getmaps.c: Likewise.
52866 * sunrpc/pm_getport.c: Likewise.
52867 * sunrpc/pmap_clnt.c: Likewise.
52868 * sunrpc/pmap_prot.c: Likewise.
52869 * sunrpc/pmap_prot2.c: Likewise.
52870 * sunrpc/pmap_rmt.c: Likewise.
52871 * sunrpc/publickey.c: Likewise.
52872 * sunrpc/rpc_cmsg.c: Likewise.
52873 * sunrpc/rpc_common.c: Likewise.
52874 * sunrpc/rpc_dtable.c: Likewise.
52875 * sunrpc/rpc_prot.c: Likewise.
52876 * sunrpc/rpc_thread.c: Likewise.
52877 * sunrpc/rtime.c: Likewise.
52878 * sunrpc/svc.c: Likewise.
52879 * sunrpc/svc_auth.c: Likewise.
52880 * sunrpc/svc_authux.c: Likewise.
52881 * sunrpc/svc_raw.c: Likewise.
52882 * sunrpc/svc_run.c: Likewise.
52883 * sunrpc/svc_simple.c: Likewise.
52884 * sunrpc/svc_tcp.c: Likewise.
52885 * sunrpc/svc_udp.c: Likewise.
52886 * sunrpc/svc_unix.c: Likewise.
52887 * sunrpc/svcauth_des.c: Likewise.
52888 * sunrpc/xcrypt.c: Likewise.
52889 * sunrpc/xdr.c: Likewise.
52890 * sunrpc/xdr_array.c: Likewise.
52891 * sunrpc/xdr_float.c: Likewise.
52892 * sunrpc/xdr_intXX_t.c: Likewise.
52893 * sunrpc/xdr_mem.c: Likewise.
52894 * sunrpc/xdr_rec.c: Likewise.
52895 * sunrpc/xdr_ref.c: Likewise.
52896 * sunrpc/xdr_sizeof.c: Likewise.
52897 * sunrpc/xdr_stdio.c: Likewise.
52898
e6c61494
UD
528992011-04-10 Ulrich Drepper <drepper@gmail.com>
52900
52901 [BZ #12650]
52902 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52903 * sysdeps/ia64/dl-tls.h: Likewise.
52904 * sysdeps/powerpc/dl-tls.h: Likewise.
52905 * sysdeps/s390/dl-tls.h: Likewise.
52906 * sysdeps/sh/dl-tls.h: Likewise.
52907 * sysdeps/sparc/dl-tls.h: Likewise.
52908 * sysdeps/x86_64/dl-tls.h: Likewise.
52909 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52910
34fe483e
AS
529112011-03-14 Andreas Schwab <schwab@redhat.com>
52912
52913 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52914 rpath element also skip the following colon.
52915 (expand_dynamic_string_token): Add is_path parameter and pass
52916 down to DL_DST_REQUIRED and _dl_dst_substitute.
52917 (decompose_rpath): Call expand_dynamic_string_token with
52918 non-zero is_path. Ignore empty rpaths.
52919 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52920 with zero is_path.
52921
f12a32e6
AS
529222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52923
52924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52925 Make cancelable.
52926
38a7d692
UD
529272011-04-09 Ulrich Drepper <drepper@gmail.com>
52928
52929 [BZ #12655]
52930 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52931 Patch by Filipe David Manana <fdmanana@apache.org>.
52932
e451d22b
AS
529332011-04-07 Andreas Schwab <schwab@redhat.com>
52934
52935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52936 Maintain aligned stack.
52937 (CHECK_RSP): Remove unused macro.
52938
dedc7c7b
UD
529392011-04-03 Ulrich Drepper <drepper@gmail.com>
52940
52941 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52943
94521213
UD
529442011-04-02 Ulrich Drepper <drepper@gmail.com>
52945
52946 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52947
8cb700c0 52948 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 52949
0354e355
L
529502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52951
52952 [BZ #12518]
52953 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52954 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52955 * sysdeps/x86_64/memmove.c: New file.
52956 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52957 (memcpy): Renamed to ...
52958 (__new_memcpy): This.
52959 (memcpy): Provide GLIBC_2_14 memcpy.
52960 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52961 (memcpy): Provide GLIBC_2_2_5 memcpy.
52962
8593482f
UD
529632011-04-01 Ulrich Drepper <drepper@gmail.com>
52964
52965 [BZ #12631]
52966 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52967
81a5726b
AS
529682011-03-30 Andreas Schwab <schwab@redhat.com>
52969
52970 * misc/syncfs.c: New file.
52971 * misc/Makefile (routines): Add syncfs.
52972 * posix/unistd.h: Declare syncfs.
52973 * sysdeps/unix/syscalls.list: Add syncfs.
52974
00e5419f
AS
529752011-04-01 Andreas Schwab <schwab@redhat.com>
52976
52977 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52978 open_by_handle_at.
52979 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52980 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52982 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52984 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52986
748876bf
UD
529872011-04-01 Ulrich Drepper <drepper@gmail.com>
52988
658e451d
UD
52989 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52990 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52991 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52993 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52995 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52996
748876bf
UD
52997 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52998 sync_file_range.c with -fexceptions.
52999 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53000 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53001 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53002 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53003 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53004 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53005 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
53006 sync_file_range as cancellation point
53007 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53008 now a wrapper around __call_sync_file_range with cancellation handling.
53009 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53010 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53011 function name to __call_sync_file_range.
53012 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53013 Add call_sync_file_range.
748876bf 53014
6e63d5e1
AS
530152011-04-01 Andreas Schwab <schwab@redhat.com>
53016
53017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 53018 bits/timex.h.
6e63d5e1 53019
46998f74
UD
530202011-04-01 Ulrich Drepper <drepper@gmail.com>
53021
4c1423ed
UD
53022 * iconv/iconv.h: Fix typo in comment.
53023 * io/fcntl.h: Likewise.
53024 * libio/stdio.h: Likewise.
53025 * posix/spawn.h: Likewise.
53026 * posix/unistd.h: Likewise.
53027 * stdlib/stdlib.h: Likewise.
53028 * time/time.h: Likewise.
53029 * wcsmbs/wchar.h: Likewise.
53030
158648c0
UD
53031 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53032 open_by_handle): Add.
53033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53034 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53035 Augment a few comments.
53036 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53040 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53041 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53042 open_by_handle.
53043
46998f74
UD
53044 * io/fcntl.h (AT_EMPTY_PATH): Define.
53045
83fe108b
UD
530462011-03-30 Ulrich Drepper <drepper@gmail.com>
53047
53048 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53049 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53050 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53051 to...
53052 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
53053 * Versions.def: Add GLIBC_2.14.
53054 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53055 Export.
83fe108b 53056
bb242059
UD
530572011-03-22 Ulrich Drepper <drepper@gmail.com>
53058
53059 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53060 round counter.
53061 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53062
c97a1282
L
530632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53064
53065 [BZ #12597]
53066 * string/test-strncmp.c (do_page_test): New function.
53067 (check2): Likewise.
53068 (test_main): Call check2.
53069 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53070
2a115601
UD
530712011-03-20 Ulrich Drepper <drepper@gmail.com>
53072
53073 [BZ #12587]
53074 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53075 Handle cache information in CPU leaf 4.
53076 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53077
8126d904
UD
530782011-03-18 Ulrich Drepper <drepper@gmail.com>
53079
042c49c6 53080 [BZ #12583]
8126d904
UD
53081 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53082 character representation.
53083 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53084
ccfe366e
RA
530852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53086
53087 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53088 END(__isnan) to END(__isnanf) to match function entry point/label
53089 EALIGN(__isnanf,...).
53090
c6e13027
JJ
530912011-03-10 Jakub Jelinek <jakub@redhat.com>
53092
53093 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53094
33f85a3f
UD
530952011-03-10 Ulrich Drepper <drepper@gmail.com>
53096
028478fa
UD
53097 [BZ #12510]
53098 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53099 copy from the symbol referenced in the relocation to initialize the
53100 used variable.
53101 Patch by Piotr Bury <pbury@goahead.com>.
53102 * elf/Makefile: Add rules to build and tst-unique3.
53103 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53104 * elf/tst-unique3.cc: New file.
53105 * elf/tst-unique3.h: New file.
53106 * elf/tst-unique3lib.cc: New file.
53107 * elf/tst-unique3lib2.cc: New file.
53108
33f85a3f
UD
53109 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53110
03592fc7
MF
531112011-03-10 Mike Frysinger <vapier@gentoo.org>
53112
53113 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53114 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53115 to _start.
03592fc7 53116
6a5ee102
UD
531172011-03-06 Ulrich Drepper <drepper@gmail.com>
53118
53119 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53120 to-be-loaded object along a path to loader is ld.so.
53121
7e4ba49c
HJ
531222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53123 Ulrich Drepper <drepper@gmail.com>
53124
53125 * sysdeps/x86_64/memset.S: After aligning destination, code
53126 branches to different locations depending on the value of
53127 misalignment, when multiarch is enabled. Fix this.
53128
531292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53130
53131 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53132 Set _x86_64_preferred_memory_instruction for AMD processsors.
53133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53134 Set bit_Prefer_SSE_for_memop for AMD processors.
53135
13a804de
UD
531362011-03-04 Ulrich Drepper <drepper@gmail.com>
53137
53138 * libio/fmemopen.c (fmemopen): Optimize a bit.
53139
9d25c392
AS
531402011-03-03 Andreas Schwab <schwab@redhat.com>
53141
53142 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53143
a5543c6a
RM
531442011-03-03 Roland McGrath <roland@redhat.com>
53145
53146 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53147
012d35f7
DM
531482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53149
7e4ba49c 53150 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
53151 __bzero_ultra1 instead of __memset_ultra1.
53152
4bff6e01
AS
531532011-02-23 Andreas Schwab <schwab@redhat.com>
53154 Ulrich Drepper <drepper@gmail.com>
53155
53156 [BZ #12509]
53157 * include/link.h (struct link_map): Add l_orig_initfini.
53158 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53159 returning unsuccessfully.
53160 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53161 close of a file loaded at startup, restore the original l_initfini
53162 list.
53163 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53164 list, store the pointer.
53165 * elf/Makefile ($(objpfx)noload-mem): New rule.
53166 (noload-ENV): Define.
53167 (tests): Add $(objpfx)noload-mem.
53168 * elf/noload.c: Include <memcheck.h>.
53169 (main): Call mtrace. Close all opened handles.
53170
f2092faf
AS
531712011-02-17 Andreas Schwab <schwab@redhat.com>
53172
53173 [BZ #12454]
53174 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53175 dependencies are missing.
53176
6c8a2e88
ST
531772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53178
f2092faf 53179 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
53180 Hurd needs munmap.
53181 * sysdeps/mach/hurd/ifreq.h: New file.
53182
84a42118
PB
531832011-01-27 Petr Baudis <pasky@suse.cz>
53184 Ulrich Drepper <drepper@gmail.com>
53185
071f805e 53186 [BZ 12445]#
84a42118
PB
53187 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53188 to extend_alloca().
53189 * stdio-common/bug23.c: New file.
53190 * stdio-common/Makefile (tests): Add bug23.
53191
e23fe25b
AS
531922010-09-28 Andreas Schwab <schwab@redhat.com>
53193 Ulrich Drepper <drepper@gmail.com>
53194
53195 [BZ #12489]
53196 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53197 before performing relro protection. At old place add assertion
53198 to make sure nothing changed.
53199
d3f02e10
NS
532002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53201 Glauber de Oliveira Costa <glommer@gmail.com>
53202
53203 * elf/elf.h: Add new ARM TLS relocs.
53204
d55fd7a5
RA
532052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53206
53207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53208 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53209 cast from r3.
53210 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53211 'tests' variable.
53212 * sysdeps/wordsize-64/tst-writev.c: New file.
53213
2206397e
RA
532142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53215
53216 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53217 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53218 insns in _dl_start to prevent a TOC reference before relocs are
53219 resolved.
53220
e9433893
UD
532212011-02-15 Ulrich Drepper <drepper@gmail.com>
53222
53223 [BZ #12469]
53224 * Makeconfig: Remove RANLIB definition.
53225 * Makerules: Don't use RANLIB.
53226 * aclocal.m4: Remove ranlib test.
53227 * configure.in: No need to check for ranlib.
53228 * elf/rtld-Rules: Don't use RANLIB.
53229
f75286c6
ST
532302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53231
8e31c82d
ST
53232 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53233 protection macro.
53234 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53235 inclusion protection macro.
53236
f75286c6
ST
53237 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53238 SIGRTMIN and SIGRTMAX and print information in that case only when
53239 SIGRTMIN is defined.
53240
c1d0e639
JJ
532412011-02-11 Jakub Jelinek <jakub@redhat.com>
53242
53243 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53244 arginfo fn returning -1.
53245
53246 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53247 and thousands string is zero terminated.
53248
edf9294e
AS
532492011-02-03 Andreas Schwab <schwab@redhat.com>
53250
53251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53252 sysdeps/unix/sysv/linux/bits/socket.h.
53253
2b7e92df
ST
532542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53255
edf9294e
AS
53256 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53257 (__CPU_COUNT): Remove old macros.
53258 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53259 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53260 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
53261 (__sched_cpualloc, __sched_cpufree): Add declarations.
53262
a4c7ea7b
UD
532632011-02-05 Ulrich Drepper <drepper@gmail.com>
53264
53265 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53266 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53267 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53268 (readdhstai): Return value of addhstaiX call.
53269 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53270 (addgrbyX): Return value returned by cache_addgr.
53271 (readdgrbyname): Return value returned by addgrbyX.
53272 (readdgrbygid): Likewise.
53273 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53274 (addpwbyX): Return value returned by cache_addpw.
53275 (readdpwbyname): Return value returned by addhstbyX.
53276 (readdpwbyuid): Likewise.
53277 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53278 (addservbyX): Return value returned by cache_addserv.
53279 (readdservbyname): Return value returned by addservbyX:
53280 (readdservbyport): Likewise.
53281 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53282 (addhstbyX): Return value returned by cache_addhst.
53283 (readdhstbyname): Return value returned by addhstbyX.
53284 (readdhstbyaddr): Likewise.
53285 (readdhstbynamev6): Likewise.
53286 (readdhstbyaddrv6): Likewise.
53287 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53288 (readdinitgroups): Return value returned by addinitgroupsX.
53289 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53290 (prune_cache): Keep track of timeout value of re-added entries.
53291 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53292 * nscd/nscd.h: Adjust prototypes of readd* functions.
53293
a0bf67cc
RM
532942011-02-04 Roland McGrath <roland@redhat.com>
53295
53296 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53297 (nis_stats): Likewise.
53298 * nis/nis_modify.c (nis_modify): Likewise.
53299 * nis/nis_remove.c (nis_remove): Likewise.
53300 * nis/nis_add.c (nis_add): Likewise.
53301
53302 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53303
53304 * posix/fnmatch_loop.c: Add some consts.
53305
53306 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53307
435b95eb
L
533082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53309
53310 [BZ #12460]
53311 * config.make.in (config-cflags-novzeroupper): Define.
53312 * configure.in: Substitute libc_cv_cc_novzeroupper.
53313 * elf/Makefile (AVX-CFLAGS): Define.
53314 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53315 (CFLAGS-tst-auditmod4a.c): Likewise.
53316 (CFLAGS-tst-auditmod4b.c): Likewise.
53317 (CFLAGS-tst-auditmod6b.c): Likewise.
53318 (CFLAGS-tst-auditmod6c.c): Likewise.
53319 (CFLAGS-tst-auditmod7b.c): Likewise.
53320 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53321
8517b15e
UD
533222011-02-02 Ulrich Drepper <drepper@gmail.com>
53323
53324 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53325 function to the callback.
53326 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53327
10a656fe
AS
533282011-02-02 Andreas Schwab <schwab@redhat.com>
53329
53330 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53331 of errno.
53332
968dad0a
UD
533332011-01-19 Ulrich Drepper <drepper@gmail.com>
53334
9f94d2ea 53335 [BZ #11724]
968dad0a
UD
53336 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53337 of constructors.
53338 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53339 of destructors.
53340 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53341
53342 [BZ #11724]
53343 * elf/Makefile: Add rules to build and run new test.
53344 * elf/tst-initorder.c: New file.
53345 * elf/tst-initorder.exp: New file.
53346 * elf/tst-initordera1.c: New file.
53347 * elf/tst-initordera2.c: New file.
53348 * elf/tst-initordera3.c: New file.
53349 * elf/tst-initordera4.c: New file.
53350 * elf/tst-initorderb1.c: New file.
53351 * elf/tst-initorderb2.c: New file.
53352 * elf/tst-order-a1.c: New file.
53353 * elf/tst-order-a2.c: New file.
53354 * elf/tst-order-a3.c: New file.
53355 * elf/tst-order-a4.c: New file.
53356 * elf/tst-order-b1.c: New file.
53357 * elf/tst-order-b2.c: New file.
53358 * elf/tst-order-main.c: New file.
53359 New test case by George Gensure <werkt0@gmail.com>.
53360
86e92359
UD
533612010-10-01 Andreas Schwab <schwab@redhat.com>
53362
53363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53364 decoding ACE if AI_CANONIDN.
53365
5d5732b0
UD
533662011-01-18 Ulrich Drepper <drepper@gmail.com>
53367
53368 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53369
a77e8cbc
UD
533702011-01-17 Ulrich Drepper <drepper@gmail.com>
53371
6392473f
UD
53372 * version.h (RELEASE): Bump for 2.13 release.
53373 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53374
620a0529
UD
53375 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53376
18ba70a5
UD
53377 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53378 MADV_NOHUGEPAGE.
32465c3e
UD
53379 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53380 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53381 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53382 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53383 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53384 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53385
c0dafcf1
UD
53386 * posix/getconf.c: Update copyright year.
53387 * catgets/gencat.c: Likewise.
53388 * csu/version.c: Likewise.
53389 * debug/catchsegv.sh: Likewise.
53390 * debug/xtrace.sh: Likewise.
53391 * elf/ldconfig.c: Likewise.
53392 * elf/ldd.bash.in: Likewise.
53393 * elf/sprof.c (print_version): Likewise.
53394 * iconv/iconv_prog.c: Likewise.
53395 * iconv/iconvconfig.c: Likewise.
53396 * locale/programs/locale.c: Likewise.
53397 * locale/programs/localedef.c: Likewise.
53398 * malloc/memusage.sh: Likewise.
53399 * malloc/mtrace.pl: Likewise.
53400 * nscd/nscd.c (print_version): Likewise.
53401 * nss/getent.c: Likewise.
53402
a77e8cbc
UD
53403 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53404 PF_CAIF, and PF_ALG.
53405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53406
77e8bddf
AS
534072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53408
1f20b93a
AS
53409 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53410 (modules-names): Use them.
53411 (ifunc-test-modules, ifunc-pie-tests): Define.
53412 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53413 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53414 (test-extras): Likewise.
53415 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53416 $(compile-command.c).
53417 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53418 (all-built-dso): Define.
53419 (check-textrel.out, check-execstack.out): Depend on it.
53420
77e8bddf
AS
53421 * configure.in: Don't override --enable-multi-arch.
53422
bc425b33
UD
534232011-01-15 Ulrich Drepper <drepper@gmail.com>
53424
53425 [BZ #6812]
53426 * nscd/hstcache.c (tryagain): Define.
53427 (cache_addhst): Return tryagain not notfound for temporary errors.
53428 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53429 failed.
53430
794c3ad3
UD
534312011-01-14 Ulrich Drepper <drepper@gmail.com>
53432
70181fdd
UD
53433 [BZ #10563]
53434 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53435 to make the syscall.
53436 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53437
794c3ad3
UD
53438 [BZ #12378]
53439 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53440 and fall back to matching as normal character if the string ends before
53441 the matching ']' is found. This is what POSIX requires.
53442 * posix/testfnm.c: Adjust test result.
53443 * posix/globtest.sh: Adjust test result. Add new test.
53444 * posix/tst-fnmatch.input: Likewise.
53445 * posix/tst-fnmatch2.c: Add new test.
53446
68dc9497
AS
534472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53448
53449 * elf/Makefile (check-execstack): Revert last change. Depend on
53450 check-execstack.h.
53451 (check-execstack.h): New target.
53452 (generated): Add check-execstack.h.
53453 * elf/check-execstack.c: Include "check-execstack.h".
53454 (main): Revert last change.
53455 (handle_file): Return zero if GNU_STACK is absent and
53456 DEFAULT_STACK_PERMS doesn't include PF_X.
53457
451f001b
UD
534582011-01-13 Ulrich Drepper <drepper@gmail.com>
53459
cfa28e56
UD
53460 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53461 in child fails because the descriptor is already closed.
8cf8ce17
UD
53462 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53463 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53464 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 53465
1086d70d
UD
53466 [BZ #12397]
53467 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53468 syscall.
53469
451f001b
UD
53470 [BZ #10484]
53471 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53472 temporary buffer used to handle multi lookups locally.
a85b5cb4 53473 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 53474
08769175
UD
534752011-01-12 Ulrich Drepper <drepper@gmail.com>
53476
53477 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53478 loader is ld.so.
53479
5e49c52e
UD
534802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53481
53482 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53483 alignment for SSE2.
53484
60522a5f
UD
534852011-01-12 Ulrich Drepper <drepper@gmail.com>
53486
53487 [BZ #12394]
53488 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53489 characters. When rounding increased number of integer digits recompute
53490 number of groups.
53491 * stdio-common/tst-grouping.c: New file.
53492 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53493
f257bbd7
UD
534942011-01-09 Ulrich Drepper <drepper@gmail.com>
53495
53496 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53497 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53498
53499 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53500 void.
53501 * bits/select.h: Likewise.
53502
fa9c15cb
UD
535032011-01-08 Ulrich Drepper <drepper@gmail.com>
53504
53505 * po/ja.po: Update from translation team.
53506
16c2895f
DM
535072011-01-04 David S. Miller <davem@sunset.davemloft.net>
53508
53509 [BZ #11155]
53510 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53511 implementation just like for lxstat, fxstatat, et al.
53512
2543fef2
JM
535132010-12-27 Jim Meyering <meyering@redhat.com>
53514
53515 [BZ #12348]
53516 * posix/regexec.c (build_trtable): Return failure indication upon
53517 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53518
98727dbe
UD
535192010-12-25 Ulrich Drepper <drepper@gmail.com>
53520
5bd6dc5c
UD
53521 [BZ #12201]
53522 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53523 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53524 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53525 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53526
97983464
UD
53527 [BZ #12207]
53528 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53529
98727dbe
UD
53530 [BZ #12204]
53531 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53532 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53533
4a531bb0
L
535342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53535
53536 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53537 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53538 script has SORT_BY_INIT_PRIORITY.
53539 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53540 NO_CTORS_DTORS_SECTIONS is defined.
53541 * elf/soinit.c: Likewise.
53542 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53543 NO_CTORS_DTORS_SECTIONS is defined.
53544 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53545 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53546 * sysdeps/sh/init-first.c: Likewise.
53547 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53548
07eb4b71
UD
535492010-12-24 Ulrich Drepper <drepper@gmail.com>
53550
53551 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53552 always use the slow path.
53553
30950a5f
RA
535542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53555
53556 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53557 similar rule which adds the sysdep directories to the header search in
53558 order to pick up the correct platform stackinfo.h.
53559 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53560 perform test if it is, otherwise return successfully without testing.
53561 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53562 DEFAULT_STACK_PERMS define in stackinfo.h.
53563 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53564 defined in stackinfo.h.
53565 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53566 DEFAULT_STACK_PERMS defined in stackinfo.h.
53567 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53568 * sysdeps/ia64/stackinfo.h: Likewise.
53569 * sysdeps/s390/stackinfo.h: Likewise.
53570 * sysdeps/sh/stackinfo.h: Likewise.
53571 * sysdeps/sparc/stackinfo.h: Likewise.
53572 * sysdeps/x86_64/stackinfo.h: Likewise.
53573 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53574 PF_X for powerpc64. Retain PF_X for powerpc32.
53575
db753e2c
UD
535762010-12-19 Ulrich Drepper <drepper@gmail.com>
53577
14b697f7
UD
53578 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53579 accurately.
db753e2c
UD
53580 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53581 GETDENTS_64BIT_ALIGNED.
53582
28300719
UD
535832010-12-14 Ulrich Drepper <dreper@gmail.com>
53584
14b697f7 53585 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 53586
4f197237
AS
535872010-12-10 Andreas Schwab <schwab@redhat.com>
53588
dbb0472f
AS
53589 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53590 _GNU_SOURCE.
53591
4f197237
AS
53592 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53593 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53594 Remove __restrict.
53595 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53596 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53597
fb88ac72
UD
535982010-12-09 Ulrich Drepper <drepper@gmail.com>
53599
53600 [BZ #11655]
53601 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53602 are initialized.
53603
42acbb92
JJ
536042010-12-09 Jakub Jelinek <jakub@redhat.com>
53605
53606 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53607
c038d98d
UD
536082010-12-03 Ulrich Drepper <drepper@gmail.com>
53609
53610 * po/it.po: Update from translation team.
53611
3a4a2499
L
536122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53613
53614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53615 unused codes.
53616
1e24cf6e
UD
536172010-11-30 Ulrich Drepper <drepper@gmail.com>
53618
53619 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53620
a7690819
AS
536212010-11-24 Andreas Schwab <schwab@redhat.com>
53622
53623 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53624 specially.
53625 (gaih_getanswer_slice): Likewise.
53626
3bf8d1b1
JJ
536272010-10-20 Jakub Jelinek <jakub@redhat.com>
53628
53629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53630
6db52fbb
PB
536312010-05-31 Petr Baudis <pasky@suse.cz>
53632
53633 [BZ #11149]
53634 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53635 silently even in the chroot mode.
53636
eaca7569
UD
536372010-11-22 Ulrich Drepper <drepper@gmail.com>
53638
53639 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53640 last patch a bit. Pretty printing
53641
3056dcdb
UD
536422010-05-31 Petr Baudis <pasky@suse.cz>
53643
53644 [BZ #10085]
53645 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53646 initialization of skip_initgroups_dyn.
53647
cf7c9078
UD
536482010-11-19 Ulrich Drepper <drepper@gmail.com>
53649
53650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53651 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53652
a1fb5e3e
UD
536532010-11-16 Ulrich Drepper <drepper@gmail.com>
53654
53655 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53656
3540d66b
AS
536572010-11-11 Andreas Schwab <schwab@redhat.com>
53658
53659 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53660 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53661 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53662 ($(objpfx)tst-fnmatch-mem): New rule.
53663 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53664 * posix/tst-fnmatch.c (main): Call mtrace.
53665
13b69574
L
536662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53667
53668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53669 Support Intel processor model 6 and model 0x2c.
53670
da93d214
LM
536712010-11-10 Luis Machado <luisgpm@br.ibm.com>
53672
53673 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53674 signed comparison.
53675
8ca52c6e
L
536762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53677
53678 [BZ #12205]
53679 * string/test-strncasecmp.c (check_result): New function.
53680 (do_one_test): Use it.
53681 (check1): New function.
53682 (test_main): Use it.
53683 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53684 Support strcasecmp and strncasecmp.
53685
69da074d
UD
536862010-11-08 Ulrich Drepper <drepper@gmail.com>
53687
53688 [BZ #12194]
53689 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53691
ff02d528
L
536922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53693
53694 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53695 IFUNC support.
53696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53697 memset-x86-64.
53698 * sysdeps/x86_64/multiarch/bzero.S: New file.
53699 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53700 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53701 * sysdeps/x86_64/multiarch/memset.S: New file.
53702 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53704 Set bit_Prefer_SSE_for_memop for Intel processors.
53705 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53706 Define.
53707 (index_Prefer_SSE_for_memop): Define.
53708 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53709
344d0b54
LM
537102010-11-04 Luis Machado <luisgpm@br.ibm.com>
53711
53712 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53713 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53714
c0dde15b
UD
537152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53716
53717 [BZ #12191]
53718 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53719 (__x86_64_raw_data_cache_size_half): Likewise.
53720 (__x86_64_raw_shared_cache_size): Likewise.
53721 (__x86_64_raw_shared_cache_size_half): Likewise.
53722
53723 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53724 (__x86_64_raw_data_cache_size_half): Likewise.
53725 (__x86_64_raw_shared_cache_size): Likewise.
53726 (__x86_64_raw_shared_cache_size_half): Likewise.
53727 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53728 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53729 and __x86_64_raw_shared_cache_size_half. Round
53730 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53731 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53732 to multiple of 256 bytes.
53733
0e516e0e
MS
537342010-11-03 Ulrich Drepper <drepper@gmail.com>
53735
53736 [BZ #12167]
53737 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53738 of inacessible symlinks. Verify result of symlink before returning it.
53739 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53740 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53741
0e012e87
ER
537422010-10-28 Erich Ritz <erichritz@gmail.com>
53743
53744 * math/math.h (isinf): Fix typo in comment.
53745
de0ff7bc
UD
537462010-11-01 Ulrich Drepper <drepper@gmail.com>
53747
53748 * po/da.po: Update from translation team.
53749
fa41c84d
UD
537502010-10-26 Ulrich Drepper <drepper@gmail.com>
53751
53752 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53753 is added to the list.
53754
f0967738
AK
537552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53756 Ulrich Drepper <drepper@gmail.com>
53757
53758 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53759 the global list here. Move code to...
53760 (_dl_add_to_namespace_list): ...here. New function.
53761 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53762 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53763 * elf/dl-load.c (lose): Don't remove the element from the list.
53764 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53765 (_dl_map_object): Likewise.
53766
537672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
53768
53769 [BZ #12159]
53770 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53771 into all bytes of SSE register.
53772 Patch by Richard Li <richardpku@gmail.com>.
53773
f0967738 537742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
53775
53776 [BZ #12140]
53777 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53778 perturbing.
53779
d0b9e94f
MB
537802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53781
53782 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53783 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53784 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53785 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53787 submachine.
53788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53789
8e9f92e9
AS
537902010-10-22 Andreas Schwab <schwab@redhat.com>
53791
53792 * include/dlfcn.h (__RTLD_SECURE): Define.
53793 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53794 mode & __RTLD_SECURE instead.
53795 (open_path): Rename preloaded parameter to secure.
53796 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53797 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53798 * elf/dl-deps.c (openaux): Likewise.
53799 * elf/rtld.c (struct map_args): Remove is_preloaded.
53800 (map_doit): Don't use it.
53801 (dl_main): Likewise.
53802 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53803 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53804
bc96fbda
AS
538052010-09-09 Andreas Schwab <schwab@redhat.com>
53806
53807 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53808 (sysd-rules-targets): Remove duplicates.
53809 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53810 rtld-%.$o dependency.
53811
22cd1c9b
AS
538122010-10-18 Andreas Schwab <schwab@redhat.com>
53813
53814 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53815 _dl_map_object do it.
53816
18edac48
UD
538172010-10-19 Ulrich Drepper <drepper@gmail.com>
53818
53819 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53820 fast fma builtins, define the macros in the C99 standard.
53821 (FP_FAST_FMAF): Likewise.
53822 (FP_FAST_FMAL): Likewise.
53823 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53824
53825 * bits/mathdef.h: Update copyright year.
53826 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53827
d2050124
MM
538282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53829
53830 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53831 builtins, define the macros in the C99 standard.
53832 (FP_FAST_FMAF): Likewise.
53833 (FP_FAST_FMAL): Likewise.
53834 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53835 multiply/add.
53836 (FP_FAST_FMAF): Likewise.
53837
475facd1
JJ
538382010-10-15 Jakub Jelinek <jakub@redhat.com>
53839
53840 [BZ #3268]
53841 * math/libm-test.inc (fma_test): Some new testcases.
53842 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53843 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53844 y and infinite z. Do multiplication by C already in long double.
53845 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53847 y and infinite z. Do bitwise or of inexact bit into u.d.
53848 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53849 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53850 * sysdeps/i386/fpu/s_fma.S: Removed.
53851 * sysdeps/i386/fpu/s_fmal.S: Removed.
53852
7c08a05c
JJ
538532010-10-16 Jakub Jelinek <jakub@redhat.com>
53854
53855 [BZ #3268]
53856 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53858 computation is not scheduled after fetestexcept. Fix value
53859 of minimum denormal long double.
53860
f3f7372d
JJ
538612010-10-14 Jakub Jelinek <jakub@redhat.com>
53862
53863 [BZ #3268]
53864 * math/libm-test.inc (fma_test): Add some more tests.
53865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53866 correctly.
53867
14d43591
AS
538682010-10-15 Andreas Schwab <schwab@redhat.com>
53869
53870 * scripts/data/localplt-s390-linux-gnu.data: New file.
53871 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53872
5e908464
JJ
538732010-10-13 Jakub Jelinek <jakub@redhat.com>
53874
53875 [BZ #3268]
53876 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53877 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53878 instead of dbl-64.
53879 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53880 inlines.
53881 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53883 if one of x and y is very large and the other is subnormal.
53884 * sysdeps/s390/fpu/s_fmaf.c: New file.
53885 * sysdeps/s390/fpu/s_fma.c: New file.
53886 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53887 * sysdeps/powerpc/fpu/s_fma.S: New file.
53888 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53889 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53890 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53891
538922010-10-12 Jakub Jelinek <jakub@redhat.com>
53893
53894 [BZ #3268]
53895 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53896 fma tests.
53897 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53898 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53899 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53900 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53901 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53902 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53903 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53904
b833d51f
UD
539052010-10-12 Ulrich Drepper <drepper@redhat.com>
53906
53907 [BZ #12078]
53908 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53909 * posix/bug-regex31.input: Add test case.
53910
1751705d
UD
539112010-10-11 Ulrich Drepper <drepper@gmail.com>
53912
e9b9cbf5
UD
53913 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53914 * posix/bug-regex31.input: New file.
53915
53916 [BZ #12078]
53917 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53918 (parse_sub_exp): Fix last change, use postorder.
53919
ef06edbe
UD
53920 * posix/bug-regex31.c: New file.
53921 * posix/Makefile: Add rules to build and run bug-regex31.
53922
a129c80d
UD
53923 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53924
53925 [BZ #12078]
53926 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53927
b76b818e
UD
53928 [BZ #12108]
53929 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53930 to have entries in sys_siglist.
53931
1751705d
UD
53932 [BZ #12093]
53933 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53934 be NULL.
53935
9ff8d36f
JJ
539362010-10-07 Jakub Jelinek <jakub@redhat.com>
53937
53938 [BZ #3268]
53939 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53940 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53941 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53942 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53943 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53944 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53945 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53946 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53947 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53948 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53949 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53950 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53951 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53952 * math/ftestexcept.c (fetestexcept): Likewise.
53953 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53954 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53955 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53956 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53957 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53958 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53959 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53960
af325969
UD
539612010-10-11 Ulrich Drepper <drepper@gmail.com>
53962
c579b202 53963 [BZ #12107]
af325969
UD
53964 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53965 newline.
53966
67a67b95
UD
539672010-10-06 Ulrich Drepper <drepper@gmail.com>
53968
53969 * string/bug-strstr1.c: New file.
53970 * string/Makefile: Add rules to build and run bug-strstr1.
53971
5fb308bc
EB
539722010-10-05 Eric Blake <eblake@redhat.com>
53973
53974 [BZ #12092]
53975 * string/str-two-way.h (two_way_long_needle): Always clear memory
53976 when skipping input due to the shift table.
53977
45db99c7
UD
539782010-10-03 Ulrich Drepper <drepper@gmail.com>
53979
3b111893
UD
53980 [BZ #12005]
53981 * malloc/mcheck.c: Handle large requests.
53982
45db99c7
UD
53983 [BZ #12077]
53984 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53985 for strncmp and strncasecmp.
53986 * string/stratcliff.c: Add tests for strcmp and strncmp.
53987 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53988
cf7a1eb8
NI
539892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53990
53991 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53992 __set_fpscr.
53993
6484ba5e
AJ
539942010-09-30 Andreas Jaeger <aj@suse.de>
53995
53996 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53997 (CGROUP_SUPER_MAGIC): Define.
53998 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53999 Handle btrfs and cgroup file systems.
54000 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54001 Likewise.
54002
91c42559
LM
540032010-09-27 Luis Machado <luisgpm@br.ibm.com>
54004
54005 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54006 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54007
87a97932
AK
540082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54009
54010 [BZ #12067]
54011 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54012 trying to locate the ELF header.
54013
c21cc9bc
AS
540142010-09-27 Andreas Schwab <schwab@redhat.com>
54015
54016 [BZ #11611]
54017 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54018 Mask out sign-bit copies when constructing f_fsid.
54019
315970f6
PB
540202010-09-24 Petr Baudis <pasky@suse.cz>
54021
54022 * debug/stack_chk_fail_local.c: Add missing licence exception.
54023 * debug/warning-nop.c: Likewise.
54024
1ac7a2c7
JM
540252010-09-15 Joseph Myers <joseph@codesourcery.com>
54026
54027 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54028 implementing getdents64 using getdents syscall, set d_type if
54029 __ASSUME_GETDENTS32_D_TYPE.
54030
56801c50
AS
540312010-09-16 Andreas Schwab <schwab@redhat.com>
54032
54033 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54034 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54035
dda51327
UD
540362010-09-21 Ulrich Drepper <drepper@redhat.com>
54037
54038 [BZ #12037]
54039 * posix/unistd.h: Undo change of feature selection for ftruncate from
54040 2010-01-11.
54041
8ffcee4a
UD
540422010-09-20 Ulrich Drepper <drepper@redhat.com>
54043
a545ecd9 54044 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
54045 detection.
54046
e24f0a8b
AS
540472010-09-20 Andreas Schwab <schwab@redhat.com>
54048
54049 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54050 fanotify_mark.
54051 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54052
7291c56f
AS
540532010-09-14 Andreas Schwab <schwab@redhat.com>
54054
54055 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54056 variables after CHECK_SP call.
54057 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54058
bc5fb037
AS
540592010-09-13 Andreas Schwab <schwab@redhat.com>
54060 Ulrich Drepper <drepper@redhat.com>
54061
54062 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54063 re-relocationg ld.so.
54064 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54065 _dl_init_paths call.
54066 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54067 here anymore.
54068
e66e7419
UD
540692010-09-14 Ulrich Drepper <drepper@redhat.com>
54070
54071 * resolv/res_init.c (__res_vinit): Count the default server we added.
54072
c044aa75
CLT
540732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54074 Ulrich Drepper <drepper@redhat.com>
54075
54076 [BZ #11968]
54077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54078 (____longjmp_chk): Use %ebx for saving value across system call.
54079 Add unwind info.
54080
32cf4069
AS
540812010-09-06 Andreas Schwab <schwab@redhat.com>
54082
54083 * manual/Makefile: Don't mix pattern rules with normal rules.
54084
817328ee
AS
540852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54086
54087 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54088 operation.
54089 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54090 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54091 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54092 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54093 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54094 Likewise.
54095
29fddf61
UD
540962010-09-04 Ulrich Drepper <drepper@redhat.com>
54097
54098 [BZ #11979]
54099 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54100 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54101
0959ffc9
UD
541022010-09-02 Ulrich Drepper <drepper@redhat.com>
54103
54104 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54105 * sysdeps/x86_64/addmul_1.S: Likewise.
54106 * sysdeps/x86_64/lshift.S: Likewise.
54107 * sysdeps/x86_64/mul_1.S: Likewise.
54108 * sysdeps/x86_64/rshift.S: Likewise.
54109 * sysdeps/x86_64/sub_n.S: Likewise.
54110 * sysdeps/x86_64/submul_1.S: Likewise.
54111
ece29840
ST
541122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54113
0959ffc9
UD
54114 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54115 Define __sched_param instead of SCHED_* and sched_param when
ece29840 54116 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 54117 * bits/sched.h [__need_schedparam]
ece29840 54118 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
54119 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54120 (__defined_schedparam): Define to 1.
ece29840
ST
54121 (__sched_param): New structure, identical to sched_param.
54122 (__need_schedparam): Undefine.
54123
e53a31fe
MF
541242010-08-31 Mike Frysinger <vapier@gentoo.org>
54125
fdc0c10d
MF
54126 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54127 (epoll_create1): Declare.
54128
e53a31fe
MF
54129 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54130
a726d796
AS
541312010-08-31 Andreas Schwab <schwab@redhat.com>
54132
54133 [BZ #7066]
54134 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54135 shifting retval into place.
54136
2f3e3dc7
UD
541372010-09-01 Ulrich Drepper <drepper@redhat.com>
54138
f2933da9
UD
54139 * nis/rpcsvc/nis.h: Update copyright notice.
54140 * nis/rpcsvc/nis.x: Likewise.
54141 * nis/rpcsvc/nis_callback.h: Likewise.
54142 * nis/rpcsvc/nis_callback.x: Likewise.
54143 * nis/rpcsvc/nis_object.x: Likewise.
54144 * nis/rpcsvc/nis_tags.h: Likewise.
54145 * nis/rpcsvc/yp.h: Likewise.
54146 * nis/rpcsvc/yp.x: Likewise.
54147 * nis/rpcsvc/ypupd.h: Likewise.
54148 * nis/yp_xdr.c: Likewise.
54149 * nis/ypupdate_xdr.c: Likewise.
54150
2f3e3dc7
UD
54151 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54152 mainly the body of pmap_getport. Add parameters to specify timeouts.
54153 (pmap_getport): Use __libc_rpc_getport.
54154 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54155 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54156 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54157
f3dcc2f9
AS
541582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54159
54160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54161 fanotify_mark.
54162
6d34eb5b
RM
541632010-08-27 Roland McGrath <roland@redhat.com>
54164
54165 * sysdeps/i386/i686/multiarch/Makefile
54166 (CFLAGS-varshift.c): New variable.
54167
9ea3de11
UD
541682010-08-27 Ulrich Drepper <drepper@redhat.com>
54169
c96d23fc
UD
54170 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54171 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54172
9ea3de11
UD
54173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54174
54175 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54176
623aac7f
L
541772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54178
54179 * sysdeps/x86_64/strlen.S: Unroll the loop.
54180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54181 strlen-sse2 strlen-sse2-bsf.
54182 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54183 __strlen_no_bsf if bit_Slow_BSF is set.
54184 (__strlen_sse42): Removed.
54185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54186 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54187
8b2b7715
RM
541882010-08-25 Roland McGrath <roland@redhat.com>
54189
54190 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54191 * sysdeps/x86_64/multiarch/varshift.c: New file.
54192 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54193 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54194 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54195 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54196
e73015f2
L
541972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54198
54199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54200 strlen-sse2 strlen-sse2-bsf.
54201 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54202 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54203 (__strlen_sse2): Removed.
54204 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54205 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54207 bit_Slow_BSF for Atom.
54208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54209 (index_Slow_BSF): Define.
54210 (HAS_SLOW_BSF): Define.
54211
df24a73e
UD
542122010-08-25 Ulrich Drepper <drepper@redhat.com>
54213
54214 [BZ #10851]
54215 * resolv/res_init.c (__res_vinit): When no server address at all
54216 is given default to loopback.
54217
f2ac4868
RM
542182010-08-24 Roland McGrath <roland@redhat.com>
54219
09055553
RM
54220 * configure.in: Remove config-name.h generation.
54221 * configure: Regenerated.
54222 * config-name.in: File removed.
54223 * scripts/config-uname.sh: New file.
54224 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54225 ($(objdir)config-name.h): New target.
54226
f2ac4868
RM
54227 * sunrpc/rpc_parse.h: Avoid nested comment.
54228
73f27d5e
RH
542292010-08-24 Richard Henderson <rth@redhat.com>
54230 Ulrich Drepper <drepper@redhat.com>
54231 H.J. Lu <hongjiu.lu@intel.com>
54232
54233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54235 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54236 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54237 _mm_alignr_epi8 with _mm_loadu_si128.
54238 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54239 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54240 (__m128i_shift_right): Removed.
54241 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54242 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54243 * sysdeps/x86_64/multiarch/varshift.h: New file.
54244 * sysdeps/x86_64/multiarch/varshift.S: New file.
54245
84b9230c
MF
542462010-08-21 Mike Frysinger <vapier@gentoo.org>
54247
54248 * configure.in: Move assembler checks to before sysdep dir checking.
54249
9bbd0ddc
PB
542502010-08-20 Petr Baudis <pasky@suse.cz>
54251
54252 * LICENSES: Sync the sunrpc license.
54253
9da4bb31
UD
542542010-08-19 Ulrich Drepper <drepper@redhat.com>
54255
a7ab6ec8
UD
54256 * sunrpc/auth_des.c: Update copyright notice once again.
54257 * sunrpc/auth_none.c: Likewise.
54258 * sunrpc/auth_unix.c: Likewise.
54259 * sunrpc/authdes_prot.c: Likewise.
54260 * sunrpc/authuxprot.c: Likewise.
54261 * sunrpc/bindrsvprt.c: Likewise.
54262 * sunrpc/clnt_gen.c: Likewise.
54263 * sunrpc/clnt_perr.c: Likewise.
54264 * sunrpc/clnt_raw.c: Likewise.
54265 * sunrpc/clnt_simp.c: Likewise.
54266 * sunrpc/clnt_tcp.c: Likewise.
54267 * sunrpc/clnt_udp.c: Likewise.
54268 * sunrpc/clnt_unix.c: Likewise.
54269 * sunrpc/des_crypt.c: Likewise.
54270 * sunrpc/des_soft.c: Likewise.
54271 * sunrpc/get_myaddr.c: Likewise.
54272 * sunrpc/getrpcport.c: Likewise.
54273 * sunrpc/key_call.c: Likewise.
54274 * sunrpc/key_prot.c: Likewise.
54275 * sunrpc/openchild.c: Likewise.
54276 * sunrpc/pm_getmaps.c: Likewise.
54277 * sunrpc/pm_getport.c: Likewise.
54278 * sunrpc/pmap_clnt.c: Likewise.
54279 * sunrpc/pmap_prot.c: Likewise.
54280 * sunrpc/pmap_prot2.c: Likewise.
54281 * sunrpc/pmap_rmt.c: Likewise.
54282 * sunrpc/rpc/auth.h: Likewise.
54283 * sunrpc/rpc/auth_unix.h: Likewise.
54284 * sunrpc/rpc/clnt.h: Likewise.
54285 * sunrpc/rpc/des_crypt.h: Likewise.
54286 * sunrpc/rpc/key_prot.h: Likewise.
54287 * sunrpc/rpc/netdb.h: Likewise.
54288 * sunrpc/rpc/pmap_clnt.h: Likewise.
54289 * sunrpc/rpc/pmap_prot.h: Likewise.
54290 * sunrpc/rpc/pmap_rmt.h: Likewise.
54291 * sunrpc/rpc/rpc.h: Likewise.
54292 * sunrpc/rpc/rpc_des.h: Likewise.
54293 * sunrpc/rpc/rpc_msg.h: Likewise.
54294 * sunrpc/rpc/svc.h: Likewise.
54295 * sunrpc/rpc/svc_auth.h: Likewise.
54296 * sunrpc/rpc/types.h: Likewise.
54297 * sunrpc/rpc/xdr.h: Likewise.
54298 * sunrpc/rpc_clntout.c: Likewise.
54299 * sunrpc/rpc_cmsg.c: Likewise.
54300 * sunrpc/rpc_common.c: Likewise.
54301 * sunrpc/rpc_cout.c: Likewise.
54302 * sunrpc/rpc_dtable.c: Likewise.
54303 * sunrpc/rpc_hout.c: Likewise.
54304 * sunrpc/rpc_main.c: Likewise.
54305 * sunrpc/rpc_parse.c: Likewise.
54306 * sunrpc/rpc_parse.h: Likewise.
54307 * sunrpc/rpc_prot.c: Likewise.
54308 * sunrpc/rpc_sample.c: Likewise.
54309 * sunrpc/rpc_scan.c: Likewise.
54310 * sunrpc/rpc_scan.h: Likewise.
54311 * sunrpc/rpc_svcout.c: Likewise.
54312 * sunrpc/rpc_tblout.c: Likewise.
54313 * sunrpc/rpc_util.c: Likewise.
54314 * sunrpc/rpc_util.h: Likewise.
54315 * sunrpc/rpcinfo.c: Likewise.
54316 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54317 * sunrpc/rpcsvc/key_prot.x: Likewise.
54318 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54319 * sunrpc/rpcsvc/mount.x: Likewise.
54320 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54321 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54322 * sunrpc/rpcsvc/rex.x: Likewise.
54323 * sunrpc/rpcsvc/rstat.x: Likewise.
54324 * sunrpc/rpcsvc/rusers.x: Likewise.
54325 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54326 * sunrpc/rpcsvc/spray.x: Likewise.
54327 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54328 * sunrpc/rtime.c: Likewise.
54329 * sunrpc/svc.c: Likewise.
54330 * sunrpc/svc_auth.c: Likewise.
54331 * sunrpc/svc_authux.c: Likewise.
54332 * sunrpc/svc_raw.c: Likewise.
54333 * sunrpc/svc_run.c: Likewise.
54334 * sunrpc/svc_simple.c: Likewise.
54335 * sunrpc/svc_tcp.c: Likewise.
54336 * sunrpc/svc_udp.c: Likewise.
54337 * sunrpc/svc_unix.c: Likewise.
54338 * sunrpc/svcauth_des.c: Likewise.
54339 * sunrpc/xcrypt.c: Likewise.
54340 * sunrpc/xdr.c: Likewise.
54341 * sunrpc/xdr_array.c: Likewise.
54342 * sunrpc/xdr_float.c: Likewise.
54343 * sunrpc/xdr_mem.c: Likewise.
54344 * sunrpc/xdr_rec.c: Likewise.
54345 * sunrpc/xdr_ref.c: Likewise.
54346 * sunrpc/xdr_sizeof.c: Likewise.
54347 * sunrpc/xdr_stdio.c: Likewise.
54348
9da4bb31
UD
54349 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54350 handling.
54351
bdaa77bc
AS
543522010-08-19 Andreas Schwab <schwab@redhat.com>
54353
54354 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54355
fe2f79db
LM
543562010-08-19 Luis Machado <luisgpm@br.ibm.com>
54357
54358 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54359 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54360 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54361 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54362 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54363 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54364 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54365 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54366 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54367 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54368 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54369 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54370 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54371 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54372
b9b42ee0
AB
543732010-07-26 Anton Blanchard <anton@samba.org>
54374
54375 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54376 * malloc/arena.c (heap_trim): Likewise.
54377
1c06ba31
UD
543782010-08-16 Ulrich Drepper <drepper@redhat.com>
54379
54380 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54381 here. Not...
54382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54383 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54384
f8392f40
L
543852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54386
54387 * sysdeps/i386/elf/Makefile: New file.
54388
3162f12e
AS
543892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54390
54391 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54392 from fanotify_init.
54393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54395
28c90b2c
UD
543962010-08-15 Ulrich Drepper <drepper@redhat.com>
54397
54398 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54399 of strncasecmp_l.
1feccb6c 54400 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 54401
ca6bb004
UD
544022010-08-14 Ulrich Drepper <drepper@redhat.com>
54403
e9f82e0d
UD
54404 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54405 strncase_l-nonascii.
54406 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54407 Add strncase_l-ssse3.
54408 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54409 * sysdeps/x86_64/strcmp.S: Likewise.
54410 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54411 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54412 * sysdeps/x86_64/strncase.S: New file.
54413 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54414 * sysdeps/x86_64/strncase_l.S: New file.
54415 * string/Makefile (strop-tests): Add strncasecmp.
54416 * string/test-strncasecmp.c: New file.
54417
54418 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54419 warning.
54420
ca6bb004
UD
54421 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54422 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54423
052fa7b3
AS
544242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54425
54426 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54427
962dba78
UD
544282010-08-12 Ulrich Drepper <drepper@redhat.com>
54429
54430 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54431 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54432 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54433
bebff237
AM
544342010-05-01 Alan Modra <amodra@gmail.com>
54435
54436 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54437 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54438 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54439 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54440 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54441 tidying. Don't tail-call __sigjmp_save for static lib.
54442 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54443 save location.
54444 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54445 (CALL_MCOUNT): Add eh info, and nop after bl.
54446 (TAIL_CALL_SYSCALL_ERROR): New macro.
54447 (PSEUDO_RET): Use it.
54448 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54449 Correct save location of integer regs and cr.
54450 (_dl_profile_resolve): Correct cr save location. Delete nops
54451 after bl when SHARED. Reduce cfi size a little by better
54452 placement of cfi directives.
54453 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54454 make a stack frame. Instead use parm save area as a temp.
54455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54456 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54458 Don't make a stack frame for parent, use parm save area.
54459 Increase child stack frame to 112 bytes. Don't save unused reg,
54460 and adjust reg usage. Set up cfi on error recovery and
54461 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54463 (__makecontext): Add dummy nop after jump to exit.
54464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54465 Use correct parm save area and cr save, reduce stack frame.
54466 Correct cfi for possible PSEUDO_RET frame setup.
54467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54468 Branch to local label emitted by PSEUDO_RET rather than
54469 __syscall_error.
54470
02637374
AS
544712010-08-12 Andreas Schwab <schwab@redhat.com>
54472
54473 [BZ #11904]
54474 * locale/programs/locale.c (print_assignment): New function.
54475 (show_locale_vars): Use it.
54476
c3e2f19b
UD
544772010-08-11 Ulrich Drepper <drepper@redhat.com>
54478
3cdaa6ad
UD
54479 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54480 field.
54481 (struct statfs64): Likewise.
54482 (_STATFS_F_FLAGS): Define.
54483 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54484 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54485 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54486 (ST_VALID): Define locally.
54487 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54488 __statvfs_getflags, use the provided value.
54489 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54490 __ASSUME_STATFS_F_FLAGS.
54491
754f7da3
UD
54492 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54493
10b3bedc
UD
54494 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54495 Add sys/fanotify.h.
54496 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54497 fanotify_mask for GLIBC_2.13.
54498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54499 fanotify_init and fanotify_mark.
54500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54501 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54502
c08fb0d7
UD
54503 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54504 Add prlimit.
54505 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54506 prlimit64 for GLIBC_2.13.
54507 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54508 prlimit64.
54509 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54510 syscall.
54511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54512 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54513 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54514 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54515 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54516 add prlimit alias.
54517 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54518
15bac72b
UD
54519 [BZ #11903]
54520 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54521 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54522
c3e2f19b
UD
54523 * nss/Makefile: Add rules to build and run tst-nss-test1.
54524 * shlib-versions: Add entry for libnss_test1.
54525 * nss/nss_test1.c: New file.
54526 * nss/tst-nss-test1.c: New file.
54527
54528 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54529 (__nss_configure_lookup): Set appropriate entry in
54530 __nss_configure_lookup to true.
54531 * nss/nsswitch.h: Define enum with indeces of databases in
54532 databases and __nss_database_custom arrays. Declare
54533 __nss_database_custom.
54534 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54535 to avoid using nscd when custom rules are installed.
54536 * nss/getXXbyYY_r.c: Likewise.
54537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54538
54539 * nss/nss_files/files-parse.c: Whitespace fixes.
54540
f15ce4d8
UD
545412010-08-09 Ulrich Drepper <drepper@redhat.com>
54542
54543 [BZ #11883]
54544 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54545 * posix/fnmatch_loop.c: Likewise.
54546
d22e4cc9
AK
545472010-07-17 Andi Kleen <ak@linux.intel.com>
54548
54549 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54550 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54551 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54552 * Versions.def [GLIBC_2.13]: Add.
54553
805bc17d
UD
545542010-08-06 Ulrich Drepper <drepper@redhat.com>
54555
54556 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54557 Also fail if tpwd after pwuid call is NULL.
54558
5a42321d
ST
545592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54560
54561 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54562 when converting to ms.
54563
fd3ebeda
ST
545642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54565
54566 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54567 EOPNOTSUPP errors with ENOTTY.
54568 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54569 EOPNOTSUPP errors with ENOTTY.
54570
73507d3a
UD
545712010-07-31 Ulrich Drepper <drepper@redhat.com>
54572
54573 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54574 Add strcasecmp_l-ssse3.
54575 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54576 strcasecmp.
54577 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54578 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54579 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54580
fe36dd02
UD
545812010-07-30 Ulrich Drepper <drepper@redhat.com>
54582
66f6765a
UD
54583 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54584
42e08a54
UD
54585 * string/Makefile (strop-tests): Add strcasecmp.
54586 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54587 strcasecmp_l-nonascii.
54588 (gen-as-const-headers): Add locale-defines.sym.
54589 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54590 * sysdeps/x86_64/strcasecmp.S: New file.
54591 * sysdeps/x86_64/strcasecmp_l.S: New file.
54592 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54593 * sysdeps/x86_64/locale-defines.sym: New file.
54594 * string/test-strcasecmp.c: New file.
54595
fe36dd02
UD
54596 * string/test-strcasestr.c: Test both ends of the range of characters.
54597 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54598
48cbc0d6
RM
545992010-07-29 Roland McGrath <roland@redhat.com>
54600
76e6d6bc 54601 [BZ #11856]
48cbc0d6
RM
54602 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54603
880113d9
UD
546042010-07-27 Ulrich Drepper <drepper@redhat.com>
54605
54606 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54607 for ld.so.
54608
deb9cabb
AS
546092010-07-27 Andreas Schwab <schwab@redhat.com>
54610
54611 * manual/memory.texi (Malloc Tunable Parameters): Document
54612 M_PERTURB.
54613
1c7570ff
RM
546142010-07-26 Roland McGrath <roland@redhat.com>
54615
54616 [BZ #11840]
54617 * configure.in (-fgnu89-inline check): Set and substitute
54618 gnu89_inline, not libc_cv_gnu89_inline.
54619 * configure: Regenerated.
54620 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54621
24fb0f88
UD
546222010-07-26 Ulrich Drepper <drepper@redhat.com>
54623
54624 * string/test-strnlen.c: New file.
54625 * string/Makefile (strop-tests): Add strnlen.
54626 * string/tester.c (test_strnlen): Add a few more test cases.
54627 * string/tst-strlen.c: Better error reporting.
54628
54629 * sysdeps/x86_64/strnlen.S: New file.
54630
8e96b93a
UD
546312010-07-24 Ulrich Drepper <drepper@redhat.com>
54632
54633 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54634 lower-latency instructions.
54635
dbc676d4
UD
546362010-07-23 Ulrich Drepper <drepper@redhat.com>
54637
54638 * string/test-strcasestr.c: New file.
54639 * string/test-strstr.c: New file.
54640 * string/Makefile (strop-tests): Add strstr and strcasestr.
54641 * string/str-two-way.h: Don't undefine MAX.
54642 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54643
f6a31e0e
AS
546442010-07-21 Andreas Schwab <schwab@redhat.com>
54645
54646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54647 strcasestr-nonascii.
54648 (CFLAGS-strcasestr-nonascii.c): Define.
54649 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54650 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54651 Remove unused attribute.
54652
5dbc3b6c
RM
546532010-07-20 Roland McGrath <roland@redhat.com>
54654
54655 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54656 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54657 ld.so.cache was broken. With it, there is no way to disable dsocaps
54658 like LD_HWCAP_MASK can disable hwcaps.
54659
23d101d8
EPM
546602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54661
54662 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54663
cc9f2e47
UD
546642010-07-16 Ulrich Drepper <drepper@redhat.com>
54665
54666 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54667 call in strcasestr.
54668 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54669 __strcasestr_sse42_nonascii.
54670 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54671 strcasestr-nonascii.c.
54672 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54673
77c1b069
LM
546742010-06-15 Luis Machado <luisgpm@br.ibm.com>
54675
54676 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54677 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54679 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54680
440566c3
UD
546812010-07-09 Ulrich Drepper <drepper@redhat.com>
54682
54683 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54684 fcntl.
54685
5be9d05d
AS
546862010-07-06 Andreas Schwab <schwab@redhat.com>
54687
c30b7ee2 54688 [BZ #11577]
5be9d05d
AS
54689 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54690 dl_signal_cerror.
54691
8a492a67
UD
546922010-07-06 Ulrich Drepper <drepper@redhat.com>
54693
54694 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54695 _PC_PIPE_BUF using F_GETPIPE_SZ.
54696
713df3d5
RM
546972010-07-05 Roland McGrath <roland@redhat.com>
54698
54699 * manual/arith.texi (Rounding Functions): Fix rint description
54700 implicit in round description.
54701
702e8f14
UD
547022010-07-02 Ulrich Drepper <drepper@redhat.com>
54703
54704 * elf/Makefile: Fix linking for a few tests to make recent linker
54705 happy.
54706
52ed8be9
AS
547072010-06-30 Andreas Schwab <schwab@redhat.com>
54708
54709 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54710 $(common-objpfx)libc_nonshared.a.
54711
f47c9a11
LM
547122010-06-21 Luis Machado <luisgpm@br.ibm.com>
54713
54714 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54715 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54716 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54717 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54718 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54719 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54720 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54721 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54736 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54737 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54738 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54739 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54740 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54741 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54742 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54743 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54744 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54745 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54746 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54747 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54762
6fb8cbcb
L
547632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54764
54765 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54766 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54767 * string/memmove.c (memmove): Renamed to ...
54768 (MEMMOVE): ...this. Default to memmove.
54769 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54770 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54771 (END_CHK): Define.
54772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54773 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54774 mempcpy-ssse3-back memmove-ssse3-back.
54775 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54776 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54777 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54778 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54779 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54780 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54781 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54782 * sysdeps/x86_64/multiarch/memmove.c: New file.
54783 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54784 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54785 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54786 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54787 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54788 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54789 Define.
54790 (index_Fast_Copy_Backward): Define.
54791 (HAS_ARCH_FEATURE): Define.
54792 (HAS_FAST_REP_STRING): Define.
54793 (HAS_FAST_COPY_BACKWARD): Define.
54794
4e733bac 547952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
54796
54797 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54798 Restore proper fallback handling.
54799
63c4ed22
UD
548002010-06-19 Ulrich Drepper <drepper@redhat.com>
54801
ac2b484c
UD
54802 [BZ #11701]
54803 * posix/group_member.c (__group_member): Correct checking loop.
54804
63c4ed22
UD
54805 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54806 OOM in getpwuid_r correctly. Return error number when the caller
54807 should return, otherwise -1.
54808 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54809 call returning > 0 value.
54810 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54811
765ade4b
AS
548122010-06-07 Andreas Schwab <schwab@redhat.com>
54813
54814 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54815 libc_nonshared.a from targets in modules-names.
54816
80da2e09
KS
548172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54818
54819 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54820 requires it.
54821
158db122
LM
548222010-06-10 Luis Machado <luisgpm@br.ibm.com>
54823
54824 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54825 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54826 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54827 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54828
caa78cf8
AS
548292010-06-02 Andreas Schwab <schwab@redhat.com>
54830
54831 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54832
b2ef2c01
UD
548332010-06-14 Ulrich Drepper <drepper@redhat.com>
54834
54835 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54836 and F_GETPIPE_SZ.
54837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54838 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54841 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54842 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54843
fbd643b6
RM
548442010-06-14 Roland McGrath <roland@redhat.com>
54845
54846 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54847
f32f2869
JJ
548482010-06-07 Jakub Jelinek <jakub@redhat.com>
54849
54850 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54851 __REDIRECT followed by __THROW.
54852 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54853 * posix/getopt.h (getopt): Likewise.
54854
2a50c078
EPM
548552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54856
54857 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54858 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54859 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54860 in AT_FLAGS.
54861 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54862 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54863
eb5ad2eb
LM
548642010-05-28 Luis Machado <luisgpm@br.ibm.com>
54865
54866 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54867
3c88fe1e
L
548682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54869
54870 [BZ #11640]
54871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54872 Properly check family and model.
54873
d2f73151
TY
548742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54875
54876 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54877
ebd2e13d
LM
548782010-05-24 Luis Machado <luisgpm@br.ibm.com>
54879
54880 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54881
b32b8b45
UD
548822010-05-21 Ulrich Drepper <drepper@redhat.com>
54883
54884 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54885 symbol reference.
54886
9acbe24d
AS
548872010-05-19 Andreas Schwab <schwab@redhat.com>
54888
54889 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54890 symbol reference.
54891
f0ccf6ea
AS
548922010-05-21 Andreas Schwab <schwab@redhat.com>
54893
3d04ff3a
AS
54894 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54895 and internal_recvmmsg.
54896 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54897 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54898 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54899 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54900
f0ccf6ea
AS
54901 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54902 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54903 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54904
5b08ac57
AS
549052010-05-20 Andreas Schwab <schwab@redhat.com>
54906
54907 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54908
4828935d
LM
549092010-05-17 Luis Machado <luisgpm@br.ibm.com>
54910
54911 POWER7 optimizations.
54912 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54913 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54914
373d545e
UD
549152010-05-19 Ulrich Drepper <drepper@redhat.com>
54916
54917 * version.h: Update for 2.13 development version.
54918
21a2b1ae
AS
549192010-05-12 Andrew Stubbs <ams@codesourcery.com>
54920
54921 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54922 exceptions. Return 0.
54923
3f7dcb2b
RM
549242010-05-07 Roland McGrath <roland@redhat.com>
54925
54926 * elf/ldconfig.c (main): Add a const.
54927
5f24d53a 549282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 54929
a160f8d8
UD
54930 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54931 (args_options): Add no-idn option.
54932 (ahosts_keys_int): Add idn_flags to ai_flags.
54933 (parse_option): Handle 'i' option to clear idn_flags.
54934
5f24d53a
UD
54935 * malloc/malloc.c (_int_free): Possible race in the most recently
54936 added check. Only act on the data if no current modification
54937 happened.
265bb1ce
UD
54938
54939See ChangeLog.17 for earlier changes.