]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update bench.out and bench.out.old only upon completion
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d755bba4
SP
12013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2
90d5d5bb
SP
3 * Rules (bench): Move bench.out after the run is complete.
4
73e0cd5d
SP
5 * Rules (bench): Echo currently running benchmark.
6
64aabd4b
SP
7 * benchtests/Makefile (bench): Add atan and slowatan.
8 * benchtests/atan-inputs: New file.
9 * benchtests/slowatan-inputs: New file.
10 * benchtests/slowatan.c: New file.
11
c871eccd
SP
12 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
13 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14 its value.
15
d755bba4
SP
16 [BZ #15305]
17 * sysdeps/unix/sysv/linux/kernel-features.h
18 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19 __ASSUME_XFS_RESTRICTED_CHOWN.
20 * sysdeps/unix/sysv/linux/pathconf.c
21 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22 Save and restore errno.
23
52ce4860
JM
242013-04-02 Joseph Myers <joseph@codesourcery.com>
25
26 [BZ #15327]
27 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28 arguments using __kernel_casinh.
29 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30 arguments using __kernel_casinhf.
31 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32 arguments using __kernel_casinhl.
33 * math/libm-test.inc (cacosh_test): Add more tests.
34 * sysdeps/i386/fpu/libm-test-ulps: Update.
35 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36
81f311c2
SP
372013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38
e7906a47
SP
39 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
40 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41
92e3664b
SP
42 * bench/Makefile (bench): Add sin and slowsin.
43 * benchtests/sin-inputs: New file.
44 * benchtests/slowsin-inputs: New file.
45 * benchtests/slowsin.c: New file.
46
81f311c2
SP
47 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48 (bench): Add slowexp and slowpow.
49 (exp-ITER): Increase iterations.
50 (pow-ITER): Likewise.
51 * benchtests/exp-inputs: Change input.
52 * benchtests/pow-inputs: Likewise.
53 * benchtests/slowexp-inputs: New file.
54 * benchtests/slowexp.c: New file.
55 * benchtests/slowpow-inputs: New file.
56 * benchtests/slowpow.c: New file.
57
ab0f1aa9
AZ
582013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59
60 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61 instructions.
62 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
64 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65 * benchtests/Makefile: Add rint benchtest.
66 * benchtests/rint-inputs: Input for rint benchtest.
67
57267616
TS
682013-04-02 Thomas Schwinge <thomas@codesourcery.com>
69
70 * Versions.def (libm): Add GLIBC_2.18.
71 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
72 hidden libm prototypes.
73 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
74 * math/Makefile (libm-calls): Add s_issignaling.
75 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
76 __issignalingf, __issignalingl. Adjust all libm.abilist files.
77 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
78 declaration.
79 * math/math.h [__USE_GNU] (issignaling): New macro.
80 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
81 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
82 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
83 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
84 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
85 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
86 * manual/arith.texi (issignaling): New section.
87 * manual/libm-err-tab.pl (@all_functions): Update comment.
88 * math/gen-libm-test.pl (parse_args): Apply special handling for
89 issignaling.
90 * math/libm-test.inc (print_float, issignaling_test): New
91 functions.
92 (check_float_internal): Add issignaling checks.
93 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
94 default definition.
95 * sysdeps/powerpc/math-tests.h: New file.
96 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
97 tests.
98 * math/test-snan.c (TEST_FUNC): Likewise.
99
6142896d
DM
1002013-03-30 David S. Miller <davem@davemloft.net>
101
102 * po/de.po: Update from translation team.
103
ccc8cadf
JM
1042013-03-30 Joseph Myers <joseph@codesourcery.com>
105
106 [BZ #10357]
107 * math/k_casinh.c (__kernel_casinh): Handle arguments with
108 imaginary part less than 1.0 and real part less than 0.5
109 specially.
110 * math/k_casinhf.c (__kernel_casinhf): Likewise.
111 * math/k_casinhl.c (__kernel_casinhl): Likewise.
112 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
113 (cacos_test): Add more tests.
114 (casin_test): Likewise.
115 (casinh_test): Likewise.
116 * sysdeps/i386/fpu/libm-test-ulps: Update.
117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
118
0f6a8d4b
SP
1192013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
120
0d1029de
SP
121 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
122 ONE with its value.
123
c2d94018
SP
124 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
125 (__pow_mp): Replace ONE and MONE with their values.
126 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
127 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
128 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
129 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
130 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
131 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
132
27ec37f1
SP
133 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
134
a64d7e0e
SP
135 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
136 (__pow_mp): Replace ZERO and MZERO with their values.
137 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
138 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
139 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
141 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
142 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
143 (__sqr): Likewise.
144
d26dd3eb
SP
145 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
146
0f6a8d4b
SP
147 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
148
e57b0c61
RM
1492013-03-28 Roland McGrath <roland@hack.frob.com>
150
151 * include/stdlib.h [!SHARED] (__call_tls_dtors):
152 Declare with __attribute__ ((weak)).
153 * stdlib/exit.c (__libc_atexit) [!SHARED]:
154 Call __call_tls_dtors only if it's not NULL.
155
356b3480
RM
1562013-03-28 Roland McGrath <roland@hack.frob.com>
157
288f7d79
RM
158 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
159 didn't do it already, then set _dl_phdr and _dl_phnum based on the
160 magic __ehdr_start linker symbol if it's defined.
161 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
162 them up here if it was already done.
163
dc0a0263
RM
164 * elf/dl-support.c (_dl_phdr): Make pointer to const.
165 (_dl_aux_init): Use const in cast when setting it.
166 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
167 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
168 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
169
3d3436ae
RM
170 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
171 Declare them here.
172 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
173 * csu/libc-tls.c: Nor here.
174 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
175
356b3480
RM
176 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
177 (__libc_message): Never call vsyslog.
178
b0f1246a
AM
1792013-03-28 Alan Modra <amodra@gmail.com>
180
181 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
182 Define as empty.
183 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
184 Likewise.
185
fbbe2b9a
AZ
1862013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
187
188 [BZ #15214]
189 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
190 underflow.
191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
192
1728ab37
SP
1932013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
194
7a86be6e
SP
195 [BZ #15304]
196 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
197 Don't add gid passed as argument.
198
1728ab37
SP
199 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
200
3a7182a1
JM
2012013-03-27 Joseph Myers <joseph@codesourcery.com>
202
203 [BZ #15307]
204 * math/k_casinh.c (__kernel_casinh): Handle arguments with
205 imaginary part between 1.0 and 1.5 and real part less than 0.5
206 specially.
207 * math/k_casinhf.c (__kernel_casinhf): Likewise.
208 * math/k_casinhl.c (__kernel_casinhl): Likewise.
209 * math/libm-test.inc (cacos_test): Add more tests.
210 (casin_test): Likewise.
211 (casinh_test): Likewise.
212 * sysdeps/i386/fpu/libm-test-ulps: Update.
213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
214
6f2e90e7
SP
2152013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
216
5739f705
SP
217 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
218 constants.
219 (norm): Likewise.
220 (denorm): Likewise.
221 (__dbl_mp): Likewise.
222 (add_magnitudes): Likewise.
223 (sub_magnitudes): Likewise.
224 (__add): Likewise.
225 (__sub): Likewise.
226 (__mul): Likewise.
227 (__sqr): Likewise.
228 (__inv): Likewise.
229 (__dvd): Likewise.
230
e375e83d
SP
231 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
232 commented code.
233 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
234 (__dubcos): Likewise.
235 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
236 (__ieee754_acos): Likewise.
237 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
238 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
239 (__exp1): Likewise.
240 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
242 (log1): Likewise.
243 (my_log2): Likewise.
244 (checkint): Likewise.
245 * sysdeps/ieee754/dbl-64/e_remainder.c
246 (__ieee754_remainder): Likewise.
247 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
248 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
249 (bsloww): Likewise.
250 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
251
6f2e90e7
SP
252 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
253 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
254 MANTISSA_STORE_T to store computations on mantissa. Use
255 macros for rounding and division.
256 (denorm): Likewise.
257 (__dbl_mp): Likewise.
258 (add_magnitudes): Likewise.
259 (sub_magnitudes): Likewise.
260 (__mul): Likewise.
261 (__sqr): Likewise.
262 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
263 powers of two in terms of TWOPOW macro.
264 (mp_no): Make type of mantissa as MANTISSA_T.
265 [!RADIXI]: Define RADIXI.
266 [!TWO52]: Define TWO52.
267 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
268
fce14d4e
AZ
2692013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
270
271 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
272 llroundl symbol when building for PPC32.
273
9ad027fb
MW
2742013-03-24 Mark H Weaver <mhw@netris.org>
275
276 * manual/arith.texi (Normalization Functions): Fix prototypes for
277 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
278
e42a38dd
AZ
2792013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
280
281 [BZ #13889]
282 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
283 high value to check if expl overflow.
284 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
285 to check for underflow and overflow.
286 * math/libm-test.inc: Add exp test.
287
2e0fb521
DL
2882013-03-21 Dmitry V. Levin <ldv@altlinux.org>
289
290 [BZ #11120]
291 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
292 with NOT_IN_libc.
293
b5784d95
AZ
2942013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
295
296 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
297 symbol.
298
5aa4a1a1
TS
2992013-03-21 Thomas Schwinge <thomas@codesourcery.com>
300
bdef0be7
TS
301 * math/gen-libm-test.pl (parse_args, special_functions): Properly
302 wrap blocks consisting of several statements.
303
5aa4a1a1
TS
304 * sysdeps/generic/math-tests.h: New file.
305 * sysdeps/i386/fpu/math-tests.h: Likewise.
306 * math/test-snan.c: Include it.
307 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
308
98c48fe5
JM
3092013-03-21 Joseph Myers <joseph@codesourcery.com>
310
311 [BZ #15285]
312 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
313 (__ieee754_j0l): Do not improve calculations using cos of twice
314 input for inputs above LDBL_MAX / 2.0L.
315 (__ieee754_y0l): Likewise.
316 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
317 (__ieee754_j1l): Do not improve calculations using cos of twice
318 input for inputs above LDBL_MAX / 2.0L.
319 (__ieee754_y1l): Likewise.
320 * math/libm-test.inc (j0_test): Add another test.
321 (j1_test): Likewise.
322 (y0_test): Likewise.
323 (y1_test): Likewise.
324 * sysdeps/i386/fpu/libm-test-ulps: Update.
325
3775a8bc
SP
3262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
327
328 * Rules ($(objpfx)bench-%.c): Include code from a C source
329 file.
330
0a1b2ae6
JM
3312013-03-21 Joseph Myers <joseph@codesourcery.com>
332
333 [BZ #15287]
334 * math/k_casinh.c (__kernel_casinh): Handle arguments with
335 imaginary part 1.0 and real part less than 0.5 specially.
336 * math/k_casinhf.c (__kernel_casinhf): Likewise.
337 * math/k_casinhl.c (__kernel_casinhl): Likewise.
338 * math/libm-test.inc (cacos_test): Add more tests.
339 (casin_test): Likewise.
340 (casinh_test): Likewise.
341 * sysdeps/i386/fpu/libm-test-ulps: Update.
342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
343
b33d4ce4
SP
3442013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
345
346 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
347 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
348
bef0b507
JM
3492013-03-20 Joseph Myers <joseph@codesourcery.com>
350
351 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
352 * config.make.in (config-cflags-sse4): Remove variable.
353 (config-cflags-avx): Likewise.
354 (config-cflags-sse2avx): Likewise.
355 (config-cflags-novzeroupper): Likewise.
356 (config-asflags-i686): Likewise.
357 (have-mfma4): Likewise.
358 (have-as-vis3): Likewise.
359 (MIG): Likewise.
360 * configure.in (MIG): Do not AC_SUBST.
361 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
362 (libc_cv_cc_sse4): Do not AC_SUBST.
363 (libc_cv_cc_avx): Likewise.
364 (libc_cv_cc_sse2avx): Likewise.
365 (libc_cv_cc_novzeroupper): Likewise.
366 (libc_cv_cc_fma4): Likewise.
367 (libc_cv_as_i686): Likewise.
368 (libc_cv_sparc_as_vis3): Likewise.
369 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
370 LIBC_CONFIG_VAR.
371 (config-asflags-i686): Likewise.
372 (config-cflags-avx): Likewise.
373 (config-cflags-sse2avx): Likewise.
374 (have-mfma4): Likewise.
375 (config-cflags-novzeroupper): Likewise.
376 * sysdeps/mach/configure.in (MIG): Likewise.
377 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
378 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
379 LIBC_CONFIG_VAR.
380 (config-cflags-avx): Likewise.
381 (config-cflags-sse2avx): Likewise.
382 (have-mfma4): Likewise.
383 (config-cflags-novzeroupper): Likewise.
384 * configure: Regenerated.
385 * sysdeps/i386/configure: Likewise.
386 * sysdeps/mach/configure: Likewise.
387 * sysdeps/sparc/configure: Likewise.
388 * sysdeps/x86_64/configure: Likewise.
389
912cc4b3
RM
3902013-03-20 Roland McGrath <roland@hack.frob.com>
391
392 [BZ #14812]
393 * locale/programs/localedef.c (options): Put N_ translation marker
394 on argument names, not just descriptions.
395
04eed2b0
MS
3962013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
397
398 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
399
a065ceff
OB
4002013-03-20 Ondřej Bílka <neleai@seznam.cz>
401
9bb2a810 402 [BZ #14176]
a065ceff
OB
403 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
404
a600e5ce
RM
4052013-03-19 Roland McGrath <roland@hack.frob.com>
406
407 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
408 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
409 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
410 [!BEFORE_ABORT] (before_abort): New function.
411 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
412 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
413 (writev_for_fatal): New function.
414 (WRITEV_FOR_FATAL): New macro; call that.
415 (backtrace_and_maps): New function.
416 (BEFORE_ABORT): New macro; call that.
417 (struct str_list): Type removed.
418 (__libc_message, __libc_fatal): Functions removed.
419 Include <sysdeps/posix/libc_fatal.c> instead.
420
6b18bea6
JM
4212013-03-19 Joseph Myers <joseph@codesourcery.com>
422
423 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
424 constants.
425 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
426 double constants.
427
aaa8cb4b
AS
4282013-03-19 Andreas Schwab <schwab@suse.de>
429
44673770
AS
430 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
431 * sysdeps/gnu/configure: Regenerate.
432
aaa8cb4b
AS
433 * configure.in: Substitute libc_cv_rtlddir.
434 * configure: Regenerate.
435 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
436 * Makeconfig (rtlddir, inst_rtlddir): New variables.
437 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
438 * elf/Makefile (install-others, CFLAGS-interp.c)
439 (ldso_install, common-ldd-rewrite): Likewise.
440 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
441 $(inst_slibdir)/$(rtld-installed-name).
442 * scripts/rellns-sh: Add -p option.
443 * Makerules (make-shlib-link): Use rellns-sh to get relative name
444 for source.
445
d3cfc668
SP
4462013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
447
448 * manual/nptl.texi: Renamed to ...
449 * manual/threads.texi: ... this.
450 * manual/Makefile (chapters): Update.
451
0e2b9cdd
RM
4522013-03-18 Roland McGrath <roland@hack.frob.com>
453
454 [BZ #14812]
455 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
456 on argument names, not just descriptions.
0e2b9cdd
RM
457 * malloc/memusagestat.c (options): Likewise.
458 * nss/getent.c (options): Likewise.
63270c24
RM
459
4602013-03-18 Benno Schulenberg <bensberg@justemail.net>
461
462 [BZ #14812]
463 * iconv/iconv_prog.c (options): Put N_ translation marker
464 on argument names, not just descriptions.
465 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 466
b2e1393c
OB
4672013-03-18 Ondrej Bilka <neleai@seznam.cz>
468
469 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
470 implementation which is faster on all x86_64 architectures.
471 Tested on AMD, Intel Nehalem, SNB, IVB.
472 * sysdeps/x86_64/strnlen.S: Likewise.
473
474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
475 Remove all multiarch strlen and strnlen versions.
476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
477 Remove strlen and strnlen related parts.
478
479 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
480 Inline strlen part.
481 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
482
483 * sysdeps/x86_64/multiarch/strlen.S: Remove.
484 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
485 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
486 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
487 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
488 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
489
ec4ff04d
CD
4902013-03-17 Carlos O'Donell <carlos@redhat.com>
491
492 * manual/memory.texi (Malloc Tunable Parameters):
493 Sort parameters alphabetically. Add comments for missing entries.
494
cd18e90a
DM
4952013-03-17 David S. Miller <davem@davemloft.net>
496
497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
498
2a185d32
JM
4992013-03-16 Joseph Myers <joseph@codesourcery.com>
500
d2f9799e
JM
501 [BZ #15283]
502 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
503 for arguments at most half maximum finite value.
504 * math/libm-test.inc (j0_test): Add more tests.
505 (j1_test): Likewise.
506 (y0_test): Likewise.
507 (y1_test): Likewise.
508 * sysdeps/i386/fpu/libm-test-ulps: Update.
509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
510
2a185d32
JM
511 [BZ #14155]
512 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
513 1 / x and functions P and Q for arguments above 0x1p256L.
514 (__ieee754_y0l): Likewise.
515 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
516 (__ieee754_y1l): Likewise.
517 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
518 (j1_test): Likewise.
519 (y0_test): Likewise.
520 (y1_test): Likewise.
521
6cbec759
TS
5222013-03-16 Thomas Schwinge <thomas@codesourcery.com>
523
524 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
525 variable.
526
bc16e260
RM
5272013-03-15 Roland McGrath <roland@hack.frob.com>
528
aefc9b8c
RM
529 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
530 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
531 zero since it's initialized to EXEC_PAGESIZE.
532
bc16e260
RM
533 * sysdeps/unix/sysv/linux/ldsodefs.h
534 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
535 * sysdeps/generic/ldsodefs.h: ... here.
536
a57da955
TS
5372013-03-15 Thomas Schwinge <thomas@codesourcery.com>
538
af00a34d
TS
539 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
540
495ded2c
TS
541 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
542 math/test-snan.c.
543 * math/test-snan.c: Renamed from
544 sysdeps/powerpc/fpu/test-powerpc-snan.c.
545 * math/Makefile (tests): Add test-snan.
546 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
547 test-powerpc-snan.
548
777b0332
TS
549 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
550 SUFFIX. Initialize qNaN_var with __builtin_nan family of
551 functions.
552 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
553 __builtin_nan family of functions.
554 * math/libm-test.inc (initialize): Initialize qnan_value with
555 __builtin_nan family of functions.
556 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
557 Remove variables.
558 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
559 Remove functions.
560 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
561 storage class. Initialize qNaN_var and sNaN_var with
562 __builtin_nan and __builtin_nans families of functions,
563 respectively.
564
64d063b8
TS
565 * math/libm-test.inc (acosh_test): Also test with qNaN input.
566 (sqrt_test): Remove duplicate test with qNaN input.
567 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
568 (round_test, signbit_test, significand_test): Note missing +/-Inf
569 as well as qNaN tests.
570
67e971f1
TS
571 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
572 qNaN_var. Fix a few strings, too.
573 * math/libm-test.inc (nan_value): Rename to qnan_value.
574 * math/gen-libm-test.pl (%beautify): Adjust to that.
575 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
576 * math/test-misc.c (main): Likewise.
577 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
578 to __qnan_bytes, and __qnan_union, respectively.
579 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
580 Likewise.
581 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
582 and lqnanval, respectively.
583 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
584 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
585 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
586 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
587
64487e12
TS
588 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
589 * math/test-misc.c (main) [__x86_64__]: Enable test for long
590 doubles.
591
e015e27b
TS
592 * math/test-misc.c (main): Fix copy'n'pastos.
593 * misc/tst-efgcvt.c (special): Likewise.
594
a57da955
TS
595 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
596 Remove declarations.
597
1e380345
SP
5982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
599
600 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
601 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
602 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
603 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
604
ef26eece
AZ
6052013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
606
607 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
608 macro to return vdso values correctly in IFUNC implementations.
609 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
610 Optimization by using IFUNC.
611
8cfdb7e0
SP
6122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
613 Richard Henderson <rth@redhat.com>
614 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
615
616 * Makefile.in (bench): New target.
617 * NEWS: Mention the benchmark framework.
618 * Rules (bench): Likewise.
619 (binaries-bench): Generate binaries for functions to
620 benchmark.
621 * benchtests/Makefile: New makefile for benchmark tests.
622 * benchtests/bench-skeleton.c: New skeleton file for benchmark
623 programs.
624 * benchtests/exp-inputs: New input file for EXP function.
625 * benchtests/pow-inputs: New input file for POW function.
626 * scripts/bench.pl: New script to generate source files for
627 benchmark programs.
628
bcda9880
SP
6292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
630
d22ca8cd
SP
631 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
632 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
633 computations on mantissa. Use macros for rounding and
634 division.
635 (denorm): Likewise.
636 (__dbl_mp): Likewise.
637 (add_magnitudes): Likewise.
638 (sub_magnitudes): Likewise.
639 (__mul): Likewise.
640 (__sqr): Likewise.
641 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
642 powers of two in terms of TWOPOW macro.
643 (mp_no): Make type of mantissa as MANTISSA_T.
644 [!RADIXI]: Define RADIXI.
645 [!TWO52]: Define TWO52.
646 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
647
bcda9880
SP
648 * manual/nptl.texi (cindex): Modify threads to pthreads.
649
06d5adfb
JM
6502013-03-15 Joseph Myers <joseph@codesourcery.com>
651
652 * sysdeps/x86_64/preconfigure: Regenerated.
653
41c7328e
JM
6542013-03-14 Joseph Myers <joseph@codesourcery.com>
655
656 [BZ #14155]
657 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
658 0x1p28 and above.
659 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
660 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
661 0x1p28 and above.
662 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
663 * math/libm-test.inc (j0_test): Do not allow one spurious
664 underflow exception.
665 (y1_test): Likewise.
666
e25cfa60
SP
6672013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
668
0409959c
SP
669 * manual/Makefile (chapters): Add nptl.
670 * manual/debug.texi (Debugging Support): Add link to Threads
671 chapter.
672 * manual/nptl.texi: New file.
673
e25cfa60
SP
674 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
675
58a1335e
PB
6762013-03-14 Petr Baudis <pasky@ucw.cz>
677
678 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
679 for non-NULL pointer before the memory validity test. Pointed
680 out by Holger Brunck <holger.brunck@keymile.com>.
681
9dc7c64f
AS
6822013-03-13 Andreas Schwab <schwab@suse.de>
683
684 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
685 instead of .os.
686
54206aa6
JM
6872013-03-13 Joseph Myers <joseph@codesourcery.com>
688
689 * timezone/zic.c: Update from tzcode 2013b.
690
e98cdb38
CD
6912013-03-12 Carlos O'Donell <carlos@redhat.com>
692
693 * manual/install.texi (Configuring and compiling):
694 Mention i686 and i586.
695 * INSTALL: Regenerate.
696
9967e003
RM
6972013-03-12 Roland McGrath <roland@hack.frob.com>
698
699 * sysdeps/init_array/elf-init.c: New file.
700 * csu/elf-init.c
701 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
702 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
703
704 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
705 __gmon_start__ as global, but as static with a .preinit_array pointer.
706 * sysdeps/init_array/gmon-start.c: New file. Use that.
707 * sysdeps/init_array/crti.S: New file, empty except for comments.
708 * sysdeps/init_array/crtn.S: Likewise.
709
e6b5a293 7102013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
711
712 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
713 definining bcopy.
80f844c9
OB
714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
715 Remove Prefer_SSE_for_memop.
716 * sysdeps/x86_64/multiarch/init-arch.h: Remove
717 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
718 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
720 memset-x86-64.
80f844c9 721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 722 Remove bzero, memset ifunc support.
80f844c9
OB
723 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
724 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
725 * sysdeps/x86_64/multiarch/memset.S: Likewise.
726 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
727
fb6b0fcb
AS
7282013-03-11 Andreas Schwab <schwab@suse.de>
729
730 [BZ #15234]
731 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
732 by SHLIB_COMPAT.
733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
734 (GLIBC_2.16): Remove pthread_atfork.
735
3e6bd4b1
PP
7362013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
737
738 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
739 (ptestcases.h): Likewise.
740
222d7f00
RM
7412013-03-08 Roland McGrath <roland@hack.frob.com>
742
743 * Makeconfig ($(common-objpfx)config.status): Depend on
744 sysdeps/*/preconfigure{,.in} too.
745
1ba4f030
JM
7462013-03-08 Joseph Myers <joseph@codesourcery.com>
747
a222d91a
JM
748 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
749 (__free_hook): Use void * instead of __malloc_ptr_t.
750 (__malloc_hook): Likewise.
751 (__realloc_hook): Likewise.
752 (__memalign_hook): Likewise.
753 (__after_morecore_hook): Likewise.
754 * malloc/arena.c (save_malloc_hook): Likewise.
755 (save_free_hook): Likewise.
756 * malloc/hooks.c (malloc_hook_ini): Likewise.
757 (realloc_hook_ini): Likewise.
758 (memalign_hook_ini): Likewise.
759 * malloc/malloc.c (malloc_hook_ini): Likewise.
760 (realloc_hook_ini): Likewise.
761 (memalign_hook_ini): Likewise.
762 (__free_hook): Likewise.
763 (__malloc_hook): Likewise.
764 (__realloc_hook): Likewise.
765 (__memalign_hook): Likewise.
766 (__libc_malloc): Likewise.
767 (__libc_free): Likewise.
768 (__libc_realloc): Likewise.
769 (__libc_memalign): Likewise.
770 (__libc_valloc): Likewise.
771 (__libc_pvalloc): Likewise.
772 (__libc_calloc): Likewise.
773 (__posix_memalign): Likewise.
774 * malloc/morecore.c (__sbrk): Likewise.
775 (__default_morecore): Likewise.
776
5cc45e10
JM
777 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
778
dd54b864
JM
779 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
780 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
781 __malloc_ptrdiff_t.
782
1ba4f030
JM
783 * malloc/malloc.h (__malloc_size_t): Remove macro.
784 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
785 __malloc_size_t.
786 (old_memalign_hook): Likewise.
787 (old_realloc_hook): Likewise.
788 (struct hdr): Likewise.
789 (flood): Likewise.
790 (mallochook): Likewise.
791 (memalignhook): Likewise.
792 (reallochook): Likewise.
793 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
794 (tr_old_realloc_hook): Likewise.
795 (tr_old_memalign_hook): Likewise.
796 (tr_mallochook): Likewise.
797 (tr_reallochook): Likewise.
798 (tr_memalignhook): Likewise.
799
edf66e57
AZ
8002013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
801
802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
803 default_ldbl_pack and using as default implementation.
804 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
805 implementation.
806 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
807 redundant definition.
808 (ldbl_insert_mantissa): Likewise.
809 (ldbl_canonicalize): Likewise.
810 (ldbl_nearbyint): Likewise.
811 (ldbl_pack): Rename to ldbl_pack_ppc.
812 (ldbl_unpack): Rename to ldbl_unpack_ppc.
813 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
814 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
815
6d9145d8
SP
8162013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
817
818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
819 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
820 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
821 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
823 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
824 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
825 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
826
4dd4e157
AJ
8272013-03-07 Andreas Jaeger <aj@suse.de>
828
829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
830 bits/mman-linux.h.
831
adbb8027
SP
8322013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
833
ce544b5b
SP
834 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
835 Include mpa.h and declare __MPEXP.
836 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
837 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
838 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
839 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
840 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
841 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
842 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
843
4cc149fd
SP
844 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
845 (__slowpow): Use long double EXPL and LOGL functions to
846 compute POW.
847 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
848 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
849 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
850 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
851 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
852 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
853
e6ebd4a7
SP
854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
855 intermediate variable to calculate exponent.
856 (__sqr): Likewise.
857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
858 Likewise.
859 (__sqr): Likewise.
860
82a9811d
SP
861 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
862 [!NO__SQR]: Define __sqr.
863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
864 and NO__SQR. Remove all code except __mul and __sqr. Include
865 sysdeps/ieee754/dbl-64/mpa.c.
866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
867
adbb8027
SP
868 [BZ #12723]
869 * posix/Makefile (tests): Add tst-pathconf.
870 * posix/tst-pathconf.c: New test case.
871 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
872 _PC_PIPE_BUF.
873 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
874
39120df9
PF
8752013-03-06 Patsy Franklin <pfrankli@redhat.com>
876
877 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
878
67525cb8
AJ
8792013-03-06 Andreas Jaeger <aj@suse.de>
880
664a9ce4
AJ
881 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
882 definition via __MAP_ANONYMOUS.
883
8e39047d
AJ
884 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
885 it's not part of Linux headers.
886
67525cb8
AJ
887 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
888 (MAP_HUGE_MASK): Define.
889
890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
891 Define.
892 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
893 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
894 Define.
895 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
896 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
897 Define.
898 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
899 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
900 Define.
901 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
902
903 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
904 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
905 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
906 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
907 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
908 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
909
910 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
911 Handle f2fs.
912
913 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
914 Handle f2fs and efivarfs.
915
916 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
917 f2fs.
918
919 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
920 (EFIVARFS_MAGIC): Add.
921 (F2FS_LINK_MAX): Add.
922
e1b42695
PP
9232013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
924
925 * stdio-common/vfprintf.c: Replace __builtin_expect with
926 __glibc_unlikely.
927
2d67d91a
JM
9282013-03-06 Joseph Myers <joseph@codesourcery.com>
929
930 [BZ #13550]
931 * sysdeps/generic/bp-sym.h: Remove file.
932 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
933 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
934 <bp-sym.h> and <bp-asm.h>.
935 (__longjmp): Don't use BP_SYM.
936 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
937 and <bp-asm.h>.
938 (memcpy): Don't use BP_SYM.
939 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
940 <bp-sym.h> and <bp-asm.h>.
941 (memcpy): Don't use BP_SYM.
942 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
943 <bp-asm.h>.
944 (memcpy): Don't use BP_SYM.
945 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
946 <bp-asm.h>.
947 (memset): Don't use BP_SYM.
948 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
949 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
950 (__bzero): Don't use BP_SYM.
951 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
952 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
953 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
954 <bp-sym.h> and <bp-asm.h>.
955 (memcmp): Don't use BP_SYM. Remove comment about bounded
956 pointers.
957 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
958 <bp-sym.h> and <bp-asm.h>.
959 (memcpy): Don't use BP_SYM.
960 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
961 <bp-sym.h> and <bp-asm.h>.
962 (memset): Don't use BP_SYM.
963 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
964 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
965 (__bzero): Don't use BP_SYM.
966 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
967 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
968 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
969 <bp-sym.h> and <bp-asm.h>.
970 (strncmp): Don't use BP_SYM. Remove comment about bounded
971 pointers.
972 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
973 <bp-sym.h> and <bp-asm.h>.
974 (memcpy): Don't use BP_SYM.
975 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
976 <bp-sym.h> and <bp-asm.h>.
977 (memset): Don't use BP_SYM.
978 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
979 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
980 (__bzero): Don't use BP_SYM.
981 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
982 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
983 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
984 <bp-sym.h> and <bp-asm.h>.
985 (__memchr): Don't use BP_SYM.
986 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
987 <bp-sym.h> and <bp-asm.h>.
988 (memcmp): Don't use BP_SYM. Remove comment about bounded
989 pointers.
990 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
991 <bp-sym.h> and <bp-asm.h>.
992 (memcpy): Don't use BP_SYM.
993 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
994 <bp-sym.h> and <bp-asm.h>.
995 (__mempcpy): Don't use BP_SYM.
996 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
997 <bp-sym.h> and <bp-asm.h>.
998 (__memrchr): Don't use BP_SYM.
999 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1000 <bp-sym.h> and <bp-asm.h>.
1001 (memset): Don't use BP_SYM.
1002 (__bzero): Likewise.
1003 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1004 <bp-sym.h> and <bp-asm.h>.
1005 (__rawmemchr): Don't use BP_SYM.
1006 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1007 <bp-sym.h> and <bp-asm.h>.
1008 (__STRCMP): Don't use BP_SYM.
1009 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1010 <bp-sym.h> and <bp-asm.h>.
1011 (strchr): Don't use BP_SYM.
1012 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1013 <bp-sym.h> and <bp-asm.h>.
1014 (__strchrnul): Don't use BP_SYM.
1015 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1016 <bp-sym.h> and <bp-asm.h>.
1017 (strlen): Don't use BP_SYM.
1018 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1019 <bp-sym.h> and <bp-asm.h>.
1020 (strncmp): Don't use BP_SYM. Remove comment about bounded
1021 pointers.
1022 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1023 <bp-sym.h> and <bp-asm.h>.
1024 (__strnlen): Don't use BP_SYM.
1025 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1026 <bp-sym.h> and <bp-asm.h>.
1027 (__GI__setjmp): Don't use BP_SYM.
1028 (_setjmp): Likewise.
1029 (__sigsetjmp): Likewise.
1030 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1031 (L(start_addresses)): Don't use BP_SYM.
1032 (_start): Likewise.
1033 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1034 <bp-asm.h>.
1035 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1036 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1037 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1038 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1039 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1040 <bp-asm.h>.
1041 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1042 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1043 about bounded pointers.
1044 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1045 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1046 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1047 <bp-asm.h>.
1048 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1049 about bounded pointers. Remove GKM FIXME comments.
1050 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1051 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1052 <bp-asm.h>.
1053 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1054 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1055 Remove GKM FIXME comments.
1056 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1057 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1058 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1059 <bp-asm.h>.
1060 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1061 about bounded pointers. Remove GKM FIXME comment.
1062 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1063 and <bp-asm.h>.
1064 (strncmp): Don't use BP_SYM. Remove comment about bounded
1065 pointers.
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1067 <bp-sym.h> and <bp-asm.h>.
1068 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1070 <bp-sym.h> and <bp-asm.h>.
1071 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1072 comment.
1073
cdcf361f
PP
10742013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1075
1076 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1077 call free(NULL).
1078
3c4a2b15
DM
10792013-03-05 David S. Miller <davem@davemloft.net>
1080
1081 * po/es.po: Update from translation team.
1082
cdcf361f 10832013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1084
1085 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1086 <bits/mman-linux.h>.
1087 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1088 is fine.
1089 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1090 <bits/mman-linux.h> to end of file.
1091 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1092 is fine.
1093 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1094 <bits/mman-linux.h> to end of file.
1095 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1096 is fine.
1097 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1098 <bits/mman-linux.h> to end of file.
1099
1100 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1101 (MCL_CURRENT, MCL_FUTURE): Define here.
1102
5f67c04f
AK
11032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1104
8a4473cc 1105 [BZ #15232]
5f67c04f
AK
1106 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1107 attribute_hidden.
1108 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1109
c3e94a95
AK
11102013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1111
1112 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1113 fourth parameter needed for rt_sigprocmask syscall.
1114 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1115 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1116 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1117 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1118 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1119 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1120
cfb6382a
JM
11212013-03-04 Joseph Myers <joseph@codesourcery.com>
1122
1123 [BZ #13550]
1124 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1125 comment about bounded pointers.
1126 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1127 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1128
539d8e01
AJ
11292013-03-04 Andreas Jaeger <aj@suse.de>
1130
1131 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1132 common definitions.
1133
1134 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1135 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1136 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1137 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1138 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1139 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1140
2e167a70 11412013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1142
1143 [BZ #15055]
1144 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1145 __ieee754_sqrl instead of __sqrl.
1146
68508633
JM
11472013-03-01 Joseph Myers <joseph@codesourcery.com>
1148
1149 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1150 * sysdeps/powerpc/fpu_control.h: ... here.
1151 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1152 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1153 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1154 * sysdeps/powerpc/bits/mathinline.h: ... here.
1155
7775448e
RM
11562013-03-01 Roland McGrath <roland@hack.frob.com>
1157
1158 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1159 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1160 to just [NEED_DL_SYSINFO_DSO].
1161 * elf/dl-support.c: Likewise.
1162 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1163 * elf/rtld.c (dl_main): Likewise.
1164 * elf/setup-vdso.h (setup_vdso): Likewise.
1165 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1166 * sysdeps/unix/sysv/linux/dl-sysdep.c
1167 (_dl_discover_osversion): Likewise.
1168
4e9b5995
CD
11692013-03-01 Carlos O'Donell <carlos@redhat.com>
1170
1171 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1172 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1173
e23872c8
SP
11742013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1175
e5c74c63
SP
1176 * NEWS: Mention libm performance improvements and non-x86 PI
1177 futex support.
1178
e23872c8
SP
1179 * csu/libc-start.c (__pthread_initialize_minimal): Change
1180 function arguments.
1181 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1182
b5510883
JM
11832013-02-28 Joseph Myers <joseph@codesourcery.com>
1184
1185 [BZ #13550]
1186 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1187 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1188 <bp-sym.h> and <bp-asm.h>.
1189 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1190 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1191 and <bp-asm.h>.
1192 (memcpy): Don't use BP_SYM.
1193 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1194 <bp-asm.h>.
1195 (__mpn_add_n): Don't use BP_SYM.
1196 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1197 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1198 and <bp-asm.h>.
1199 (__mpn_addmul_1): Don't use BP_SYM.
1200 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1201 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1202 <bp-sym.h>.
1203 (_setjmp): Don't use BP_SYM.
1204 (__novmx_setjmp): Likewise.
1205 (__GI__setjmp): Likewise.
1206 (__vmx_setjmp): Likewise.
1207 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1208 <bp-sym.h>.
1209 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1210 (__bzero): Don't use BP_SYM.
1211 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1212 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1213 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1214 <bp-sym.h> and <bp-asm.h>.
1215 (memcpy): Don't use BP_SYM.
1216 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1217 <bp-sym.h> and <bp-asm.h>.
1218 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1219 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1220 <bp-sym.h> and <bp-asm.h>.
1221 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1222 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1223 <bp-asm.h>.
1224 (__mpn_lshift): Don't use BP_SYM.
1225 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1226 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1227 <bp-asm.h>.
1228 (memset): Don't use BP_SYM.
1229 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1230 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1231 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1232 <bp-asm.h>.
1233 (__mpn_mul_1): Don't use BP_SYM.
1234 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1235 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1236 <bp-sym.h> and <bp-asm.h>.
1237 (memcmp): Don't use BP_SYM.
1238 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1239 <bp-sym.h> and <bp-asm.h>.
1240 (memcpy): Don't use BP_SYM.
1241 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1242 <bp-sym.h> and <bp-asm.h>.
1243 (memset): Don't use BP_SYM.
1244 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1245 <bp-sym.h> and <bp-asm.h>.
1246 (strncmp): Don't use BP_SYM.
1247 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1248 <bp-sym.h> and <bp-asm.h>.
1249 (memcpy): Don't use BP_SYM.
1250 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1251 <bp-sym.h> and <bp-asm.h>.
1252 (memset): Don't use BP_SYM.
1253 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1254 <bp-sym.h> and <bp-asm.h>.
1255 (__memchr): Don't use BP_SYM.
1256 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1257 <bp-sym.h> and <bp-asm.h>.
1258 (memcmp): Don't use BP_SYM.
1259 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1260 <bp-sym.h> and <bp-asm.h>.
1261 (memcpy): Don't use BP_SYM.
1262 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1263 <bp-sym.h> and <bp-asm.h>.
1264 (__mempcpy): Don't use BP_SYM.
1265 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1266 <bp-sym.h> and <bp-asm.h>.
1267 (__memrchr): Don't use BP_SYM.
1268 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1269 <bp-sym.h> and <bp-asm.h>.
1270 (memset): Don't use BP_SYM.
1271 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1272 <bp-sym.h> and <bp-asm.h>.
1273 (__rawmemchr): Don't use BP_SYM.
1274 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1275 <bp-sym.h> and <bp-asm.h>.
1276 (__STRCMP): Don't use BP_SYM.
1277 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1278 <bp-sym.h> and <bp-asm.h>.
1279 (strchr): Don't use BP_SYM.
1280 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1281 <bp-sym.h> and <bp-asm.h>.
1282 (__strchrnul): Don't use BP_SYM.
1283 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1284 <bp-sym.h> and <bp-asm.h>.
1285 (strlen): Don't use BP_SYM.
1286 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1287 <bp-sym.h> and <bp-asm.h>.
1288 (strncmp): Don't use BP_SYM.
1289 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1290 <bp-sym.h> and <bp-asm.h>.
1291 (__strnlen): Don't use BP_SYM.
1292 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1293 <bp-asm.h>.
1294 (__mpn_rshift): Don't use BP_SYM.
1295 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1296 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1297 <bp-sym.h> and <bp-asm.h>.
1298 (__sigsetjmp): Don't use BP_SYM.
1299 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1300 (L(start_addresses)): Don't use BP_SYM.
1301 (_start): Likewise.
1302 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1303 <bp-asm.h>.
1304 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1305 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1306 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1307 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1308 <bp-asm.h>.
1309 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1310 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1311 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1312 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1313 <bp-asm.h>.
1314 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1315 comments.
1316 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1317 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1318 <bp-asm.h>.
1319 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1320 FIXME comments.
1321 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1322 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1323 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1324 <bp-asm.h>.
1325 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1326 comment.
1327 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1328 and <bp-asm.h>.
1329 (strncmp): Don't use BP_SYM,
1330 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1331 <bp-asm.h>.
1332 (__mpn_sub_n): Don't use BP_SYM.
1333 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1334 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1335 and <bp-asm.h>.
1336 (__mpn_submul_1): Don't use BP_SYM.
1337 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1339 <bp-sym.h> and <bp-asm.h>.
1340 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1342 <bp-sym.h> and <bp-asm.h>.
1343 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1344 comment.
1345
8d19fe64
SP
13462013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1347
1348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1349 Use ZK to minimize writes to Z.
1350 (sub_magnitudes): Simplify code a bit.
1351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1352 Use ZK to minimize writes to Z.
1353 (sub_magnitudes): Simplify code a bit.
1354
85bd816a
RM
13552013-02-27 Roland McGrath <roland@hack.frob.com>
1356
1357 * csu/gmon-start.c: Add special exception to license text.
1358
b5977bf2
RH
13592013-02-27 Richard Henderson <rth@redhat.com>
1360
1361 * scripts/config.guess: Update from config.git.
1362 * scripts/config.sub: Likewise.
1363
11d6e2f2
SP
13642013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1365
09c14ed2
SP
1366 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1367
a688864e
SP
1368 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1369
6295157a
SP
1370 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1371
b8de2202
SP
1372 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1373
11d6e2f2
SP
1374 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1375
7e80ddb8
RM
13762013-02-26 Roland McGrath <roland@hack.frob.com>
1377
1378 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1379 [$(build-shared = yes].
7e80ddb8 1380
7da6d9ed
SP
13812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1382
45f05884
SP
1383 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1384 (__mul): Reduce iterations for calculating mantissa.
1385
2236d359
SP
1386 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1387 MPTWO.
1388 (__mpranred): Likewise.
1389
7da6d9ed
SP
1390 [BZ #15160]
1391 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1392 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1393
b7688c42
PE
13942013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1395
1396 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1397 Define __attribute__.
1398
53a5c423
SP
13992013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1400
1401 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1402 unused.
1403 * posix/regex_internal.h (__attribute): Remove.
1404 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1405 (re_string_context_at): Likewise.
1406 (bitset_not): Use __attribute__ and mark function as possibly
1407 unused.
1408 (bitset_merge): Likewise.
1409 (bitset_mask): Likewise.
1410 (re_string_char_size_at): Likewise.
1411 (re_string_wchar_at): Likewise.
1412 (re_string_elem_size_at): Likewise.
1413
60f5a8b5
SP
14142013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1415
2a983a2e
SP
1416 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1417 code.
1418 (cc32): Likewise.
1419
e69804d1
SP
1420 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1421 (__acr): Likewise.
1422 (__cpy): Likewise.
1423 (norm): Likewise.
1424 (denorm): Likewise.
1425 (__dbl_mp): Likewise.
1426 (add_magnitudes): Likewise.
1427 (sub_magnitudes): Likewise.
1428 (__mul): Likewise.
1429 (__inv): Likewise.
1430
2f22a1e8
SP
1431 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1432 style.
1433
8930ddc7
SP
1434 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1435 style.
1436
dc60cb11
SP
1437 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1438 code.
1439
60f5a8b5
SP
1440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1441 up changes with default code.
1442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1443 Likewise.
1444
b4d1fd33
AM
14452013-02-24 Allan McRae <allan@archlinux.org>
1446
faf6f8bc
AM
1447 * manual/socket.texi (The Internet Namespace): Order menu items
1448 to match that in the file.
1449
b4d1fd33
AM
1450 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1451 node listing of the info page menu.
1452
2366713d
JM
14532013-02-21 Joseph Myers <joseph@codesourcery.com>
1454
1455 [BZ #13550]
1456 * sysdeps/i386/bp-asm.h: Remove file.
1457 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1458 (PARMS): Do not use macros from bp-asm.h.
1459 (S1): Likewise.
1460 (S2): Likewise.
1461 (SIZE): Likewise.
1462 (__mpn_add_n): Do not use BP_SYM
1463 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1464 "bp-asm.h".
1465 (PARMS): Do not use macros from bp-asm.h.
1466 (S1): Likewise.
1467 (SIZE): Likewise.
1468 (__mpn_addmul_1): Do not use BP_SYM
1469 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1470 "bp-asm.h".
1471 (PARMS): Do not use macros from bp-asm.h.
1472 (SIGMSK): Likewise.
1473 (_setjmp): Likewise. Do not use BP_SYM.
1474 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1475 "bp-asm.h".
1476 (PARMS): Do not use macros from bp-asm.h.
1477 (SIGMSK): Likewise.
1478 (setjmp): Likewise. Do not use BP_SYM.
1479 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1480 "bp-asm.h".
1481 (PARMS): Do not use macros from bp-asm.h.
1482 (__frexp): Do not use BP_SYM.
1483 (frexp): Likewise.
1484 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1485 "bp-asm.h".
1486 (PARMS): Do not use macros from bp-asm.h.
1487 (__frexpf): Do not use BP_SYM.
1488 (frexpf): Likewise.
1489 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1490 "bp-asm.h".
1491 (PARMS): Do not use macros from bp-asm.h.
1492 (__frexpl): Do not use BP_SYM.
1493 (frexpl): Likewise.
1494 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1495 "bp-asm.h".
1496 (PARMS): Do not use macros from bp-asm.h.
1497 (__remquo): Do not use BP_SYM.
1498 (remquo): Likewise.
1499 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1500 "bp-asm.h".
1501 (PARMS): Do not use macros from bp-asm.h.
1502 (__remquof): Do not use BP_SYM.
1503 (remquof): Likewise.
1504 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1505 "bp-asm.h".
1506 (PARMS): Do not use macros from bp-asm.h.
1507 (__remquol): Do not use BP_SYM.
1508 (remquol): Likewise.
1509 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1510 "bp-asm.h".
1511 (PARMS): Do not use macros from bp-asm.h.
1512 (DEST): Likewise.
1513 (SRC): Likewise.
1514 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1515 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1516 "bp-asm.h".
1517 (PARMS): Do not use macros from bp-asm.h.
1518 (strlen): Do not use BP_SYM.
1519 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1520 "bp-asm.h".
1521 (PARMS): Do not use macros from bp-asm.h.
1522 (S1): Likewise.
1523 (S2): Likewise.
1524 (SIZE): Likewise.
1525 (__mpn_add_n): Do not use BP_SYM.
1526 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1527 "bp-asm.h".
1528 (PARMS): Do not use macros from bp-asm.h.
1529 (S1): Likewise.
1530 (SIZE): Likewise.
1531 (__mpn_addmul_1): Do not use BP_SYM.
1532 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1533 weak_alias.
1534 (bzero): Likewise.
1535 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1536 "bp-asm.h".
1537 (PARMS): Do not use macros from bp-asm.h.
1538 (S): Likewise.
1539 (SIZE): Likewise.
1540 (__mpn_lshift): Do not use BP_SYM.
1541 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1542 "bp-asm.h".
1543 (PARMS): Do not use macros from bp-asm.h.
1544 (DEST): Likewise.
1545 (SRC): Likewise.
1546 (LEN): Likewise.
1547 (memcpy): Likewise. Do not use BP_SYM.
1548 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1549 libc_hidden_def and weak_alias.
1550 (mempcpy): Do not use BP_SYM in weak_alias.
1551 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1552 "bp-asm.h".
1553 (PARMS): Do not use macros from bp-asm.h.
1554 (DEST): Likewise.
1555 (LEN): Likewise.
1556 [!BZERO_P] (CHR): Likewise.
1557 (memset): Likewise. Do not use BP_SYM.
1558 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1559 "bp-asm.h".
1560 (PARMS): Do not use macros from bp-asm.h.
1561 (S1): Likewise.
1562 (SIZE): Likewise.
1563 (__mpn_mul_1): Do not use BP_SYM.
1564 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1565 "bp-asm.h".
1566 (PARMS): Do not use macros from bp-asm.h.
1567 (S): Likewise.
1568 (SIZE): Likewise.
1569 (__mpn_rshift): Do not use BP_SYM.
1570 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1571 "bp-asm.h".
1572 (PARMS): Do not use macros from bp-asm.h.
1573 (STR): Likewise.
1574 (CHR): Likewise.
1575 (strchr): Likewise. Do not use BP_SYM.
1576 (index): Do not use BP_SYM in weak_alias.
1577 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1578 "bp-asm.h".
1579 (PARMS): Do not use macros from bp-asm.h.
1580 (DEST): Likewise.
1581 (SRC): Likewise.
1582 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1583 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1584 "bp-asm.h".
1585 (PARMS): Do not use macros from bp-asm.h.
1586 (strlen): Do not use BP_SYM.
1587 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1588 "bp-asm.h".
1589 (PARMS): Do not use macros from bp-asm.h.
1590 (S1): Likewise.
1591 (S2): Likewise.
1592 (SIZE): Likewise.
1593 (__mpn_sub_n): Do not use BP_SYM.
1594 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1595 "bp-asm.h".
1596 (PARMS): Do not use macros from bp-asm.h.
1597 (S1): Likewise.
1598 (SIZE): Likewise.
1599 (__mpn_submul_1): Do not use BP_SYM.
1600 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1601 "bp-asm.h".
1602 (PARMS): Do not use macros from bp-asm.h.
1603 (S1): Likewise.
1604 (S2): Likewise.
1605 (SIZE): Likewise.
1606 (__mpn_add_n): Do not use BP_SYM.
1607 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1608 weak_alias.
1609 (bzero): Likewise.
1610 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1611 "bp-asm.h".
1612 (PARMS): Do not use macros from bp-asm.h.
1613 (BLK2): Likewise.
1614 (LEN): Likewise.
1615 (memcmp): Do not use BP_SYM.
1616 (bcmp): Do not use BP_SYM in weak_alias.
1617 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1618 "bp-asm.h".
1619 (PARMS): Do not use macros from bp-asm.h.
1620 (DEST): Likewise.
1621 (SRC): Likewise.
1622 (LEN): Likewise.
1623 (memcpy): Likewise. Do not use BP_SYM.
1624 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1625 "bp-asm.h".
1626 (PARMS): Do not use macros from bp-asm.h.
1627 (DEST): Likewise.
1628 (SRC): Likewise.
1629 (LEN): Likewise.
1630 (memmove): Likewise. Do not use BP_SYM.
1631 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1632 "bp-asm.h".
1633 (PARMS): Do not use macros from bp-asm.h.
1634 (DEST): Likewise.
1635 (SRC): Likewise.
1636 (LEN): Likewise.
1637 (__mempcpy): Likewise. Do not use BP_SYM.
1638 (mempcpy): Do not use BP_SYM in weak_alias.
1639 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1640 "bp-asm.h".
1641 (PARMS): Do not use macros from bp-asm.h.
1642 (DEST): Likewise.
1643 (LEN): Likewise.
1644 [!BZERO_P] (CHR): Likewise.
1645 (memset): Likewise. Do not use BP_SYM.
1646 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1647 "bp-asm.h".
1648 (PARMS): Do not use macros from bp-asm.h.
1649 (STR2): Likewise.
1650 (strcmp): Do not use BP_SYM.
1651 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1652 "bp-asm.h".
1653 (PARMS): Do not use macros from bp-asm.h.
1654 (STR): Likewise.
1655 (DELIM): Likewise.
1656 [USE_AS_STRTOK_R] (SAVE): Likewise.
1657 (FUNCTION): Likewise. Do not use BP_SYM.
1658 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1659 aliases.
1660 (strtok_r): Likewise.
1661 (__GI___strtok_r): Likewise.
1662 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1663 (PARMS): Do not use macros from bp-asm.h.
1664 (S): Likewise.
1665 (SIZE): Likewise.
1666 (__mpn_lshift): Do not use BP_SYM.
1667 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1668 (PARMS): Do not use macros from bp-asm.h.
1669 (STR): Likewise.
1670 (CHR): Likewise.
1671 (__memchr): Do not use BP_SYM.
1672 (memchr): Do not use BP_SYM in weak_alias.
1673 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1674 (PARMS): Do not use macros from bp-asm.h.
1675 (BLK2): Likewise.
1676 (LEN): Likewise.
1677 (memcmp): Do not use BP_SYM.
1678 (bcmp): Do not use BP_SYM in weak_alias.
1679 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1680 (PARMS): Do not use macros from bp-asm.h.
1681 (S1): Likewise.
1682 (SIZE): Likewise.
1683 (__mpn_mul_1): Do not use BP_SYM.
1684 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1685 "bp-asm.h".
1686 (PARMS): Do not use macros from bp-asm.h.
1687 (STR): Likewise.
1688 (CHR): Likewise.
1689 (__rawmemchr): Do not use BP_SYM.
1690 (rawmemchr): Do not use BP_SYM in weak_alias.
1691 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1692 (PARMS): Do not use macros from bp-asm.h.
1693 (S): Likewise.
1694 (SIZE): Likewise.
1695 (__mpn_rshift): Do not use BP_SYM.
1696 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1697 (PARMS): Do not use macros from bp-asm.h.
1698 (SIGMSK): Likewise.
1699 (__sigsetjmp): Likewise. Do not use BP_SYM.
1700 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1701 (_start): Do not use BP_SYM.
1702 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1703 (PARMS): Do not use macros from bp-asm.h.
1704 (DEST): Likewise.
1705 (SRC): Likewise.
1706 (__stpcpy): Likewise. Do not use BP_SYM.
1707 (stpcpy): Do not use BP_SYM in weak_alias.
1708 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1709 "bp-asm.h".
1710 (PARMS): Do not use macros from bp-asm.h.
1711 (DEST): Likewise.
1712 (SRC): Likewise.
1713 (LEN): Likewise.
1714 (__stpncpy): Likewise. Do not use BP_SYM.
1715 (stpncpy): Do not use BP_SYM in weak_alias.
1716 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1717 (PARMS): Do not use macros from bp-asm.h.
1718 (STR): Likewise.
1719 (CHR): Likewise.
1720 (strchr): Likewise. Do not use BP_SYM.
1721 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1722 "bp-asm.h".
1723 (PARMS): Do not use macros from bp-asm.h.
1724 (STR): Likewise.
1725 (CHR): Likewise.
1726 (__strchrnul): Likewise. Do not use BP_SYM.
1727 (strchrnul): Do not use BP_SYM in weak_alias.
1728 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1729 "bp-asm.h".
1730 (PARMS): Do not use macros from bp-asm.h.
1731 (STOP): Likewise.
1732 (strcspn): Do not use BP_SYM.
1733 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1734 "bp-asm.h".
1735 (PARMS): Do not use macros from bp-asm.h.
1736 (STR): Likewise.
1737 (STOP): Likewise.
1738 (strpbrk): Likewise. Do not use BP_SYM.
1739 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1740 "bp-asm.h".
1741 (PARMS): Do not use macros from bp-asm.h.
1742 (STR): Likewise.
1743 (CHR): Likewise.
1744 (strrchr): Likewise. Do not use BP_SYM.
1745 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1746 (PARMS): Do not use macros from bp-asm.h.
1747 (SKIP): Likewise.
1748 (strspn): Do not use BP_SYM.
1749 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1750 (PARMS): Do not use macros from bp-asm.h.
1751 (STR): Likewise.
1752 (DELIM): Likewise.
1753 (SAVE): Likewise.
1754 (FUNCTION): Likewise. Do not use BP_SYM.
1755 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1756 aliases.
1757 (strtok_r): Likewise.
1758 (__GI___strtok_r): Likewise.
1759 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1760 (PARMS): Do not use macros from bp-asm.h.
1761 (S1): Likewise.
1762 (S2): Likewise.
1763 (SIZE): Likewise.
1764 (__mpn_sub_n): Do not use BP_SYM.
1765 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1766 "bp-asm.h".
1767 (PARMS): Do not use macros from bp-asm.h.
1768 (S1): Likewise.
1769 (SIZE): Likewise.
1770 (__mpn_submul_1): Do not use BP_SYM.
1771 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1772 <bp-sym.h>.
1773 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1774 and <bp-asm.h>.
1775 (PARMS): Do not use macros from bp-asm.h.
1776 (FLAGS): Likewise.
1777 (PTID): Likewise.
1778 (TLS): Likewise.
1779 (CTID): Likewise.
1780 (__clone): Do not use BP_SYM.
1781 (clone): Do not use BP_SYM in weak_alias.
1782 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1783 and <bp-asm.h>.
1784 (PARMS): Do not use macros from bp-asm.h.
1785 (LEN): Likewise.
1786 (__mmap64): Do not use BP_SYM.
1787 (mmap64): Do not use BP_SYM in weak_alias.
1788 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1789 <bp-sym.h> and <bp-asm.h>.
1790 (PARMS): Do not use macros from bp-asm.h.
1791 (__posix_fadvise64_l64): Do not use BP_SYM.
1792 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1793 (PARMS): Do not use macros from bp-asm.h.
1794 (NSOPS): Likewise.
1795 (semtimedop): Do not use BP_SYM.
1796 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1797 and <bp-asm.h>.
1798
582a3cff
AM
17992013-02-21 Allan McRae <allan@archlinux.org>
1800
1801 * manual/message.texi (Charset conversion in gettext):
1802 Move @end statement to beginning of line.
1803
bab8a695
SP
18042013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1805
80945231
SP
1806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1807 static.
1808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1809 Likewise.
1810
bab8a695
SP
1811 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1812 (denorm): Likewise.
1813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1815
e21d7aa7
AK
18162013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1817
1818 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1819 tail-call to the resolved function if pltexit isn't needed.
1820
4c7a4263
SP
18212013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1822
1823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1824 or Y being zero as being unlikely.
1825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1826 Likewise.
1827
41f49342
CD
18282013-02-20 Carlos O'Donell <carlos@redhat.com>
1829
1830 * manual/nss.texi (System Databases and Name Service Switch):
1831 Remove frobnicate @pxref.
1832
50022a93
TS
18332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1834
1835 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1836 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1837
08cbd996
PM
18382013-02-20 Petr Machata <pmachata@redhat.com>
1839
1840 * elf/elf.h (R_ARM_TARGET1): New macro.
1841 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1842 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1843 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1844 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1845 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1846 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1847 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1848 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1849 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1850 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1851 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1852 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1853 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1854 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1855 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1856 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1857 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1858 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1859 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1860 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1861 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1862 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1863 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1864 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1865 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1866 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1867 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1868 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1869 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1870 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1871 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1872 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1873 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1874 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1875 (R_ARM_THM_GOT_BREL12): Likewise.
1876 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1877 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1878 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1879 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1880 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1881 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1882 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1883 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1884 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1885
c7b275d6
TS
18862013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1887
1888 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1889 __attribute_used__ to __attribute__ ((unused)).
1890
20cd7fb3
SP
18912013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1892
1893 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1894 powerpc mpa.c.
1895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1896 comment formatting.
1897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1898
92945b52
JM
18992013-02-19 Joseph Myers <joseph@codesourcery.com>
1900
1901 [BZ #13550]
1902 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1903 Remove macro.
1904 (ENTER): Remove both macro definitions.
1905 (LEAVE): Likewise.
1906 (CHECK_BOUNDS_LOW): Likewise.
1907 (CHECK_BOUNDS_HIGH): Likewise.
1908 (CHECK_BOUNDS_BOTH): Likewise.
1909 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1910 (RETURN_BOUNDED_POINTER): Likewise.
1911 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1912 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1913 (POP_ERRNO_LOCATION_RETURN): Likewise.
1914 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1915 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1916 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1917 macros.
1918 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1919 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1920 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1921 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1922 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1923 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1924 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1925 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1926 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1927 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1928 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1929 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1930 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1931 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1932 removed macros.
1933 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1934 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1935 macros.
1936 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1937 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1938 * sysdeps/i386/i586/memset.S (memset): Likewise.
1939 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1940 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1941 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1942 macros.
1943 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1944 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1945 Change uses of L(2) to L(out).
1946 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1947 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1948 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1949 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1950 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1951 removed macros.
1952 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1953 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1954 macros.
1955 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1956 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1957 (RETURN): Do not use macro LEAVE.
1958 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1959 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1960 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1961 * sysdeps/i386/i686/memset.S (memset): Likewise.
1962 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1963 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1964 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1965 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1966 Likewise.
1967 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1968 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1969 L(1_2) and L(1_3) into L(1).
1970 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1971 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1972 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1973 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1974 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1975 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1976 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1977 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1978 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1979 macros.
1980 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1981 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1982 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1983 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1984 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1985 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1986 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1987 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1988 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1989 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1990 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1991 * sysdeps/i386/strspn.S (strspn): Likewise.
1992 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1993 conditional code.
1994 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1995 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1996 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1997 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1998 L(1_3) into L(1_1).
1999 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2000 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2001 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2002 macros.
2003 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2004
2389741a
JJ
20052013-02-19 Jakub Jelinek <jakub@redhat.com>
2006
2007 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2008 macro.
2009
2016b3cd
SP
20102013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2011
e4f22324
SP
2012 * math/atest-exp.c (exp_mpn): Remove ROUND.
2013 * math/atest-exp2.c (exp_mpn): Likewise.
2014 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2015
2016b3cd
SP
2016 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2017 * stdlib/tst-tls-atexit-lib.c: Likewise.
2018 * stdlib/tst-tls-atexit.c: Likewise.
2019
4be9b544
MF
20202013-02-18 Mike Frysinger <vapier@gentoo.org>
2021
2022 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2023 and __attribute_alloc_size__.
2024
2f62b9ee
MF
20252013-02-18 Mike Frysinger <vapier@gentoo.org>
2026
2027 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2028 __attribute_alloc_size__.
2029 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2030 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2031
6ff444c4
MF
20322013-02-18 Mike Frysinger <vapier@gentoo.org>
2033
2034 * include/programs/xmalloc.h: New file.
2035 * catgets/gencat.c: Include it.
2036 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2037 * elf/pldd.c: Likewise.
2038 * iconv/iconv_charmap.c: Likewise.
2039 * iconv/iconvconfig.c: Likewise.
2040 * iconv/strtab.c: Likewise.
2041 * locale/programs/locale.c: Likewise.
2042 * locale/programs/localedef.h: Likewise.
2043 * locale/programs/simple-hash.c: Likewise.
2044 * nscd/nscd.h: Likewise.
2045 * nss/makedb.c: Likewise.
2046 * sysdeps/generic/ldconfig.h: Likewise.
2047
be179c8a
SP
20482013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2049
ba384f6e
SP
2050 * Versions.def: Add GLIBC_2.18.
2051 * include/link.h (struct link_map): New member l_tls_dtor_count.
2052 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2053 (__call_tls_dtors): Likewise.
2054 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2055 __cxa_thread_atexit_impl.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2057 Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2059 Likewise.
2060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2063 Likewise.
2064 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2066 Likewise.
2067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2068 Likewise.
2069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2071 Likewise.
2072 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2073 (tests): Add test case tst-tls-atexit.
2074 (modules-names): Add shared library for tst-tls-atexit.
2075 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2076 (GLIBC_PRIVATE): Add __call_tls_dtors.
2077 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2078 for libstdc++.
2079 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2080 * stdlib/tst-tls-atexit.c: New test case.
2081 * stdlib/tst-tls-atexit-lib.c: New test case.
2082
ffaa74cf 2083 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2084
be179c8a
SP
2085 * elf/Versions (ld): Add _dl_find_dso_for_object.
2086 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2087 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2088 (dl_open_worker): Use _dl_find_dso_for_object.
2089 * elf/dl-sym.c (do_sym): Likewise.
2090 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2091
f78b5caa
AK
20922013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2093
2094 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2095 Syntactic changes only.
2096 (_dl_runtime_profile): Do a tail-call to the resolved function.
2097
29691210
JM
20982013-02-17 Joseph Myers <joseph@codesourcery.com>
2099
2100 [BZ #13550]
2101 * sysdeps/x86_64/bp-asm.h: Remove file.
2102 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2103 <bp-sym.h> and <bp-asm.h>.
2104 (__clone): Do not use BP_SYM.
2105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2106 <bp-sym.h> and <bp-asm.h>.
2107 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2108 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2109 "bp-asm.h".
2110 (_setjmp): Do not use BP_SYM.
2111 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2112 "bp-asm.h".
2113 (setjmp): Do not use BP_SYM.
2114 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2115 libc_hidden_def.
2116 (mempcpy): Do not use BP_SYM in weak_alias.
2117 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2118 "bp-asm.h".
2119 (strchr): Do not use BP_SYM.
2120 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2121 "bp-asm.h".
2122 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2123 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2124 (_start): Do not use BP_SYM.
2125 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2126 "bp-asm.h".
2127 (strcat): Do not use BP_SYM.
2128 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2129 "bp-asm.h".
2130 (STRCMP): Do not use BP_SYM.
2131 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2132 "bp-asm.h".
2133 (STRCPY): Do not use BP_SYM.
2134 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2135 "bp-asm.h".
2136 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2137 "bp-asm.h".
2138 (FUNCTION): Do not use BP_SYM.
2139 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2140 weak_alias.
2141 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2142
f238fd19
AJ
21432013-02-17 Andreas Jaeger <aj@suse.de>
2144
2145 * time/Versions: Sort entries.
2146 * string/Versions: Likewise.
2147 * resolv/Versions: Likewise.
2148 * posix/Versions: Likewise.
2149 * iconv/Versions: Likewise.
2150 * elf/Versions: Likewise.
2151 * wcsmbs/Versions: Likewise.
2152
bd07f23c 21532013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2154
22af19f9
SP
2155 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2156 loop termination condition.
2157
4709fe76
SP
2158 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2159 variable to calculate EZ.
2160 (__sqr): Likewise.
2d0e0f29
SP
2161
2162 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2163 the lower precision input.
2164
daaa7713
JM
21652013-02-15 Joseph Myers <joseph@codesourcery.com>
2166
2167 [BZ #13550]
2168 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2169 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2170 (run-via-rtld-prefix): Do not handle %-bp tests.
2171 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2172 (all-object-suffixes): Remove .ob.
2173 (bppfx): Remove variable.
2174 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2175 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2176 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2177 [$(build-bounded) = yes] (libtype.ob): Likewise.
2178 * Makerules (elide-routines.ob): Remove variable.
2179 (do-tests-clean): Do not handle *-bp.out.
2180 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2181 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2182 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2183 (tests): Do not include $(tests-bp.out).
2184 (xtests): Do not include $(xtests-bp.out).
2185 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2186 [$(build-bounded) = yes] ($(addprefix
2187 $(objpfx),$(binaries-bounded))): Remove rule.
2188 ($(objpfx)%-bp.out): Remove rule.
2189 * config.make.in (build-bounded): Remove variable.
2190 * crypt/Makefile [$(build-bounded) = yes]
2191 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2192 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2193 append to variable.
2194 [$(build-bounded) = yes] (install-lib): Likewise.
2195 [$(build-bounded) = yes] (generated): Likewise.
2196 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2197 Remove rule.
2198 * intl/Makefile [$(build-bounded) = yes]
2199 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2200 * math/Makefile [$(build-bounded) = yes]
2201 ($(tests:%=$(objpfx)%-bp): Likewise.
2202 * misc/Makefile [$(build-bounded) = yes]
2203 ($(objpfx)tst-tsearch-bp): Likewise.
2204 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2205 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2206 Remove dependency.
2207 * string/Makefile (o-objects.ob): Remove variable.
2208 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2209 (CFLAGS-.ob): Remove variable.
2210 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2211 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2212 both definitions of variable.
2213 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2214 (ASFLAGS-.ob): Remove variable.
2215
e97ed6dd
JM
22162013-02-14 Joseph Myers <joseph@codesourcery.com>
2217
2bdd4ca6
JM
2218 [BZ #13550]
2219 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2220 Remove __BOUNDED_POINTERS__ from condition.
2221 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2222 * string/bits/string2.h [!__NO_STRING_INLINES &&
2223 !__BOUNDED_POINTERS__]: Likewise.
2224 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2225 Likewise.
2226 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2227 Remove conditional code.
2228 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2229 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2230 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2231 condition.
2232
e97ed6dd
JM
2233 [BZ #13550]
2234 * csu/libc-start.c: Do not include <bp-sym.h>.
2235 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2236 * elf/dl-open.c: Do not include <bp-sym.h>.
2237 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2238 * math/fegetenv.c: Do not include <bp-sym.h>.
2239 (fegetenv): Do not use BP_SYM in versioned symbols.
2240 * nptl/sysdeps/pthread/bits/libc-lockP.h
2241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2242 <bp-sym.h>.
2243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2244 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2246 (__pthread_mutex_destroy): Likewise.
2247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2248 (__pthread_mutex_lock): Likewise.
2249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2250 (__pthread_mutex_trylock): Likewise.
2251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2252 (__pthread_mutex_unlock): Likewise.
2253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2254 (__pthread_mutexattr_init): Likewise.
2255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2256 (__pthread_mutexattr_destroy): Likewise.
2257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2258 (__pthread_mutexattr_settype): Likewise.
2259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2260 (__pthread_rwlock_init): Likewise.
2261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2262 (__pthread_rwlock_destroy): Likewise.
2263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2264 (__pthread_rwlock_rdlock): Likewise.
2265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2266 (__pthread_rwlock_tryrdlock): Likewise.
2267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2268 (__pthread_rwlock_wrlock): Likewise.
2269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2270 (__pthread_rwlock_trywrlock): Likewise.
2271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2272 (__pthread_rwlock_unlock): Likewise.
2273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2274 (__pthread_key_create): Likewise.
2275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2276 (__pthread_setspecific): Likewise.
2277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2278 (__pthread_getspecific): Likewise.
2279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2280 Likewise.
2281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2282 (_pthread_cleanup_push_defer): Likewise.
2283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2284 (_pthread_cleanup_pop_restore): Likewise.
2285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2286 (pthread_setcancelstate): Likewise.
2287 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2288 <bp-sym.h>.
2289 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2290 (memchr): Do not use BP_SYM in weak_alias.
2291 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2292 (fegetenv): Do not use BP_SYM in versioned symbols.
2293 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2294 (fesetenv): Do not use BP_SYM in versioned symbols.
2295 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2296 (feupdateenv): Do not use BP_SYM in versioned symbols.
2297 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2298 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2299 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2300 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2301 (open64): Do not use BP_SYM in weak_alias.
2302 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2303 (fegetenv): Do not use BP_SYM in versioned symbols.
2304 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2305 (fesetenv): Do not use BP_SYM in versioned symbols.
2306 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2307 (feupdateenv): Do not use BP_SYM in versioned symbols.
2308 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2309 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2310 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2311 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2312 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2313 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2314 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2315 <bp-sym.h>.
2316 (__libc_start_main): Do not use BP_SYM.
2317
d6752ccd
SP
23182013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2319
cb57ce60
SP
2320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2321 redundant return line.
2322 (norm): Likewise.
2323 (denorm): Likewise.
2324 (dbl_mp): Likewise.
2325 (sub_magnitudes): Likewise.
2326 (__add): Likewise.
2327 (__sub): Likewise.
2328 (__mul): Likewise.
2329 (__inv): Likewise.
2330 (__dvd): Likewise.
2331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2332 (norm): Likewise.
2333 (denorm): Likewise.
2334 (dbl_mp): Likewise.
2335 (sub_magnitudes): Likewise.
2336 (__add): Likewise.
2337 (__sub): Likewise.
2338 (__mul): Likewise.
2339 (__inv): Likewise.
2340 (__dvd): Likewise.
2341
f414520d
SP
2342 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2343 instead of __mul.
2344 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2345 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2346 (cc32): Likewise.
2347
d6752ccd
SP
2348 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2349 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2351 of __mul for squares.
2352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2353 function
2354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2355 Likewise.
2356 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2357 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2358
70d9946a
JM
23592013-02-13 Joseph Myers <joseph@codesourcery.com>
2360
2361 [BZ #13550]
2362 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2363 code.
2364 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2365 prototype or function definition. Rename ubp_* variables and
2366 parameters. Remove argv definitions conditional on
2367 [__BOUNDED_POINTERS__].
2368 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2369 * elf/dl-runtime.c (_dl_fixup): Likewise.
2370 * include/set-hooks.h (RUN_HOOK): Likewise.
2371 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2372 definition.
2373 * string/strcpy.c (strcpy): Do not use __unbounded.
2374 * sysdeps/generic/frame.h (struct layout): Likewise.
2375 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2376 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2377 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2378 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2379 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2380 (__backtrace): Likewise.
2381 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2382 use __ptrvalue.
2383 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2384 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2385 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2386 Likewise.
2387 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2388 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2389 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2390 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2391 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2392 Do not use __unbounded.
2393 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2394 Rename __unboundedrlimits parameter to rlimits in prototype.
2395 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2396 Do not use __unbounded.
2397 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2398 not use __ptrvalue.
2399 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2400 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2401 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2402 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2403 __ptrvalue or __unbounded.
2404 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2405 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2406 use __unbounded.
2407 (__new_msgctl): Do not use __ptrvalue.
2408 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2409 __unbounded.
2410 (__libc_msgrcv): Do not use __ptrvalue.
2411 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2412 startup_info): Do not use __unbounded.
2413 (__libc_start_main): Likewise. Rename ubp_* variables and
2414 parameters. Remove argv definitions conditional on
2415 [__BOUNDED_POINTERS__].
2416 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2417 __ptrvalue.
2418 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2419 use __unbounded.
2420 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2421 or __ptrvalue.
2422 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2423 use __unbounded.
2424 (__new_shmctl): Do not use __ptrvalue.
2425 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2426 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2427 Likewise.
2428 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2429 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2430 (__libc_sigaction): Likewise.
2431 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2432 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2433 Likewise.
2434 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2435
cc7834d6
OB
24362013-02-13 Ondřej Bílka <neleai@seznam.cz>
2437
ffb1ec7b 2438 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2439
2440 * string/mempcpy.c: Implement by calling memcpy.
2441
bdf02814
SP
24422013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2443
c2af38aa
SP
2444 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2445
4e92d59e
SP
2446 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2447 evaluation.
2448
909279a5
SP
2449 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2450 values in the mantissa.
2451
bdf02814
SP
2452 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2453 minimize writes to Z.
2454 (sub_magnitudes): Simplify code a bit.
2455
cd525923
RM
24562013-02-12 Roland McGrath <roland@hack.frob.com>
2457
2458 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2459 from the message. The linker prefixes all warnings with that already.
2460
7e2f0d2d
AS
24612013-02-12 Andreas Schwab <schwab@suse.de>
2462
a445af0b
AS
2463 [BZ #15078]
2464 * posix/regexec.c (extend_buffers): Add parameter min_len.
2465 (check_matching): Pass minimum needed length.
2466 (clean_state_log_if_needed): Likewise.
2467 (get_subexp): Likewise.
2468 * posix/Makefile (tests): Add bug-regex34.
2469 (bug-regex34-ENV): Define.
2470 * posix/bug-regex34.c: New file.
2471
7e2f0d2d
AS
2472 [BZ #11561]
2473 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2474 elements compare against the byte sequence of it, not its name.
2475 * posix/Makefile (tests): Add bug-regex35.
2476 (bug-regex35-ENV): Define.
2477 * posix/bug-regex35.c: New file.
2478
a175b684
TV
24792013-02-11 Tom de Vries <tom@codesourcery.com>
2480
2481 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2482 comment.
2483 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2484 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2485 (CHECK_EOL): Add undef.
2486
310998fe 24872013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2488
2489 * bits/stdlib-bsearch.h: New file.
2490 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2491 * stdlib/stdlib.h: Likewise.
41eda41d 2492
8ded91fb
RM
24932013-02-11 Roland McGrath <roland@hack.frob.com>
2494
2495 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2496 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2497 declaration.
2498 * manual/search.texi (Array Search Function): Add missing const in
2499 lfind prototype.
2500 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2501 declaration to use rlim_t.
2502 (Basic Scheduling Functions): Remove erroneous const from
2503 sched_getparam prototype. Remove erroneous * from
2504 sched_get_priority_max and sched_get_priority_min prototypes.
2505 (Resource Usage): Fix summary @comment on vtimes to refer to
2506 sys/vtimes.h rather than vtimes.h.
2507 Add missing *s in vtimes prototype.
2508 (Limits on Resources): Fix ulimit prototype to return long int.
2509 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2510 prototypes to use long int rather than double.
2511 (BSD Random): Fix initstate and setstate to use char *, not void *.
2512 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2513 prototype to make second argument 'struct aiocb64 *const[]'.
2514 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2515 (Status of AIO Operations): Remove erroneous const in aio_return and
2516 aio_return64 prototypes.
2517 (Synchronizing I/O): Fix sync prototype to return void.
2518 * manual/startup.texi (Suboptions): Remove an erroneous const in
2519 getsubopt prototype.
2520 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2521 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2522 use size_t rather than int.
2523 (Scanning All Users): Likewise for getpwent_r.
2524 (Setting Groups): Add missing const to setgroups prototype.
2525 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2526 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2527 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2528 'const void *' rather than 'const char *'.
2529 (Host Address Functions): Likewise for inet_ntop.
2530 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2531 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2532 ssize_t for return value.
2533 (Sending Data): Likewise for send, sendto, sendmsg.
2534 (Socket Option Functions): Add a missing const in setsockopt prototype.
2535 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2536 use wchar_t for the argument.
2537 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2538 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2539 take no arguments.
2540 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2541 double/float/long double for second argument.
2542 Fix return types of significand, significandf, significandl.
2543 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2544 argument in fchmod prototype.
2545 (File Owner): Use uid_t and gid_t in fchown prototype.
2546 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2547 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2548 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2549 use 'const struct dirent **' as argument types to CMP function pointer
2550 argument.
2551 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2552 (File Times): Fix summary magic @comment for struct utimbuf and utime
2553 to refer to utime.h, not time.h.
2554 * manual/string.texi (Argz Functions): Add missing const in
2555 argz_extract and argz_next prototypes.
2556 (Finding Tokens in a String): Likewise for basename.
2557 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2558 (Copying and Concatenation): Fix typo in wmemmove prototype.
2559 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2560 (Signal Stack): Remove erroneous const in sigstack prototype.
2561 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2562 prototype.
2563 (Simple Calendar Time): Likewise for stime.
2564 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2565 prototype.
2566 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2567 say sys/sysctl.h instead.
2568 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2569 and vsyslog prototypes.
2570
fe77fe6d
TV
25712013-02-11 Tom de Vries <tom@codesourcery.com>
2572
2573 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2574 Remove.
2575
3a09b620
RM
25762013-02-11 Roland McGrath <roland@hack.frob.com>
2577
2578 * misc/sys/mman.h: Fix typo in mremap comment.
2579
550a0b89
RM
25802013-02-08 Roland McGrath <roland@hack.frob.com>
2581
2582 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2583 the '\0' terminator.
2584
a2da1673
JM
25852013-02-08 Joseph Myers <joseph@codesourcery.com>
2586
2587 [BZ #13550]
2588 * debug/segfault.c: Don't include <bp-checks.h>.
2589 * sysdeps/generic/bp-checks.h: Remove file.
2590 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2591 (__GETDENTS): Don't use CHECK_N.
2592 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2593 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2594 (__getgroups): Don't use CHECK_N.
2595 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2596 (setgroups): Don't use CHECK_N.
2597 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2598 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2599 (__libc_msgrcv): Don't use CHECK_N.
2600 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2601 (__libc_msgsnd): Don't use CHECK_N.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2603 <bp-checks.h>.
2604 (__libc_pread): Don't use CHECK_N.
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2606 include <bp-checks.h>.
2607 (__libc_pread64): Don't use CHECK_N.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2609 include <bp-checks.h>.
2610 (__libc_pwrite): Don't use CHECK_N.
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2612 include <bp-checks.h>.
2613 (__libc_pwrite64): Don't use CHECK_N.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2615 <bp-checks.h>.
2616 (__libc_pread): Don't use CHECK_N.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2618 include <bp-checks.h>.
2619 (__libc_pread64): Don't use CHECK_N.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2621 include <bp-checks.h>.
2622 (__libc_pwrite): Don't use CHECK_N.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2624 include <bp-checks.h>.
2625 (__libc_pwrite64): Don't use CHECK_N.
2626 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2627 (do_pread): Don't use CHECK_N.
2628 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2629 (do_pread64): Don't use CHECK_N.
2630 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2631 (do_pwrite): Don't use CHECK_N.
2632 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2633 (do_pwrite64): Don't use CHECK_N.
2634 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2635 (__libc_readv): Don't use CHECK_N.
2636 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2637 (semop): Don't use CHECK_N.
2638 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2639 <bp-checks.h>.
2640 (semtimedop): Don't use CHECK_N.
2641 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2642 (__libc_pread): Don't use CHECK_N.
2643 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2644 <bp-checks.h>.
2645 (__libc_pread64): Don't use CHECK_N.
2646 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2647 <bp-checks.h>.
2648 (__libc_pwrite): Don't use CHECK_N.
2649 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2650 <bp-checks.h>.
2651 (__libc_pwrite64): Don't use CHECK_N.
2652 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2653 <bp-checks.h>.
2654 (__libc_msgrcv): Don't use CHECK_N.
2655 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2656 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2657 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2658 (__libc_writev): Don't use CHECK_N.
2659
b84660a8
RM
26602013-02-08 Roland McGrath <roland@hack.frob.com>
2661
7f3e75f8
RM
2662 * string/strcpy.c: Removed unused variable.
2663
b84660a8
RM
2664 * Makeconfig (+sysdep-includes): Define with := rather than =.
2665 Use an existing include/ subdir of each sysdeps dir before it.
2666
471514d3
CD
26672013-02-08 Carlos O'Donell <carlos@redhat.com>
2668
2669 * nscd/connection.c (register_traced_file): Comment function.
2670 [HAVE_INOTIFY] (union __inev): Define.
2671 [HAVE_INOTIFY] (inotify_check_files): New function.
2672 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2673 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2674 clear_db_cache.
2675 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2676
b2d3c3be
CD
26772013-02-08 Carlos O'Donell <carlos@redhat.com>
2678
2679 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2680 loaded if not already and that a failure is permanent.
2681
b39949d2
CD
26822013-02-08 Carlos O'Donell <carlos@redhat.com>
2683
ddacd1db 2684 [BZ #15006]
b39949d2
CD
2685 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2686 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2687
b2c9eff4
JM
26882013-02-08 Joseph Myers <joseph@codesourcery.com>
2689
f3aae3f3
JM
2690 [BZ #13550]
2691 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2692 (CHECK_1_NULL_OK): Likewise.
2693 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2694 (__fxstat): Do not use CHECK_1.
2695 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2696 <bp-checks.h>.
2697 (___fxstat64): Do not use CHECK_1.
2698 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2699 <bp-checks.h>.
2700 (__fxstatat): Do not use CHECK_1.
2701 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2702 <bp-checks.h>.
2703 (__fxstatat64): Do not use CHECK_1.
2704 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2705 <bp-checks.h>.
2706 (__fxstat): Do not use CHECK_1.
2707 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2708 <bp-checks.h>.
2709 (__fxstatat): Do not use CHECK_1.
2710 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2711 <bp-checks.h>.
2712 (__getresgid): Do not use CHECK_1.
2713 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2714 <bp-checks.h>.
2715 (__getresuid): Do not use CHECK_1.
2716 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2717 <bp-checks.h>.
2718 (__lxstat): Do not use CHECK_1.
2719 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2720 <bp-checks.h>.
2721 (__old_msgctl): Do not use CHECK_1.
2722 (__new_msgctl): Likewise.
2723 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2724 <bp-checks.h>.
2725 (__new_setrlimit): Do not use CHECK_1.
2726 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2727 <bp-checks.h>.
2728 (__old_shmctl): Do not use CHECK_1.
2729 (__new_shmctl): Likewise.
2730 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2731 <bp-checks.h>.
2732 (__xstat): Do not use CHECK_1.
2733 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2734 (__lxstat): Do not use CHECK_1.
2735 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2736 <bp-checks.h>.
2737 (___lxstat64): Do not use CHECK_1.
2738 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2739 (__old_msgctl): Do not use CHECK_1.
2740 (__new_msgctl): Likewise.
2741 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2742 <bp-checks.h>.
2743 (__gettimeofday): Do not use CHECK_1.
2744 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2745 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2746 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2747 <bp-checks.h>.
2748 (__gettimeofday): Do not use CHECK_1.
2749 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2750 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2751 (__new_shmctl): Do not use CHECK_1.
2752 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2753 <bp-checks.h>.
2754 (do_sigtimedwait): Do not use CHECK_1.
2755 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2756 <bp-checks.h>.
2757 (do_sigwaitinfo): Do not use CHECK_1.
2758 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2759 <bp-checks.h>.
2760 (msgctl): Do not use CHECK_1.
2761 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2762 <bp-checks.h>.
2763 (shmctl): Do not use CHECK_1.
2764 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2765 (ustat): Do not use CHECK_1.
2766 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2767 <bp-checks.h>.
2768 (__fxstat): Do not use CHECK_1.
2769 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2770 <bp-checks.h>.
2771 (__fxstatat): Do not use CHECK_1.
2772 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2773 <bp-checks.h>.
2774 (__lxstat): Do not use CHECK_1.
2775 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2776 <bp-checks.h>.
2777 (__xstat): Do not use CHECK_1.
2778 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2779 (__xstat): Do not use CHECK_1.
2780 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2781 (___xstat64): Do not use CHECK_1.
2782
b2c9eff4
JM
2783 [BZ #13550]
2784 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2785 definitions.
2786 (CHECK_BOUNDS_HIGH): Likewise.
2787 * string/strcpy.c: Do not include <bp-checks.h>.
2788 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2789
f1d70dad
RM
27902013-02-07 Roland McGrath <roland@hack.frob.com>
2791
2792 * nscd/nscd-client.h (__nscd_drop_map_ref):
2793 Add __attribute__ ((unused)).
2794 * nis/nss-nisplus.h (niserr2nss): Likewise.
2795
2796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2797 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2798
2799 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2800 Remove inline keyword.
2801 * include/rounding-mode.h (round_away): Likewise.
2802 * libio/wfileops.c (adjust_wide_data): Likewise.
2803 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2804 (__m128i_strloadu_tolower): Likewise.
2805 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2806 (__m128i_strloadu_tolower): Likewise.
2807 * time/mktime.c (ydhms_diff): Likewise.
2808 * locale/elem-hash.h (elem_hash): Likewise.
2809 * locale/setlocale.c (setdata): Likewise.
2810 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2811 (re_string_wchar_at): Likewise.
2812 (bitset_not, bitset_merge, bitset_mask): Likewise.
2813 [!(__GNUC__ > 3)] (inline): Remove macro.
2814 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2815 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2816 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2817 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2818 * string/memcmp.c (memcmp_bytes): Likewise.
2819 * locale/programs/locarchive.c (compute_hashval): Likewise.
2820 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2821 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2822 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2823 * nss/getent.c (print_rpc, print_protocols): Likewise.
2824 (print_passwd, print_group, print_aliases): Likewise.
2825 * nis/nss-nisplus.h (niserr2nss): Likewise.
2826 * nscd/connections.c (restart_p): Likewise.
2827 Change return type to bool.
2828
eab55bfb
RM
28292013-02-05 Roland McGrath <roland@hack.frob.com>
2830
7bd642f5
RM
2831 * Makeconfig (all-Depend-files): Add existing
2832 $(sorted-subdirs:=/Depend) files.
2833 (all-subdirs): Remove nss.
2834 * sysdeps/unix/inet/Subdirs: Add it here instead.
2835 * hesiod/Depend: New file.
2836
573c29b2
RM
2837 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2838 instead of calling alloca.
2839
b2e25af0
RM
2840 * io/lseek.c (__lseek): Rename to __libc_lseek.
2841 Define __lseek as an alias.
2842
eab55bfb
RM
2843 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2844
9a0d1941
CD
28452013-02-04 Carlos O'Donell <carlos@redhat.com>
2846
2847 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2848 else clause and remove check for non-standard endianness.
2849
b83bbec4
DM
28502013-02-04 David S. Miller <davem@davemloft.net>
2851
2852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2853
6277fdab
JM
28542013-02-04 Joseph Myers <joseph@codesourcery.com>
2855
2856 [BZ #13550]
2857 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2858 (__ubp_memchr): Remove prototype.
2859 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2860 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2861 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2862 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2863 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2864 Remove alias.
2865 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2866 (__ubp_memchr): Likewise.
2867 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2868 (__ubp_memchr): Likewise.
2869 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2870 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2871 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2872 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2873 CHECK_STRING.
2874 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2875 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2876 (__getcwd): Do not use CHECK_STRING.
2877 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2878 <bp-checks.h>.
2879 (__real_chown): Do not use CHECK_STRING.
2880 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2881 <bp-checks.h>.
2882 (fchownat): Do not use CHECK_STRING.
2883 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2884 CHECK_STRING.
2885 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2886 <bp-checks.h>.
2887 (__lchown): Do not use CHECK_STRING.
2888 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2889 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2890 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2891 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2893 include <bp-checks.h>.
2894 (truncate64): Do not use CHECK_STRING.
2895 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2896 <bp-checks.h>.
2897 (__real_chown): Do not use CHECK_STRING.
2898 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2899 <bp-checks.h>.
2900 (__lchown): Do not use CHECK_STRING.
2901 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2902 <bp-checks.h>.
2903 (__chown): Do not use CHECK_STRING.
2904 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2905 <bp-checks.h>.
2906 (truncate64): Do not use CHECK_STRING.
2907 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2908 Likewise.
2909 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2910 (__xmknod): Do not use CHECK_STRING.
2911 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2912 <bp-checks.h>.
2913 (__xmknodat): Do not use CHECK_STRING.
2914 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2915 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2916
903ae060
AS
29172013-02-04 Andreas Schwab <schwab@suse.de>
2918
2919 [BZ #14142]
2920 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2921 * include/netdb.h: Likewise for h_errno.
2922 * elf/tst-stackguard1.c: Include <tls.h>.
2923
542f9466
JK
29242013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2925
2926 * elf/link.h (struct link_map): Extend the l_addr comment.
2927 * include/link.h (struct link_map): Likewise.
2928
e782a927
JM
29292013-02-01 Joseph Myers <joseph@codesourcery.com>
2930
2931 [BZ #13550]
2932 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2933 (BOUNDED_1): Remove macro.
2934 * debug/backtrace.c: Don't include <bp-checks.h>.
2935 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2936 (__backtrace): Likewise.
2937 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2938 <bp-checks.h>.
2939 (__backtrace): Don't use BOUNDED_1.
2940 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2941 <bp-checks.h>.
2942 (__backtrace): Don't use BOUNDED_1.
2943 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2944 (__backtrace): Don't use BOUNDED_1.
2945 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2946 (shmat): Don't use BOUNDED_N.
2947
8cf28c5e
JM
29482013-01-31 Joseph Myers <joseph@codesourcery.com>
2949
3a7ac8a0
JM
2950 [BZ #13550]
2951 * sysdeps/generic/bp-start.h: Remove file.
2952 * csu/libc-start.c: Don't include <bp-start.h>.
2953 (LIBC_START_MAIN): Set up __environ directly instead of using
2954 INIT_ARGV_and_ENVIRON.
2955 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2956 <bp-start.h>.
2957
f3499f95
JM
2958 [BZ #13550]
2959 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2960 definitions.
2961 (CHECK_FCNTL): Likewise.
2962 (CHECK_N_PAGES): Likewise.
2963
32a45bea
JM
2964 [BZ #13550]
2965 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2966 definitions.
2967 (CHECK_SIGSET_NULL_OK): Likewise.
2968 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2969 <bp-checks.h>.
2970 (sigpending): Don't use CHECK_SIGSET.
2971 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2972 <bp-checks.h>.
2973 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2974 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2975 <bp-checks.h>.
2976 (do_sigsuspend): Don't use CHECK_SIGSET.
2977 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2978 use CHECK_SIGSET.
2979 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2980 (do_sigwait): Don't use CHECK_SIGSET.
2981 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2982 use CHECK_SIGSET.
2983 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2984 include <bp-checks.h>.
2985 (sigpending): Don't use CHECK_SIGSET.
2986 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2987 include <bp-checks.h>.
2988 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2989 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2990 <bp-checks.h>.
2991 (sigpending): Don't use CHECK_SIGSET.
2992 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2993 <bp-checks.h>.
2994 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2995
2e8a5c8c
JM
2996 [BZ #13550]
2997 * sysdeps/generic/bp-semctl.h: Remove file.
2998 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2999 <bp-checks.h> and <bp-semctl.h>.
3000 (__old_semctl): Don't use CHECK_SEMCTL.
3001 (__new_semctl): Likewise.
3002 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3003 and <bp-semctl.h>.
3004 (__old_semctl): Don't use CHECK_SEMCTL.
3005 (__new_semctl): Likewise.
3006 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3007 <bp-checks.h> and <bp-semctl.h>.
3008 (__old_semctl): Don't use CHECK_SEMCTL.
3009 (__new_semctl): Likewise.
3010 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3011 <bp-checks.h> and <bp-semctl.h>.
3012 (semctl): Don't use CHECK_SEMCTL.
3013
c2d54929
JM
3014 [BZ #13550]
3015 * Makerules (elide-bp-thunks): Remove variable.
3016 (elide-routines.oS): Don't use $(elide-bp-thunks).
3017 (elide-routines.os): Likewise.
3018 (elide-routines.o): Likewise.
3019 (elide-routines.op): Likewise.
3020 (elide-routines.og): Likewise.
3021 (objects): Don't use $(bp-thunks).
3022 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3023 include.
3024 (common-generated): Do not add s-proto-bp.d.
3025 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3026 (int): Likewise.
3027 (typ): Likewise.
3028 Do not generate makefile rules for bounded-pointer thunks.
3029 * sysdeps/generic/bp-thunks.h: Remove file.
3030 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3031 * sysdeps/unix/s-proto-bp.S: Likewise.
3032
8cf28c5e
JM
3033 [BZ #15062]
3034 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3035 parts of result separately when argument is not close to line from
3036 -i to i and one part of argument is small.
3037 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3038 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3039 * math/libm-test.inc (cacos_test): Add more tests.
3040 (casin_test): Likewise.
3041 (casinh_test): Likewise.
3042 * sysdeps/i386/fpu/libm-test-ulps: Update.
3043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3044
c4e33b8d
DM
30452013-01-31 David S. Miller <davem@davemloft.net>
3046
3047 * po/de.po: Update from translation team.
3048
3b60b421
MK
30492013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3050
3051 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3052
bb931195
TS
30532013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3054
b5a5da23
TS
3055 * configure.in (_AC_PROG_CC_C89): New definition.
3056 * configure: Regenerate.
3057
bb931195
TS
3058 * configure.in (AC_PROG_CPP): New definition.
3059 * configure: Regenerate.
3060
8c53a12c
JM
30612013-01-23 Joseph Myers <joseph@codesourcery.com>
3062
3063 * debug/tst-backtrace.h: New file.
3064 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3065 (ret): Remove variable.
3066 (x): Likewise.
3067 (FAIL): Remove macro.
3068 (NO_INLINE): Likewise.
3069 (fn1): Use match function instead of strstr.
3070 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3071 (ret): Remove variable.
3072 (x): Likewise.
3073 (FAIL): Remove macro.
3074 (NO_INLINE): Likewise.
3075 (fn): Use match function instead of strstr.
3076 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3077 (ret): Remove variable.
3078 (x): Likewise.
3079 (FAIL): Remove macro.
3080 (NO_INLINE): Likewise.
3081 (handle_signal): Use match function instead of strstr.
3082 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3083 (ret): Remove variable.
3084 (x): Likewise.
3085 (FAIL): Remove macro.
3086 (NO_INLINE): Likewise.
3087 (handle_signal): Use match function instead of strstr.
3088
4858fa2a
RM
30892013-01-23 Roland McGrath <roland@hack.frob.com>
3090
3091 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3092
bae8e7f5
DM
30932013-01-23 David S. Miller <davem@davemloft.net>
3094
3095 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3096 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3097 argument of CAS if possible.
3098 * sysdeps/sparc/sparc64/bits/atomic.h
3099 (__arch_compare_and_exchange_val_32_acq): Likewise.
3100 (__arch_compare_and_exchange_val_64_acq): Likewise.
3101
9cbbc4ae
PT
31022013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3103
3104 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3105 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3106 Include <limits.h>.
67b3f58c 3107 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3108
5655a0b5
AC
31092013-01-23 Adam Conrad <adconrad@0c3.net>
3110
3111 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3112 (LDFLAGS-tst-array5): Likewise.
3113
052aff95
JM
31142013-01-23 Joseph Myers <joseph@codesourcery.com>
3115
3116 [BZ #15036]
3117 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3118 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3119 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3120 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3121
7c1e01aa
DM
31222013-01-21 David S. Miller <davem@davemloft.net>
3123
3124 * sysdeps/sparc/backtrace.c: New file.
3125 * sysdeps/sparc/sparc32/backtrace.h: New file.
3126 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3127 * sysdeps/sparc/sparc64/backtrace.h: New file.
3128 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3129 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3130 -funwind-tables.
3131
ab087e0a
AS
31322013-01-21 Andreas Schwab <schwab@suse.de>
3133
3134 [BZ #15020]
3135 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3136 closed its stdout.
3137
ed689c2f
AS
31382013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3139
3140 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3141 "mpa2.h".
3142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3143
31d470ac
JM
31442013-01-18 Joseph Myers <joseph@codesourcery.com>
3145 Mark Mitchell <mark@codesourcery.com>
3146 Tom de Vries <tom@codesourcery.com>
3147 Paul Pluzhnikov <ppluzhnikov@google.com>
3148
3149 * debug/tst-backtrace2.c: New file.
3150 * debug/tst-backtrace3.c: Likewise.
3151 * debug/tst-backtrace4.c: Likewise.
3152 * debug/tst-backtrace5.c: Likewise.
3153 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3154 (CFLAGS-tst-backtrace3.c): Likewise.
3155 (CFLAGS-tst-backtrace4.c): Likewise.
3156 (CFLAGS-tst-backtrace5.c): Likewise.
3157 (LDFLAGS-tst-backtrace2): Likewise.
3158 (LDFLAGS-tst-backtrace3): Likewise.
3159 (LDFLAGS-tst-backtrace4): Likewise.
3160 (LDFLAGS-tst-backtrace5): Likewise.
3161 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3162 tst-backtrace4 and tst-backtrace5.
3163
90567f30 31642013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3165 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3166
3167 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3168 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3169 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3170 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3172 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3173 "+r" and remove output regs list as redundant. Add explicit inline
3174 asm to specify register of return val to work around compiler codegen
3175 bug. Remove (int) cast on return value. Add return type parameter to
3176 use in macro so that this macro does not truncate return value for
3177 64-bit values.
3178 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3179 pass to INTERNAL_VSYSCALL_NCS.
3180 (INLINE_VSYSCALL): Add 'long int' as return type to
3181 INTERNAL_VSYSCALL_NCS macro invocation.
3182 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3183 INTERNAL_VSYSCALL_NCS macro invocation.
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3185
d3b9ea61
SP
31862013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3187
0b57daeb
SP
3188 [BZ #14496]
3189 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3190 Fix application of SIMD FP exception mask.
3191
caa99d06
SP
3192 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3193 mp_no from a power of two.
3194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3195 __mpexp_twomm1. Use __pow_mp.
3196
d3b9ea61
SP
3197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3198 multiplication.
3199
1dbaee3c
DM
32002013-01-17 David S. Miller <davem@davemloft.net>
3201
3202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3203
728d7b43
JM
32042013-01-17 Joseph Myers <joseph@codesourcery.com>
3205
3206 [BZ #15023]
3207 * include/complex.h: Condition contents on [!_COMPLEX_H].
3208 (__kernel_casinhf): New prototype.
3209 (__kernel_casinh): Likewise.
3210 (__kernel_casinhl): Likewise.
3211 * math/Makefile (libm_calls): Add k_casinh.
3212 * math/k_casinh.c: New file.
3213 * math/k_casinhf.c: Likewise.
3214 * math/k_casinhl.c: Likewise.
3215 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3216 finite nonzero arguments.
3217 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3218 finite nonzero arguments.
3219 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3220 finite nonzero arguments.
3221 * math/s_casinh.c: Do not include <float.h>.
3222 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3223 * math/s_casinhf.c: Do not include <float.h>.
3224 (__casinhf): Move code for finite nonzero arguments to
3225 k_casinhf.c.
3226 * math/s_casinhl.c: Do not include <float.h>.
3227 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3228 redefine.
3229 (__casinhl): Move code for finite nonzero arguments to
3230 k_casinhl.c.
3231 * math/libm-test.inc (cacos_test): Add more tests.
3232 * sysdeps/i386/fpu/libm-test-ulps: Update.
3233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3234
2a26ef3a
PT
32352013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3236
3237 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3238 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3239 [!HAVE_MREMAP]: Remove [defined linux] case.
3240 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3241
a897655d
SP
32422013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3243
3244 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3245
881ebe89 32462013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3247
3248 * elf/elf.h (R_386_SIZE32): New relocation.
3249 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3250 R_386_SIZE32.
3251 (elf_machine_rela): Likewise.
3252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3253 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3254
59981e9b
JM
32552013-01-17 Joseph Myers <joseph@codesourcery.com>
3256
3257 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3258 (FP_FAST_FMA): Do not define.
3259 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3260 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3261 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3262 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3263 !_SOFT_FLOAT]: Likewise.
3264 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3265 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3266 value.
3267 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3268 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3269 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3270 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3271 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3272 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3273 file.
3274
cfa8054f
AS
32752013-01-16 Andreas Schwab <schwab@suse.de>
3276
3277 [BZ #14327]
3278 * include/stdlib.h (__mktemp): Add declaration.
3279 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3280 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3281
dd930cc5
SP
32822013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3283
881ebe89
SP
3284 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3285 definitions.
3286 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3287 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3288 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3289 definitions here.
3290 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3291 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3292 definitions.
3293 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3294 and ONE.
3295 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3296 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3297 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3298 definitions.
3299 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3300 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3301 definitions.
3302 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3303
dd930cc5
SP
3304 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3305
c19a9f89
DM
33062013-01-15 David S. Miller <davem@davemloft.net>
3307
1aa61767
DM
3308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3309 trunc{,f} to libm-sysdep_routes.
3310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3312 file.
3313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3315 file.
3316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3317 file.
3318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3320 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3321 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3322 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3323 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3324 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3325 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3326
c42d5e98
DM
3327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3328 nearbyint{,f} to libm-sysdep_routes.
3329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3331 New file.
3332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3333 file.
3334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3335 New file.
3336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3337 file.
3338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3340 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3341 file.
3342 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3343 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3344 file.
3345 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3346 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3347 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3348
c19a9f89
DM
3349 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3350 libc_feholdexcept and libc_fesetenv.
3351
357679d2
MF
33522013-01-15 Mike Frysinger <vapier@gentoo.org>
3353
3354 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3355
65a82e3d
DM
33562013-01-14 David S. Miller <davem@davemloft.net>
3357
8b954ab9
DM
3358 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3359 (SPARC_ASM_VIS2_IFUNC): Likewise.
3360 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3362 use of 'siam' instruction.
3363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3364 Likewise.
3365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3366 Likewise.
3367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3368 Likewise.
3369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3374 file.
3375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3376 file.
3377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3378 file.
3379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3380 file.
3381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3386 new VIS2 routines.
3387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3390 Likewise.
3391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3396 routines to libm-sysdep_routines.
3397 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3398
65a82e3d
DM
3399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3400 fdim/fdimf to libm-sysdep_routines.
3401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3402 file.
3403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3405 file.
3406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3409 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3410 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3411 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3412 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3413
e34ab705
SP
34142013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3415
2a91b573
SP
3416 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3417 to optimize copies.
3418
1066a534
SP
3419 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3422
e34ab705
SP
3423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3424 local variable MPTWO.
3425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3426 Likewise.
3427
aba5e596
MF
34282013-01-13 Mike Frysinger <vapier@gentoo.org>
3429
3430 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3431 GLOB_NOESCAPE.
3432
e557e9e5
MF
34332013-01-13 Mike Frysinger <vapier@gentoo.org>
3434
3435 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3436
0428cec9
MF
34372013-01-13 Mike Frysinger <vapier@gentoo.org>
3438
3439 * manual/pattern.texi (glob_t): Document gl_flags.
3440 (glob64_t): Likewise.
3441
8794a964
DM
34422013-01-11 David S. Miller <davem@davemloft.net>
3443
66438c3f
RM
3444 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3445 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3446 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3447 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3448 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3449 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3450 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3451 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3452 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3453 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3454 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3455 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3456 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3457
4ae4244d
DM
3458 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3459 sparc V9 rather than using V8 code.
3460 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3461 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3462
8794a964
DM
3463 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3464 Move to...
3465 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3466 Here.
3467
6270516e
RM
34682013-01-11 Roland McGrath <roland@hack.frob.com>
3469
3470 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3471 not in the main loop.
3472 * configure: Regenerated.
3473
6a57d931
JM
34742013-01-11 Joseph Myers <joseph@codesourcery.com>
3475
3476 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3477 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3478 to just #else.
3479 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3480 [!__GLIBC_HAVE_LONG_LONG] case.
3481 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3482 condition to just #else.
3483 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3484 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3485 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3486 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3487 unconditional.
3488 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3489 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3490 #elif condition to just #else.
3491 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3492 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3493 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3494 #elif condition to just #else.
3495
0e8529e9
SE
34962013-01-11 Steve Ellcey <sellcey@mips.com>
3497
3498 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3499 (EF_MIPS_ARCH_64): Fix value.
3500 (EF_MIPS_ARCH_32R2): New.
3501 (EF_MIPS_ARCH_64R2): New.
3502
740b3dbe
L
35032013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3504
3505 * Makeconfig (+link-pie-before-libc): New.
3506 (+link-pie-after-libc): Likewise.
3507 (+link-pie-tests): Likewise.
3508 (+link-pie): Rewritten.
3509 (link-before-libc): Remove $(config-LDFLAGS).
3510 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3511 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3512 (config-LDFLAGS): Renamed to ...
3513 (rtld-LDFLAGS): This.
3514 (rtld-tests-LDFLAGS): New macro.
3515 (link-libc-rpath-link): Likewise.
3516 (link-libc-tests-rpath-link): Likewise.
3517 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3518 (link-libc): Prepand $(link-libc-rpath-link).
3519 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3520 (test-program-prefix): New macro.
3521 (test-via-rtld-prefix): Likewise.
3522 (test-program-cmd): Likewise.
3523 (host-test-program-cmd): Likewise.
3524 * Makefile ($(common-objpfx)testrun.sh): Replace
3525 $(run-program-prefix) with $(test-program-prefix).
3526 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3527 $(rtld-LDFLAGS).
3528 ($(common-objpfx)shlib.lds): Likewise.
3529 (build-module-helper): Likewise.
3530 ($(common-objpfx)format.lds): Likewise.
3531 * Rules (binaries-pie-tests): New.
3532 (binaries-pie-notests): Likewise.
3533 (binaries-pie): Rewritten.
3534 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3535 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3536 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3537 (make-test-out): Replace $(host-built-program-cmd) with
3538 $(host-test-program-cmd).
3539 * config.make.in (build-hardcoded-path-in-tests): New variable.
3540 * configure.in (--enable-hardcoded-path-in-tests): New configure
3541 option.
3542 (hardcoded_path_in_tests): New AC_SUBST.
3543 * configure: Regenerated.
3544 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3545 $(built-program-cmd) with $(test-program-cmd).
3546 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3547 (test_program_cmd): This.
3548 * elf/Makefile ($(objpfx)order.out): Run test with
3549 $(test-program-prefix).
3550 ($(objpfx)order2.out): Likewise.
3551 ($(objpfx)tst-initorder.out): Likewise.
3552 ($(objpfx)tst-initorder2.out): Likewise.
3553 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3554 $(test-program-cmd).
3555 ($(objpfx)tst-array1-static.out): Likewise.
3556 ($(objpfx)tst-array2.out): Likewise.
3557 ($(objpfx)tst-array3.out): Likewise.
3558 ($(objpfx)tst-array4.out): Likewise.
3559 ($(objpfx)tst-array5.out): Likewise.
3560 ($(objpfx)tst-array5-static.out): Likewise.
3561 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3562 $(test-program-cmd).
3563 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3564 $(run-program-prefix) with $(test-program-prefix).
3565 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3566 (test_program_prefix): This.
3567 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3568 $(run-program-prefix) with $(test-program-prefix).
3569 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3570 (test_program_prefix): This.
3571 * iconvdata/tst-tables.sh: Likewise.
3572 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3573 $(run-program-prefix) with $(test-program-prefix).
3574 ($(objpfx)tst-translit.out): Likewise.
3575 ($(objpfx)tst-gettext2.out): Likewise.
3576 ($(objpfx)tst-gettext4.out): Likewise.
3577 ($(objpfx)tst-gettext6.out): Likewise.
3578 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3579 (test_program_prefix): This.
3580 * intl/tst-gettext2.sh: Likewise.
3581 * intl/tst-gettext4.sh Likewise.
3582 * intl/tst-gettext6.sh: Likewise.
3583 * intl/tst-translit.sh: Likewise.
3584 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3585 with $(test-program-cmd).
3586 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3587 $(run-program-prefix) with $(test-program-prefix).
3588 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3589 (test_program_prefix): This.
3590 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3591 $(run-program-prefix) with $(test-program-prefix).
3592 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3593 (test_program_prefix): This.
3594 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3595 * posix/Makefile ($(objpfx)globtest.out): Replace
3596 $(run-via-rtld-prefix) and $(test-wrapper) with
3597 $(test-program-prefix) and $(test-via-rtld-prefix).
3598 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3599 $(test-program-prefix).
3600 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3601 $(host-test-program-cmd).
3602 (tst-spawn-ARGS): Likewise.
3603 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3604 $(test-program-prefix).
3605 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3606 (test_via_rtld_prefix): This.
3607 (test_wrapper): Renamed to ...
3608 (test_program_prefix): This.
3609 (run_program_prefix): Replaced by test_program_prefix.
3610 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3611 (test_program_prefix): This.
3612 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3613 with $(host-test-program-cmd).
3614 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3615 $(run-program-prefix) with $(test-program-prefix).
3616 ($(objpfx)tst-printf.out): Likewise.
3617 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3618 $(test-program-cmd).
3619 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3620 (test_program_prefix): This.
3621 * stdio-common/tst-unbputc.sh: Likewise.
3622 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3623 $(run-program-prefix) with $(test-program-prefix).
3624 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3625 (test_program_prefix): This.
3626 * string/Makefile ($(objpfx)tst-svc.out): Replace
3627 $(built-program-cmd) with $(test-program-cmd).
3628
c6fe55cf
AJ
36292013-01-11 Andreas Jaeger <aj@suse.de>
3630
3631 [BZ #15003]
3632 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3633 value. Sync with Linux 3.7.
3634
9e6919c8
DM
36352013-01-10 David S. Miller <davem@davemloft.net>
3636
3637 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3638 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3639 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3640
1c9f1a02
RM
36412013-01-10 Roland McGrath <roland@hack.frob.com>
3642
3643 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3644 never set.
3645 * configure: Regenerated.
3646
b9de2dde
DM
36472013-01-10 David S. Miller <davem@davemloft.net>
3648
3649 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3650 sparc V9 rather than using V8 code.
3651 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3652 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3653
e7f68ef4
RM
36542013-01-10 Roland McGrath <roland@hack.frob.com>
3655
3656 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3657 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3658 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3659 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3660 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3661 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3662 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3663 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3664 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3665 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3666 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3667 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3668 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3669 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3670 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3671 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3672 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3673 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3674 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3675 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3676 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3677 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3678 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3679 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3680 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3681 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3682 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3683
5a47cc9c
DM
36842013-01-10 David S. Miller <davem@davemloft.net>
3685
3686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3687
4cf8f209
L
36882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3689
3690 * posix/Makefile (tests-static): New variable.
3691 (tests): Add $(tests-static).
3692 (tst-exec-static-ARGS): New variable.
3693 (tst-spawn-static-ARGS): Likewise.
3694 * posix/tst-exec-static.c: New file.
3695 * posix/tst-spawn-static.c: Likewise.
3696 * posix/tst-exec.c: Support run directly.
3697 * posix/tst-spawn.c: Likewise.
3698
fed0faa1
JM
36992013-01-10 Joseph Myers <joseph@codesourcery.com>
3700
828beb13
JM
3701 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3702 long.
3703 * math/bits/mathcalls.h (llrint): Likewise.
3704 (llround): Likewise.
3705 * stdlib/stdlib.h (struct drand48_data): Likewise.
3706 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3707 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3708 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3709 Likewise.
3710 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3711 Likewise.
3712 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3713 (elf_greg_t): Likewise.
3714 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3715 (__jmp_buf): Likewise.
3716 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3717 definitions.
3718 (llrint): Likewise, for all definitions.
3719 (llrintl): Likewise.
3720
fed0faa1
JM
3721 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3722 Remove [__GNUC__] condition.
3723 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3724 condition to just [__USE_ISOC99].
3725 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3726
1a20cb20
L
37272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3728
3729 [BZ #14200]
3730 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3731 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3732 defined.
3733 (_POSIX_V6_ILP32_OFF32): Likewise.
3734 (_XBS5_ILP32_OFF32): Likewise.
3735 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3736 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3737
751b85f7
SP
37382013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3739
7490eb81
SP
3740 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3741
751b85f7
SP
3742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3743 doubles __mpexp_twomm1. Adjust usage.
3744 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3745 Remove.
3746
988197f0
AS
37472013-01-10 Andreas Schwab <schwab@suse.de>
3748
3749 [BZ #14964]
3750 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3751 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3752
e83d7298
DM
37532013-01-09 David S. Miller <davem@davemloft.net>
3754
034ed64b 3755 [BZ #15003]
e83d7298
DM
3756 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3757 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3758 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3759 TCP_FASTOPEN): Define.
3760 (tcp_repair_opt): New structure.
3761 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3762 enum values.
3763 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3764 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3765 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3766 (tcp_cookie_transactions): New structure.
3767
d5e0b9bd
AB
37682013-01-09 Anton Blanchard <anton@samba.org>
3769
3770 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3771 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3772 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3773 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3774
0c07e3ea
JM
37752013-01-09 Joseph Myers <joseph@codesourcery.com>
3776
3777 * include/features.h (__USE_ANSI): Remove.
3778
232f7002
RM
37792013-01-09 Roland McGrath <roland@hack.frob.com>
3780
ad98e30c
RM
3781 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3782
232f7002
RM
3783 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3784
950c99ca
SP
37852013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3786
b5792741
SP
3787 * sysdeps/s390/fpu/libm-test-ulps: Update.
3788
47cf2278
SP
3789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3790
950c99ca
SP
3791 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3792 (__acr): Likewise.
3793 (__cpy): Likewise.
3794 (norm): Likewise.
3795 (denorm): Likewise.
3796 (__mp_dbl): Likewise.
3797 (__dbl_mp): Likewise.
3798 (add_magnitudes): Likewise.
3799 (sub_magnitudes): Likewise.
3800 (__add): Likewise.
3801 (__sub): Likewise.
3802 (__mul): Likewise.
3803 (__inv): Likewise.
3804 (__dvd): Likewise.
3805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3806 (__acr): Likewise.
3807 (__cpy): Likewise.
3808 (norm): Likewise.
3809 (denorm): Likewise.
3810 (__mp_dbl): Likewise.
3811 (__dbl_mp): Likewise.
3812 (add_magnitudes): Likewise.
3813 (sub_magnitudes): Likewise.
3814 (__add): Likewise.
3815 (__sub): Likewise.
3816 (__mul): Likewise.
3817 (__inv): Likewise.
3818 (__dvd): Likewise.
3819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3820 (__acr): Likewise.
3821 (__cpy): Likewise.
3822 (norm): Likewise.
3823 (denorm): Likewise.
3824 (__mp_dbl): Likewise.
3825 (__dbl_mp): Likewise.
3826 (add_magnitudes): Likewise.
3827 (sub_magnitudes): Likewise.
3828 (__add): Likewise.
3829 (__sub): Likewise.
3830 (__mul): Likewise.
3831 (__inv): Likewise.
3832 (__dvd): Likewise.
3833
eede9df9
JM
38342013-01-08 Joseph Myers <joseph@codesourcery.com>
3835
3836 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3837 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3838 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3839 2 && __USE_EXTERN_INLINES]: Likewise.
3840
c40ea3d9
AJ
38412013-01-08 Andreas Jaeger <aj@suse.de>
3842
3843 [BZ# 14985]
3844 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3845 Remove.
3846 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3847 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3848
2ccdea26
AB
38492013-01-07 Anton Blanchard <anton@samba.org>
3850
3851 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3852 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3853 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3854 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3855 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3856 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3857 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3858 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3860 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3861 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3862 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3863 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3864 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3865 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3866 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3867 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3868 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3869 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3870 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3871 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3872 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3874 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3875 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3876 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3877 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3878 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3879 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3880 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3881 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3883 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3884 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3885 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3886 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3887 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3888 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3889 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3891 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3892 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3893 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3894
a9708fed
JM
38952013-01-07 Joseph Myers <joseph@codesourcery.com>
3896
375607b9
JM
3897 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3898 (__MALLOC_PMT): Likewise.
3899 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3900 [__GNUC__], only on [_LIBC].
3901 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3902 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3903 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3904 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3905 forward declaration.
3906 (realloc_hook_ini): Likewise.
3907 (memalign_hook_ini): Likewise.
3908 (__libc_memalign): Do not use __MALLOC_PMT in variable
3909 declaration.
3910 (__libc_valloc): Likewise.
3911 (__libc_pvalloc): Likewise.
3912 (__libc_calloc): Likewise.
3913 (__posix_memalign): Likewise.
3914
a9708fed
JM
3915 [BZ #14996]
3916 * math/s_casinh.c: Include <float.h>.
3917 (__casinh): Do not do computation with squaring and square root
3918 for large arguments.
3919 * math/s_casinhf.c: Include <float.h>.
3920 (__casinhf): Do not do computation with squaring and square root
3921 for large arguments.
3922 * math/s_casinhl.c: Include <float.h>.
3923 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3924 (__casinhl): Do not do computation with squaring and square root
3925 for large arguments.
3926 * math/libm-test.inc (casin_test): Add more tests.
3927 (casinh_test): Likewise.
3928 * sysdeps/i386/fpu/libm-test-ulps: Update.
3929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3930
afec409a
L
39312013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3932
3933 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3934 (__x86_64_raw_data_cache_size): Likewise.
3935 (__x86_64_data_cache_size_half): Likewise.
3936 (__x86_64_raw_data_cache_size_half): Likewise.
3937 (__x86_64_shared_cache_size): Likewise.
3938 (__x86_64_raw_shared_cache_size): Likewise.
3939 (__x86_64_shared_cache_size_half): Likewise.
3940 (__x86_64_raw_shared_cache_size_half): Likewise.
3941 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3942 to ...
3943 (__x86_data_cache_size): This.
3944 (__x86_64_raw_data_cache_size): Renamed to ...
3945 (__x86_raw_data_cache_size): This.
3946 (__x86_64_data_cache_size_half): Renamed to ...
3947 (__x86_data_cache_size_half): This.
3948 (__x86_64_raw_data_cache_size_half): Renamed to ...
3949 (__x86_raw_data_cache_size_half): This.
3950 (__x86_64_shared_cache_size): Renamed to ...
3951 (__x86_shared_cache_size): This.
3952 (__x86_64_raw_shared_cache_size): Renamed to ...
3953 (__x86_raw_shared_cache_size): This.
3954 (__x86_64_shared_cache_size_half): Renamed to ...
3955 (__x86_shared_cache_size_half): This.
3956 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3957 (__x86_raw_shared_cache_size_half): This.
3958 * sysdeps/x86_64/memcpy.S: Updated.
3959 * sysdeps/x86_64/memset.S: Likewise.
3960 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3963
0b3986d0
DM
39642013-01-04 David S. Miller <davem@davemloft.net>
3965
3966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3967
e47686e9
AS
39682013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3969
d643bac1
AS
3970 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3971 1 to avoid redefinition warning.
3972 (__USE_GNU): Don't define.
3973 (init_signaling_nan): Protoize.
3974
e47686e9
AS
3975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3976
b18decba
SP
39772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3978
fffb407f
SP
3979 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3981 (__cpymn): Likewise.
3982 (norm): Remove commented code.
3983 (denorm): Likewise.
3984 (__mp_dbl): Likewise.
3985 (__inv): Likewise.
3986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3987 (__cpymn): Likewise.
3988 (norm): Remove commented code.
3989 (denorm): Likewise.
3990 (__mp_dbl): Likewise.
3991 (__inv): Likewise.
3992
b18decba
SP
3993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3994 mp_no value for 1.0 and 2.0.
3995 (norm): Use RADIXI instead of radixi.d.
3996 (denorm): Likewise.
3997 (__mul): Use 0.0 instead of zero.d.
3998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3999 mp_no value for 1.0 and 2.0.
4000 (norm): Use RADIXI instead of radixi.d.
4001 (denorm): Likewise.
4002 (__mul): Use 0.0 instead of zero.d.
4003
cdc1c96f
JM
40042013-01-04 Joseph Myers <joseph@codesourcery.com>
4005
4006 [BZ #14994]
4007 * math/s_casinh.c (__casinh): Reduce finite argument to first
4008 quadrant then set signs of results at the end.
4009 * math/s_casinhf.c (__casinhf): Likewise.
4010 * math/s_casinhl.c (__casinhl): Likewise.
4011 * math/libm-test.inc (casin_test): Add more tests.
4012 (casinh_test): Likewise.
4013 * sysdeps/i386/fpu/libm-test-ulps: Update.
4014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4015
302913e1
SP
40162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4017
6420d207
SP
4018 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4019
a9e48ab4
SP
4020 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4021
b7837264
SP
4022 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4023 declarations.
4024 (denorm): Likewise.
4025 (__mp_dbl): Likewise.
4026 (__inv): Likewise.
4027
f8af25d2
SP
4028 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4029 and adjust the header comment.
4030
302913e1
SP
4031 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4032 variable name from declaration.
4033
5d7dd1ca
L
40342013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4035
4036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4037 Initialize COMMON_CPUID_INDEX_7 element.
4038 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4039 (CPUID_RTM): Likewise.
4040 (HAS_RTM): Likewise.
4041 (COMMON_CPUID_INDEX_7): New enum.
4042
2f5f40f4
AS
40432013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4044
4045 [BZ #14981]
4046 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4047 size is zero, record memory as freed.
4048
4056f4a0
AJ
40492013-01-03 Andreas Jaeger <aj@suse.de>
4050
4051 * po/ia.po: Add new Interlingua translation.
4052
ab15736f 40532012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4054
4055 * locale/programs/localedef.c: Fix description of '--posix' flag.
4056
568035b7
JM
40572013-01-02 Joseph Myers <joseph@codesourcery.com>
4058
e6898b8d
JM
4059 * NEWS: Update dates in second copyright notice.
4060 * README: Update copyright dates in example.
4061 * manual/libc.texinfo: Update copyright dates.
4062 * scripts/test-installation.pl: Update copyright date in --version
4063 output.
4064
0e2f9562
JM
4065 * hurd/ctty-input.c: Fix copyright notice formatting.
4066 * hurd/ctty-output.c: Likewise.
4067 * hurd/dtable.c: Likewise.
4068 * hurd/hurd-raise.c: Likewise.
4069 * hurd/hurdprio.c: Likewise.
4070 * hurd/msgportdemux.c: Likewise.
4071 * misc/sys/file.h: Likewise.
4072 * misc/sys/ioctl.h: Likewise.
4073 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4074 * sysdeps/mach/hurd/chdir.c: Likewise.
4075 * sysdeps/mach/hurd/fchdir.c: Likewise.
4076 * sysdeps/mach/hurd/rename.c: Likewise.
4077 * sysdeps/mach/hurd/rmdir.c: Likewise.
4078 * sysdeps/mach/hurd/seekdir.c: Likewise.
4079 * sysdeps/mach/hurd/setsid.c: Likewise.
4080 * sysdeps/posix/wait3.c: Likewise.
4081
568035b7
JM
4082 * All files with FSF copyright notices: Update copyright dates
4083 using scripts/update-copyrights.
4084 * intl/plural.c: Regenerated.
4085 * locale/programs/charmap-kw.h: Likewise.
4086 * locale/programs/locfile-kw.h: Likewise.
4087
da08f647
SP
40882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4089
0f5477af
SP
4090 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4091 four values.
4092
44e0d4c2
SP
4093 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4094 calculation loop and add branch prediction.
4095
4d55b4e5
SP
4096 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4097 check access beyond bounds of m1np.
4098
da08f647
SP
4099 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4100 MPTWO.
4101 (__inv): Remove local variable MPTWO to use the global
4102 constant.
4103 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4104 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4105 variable MPTWO.
4106 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4107 MP3HALFS static const.
4108
8e051029
DM
41092013-01-01 David S. Miller <davem@davemloft.net>
4110
4111 * po/ca.po: Update from translation team.
4112
f4cf5f2d
JM
41132013-01-01 Joseph Myers <joseph@codesourcery.com>
4114
4115 * scripts/update-copyrights: New file.
4116 * Makeconfig: Reformat copyright notice.
4117 * ctype/ctype.h: Likewise.
4118 * debug/swprintf_chk.c: Likewise.
4119 * elf/dl-cache.c: Likewise.
4120 * elf/dl-debug.c: Likewise.
4121 * elf/dl-object.c: Likewise.
4122 * grp/initgroups.c: Likewise.
4123 * hurd/Makefile: Likewise.
4124 * hurd/hurd/signal.h: Likewise.
4125 * hurd/hurdfault.c: Likewise.
4126 * hurd/hurdioctl.c: Likewise.
4127 * hurd/hurdlookup.c: Likewise.
4128 * hurd/intr-msg.c: Likewise.
4129 * iconv/gconv_open.c: Likewise.
4130 * libio/swprintf.c: Likewise.
4131 * locale/lc-ctype.c: Likewise.
4132 * locale/nl_langinfo.c: Likewise.
4133 * mach/Machrules: Likewise.
4134 * mach/Makefile: Likewise.
4135 * malloc/obstack.h: Likewise.
4136 * manual/Makefile: Likewise.
4137 * manual/tsort.awk: Likewise.
4138 * misc/bits/stab.def: Likewise.
4139 * nis/nis_print_group_entry.c: Likewise.
4140 * nis/nis_table.c: Likewise.
4141 * nis/nss_compat/compat-pwd.c: Likewise.
4142 * nis/nss_compat/compat-spwd.c: Likewise.
4143 * po/Makefile: Likewise.
4144 * posix/fnmatch.c: Likewise.
4145 * posix/regex.h: Likewise.
4146 * resolv/Makefile: Likewise.
4147 * resolv/nss_dns/dns-network.c: Likewise.
4148 * resolv/res_hconf.c: Likewise.
4149 * scripts/gen-sorted.awk: Likewise.
4150 * soft-fp/soft-fp.h: Likewise.
4151 * stdio-common/printf.h: Likewise.
4152 * stdlib/monetary.h: Likewise.
4153 * stdlib/random.c: Likewise.
4154 * stdlib/random_r.c: Likewise.
4155 * sysdeps/generic/Makefile: Likewise.
4156 * sysdeps/gnu/Makefile: Likewise.
4157 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4159 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4161 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4185 * sysdeps/mach/hurd/errnos.awk: Likewise.
4186 * sysdeps/mach/hurd/fork.c: Likewise.
4187 * sysdeps/mach/hurd/getcwd.c: Likewise.
4188 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4189 * sysdeps/mach/hurd/mmap.c: Likewise.
4190 * sysdeps/mach/hurd/utimes.c: Likewise.
4191 * sysdeps/mach/hurd/xmknod.c: Likewise.
4192 * sysdeps/posix/profil.c: Likewise.
4193 * sysdeps/posix/readdir_r.c: Likewise.
4194 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4195 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4196 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4197 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4199 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4200 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4201 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4203 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4204 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4205 * sysdeps/pthread/lio_listio.c: Likewise.
4206 * sysdeps/sparc/dl-procinfo.h: Likewise.
4207 * sysdeps/unix/i386/sysdep.S: Likewise.
4208 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4209 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4210 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4211 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4213 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4214 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4215 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4216 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4217 * sysdeps/wordsize-32/divdi3.c: Likewise.
4218 * time/sys/time.h: Likewise.
4219 * wcsmbs/Makefile: Likewise.
4220
0549fbba
DM
42212013-01-01 David S. Miller <davem@davemloft.net>
4222
a141f1a7
DM
4223 * po/fr.po: Update from translation team.
4224
0549fbba
DM
4225 * catgets/gencat.c: Update copyright year.
4226 * csu/version.c: Likewise.
4227 * debug/catchsegv.sh: Likewise.
4228 * debug/pcprofiledump.c: Likewise.
4229 * debug/xtrace.sh: Likewise.
4230 * elf/ldconfig.c: Likewise.
4231 * elf/ldd.bash.in: Likewise.
4232 * elf/pldd.c: Likewise.
4233 * elf/sotruss.ksh: Likewise.
4234 * elf/sprof.c: Likewise.
4235 * iconv/iconv_prog.c: Likewise.
4236 * iconv/iconvconfig.c: Likewise.
4237 * locale/programs/locale.c: Likewise.
4238 * locale/programs/localedef.c: Likewise.
4239 * login/programs/pt_chown.c: Likewise.
4240 * malloc/memusage.sh: Likewise.
4241 * malloc/memusagestat.c: Likewise.
4242 * malloc/mtrace.pl: Likewise.
4243 * nscd/nscd.c: Likewise.
4244 * nss/getent.c: Likewise.
4245 * nss/makedb.c: Likewise.
4246 * posix/getconf.c: Likewise.
4247
18ea052c
SP
42482012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4249
4250 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4251 numbers.
4252
9c89fca6
MF
42532012-12-30 Mike Frysinger <vapier@gentoo.org>
4254
4255 * math/bits/mathcalls.h (modf): Use __nonnull.
4256
085ec079
SP
42572012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4258
4259 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4260 (split): Use macro CN instead of the bare value.
4261 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4262 could be used.
4263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4264 instead of the bare value.
4265 (power1): Likewise.
4266
6d9f97e1
SP
42672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4268
d63f73be
SP
4269 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4270 __ATAN_TWOM.
4271 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4272
6d9f97e1
SP
4273 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4274 their values.
4275 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4276 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4277 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4278 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4279
4c4febf5
AJ
42802012-12-28 Andreas Jaeger <aj@suse.de>
4281
af5843ef
AJ
4282 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4283 values are from Linux 3.7.
4284
4c4febf5
AJ
4285 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4286 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4287
99136f82
SP
42882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4289
2f216c3c 4290 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4291 TRUE case.
4292
99136f82
SP
4293 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4294 (norm): Likewise.
4295 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4296 variables with preprocessor constants.
4297 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4298 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4299 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4300
7fffbdff
BH
43012012-12-27 Bruno Haible <bruno@clisp.org>
4302
4303 [BZ #14317]
4304 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4305 only if needed.
4306
b76eb5f0
SP
43072012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4308
31a7fe5c
SP
4309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4310 and use variable directly.
4311 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4312
b76eb5f0
SP
4313 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4314 MPONE.
4315 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4316 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4317 variable MPONE.
4318 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4320 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4321 include directive. Remove local variable MPONE.
4322 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4323 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4324 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4325
2c8bfe7d
DM
43262012-12-25 David S. Miller <davem@davemloft.net>
4327
4328 * version.h (RELEASE): Set to "development".
4329 (VERSION): Set to "2.17.90".
4330 * NEWS: Add 2.18 section.
4331
147d03b0
DM
43322012-12-21 David S. Miller <davem@davemloft.net>
4333
4334 * po/hr.po: Update from translation team.
4335
a8ebb2b9
AK
43362012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4337
4338 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4339
95b4f1b6
SE
43402012-12-19 Steve Ellcey <sellcey@mips.com>
4341
b2d94007 4342 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4343
cedb2a90
MS
43442012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4345
4346 * manual/contrib.texi (Contributors): Spelling correction.
4347
bbf527d6
DM
43482012-12-15 David S. Miller <davem@davemloft.net>
4349
4350 * po/ru.po: Update from translation team.
4351
bc38c906
DM
43522012-12-13 David S. Miller <davem@davemloft.net>
4353
85429b1a
DM
4354 * NEWS: Mention IFUNC testsuite enhancements.
4355
d283e353
DM
4356 * po/pl.po: Update from translation team.
4357 * po/bg.po: Likewise.
4358
bc38c906
DM
4359 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4360 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4361
a181b0d7
DM
43622012-12-11 David S. Miller <davem@davemloft.net>
4363
4641d57e
DM
4364 * po/sv.po: Update from translation team.
4365
f7bc6495
DM
4366 * po/vi.po: Update from translation team.
4367
6fc9048f
DM
4368 * po/cs.po: Update from translation team.
4369
a181b0d7
DM
4370 * po/de.po: Update from translation team.
4371 * po/eo.po: Likewise.
4372 * po/nl.po: Likewise.
4373
f70bfe80
SP
43742012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4375
3c8b4190
SP
4376 [BZ #14246]
4377 * manual/argp.texi (Argp Helper Functions): Move node to follow
4378 Argp Parsing State.
4379
f70bfe80
SP
4380 [BZ #14872]
4381 * manual/conf.texi (Limits on File System Capacity): Mention if
4382 terminating null is included in the max size.
4383
188f0adf
AJ
43842012-12-10 Andreas Jaeger <aj@suse.de>
4385
4386 * po/cs.po: Update from translation team.
4387
56e7d3ad
SP
43882012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4389
4390 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4391 void pointer and cast to uintptr_t.
4392 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4393 path.
4394 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4395 * sysdeps/s390/s390-64/memset.S: Likewise.
4396
76f2d2ea 43972012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4398
4399 [BZ #14833]
4400 * menual/message.texi (Message Translation): Fix typos.
4401 (Helper programs for gettext): Likewise.
4402
67cbf9a2
AS
44032012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4404
4405 [BZ #14898]
4406 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4407 Change to -1.
4408
682d0e9a
DM
44092012-12-07 David S. Miller <davem@davemloft.net>
4410
4411 * po/libc.pot: Update.
4412
573cd484
RH
44132012-12-07 Richard Henderson <rth@redhat.com>
4414
7e9da188 4415 [BZ #10114]
573cd484
RH
4416 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4417 normal/normal case to before the switch.
4418 (_FP_DIV): Likewise.
4419
e933a943
MF
44202012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4421 Mike Frysinger <vapier@gentoo.org>
4422
4423 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4424 check for __NR_fadvise64_64.
4425
82123268
CM
44262012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4427
4428 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4429 0, not just to plain "0" as a statement.
4430 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4431 with cw.
4432
d9814526
JM
44332012-12-06 Joseph Myers <joseph@codesourcery.com>
4434
4435 * NEWS: Use sourceware.org in Bugzilla URL.
4436
7728c574
SP
44372012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4438
f16946dd
SP
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4440 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4441
5704bbcb
SP
4442 * stdio-common/tst-put-error.c (do_test): Add newline to the
4443 padded test to ensure flush.
4444
17aa0516
JL
44452012-12-05 Jeff Law <law@redhat.com>
4446
4447 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4448
363313b5
JM
44492012-12-05 Joseph Myers <joseph@codesourcery.com>
4450
effbd42a
JM
4451 * README: Don't refer to ports add-on as distributed separately.
4452 Mention AArch64 in list of systems supported in the ports add-on.
4453
87600365
JM
4454 * LICENSES: Add more non-FSF copyright and license notices.
4455
a0d7066a
JM
4456 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4457 ((unused)).
4458
66ca5a5b
JM
4459 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4460
363313b5
JM
4461 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4462 10000 as width of padded output.
4463
b37984ad
JM
44642012-12-04 Joseph Myers <joseph@codesourcery.com>
4465
9003570a
JM
4466 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4467
b37984ad
JM
4468 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4469 variable LX with __attribute__ ((unused)).
4470 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4471 Likewise.
4472 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4473 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4474 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4475 with __attribute__ ((unused)).
4476
c8df52ec
DM
44772012-12-04 David S. Miller <davem@abraco.davemloft.net>
4478
4479 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4480
b3b099af
JM
44812012-12-04 Joseph Myers <joseph@codesourcery.com>
4482
c33aa6e3
JM
4483 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4484 (CFLAGS-nldbl-acos.c): New variable.
4485 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4486 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4487 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4488 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4489 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4490 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4491 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4492 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4493 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4494 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4495 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4496 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4497 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4498 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4499 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4500 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4501 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4502 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4503 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4504 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4505 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4506 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4507 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4508 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4509 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4510 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4511 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4512 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4513 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4514 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4515 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4516 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4517 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4518 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4519 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4520 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4521 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4522 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4523 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4524 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4525 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4526 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4527 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4528 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4529 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4530 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4531 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4532 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4533 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4534 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4535 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4536 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4537 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4538 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4539 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4540 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4541 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4582
20f0018d
JM
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4584 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4585
b3b099af
JM
4586 [BZ #14914]
4587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4588 whole low double instead of just low 47 bits when splitting values
4589 into two parts.
4590
029264d1
AM
45912012-12-03 Allan McRae <allan@archlinux.org>
4592
4593 * manual/stdio.texi (Predefined Printf Handlers): Remove
4594 @hsep and @vsep usage.
4595
c9d6789e
MF
45962012-12-03 Mike Frysinger <vapier@gentoo.org>
4597
4598 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4599 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4600
4b7634a5
JL
46012012-12-03 Jeff Law <law@redhat.com>
4602
4603 * time/sys/time.h (settimeofday): Do not mark TV argument
4604 as __nonnull.
4605
eb6cbd24
MF
46062012-12-01 Mike Frysinger <vapier@gentoo.org>
4607
4608 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4609 when currently writing and seek to current position when not.
4610 * libio/Makefile (tests): Remove bug-fclose1.
4611 * libio/bug-fclose1.c: Delete.
4612
f638872a
JM
46132012-12-01 Joseph Myers <joseph@codesourcery.com>
4614
4615 * manual/arith.texi (feenableexcept): Fix typo.
4616 (fedisableexcept): Likewise.
4617
48085d14
RM
46182012-11-30 Roland McGrath <roland@hack.frob.com>
4619
4620 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4621 second, differently-typed declaration, rather than a cast.
4622
1a538b9f
SP
46232012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4624
4625 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4626 * include/rpc/svc.h: ... here.
4627
d07f2ff1 46282012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4629
4630 [BZ #13013]
4631 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4632 depending n and resplen2 to catch cases where answer
4633 equals answerp2.
4634
c93ec1f0
CD
46352012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4636
4637 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4638 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4639
37db69de
MF
46402012-11-29 Mike Frysinger <vapier@gentoo.org>
4641
4642 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4643
e10c4e4f
RM
46442012-11-29 Roland McGrath <roland@hack.frob.com>
4645
4646 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4647
2af1b328
JL
46482012-11-28 Jeff Law <law@redhat.com>
4649
4650 [BZ #13761]
4651 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4652 dataset_temporary. Track alloca usage into alloca_used.
4653 If dataset is large allocate and release it via malloc/free.
4654
111db5b1
FW
46552012-06-04 Florian Weimer <fweimer@redhat.com>
4656
f06cc227 4657 [BZ #14197]
111db5b1
FW
4658 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4659
dd694abd
DM
46602012-11-28 David S. Miller <davem@davemloft.net>
4661
4662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4663
9984dd01
JM
46642012-11-28 Joseph Myers <joseph@codesourcery.com>
4665
4666 [BZ #14803]
4667 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4668 of pi/2 rounded to nearest to 64 bits.
4669 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4670 nearest to 64 bits.
4671 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4672 bits.
4673
14bc93a9
JL
46742012-11-28 Jeff Law <law@redhat.com>
4675 Martin Osvald <mosvald@redhat.com>
4676
4677 [BZ #14889]
4678 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4679 * sunrpc/svc.c: Include time.h.
4680 (__svc_accept_failed): New function.
4681 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4682 any reason other than EINTR, call __svc_accept_failed.
4683 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4684 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4685
e3c6aa3a
AS
46862012-11-28 Andreas Schwab <schwab@suse.de>
4687
4688 * scripts/abilist.awk: Also handle indirect functions in .opd
4689 section.
4690
1bead169
JM
46912012-11-28 Joseph Myers <joseph@codesourcery.com>
4692
4693 [BZ #13881]
4694 * sysdeps/x86/fpu/powl_helper.c: New file.
4695 * sysdeps/x86/fpu/Makefile: Likewise.
4696 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4697 (p3): New object.
4698 (__ieee754_powl): Use __powl_helper for finite arguments except
4699 integer exponents below 8.
4700 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4701 (p3): New object.
4702 (__ieee754_powl): Use __powl_helper for finite arguments except
4703 integer exponents below 8.
4704 * math/libm-test.inc (pow_test): Add more tests and enable some
4705 previously disabled tests.
4706 * sysdeps/i386/fpu/libm-test-ulps: Update.
4707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4708
0817d63d
SP
47092012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4710 Carlos O'Donell <carlos_odonell@mentor.com>
4711
4712 * nss/makedb.c (is_prime): Assert that input is odd and greater
4713 than 4. Note that fact in a comment too.
4714 (next_prime): Add 4 to input.
4715
de2fd463
SP
47162012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4717
4718 [BZ #11741]
4719 * libio/Makefile (tests): Add test case tst-fwrite-error.
4720 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4721 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4722 * libio/tst-fwrite-error.c: New test case.
4723
c515fb51
L
47242012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4725
4726 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4727 before casting to void *.
4728 * include/libc-internal.h (__pointer_type): New macro.
4729 (__integer_if_pointer_type_sub): Likewise.
4730 (__integer_if_pointer_type): Likewise.
4731 (cast_to_integer): Likewise.
4732 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4733 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4734 before casting to atomic64_t.
4735 (atomic_exchange_acq): Likewise.
4736 (__arch_exchange_and_add_body): Likewise.
4737 (__arch_add_body): Likewise.
4738 (atomic_add_negative): Likewise.
4739 (atomic_add_zero): Likewise.
4740
4cf77aa9
JM
47412012-11-26 Joseph Myers <joseph@codesourcery.com>
4742
4743 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4744 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4745 (add_fdes): Likewise.
4746 (linear_search_fdes): Likewise.
4747 (binary_search_unencoded_fdes): Likewise.
4748
d260b3b4
AS
47492012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4750
4751 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4752
67060746
AC
47532012-11-24 Adam Conrad <adconrad@0c3.net>
4754
4755 * configure.in: Autodetect C++ header directories.
4756 * configure: Regenerated.
4757
800938a1
MF
47582012-11-23 Mike Frysinger <vapier@gentoo.org>
4759
4760 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4761
4e6e34e6
AS
47622012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4763
4764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4765
7c7feb47
JM
47662012-11-22 Joseph Myers <joseph@codesourcery.com>
4767
7184dcdf
JM
4768 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4769 LDBL_MANT_DIG == 106]: Disable some tests.
4770 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4771 Likewise.
4772 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4773 Likewise.
4774
0a42601f
JM
4775 [BZ #14871]
4776 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4777 input for small inputs. Return +/- pi/2 for large inputs.
4778 * math/libm-test.inc (atan_test): Add more tests.
4779
79c9b9fe
JM
4780 * sysdeps/generic/unwind-dw2-fde-glibc.c
4781 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4782 __attribute__ ((unused)).
4783
c60d3bf2
JM
4784 [BZ #14645]
4785 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4786 x * y if x and y are nonzero and z is zero.
4787
ef1e0867
JM
4788 [BZ #14811]
4789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4790 nonzero exponents with absolute value below 0x1p-117 to +/-
4791 0x1p-117.
4792
1468ded3
JM
4793 [BZ #14869]
4794 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4795 up arguments below 2**-450, not just those below 2**-500.
4796 * math/libm-test.inc (hypot_test): Add another test.
4797
8e27e3cc
JM
4798 [BZ #14868]
4799 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4800 Return a+b for ratio over 2**120, not 2**60.
4801 * math/libm-test.inc (hypot_test): Add another test.
4802
c9c0279b
JM
4803 * math/libm-test.inc (clog_test): Use
4804 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4805 (clog10_test): Likewise.
4806
7c7feb47
JM
4807 [BZ #6778]
4808 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4809
fff1530e
AS
48102012-11-22 Andreas Schwab <schwab@suse.de>
4811
4812 * sysdeps/i386/fpu/libm-test-ulps: Update.
4813
94558d30
PT
48142012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4815
4816 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4817 printf output with newline.
4818
7e1be741
L
48192012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4820
6bfea974
L
4821 [BZ #14865]
4822 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4823 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4824 -z nodlopen, -z initfirst and -z execstack support.
4825 * configure: Regenerated.
4826
7e1be741
L
4827 * elf/elf.h (DF_1_NODIRECT): New macro.
4828 (DF_1_IGNMULDEF): Likewise.
4829 (DF_1_NOKSYMS): Likewise.
4830 (DF_1_NOHDR): Likewise.
4831 (DF_1_EDITED): Likewise.
4832 (DF_1_NORELOC): Likewise.
4833 (DF_1_SYMINTPOSE): Likewise.
4834 (DF_1_GLOBAUDIT): Likewise.
4835 (DF_1_SINGLETON): Likewise.
4836 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4837 DT_1_SUPPORTED_MASK bits.
4838 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4839
105ce2ce
CD
48402012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4841
4842 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4843
123be9de
TS
48442012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4845
d072f3f7
TS
4846 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4847 macro.
4848
123be9de
TS
4849 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4850 (sendmmsg): Move declarations...
4851 * socket/sys/socket.h: ... here.
4852 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4853 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4854 include it from...
4855 * socket/recvmmsg.c: ... this new file.
4856 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4857 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4858 definition of __sendmmsg hidden.
4859 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4860 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4861 Move ENOSYS stub into and include it from...
4862 * socket/sendmmsg.c: ... this new file.
4863 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4864 (sysdep_routines): Move recvmmsg and sendmmsg...
4865 * socket/Makefile (routines): ... here.
4866 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4867 (GLIBC_PRIVATE): Add __sendmmsg.
4868 * include/sys/socket.h (__sendmmsg): Add declarations.
4869 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4870 sendmmsg.
4871
cf9a5d18
JM
48722012-11-20 Joseph Myers <joseph@codesourcery.com>
4873
4874 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4875 variable I1 with __attribute__ ((unused)).
4876 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4877
ecd4caf9
JM
48782012-11-19 Joseph Myers <joseph@codesourcery.com>
4879
be14d48f
JM
4880 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4881 DUMMY variables with __attribute__ ((unused)).
4882
ecd4caf9
JM
4883 * bits/byteswap.h: Include <bits/types.h>.
4884 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4885
986cab95
PT
48862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4887
4888 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4889 string_t. Do not manually set errno.
4890 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4891 length with __strnlen. Make sure to both set errno and return it on
4892 failure.
4893
6d33cc9d
DM
48942012-11-19 David S. Miller <davem@davemloft.net>
4895
4896 With help from Joseph Myers.
4897 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4898 very large arguments properly.
4899 * math/libm-test.inc (atan_test): New tests.
4900 (atan2_test): New tests.
4901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4903
ee663277
JM
49042012-11-19 Joseph Myers <joseph@codesourcery.com>
4905
877f2d8e
JM
4906 [BZ #14856]
4907 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4908 Define to 3.
4909
116fc08a
JM
4910 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4911 [POSIX] (EADDRNOTAVAIL): Likewise.
4912 [POSIX] (EAFNOSUPPORT): Likewise.
4913 [POSIX] (EALREADY): Likewise.
4914 [POSIX] (ECONNABORTED): Likewise.
4915 [POSIX] (ECONNREFUSED): Likewise.
4916 [POSIX] (ECONNRESET): Likewise.
4917 [POSIX] (EDESTADDRREQ): Likewise.
4918 [POSIX] (EDQUOT): Likewise.
4919 [POSIX] (EHOSTUNREACH): Likewise.
4920 [POSIX] (EIDRM): Likewise.
4921 [POSIX] (EISCONN): Likewise.
4922 [POSIX] (ELOOP): Likewise.
4923 [POSIX] (EMULTIHOP): Likewise.
4924 [POSIX] (ENETDOWN): Likewise.
4925 [POSIX] (ENETUNREACH): Likewise.
4926 [POSIX] (ENOBUFS): Likewise.
4927 [POSIX] (ENODATA): Likewise.
4928 [POSIX] (ENOLINK): Likewise.
4929 [POSIX] (ENOMSG): Likewise.
4930 [POSIX] (ENOPROTOOPT): Likewise.
4931 [POSIX] (ENOSR): Likewise.
4932 [POSIX] (ENOSTR): Likewise.
4933 [POSIX] (ENOTCONN): Likewise.
4934 [POSIX] (ENOTSOCK): Likewise.
4935 [POSIX] (EOPNOTSUPP): Likewise.
4936 [POSIX] (EOVERFLOW): Likewise.
4937 [POSIX] (EPROTO): Likewise.
4938 [POSIX] (EPROTONOSUPPORT): Likewise.
4939 [POSIX] (EPROTOTYPE): Likewise.
4940 [POSIX] (ESTALE): Likewise.
4941 [POSIX] (ETIME): Likewise.
4942 [POSIX] (ETXTBSY): Likewise.
4943 [POSIX] (EWOULDBLOCK): Likewise.
4944 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4945 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4946 [POSIX] (SEEK_CUR): Likewise.
4947 [POSIX] (SEEK_END): Likewise.
4948 [POSIX || UNIX98] (mode_t): Do not require.
4949 [POSIX] (off_t): Likewise.
4950 [POSIX] (pid_t): Likewise.
4951 [POSIX] (sys/stat.h): Do not allow header.
4952 [POSIX] (unistd.h): Likewise.
4953 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4954 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4955 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4956 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4957 require.
4958 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4959 sigevent): Specify elements.
4960 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4961 entry.
4962 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4963 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4964
a483863f
JM
4965 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4966 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4967 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4968 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4969 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4970 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4971 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4972 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4974 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4975 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4976 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4977 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4978 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4979 Likewise.
4980 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4981 Likewise.
4982 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4983 Likewise.
4984 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4985 Likewise.
4986 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4987 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4988 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4989 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4990 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4991 Specify lower bound on value.
4992 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4993 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4994 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4995 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4996 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4997 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4998 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4999 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5000 value.
5001 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5002 as optional.
5003 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5004 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5005 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5006 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5007 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5008 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5009 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5010 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5011 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5012 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5013 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5014 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5015 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5016 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5019 entry.
5020 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5021 optional.
5022 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5023 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5025 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5026 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5027 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5028 Likewise.
5029 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5030 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5032 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5033 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5034 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5035 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5036 as optional.
5037 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5038 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5040 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5041 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5042 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5043 specify as optional.
5044 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5047 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5048 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5049 [XPG3] (NL_LANGMAX): Likewise.
5050 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5051 [POSIX || XPG3] (NL_NMAX): Likewise.
5052 [POSIX || XPG3] (NL_SETMAX): Likewise.
5053 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5054 [XPG3] (NZERO): Likewise.
5055 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5056 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5057 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5058 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5059 (REG_ERANGE): Expect.
5060 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5061 optional-constant.
5062 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5063 Use (void) in prototype.
5064 [POSIX] (*_t): Allow.
5065 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5066 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5067 (WRDE_BADVAL): Expect.
5068
5ba924e3
JM
5069 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5070 expect.
5071 [XPG3 || XPG4] (O_RSYNC): Likewise.
5072 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5073 Likewise.
5074 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5075 [XPG3 || XPG4] (sigqueue): Likewise.
5076 [XPG3 || XPG4] (sigtimedwait): Likewise.
5077 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5078 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5079 [XPG3 || XPG4] (vsnprintf): Likewise.
5080 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5081 Likewise.
5082 [XPG3 || XPG4] (blksize_t): Likewise.
5083 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5084 Likewise.
5085 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5086 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5087 [XPG3 || XPG4] (struct itimerspec): Likewise.
5088 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5089 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5090 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5091 [XPG3 || XPG4] (clockid_t): Likewise.
5092 [XPG3 || XPG4] (timer_t): Likewise.
5093 [XPG3 || XPG4] (clock_getres): Likewise.
5094 [XPG3 || XPG4] (clock_gettime): Likewise.
5095 [XPG3 || XPG4] (clock_settime): Likewise.
5096 [XPG3 || XPG4] (nanosleep): Likewise.
5097 [XPG3 || XPG4] (timer_create): Likewise.
5098 [XPG3 || XPG4] (timer_delete): Likewise.
5099 [XPG3 || XPG4] (timer_gettime): Likewise.
5100 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5101 [XPG3 || XPG4] (timer_settime): Likewise.
5102 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5103 [XPG3 || XPG4] (getlogin_r): Likewise.
5104 [XPG3 || XPG4] (pread): Likewise.
5105 [XPG3 || XPG4] (pthread_atfork): Likewise.
5106 [XPG3 || XPG4] (pwrite): Likewise.
5107
ee663277
JM
5108 [BZ #14835]
5109 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5110 <bits/siginfo.h>.
5111
942caa16
PT
51122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5113
e19af380
PT
5114 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5115 finalizing MALLSTREAM.
5116
942caa16
PT
5117 * sysdeps/mach/hurd/syncfs.c: New file.
5118
cfde9b46
SP
51192012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5120
5121 [BZ #14719]
5122 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5123 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5124 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5125 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5126 (_nss_dns_gethostbyname4_r): Likewise.
5127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5128 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5129
f6da27e5
PH
51302012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5131
5132 [BZ #13763]
5133 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5134
6665d4a2
SM
51352012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5136
1f51ee92
SM
5137 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5138 * elf/cache.c (print_entry): Print ",AArch64" for
5139 FLAG_AARCH64_LIB64
5140
6665d4a2
SM
5141 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5142 * elf/cache.c (print_entry): Print ",hard-float" for
5143 FLAG_ARM_LIBHF.
5144
05b227bd
DM
51452012-11-18 David S. Miller <davem@davemloft.net>
5146
5147 With help from Joseph Myers.
5148 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5149 cutoff to 2**-13.
5150 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5151 cutoff to 2**-25.
5152 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5153 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5154 small.
5155 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5156 * math/libm-test.inc (y0_test): New tests.
5157 (y1_test): New tests.
5158 * sysdeps/i386/fpu/libm-test-ulps: Update.
5159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5161
786b0b67
AS
51622012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5163
5164 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5165 64-bit targets.
5166 * configure: Regenerated.
5167
8e18b86d
DM
51682012-11-17 David S. Miller <davem@davemloft.net>
5169
5170 [BZ #14811]
5171 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5172 nonzero exponents with absolute value below 0x1p-128 to +/-
5173 0x1p-128.
5174
531f1ae0
JM
51752012-11-17 Joseph Myers <joseph@codesourcery.com>
5176
12df29e2
JM
5177 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5178
150dc1a0
JM
5179 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5180
531f1ae0
JM
5181 * posix/getconf-speclist.c: New file.
5182 * posix/posix-envs.def: Likewise.
5183 * posix/confstr.c (START_ENV_GROUP): New macro.
5184 (END_ENV_GROUP): Likewise.
5185 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5186 (KNOWN_PRESENT_ENV_STRING): Likewise.
5187 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5188 (UNKNOWN_ENVIRONMENT): Likewise.
5189 (confstr): Include posix-envs.def instead of handling
5190 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5191 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5192 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5193 (END_ENV_GROUP): Likewise.
5194 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5195 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5196 (UNKNOWN_ENVIRONMENT): Likewise.
5197 (__sysconf): Include posix-envs.def instead of handling associated
5198 cases directly here.
5199 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5200 preprocessing getconf-speclist.c rather than running getconf or
5201 generating empty file.
5202
a93f9cbc
PT
52032012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5204
5205 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5206
d64d9f87
AL
52072012-11-16 Andrej Lajovic <natrij@gmail.com>
5208
5209 [BZ #14672]
5210 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5211
447885eb
DM
52122012-11-16 David S. Miller <davem@davemloft.net>
5213
5214 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5215 smaller than LDBL_EPSILON/2.0L, just return xm1.
5216
bcbf9830
L
52172012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5218
5219 * elf/tst-array1.c (init): Set constructor priority to 1000.
5220 (fini): Set destructor priority to 1000.
5221 * elf/tst-array2dep.c: Likewise.
5222
2b766585
SP
52232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5224
5225 [BZ #11741]
5226 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5227 (_IO_new_file_xsputn): Also return EOF if none of the input
5228 data was written when overflow failed.
5229 * libio/iopadn.c (_IO_padn): Likewise.
5230 * libio/iowpadn.c (_IO_wpadn): Likewise.
5231 * stdio-common/tst-put-error.c: Add copyright notice.
5232 (do_test): Add case for printing padded string.
5233 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5234 _IO_padn returned error.
5235 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5236 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5237 return EOF.
5238
b1848fde
SP
52392012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5240
5241 * libio/libioP.h: Add comment note that the references to C++
5242 bits are now obsolete.
5243
2fd89785
MS
52442012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5245
5246 * math/libm-test.inc (check_complex): Use asprintf.
5247
e3ea5409
JM
52482012-11-14 Joseph Myers <joseph@codesourcery.com>
5249
5250 * debug/pcprofiledump.c (print_version): Update copyright year.
5251 * malloc/memusagestat.c (print_version): Likewise.
5252
2e64d265
L
52532012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5254
5255 [BZ #14831]
5256 * elf/Makefile (tests): Add tst-audit8.
5257 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5258 ($(objpfx)tst-audit8.out): New target.
5259 (tst-audit8-ENV): New variable.
5260 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5261 audit if l_reloc_result is NULL.
5262 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5263 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5264 * elf/tst-audit8.c: New file.
5265
c485e4d2
MS
52662012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5267
5268 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5269 * misc/Makefile (CFLAGS-select.c): Define.
5270 * posix/Makefile (CFLAGS-pause.c): Define.
5271
3a0d900a
DM
52722012-11-13 David S. Miller <davem@davemloft.net>
5273
5274 * crypt/Makefile: Move test targets after toplevel Rules
5275 inclusion. Grab any necessary sysdep routines when linking.
5276 * crypt/md5.c (md5_process_block): Remove define, we will always
5277 name it __md5_process_block.
5278 (md5_finish_ctx): Update md5_process_block call.
5279 (md5_stream): Likewise.
5280 (md5_process_bytes): Likewise.
5281 (md5_process_block): Rename to __md5_process_block and move to ...
5282 * crypt/md5-block.c: ... here.
5283 * crypt/sha256.c (sha256_process_block): Move to ...
5284 * crypt/sha256-block.c: ... here.
5285 * crypt/sha512.c (sha512_process_block): Move to ...
5286 * crypt/sha512-block.c: ... here.
5287 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5288 path.
5289 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5290 * sysdeps/sparc/sparc64/multiarch/Makefile
5291 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5292 crypt subdir.
5293 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5294 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5295 multiarch changes.
5296 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5297 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5298 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5299 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5300 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5301 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5302 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5303 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5304 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5305 file.
5306 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5307 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5308 file.
5309 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5310
8ca89318
JM
53112012-11-13 Joseph Myers <joseph@codesourcery.com>
5312
e27d476a
JM
5313 * timezone/tzselect.ksh: Update from tzcode git revision
5314 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5315 * timezone/zdump.c: Likewise.
5316 * timezone/zic.c: Likewise.
5317 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5318 in TZVERSION setting, not $(PKGVERSION).
5319 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5320 REPORT_BUGS_TO settings.
5321
8ca89318
JM
5322 [BZ #14838]
5323 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5324 macro.
5325
47594329
MS
53262012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5327
5328 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5329 detection to immediately after _FP_ROUND().
5330 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5331 bits are 0.
5332
640ac3f1
DM
53332012-11-11 David S. Miller <davem@davemloft.net>
5334
5335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5336 inttypes.h
5337 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5338 __close rather than their public counterparts.
5339
3d2577bb
JM
53402012-11-10 Joseph Myers <joseph@codesourcery.com>
5341
5342 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5343 file.
5344 [UNIX98] (sem_timedwait): Do not expect.
5345 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5346 [XPG4 || UNIX98] (sockatmark): Do not expect.
5347 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5348 (clock_getcpuclockid): Do not expect.
5349 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5350 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5351 Do not expect.
5352 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5353 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5354 [UNIX98] (vwscanf): Likewise.
5355 [UNIX98] (vswscanf): Likewise.
5356
fb1ae1ee
JM
53572012-11-09 Joseph Myers <joseph@codesourcery.com>
5358
9ec6f8bd
JM
5359 * timezone/version.h: Remove file.
5360 * timezone/README: Do not refer to version.h.
5361 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5362 $(objpfx)version.h.
5363 ($(objpfx)zdump.o): Likewise.
c3f81911 5364 ($(objpfx)version.h): New target.
9ec6f8bd 5365
0aa8f8a1
JM
5366 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5367 2012i.
5368 * timezone/README: Don't mention modification to tzselect.ksh.
5369 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5370 work on unmodified tzselect.ksh. Substitute version numbers in
5371 tzselect.ksh.
5372
4e87147f
JM
5373 * Makefile (format-me): Remove.
5374 (INSTALL): Adjust indentation. Use commands directly instead of
5375 using $(format-me).
5376
8b748aed
JM
5377 * aclocal.m4 (ACX_PKGVERSION): New macro.
5378 (ACX_BUGURL): Likewise.
5379 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5380 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5381 (REPORT_BUGS_TO): Likewise.
5382 * configure: Regenerated.
5383 * config.h.in (PKGVERSION): New macro.
5384 (REPORT_BUGS_TO): Likewise.
5385 * config.make.in (PKGVERSION): New variable.
5386 (PKGVERSION_TEXI): Likewise.
5387 (REPORT_BUGS_TO): Likewise.
5388 (REPORT_BUGS_TEXI): Likewise.
5389 * Makefile (format-me): Use -I$(common-objpfx)manual.
5390 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5391 ($(common-objpfx)manual/%): New target.
5392 (manual/%): Remove target.
5393 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5394 (print_version): Use PKGVERSION.
5395 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5396 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5397 and REPORT_BUGS_TO.
5398 ($(objpfx)xtrace): Likewise.
5399 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5400 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5401 (print_version): Use PKGVERSION.
5402 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5403 (do_version): Use PKGVERSION.
5404 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5405 REPORT_BUGS_TO.
5406 (common-ldd-rewrite): Likewise.
5407 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5408 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5409 (print_version): Use PKGVERSION.
5410 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5411 * elf/pldd.c (argp_program_bug_address): Remove variable.
5412 (more_help): New function.
5413 (argp): Use more_help.
5414 (print_version): Use PKGVERSION.
5415 * elf/sln.c (main): Use PKGVERSION.
5416 (usage): Use REPORT_BUGS_TO.
5417 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5418 (top level): Use PKGVERSION.
5419 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5420 (print_version): Use PKGVERSION.
5421 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5422 (print_version): Use PKGVERSION.
5423 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5424 (print_version): Use PKGVERSION.
5425 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5426 (print_version): Use PKGVERSION.
5427 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5428 (print_version): Use PKGVERSION.
5429 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5430 (print_version): Use PKGVERSION.
5431 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5432 and BUGURL.
5433 ($(objpfx)memusage): Likewise.
5434 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5435 (do_version): Use PKGVERSION.
5436 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5437 (print_version): Use PKGVERSION.
5438 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5439 ($PKGVERSION): New variable.
5440 ($REPORT_BUGS_TO): Likewise.
5441 (usage): Use $REPORT_BUGS_TO.
5442 (top level): Use $PKGVERSION.
5443 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5444 ($(objpfx)pkgvers.texi): New rule.
5445 ($(objpfx)stamp-pkgvers): Likewise.
5446 * manual/install.texi: Include pkgvers.texi.
5447 (--with-pkgversion): Document new configure option.
5448 (--with-bugurl): Likewise.
5449 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5450 than necessarily for this particular distribution. Use
5451 REPORT_BUGS_TO for where to report bugs.
5452 * INSTALL: Regenerated.
5453 * manual/libc.texinfo: Include pkgvers.texi.
5454 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5455 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5456 (print_version): Use PKGVERSION.
5457 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5458 (print_version): Use PKGVERSION.
5459 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5460 (print_version): Use PKGVERSION.
5461 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5462 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5463 macro.
5464 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5465 (print_version): Use PKGVERSION.
5466 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5467 (print_version): Use PKGVERSION.
5468 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5469 and PKGVERSION.
5470
92e4b6a9
JM
5471 * timezone/checktab.awk: Update from tzcode 2012i.
5472 * timezone/ialloc.c: Likewise.
5473 * timezone/private.h: Likewise.
5474 * timezone/scheck.c: Likewise.
5475 * timezone/tzfile.h: Likewise.
5476 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5477 (TZVERSION): Hardcode tzcode version number.
5478 * timezone/zdump.c: Update from tzcode 2012i.
5479 * timezone/zic.c: Likewise.
5480 * timezone/version.h: New file.
5481 * timezone/README: Describe version.h. Update upstream location.
5482
9bde902c
JM
5483 [BZ #14824]
5484 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5485 (mktemp): Enable declaration.
5486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5490 Likewise.
5491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5492 Likewise.
5493 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5494 Likewise.
5495 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5496 Likewise.
5497 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5498 Likewise.
5499 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5500 Likewise.
5501
fb1ae1ee
JM
5502 [BZ #14821]
5503 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5504 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5505 for copies of such integer values.
5506 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5507 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5508
2c1adbcb
AJ
55092012-11-09 Andreas Jaeger <aj@suse.de>
5510
5511 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5512 definitions and declarations that are provided by
5513 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5514
d0f8457e
AK
55152012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5516
3a235abb 5517 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5518 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5519 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5520 definition.
5521
57241e26
MS
55222012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5523
5524 * elf/elf.h: Update comment before AArch64 relocations.
5525
60e8270d
DM
55262012-11-07 David S. Miller <davem@davemloft.net>
5527
5528 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5529 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5530 (__start_context): Declare.
5531 (__makecontext_ret): Delete.
5532 (__makecontext): Hook up __start_context instead of
5533 __makecontext_ret.
5534 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5535 (sysdep_routines): Add __start_context when in stdlib.
5536
0fbb0fbc
JM
55372012-11-07 Joseph Myers <joseph@codesourcery.com>
5538
5539 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5540 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5541 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5542 hardcoded "nm".
5543 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5544 (READELF): New variable. Use it instead of hardcoded "readelf".
5545
eb48db7e
L
55462012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5547
5548 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5549 * sysdeps/x86/Makefile: Here.
5550 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5551 * sysdeps/x86/tst-xmmymm.sh: This.
5552
05bcf62a
JM
55532012-11-07 Joseph Myers <joseph@codesourcery.com>
5554
c4b6cf53
JM
5555 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5556 expectations.
5557 [UNIX98] (pthread_barrier_t): Do not expect.
5558 [UNIX98] (pthread_barrierattr_t): Likewise.
5559 [UNIX98] (pthread_spinlock_t): Likewise.
5560 [UNIX98] (pthread_barrier_destroy): Likewise.
5561 [UNIX98] (pthread_barrier_init): Likewise.
5562 [UNIX98] (pthread_barrier_wait): Likewise.
5563 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5564 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5565 [UNIX98] (pthread_barrierattr_init): Likewise.
5566 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5567 [UNIX98] (pthread_getcpuclockid): Likewise.
5568 [UNIX98] (pthread_mutex_timedlock): Likewise.
5569 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5570 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5571 [UNIX98] (pthread_sigmask): Likewise.
5572 [UNIX98] (pthread_spin_destroy): Likewise.
5573 [UNIX98] (pthread_spin_init): Likewise.
5574 [UNIX98] (pthread_spin_lock): Likewise.
5575 [UNIX98] (pthread_spin_trylock): Likewise.
5576 [UNIX98] (pthread_spin_unlock): Likewise.
5577 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5578 Do not expect.
5579 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5580 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5581 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5582 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5583 [XPG3 || XPG4] (pthread_key_t): Likewise.
5584 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5585 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5586 [XPG3 || XPG4] (pthread_once_t): Likewise.
5587 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5588 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5589 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5590 [XPG3 || XPG4] (pthread_t): Likewise.
5591
cbe6e120
JM
5592 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5593 not expect.
5594 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5595
1b126443
JM
5596 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5597 Change function return type to int.
5598
b961a573
JM
5599 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5600 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5601 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5602 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5603 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5604 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5605 [!POSIX] (posix_madvise): Likewise.
5606 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5607 && !UNIX98].
5608 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5609 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5610 (mode_t): Likewise.
5611 (posix_mem_offset): Likewise.
5612 (posix_typed_mem_get_info): Likewise.
5613 (posix_typed_mem_open): Likewise.
5614
9e188909
JM
5615 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5616 Change condition to [XOPEN2K8].
5617
05bcf62a
JM
5618 * conform/conformtest.pl: Preprocess allow-header data with -x c
5619 instead of from stdin.
5620 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5621 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5622 [C99-based standards] (cerfc): Likewise.
5623 [C99-based standards] (cexp2): Likewise.
5624 [C99-based standards] (cexpm1): Likewise.
5625 [C99-based standards] (clog10): Likewise.
5626 [C99-based standards] (clog1p): Likewise.
5627 [C99-based standards] (clog2): Likewise.
5628 [C99-based standards] (clgamma): Likewise.
5629 [C99-based standards] (ctgamma): Likewise.
5630 [C99-based standards] (cerff): Likewise.
5631 [C99-based standards] (cerfcf): Likewise.
5632 [C99-based standards] (cexp2f): Likewise.
5633 [C99-based standards] (cexpm1f): Likewise.
5634 [C99-based standards] (clog10f): Likewise.
5635 [C99-based standards] (clog1pf): Likewise.
5636 [C99-based standards] (clog2f): Likewise.
5637 [C99-based standards] (clgammaf): Likewise.
5638 [C99-based standards] (ctgammaf): Likewise.
5639 [C99-based standards] (cerfl): Likewise.
5640 [C99-based standards] (cerfcl): Likewise.
5641 [C99-based standards] (cexp2l): Likewise.
5642 [C99-based standards] (cexpm1l): Likewise.
5643 [C99-based standards] (clog10l): Likewise.
5644 [C99-based standards] (clog1pl): Likewise.
5645 [C99-based standards] (clog2l): Likewise.
5646 [C99-based standards] (clgammal): Likewise.
5647 [C99-based standards] (ctgammal): Likewise.
5648 * conform/data/inttypes.h-data [C99-based standards]: Include
5649 stdint.h-data. Remove all expectations for stdint.h contents.
5650 [C99-based standards] (PRI*): Do not allow.
5651 [C99-based standards] (SCN*): Likewise.
5652 [C99-based standards] (*_t): Likewise.
5653 [C99-based-standards] (PRId8): Expect macro.
5654 [C99-based-standards] (PRIi8): Likewise.
5655 [C99-based-standards] (PRIo8): Likewise.
5656 [C99-based-standards] (PRIu8): Likewise.
5657 [C99-based-standards] (PRIx8): Likewise.
5658 [C99-based-standards] (PRIX8): Likewise.
5659 [C99-based-standards] (SCNd8): Likewise.
5660 [C99-based-standards] (SCNi8): Likewise.
5661 [C99-based-standards] (SCNo8): Likewise.
5662 [C99-based-standards] (SCNu8): Likewise.
5663 [C99-based-standards] (SCNx8): Likewise.
5664 [C99-based-standards] (PRIdLEAST8): Likewise.
5665 [C99-based-standards] (PRIiLEAST8): Likewise.
5666 [C99-based-standards] (PRIoLEAST8): Likewise.
5667 [C99-based-standards] (PRIuLEAST8): Likewise.
5668 [C99-based-standards] (PRIxLEAST8): Likewise.
5669 [C99-based-standards] (PRIXLEAST8): Likewise.
5670 [C99-based-standards] (SCNdLEAST8): Likewise.
5671 [C99-based-standards] (SCNiLEAST8): Likewise.
5672 [C99-based-standards] (SCNoLEAST8): Likewise.
5673 [C99-based-standards] (SCNuLEAST8): Likewise.
5674 [C99-based-standards] (SCNxLEAST8): Likewise.
5675 [C99-based-standards] (PRIdFAST8): Likewise.
5676 [C99-based-standards] (PRIiFAST8): Likewise.
5677 [C99-based-standards] (PRIoFAST8): Likewise.
5678 [C99-based-standards] (PRIuFAST8): Likewise.
5679 [C99-based-standards] (PRIxFAST8): Likewise.
5680 [C99-based-standards] (PRIXFAST8): Likewise.
5681 [C99-based-standards] (SCNdFAST8): Likewise.
5682 [C99-based-standards] (SCNiFAST8): Likewise.
5683 [C99-based-standards] (SCNoFAST8): Likewise.
5684 [C99-based-standards] (SCNuFAST8): Likewise.
5685 [C99-based-standards] (SCNxFAST8): Likewise.
5686 [C99-based-standards] (PRId16): Likewise.
5687 [C99-based-standards] (PRIi16): Likewise.
5688 [C99-based-standards] (PRIo16): Likewise.
5689 [C99-based-standards] (PRIu16): Likewise.
5690 [C99-based-standards] (PRIx16): Likewise.
5691 [C99-based-standards] (PRIX16): Likewise.
5692 [C99-based-standards] (SCNd16): Likewise.
5693 [C99-based-standards] (SCNi16): Likewise.
5694 [C99-based-standards] (SCNo16): Likewise.
5695 [C99-based-standards] (SCNu16): Likewise.
5696 [C99-based-standards] (SCNx16): Likewise.
5697 [C99-based-standards] (PRIdLEAST16): Likewise.
5698 [C99-based-standards] (PRIiLEAST16): Likewise.
5699 [C99-based-standards] (PRIoLEAST16): Likewise.
5700 [C99-based-standards] (PRIuLEAST16): Likewise.
5701 [C99-based-standards] (PRIxLEAST16): Likewise.
5702 [C99-based-standards] (PRIXLEAST16): Likewise.
5703 [C99-based-standards] (SCNdLEAST16): Likewise.
5704 [C99-based-standards] (SCNiLEAST16): Likewise.
5705 [C99-based-standards] (SCNoLEAST16): Likewise.
5706 [C99-based-standards] (SCNuLEAST16): Likewise.
5707 [C99-based-standards] (SCNxLEAST16): Likewise.
5708 [C99-based-standards] (PRIdFAST16): Likewise.
5709 [C99-based-standards] (PRIiFAST16): Likewise.
5710 [C99-based-standards] (PRIoFAST16): Likewise.
5711 [C99-based-standards] (PRIuFAST16): Likewise.
5712 [C99-based-standards] (PRIxFAST16): Likewise.
5713 [C99-based-standards] (PRIXFAST16): Likewise.
5714 [C99-based-standards] (SCNdFAST16): Likewise.
5715 [C99-based-standards] (SCNiFAST16): Likewise.
5716 [C99-based-standards] (SCNoFAST16): Likewise.
5717 [C99-based-standards] (SCNuFAST16): Likewise.
5718 [C99-based-standards] (SCNxFAST16): Likewise.
5719 [C99-based-standards] (PRId32): Likewise.
5720 [C99-based-standards] (PRIi32): Likewise.
5721 [C99-based-standards] (PRIo32): Likewise.
5722 [C99-based-standards] (PRIu32): Likewise.
5723 [C99-based-standards] (PRIx32): Likewise.
5724 [C99-based-standards] (PRIX32): Likewise.
5725 [C99-based-standards] (SCNd32): Likewise.
5726 [C99-based-standards] (SCNi32): Likewise.
5727 [C99-based-standards] (SCNo32): Likewise.
5728 [C99-based-standards] (SCNu32): Likewise.
5729 [C99-based-standards] (SCNx32): Likewise.
5730 [C99-based-standards] (PRIdLEAST32): Likewise.
5731 [C99-based-standards] (PRIiLEAST32): Likewise.
5732 [C99-based-standards] (PRIoLEAST32): Likewise.
5733 [C99-based-standards] (PRIuLEAST32): Likewise.
5734 [C99-based-standards] (PRIxLEAST32): Likewise.
5735 [C99-based-standards] (PRIXLEAST32): Likewise.
5736 [C99-based-standards] (SCNdLEAST32): Likewise.
5737 [C99-based-standards] (SCNiLEAST32): Likewise.
5738 [C99-based-standards] (SCNoLEAST32): Likewise.
5739 [C99-based-standards] (SCNuLEAST32): Likewise.
5740 [C99-based-standards] (SCNxLEAST32): Likewise.
5741 [C99-based-standards] (PRIdFAST32): Likewise.
5742 [C99-based-standards] (PRIiFAST32): Likewise.
5743 [C99-based-standards] (PRIoFAST32): Likewise.
5744 [C99-based-standards] (PRIuFAST32): Likewise.
5745 [C99-based-standards] (PRIxFAST32): Likewise.
5746 [C99-based-standards] (PRIXFAST32): Likewise.
5747 [C99-based-standards] (SCNdFAST32): Likewise.
5748 [C99-based-standards] (SCNiFAST32): Likewise.
5749 [C99-based-standards] (SCNoFAST32): Likewise.
5750 [C99-based-standards] (SCNuFAST32): Likewise.
5751 [C99-based-standards] (SCNxFAST32): Likewise.
5752 [C99-based-standards] (PRId64): Likewise.
5753 [C99-based-standards] (PRIi64): Likewise.
5754 [C99-based-standards] (PRIo64): Likewise.
5755 [C99-based-standards] (PRIu64): Likewise.
5756 [C99-based-standards] (PRIx64): Likewise.
5757 [C99-based-standards] (PRIX64): Likewise.
5758 [C99-based-standards] (SCNd64): Likewise.
5759 [C99-based-standards] (SCNi64): Likewise.
5760 [C99-based-standards] (SCNo64): Likewise.
5761 [C99-based-standards] (SCNu64): Likewise.
5762 [C99-based-standards] (SCNx64): Likewise.
5763 [C99-based-standards] (PRIdLEAST64): Likewise.
5764 [C99-based-standards] (PRIiLEAST64): Likewise.
5765 [C99-based-standards] (PRIoLEAST64): Likewise.
5766 [C99-based-standards] (PRIuLEAST64): Likewise.
5767 [C99-based-standards] (PRIxLEAST64): Likewise.
5768 [C99-based-standards] (PRIXLEAST64): Likewise.
5769 [C99-based-standards] (SCNdLEAST64): Likewise.
5770 [C99-based-standards] (SCNiLEAST64): Likewise.
5771 [C99-based-standards] (SCNoLEAST64): Likewise.
5772 [C99-based-standards] (SCNuLEAST64): Likewise.
5773 [C99-based-standards] (SCNxLEAST64): Likewise.
5774 [C99-based-standards] (PRIdFAST64): Likewise.
5775 [C99-based-standards] (PRIiFAST64): Likewise.
5776 [C99-based-standards] (PRIoFAST64): Likewise.
5777 [C99-based-standards] (PRIuFAST64): Likewise.
5778 [C99-based-standards] (PRIxFAST64): Likewise.
5779 [C99-based-standards] (PRIXFAST64): Likewise.
5780 [C99-based-standards] (SCNdFAST64): Likewise.
5781 [C99-based-standards] (SCNiFAST64): Likewise.
5782 [C99-based-standards] (SCNoFAST64): Likewise.
5783 [C99-based-standards] (SCNuFAST64): Likewise.
5784 [C99-based-standards] (SCNxFAST64): Likewise.
5785 [C99-based-standards] (PRIdMAX): Likewise.
5786 [C99-based-standards] (PRIiMAX): Likewise.
5787 [C99-based-standards] (PRIoMAX): Likewise.
5788 [C99-based-standards] (PRIuMAX): Likewise.
5789 [C99-based-standards] (PRIxMAX): Likewise.
5790 [C99-based-standards] (PRIXMAX): Likewise.
5791 [C99-based-standards] (SCNdMAX): Likewise.
5792 [C99-based-standards] (SCNiMAX): Likewise.
5793 [C99-based-standards] (SCNoMAX): Likewise.
5794 [C99-based-standards] (SCNuMAX): Likewise.
5795 [C99-based-standards] (SCNxMAX): Likewise.
5796 [C99-based-standards] (PRIdPTR): Likewise.
5797 [C99-based-standards] (PRIiPTR): Likewise.
5798 [C99-based-standards] (PRIoPTR): Likewise.
5799 [C99-based-standards] (PRIuPTR): Likewise.
5800 [C99-based-standards] (PRIxPTR): Likewise.
5801 [C99-based-standards] (PRIXPTR): Likewise.
5802 [C99-based-standards] (SCNdPTR): Likewise.
5803 [C99-based-standards] (SCNiPTR): Likewise.
5804 [C99-based-standards] (SCNoPTR): Likewise.
5805 [C99-based-standards] (SCNuPTR): Likewise.
5806 [C99-based-standards] (SCNxPTR): Likewise.
5807 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5808 allow.
5809 * conform/data/stdint.h-data: Update comments to clarify
5810 requirements.
5811 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5812 type.
5813 [C99-based standards] (INT8_MAX): Likewise.
5814 [C99-based standards] (INT16_MIN): Likewise.
5815 [C99-based standards] (INT16_MAX): Likewise.
5816 [C99-based standards] (INT32_MIN): Likewise.
5817 [C99-based standards] (INT32_MAX): Likewise.
5818 [C99-based standards] (INT64_MIN): Likewise.
5819 [C99-based standards] (INT64_MAX): Likewise.
5820 [C99-based standards] (UINT8_MAX): Likewise.
5821 [C99-based standards] (UINT16_MAX): Likewise.
5822 [C99-based standards] (UINT32_MAX): Likewise.
5823 [C99-based standards] (UINT64_MAX): Likewise.
5824 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5825 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5826 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5827 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5828 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5829 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5830 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5831 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5832 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5833 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5834 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5835 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5836 [C99-based standards] (INT_FAST8_MIN): Likewise.
5837 [C99-based standards] (INT_FAST8_MAX): Likewise.
5838 [C99-based standards] (INT_FAST16_MIN): Likewise.
5839 [C99-based standards] (INT_FAST16_MAX): Likewise.
5840 [C99-based standards] (INT_FAST32_MIN): Likewise.
5841 [C99-based standards] (INT_FAST32_MAX): Likewise.
5842 [C99-based standards] (INT_FAST64_MIN): Likewise.
5843 [C99-based standards] (INT_FAST64_MAX): Likewise.
5844 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5845 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5846 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5847 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5848 [C99-based standards] (INTPTR_MIN): Likewise.
5849 [C99-based standards] (INTPTR_MAX): Likewise.
5850 [C99-based standards] (UINTPTR_MAX): Likewise.
5851 [C99-based standards] (INTMAX_MIN): Likewise.
5852 [C99-based standards] (INTMAX_MAX): Likewise.
5853 [C99-based standards] (UINTMAX_MAX): Likewise.
5854 [C99-based standards] (PTRDIFF_MIN): Likewise.
5855 [C99-based standards] (PTRDIFF_MAX): Likewise.
5856 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5857 [C99-based standards] (SIZE_MAX): Likewise.
5858 [C99-based standards] (WCHAR_MAX): Likewise.
5859 [C99-based standards] (WINT_MAX): Likewise.
5860 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5861 constraint on value.
5862 [C99-based standards] (WCHAR_MIN): Likewise.
5863 [C99-based standards] (WINT_MIN): Likewise.
5864 [C99-based standards] (*_t): Allow.
5865 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5866 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5867 Include math.h-data and complex.h-data. Remove all expectations
5868 of math.h and complex.h contents.
5869 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5870 at end of line.
5871 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5872 (struct tm): Expect tag.
5873 [C99-based-standards] (wcstof): Expect function.
5874 [C99-based-standards] (wcstold): Likewise.
5875 [C99-based-standards] (wcstoll): Likewise.
5876 [C99-based-standards] (wcstoull): Likewise.
5877 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5878 macro-int-constant. Specify type.
5879 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5880 constraint on value.
5881 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5882 Specify type.
5883 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5884 Specify value.
5885 [ISO C standards]: Do not allow headers.
5886 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5887 wcs[abcdefghijklmnopqrstuvwxyz]*.
5888 [ISO C standards] (*_t): Do not allow.
5889 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5890 Expect function.
5891 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5892 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5893 Specify type.
5894 [ISO C standards]: Do not allow headers.
5895 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5896 is[abcdefghijklmnopqrstuvwxyz]*.
5897 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5898 to[abcdefghijklmnopqrstuvwxyz]*.
5899 [ISO C standards] (*_t): Do not allow.
5900 * conform/data/stdalign.h-data: New file.
5901 * conform/data/stdbool.h-data: Likewise.
5902 * conform/data/stdnoreturn.h-data: Likewise.
5903
7514feb8
RM
59042012-11-07 Roland McGrath <roland@hack.frob.com>
5905
5906 [BZ #14815]
5907 * manual/filesys.texi (Directory Entries): Typo fix.
5908 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5909
19b2ecfc
MS
59102012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5911
5912 * elf/elf.h (EM_AARCH64): New macro.
5913 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5914 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5915 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5916 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5917 (R_AARCH64_TLSDESC): Likewise.
5918 (NT_ARM_TLS): Likewise.
5919 (NT_ARM_HW_BREAK): Likewise.
5920 (NT_ARM_HW_WATCH): Likewise.
5921
60e235ee
JM
59222012-11-07 Joseph Myers <joseph@codesourcery.com>
5923
5924 [BZ #14811]
5925 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5926 (__ieee754_powl): Saturate nonzero exponents with absolute value
5927 below 0x1p-79 to +/- 0x1p-79.
5928 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5929 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5930 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5931 nonzero exponents with absolute value below 0x1p-32 to +/-
5932 0x1p-32.
5933 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5934 (__ieee754_powl): Saturate nonzero exponents with absolute value
5935 below 0x1p-79 to +/- 0x1p-79.
5936 * math/libm-test.inc (pow_test): Add more tests.
5937
0ab234b7
AK
59382012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5939
5940 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5941 _dl_s390_cap_flags with kernel. Increase string length.
5942 (_dl_s390_platforms): Add z196 and zEC12.
5943
45832f74
JM
59442012-11-07 Joseph Myers <joseph@codesourcery.com>
5945
5946 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5947 Change XOPEN21K to XOPEN2K.
5948
19218757
MK
59492012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5950
5951 * string/memmove.c: Use memcpy when possible.
5952
c5f45721
AJ
59532012-11-06 Andreas Jaeger <aj@suse.de>
5954
5955 * po/eo.po: Update from translation team.
5956
82477c28
JM
59572012-11-06 Joseph Myers <joseph@codesourcery.com>
5958
5959 [BZ #14793]
5960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5961 exponent and small x and y exponents, scale x or y up. Increase
5962 by 2 the exponent used in scaling up.
5963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5964 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5965 * math/libm-test.inc (fma_test): Add more tests.
5966 (fma_test_towardzero): Likewise.
5967 (fma_test_downward): Likewise.
5968 (fma_test_upward): Likewise.
5969
99252c8c
JM
59702012-11-05 Joseph Myers <joseph@codesourcery.com>
5971
acfa885f
JM
5972 [BZ #14805]
5973 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5974 fenv_t *.
5975
99252c8c
JM
5976 [BZ #14801]
5977 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5978 namespace for names of struct fields.
5979 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5980 fenv_t fields.
5981 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5982 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5983
d6d98dea
ST
59842012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5985
5986 [BZ #3665]
5987 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5988
e10bb107
TS
59892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5990
5991 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5992 PTR_DEMANGLE.
5993
5994 [BZ #5246]
5995 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5996 PTR_DEMANGLE.
5997
a0c2940d
JM
59982012-11-04 Joseph Myers <joseph@codesourcery.com>
5999
6000 [BZ #14797]
6001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6002 definitely overflow as x * y not x * y + z.
6003 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6004 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6005 * math/libm-test.inc (fma_test): Add more tests.
6006 (fma_test_towardzero): Likewise.
6007 (fma_test_downward): Likewise.
6008 (fma_test_upward): Likewise.
6009
b830319d
TS
60102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6011
6012 [BZ #157]
6013
6014 * include/stub-tag.h: Remove file.
6015 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6016 '#include' of it.
6017 * manual/maint.texi (Porting): Don't reference it.
6018 * Makerules ($(objpfx)stubs): Likewise.
6019 * dirent/closedir.c: Don't include <stub-tag.h>.
6020 * dirent/dirfd.c: Likewise.
6021 * dirent/fdopendir.c: Likewise.
6022 * dirent/getdents.c: Likewise.
6023 * dirent/getdents64.c: Likewise.
6024 * dirent/opendir.c: Likewise.
6025 * dirent/readdir.c: Likewise.
6026 * dirent/readdir64.c: Likewise.
6027 * dirent/readdir64_r.c: Likewise.
6028 * dirent/readdir_r.c: Likewise.
6029 * dirent/rewinddir.c: Likewise.
6030 * dirent/seekdir.c: Likewise.
6031 * dirent/telldir.c: Likewise.
6032 * gmon/profil.c: Likewise.
6033 * grp/setgroups.c: Likewise.
6034 * inet/if_index.c: Likewise.
6035 * io/access.c: Likewise.
6036 * io/chdir.c: Likewise.
6037 * io/chmod.c: Likewise.
6038 * io/chown.c: Likewise.
6039 * io/close.c: Likewise.
6040 * io/dup.c: Likewise.
6041 * io/dup2.c: Likewise.
6042 * io/dup3.c: Likewise.
6043 * io/euidaccess.c: Likewise.
6044 * io/faccessat.c: Likewise.
6045 * io/fchdir.c: Likewise.
6046 * io/fchmod.c: Likewise.
6047 * io/fchmodat.c: Likewise.
6048 * io/fchown.c: Likewise.
6049 * io/fchownat.c: Likewise.
6050 * io/fcntl.c: Likewise.
6051 * io/flock.c: Likewise.
6052 * io/fstatfs.c: Likewise.
6053 * io/fstatfs64.c: Likewise.
6054 * io/fstatvfs.c: Likewise.
6055 * io/fstatvfs64.c: Likewise.
6056 * io/futimens.c: Likewise.
6057 * io/fxstat.c: Likewise.
6058 * io/fxstat64.c: Likewise.
6059 * io/fxstatat.c: Likewise.
6060 * io/fxstatat64.c: Likewise.
6061 * io/getcwd.c: Likewise.
6062 * io/isatty.c: Likewise.
6063 * io/lchmod.c: Likewise.
6064 * io/lchown.c: Likewise.
6065 * io/link.c: Likewise.
6066 * io/linkat.c: Likewise.
6067 * io/lseek.c: Likewise.
6068 * io/lseek64.c: Likewise.
6069 * io/lxstat64.c: Likewise.
6070 * io/mkdir.c: Likewise.
6071 * io/mkdirat.c: Likewise.
6072 * io/mkfifo.c: Likewise.
6073 * io/mkfifoat.c: Likewise.
6074 * io/open.c: Likewise.
6075 * io/open64.c: Likewise.
6076 * io/openat.c: Likewise.
6077 * io/openat64.c: Likewise.
6078 * io/pipe.c: Likewise.
6079 * io/pipe2.c: Likewise.
6080 * io/poll.c: Likewise.
6081 * io/posix_fadvise.c: Likewise.
6082 * io/posix_fadvise64.c: Likewise.
6083 * io/posix_fallocate.c: Likewise.
6084 * io/posix_fallocate64.c: Likewise.
6085 * io/read.c: Likewise.
6086 * io/readlink.c: Likewise.
6087 * io/readlinkat.c: Likewise.
6088 * io/rmdir.c: Likewise.
6089 * io/sendfile.c: Likewise.
6090 * io/sendfile64.c: Likewise.
6091 * io/statfs.c: Likewise.
6092 * io/statfs64.c: Likewise.
6093 * io/statvfs.c: Likewise.
6094 * io/statvfs64.c: Likewise.
6095 * io/symlink.c: Likewise.
6096 * io/symlinkat.c: Likewise.
6097 * io/ttyname.c: Likewise.
6098 * io/ttyname_r.c: Likewise.
6099 * io/umask.c: Likewise.
6100 * io/unlink.c: Likewise.
6101 * io/unlinkat.c: Likewise.
6102 * io/utime.c: Likewise.
6103 * io/utimensat.c: Likewise.
6104 * io/write.c: Likewise.
6105 * io/xmknod.c: Likewise.
6106 * io/xmknodat.c: Likewise.
6107 * io/xstat.c: Likewise.
6108 * io/xstat64.c: Likewise.
6109 * login/getpt.c: Likewise.
6110 * login/grantpt.c: Likewise.
6111 * login/unlockpt.c: Likewise.
6112 * math/e_acoshl.c: Likewise.
6113 * math/e_acosl.c: Likewise.
6114 * math/e_asinl.c: Likewise.
6115 * math/e_atan2l.c: Likewise.
6116 * math/e_atanhl.c: Likewise.
6117 * math/e_coshl.c: Likewise.
6118 * math/e_expl.c: Likewise.
6119 * math/e_fmodl.c: Likewise.
6120 * math/e_gammal_r.c: Likewise.
6121 * math/e_hypotl.c: Likewise.
6122 * math/e_j0l.c: Likewise.
6123 * math/e_j1l.c: Likewise.
6124 * math/e_jnl.c: Likewise.
6125 * math/e_lgammal_r.c: Likewise.
6126 * math/e_log10l.c: Likewise.
6127 * math/e_log2l.c: Likewise.
6128 * math/e_logl.c: Likewise.
6129 * math/e_powl.c: Likewise.
6130 * math/e_rem_pio2l.c: Likewise.
6131 * math/e_sinhl.c: Likewise.
6132 * math/e_sqrtl.c: Likewise.
6133 * math/fclrexcpt.c: Likewise.
6134 * math/fedisblxcpt.c: Likewise.
6135 * math/feenablxcpt.c: Likewise.
6136 * math/fegetenv.c: Likewise.
6137 * math/fegetexcept.c: Likewise.
6138 * math/fegetround.c: Likewise.
6139 * math/feholdexcpt.c: Likewise.
6140 * math/fesetenv.c: Likewise.
6141 * math/fesetround.c: Likewise.
6142 * math/feupdateenv.c: Likewise.
6143 * math/fgetexcptflg.c: Likewise.
6144 * math/fraiseexcpt.c: Likewise.
6145 * math/fsetexcptflg.c: Likewise.
6146 * math/ftestexcept.c: Likewise.
6147 * math/k_cosl.c: Likewise.
6148 * math/k_rem_pio2l.c: Likewise.
6149 * math/k_sinl.c: Likewise.
6150 * math/k_tanl.c: Likewise.
6151 * math/s_asinhl.c: Likewise.
6152 * math/s_atanl.c: Likewise.
6153 * math/s_cbrtl.c: Likewise.
6154 * math/s_erfl.c: Likewise.
6155 * math/s_expm1l.c: Likewise.
6156 * math/s_log1pl.c: Likewise.
6157 * math/s_tanhl.c: Likewise.
6158 * misc/acct.c: Likewise.
6159 * misc/brk.c: Likewise.
6160 * misc/chflags.c: Likewise.
6161 * misc/chroot.c: Likewise.
6162 * misc/fchflags.c: Likewise.
6163 * misc/fgetxattr.c: Likewise.
6164 * misc/flistxattr.c: Likewise.
6165 * misc/fremovexattr.c: Likewise.
6166 * misc/fsetxattr.c: Likewise.
6167 * misc/fsync.c: Likewise.
6168 * misc/ftruncate.c: Likewise.
6169 * misc/futimes.c: Likewise.
6170 * misc/futimesat.c: Likewise.
6171 * misc/getdomain.c: Likewise.
6172 * misc/getdtsz.c: Likewise.
6173 * misc/gethostid.c: Likewise.
6174 * misc/gethostname.c: Likewise.
6175 * misc/getloadavg.c: Likewise.
6176 * misc/getpagesize.c: Likewise.
6177 * misc/getsysstats.c: Likewise.
6178 * misc/getxattr.c: Likewise.
6179 * misc/gtty.c: Likewise.
6180 * misc/ioctl.c: Likewise.
6181 * misc/lgetxattr.c: Likewise.
6182 * misc/listxattr.c: Likewise.
6183 * misc/llistxattr.c: Likewise.
6184 * misc/lremovexattr.c: Likewise.
6185 * misc/lsetxattr.c: Likewise.
6186 * misc/lutimes.c: Likewise.
6187 * misc/madvise.c: Likewise.
6188 * misc/mincore.c: Likewise.
6189 * misc/mlock.c: Likewise.
6190 * misc/mlockall.c: Likewise.
6191 * misc/mmap.c: Likewise.
6192 * misc/mprotect.c: Likewise.
6193 * misc/msync.c: Likewise.
6194 * misc/munlock.c: Likewise.
6195 * misc/munlockall.c: Likewise.
6196 * misc/munmap.c: Likewise.
6197 * misc/preadv.c: Likewise.
6198 * misc/preadv64.c: Likewise.
6199 * misc/ptrace.c: Likewise.
6200 * misc/pwritev.c: Likewise.
6201 * misc/pwritev64.c: Likewise.
6202 * misc/readv.c: Likewise.
6203 * misc/reboot.c: Likewise.
6204 * misc/remap_file_pages.c: Likewise.
6205 * misc/removexattr.c: Likewise.
6206 * misc/revoke.c: Likewise.
6207 * misc/select.c: Likewise.
6208 * misc/setdomain.c: Likewise.
6209 * misc/setegid.c: Likewise.
6210 * misc/seteuid.c: Likewise.
6211 * misc/sethostid.c: Likewise.
6212 * misc/sethostname.c: Likewise.
6213 * misc/setregid.c: Likewise.
6214 * misc/setreuid.c: Likewise.
6215 * misc/setxattr.c: Likewise.
6216 * misc/sstk.c: Likewise.
6217 * misc/stty.c: Likewise.
6218 * misc/swapoff.c: Likewise.
6219 * misc/swapon.c: Likewise.
6220 * misc/sync.c: Likewise.
6221 * misc/syncfs.c: Likewise.
6222 * misc/syscall.c: Likewise.
6223 * misc/truncate.c: Likewise.
6224 * misc/ualarm.c: Likewise.
6225 * misc/usleep.c: Likewise.
6226 * misc/ustat.c: Likewise.
6227 * misc/utimes.c: Likewise.
6228 * misc/vhangup.c: Likewise.
6229 * misc/writev.c: Likewise.
6230 * posix/_exit.c: Likewise.
6231 * posix/alarm.c: Likewise.
6232 * posix/execve.c: Likewise.
6233 * posix/fexecve.c: Likewise.
6234 * posix/fork.c: Likewise.
6235 * posix/fpathconf.c: Likewise.
6236 * posix/getaddrinfo.c: Likewise.
6237 * posix/getegid.c: Likewise.
6238 * posix/geteuid.c: Likewise.
6239 * posix/getgid.c: Likewise.
6240 * posix/getgroups.c: Likewise.
6241 * posix/getlogin.c: Likewise.
6242 * posix/getlogin_r.c: Likewise.
6243 * posix/getpgid.c: Likewise.
6244 * posix/getpid.c: Likewise.
6245 * posix/getppid.c: Likewise.
6246 * posix/getresgid.c: Likewise.
6247 * posix/getresuid.c: Likewise.
6248 * posix/getsid.c: Likewise.
6249 * posix/getuid.c: Likewise.
6250 * posix/glob64.c: Likewise.
6251 * posix/nanosleep.c: Likewise.
6252 * posix/pathconf.c: Likewise.
6253 * posix/pause.c: Likewise.
6254 * posix/posix_madvise.c: Likewise.
6255 * posix/pread.c: Likewise.
6256 * posix/pread64.c: Likewise.
6257 * posix/pwrite.c: Likewise.
6258 * posix/pwrite64.c: Likewise.
6259 * posix/sched_getaffinity.c: Likewise.
6260 * posix/sched_getp.c: Likewise.
6261 * posix/sched_gets.c: Likewise.
6262 * posix/sched_primax.c: Likewise.
6263 * posix/sched_primin.c: Likewise.
6264 * posix/sched_rr_gi.c: Likewise.
6265 * posix/sched_setaffinity.c: Likewise.
6266 * posix/sched_setp.c: Likewise.
6267 * posix/sched_sets.c: Likewise.
6268 * posix/sched_yield.c: Likewise.
6269 * posix/setgid.c: Likewise.
6270 * posix/setlogin.c: Likewise.
6271 * posix/setpgid.c: Likewise.
6272 * posix/setresgid.c: Likewise.
6273 * posix/setresuid.c: Likewise.
6274 * posix/setsid.c: Likewise.
6275 * posix/setuid.c: Likewise.
6276 * posix/sleep.c: Likewise.
6277 * posix/spawni.c: Likewise.
6278 * posix/sysconf.c: Likewise.
6279 * posix/times.c: Likewise.
6280 * posix/wait.c: Likewise.
6281 * posix/wait3.c: Likewise.
6282 * posix/wait4.c: Likewise.
6283 * posix/waitpid.c: Likewise.
6284 * resolv/gai_sigqueue.c: Likewise.
6285 * resource/getpriority.c: Likewise.
6286 * resource/getrlimit.c: Likewise.
6287 * resource/getrusage.c: Likewise.
6288 * resource/nice.c: Likewise.
6289 * resource/setpriority.c: Likewise.
6290 * resource/setrlimit.c: Likewise.
6291 * resource/ulimit.c: Likewise.
6292 * rt/aio_cancel.c: Likewise.
6293 * rt/aio_fsync.c: Likewise.
6294 * rt/aio_read.c: Likewise.
6295 * rt/aio_sigqueue.c: Likewise.
6296 * rt/aio_suspend.c: Likewise.
6297 * rt/aio_write.c: Likewise.
6298 * rt/clock_getres.c: Likewise.
6299 * rt/clock_gettime.c: Likewise.
6300 * rt/clock_nanosleep.c: Likewise.
6301 * rt/clock_settime.c: Likewise.
6302 * rt/lio_listio.c: Likewise.
6303 * rt/mq_close.c: Likewise.
6304 * rt/mq_getattr.c: Likewise.
6305 * rt/mq_notify.c: Likewise.
6306 * rt/mq_open.c: Likewise.
6307 * rt/mq_receive.c: Likewise.
6308 * rt/mq_send.c: Likewise.
6309 * rt/mq_setattr.c: Likewise.
6310 * rt/mq_timedreceive.c: Likewise.
6311 * rt/mq_timedsend.c: Likewise.
6312 * rt/mq_unlink.c: Likewise.
6313 * rt/shm_open.c: Likewise.
6314 * rt/shm_unlink.c: Likewise.
6315 * rt/timer_create.c: Likewise.
6316 * rt/timer_delete.c: Likewise.
6317 * rt/timer_getoverr.c: Likewise.
6318 * rt/timer_gettime.c: Likewise.
6319 * rt/timer_settime.c: Likewise.
6320 * setjmp/__longjmp.c: Likewise.
6321 * setjmp/setjmp.c: Likewise.
6322 * signal/kill.c: Likewise.
6323 * signal/killpg.c: Likewise.
6324 * signal/raise.c: Likewise.
6325 * signal/sigaction.c: Likewise.
6326 * signal/sigaltstack.c: Likewise.
6327 * signal/sigblock.c: Likewise.
6328 * signal/sigignore.c: Likewise.
6329 * signal/sigintr.c: Likewise.
6330 * signal/signal.c: Likewise.
6331 * signal/sigpause.c: Likewise.
6332 * signal/sigpending.c: Likewise.
6333 * signal/sigqueue.c: Likewise.
6334 * signal/sigreturn.c: Likewise.
6335 * signal/sigset.c: Likewise.
6336 * signal/sigsetmask.c: Likewise.
6337 * signal/sigstack.c: Likewise.
6338 * signal/sigsuspend.c: Likewise.
6339 * signal/sigtimedwait.c: Likewise.
6340 * signal/sigvec.c: Likewise.
6341 * signal/sigwait.c: Likewise.
6342 * signal/sigwaitinfo.c: Likewise.
6343 * signal/sysv_signal.c: Likewise.
6344 * socket/accept.c: Likewise.
6345 * socket/accept4.c: Likewise.
6346 * socket/bind.c: Likewise.
6347 * socket/connect.c: Likewise.
6348 * socket/getpeername.c: Likewise.
6349 * socket/getsockname.c: Likewise.
6350 * socket/getsockopt.c: Likewise.
6351 * socket/isfdtype.c: Likewise.
6352 * socket/listen.c: Likewise.
6353 * socket/recv.c: Likewise.
6354 * socket/recvfrom.c: Likewise.
6355 * socket/recvmsg.c: Likewise.
6356 * socket/send.c: Likewise.
6357 * socket/sendmsg.c: Likewise.
6358 * socket/sendto.c: Likewise.
6359 * socket/setsockopt.c: Likewise.
6360 * socket/shutdown.c: Likewise.
6361 * socket/sockatmark.c: Likewise.
6362 * socket/socket.c: Likewise.
6363 * socket/socketpair.c: Likewise.
6364 * stdio-common/ctermid.c: Likewise.
6365 * stdio-common/cuserid.c: Likewise.
6366 * stdio-common/remove.c: Likewise.
6367 * stdio-common/rename.c: Likewise.
6368 * stdio-common/renameat.c: Likewise.
6369 * stdio-common/tempname.c: Likewise.
6370 * stdlib/getcontext.c: Likewise.
6371 * stdlib/makecontext.c: Likewise.
6372 * stdlib/setcontext.c: Likewise.
6373 * stdlib/swapcontext.c: Likewise.
6374 * stdlib/system.c: Likewise.
6375 * streams/fattach.c: Likewise.
6376 * streams/fdetach.c: Likewise.
6377 * streams/getmsg.c: Likewise.
6378 * streams/getpmsg.c: Likewise.
6379 * streams/putmsg.c: Likewise.
6380 * streams/putpmsg.c: Likewise.
6381 * sysdeps/unix/bsd/getpt.c: Likewise.
6382 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6383 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6384 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6386 Likewise.
6387 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6388 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6389 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6390 * sysvipc/msgctl.c: Likewise.
6391 * sysvipc/msgget.c: Likewise.
6392 * sysvipc/msgrcv.c: Likewise.
6393 * sysvipc/msgsnd.c: Likewise.
6394 * sysvipc/semctl.c: Likewise.
6395 * sysvipc/semget.c: Likewise.
6396 * sysvipc/semop.c: Likewise.
6397 * sysvipc/semtimedop.c: Likewise.
6398 * sysvipc/shmat.c: Likewise.
6399 * sysvipc/shmctl.c: Likewise.
6400 * sysvipc/shmdt.c: Likewise.
6401 * sysvipc/shmget.c: Likewise.
6402 * termios/tcdrain.c: Likewise.
6403 * termios/tcflow.c: Likewise.
6404 * termios/tcflush.c: Likewise.
6405 * termios/tcgetattr.c: Likewise.
6406 * termios/tcgetpgrp.c: Likewise.
6407 * termios/tcsendbrk.c: Likewise.
6408 * termios/tcsetattr.c: Likewise.
6409 * termios/tcsetpgrp.c: Likewise.
6410 * time/adjtime.c: Likewise.
6411 * time/clock.c: Likewise.
6412 * time/getitimer.c: Likewise.
6413 * time/gettimeofday.c: Likewise.
6414 * time/setitimer.c: Likewise.
6415 * time/settimeofday.c: Likewise.
6416 * time/stime.c: Likewise.
6417 * time/time.c: Likewise.
6418
64192012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6420
a20492cf
PT
6421 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6422 /usr/old/bin.
6423
72e182e3
PT
6424 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6425 instead of spaces.
6426 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6427
fbeafede
JM
64282012-11-03 Joseph Myers <joseph@codesourcery.com>
6429
5b5b04d6
JM
6430 [BZ #14796]
6431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6432 FE_TONEAREST before applying Dekker multiplication and Knuth
6433 addition. Clear inexact exceptions and check for exact zero
6434 results afterwards.
6435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6438 * math/libm-test.inc (fma_test): Add more tests.
6439 (fma_test_towardzero): Likewise.
6440 (fma_test_downward): Likewise.
6441 (fma_test_upward): Likewise.
6442 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6443 function.
6444 (libc_fesetround): New macro.
6445 (libc_fesetroundf): Likewise.
6446 (libc_fesetroundl): Likewise.
6447 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6448 function.
6449 (libc_fesetround_387): Likewise.
6450 (libc_fesetroundf): New macro.
6451 (libc_fesetround): Likewise.
6452 (libc_fesetroundl): Likewise.
6453 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6454 function.
6455 (libc_fesetroundf): New macro.
6456 (libc_fesetround): Likewise.
6457 (libc_fesetroundl): Likewise.
6458 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6459 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6460 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6461 libm_hidden_ver.
6462 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6463 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6464 libm_hidden_def.
6465 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6466 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6467 libm_hidden_ver.
6468 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6469 libm_hidden_def.
6470
fbeafede
JM
6471 [BZ #3439]
6472 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6473 integer constant usable in #if and use that to give value to enum
6474 constant.
6475 (FE_DIVBYZERO): Likewise.
6476 (FE_UNDERFLOW): Likewise.
6477 (FE_OVERFLOW): Likewise.
6478 (FE_INVALID): Likewise.
6479 (FE_INVALID_SNAN): Likewise.
6480 (FE_INVALID_ISI): Likewise.
6481 (FE_INVALID_IDI): Likewise.
6482 (FE_INVALID_ZDZ): Likewise.
6483 (FE_INVALID_IMZ): Likewise.
6484 (FE_INVALID_COMPARE): Likewise.
6485 (FE_INVALID_SOFTWARE): Likewise.
6486 (FE_INVALID_SQRT): Likewise.
6487 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6488 (FE_TONEAREST): Likewise.
6489 (FE_TOWARDZERO): Likewise.
6490 (FE_UPWARD): Likewise.
6491 (FE_DOWNWARD): Likewise.
6492 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6493 (FE_DIVBYZERO): Likewise.
6494 (FE_OVERFLOW): Likewise.
6495 (FE_UNDERFLOW): Likewise.
6496 (FE_INEXACT): Likewise.
6497 (FE_TONEAREST): Likewise.
6498 (FE_DOWNWARD): Likewise.
6499 (FE_UPWARD): Likewise.
6500 (FE_TOWARDZERO): Likewise.
6501 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6502 (FE_UNDERFLOW): Likewise.
6503 (FE_OVERFLOW): Likewise.
6504 (FE_DIVBYZERO): Likewise.
6505 (FE_INVALID): Likewise.
6506 (FE_TONEAREST): Likewise.
6507 (FE_TOWARDZERO): Likewise.
6508 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6509 (FE_OVERFLOW): Likewise.
6510 (FE_UNDERFLOW): Likewise.
6511 (FE_DIVBYZERO): Likewise.
6512 (FE_INEXACT): Likewise.
6513 (FE_TONEAREST): Likewise.
6514 (FE_TOWARDZERO): Likewise.
6515 (FE_UPWARD): Likewise.
6516 (FE_DOWNWARD): Likewise.
6517 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6518 (FE_DIVBYZERO): Likewise.
6519 (FE_OVERFLOW): Likewise.
6520 (FE_UNDERFLOW): Likewise.
6521 (FE_INEXACT): Likewise.
6522 (FE_TONEAREST): Likewise.
6523 (FE_DOWNWARD): Likewise.
6524 (FE_UPWARD): Likewise.
6525 (FE_TOWARDZERO): Likewise.
6526
105ca950
CM
65272012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6528
6529 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6530
a542b389
AS
65312012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6532
6533 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6534 commands. Quote $PWD.
6535 (blacklist_exports): Don't use remove_newlines. Replace "declare
6536 -x" by "export".
6537 (remove_newlines): Remove.
6538
f62c8abc
L
65392012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6540
6541 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6542 * stdlib/stdlib.h (atof): Moved to ...
6543 * include/bits/stdlib-float.h: Here. New file.
6544 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6545 * stdlib/bits/stdlib-float.h: New file.
6546 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6547 -mno-sse -mno-mmx.
6548 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6549 <xmmintrin.h>.
6550
0155d5b2
JM
65512012-11-02 Joseph Myers <joseph@codesourcery.com>
6552
a68d0680
JM
6553 * conform/conformtest.pl (@headers): Add fenv.h.
6554 * conform/data/fenv.h-data: New file.
6555 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6556 include of <math/fenv.h>.
6557
caf7f573
JM
6558 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6559 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6560 && !UNIX98]. Enables tests for XOPEN2K8.
6561 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6562 POSIX2008]: Likewise.
6563
6c073ad6
JM
6564 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6565 (struct rusage): Do not expect type or its members.
6566
0155d5b2
JM
6567 [BZ #3439]
6568 * math/math.h (FP_NAN): Define macro to integer constant usable in
6569 #if and use that to give value to enum constant.
6570 (FP_INFINITE): Likewise.
6571 (FP_ZERO): Likewise.
6572 (FP_SUBNORMAL): Likewise.
6573 (FP_NORMAL): Likewise.
6574
b5dcacb4
AS
65752012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6576
6577 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6578 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6579 arguments.
6580
f7934be8
RM
65812012-11-02 Roland McGrath <roland@hack.frob.com>
6582
6583 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6584 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6585 autoconf-time if not.
6586 * configure.in: Remove AC_PREREQ.
6587
d7d08bde
TMQMF
65882012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6589
6590 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6591 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6592 of the internal implementation.
6593
dcdae19a
JM
65942012-11-02 Joseph Myers <joseph@codesourcery.com>
6595
6596 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6597 except include of <misc/sys/syslog.h>.
6598
d6cffd3e
AS
65992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6600
6601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6602 function returns with a NULL context exit with zero.
6603
b3563932
TMQMF
66042012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6605
6606 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6607
b288a93d
L
66082012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6609
6610 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6611 (run_program_cmd): This.
6612 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6613 (tst_langinfo): New variable. Use it.
6614
a2421a68
SAS
66152012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6616
6617 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6618 floating point opcodes.
6619
6f796e1b
TS
66202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6621
7402596b
TS
6622 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6623 variable.
6624
d0d4f868
TS
6625 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6626
6f796e1b
TS
6627 * sysdeps/mach/hurd/powerpc: Remove directory.
6628 * sysdeps/mach/powerpc: Likewise.
6629
4da224a2
AS
66302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6631
6632 * scripts/check-local-headers.sh: Ignore c++ headers.
6633
341dd673
TS
66342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6635
6636 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6637 __libc_cleanup_region_start argument.
6638
473611b2
JM
66392012-11-01 Joseph Myers <joseph@codesourcery.com>
6640
6641 [BZ #14784]
6642 [BZ #14785]
6643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6644 x * y using scaling, not as x * y + z.
6645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6647 * math/libm-test.inc (fma_test): Add more tests.
6648 (fma_test_towardzero): Likewise.
6649 (fma_test_downward): Likewise.
6650 (fma_test_upward): Likewise.
6651
4078da3d
TS
66522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6653
6654 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6655
903252aa
JM
66562012-10-31 Joseph Myers <joseph@codesourcery.com>
6657
6658 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6659 New variable.
6660
cbc818d0
TS
66612012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6662
6663 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6664
5a03cb1e
AS
66652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6666
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6668 Fix sort order.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6670 Likewise.
6671
90aff2ff
TMQMF
66722012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6673
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6675 Fix the order of the list for glibc 2.17.
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6677 Likewise.
6678
1818fcb7
AS
66792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6680
6681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6682
ef82f4da
JM
66832012-10-31 Joseph Myers <joseph@codesourcery.com>
6684
16a0e2ec
JM
6685 [BZ #14610]
6686 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6687 for low part of x being zero before using __atanl (y).
6688 * math/libm-test.inc (atan2_test): Add another test.
6689
0eb69512
JM
6690 * manual/install.texi (Configuring and compiling): Document
6691 general use of test-wrapper and test-wrapper-env.
6692 * INSTALL: Regenerated.
6693
ef82f4da
JM
6694 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6695 (__fma): Do not extract and scale down low bits on after-rounding
6696 systems when result rounded to normal precision would have normal
6697 exponent.
6698 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6699 (__fmal): Do not extract and scale down low bits on after-rounding
6700 systems when result rounded to normal precision would have normal
6701 exponent.
6702 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6703 (__fmal): Do not extract and scale down low bits on after-rounding
6704 systems when result rounded to normal precision would have normal
6705 exponent.
6706 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6707 macro.
6708 (fma_test): Add more tests.
6709 (fma_test_towardzero): Likewise.
6710 (fma_test_downward): Likewise.
6711 (fma_test_upward): Likewise.
6712
954ef0d9
L
67132012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6714
6715 * sysdeps/i386/tininess.h: Renamed to ...
6716 * sysdeps/x86/tininess.h: This.
6717 * sysdeps/x86_64/tininess.h: Removed.
6718
df61ffb2
JM
67192012-10-30 Joseph Myers <joseph@codesourcery.com>
6720
6721 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6722 input. Use $(build-program-cmd).
6723 ($(objpfx)tst-array1-static.out): Likewise.
6724 ($(objpfx)tst-array2.out): Likewise.
6725 ($(objpfx)tst-array3.out): Likewise.
6726 ($(objpfx)tst-array4.out): Likewise.
6727 ($(objpfx)tst-array5.out): Likewise.
6728 ($(objpfx)tst-array5-static.out): Likewise.
6729
01767843
CM
67302012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6731
47cc1490
CM
6732 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6733 if defined.
6734
01767843
CM
6735 * nss/nsswitch.h (nss_interface_function): Provide new
6736 macro for use with NSS functions.
6737 * grp/initgroups.c: Use new macro.
6738 * nss/getXXbyYY.c: Likewise.
6739 * nss/getXXbyYY_r.c: Likewise.
6740 * nss/getXXent.c: Likewise.
6741 * nss/getXXent_r.c: Likewise.
6742 * sysdeps/posix/getaddrinfo.c: Likewise.
6743
8321aa97
AJ
67442012-10-30 Andreas Jaeger <aj@suse.de>
6745
6746 * po/ru.po: Update Russion translation from translation project.
6747
2a27fd6d
JM
67482012-10-30 Joseph Myers <joseph@codesourcery.com>
6749
8627a232
JM
6750 [BZ #14152]
6751 [BZ #14783]
6752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6753 result and shift together with sticky bit instead of replicating
6754 round-to-nearest rounding.
6755 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6756 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6757 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6758 missing underflow exceptions.
6759 (fma_test_towardzero): Add more tests.
6760 (fma_test_downward): Likewise.
6761 (fma_test_upward): Likewise.
6762
2a27fd6d
JM
6763 [BZ #14047]
6764 * sysdeps/generic/tininess.h: New file.
6765 * sysdeps/i386/tininess.h: Likewise.
6766 * sysdeps/sh/tininess.h: Likewise.
6767 * sysdeps/x86_64/tininess.h: Likewise.
6768 * stdlib/tst-strtod-underflow.c: Likewise.
6769 * stdlib/tst-tininess.c: Likewise.
6770 * stdlib/strtod_l.c: Include <tininess.h>.
6771 (round_and_return): Do not set errno for exact underflow cases.
6772 Force an underflow exception when setting errno for underflow.
6773 Determine underflow based on rounding to normal precision if
6774 TININESS_AFTER_ROUNDING.
6775 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6776 ERANGE for exact underflow cases.
6777 * stdlib/Makefile (tests): Add tst-tininess and
6778 tst-strtod-underflow.
6779 ($(objpfx)tst-tininess): Use $(link-libm).
6780 ($(objpfx)tst-strtod-underflow): Likewise.
6781
e7170363
AJ
67822012-10-30 Andreas Jaeger <aj@suse.de>
6783
e5088dc6
AJ
6784 [BZ#14767]
6785 * elf/Makefile (tests): Remove conditional for have-initfini-array
6786 since this is now always required and the variable does not exist
6787 anymore.
6788 (tests-static): Likewise.
6789 (modules-names): Likewise.
6790
e7170363 6791 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6792
6793 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6794 merged with constructor/destructor.
6795 (init_array): Likewise.
6796 * elf/tst-array2dep.c (fini_array): Likewise.
6797 (init_array): Likewise.
6798
60457d8a
MF
67992012-10-29 Mike Frysinger <vapier@gentoo.org>
6800
6801 * manual/message.texi: Delete @cartouche tags.
6802
8bece752
PT
68032012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6804
94ce799f
PT
6805 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6806 EOPNOTSUPP.
6807 * sysdeps/mach/hurd/fsync.c: Likewise.
6808
8bece752
PT
6809 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6810 [_POSIX_REALTIME_SIGNALS]: Change condition to
6811 [_POSIX_REALTIME_SIGNALS > 0].
6812
86ebe6b1
AJ
68132012-10-27 Andreas Jaeger <aj@suse.de>
6814
6815 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6816 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6818 [__WORDSIZE != 64]: Likewise.
6819
54399c08
L
68202012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6821
6822 * iconvdata/tst-table.sh: Remove ${SHELL}.
6823 * iconvdata/tst-tables.sh: Likewise.
6824
e2211bed
DM
68252012-10-25 David S. Miller <davem@davemloft.net>
6826
6827 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6828 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6829 of strtoull.
6830
f303f97c
DM
6831 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6832 ifunc-impl-list.c
6833 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6834 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6835 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6836 file.
6837
1e9d84cd
RM
68382012-10-25 Roland McGrath <roland@hack.frob.com>
6839
6840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6841 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6842 __getdirentries.
6843
df381762
JM
68442012-10-25 Joseph Myers <joseph@codesourcery.com>
6845 Jim Blandy <jimb@codesourcery.com>
6846
6847 * scripts/cross-test-ssh.sh: New file.
6848 * manual/install.texi (Configuring and compiling): Document use of
6849 cross-test-ssh.sh.
6850 * INSTALL: Regenerated.
6851
bff64913
PT
68522012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6853
6854 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6855 EOPNOTSUPP.
6856
25fe8932
JM
68572012-10-25 Joseph Myers <joseph@codesourcery.com>
6858
6859 * Makeconfig (run-program-prefix): Fix comment.
6860
cc1290d0
JM
68612012-10-24 Joseph Myers <joseph@codesourcery.com>
6862 Jim Blandy <jimb@codesourcery.com>
6863
6864 * Makeconfig (test-wrapper): New variable,
6865 (test-wrapper-env): Likewise.
6866 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6867 (run-built-tests): Define to yes.
6868 (run-program-prefix): Use $(test-wrapper).
6869 (built-program-cmd): Likewise.
6870 * Rules (make-test-out): Use $(test-wrapper-env) and
6871 $(host-built-program-cmd).
6872 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6873 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6874 tst-pathopt.sh.
6875 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6876 $(test-wrapper-env) to tst-rtld-load-self.sh.
6877 ($(objpfx)order2.out): Use $(test-wrapper).
6878 ($(objpfx)tst-initorder.out): Likewise.
6879 ($(objpfx)tst-initorder2.out): Likewise.
6880 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6881 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6882 (test_wrapper_env): New variable. Use it to run ld.so.
6883 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6884 Use it to run ld.so.
6885 (test_wrapper_env): Likewise.
6886 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6887 $(test-wrapper) to run-iconv-test.sh.
6888 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6889 (ICONV): Use $test_wrapper.
6890 * posix/Makefile ($(objpfx)globtest.out): Pass
6891 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6892 globtest.sh, not $(run-program-prefix).
6893 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6894 (test_wrapper): Likewise.
6895 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6896 set together with run_via_rtld_prefix.
6897 (run_program_prefix): Define in terms of test_wrapper and
6898 run_via_rtld_prefix.
6899
6e6249d0
RM
69002012-10-24 Roland McGrath <roland@hack.frob.com>
6901
6902 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6903 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6904 Targets removed.
6905
6906 [BZ #14743]
6907 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6908 Declare __clock_getres, __clock_gettime, __clock_settime,
6909 __clock_nanosleep, and __clock_getcpuclockid.
6910 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6911 Remove librt_hidden_def (clock_gettime).
6912 * sysdeps/unix/clock_gettime.c: Likewise.
6913 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6914 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6915 * rt/clock_getres.c: Define __clock_getres as an alias.
6916 * sysdeps/posix/clock_getres.c: Likewise.
6917 * rt/clock_settime.c: Define __clock_settime as an alias.
6918 * sysdeps/unix/clock_settime.c: Likewise.
6919 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6920 * sysdeps/unix/clock_nanosleep.c: Likewise.
6921 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6922 * rt/clock-compat.c: New file.
6923 * rt/Makefile (librt-routines): Add clock-compat and move
6924 $(clock-routines) to ...
6925 (routines): ... here, new variable.
6926 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6927 Don't add get_clockfreq here.
6928 * rt/Versions (libc: GLIBC_2.17): New version set.
6929 Add clock_* symbols here.
6930 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6932 (GLIBC_2.17): Add clock_* symbols.
6933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6937 Likewise.
6938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6939 Likewise.
6940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6944 * NEWS: Mention the move.
6945
6946 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6947 Use __open, __read, __close rather than their public counterparts.
6948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6949 (__get_clockfreq_via_cpuinfo): Likewise.
6950 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6951 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6952
6953 * config.h.in (HAVE_IFUNC): New #undef.
6954 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6955 was successful.
6956 * configure: Regenerated.
6957
0cae3f4b
MF
69582012-10-24 Mike Frysinger <vapier@gentoo.org>
6959
6960 * configure.in: Move READELF check to start of file.
6961 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6962 libc_cv_asm_gnu_indirect_function in the process.
6963 * configure: Regenerated.
6964
8175a253
MF
69652012-10-24 Mike Frysinger <vapier@gentoo.org>
6966
6967 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6968 send the output to /dev/null.
6969 (libc_cv_cc_with_libunwind): Likewise.
6970 (libc_cv_as_noexecstack): Likewise.
6971 * configure: Regenerate.
6972
0708a7d1
JM
69732012-10-24 Joseph Myers <joseph@codesourcery.com>
6974
10b40d85
JM
6975 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6976
0708a7d1
JM
6977 * posix/globtest.sh (TMPDIR): Do not set.
6978 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6979 (testout): Likewise.
6980
9fddec1a
AJ
69812012-10-24 Andreas Jaeger <aj@suse.de>
6982
3a8db22f
AJ
6983 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6984 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6985 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6986 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6987 posix_fadvise64, posix_fallocate64.
6988
9fddec1a
AJ
6989 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6990 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6991 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6992 Likewise.
6993 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6994 Likewise.
6995 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6996
6997 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6998 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6999 <bits/fcntl-linux.h>.
7000 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7001
7002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7003 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7004 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7005 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7006 [__WORDSIZE != 64]: Likewise.
7007
ebfd1bbd
JM
70082012-10-23 Joseph Myers <joseph@codesourcery.com>
7009
03ac099f
JM
7010 * Makeconfig (run-built-tests): New variable.
7011 * Rules [$(cross-compiling) = yes]: Change condition to
7012 [$(run-built-tests) = no].
7013 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7014 to [$(run-built-tests) = yes].
7015 * elf/Makefile [$(cross-compiling) = no]: Likewise
7016 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7017 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7018 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7019 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7020 * io/Makefile [$(cross-compiling) = no]: Likewise.
7021 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7022 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7023 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7024 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7025 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7026 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7027 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7028 * string/Makefile [$(cross-compiling) = no]: Likewise.
7029
ebfd1bbd
JM
7030 * posix/Makefile ($(objpfx)globtest.out): Pass
7031 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7032 $(rtld-installed-name).
7033 * posix/globtest.sh (elf_objpfx): Remove variable.
7034 (rtld_installed_name): Likewise.
7035 (library_path): Likewise.
7036 (run_program_prefix): New variable. Use for running globtest
7037 binary.
7038
166bca24
JB
70392012-10-23 Jim Blandy <jimb@codesourcery.com>
7040 Joseph Myers <joseph@codesourcery.com>
7041
7042 * Makeconfig (host-built-program-cmd): New variable.
7043 * elf/Makefile (tst-stackguard1-ARGS): Use
7044 $(host-built-program-cmd).
7045 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7046 (tst-spawn-ARGS): Likewise.
7047 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7048
88866099
JM
70492012-10-23 Joseph Myers <joseph@codesourcery.com>
7050 Jim Blandy <jimb@codesourcery.com>
7051
7052 * Makeconfig (run-via-rtld-prefix): New variable.
7053 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7054 (built-program-cmd): Likewise.
7055
b4b4c296
AJ
70562012-10-22 Andreas Jaeger <aj@suse.de>
7057
7058 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7059 __O_RSYNC if it exists, otherwise to O_SYNC.
7060
6fb54a22
JB
70612012-10-22 Jim Blandy <jimb@codesourcery.com>
7062 Joseph Myers <joseph@codesourcery.com>
7063
7064 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7065 /dev/null.
7066 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7067 from /dev/null
7068 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7069 /dev/null.
7070
481b90b9
AJ
70712012-10-22 Andreas Jaeger <aj@suse.de>
7072
2a0e2669
AJ
7073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7074 Define always.
7075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7076
76e38f9a
AJ
7077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7078 bits/fcntl-linux.h.
7079
7cd37b43
AJ
7080 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7081 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7082
481b90b9
AJ
7083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7084 to __O_LARGEFILE.
7085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7086 to __O_LARGEFILE.
7087
aba75984
JB
70882012-10-21 Jim Blandy <jimb@codesourcery.com>
7089 Joseph Myers <joseph@codesourcery.com>
7090
7091 * config.make.in (NM): New variable.
7092
88d4247f
AJ
70932012-10-21 Andreas Jaeger <aj@suse.de>
7094
7095 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7096 definitions and declarations that are provided by
7097 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7098
f2eed205
L
70992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7100
7101 [BZ #14683]
7102 * elf/Makefile (tests-static): Add tst-leaks1-static.
7103 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7104 ($(objpfx)tst-leaks1-static): New rule.
7105 ($(objpfx)tst-leaks1-static-mem): Likewise.
7106 (tst-leaks1-static-ENV): New macro.
7107 * elf/dl-open.c (dl_open_worker): Check the main application
7108 only if SHARED is defined.
7109 * elf/tst-leaks1-static.c: New file.
7110
335e6931
AJ
71112012-10-20 Andreas Jaeger <aj@suse.de>
7112
7113 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7114 generic values for Linux.
7115 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7116 and declarations that are provided by <bits/fcntl-linux.h> and
7117 include <bits/fcntl-linux.h>.
7118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7120
ac5c94d3
RM
71212012-10-20 Roland McGrath <roland@hack.frob.com>
7122
7123 * io/fcntl.h: Move include of <bits/types.h> to the top and
7124 include it unconditionally.
7125
de54b33a
L
71262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7127
228cfb01
L
7128 * wcsmbs/Makefile (tests-ifunc): New variable.
7129 (tests): Add $(tests-ifunc).
7130 * wcsmbs/test-wcschr-ifunc.c: New file.
7131 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7132 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7133 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7134 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7135 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7136
69f07e5f
L
7137 * string/Makefile (tests-ifunc): New variable.
7138 (tests): Add $(tests-ifunc).
7139 * string/test-memccpy.c (TEST_NAME): New macro.
7140 * string/test-memchr.c (TEST_NAME): Likewise.
7141 * string/test-memcmp.c (TEST_NAME): Likewise.
7142 * string/test-memcpy.c (TEST_NAME): Likewise.
7143 * string/test-memmem.c (TEST_NAME): Likewise.
7144 * string/test-memmove.c (TEST_NAME): Likewise.
7145 * string/test-memset.c (TEST_NAME): Likewise.
7146 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7147 * string/test-stpcpy.c (TEST_NAME): Likewise.
7148 * string/test-stpncpy.c (TEST_NAME): Likewise.
7149 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7150 * string/test-strcasestr.c (TEST_NAME): Likewise.
7151 * string/test-strcat.c (TEST_NAME): Likewise.
7152 * string/test-strchr.c (TEST_NAME): Likewise.
7153 * string/test-strcmp.c(TEST_NAME): Likewise.
7154 * string/test-strcpy.c (TEST_NAME): Likewise.
7155 * string/test-strcspn.c (TEST_NAME): Likewise.
7156 * string/test-strlen.c (TEST_NAME): Likewise.
7157 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7158 * string/test-strncmp.c (TEST_NAME): Likewise.
7159 * string/test-strncpy.c (TEST_NAME): Likewise.
7160 * string/test-strnlen.c (TEST_NAME): Likewise.
7161 * string/test-strpbrk.c (TEST_NAME): Likewise.
7162 * string/test-strrchr.c (TEST_NAME): Likewise.
7163 * string/test-strspn.c (TEST_NAME): Likewise.
7164 * string/test-strstr.c (TEST_NAME): Likewise.
7165 * string/test-bcopy-ifunc.c: New file.
7166 * string/test-bzero-ifunc.c: Likewise.
7167 * string/test-memccpy-ifunc.c: Likewise.
7168 * string/test-memchr-ifunc.c: Likewise.
7169 * string/test-memcmp-ifunc.c: Likewise.
7170 * string/test-memcpy-ifunc.c: Likewise.
7171 * string/test-memmem-ifunc.c: Likewise.
7172 * string/test-memmove-ifunc.c: Likewise.
7173 * string/test-mempcpy-ifunc.c: Likewise.
7174 * string/test-memset-ifunc.c: Likewise.
7175 * string/test-rawmemchr-ifunc.c: Likewise.
7176 * string/test-stpcpy-ifunc.c: Likewise.
7177 * string/test-stpncpy-ifunc.c: Likewise.
7178 * string/test-strcasecmp-ifunc.c: Likewise.
7179 * string/test-strcasestr-ifunc.c: Likewise.
7180 * string/test-strcat-ifunc.c: Likewise.
7181 * string/test-strchr-ifunc.c: Likewise.
7182 * string/test-strchrnul-ifunc.c: Likewise.
7183 * string/test-strcmp-ifunc.c: Likewise.
7184 * string/test-strcpy-ifunc.c: Likewise.
7185 * string/test-strcspn-ifunc.c: Likewise.
7186 * string/test-strlen-ifunc.c: Likewise.
7187 * string/test-strncasecmp-ifunc.c: Likewise.
7188 * string/test-strncat-ifunc.c: Likewise.
7189 * string/test-strncmp-ifunc.c: Likewise.
7190 * string/test-strncpy-ifunc.c: Likewise.
7191 * string/test-strnlen-ifunc.c: Likewise.
7192 * string/test-strpbrk-ifunc.c: Likewise.
7193 * string/test-strrchr-ifunc.c: Likewise.
7194 * string/test-strspn-ifunc.c: Likewise.
7195 * string/test-strstr-ifunc.c: Likewise.
7196
de54b33a
L
7197 * debug/Makefile (tests-ifunc): New variable.
7198 (tests): Add $(tests-ifunc).
7199 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7200 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7201 * debug/test-stpcpy_chk-ifunc.c: New file.
7202 * debug/test-strcpy_chk-ifunc.c: Likewise.
7203
88481c16
SP
72042012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7205
7206 [BZ #13601]
7207 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7208 header is not read in.
7209
135948bd
JM
72102012-10-19 Joseph Myers <joseph@codesourcery.com>
7211
89f1c388
JM
7212 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7213 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7214 directly. Pass built executable to script as
7215 $(built-program-cmd).
7216 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7217 $testprogram without using LD_LIBRARY_PATH and $ldso.
7218
e40a0d21
JM
7219 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7220 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7221 $(rtld-installed-name).
7222 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7223 (rtld_installed_name): Likewise.
7224 (library_path): Likewise.
7225 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7226 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7227 $(run-program-prefix) to tst-tables.sh.
7228 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7229 it to run tst-table-from and tst-table-to.
7230 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7231 Pass it to tst-table.sh.
7232 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7233 $(run-program-prefix) to tst-gettext.sh.
7234 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7235 tst-translit.sh.
7236 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7237 tst-gettext2.sh.
7238 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7239 to run tst-gettext.
7240 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7241 to run tst-gettext2.
7242 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7243 to run tst-translit.
7244 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7245 $(run-program-prefix) to tst-mtrace.sh.
7246 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7247 to run tst-mtrace.
7248 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7249 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7250 $(rtld-installed-name).
7251 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7252 (rtld_installed_name): Likewise.
7253 (run_program_prefix): New variable. Use it to run wordexp-test.
7254
728e272a
JM
7255 * Makeconfig (ARCH): Remove all definitions.
7256 (machine): Likewise.
7257 [ARCH]: Remove conditional code.
7258 [!objdir]: Give error.
7259 [!objdir] (objpfx): Remove.
7260 [!objdir] (common-objpfx): Likewise.
7261 [!objdir] (common-objdir): Likewise.
7262 * configure.in (config_makefile): Remove. Hardcode Makefile in
7263 AC_CONFIG_FILES call.
7264 * configure: Regenerated.
7265
d528cdcf
JM
7266 [BZ #13888]
7267 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7268 or TMPDIR.
7269 (testout): Likewise.
7270
135948bd
JM
7271 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7272 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7273 $(rtld-installed-name).
7274 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7275 (rtld_installed_name): Likwise.
7276 (runit): Remove function.
7277 (run_getconf): New variable, Use it for running getconf binary.
7278
38c78296
L
72792012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7280
7281 [BZ #14716]
7282 * string/test-memmem.c (check_result): New function.
7283 (do_one_test): Use it.
7284 (check1): New function.
7285 (test_main): Use it.
7286
d077f65f
MT
72872012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7288
7289 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7290
ced52c71
JM
72912012-10-18 Joseph Myers <joseph@codesourcery.com>
7292
7293 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7294 (_G_LSEEK64): Likewise.
7295 (_G_MMAP64): Likewise.
7296 (_G_FSTAT64): Likewise.
7297 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7298 (_G_LSEEK64): Likewise.
7299 (_G_MMAP64): Likewise.
7300 (_G_FSTAT64): Likewise.
7301 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7302 unconditional. Call __mmap64 directly.
7303 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7304 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7305 __lseek64 directly.
7306 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7307 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7308 __mmap64 directly.
7309 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7310 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7311 __lseek64 directly.
7312 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7313 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7314 __lseek64 directly.
7315 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7316 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7317 __lseek64 directly.
7318 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7319 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7320 __fxstat64 directly.
7321 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7322 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7323 unconditional.
7324 (freopen64) [!_G_OPEN64]: Remove conditional code.
7325 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7326 unconditional.
7327 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7328 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7329 unconditional.
7330 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7331 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7332 unconditional.
7333 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7334 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7335 unconditional.
7336 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7337 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7338 unconditional.
7339 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7340 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7341 unconditional.
7342 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7343 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7344 unconditional.
7345 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7346
b741de23
SP
73472012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7348
7349 [BZ #12140]
7350 * manual/memory.texi (Malloc Tunable Parameters): Add note
7351 about free list pointers overwriting some perturb bytes.
7352 Wording suggested by Roland McGrath.
7353
f9b9d9c9
JM
73542012-10-17 Joseph Myers <joseph@codesourcery.com>
7355
7356 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7357 (lgamma_test): Likewise.
7358 (tgamma_test): Likewise.
7359
172a631a
FW
73602012-10-16 Florian Weimer <fweimer@redhat.com>
7361
7362 [BZ #14700]
7363 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7364 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7365
e9f37252
MK
73662012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7367
7368 * NEWS: Mention BZ #14716.
7369 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7370 when removing AVAILABLE1_USES_J macro.
7371
d394eb74
L
73722012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7373
7374 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7375 (__bswap_64): __uint64_t for unsigned 64-bit int.
7376
ca38dc17
AS
73772012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7378
7379 * include/string.h (memmem): Declare libc hidden alias.
7380 * string/memmem.c (memmem): Define libc hidden alias.
7381 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7382 __read, __close instead of open, read, close.
7383
9a387d1f
L
73842012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7385
ac49ecaf
L
7386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7387 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7388 global and hidden.
7389 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7390 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7391 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7392 Likewise.
7393 (__rawmemchr_sse2): Likewise.
7394 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7395 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7396 (__strchr_sse2): Likewise.
7397 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7398 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7399 (__strcasecmp_sse2): Likewise.
7400 (__strncasecmp_sse2): Likewise.
7401 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7402 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7403 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7404 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7405 (__strrchr_sse2): Likewise.
7406 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7407 ifunc-impl-list.c.
7408 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7409 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7410 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7411 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7412 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7413 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7414 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7415 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7416 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7417 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7418 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7419 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7420 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7421 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7422 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7423 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7424 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7425 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7426 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7427 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7428 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7429 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7430 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7431 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7432 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7433 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7434 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7435 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7436 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7437 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7438
b090e8ea
L
7439 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7440 global and hidden.
7441 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7442 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7443 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7444 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7445 Likewise.
7446 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7447 Likewise.
7448 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7449 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7450 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7451 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7452 ifunc-impl-list.c.
7453 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7454 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7455 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7456 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7457 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7458 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7459 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7460 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7461 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7462 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7463 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7464 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7465 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7466 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7467 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7468 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7469 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7470 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7471 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7472 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7473 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7474 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7475 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7476 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7477 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7478 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7479 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7480 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7481 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7482 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7483 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7484 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7485 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7486 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7487 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7488 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7490 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7491 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7493 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7494
11dd4af6
L
7495 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7496 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7497 * include/ifunc-impl-list.h: New file.
7498 * misc/ifunc-impl-list.c: Likewise.
7499 * misc/Makefile (routines): Add ifunc-impl-list.
7500 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7501 * string/test-string.h: Include <ifunc-impl-list.h>.
7502 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7503 impl_array): New variables.
7504 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7505 are defined.
7506 (test_init): Call __libc_ifunc_impl_list to initialize
7507 func_list if TEST_IFUNC and TEST_NAME are defined.
7508
9a387d1f
L
7509 * string/Makefile (strop-tests): Add bcopy and bzero.
7510 * string/test-bcopy.c: New file.
7511 * string/test-bzero.c: Likewise.
7512 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7513 defined.
7514 * string/test-memset.c: Support bzero test if TEST_BZERO is
7515 defined.
7516 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7517 __libc_memmove.
7518 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7519 __libc_memset.
7520 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7521 of memset.
7522
472371b9
JM
75232012-10-10 Joseph Myers <joseph@codesourcery.com>
7524
1e4a9536
JM
7525 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7526 * configure: Regenerated.
7527
d173d12e
JM
7528 * Makeconfig (+link-static-before-libc): Don't include
7529 $(link-static-libc).
7530
472371b9
JM
7531 * libio/libio.h (_IO_pos_t): Remove.
7532
89a3ad0b
AO
75332012-10-10 Alexandre Oliva <aoliva@redhat.com>
7534
7535 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7536 McGrath.
7537
e7451425
AO
75382012-10-10 Alexandre Oliva <aoliva@redhat.com>
7539
7540 * crypt/crypt-entry.c: Include fips-private.h.
7541 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7542 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7543 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7544 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7545
4ba74a35
AO
75462012-10-10 Alexandre Oliva <aoliva@redhat.com>
7547
7548 * crypt/crypt-private.h: Include stdbool.h.
7549 (_ufc_setup_salt_r): Return bool.
7550 * crypt/crypt-entry.c: Include errno.h.
7551 (__crypt_r): Return NULL with EINVAL for bad salt.
7552 * crypt/crypt_util.c (bad_for_salt): New.
7553 (_ufc_setup_salt_r): Check that salt is long enough and within
7554 the specified alphabet.
7555 * crypt/badsalttest.c: New file.
7556 * crypt/Makefile (tests): Add it.
7557 ($(objpfx)badsalttest): New.
7558
f96f1242
MK
75592012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7560
7561 * NEWS: Add entry for BZ #14602.
7562
0e8e0c1c
JM
75632012-10-09 Joseph Myers <joseph@codesourcery.com>
7564
7565 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7566 type-generic.
7567 * math/libm-test.inc: Update comment listing what functions and
7568 macros are tested.
7569 (isgreater_test): New function.
7570 (isgreaterequal_test): Likewise.
7571 (isless_test): Likewise.
7572 (islessequal_test): Likewise.
7573 (islessgreater_test): Likewise.
7574 (isunordered_test): Likewise.
7575 (main): Call the new functions.
7576
273edc5e
RM
75772012-10-09 Roland McGrath <roland@hack.frob.com>
7578
b8493de0
RM
7579 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7580 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7581 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7582 * sysdeps/i386/configure: Regenerated.
7583 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7584 * sysdeps/mach/configure: Regenerated.
7585 * sysdeps/mach/hurd/configure: Regenerated.
7586 * sysdeps/powerpc/configure: Regenerated.
7587 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7588 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7589 * sysdeps/s390/s390-32/configure: Regenerated.
7590 * sysdeps/s390/s390-64/configure: Regenerated.
7591 * sysdeps/sh/configure: Regenerated.
7592 * sysdeps/sparc/configure: Regenerated.
7593 * sysdeps/unix/sysv/linux/configure: Regenerated.
7594 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7595 * sysdeps/x86_64/configure: Regenerated.
7596
273edc5e
RM
7597 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7598 defined. Don't check if MAP is NULL.
7599
c8450f70
JM
76002012-10-09 Joseph Myers <joseph@codesourcery.com>
7601
7602 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7603 (_G_stat64): Likewise.
7604 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7605 (_G_stat64): Likewise.
7606 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7607 instead of struct _G_stat64.
7608 * libio/fileops.c (mmap_remap_check): Likewise.
7609 (decide_maybe_mmap): Likewise.
7610 (_IO_new_file_seekoff): Likewise.
7611 (_IO_file_stat): Likewise.
7612 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7613 _G_off64_t.
7614 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7615 instead of struct _G_stat64.
7616 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7617
57e605ba
MK
76182012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7619
7620 [BZ #14602]
7621 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7622 Replace with ...
7623 (CHECK_EOL): New macro.
7624 (two_way_short_needle): Check beginning of haystack for EOL. Use
7625 CHECK_EOL.
7626 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7627 Replace with CHECK_EOL.
7628 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7629 Replace with CHECK_EOL.
7630
ef1bb361
JM
76312012-10-08 Joseph Myers <joseph@codesourcery.com>
7632
7633 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7634 type-generic.
7635 * math/libm-test.inc: Update comment listing what functions and
7636 macros are tested.
7637 (finite_test): New function.
7638 (isinf_test): Likewise.
7639 (isnan_test): Likewise.
7640 (fpclassify_test): Test subnormal input.
7641 (isfinite_test): Likewise.
7642 (isnormal_test): Likewise.
7643 (main): Call the new functions.
7644
55f11534
JN
76452012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7646
7647 [BZ #14660]
7648 * Makerules (%.dynsym): Force C locale when running
7649 $(OBJDUMP) --dynamic-syms.
7650
1ab29350
AS
76512012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7652
7653 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7654 <stdint.h>.
7655
f1ecb7ef
DM
76562012-10-06 David S. Miller <davem@davemloft.net>
7657
7658 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7659 upper 32-bits of the length value in %o2 since we use branch-on-register
7660 tests which consider the entire 64-bit register.
7661
5d41d91a
L
76622012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7663
7664 * string/test-strstr.c (check2): Add a test for page boundary.
7665
3baddb72
DM
76662012-10-05 David S. Miller <davem@davemloft.net>
7667
7668 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7669 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7670 file.
7671 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7672 sysdep_routines.
7673 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7674 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7675 and bzero when HWCAP_SPARC_CRYPTO is present.
7676
9cee5585
L
76772012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7678
d7e0dab9
L
7679 [BZ #14602]
7680 * string/test-strstr.c (check2): New function.
7681 (test_main): Call check2.
7682
03759f47
L
7683 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7684 and bug-strchr1.
7685 * string/bug-strcasestr1.c (do_test): Moved to ...
7686 * string/test-strcasestr.c (check1): Here. New function.
7687 (do_one_test): Break out result checking code into ...
7688 (check_result): This. New function.
7689 (do_one_test): Call check_result.
7690 (test_main): Call check1.
7691 * string/bug-strchr1.c (do_test): Moved to ...
7692 * string/test-strchr.c (check1): Here. New function.
7693 (do_one_test): Break out result checking code into ...
7694 (check_result): This. New function.
7695 (do_one_test): Call check_result.
7696 (test_main): Call check1.
7697 * string/bug-strstr1.c (main): Moved to ...
046f153e 7698 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7699 (do_one_test): Break out result checking code into ...
7700 (check_result): This. New function.
7701 (do_one_test): Call check_result.
7702 (test_main): Call check1.
7703 * string/bug-strcasestr1.c: Removed.
7704 * string/bug-strchr1.c: Likewise.
7705 * string/bug-strstr1.c: Likewise.
7706
53cea63e
L
7707 * elf/Makefile (dl-routines): Add hwcaps.
7708 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7709 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7710 (_dl_important_hwcaps): Moved to ...
7711 * elf/dl-hwcaps.c: Here. New file.
7712 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7713
9cee5585 7714 [BZ #14557]
bb859b06
L
7715 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7716 if IS_IN_rtld isn't defined.
7717
9cee5585
L
7718 * elf/dl-support.c (_dl_sysinfo_map): New.
7719 Include "get-dynamic-info.h" and "setup-vdso.h".
7720 (_dl_non_dynamic_init): Call setup_vdso.
7721 * elf/dynamic-link.h: Don't include <assert.h>.
7722 (elf_get_dynamic_info): Moved to ...
7723 * elf/get-dynamic-info.h: Here. New file.
7724 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7725 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7726 * elf/setup-vdso.h: Here. New file.
7727 * elf/rtld.c: Include "setup-vdso.h".
7728 (dl_main): Call setup_vdso.
7729
23c31b76
JM
77302012-10-05 Joseph Myers <joseph@codesourcery.com>
7731
28234b07
JM
7732 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7733 creal in comment listing functions tested. List finite, isinf,
7734 isnan, isless, islessequal, isgreater, isgreaterequal,
7735 islessgreater, isunordered, lgamma_r and pow10 as functions and
7736 macros not tested. Mention which functions not tested are aliases
7737 for other functions. Fix typo. Note that signs of NaNs are not
7738 tested.
7739
23c31b76
JM
7740 * scripts/config.guess: Update from config.git.
7741 * scripts/config.sub: Likewise.
7742
9043e228
RM
77432012-10-04 Roland McGrath <roland@hack.frob.com>
7744
7745 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7746 * misc/madvise.c (madvise): Renamed to __madvise.
7747 Make madvise a weak alias.
7748 * include/sys/mman.h: Declare __madvise.
7749 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7750 * sysdeps/unix/syscalls.list
7751 (madvise): Make __madvise the strong name, and madvise a weak alias.
7752 * sysdeps/unix/sysv/linux/syscalls.list
7753 (madvise, mmap): Remove redundant entries.
7754 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7755 * malloc/malloc.c (mtrim): Likewise.
7756 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7757
f57f8055
RM
77582012-10-03 Roland McGrath <roland@hack.frob.com>
7759
7760 * sysdeps/mach/hurd/dl-cache.c: File removed.
7761 * config.h.in (USE_LDCONFIG): New #undef.
7762 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7763 * configure: Regenerated.
7764 * elf/Makefile (dl-routines): Add dl-cache only under
7765 [$(use-ldconfig) = yes].
7766 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7767 cache on [USE_LDCONFIG].
7768 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7769 [USE_LDCONFIG].
7770 * elf/rtld.c (dl_main): Likewise.
7771
5bb0c10a
PT
77722012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7773
7774 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7775 _SC_LEVEL4_CACHE_LINESIZE.
7776
010188c6
RM
77772012-10-03 Roland McGrath <roland@hack.frob.com>
7778
7779 * sysdeps/unix/bsd/confstr.h: File removed.
7780
b6c5ec07
AO
77812012-10-02 Alexandre Oliva <aoliva@redhat.com>
7782
7783 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7784 sys/sdt-config.h.
7785
408223d4
RM
77862012-10-02 Roland McGrath <roland@hack.frob.com>
7787
7788 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7789 Make 'mapoff' field ElfW(Off) rather than off_t.
7790
bb9510dc
DL
77912012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7792
fc997c6e
DL
7793 * nscd/Makefile: Remove nscd-cflags and all its users.
7794 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7795 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7796
bb9510dc
DL
7797 [BZ #10631]
7798 * malloc.c (malloc_printerr): Clarify error message.
7799
05699367
L
78002012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7801
7802 [BZ #14648]
7803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7804 Set bit_FMA_Usable if FMA is supported.
7805 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7806 macro.
7807 (bit_FMA4_Usable): Updated.
7808 (index_FMA_Usable): New macro.
7809 (CPUID_FMA): Likewise
7810 (HAS_FMA): Defined with bit_FMA_Usable.
7811
51367701
RM
78122012-10-01 Roland McGrath <roland@hack.frob.com>
7813
7814 * bits/types.h (__swblk_t): Type removed.
7815 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7816 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7818 (__SWBLK_T_TYPE): Likewise.
7819 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7820 (__SWBLK_T_TYPE): Likewise.
7821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7822 (__SWBLK_T_TYPE): Likewise.
7823 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7824 (__SWBLK_T_TYPE): Likewise.
7825
4d57bf63 78262012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7827 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7828
7829 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7830 (xdr_mapname): Use YPMAXMAP as maxsize.
7831 (xdr_peername): Use YPMAXPEER as maxsize.
7832 (xdr_keydat): Use YPAXRECORD as maxsize.
7833 (xdr_valdat): Use YPMAXRECORD as maxsize.
7834
93c65d43
RM
78352012-10-01 Roland McGrath <roland@hack.frob.com>
7836
497a03d6
RM
7837 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7838
93c65d43
RM
7839 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7840 * csu/init-first.c: ... here.
7841 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7842 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7843 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7844 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7845 * sysdeps/i386/init-first.c: File removed.
7846 * sysdeps/sh/init-first.c: File removed.
7847
bec749fd
JM
78482012-10-01 Joseph Myers <joseph@codesourcery.com>
7849
7850 [BZ #14645]
7851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7852 if x * y might underflow to zero and z is zero.
7853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7854 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7855 * math/libm-test.inc (min_subnorm_value): New variable.
7856 (fma_test): Add more tests.
7857 (fma_test_towardzero): Likewise.
7858 (fma_test_downward): Likewise
7859 (fma_test_upward): Likewise.
7860 (initialize): Set min_subnorm_value.
7861
8ec5b013
JM
78622012-09-29 Joseph Myers <joseph@codesourcery.com>
7863
7864 [BZ #14638]
7865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7866 0 + 0.
7867 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7868 mode for addition resulting in exact zero.
7869 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7871 exact 0 + 0.
7872 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7873 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7874 * math/libm-test.inc (fma_test): Add more tests.
7875 (fma_test_towardzero): New function.
7876 (fma_test_downward): Likewise.
7877 (fma_test_upward): Likewise.
7878 (main): Call the new functions.
7879
b1fa802e
DM
78802012-09-28 David S. Miller <davem@davemloft.net>
7881
7882 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7883
d3b9fd9e
RM
78842012-09-28 Roland McGrath <roland@hack.frob.com>
7885
ea4d37b3
RM
7886 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7887 instead of SIGALRM.
7888
ac51c949
RM
7889 * sysdeps/gnu/_G_config.h: Moved to ...
7890 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7891 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7892 * sysdeps/generic/_G_config.h: ... here.
7893
28c195f7
RM
7894 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7895
848917f9
RM
7896 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7897
6bacf05b
RM
7898 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7899 Conditionalize target on [libnss_test1.so-version].
7900
91363dbb
RM
7901 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7902
cc87f7d8
RM
7903 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7904 (elfobjdir): Move out of conditionals.
7905
b1c608fe
RM
7906 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7907 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7908 (__nss_lookup_function): Conditionalize label remove_from_tree on
7909 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7910
1d9a6d96
DM
79112012-09-28 David S. Miller <davem@davemloft.net>
7912
7913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7914 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7915 file.
7916 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7917 sysdep_routines.
7918 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7920 when HWCAP_SPARC_CRYPTO is present.
7921
72581615
PT
79222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7923
7924 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7925
715a900c
JL
79262012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7927
7928 [BZ #6530]
7929 * stdio-common/vfprintf.c (process_string_arg): Revert
7930 2000-07-22 change.
7931
79322011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7933
7934 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7935 for testcase.
7936 * stdio-common/tst-sprintf.c: Include <locale.h>
7937 (main): Test sprintf's handling of incomplete multibyte
7938 characters.
7939
9bac1d86
L
79402012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7941
7942 * elf/dl-runtime.c (VERSYMIDX): Removed.
7943 * elf/dl-version.c (VERSYMIDX): Likewise.
7944 * elf/do-rel.h (VERSYMIDX): Likewise.
7945 (VALIDX): Likewise.
7946 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7947 * elf/rtld.c (VALIDX): Likewise.
7948 (ADDRIDX): Likewise.
9bac1d86
L
7949 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7950 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7951 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7952 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7953 (VALIDX): Likewise.
7954 (ADDRIDX): Likewise.
9bac1d86 7955
b31606c0
PT
79562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7957
7958 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7959
11541177
JL
79602012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7961
7962 [BZ #11438]
7963 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7964 to global scope.
7965 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7966 addresses are in the same scope as 192.0.2/24.
7967 * posix/gai.conf: Document new scope table defaults.
7968
adb26fae
SP
79692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7970
7971 [BZ #5298]
7972 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7973 for ftell. Compute offsets from write pointers instead.
7974 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7975
4573c6b0
SP
79762012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7977
7978 [BZ #14543]
7979 * libio/Makefile (tests): New test case tst-fseek.
7980 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7981 combination works in wide mode.
7982 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7983 state when the external buffer state changes.
7984
aa9bbfe6
DM
79852012-09-27 David S. Miller <davem@davemloft.net>
7986
7987 [BZ #14376]
7988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7989 pass reloc->r_addend in as the 'high' argument to
7990 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7991
784421e7
DM
7992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7993
c39bc8b8
PT
79942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7995
7996 * rt/tst-aio2.c: Include <pthread.h>.
7997 * rt/tst-aio3.c: Likewise.
7998
1ccc2399
SE
79992012-09-27 Steve Ellcey <sellcey@mips.com>
8000
8001 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8002
31ed4153
L
80032012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8004
25f5f885
L
8005 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8006 contents on [SHARED].
31ed4153 8007
b7bfe116
MP
80082012-09-26 Marek Polacek <polacek@redhat.com>
8009
8010 [BZ #14530]
8011 [BZ #13741]
8012 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8013 for C++ and GCC <4.3 as well as for non GCC compilers.
8014
43c4edba
MT
80152012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8016
8017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8018
6a1bf82f
RM
80192012-09-25 Roland McGrath <roland@hack.frob.com>
8020
8021 * Makefile.in (all, install): Declare with .PHONY.
8022 Reported by Michael Hope <michael.hope@linaro.org>.
8023
8ad11b9a
TMQMF
80242012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8025
8026 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8027 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8028 system header.
8029 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8030 Likewise.
8031 (sydep_routines): Add the new and the internal functions.
8032 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8033 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8035 (GLIBC_2.17): Add the new function.
8036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8037 (GLIBC_2.17): Likewise.
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8039 (GLIBC_2.17): Likewise.
8040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8041 (GLIBC_2.17): Likewise.
8042 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8043
7e2fca8d
AM
80442012-09-25 Alan Modra <amodra@gmail.com>
8045
8046 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8047 Add release barrier before setting once_control to say
8048 initialisation is done. Add hints on lwarx. Use macro in
8049 place of isync.
8050 (clear_once_control): Add release barrier.
8051
b87c4b24
JM
80522012-09-25 Joseph Myers <joseph@codesourcery.com>
8053
d032e0d2
JM
8054 [BZ #13629]
8055 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8056 specially.
8057 * math/s_clog10.c (__clog10): Likewise.
8058 * math/s_clog10f.c (__clog10f): Likewise.
8059 * math/s_clog10l.c (__clog10l): Likewise.
8060 * math/s_clogf.c (__clogf): Likewise.
8061 * math/s_clogl.c (__clogl): Likewise.
8062 * math/Makefile (libm-calls): Add x2y2m1.
8063 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8064 (__x2y2m1): Likewise.
8065 (__x2y2m1l): Likewise.
8066 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8067 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8068 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8069 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8070 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8071 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8072 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8073 * sysdeps/i386/fpu/libm-test-ulps: Update.
8074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8075
b87c4b24
JM
8076 [BZ #14621]
8077 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8078 int as type of variable DEPTH.
8079 (glob): Use size_t instead of int as type of variables NEWCOUNT
8080 and OLD_PATHC.
8081
6d3bf199
LD
80822012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8083
22bf5c17
LD
8084 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8085 Add s_sincosf-sse2.
8086 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8087 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8088 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8089 macros for using routine as __sincosf_ia32.
8090 Use macro for function declaration and weak_alias.
8091 * sysdeps/i386/fpu/libm-test-ulps: Update.
8092
8093 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8095
8096 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8097 subnormal argument.
8098 * math/s_cexpf.c (__cexpf): Likewise.
8099 * math/s_csinf.c (__csinf): Likewise.
8100 * math/s_csinhf.c (__csinhf): Likewise.
8101 * math/s_ctanf.c (__ctanf): Likewise.
8102 * math/s_ctanhf.c (__ctanhf): Likewise.
8103 * math/s_ccosh.c (__ccoshf): Likewise.
8104 * math/s_cexp.c (__cexpl): Likewise.
8105 * math/s_csin.c (__csin): Likewise.
8106 * math/s_csinh.c (__csinh): Likewise.
8107 * math/s_ctan.c (__ctan): Likewise.
8108 * math/s_ctanh.c (ctanh): Likewise.
8109 * math/s_ccoshl.c (__ccoshl): Likewise.
8110 * math/s_cexpl.c (__cexpl): Likewise.
8111 * math/s_csinl.c (__csinl): Likewise.
8112 * math/s_csinhl.c (__csinhl): Likewise.
8113 * math/s_ctanl.c (__ctanl): Likewise.
8114 * math/s_ctanhl.c (__ctanhl): Likewise.
8115
203e5603
JM
81162012-09-25 Joseph Myers <joseph@codesourcery.com>
8117
8118 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8119 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8120 (_IO_off_t): Define to __off_t, not _G_off_t.
8121 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8122 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8123 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8124 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8125 type of __dummy and __dummy2 fields.
8126 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8127 (_G_ssize_t): Likewise.
8128 (_G_off_t): Likewise.
8129 (_G_pid_t): Likewise.
8130 (_G_uid_t): Likewise.
8131 (_G_wchar_t): Likewise.
8132 (_G_wint_t): Likewise.
8133 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8134 (_G_ssize_t): Likewise.
8135 (_G_off_t): Likewise.
8136 (_G_pid_t): Likewise.
8137 (_G_uid_t): Likewise.
8138 (_G_wchar_t): Likewise.
8139 (_G_wint_t): Likewise.
8140 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8141 (_G_ssize_t): Likewise.
8142 (_G_off_t): Likewise.
8143 (_G_pid_t): Likewise.
8144 (_G_uid_t): Likewise.
8145 (_G_wchar_t): Likewise.
8146 (_G_wint_t): Likewise.
8147
9fab36eb
SP
81482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8149
8150 * malloc/arena.c: Include malloc-sysdep.h.
8151 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8152 is sufficient to shrink the heap or an unmap is needed.
8153 * sysdeps/generic/malloc-sysdep.h: New file. Define
8154 new function check_may_shrink_heap.
8155 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8156 new function check_may_shrink_heap.
8157
2b4f00d1
SP
81582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8159
8160 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8161 comments.
8162
9a9028b1
DL
81632012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8164
57c69bef
DL
8165 * catgets/test-gencat.sh: Add "set -e".
8166 * elf/tst-pathopt.sh: Likewise.
8167 * grp/tst_fgetgrent.sh: Likewise.
8168 * iconvdata/run-iconv-test.sh: Likewise.
8169 * intl/tst-gettext.sh: Likewise.
8170 * intl/tst-gettext2.sh: Likewise.
8171 * intl/tst-gettext4.sh: Likewise.
8172 * intl/tst-gettext6.sh: Likewise.
8173 * intl/tst-translit.sh: Likewise.
8174 * io/ftwtest-sh: Likewise.
8175 * libio/test-freopen.sh: Likewise.
8176 * malloc/tst-mtrace.sh: Likewise.
8177 * posix/globtest.sh: Likewise.
8178 * posix/tst-getconf.sh: Likewise.
8179 * posix/wordexp-tst.sh: Likewise.
8180 * stdio-common/tst-printf.sh: Likewise.
8181 * stdio-common/tst-unbputc.sh: Likewise.
8182 * stdlib/tst-fmtmsg.sh: Likewise.
8183 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8184 * catgets/Makefile: Do not specify -e option when running
8185 testsuite shell scripts.
8186 * elf/Makefile: Likewise.
8187 * grp/Makefile: Likewise.
8188 * iconvdata/Makefile: Likewise.
8189 * intl/Makefile: Likewise.
8190 * io/Makefile: Likewise.
8191 * libio/Makefile: Likewise.
8192 * malloc/Makefile: Likewise.
8193 * posix/Makefile: Likewise.
8194 * stdio-common/Makefile: Likewise.
8195 * stdlib/Makefile: Likewise.
8196 * sysdeps/x86_64/Makefile: Likewise.
8197
9a9028b1
DL
8198 * io/ftwtest-sh: Add copyright header.
8199 * posix/globtest.sh: Likewise.
8200 * posix/tst-getconf.sh: Likewise.
8201 * posix/wordexp-tst.sh: Likewise.
8202 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8203
ced6f16e
L
82042012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8205
94b32c39
L
8206 [BZ #13679]
8207 * Makeconfig (+link): Defined as $(+link-static) if
8208 $(build-shared) isn't yes.
8209 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8210 isn't yes.
8211 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8212
189e935b
L
8213 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8214
ced6f16e
L
8215 [BZ #14562]
8216 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8217 new chunk size with MALLOC_ALIGN_MASK.
8218
a9f8e53a
JM
82192012-09-24 Joseph Myers <joseph@codesourcery.com>
8220
8221 [BZ #5044]
8222 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8223 <rounding-mode.h>.
8224 (__printf_fphex): Determine rounding using get_rounding_mode and
8225 round_away.
8226 * stdio-common/tst-printf-round.c (struct hex_test): New
8227 structure.
8228 (hex_tests): New variable.
8229 (test_hex_in_one_mode): New function.
8230 (do_test): Also run tests for hex float output.
8231
43153109
JM
82322012-09-21 Joseph Myers <joseph@codesourcery.com>
8233
8234 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8235 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8236 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8237 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8238 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8239 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8240 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8241 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8242
8a26625d
JM
82432012-09-20 Joseph Myers <joseph@codesourcery.com>
8244
8245 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8246 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8247 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8248 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8249
f3fd569c
DL
82502012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8251
8252 [BZ #14579]
8253 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8254 mode only.
8255 * elf/tst-rtld-load-self.sh: New test.
8256 * elf/Makefile: Run it.
8257
63bbedd4
JM
82582012-09-18 Joseph Myers <joseph@codesourcery.com>
8259
8260 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8261 (tst-writev-ENV): Remove.
8262 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8263
626f8b6a
CM
82642012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8265
8266 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8267
b7aaa4d6
JM
82682012-09-17 Joseph Myers <joseph@codesourcery.com>
8269
8270 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8271 unconditional.
8272 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8273 Likewise.
8274 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8275 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8276 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8277 Likewise.
8278
65513990
L
82792012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 [BZ #14587]
8282 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8283 * config.make.in (have-cpp-asm-debuginfo): Removed.
8284 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8285 * configure: Regenerated.
8286
784761be
JM
82872012-09-14 Joseph Myers <joseph@codesourcery.com>
8288
8289 [BZ #5044]
8290 * stdio-common/printf_fp.c: Include <stdbool.h> and
8291 <rounding-mode.h>.
8292 (___printf_fp): Determine rounding using get_rounding_mode and
8293 round_away.
8294 * stdio-common/tst-printf-round.c: New file.
8295 * stdio-common/Makefile (tests): Add tst-printf-round.
8296 (link-libm): New variable.
8297 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8298
9503345f
L
82992012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8300
8301 [BZ #14576]
8302 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8303 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8304 Likewise.
8305 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8306 Likewise.
8307
ad35fc00
JM
83082012-09-13 Joseph Myers <joseph@codesourcery.com>
8309
8310 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8311 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8312 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8313 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8314
6c9b0f68
JM
83152012-09-12 Joseph Myers <joseph@codesourcery.com>
8316
8317 [BZ #14518]
8318 * include/rounding-mode.h: New file.
8319 * sysdeps/generic/get-rounding-mode.h: Likewise.
8320 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8321 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8322 (MAX_VALUE): New macro.
8323 (MIN_VALUE): Likewise.
8324 (overflow_value): New function.
8325 (underflow_value): Likewise.
8326 (round_and_return): Use overflow_value and underflow_value to
8327 determine return values in overflow and underflow cases. Use
8328 round_away to determine rounding depending on rounding mode.
8329 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8330 determine return values in overflow and underflow cases.
8331 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8332 (struct test_results): New structure.
8333 (struct test): Use struct test_results to store expected results
8334 for all rounding modes.
8335 (TEST): Include expected results for all rounding modes.
8336 (test_in_one_mode): New function.
8337 (do_test): Use test_in_one_mode to compute and check results.
8338 Check results for all rounding modes.
8339 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8340 $(link-libm).
8341
19fcedd5
AM
83422012-12-09 Allan McRae <allan@archlinux.org>
8343
1e9d84cd 8344 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8345
8bbfd2f1
JM
83462012-09-11 Joseph Myers <joseph@codesourcery.com>
8347
8348 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8349 (_G_int32_t): Likewise.
8350 (_G_uint16_t): Likewise.
8351 (_G_uint32_t): Likewise.
8352 (_G_HAVE_BOOL): Likewise.
8353 (_G_HAVE_ATEXIT): Likewise.
8354 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8355 (_G_HAVE_IO_FILE_OPEN): Likewise.
8356 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8357 (_G_int32_t): Likewise.
8358 (_G_uint16_t): Likewise.
8359 (_G_uint32_t): Likewise.
8360 (_G_HAVE_BOOL): Likewise.
8361 (_G_HAVE_ATEXIT): Likewise.
8362 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8363 (_G_HAVE_IO_FILE_OPEN): Likewise.
8364 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8365 (_G_int32_t): Likewise.
8366 (_G_uint16_t): Likewise.
8367 (_G_uint32_t): Likewise.
8368 (_G_HAVE_BOOL): Likewise.
8369 (_G_HAVE_ATEXIT): Likewise.
8370 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8371 (_G_HAVE_IO_FILE_OPEN): Likewise.
8372
b1dc5912
L
83732012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8374
8375 * csu/libc-tls.c: Update copyright years.
8376
0e886ef9
JM
83772012-09-10 Joseph Myers <joseph@codesourcery.com>
8378
28361c5e
JM
8379 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8380 [!_G_USING_THUNKS]: Remove conditional code.
8381 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8382 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8383
0e886ef9
JM
8384 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8385 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8386 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8387 (_G_VTABLE_LABEL_PREFIX): Likewise.
8388 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8389 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8390 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8391 (_G_VTABLE_LABEL_PREFIX): Likewise.
8392 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8393 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8394 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8395 (_G_VTABLE_LABEL_PREFIX): Likewise.
8396 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8397
bcba7aa2
L
83982012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8399
8400 * libio/Makefile: Include ../Makeconfig before tests.
8401 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8402 only if $(build-shared) is yes.
8403
06585ee8
L
8404 * iconv/gconv_db.c: Update copyright years.
8405
80ccd52c
LD
84062012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8407
8408 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8409 unwind info if defined PIC. Fix special cases description.
8410 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8411
8412 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8413 DP_HI_MASK entry.
8414 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8415
691bc9c1
L
84162012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8417
3d9b46b3
L
8418 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8419
de2139a9
L
8420 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8421 is NULL.
8422
5ca78dd0
L
8423 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8424 (LDLIBS-tst-chk4): This.
8425 (LDFLAGS-tst-chk5): Renamed to ...
8426 (LDLIBS-tst-chk5): This.
8427 (LDFLAGS-tst-chk6): Renamed to ...
8428 (LDLIBS-tst-chk6): This.
8429 (LDFLAGS-tst-lfschk4): Renamed to ...
8430 (LDLIBS-tst-lfschk4): This.
8431 (LDFLAGS-tst-lfschk5): Renamed to ...
8432 (LDLIBS-tst-lfschk5): This.
8433 (LDFLAGS-tst-lfschk6): Renamed to ...
8434 (LDLIBS-tst-lfschk6): This.
8435
691bc9c1
L
8436 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8437 on $(common-objpfx)soversions.mk.
8438
65cafb1c
JM
84392012-09-07 Joseph Myers <joseph@codesourcery.com>
8440
8441 [BZ #10014]
8442 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8443 example host name.
8444
c78ab094
SP
84452012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8446
8447 * malloc/arena.c (arena_get_retry): New function that gets
8448 another arena for the caller to try its request on.
8449 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8450 current arena cannot fulfill the request.
8451 (__libc_memalign): Likewise.
8452 (__libc_memalign): Likewise.
8453 (__libc_pvalloc): Likewise.
8454 (__libc_calloc): Likewise.
8455
01f49f59
JT
84562012-09-05 John Tobey <john.tobey@gmail.com>
8457
8458 [BZ #13542]
8459 * manual/arith.texi (Operations on Complex): Fix description
8460 of carg branch cut.
8461
4c23fed5
JM
84622012-09-06 Joseph Myers <joseph@codesourcery.com>
8463
1d3c8572
JM
8464 [BZ #10014]
8465 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8466 host name.
8467
4c23fed5
JM
8468 [BZ #10038]
8469 * manual/memory.texi (Memory): Make order of menu items match
8470 order of sections.
8471
04570aaa
L
84722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8473
8474 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8475 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8476 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8477
b80af2f4
L
84782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8479
8480 * csu/libc-tls.c (static_dtv): Renamed to ...
8481 (_dl_static_dtv): This. Make it global.
8482 (_dl_initial_dtv): Removed.
8483 (__libc_setup_tls): Updated.
8484 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8485 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8486 DL_INITIAL_DTV.
8487
2abe9f15
PM
84882012-09-06 Petr Machata <pmachata@redhat.com>
8489
8490 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8491 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8492 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8493 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8494
0948c3af
L
84952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 [BZ #14545]
8498 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8499 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8500 freeing dtv[-1].
8501
a5055ad1
L
85022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8503
8504 [BZ #14544]
8505 * Makeconfig (link-static-before-libc): Replace $(+prector)
8506 with $(+prectorT).
8507 (link-static-after-libc): Replace $(+postctor) with
8508 $(+postctorT).
8509 (link-bounded): Replace $(+prector)/$(+postctor) with
8510 $(+prectorT)/$(+postctorT).
8511 (+prectorT): New macro.
8512 (+postctorT): Likewise.
8513
ed8c2ecd
JM
85142012-09-06 Joseph Myers <joseph@codesourcery.com>
8515
8516 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8517 (round_str): Handle values above the maximum for IBM long double
8518 as inexact.
8519 * stdlib/tst-strtod-round.c (tests): Regenerated.
8520
14c996c8
AK
85212012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8522
8523 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8524 assembler flag.
8525 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8526 zarch_nohighgprs around the zarch optimized routines.
8527 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8528 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8529 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8530 for zarch.
8531
430d6ce6
DM
85322012-09-05 David S. Miller <davem@davemloft.net>
8533
8534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8535
ff04dda4
DM
8536 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8537 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8538 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8539 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8540 entries.
8541
24d4e01b
AO
85422012-09-05 Alexandre Oliva <aoliva@redhat.com>
8543
8544 * malloc/arena.c: Fold copyright years.
8545 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8546
61d58174
AO
85472012-09-05 Alexandre Oliva <aoliva@redhat.com>
8548
8549 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8550
20196a5e
AO
85512012-09-05 Alexandre Oliva <aoliva@redhat.com>
8552
8553 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8554
5c447383
AO
85552012-09-05 Alexandre Oliva <aoliva@redhat.com>
8556
8557 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8558 change internal state upon failure.
8559
fad64255
AO
85602012-09-05 Alexandre Oliva <aoliva@redhat.com>
8561
8562 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8563 * malloc/memusage.c (mmap): Likewise.
8564 (mmap64, mremap): Likewise. Adjust name in comment.
8565
1ffb8c90
SP
85662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8567
8568 * libio/fileops.c: Fix typos in comments.
8569 * libio/oldfileops.c: Likewise.
8570 * libio/wfileops.c: Likewise.
8571
6ef9cc37
SP
85722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8573
8574 [BZ #1349]
8575 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8576 (tst-malloc-usable-ENV): Set environment for test case.
8577 * malloc/hooks.c (malloc_check_get_size): New function to get
8578 requested size.
8579 * malloc/malloc.c (musable): Use malloc_check_get_size.
8580 * malloc/tst-malloc-usable.c: New test case.
8581
4d038ae3
AS
85822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8583
8584 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8585
c4e85184
AM
85862012-09-05 Allan McRae <allan@archlinux.org>
8587
b9dafc56 8588 [BZ #13966]
c4e85184
AM
8589 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8590 determine header location.
8591 * configure: Regenerated.
8592
e1343020
AS
85932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8594
8595 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8596 float format.
8597 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8598 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8599 format.
e1343020
AS
8600 (test): Regenerate.
8601
0a9f1987
DM
86022012-09-04 David S. Miller <davem@davemloft.net>
8603
8604 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8605 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8606 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8607
29237804
FW
86082012-09-04 Florian Weimer <fweimer@redhat.com>
8609
8610 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8611 failures.
8612
edb3cb88
FW
8613 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8614
60160d83
JM
86152012-09-04 Joseph Myers <joseph@codesourcery.com>
8616
8617 [BZ #9914]
8618 * libio/iogetdelim.c: Include <limits.h>.
8619 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8620 + len + 1 would overflow.
8621
bcd6c8dc
AJ
86222012-09-03 Andreas Jaeger <aj@suse.de>
8623
8624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8625 * sysdeps/i386/fpu/libm-test-ulps: Update.
8626
4ffffbd2
LD
86272012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8628
8629 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8630 Add s_sinf-sse2, s_conf-sse2.
8631
8632 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8633 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8634 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8635 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8636
8637 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8638 for using routine as __sinf_ia32.
8639 Use macro for function declaration and weak_alias.
8640 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8641 for using routine as __cosf_ia32.
8642 Use macro for function declaration and weak_alias.
8643
8644 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8645 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8646
8647 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8648 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8650
8651 * math/libm-test.inc (cos_test): Add more test cases.
8652 (sin_test): Likewise.
8653 (sincos_test): Likewise.
8654
511fa286
AK
86552012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8656
8657 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8658 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8659 hidden.
8660 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8661
5f30cfec
L
86622012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8663
8664 [BZ #14538]
8665 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8666 first element of the GOT.
8667 (elf_machine_load_address): Return the difference between
8668 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8669
0786794f
AM
86702012-09-01 Allan McRae <allan@archlinux.org>
8671
5f30cfec
L
8672 [BZ #13412]
8673 * configure.in (AWK): Require gawk version 3.0 or later.
8674 * configure: Regenerated.
0786794f 8675
26889eac
JM
86762012-09-01 Joseph Myers <joseph@codesourcery.com>
8677
8678 * sysdeps/unix/sysv/linux/kernel-features.h
8679 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8680 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8681 [__NR_clock_getres]: Make code unconditional.
8682 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8683 (clock_getcpuclockid): Remove code left unreachable by removal of
8684 conditionals.
8685 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8686 code unconditional.
8687 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8688 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8689 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8690 Make code unconditional.
8691 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8692 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8693 * sysdeps/unix/sysv/linux/clock_settime.c
8694 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8695 conditional code.
8696 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8697 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8698
d22e28b0
L
86992012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8700
8701 [BZ #14476]
8702 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8703 scripts/test-installation.pl.
8704
8705 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8706 and $ld_so_version if it is set.
8707
050af9c4
SP
87082012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8709
8710 [BZ #14516]
8711 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8712 failure if reading from procfs failed.
8713 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8714
ad845c0b
JM
87152012-08-27 Joseph Myers <joseph@codesourcery.com>
8716
8717 * sysdeps/unix/sysv/linux/kernel-features.h
8718 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8719 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8720 Remove conditional code.
8721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8722 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8723 Remove conditional code.
8724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8725 * sysdeps/unix/sysv/linux/i386/fxstat.c
8726 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8728 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8729 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8731 * sysdeps/unix/sysv/linux/i386/lxstat.c
8732 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8734 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8735 Remove conditional code.
8736 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8737 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8738 Remove conditional code.
8739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8740 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8741 <kernel-features.h>.
8742 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8743 Remove.
8744 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8745 Remove conditional code.
8746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8747 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8748 Remove conditional.
8749
5dbf56af
MF
87502012-08-27 Mike Frysinger <vapier@gentoo.org>
8751
8752 [BZ #5400]
8753 * NEWS: Add fixed bug number.
8754
d6e70f43
JM
87552012-08-27 Joseph Myers <joseph@codesourcery.com>
8756
7efb4737
JM
8757 [BZ #14519]
8758 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8759 underflowing exponent in case of negative sign.
8760 * stdlib/tst-strtod-round-data: Add more tests.
8761 * stdlib/tst-strtod-round.c (tests): Regenerated.
8762
af92131a
JM
8763 [BZ #3479]
8764 * stdlib/strtod_l.c (NDIG): Remove.
8765 (HEXNDIG): Likewise.
8766 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8767 smallest representable value.
8768 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8769 lie within an exact representation of 1/2 ulp of the result.
8770 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8771 unconditionally.
8772 (TENS_P9_IDX): Define unconditionally.
8773 (TENS_P9_SIZE): Likewise.
8774 (TENS_P10_IDX): Likewise.
8775 (TENS_P10_SIZE): Likewise.
8776 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8777 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8778 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8779 entries for 10^2^13 and 10^2^14.
8780 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8781 (TENS_P13_IDX): Define.
8782 (TENS_P13_SIZE): Likewise.
8783 (TENS_P14_IDX): Likewise.
8784 (TENS_P14_SIZE): Likewise.
8785 (_fpioconst_pow10): Change array size to
8786 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8787 unconditional.
8788 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8789 1024]: Add entries for 10^2^13 and 10^2^14.
8790 [LAST_POW10 > _LAST_POW10]: Remove #error.
8791 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8792 (_fpioconst_pow10): Change array size to
8793 FPIOCONST_POW10_ARRAY_SIZE.
8794 * stdlib/gen-fpioconst.c: New file.
8795 * stdlib/gen-tst-strtod-round.c: Likewise.
8796 * stdlib/tst-strtod-round-data: Likewise.
8797 * stdlib/tst-strtod-round.c: Likewise.
8798 * stdlib/Makefile (tests): Add tst-strtod-round.
8799
d6e70f43
JM
8800 [BZ #14459]
8801 * stdlib/strtod_l.c: Include <stdint.h>.
8802 (NDEBUG): Do not define.
8803 (round_and_return): Change EXPONENT parameter to type intmax_t.
8804 Rearrange calculations to avoid internal overflow possibilities.
8805 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8806 Rearrange calculations to avoid internal overflow possibilities.
8807 Assert that number fits inside MPNSIZE limbs.
8808 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8809 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8810 calculations and add assertions to avoid internal overflow
8811 possibilities. Add casts to avoid signed/unsigned operations.
8812 * stdlib/tst-strtod-overflow.c: New file.
8813 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8814
1f529f7d
MP
88152012-08-25 Marek Polacek <polacek@redhat.com>
8816
8817 * time/time.h: Fix some typos in comments.
8818
59a629f1
RM
88192012-08-23 Roland McGrath <roland@hack.frob.com>
8820
8821 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8822 * posix/tst-rfc3484-2.c: Likewise.
8823 * posix/tst-rfc3484-3.c: Likewise.
8824
d3bafbc9
SM
88252012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8826
8827 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8828 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8829
4efcc022
JM
88302012-08-23 Joseph Myers <joseph@codesourcery.com>
8831
8832 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8833 #include of fxstatat64.c.
8834
3cc3ef96
RM
88352012-08-22 Roland McGrath <roland@hack.frob.com>
8836
f04e2132
RM
8837 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8838 * shadow/getspent_r.c: Likewise.
8839 * shadow/getspnam.c: Likewise.
8840 * shadow/getspnam_r.c: Likewise.
8841 * gshadow/getsgent.c: Likewise.
8842 * gshadow/getsgent_r.c: Likewise.
8843 * gshadow/getsgnam.c: Likewise.
8844 * gshadow/getsgnam_r.c: Likewise.
8845 * inet/getnetbyad.c: Likewise.
8846 * inet/getnetbyad_r.c: Likewise.
8847 * inet/getnetbynm.c: Likewise.
8848 * inet/getnetbynm_r.c: Likewise.
8849 * inet/getnetent.c: Likewise.
8850 * inet/getnetent_r.c: Likewise.
8851 * inet/getproto.c: Likewise.
8852 * inet/getproto_r.c: Likewise.
8853 * inet/getprtent.c: Likewise.
8854 * inet/getprtent_r.c: Likewise.
8855 * inet/getprtname.c: Likewise.
8856 * inet/getprtname_r.c: Likewise.
8857 * inet/getrpcbyname.c: Likewise.
8858 * inet/getrpcbyname_r.c: Likewise.
8859 * inet/getrpcbynumber.c: Likewise.
8860 * inet/getrpcbynumber_r.c: Likewise.
8861 * inet/getrpcent.c: Likewise.
8862 * inet/getrpcent_r.c: Likewise.
8863 * inet/getaliasent.c: Likewise.
8864 * inet/getaliasent_r.c: Likewise.
8865 * inet/getaliasname.c: Likewise.
8866 * inet/getaliasname_r.c: Likewise.
8867 * nscd/getgrgid_r.c: Likewise.
8868 * nscd/getgrnam_r.c: Likewise.
8869 * nscd/gethstbyad_r.c: Likewise.
8870 * nscd/gethstbynm3_r.c: Likewise.
8871 * nscd/getpwnam_r.c: Likewise.
8872 * nscd/getpwuid_r.c: Likewise.
8873 * nscd/getsrvbynm_r.c: Likewise.
8874 * nscd/getsrvbypt_r.c: Likewise.
8875 * nscd/gai.c: Likewise.
8876
c53d909c
RM
8877 * configure.in (build_nscd): New substituted variable, set
8878 by --disable-build-nscd and defaults to $use_nscd.
8879 * configure: Regenerated.
8880 * config.make.in (build-nscd): New substituted variable.
8881 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8882 Change conditional to require [$(build-nscd) = yes] as well.
8883 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8884
3cc3ef96
RM
8885 [BZ# 13696]
8886 * configure.in (use_nscd): New substituted variable, set by
8887 --disable-nscd. If enabled, define USE_NSCD.
8888 * configure: Regenerated.
8889 * config.h.in: Add USE_NSCD.
8890 * config.make.in (use-nscd): New substituted variable.
8891 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8892 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8893 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8894 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8895 (CFLAGS-getgrnam_r.c): Likewise.
8896 (CFLAGS-initgroups.c): Likewise.
8897 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8898 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8899 Variables removed.
8900 * inet/getnetgrent_r.c
8901 (nscd_setnetgrent): New function, broken out of ...
8902 (setnetgrent): ... here. Call it.
8903 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8904 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8905 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8906 * nscd/Makefile (routines, aux): Move definitions after include of
8907 Makeconfig. Conditionalize on [$(use-nscd) != no].
8908 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8909 Conditionalize on [USE_NSCD].
8910 (is_nscd, nscd_init_cb): Likewise.
8911 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8912 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8913 * nss/nss_db/db-init.c: Likewise.
8914 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8915 [USE_NSCD].
8916 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8917 (make_request): Use it.
8918 (cache_valid_p): New function.
8919 (__check_pf): Use it.
8920 * NEWS: Add item for --disable-nscd.
8921
07e51550
DL
89222012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8923
8924 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8925 to support sed >= 4.2.1-20-ga9bf076.
8926 * configure: Regenerated.
8927
35a5b08b
RM
89282012-08-22 Roland McGrath <roland@hack.frob.com>
8929
8930 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8931 Conditionalize whole body on [IREL].
8932
8479f23a
JL
89332012-08-22 Jeff Law <law@redhat.com>
8934
8935 [BZ #14505]
8936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8937 if the family is PF_UNSPEC.
8938
48da0b21
MF
89392012-08-22 Mike Frysinger <vapier@gentoo.org>
8940
8941 * Makerules (lib-version): Rename from V.
8942 (install-lib-nosubdir): Change V to lib-version.
8943
15d0da8c
WS
89442012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8945
8946 [BZ #14252]
8947 * powerpc32/power6/wcschr.c: New file.
8948 * powerpc32/power6/wcscpy.c: New file.
8949 * powerpc32/power6/wcsrchr.c: New file.
8950 * powerpc64/power6/wcschr.c: New file.
8951 * powerpc64/power6/wcscpy.c: New file.
8952 * powerpc64/power6/wcsrchr.c: New file.
8953
bcca0895
MK
89542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8955
8956 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8957 (two_way_short_needle): Use it.
5a4aaa33
RM
8958 * string/strstr.c (AVAILABLE1_USES_J): Define.
8959 * string/strcasestr.c: Likewise.
99677e57
MK
8960
8961 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8962 array references.
8963 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8964
400726de
MK
8965 [BZ #11607]
8966 * NEWS: Add an entry.
8967 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8968 define their defaults.
8969 (two_way_short_needle): Detect end-of-string on-the-fly.
8970 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8971 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8972 * string/bug-strcasestr1.c: New test.
8973 * string/Makefile: Run it.
8974
20a71f2c
MK
89752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8976
8977 [BZ #11607]
8978 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8979 the first character.
8980
21ad0558
RM
89812012-08-21 Roland McGrath <roland@hack.frob.com>
8982
8983 * csu/elf-init.c (__libc_csu_irel): Function removed.
8984 * csu/libc-start.c (apply_irel): New function.
8985 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8986
0e1d9911
JM
89872012-08-21 Joseph Myers <joseph@codesourcery.com>
8988
8989 * sysdeps/unix/sysv/linux/kernel-features.h
8990 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8991 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8992 <kernel-features.h>.
8993 [__NR_fadvise64_64]: Make code unconditional.
8994 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8995 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8996 !__NR_fadvise64_64)]: Likewise.
8997 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8998 !__NR_fadvise64_64))]: Likewise.
8999 [__NR_fadvise64]: Make code unconditional.
9000 [!__NR_fadvise64]: Remove conditional code.
9001 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9002 <kernel-features.h>.
9003 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9004 unconditional.
9005 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9006 conditional code.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9008 not include <kernel-features.h>.
9009 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9010 unconditional.
9011 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9012 conditional code.
9013 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9014 include <kernel-features.h>.
9015 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9016 unconditional.
9017 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9018 conditional code.
9019
14a50c9d
WS
90202012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9021
9022 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9023 slight instruction rearrangements per scrollpipe analysis.
9024 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9025
c0f4faf0
RM
90262012-08-20 Roland McGrath <roland@hack.frob.com>
9027
696da859
RM
9028 * manual/syslog.texi (syslog; vsyslog, closelog):
9029 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9030 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9031
c0f4faf0
RM
9032 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9033 DSOCAPS to match condition on defining it.
9034
348363b2
JM
90352012-08-20 Joseph Myers <joseph@codesourcery.com>
9036
a35cbf28
JM
9037 * sysdeps/unix/sysv/linux/kernel-features.h
9038 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9040 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9041 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9043 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9044 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9046 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9047 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9048
445f7ecd
JM
9049 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9050 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9051
348363b2
JM
9052 * sysdeps/unix/sysv/linux/kernel-features.h
9053 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9054 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9055 unconditional.
9056 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9057 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9058 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9059 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9060 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9061 Make code unconditional.
9062 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9063 (__mmap64) [!__NR_mmap2]: Likewise.
9064 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9065 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9066 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9067 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9068 [__NR_mmap2]: Make code unconditional.
9069 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9070 (__mmap64) [!__NR_mmap2]: Likewise.
9071
bc5bc0e5
AK
90722012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9073
9074 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9075
88d506de
AJ
90762012-08-18 Andreas Jaeger <aj@suse.de>
9077
9078 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9079
493387d2
MF
90802012-08-18 Mike Frysinger <vapier@gentoo.org>
9081
9082 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9083 * include/unistd.h (__have_sock_cloexec): Likewise.
9084 (__have_pipe2): Likewise.
9085 (__have_dup3): Likewise.
9086
a277af22
MF
90872012-08-18 Mike Frysinger <vapier@gentoo.org>
9088
9089 [BZ #9685]
9090 * include/unistd.h (__have_pipe2): Change define into an extern int.
9091 (__have_dup3): Likewise.
9092 * socket/have_sock_cloexec.c: Include fcntl.h.
9093 (__have_pipe2): New variable.
9094 (__have_dup3): Likewise.
9095
fdab8fd3
MF
90962012-08-17 Mike Frysinger <vapier@gentoo.org>
9097
9098 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9099
31035e80
MP
91002012-08-17 Marek Polacek <polacek@redhat.com>
9101
9102 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9103 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9104
3bd9e993
RM
91052012-08-17 Roland McGrath <roland@hack.frob.com>
9106
c91c505f
RM
9107 * configure.in: Add AC_SUBST for sysheaders.
9108 * configure: Regenerated.
9109 * config.make.in (sysheaders): New substituted variable.
9110
7c6f9d53
RM
9111 * sysdeps/unix/mkfifo.c: Moved ...
9112 * sysdeps/posix/mkfifo.c: ... here.
9113 * sysdeps/unix/mkfifoat.c: Moved ...
9114 * sysdeps/posix/mkfifoat.c: ... here.
9115
9116 * sysdeps/unix/utime.c: Moved ...
9117 * sysdeps/posix/utime.c: ... here.
9118
9119 * sysdeps/unix/time.c: Moved ...
9120 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9121 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9122 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9123
9124 * sysdeps/unix/nice.c: Moved ...
9125 * sysdeps/posix/nice.c: ... here.
9126
9127 * sysdeps/unix/alarm.c: Moved ...
9128 * sysdeps/posix/alarm.c: ... here.
9129
3bd9e993
RM
9130 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9131
d1f09384
JL
91322012-08-17 Jeff Law <law@redhat.com>
9133
9134 * intl/Makefile (codeset_mo): New variable.
9135 ($(codeset_mo)): New target.
9136 (tst-codeset.out): Depend on that. Remove explicit rule.
9137 (tst-gettext3.out, tst-gettext5.out): Likewise.
9138 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9139 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9140 * intl/tst-codeset.sh: Remove.
9141 * intl/tst-gettext3.sh: Likewise.
9142 * intl/tst-gettext5.sh: Likewise.
9143
2ae1ae5c
RM
91442012-08-17 Roland McGrath <roland@hack.frob.com>
9145
c31fdb83
RM
9146 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9147 * sysdeps/unix/syscalls.list: ... here.
9148
a0844057
RM
9149 * sysdeps/posix/getaddrinfo.c
9150 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9151 (gaiconf_init, gaiconf_reload): Use them.
9152 [!_STATBUF_ST_NSEC]
9153 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9154 Define using time_t rather than struct timespec.
9155
750c1f2a
RM
9156 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9157 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9158 Macros removed.
9159 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9160 [!NO_THREADS].
9161 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9162 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9163 Likewise.
9164
2ae1ae5c
RM
9165 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9166 __libc_cleanup_push argument.
9167
e66a42f5
RM
9168 * bits/param.h: New file.
9169 * misc/sys/param.h: New file.
9170 * include/sys/param.h: New file.
9171 * misc/Makefile (headers): Add bits/param.h.
9172 * sysdeps/generic/sys/param.h: File removed.
9173 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9174 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9175 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9176 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9177
b7c08a66
RM
9178 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9179 last change.
9180
b2e1c562
RM
9181 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9182 [_IO_MTSAFE_IO].
9183 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9184 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9185 New macros.
9186
c75ccd4c
RM
9187 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9188 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9189 rather than -D_IO_MTSAFE_IO conditionally.
9190 * stdio-common/Makefile (CPPFLAGS): Likewise.
9191 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9192 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9193 Use $(libio-mtsafe).
9194 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9195 of -D_IO_MTSAFE_IO.
9196 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9197 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9198 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9199 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9200 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9201 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9202 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9203 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9204 (CFLAGS-fread_u_chk.c): Likewise.
9205 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9206 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9207 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9208 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9209 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9210 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9211 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9212 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9213 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9214
9215 * libio/Makefile: Test [$(libc-reentrant) = yes]
9216 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9217
9218 * Makeconfig
9219 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9220 * sysdeps/pthread/configure: File removed.
9221 * sysdeps/pthread/Makeconfig: New file.
9222 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9223 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9224
d9195db8
GB
92252012-08-16 Gary Benson <gbenson@redhat.com>
9226
9227 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9228 unmapping the first object in a namespace.
9229
86466cd9
RM
92302012-08-16 Roland McGrath <roland@hack.frob.com>
9231
9232 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9233 (__internal_setnetgrent): ... this. Add internal_function to
9234 definition. Add libc_hidden_def.
9235 (setnetgrent): Update caller.
9236 (internal_endnetgrent): Renamed to ...
9237 (__internal_endnetgrent): ... this. Add internal_function to
9238 definition. Add libc_hidden_def.
9239 (endnetgrent): Update caller.
9240 (internal_getnetgrent_r): Renamed to ...
9241 (__internal_getnetgrent_r): ... this. Add internal_function to
9242 definition. Add libc_hidden_def.
9243 (__getnetgrent_r): Update caller.
9244 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9245
c3c8283c
JM
92462012-08-16 Joseph Myers <joseph@codesourcery.com>
9247
9248 * stdlib/longlong.h: Update from GCC.
9249
db1ee0a8
RM
92502012-08-16 Roland McGrath <roland@hack.frob.com>
9251
9252 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9253 on _QL, which is set by umul_ppmm but never used.
9254 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9255 variables, which are set by GMP macros but never used.
9256 * stdio-common/_itowa.c (_itowa): Likewise.
9257 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9258 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9259
30f69637
CD
92602012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9261
9262 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9263 struct La_sh_regs is not constant.
9264 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9265 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9266 and struct La_sparc64_regs are not constant.
9267
93a78ac4
JM
92682012-08-16 Joseph Myers <joseph@codesourcery.com>
9269
9270 * sysdeps/unix/sysv/linux/kernel-features.h
9271 (__ASSUME_POSIX_TIMERS): Remove.
9272 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9273 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9274 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9275 Make code unconditional.
9276 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9277 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9278 Make code unconditional.
9279 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9280 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9281 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9282 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9283 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9284 Make code unconditional.
9285 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9286 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9287 (__libc_missing_posix_timers): Remove.
9288
dd924cd7
RM
92892012-08-15 Roland McGrath <roland@hack.frob.com>
9290
4b4f2771
RM
9291 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9292 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9293
601c888b
RM
9294 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9295
176790a7
RM
9296 * elf/dl-sym.c: Include <stdlib.h>.
9297
329bc018
RM
9298 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9299 constants, which avoids warnings in 32-bit builds.
9300
e04e272d
RM
9301 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9302 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9303
952bf94a
RM
9304 * misc/lseek.c: File moved to ...
9305 * io/lseek.c: ... here.
9306
7c99b50a
RM
9307 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9308
dd924cd7
RM
9309 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9310 shifting LEN more than 31 bits at once.
9311
b3f479a8
LD
93122012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9313
9314 [BZ #14195]
8c4ae0d4
RM
9315 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9316 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9317 * string/test-strncasecmp.c (check1): Renamed to...
9318 (bz12205): ...this.
9319 (bz14195): Add new testcase for two empty input strings and N > 0.
9320 (test_main): Call new testcase, adapt for renamed function.
9321
9c55864e
AJ
93222012-08-15 Andreas Jaeger <aj@suse.de>
9323
9324 [BZ #14090]
9325 * crypt/md5test2.c: New test, based on test supplied by Serge
9326 Belyshev <belyshev@depni.sinp.msu.ru>.
9327 * crypt/Makefile (xtests): Add md5test-giant..
9328 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9329
02dcb6c5
PE
93302012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9331
9332 [BZ #14090]
9333 * crypt/md5.c (md5_process_block): Don't assume the buffer
9334 length is less than 2**32.
9335 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9336 length is less than 2**64.
9337
a3f95dcc
RM
93382012-08-15 Roland McGrath <roland@hack.frob.com>
9339
be75d758
RM
9340 * string/str-two-way.h: Include <sys/param.h>.
9341 (MAX): Macro removed.
9342
7312ca90
RM
9343 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9344 Move #define and #undef of memmove to just before and after
9345 including <string.h>.
9346
9a0a5486
RM
9347 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9348 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9349 and after including <string.h>. Move declarations of
9350 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9351 to before #include "string/memmove.c".
9352
67cc348d
RM
9353 * include/dirent.h: Declare __getdirentries.
9354
a3f95dcc
RM
9355 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9356 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9357
ca98e171
MF
93582012-08-14 Mike Frysinger <vapier@gentoo.org>
9359
9360 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9361 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9362 * sysdeps/i386/configure: Regenerated.
9363 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9364 STABS_CURRENT_FILE, and STABS_FUN.
9365 (END): Remove call to STABS_FUN_END.
9366 (STABS_CURRENT_FILE1): Delete.
9367 (STABS_CURRENT_FILE): Likewise.
9368 (STABS_FUN): Likewise.
9369 (STABS_FUN_END): Likewise.
9370 (STABS_FUN2): Likewise.
9371 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9372 * sysdeps/x86_64/configure: Regenerated.
9373
5908bf46
RM
93742012-08-14 Roland McGrath <roland@hack.frob.com>
9375
9376 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9377 * elf/dl-lookup.c: Likewise.
5908bf46 9378
f2c05b9e
JM
93792012-08-14 Joseph Myers <joseph@codesourcery.com>
9380
9381 * sysdeps/unix/sysv/linux/kernel-features.h
9382 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9383 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9384 unconditionally.
9385 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9386 unconditionally.
9387 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9388 condition on __ASSUME_CLONE_THREAD_FLAGS.
9389
e11f5155
AJ
93902012-08-14 Andreas Jaeger <aj@suse.de>
9391
9392 * sysdeps/i386/fpu/libm-test-ulps: Update.
9393
51a9ba86
MK
93942012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9395
2fdd4f78
AJ
9396 * include/atomic.h (atomic_exchange_and_add): Split into ...
9397 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9398 New atomic macros.
51a9ba86 9399
ba6cba9e
MT
94002012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9401
9402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9403
42443a47
JL
94042012-08-13 Jeff Law <law@redhat.com>
9405
9406 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9407 null byte in the output string.
9408
121dce05
JM
94092012-08-10 Joseph Myers <joseph@codesourcery.com>
9410
9411 * sysdeps/unix/sysv/linux/kernel-features.h
9412 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9413 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9414 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9415 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9416 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9417 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9418 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9419
bf51f568
JL
94202012-08-09 Jeff Law <law@redhat.com>
9421
9422 [BZ #13939]
9423 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9424 When avoid_arena is set, don't retry in the that arena. Pick the
9425 next one, whatever it might be.
9426 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9427 (arena_lock): Pass in new parameter to arena_get2.
9428 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9429 arena_get2.
9430 (__libc_malloc): Unify retrying after main arena failure with
9431 __libc_memalign version.
9432 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9433
f85fa270
L
94342012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9435
9436 [BZ #14166]
9437 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9438 to __redirect_strstr.
9439 (__strstr_sse42): Use typeof __redirect_strstr.
9440 (__strstr_ia32): Likewise.
9441 (__libc_strstr): New prototype.
9442 (strstr): Renamed to ...
9443 (__libc_strstr): This.
9444 (strstr): New strong alias of __libc_strstr.
9445 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9446 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9447 __redirect_time.
9448 Include <time.h>.
9449 (__libc_time): New prototype.
9450 (time_ifunc): Replace time with __libc_time.
9451 (time): New strong alias and hidden definition of __libc_time.
9452 (__GI_time): Remove strong alias.
9453 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9454 Include <stddef.h>.
9455 (memmove): Redefined to __redirect_memmove.
9456 (__memmove_sse2): Use typeof __redirect_memmove.
9457 (__memmove_ssse3): Likewise.
9458 (__memmove_ssse3_back): Likewise.
9459 (__libc_memmove): New prototype.
9460 (memmove): Renamed to ...
9461 (__libc_memmove): This.
9462 (memmove): New strong alias of __libc_memmove.
9463
33b4a91e
MS
94642012-08-08 Mark Salter <msalter@redhat.com>
9465
9466 * elf/elf.h
9467 (R_MN10300_TLS_GD): Define.
9468 (R_MN10300_TLS_LD): Likewise.
9469 (R_MN10300_TLS_LDO): Likewise.
9470 (R_MN10300_TLS_GOTIE): Likewise.
9471 (R_MN10300_TLS_IE): Likewise.
9472 (R_MN10300_TLS_LE): Likewise.
9473 (R_MN10300_TLS_DTPMOD): Likewise.
9474 (R_MN10300_TLS_DTPOFF): Likewise.
9475 (R_MN10300_TLS_TPOFF): Likewise.
9476 (R_MN10300_SYM_DIFF): Likewise.
9477 (R_MN10300_ALIGN): Likewise.
9478 (R_MN10300_NUM): Update.
9479
b36137f1
JM
94802012-08-08 Joseph Myers <joseph@codesourcery.com>
9481
9482 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9483 Remove.
9484
cdd915fd
RM
94852012-08-08 Roland McGrath <roland@hack.frob.com>
9486
a2433aac
RM
9487 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9488
cdd915fd
RM
9489 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9490 sysdeps/unix -> sysdeps/posix move.
9491 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9492
bf9b740a
AM
94932012-08-07 Allan McRae <allan@archlinux.org>
9494
9495 [BZ #14303]
9496 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9497 (SUNOS_CPP): Likewise.
9498 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9499 not found.
9500 (open_input): Call CPP using execvp.
9501
93df14ee
JM
95022012-08-07 Joseph Myers <joseph@codesourcery.com>
9503
9504 * sysdeps/unix/sysv/linux/kernel-features.h
9505 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9506 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9507 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9508 (__ASSUME_WAITID_SYSCALL): Likewise.
9509 * sysdeps/unix/sysv/linux/dl-execstack.c
9510 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9511 code unconditional.
9512 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9513 conditional code.
9514 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9515 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9516 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9517 code.
9518 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9519 unconditional.
9520 [__ASSUME_WAITID_SYSCALL]: Likewise.
9521 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9522
d34689de
RM
95232012-08-07 Roland McGrath <roland@hack.frob.com>
9524
a281decc
RM
9525 * sysdeps/unix/closedir.c: Renamed to ...
9526 * sysdeps/posix/closedir.c: ... here.
9527 * sysdeps/unix/dirfd.c: Renamed to ...
9528 * sysdeps/posix/dirfd.c: ... here.
9529 * sysdeps/unix/dirstream.h: Renamed to ...
9530 * sysdeps/posix/dirstream.h: ... here.
9531 * sysdeps/unix/fdopendir.c: Renamed to ...
9532 * sysdeps/posix/fdopendir.c: ... here.
9533 * sysdeps/unix/opendir.c: Renamed to ...
9534 * sysdeps/posix/opendir.c: ... here.
9535 * sysdeps/unix/readdir.c: Renamed to ...
9536 * sysdeps/posix/readdir.c: ... here.
9537 * sysdeps/unix/readdir_r.c: Renamed to ...
9538 * sysdeps/posix/readdir_r.c: ... here.
9539 * sysdeps/unix/rewinddir.c: Renamed to ...
9540 * sysdeps/posix/rewinddir.c: ... here.
9541 * sysdeps/unix/seekdir.c: Renamed to ...
9542 * sysdeps/posix/seekdir.c: ... here.
9543 * sysdeps/unix/telldir.c: Renamed to ...
9544 * sysdeps/posix/telldir.c: ... here.
9545 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9546 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9547 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9548 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9549
22895b47
RM
9550 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9551 * bits/fcntl.h: ... here.
9552
707a53b6
RM
9553 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9554 not 0.
9555 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9556 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9557 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9558 (struct flock): Move l_start, l_len to the beginning.
9559 Use __pid_t for l_pid.
9560 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9561 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9562 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9563 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9564 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9565 [__USE_LARGEFILE64] (struct flock64): New type.
9566 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9567
f0bd3e25
RM
9568 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9569 * bits/dirent.h: ... here.
9570
d34689de
RM
9571 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9572 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9573
6dad2c06
JM
95742012-08-07 Joseph Myers <joseph@codesourcery.com>
9575
9576 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9577 Change from 2.6.0 to 2.6.16.
9578 * sysdeps/unix/sysv/linux/configure: Regenerated.
9579 * sysdeps/unix/sysv/linux/kernel-features.h
9580 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9581 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9582 version.
9583 (__ASSUME_UTIMES): Likewise.
9584 (__ASSUME_CLONE_STOPPED): Remove.
9585 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9586 architectures, not kernel version.
9587 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9588 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9589 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9590 (__ASSUME_WAITID_SYSCALL): Likewise.
9591 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9592 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9593 * README: State 2.6.16 as minimum Linux kernel version. Do not
9594 refer to older versions.
9595
03af9520
RM
95962012-08-06 Roland McGrath <roland@hack.frob.com>
9597
8e49df1d
RM
9598 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9599 Define alphasort64 as an alias.
9600 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9601 Define versionsort64 as an alias.
9602 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9603 Define scandir64 as an alias.
9604 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9605 Define scandirat64 as an alias.
9606 * dirent/alphasort64.c (alphasort64):
9607 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9608 * dirent/versionsort64.c: Likewise.
9609 * dirent/scandir64.c: Likewise.
9610 * dirent/scandirat64.c: Likewise.
9611 * sysdeps/wordsize-64/alphasort.c: File removed.
9612 * sysdeps/wordsize-64/alphasort64.c: File removed.
9613 * sysdeps/wordsize-64/scandir.c: File removed.
9614 * sysdeps/wordsize-64/scandir64.c: File removed.
9615 * sysdeps/wordsize-64/scandirat.c: File removed.
9616 * sysdeps/wordsize-64/scandirat64.c: File removed.
9617 * sysdeps/wordsize-64/versionsort.c: File removed.
9618 * sysdeps/wordsize-64/versionsort64.c: File removed.
9619 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9620 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9621 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9622 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9623 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9624 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9625 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9626 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9627
9628 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9630 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9632 [defined __arch64__ || defined __sparcv9]
9633 (__INO_T_MATCHES_INO64_T): New macro.
9634 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9635 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9636 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9637 * sysdeps/unix/sysv/linux/bits/dirent.h
9638 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9639 (_DIRENT_MATCHES_DIRENT64): New macro.
9640
03af9520
RM
9641 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9642 Define lockf64 as an alias.
9643 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9644 Define fseeko64 as an alias.
9645 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9646 Define ftello64 as an alias.
9647 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9648 Define _IO_fgetpos64 and fgetpos64 as aliases.
9649 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9650 Define _IO_fsetpos64 and fsetpos64 as aliases.
9651 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9652 Conditionalize body on this.
9653 * libio/fseeko64.c: Likewise.
9654 * libio/ftello64.c: Likewise.
9655 * libio/iofgetpos64.c: Likewise.
9656 * libio/iofsetpos64.c: Likewise.
9657 * sysdeps/wordsize-64/lockf.c: File removed.
9658 * sysdeps/wordsize-64/lockf64.c: File removed.
9659 * sysdeps/wordsize-64/fseeko.c: File removed.
9660 * sysdeps/wordsize-64/fseeko64.c: File removed.
9661 * sysdeps/wordsize-64/ftello.c: File removed.
9662 * sysdeps/wordsize-64/ftello64.c: File removed.
9663 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9664 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9665 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9666 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9667 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9668 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9669 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9670 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9671 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9672 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9673 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9674 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9675 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9676 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9677
9678 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9680 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9682 [defined __arch64__ || defined __sparcv9]
9683 (__OFF_T_MATCHES_OFF64_T): New macro.
9684 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9685 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9687 (__OFF_T_MATCHES_OFF64_T): New macro.
9688
c5757acd
L
96892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9690
9691 * stdlib/secure-getenv.c (__secure_getenv): Replace
9692 GLIBC_2_16 with GLIBC_2_17.
9693
3a31811e
L
96942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9695
9696 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9697 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9698
faa2bccb
DM
96992012-08-03 David S. Miller <davem@davemloft.net>
9700
9701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9702
85fe1997
JM
97032012-08-03 Joseph Myers <joseph@codesourcery.com>
9704
9705 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9706 Remove.
9707 (__ASSUME_CORRECT_SI_PID): Likewise.
9708 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9709 (__ASSUME_TMPFS_NAME): Likewise.
9710 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9711 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9712 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9713 (HAVE_AUX_SECURE): Make definition unconditional.
9714 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9715 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9716
4f75b7a0
RM
97172012-08-03 Roland McGrath <roland@hack.frob.com>
9718
9719 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9720 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9721 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9722 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9723 __eloop_threshold instead of SYMLOOP_MAX.
9724
9725 * sysdeps/generic/eloop-threshold.h: New file.
9726 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9727 of MAXSYMLINKS.
9728 * elf/chroot_canon.c (chroot_canon): Likewise.
9729
7aab07e4
JM
97302012-08-03 Joseph Myers <joseph@codesourcery.com>
9731
9732 [BZ #13717]
9733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9734 Change to 2.6.0 everywhere.
9735 * sysdeps/unix/sysv/linux/configure: Regenerated.
9736 * sysdeps/unix/sysv/linux/kernel-features.h
9737 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9738 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9739 kernel versions.
9740 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9741 (__ASSUME_FUTEX_REQUEUE): Remove.
9742 (__ASSUME_STATFS64): Define unconditionally.
9743 (__ASSUME_AT_SECURE): Likewise.
9744 (__ASSUME_CORRECT_SI_PID): Likewise.
9745 (__ASSUME_TGKILL): Define without depending on kernel version for
9746 i386.
9747 (__ASSUME_UTIMES): Likewise.
9748 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9749 kernel version.
9750 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9751 (__ASSUME_TMPFS_NAME): Likewise.
9752 * README: Update reference to Linux kernel versions.
9753
b67e9372
MP
97542012-08-02 Marek Polacek <polacek@redhat.com>
9755
1f529f7d 9756 [BZ# 14150]
b67e9372
MP
9757 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9758 libc_cv_asm_type_prefix with %.
9759 * configure: Regenerated.
d2441631
RM
9760 * include/libc-symbols.h: Remove comment about
9761 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9762 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9763 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9764 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9765 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9766 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9767 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9768 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9769 * elf/tst-unique2mod1.c: Likewise.
9770 * elf/tst-unique1mod2.c: Likewise.
9771 * elf/tst-unique1mod1.c: Likewise.
9772 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9773 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9774 Replace ASM_TYPE_DIRECTIVE with .type.
9775 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9776 * sysdeps/i386/sysdep.h: Likewise.
9777 * sysdeps/x86_64/sysdep.h: Likewise.
9778 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9780 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9781 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9782 * sysdeps/powerpc/powerpc32/sysdep.h:
9783 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9784 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9785 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9786 * sysdeps/i386/fpu/e_powf.S: Likewise.
9787 * sysdeps/i386/fpu/e_expl.S: Likewise.
9788 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9789 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9790 * sysdeps/i386/fpu/e_pow.S: Likewise.
9791 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9792 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9793 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9794 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9795 * sysdeps/i386/fpu/e_log2.S: Likewise.
9796 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9797 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9798 * sysdeps/i386/fpu/e_powl.S: Likewise.
9799 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9800 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9801 * sysdeps/i386/fpu/e_logl.S: Likewise.
9802 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9803 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9804 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9805 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9806 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9807 * sysdeps/i386/fpu/e_log.S: Likewise.
9808 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9809 * sysdeps/i386/fpu/e_logf.S: Likewise.
9810 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9811 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9812 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9813 * sysdeps/i386/fpu/e_log10.S: Likewise.
9814 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9815 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9816 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9817 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9818 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9819 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9820 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9821 * sysdeps/i386/i686/strtok.S: Likewise.
9822 * sysdeps/i386/i386-mcount.S: Likewise.
9823 * sysdeps/i386/strtok.S: Likewise.
9824 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9825 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9826 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9827 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9828 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9829 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9830 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9831 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9832 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9833 * sysdeps/x86_64/_mcount.S: Likewise.
9834 * sysdeps/x86_64/strtok.S: Likewise.
9835 * sysdeps/sh/_mcount.S: Likewise.
9836
2747bf9a
RM
98372012-08-01 Roland McGrath <roland@hack.frob.com>
9838
9839 * libio/iofopen.c: Include <fcntl.h>.
9840 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9841 (_IO_fopen64, fopen64): Define as aliases.
9842 * libio/iofopen64.c: Include <fcntl.h>.
9843 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9844 Conditionalize body on this.
9845 * sysdeps/wordsize-64/iofopen.c: File removed.
9846 * sysdeps/wordsize-64/iofopen64.c: File removed.
9847
3fb791b8
MP
98482012-08-01 Marek Polacek <polacek@redhat.com>
9849
9850 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9851 Use dlfcn directly instead of a variable.
9852 (binfmt-subdir): Do not define.
9853 (dlfcn): Likewise.
9854
a9f1039f
JM
98552012-08-01 Joseph Myers <joseph@codesourcery.com>
9856
23bddc06
JM
9857 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9858 Remove all definitions.
9859 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9860 <kernel-features.h>.
9861 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9862 (miss_F_GETOWN_EX): Remove all definitions.
9863 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9864 macro definition.
9865 [!__ASSUME_FCNTL64]: Remove conditional code.
9866 [__ASSUME_FCNTL64]: Make code unconditional.
9867 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9868 <kernel-features.h>.
9869 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9870 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9871 (lockf64) [__NR_fcntl64]: Make code unconditional.
9872 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9873
a9f1039f
JM
9874 * sysdeps/unix/sysv/linux/kernel-features.h
9875 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9876 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9877 Make code unconditional.
9878 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9879 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9881 [__NR_vfork]: Make code unconditional.
9882 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9883 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9885 [__NR_vfork]: Make code unconditional.
9886 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9887 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9888
09c0ee5f
RM
98892012-08-01 Roland McGrath <roland@hack.frob.com>
9890
48aec5b9
RM
9891 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9892 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9893
cd97c966
RM
9894 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9895 Define mkstemp64 as an alias.
3f55550c
RM
9896 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9897 Define mkstemps64 as an alias.
cd97c966
RM
9898 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9899 Define mkostemp64 as an alias.
b8625cfc
RM
9900 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9901 Define mkostemps64 as an alias.
cd97c966
RM
9902 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9903 Conditionalize body on this.
9904 * misc/mkostemp64.c: Likewise.
b8625cfc 9905 * misc/mkostemps64.c: Likewise.
3f55550c 9906 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9907 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9908 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9909 * sysdeps/wordsize-64/mkostemp.c: File removed.
9910 * sysdeps/wordsize-64/mkstemp.c: File removed.
9911 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9912 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9913 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9914 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9915
09c0ee5f
RM
9916 [BZ #14138]
9917 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9918 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9919 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9920 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9921
9922 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9923 compat_symbol macros from <shlib-compat.h> rather than the underlying
9924 default_symbol_version and symbol_version macros, so that DEFAULT
9925 lines in shlib-versions are respected.
9926 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9927
7e66ee51
FW
99282012-08-01 Florian Weimer <fweimer@redhat.com>
9929
9930 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9931 Declare with warn_unused_result.
9932 (setgid, setregid, setegid, setresgid): Likewise.
9933 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9934 Likewise.
9935 * WUR-REPORT: Remove set*id functions.
9936
d2a54255
PT
99372012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9938
9939 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9940
7ecdb005
RM
99412012-07-31 Roland McGrath <roland@hack.frob.com>
9942
789bd351
RM
9943 * include/sys/socket.h (__libc_accept, __libc_accept4):
9944 Add attribute_hidden.
9945 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9946
40ce302d
RM
9947 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9948 use of PTR_MANGLE.
9949 * inet/getnetgrent_r.c (setup): Likewise.
9950
7ecdb005
RM
9951 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9952
e2eabb2c
DM
99532012-07-31 David S. Miller <davem@davemloft.net>
9954
9955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9956
d0419dbf
JM
99572012-07-31 Joseph Myers <joseph@codesourcery.com>
9958
9959 [BZ #13629]
9960 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9961 value between 1.0 and 2.0 and smaller part has absolute value less
9962 than 1.0.
9963 * math/s_clog10.c (__clog10): Likewise.
9964 * math/s_clog10f.c (__clog10f): Likewise.
9965 * math/s_clog10l.c (__clog10l): Likewise.
9966 * math/s_clogf.c (__clogf): Likewise.
9967 * math/s_clogl.c (__clogl): Likewise.
9968 * math/libm-test.inc (clog_test): Add more tests.
9969 (clog10_test): Likewise.
9970 * sysdeps/i386/fpu/libm-test-ulps: Update.
9971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9972
2bc13872
FW
99732012-07-31 Florian Weimer <fweimer@redhat.com>
9974
9975 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9976 Exit with zero in case no suitable GID is found, and write a
9977 message to standard error.
9978
bea9b193
RM
99792012-07-30 Roland McGrath <roland@hack.frob.com>
9980
9981 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9982 rather than to 1.
9983 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9984 (MAXPATHLEN): Removed.
9985 (NOGROUP, NODEV): New macros.
9986 (setbit, clrbit, isset, isclr): New macros.
9987 (howmany, roundup, powerof2): New macros.
9988 (DEV_BSIZE): New macro.
9989
9990 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9991 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9992
9993 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9994 definition on [!__NO_LONG_DOUBLE_MATH].
9995
9996 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9997 PTR_MANGLE and PTR_DEMANGLE.
9998
9999 * socket/accept4.c (accept4): Rename to __libc_accept4.
10000 Define accept4 as a weak alias.
10001
10002 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10003 on [_DIRENT_HAVE_D_TYPE].
10004 * io/ftw.c (ftw_dir): Likewise.
10005
10006 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10007
10008 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10009
10010 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10011 Use the BSD numbers rather than the arbitrary ones we had.
10012 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10013 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10014 (SIGXCPU, SIGXFSZ): New macros.
10015 (_NSIG): Now 32.
10016
10017 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10018 initializer on [_LIBC_REENTRANT].
10019
10020 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10021 definitions inside [_POSIX_MAPPED_FILES].
10022
10023 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10024
10025 * dirent/opendir.c: Include <fcntl.h>.
10026
10027 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10028 (__libc_getspecific): Likewise.
10029 (__libc_key_create): Likewise.
10030
10031 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10032 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10033 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10034 (tmpfile64): Define as alias.
10035 * sysdeps/wordsize-64/tmpfile.c: File removed.
10036 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10038 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10039
10040 * stdio-common/vfscanf.c: Include <stdbool.h>.
10041 * nss/makedb.c: Likewise.
10042 * stdio-common/_i18n_number.h: Likewise.
10043 * argp/argp-help.c: Likewise.
10044 * posix/wordexp.c: Likewise.
10045 * sysdeps/posix/spawni.c: Likewise.
10046 * nss/nss_files/files-initgroups.c: Likewise.
10047 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10048 * nss/nss_files/files-initgroups.c: Likewise.
10049 * nss/nss_db/db-netgrp.c: Likewise.
10050 * nss/nss_db/db-initgroups.c: Likewise.
10051 * io/fchmodat.c: Include <sys/stat.h>.
10052
10053 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10054 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10055
10056 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10057 [HAVE_MMAP].
10058
10059 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10060 Add multiple inclusion protection.
10061
e5abc686
DM
100622012-07-27 David S. Miller <davem@davemloft.net>
10063
10064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10065
815e6fa3
GB
100662012-07-27 Gary Benson <gbenson@redhat.com>
10067
10068 [BZ #14298]
10069 * elf/rtld.c: Include <stap-probe.h>.
10070 (dl_main): Added static probes "init_start" and "init_complete".
10071 * elf/dl-load.c: Include <stap-probe.h>.
10072 (lose): Take new parameter "nsid".
10073 Added static probe "map_failed".
10074 (_dl_map_object_from_fd): Pass namespace id to lose.
10075 Added static probe "map_start".
10076 (open_verify): Pass namespace id to lose.
10077 * elf/dl-open.c: Include <stap-probe.h>.
10078 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10079 and "reloc_complete".
10080 * elf/dl-close.c: Include <stap-probe.h>.
10081 (_dl_close_worker): Added static probes "unmap_start" and
10082 "unmap_complete".
10083 * elf/rtld-debugger-interface.txt: New file documenting the above.
10084
9f98c16c
RM
100852012-07-26 Roland McGrath <roland@hack.frob.com>
10086
10087 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10088 rather than a string variable.
10089 * sunrpc/rpc_main.c (h_output): Likewise.
10090 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10091
f3c22df3
PT
100922012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10093
10094 * inet/check_native.c: New file.
10095
3129cfc6
JM
100962012-07-26 Joseph Myers <joseph@codesourcery.com>
10097
da865e95
JM
10098 [BZ #13629]
10099 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10100 if larger part has absolute value 1.0.
10101 * math/s_clog10.c (__clog10): Likewise.
10102 * math/s_clog10f.c (__clog10f): Likewise.
10103 * math/s_clog10l.c (__clog10l): Likewise.
10104 * math/s_clogf.c (__clogf): Likewise.
10105 * math/s_clogl.c (__clogl): Likewise.
10106 * math/libm-test.inc (clog_test): Add more tests.
10107 (clog10_test): Likewise.
10108 * sysdeps/i386/fpu/libm-test-ulps: Update.
10109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10110
3129cfc6
JM
10111 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10112 (pltexit): Likewise.
10113 (La_regs): Likewise.
10114 (La_retval): Likewise.
10115 (int_retval): Likewise.
10116 Update #error for removed macros to refer only to definitions in
10117 tst-audit.h.
10118 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10119 macro.
10120 (pltexit): Likewise.
10121 (La_regs): Likewise.
10122 (La_retval): Likewise.
10123 (int_retval): Likewise.
10124 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10125 macro.
10126 (pltexit): Likewise.
10127 (La_regs): Likewise.
10128 (La_retval): Likewise.
10129 (int_retval): Likewise.
10130 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10131 macro.
10132 (pltexit): Likewise.
10133 (La_regs): Likewise.
10134 (La_retval): Likewise.
10135 (int_retval): Likewise.
10136 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10137 macro.
10138 (pltexit): Likewise.
10139 (La_regs): Likewise.
10140 (La_retval): Likewise.
10141 (int_retval): Likewise.
10142 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10143 macro.
10144 (pltexit): Likewise.
10145 (La_regs): Likewise.
10146 (La_retval): Likewise.
10147 (int_retval): Likewise.
10148 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10149 macro.
10150 (pltexit): Likewise.
10151 (La_regs): Likewise.
10152 (La_retval): Likewise.
10153 (int_retval): Likewise.
10154 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10155 macro definitions in tst-audit.h.
10156 * sysdeps/i386/tst-audit.h: New file.
10157 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10158 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10159 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10160 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10161 * sysdeps/sh/tst-audit.h: Likewise.
10162 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10163 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10164 * sysdeps/x86_64/tst-audit.h: Likewise.
10165
bfc07087
AJ
101662012-07-26 Andreas Jaeger <aj@suse.de>
10167
b1b2aaf8
AJ
10168 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10169 ptrace.
10170
10171 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10172 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10173 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10174 PTRACE_O_MASK.
10175 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10176 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10177 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10178
bfc07087
AJ
10179 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10180 value.
10181
10182 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10183 _sigsys.
10184 (si_call_addr, si_syscall, si_arch): Define new macro.
10185 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10186 _sigsys.
10187 (si_call_addr, si_syscall, si_arch): Define new marcro.
10188 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10189 _sigsys.
10190 (si_call_addr, si_syscall, si_arch): Define new macro.
10191 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10192 _sigsys.
10193 (si_call_addr, si_syscall, si_arch): Define new macro.
10194
89b4b02f
JM
101952012-07-25 Joseph Myers <joseph@codesourcery.com>
10196
10197 [BZ #13717]
10198 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10199 Change to 2.4.21 where previously 2.4.1.
10200 * sysdeps/unix/sysv/linux/configure: Regenerated.
10201 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10202 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10203 Linux kernel version.
10204 (__ASSUME_STD_AUXV): Remove.
10205 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10206 kernel version.
10207 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10208 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10209 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10210 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10211 (__ASSUME_NETLINK_SUPPORT): Likewise.
10212 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10213 (__no_netlink_support): Remove conditional definition.
10214 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10215 Remove.
10216 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10217 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10218 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10219 (if_nameindex_ioctl): Remove.
10220 (if_nameindex_netlink): Do not handle __no_netlink_support.
10221 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10222 code.
10223 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10224 Remove conditional code.
10225 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10226 code.
10227 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10228 unconditional.
10229 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10230 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10231 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10232 Remove.
10233 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10234 [!__ASSUME_STD_AUXV]: Remove conditional code.
10235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10236 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10237 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10239 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10240 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10241 code.
10242 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10244 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10245 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10246 conditional code.
10247 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10249 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10250 code.
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10252 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10253 conditional code.
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10255 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10256 code unconditional.
10257 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10258 conditional code.
10259 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10260 unconditional.
10261 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10262 conditional code.
10263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10264 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10265 unconditional.
10266 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10267 conditional code.
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10269 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10270 code unconditional.
10271 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10272 conditional code.
10273 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10274 unconditional.
10275 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10276 conditional code.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10278 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10279 code unconditional.
10280 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10281 conditional code.
10282 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10283 unconditional.
10284 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10285 conditional code.
10286
842a39cd
AS
102872012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10288
10289 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10290 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10291 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10292 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10293 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10294 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10295 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10296 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10297 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10298 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10299 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10300 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10301 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10302 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10303 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10304 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10305 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10306 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10307 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10309 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10310 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10311 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10312
84b3fd84
FW
103132012-07-25 Florian Weimer <fweimer@redhat.com>
10314
10315 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10316 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10317 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10318 Introduce __libc_secure_getenv.
0c7936d5
FW
10319 * stdlib/Versions (2.17): Add secure_getenv
10320 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10321 * stdlib/secure-getenv.c: Rename __secure_getenv to
10322 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10323 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10324 * stdlib/tst-secure-getenv.c: New.
10325 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10326 * manual/startup.texi (Environment Access): Document
10327 secure_getenv.
84b3fd84
FW
10328 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10329 __libc_secure_getenv.
10330 * inet/ruserpass.c (ruserpass): Likewise.
10331 * malloc/mtrace.c (mtrace): Likewise.
10332 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10333 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10334 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10335 * sysdeps/posix/tempname.c: Likewise. Evaluate
10336 HAVE_SECURE_GETENV.
10337 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10338 __secure_getenv to __libc_secure_getenv.
84b3fd84 10339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10341 Likewise.
10342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10343 Likewise.
10344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10351
56e49b71
JM
103522012-07-25 Joseph Myers <joseph@codesourcery.com>
10353
10354 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10355 (struct La_i86_retval): Likewise.
10356 (struct La_x86_64_regs): Likewise.
10357 (struct La_x86_64_retval): Likewise.
10358 (struct La_x32_regs): Likewise.
10359 (struct La_x32_retval): Likewise.
10360 (struct La_ppc32_regs): Likewise.
10361 (struct La_ppc32_retval): Likewise.
10362 (struct La_ppc64_regs): Likewise.
10363 (struct La_ppc64_retval): Likewise.
10364 (struct La_sh_regs): Likewise.
10365 (struct La_sh_retval): Likewise.
10366 (struct La_s390_32_regs): Likewise.
10367 (struct La_s390_32_retval): Likewise.
10368 (struct La_s390_64_regs): Likewise.
10369 (struct La_s390_64_retval): Likewise.
10370 (struct La_sparc32_regs): Likewise.
10371 (struct La_sparc32_retval): Likewise.
10372 (struct La_sparc64_regs): Likewise.
10373 (struct La_sparc64_retval): Likewise.
10374 (struct audit_ifaces): Remove architecture-specific pltenter and
10375 pltexit members.
10376 * sysdeps/i386/ldsodefs.h: New file.
10377 * sysdeps/powerpc/ldsodefs.h: Likewise.
10378 * sysdeps/s390/ldsodefs.h: Likewise.
10379 * sysdeps/sh/ldsodefs.h: Likewise.
10380 * sysdeps/sparc/ldsodefs.h: Likewise.
10381 * sysdeps/x86_64/ldsodefs.h: Likewise.
10382
354691b7
MP
103832012-07-25 Marek Polacek <polacek@redhat.com>
10384
10385 [BZ #6808]
10386 * math/libm-test.inc (yn_test): Add another test.
10387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10388 to ERANGE when the result is +-Inf.
10389 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10390 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10391 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10392 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10393
bf9e2071
JM
103942012-07-24 Joseph Myers <joseph@codesourcery.com>
10395
10396 * conform/data/time.h-data (NULL): Use macro-constant. Require
10397 equal to 0.
10398 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10399 clock_t.
10400 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10401
57633811
TS
104022012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10403
10404 * configure.in <sysdeps resolving>: Correct printing
10405 Implies_before.
10406 * configure: Regenerate.
10407
c23c33b0
TS
104082012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10409
10410 * math/w_ilogb.c: Include <limits.h>.
10411 * math/w_ilogbl.c: Likewise.
10412
b5982523
JM
104132012-07-20 Joseph Myers <joseph@codesourcery.com>
10414
10415 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10416 va_copy. Document allowing for unavailable va_copy only as
10417 pre-C99 compatibility.
10418 * manual/string.texi (Copying and Concatenation): Use va_copy
10419 instead of __va_copy in concat example.
10420
ac4ea442
PT
104212012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10422
10423 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10424 (__sendto): Use create_address_port. Initialize APORT and deallocate
10425 it if not null.
10426
f98eafbd
PT
10427 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10428 with O_NOLINK passed to __file_name_lookup.
10429
898c7aab
PT
10430 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10431 with O_NOLINK passed to __file_name_lookup.
10432
0ced335a
PT
10433 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10434 negative N or less than NGIDS.
10435
b3404dbd
PT
10436 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10437 type to string_t. Set ERANGE as errno and return it if NAME is not big
10438 enough. Use memcpy instead of strncpy.
10439
0f48659e
JM
104402012-07-20 Joseph Myers <joseph@codesourcery.com>
10441
10442 * elf/Makefile (check-data): Remove.
10443 (localplt.data): New vpath directive.
10444 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10445 instead of $(check-data).
10446 * scripts/data/localplt-generic.data: Move to ...
10447 * sysdeps/generic/localplt.data: ... here.
10448 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10449 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10450 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10452 ... here.
10453 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10455 ... here.
10456 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10458 ... here.
10459 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10461 ... here.
10462 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10464 ... here.
10465 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10467 ... here.
10468
d37cbdaa
AZ
104692012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10470
10471 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10472 PPC32 and PPC64 files.
10473 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10474 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10475
46f85fc2
AK
104762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10477
10478 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10479 __makecontext_ret to ...
10480 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10481 ... here and call exit if uc_link is NULL. New file.
10482 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10483 __makecontext_ret.S.
10484 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10485 __makecontext_ret to ...
10486 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10487 ... here and call exit if uc_link is NULL. New file.
10488 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10489 __makecontext_ret.S.
10490
08f43f9b
AK
104912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10492
10493 * elf/elf.h (R_390_IRELATIVE): New definition.
10494 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10495 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10496 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10497 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10498 (elf_machine_lazy_rel): Likewise.
10499 * sysdeps/s390/dl-irel.h: New file.
10500 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10501 * sysdeps/s390/s390-64/memset.S: New asm code.
10502 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10503 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10504 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10505 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10506 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10507 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10508 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10509 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10510 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10511 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10512 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10513 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10514 * sysdeps/s390/s390-32/memset.S: New asm code.
10515 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10516
3b05db33
MP
105172012-07-17 Marek Polacek <polacek@redhat.com>
10518
10519 [BZ #14349]
10520 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10521 * sysdeps/s390/s390-64/configure.in: Likewise.
10522 * sysdeps/sparc/configure.in: Likewise.
10523 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10524 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10525 * sysdeps/i386/configure.in: Likewise.
10526 * sysdeps/x86_64/configure.in: Likewise.
10527 * sysdeps/sh/configure.in: Likewise.
10528 * sysdeps/s390/s390-32/configure: Regenerated.
10529 * sysdeps/s390/s390-64/configure: Likewise.
10530 * sysdeps/x86_64/configure: Likewise.
10531 * sysdeps/sh/configure: Likewise.
10532 * sysdeps/powerpc/powerpc64/configure: Likewise.
10533 * sysdeps/powerpc/powerpc32/configure: Likewise.
10534 * sysdeps/sparc/configure: Likwise.
10535 * sysdeps/i386/configure: Likewise.
10536
a66877c6
MP
10537 * elf/dl-open.c: Comment fixes.
10538
cfc82fd8
JM
105392012-07-17 Joseph Myers <joseph@codesourcery.com>
10540
bd29910a
JM
10541 * Makefile [CXX] (check-data): Remove.
10542 [CXX] (c++-types.data): New vpath directive.
10543 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10544 vpath. Do not allow for C++ type data being missing.
10545 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10546 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10547 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10548 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10549 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10550 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10551 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10553 ... here.
10554 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10556 ... here.
10557 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10559 ... here.
10560 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10562 ... here.
10563 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10565 ... here.
10566 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10568 ... here.
10569 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10571 ... here.
10572 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10574
cfc82fd8
JM
10575 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10576 definitions to architecture-specific files.
10577 (TLS_IE): Likewise.
10578 (TLS_LD): Likewise.
10579 (TLS_GD): Likewise.
10580 * sysdeps/i386/tls-macros.h: New file.
10581 * sysdeps/powerpc/tls-macros.h: Likewise.
10582 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10583 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10584 * sysdeps/sh/tls-macros.h: Likewise.
10585 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10586 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10587 * sysdeps/x86_64/tls-macros.h: Likewise.
10588
f7db3170
TS
105892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10590
07cbfc23
TS
10591 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10592 zero value for regular exit case.
10593
f7db3170
TS
10594 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10595 (__start_context): Preserve zero value for regular exit case.
10596
dc97c227
TS
105972012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10598 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10599
10600 * manual/setjmp.texi (setcontext): Clarify normal process
10601 termination when uc_link is the null pointer.
10602 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10603 exit call.
10604
d0cd7d02
AS
106052012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10606
10607 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10608 preprocessor. Test for each exception mask separately.
10609
dd318934
AJ
106102012-07-16 Andreas Jaeger <aj@suse.de>
10611
10612 * po/ru.po: Update from translation team.
10613
8048311a
JM
106142012-07-15 Joseph Myers <joseph@codesourcery.com>
10615
10616 * conform/data/string.h-data (NULL): Use macro-constant. Require
10617 equal to 0.
10618 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10619 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10620 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10621 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10622 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10623
b637d46e
AJ
106242012-07-13 Andreas Jaeger <aj@suse.de>
10625
10626 * po/fr.po: Update from translation team.
10627
541428fe
MP
106282012-07-12 Marek Polacek <polacek@redhat.com>
10629
10630 [BZ #14173]
10631 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10632 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10633 loop condition.
10634
ec332e94
JM
106352012-07-12 Joseph Myers <joseph@codesourcery.com>
10636
10637 [BZ #13717]
10638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10639 Change to 2.4.1 where previously 2.4.0.
10640 * sysdeps/unix/sysv/linux/configure: Regenerated.
10641 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10642 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10643 version.
10644 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10645 (__ASSUME_AT_CLKTCK): Remove.
10646 (__ASSUME_AT_PAGESIZE): Likewise.
10647 (__ASSUME_AT_XID): Likewise.
10648 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10649 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10650 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10651 unconditionally.
10652 (HAVE_AUX_PAGESIZE): Likewise.
10653 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10654 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10655 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10656
7b6e99be
JB
106572012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10658
10659 [BZ #14307]
10660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10661 the temporary buffer used to invoke __gethostbyname2_r,
10662 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10663 host_data / struct gaih_addrtuple.
10664 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10665 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10666 header file nss/nsswitch.h.
10667 * nss/nsswitch.h (global scope): Add definition of implementation
10668 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10669 resolv/nss_dns/dns-host.c).
10670
608404eb
AJ
106712012-07-11 Andreas Jaeger <aj@suse.de>
10672
10673 * po/fr.po: Update from translation team.
10674
71220aca
AJ
10675 * po/sv.po: Update from translation team
10676 * po/fr.po: Another update from translation team.
10677
28cfe843
AZ
106782012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10679
10680 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10681 for subnormals or multiply small sinh result by itself.
10682 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10684
6b90f981
DM
106852012-07-11 David S. Miller <davem@davemloft.net>
10686
10687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10688
c6825772
AS
106892012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10690
10691 [BZ #14347]
10692 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10693 (INTERNAL_MARK): Shift it here.
10694
7b8e0d49
MP
106952012-07-10 Marek Polacek <polacek@redhat.com>
10696
10697 [BZ #14151]
10698 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10699 libc_cv_asm_global_directive with .globl.
10700 * configure: Regenerated.
10701 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10702 with .globl.
10703 * sysdeps/i386/configure: Regenerated.
10704 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10705 with .globl.
10706 * sysdeps/x86_64/configure: Regenerated.
10707 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10708 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10709 * elf/tst-unique2mod2.c: Likewise.
10710 * elf/tst-unique2mod1.c: Likewise.
10711 * elf/tst-unique1mod2.c: Likewise.
10712 * elf/tst-unique1mod1.c: Likewise.
10713 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10714 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10715 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10716 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10717 * sysdeps/mach/sysdep.h: Likewise.
10718 * sysdeps/i386/sysdep.h: Likewise.
10719 * sysdeps/i386/i386-mcount.S: Likewise.
10720 * sysdeps/x86_64/_mcount.S: Likewise.
10721 * sysdeps/x86_64/sysdep.h: Likewise.
10722 * sysdeps/sh/_mcount.S: Likewise.
10723 * sysdeps/sh/sysdep.h: Likewise.
10724 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10725 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10726 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10727 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10728 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10729 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10730 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10731 * locale/localeinfo.h: Likewise.
10732 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10733 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10734
6c55cda3
RM
107352012-07-09 Roland McGrath <roland@hack.frob.com>
10736
10737 [BZ #14336]
10738 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10739 system".
10740 * manual/message.texi (The Uniforum approach): Likewise.
10741 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10742 (glibc iconv Implementation): Likewise.
10743
638a572e
JM
107442012-07-09 Joseph Myers <joseph@codesourcery.com>
10745
10746 [BZ #14337]
10747 * math/s_clog.c (__clog): Avoid scaling a value down where that
10748 could result in underflow.
10749 * math/s_clog10.c (__clog10): Likewise.
10750 * math/s_clog10f.c (__clog10f): Likewise.
10751 * math/s_clog10l.c (__clog10l): Likewise.
10752 * math/s_clogf.c (__clogf): Likewise.
10753 * math/s_clogl.c (__clogl): Likewise.
10754 * math/libm-test.inc (clog_test): Add more tests.
10755 (clog10_test): Likewise.
10756 * sysdeps/i386/fpu/libm-test-ulps: Update.
10757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10758
261f4859
AS
107592012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10760
0abaf3e4
AS
10761 [BZ #14283]
10762 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10763 by 7 not 8 to examine high bit of fractional part.
10764
261f4859
AS
10765 [BZ #14042]
10766 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10767 for call to __mcount_internal.
10768 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10769 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10770 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10771
f17ac40d
JM
107722012-07-06 Joseph Myers <joseph@codesourcery.com>
10773
9ad63c23
JM
10774 [BZ #14154]
10775 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10776 approximation for values within 0x1p-13f of an odd multiple of
10777 pi/4.
10778 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10779 exception. Add more tests.
10780 * sysdeps/i386/fpu/libm-test-ulps: Update.
10781
f17ac40d
JM
10782 [BZ #6778]
10783 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10784 inputs and return -1 for them. Do not check for +Inf in case not
10785 reachable for +Inf.
10786 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10787 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10788 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10789 and return -1 for them. Do not check for +Inf in case not
10790 reachable for +Inf.
10791 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10792 define.
10793 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10794 and return -1 for them. Do not check for +Inf in case not
10795 reachable for +Inf.
10796 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10797 spurious underflow.
10798 * sysdeps/i386/fpu/libm-test-ulps: Update.
10799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10800
fb21f89b
MF
108012012-07-06 Mike Frysinger <vapier@gentoo.org>
10802
10803 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10804
cdfe2c5e
JM
108052012-07-05 Joseph Myers <joseph@codesourcery.com>
10806
10807 [BZ #14157]
10808 [BZ #14331]
10809 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10810 could result in spurious underflow. Scale down values above
10811 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10812 * math/s_csqrtf.c (__csqrtf): Likewise.
10813 * math/s_csqrtl.c (__csqrtl): Likewise.
10814 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10815 spurious underflow.
10816 * sysdeps/i386/fpu/libm-test-ulps: Update.
10817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10818
70d35b67
AS
108192012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10820
704bc459
AS
10821 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10822 xopen-msg.sed.
10823 * catgets/xopen-msg.awk: New file.
10824 * catgets/xopen-msg.sed: Removed.
10825
70d35b67
AS
10826 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10827 po2text.sed.
10828 * intl/po2test.awk: New file.
10829 * intl/po2test.sed: Removed.
10830
ca61cf32
JM
108312012-07-04 Joseph Myers <joseph@codesourcery.com>
10832
10833 [BZ #14328]
10834 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10835 or multiply small sinh result by itself.
10836 * math/s_ctanf.c (__ctanf): Likewise.
10837 * math/s_ctanh.c (__ctanh): Likewise.
10838 * math/s_ctanhf.c (__ctanhf): Likewise.
10839 * math/s_ctanhl.c (__ctanhl): Likewise.
10840 * math/s_ctanl.c (__ctanl): Likewise.
10841 * math/libm-test.inc (ctan_test_tonearest): New function.
10842 (ctan_test_towardzero): Likewise.
10843 (ctan_test_downward): Likewise.
10844 (ctan_test_upward): Likewise.
10845 (ctanh_test_tonearest): Likewise.
10846 (ctanh_test_towardzero): Likewise.
10847 (ctanh_test_downward): Likewise.
10848 (ctanh_test_upward): Likewise.
10849 (main): Call these new functions.
10850 * sysdeps/i386/fpu/libm-test-ulps: Update.
10851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10852
ca48a46a
MF
108532012-07-03 Mike Frysinger <vapier@gentoo.org>
10854
10855 * .gitignore: Delete /ports entry.
10856
9d63d37d
AJ
108572012-07-03 Andreas Jaeger <aj@suse.de>
10858
10859 * po/bg.po: Update from translation team.
10860 * po/cs.po: Likewise.
10861 * po/de.po: Likewise.
10862 * po/hr.po: Likewise.
10863 * po/nl.pl: Likewise.
10864 * po/pl.po: Likewise.
10865 * po/vi.po: Likewise.
10866
370ca3d2
JM
108672012-07-03 Joseph Myers <joseph@codesourcery.com>
10868
95f5a9a8
JM
10869 * Makeconfig [!+link] (+link-before-libc): New variable.
10870 [!+link] (+link-after-libc): Likewise.
10871 [!+link] (+link-tests): Likewise.
10872 [!+link] (+link): Define in terms of $(+link-before-libc) and
10873 $(+link-after-libc).
10874 [!+link-static] (+link-static-before-libc): New variable.
10875 [!+link-static] (+link-static-after-libc): Likewise.
10876 [!+link-static] (+link-static-tests): Likewise.
10877 [!+link-static] (+link-static): Define in terms of
10878 $(+link-static-before-libc) and $(+link-static-after-libc).
10879 [build-shared] (link-libc-before-gnulib): New variable.
10880 [build-shared] (link-libc-tests): Likewise.
10881 [build-shared] (link-libc): Define in terms of
10882 $(link-libc-before-gnulib).
10883 [!build-shared] (link-libc-tests): New variable.
10884 (link-libc-static-tests): New variable.
10885 [!gnulib] (gnulib-arch): New variable.
10886 [!gnulib] (gnulib-tests): Likewise.
10887 [!gnulib] (static-gnulib-arch): Likewise.
10888 [!gnulib] (static-gnulib-tests): Likewise.
10889 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10890 Define with "=" instead of ":=".
10891 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10892 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10893 * Rules (binaries-all-notests): New variable.
10894 (binaries-all-tests): Likewise.
10895 (binaries-static-notests): Likewise.
10896 (binaries-static-tests): Likewise.
10897 (binaries-all): Define using $(binaries-all-notests) and
10898 $(binaries-all-tests).
10899 (binaries-static): Define using $(binaries-static-notests) and
10900 $(binaries-static-tests).
10901 (binaries-shared-tests): New variable.
10902 (binaries-shared-notests): Likewise.
10903 (binaries-shared): Remove variable.
10904 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10905 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10906 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10907 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10908 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10909 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10910 * elf/Makefile (sln-modules): New variable.
10911 (extra-objs): Add $(sln-modules:=.o).
10912 (ldconfig-modules): Add static-stubs.
10913 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10914 * elf/static-stubs.c: New file.
10915
7a845b2c
JM
10916 [BZ #14283]
10917 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10918 by 7 not 8 to examine high bit of fractional part. Use volatile
10919 variables when splitting into final array of floats if
10920 __FLT_EVAL_METHOD__ != 0.
10921 * math/libm-test.inc (cos_test): Add another test.
10922 (sin_test): Likewise.
10923 * sysdeps/i386/fpu/libm-test-ulps: Update.
10924
e2283f38
JM
10925 [BZ #14273]
10926 * math/libm-test.inc (cosh_test): Add more tests.
10927
370ca3d2
JM
10928 * version.h (RELEASE): Set to "development".
10929 (VERSION): Set to "2.16.90".
10930
ee9247c3
CD
109312012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10932
10933 * NEWS: Update copyright. Remove last-updated date.
10934 Mention math library bug fixes and timezone data changes.
10935 * README: Mention GNU/Hurd, x32, and HPPA support status.
10936
4648c381
TS
109372012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10938
10939 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10940
aac78a43
AJ
109412012-06-27 Andreas Jaeger <aj@suse.de>
10942
10943 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10944
ed3dbfad
AJ
109452012-06-25 Andreas Jaeger <aj@suse.de>
10946
10947 * sysdeps/s390/fpu/libm-test-ulps: Update.
10948
4d0ee855
AS
109492012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10950 Thomas Schwinge <thomas@codesourcery.com>
10951
10952 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10953 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10955 fanotify_mark.
10956
af1bce34
TS
109572012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10958
a9fa33ba
TS
10959 * sysdeps/mach/start.c: Remove file.
10960 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10961 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10962 * sysdeps/sh/init-first.c: Likewise.
10963
58f902b8
TS
10964 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10965 registers for frame unwinding purposes, add CFI directives.
10966 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10967 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10968 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10969 Likewise.
10970
1518f58b
TS
10971 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10972 __fortify_fail returning.
10973 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10974
db9b5059
TS
10975 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10976 sysdeps/sh/____longjmp_chk.S.
10977 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10978 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10979 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10980 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10981
967705fe
TS
10982 * sysdeps/sh/abort-instr.h: New file.
10983 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10984 process in case exit returns.
10985
a9def8c4
TS
10986 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10987 initialize the GOT register before use.
10988
2a649725
TS
10989 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10990 calculation of ARGC > 4.
10991
af1bce34
TS
10992 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10993 meaningful names to some local labels.
10994
d230f50a
KK
109952012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10996 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10997
10998 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10999 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11000 (__arch_compare_and_exchange_val_16_acq): Likewise.
11001 (__arch_compare_and_exchange_val_32_acq): Likewise.
11002 (atomic_exchange_and_add): Fix gUSA sequence.
11003 (atomic_add): Likewise.
11004 (atomic_add_negative): Likewise.
11005 (atomic_add_zero): Likewise.
11006 (atomic_bit_test_set): Likewise.
11007
0479b305
AS
110082012-06-22 Andreas Schwab <schwab@redhat.com>
11009
11010 [BZ #13579]
11011 * include/link.h (struct link_map): Add l_free_initfini.
11012 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11013 l_initfini.
11014 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11015 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11016 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11017 set.
11018
0e3933b9
CD
110192012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11020
11021 * configure.in: Use AC_LANG_SOURCE.
11022 * configure: Regenerate.
11023
4248b1b1
RM
110242012-06-22 Roland McGrath <roland@hack.frob.com>
11025
11026 * configure.in (libc_cv_localstatedir): New substituted variable.
11027 * configure: Regenerated.
11028 * config.make.in (localstatedir): New variable, substituted from
11029 libc_cv_localstatedir.
11030 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11031 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11032 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11033 * sysdeps/gnu/configure: Regenerated.
11034
006dd861
JL
110352012-06-21 Jeff Law <law@redhat.com>
11036
11037 [BZ #14277]
11038 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11039 free. Simplify list management for _LIBC case.
11040
79662d42
JM
110412012-06-21 Joseph Myers <joseph@codesourcery.com>
11042
b7abb4bf
JM
11043 [BZ #14273]
11044 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11045 Clear sign bit of 64-bit integer value before comparing against
11046 overflow value.
11047
79662d42
JM
11048 * sysdeps/mach/configure: Regenerated.
11049
1f150908
L
110502012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11051
11052 [BZ #14278]
11053 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11054
28363bbf
JL
110552012-06-21 Jeff Law <law@redhat.com>
11056
11057 [BZ #13882]
11058 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11059 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11060 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11061 * elf/dl-open.c (dl_open_worker): Likewise.
11062
09615db4
CD
110632012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11064
11065 * scripts/list-sources.sh: Scan PORTS for translations.
11066 * po/libc.pot: Regenerated.
11067
2174c6dd
AJ
110682012-06-21 Andreas Jaeger <aj@suse.de>
11069
11070 [BZ #12194]
11071 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11072 warning.
11073 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11074 * bits/byteswap-16.h (__bswap_16): Likewise.
11075 * bits/byteswap.h (__bswap_constant_16): Likewise.
11076
3ee947b1
L
110772012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11078
11079 [BZ #14117]
a2f34833
L
11080 * sysdeps/i386/fpu_control.h: Removed.
11081 * sysdeps/x86_64/fpu_control.h: Moved to ...
11082 * sysdeps/x86/fpu_control.h: Here.
11083
3ee947b1
L
11084 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11085 (_FPU_SETCW): Likewise.
11086
ed1825f8
L
110872012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11088
25f1282a
L
11089 [BZ #14117]
11090 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11091 * sysdeps/x86/fpu/bits/mathinline.h: This.
11092 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11093
ed1825f8
L
11094 [BZ #14050]
11095 [BZ #14117]
11096 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11097 functions if __x86_64__ is defined.
11098
36d54b74
CLT
110992012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11100
11101 * string/endian.h: Add !__ASSEMBLER__ condition for including
11102 conversion interfaces.
11103
10285c21
JM
111042012-06-15 Joseph Myers <joseph@codesourcery.com>
11105
11106 [BZ #14241]
11107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11108 of ABS(x) in calculating zero to negative powers other than odd
11109 integers.
11110 * math/libm-test.inc (pow_test): Add more tests.
11111
06c5abbd
AJ
111122012-06-15 Andreas Jaeger <aj@suse.de>
11113
11114 * manual/contrib.texi (Contributors): Update entry of Liubov
11115 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11116 Machado Filho.
11117
a3aeac40
CH
111182012-06-15 Cyril Hrubis <metan@ucw.cz>
11119
11120 * string/string.h: Add __wur to GNU version of strerror_r.
11121
49bdf4c1
L
111222012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11123
11124 [BZ #14229]
11125 * string/Makefile (tests): Add tst-strtok_r.
11126 * string/tst-strtok_r.c: New file.
11127 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11128 RAX_LP/RDX_LP on SAVE_PTR.
11129
834f9b8d
RM
111302012-06-14 Roland McGrath <roland@hack.frob.com>
11131
11132 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11133
75fa1921
JM
111342012-06-14 Joseph Myers <joseph@codesourcery.com>
11135
11136 * libm_test.inc (csqrt_test): Allow more spurious underflow
11137 exceptions.
11138 (j0_test): Likewise.
11139 (j1_test): Likewise.
11140 (y0_test): Likewise.
11141 (y1_test): Likewise.
11142
771766df
CD
111432012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11144
11145 * po/Makefile (libc.pot): Use UTF-8 charset.
11146
ceb9e56b
PP
111472012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11148
11149 [BZ #14210]
11150 Suppress sign-conversion warning from FD_SET.
11151 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11152 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11153 not unsigned long int.
11154 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11155
ddb28975
L
111562012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11157
11158 [BZ #14050]
11159 [BZ #14117]
11160 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11161 __extern_always_inline instead of __extern_inline.
11162 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11163 (__signbit): Likewise.
11164 (__signbitl): Support C++ namespace.
11165 (lrintf): New inline function.
11166 (lrint): Likewise.
11167 (llrintf): Likewise.
11168 (llrint): Likewise.
11169 (fmaxf): Likewise.
11170 (fmax): Likewise.
11171 (fminf): Likewise.
11172 (fmin): Likewise.
11173 (rint): Likewise.
11174 (rintf): Likewise.
11175 (ceil): Likewise.
11176 (ceilf): Likewise.
11177 (floor): Likewise.
11178 (floorf): Likewise.
11179 (nearbyint): Likewise.
11180 (nearbyintf): Likewise.
11181
d7b4fb26
TS
111822012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11183
11184 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11185 non-default versions.
11186
eb55f5c2
RM
111872012-06-11 Roland McGrath <roland@hack.frob.com>
11188
11189 [BZ #14218]
11190 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11191
366af02c
TS
111922012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11193
99ff6e5c
TS
11194 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11195 (FE_UPWARD, FE_DOWNWARD): Don't define.
11196 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11197 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11198
366af02c
TS
11199 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11200 reading it.
11201 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11202 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11203
793ea851
KK
112042012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11205
11206 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11207 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11208 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11209 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11210
a728a38f
L
112112012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11212
11213 [BZ #14117]
c08010c7
L
11214 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11215 * sysdeps/i386/fpu/Implies: New file.
11216 * sysdeps/x86_64/fpu/Implies: Likewise.
11217 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11218 * sysdeps/x86/fpu/bits/fenv.h: This.
11219
a728a38f
L
11220 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11221 __SSE_MATH__.
11222
6e230d11
SP
112232012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11224
11225 [BZ #14134]
11226 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11227 character 0xffff that matches the last element of the
11228 conversion table.
11229
1b671feb
AZ
112302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11231
11232 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11233 fmodl commit.
11234
6043738b
AZ
112352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11236
11237 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11238 values higher than 25.6283.
11239
34ae0b32
AZ
112402012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11241
11242 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11243 subnormal exponent extraction and add some __builtin_expect.
11244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11245 Fix for subnormal mantissa calculation.
11246
1214ec8f
MF
112472012-06-04 Mike Frysinger <vapier@gentoo.org>
11248
11249 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11250 cpu2 is -1 and errno is not ENOSYS.
11251
f3d1f93c
L
112522012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11253
11254 [BZ #14117]
0e4a3cd7
L
11255 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11256 * sysdeps/x86/bits/string.h: This.
11257 * sysdeps/x86_64/bits/string.h: Removed.
11258
6704c645
L
11259 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11260 if not compiling for x86-64, but compiling for >= i486.
11261
48495318
L
11262 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11263 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11264
14adcbfc
L
11265 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11266 New macro from Linux kernel 3.4.0.
11267 (FP_XSTATE_MAGIC2): Likewise.
11268 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11269 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11270 (struct _fpx_sw_bytes): New struct.
11271 (struct _xsave_hdr): Likewise.
11272 (struct _ymmh_state): Likewise.
11273 (struct _xstate): Likewise.
11274
68e408ab
L
11275 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11276 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11277 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11278 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11279 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11280 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11281
f3d1f93c
L
11282 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11283 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11284 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11285 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11286 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11287 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11288
d9dc34cd
TMQMF
112892012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11290
11291 [BZ #13743]
11292 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11293 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11294 (sysdep_headers): Include sys/platform/ppc.h.
11295 * sysdeps/powerpc/test-gettimebase.c: Test for
11296 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11297 * manual/Makefile (appendices): Include platform.texi.
11298 * manual/contrib.texi (Contributors): Update @node pointers.
11299 * manual/maint.texi (Maintenance): Likewise.
11300 (Platform): New node.
11301 * manual/platform.texi: New file. Document the new features.
11302
4af3879c
SP
113032012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11304 Jakub Jelinek <jakub@redhat.com>
11305
11306 [BZ #14188]
11307 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11308 where __builtin_expect is unavailable.
11309
2fd6ff13
DM
113102012-06-03 David S. Miller <davem@davemloft.net>
11311
11312 * stdlib/longlong.h: Updated from GCC.
11313
173f7220
AS
113142012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11315
11316 [BZ #14042]
11317 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11318 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11319 __mcount_internal.
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11321 (GLIBC_2.16): Likewise.
11322
f34a1c6f
L
113232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11324
11325 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11326
88a4576f
JM
113272012-06-01 Joseph Myers <joseph@codesourcery.com>
11328
ea32bcdd
JM
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11330 (default-abi): New variable.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11332 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11333 variable.
11334 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11335 Likewise.
11336 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11337 Likewise.
11338 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11339 Likewise.
11340
88a4576f
JM
11341 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11342 definition. Document in comment.
11343
402fe938
DM
113442012-06-01 David S. Miller <davem@davemloft.net>
11345
11346 * stdlib/longlong.h: Updated from GCC.
11347
3553723f
L
113482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11349
11350 [BZ #14117]
3bd872c4
L
11351 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11352 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11353 sys/debugreg.h sys/io.h here.
11354 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11355 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11356 sys/io.h.
11357 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11358 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11359 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11360 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11361 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11362 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11363
3553723f
L
11364 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11365 Define only if __x86_64__ is defined.
11366
4842e4fe
JM
113672012-06-01 Joseph Myers <joseph@codesourcery.com>
11368
c5bfe3d5
JM
11369 [BZ #14048]
11370 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11371 Use int64_t for variable i.
11372 * math/libm-test.inc (fmod_test): Add more tests.
11373
4842e4fe
JM
11374 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11375 z computation is not scheduled after fetestexcept.
11376 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11377 Use math_force_eval instead of asm to ensure calculation scheduled
11378 before exception test.
11379 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11380 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11381
efb73488
AJ
113822012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11383
11384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11385 computation is not scheduled after fetestexcept.
11386
29bcce7c
L
113872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11388
11389 [BZ #14117]
11390 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11391 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11392
73a68f94
AZ
113932012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11394
11395 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11396 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11397
67b6df78
L
113982012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11399
edf2933a 11400 [BZ #14117]
ebc64a18
L
11401 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11402 <bits/wordsize.h>.
11403 (__WCHAR_MIN): Support __WORDSIZE == 64.
11404 (__WCHAR_MAX): Likewise.
11405
edf2933a
L
11406 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11407 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11408
57c6cf40
L
11409 [BZ #14183]
11410 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11411 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11412
67b6df78 11413 [BZ #14117]
8eb6281e
L
11414 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11415 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11416
aac639f4
L
11417 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11418 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11419
67b6df78
L
11420 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11421 Defined to 1 if __x86_64__ isn't defined.
11422 (_STAT_VER_LINUX_OLD): New.
11423 (st_atime): Remove duplicate.
11424 (st_mtime): Likewise.
11425 (st_ctime): Likewise.
11426
1c2cfe81
DM
114272012-05-31 David S. Miller <davem@davemloft.net>
11428
11429 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11430 entries.
11431
5be8418c
AS
114322012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11433
e7725326
AS
11434 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11435 gen-libm-test.pl.
11436
5be8418c
AS
11437 [BZ #14132]
11438 * elf/dl-reloc.c: Include <_itoa.h>.
11439 (_dl_reloc_bad_type): Remove use of INTUSE.
11440 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11441 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11442 * stdio-common/psiginfo.c (psiginfo): Likewise.
11443 * stdio-common/psignal.c (psignal): Likewise.
11444 * string/strsignal.c (strsignal): Likewise.
11445 * include/signal.h (_sys_siglist): Declare hidden proto.
11446 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11447 INTVARDEF with libc_hidden_data_def.
11448 * stdio-common/itoa-udigits.c: Likewise.
11449 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11450 (_itoa_lower_digits_internal): Remove declaration.
11451 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11452 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11453 (_sys_sigabbrev_internal): Remove aliases.
11454 (_sys_siglist): Define hidden alias.
11455
507352f1
MT
114562012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11457
11458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11459 bits/sysctl.h.
11460
42bbb1c3
L
114612012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11462
11463 [BZ #14117]
6bd784b6
L
11464 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11465 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11466
8bca20f0
L
11467 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11468 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11469 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11470 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11472 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11473
f9e890a9
L
11474 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11475 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11476 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11477
471101a1
L
11478 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11479 with __addr.
11480 (insw): Likewise.
11481 (insl): Likewise.
11482 (outsb): Likewise.
11483 (outsw): Likewise.
11484 (outsl): Likewise.
11485
6451c862
L
11486 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11487 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11488 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11489
a254b8c9
L
11490 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11491 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11492 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11493 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11494 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11495 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11496
b8dfdd92
L
11497 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11498 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11499
578cd270
L
11500 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11501 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11502
de662f5f
L
11503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11504 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11505 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11506
25653439
L
11507 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11508 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11509 to ...
11510 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11511
6bad24a0
L
11512 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11513 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11514 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11515
42bbb1c3
L
11516 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11517 for x86-64.
11518 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11519
2d10d547
JM
115202012-05-31 Joseph Myers <joseph@codesourcery.com>
11521
11522 * math/math.h (M_El): Use two more decimal places.
11523 (M_LOG2El): Likewise.
11524 (M_LOG10El): Likewise.
11525 (M_LN2l): Likewise.
11526 (M_LN10l): Likewise.
11527 (M_PIl): Likewise.
11528 (M_PI_2l): Likewise.
11529 (M_PI_4l): Likewise.
11530 (M_1_PIl): Likewise.
11531 (M_2_PIl): Likewise.
11532 (M_2_SQRTPIl): Likewise.
11533 (M_SQRT2l): Likewise.
11534 (M_SQRT1_2l): Likewise.
11535
f230c29b
DM
115362012-05-31 David S. Miller <davem@davemloft.net>
11537
11538 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11539 values between float registers.
11540 * sysdeps/sparc/sparc64/memset.S: Likewise.
11541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11542
fed806c3
MF
115432012-05-31 Mike Frysinger <vapier@gentoo.org>
11544
11545 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11546 -D_FORTIFY_SOURCE=1.
11547 (CPPFLAGS-tst-longjmp_chk.c): Define.
11548 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11549 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11550 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11551 CFLAGS-tst-wchar-h.c.
11552
30917259
MP
115532012-05-31 Marek Polacek <polacek@redhat.com>
11554
11555 [BZ #14132]
11556 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11557 __endmntent_internal): Remove declaration.
11558 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11559 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11560 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11561
1c58d5dc
DM
115622012-05-30 David S. Miller <davem@davemloft.net>
11563
11564 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11565 (___Q_simulate_exceptions): Use real FP ops rather than writing
11566 into the %fsr.
11567 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11568 Likewise.
11569
7dc00e0d
L
115702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11571
11572 [BZ #14117]
0bd53985
L
11573 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11574 * sysdeps/x86/bits/xtitypes.h: This.
11575
3a257e66
L
11576 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11577 * sysdeps/x86/bits/wordsize.h: This.
11578
62f62904
L
11579 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11580 * sysdeps/x86/bits/huge_vall.h: This.
11581
404fe9d9
L
11582 * sysdeps/i386/bits/select.h: Removed.
11583 * sysdeps/x86_64/bits/select.h: Renamed to ...
11584 * sysdeps/x86/bits/select.h: This.
11585
d48d0446
L
11586 * sysdeps/i386/bits/setjmp.h: Removed.
11587 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11588 * sysdeps/x86/bits/setjmp.h: This.
11589
7dc00e0d
L
11590 * sysdeps/i386/bits/mathdef.h: Removed.
11591 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11592 * sysdeps/x86/bits/mathdef.h: This.
11593
03277f8f
AS
115942012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11595
11596 [BZ #14132]
11597 * include/sys/socket.h (__connect_internal)
11598 (__libc_sa_len_internal): Remove declaration.
11599 (__connect, __libc_sa_len): Declare hidden_proto.
11600 (SA_LEN): Remove use of INTUSE.
11601 * socket/connect.c: Add libc_hidden_def.
11602 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11603 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11604 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11605 alias.
11606 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11607 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11608 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11609 of adding _internal alias.
11610
13764867
L
116112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11612
11613 [BZ #14117]
6bd97696
L
11614 * sysdeps/i386/bits/link.h: Removed.
11615 * sysdeps/i386/bits/linkmap.h: Likewise.
11616 * sysdeps/x86_64/bits/link.h: Renamed to ...
11617 * sysdeps/x86/bits/link.h: This.
11618 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11619 * sysdeps/x86/bits/linkmap.h: This.
11620
f726f0bb
L
11621 * sysdeps/i386/bits/endian.h: Removed.
11622 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11623 * sysdeps/x86/bits/endian.h: This.
11624
13764867
L
11625 * sysdeps/i386/bits/byteswap.h: Removed.
11626 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11627 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11628 * sysdeps/x86/bits/byteswap.h: This.
11629 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11630 * sysdeps/x86/bits/byteswap-16.h: This.
11631 * sysdeps/i386/Implies: Add x86.
11632 * sysdeps/x86_64/Implies: Likewise.
11633
ae251b0b
DM
116342012-05-30 David S. Miller <davem@davemloft.net>
11635
11636 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11637 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11638 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11639 (FP_TRAPPING_EXCEPTIONS): Define.
11640 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11641 (FP_TRAPPING_EXCEPTIONS): Define.
11642 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11643 subnormals only when inexact has been signalled or underflow
11644 exceptions are enabled.
11645 (_FP_PACK_CANONICAL): Likewise.
11646
d5c90867
L
116472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11648
11649 [BZ #14183]
11650 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11651 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11652
63f1549e
RH
116532012-05-30 Richard Henderson <rth@twiddle.net>
11654
8d8f2279
RH
11655 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11656 with #ifndef NOT_IN_libc.
11657
63f1549e
RH
11658 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11659 marked to avoid plt entry.
11660
0ab0291b
L
116612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11662
11663 [BZ #14112]
11664 * Makeconfig (default-abi): New macro.
11665 (abi-includes): Likewise.
11666 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11667 $(abi-$(default-abi)-lib-soname) for soname if defined.
11668 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11669 abi-variants.
11670 * Makefile (installed-stubs): Likewise.
11671 * include/stubs-biarch.h: Removed.
11672 * scripts/lib-names.awk: Only handle one library at a time.
11673 * scripts/soversions.awk: Remove WORDSIZE support.
11674 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11675 entries.
11676 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11677 Removed.
11678 (syscall-list-default-condition): Likewise.
11679 (syscall-list-default-condition): Likewise.
11680 (syscall-list-includes): Likewise.
11681 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11682 syscall-list-* with abi-*. Handle undefined abi-variants.
11683 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11684 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11685 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11686 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11687 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11688 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11689 Removed.
11690 (syscall-list-32-options): Likewise.
11691 (syscall-list-32-condition): Likewise.
11692 (syscall-list-64-options): Likewise.
11693 (syscall-list-64-condition): Likewise.
11694 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11695 macro.
11696 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11697 Renamed to ...
11698 (abi-*): This.
11699 (abi-64-ld-soname): New macro.
11700 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11701 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11702 Renamed to ...
11703 (abi-*): This.
11704 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11705 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11706
4da0431d
JM
117072012-05-30 Joseph Myers <joseph@codesourcery.com>
11708
3a85279c
JM
11709 * sysdeps/unix/sysv/linux/kernel-features.h
11710 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11711 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11712 include <kernel-features.h>.
11713 [!__NR_ftruncate64]: Remove conditional code.
11714 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11715 [__NR_ftruncate64]: Make code unconditional.
11716 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11717 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11718 include <kernel-features.h>.
11719 [!__NR_ftruncate64]: Remove conditional code.
11720 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11721 [__NR_ftruncate64]: Make code unconditional.
11722 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11724 include <kernel-features.h>.
11725 [!__NR_ftruncate64]: Remove conditional code.
11726 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11727 [__NR_ftruncate64]: Make code unconditional.
11728 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11730 include <kernel-features.h>.
11731 [!__NR_ftruncate64]: Remove conditional code.
11732 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11733 [__NR_ftruncate64]: Make code unconditional.
11734 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11735
4da0431d
JM
11736 * configure.in (libc_cv_fpie): Weaken to a compile test using
11737 LIBC_TRY_CC_OPTION.
11738 * configure: Regenerated.
11739
11ef492c
AK
117402012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11741
11742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11746 Refreshed.
11747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11753 Refreshed.
11754
d66ef399
DM
117552012-05-27 David S. Miller <davem@davemloft.net>
11756
11757 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11758 (___Q_zero): New.
11759 (__Q_simulate_exceptions): Return void. Change to simulate
11760 exceptions by writing into the %fsr.
11761 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11762 (__Qp_handle_exceptions): Likewise.
11763 (numbers): Delete.
11764 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11765 __Qp_handle_exceptions.
11766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11767 __Qp_handle_exceptions.
11768 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11769 as unused and give dummy FP_RND_NEAREST initializer.
11770 (FP_INHIBIT_RESULTS): Define.
11771 (___Q_simulate_exceptions): Update declaration.
11772 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11773 formatting.
11774 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11775 as unused and give dummy FP_RND_NEAREST initializer.
11776 (__Qp_handle_exceptions): Update declaration.
11777 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11778 formatting.
11779
04fb54b5
TS
117802012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11781
11782 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11783 the temporary FPU control word.
11784 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11785 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11786 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11787 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11788 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11789 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11790 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11791 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11792 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11793 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11794 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11795
3f99608f
KK
117962012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11797
11798 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11799 fields.
11800
65a4de4e
CLT
118012012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11802
11803 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11804 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11805 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11806 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11807 Likewise.
11808 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11809 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11810 Likewise.
11811
15749d40
UD
118122012-05-27 Ulrich Drepper <drepper@gmail.com>
11813
11814 * po/h.po: Update from translation team.
11815
25dbcb27
AS
118162012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11817
3d3f8e55
AS
11818 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11819
25dbcb27
AS
11820 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11821 handling of denormals.
11822 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11823 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11824 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11825 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11826 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11829 Likewise.
11830
7ad47a80 118312012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11832
11833 [BZ #14152]
11834 * math/libm-test.inc (fma_test): Don't always expect underflow
11835 exception.
11836
9c6ea9fa
SP
118372012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11838
11839 [BZ #12416]
11840 * elf/tst-execstack.c: Include stackinfo.h.
11841 (do_test): Adjust test case to ensure that pthread_getattr_np
11842 behaviour remains the same after marking stack executable.
11843
a8239222
JM
118442012-05-25 Joseph Myers <joseph@codesourcery.com>
11845
11846 * sysdeps/unix/sysv/linux/kernel-features.h
11847 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11848 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11849 kernel-features.h.
11850 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11851 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11852 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11853 kernel-features.h.
11854 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11855 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11856
918b5606
L
118572012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11858
11859 * configure.in: Define the default includes to being none.
11860 * configure: Regenerated.
11861
3a097cc7
RM
118622012-05-25 Roland McGrath <roland@hack.frob.com>
11863
8422c9a5
RM
11864 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11865 * sysdeps/x86_64/setjmp.S: Likewise.
11866 * sysdeps/i386/bsd-setjmp.S: Likewise.
11867 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11868 * sysdeps/i386/setjmp.S: Likewise.
11869 * sysdeps/i386/__longjmp.S: Likewise.
11870 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11871 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11872
3a097cc7
RM
11873 * include/stap-probe.h: New file.
11874 * configure.in: Handle --enable-systemtap.
11875 * configure: Regenerated.
11876 * config.h.in (USE_STAP_PROBE): New #undef.
11877 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11878 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11879 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11880
21708942
JM
118812012-05-25 Joseph Myers <joseph@codesourcery.com>
11882
11883 [BZ #13717]
11884 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11885 to 2.4.0 where earlier.
11886 * sysdeps/unix/sysv/linux/configure: Regenerated.
11887 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11888 <kernel-features.h>.
11889 [__ASSUME_32BITUIDS]: Make code unconditional.
11890 [!__ASSUME_32BITUIDS]: Remove conditional code.
11891 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11892 <kernel-features.h>.
11893 [__ASSUME_32BITUIDS]: Make code unconditional.
11894 [!__ASSUME_32BITUIDS]: Remove conditional code.
11895 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11896 [__ASSUME_32BITUIDS]: Make code unconditional.
11897 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11898 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11899 <kernel-features.h>.
11900 [__ASSUME_32BITUIDS]: Make code unconditional.
11901 [!__ASSUME_32BITUIDS]: Remove conditional code.
11902 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11903 <kernel-features.h>.
11904 [__ASSUME_32BITUIDS]: Make code unconditional.
11905 [!__ASSUME_32BITUIDS]: Remove conditional code.
11906 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11907 <kernel-features.h>.
11908 [__ASSUME_32BITUIDS]: Make code unconditional.
11909 [!__ASSUME_32BITUIDS]: Remove conditional code.
11910 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11911 <kernel-features.h>.
11912 [__ASSUME_32BITUIDS]: Make code unconditional.
11913 [!__ASSUME_32BITUIDS]: Remove conditional code.
11914 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11915 <kernel-features.h>.
11916 [__ASSUME_32BITUIDS]: Make code unconditional.
11917 [!__ASSUME_32BITUIDS]: Remove conditional code.
11918 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11919 <kernel-features.h>.
11920 [__ASSUME_32BITUIDS]: Make code unconditional.
11921 [!__ASSUME_32BITUIDS]: Remove conditional code.
11922 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11923 <kernel-features.h>.
11924 [__ASSUME_32BITUIDS]: Make code unconditional.
11925 [!__ASSUME_32BITUIDS]: Remove conditional code.
11926 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11927 <kernel-features.h>.
11928 [__ASSUME_32BITUIDS]: Make code unconditional.
11929 [!__ASSUME_32BITUIDS]: Remove conditional code.
11930 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11931 <kernel-features.h>.
11932 [__ASSUME_32BITUIDS]: Make code unconditional.
11933 [!__ASSUME_32BITUIDS]: Remove conditional code.
11934 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11935 <kernel-features.h>.
11936 [__ASSUME_32BITUIDS]: Make code unconditional.
11937 [!__ASSUME_32BITUIDS]: Remove conditional code.
11938 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11939 <kernel-features.h>.
11940 [__NR_setresgid] (__setresgid): Do not declare.
11941 [__ASSUME_32BITUIDS]: Make code unconditional.
11942 [!__ASSUME_32BITUIDS]: Remove conditional code.
11943 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11944 <kernel-features.h>.
11945 [__NR_setresuid] (__setresuid): Do not declare.
11946 [__ASSUME_32BITUIDS]: Make code unconditional.
11947 [!__ASSUME_32BITUIDS]: Remove conditional code.
11948 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11949 <kernel-features.h>.
11950 [__ASSUME_32BITUIDS]: Make code unconditional.
11951 [!__ASSUME_32BITUIDS]: Remove conditional code.
11952 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11953 <kernel-features.h>.
11954 [__ASSUME_32BITUIDS]: Make code unconditional.
11955 [!__ASSUME_32BITUIDS]: Remove conditional code.
11956 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11957 <kernel-features.h>.
11958 [__ASSUME_32BITUIDS]: Make code unconditional.
11959 [!__ASSUME_32BITUIDS]: Remove conditional code.
11960 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11961 <kernel-features.h>.
11962 [__ASSUME_32BITUIDS]: Make code unconditional.
11963 [!__ASSUME_32BITUIDS]: Remove conditional code.
11964 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11965 <kernel-features.h>.
11966 [__ASSUME_32BITUIDS]: Make code unconditional.
11967 [!__ASSUME_32BITUIDS]: Remove conditional code.
11968 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11969 <kernel-features.h>.
11970 [__ASSUME_32BITUIDS]: Make code unconditional.
11971 [!__ASSUME_32BITUIDS]: Remove conditional code.
11972 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11973 <kernel-features.h>.
11974 [__ASSUME_32BITUIDS]: Make code unconditional.
11975 [!__ASSUME_32BITUIDS]: Remove conditional code.
11976 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11977 <kernel-features.h>.
11978 [__ASSUME_32BITUIDS]: Make code unconditional.
11979 [!__ASSUME_32BITUIDS]: Remove conditional code.
11980 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11981 <kernel-features.h>.
11982 [__ASSUME_32BITUIDS]: Make code unconditional.
11983 [!__ASSUME_32BITUIDS]: Remove conditional code.
11984 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11985 <kernel-features.h>.
11986 [__ASSUME_32BITUIDS]: Make code unconditional.
11987 [!__ASSUME_32BITUIDS]: Remove conditional code.
11988 * sysdeps/unix/sysv/linux/kernel-features.h
11989 (__ASSUME_SETRESUID_SYSCALL): Remove.
11990 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11991 (__ASSUME_32BITUIDS): Likewise.
11992 (__ASSUME_LDT_WORKS): Likewise.
11993 (__ASSUME_O_DIRECTORY): Likewise.
11994 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11995 architecture but not kernel version.
11996 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11997 (__ASSUME_MMAP2_SYSCALL): Likewise.
11998 (__ASSUME_STAT64_SYSCALL): Likewise.
11999 (__ASSUME_IPC64): Likewise.
12000 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12001 <kernel-features.h>.
12002 [__ASSUME_32BITUIDS]: Make code unconditional.
12003 [!__ASSUME_32BITUIDS]: Remove conditional code.
12004 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12005 <kernel-features.h>.
12006 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12007 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12008 132096]: Remove conditional code.
12009 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12010 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12011 <kernel-features.h>.
12012 [__ASSUME_32BITUIDS]: Make code unconditional.
12013 [!__ASSUME_32BITUIDS]: Remove conditional code.
12014 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12015 <kernel-features.h>.
12016 [__ASSUME_32BITUIDS]: Make code unconditional.
12017 [!__ASSUME_32BITUIDS]: Remove conditional code.
12018 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12019 <kernel-features.h>.
12020 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12021 unconditional.
12022 (__setresgid): Do not declare.
12023 [__ASSUME_32BITUIDS]: Make code unconditional.
12024 [!__ASSUME_32BITUIDS]: Remove conditional code.
12025 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12026 <kernel-features.h>.
12027 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12028 unconditional.
12029 (__setresuid): Do not declare.
12030 [__ASSUME_32BITUIDS]: Make code unconditional.
12031 [!__ASSUME_32BITUIDS]: Remove conditional code.
12032 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12033 <kernel-features.h>.
12034 [__ASSUME_32BITUIDS]: Make code unconditional.
12035 [!__ASSUME_32BITUIDS]: Remove conditional code.
12036 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12037 <kernel-features.h>.
12038 [__ASSUME_32BITUIDS]: Make code unconditional.
12039 [!__ASSUME_32BITUIDS]: Remove conditional code.
12040
a386f1cc
RH
120412012-05-25 Richard Henderson <rth@twiddle.net>
12042
12043 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12044 dl_hwcap to ifunc resolver.
12045 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12046 elf_ifunc_invoke.
12047 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12048 dl_hwcap to ifunc resolver.
12049 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12050
b6550497
JM
120512012-05-24 Joseph Myers <joseph@codesourcery.com>
12052
12053 [BZ #14153]
12054 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12055 for |x| <= 2**-26, not 2**-57.
12056 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12057 exception.
12058
b0bc23a1
JL
120592012-05-24 Jeff Law <law@redhat.com>
12060
12061 * stdio-common/Makefile (tests): Add bug25.
12062 * stdio-common/bug25.c: New test.
12063
347c92e9
L
120642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12065
12066 [BZ #13576]
12067 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12068 multiple of MALLOC_ALIGNMENT in size.
12069 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12070
6bcc8b3f
JM
120712012-05-24 Joseph Myers <joseph@codesourcery.com>
12072
12073 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12074 Require >= 256.
12075 (FILENAME_MAX): Use macro-int-constant.
12076 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12077 (_IOFBF): Use macro-int-constant.
12078 (_IOLBF): Likewise.
12079 (_IONBF): Likewise.
12080 (SEEK_CUR): Likewise.
12081 (SEEK_END): Likewise.
12082 (SEEK_SET): Likewise.
12083 (TMP_MAX): Likewise.
12084 (EOF): Use macro-int-constant. Require < 0.
12085 (NULL): Use macro-constant. Require == 0.
12086 (stdin): Require type to be FILE *.
12087 (stdout): Likewise.
12088 (stderr): Likewise.
12089 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12090 macro-int-constant.
12091 (EXIT_SUCCESS): Likewise.
12092 (NULL): Use macro-constant. Require == 0.
12093 (RAND_MAX): Use macro-int-constant.
12094 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12095 [C99-based standards] (strtof): Require function.
12096 [C99-based standards] (strtold): Likewise.
12097 [C99-based standards] (strtoll): Likewise.
12098 [C99-based standards] (strtoull): Likewise.
12099 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12100 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12101 [ISO || ISO99 || ISO11] (math.h): Likewise.
12102 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12103 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12105
d18ea0c5
AS
121062012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12107
12108 [BZ #14132]
56d25bb8
AS
12109 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12110 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12111 * intl/dgettext.c (DCGETTEXT): Likewise.
12112 * intl/gettext.c (DCGETTEXT): Likewise.
12113 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12114 * posix/regex_internal.h (gettext): Likewise.
12115 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12116 Remove declaration.
12117 * include/argz.h (__argz_count_internal)
12118 (__argz_stringify_internal): Remove declaration.
12119 (__argz_count, __argz_stringify): Declare hidden proto.
12120 * intl/dcgettext.c: Remove use of INTDEF.
12121 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12122 * string/argz-stringify.c: Likewise.
12123 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12124 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12125 Declare hidden proto.
d18ea0c5
AS
12126 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12127 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12128 Declare hidden proto.
12129 * include/stdio.h (__asprintf_internal): Don't declare.
12130 (__asprintf): Don't define as macro. Declare hidden proto.
12131 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12132 (__fsetlocking): Declare hidden proto.
12133 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12134 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12135 hidden proto.
12136 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12137 (_IO_setlinebuf): Remove use of INTUSE.
12138 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12139 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12140 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12141 Remove declaration.
12142 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12143 (_IO_do_flush): Remove use of INTUSE.
12144 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12145 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12146 (_IO_adjust_column, _IO_least_wmarker)
12147 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12148 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12149 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12150 (_IO_default_doallocate, _IO_wdefault_doallocate)
12151 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12152 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12153 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12154 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12155 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12156 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12157 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12158 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12159 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12160 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12161 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12162 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12163 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12164 proto.
12165 (_IO_flush_all_internal, _IO_adjust_column_internal)
12166 (_IO_default_uflow_internal, _IO_default_finish_internal)
12167 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12168 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12169 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12170 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12171 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12172 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12173 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12174 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12175 (_IO_file_close_internal, _IO_file_close_it_internal)
12176 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12177 (_IO_file_init_internal, _IO_file_attach_internal)
12178 (_IO_file_fopen_internal, _IO_file_read_internal)
12179 (_IO_file_sync_internal, _IO_file_seek_internal)
12180 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12181 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12182 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12183 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12184 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12185 (_IO_list_all_internal, _IO_link_in_internal)
12186 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12187 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12188 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12189 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12190 (_IO_do_write_internal, _IO_padn_internal)
12191 (_IO_getline_info_internal, _IO_getline_internal)
12192 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12193 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12194 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12195 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12196 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12197 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12198 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12199 with libc_hidden_ver, remove use of INTUSE.
12200 * libio/genops.c: Likewise.
12201 * libio/freopen.c: Likewise.
12202 * libio/freopen64.c: Likewise.
12203 * libio/iofclose.c: Likewise.
12204 * libio/iofdopen.c: Likewise.
12205 * libio/iofflush.c: Likewise.
12206 * libio/iofflush_u.c: Likewise.
12207 * libio/iofgets.c: Likewise.
12208 * libio/iofgets_u.c: Likewise.
12209 * libio/iofopen.c: Likewise.
12210 * libio/iofopncook.c: Likewise.
12211 * libio/iofread.c: Likewise.
12212 * libio/iofread_u.c: Likewise.
12213 * libio/ioftell.c: Likewise.
12214 * libio/iofwrite.c: Likewise.
12215 * libio/iogetline.c: Likewise.
12216 * libio/iogets.c: Likewise.
12217 * libio/iogetwline.c: Likewise.
12218 * libio/iopadn.c: Likewise.
12219 * libio/iopopen.c: Likewise.
12220 * libio/ioseekoff.c: Likewise.
12221 * libio/ioseekpos.c: Likewise.
12222 * libio/iosetbuffer.c: Likewise.
12223 * libio/iosetvbuf.c: Likewise.
12224 * libio/ioungetc.c: Likewise.
12225 * libio/ioungetwc.c: Likewise.
12226 * libio/iovdprintf.c: Likewise.
12227 * libio/iovsprintf.c: Likewise.
12228 * libio/iovsscanf.c: Likewise.
12229 * libio/memstream.c: Likewise.
12230 * libio/obprintf.c: Likewise.
12231 * libio/oldfileops.c: Likewise.
12232 * libio/oldiofclose.c: Likewise.
12233 * libio/oldiofdopen.c: Likewise.
12234 * libio/oldiofopen.c: Likewise.
12235 * libio/oldiopopen.c: Likewise.
12236 * libio/oldstdfiles.c: Likewise.
12237 * libio/putc.c: Likewise.
12238 * libio/setbuf.c: Likewise.
12239 * libio/setlinebuf.c: Likewise.
12240 * libio/stdfiles.c: Likewise.
12241 * libio/strops.c: Likewise.
12242 * libio/vasprintf.c: Likewise.
12243 * libio/vscanf.c: Likewise.
12244 * libio/vsnprintf.c: Likewise.
12245 * libio/vswprintf.c: Likewise.
12246 * libio/wfiledoalloc.c: Likewise.
12247 * libio/wfileops.c: Likewise.
12248 * libio/wgenops.c: Likewise.
12249 * libio/wmemstream.c: Likewise.
12250 * libio/wstrops.c: Likewise.
12251 * libio/__fpurge.c: Likewise.
12252 * libio/__fsetlocking.c: Likewise.
12253 * assert/assert.c: Likewise.
12254 * debug/fgets_chk.c: Likewise.
12255 * debug/fgets_u_chk.c: Likewise.
12256 * debug/fread_chk.c: Likewise.
12257 * debug/fread_u_chk.c: Likewise.
12258 * debug/gets_chk.c: Likewise.
12259 * debug/obprintf_chk.c: Likewise.
12260 * debug/vasprintf_chk.c: Likewise.
12261 * debug/vdprintf_chk.c: Likewise.
12262 * debug/vsnprintf_chk.c: Likewise.
12263 * debug/vsprintf_chk.c: Likewise.
12264 * malloc/mtrace.c: Likewise.
12265 * misc/error.c: Likewise.
12266 * misc/syslog.c: Likewise.
12267 * stdio-common/asprintf.c: Likewise.
12268 * stdio-common/fxprintf.c: Likewise.
12269 * stdio-common/getw.c: Likewise.
12270 * stdio-common/isoc99_fscanf.c: Likewise.
12271 * stdio-common/isoc99_scanf.c: Likewise.
12272 * stdio-common/isoc99_vfscanf.c: Likewise.
12273 * stdio-common/isoc99_vscanf.c: Likewise.
12274 * stdio-common/isoc99_vsscanf.c: Likewise.
12275 * stdio-common/printf-prs.c: Likewise.
12276 * stdio-common/printf_fp.c: Likewise.
12277 * stdio-common/printf_fphex.c: Likewise.
12278 * stdio-common/printf_size.c: Likewise.
12279 * stdio-common/putw.c: Likewise.
12280 * stdio-common/scanf.c: Likewise.
12281 * stdio-common/sprintf.c: Likewise.
12282 * stdio-common/tmpfile.c: Likewise.
12283 * stdio-common/vfprintf.c: Likewise.
12284 * stdio-common/vfscanf.c: Likewise.
12285 * stdlib/strfmon_l.c: Likewise.
12286 * sunrpc/openchild.c: Likewise.
12287 * sunrpc/xdr_stdio.c: Likewise.
12288 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12289 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12290
d6c33fda
RM
122912012-05-24 Roland McGrath <roland@hack.frob.com>
12292
c1487492
RM
12293 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12294
12295 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12296 in the third column, to generate for the shared library an IFUNC
12297 that uses _dl_vdso_vsym.
12298 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12299 * Makeconfig (object-suffixes-noshared): New variable.
12300
12301 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12302 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12303 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12304 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12305
d6c33fda
RM
12306 [BZ #14132]
12307 * include/sys/time.h (__gettimeofday): Remove macro.
12308 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12309 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12310 Remove INTDEF.
12311 (__gettimeofday): Add libc_hidden_def.
12312 (gettimeofday): Add libc_hidden_weak.
12313 * sysdeps/mach/gettimeofday.c: Likewise.
12314 * sysdeps/posix/gettimeofday.c: Likewise.
12315 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12316 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12318 (__gettimeofday_internal): Remove strong_alias.
12319 (__gettimeofday): Add libc_hidden_def.
12320 (gettimeofday): Add libc_hidden_weak.
12321 * sysdeps/unix/syscalls.list (gettimeofday):
12322 Remove __gettimeofday_internal alias.
12323
b5a2bbe6
L
123242012-05-24 Daniel Jacobowitz <drow@false.org>
12325 H.J. Lu <hongjiu.lu@intel.com>
12326
12327 [BZ #12495]
12328 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12329 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12330 (largebin_index_32_big): New.
12331 (largebin_index): Use it for 16-byte alignment.
12332 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12333 correction with front_misalign.
12334
cfba4fda
L
123352012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12336
7f907421
L
12337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12339 Likewise.
12340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12341 Likewise.
12342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12343 Likewise.
12344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12345 Likewise.
12346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12347 Likewise.
12348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12349 Likewise.
12350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12351 Likewise.
12352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12353 Likewise.
12354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12355 Likewise.
12356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12357 Likewise.
12358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12359 Likewise.
12360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12361 Likewise.
12362
cfba4fda
L
12363 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12364 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12365
80bad0cc
JM
123662012-05-24 Joseph Myers <joseph@codesourcery.com>
12367
7a25eb06
JM
12368 [BZ #10846]
12369 [BZ #14036]
12370 * math/libm-test.inc (exp_test): Add test from bug 14036.
12371 (pow_test): Add test from bug 10846.
12372
795405f9
JM
12373 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12374 and other flags.
12375 (special_function): Do not include flags in test name.
12376 (parse_args): Likewise.
12377 * sysdeps/i386/fpu/libm-test-ulps: Update.
12378 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12379 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12380 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12382
80bad0cc
JM
12383 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12384 exceptions.
12385 * math/libm-test.inc ("Philosophy"): Update comment about
12386 exception testing.
12387 (UNDERFLOW_EXCEPTION): New macro.
12388 (UNDERFLOW_EXCEPTION_OK): Likewise.
12389 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12390 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12391 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12392 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12393 (INVALID_EXCEPTION_OK): Update value.
12394 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12395 (OVERFLOW_EXCEPTION_OK): Likewise.
12396 (IGNORE_ZERO_INF_SIGN): Likewise.
12397 (test_exceptions): Handle underflow exceptions.
12398 (acos_test): Update for underflow exception expectations.
12399 (cexp_test): Likewise.
12400 (clog_test): Likewise.
12401 (clog10_test): Likewise.
12402 (csqrt_test): Likewise.
12403 (ctan_test): Likewise.
12404 (ctanh_test): Likewise.
12405 (exp_test): Likewise.
12406 (exp10_test): Likewise.
12407 (exp2_test): Likewise.
12408 (expm1_test): Likewise.
12409 (fma_test): Likewise.
12410 (j0_test): Likewise.
12411 (jn_test): Likewise.
12412 (nexttoward_test): Likewise.
12413 (pow_test): Likewise.
12414 (scalbn_test): Likewise.
12415 (scalbln_test): Likewise.
12416 (tan_test): Likewise.
12417 (y1_test): Likewise.
12418 * sysdeps/i386/fpu/libm-test-ulps: Update.
12419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12420
9e0e3d0b
DM
124212012-05-23 David S. Miller <davem@davemloft.net>
12422
12423 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12424 (__libc_sigaction): Remove unused local variables.
12425
ccd0a08f
L
124262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12427
12428 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12429
62bdf9a6
PE
124302012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12431
f8591f80
PE
12432 mktime: avoid signed integer overflow
12433 * time/mktime.c (__mktime_internal): Do not mishandle the case
12434 where diff == INT_MIN.
12435
94c7d826
PE
12436 mktime: simplify computation of average
12437 * time/mktime.c (ranged_convert): Use new time_t_avg function
12438 instead of rolling our own (probably-slower) code.
12439
ce73d683
PE
12440 mktime: do not assume signed right shift propagates sign bit
12441 * time/mktime.c (isdst_differ): New static function.
12442 (__mktime_internal): No need to normalize tm_isdst now.
12443 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12444 tm_isdst values.
12445
72a22e59
PE
12446 mktime: merge another wrapv change from gnulib
12447 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12448 from some compilers.
12449
68605433
PE
12450 mktime: remove incorrect attempt at unusual arithmetics
12451 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12452 The code didn't really work on such machines anyway.
12453 (TYPE_MINIMUM): Assume two's complement.
12454 (twos_complement_arithmetic): Verify that long_int and time_t
12455 are two's complement (or unsigned, in the latter case).
12456
03cf7fe3
PE
12457 mktime: check signed shifts on long_int and time_t, too
12458 * time/mktime.c (SHR): Check that shifts work as desired
12459 on the types long_int and time_t too, as SHR is used on
12460 such types.
12461
f04dfbc2
PE
12462 mktime: do not assume 'long' is wide enough
12463 * time/mktime.c (verify): Move decl up.
12464 (long_int): New type.
12465 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12466 to remove assumption in the code that 'long' is wide enough to
12467 store year values. This assumption is not true on x32 and on
12468 some non-glibc platforms.
12469
62bdf9a6
PE
12470 mktime: merge wrapv change from gnulib
12471 * time/mktime.c (WRAPV): New macro.
12472 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12473 (guess_time_tm, __mktime_internal): Do not assume that signed
12474 integer overflow wraps around; modern compilers generate code
12475 where this assumption is no longer valid.
12476
5e292e4f
L
124772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12478
12479 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12480 Replace "jmp L(pseudo_end)" with "ret".
12481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12482 Likewise.
12483
8caf8c87
AJ
124842012-05-23 Andreas Jaeger <aj@suse.de>
12485
12486 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12487 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12488
1a09dc56
AJ
124892012-05-23 Andreas Jaeger <aj@suse.de>
12490 Maximilian Attems <max@stro.at>
12491
12492 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12493 New macros.
12494
1c87aba0
L
124952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12496
12497 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12498 code so that pseudo_end is just ret and the stack pointer is
12499 correct also for static library in error case.
12500
40e45bd5
JM
125012012-05-23 Joseph Myers <joseph@codesourcery.com>
12502
c2670533
JM
12503 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12504 move to syscalls.list.
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12509
40e45bd5
JM
12510 * manual/install.texi (Running make install): Do not mention Linux
12511 kernel version for which pt_chown is not needed.
12512 (Linux): Do not mention problems with nscd with 2.0 kernels.
12513 * INSTALL: Regenerated.
12514
be08eda5
AJ
125152012-05-23 Andreas Jaeger <aj@suse.de>
12516
12517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12518 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12519 macro.
12520 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12521 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12522 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12523 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12524 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12525 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12526 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12527 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12528 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12529 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12530 * sysdeps/unix/sysv/linux/bits/in.h
12531 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12532
a6a056bb
RM
125332012-05-22 Roland McGrath <roland@hack.frob.com>
12534
12535 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12536 (PREPARE_VERSION): Just use assert instead, it will be elided
12537 under [NDEBUG] anyway.
12538
c9009328
L
125392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12540
12541 * sysdeps/unix/sysv/linux/Makefile: Include
12542 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12543 (sysdep_routines): Remove sysctl.
c9009328
L
12544 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12545 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12546 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12547 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12548 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12549
73338355
AJ
125502012-05-22 Andreas Jaeger <aj@suse.de>
12551
12552 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12553 that pseudo_end is just ret and the stack pointer is correct also
12554 for static library in error case.
12555
d44638b0
PP
125562012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12557
12558 [BZ #14122]
12559 * nss/nsswitch.c (defconfig_entries): New variable.
12560 (__nss_database_lookup): Don't leak defconfig entries.
12561 (nss_parse_service_list): Don't leak on error paths.
12562 (free_database_entries): New function.
12563 (free_defconfig): New function.
12564 (free_mem): Move common code to free_database_entries.
12565
31a39bd8
L
125662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12567
da0331a8
L
12568 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12569 Add arch_prctl.
12570 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12571
31a39bd8
L
12572 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12573 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12575 New macro.
12576 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12577 (INTERNAL_SYSCALL_TYPES): Likewise.
12578 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12579 (LOAD_REGS_TYPES_[1-6]): Likewise.
12580 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12581 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12582
45470df3
AZ
125832012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12584
12585 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12586 copysignl for GLIBC_2_0.
12587 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12588 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12590 logbl for GLIBC_2_0.
12591 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12592 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12593
98a61bcb
L
125942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12595
a4f6e481
L
12596 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12597 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12598
f63d5db6
L
12599 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12600 Use "neg %eax".
12601
98a61bcb
L
12602 * time/mktime.c: Update copyright years.
12603
95770f14
PE
126042012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12605
6226efbd
PE
12606 mktime: merge comment-quoting-style change from gnulib
12607 * time/mktime.c: Quote 'like this' in comments.
12608 The GNU coding standards suggest that we no longer quote `like this',
12609 as "`" and "'" are typically rendered asymmetrically nowadays.
12610 The typical gnulib style is to quote 'like this' when quoting
12611 code, and "like this" when quoting English.
12612
b99e4f78
PE
12613 * time/mktime.c (compile-command): Add "-I.".
12614
643e01e6
PE
12615 mktime: merge mktime-internal.h change from gnulib
12616 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12617
2554247d
PE
12618 mktime: merge time_r change from gnulib
12619 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12620
826dd0ab
PE
12621 mktime: merge DEBUG change from gnulib
12622 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12623 case system <time.h> has a #define.
12624
bd83aabe
PE
12625 mktime: merge <sys/types.h> change from gnulib
12626 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12627 since <time.t> is now guaranteed to define time_t.
12628
95770f14
PE
12629 mktime: merge HAVE_CONFIG_H change from gnulib
12630 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12631
5e1a27a9
L
126322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12633
0e44a77e
L
12634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12635 Use "neg %eax".
12636
5e1a27a9
L
12637 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12638 __rlim_t cast.
12639 (struct rusage): Use anonymous union to pad each field to
12640 __syscall_slong_t.
12641
46259bec
DM
126422012-05-21 David S. Miller <davem@davemloft.net>
12643
12644 * Makefules (o-iterator): Remove .s cases.
12645 (compile-command.s): Delete.
12646 (COMPILE.s): Delete.
12647 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12648
59f0c22e
JM
126492012-05-21 Joseph Myers <joseph@codesourcery.com>
12650
12651 * configure.in (libc_cv_predef_stack_protector): Only consider
12652 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12653 * configure: Regenerated.
12654
20c07380
L
126552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12656
bbb3154b
L
12657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12658 New macro. Use R*LP on int and pointer.
12659 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12660 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12661 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12662 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12663
20c07380
L
12664 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12665 [__WORDSIZE_TIME64_COMPAT32] instead of
12666 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12667 (struct utmp): Likewise.
12668 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12669 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12670 Renamed to ...
12671 (__WORDSIZE_TIME64_COMPAT32): This.
12672 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12673 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12674 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12675 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12676 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12677 (__WORDSIZE_TIME64_COMPAT32): New macro.
12678
d8d1017e
AJ
126792012-05-21 Andreas Jaeger <aj@suse.de>
12680
12681 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12682 only if [SHARED]. Add prototype for __wcschr_ia32.
12683
6c7fb145
RM
126842012-05-21 Roland McGrath <roland@hack.frob.com>
12685
12686 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12687 of %rbp unmolested in the jmp_buf while mangling the low bits.
12688 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12689 unmolested high bits of %rbp while demangling the low bits.
12690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12691
66274218
AJ
126922012-05-21 Andreas Jaeger <aj@suse.de>
12693
07c58f8f
AJ
12694 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12695 * sunrpc/svc_simple.c: Use it for registerrpc.
12696 * sunrpc/xcrypt.c: Use it for passwd2des.
12697
66274218
AJ
12698 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12699
61f65140
L
127002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12701
12702 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12703 Don't define if [__SYSCALL_WORDSIZE != 32].
12704 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12705 New macro.
12706
5fefb436
AJ
127072012-05-21 Bruno Haible <bruno@clisp.org>
12708 Andreas Jaeger <aj@suse.de>
12709
12710 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12711 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12712 inptr and inend for must_buffer_ch.
12713 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12714 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12715 * stdio-common/Makefile (tests): Remove bug15.
12716 (bug15-ENV): Remove macro.
12717 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12718 anymore.
12719
d8e272ab
AJ
127202012-05-19 Andreas Jaeger <aj@suse.de>
12721 Roland McGrath <roland@hack.frob.com>
12722
12723 * manual/contrib.texi: Completely rewritten. It contains now an
12724 alphabetical list of contributors and their contributions.
12725
4a56a162
RH
127262012-05-21 Richard Henderson <rth@twiddle.net>
12727
12728 * misc/getauxval.c (__getauxval): Use unsigned long int.
12729 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12730 (getauxval): Use unsigned long int.
12731
d024d23c
L
127322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12733
12734 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12735
cbc00a03
RM
127362012-05-21 Roland McGrath <roland@hack.frob.com>
12737
12738 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12739 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12740 __alignof__ (long double).
12741
478143fa
AZ
127422012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12743
12744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12745
c7683a6d
RH
127462012-05-20 Richard Henderson <rth@twiddle.net>
12747
12748 * misc/getauxval.c: New file.
12749 * misc/sys/auxv.h: New file.
12750 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12751 (routines): Add getauxval.
12752 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12753 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12754 * elf/dl-sysdep.c (_dl_auxv): Remove.
12755 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12756 * elf/dl-support.c (_dl_auxv): New variable.
12757 (_dl_aux_init): Initialize it.
12758 * manual/startup.texi (Auxiliary Vector): New node.
12759 * sysdeps/generic/bits/hwcap.h: New file.
12760 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12761 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12762 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12763 * sysdeps/sparc/sysdep.h: ... here. Include it.
12764 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12765 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12767 Update.
c7683a6d
RH
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12776
a6f1845d
AZ
127772012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12778
12779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12780
cbcbe830
DM
127812012-05-19 David S. Miller <davem@davemloft.net>
12782
12783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12784
e0b16cc2
JM
127852012-05-19 Joseph Myers <joseph@codesourcery.com>
12786
12787 [BZ #14123]
12788 * math/s_ccosh.c: Include <float.h>
12789 (__ccosh): Avoid internal overflow calculating sinh and cosh
12790 values before multiplying by sin and cos values.
12791 * math/s_ccoshf.c: Likewise.
12792 * math/s_ccoshl.c: Likewise.
12793 * math/s_csin.c: Likewise.
12794 * math/s_csinf.c: Likewise.
12795 * math/s_csinl.c: Likewise.
12796 * math/s_csinh.c: Likewise.
12797 * math/s_csinhf.c: Likewise.
12798 * math/s_csinhl.c: Likewise.
12799 * math/libm-test.inc (ccos_test): Add more tests.
12800 (ccosh_test): Likewise.
12801 (csin_test): Likewise.
12802 (csinh_test): Likewise.
12803 * sysdeps/i386/fpu/libm-test-ulps: Update.
12804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12805
6ad13e08
L
128062012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12807
f66f0ce8
L
12808 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12809 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12810
6ad13e08
L
12811 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12812
b1d072a7
JM
128132012-05-19 Joseph Myers <joseph@codesourcery.com>
12814
12815 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12816 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12817 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12818 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12819 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12820 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12821 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12822 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12823 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12824 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12825 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12826 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12827 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12828 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12829 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12830 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12831 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12832 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12833 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12834 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12835 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12836 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12837 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12838 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12839 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12840 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12841 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12842 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12843 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12844 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12845 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12846
9eae47cb
AJ
128472012-05-18 Andreas Jaeger <aj@suse.de>
12848
12849 * csu/.gitignore: Delete.
12850
bb07f69f
L
128512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12852
12853 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12854 (timex): Use __syscall_slong_t.
12855
e6bdb741
AJ
128562012-05-18 Andreas Jaeger <aj@suse.de>
12857 Carlos O'Donell <carlos_odonell@mentor.com>
12858
12859 * manual/install.texi (Configuring and compiling): Update
12860 description about files modified in the source directory.
d6c33fda 12861 * INSTALL: Regenerated.
e6bdb741 12862
1b74487e
L
128632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12864
12865 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12866 value. Use "or" to set return value to -1.
12867 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12868 negate return value.
12869
a88b64b9
TMQMF
128702012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12871
12872 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12873 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12874 failure if the compiler has Graphite support disabled.
12875 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12876 Likewise.
12877 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12878 CFLAGS-memmove.c): Likewise.
12879 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12880 Likewise.
12881
3707636e
L
128822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12883
610b8622
L
12884 * sysdeps/x86_64/x32/_itoa.h: New file.
12885
7cd195df
L
12886 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12887 getdents system call only if kernel and user dirents have the
12888 same d_ino and d_off.
12889
94b07d20
L
12890 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12891 LLONG_MAX != LONG_MAX.
12892 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12893 (_fitoa_word): Likewise.
12894
18298070
L
12895 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12896 years.
12897 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12898 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12899 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12900
553c7ea4
L
12901 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12902 include <bits/wordsize.h>. Check __x86_64__ instead of
12903 __WORDSIZE.
12904 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12905 if __x86_64__ is defined. Use anonymous union on fpstate.
12906
3707636e
L
12907 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12908 anonymous union.
12909
b53ef01a
AS
129102012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12911
37fb1dc0
AS
12912 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12913 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12914 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12915 Refer to _rtld_local_ro instead of _rtld_global_ro.
12916 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12917 Likewise.
12918 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12919 Likewise.
12920 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12921 Likewise.
12922 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12923 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12924 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12925
b53ef01a
AS
12926 * sysdeps/powerpc/powerpc32/dl-machine.c
12927 (__elf_machine_runtime_setup) [PROF]: Don't reference
12928 _dl_prof_resolve.
12929
7a185db2
AJ
129302012-05-18 Andreas Jaeger <aj@suse.de>
12931
12932 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12933 function only available for GCCs before 3.4 since GCC 3.4
12934 introduced a builtin.
12935 (lrint): Likewise.
12936 (llrintf): Likewise.
12937 (llrint): Likewise.
12938 (fmaxf): Likewise.
12939 (fmax): Likewise.
12940 (fminf): Likewise.
12941 (fmin): Likewise.
12942 (rint): Likewise.
12943 (rintf): Likewise.
12944 (nearbyint): Likewise.
12945 (nearbyintf): Likewise.
12946 (ceil): Likewise.
12947 (ceilf): Likewise.
12948 (floor): Likewise.
12949 (floorf): Likewise.
12950
3e5aef87
L
129512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12952
428bd707
L
12953 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12954 on both fields and cast pointer to __syscall_ulong_t.
12955
3e5aef87
L
12956 * bits/types.h (__fsword_t): New type.
12957 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12958 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12959 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12960 (__FSWORD_T_TYPE): Likewise.
12961 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12962 (__FSWORD_T_TYPE): Likewise.
12963 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12964 (__FSWORD_T_TYPE): Likewise.
12965 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12966 (__FSWORD_T_TYPE): Likewise.
12967 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12968 __SWORD_TYPE with __fsword_t.
12969 (statfs64): Likewise.
12970
1ba7c3dc
DM
129712012-05-17 David S. Miller <davem@davemloft.net>
12972
12973 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12974
59910343
AJ
129752012-05-17 Andreas Jaeger <aj@suse.de>
12976
12977 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12978 warning.
12979
2e4c1e9e
L
129802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12981
12982 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12983
de7f5ce7
AJ
129842012-05-17 Andreas Jaeger <aj@suse.de>
12985
12986 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12987 when it is used.
12988
286abc3d
CM
129892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12990
12991 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12992
477cc68e
L
129932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12994
12995 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12996 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12997
1a0994f5
CD
129982012-05-17 Andreas Jaeger <aj@suse.de>
12999 Carlos O'Donell <carlos_odonell@mentor.com>
13000
13001 [BZ #14059]
13002 * sysdeps/x86_64/multiarch/init-arch.h
13003 (bit_YMM_Usable): Rename to...
13004 (bit_AVX_Usable): ... this.
13005 (bit_FMA4_Usable): New macro.
13006 (bit_XMM_state): New macro.
13007 (bit_YMM_state): New macro.
13008 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13009 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13010 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13011 (CPUID_OSXSAVE): New macro.
13012 (CPUID_AVX): New macro.
13013 (CPUID_FMA4): New macro.
13014 (index_YMM_Usable): Rename to...
13015 (index_AVX_Usable): ... this.
13016 (HAS_AVX): Use HAS_ARCH_FEATURE.
13017 (HAS_FMA4): Likewise.
13018 (HAS_YMM_USABLE): Remove.
13019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13020 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13021 are present.
13022 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13023 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13024 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13025 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13026 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13027
0af797de
CM
130282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13029
13030 * math/libm-test.c: Support platforms without multiple rounding modes.
13031 * math/bug-nextafter.c: Support platforms without FP exceptions.
13032 * math/bug-nexttoward.c: Likewise.
13033 * math/test-fenv.c: Likewise.
13034 * math/test-misc.c: Likewise.
13035 * stdlib/bug-getcontext.c: Likewise.
13036
e39745ff
AJ
130372012-05-17 Andreas Jaeger <aj@suse.de>
13038
13039 * manual/examples/search.c (critter_cmp): Change signature to
13040 avoid warnings.
13041 * manual/string.texi (Collation Functions): Likewise.
13042
48970aba
L
130432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13044
13045 * bits/types.h: Fold copyright years.
13046 * bits/typesizes.h: Likewise.
13047 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13051 * time/time.h: Likewise.
13052
bedee953
PP
130532012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13054
13055 [BZ #208]
13056 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13057 in instead of returning them. Return void.
13058 (__libc_mallinfo): Accumulate over all arenas.
13059 (__malloc_stats): Adjust for change in int_mallinfo interface.
13060
61653dfb
RM
130612012-05-16 Roland McGrath <roland@hack.frob.com>
13062
30b99d79
RM
13063 [BZ #10375]
13064 * configure.in (NM): Add AC_CHECK_TOOL for it.
13065 (libc_extra_cflags): New substituted variable.
13066 Check for -fstack-protector being used implicitly.
13067 * configure: Regenerated.
13068 * config.make.in (config-extra-cflags): New variable,
13069 gets @libc_extra_cflags@.
13070 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13071
61653dfb
RM
13072 [BZ #10375]
13073 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13074 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13075 * configure: Regenerated.
13076 * config.make.in (CPPUNDEFS): New substituted variable.
13077 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13078 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13079 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13080
661768bb
L
130812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13082
13083 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13084 (mq_attr): Use __syscall_slong_t.
13085
d4261567
L
130862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13087
13088 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13089 Check __x86_64__ instead of __WORDSIZE.
13090 (_STAT_VER_LINUX): Likewise.
13091 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13092 __syscall_ulong_t and __syscall_slong_t.
13093 (stat64): Likewise.
13094
cf3ff365
L
130952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13096
13097 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13098
76cf3e4d
L
130992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13100
13101 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13102
a637753a
L
131032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13104
13105 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13106 __syscall_ulong_t.
13107
d5e05119
L
13108 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13109 include <bits/wordsize.h>. Check __x86_64__ instead of
13110 __WORDSIZE.
13111 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13112 defined.
13113 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13114
f62ee380
L
13115 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13116 include <bits/wordsize.h>. Check __x86_64__ instead of
13117 __WORDSIZE.
13118 (user_regs_struct): Use "__extension__ unsigned long long"
13119 instead of "unsigned long" if __x86_64__ is defined.
13120 (user): Likewise. Pad after pointer field if __ILP32__ is
13121 defined.
13122
4e124ced
JM
131232012-05-16 Joseph Myers <joseph@codesourcery.com>
13124
6a3951a0
JM
13125 * configure.in (makeinfo): Require version 4.5 or later. Allow
13126 versions 5 to 9.
13127 * configure: Regenerated.
13128 * manual/install.texi (texinfo): Increase version requirement to
13129 4.5 or later.
13130 * INSTALL: Regenerated.
13131
4e124ced
JM
13132 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13133
953ca31a
L
131342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13135
13136 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13137
617aca05
L
13138 * sysdeps/x86_64/x32/ffs.c: New file.
13139
5762f7ae
L
13140 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13141 __syscall_ulong_t.
13142 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13143 defined. Use __syscall_ulong_t.
13144 (shminfo): Use __syscall_ulong_t.
13145 (shm_info): Likewise.
13146
a26b6856
L
13147 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13148 __syscall_ulong_t.
13149
cb2b9ef7
L
13150 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13151 <bits/wordsize.h>.
13152 (msgqnum_t): Use __syscall_ulong_t.
13153 (msglen_t): Likewise.
13154 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13155 __syscall_ulong_t.
13156
34683bb0
L
13157 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13158 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13159
84a68786
L
13160 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13161
48baa5f1
L
13162 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13163 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13164
180be88b
L
13165 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13166 __syscall_slong_t.
13167
5e90c8ad
L
13168 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13169 include <bits/wordsize.h>. Check __x86_64__ instead of
13170 __WORDSIZE.
13171
23dfb58b
L
13172 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13173 "unsigned long long int" if __x86_64__ is defined.
13174 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13175
ce5d54b0
L
13176 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13177 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13178 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13179
13dc9eac
L
13180 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13181 <stdint.h>.
13182 (GET_PC): Cast to uintptr_t first.
13183 (GET_FRAME): Likewise.
13184 (GET_STACK): Likewise.
13185
a7895d15
L
13186 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13187 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13188 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13189 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13190 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13191 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13192 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13193 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13194 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13195 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13197 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13198 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13199 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13200 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13201 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13202 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13203 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13205 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13206 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13207 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13208 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13209 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13210 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13212 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13213 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13214 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13215
656416c9
AS
132162012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13217
5bd66283
AS
13218 * Makerules (+depfiles): Also collect depfiles from .oS in
13219 $(extra-objs).
13220 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13221 .oS, $(libnldbl-routines)).
13222
656416c9
AS
13223 * Makerules (native-compile-mkdep-flags): Define.
13224 * sunrpc/Makefile (extra-objs): Add $(addprefix
13225 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13226 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13227 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13228 calling $(make-target-directory).
13229
a46f2169
L
132302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13231
13232 * bits/types.h (__snseconds_t): Removed.
13233 * time/time.h (struct timespec): Replace __snseconds_t with
13234 __syscall_slong_t.
13235 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13236 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13237 Likewise.
13238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13239 (__SNSECONDS_T_TYPE): Likewise.
13240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13241 (__SNSECONDS_T_TYPE): Likewise.
13242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13243 (__SNSECONDS_T_TYPE): Likewise.
13244
6af6528b
L
132452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13246
13247 * sysdeps/mach/hurd/bits/typesizes.h
13248 (__SYSCALL_SLONG_TYPE): New macro.
13249 (__SYSCALL_ULONG_TYPE): Likewise.
13250
de986b56
L
132512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13252
13253 * bits/types.h (__syscall_slong_t): New type.
13254 (__syscall_ulong_t): Likewise.
13255
13256 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13257 (__SYSCALL_ULONG_TYPE): Likewise.
13258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13259 (__SYSCALL_SLONG_TYPE): Likewise.
13260 (__SYSCALL_ULONG_TYPE): Likewise.
13261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13262 (__SYSCALL_SLONG_TYPE): Likewise.
13263 (__SYSCALL_ULONG_TYPE): Likewise.
13264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13265 (__SYSCALL_SLONG_TYPE): Likewise.
13266 (__SYSCALL_ULONG_TYPE): Likewise.
13267
85736dc7
L
132682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13269
13270 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13271 Add sigaltstack-offsets.sym.
13272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13273 <sigaltstack-offsets.h>.
13274 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13275 longjmp_msg pointer.
13276 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13277 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13278 signal stack.
13279 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13280
cc03b296
JM
132812012-05-15 Joseph Myers <joseph@codesourcery.com>
13282
a9538892
JM
13283 * elf/stackguard-macros.h: Remove file.
13284 * sysdeps/generic/stackguard-macros.h: New file.
13285 * sysdeps/i386/stackguard-macros.h: Likewise.
13286 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13287 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13288 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13289 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13290 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13291 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13292 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13293 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13294 <elf/stackguard-macros.h>.
13295
cc03b296
JM
13296 [BZ #14109]
13297 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13298 __aligned__ in attribute.
13299 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13300 (gregset_t): Likewise.
13301
93171016
L
133022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13303
13304 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13305 * sysdeps/x86_64/64/Implies-after: Here. New file.
13306 * sysdeps/x86_64/x32/Implies-after: New file.
13307
d86813a0
L
133082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13309
13310 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13311 and access return value for _dl_profile_fixup. Use R10_LP to
13312 load frame size.
13313
2953ec75
L
133142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13315
13316 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13317
3b550e9e
L
133182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13319
13320 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13321 * sysdeps/x86_64/x32/sysdep.h: New file.
13322
eda41706
L
133232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13324
13325 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13326 * sysdeps/x86_64/setjmp.S: Likewise.
13327
9ea01d93
AZ
133282012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13329
13330 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13331 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13332 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13333 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13334 remove unused global constant.
13335
02a91938
CM
133362012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13337
13338 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13339 include of <not-cancel.h>.
13340
6540185f
RM
133412012-05-15 Roland McGrath <roland@hack.frob.com>
13342
13343 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13344
509072a0
AJ
133452012-05-15 Jeff Law <law@redhat.com>
13346 Andreas Jaeger <aj@suse.de>
13347
13348 [BZ #13594]
13349 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13350 out from...
13351 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13352 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13353 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13354 code changing __hst_map_handle.map.
13355
ba75122d
RM
133562012-05-15 Roland McGrath <roland@hack.frob.com>
13357
13358 * configure.in (sysnames): Look for Implies-before and Implies-after
13359 files.
13360 * configure: Regenerated.
13361
890d8bd8
L
133622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13363
13364 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13365 8-byte data alignment with LP_SIZE alignment.
13366
f6ee6623
L
133672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13368
13369 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13370 into R10_LP.
13371
ea2626f6
L
133722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13373
13374 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13375
085f715e
L
133762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13377
13378 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13379 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13380 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13381 Likewise.
13382 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13383
be8498fc
L
133842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13385
13386 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13387 (stackinfo_sub_sp): Likewise.
13388
70bc83b9
L
133892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13390
13391 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13392 RAX_LP.
13393
9bc0b730
L
133942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13395
13396 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13397 into R*_LP.
13398
6d2850e7
L
133992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13400
13401 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13402 sizes into R*_LP.
13403
3cb84561
L
134042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13405
13406 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13407
54e2ed81
L
134082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13409
13410 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13411 into R11_LP and load __x86_64_shared_cache_size_half into
13412 R8_LP.
13413
8a17f349
L
134142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13415
13416 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13417 R8_LP.
13418
777b1eea
AZ
134192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13420
13421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13422 logb for POWER7.
13423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13424 logbf for POWER7.
13425 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13426 logbl for POWER7.
13427 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13428 powerpc32/power7/fpu/s_logb.c via #include.
13429 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13430 powerpc32/power7/fpu/s_logbf.c via #include.
13431 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13432 powerpc32/power7/fpu/s_logbl.c via #include.
13433
d20d4ac2
JM
134342012-05-15 Joseph Myers <joseph@codesourcery.com>
13435
13436 * README.libm: Remove file.
13437
6cdef1ab
L
134382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13439
13440 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13441 count for x32. Use R*_LP and omit operand-size suffix.
13442
0b254d8f
L
134432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13444
13445 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13446 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13447 * sysdeps/x86_64/x32/shlib-versions: New file.
13448
ceb809dc
RM
134492012-05-14 Roland McGrath <roland@hack.frob.com>
13450
13451 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13452 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13453 Use _dl_fatal_printf instead.
13454
37f1abd4
JM
134552012-05-14 Joseph Myers <joseph@codesourcery.com>
13456
13457 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13458 set if not set by the user. Do not allow for being unset.
13459 * sysdeps/unix/sysv/linux/configure: Regenerated.
13460
11de3a33
L
134612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13462
13463 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13464 the `q' suffix from lea and replace .quad with ASM_ADDR.
13465
e02f153a
L
134662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13467
13468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13469 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13470 instead of $17.
13471 (PTR_DEMANGLE): Likewise.
13472
520ae0fd
L
134732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13474
13475 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13476 (LP_OP): Likewise.
13477 (ASM_ADDR): Likewise.
13478 (RAX_LP): Likewise.
13479 (RBP_LP): Likewise.
13480 (RBX_LP): Likewise.
13481 (RCX_LP): Likewise.
13482 (RDI_LP): Likewise.
13483 (RSI_LP): Likewise.
13484 (RSP_LP): Likewise.
13485 (R8_LP): Likewise.
13486 (R9_LP): Likewise.
13487 (R10_LP): Likewise.
13488 (R10_LP): Likewise.
13489 (R11_LP): Likewise.
13490 (R12_LP): Likewise.
13491 (R13_LP): Likewise.
13492 (R14_LP): Likewise.
13493 (R15_LP): Likewise.
13494
b985be81
L
134952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13496
13497 * sysdeps/x86_64/x32/dl-machine.h: New file.
13498
6a4888ff
AJ
134992012-05-14 Andreas Jaeger <aj@suse.de>
13500
13501 * manual/Makefile (subdir): Remove export of subdir.
13502 (all): Remove target.
13503 (.PHONY): Remove all from list.
13504 (mkinstalldirs): Remove.
13505 (.PHONY): Remove installdirs from list.
13506 ($(inst_infodir)/libc.info): Use make-target-directory.
13507 (installdirs): Remove.
13508 (subdir_%): Remove.
13509 (glibc-targets): Remove.
13510 (lib): Remove.
13511 (stubs): Remove.
13512 ($(objpfx)stubs ../po/manual.pot): Remove.
13513 ($(objpfx)stamp%): Remove.
13514 (make-target-directory): Remove.
13515 (subdir_install): Remove.
13516 (routines): Remove.
13517 (aux): Remove.
13518 (sources): Remove.
13519 (objects): Remove.
13520 (headers): Remove.
13521
13522 [BZ #13750]
13523 * manual/.gitignore: Remove, it's not needed anymore.
13524 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13525 all files in it.
13526 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13527 directory.
13528 (texis): Renamed to $(objpfx)texis.
13529 (texis-path): New, contains path to generated files.
13530 (chapters.%): Use texis-path for complete path, add extra argument
13531 libc-texinfo.sh.
13532 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13533 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13534 (summary,texi, stamp-summary): Use complete path of
13535 files. Generate files in build dir.
13536 (dir-add.texi): Build in build dir.
13537 (libm-err.texi,stamp-libm-err): Likewise.
13538 (version.texi, stamp-version): Likewise.
13539 (.%c.texi): Likewise.
13540 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13541 (mostlyclean): Remove target.
13542 (realclean): Remove target.
13543 (generated): Add new variable with contents from mostlyclean and
13544 realclean, remove entries duplicated in common-mostlyclean, add
13545 stamp-libm-err and stamp-version.
13546 (generated-dirs): Add libc directory.
13547 ($(inst_infodir)/libc.info): Install files from build dir.
13548
13549 * manual/install.texi (Configuring and compiling): Adjust since
13550 the info files are not part of the tar ball anymore.
13551
7ac77294
AJ
135522012-05-14 Andreas Jaeger <aj@suse.de>
13553
13554 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13555 variable.
13556
ffb7875d
JM
135572012-05-14 Joseph Myers <joseph@codesourcery.com>
13558
13559 [BZ #13717]
13560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13561 to 2.2.0 where earlier.
13562 * sysdeps/unix/sysv/linux/configure: Regenerated.
13563 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13564 Remove conditional code.
13565 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13566 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13567 Remove conditional code.
13568 [!__NR_lchown]: Likewise.
13569 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13570 [__NR_lchown]: Likewise.
13571 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13572 comment referencing __ASSUME_LCHOWN_SYSCALL.
13573 * sysdeps/unix/sysv/linux/i386/sigaction.c
13574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13576 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13577 Remove conditional code.
13578 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13579 (__protocol_available): Remove #if 0 code.
13580 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13581 conditional code.
13582 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13583 * sysdeps/unix/sysv/linux/kernel-features.h
13584 (__ASSUME_GETCWD_SYSCALL): Don't define.
13585 (__ASSUME_REALTIME_SIGNALS): Likewise.
13586 (__ASSUME_PREAD_SYSCALL): Likewise.
13587 (__ASSUME_PWRITE_SYSCALL): Likewise.
13588 (__ASSUME_POLL_SYSCALL): Likewise.
13589 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13590 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13591 non-SPARC.
13592 (__ASSUME_SIOCGIFNAME): Don't define.
13593 (__ASSUME_MSG_NOSIGNAL): Likewise.
13594 (__ASSUME_SENDFILE): Define unconditionally.
13595 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13596 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13597 conditional code.
13598 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13599 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13600 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13601 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13602 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13603 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13604 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13606 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13609 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13612 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13613 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13618 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13619 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13621 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13624 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13625 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13629 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13630 Remove conditional code.
13631 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13632 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13633 Remove conditional code.
13634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13635 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13636 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13637 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13638 Remove conditional code.
13639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13640 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13641 Remove conditional code.
13642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13643 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13644 Remove conditional code.
13645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13646 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13647 Remove conditional code.
13648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13649 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13650 Remove conditional code.
13651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13652 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13653 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13655 * sysdeps/unix/sysv/linux/sigaction.c
13656 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13657 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13658 * sysdeps/unix/sysv/linux/sigpending.c
13659 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13660 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13661 * sysdeps/unix/sysv/linux/sigprocmask.c
13662 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13663 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13664 * sysdeps/unix/sysv/linux/sigsuspend.c
13665 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13666 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13667 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13668 (__libc_missing_rt_sigs): Remove.
13669 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13670 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13671 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13672 Remove conditional code.
13673 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13674 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13675 return 1.
13676 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13677 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13678 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13679 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13680
1bfb7291
AJ
136812012-05-14 Andreas Jaeger <aj@suse.de>
13682
caae5a81
AJ
13683 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13684 it's not used in glibc.
13685 (__coshm1): Likewise.
13686 (__acosh1p): Likewise.
13687 (__sgn): Likewise.
13688
1bfb7291
AJ
13689 * manual/string.texi (Copying and Concatenation): Add missing
13690 variable in concat example.
13691 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13692
c044d724
L
136932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13694
144c5467 13695 [BZ #14103]
c044d724
L
13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13697 __builtin_clzl with __builtin_clzll.
13698
2523c62b
L
136992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13700
13701 [BZ #14104]
13702 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13703 libc_freeres_ptr.
13704
d7bb4c42
LD
137052012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13706
13707 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13708 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13709 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13711
9dc4e1fb
MF
137122012-05-14 Mike Frysinger <vapier@gentoo.org>
13713
13714 * NEWS: Update ia64 info.
13715
c7df0112
AS
137162012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13717
13718 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13719 used as bcopy.
13720
dc70356c
TS
137212012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13722
13723 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13724 * sysdeps/unix/syscalls.list (dup3): Likewise.
13725 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13726 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13727
9fb1a21f
L
137282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13729
13730 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13731 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13732
4822a2a5
L
137332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13734
13735 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13736 thread pointer.
13737 (TLS_IE): Use mov/add instead of movq/addq to load thread
13738 pointer.
13739 (TLS_GD_PREFIX): New.
13740 (TLS_GD): Use it.
13741
842b81d6
DM
137422012-05-11 David S. Miller <davem@davemloft.net>
13743
13744 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13745 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13746 (_FPU_SETCW): Likewise.
13747
1cf463cd
L
137482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13749
13750 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13751 is 32-byte aligned.
13752
60cc4a18
AS
137532012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13754
13755 [BZ #11837]
13756 * iconvdata/gb18030.c: Update tables.
13757 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13758 characters specially.
13759 (BODY for TO_LOOP): Add encoding of missing ranges.
13760
febb44a4
TS
137612012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13762
13763 [BZ #13673]
13764 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13765 * sysdeps/mach/hurd/dup3.c: Likewise.
13766 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13767 * sysdeps/powerpc/memmove.c:: Likewise.
13768
0a10fb9e
L
137692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13770
13771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13772 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13773
df8a552f
L
137742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13775
13776 * elf/elf.h (R_X86_64_RELATIVE64): New.
13777 (R_X86_64_NUM): Updated.
13778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13779 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13780 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13781 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13782 tst-quad1pie tst-quad2pie
13783 (modules-names): Add tst-quadmod1 tst-quadmod2.
13784 ($(objpfx)tst-quad1): New dependency.
13785 ($(objpfx)tst-quad2): Likewise.
13786 ($(objpfx)tst-quad1pie): Likewise.
13787 ($(objpfx)tst-quad2pie): Likewise.
13788 * sysdeps/x86_64/tst-quad1.c: New file.
13789 * sysdeps/x86_64/tst-quad1pie.c: New file.
13790 * sysdeps/x86_64/tst-quad2.c: Likewise.
13791 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13792 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13793 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13794 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13795 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13796
f34d6f84
ST
137972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13798
f42d41d1
ST
13799 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13800 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13801 * streams/stropts.h (t_scalar_t): Define type.
13802
3c3571fc
ST
13803 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13804 (_PATH_PRESERVE): Set to "/var/lib".
13805 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13806
61f06bd3
ST
13807 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13808 instead of int.
13809
918d4d71
ST
13810 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13811 if __dir_mkfile succeeded.
13812
f34d6f84
ST
13813 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13814 checking for _hurd_dtablesize. Unlock it right after having
13815 finished _hurd_dtable allocation.
13816
10589b4a
TS
138172012-05-10 Thomas Schwinge <thomas@schwinge.name>
13818
674cdbc7
TS
13819 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13820 * sysdeps/mach/hurd/configure: Regenerated.
13821 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13822 special-casing to...
13823 * sysdeps/gnu/configure.in: ... this new file.
13824 * sysdeps/unix/sysv/linux/configure: Regenerated.
13825 * sysdeps/gnu/configure: New generated file.
13826
8e41b99f
TS
13827 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13828 for Linux: use nsec instead of usec, as well as:
13829 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13830 members of type struct timespec.
13831 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13832 New macros.
13833 (struct stat64): Likewise.
13834 (_STATBUF_ST_NSEC): New macro.
13835 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13836
10589b4a
TS
13837 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13838 __strtoul_internal rather than strtoul.
13839
63643c85
PT
138402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13841
13842 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13843 and reject them.
13844
3faebe6a
ST
138452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13846
13847 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13848 which preserves existing values.
13849 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13850
c6474b07
PT
138512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13852
13853 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13854 TIMEOUT values. Return EINVAL for NFDS values either negative or
13855 greater than FD_SETSIZE.
13856
1043890b
ST
138572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13858
13859 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13860 allocated, call __vm_protect to finish enabling the existing space, and
13861 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13862 allocate the remainder.
13863
37ed8b9b
PT
138642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13865
13866 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13867 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13868
db653660
ST
138692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13870
37ed8b9b
PT
13871 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13872 sysdeps/mach/hurd/readlink.c.
b29d4053 13873
db653660
ST
13874 * posix/tst-sysconf.c (posix_options): Only use
13875 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13876 _POSIX_SYNCHRONIZED_IO when they are defined
13877 * sysdeps/mach/hurd/bits/posix_opt.h:
13878 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13879 (_XOPEN_REALTIME): Undefine macro.
13880 (_XOPEN_REALTIME_THREADS): Undefine macro.
13881 (_XOPEN_SHM): Undefine macro.
13882 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13883 macro to -1.
13884 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13885 macro to -1.
13886 (_POSIX_ASYNC_IO): Undefine macro.
13887 (_POSIX_PRIORITIZED_IO): Undefine macro.
13888 (_POSIX_SPIN_LOCKS): Define macro to -1.
13889
ee16e894
ST
13890 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13891 SA_NODEFER, SA_RESETHAND.
13892 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13893 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13894 F_DUPFD_CLOEXEC.
13895
6103ae3b
TS
138962012-05-10 Thomas Schwinge <thomas@schwinge.name>
13897
13898 * elf/Makefile (pldd-modules): Define unconditionally.
13899
80b4e5f3
TS
139002012-05-10 Thomas Schwinge <thomas@schwinge.name>
13901
13902 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13903
edadcbd6
ST
139042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13905
13906 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13907 Return ENOENT when name is empty.
13908 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13909
80694780
TS
139102012-05-10 Thomas Schwinge <thomas@schwinge.name>
13911
1792c087
TS
13912 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13913
80694780
TS
13914 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13915
6b645f0d
ST
139162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13917
80694780
TS
13918 Fix mlock in all cases except non-readable pages.
13919 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13920 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13921
6b645f0d
ST
13922 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13923 (__mkdir): When path is `/', just fail with EEXIST.
13924 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13925
e468f8a3
TS
139262012-05-10 Thomas Schwinge <thomas@schwinge.name>
13927
13928 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13929 <sys/uio.h> (for writev).
13930 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13931 and <sys/param.h> (for MIN).
13932
a4186cff
PT
139332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13934
13935 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13936 REQUESTED_TIME. Properly set the remaining time and return EINTR
13937 if interrupted.
13938
510bbf14
TS
139392012-05-10 Thomas Schwinge <thomas@schwinge.name>
13940
13941 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13942 Depend on against $(link-rpcuserlibs).
13943
5d5722e8
ST
139442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13945
a4186cff
PT
13946 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13947 (__libc_stack_end): Do not use attribute_relro.
13948 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13949 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13950 to libthread-provided value.
a4186cff
PT
13951 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13952 attribute_relro.
5d5722e8 13953
37233df9
TS
139542012-05-10 Thomas Schwinge <thomas@schwinge.name>
13955
be971a2b
TS
13956 [BZ #3748]
13957 * bits/libc-lock.h (__libc_once_get): New macro.
13958 * sysdeps/mach/bits/libc-lock.h: Likewise.
13959 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13960 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13961 instead of using implementation details.
13962
37233df9
TS
13963 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13964 * libio/freopen.c: Likewise.
13965 * libio/freopen64.c: Likewise.
13966 * misc/syslog.c: Likewise.
13967 * nscd/connections.c: Likewise.
13968 * nscd/netgroupcache.c: Likewise.
13969 * sysdeps/posix/getcwd.c: Likewise.
13970
38de94a5
RM
139712012-05-10 Roland McGrath <roland@hack.frob.com>
13972
13973 * math/w_ilogbf.c: Add #include <limits.h>.
13974
67530489
ST
139752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13976
a4186cff 13977 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13978 path instead of returning without unlocking.
13979
67530489
ST
13980 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13981 immediate-write ioctls.
13982 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13983
5aa3a74a
TS
139842012-05-10 Thomas Schwinge <thomas@schwinge.name>
13985
18bad2ae
TS
13986 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13987 __builtin_frame_address instead of making assumptions about the
13988 location of the return address relative to DATA. Force early load of
13989 the return address.
13990 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13991 __builtin_frame_address.
13992
5aa3a74a
TS
13993 dup3 for GNU Hurd.
13994 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13995 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13996 implement dup3 and do some further code clean-ups.
13997 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13998 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13999
ecd0de9a
ST
140002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14001
cd9fa985
ST
14002 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14003
a4186cff
PT
14004 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14005 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14006 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14007 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14008 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14009 d->port.lock.
802ca5a5 14010
a4186cff
PT
14011 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14012 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14013 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14014
bcf55240
TS
140152012-05-10 Thomas Schwinge <thomas@schwinge.name>
14016
6960eb42
TS
14017 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14018 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14019 definitions.
14020
eb43375f
TS
14021 accept4 for GNU Hurd.
14022 * include/sys/socket.h (__libc_accept4): New prototype.
14023 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14024 to implement __libc_accept4.
14025 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14026 __libc_accept4.
14027 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14028
bcf55240
TS
14029 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14030 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14031 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14032 signal-defines.sym.
14033
6178c55b
ST
140342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14035
a4186cff 14036 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14037
6f080c2f
TS
140382012-05-10 Thomas Schwinge <thomas@schwinge.name>
14039
14040 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14041 assertion on O_CLOEXEC flag.
14042 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14043 * hurd/intern-fd.c: Likewise.
14044 * hurd/port2fd.c: Likewise.
14045
bcfe3a54
ST
140462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14047
14048 [BZ #3906]
14049 * bits/in.h (IPV6_PKTINFO): Define new macro.
14050 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14051
89c9aa49
AZ
140522012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14053
14054 [BZ #13954]
14055 [BZ #13955]
14056 [BZ #13956]
14057 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14059 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14060 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14061 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14062 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14063 * math/libm-test.inc (logb_test) : Additional logb tests.
14064
021db4be
AJ
140652012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14066 Andreas Jaeger <aj@suse.de>
14067
14068 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14069 * configure: Regenerated.
14070 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14071 * config.make.in (link-obsolete-rpc): New substituted variable.
14072 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14073 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14074 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14075 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14076 so that libc.a contains the symbols.
14077 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14078 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14079 * sunrpc/auth_none.c: Likewise.
14080 * sunrpc/auth_unix.c: Likewise.
14081 * sunrpc/authdes_prot.c: Likewise.
14082 * sunrpc/authuxprot.c: Likewise.
14083 * sunrpc/clnt_gen.c: Likewise.
14084 * sunrpc/clnt_perr.c: Likewise.
14085 * sunrpc/clnt_raw.c: Likewise.
14086 * sunrpc/clnt_simp.c: Likewise.
14087 * sunrpc/clnt_tcp.c: Likewise.
14088 * sunrpc/clnt_udp.c: Likewise.
14089 * sunrpc/clnt_unix.c: Likewise.
14090 * sunrpc/des_crypt.c: Likewise.
14091 * sunrpc/des_soft.c: Likewise.
14092 * sunrpc/get_myaddr.c: Likewise.
14093 * sunrpc/key_call.c: Likewise.
14094 * sunrpc/key_prot.c: Likewise.
14095 * sunrpc/netname.c: Likewise.
14096 * sunrpc/pm_getmaps.c: Likewise.
14097 * sunrpc/pm_getport.c: Likewise.
14098 * sunrpc/pmap_clnt.c: Likewise.
14099 * sunrpc/pmap_prot.c: Likewise.
14100 * sunrpc/pmap_prot2.c: Likewise.
14101 * sunrpc/pmap_rmt.c: Likewise.
14102 * sunrpc/publickey.c: Likewise.
14103 * sunrpc/rpc_cmsg.c: Likewise.
14104 * sunrpc/rpc_common.c: Likewise.
14105 * sunrpc/rpc_dtable.c: Likewise.
14106 * sunrpc/rpc_prot.c: Likewise.
14107 * sunrpc/rpc_thread.c: Likewise.
14108 * sunrpc/rtime.c: Likewise.
14109 * sunrpc/svc.c: Likewise.
14110 * sunrpc/svc_auth.c: Likewise.
14111 * sunrpc/svc_raw.c: Likewise.
14112 * sunrpc/svc_run.c: Likewise.
14113 * sunrpc/svc_tcp.c: Likewise.
14114 * sunrpc/svc_udp.c: Likewise.
14115 * sunrpc/svc_unix.c: Likewise.
14116 * sunrpc/svcauth_des.c: Likewise.
14117 * sunrpc/xcrypt.c: Likewise.
14118 * sunrpc/xdr.c: Likewise.
14119 * sunrpc/xdr_array.c: Likewise.
14120 * sunrpc/xdr_float.c: Likewise.
14121 * sunrpc/xdr_intXX_t.c: Likewise.
14122 * sunrpc/xdr_mem.c: Likewise.
14123 * sunrpc/xdr_rec.c: Likewise.
14124 * sunrpc/xdr_ref.c: Likewise.
14125 * sunrpc/xdr_sizeof.c: Likewise.
14126 * sunrpc/xdr_stdio.c: Likewise.
14127
b5c086a2
RM
141282012-05-10 Roland McGrath <roland@hack.frob.com>
14129
14130 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14131 change. Update copyright years.
14132
6d74dd09
JM
141332012-05-10 Joseph Myers <joseph@codesourcery.com>
14134
14135 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14136
28e72501
MK
141372012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14138 Joseph Myers <joseph@codesourcery.com>
14139 Paul Pluzhnikov <ppluzhnikov@google.com>
14140
14141 [BZ #14012]
14142 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14143 requiring rpcgen.
14144 [cross-compiling] (extra-libs): Likewise.
14145 [cross-compiling] (extra-libs-others): Likewise.
14146 [cross-compiling] (librpcsvc-routines): Likewise.
14147 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14148 [cross-compiling] (omit-deps): Likewise.
14149 (sunrpc-CPPFLAGS): New variable.
14150 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14151 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14152 (cross-rpcgen-objs): New variable.
14153 (extra-objs): Append $(cross-rpcgen-objs).
14154 ($(cross-rpcgen-objs)): New rule.
14155 ($(objpfx)cross-rpcgen): Likewise.
14156 (rpcgen-cmd): Define to use $(built-program-file). Expand
14157 comment.
14158 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14159 ($(objpfx)x%.stmp): Likewise.
14160 * sunrpc/proto.h [IS_IN_build] (_): Define.
14161 [IS_IN_build] (_libc_intl_domainname): Likewise.
14162
c8c59454
L
141632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14164
14165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14166 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14167 and R_X86_64_TPOFF64.
14168
6f27cd16
JM
141692012-05-10 Joseph Myers <joseph@codesourcery.com>
14170
14171 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14172 sysdeps/unix/sysv/syscalls.list.
14173 (stime): Likewise.
14174 (utime): Likewise.
14175 * sysdeps/unix/sysv/syscalls.list: Remove file.
14176
02467e1c
PE
141772012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14178
14179 [BZ #3440]
14180 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14181 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14182 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14183 (__LC_IDENTIFICATION): Make these macros useful in #if
14184 expressions, as required by C99.
14185
da392631
AS
141862012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14187
14188 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14189 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14190 after this.
14191
8115f29b
L
141922012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14193
14194 * stdlib/longlong.h: Updated from GCC.
14195
bdd74070
AJ
141962012-05-09 Andreas Jaeger <aj@suse.de>
14197
edfe0dbe
AJ
14198 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14199 default is first entry.
14200 (run_mode): Set type.
14201 (main): Remove informal message about syslog.
14202 (options): Fix typo.
14203
bcfe3a54
ST
14204 [BZ #14053]
14205 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14206 to asm.
bcfe3a54
ST
14207 (lrint): Likewise.
14208 (llrintf): Likewise.
14209 (llrint): Likewise.
14210 (rint): Likewise.
14211 (rintf): Likewise.
14212 (nearbyint): Likewise.
14213 (nearbyintf): Likewise.
bdd74070 14214
91d8d69e
AJ
142152012-05-09 Andreas Jaeger <aj@suse.de>
14216 Pedro Alves <palves@redhat.com>
14217
14218 * nscd/nscd.c (run_mode): Use enum.
14219 (main): Cleanup coding style issue.
14220
bb90b80b
AJ
142212012-05-09 Alexandre Oliva <aoliva@redhat.com>
14222 Andreas Jaeger <aj@suse.de>
14223
bcfe3a54
ST
14224 * nscd/nscd.c (go_background): Replaced with...
14225 (run_mode): ... this.
bb90b80b 14226 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14227 (options): Add -F --foreground.
14228 (main): Implement it.
14229 (parse_opt): Parse it.
bb90b80b 14230
1a4b75a1
AJ
142312012-05-09 Andreas Jaeger <aj@suse.de>
14232
14233 [BZ #14083]
14234 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14235 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14236 -Wconversion warning.
14237 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14238 Likewise.
14239
b1cc2472
JM
142402012-05-09 Joseph Myers <joseph@codesourcery.com>
14241
14242 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14243 == 0.
14244 (LC_ALL): Use macro-int-constant.
14245 (LC_COLLATE): Likewise.
14246 (LC_CTYPE): Likewise.
14247 (LC_MESSAGES): Likewise.
14248 (LC_MONETARY): Likewise.
14249 (LC_NUMERIC): Likewise.
14250 (LC_TIME): Likewise.
14251 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14252 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14253 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14254 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14255 Specify type.
14256 [C99-based standards] (float_t): Expect type.
14257 [C99-based standards] (double_t): Expect type.
14258 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14259 type.
14260 [C99-based standards] (HUGE_VALL): Likewise.
14261 [C99-based standards] (INFINITY): Likewise.
14262 [C99-based standards] (NAN): Likewise.
14263 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14264 [C99-based standards] (FP_NAN): Likewise.
14265 [C99-based standards] (FP_NORMAL): Likewise.
14266 [C99-based standards] (FP_SUBNORMAL): Likewise.
14267 [C99-based standards] (FP_ZERO): Likewise.
14268 [C99-based standards] (FP_FAST_FMA): Use
14269 optional-macro-int-constant. Specify type. Require == 1.
14270 [C99-based standards] (FP_FAST_FMAF): Likewise.
14271 [C99-based standards] (FP_FAST_FMAL): Likewise.
14272 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14273 [C99-based standards] (FP_ILOGBNAN): Likewise.
14274 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14275 Specify type.
14276 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14277 [C99-based standards] (math_errhandling): Specify type.
14278 [ISO99 || ISO11] (signgam): Do not allow.
14279 [non-C99-based standards] (copysignf): Do not allow.
14280 [non-C99-based standards] (exp2f): Likewise.
14281 [non-C99-based standards] (log2f): Likewise.
14282 [non-C99-based standards] (modff): Allow.
14283 [non-C99-based standards] (erff): Do not allow.
14284 [non-C99-based standards] (erfcf): Likewise.
14285 [non-C99-based standards] (gammaf): Likewise.
14286 [non-C99-based standards] (hypotf): Likewise.
14287 [non-C99-based standards] (j0f): Likewise.
14288 [non-C99-based standards] (j1f): Likewise.
14289 [non-C99-based standards] (jnf): Likewise.
14290 [non-C99-based standards] (lgammaf): Likewise.
14291 [non-C99-based standards] (tgammaf): Likewise.
14292 [non-C99-based standards] (y0f): Likewise.
14293 [non-C99-based standards] (y1f): Likewise.
14294 [non-C99-based standards] (ynf): Likewise.
14295 [non-C99-based standards] (isnanf): Likewise.
14296 [non-C99-based standards] (acoshf): Likewise.
14297 [non-C99-based standards] (asinhf): Likewise.
14298 [non-C99-based standards] (atanhf): Likewise.
14299 [non-C99-based standards] (cbrtf): Likewise.
14300 [non-C99-based standards] (expm1f): Likewise.
14301 [non-C99-based standards] (ilogbf): Likewise.
14302 [non-C99-based standards] (log1pf): Likewise.
14303 [non-C99-based standards] (logbf): Likewise.
14304 [non-C99-based standards] (nextafterf): Likewise.
14305 [non-C99-based standards] (remainderf): Likewise.
14306 [non-C99-based standards] (rintf): Likewise.
14307 [non-C99-based standards] (scalbf): Likewise.
14308 [non-C99-based standards] (copysignl): Likewise.
14309 [non-C99-based standards] (exp2l): Likewise.
14310 [non-C99-based standards] (log2l): Likewise.
14311 [non-C99-based standards] (modfl): Allow.
14312 [non-C99-based standards] (erfl): Do not allow.
14313 [non-C99-based standards] (erfcl): Likewise.
14314 [non-C99-based standards] (gammal): Likewise.
14315 [non-C99-based standards] (hypotl): Likewise.
14316 [non-C99-based standards] (j0l): Likewise.
14317 [non-C99-based standards] (j1l): Likewise.
14318 [non-C99-based standards] (jnl): Likewise.
14319 [non-C99-based standards] (lgammal): Likewise.
14320 [non-C99-based standards] (tgammal): Likewise.
14321 [non-C99-based standards] (y0l): Likewise.
14322 [non-C99-based standards] (y1l): Likewise.
14323 [non-C99-based standards] (ynl): Likewise.
14324 [non-C99-based standards] (isnanl): Likewise.
14325 [non-C99-based standards] (acoshl): Likewise.
14326 [non-C99-based standards] (asinhl): Likewise.
14327 [non-C99-based standards] (atanhl): Likewise.
14328 [non-C99-based standards] (cbrtl): Likewise.
14329 [non-C99-based standards] (expm1l): Likewise.
14330 [non-C99-based standards] (ilogbl): Likewise.
14331 [non-C99-based standards] (log1pl): Likewise.
14332 [non-C99-based standards] (logbl): Likewise.
14333 [non-C99-based standards] (nextafterl): Likewise.
14334 [non-C99-based standards] (remainderl): Likewise.
14335 [non-C99-based standards] (rintl): Likewise.
14336 [non-C99-based standards] (scalbl): Likewise.
14337 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14338 [non-C99-based standards] (FP_*): Do not allow.
14339 [C99-based standards] (FP_*): Change to
14340 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14341 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14342 allow.
14343 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14344 (SIG_ERR): Likewise.
14345 [X/Open-based standards] (SIG_HOLD): Likewise.
14346 (SIG_IGN): Likewise.
14347 (SIGABRT): Use macro-int-constant. Specify type. Require
14348 positive value.
14349 (SIGFPE): Likewise.
14350 (SIGILL): Likewise.
14351 (SIGINT): Likewise.
14352 (SIGSEGV): Likewise.
14353 (SIGTER): Likewise.
14354 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14355 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14356 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14357 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14358 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14359 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14360 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14361 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14362 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14363 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14364 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14365 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14366 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14367 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14368 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14369 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14370 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14371 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14372 [X/Open-based standards] (SIGTRAP): Likewise.
14373 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14374 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14375 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14376 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14377 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14378 allow.
14379
b9f1922d
IW
143802012-05-08 Ian Wienand <ianw@vmware.com>
14381
14382 [BZ #14080]
14383 * time/tzset.c (__tzset_parse_tz): Update default rules for
14384 daylight time changes in the Energy Policy Act of 2005.
14385
1db86e88
AJ
143862012-05-09 Andreas Jaeger <aj@suse.de>
14387
14388 [BZ #13983]
14389 * elf/ldconfig.c (parse_conf): Change string to make clear that
14390 ldconfig only issued a warning if ld.so.conf does not exist.
14391
dee4a4e3
DM
143922012-05-08 David S. Miller <davem@davemloft.net>
14393
ee0db190
DM
14394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14395 movxtod instead of popping the value on the stack.
14396
dee4a4e3
DM
14397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14398
6a43ec98
CD
143992012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14400
14401 * config.h.in: Add HAVE_ARM_PCS_VFP.
14402
05c2c961
RMG
144032012-05-08 Roland Mc Grath <roland@hack.frob.com>
14404
bcfe3a54
ST
14405 [BZ #13979]
14406 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14407 checking but the checks are disabled for any reason.
05c2c961 14408
4b30f61a
L
144092012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14410
14411 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14412 and ELF64_R_TYPE with ELFW(R_TYPE).
14413
eee2bc67
JM
144142012-05-08 Joseph Myers <joseph@codesourcery.com>
14415
7ea5391a
JM
14416 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14417 (ulimit): Likewise.
14418
eee2bc67
JM
14419 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14420 (settimeofday): Likewise.
14421
abb66a67
MF
144222012-05-08 Mike Frysinger <vapier@gentoo.org>
14423
14424 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14425 a struct th_u2 inside the union, and move tu_block/tu_code into
14426 a new th_u3 union of tu_block/tu_code inside of that. Move
14427 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14428 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14429 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14430 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14431 (th_stuff): Change to th_u1.tu_stuff.
14432 (th_data): Define.
14433 (th_msg): Change to th_u1.th_u2.tu_data.
14434
7f18b530
DM
144352012-05-07 David S. Miller <davem@davemloft.net>
14436
05760585
DM
14437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14438
7f18b530
DM
14439 [BZ #14074]
14440 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14441 (SETUP_PIC_REG): Use it.
14442 (SETUP_PIC_REG_LEAF): Use it.
14443
495fd99f
JM
144442012-05-07 Joseph Myers <joseph@codesourcery.com>
14445
14446 [BZ #13885]
14447 [BZ #13923]
14448 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14449 USE_AS_EXPM1L.
14450 (EXPL_FINITE): Likewise.
14451 (FLDLOG): Likewise.
14452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14453 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14454 e_expl.S.
14455 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14456 USE_AS_EXPM1L.
14457 (EXPL_FINITE): Likewise.
14458 (FLDLOG): Likewise.
14459 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14460 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14461 e_expl.S.
14462 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14463 test of -max_value argument for long double.
14464 * sysdeps/i386/fpu/libm-test-ulps: Update.
14465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14466
6693d694
DM
144672012-05-06 David S. Miller <davem@davemloft.net>
14468
14469 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14470 quad soft-float symbols whose references which are compiler
14471 generated.
14472 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14473
6c23e11c
JM
144742012-05-06 Joseph Myers <joseph@codesourcery.com>
14475
d8b82cad
JM
14476 [BZ #13884]
14477 [BZ #13914]
14478 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14479 USE_AS_EXP10L.
14480 (EXPL_FINITE): Likewise.
14481 (FLDLOG): Likewise.
14482 (c0): Likewise.
14483 (c1): Likewise.
14484 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14485 Adjust comments for base varying.
14486 (__expl_finite): Change alias to EXPL_FINITE.
14487 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14488 e_expl.S.
14489 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14490 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14491 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14492 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14493 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14494 USE_AS_EXP10L.
14495 (EXPL_FINITE): Likewise.
14496 (FLDLOG): Likewise.
14497 (c0): Likewise.
14498 (c1): Likewise.
14499 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14500 Adjust comments for base varying.
14501 (__expl_finite): Change alias to EXPL_FINITE.
14502 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14503 tests for bugs.
14504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14505
6c23e11c
JM
14506 [BZ #14064]
14507 * math/libm-test.inc (check_float_internal): Correct ulp
14508 calculation for subnormal expected results.
14509
29ba805c
AJ
145102012-05-06 Andreas Jaeger <aj@suse.de>
14511
14512 * Makeconfig (+math-flags): New, set to -frounding-math.
14513 (+cflags): Add +math-flags so that all of glibc gets compiled with
14514 it.
14515
14516 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14517
7b17aeda
JM
145182012-05-05 Joseph Myers <joseph@codesourcery.com>
14519
5779f134
JM
14520 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14521 Disable one test.
14522
41498f4d
JM
14523 [BZ #13787]
14524 [BZ #13922]
14525 [BZ #14036]
14526 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14527 (__ieee754_expl): Allow for and saturate large arguments.
14528 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14529 (u_threshold): Likewise.
14530 (__exp): Call __ieee754_exp before checking for overflow and
14531 underflow.
14532 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14533 (u_threshold): Likewise.
14534 (__expf): Call __ieee754_expf before checking for overflow and
14535 underflow.
14536 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14537 (u_threshold): Likewise.
14538 (__expl): Call __ieee754_expl before checking for overflow and
14539 underflow.
14540 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14541 (__ieee754_expl): Allow for and saturate large arguments.
14542 * math/libm-test.inc (exp_test): Add another test. Do not allow
14543 missing overflow exception on overflow.
14544 (expm1_test): Do not allow missing overflow exception on overflow.
14545
6698b8bf
JM
14546 * sysdeps/i386/fpu/e_expl.c: Move to ...
14547 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14548 rather than using inline asm.
14549 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14550 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14551 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14552
7b17aeda
JM
14553 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14554 (nice): Likewise.
14555 (poll): Likewise.
14556 (signal): Likewise.
14557 (time): Likewise.
14558 (times): Likewise.
14559
f7c85819
JM
145602012-05-04 Joseph Myers <joseph@codesourcery.com>
14561
14562 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14563 sysdeps/unix/common/syscalls.list.
14564 (fchmod): Likewise.
14565 (fchown): Likewise.
14566 (ftruncate): Likewise.
14567 (getrusage): Likewise.
14568 (gettimeofday): Likewise.
14569 (setpgid): Likewise.
14570 (setregid): Likewise.
14571 (setreuid): Likewise.
14572 (sigaction): Likewise.
14573 (truncate): Likewise.
14574 (vhangup): Likewise.
14575 * sysdeps/unix/common/syscalls.list: Remove file.
14576 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14577 * sysdeps/unix/sysv/linux/Implies: Likewise.
14578
336270d0
L
145792012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14580
14581 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14583 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14584 Moved to ...
14585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14586 Here.
14587 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14588 to ...
14589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14590 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14591 to ...
14592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14593 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14594 to ...
14595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14596 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14597 to ...
14598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14599 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14600 to ...
14601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14602 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14603 to ...
14604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14605 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14606 to ...
14607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14608 Here.
14609 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14610 to ...
14611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14612 Here.
14613 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14614 to ...
14615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14616 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14617 Moved to ...
14618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14619 Here.
14620 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14621 to ...
14622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14623
d128e450
JM
146242012-05-04 Joseph Myers <joseph@codesourcery.com>
14625
fa8ee516
JM
14626 * sysdeps/unix/common/bits/dirent.h: Remove file.
14627 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14628
d128e450
JM
14629 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14630 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14631 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14632 * sysdeps/unix/bsd/isatty.c: Likewise.
14633 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14634 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14635 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14636
ff8faaf0 146372012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14638
62881be4 14639 [BZ #13563]
31dc8730
AZ
14640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14641 long double comparison inaccuracies.
14642 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14644
6fef930c
AS
146452012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14646
14647 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14649
8f203e6c
JM
146502012-05-04 Joseph Myers <joseph@codesourcery.com>
14651
14652 [BZ #14049]
14653 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14654 nonzero digits before rounding a hex value.
14655 * stdlib/tst-strtod.c (tests): Add another test.
14656
5197d9c2
AK
146572012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14658
14659 * sysdeps/s390/fpu/libm-test-ulps: Update.
14660
f0c1dedf
AJ
146612012-05-03 Andreas Jaeger <aj@suse.de>
14662
14663 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14664 does not get optimized out.
14665 (malloc_opt_barrier): New.
14666
a65ef2ae 146672012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14668 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14669
2b942cb7 14670 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14671 intermediate file deletion.
2b942cb7 14672 (generated): Add .symlist files.
a65ef2ae 14673
54b71e02
JM
146742012-05-03 Joseph Myers <joseph@codesourcery.com>
14675
14676 [BZ #13775]
14677 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14678 Redirect under this condition.
14679 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14680 [__USE_GNU] (__dprintf_chk): Not under this condition.
14681 [__USE_GNU] (__vdprintf_chk): Likewise.
14682 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14683 under this condition.
14684 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14685 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14686 [__USE_XOPEN2K8] (vdprintf): Likewise.
14687 [__USE_GNU] (__dprintf_chk): Not under this condition.
14688 [__USE_GNU] (__vdprintf_chk): Likewise.
14689 [__USE_GNU] (dprintf): Likewise.
14690 [__USE_GNU] (vdprintf): Likewise.
14691
d3dfcc41
RM
146922012-05-03 Roland McGrath <roland@hack.frob.com>
14693
14694 * elf/Makefile (common-generated): Set this instead of generated for
14695 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14696 $(all-built-dso)-derived lists.
14697
7ac30cc5
AJ
146982012-05-03 Andreas Jaeger <aj@suse.de>
14699
0c51e550
AJ
14700 * sysdeps/i386/fpu/libm-test-ulps: Update.
14701
7ac30cc5
AJ
14702 * FAQ: Removed.
14703 * FAQ.in: Likewise.
14704 * scripts/gen-FAQ.pl: Likewise.
14705 * manual/install.texi (Installation): Point to online location of
14706 FAQ.
14707 * Makefile (files-for-dist): Remove FAQ.
14708 (FAQ): Remove.
14709
d4c2917f
AM
147102012-05-02 Allan McRae <allan@archlinux.org>
14711
14712 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14713 (LDFLAGS-reldepmod5.so): Likewise.
14714 (LDFLAGS-reldep6mod1.so): Likewise.
14715 (LDFLAGS-reldep6mod4.so): Likewise.
14716 (LDFLAGS-reldep8mod3.so): Likewise.
14717 (LDFLAGS-unload4mod1.so): Likewise.
14718 (LDFLAGS-unload4mod2.so): Likewise.
14719 (LDFLAGS-tst-initorder): Likewise.
14720 (LDFLAGS-tst-initordera2.so): Likewise.
14721 (LDFLAGS-tst-initordera3.so): Likewise.
14722 (LDFLAGS-tst-initordera4.so): Likewise.
14723 (LDFLAGS-tst-initorderb2.so): Likewise.
14724 (LDFLAGS-noload): Likewise.
14725 (LDFLAGS-next): Likewise.
14726 (LDFLAGS-order2mod1.so): Likewise.
14727 (LDFLAGS-order2mod2.so): Likewise.
14728 (LDFLAGS-tst-initorder2): Likewise.
14729 (LDFLAGS-tst-initorder2a.so): Likewise.
14730 (LDFLAGS-tst-initorder2b.so): Likewise.
14731 (LDFLAGS-tst-initorder2c.so): Likewise.
14732 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14733
d77f993f
DM
147342012-05-02 David S. Miller <davem@davemloft.net>
14735
14736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14737
171a70b4
PP
147382012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14739
14740 [BZ #14055]
14741 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14742
0be196ad
AJ
147432012-05-02 Andreas Jaeger <aj@suse.de>
14744
14745 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14746 since we manipulate rounding mode.
14747 (CPPFLAGS-test-idouble.c): Likewise.
14748 (CPPFLAGS-test-ifloat.c): Likewise.
14749 (CFLAGS-test-ldouble.c): Likewise.
14750 (CFLAGS-test-double.c): Likewise.
14751 (CFLAGS-test-float.c): Likewise.
14752 (CFLAGS-test-misc.c): Likewise.
14753 (CFLAGS-test-test-fenv.c): Likewise.
14754
4f9d04aa
AZ
147552012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14756
2b942cb7
RM
14757 [BZ #2550]
14758 [BZ #2570]
14759 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14760 comparisons to determine direction to adjust input.
4f9d04aa 14761
82a79e7d
RM
147622012-05-01 Roland McGrath <roland@hack.frob.com>
14763
f5a01ca9
RM
14764 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14765 output to the target.
14766
90fe4186
RM
14767 * scripts/localplt.awk: New file.
14768 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14769 (check-localplt-CFLAGS): Variable removed.
14770 ($(all-built-dso:=.jmprel)): New static pattern rule.
14771 (generated): Add those targets.
14772 (localplt-built-dso): New variable.
14773 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14774
14775 * elf/check-localplt.c: File removed.
14776
82397ed6
RM
14777 * scripts/check-execstack.awk: New file.
14778 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14779 (check-execstack-CFLAGS): Variable removed.
14780 ($(objpfx)check-execstack.h): Target removed.
14781 ($(objpfx)execstack-default): New target.
14782 (generated): Add that instead of check-execstack.h.
14783 ($(all-built-dso:=.phdr)): New static pattern rule.
14784 (generated): Add those targets.
14785 * elf/check-execstack.c: File removed.
14786
82a79e7d
RM
14787 * scripts/check-textrel.awk: New file.
14788 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14789 (check-textrel-CFLAGS): Variable removed.
14790 (all-built-dso): Use := to define.o
14791 ($(all-built-dso:=.dyn)): New static pattern rule.
14792 (generated): Add those targets.
14793 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14794 * config.make.in (READELF): New substituted variable.
14795 * elf/check-textrel.c: File removed.
14796
62fde54f 147972012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14798
615605c9
JM
14799 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14800 allow.
14801 * conform/data/ctype.h-data [C99-based standards] (isblank):
14802 Expect function.
14803 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14804 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14806 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14807 Specify type. Require positive value.
14808 (EILSEQ): Likewise.
14809 (ERANGE): Likewise.
14810 [ISO || POSIX] (EILSEQ): Do not expect.
14811 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14812 Specify type. Require positive value.
14813 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14814 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14815 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14816 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14817 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14818 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14819 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14820 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14821 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14822 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14823 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14824 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14825 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14826 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14827 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14828 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14829 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14830 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14831 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14832 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14833 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14834 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14835 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14836 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14837 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14838 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14839 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14840 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14841 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14842 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14843 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14844 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14845 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14846 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14847 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14848 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14849 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14850 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14851 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14852 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14853 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14854 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14855 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14856 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14857 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14858 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14859 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14860 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14861 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14862 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14863 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14864 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14882 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14883 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14887 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14888 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14889 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14890 Require >= 2.
14891 (FLT_ROUNDS): Expect as macro, not constant.
14892 (FLT_MANT_DIG): Use macro-int-constant.
14893 (DBL_MANT_DIG): Likewise.
14894 (LDBL_MANT_DIG): Likewise.
14895 (FLT_DIG): Likewise.
14896 (DBL_DIG): Likewise.
14897 (LDBL_DIG): Likewise.
14898 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14899 (DBL_MIN_EXP): Likewise.
14900 (LDBL_MIN_EXP): Likewise.
14901 (FLT_MAX_EXP): Use macro-int-constant.
14902 (DBL_MAX_EXP): Likewise.
14903 (LDBL_MAX_EXP): Likewise.
14904 (FLT_MAX_10_EXP): Likewise.
14905 (DBL_MAX_10_EXP): Likewise.
14906 (LDBL_MAX_10_EXP): Likewise.
14907 (FLT_MAX): Use macro-constant.
14908 (DBL_MAX): Likewise.
14909 (LDBL_MAX): Likewise.
14910 (FLT_EPSILON): Use macro-constant. Give upper bound.
14911 (DBL_EPSILON): Likewise.
14912 (LDBL_EPSILON): Likewise.
14913 (FLT_MIN): Likewise.
14914 (DBL_MIN): Likewise.
14915 (LDBL_MIN): Likewise.
14916 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14917 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14918 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14919 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14920 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14921 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14922 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14923 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14924 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14925 [ISO11] (FLT_TRUE_MIN): Likewise.
14926 [ISO11] (LDBL_TRUE_MIN): Likewise.
14927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14928 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14929 (SCHAR_MIN): Use macro-int-constant. Specify type.
14930 (SCHAR_MAX): Likewise.
14931 (UCHAR_MAX): Likewise.
14932 (CHAR_MIN): Likewise.
14933 (CHAR_MAX): Likewise.
14934 (MB_LEN_MAX): Use macro-int-constant.
14935 (SHRT_MIN): Use macro-int-constant. Specify type.
14936 (SHRT_MAX): Likewise.
14937 (USHRT_MAX): Likewise.
14938 (INT_MAX): Likewise.
14939 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14940 bound negative.
14941 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14942 bound with "U".
14943 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14944 bound with "L".
14945 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14946 bound negative. Suffix upper bound with "L".
14947 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14948 bound with "UL".
14949 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14950 Specify type.
14951 [C99-based standards] (LLONG_MAX): Likewise.
14952 [C99-based standards] (ULLONG_MAX): Likewise.
14953 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14954 == 0.
14955 [ISO11] (max_align_t): Require type.
14956 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14957
c9140a62
JM
14958 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14959 from $CFLAGS, without defining away __attribute__ calls.
14960 (checknamespace): Use $CFLAGS_namespace.
14961
9af0bf29
JM
14962 * conform/conformtest.pl (@keywords): Only include C99 keywords
14963 for standards based on C99 or C11.
14964
343222a2
JM
14965 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14966 Disable tests.
14967 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14968 UNIX98]: Likewise.
14969
661f8cf0
JM
14970 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14971 usability of symbols in #if.
14972
ee74b9cb
JM
14973 * conform/conformtest.pl: If macro or constant types start
14974 "promoted:", expect the symbol to be of the following type
14975 promoted by the integer promotions.
62fde54f 14976
aafc49b3
JM
14977 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14978 in one place. Also handle "macro-constant".
14979
fefdf574
JM
14980 * conform/conformtest.pl: Only accept expected macro values with
14981 "==". Parse all "macro" lines in one place.
14982 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14983
f2d922fe
JM
14984 * conform/conformtest.pl: Handle braced types on "constant" lines
14985 instead of handling "typed-constant".
14986 * conform/data/signal.h-data: Use "constant" instead of
14987 "typed-constant".
14988
d22956c9
JM
14989 * conform/conformtest.pl: Handle "optional-" at start of lines in
14990 one place rather than duplicating several cases. Handle each
14991 format of "macro" line with initial "optional-".
14992
028e2e38
JM
14993 * conform/conformtest.pl: Only accept expected constant or
14994 optional-constant values with "==". Parse all "constant" lines in
14995 one place. Parse all "optional-constant" lines in one place.
14996 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14997 * conform/data/fmtmsg.h-data: Likewise.
14998 * conform/data/netinet/in.h-data: Likewise.
14999 * conform/data/tar.h-data: Likewise.
15000 * conform/data/limits.h-data: Use "==" form on "constant" and
15001 "optional-constant" lines.
15002
1b8f2850
JM
15003 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15004 Use -std=c99 for XOPEN2K.
15005 (@knownproblems): Remove.
15006 (newtoken): Don't check %isknown.
15007
a05a144b
JM
15008 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15009 Do not expect macro.
15010 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15011 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15012 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15013 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15014 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15015 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15016 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15017 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15018 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15019 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15020 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15021 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15022 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15023 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15024 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15025 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15026 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15027 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15028 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15029 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15030 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15031 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15032 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15033 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15034 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15035 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15036 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15037 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15038 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15039 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15040 [XPG3] (acosh): Likewise.
15041 [XPG3] (asinh): Likewise.
15042 [XPG3] (atanh): Likewise.
15043 [XPG3] (cbrt): Likewise.
15044 [XPG3] (expm1): Likewise.
15045 [XPG3] (ilogb): Likewise.
15046 [XPG3] (log1p): Likewise.
15047 [XPG3] (logb): Likewise.
15048 [XPG3] (nextafter): Likewise.
15049 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15050 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15051 [XPG3] (remainder): Likewise.
15052 [XPG3] (rint): Likewise.
15053 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15054 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15055 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15057 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15058 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15060 [UNIX98 || XOPEN2K] (scalb): Expect.
15061 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15062 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15064 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15067 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15068 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15073 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15074 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15082 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15083 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15085 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15086 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15087 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15088 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15089 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15090 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15091 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15092 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15093 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15095 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15096 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15097 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15098 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15099 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15102 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15103 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15104 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15105 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15198
73c5ebe3
JM
15199 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15200 _XOPEN_SOURCE_EXTENDED for XPG4.
15201
39c33b6c
JM
15202 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15203
62fde54f
JM
15204 * Makeconfig (localtime): Remove variable.
15205 (inst_localtime-file): Likewise.
15206
0741d64c
AS
152072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15208
15209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15210 Update.
15211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15212 Update.
15213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15214 Update.
15215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15216 Update.
15217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15218 Update.
15219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15220 Update.
15221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15222 Update.
15223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15224 Update.
15225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15226 Update.
15227
7cb029ee
JM
152282012-05-01 Joseph Myers <joseph@codesourcery.com>
15229
15230 [BZ #2550]
15231 [BZ #2570]
15232 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15233 comparisons to determine direction to adjust input.
15234 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15235 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15236 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15237 Likewise.
15238 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15239 Likewise.
15240 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15241 Likewise.
15242 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15243 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15244 Likewise.
15245 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15246 Likewise.
15247 * math/libm-test.inc (nexttoward_test): Add more tests.
15248
412bd966
AS
152492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15250
15251 [BZ #14040]
15252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15253 in version GLIBC_2.1, not GLIBC_2.0.
15254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15255 Likewise.
15256
9568c0c2
JM
152572012-04-30 Joseph Myers <joseph@codesourcery.com>
15258
adfbc8ac
JM
15259 [BZ #13942]
15260 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15261 (1 - x) * (1 + x).
15262 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15263 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15264 * math/libm-test.inc (acos_test): Add more tests.
15265 (asin_test): Likewise.
15266 * sysdeps/i386/fpu/libm-test-ulps: Update.
15267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15268
5ba3cc69
JM
15269 [BZ #14034]
15270 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15271 of square root.
15272 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15273 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15274 * math/libm-test.inc (acos_test_tonearest): New function.
15275 (acos_test_towardzero): Likewise.
15276 (acos_test_downward): Likewise.
15277 (acos_test_upward): Likewise.
15278 (asin_test_tonearest): Likewise.
15279 (asin_test_towardzero): Likewise.
15280 (asin_test_downward): Likewise.
15281 (asin_test_upward): Likewise.
15282 (main): Call the new functions.
15283 * sysdeps/i386/fpu/libm-test-ulps: Update.
15284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15285
9568c0c2
JM
15286 [BZ #13884]
15287 [BZ #13924]
15288 * math/e_exp10.c: Include <float.h>.
15289 (__ieee754_exp10): Handle underflow here rather than multiplying
15290 large negative argument by M_LN10.
15291 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15292 of __ieee754_expf.
15293 * math/e_exp10l.c: Include <float.h>.
15294 (__ieee754_exp10l): Handle underflow here rather than multiplying
15295 large negative argument by M_LN10l.
15296 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15297 spurious overflow exception on underflow.
15298
5ac3ea17
MP
152992012-04-29 Marek Polacek <polacek@redhat.com>
15300
15301 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15302 (__fortify_function): New macro.
15303 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15304 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15305 __extern_always_inline.
15306 * libio/bits/stdio2.h: Likewise.
15307 * libio/bits/stdio.h: Likewise.
15308 * string/string.h: Likewise.
15309 * string/bits/string3.h: Likewise.
15310 * include/stdio.h: Likewise.
15311 * stdlib/bits/stdlib.h: Likewise.
15312 * stdlib/stdlib.h: Likewise.
15313 * rt/bits/mqueue2.h: Likewise.
15314 * rt/mqueue.h: Likewise.
15315 * posix/bits/unistd.h: Likewise.
15316 * posix/unistd.h: Likewise.
15317 * io/bits/poll2.h: Likewise.
15318 * io/bits/fcntl2.h: Likewise.
15319 * io/fcntl.h: Likewise.
15320 * io/sys/poll.h: Likewise.
15321 * misc/bits/syslog.h: Likewise.
15322 * misc/bits/syslog-ldbl.h: Likewise.
15323 * misc/sys/syslog.h: Likewise.
15324 * socket/bits/socket2.h: Likewise.
15325 * socket/sys/socket.h: Likewise.
15326 * debug/tst-chk1.c: Likewise.
15327 * wcsmbs/bits/wchar2.h: Likewise.
15328 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15329 * wcsmbs/wchar.h: Likewise.
15330
ecf0ebfb
AJ
153312012-04-29 Andreas Jaeger <aj@suse.de>
15332
15333 * Makerules (tests): Remove enable-check-abi protection.
15334 (check-abi-warn): Remove.
15335 (check-abi-%): Remove check-abi-warn usage.
15336
15337 * configure.in: Remove check-abi configure option.
15338 * configure: Regenerated.
15339 * config.make.in (enable-check-abi): Remove.
15340
6d5c57fa
AS
153412012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15342
24c5d07e 15343 [BZ #14033]
ded5180a
AS
15344 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15345 double functions to double *_finite functions.
15346
7e0d315d
AS
15347 [BZ #13941]
15348 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15349 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15350 LDBL_MIN_EXP.
15351 * stdio-common/Makefile (tests): Add tst-sprintf3.
15352 * stdio-common/tst-sprintf3.c: New file.
15353
6d5c57fa
AS
15354 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15355 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15356
0749ff8b
JM
153572012-04-28 Joseph Myers <joseph@codesourcery.com>
15358
15359 * conform/conformtest.pl: Remove duplicate typed-constant
15360 handling.
15361
8dbd5d7b
DM
153622012-04-28 David S. Miller <davem@davemloft.net>
15363
15364 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15365 (check-abi-%): Remove AWK script prerequisite and explicit
15366 abilist directory.
15367 (check-abi): Rewrite to just diff the symlist with the abilist.
15368 (config-tls, config-abi-config): Delete, no longer used.
15369 (update-abi-%): Remove AWK script and explicit abilist directory.
15370 (update-abi): Rewrite to simply compare and conditionally copy the
15371 symlist and the sysdep abilist file. Remove update-abi-config
15372 checks.
15373 * abilist/ld.abilist: Remove.
15374 * abilist/libBrokenLocale.abilist: Remove.
15375 * abilist/libanl.abilist: Remove.
15376 * abilist/libcrypt.abilist: Remove.
15377 * abilist/libdl.abilist: Remove.
15378 * abilist/librt.abilist: Remove.
15379 * abilist/libthread_db.abilist: Remove.
15380 * abilist/libutil.abilist: Remove.
15381 * scripts/extract-abilist.awk: Remove.
15382 * scripts/merge-abilist.awk: Remove.
15383 * sysdeps/generic/libcidn.abilist: New file.
15384 * sysdeps/generic/libnss_compat.abilist: New file.
15385 * sysdeps/generic/libnss_db.abilist: New file.
15386 * sysdeps/generic/libnss_dns.abilist: New file.
15387 * sysdeps/generic/libnss_files.abilist: New file.
15388 * sysdeps/generic/libnss_hesiod.abilist: New file.
15389 * sysdeps/generic/libnss_nis.abilist: New file.
15390 * sysdeps/generic/libnss_nisplus.abilist: New file.
15391 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15392 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15393 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15394 file.
15395 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15396 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15397 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15398 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15399 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15400 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15401 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15402 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15403 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15404 file.
15405 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15406 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15407 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15408 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15409 file.
15410 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15411 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15412 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15413 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15414 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15415 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15416 file.
15417 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15418 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15419 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15420 file.
15421 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15423 New file.
15424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15425 New file.
15426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15427 New file.
15428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15429 New file.
15430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15431 New file.
15432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15433 New file.
15434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15435 New file.
15436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15437 New file.
15438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15439 New file.
15440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15441 New file.
15442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15443 New file.
15444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15445 New file.
15446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15447 New file.
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15449 file.
15450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15451 New file.
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15453 New file.
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15455 file.
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15457 New file.
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15459 New file.
15460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15461 file.
15462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15463 New file.
15464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15465 New file.
15466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15467 New file.
15468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15469 New file.
15470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15471 New file.
15472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15473 New file.
15474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15476 file.
15477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15478 New file.
15479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15480 file.
15481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15482 file.
15483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15484 file.
15485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15486 file.
15487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15488 file.
15489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15490 New file.
15491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15492 file.
15493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15494 file.
15495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15496 New file.
15497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15498 file.
15499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15501 file.
15502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15503 New file.
15504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15505 file.
15506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15507 file.
15508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15509 file.
15510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15511 file.
15512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15513 file.
15514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15515 New file.
15516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15517 file.
15518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15519 file.
15520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15521 New file.
15522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15523 file.
15524 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15525 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15526 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15527 file.
15528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15529 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15530 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15531 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15532 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15533 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15534 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15535 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15536 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15537 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15540 file.
15541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15542 New file.
15543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15544 file.
15545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15546 file.
15547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15548 file.
15549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15550 file.
15551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15552 file.
15553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15554 New file.
15555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15556 New file.
15557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15558 file.
15559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15560 New file.
15561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15562 file.
15563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15565 file.
15566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15567 New file.
15568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15569 file.
15570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15571 file.
15572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15573 file.
15574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15575 file.
15576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15577 file.
15578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15579 New file.
15580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15581 New file.
15582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15583 file.
15584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15585 New file.
15586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15587 file.
15588
41d73a1b
JM
155892012-04-28 Joseph Myers <joseph@codesourcery.com>
15590
15591 * conform/conformtest.pl: Fix typo in handling typed-constant from
15592 allow-header.
15593
28aeeda4
JM
155942012-04-27 Joseph Myers <joseph@codesourcery.com>
15595
adae8f5e
JM
15596 * README: Cut down references to pre-2.6 Linux kernels and
15597 Linuxthreads. Update lists of configurations in libc and ports
15598 and sort alphabetically. Say "or newer" with Linux kernel version
15599 requirements.
15600
28aeeda4
JM
15601 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15602
a462cb63
RA
156032012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15604
15605 [BZ #887]
15606 * math/libm-test.inc (logb_test_downward): New test to expose
15607 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15608 rounding mode.
15609
6ad3493e
JM
156102012-04-27 Joseph Myers <joseph@codesourcery.com>
15611
15612 [BZ #14027]
15613 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15614 to be done.
15615 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15616 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15617
2ce4f015
JM
156182012-04-26 Joseph Myers <joseph@codesourcery.com>
15619
5aeb141a
JM
15620 * sysdeps/unix/i386/brk.S: Remove file.
15621 * sysdeps/unix/i386/dl-brk.S: Likewise.
15622 * sysdeps/unix/i386/pipe.S: Likewise.
15623 * sysdeps/unix/i386/sigreturn.S: Likewise.
15624 * sysdeps/unix/i386/syscall.S: Likewise.
15625 * sysdeps/unix/i386/vfork.S: Likewise.
15626 * sysdeps/unix/i386/wait.S: Likewise.
15627
7143acae
JM
15628 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15629 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15630
2ce4f015
JM
15631 * configure.in (arm*-none*): Do not allow without
15632 --enable-hacker-mode.
15633 (netbsd*): Remove case setting base_os.
15634 (386bsd*): Likewise.
15635 (freebsd*): Likewise.
15636 (bsdi*): Likewise.
15637 (osf*): Likewise.
15638 (sunos*): Likewise.
15639 (ultrix*): Likewise.
15640 (newsos*): Likewise.
15641 (dynix*): Likewise.
15642 (*bsd*): Likewise.
15643 (sysv*): Likewise.
15644 (isc*): Likewise.
15645 (esix*): Likewise.
15646 (sco*): Likewise.
15647 (minix*): Likewise.
15648 (irix4*): Likewise.
15649 (irix6*): Likewise.
15650 (solaris[2-9]*): Likewise.
15651 (none): Likewise.
15652 * configure: Regenerated.
15653
0ac229c8
AZ
156542012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15655
15656 [BZ #11521]
15657 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15658 overflow or cancellation in calculating denominator.
15659 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15660 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15661 down expression to avoid unexpected rounding in newer GCCs.
15662 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15663
33f244f4
DM
156642012-04-26 David S. Miller <davem@davemloft.net>
15665
15666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15667 long-double compat symbols.
15668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15681
cfa1f3e8
DM
156822012-04-25 David S. Miller <davem@davemloft.net>
15683
15684 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15685 HWCAP_* values only after the memory barriers have been defined.
15686 (atomic_full_barrier): Define.
15687 (atomic_read_barrier): Define.
15688 (atomic_write_barrier): Define.
15689
6e236b92
SP
156902012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15691
15692 * shlib-versions: Add libgcc_s version information.
15693 * sysdeps/generic/libgcc_s.h: Remove.
15694 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15695 libgcc_s.h.
15696 * sysdeps/gnu/unwind-resume.c: Likewise.
15697 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15698
aab39a09
DM
156992012-04-25 David S. Miller <davem@davemloft.net>
15700
15701 * sysdeps/unix/sparc/brk.S: Delete.
15702 * sysdeps/unix/sparc/dl-brk.S: Delete.
15703 * sysdeps/unix/sparc/pipe.S: Delete.
15704 * sysdeps/unix/sparc/sysdep.S: Delete.
15705 * sysdeps/unix/sparc/sysdep.h: Delete.
15706 * sysdeps/unix/sparc/vfork.S: Delete.
15707 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15708 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15710 ret_ERRVAL, r0, r1, MOVE): Define.
15711 (JUMPTARGET): Remove.
15712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15713 sysdeps/unix/sparc/sysdep.h
15714 (ENTRY, END): Remove.
15715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15716
a3cc4f48
JM
157172012-04-25 Joseph Myers <joseph@codesourcery.com>
15718
2ed8cda2
JM
15719 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15720 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15721 -DIS_IN_build.
15722
35d76d59
JM
15723 * timezone/README: Update upstream location and email address for
15724 tzcode and tzdata.
15725 * timezone/zdump.c: Update from tzcode 2012b.
15726 * timezone/zic.c: Likewise.
15727
a3cc4f48
JM
15728 * configure.in (libc_cv_as_needed): Remove test.
15729 * configure: Regenerated.
15730 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15731 conditional definition.
15732 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15733 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15734 * config.make.in (have-as-needed): Remove variable.
15735
ceab42c3
SP
157362012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15737 Paul Pluzhnikov <ppluzhnikov@google.com>
15738
15739 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15740 strings correctly.
15741
3ce2865f
CLT
157422012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15743
15744 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15745 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15746 * sysdeps/sh/strlen.S: Likewise.
15747
f37e0d68
JM
157482012-04-24 Joseph Myers <joseph@codesourcery.com>
15749
ae186e9a
JM
15750 * sysdeps/unix/fork.S: Remove file.
15751 * sysdeps/unix/i386/fork.S: Likewise.
15752 * sysdeps/unix/sparc/fork.S: Likewise.
15753
b96914af
JM
15754 * sysdeps/unix/system.c: Remove file.
15755 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15756
f37e0d68
JM
15757 * sysdeps/unix/getegid.S: Remove file.
15758 * sysdeps/unix/geteuid.S: Likewise.
15759
87ef29ca
RM
157602012-04-24 Roland McGrath <roland@hack.frob.com>
15761
83bcd236
RM
15762 * scripts/check-localplt.awk: New file.
15763 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15764 of diff.
15765 * scripts/data/localplt-generic.data: Add a comment.
15766
87ef29ca
RM
15767 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15768 NODE when __dir_mkfile failed.
15769 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15770 Reported by Ludovic Courtès <ludo@gnu.org>.
15771
e5a6e567
AJ
157722012-04-24 Andreas Jaeger <aj@suse.de>
15773
15774 * Makerules (common-clean): Also remove gen-as-const-headers
15775 files.
15776
c1820385
JM
157772012-04-24 Joseph Myers <joseph@codesourcery.com>
15778
15779 * Makerules (native-compile): Do not change working directory for
15780 build. Use $(OUTPUT_OPTION) in command.
15781 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15782
94e02fc4
AZ
157832012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15784
15785 [BZ #13886]
15786 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15787 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15788 * math/libm-test.inc (floor_test): Add more tests.
15789 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15790
3a533ca3
JM
157912012-04-24 Joseph Myers <joseph@codesourcery.com>
15792
940ab4b3
JM
15793 * sysdeps/unix/getdents.c: Remove file.
15794 * sysdeps/unix/sysv/getdents.c: Likewise.
15795 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15796
90e037bd
JM
15797 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15798 sysdeps/unix/mman/syscalls.list.
15799 (mmap): Likewise.
15800 (mprotect): Likewise.
15801 (msync): Likewise.
15802 (munmap): Likewise.
15803 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15804 * sysdeps/unix/mman/syscalls.list: Remove.
15805 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15806
3a533ca3
JM
15807 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15808 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15809 * configure: Regenerated.
15810 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15811 $(libgcc_s_suffix).
15812 * config.make.in (libgcc_s_suffix): Remove variable.
15813
1ad743de
JM
158142012-04-23 Joseph Myers <joseph@codesourcery.com>
15815
4ad451e2
JM
15816 * sysdeps/unix/sysv/gethostname.c: Move to ...
15817 * sysdeps/posix/gethostname.c: ... here.
15818
5e37ce39
JM
15819 * sysdeps/unix/execve.S: Remove file.
15820
1ad743de
JM
15821 * sysdeps/unix/_exit.S: Remove file.
15822
4e681b5b
AJ
158232012-04-23 Andreas Jaeger <aj@suse.de>
15824
15825 [BZ #13739]
15826 * manual/Makefile: Remove make dist support, there's no
15827 need for a stand-alone documentation tar ball.
15828 (TEXI2DVI): Define always, it's not in Makeconfig.
15829 (dist): Removed.
15830 (tar-it): Removed.
15831 (edition): Removed.
15832 (glibc-doc-$(edition).tar): Removed
15833 (%.Z): Removed.
15834 (%.gz): Removed.
15835 (%.uu): Removed.
15836 (ETAGS): Remove, it's in Makeconfig.
15837 (move-if-change): Remove, it's in Makeconfig.
15838
38686a03 158392012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15840
15841 [BZ #13970]
15842 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15843 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15844 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15845 (strtod_l, strtof_l, strtold_l): Remove __wur.
15846 It is not necessarily an error to ignore strtol's return value.
15847 One can reliably look at the stored endptr to decide whether
15848 the number had valid syntax.
15849
7c0616fa
AJ
158502012-04-21 Andreas Jaeger <aj@suse.de>
15851
803cb6b7 15852 [BZ #13739]
7c0616fa
AJ
15853 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15854
b0fe253f
JM
158552012-04-21 Joseph Myers <joseph@codesourcery.com>
15856
15857 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15858 * sysdeps/unix/sysv/Versions: Remove file.
15859
8280f22d
MT
158602012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15861
15862 [BZ #13927]
15863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15864
75ce411f 158652012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15866
15867 [BZ #7064]
15868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15869 version from __vm86.
15870
097d59fa
JM
158712012-04-20 Joseph Myers <joseph@codesourcery.com>
15872
a90f3bcb
JM
15873 * sysdeps/unix/common/lxstat.c: Remove file.
15874 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15875
edc7ea78
JM
15876 * sysdeps/unix/sysv/Makefile: Remove file.
15877
cb78c221
JM
15878 * sysdeps/unix/sysv/direct.h: Remove file.
15879
efa6a45f
JM
15880 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15881 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15882 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15883 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15884 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15885 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15886 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15887
9c9f2d0c
JM
15888 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15889
4541c83b
JM
15890 * sysdeps/unix/xmknod.c: Remove file.
15891 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15892
f5d153a0
JM
15893 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15894
aa746595
JM
15895 * sysdeps/unix/sysv/i386/time.S: Remove file.
15896
cce5905e
JM
15897 * sysdeps/unix/fxstat.c: Remove file.
15898 * sysdeps/unix/xstat.c: Likewise.
15899 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15900
37fa3841
JM
15901 * sysdeps/unix/sysv/sigaction.c: Remove file.
15902
ff1962a3
JM
15903 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15904 (sysdep_headers): Remove variable.
15905 [termio.h not in sysdep_headers] (generated): Likewise.
15906 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15907 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15908 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15909 * sysdeps/unix/sysv/tcflow.c: Likewise.
15910 * sysdeps/unix/sysv/tcflush.c: Likewise.
15911 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15912 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15913 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15914 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15915 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15916
e7740d31
JM
15917 * sysdeps/unix/siglist.c: Remove file.
15918
ee06f18b
JM
15919 * sysdeps/unix/getppid.S: Remove file.
15920
097d59fa
JM
15921 * sysdeps/unix/mkdir.c: Remove file.
15922 * sysdeps/unix/rmdir.c: Likewise.
15923
ff3d51ec
AS
159242012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15925
15926 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15927 ERR_MAX value.
15928 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15929 errlist-compat value.
15930
50f81fd7
DM
159312012-04-18 David S. Miller <davem@davemloft.net>
15932
15933 * sysdeps/generic/memcopy.h (reg_char): Delete.
15934 * debug/strcat_chk.c: Use char, not reg_char.
15935 * debug/strcpy_chk.c: Likewise.
15936 * debug/strncat_chk.c: Likewise.
15937 * debug/strncpy_chk.c: Likewise.
15938 * string/memchr.c: Likewise.
15939 * string/memrchr.c: Likewise.
15940 * string/rawmemchr.c: Likewise.
15941 * string/strcat.c: Likewise.
15942 * string/strchr.c: Likewise.
15943 * string/strchrnul.c: Likewise.
15944 * string/strcmp.c: Likewise.
15945 * string/strcpy.c: Likewise.
15946 * string/strncat.c: Likewise.
15947 * string/strncmp.c: Likewise.
15948 * string/strncpy.c: Likewise.
15949
8ff41c46
WS
159502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15951
15952 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15953 __builtin_memcopy is called when src and dest ranges are known to not
15954 overlap.
15955
6b652f46
WS
159562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15957
15958 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15959 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15960 fwd_align_merge macro call.
15961 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15962 bwd_align_merge macro call.
15963 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15964
b282631e
WS
159652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15966
15967 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15968 bwd_align_merge macros.
15969 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15970 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15971 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15972
95aa737c
DM
159732012-04-18 David S. Miller <davem@davemloft.net>
15974
15975 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15976
7a99a614
AJ
159772012-04-18 Andreas Jaeger <aj@suse.de>
15978
15979 [BZ# 6794]
15980 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15981 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15982 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15983
15984 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15985 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15986 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15987
15988 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15989 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15990 Adjust for changed ldbl-128 files.
15991
15992 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15993 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15994 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15995
e5270c23
DM
159962012-04-17 David S. Miller <davem@davemloft.net>
15997
15998 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15999
fb5e92c9
AS
160002012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16001
16002 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16003 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16004 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16005 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16006 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16007 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16008
76da7265
AZ
160092012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16010
16011 [BZ #6794]
16012 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16013 * math/libm-test.inc: Add ilogb errno and exception tests.
16014 * math/w_ilogb.c: New file: ilogb wrapper.
16015 * math/w_ilogbf.c: New file: ilogbf wrapper.
16016 * math/w_ilogbl.c: New file: ilogbl wrapper.
16017 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16018 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16019 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16020 exception being thrown with 0.0 as argument.
16021 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16022 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16023 exception being thrown with 0.0 as argument.
16024 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16025 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16026 exception being thrown with 0.0 as argument.
16027 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16028 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16029 exception being thrown with 0.0 as argument.
16030 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16031 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16032 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16033 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16034 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16035 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16036 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16037 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16038 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16039
0396e69d
PB
160402012-04-17 Petr Baudis <pasky@ucw.cz>
16041
16042 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16043 with altivec.
16044
750b5926
MP
160452012-04-16 Marek Polacek <polacek@redhat.com>
16046
16047 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16048
751728a1
MP
160492012-04-16 Marek Polacek <polacek@redhat.com>
16050
16051 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16052 operands of fdivp instruction.
16053
34a27407
L
160542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16055
16056 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16057 * elf/tst-auditmod3b.c: Likewise.
16058 * elf/tst-auditmod4b.c: Likewise.
16059 * elf/tst-auditmod5b.c: Likewise.
16060 * elf/tst-auditmod6b.c: Likewise.
16061 * elf/tst-auditmod6c.c: Likewise.
16062 * elf/tst-auditmod7b.c: Likewise.
16063 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16064 * sysdeps/x86_64/preconfigure.in: Likewise.
16065 * sysdeps/x86_64/preconfigure: Regenerated.
16066
7e73e17d
L
160672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16068
16069 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16070 __ILP32__.
16071
c7a6ab72
AB
160722012-04-13 Antoine Balestrat <merkil33@gmail.com>
16073
16074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16075 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16076
a9e8e0e0
CL
160772012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16078
16079 [BZ #13973]
16080 * locale/iso-639.def: Fix gl language name. Spotted by
16081 Yaron Shahrabani.
16082
ec98af7d
RM
160832012-04-12 Roland McGrath <roland@hack.frob.com>
16084
16085 [BZ #2074]
16086 * libio/libio.h (__io_write_fn): Update comment.
16087
247c3ede
PB
160882012-04-12 Petr Baudis <pasky@ucw.cz>
16089
16090 [BZ #2074]
16091 * stdio.texi (Hook Functions): The user provided writer function
16092 is not allowed to return -1.
16093
55939d6d
DM
160942012-04-11 David S. Miller <davem@davemloft.net>
16095
16096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16097
90020f5a
MF
160982012-04-11 Mike Frysinger <vapier@gentoo.org>
16099
16100 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16101 Add a leading slash to rtkaio.
16102
288f9098
JM
161032012-04-11 Jim Meyering <meyering@redhat.com>
16104
90020f5a
MF
16105 [BZ #11959]
16106 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16107 It is not necessarily an error to ignore fwrite's return
16108 value. One can reliably use ferror to test for errors after
16109 the fact.
288f9098 16110
4be2b570
L
161112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16112
16113 * bits/types.h (__snseconds_t): New type.
16114 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16115
16116 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16118 (__SNSECONDS_T_TYPE): Likewise.
16119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16120 (__SNSECONDS_T_TYPE): Likewise.
16121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16122 (__SNSECONDS_T_TYPE): Likewise.
16123
288f9098 161242012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16125
16126 [BZ #2636]
16127 * manual/time.texi (Processor Time): Return type of times is
16128 elapsed real time since an arbitrary point in the past.
16129 (CPU Time): Move CLK_TCK from here...
16130 (Processor Time): ...to here. Correct description.
16131 * manual/conf.texi (Constants for Sysconf): Correct description of
16132 _SC_CLK_TCK.
16133
d7dd4413
DM
161342012-04-10 David S. Miller <davem@davemloft.net>
16135
16136 [BZ #13967]
16137 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16138 where the is a gap between DT_REL(A) and DT_JMPREL.
16139
b46068fc
L
161402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16141
16142 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16143 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16144 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16145
73d65cc3
SP
161462012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16147
16148 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16149 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16150 (dl_main): Handle --inhibit-cache.
16151 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16152 _dl_inhibit_cache.
16153 * elf/dl-load.c (_dl_map_object): Use it.
16154 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16155
bcc8d661
JM
161562012-04-09 Joseph Myers <joseph@codesourcery.com>
16157
8f9a2fae
JM
16158 [BZ #13872]
16159 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16160 (__ieee754_powl): Saturate large exponents rather than testing for
16161 overflow of y*log2(x).
16162 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16163 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16164 exceptions.
16165
bcc8d661
JM
16166 [BZ #11521]
16167 * math/s_ctan.c: Include <float.h>.
16168 (__ctan): Avoid internal overflow or cancellation in calculating
16169 denominator.
16170 * math/s_ctanf.c: Likewise.
16171 * math/s_ctanl.c: Likewise.
16172 * math/s_ctanh.c: Likewise.
16173 * math/s_ctanhf.c: Likewise.
16174 * math/s_ctanhl.c: Likewise.
16175 * math/libm-test.inc (ctan_test): Add more tests.
16176 (ctanh_test): Likewise.
16177 * sysdeps/i386/fpu/libm-test-ulps: Update.
16178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16179
823fbbb4
AJ
161802012-04-09 Andreas Jaeger <aj@suse.de>
16181
03879793
AJ
16182 [BZ #6894]
16183 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16184 is an optional BSD extension.
16185
823fbbb4
AJ
16186 [BZ #10254]
16187 * manual/stdio.texi (Opening Streams): Document additional fopen
16188 parameters.
16189
8de131cb
RM
161902012-04-09 Roland McGrath <roland@hack.frob.com>
16191
16192 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16193 %eax without telling the compiler.
16194
c0ed9d7d
CD
161952012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16196
16197 [BZ # 13963]
16198 * manual/install.texi: Use sourceware.org.
16199
c483f6b4
JM
162002012-04-09 Joseph Myers <joseph@codesourcery.com>
16201
d7dd9453
JM
16202 [BZ #13873]
16203 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16204 (__ieee754_pow): Generate overflow and underflow using huge*huge
16205 and tiny*tiny rather than just returning constant infinity or zero
16206 for large exponents.
16207 * math/libm-test.inc (pow_test): Require overflow exceptions for
16208 applicable cases of large exponents.
16209
c483f6b4
JM
16210 [BZ #706]
16211 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16212 (__ieee754_pow): Use iterative multiplication algorithm only for
16213 integer exponents with absolute value below 1024. Check for odd
16214 integer exponents when using algorithm for real exponents.
16215 * math/libm-test.inc (pow_test): Add more tests.
16216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16217
d2de7579
JM
162182012-04-08 Joseph Myers <joseph@codesourcery.com>
16219
16220 [BZ #13705]
16221 * math/libm-test.inc (exp_test): Do not allow overflow exception
16222 on underflow test.
16223
f77f1232
AJ
162242012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16225
16226 [BZ #13705]
16227 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16228 instead of __kernel_standard_f.
16229
3884932b
MF
162302012-04-08 Mike Frysinger <vapier@gentoo.org>
16231
16232 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16233 * sysdeps/x86_64/memset_chk.S: Likewise.
16234
54472e9c
AJ
162352012-04-08 Andreas Jaeger <aj@suse.de>
16236
6ab0fbfc
AJ
16237 [BZ #10153]
16238 * manual/startup.texi (Environment Access): Describe return value
16239 for putenv and setenv.
16240
61efba8c
AJ
16241 [BZ #6895]
16242 * manual/filesys.texi (Directory Entries): Add description for
16243 DT_LNK.
16244
95c3f29a
AJ
16245 [BZ #6890]
16246 * manual/filesys.texi (Directory Entries): Clarify that it's file
16247 system not operating system in the description of DT_UNKNOWN.
16248
54472e9c
AJ
16249 [BZ #6578]
16250 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16251
624254b1
SC
162522012-04-08 Stephen Compall <s11@member.fsf.org>
16253
16254 [BZ #6649]
16255 * manual/llio.texi (Opening and Closing Files): Add cross
16256 reference to explain mode argument.
16257
1e4920e0
MF
162582012-04-07 Mike Frysinger <vapier@gentoo.org>
16259
16260 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16261 * sysdeps/x86_64/memset_chk.S: Likewise.
16262
5ed848f3
DM
162632012-04-07 David S. Miller <davem@davemloft.net>
16264
16265 * elf/elf.h (R_SPARC_WDISP10): Define.
16266 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16267 R_SPARC_SIZE32.
16268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16269 R_SPARC_SIZE64 and R_SPARC_H34.
16270
96154cd8
CD
162712012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16272
16273 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16274 conditions and remove no longer applicable assertion.
16275
9904dc47
L
162762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16277
16278 * bits/byteswap.h: Include <features.h>.
16279 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16280 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16281
f8887d0a
L
162822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16283
16284 * bits/byteswap.h (__bswap_16): Removed.
16285 Include <bits/byteswap-16.h> to get __bswap_16.
16286 * sysdeps/i386/bits/byteswap.h: Likewise.
16287 * sysdeps/s390/bits/byteswap.h: Likewise.
16288 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16289 * bits/byteswap-16.h: New file.
16290 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16291 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16292 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16293 * string/Makefile (headers): Add bits/byteswap-16.h.
16294
62470f60
PP
162952012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16296
16297 [BZ #13895]
16298 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16299 extra indirection.
16300 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16301 * nss/tst-nss-static.c: New.
16302
4dad7bab
RM
163032012-04-06 Robert Millan <rmh@gnu.org>
16304
16305 [BZ #6486]
16306 * manual/llio.texi (File Position Primitive): lseek
16307 refers to WHENCE when it really means OFFSET.
16308
e9142a17
AJ
163092012-04-06 Andreas Jaeger <aj@suse.de>
16310
2c040eff
AJ
16311 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16312 strncmp declarations.
16313
e9142a17
AJ
16314 * abilist/libc.abilist: Add __poll and __ppoll.
16315
ff9f1c5f
DM
163162012-04-05 David S. Miller <davem@davemloft.net>
16317
dcd2ae90
DM
16318 * scripts/check-local-headers.sh: Accept a host triplet in the
16319 path matched by the exclude regexp.
16320
993eb054
DM
16321 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16322 definition.
16323 * sysdeps/powerpc/powerpc32/dl-machine.h
16324 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16325 * sysdeps/s390/s390-32/dl-machine.h
16326 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16327 * sysdeps/sparc/sparc32/dl-machine.h
16328 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16329 * sysdeps/sparc/sparc64/dl-machine.h
16330 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16331
ff9f1c5f
DM
16332 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16333 lazy binding.
48e2e132 16334 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16335 undefined symbol errors.
16336
48e2e132 16337 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16338 DT_NEEDED entries.
16339
e80d6f94
MM
163402012-04-05 Michael Matz <matz@suse.de>
16341
16342 [BZ #13592]
16343 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16344
349fa79f
AJ
163452012-04-05 Andreas Jaeger <aj@suse.de>
16346
16347 [BZ #13908]
16348 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16349 comment.
16350
f402708f
KK
163512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16352
16353 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16354 which ROUND is no valid rounding mode.
16355
2ecccfc9
KK
163562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16357
16358 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16359 read again.
16360 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16361
8a53f50f
KK
163622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16363
16364 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16365 an exception using FPU order intentionally.
16366
163672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16368
16369 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16370 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16371 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16372 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16373
d653abb7
SJ
163742012-04-05 Simon Josefsson <simon@josefsson.org>
16375
16376 [BZ #12340]
16377 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16378 EINVAL when BUFLEN is too smal.
16379
c3b1bf7d
TS
163802012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16381
16382 [BZ #13553]
16383 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16384 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16385
b1aa60f3
AJ
163862012-04-03 Andreas Jaeger <aj@suse.de>
16387
c3b1bf7d 16388 [BZ #13938]
67f60a26
AJ
16389 * manual/setjmp.texi (System V contexts): Fix sentence.
16390
b1aa60f3
AJ
16391 [BZ #13926]
16392 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16393 New macro for this case.
16394 [!__GNUC__] (__bswap_64): New inline function for this case.
16395 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16396 * bits/byteswap.h: Likewise.
16397 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16398 ull, guard with __GLIBC_HAVE_LONG_LONG.
16399
16400 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16401 __GLIBC_HAVE_LONG_LONG.
16402
16403 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16404 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16405
39c59c35
TMQMF
164062012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16407
16408 [BZ #13691]
16409 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16410 inptr and inend, rather than using last_ch.
16411
135ffda8
DM
164122012-04-02 David S. Miller <davem@davemloft.net>
16413
16414 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16415 * stdio-common/printf-parse.h (read_int): Change return type to
16416 'int', return -1 on INT_MAX overflow.
16417 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16418 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16419 overflows INT_MAX. Check for overflow of in-format-string precision
16420 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16421 SIZE_MAX not INT_MAX for integer overflow test.
16422 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16423 skip the construct in the format string but do not record anything.
16424 * stdio-common/bug22.c: Adjust to test both width/prevision
16425 INT_MAX overflow as well as total length INT_MAX overflow. Check
16426 explicitly for proper errno values.
16427
228c019e
TS
164282012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16429
302cadd3
TS
16430 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16431 CHAR_MAX.
16432 * string/test-strcmp.c [! WIDE]: Likewise.
16433 * time/tst-mktime2.c: Likewise for INT_MAX.
16434 * string/test-string.h: #include <sys/param.h> for MIN.
16435
228c019e
TS
16436 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16437 * sysdeps/i386/init-first.c (init): Likewise.
16438 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16439 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16440 * sysdeps/sh/init-first.c (init): Likewise.
16441
cfa633f5
UD
164422012-04-01 Ulrich Drepper <drepper@gmail.com>
16443
16444 * po/ru.po: Update from translation team.
d1635ef8 16445 * po/vi.po: Likewise.
cfa633f5 16446
6cd0a5ea
SP
164472012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16448
16449 * resolv/nss_dns/dns-host.c: Merge copyright years.
16450
4b43400f
LD
164512012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16452
16453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16454 Optimize memcpy with prefetch if
16455 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16456 src, dst pointers have unequal 16 byte alignments.
16457
48c41d04
SP
164582012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16459
16460 [BZ #13928]
16461 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16462 from a CNAME entry and return the minimum ttl for the query.
16463 (gaih_getanswer_slice): Likewise.
16464
b8dc394d
JL
164652012-03-30 Jeff Law <law@redhat.com>
16466
16467 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16468 due to long keys.
16469 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16470 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16471
2f5a5ed0
JL
16472 * resolv/nss_dns/dns-host.c: Update copyright year.
16473
1d39e359
UD
164742012-03-30 Ulrich Drepper <drepper@gmail.com>
16475
c030f70c 16476 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16477 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16478
1d39e359
UD
16479 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16480 comments for sendmmsg.
16481
164822012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16483
16484 [BZ #13691]
16485 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16486 with only 1 character between 0x0041 and 0x01b0.
16487 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16488 * wcsmbs/tst-mbsnrtowcs.c: New file.
16489
20fde227
DM
164902012-03-29 David S. Miller <davem@davemloft.net>
16491
16492 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16493 small copies by hand.
16494
984a4237
JL
164952012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16496
16497 [BZ #13761]
16498 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16499 _nss_compat_initgroups_dyn): Fall back to malloc/free
16500 for large group memberships.
16501
18c9d62b
DM
165022012-03-28 David S. Miller <davem@davemloft.net>
16503
88d85d4f
DM
16504 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16505 that branches into memcpy.
16506 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16507 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16508 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16509 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16511 bits.
16512 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16513 implementation too.
16514 * sysdeps/sparc/mempcpy.S: New file.
16515
e5aa83e1
DM
16516 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16517 the IFUNC routine in the libc case.
16518 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16519
88570753
DM
16520 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16521 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16522 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16523 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16524 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16525 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16526 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16527 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16528
249d7567
DM
16529 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16530 loop to 256 bytes instead of 64 bytes and fix test signedness.
16531
18c9d62b
DM
16532 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16533 * sysdeps/sparc/sparc32/Makefile: rather than here...
16534 * sysdeps/sparc/sparc64/Makefile: and here.
16535
05f3d1f6
UD
165362012-03-28 Ulrich Drepper <drepper@gmail.com>
16537
16538 * malloc/mallocbug.c: Avoid warnings about unused variables.
16539
86ae07a8
JL
165402012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16541
16542 [BZ #13760]
16543 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16544 in the right place. Discard and retry query if response is
16545 larger than input buffer size.
16546
41bf21a1
JM
165472012-03-28 Joseph Myers <joseph@codesourcery.com>
16548
d6270972
JM
16549 [BZ #369]
16550 [BZ #2678]
16551 [BZ #3866]
16552 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16553 x for large integer exponent.
16554 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16555 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16556 sign of result as needed afterwards.
16557 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16558 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16559 result for underflowing pow the same as for overflow.
16560 (__kernel_standard_l): Handle powl overflow and underflow here
16561 rather than calling __kernel_standard.
16562 * math/libm-test.inc (pow_test): Add more tests.
16563
414fca03 16564 [BZ #3868]
41bf21a1
JM
16565 [BZ #13879]
16566 [BZ #13910]
16567 [BZ #13911]
16568 [BZ #13912]
16569 [BZ #13913]
16570 [BZ #13915]
16571 [BZ #13916]
16572 [BZ #13917]
16573 [BZ #13918]
16574 [BZ #13919]
16575 [BZ #13920]
16576 [BZ #13921]
16577 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16578 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16579 (__kernel_standard_l): New function.
16580 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16581 __kernel_standard.
16582 * math/w_acosl.c (__acosl): Likewise.
16583 * math/w_asinl.c (__asinl): Likewise.
16584 * math/w_atan2l.c (__atan2l): Likewise.
16585 * math/w_atanhl.c (__atanhl): Likewise.
16586 * math/w_coshl.c (__coshl): Likewise.
16587 * math/w_exp10l.c (__exp10l): Likewise.
16588 * math/w_exp2l.c (__exp2l): Likewise.
16589 * math/w_fmodl.c (__fmodl): Likewise.
16590 * math/w_hypotl.c (__hypotl): Likewise.
16591 * math/w_j0l.c (__j0l, __y0l): Likewise.
16592 * math/w_j1l.c (__j1l, __y1l): Likewise.
16593 * math/w_jnl.c (__jnl, __ynl): Likewise.
16594 * math/w_lgammal.c (__lgammal): Likewise.
16595 * math/w_log10l.c (__log10l): Likewise.
16596 * math/w_log2l.c (__log2l): Likewise.
16597 * math/w_logl.c (__logl): Likewise.
16598 * math/w_powl.c (__powl): Likewise.
16599 * math/w_remainderl.c (__remainderl): Likewise.
16600 * math/w_scalbl.c (sysv_scalbl): Likewise.
16601 * math/w_sinhl.c (__sinhl): Likewise.
16602 * math/w_sqrtl.c (__sqrtl): Likewise.
16603 * math/w_tgammal.c (__tgammal): Likewise.
16604 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16605 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16606 * math/libm-test.inc (acos_test): Add more tests.
16607 (acosh_test): Likewise.
16608 (asin_test): Likewise.
16609 (atanh_test): Likewise.
16610 (exp_test): Likewise.
16611 (exp10_test): Likewise.
16612 (exp2_test): Likewise.
16613 (expm1_test): Likewise.
16614 (lgamma_test): Likewise.
16615 (log_test): Likewise.
16616 (log10_test): Likewise.
16617 (log1p_test): Likewise.
16618 (log2_test): Likewise.
16619 (pow_test): Do not allow some spurious overflow exceptions.
16620 (sqrt_test): Add more tests.
16621 (tgamma_test): Likewise.
16622 (y0_test): Likewise.
16623 (y1_test): Likewise.
16624 (yn_test): Likewise.
16625
dd62fda6
AB
166262012-03-27 Anton Blanchard <anton@samba.org>
16627
16628 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16629 MAP_HUGETLB.
16630 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16631 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16633
1e3cdfda
AJ
166342012-03-27 David S. Miller <davem@davemloft.net>
16635
b855ab85
DM
16636 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16637
1e3cdfda
AJ
16638 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16639 have-as-vis3 check.
16640
166412012-03-27 Andreas Jaeger <aj@suse.de>
16642
16643 * sysdeps/x86_64/elf/configure.in: Moved to ...
16644 * sysdeps/x86_64/configure.in: ... here.
16645 * sysdeps/x86_64/elf/start.S: Moved to ...
16646 * sysdeps/x86_64/start.S: ... here.
16647 * sysdeps/x86_64/elf/configure: Delete.
16648
16649 * sysdeps/x86_64/configure.in: Merge contents from
16650 sysdeps/i386/configure.in (without i686 check).
16651
16652 * sysdeps/i386/elf/Versions: Merge into ...
16653 * sysdeps/i386/Versions: ... this.
16654 * sysdeps/i386/elf/Versions: Delete file.
16655 * sysdeps/i386/elf/start.S: Moved to ...
16656 * sysdeps/i386/start.S: ...here.
16657 * sysdeps/i386/elf/configure.in: Merge into...
16658 * sysdeps/i386/configure.in: ...here.
16659 * sysdeps/i386/elf/configure.in: Delete file.
16660 * sysdeps/i386/elf/configure: Delete file.
16661
16662 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16663 * debug/backtracesyms.c: ... here.
16664 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16665 * debug/backtracesymsfd.c: ... here.
16666 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16667 * sysdeps/generic/ifunc-sel.h: ... here.
16668
16669 * sysdeps/unix/i386/start.c: Delete file.
16670 * sysdeps/unix/sparc/start.c: Delete file.
16671 * sysdeps/unix/start.c: Delete file.
16672
16673 * sysdeps/sh/elf/configure.in: Moved to ...
16674 * sysdeps/sh/configure.in: ... here.
16675 * sysdeps/sh/elf/start.S: Moved to ...
16676 * sysdeps/sh/start.S: ... here.
16677 * sysdeps/sh/elf/configure: Delete file.
16678
16679 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16680 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16681 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16682 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16683 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16684 * sysdeps/powerpc/powerpc64/start.S: here.
16685 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16686 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16687 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16688 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16689 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16690
16691 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16692 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16693 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16694 * sysdeps/powerpc/powerpc32/start.S: ... here.
16695 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16696 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16697 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16698
16699 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16700 * sysdeps/powerpc/ifunc-sel.h: ... here.
16701 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16702 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16703
16704 * sysdeps/sparc/elf/configure.in: Moved to ...
16705 * sysdeps/sparc/configure.in: ... here.
16706 * sysdeps/sparc/elf/configure: Delete file.
16707 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16708 * sysdeps/sparc/sparc32/start.S: ... here.
16709 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16710 * sysdeps/sparc/sparc64/start.S: ... here.
16711 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16712 * sysdeps/sparc/sparc32/Makefile: ... this.
16713 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16714 * sysdeps/sparc/sparc64/Makefile: ... this.
16715
16716 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16717 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16718 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16719 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16720 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16721 * sysdeps/s390/s390-32/setjmp.S: ... here.
16722 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16723 * sysdeps/s390/s390-32/configure.in: ... here.
16724 * sysdeps/s390/s390-32/elf/configure: Delete file.
16725 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16726 * sysdeps/s390/s390-32/start.S: ... here.
16727
16728 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16729 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16730 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16731 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16732 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16733 * sysdeps/s390/s390-64/setjmp.S: ... here.
16734 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16735 * sysdeps/s390/s390-64/configure.in: ... here
16736 * sysdeps/s390/s390-64/elf/configure: Delete file.
16737 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16738 * sysdeps/s390/s390-64/start.S: ... here.
16739 * sysdeps/s390/s390-64/elf/configure: Delete.
16740
16741 * configure.in: Remove support for elf directories in sysdeps.
16742
16743 * configure: Regenerated.
16744 * sysdeps/i386/configure: Regenerated.
16745 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16746 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16747 * sysdeps/s390/s390-32/configure: Regenerated.
16748 * sysdeps/s390/s390-64/configure: Regenerated.
16749 * sysdeps/sh/configure: Regenerated.
16750 * sysdeps/sparc/configure: Regenerated.
16751 * sysdeps/x86_64/configure: Regenerated.
16752
a3f61311
AS
167532012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16754
c876e002
AS
16755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16756
a3f61311
AS
16757 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16758 denormal result into account.
16759
ac4c54f0
RM
167602012-03-25 Roland McGrath <roland@hack.frob.com>
16761
16762 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16763 Reported by Allan McRae <allan@archlinux.org>.
16764
6a9b9c02
JL
167652012-03-23 Jeff Law <law@redhat.com>
16766
16767 * nss/getnssent.c (__nss_getent): Fix typo.
16768
4c42a0c1
DM
167692012-03-23 David S. Miller <davem@davemloft.net>
16770
16771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16772
1532c7ac
L
167732012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16774
16775 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16776 to pad to uint64_t for each field.
16777 (dl_tls_index): Replace unsigned long with uint64_t.
16778
3ff42526
PP
167792012-03-23 Daniel Jacobowitz <dmj@google.com>
16780 Paul Pluzhnikov <ppluzhnikov@google.com>
16781
16782 [BZ #6528]
16783 * grp/Makefile (otherlibs): Don't set it.
16784 * inet/Makefile (otherlibs): Likewise.
16785 * login/Makefile (otherlibs): Likewise.
16786 * nscd/Makefile (otherlibs): Likewise.
16787 * posix/Makefile (otherlibs): Likewise.
16788 * pwd/Makefile (otherlibs): Likewise.
16789 * rt/Makefile (otherlibs): Likewise.
16790 * sunrpc/Makefile (otherlibs): Likewise.
16791 * nss/Makefile (otherlibs): Likewise.
16792 Add libnss_files to routines and static-only-routines.
16793 ($(objpfx)getent): Remove rule.
16794 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16795 static-only-routines.
16796
7c69cd14
JM
167972012-03-22 Joseph Myers <joseph@codesourcery.com>
16798
16799 [BZ #13892]
16800 * math/s_cexp.c: Include <float.h>.
16801 (__cexp): Handle exp result overflowing not necessarily
16802 overflowing both real and imaginary parts of result.
16803 * math/s_cexpf.c: Likewise.
16804 * math/s_cexpl.c: Likewise.
16805 * math/libm-test.inc (cexp_test): Add more tests.
16806 * sysdeps/i386/fpu/libm-test-ulps: Update.
16807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16808
81b035fe
L
168092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16810
16811 * include/link.h (ELFW): New macro.
16812 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16813 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16814
1da7940c
L
168152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16816
16817 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16818 with uint64_t.
16819
b749dbb9
L
168202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16821
16822 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16823 declaration.
16824 (struct La_x32_retval): Likewise.
16825
2ff87f3f
L
168262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16827
16828 * sysdeps/x86_64/preconfigure.in: New file.
16829 * sysdeps/x86_64/preconfigure: New generated file.
16830
c0df8e69
JM
168312012-03-22 Joseph Myers <joseph@codesourcery.com>
16832
48e44791
JM
16833 [BZ #13824]
16834 * math/e_exp2l.c: Include <float.h>.
16835 (__ieee754_exp2l): Handle overflow and underflow cases
16836 separately. Only pass fractional part of argument to
16837 __ieee754_expl.
16838 * math/libm-test.inc (exp2_test): Add more tests.
16839
c0df8e69
JM
16840 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16841 negating x to take absolute value.
16842 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16843 Likewise.
16844 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16845 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16846 Likewise.
16847 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16848 computing low part if x was negated.
16849 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16850
c8e43ba7
L
168512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16852
16853 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16854 la_x32_gnu_pltexit.
16855 (pltexit): Cast int_retval to ptrdiff_t.
16856 * elf/tst-auditmod3b.c: Likewise.
16857 * elf/tst-auditmod4b.c: Likewise.
16858 * elf/tst-auditmod5b.c: Likewise.
16859 * elf/tst-auditmod6b.c: Likewise.
16860 * elf/tst-auditmod6c.c: Likewise.
16861 * elf/tst-auditmod7b.c: Likewise.
16862
16863 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16864 and x32_gnu_pltexit.
16865
16866 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16867 __ELF_NATIVE_CLASS.
16868 (La_x32_regs): New macro.
16869 (La_x32_retval): Likewise.
16870 (la_x32_gnu_pltenter): New function prototype.
16871 (la_x32_gnu_pltexit): Likewise.
16872
7998fa78
AS
168732012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16874
dcb33988
AS
16875 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16876 exponent.
16877
233fc563
AS
16878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16879
7998fa78
AS
16880 * configure.in (libc_cv_cc_nofma): Check for option to disable
16881 generation of FMA instructions.
16882 * configure: Regenerate.
16883 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16884 * sysdeps/ieee754/dbl-64/Makefile: New file.
16885 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16886 Remove brandred-fma4.
16887 (CFLAGS-brandred-fma4.c): Remove.
16888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16890 define.
16891 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16892 define.
16893
8e95c99a
L
168942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16895
16896 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16897 LLONG_MAX != LONG_MAX.
16898 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16899 (_fitoa_word): Likewise.
16900 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16901 LLONG_MAX != LONG_MAX.
16902 * stdio-common/_itowa.h: Include <_itoa.h>.
16903 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16904 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16905 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16906 only if not defined.
16907 (_ITOA_WORD_TYPE): Likewise.
16908 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16909 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16910
6f4db457
DM
169112012-03-21 David S. Miller <davem@davemloft.net>
16912
16913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16914
7785fe5a
L
169152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16916
16917 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16918 of x86_64 when setting libc_cv_slibdir, libdir and
16919 libc_cv_localedir.
16920 * sysdeps/unix/sysv/linux/configure: Regenerated.
16921
4535cd55
JM
169222012-03-21 Joseph Myers <joseph@codesourcery.com>
16923
16924 * manual/lang.texi (Old Varargs): Remove section.
16925 (How Variadic): Update menu.
16926 (va_start): Do not mention varargs.h.
16927
17228132
TS
169282012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16929 Joseph Myers <joseph@codesourcery.com>
16930
16931 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16932 link test.
16933 * configure: Regenerated.
16934
8149f976
TS
169352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16936
05f3d1f6
UD
16937 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16938 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16939 conformtest.pl
8149f976 16940
1a4ac776
JM
169412012-03-21 Joseph Myers <joseph@codesourcery.com>
16942
be22ce65
JM
16943 * NOTES: Remove.
16944 * Makefile (files-for-dist): Remove NOTES.
16945 (NOTES): Remove rule.
16946 * README: Don't refer to NOTES.
16947 * manual/creature.texi: Don't include macros.texi.
16948 * manual/intro.texi (creature.texi): Remove comment referring to
16949 NOTES.
16950
40b601fb
JM
16951 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16952 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16953 * configure: Regenerated.
16954 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16955 LIBC_TRY_CC_OPTION.
16956 (libc_cv_as_i686): Likewise.
16957 (libc_cv_cc_avx): Likewise.
16958 (libc_cv_cc_sse2avx): Likewise.
16959 (libc_cv_cc_fma4): Likewise.
16960 (libc_cv_cc_novzeroupper): Likewise.
16961 * sysdeps/i386/configure: Regenerated.
16962
1a4ac776
JM
16963 [BZ #13883]
16964 * sysdeps/i386/fpu/s_cexp.S: Remove.
16965 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16966 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16967 * math/libm-test.inc (cexp_test): Add more tests.
16968 * sysdeps/i386/fpu/libm-test-ulps: Update.
16969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16970
a458e7fe
AM
169712012-03-21 Allan McRae <allan@archlinux.org>
16972
16973 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16974
0cb7efc5
JM
169752012-03-21 Joseph Myers <joseph@codesourcery.com>
16976
16977 [BZ #13871]
16978 * math/w_exp2.c: Do not include <float.h>.
16979 (o_threshold, u_threshold): Remove.
16980 (__exp2): Calculate result before checking finiteness and calling
16981 __kernel_standard.
16982 * math/w_exp2f.c: Likewise.
16983 * math/w_exp2l.c: Likewise.
16984 * math/libm-test.inc (exp2_test): Require overflow exception for
16985 1e6 input.
2460d3aa
JM
16986
16987 [BZ #3866]
16988 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16989 range of signed 64-bit integers before using fistpll. Remove
16990 checks for whether integers fit in mantissa bits.
16991 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16992 the range of signed 32-bit integers before using fistpl. Remove
16993 checks for whether integers fit in mantissa bits.
16994 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16995 (__ieee754_powl): Test for y outside the range of signed 64-bit
16996 integers before using fistpll. Reduce 64-bit values to 63-bit
16997 ones as needed.
16998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16999 divide-by-zero is raised for zero to large negative powers.
17000 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17001 (__ieee754_powl): Test for y outside the range of signed 64-bit
17002 integers before using fistpll. Reduce 64-bit values to 63-bit
17003 ones as needed.
17004 * math/libm-test.inc (pow_test): Add more tests.
17005
eb96ffb0
L
170062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17007
17008 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17009 <stdio-common/_itoa.h>.
17010 * debug/segfault.c: Likewise.
17011 * elf/dl-cache.c: Likewise.
17012 * elf/dl-minimal.c: Likewise.
17013 * elf/dl-misc.c: Likewise.
17014 * elf/dl-sysdep.c: Likewise.
17015 * elf/dl-version.c: Likewise.
17016 * elf/rtld.c: Likewise.
17017 * hurd/hurdsock.c: Likewise.
17018 * hurd/lookup-retry.c: Likewise.
17019 * malloc/malloc.c: Likewise.
17020 * malloc/mtrace.c: Likewise.
17021 * nscd/nscd_getgr_r.c: Likewise.
17022 * nscd/nscd_getpw_r.c: Likewise.
17023 * nscd/nscd_getserv_r.c: Likewise.
17024 * posix/getopt_init.c: Likewise.
17025 * posix/wordexp.c: Likewise.
17026 * stdio-common/_itoa.c: Likewise.
17027 * stdio-common/printf_fphex.c: Likewise.
17028 * stdio-common/vfprintf.c: Likewise.
17029 * string/_strerror.c: Likewise.
17030 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17031 * sysdeps/i386/i686/hp-timing.h: Likewise.
17032 * sysdeps/mach/_strerror.c: Likewise.
17033 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17034 * sysdeps/mach/hurd/sethostid.c: Likewise.
17035 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17036 * sysdeps/mach/xpg-strerror.c: Likewise.
17037 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17038 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17039 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17040 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17041 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17042 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17043 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17044 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17045 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17046 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17047 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17048 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17049 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17050 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17051 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17052 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17053 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17054 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17055 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17056 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17057 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17058
17059 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17060
17061 * stdio-common/_itoa.h: Moved to ...
17062 * sysdeps/generic/_itoa.h: Here.
17063
17064 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17065
17066 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17067 instead of "_itoa.h" and "_itowa.h".
17068 * stdio-common/vfprintf.: Likewise.
17069
d1af992d
L
170702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17071
17072 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17073 <bits/wordsize.h>.
17074 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17075 (__signbit): Likwise.
17076 (llrintf): Likwise.
17077 (llrint): Likwise.
17078
114883e0
L
170792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17080
17081 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17082 __WORDSIZE != 64.
17083
c135cc1b
JM
170842012-03-20 Joseph Myers <joseph@codesourcery.com>
17085
17086 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17087 OVERFLOW_EXCEPTION_OK.
17088 * math/libm-test.inc ("Philosophy"): Update comment about
17089 exception testing.
17090 (OVERFLOW_EXCEPTION): Define.
17091 (OVERFLOW_EXCEPTION_OK): Likewise.
17092 (INVALID_EXCEPTION_OK): Renumber.
17093 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17094 (IGNORE_ZERO_INF_SIGN): Likewise.
17095 (test_exceptions): Handle FE_OVERFLOW.
17096 (exp10_test): Expect overflow exceptions.
17097 (exp2_test): Likewise.
17098 (expm1_test): Likewise.
17099 (nextafter_test): Likewise.
17100 (pow_test): Likewise.
17101 (scalbn_test): Likewise.
17102 (scalbln_test): Likewise.
17103
95443d88
L
171042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17105
17106 * sysdeps/x86_64/bits/atomic.h
17107 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17108 64bit integer.
17109 (atomic_exchange_acq): Likewise.
17110 (__arch_exchange_and_add_body): Likewise.
17111 (__arch_add_body): Likewise.
17112 (atomic_add_negative): Likewise.
17113 (atomic_add_zero): Likewise.
17114
490df6c4
L
171152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17116
c2722551 17117 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17118 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17119
5e52b189
L
171202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17121
17122 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17123 Check __x86_64__ instead of __WORDSIZE.
17124
a9879d4c
L
171252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17126
17127 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17128
5df98260
DM
171292012-03-19 David S. Miller <davem@davemloft.net>
17130
e1497744
DM
17131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17132
5df98260
DM
17133 * sysdeps/sparc/fpu/fenv_private.h: New file.
17134 * sysdeps/sparc/fpu/math_private.h: Use it.
17135 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17136 Remove.
17137 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17138 (libc_feholdexcept_setroundl): Remove.
17139 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17140 Remove.
17141 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17142 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17143
b4c35121
L
171442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17145
17146 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17147 int64_t instead of long int.
17148 (INSERT_WORDS64): Likwise.
17149
56965fd7
L
171502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17151
17152 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17153 _Unwind_GetCFA return to _Unwind_Ptr first.
17154
83d1aec8
JM
171552012-03-19 Joseph Myers <joseph@codesourcery.com>
17156
1897ad44
JM
17157 [BZ #13629]
17158 * math/s_clog.c: Include <float.h>.
17159 (__clog): Scale large or subnormal inputs.
17160 * math/s_clogf.c: Likewise.
17161 * math/s_clogl.c: Likewise.
17162 * math/s_clog10.c: Include <float.h>.
17163 (M_LOG10_2): Define.
17164 (__clog10): Scale large or subnormal inputs.
17165 * math/s_clog10f.c: Likewise.
17166 * math/s_clog10l.c: Likewise.
17167 * math/libm-test.inc (clog_test): Add more tests.
17168 (clog10_test): Likewise.
17169 * sysdeps/i386/fpu/libm-test-ulps: Update.
17170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17171
7726d6a9
JM
17172 [BZ #11451]
17173 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17174 x and y.
17175 * math/libm-test.inc (atan2_test): Add another test.
17176
83d1aec8
JM
17177 * Makerules (common-objdir-compile): Remove.
17178 * sysdeps/unix/Makefile (config-generated): Do not add
17179 $(unix-generated) to variable.
17180 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17181 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17182 Remove rule.
17183 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17184 Likewise.
17185 [generic bits/local_lim.h] (before-compile): Do not append to
17186 variable.
17187 [generic bits/local_lim.h] (common-generated): Likewise.
17188 [generic sys/param.h] (before-compile): Do not append to variable.
17189 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17190 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17191 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17192 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17193 include.
17194 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17195 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17196 [generic sys/param.h] ($(addprefix
17197 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17198 [generic sys/param.h] (common-generated): Do not append to
17199 variable.
17200 [generic sys/param.h] (sysdep_headers): Likewise.
17201 [generic bits/errno.h] (before-compile): Do not append to
17202 variable.
17203 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17204 rule.
17205 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17206 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17207 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17208 [generic bits/errno.h] (common-generated): Do not append to
17209 variable.
17210 [generic bits/ioctls.h] (before-compile): Do not append to
17211 variable.
17212 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17213 rule.
17214 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17215 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17216 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17217 rule.
17218 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17219 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17220 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17221 [generic bits/ioctls.h] (common-generated): Do not append to
17222 variable.
17223 [generic sys/syscall.h] (syscall.h): Remove variable.
17224 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17225 rule.
17226 [generic sys/syscall.h] (before-compile): Do not append to
17227 variable.
17228 [generic sys/syscall.h] (common-generated): Likewise.
17229 * sysdeps/unix/errnos-tmpl.c: Remove file.
17230 * sysdeps/unix/errnos.awk: Likewise.
17231 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17232 * sysdeps/unix/ioctls.awk: Likewise.
17233 * sysdeps/unix/mk-local_lim.c: Likewise.
17234 * sysdeps/unix/snarf-ioctls: Likewise.
17235
4851a949
RH
172362012-03-19 Richard Henderson <rth@twiddle.net>
17237
bd37f2ee
RH
17238 * sysdeps/i386/fpu/fenv_private.h: New file.
17239 * sysdeps/i386/fpu/math_private.h: Use it.
17240 (math_opt_barrier, math_force_eval): Remove.
17241 (libc_feholdexcept_setround_53bit): Remove.
17242 (libc_feupdateenv_53bit): Remove.
17243 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17244 (math_opt_barrier, math_force_eval): Remove.
17245 (libc_feholdexcept): Remove.
17246 (libc_feholdexcept_setround): Remove.
17247 (libc_fetestexcept, libc_fesetenv): Remove.
17248 (libc_feupdateenv_test): Remove.
17249 (libc_feupdateenv, libc_feholdsetround): Remove.
17250 (libc_feresetround): Remove.
17251
d0adc922
RH
17252 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17253 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17254
0fe0f1f8
RH
17255 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17256 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17257 (libc_feupdateenv_testl): New.
17258 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17259 (libc_feupdateenv_testf): New.
17260 (libc_feupdateenv): Use libc_feupdateenv_test.
17261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17262 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17263
eb92c487
RH
17264 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17265 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17266 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17267 (libc_feresetround_noex): New.
17268 (libc_feresetround_noexf): New.
17269 (libc_feresetround_noexl): New.
17270 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17271 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17272 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17273 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17274 SET_RESTORE_ROUND.
17275 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17277 (__cos): Likewise.
17278 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17279 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17280 SET_RESTORE_ROUND_NOEX.
17281 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17282 SET_RESTORE_ROUND_NOEXF.
17283 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17284 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17285 (libc_feholdsetroundf): New.
17286 (libc_feresetround, libc_feresetroundf): New.
17287
7d2e8012
RH
17288 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17289 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17290 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17291
b4dabbb4
RH
17292 * sysdeps/generic/math_private.h: Include <fenv.h>.
17293 (default_libc_feholdexcept): New.
17294 (default_libc_feholdexcept_setround): New.
17295 (default_libc_fesetenv, default_libc_feupdateenv): New.
17296 (libc_feholdexcept): Only define if undefined.
17297 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17298 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17299 (libc_feholdexcept_setroundl): Likewise.
17300 (libc_feholdexcept_setround_53bit): Likewise.
17301 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17302 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17303 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17304 (libc_feupdateenv_53bit): Likewise.
17305 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17306 (libc_feholdexcept): Convert from macro to inline function.
17307 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17308 (libc_fesetenv, libc_feupdateenv): Likewise.
17309
4851a949
RH
17310 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17311 not previously defined.
17312 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17313 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17314 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17315 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17316 * sysdeps/ieee754/flt-32/math_private.h: New file.
17317 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17318 math_private.h below SET_FLOAT_WORD.
17319 (__isnan, __isinf_ns, __finite): Remove.
17320 (__isnanf, __isinf_nsf, __finitef): Remove.
17321
e79d442e
AS
173222012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17323
17324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17325
90b80344
DM
173262012-03-17 David S. Miller <davem@davemloft.net>
17327
17328 [BZ #6471]
17329 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17330 for 2.16.
17331
edc21804
DM
173322012-03-16 David S. Miller <davem@davemloft.net>
17333
77e927af
DM
17334 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17335 warnings.
17336
374976dd
DM
17337 [BZ #6471]
17338 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17339 properly.
17340 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17341 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17342 sysdep_routines when subdir is sysvipc.
17343 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17344 __getshmlba helper.
17345
edc21804
DM
17346 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17347
473c3ef3
L
173482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17349
17350 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17351 [__LP64__].
17352
eb0f39b6
L
173532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17354
17355 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17356 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17357 (__lround): Renamed to ...
17358 (__llround): This. Replace long int with long long int.
17359 Define lround functions as aliases of llround functions.
17360 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17361
6b6cd74b
L
173622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17363
17364 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17365 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17366 adresses to uintptr_t. Replace "long int" and "unsigned long
17367 int" with "greg_t" on va_arg.
17368
f1a77b01
L
173692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17370
17371 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17372 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17373
17374 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17375 Move e_machine check before EI_CLASS check. Handle x32
17376 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17377 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17378 SKIP_EM_IA_64 and include
17379 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17380
17381 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17382 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17383 (add_system_dir): New macro.
17384
17385 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17386 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17387
11b90b9f
JM
173882012-03-16 Joseph Myers <joseph@codesourcery.com>
17389
c36e1d23
JM
17390 [BZ #2551]
17391 [BZ #2552]
17392 [BZ #2553]
17393 [BZ #2554]
17394 [BZ #2562]
17395 [BZ #2563]
17396 [BZ #2565]
17397 [BZ #2566]
17398 [BZ #2576]
17399 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17400 (y0): Likewise.
17401 * math/w_j0f.c (j0f): Likewise.
17402 (y0f): Likewise.
17403 * math/w_j0l.c (__j0l): Likewise.
17404 (__y0l): Likewise.
17405 * math/w_j1.c (j1): Likewise.
17406 (y1): Likewise.
17407 * math/w_j1f.c (j1f): Likewise.
17408 (y1f): Likewise.
17409 * math/w_j1l.c (__j1l): Likewise.
17410 (__y1l): Likewise.
17411 * math/w_jn.c (jn): Likewise.
17412 (yn): Likewise.
17413 * math/w_jnf.c (jnf): Likewise.
17414 (ynf): Likewise.
17415 * math/w_jnl.c (__jnl): Likewise.
17416 (__ynl): Likewise.
17417 * math/libm-test.inc (j0_test): Add more tests.
17418 (j1_test): Likewise.
17419 (jn_test): Likewise. Add trailing semicolon to existing test.
17420 (y0_test): Likewise.
17421 (y1_test): Likewise.
17422 * sysdeps/i386/fpu/libm-test-ulps: Update.
17423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17424
11b90b9f
JM
17425 [BZ #13851]
17426 [BZ #13854]
17427 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17428 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17429 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17430 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17431 (__tanl): Set errno for infinite argument.
17432 * sysdeps/i386/fpu/mptan.c: Remove.
17433 * sysdeps/i386/fpu/s_tan.S: Likewise.
17434 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17435 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17436 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17437 * math/libm-test.inc (tan_test): Add more tests and enable more
17438 tests for double and long double.
17439 * sysdeps/i386/fpu/libm-test-ulps: Update.
17440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17441
6a1bd2a1
JK
174422012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17443
17444 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17445 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17446
10a803e0
RM
174472012-03-16 Roland McGrath <roland@hack.frob.com>
17448
17449 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17450 * configure.in: Use it for both main tree and add-ons.
17451 * configure: Regenerated.
17452
f196c7f7
L
174532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17454
17455 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17456
8848d99d
JM
174572012-03-16 Joseph Myers <joseph@codesourcery.com>
17458
96cbe7f4
JM
17459 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17460 in comment.
17461
8848d99d
JM
17462 [BZ #13851]
17463 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17464 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17466 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17467 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17468 infinite argument.
17469 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17471 != 0 for prec == 2.
17472 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17473 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17474 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17475 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17476 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17477 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17478 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17479 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17480 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17481 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17482 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17483 * math/libm-test.inc (cos_test): Add more tests and enable more
17484 tests for long double.
17485 (sin_test): Likewise.
17486 (sincos_test): Likewise.
17487 * sysdeps/i386/fpu/libm-test-ulps: Update.
17488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17489
dd7f4703
DM
174902012-03-16 David S. Miller <davem@davemloft.net>
17491
17492 * sysdeps/sparc/fpu/math_private.h: New file.
17493
006f1daa
DM
174942012-03-15 David S. Miller <davem@davemloft.net>
17495
c0c83bc8
DM
17496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17497 file.
e6a62e18 17498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17500 file.
e6a62e18
DM
17501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17506 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17507 sysdep routines.
17508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17509
88cb87d9
DM
17510 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17511 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17512
006f1daa 17513 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17515 sparc-ifunc.h
006f1daa 17516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17518 Likewise.
17519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17520 Likewise.
006f1daa
DM
17521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17525 Likewise.
006f1daa
DM
17526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17531 Likewise.
17532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17533 Likewise.
006f1daa
DM
17534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17541 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17552 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17555 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17556 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17557 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17558
11e0098e
AS
175592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17560
17561 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17562 scaling.
17563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17564
e85b09d0
AJ
175652012-03-15 Andreas Jaeger <aj@suse.de>
17566
17567 [BZ #13852]
17568 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17569 ieee754/flt-32 implementation for sin, cos and sincos.
17570 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17571 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17572 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17573 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17574 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17575 ieee754/flt-32 implementation for tan.
17576
17577 * math/libm-test.inc (cos_test): Enable some large input tests for
17578 float as well
17579 (sin_test): Likewise.
17580 (sincos_test): Likewise.
17581 (tan_test): Add tests for large input.
17582
17583 * sysdeps/i386/fpu/libm-test-ulps: Update.
17584
81c64153
AJ
175852012-03-15 Andreas Jaeger <aj@suse.de>
17586
17587 [BZ #13658]
17588 * math/libm-test.inc (cos_test): Add more test cases.
17589 (sin_test): Likewise.
17590 (sincos_test): Likewise.
17591
7bbfa5c6
AJ
175922012-03-15 Andreas Jaeger <aj@suse.de>
17593
17594 [BZ #13837]
17595 * math/libm-test.inc (cos_test): Add a test case for large input
17596 value.
17597 (sin_test): Likewise.
17598 (sincos_test): Likewise.
17599
176002012-03-15 Andreas Jaeger <aj@suse.de>,
17601 Joseph Myers <joseph@codesourcery.com>
17602
17603 [BZ #13658]
0671f479 17604 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17605 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17606 * sysdeps/i386/fpu/branred.c: Likewise.
17607 * sysdeps/i386/fpu/dosincos.c: Likewise.
17608 * sysdeps/i386/fpu/mpa.c: Likewise.
17609 * sysdeps/i386/fpu/s_cos.S: Likewise.
17610 * sysdeps/i386/fpu/s_sin.S: Likewise.
17611 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17612 * sysdeps/i386/fpu/sincos32.c: Likewise.
17613
17614 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17615 Define.
17616 (libc_feupdateenv_53bit): Define.
17617 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17618 Define.
17619 (libc_feupdateenv_53bit): Define.
17620
17621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17622 53 bit (without extend i386 double precision).
17623
17624 * math/libm-test.inc (sincos_test): Add tests for large input.
17625 (sin): Likewise.
17626 (cos): Likewise.
17627
17628 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17629
9cad04ea
AS
176302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17631
17632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17633
f7062b9a
DM
176342012-03-15 David S. Miller <davem@davemloft.net>
17635
17636 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17637 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17638 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17639 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17652 file.
f7062b9a 17653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17655 file.
f7062b9a 17656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17658 file.
f7062b9a 17659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17661 file.
f7062b9a
DM
17662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17664 fmin/fmax sysdep routines.
17665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17666
7bd951ff
DM
176672012-03-14 David S. Miller <davem@davemloft.net>
17668
559398ab
DM
17669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17673 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17674 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17675 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17676 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17696 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17698 routines.
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17700 file.
559398ab 17701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17703 file.
559398ab 17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17706 file.
559398ab 17707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17709 file.
559398ab 17710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17712 file.
559398ab 17713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17715 file.
17716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17717 file.
17718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17719 file.
17720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17721 file.
17722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17723 New file.
17724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17725 file.
17726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17727 file.
559398ab 17728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17730 file.
559398ab 17731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17733 file.
559398ab 17734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17736 file.
559398ab 17737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17739 VIS3 routines.
559398ab
DM
17740
17741 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17742 New file.
17743
5a1c1e32
DM
17744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17745
eae47a36
DM
17746 * sysdeps/sparc/configure.in: New file.
17747 * sysdeps/sparc/configure: Generate.
17748 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17749 * configure: Regenerate.
17750 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17751 * config.make.in (have-as-vis3): New.
17752 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17753 available use -Av9d instead of -Av9a.
17754 * sysdeps/sparc/sparc64/Makefile: Likewise.
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17757 New file.
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17759 file.
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17761 New file.
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17763 file.
eae47a36
DM
17764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17765 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17766 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17767 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17769
c0c83bc8
DM
17770 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17771 fzeros/fnegs to load 0x80000000 into a float register instead of
17772 using the stack.
7bd951ff
DM
17773 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17774
bd951ccb
JM
177752012-03-14 Joseph Myers <joseph@codesourcery.com>
17776
17777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17778 bits/syscall.h.
17779 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17780 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17781 ($(inst_includedir)/bits/syscall.h): Remove rule.
17782 ($(objpfx)bits/syscall.d): Include instead of
17783 $(objpfx)syscall-list.d.
17784 (generated): Change syscall-list.h and syscall-list.d to
17785 bits/syscall.h and bits/syscall.d.
17786
bb4e6db2
RM
177872012-03-14 Roland McGrath <roland@hack.frob.com>
17788
17789 [BZ #13846]
17790 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17791
aa4a2ae1
JM
177922012-03-14 Joseph Myers <joseph@codesourcery.com>
17793
e456826d
JM
17794 [BZ #13841]
17795 * math/s_csqrt.c: Include <float.h>.
17796 (__csqrt): Scale large or subnormal inputs.
17797 * math/s_csqrtf.c: Likewise.
17798 * math/s_csqrtl.c: Likewise.
17799 * math/libm-test.inc (csqrt_test): Add more tests.
17800 * sysdeps/i386/fpu/libm-test-ulps: Update.
17801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17802
aa4a2ae1
JM
17803 [BZ #13840]
17804 * math/libm-test.inc (hypot_test): Add more tests.
17805
7c10fd35
DM
178062012-03-13 David S. Miller <davem@davemloft.net>
17807
17808 [BZ #13840]
17809 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17810 double-precision for the calculation instead of scaling.
17811
f453b98b
JM
178122012-03-13 Joseph Myers <joseph@codesourcery.com>
17813
17814 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17815 manipulate bits before adding and subtracting TWO52[sx].
17816 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17817 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17818 Likewise.
17819 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17820
09a3453f
DM
178212012-03-13 David S. Miller <davem@davemloft.net>
17822
8e59da90
DM
17823 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17824 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17826 rtld-global-offsets.h
17827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17828
2a8ab7f2
DM
17829 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17830 large parameters.
17831
10f62770
DM
17832 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17833
5f0bdb18
DM
17834 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17835 'err' in the ifdef scope in which it is actually used.
17836
09a3453f
DM
17837 * nss/nss_db/db-init.c: Include string.h
17838
b4b2eb5e
DM
178392012-03-12 David S. Miller <davem@davemloft.net>
17840
98bb2f1c
DM
17841 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17842 masking out of the most significant byte of random value used.
17843 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17844 Fix coding style in previous change.
17845
b4b2eb5e
DM
17846 * sysdeps/unix/sysv/linux/kernel-features.h
17847 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17848 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17849 expression.
17850 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17851 later.
17852
6e226b09
DM
178532012-03-11 David S. Miller <davem@davemloft.net>
17854
a1bcbd40
DM
17855 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17856 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17857 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17858 for 'resultvar' otherwise things get truncated on 64-bit.
17859
cb9d6174
DM
17860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17861 Fix masking out of the most significant byte of random value used.
17862
6e226b09
DM
17863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17864
058c132d
AS
178652012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17866
17867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17868
2d2cd515
DM
178692012-03-09 David S. Miller <davem@davemloft.net>
17870
17871 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17872 variables with appropriate CPP guards.
17873 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17874 frame pointer, not the stack pointer. Correct layout comments. Fix test
17875 on resulting framesize and the management of the outregs buffer for pltexit.
17876 Preserve floating point return values across _dl_call_pltexit call.
17877 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17878 framesize and the management of the outregs buffer for pltexit.
17879 Preserve floating point return values across _dl_call_pltexit
17880 call.
17881 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17882 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17883 (print_exit): Fix format string for return register value.
17884
9a07f9d0
JM
178852012-03-10 Joseph Myers <joseph@codesourcery.com>
17886
17887 * sunrpc/Makefile (others): Add rpcgen.
17888 ($(objpfx)rpcgen): Remove special build rule and dependency on
17889 libc.
17890 * sunrpc/rpcgen.c: New file.
17891
547b5e30
PE
178922012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17893
c524201a
PE
17894 [BZ #13673]
17895 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17896 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17897 * sysdeps/i386/crti.S: Likewise.
17898 * sysdeps/i386/crtn.S: Likewise.
17899 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17900 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17901 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17902 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17903 * sysdeps/sh/crti.S: Likewise.
17904 * sysdeps/sh/crtn.S: Likewise.
17905 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17906
7b6235f2
PE
17907 [BZ #13673]
17908 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17909 with URL.
17910 * locale/programs/locfile-kw.gperf: Likewise.
17911 * locale/programs/charmap-kw.h: Regenerated.
17912 * locale/programs/locfile-kw.h: Likewise.
17913
547b5e30
PE
17914 [BZ #13673]
17915 * intl/plural.y: Replace FSF snail mail address with URL.
17916 * intl/plural.c: Regenerated.
17917
5f0a5dae
RH
179182012-03-09 Richard Henderson <rth@twiddle.net>
17919
17920 * include/math_private.h: Remove file.
17921 * math/math_private.h: Move file ...
17922 * sysdeps/generic/math_private.h: ... here.
17923
b8c03620
RH
17924 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17925 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17926 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17927
4e234f5d 17928 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17929 and <math_private.h>.
17930 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17931 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17932 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17933 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17934 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17936 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17941 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17944 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17945 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17946 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17948 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17951 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17952 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17954 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17955 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17956 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18018 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18019 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18020 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18021 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18023 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18024 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18025 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18026 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18027 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18028 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18029 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18030 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18031 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18032 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18033 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18034 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18035 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18036 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18037 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18038 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18039 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18040 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18041 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18042 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18043 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18044 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18045 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18046 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18047 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18048 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18049 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18050 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18051 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18052 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18053 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18054 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18055 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18056 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18057 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18058 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18059 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18060 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18061 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18062 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18063 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18064 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18065 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18066 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18067 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18068 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18069 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18070 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18071 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18072 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18073 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18074 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18075 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18076 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18077 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18078 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18079 * sysdeps/ieee754/k_standard.c: Likewise.
18080 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18081 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18082 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18083 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18084 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18085 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18086 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18087 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18088 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18089 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18090 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18091 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18092 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18093 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18094 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18097 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18098 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18102 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18103 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18195 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18199 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18200 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18202 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18207 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18212 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18228 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18229 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18230 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18240 * sysdeps/ieee754/s_lib_version.c: Likewise.
18241 * sysdeps/ieee754/s_matherr.c: Likewise.
18242 * sysdeps/ieee754/s_signgam.c: Likewise.
18243 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18244 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18245 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18246 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18247 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18248 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18249 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18250 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18251 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18252 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18253 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18254 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18255 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18256 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18257 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18258 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18259 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18260 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18261 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18262 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18263 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18264
1991fa03
JM
182652012-03-09 Joseph Myers <joseph@codesourcery.com>
18266
18267 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18268 * sunrpc/rpc_main.c: Likewise.
18269 * sunrpc/rpc_svcout.c: Likewise.
18270
60d6f5a6
DM
182712012-03-09 David S. Miller <davem@davemloft.net>
18272
18273 * include/math_private.h: New file.
18274
4962050e
JM
182752012-03-09 Joseph Myers <joseph@codesourcery.com>
18276
02a6f887
JM
18277 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18278 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18279 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18280 from <bits/socket_type.h>.
18281 (enum __socket_type): Don't define here.
18282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18284 bits/socket_type.h.
18285
c6e013c1
JM
18286 [BZ #13566]
18287 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18288 checking __USE_GNU.
18289
4962050e
JM
18290 * Makerules ($(inst_includedir)/%.h): New rule.
18291 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18292 (install-others): Remove variable setting.
18293 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18294
38842f45
RH
182952012-03-08 Richard Henderson <rth@twiddle.net>
18296
67bb6da6
RH
18297 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18298 from macro to inline function; merge with the
18299 !__LIBC_INTERNAL_MATH_INLINES version.
18300 (__ieee754_sqrtf): Likewise.
18301
15194b4b
RH
18302 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18303 to inline function.
18304 (__rintf, __floor, __floorf): Likewise.
18305
64e21ede
RH
18306 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18307 macro to inline function.
18308 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18309
38842f45
RH
18310 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18311 not <math/math_private.h>.
18312
c64bf5fe
DM
183132012-03-08 David S. Miller <davem@davemloft.net>
18314
18315 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18316 copyright year.
18317 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18318
82d86f28
TS
183192012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18320
18321 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18322 normalization.
18323 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18324 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18325
aea5d727
UD
183262012-03-08 Ulrich Drepper <drepper@gmail.com>
18327
18328 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18329 be defined individually, they must be defined as a block. Define
18330 S for printing a string instead of hidint the different by using a
18331 macro for adding the 'l'.
18332 * stdio-common/tst-fphex-wide.c: Adjust.
18333
70bca0a3
MP
183342012-03-07 Marek Polacek <polacek@redhat.com>
18335
18336 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18337
65b81130
MP
183382012-03-08 Marek Polacek <polacek@redhat.com>
18339
18340 [BZ #13806]
18341 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18342 * stdio-common/tst-fphex.c: Define a few macros to make the
18343 test reusable. Use them.
18344 * stdio-common/tst-fphex-wide.c: New file.
18345
07037eeb
JM
183462012-03-08 Joseph Myers <joseph@codesourcery.com>
18347
a7a93d50
JM
18348 [BZ #6911]
18349 * manual/macros.texi (gnusystems): New macro.
18350 (nongnusystems): Likewise.
18351 (gnulinuxhurdsystems): Likewise.
18352 (gnuhurdsystems): Likewise..
18353 (gnulinuxsystems): Likewise.
18354 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18355 variants of the GNU system, not "GNU system".
18356 * manual/conf.texi: Likewise.
18357 * manual/errno.texi: Likewise. Update example of errno macro
18358 expansion.
18359 * manual/filesys.texi: Likewise.
18360 (getumask): Document as specific to GNU/Hurd.
18361 * manual/install.texi: Likewise. Reword some references to
18362 GNU/Linux.
18363 * manual/intro.texi: Likewise.
18364 * manual/io.texi: Likewise.
18365 (File Name Portability): Detail which constraints are inapplicable
18366 to all GNU systems and which are only inapplicable to GNU/Hurd.
18367 * manual/job.texi: Likewise.
18368 * manual/llio.texi: Likewise.
18369 (O_NOCTTY): Document as present on GNU/Linux.
18370 * manual/maint.texi: Likewise.
18371 * manual/memory.texi: Likewise.
18372 * manual/pattern.texi: Likewise.
18373 * manual/pipe.texi: Likewise.
18374 * manual/process.texi: Likewise.
18375 * manual/resource.texi: Likewise.
18376 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18377 child on GNU/Hurd.
18378 * manual/setjmp.texi: Likewise.
18379 * manual/signal.texi: Likewise.
18380 * manual/startup.texi: Likewise.
18381 * manual/stdio.texi: Likewise.
18382 * manual/terminal.texi: Likewise.
18383 (ONLCR): Document as POSIX.
18384 (OXTABS): Document availability on GNU/Linux as XTABS.
18385 (ONOEOT): Document availability separately from other bits.
18386 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18387 * manual/time.texi: Likewise.
18388 * manual/users.texi: Likewise.
18389 * INSTALL: Regenerated.
18390 * sysdeps/gnu/errlist.c: Regenerated.
18391
07037eeb
JM
18392 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18393 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18394 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18395 puts.
18396 * configure: Regenerated.
18397
d1d3431a
JM
183982012-03-07 Joseph Myers <joseph@codesourcery.com>
18399
af6a1e37
JM
18400 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18401 default includes instead of AC_HEADER_CHECK.
18402 * sysdeps/i386/configure: Regenerated.
18403
d1d3431a
JM
18404 [BZ #10716]
18405 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18406 * math/s_cacoshf.c (__cacoshf): Likewise.
18407 * math/s_cacoshl.c (__cacoshl): Likewise.
18408 * math/s_casinh.c (__casinh): Set signs of result from argument.
18409 * math/s_casinhf.c (__casinhf): Likewise.
18410 * math/s_casinhl.c (__casinhl): Likewise.
18411 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18412 (casinh_test): Add more tests.
18413 * sysdeps/i386/fpu/libm-test-ulps: Update.
18414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18415
482ff4da
UD
184162012-03-07 Ulrich Drepper <drepper@gmail.com>
18417
872fda05
UD
18418 * po/zh_TW.po: Update from translation team.
18419
a4300c7a
UD
18420 * login/Makefile (distribute): Remove variable.
18421 * catgets/Makefile: Likewise.
18422 * mach/Makefile: Likewise.
18423 * malloc/Makefile: Likewise.
18424 * misc/Makefile: Likewise.
18425 * iconv/Makefile: Likewise.
18426 * nscd/Makefile: Likewise.
18427 * hurd/Makefile: Likewise.
18428 * manual/Makefile: Likewise.
18429 * locale/Makefile: Likewise.
18430 * intl/Makefile: Likewise.
18431 * conform/Makefile: Likewise.
18432 * nss/Makefile: Likewise.
18433 * time/Makefile: Likewise.
18434 * soft-fp/Makefile: Likewise.
18435 * dirent/Makefile: Likewise.
18436 * gmon/Makefile: Likewise.
18437 * po/Makefile: Likewise.
18438 * rt/Makefile: Likewise.
18439 * socket/Makefile: Likewise.
18440 * math/Makefile: Likewise.
18441 * signal/Makefile: Likewise.
18442 * debug/Makefile: Likewise.
18443 * elf/Makefile: Likewise.
18444 * timezone/Makefile: Likewise.
18445 * stdlib/Makefile: Likewise.
18446 * iconvdata/Makefile: Likewise.
18447 * sunrpc/Makefile: Likewise.
18448 * io/Makefile: Likewise.
18449 * argp/Makefile: Likewise.
18450 * inet/Makefile: Likewise.
18451 * hesiod/Makefile: Likewise.
18452 * grp/Makefile: Likewise.
18453 * csu/Makefile: Likewise.
18454 * wctype/Makefile: Likewise.
18455 * crypt/Makefile: Likewise.
18456 * libio/Makefile: Likewise.
18457 * string/Makefile: Likewise.
18458 * nis/Makefile: Likewise.
18459 * resolv/Makefile: Likewise.
18460 * stdio-common/Makefile: Likewise.
18461 * wcsmbs/Makefile: Likewise.
18462 * dlfcn/Makefile: Likewise.
18463 * posix/Makefile: Likewise.
18464
3b7c4e74 18465 [BZ #6959]
482ff4da
UD
18466 * timezone/Makefile: Don't install timezone files, just the programs
18467 and scripts.
18468
f72ed77d
UD
184692012-03-06 Ulrich Drepper <drepper@gmail.com>
18470
a000466f
UD
18471 * nss/databases.def: Add missing gshadow entry.
18472
f72ed77d
UD
18473 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18474
a53b7a4e
MP
184752012-03-06 Marek Polacek <polacek@redhat.com>
18476
18477 [BZ #13726]
18478 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18479 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18480 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18481 * stdio-common/tst-long-dbl-fphex.c: New file.
18482
e9258400
DM
184832012-03-06 David S. Miller <davem@davemloft.net>
18484
18485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18486 (set_obp_int): New function.
18487 (get_obp_int): New function.
18488 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18489 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18490 Avoid unused variable warnings on 'val' and use builtin_expect.
18491 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18492 __builtin_expect.
e9258400
DM
18493 (INLINE_CLONE_SYSCALL): Likewise.
18494
3bd2c723
DM
184952012-03-05 David S. Miller <davem@davemloft.net>
18496
18497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18498
bbb78d03
AS
184992012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18500
884c5db4
AS
18501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18502
bbb78d03
AS
18503 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18504 only for |x| >= 40.
18505 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18506
1c9f702a 185072012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18508
18509 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18510 Replace gettimeofday with __vdso_gettimeofday.
18511
7be16f82
RM
18512 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18513 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18514 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18515
18516 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18517 time with __vdso_time.
18518
ed58a00f
JM
185192012-03-05 Joseph Myers <joseph@codesourcery.com>
18520
18521 * manual/lang.texi (size_t): Note types to which size_t may be
18522 equivalent with the GNU C Library, but do not describe when
18523 differences between them are significant.
18524
30ee4ced
AJ
185252012-03-05 Andreas Jaeger <aj@suse.de>
18526
18527 * sysdeps/i386/fpu/libm-test-ulps: Update.
18528
b7cd39e8
JM
185292012-03-05 Joseph Myers <joseph@codesourcery.com>
18530
18531 [BZ #3976]
18532 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18533 (__ieee754_pow): Save and restore rounding mode and use
18534 round-to-nearest for main computations.
18535 * math/libm-test.inc (pow_test_tonearest): New function.
18536 (pow_test_towardzero): Likewise.
18537 (pow_test_downward): Likewise.
18538 (pow_test_upward): Likewise.
18539 (main): Call the new functions.
18540 * sysdeps/i386/fpu/libm-test-ulps: Update.
18541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18542
18543 [BZ #3976]
18544 * math/libm-test.inc (cosh_test_tonearest): New function.
18545 (cosh_test_towardzero): Likewise.
18546 (cosh_test_downward): Likewise.
18547 (cosh_test_upward): Likewise.
18548 (sinh_test_tonearest): Likewise.
18549 (sinh_test_towardzero): Likewise.
18550 (sinh_test_downward): Likewise.
18551 (sinh_test_upward): Likewise.
18552 (main): Call the new functions.
18553 * sysdeps/i386/fpu/libm-test-ulps: Update.
18554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18555
6c6a98c9
TV
185562012-03-05 Tom de Vries <tom@codesourcery.com>
18557
18558 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18559 default stack guard is set in last bytes.
18560 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18561
21bb2d2e 185622012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18563
21bb2d2e 18564 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18565
21bb2d2e
AJ
18566 [BZ #13656]
18567 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18568 possibly allocate from heap instead of stack.
18569 * stdio-common/bug-vfprintf-nargs.c: New file.
18570 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18571
c6922934
AS
185722012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18573
18574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18575
bc957d53
MP
185762012-03-03 Marek Polacek <polacek@redhat.com>
18577
18578 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18579 * math/math_private.h: Likewise.
18580 * stdlib/tst-strtod.c: Likewise.
18581 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18582 * sysdeps/x86_64/bits/atomic.h: Likewise.
18583
6358490d
DM
185842012-03-02 David S. Miller <davem@davemloft.net>
18585
18586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18590 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18591 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18592 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18593 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18594
01ae168d
RM
185952012-03-02 Roland McGrath <roland@hack.frob.com>
18596
d9a17c07
RM
18597 [BZ #13792]
18598 * manual/examples/README: New file, says the example source files
18599 can be used under GPL>=2.
18600 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18601 line containing just "*/".
18602 * manual/examples/add.c: Add copyright header (GPL>=2).
18603 * manual/examples/argp-ex1.c: Likewise.
18604 * manual/examples/argp-ex2.c: Likewise.
18605 * manual/examples/argp-ex3.c: Likewise.
18606 * manual/examples/argp-ex4.c: Likewise.
18607 * manual/examples/atexit.c: Likewise.
18608 * manual/examples/db.c: Likewise.
18609 * manual/examples/dir.c: Likewise.
18610 * manual/examples/dir2.c: Likewise.
18611 * manual/examples/execinfo.c: Likewise.
18612 * manual/examples/filecli.c: Likewise.
18613 * manual/examples/filesrv.c: Likewise.
18614 * manual/examples/fmtmsgexpl.c: Likewise.
18615 * manual/examples/genpass.c: Likewise.
18616 * manual/examples/inetcli.c: Likewise.
18617 * manual/examples/inetsrv.c: Likewise.
18618 * manual/examples/isockad.c: Likewise.
18619 * manual/examples/longopt.c: Likewise.
18620 * manual/examples/memopen.c: Likewise.
18621 * manual/examples/memstrm.c: Likewise.
18622 * manual/examples/mkfsock.c: Likewise.
18623 * manual/examples/mkisock.c: Likewise.
18624 * manual/examples/mygetpass.c: Likewise.
18625 * manual/examples/pipe.c: Likewise.
18626 * manual/examples/popen.c: Likewise.
18627 * manual/examples/rprintf.c: Likewise.
18628 * manual/examples/search.c: Likewise.
18629 * manual/examples/select.c: Likewise.
18630 * manual/examples/setjmp.c: Likewise.
18631 * manual/examples/sigh1.c: Likewise.
18632 * manual/examples/sigusr.c: Likewise.
18633 * manual/examples/stpcpy.c: Likewise.
18634 * manual/examples/strdupa.c: Likewise.
18635 * manual/examples/strftim.c: Likewise.
18636 * manual/examples/strncat.c: Likewise.
18637 * manual/examples/subopt.c: Likewise.
18638 * manual/examples/swapcontext.c: Likewise.
18639 * manual/examples/termios.c: Likewise.
18640 * manual/examples/testopt.c: Likewise.
18641 * manual/examples/testpass.c: Likewise.
18642 * manual/examples/timeval_subtract.c: Likewise.
18643
01ae168d
RM
18644 [BZ #13792]
18645 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18646 function to ...
18647 * manual/timeval_subtract.c.texi: ... here, new file.
18648
49efa33d
DM
186492012-03-02 David S. Miller <davem@davemloft.net>
18650
18651 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18652
28afd92d
JM
186532012-03-02 Joseph Myers <joseph@codesourcery.com>
18654
804360ed
JM
18655 [BZ #3976]
18656 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18657 (__sin): Save and restore rounding mode and use round-to-nearest
18658 for all computations.
18659 (__cos): Save and restore rounding mode and use round-to-nearest
18660 for all computations.
18661 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18662 <fenv.h>.
18663 (tan): Save and restore rounding mode and use round-to-nearest for
18664 all computations.
18665 * math/libm-test.inc (cos_test_tonearest): New function.
18666 (cos_test_towardzero): Likewise.
18667 (cos_test_downward): Likewise.
18668 (cos_test_upward): Likewise.
18669 (sin_test_tonearest): Likewise.
18670 (sin_test_towardzero): Likewise.
18671 (sin_test_downward): Likewise.
18672 (sin_test_upward): Likewise.
18673 (tan_test_tonearest): Likewise.
18674 (tan_test_towardzero): Likewise.
18675 (tan_test_downward): Likewise.
18676 (tan_test_upward): Likewise.
18677 (main): Call the new functions.
18678 * sysdeps/i386/fpu/libm-test-ulps: Update.
18679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18680
a6d06d7b
JM
18681 [BZ #10135]
18682 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18683 small n, then large n, before computing and testing k+n.
18684 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18686 Likewise.
18687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18688 Likewise.
18689 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18690 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18691 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18692 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18693 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18694 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18695 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18696 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18697 * math/libm-test.inc (scalbn_test): Add more tests.
18698 (scalbln_test): Likewise.
18699
07e12bb3
JM
18700 * manual/filesys.texi (mode_t): Describe constraints on size and
18701 signedness, not exact equivalence to a particular type.
18702 (ino_t): Likewise.
18703 (ino64_t): Likewise.
18704 (dev_t): Likewise.
18705 (nlink_t): Likewise.
18706 (blkcnt_t): Likewise.
18707 (blkcnt64_t): Likewise.
18708 * manual/llio.texi (off_t): Likewise.
18709
28afd92d
JM
18710 [BZ #3976]
18711 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18712 (__ieee754_exp): Save and restore rounding mode and use
18713 round-to-nearest for all computations.
18714 * math/libm-test.inc (exp_test_tonearest): New function.
18715 (exp_test_towardzero): Likewise.
18716 (exp_test_downward): Likewise.
18717 (exp_test_upward): Likewise.
18718 (main): Call the new functions.
18719 * sysdeps/i386/fpu/libm-test-ulps: Update.
18720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18721
b1eeb65d
CD
187222012-03-01 Chris Demetriou <cgd@google.com>
18723
18724 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18725 have predictable order.
18726
53362a4b
DM
187272012-03-01 David S. Miller <davem@davemloft.net>
18728
3c969083
DM
18729 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18730
759707de
DM
18731 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18732 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18733 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18734 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18735
dfdb8ff2
DM
18736 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18737 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18738 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18740 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18741 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18742 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18743 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18744 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18745
ead89f96
DM
18746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18747
7f66bd07
DM
18748 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18749 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18750 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18751
53362a4b
DM
18752 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18753 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18754 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18755 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18756 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18757 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18759 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18760 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18761 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18762 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18763 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18765 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18766 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18768 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18769 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18770 * sysdeps/sparc/elf/configure: Regenerated.
18771
7b1902cb
JM
187722012-03-01 Joseph Myers <joseph@codesourcery.com>
18773
bec039bc
JM
18774 * configure.in (AS, LD): Require binutils 2.20 or later.
18775 * configure: Regenerated.
18776 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18777 as required minimum version.
18778 * INSTALL: Regenerated.
18779
7b1902cb
JM
18780 [BZ #2541]
18781 [BZ #4108]
18782 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18783 before squaring exponent.
18784 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18785 bottom long double and 27 bits of top long double before squaring
18786 exponent.
18787 * math/libm-test.inc (erfc_test): Add more tests.
18788 * sysdeps/i386/fpu/libm-test-ulps: Update.
18789 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18791
f775c276
KT
187922012-03-01 Kai Tietz <ktietz@redhat.com>
18793
18794 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18795 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18796 containing bit-fields.
18797 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18798 * soft-fp/single.h (_FP_UNION_S): Likewise.
18799 * soft-fp/double.h (_FP_UNION_D): Likewise.
18800
5b8a4d4a
JM
188012012-02-29 Joseph Myers <joseph@codesourcery.com>
18802
0bab47b6
JM
18803 [BZ #13786]
18804 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18805 not include ../strcmp.S.
18806 [USE_AS_STRNCASECMP_L]: Likewise.
18807 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18808 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18809 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18810 (__strncasecmp_l_ia32): Define as alias to
18811 __strncasecmp_l_nonascii.
18812
0fcad3e2
JM
18813 [BZ #5794]
18814 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18815 * sysdeps/i386/fpu/libm-test-ulps: Update.
18816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18817
5b8a4d4a
JM
18818 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18820
8fdceb2e
JL
188212012-02-29 Jeff Law <law@redhat.com>
18822
18823 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18824 out of bounds read.
18825
1f393a11
MP
188262012-02-29 Marek Polacek <polacek@redhat.com>
18827
18828 [BZ #13706]
18829 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18830 * elf/Makefile: Add rules to run tst-unused-dep.out.
18831
8847f037
DM
188322012-02-28 David S. Miller <davem@davemloft.net>
18833
18834 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18835 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18836 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18837 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18838 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18839 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18840
169d7f11
JM
188412012-02-29 Joseph Myers <joseph@codesourcery.com>
18842
18843 * math/libm-test.inc (llround_test): Move one test from
18844 lround_test. Use TEST_f_L in moved test.
18845 (lround_test): Move misplaced test to llround_test. Add testcase
18846 from bug 2561.
18847
39adf059
UD
188482012-02-28 Ulrich Drepper <drepper@gmail.com>
18849
18850 * sysdeps/x86_64/fpu/e_expf.S: New file.
18851 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18852
71b5d1c5
SB
188532012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18854
18855 [BZ #13637]
18856 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18857 of remain_len that may cause incomplete multi-byte character and
18858 false match.
18859 * posix/bug-regex33.c: New file.
18860 * posix/Makefile (tests): Add bug-regex33.
18861
1f77f049
JM
188622012-02-28 Joseph Myers <joseph@codesourcery.com>
18863
18864 * manual/macros.texi: New file.
18865 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18866 * manual/libc.texinfo: Include macros.texi.
18867 * manual/creatute.texi: Likewise.
18868 * manual/install.texi: Likewise.
18869 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18870 @glibcadj{} in references to the GNU C Library.
18871 * manual/charset.texi: Likewise.
18872 * manual/conf.texi: Likewise.
18873 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18874 when not using those macros.
18875 * manual/creature.texi: Likewise.
18876 * manual/crypt.texi: Likewise.
18877 * manual/errno.texi: Likewise.
18878 * manual/filesys.texi: Likewise.
18879 * manual/header.texi: Likewise.
18880 * manual/install.texi: Likewise.
18881 * manual/intro.texi: Likewise.
18882 * manual/io.texi: Likewise.
18883 * manual/job.texi: Likewise.
18884 * manual/lang.texi: Likewise.
18885 * manual/libc.texiinfo: Likewise.
18886 * manual/llio.texi: Likewise.
18887 * manual/locale.texi: Likewise.
18888 * manual/maint.texi: Likewise.
18889 * manual/math.texi: Likewise.
18890 * manual/memory.texi: Likewise.
18891 * manual/message.texi: Likewise.
18892 * manual/nss.texi: Likewise.
18893 * manual/pattern.texi: Likewise.
18894 * manual/process.texi: Likewise.
18895 * manual/resource.texi: Likewise.
18896 * manual/search.texi: Likewise.
18897 * manual/setjmp.texi: Likewise.
18898 * manual/signal.texi: Likewise.
18899 * manual/socket.texi: Likewise.
18900 * manual/startup.texi: Likewise.
18901 * manual/stdio.texi: Likewise.
18902 * manual/string.texi: Likewise.
18903 * manual/sysinfo.texi: Likewise.
18904 * manual/syslog.texi: Likewise.
18905 * manual/terminal.texi: Likewise.
18906 * manual/time.texi: Likewise.
18907 * manual/users.texi: Likewise.
18908 * INSTALL: Regenerated.
18909 * NOTES: Regenerated.
d40c5d54 18910 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18911
450bf206
AS
189122012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18913
18914 * include/dirent.h: Include <dirstream.h> before
18915 <dirent/dirent.h>.
18916
741a235b
DM
189172012-02-28 David S. Miller <davem@davemloft.net>
18918
18919 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18920 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18921 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18922 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18923
d6b5aa58
DM
189242012-02-27 David S. Miller <davem@davemloft.net>
18925
1aff59a3
DM
18926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18928 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18929 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18930
d6b5aa58
DM
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18932 frame pointer instead of stack pointer relative arg slot.
18933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18934 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18935 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18936
433f48bf
CD
189372012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18938
18939 [BZ #3992]
18940 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18941
d674b76d
DM
189422012-02-27 David S. Miller <davem@davemloft.net>
18943
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18948 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18949 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18950 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18951 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18952
0e7727f7
JM
189532012-02-27 Joseph Myers <joseph@codesourcery.com>
18954
18955 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18956 later. Allow versions 5-9.
43be4ca2 18957 * configure: Regenerated.
0e7727f7
JM
18958 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18959 required minimum version and 4.6 as recommended version. Do not
18960 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18961 * INSTALL: Regenerated.
0e7727f7 18962
a78bc654
DM
189632012-02-27 David S. Miller <davem@davemloft.net>
18964
428d5830
DM
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18969 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18970 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18971 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18972 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18973
a78bc654
DM
18974 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18975 manipulate bits before adding and subtracting TWO112[sx].
18976 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18977
4579f81c
RM
189782012-02-27 Roland McGrath <roland@hack.frob.com>
18979
36c8acb4
RM
18980 [BZ #13775]
18981 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18982 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18983 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18984 being in POSIX, because they are in 1003.1-2008.
18985
84ad622b
RM
18986 * rt/tst-aio.c: Include <fcntl.h>.
18987 * rt/tst-aio7.c: Likewise.
18988 * rt/tst-aio64.c: Likewise.
18989
4579f81c
RM
18990 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18991
abd923db
JM
189922012-02-27 Joseph Myers <joseph@codesourcery.com>
18993
18994 * manual/install.texi (--with-headers): Describe headers as
18995 interface headers, not private headers.
18996 (Specific advice for GNU/Linux systems): Describe use of headers
18997 from "make headers_install", not private headers from older
18998 kernels.
43be4ca2 18999 * INSTALL: Regenerated.
abd923db
JM
19000 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19001 Change to 2.6.19.
19002 * sysdeps/unix/sysv/linux/configure: Regenerated.
19003
6664049b
JM
19004 * manual/llio.texi (fclean): Remove documentation.
19005
bb8b6697
JM
19006 * manual/Makefile (libc-texi-generated): New variable. Include
19007 version.texi.
19008 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19009 $(libc-texi-generated), not duplicated list of files.
19010 (version.texi, stamp-version): New rules.
19011 (realclean): Remove $(libc-texi-generated), not individual files
19012 from that list. Do not remove dir-add.texinfo.
19013 * manual/libc.texinfo: Comment out uses of edition numbers and
19014 references to printed manual. Remove last-updated dates.
19015 (EDITION): Comment out.
19016 (ISBN): Likewise.
19017 (VERSION, UPDATED): Remove.
19018 (version.texi): Include.
19019
12e5c3b9
AS
190202012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19021
19022 * sysdeps/posix/spawni.c: Include <signal.h>.
19023 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19024 * sysdeps/pthread/aio_fsync.c: Likewise.
19025
4efeffc1 190262012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19027
ba63ba08
UD
19028 * conform/Makefile (tests): Run only when not cross-compiling and
19029 when fast-check is not defined.
19030
d94a4670
UD
19031 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19032 * conform/data/limits.h-data: Fixes for POSIX2008.
19033 * conform/run-conformtest.sh: Run all tests.
19034 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19035 headers.
19036 * include/bits/dlfcn.h: Likewise.
19037 * include/langinfo.h: Likewise.
19038 * include/monetary.h: Likewise.
19039 * include/sys/poll.h: Likewise.
19040
19041 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19042 for __USE_GNU.
19043 * posix/spawn.h: Define __need_sigset_t.
19044 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19045 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19046 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19047 to get sigevent_t only.
19048 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19049 only for __USE_GNU.
19050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19051 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19052 process_vm_writev only for __USE_GNU.
19053 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19054
19055 * conform/Makefile: For now ignore errors from run-conformtest.
19056 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19057 POSIX to avoid namespace pollution. Don't prepend headers.
19058 * conform/data/aio.h-data: Fixes for POSIX testing.
19059 * conform/data/fcntl.h-data: Likewise.
19060 * conform/data/glob.h-data: Likewise.
19061 * conform/data/grp.h-data: Likewise.
19062 * conform/data/pthread.h-data: Likewise.
19063 * conform/data/pwd.h-data: Likewise.
19064 * conform/data/signal.h-data: Likewise.
19065 * conform/data/spawn.h-data: Likewise.
19066 * conform/data/stdio.h-data: Likewise.
19067 * conform/data/stdlib.h-data: Likewise.
19068 * conform/data/stropts.h-data: Likewise.
19069 * conform/data/sys/mman.h-data: Likewise.
19070 * conform/data/sys/stat.h-data: Likewise.
19071 * conform/data/sys/types.h-data: Likewise.
19072 * conform/data/sys/wait.h-data: Likewise.
19073 * conform/data/time.h-data: Likewise.
19074 * conform/data/unistd.h-data: Likewise.
19075 * conform/data/utime.h-data: Likewise.
19076
19077 * io/sys/stat.h: fchmod was always in POSIX.
19078 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19079 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19080 * rt/aio.h: Define __need_timespec before including <time.h>.
19081 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19082 struct. Add forward declaration of pthread_attr_t and use it in
19083 sigevent.
19084 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19085 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19086 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19087 always remove CLK_TCK definition.
19088
c20105c3
AS
190892012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19090
19091 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19092
7a270350
UD
190932012-02-25 Ulrich Drepper <drepper@gmail.com>
19094
31341567
UD
19095 * conform/run-conformtest.sh: New file.
19096 * conform/Makefile: Run run-conformtest for tests.
19097 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19098 support.
19099
19100 * conform/data/uchar.h-data: New file.
19101 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19102 * conform/data/arpa/inet.h-data: Likewise.
19103 * conform/data/assert.h-data: Likewise.
19104 * conform/data/complex.h-data: Likewise.
19105 * conform/data/cpio.h-data: Likewise.
19106 * conform/data/ctype.h-data: Likewise.
19107 * conform/data/dirent.h-data: Likewise.
19108 * conform/data/dlfcn.h-data: Likewise.
19109 * conform/data/errno.h-data: Likewise.
19110 * conform/data/fcntl.h-data: Likewise.
19111 * conform/data/float.h-data: Likewise.
19112 * conform/data/fmtmsg.h-data: Likewise.
19113 * conform/data/fnmatch.h-data: Likewise.
19114 * conform/data/ftw.h-data: Likewise.
19115 * conform/data/glob.h-data: Likewise.
19116 * conform/data/grp.h-data: Likewise.
19117 * conform/data/iconv.h-data: Likewise.
19118 * conform/data/inttypes.h-data: Likewise.
19119 * conform/data/langinfo.h-data: Likewise.
19120 * conform/data/libgen.h-data: Likewise.
19121 * conform/data/limits.h-data: Likewise.
19122 * conform/data/locale.h-data: Likewise.
19123 * conform/data/math.h-data: Likewise.
19124 * conform/data/monetary.h-data: Likewise.
19125 * conform/data/mqueue.h-data: Likewise.
19126 * conform/data/ndbm.h-data: Likewise.
19127 * conform/data/net/if.h-data: Likewise.
19128 * conform/data/netdb.h-data: Likewise.
19129 * conform/data/netinet/in.h-data: Likewise.
19130 * conform/data/nl_types.h-data: Likewise.
19131 * conform/data/poll.h-data: Likewise.
19132 * conform/data/pthread.h-data: Likewise.
19133 * conform/data/pwd.h-data: Likewise.
19134 * conform/data/regex.h-data: Likewise.
19135 * conform/data/sched.h-data: Likewise.
19136 * conform/data/search.h-data: Likewise.
19137 * conform/data/semaphore.h-data: Likewise.
19138 * conform/data/setjmp.h-data: Likewise.
19139 * conform/data/signal.h-data: Likewise.
19140 * conform/data/spawn.h-data: Likewise.
19141 * conform/data/stdarg.h-data: Likewise.
19142 * conform/data/stdio.h-data: Likewise.
19143 * conform/data/stdlib.h-data: Likewise.
19144 * conform/data/string.h-data: Likewise.
19145 * conform/data/strings.h-data: Likewise.
19146 * conform/data/stropts.h-data: Likewise.
19147 * conform/data/sys/ipc.h-data: Likewise.
19148 * conform/data/sys/mman.h-data: Likewise.
19149 * conform/data/sys/msg.h-data: Likewise.
19150 * conform/data/sys/resource.h-data: Likewise.
19151 * conform/data/sys/select.h-data: Likewise.
19152 * conform/data/sys/sem.h-data: Likewise.
19153 * conform/data/sys/shm.h-data: Likewise.
19154 * conform/data/sys/socket.h-data: Likewise.
19155 * conform/data/sys/stat.h-data: Likewise.
19156 * conform/data/sys/statvfs.h-data: Likewise.
19157 * conform/data/sys/time.h-data: Likewise.
19158 * conform/data/sys/timeb.h-data: Likewise.
19159 * conform/data/sys/times.h-data: Likewise.
19160 * conform/data/sys/types.h-data: Likewise.
19161 * conform/data/sys/uio.h-data: Likewise.
19162 * conform/data/sys/un.h-data: Likewise.
19163 * conform/data/sys/utsname.h-data: Likewise.
19164 * conform/data/sys/wait.h-data: Likewise.
19165 * conform/data/syslog.h-data: Likewise.
19166 * conform/data/tar.h-data: Likewise.
19167 * conform/data/termios.h-data: Likewise.
19168 * conform/data/utime.h-data: Likewise.
19169 * conform/data/utmpx.h-data: Likewise.
19170 * conform/data/varargs.h-data: Likewise.
19171 * conform/data/wchar.h-data: Likewise.
19172 * conform/data/wctype.h-data: Likewise.
19173 * conform/data/wordexp.h-data: Likewise.
19174
19175 * include/stropts.h: New file.
19176 * include/uchar.h: New file.
19177 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19178 * include/assert.h: Likewise.
19179 * include/ctype.h: Likewise.
19180 * include/dirent.h: Likewise.
19181 * include/dlfcn.h: Likewise.
19182 * include/fcntl.h: Likewise.
19183 * include/fnmatch.h: Likewise.
19184 * include/glob.h: Likewise.
19185 * include/grp.h: Likewise.
19186 * include/libio.h: Likewise.
19187 * include/locale.h: Likewise.
19188 * include/math.h: Likewise.
19189 * include/net/if.h: Likewise.
19190 * include/netdb.h: Likewise.
19191 * include/netinet/in.h: Likewise.
19192 * include/pthread.h: Likewise.
19193 * include/pwd.h: Likewise.
19194 * include/regex.h: Likewise.
19195 * include/sched.h: Likewise.
19196 * include/search.h: Likewise.
19197 * include/setjmp.h: Likewise.
19198 * include/signal.h: Likewise.
19199 * include/stdio.h: Likewise.
19200 * include/stdlib.h: Likewise.
19201 * include/string.h: Likewise.
19202 * include/sys/cdefs.h: Likewise.
19203 * include/sys/mman.h: Likewise.
19204 * include/sys/msg.h: Likewise.
19205 * include/sys/resource.h: Likewise.
19206 * include/sys/select.h: Likewise.
19207 * include/sys/socket.h: Likewise.
19208 * include/sys/stat.h: Likewise.
19209 * include/sys/statvfs.h: Likewise.
19210 * include/sys/time.h: Likewise.
19211 * include/sys/times.h: Likewise.
19212 * include/sys/uio.h: Likewise.
19213 * include/sys/utsname.h: Likewise.
19214 * include/sys/wait.h: Likewise.
19215 * include/termios.h: Likewise.
19216 * include/time.h: Likewise.
19217 * include/ulimit.h: Likewise.
19218 * include/unistd.h: Likewise.
19219 * include/utime.h: Likewise.
19220 * include/wchar.h: Likewise.
19221 * include/wctype.h: Likewise.
19222 * include/wordexp.h: Likewise.
19223
19224 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19225
7a270350
UD
19226 * time/time.h: TIME_UTC must be a macro.
19227 Make timespec_get available for ISO C11 only as well.
19228
7724defc
UD
192292012-02-24 Ulrich Drepper <drepper@gmail.com>
19230
19231 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19232 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19233
6b1d1d46
JM
192342012-02-24 Joseph Myers <joseph@codesourcery.com>
19235
19236 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19237
0f8bbd69
JM
192382012-02-24 Joseph Myers <joseph@codesourcery.com>
19239
19240 * manual/texinfo.tex: Update to version 2012-01-19.16.
19241
66ab80bc
JM
192422012-02-24 Joseph Myers <joseph@codesourcery.com>
19243
19244 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19245
74981cc5
RM
192462012-02-24 Roland McGrath <roland@hack.frob.com>
19247
ee968201
RM
19248 [BZ #13738]
19249 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19250 * manual/fdl-1.3.texi: New file.
19251 * manual/fdl-1.1.texi: File removed.
19252
74981cc5
RM
19253 [BZ #13738]
19254 * manual/libc.texinfo (FDL_VERSION): New @set.
19255 Use it for mention of FDL in cover text.
19256 (Documentation License): Use it in @include file name.
19257
7bb764bc
JM
192582012-02-22 Joseph Myers <joseph@codesourcery.com>
19259 Roland McGrath <roland@hack.frob.com>
19260
19261 [BZ #5461]
19262 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19263 not LONG_LONG_MAX and LONG_LONG_MIN.
19264 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19265 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19266 name.
19267 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19268
6cbeae47
JM
192692012-02-22 Joseph Myers <joseph@codesourcery.com>
19270
19271 [BZ #2547]
19272 [BZ #11365]
19273 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19274 manipulate bits before adding and subtracting TWO23[sx].
19275 * math/libm-test.inc (nearbyint_test): Add more tests.
19276
fe45ce09
JM
192772012-02-22 Joseph Myers <joseph@codesourcery.com>
19278
19279 [BZ #2548]
19280 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19281 bits before adding and subtracting TWO23[sx].
19282 * math/libm-test.inc (rint_test): Add more tests.
19283 (rint_test_tonearest): Likewise.
19284 (rint_test_towardzero): Likewise.
19285 (rint_test_downward): Likewise.
19286 (rint_test_upward: Likewise.
19287
ff3b3d82
JM
192882012-02-22 Joseph Myers <joseph@codesourcery.com>
19289
19290 [BZ #10110]
19291 * include/stdc-predef.h: New file. Extracted from features.h.
19292 * include/features.h: Include stdc-predef.h.
19293 * Makefile (headers): Add stdc-predef.h.
19294 * CONFORMANCE (Compiler limitations): Update.
19295
ef0aab35
JM
192962012-02-22 Joseph Myers <joseph@codesourcery.com>
19297
19298 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19299
58639409
DM
193002012-02-21 David S. Miller <davem@davemloft.net>
19301
19302 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19303 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19304
c0e70b25
DM
193052012-02-20 David S. Miller <davem@davemloft.net>
19306
19307 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19308 using a normal save/restore sequence, rather than allocating a
19309 dummy stack frame just to store a frame pointer and restore.
19310 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19311
fb06851d
JM
193122012-02-21 Joseph Myers <joseph@codesourcery.com>
19313
19314 * manual/install.texi: Fix stray word in line-wrapped comment.
19315
7a8b71c3
DM
193162012-02-20 David S. Miller <davem@davemloft.net>
19317
d510c123
DM
19318 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19319 both binutils and gcc support GOTDATA.
19320
0722d7c2
DM
19321 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19322 "rd %pc" in the PIC register setup sequences.
19323
3d2b3019
DM
19324 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19325 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19326 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19327 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19328 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19330 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19331 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19333 (SYSCALL_ERROR_HANDLER): Likewise.
19334 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19335 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19337 (SYSCALL_ERROR_HANDLER): Likewise.
19338
c80098a9
DM
19339 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19340 (HAVE_GCC_GOTDATA): New.
19341 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19342 relocation support in both binutils and gcc.
19343 * sysdeps/sparc/elf/configure: Regenerate.
19344
3a2545a0
DM
19345 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19346 * sysdeps/sparc/sparc32/elf/configure: Delete.
19347 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19348 * sysdeps/sparc/sparc64/elf/configure: Delete.
19349 * sysdeps/sparc/elf/configure.in: New file.
19350 * sysdeps/sparc/elf/configure: Generate.
19351
7a8b71c3
DM
19352 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19353 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19354 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19355 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19356 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19357
f1e86fca
JM
193582012-02-21 Joseph Myers <joseph@codesourcery.com>
19359
19360 * manual/install.texi: Do not mention specific glibc version
19361 numbers.
19362 * manual/libc.texinfo (VERSION, UPDATED): Update.
19363 (@copying): Use @copyright{} and range of years.
19364
0e7dfaef
JM
193652012-02-21 Joseph Myers <joseph@codesourcery.com>
19366
19367 [BZ #13695]
19368 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19369 [crti.S not in sysdirs] (generated): Do not append.
19370 [crti.S not in sysdirs] (omit-deps): Likewise.
19371 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19372 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19373 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19374 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19375 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19376 Likewise.
19377 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19378 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19379 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19380 * csu/defs.awk: Remove file.
19381 * sysdeps/generic/initfini.c: Likewise.
19382 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19383 variable.
19384 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19385 Likewise.
19386
599af3ca
JM
193872012-02-20 Joseph Myers <joseph@codesourcery.com>
19388
19389 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19390 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19391 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19392 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19393 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19394 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19395 <bits/epoll.h>.
19396 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19397 (__EPOLL_PACKED): Define to empty if not defined by
19398 <bits/epoll.h>.
19399 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19401 bits/epoll.h.
19402
0e499750
JM
194032012-02-20 Joseph Myers <joseph@codesourcery.com>
19404
19405 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19406 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19407 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19408 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19409 <bits/timerfd.h>.
19410 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19412 bits/timerfd.h.
19413
5ad91f6e
JM
194142012-02-20 Joseph Myers <joseph@codesourcery.com>
19415
19416 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19417 in C locale.
19418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19419 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19420 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19422
06b99b02
AJ
194232012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19424
19425 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19426 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19427
7638c0fd
AS
194282012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19429
19430 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19431 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19432 defined.
19433 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19434 Likewise.
19435 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19436 entry for 2.16.
19437
92221550
AJ
194382012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19439
19440 * math/w_acos.c: Use non-signaling floating-point comparisons.
19441 * math/w_acosf.c: Likewise.
19442 * math/w_acosh.c: Likewise.
19443 * math/w_acoshf.c: Likewise.
19444 * math/w_acoshl.c: Likewise.
19445 * math/w_acosl.c: Likewise.
19446 * math/w_asin.c: Likewise.
19447 * math/w_asinf.c: Likewise.
19448 * math/w_asinl.c: Likewise.
19449 * math/w_atanh.c: Likewise.
19450 * math/w_atanhf.c: Likewise.
19451 * math/w_atanhl.c: Likewise.
19452 * math/w_exp2.c: Likewise.
19453 * math/w_exp2f.c: Likewise.
19454 * math/w_exp2l.c: Likewise.
19455 * math/w_j0.c: Likewise.
19456 * math/w_j0f.c: Likewise.
19457 * math/w_j0l.c: Likewise.
19458 * math/w_j1.c: Likewise.
19459 * math/w_j1f.c: Likewise.
19460 * math/w_j1l.c: Likewise.
19461 * math/w_jn.c: Likewise.
19462 * math/w_jnf.c: Likewise.
19463 * math/w_log.c: Likewise.
19464 * math/w_log10.c: Likewise.
19465 * math/w_log10f.c: Likewise.
19466 * math/w_log10l.c: Likewise.
19467 * math/w_log2.c: Likewise.
19468 * math/w_log2f.c: Likewise.
19469 * math/w_log2l.c: Likewise.
19470 * math/w_logf.c: Likewise.
19471 * math/w_logl.c: Likewise.
19472 * math/w_sqrt.c: Likewise.
19473 * math/w_sqrtf.c: Likewise.
19474 * math/w_sqrtl.c: Likewise.
19475 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19476 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19477 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19478 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19479 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19480
ebaf36eb
JM
194812012-02-19 Joseph Myers <joseph@codesourcery.com>
19482
19483 [BZ #9739]
19484 * manual/string.texi (strnlen): Use correct parameter name in
19485 equivalent expression.
19486
71c254a6
JM
194872012-02-19 Joseph Myers <joseph@codesourcery.com>
19488
19489 [BZ #11174]
19490 * manual/users.texi (seteuid): Consistently use neweuid for
19491 argument name.
19492
16d2c631
JM
194932012-02-19 Joseph Myers <joseph@codesourcery.com>
19494
19495 [BZ #13704]
19496 * manual/nss.texi (Services in the NSS configuration): Correct
19497 list of services in example configuration file.
19498
cd837b09
NB
194992012-02-19 Nick Bowler <nbowler@draconx.ca>
19500
19501 [BZ #11322]
19502 * manual/arith.texi: Remove statements about negative zero
19503 behaving identically to zero.
19504
02c4bbad
JM
195052012-02-18 Joseph Myers <joseph@codesourcery.com>
19506
19507 [BZ #5993]
19508 * manual/install.texi: Do not document upgrading from libc5.
19509
366842e7
JM
195102012-02-18 Joseph Myers <joseph@codesourcery.com>
19511
19512 [BZ #4596]
19513 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19514
dd54084d
DM
195152012-02-18 David S. Miller <davem@davemloft.net>
19516
19517 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19518 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19519 %o7 across the call.
19520 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19521 instead.
19522 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19523 SETUP_PIC_REG_LEAF.
19524 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19525 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19526 * sysdeps/sparc/crtn.S: Likewise.
19527
2bcc53a3
UD
195282012-02-17 Ulrich Drepper <drepper@gmail.com>
19529
19530 * aout/Makefile: Remove.
19531
09c093b5
RK
195322012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19533
19534 [BZ #13058]
19535 * manual/examples/argp-ex1.c (main): Format definition in GNU
19536 style.
19537 * manual/examples/argp-ex2.c (main): Likewise.
19538 * manual/examples/argp-ex3.c (main): Likewise.
19539 * manual/examples/argp-ex4.c (main): Likewise.
19540 * manual/examples/longopt.c (main): Use new-style prototype
19541 definition.
19542 * manual/examples/strncat.c (main): Specify return type and use
19543 (void) for arguments.
19544 * manual/examples/subopt.c (main): Use char **argv argument.
19545
2ee633a2
JM
195462012-02-17 Joseph Myers <joseph@codesourcery.com>
19547
19548 [BZ #5077]
19549 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19550 rounding modes.
19551
0520adde
FB
195522012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19553
19554 [BZ #6907]
19555 * manual/string.texi (strchr): Change when strchrnul is
19556 recommended.
19557
3f4081cd
DGM
195582012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19559
19560 [BZ #174]
19561 * manual/locale.texi (setlocale): Document LOCPATH.
19562
d1b10e78
JM
195632012-02-17 Joseph Myers <joseph@codesourcery.com>
19564
19565 [BZ #10210]
19566 * manual/process.texi (execle): Move @dots{} before last argument.
19567
79c6869c
PB
195682012-02-17 Paul Bolle <pebolle@tiscali.nl>
19569
19570 [BZ #12047]
19571 * manual/charset.texi (Generic Charset Conversion): Fix typo
19572 (LC_TYPE -> LC_CTYPE).
19573
cc6e48bc
NB
195742012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19575
19576 [BZ #5805]
19577 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19578 (scalbnf): Likewise.
19579 (scalbnl): Likewise.
19580 (scalbln): Likewise.
19581 (scalblnf): Likewise.
19582 (scalblnl): Likewise.
19583 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19584 (vwarnx): Likewise.
19585 (verr): Likewise.
19586 (verrx): Likewise.
19587 * manual/filesys.texi (telldir): Use braces around return type.
19588 * manual/llio.texi (mmap): Add space after comma.
19589 (mmap64): Likewise.
19590 * manual/math.texi (jn): Use @var{} on parameter names.
19591 (jnf): Likewise.
19592 (jnl): Likewise.
19593 (yn): Likewise.
19594 (ynf): Likewise.
19595 (ynl): Likewise.
19596 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19597 line.
19598 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19599 "...".
19600 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19601 (sched_get_priority_max): Likewise.
19602 * manual/signal.texi (sigvec): Add space after comma.
19603 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19604 names.
19605 (if_indextoname): Likewise.
19606 (if_freenameindex): Likewise.
19607 (sendto): Use ',' instead of '.' in prototype.
19608 * manual/startup.texi (syscall): Use @dots{} instead of literal
19609 "...".
19610 * manual/stdio.texi (__fpending): Separate initial words of
19611 paragraph from @deftypefun line.
19612 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19613 "...".
19614 (vsyslog): Use @var{} on parameter names.
19615 * manual/terminal.texi (stty): Use @var{} on parameter names.
19616 * manual/users.texi (getutmp): Use @var{} on parameter names.
19617 (getutmpx): Likewise.
19618
5b23062f
JM
196192012-02-17 Joseph Myers <joseph@codesourcery.com>
19620
19621 [BZ #6884]
19622 * manual/stdio.texi (fopen): Fix typos in description of
19623 ",ccs=STRING".
19624
8dee4833
AJ
196252012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19626
19627 [BZ #4026]
19628 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19629 get clock_id definition.
19630
9078ce93
TS
196312012-02-17 Thomas Schwinge <thomas@schwinge.name>
19632
19633 [BZ #4822]
19634 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19635 (madvise): Cast every argument to void on its own.
19636
3835c55f
JM
196372012-02-17 Joseph Myers <joseph@codesourcery.com>
19638
19639 [BZ #9902]
19640 * manual/startup.texi (Exit Status): Fix typo.
19641
35c47e37
JM
196422012-02-17 Joseph Myers <joseph@codesourcery.com>
19643
19644 [BZ #10140]
19645 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19646 * manual/examples/argp-ex2.c: Likewise.
19647 * manual/examples/argp-ex3.c: Likewise.
19648
e3b69ca7
RH
196492012-02-16 Richard Henderson <rth@redhat.com>
19650
19651 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19652 * sysdeps/s390/s390-32/initfini.c: Remove.
19653 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19654 * sysdeps/s390/s390-64/initfini.c: Remove.
19655
df83af67
KK
196562012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19657
19658 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19659 compiler output for sysdeps/generic/initfini.c.
19660 * sysdeps/sh/elf/initfini.c: Remove file.
19661
f63f3380
DM
196622012-02-16 David S. Miller <davem@davemloft.net>
19663
fb59b3a4
DM
19664 [BZ #11494]
19665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19666
f63f3380
DM
19667 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19668 * sysdeps/sparc/crti.S: New file.
19669 * sysdeps/sparc/crtn.S: New file.
19670 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19671 * sysdeps/sparc/sparc64/Makefile: Likewise.
19672
df6a4a4a
MF
196732012-02-15 Mike Frysinger <vapier@gentoo.org>
19674
6dd8f3dc 19675 [BZ #3335]
df6a4a4a
MF
19676 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19677
1cac7236
RM
196782012-02-15 Roland McGrath <roland@hack.frob.com>
19679
d2c736f8
RM
19680 [BZ #4822]
19681 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19682
1cac7236
RM
19683 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19684 (write, read, close): Likewise.
19685 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19686
8e475601
JM
196872012-02-15 Joseph Myers <joseph@codesourcery.com>
19688
19689 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19690 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19691 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19692 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19693 <bits/signalfd.h>.
19694 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19696 bits/signalfd.h.
19697
ed656b40
MP
196982012-02-14 Marek Polacek <polacek@redhat.com>
19699
19700 * sysdeps/x86_64/crti.S: New file.
19701 * sysdeps/x86_64/crtn.S: New file.
19702 * sysdeps/x86_64/elf/initfini.c: Remove file.
19703
2a979d3a
JM
197042012-02-13 Joseph Myers <joseph@codesourcery.com>
19705
19706 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19707 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19708 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19709 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19710 <bits/inotify.h>.
19711 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19713 bits/inotify.h.
19714
2a418ac3
JM
197152012-02-13 Joseph Myers <joseph@codesourcery.com>
19716
19717 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19718 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19719 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19720 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19721 <bits/eventfd.h>.
19722 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19724 bits/eventfd.h.
19725
fb779be7
TS
197262012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19727
e19e83c5
RM
19728 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19729 __feraiseexcept instead of feraiseexcept.
7c35ffed 19730
fb779be7
TS
19731 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19732 nanosleep invocations.
19733 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19734 strings, and add error checking for a nanosleep invocations.
19735
59ba27a6
PE
197362012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19737
19738 Replace FSF snail mail address with URLs, as per GNU coding standards.
19739 Most of the snail mail addresses were wrong anyway, and omitting
19740 them makes the source code easier to maintain. Almost all of the
19741 changes are to license notices and to locale LC_IDENTIFICATION
19742 addresses, except for this one:
19743 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19744 not its snail mail address.
19745
57b957eb
RH
197462012-02-09 Richard Henderson <rth@twiddle.net>
19747
af850b1c
RH
19748 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19749 of kernel-features.h.
19750
57b957eb
RH
19751 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19752
6b73181a
MP
197532012-02-08 Marek Polacek <polacek@redhat.com>
19754
19755 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19756 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19757 * sysdeps/gnu/_G_config.h: Likewise.
19758 * sysdeps/generic/_G_config.h: Likewise.
19759
26ecc33a
AS
197602012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19761
6c6dbc63
AS
19762 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19763 tests.
19764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19765
e216c012
AS
19766 * sysdeps/powerpc/powerpc32/crti.S: New file.
19767 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19768 * sysdeps/powerpc/powerpc64/crti.S: New file.
19769 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19770
26ecc33a
AS
19771 * Makeconfig (have-initfini): Don't set.
19772 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19773 * configure.in (nopic_initfini): Don't substitute.
19774 * config.h.in (HAVE_INITFINI): Don't #undef.
19775 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19776 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19777
3add8e13
JM
197782012-02-08 Joseph Myers <joseph@codesourcery.com>
19779
19780 Support crti.S and crtn.S provided directly by architectures.
19781 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19782 [crti.S in sysdirs] (omit-deps): Likewise.
19783 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19784 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19785 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19786 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19787 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19788 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19789 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19790 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19791 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19792 compiler output for sysdeps/generic/initfini.c.
19793 * sysdeps/i386/elf/Makefile: Remove file.
19794 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19795
a22f12b4
MP
197962012-02-07 Marek Polacek <polacek@redhat.com>
19797
19798 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19799 * sysdeps/gnu/_G_config.h: Likewise.
19800 * sysdeps/mach/hurd/_G_config.h: Likewise.
19801
148cf100
MP
198022012-02-07 Marek Polacek <polacek@redhat.com>
19803
19804 * math/Makefile (tests): Add tst-CMPLX2.
19805 * math/tst-CMPLX2.c: New file.
19806
cfdc0dd7
AS
198072012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19808
84ba42c4
AS
19809 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19810
cfdc0dd7
AS
19811 * math/libm-test.inc (jn_test): Add missing L suffix.
19812
622c86f4
MP
198132012-02-06 Marek Polacek <polacek@redhat.com>
19814
19815 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19816 * sysdeps/i386/fpu/e_powf.S: Likewise.
19817 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19818 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19819 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19820 * sysdeps/i386/fpu/e_pow.S: Likewise.
19821 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19822 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19823 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19824 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19825 * sysdeps/i386/fpu/e_log2.S: Likewise.
19826 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19827 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19828 * sysdeps/i386/fpu/e_powl.S: Likewise.
19829 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19830 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19831 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19832 * sysdeps/i386/fpu/e_logl.S: Likewise.
19833 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19834 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19835 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19836 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19837 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19838 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19839 * sysdeps/i386/fpu/e_log.S: Likewise.
19840 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19841 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19842 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19843 * sysdeps/i386/fpu/e_logf.S: Likewise.
19844 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19845 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19846 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19847 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19848 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19849 * sysdeps/i386/fpu/e_log10.S: Likewise.
19850 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19851 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19852 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19853 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19854 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19855 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19856 * sysdeps/i386/asm-syntax.h: Likewise.
19857 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19858 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19859 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19860 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19861 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19862 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19863 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19864 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19865 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19866 * sysdeps/powerpc/sysdep.h: Likewise.
19867 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19868 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19869
d4a54ac6
JM
198702012-02-06 Joseph Myers <joseph@codesourcery.com>
19871
19872 [BZ #411]
19873 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19874
314054ea
JM
198752012-02-06 Joseph Myers <joseph@codesourcery.com>
19876
19877 * sysdeps/i386/sysdep.h: Include <features.h>.
19878 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19879 version.
19880
d8e0ca50
JM
198812012-02-05 Joseph Myers <joseph@codesourcery.com>
19882
19883 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19884 Define.
19885 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19886 LOAD_PIC_REG_STR.
19887
b1da7dd9
JM
198882012-02-03 Joseph Myers <joseph@codesourcery.com>
19889
19890 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19891 (SETUP_PIC_REG): Use GET_PC_THUNK.
19892 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19893 macro.
19894
9a1d9254
JM
198952012-02-03 Joseph Myers <joseph@codesourcery.com>
19896
19897 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19898 for non-PIC compilation.
19899 (SETUP_PIC_REG): Add .p2align directive.
19900 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19901 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19902 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19903 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19904 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19905 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19906 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19907 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19908 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19909 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19910 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19911 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19912 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19913 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19914 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19915 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19916 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19917 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19918 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19919 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19920 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19921 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19922 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19923 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19924 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19926 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19927 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19928 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19929 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19930 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19931 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19932 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19933 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19934 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19935 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19936 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19937 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19938 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19939 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19940 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19941
65dc3b75
JM
199422012-02-03 Joseph Myers <joseph@codesourcery.com>
19943
19944 * math/tst-CMPLX.c: Include <stdio.h>.
19945
d55bf177
JM
199462012-01-31 Joseph Myers <joseph@codesourcery.com>
19947
19948 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19949 float.
19950 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19951 * sysdeps/sparc/bits/mathdef.h: Likewise.
19952
69db4f8f
MP
199532012-01-31 Marek Polacek <polacek@redhat.com>
19954
19955 * libio/libio.h: Don't define _PARAMS.
19956 * locale/programs/config.h: Don't define PARAMS.
19957 * stdlib/strtol_l.c: Likewise.
19958 (__strtol_l): Remove PARAMS from the prototype.
19959
41b81892
UD
199602012-01-31 Ulrich Drepper <drepper@gmail.com>
19961
3b49edc0
UD
19962 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19963 names. Just use the correct names. Remove unnecessary wrapper
19964 functions.
19965 * malloc/arena.c: Likewise.
19966 * malloc/hooks.c: Likewise.
19967
41b81892
UD
19968 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19969 ARENA_TEST says not to. Simplify test for creation of a new arena.
19970 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19971
27a25b6e
UD
199722012-01-30 Ulrich Drepper <drepper@gmail.com>
19973
19974 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19975 into tail calls.
19976 (update_get_addr): New function.
19977 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19978 GET_ADDR_MODULE parameter.
19979
c8a89e7d
JM
199802012-01-30 Joseph Myers <joseph@codesourcery.com>
19981
19982 * crypt/cert.c: Remove __STDC__ conditionals.
19983 * crypt/crypt-entry.c: Likewise.
19984 * crypt/crypt_util.c: Likewise.
19985 * libio/filedoalloc.c: Likewise.
19986 * libio/fileops.c: Likewise.
19987 * libio/genops.c: Likewise.
19988 * libio/iofclose.c: Likewise.
19989 * libio/iofdopen.c: Likewise.
19990 * libio/iofopen.c: Likewise.
19991 * libio/iofopen64.c: Likewise.
19992 * libio/iogetdelim.c: Likewise.
19993 * libio/iopopen.c: Likewise.
19994 * libio/obprintf.c: Likewise.
19995 * libio/oldfileops.c: Likewise.
19996 * libio/oldiofclose.c: Likewise.
19997 * libio/oldiofdopen.c: Likewise.
19998 * libio/oldiofopen.c: Likewise.
19999 * libio/oldiopopen.c: Likewise.
20000 * libio/wfiledoalloc.c: Likewise.
20001 * libio/wgenops.c: Likewise.
20002 * locale/programs/xmalloc.c: Likewise.
20003 * misc/syslog.c: Likewise.
20004 * stdio-common/xbug.c: Likewise.
20005 * string/memchr.c: Likewise.
20006 * string/memcmp.c: Likewise.
20007 * string/memrchr.c: Likewise.
20008 * string/rawmemchr.c: Likewise.
20009 * sysdeps/posix/getcwd.c: Likewise.
20010 * time/strftime_l.c: Likewise.
20011
3b100462
JM
200122012-01-30 Joseph Myers <joseph@codesourcery.com>
20013
20014 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20015 * config.make.in (config-cflags-sse2avx): Define.
20016 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20017 Fix typo.
20018
607998af
CM
200192012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20020
20021 * scripts/config.guess: Update from upstream config git repository.
20022 * scripts/config.sub: Likewise.
20023
3601428f
CM
200242012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20025
3ac8b282
CM
20026 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20027 (EM_NUM): Update.
20028 (R_TILEPRO_*, R_TILEGX_*): New macros.
20029
e034841e
CM
20030 * scripts/firstversions.awk: Fix bug in version range handling.
20031
540d7568
CM
20032 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20033
3601428f
CM
20034 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20035
463de862
CM
20036 * include/sys/epoll.h: New file.
20037 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20038 libc_hidden_def.
20039
73139a76
UD
200402012-01-28 Ulrich Drepper <drepper@gmail.com>
20041
96bc5b45
UD
20042 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20043 Avoid unnecessary __WORDSIZE == 64 test.
20044 (fmaxf): Use VEX format if possible.
20045 (fmax): Likewise.
20046 (fminf): Likewise.
20047 (fmin): Likewise.
20048
56f6f6a2
UD
20049 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20050 * math/math_private.h: Remove libc_fegetround* and
20051 libc_fesetround*.
20052 * sysdeps/i386/configure.in: Check for -msse2avx.
20053 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20054 also if SSE2AVX is defined.
20055 Remove libc_fegetround* and libc_fesetround*.
20056 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20057 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20058 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20059 of HAS_YMM_USABLE.
20060 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20061 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20062 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20063 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20064 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20065
73139a76
UD
20066 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20067
d73f93a4
AZ
200682012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20069
20070 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20071 size is not set.
20072 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20073
6ee65ed6
UD
200742012-01-27 Ulrich Drepper <drepper@gmail.com>
20075
20076 [BZ #13618]
20077 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20078 relocation.
20079 * Makeconfig (libm): Define.
20080 * elf/Makefile: Add rules to build and run tst-relsort1.
20081 * elf/tst-relsort1.c: New file.
20082 * elf/tst-relsort1mod1.c: New file.
20083 * elf/tst-relsort1mod2.c: New file.
20084
8db21882
JM
200852012-01-27 Joseph Myers <joseph@codesourcery.com>
20086
20087 * math/s_ldexp.c: Remove __STDC__ conditionals.
20088 * math/s_ldexpf.c: Likewise.
20089 * math/s_ldexpl.c: Likewise.
20090 * math/s_nextafter.c: Likewise.
20091 * math/s_nexttowardf.c: Likewise.
20092 * math/s_significand.c: Likewise.
20093 * math/s_significandf.c: Likewise.
20094 * math/s_significandl.c: Likewise.
20095 * math/w_jnl.c: Likewise.
20096 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20097 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20098 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20099 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20100 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20101 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20102 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20103 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20104 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20105 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20106 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20107 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20108 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20109 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20110 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20111 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20112 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20113 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20115 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20116 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20117 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20118 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20119 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20120 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20121 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20122 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20123 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20124 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20125 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20126 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20127 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20128 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20129 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20130 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20131 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20132 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20133 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20134 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20135 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20136 * sysdeps/ieee754/k_standard.c: Likewise.
20137 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20138 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20139 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20140 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20141 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20142 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20143 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20144 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20145 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20146 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20147 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20148 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20149 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20150 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20151 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20152 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20153 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20154 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20155 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20156 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20157 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20158 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20159 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20160 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20161 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20162 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20163 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20166 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20167 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20168 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20169 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20170 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20171 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20172 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20173 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20174 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20177 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20178 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20185 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20194 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20198 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20202 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20203 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20207 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20211 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20212 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20214 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20216 * sysdeps/ieee754/s_matherr.c: Likewise.
20217 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20218 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20219 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20221
965a54a4
JM
202222012-01-26 Joseph Myers <joseph@codesourcery.com>
20223
20224 * crypt/md5.h: Remove __STDC__ conditionals.
20225 * libio/libioP.h: Likewise.
20226 * locale/programs/config.h: Likewise.
20227 * sysdeps/generic/sysdep.h: Likewise.
20228 * sysdeps/i386/asm-syntax.h: Likewise.
20229 * sysdeps/s390/asm-syntax.h: Likewise.
20230 * sysdeps/unix/sysdep.h: Likewise.
20231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20233
7071ad79
JM
202342012-01-26 Joseph Myers <joseph@codesourcery.com>
20235
20236 * libio/libio.h: Remove __STDC__ conditionals.
20237 * malloc/obstack.h: Likewise.
20238 * math/complex.h: Likewise.
20239 * math/math.h: Likewise.
20240 * sysdeps/generic/_G_config.h: Likewise.
20241 * sysdeps/gnu/_G_config.h: Likewise.
20242 * sysdeps/mach/hurd/_G_config.h: Likewise.
20243 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20244 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20245 * sysdeps/sparc/bits/mathdef.h: Likewise.
20246
afc5ed09
UD
202472012-01-26 Ulrich Drepper <drepper@gmail.com>
20248
20249 [BZ #13583]
20250 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20251 Clean up HAS_* macros.
afc5ed09 20252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20253 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20254 possible.
20255 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20256 HAS_AVX.
20257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20258 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20259 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20261 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20262
bdb6de1d
JM
202632012-01-25 Joseph Myers <joseph@codesourcery.com>
20264
20265 * elf/tst-unique3.cc (gets): Remove declaration.
20266 * elf/tst-unique3lib.cc (gets): Likewise.
20267 * elf/tst-unique3lib2.cc (gets): Likewise.
20268 * elf/tst-unique4.cc (gets): Likewise.
20269
b15549e6
UD
202702012-01-24 Ulrich Drepper <drepper@gmail.com>
20271
20272 * include/stdio.h: Add C++ protection. Add gets declarations and
20273 definitions.
20274 * debug/tst-chk1.c: Don't declare gets here.
20275 * stdio-common/tst-gets.c: Likewise.
20276
a037381f
JM
202772012-01-24 Joseph Myers <joseph@codesourcery.com>
20278
20279 * posix/glob: Remove directory.
20280
f1d4aa75
JM
202812012-01-24 Joseph Myers <joseph@codesourcery.com>
20282
20283 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20284
81c0c964
PT
202852012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20286
20287 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20288 of the non-standard EPFNOSUPPORT.
20289
0ea698ae
ST
202902011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20291
20292 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20293 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20294 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20295
d220b117
UD
202962012-01-21 Ulrich Drepper <drepper@gmail.com>
20297
20298 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20299
3e1aa84e
UD
203002012-01-20 Ulrich Drepper <drepper@gmail.com>
20301
20302 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20303 transient errors.
20304 * nscd/grpcache.c (cache_addgr): Likewise.
20305 * nscd/hstcache.c (cache_addhst): Likewise.
20306 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20307 * nscd/pwdcache.c (cache_addpw): Likewise.
20308 * nscd/servicescache.c (cache_addserv): Likewise.
20309
400aa020
UD
203102012-01-16 Ulrich Drepper <drepper@gmail.com>
20311
d77e7869
UD
20312 * malloc/malloc.c: Various cleanups.
20313 * malloc/hooks.c: Likewise.
20314
400aa020
UD
20315 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20316 * stdlib/bug-fmtmsg1.c: New file.
20317
20318 * stdlib/fmtmsg.c (init): Add missing unlock.
20319 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20320
e0a309cf
MP
203212012-01-12 Marek Polacek <polacek@redhat.com>
20322
20323 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20324 and _GNU_SOURCE.
20325
929d11c7
WS
203262012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20327
20328 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20329 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20330 macro to ensure uniqueness of label name.
20331 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20332 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20333
41d0e869
UD
203342012-01-11 Ulrich Drepper <drepper@gmail.com>
20335
0cc5ed3b
UD
20336 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20337
41d0e869
UD
20338 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20339 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20340 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20341 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20342
a47a831a
UD
203432012-01-10 Ulrich Drepper <drepper@gmail.com>
20344
daa891c0
UD
20345 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20346
20347 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20348 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20349 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20350
e58ef0f2
UD
20351 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20352
a47a831a 20353 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20354 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20355 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20356 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20357
20358 * math/bits/math-finite.h: Add ldexp support.
20359
a0bfc9c7
MP
203602012-01-10 Marek Polacek <polacek@redhat.com>
20361
20362 * locale/programs/localedef.h (show_archive_content): Add noreturn
20363 attribute.
20364
d6e97a1d
UD
203652012-01-09 Ulrich Drepper <drepper@gmail.com>
20366
20367 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20368
d5835c26
UD
203692012-01-08 Ulrich Drepper <drepper@gmail.com>
20370
e5f484c6
UD
20371 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20372
d5835c26
UD
20373 * io/Makefile (headers): Add bits/poll2.h.
20374
d1f741e9
WS
203752011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20376
20377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20378 typo #include statement.
20379
ec09c1c4
UD
203802012-01-08 Ulrich Drepper <drepper@gmail.com>
20381
20382 * include/sys/cdefs.h: Define __attribute_alloc_size.
20383 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20384 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20385 * elf/pldd.c: Likewise.
20386 * iconv/iconv_charmap.c: Likewise.
20387 * iconv/iconvconfig.c: Likewise.
20388 * iconv/strtab.c: Likewise.
20389 * locale/programs/locale.c: Likewise.
20390 * locale/programs/localedef.h: Likewise.
20391 * locale/programs/simple-hash.c: Likewise.
20392 * nscd/nscd.h: Likewise.
20393 * nss/makedb.c: Likewise.
20394 * sysdeps/generic/ldconfig.h: Likewise.
20395 * locale/programs/localedef.c: Remove xmalloc prototype.
20396 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20397
20b38e03
PP
203982012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20399
20400 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20401 appropriate.
20402
a0da5fe1
UD
204032012-01-08 Ulrich Drepper <drepper@gmail.com>
20404
1d5a644a 20405 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20406 * math/tst-CMPLX.c: New file.
1d5a644a 20407
8784a6db
UD
20408 * math/complex.h (CMPLXL): Fix typo.
20409
d9a216c0
UD
20410 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20411 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20412 GLIBC_2.16.
20413 * debug/tst-chk1.c: Add poll and ppoll tests.
20414 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20415 * include/sys/poll.h: Add hidden proto for ppoll.
20416 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20417 * sysdeps/mach/hurd/ppoll.c: Likewise.
20418 * io/ppoll.c: Likewise.
20419 * debug/poll_chk.c: New file.
20420 * debug/ppoll_chk.c: New file.
20421 * include/bits/poll2.h: New file.
20422 * io/bits/poll2.h: New file.
20423
ac097f5c
UD
20424 [BZ #1350]
20425 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20426
2119dcfa
UD
20427 * configure.in: static is always set to yes. Remove.
20428 * config.make.in: Don't set build-static.
20429 * Makeconfig: Remove use of build-static.
20430 * dlfcn/Makefile: Likewise.
20431 * elf/Makefile: Likewise.
20432 * math/Makefile: Likewise.
20433 * misc/Makefile: Likewise.
20434 * nptl/Makefile: Likewise.
20435 * sysdeps/mach/hurd/Makefile: Likewise.
20436
121766a9
UD
20437 * configure.in: PWD_P is not used anymore.
20438 * config.make.in: Remove PWD_P entry.
20439
51a1d39c 20440 * configure.in: Remove last remnants of RANLIB.
8720d066 20441 No need to check for signed size_t anymore.
215f4bdc
UD
20442 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20443 and IA-64.
3857022a 20444 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20445 * aclocal.m4: Likewise.
20446
d3ed7225
UD
20447 * wcsmbs/mbrtoc16.c: Implement using towc function.
20448 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20449 * wcsmbs/wcsmbsload.c: Likewise.
20450 * iconv/gconv_simple.c: Likewise.
20451 * iconv/gconv_int.h: Likewise.
20452 * iconv/gconv_builtin.h: Likewise.
20453 * iconv/iconv_prog.c: Remove CHAR16 handling.
20454
20455 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20456
20457 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20458
a0da5fe1
UD
20459 * configure.in: Remove --with-elf and --enable-bounded options.
20460 Dont set base_machine for ia64. More non-ELF conditions removed.
20461 Remove testing and setting of leading underscore information.
20462 * config.make.in (build-bounded): Set to no.
20463 * config.h.in: Remove NO_UNDERSCORES entry.
20464 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20465 them.
20466 * csu/start.c: Remove !NO_UNDERSCORE code.
20467 * locale/localeinfo.h: Likewise.
20468 * sysdeps/generic/machine-gmon.h: Likewise.
20469 * sysdeps/generic/sysdep.h: Likewise.
20470 * sysdeps/i386/sysdep.h: Likewise.
20471 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20472 * sysdeps/mach/sysdep.h: Likewise.
20473 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20474 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20475 * sysdeps/sh/sysdep.h: Likewise.
20476 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20477 * sysdeps/unix/i386/sysdep.S: Likewise.
20478 * sysdeps/unix/sparc/start.c: Likewise.
20479 * sysdeps/unix/sparc/sysdep.S: Likewise.
20480 * sysdeps/unix/sparc/sysdep.h: Likewise.
20481 * sysdeps/unix/start.c: Likewise.
20482 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20483 * sysdeps/x86_64/sysdep.h: Likewise.
20484
df78418a
UD
204852012-01-07 Ulrich Drepper <drepper@gmail.com>
20486
a784e502
UD
20487 [BZ #13553]
20488 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20489 for non-gcc.
20490 * argp/argp-fmtstream.h: Use const instead __const.
20491 * argp/argp.h: Likewise.
20492 * assert/assert.h: Likewise.
20493 * bits/fenv.h: Likewise.
20494 * bits/sched.h: Likewise.
20495 * bits/sigset.h: Likewise.
20496 * bits/sigthread.h: Likewise.
20497 * catgets/nl_types.h: Likewise.
20498 * conform/data/pthread.h-data: Likewise.
20499 * crypt/crypt-private.h: Likewise.
20500 * crypt/crypt.h: Likewise.
20501 * crypt/crypt_util.c: Likewise.
20502 * ctype/ctype.h: Likewise.
20503 * debug/execinfo.h: Likewise.
20504 * debug/mbsnrtowcs_chk.c: Likewise.
20505 * debug/mbsrtowcs_chk.c: Likewise.
20506 * debug/wcsnrtombs_chk.c: Likewise.
20507 * debug/wcsrtombs_chk.c: Likewise.
20508 * debug/wcstombs_chk.c: Likewise.
20509 * dirent/dirent.h: Likewise.
20510 * dlfcn/dlfcn.h: Likewise.
20511 * elf/neededtest4.c: Likewise.
20512 * grp/grp.h: Likewise.
20513 * gshadow/gshadow.h: Likewise.
20514 * iconv/gconv.h: Likewise.
20515 * iconv/gconv_int.h: Likewise.
20516 * iconv/gconv_simple.c: Likewise.
20517 * iconv/iconv.h: Likewise.
20518 * iconv/loop.c: Likewise.
20519 * iconv/skeleton.c: Likewise.
20520 * include/aio.h: Likewise.
20521 * include/aliases.h: Likewise.
20522 * include/argz.h: Likewise.
20523 * include/arpa/inet.h: Likewise.
20524 * include/assert.h: Likewise.
20525 * include/dirent.h: Likewise.
20526 * include/dlfcn.h: Likewise.
20527 * include/execinfo.h: Likewise.
20528 * include/fcntl.h: Likewise.
20529 * include/fenv.h: Likewise.
20530 * include/glob.h: Likewise.
20531 * include/grp.h: Likewise.
20532 * include/libintl.h: Likewise.
20533 * include/mntent.h: Likewise.
20534 * include/netdb.h: Likewise.
20535 * include/pwd.h: Likewise.
20536 * include/rpc/netdb.h: Likewise.
20537 * include/sched.h: Likewise.
20538 * include/search.h: Likewise.
20539 * include/shadow.h: Likewise.
20540 * include/signal.h: Likewise.
20541 * include/stdio.h: Likewise.
20542 * include/stdlib.h: Likewise.
20543 * include/string.h: Likewise.
20544 * include/sys/socket.h: Likewise.
20545 * include/sys/stat.h: Likewise.
20546 * include/sys/statfs.h: Likewise.
20547 * include/sys/statvfs.h: Likewise.
20548 * include/sys/syslog.h: Likewise.
20549 * include/sys/time.h: Likewise.
20550 * include/sys/uio.h: Likewise.
20551 * include/time.h: Likewise.
20552 * include/unistd.h: Likewise.
20553 * include/utmp.h: Likewise.
20554 * include/wchar.h: Likewise.
20555 * include/wctype.h: Likewise.
20556 * inet/aliases.h: Likewise.
20557 * inet/arpa/inet.h: Likewise.
20558 * inet/netinet/ether.h: Likewise.
20559 * inet/netinet/in.h: Likewise.
20560 * intl/libintl.h: Likewise.
20561 * io/bits/fcntl2.h: Likewise.
20562 * io/fcntl.h: Likewise.
20563 * io/ftw.h: Likewise.
20564 * io/sys/poll.h: Likewise.
20565 * io/sys/stat.h: Likewise.
20566 * io/sys/statfs.h: Likewise.
20567 * io/sys/statvfs.h: Likewise.
20568 * io/utime.h: Likewise.
20569 * libio/bits/stdio.h: Likewise.
20570 * libio/bits/stdio2.h: Likewise.
20571 * libio/libio.h: Likewise.
20572 * libio/libioP.h: Likewise.
20573 * libio/stdio.h: Likewise.
20574 * locale/lc-ctype.c: Likewise.
20575 * locale/locale.h: Likewise.
20576 * login/utmp.h: Likewise.
20577 * malloc/arena.c: Likewise.
20578 * malloc/malloc.c: Likewise.
20579 * malloc/malloc.h: Likewise.
20580 * malloc/mcheck.c: Likewise.
20581 * malloc/mtrace.c: Likewise.
20582 * math/bits/mathcalls.h: Likewise.
20583 * math/fenv.h: Likewise.
20584 * math/math_private.h: Likewise.
20585 * misc/bits/error.h: Likewise.
20586 * misc/bits/syslog.h: Likewise.
20587 * misc/err.h: Likewise.
20588 * misc/error.h: Likewise.
20589 * misc/fstab.h: Likewise.
20590 * misc/mntent.h: Likewise.
20591 * misc/regexp.h: Likewise.
20592 * misc/search.h: Likewise.
20593 * misc/sgtty.h: Likewise.
20594 * misc/sys/mman.h: Likewise.
20595 * misc/sys/syslog.h: Likewise.
20596 * misc/sys/uio.h: Likewise.
20597 * misc/sys/xattr.h: Likewise.
20598 * misc/ttyent.h: Likewise.
20599 * nis/rpcsvc/ypclnt.h: Likewise.
20600 * nss/nss.h: Likewise.
20601 * posix/bits/unistd.h: Likewise.
20602 * posix/fnmatch.h: Likewise.
20603 * posix/glob.h: Likewise.
20604 * posix/sched.h: Likewise.
20605 * posix/spawn.h: Likewise.
20606 * posix/sys/wait.h: Likewise.
20607 * posix/unistd.h: Likewise.
20608 * posix/wordexp.h: Likewise.
20609 * pwd/pwd.h: Likewise.
20610 * resolv/netdb.h: Likewise.
20611 * resource/sys/resource.h: Likewise.
20612 * rt/aio.h: Likewise.
20613 * rt/bits/mqueue2.h: Likewise.
20614 * rt/mqueue.h: Likewise.
20615 * shadow/shadow.h: Likewise.
20616 * signal/signal.h: Likewise.
20617 * socket/send.c: Likewise.
20618 * socket/sendto.c: Likewise.
20619 * socket/sys/socket.h: Likewise.
20620 * stdio-common/printf.h: Likewise.
20621 * stdlib/bits/stdlib.h: Likewise.
20622 * stdlib/fmtmsg.h: Likewise.
20623 * stdlib/monetary.h: Likewise.
20624 * stdlib/stdlib.h: Likewise.
20625 * stdlib/ucontext.h: Likewise.
20626 * streams/stropts.h: Likewise.
20627 * string/argz.h: Likewise.
20628 * string/bits/string2.h: Likewise.
20629 * string/string.h: Likewise.
20630 * string/strings.h: Likewise.
20631 * sunrpc/rpc/auth.h: Likewise.
20632 * sunrpc/rpc/auth_des.h: Likewise.
20633 * sunrpc/rpc/clnt.h: Likewise.
20634 * sunrpc/rpc/netdb.h: Likewise.
20635 * sunrpc/rpc/pmap_clnt.h: Likewise.
20636 * sunrpc/rpc/xdr.h: Likewise.
20637 * sysdeps/generic/inttypes.h: Likewise.
20638 * sysdeps/generic/net/if.h: Likewise.
20639 * sysdeps/generic/sys/swap.h: Likewise.
20640 * sysdeps/gnu/net/if.h: Likewise.
20641 * sysdeps/gnu/utmpx.h: Likewise.
20642 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20643 * sysdeps/i386/i486/bits/string.h: Likewise.
20644 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20645 * sysdeps/s390/bits/string.h: Likewise.
20646 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20647 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20648 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20649 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20650 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20651 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20652 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20653 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20654 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20655 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20656 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20657 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20658 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20659 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20660 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20661 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20662 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20664 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20665 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20666 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20667 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20668 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20669 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20670 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20671 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20672 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20673 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20674 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20675 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20676 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20677 * sysvipc/sys/ipc.h: Likewise.
20678 * sysvipc/sys/msg.h: Likewise.
20679 * sysvipc/sys/sem.h: Likewise.
20680 * sysvipc/sys/shm.h: Likewise.
20681 * termios/termios.h: Likewise.
20682 * time/sys/time.h: Likewise.
20683 * time/time.h: Likewise.
20684 * wcsmbs/bits/wchar2.h: Likewise.
20685 * wcsmbs/uchar.h: Likewise.
20686 * wcsmbs/wchar.h: Likewise.
20687 * wctype/wctype.h: Likewise.
20688
0269750c
UD
20689 [BZ #13551]
20690 * Makeconfig: Remove all but ELF support including AIX support.
20691 * Makerules: Likewise.
20692 * config.h.in: Likewise.
20693 * config.make.in: Likewise.
20694 * configure: Likewise.
20695 * configure.in: Likewise.
20696 * csu/Makefile: Likewise.
20697 * csu/version.c: Likewise.
20698 * debug/Makefile: Likewise.
20699 * dlfcn/Makefile: Likewise.
20700 * elf/Makefile: Likewise.
20701 * extra-lib.mk: Likewise.
20702 * iconv/Makefile: Likewise.
20703 * include/libc-symbols.h: Likewise.
20704 * include/shlib-compat.h: Likewise.
20705 * resolv/Makefile: Likewise.
20706 * resolv/res_libc.c: Likewise.
20707 * rt/Makefile: Likewise.
20708 * sysdeps/i386/asm-syntax.h: Likewise.
20709 * sysdeps/i386/sysdep.h: Likewise.
20710 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20711 * sysdeps/mach/sysdep.h: Likewise.
20712 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20713 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20714 * sysdeps/s390/asm-syntax.h: Likewise.
20715 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20716 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20717 * sysdeps/sh/sysdep.h: Likewise.
20718 * sysdeps/unix/sparc/sysdep.h: Likewise.
20719 * sysdeps/wordsize-32/divdi3.c: Likewise.
20720 * sysdeps/x86_64/sysdep.h: Likewise.
20721
00bbd29b
UD
20722 * argp/Versions: Remove _argp_unlock_xxx.
20723
20724 [BZ #13559]
20725 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20726 * abilist/libBrokenLocale.abilist: Likewise.
20727 * abilist/libanl.abilist: Likewise.
20728 * abilist/libc.abilist: Likewise.
20729 * abilist/libcrypt.abilist: Likewise.
20730 * abilist/libdl.abilist: Likewise.
20731 * abilist/libm.abilist: Likewise.
20732 * abilist/libnsl.abilist: Likewise.
20733 * abilist/libpthread.abilist: Likewise.
20734 * abilist/libresolv.abilist: Likewise.
20735 * abilist/librt.abilist: Likewise.
20736 * abilist/libthread_db.abilist: Likewise.
20737 * abilist/libutil.abilist: Likewise.
20738 * abilist/libnss_db.abilist: New file.
20739
20740 * scripts/abilist.awk: Add support for indirect functions.
20741
a2693a0e
UD
20742 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20743
3f05895f
UD
20744 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20745
ecb6fb48
UD
20746 * shlib-versions: Remove entries for ports architectures.
20747
664f8cb9
UD
20748 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20749 files in ports.
20750 * elf/stackguard-macros.h: Remove support for IA-64.
20751 * elf/tst-auditmod1.c: Likewise.
20752 * sysdeps/generic/ldsodefs.h: Likewise.
20753
7ae81d88
UD
20754 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20755 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20756 configure files.
20757
bdeba135
UD
20758 [BZ #13552]
20759 * configure.in: Remove --enable-omitfp support.
20760 * FAQ.in: Adjust.
20761 * config.make.in: Likewise.
20762 * Makeconfig: Likewise.
20763 * manual/install.texi: Likewise.
20764
d75a0a62
UD
20765 In case anyone cares, the IA-64 architecture could move to ports.
20766 * sysdeps/ia64/*: Removed.
20767 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20768 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20769
dcc9756b
UD
20770 [BZ #13555]
20771 * configure.in: Remove entries for unsupported architectures.
20772
d3761ebc 20773 [BZ #13533]
9954432e
UD
20774 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20775 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20776 routines.
20777 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20778 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20779 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20780 fall back to using wcrtomb.
20781 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20782 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20783 renaming.
20784 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20785 * wcsmbs/tst-c16c32-1.c: New file.
20786
20787 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20788 local variable.
20789
c3a87236
UD
20790 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20791
28926a1b
UD
20792 * elf/tst-unique3.cc: Add explicit declaration of gets.
20793 * elf/tst-unique3lib.cc: Likewise.
20794 * elf/tst-unique3lib2.cc: Likewise.
20795 * elf/tst-unique4.cc: Likewise.
20796
df78418a
UD
20797 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20798
8ecd6b2a
JM
207992012-01-06 Joseph Myers <joseph@codesourcery.com>
20800
20801 [BZ #13566]
20802 * assert/assert.h (static_assert): Don't define for C++.
20803 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20804 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20805
9f115170
UD
208062012-01-03 Ulrich Drepper <drepper@gmail.com>
20807
5e0d0300
UD
20808 * iconv/loop.c (single loop): Fix assertion in storing of
20809 remaining bytes.
20810
9f115170
UD
20811 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20812
81fb02b0
UD
208132012-01-01 Ulrich Drepper <drepper@gmail.com>
20814
20815 * posix/getconf.c: Update copyright year.
20816 * nss/getent.c: Likewise.
a316c1f6 20817 * nss/makedb.c: Likewise.
81fb02b0
UD
20818 * iconv/iconvconfig.c: Likewise.
20819 * iconv/iconv_prog.c: Likewise.
20820 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20821 * elf/pldd.c: Likewise.
20822 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20823 * catgets/gencat.c: Likewise.
20824 * csu/version.c: Likewise.
20825 * elf/ldd.bash.in: Likewise.
20826 * elf/sprof.c (print_version): Likewise.
20827 * locale/programs/locale.c: Likewise.
20828 * locale/programs/localedef.c: Likewise.
a316c1f6 20829 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20830 * nscd/nscd.c (print_version): Likewise.
20831 * debug/xtrace.sh: Likewise.
20832 * malloc/memusage.sh: Likewise.
20833 * malloc/mtrace.pl: Likewise.
20834 * debug/catchsegv.sh: Likewise.
20835
2ba92745
JJ
208362011-12-30 Jakub Jelinek <jakub@redhat.com>
20837
20838 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20839 pure attribute.
20840
dadebdae
UD
208412011-12-24 Ulrich Drepper <drepper@gmail.com>
20842
d3761ebc 20843 [BZ #13533]
db6af3eb
UD
20844 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20845 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20846 transformations.
20847 * iconv/gconv_int.h: Likewise.
20848 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20849 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20850 from libc for GLIBC_2.16.
20851 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20852 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20853 * wcsmbs/uchar.h: Really define mbstate_t.
20854 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20855 * wcsmbs/c16rtomb.c: New file.
20856 * wcsmbs/mbrtoc16.c: New file.
20857 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20858 for C/POSIX locale.
20859 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20860 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20861
dadebdae
UD
20862 * wcsmbs/wchar.h: Add missing __restrict.
20863
67371b56
UD
208642011-12-23 Ulrich Drepper <drepper@gmail.com>
20865
74033a25
UD
20866 [BZ #13532]
20867 * time/Makefile (routines): Add timespec_get.
20868 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20869 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20870 timespec for ISO C11.
20871 * time/timespec_get.c: New file.
20872 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20873 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20874
380d7e87
UD
20875 [BZ #13531]
20876 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20877 * stdlib/stdlib.h: Declare aligned_alloc.
20878 * Versions.def: Add GLIBC_2.16 for libc.
20879 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20880
4e9e7a35
UD
20881 [BZ 13527]
20882 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20883 ISO C11.
20884
380d7e87 20885 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20886 code.
20887
03a71829
UD
20888 [BZ #13528]
20889 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20890
839e283e
UD
20891 [BZ #13529]
20892 * assert/assert.h (static_assert): Define.
20893
ce5294e2 20894 * version.h: Update for 2.16 development version.
90fa7312 20895
8d44e150 20896 [BZ #13526]
d7809905
UD
20897 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20898 _ISOC11_SOURCE.
20899
c0da14cd
UD
20900 * version.h (RELEASE): Bump for 2.15 release.
20901 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20902
530a3249
MP
20903 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20904 Patch by Marek Polacek <mpolacek@redhat.com>.
20905
67371b56
UD
20906 * bits/byteswap.h: Protect long long constants with __extension__.
20907 * sysdeps/i386/bits/byteswap.h: Likewise.
20908 * sysdeps/ia64/bits/byteswap.h: Likewise.
20909 * sysdeps/s390/bits/byteswap.h: Likewise.
20910 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20911
15db4de1
LD
209122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20913
20914 [BZ #13540]
bbe315ea
LD
20915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20916 destination buffer.
15db4de1
LD
20917 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20918
2b2596b1
MP
209192011-12-23 Marek Polacek <polacek@redhat.com>
20920
20921 * elf/dl-addr.c (determine_info): Add inline keyword.
20922 * elf/tst-auditmod4b.c (check_avx): Likewise.
20923 * elf/tst-auditmod6b.c (check_avx): Likewise.
20924 * elf/tst-auditmod6c.c (check_avx): Likewise.
20925 * elf/tst-auditmod7b.c (check_avx): Likewise.
20926
70c6c246
UD
209272011-12-23 Ulrich Drepper <drepper@gmail.com>
20928
20929 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20930 !__SSE_MATH__.
20931
c044cf14
LD
209322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20933
15db4de1 20934 [BZ #13540]
c044cf14
LD
20935 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20936 processing for last bytes.
20937
6b13d9d9
BH
209382011-08-06 Bruno Haible <bruno@clisp.org>
20939
d455f537
BH
20940 [BZ #13061]
20941 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20942 U+0385, not to U+1FEE.
20943
6b13d9d9
BH
20944 [BZ #13062]
20945 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20946 entry for U+00A5 U+0301.
20947
db910efd
UD
209482011-12-22 Ulrich Drepper <drepper@gmail.com>
20949
27deeafc
UD
20950 [BZ #13166]
20951 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20952 buffer for the output is too small.
20953
aed9d171
UD
20954 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20955 optimization.
20956
db910efd
UD
20957 [BZ #13185]
20958 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20959 SSE flags if possible.
20960
2bd779ae
LD
209612011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20962
e7f9dac3 20963 [BZ #13540]
2bd779ae
LD
20964 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20965 processing for last bytes.
20966
154bfc16
JM
209672011-12-22 Joseph Myers <joseph@codesourcery.com>
20968
20969 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20970 (syscall-list-default-options, syscall-list-default-condition)
20971 (syscall-list-includes): Define.
20972 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20973 list of ABIs and options and #if conditions for each ABI. Do not
20974 handle common syscalls between ABIs specially.
20975 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20976 Remove.
20977 (syscall-list-variants, syscall-list-32bit-options)
20978 (syscall-list-32bit-condition, syscall-list-64bit-options)
20979 (syscall-list-64bit-condition): Define.
20980 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20981 (syscall-list-variants, syscall-list-32bit-options)
20982 (syscall-list-32bit-condition, syscall-list-64bit-options)
20983 (syscall-list-64bit-condition): Define.
20984 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20985 Remove.
20986 (syscall-list-variants, syscall-list-32bit-options)
20987 (syscall-list-32bit-condition, syscall-list-64bit-options)
20988 (syscall-list-64bit-condition): Define.
20989 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20990 Remove.
20991 (syscall-list-variants, syscall-list-32bit-options)
20992 (syscall-list-32bit-condition, syscall-list-64bit-options)
20993 (syscall-list-64bit-condition): Define.
20994
21eaf3a5
UD
209952011-12-22 Ulrich Drepper <drepper@gmail.com>
20996
16c6f992
UD
20997 * locale/iso-639.def: Add brx entry.
20998
41043168
UD
20999 [BZ #13328]
21000 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21001 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21002
21eaf3a5
UD
21003 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21004 __feraiseexcept_renamed.
21005
e3a851a2
UD
210062011-12-21 Ulrich Drepper <drepper@gmail.com>
21007
4920765e
UD
21008 [BZ #13538]
21009 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21010 EPOLLET with unsigned values.
21011 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21012 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21013
e3a851a2
UD
21014 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21015 to large cancellation.
21016 * math/s_cacoshf.c: Likewise.
21017 * math/s_cacoshl.c: Likewise.
21018
b27e24b8
RK
210192011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21020
21021 [BZ #13305]
aebefeee 21022 [BZ #12786]
b27e24b8
RK
21023 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21024 * math/s_cacoshf.c: Likewise.
21025 * math/s_cacoshl.c: Likewise.
21026
ee190f67
UD
210272011-12-21 Ulrich Drepper <drepper@gmail.com>
21028
21029 [BZ #13439]
21030 * iconv/gconv.h: Define __GCONV_SWAP.
21031 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21032 * iconvdata/utf-16.c: Likewise.
21033 * iconvdata/utf-32.c: Likewise.
21034
707f25df
AS
210352011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21036
21037 [BZ #13524]
21038 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21039 numerator after shifting it by one limb.
21040
d2daaa1e
RÁE
210412011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21042
21043 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21044 under [__USE_EXTERN_INLINES].
21045
a4647e72
UD
210462011-12-17 Ulrich Drepper <drepper@gmail.com>
21047
21048 [BZ #13446]
21049 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21050
f0b264f1
AZ
210512011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21052
21053 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21054 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21055 optimized code.
21056 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21057 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21058 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21059 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21060 for strncasecmp/strncasecmp_l compilation.
21061 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21062 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21063
8ef4f244
MP
210642011-12-08 Marek Polacek <mpolacek@redhat.com>
21065
21066 [BZ #13484]
21067 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21068 of __asm__.
21069
97ac2654
UD
210702011-12-17 Ulrich Drepper <drepper@gmail.com>
21071
21072 [BZ #13506]
21073 * time/tzfile.c (__tzfile_read): Check values from file header.
21074
91d2a845
WS
210752011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21076
21077 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21078 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21079 * powerpc/powerpc32/dl-start.S: Likewise.
21080 * powerpc/powerpc32/elf/start.S: Likewise.
21081 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21082 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21083 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21084 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21085 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21086 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21087 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21088 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21089 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21090 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21091 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21092 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21093 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21094 * powerpc/powerpc32/memset.S: Likewise.
21095 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21096 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21097 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21098 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21099 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21100 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21101 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21102 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21103 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21104 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21105 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21106 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21107 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21108
a1267ba1
AZ
211092011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21110
21111 * math/libm-test.inc: Added more nearbyint tests.
21112 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21113 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21114 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21115 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21116
ad8ac1bd
RL
211172011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21118
21119 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21120 FD_CLOEXEC.
21121
1d3e4b61
UD
211222011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21123
21124 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21125 Add wcscpy-ssse3 wcscpy-c.
21126 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21127 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21128 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21129 * sysdeps/x86_64/wcschr.S: New file.
21130 * sysdeps/x86_64/wcsrchr.S: New file.
21131 * string/test-strcmp.c: Remove checking of wcscmp function for
21132 wrong alignments.
21133 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21134 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21135 wcsrchr-sse2 wcsrchr-c.
21136 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21137 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21138 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21139 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21140 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21141 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21142 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21143 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21144 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21145 * wcsmbc/wcschr.c (WCSCHR): New macro.
21146
5b330a2d
UD
211472011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21148
21149 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21150 * wcsmbs/test-wcsrchr.c: New file.
21151 * string/test-strrchr.c: Add wcsrchr support.
21152 (WIDE): New macro.
21153 * wcsmbs/test-wcscpy.c: New file.
21154 * string/test-strcpy.c: Add wcscpy support.
21155 (WIDE): New macro.
26428b7c 21156
f039c043
UD
211572011-12-10 Ulrich Drepper <drepper@gmail.com>
21158
21159 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21160 the inner loop.
21161
850fb039
AS
211622011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21163
21164 [BZ #13472]
21165 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21166
4efbd5cb
UD
211672011-12-04 Ulrich Drepper <drepper@gmail.com>
21168
52ff5dd0 21169 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21170 Minor optimizations.
52ff5dd0 21171
4efbd5cb
UD
21172 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21173 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21174 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21175
8a426e12
UD
211762011-12-03 Ulrich Drepper <drepper@gmail.com>
21177
aff2453d
UD
21178 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21179 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21180 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21181 for gcc to avoid warnings.
21182 * inet/Makefile (tests): Add tst-checks.
21183 * inet/tst-checks.c: New file.
21184
21185 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21186 warning.
21187
21188 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21189 __wmemcmp_sse2.
21190
21191 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21192 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21193
8a426e12
UD
21194 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21195
9bea3473
UD
211962011-12-02 Ulrich Drepper <drepper@gmail.com>
21197
3a965496
UD
21198 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21199 problem.
21200
9bea3473
UD
21201 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21202
f101631b
UD
212032011-11-29 Joseph Myers <joseph@codesourcery.com>
21204
21205 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21206 conditional on GCC version.
21207 (__arch_compare_and_exchange_val_8_acq)
21208 (__arch_compare_and_exchange_val_16_acq)
21209 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21210 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21211 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21212
a98275aa
UD
212132011-12-02 Joseph Myers <joseph@codesourcery.com>
21214
21215 * sysdeps/sh/backtrace.c: New file.
21216
d4cc29a2
AS
212172011-12-02 Andreas Schwab <schwab@redhat.com>
21218
21219 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21220 parenthesis.
21221
6257af2d
AS
212222011-12-01 Andreas Schwab <schwab@redhat.com>
21223
21224 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21225 falling back to utime.
21226
b5f44c1a
AS
212272011-11-30 Andreas Schwab <schwab@redhat.com>
21228
21229 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21230 expectations for float.
21231
f3a6cc0a
AS
212322011-11-29 Andreas Schwab <schwab@redhat.com>
21233
21234 * locale/weight.h (findidx): Add parameter len.
21235 * locale/weightwc.h (findidx): Likewise.
21236 * posix/fnmatch_loop.c (FCT): Adjust caller.
21237 * posix/regcomp.c (build_equiv_class): Likewise.
21238 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21239 * posix/regexec.c (check_node_accept_bytes): Likewise.
21240 * string/strcoll_l.c (STRCOLL): Likewise.
21241 * string/strxfrm_l.c (STRXFRM): Likewise.
21242
9d65ea3a
UD
212432011-11-17 Ulrich Drepper <drepper@gmail.com>
21244
21245 * Makefile.in: Remove CVSOPT handling.
21246 * configure.in: Remove use of AC_REVISION.
21247 * iconvdata/Makefile (distribute): No need to filter out CVS.
21248 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21249 handling.
21250
5583a086
AS
212512011-11-16 Andreas Schwab <schwab@redhat.com>
21252
21253 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21254 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21255 [USE_AS_STRNCASECMP_L]: Likewise.
21256 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21257 NO_TLS_DIRECT_SEG_REFS.
21258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21259 Fix argument offsets for non-PIC.
21260 [USE_AS_STRNCASECMP_L]: Likewise.
21261 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21262 NO_TLS_DIRECT_SEG_REFS.
21263
d62a8200
UD
212642011-11-15 Ulrich Drepper <drepper@gmail.com>
21265
9d65ea3a 21266 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21267 O_CLOEXEC.
21268 * locale/loadlocale.c (_nl_load_locale): Likewise.
21269
09f93bd3
AS
212702011-11-15 Andreas Schwab <schwab@redhat.com>
21271
446514f9
AS
21272 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21273 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21274 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21275 (SYSCALL_GETTIME): Set errno on error.
21276
09f93bd3
AS
21277 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21278 count references to noai6ai_cached.
21279
312be3f9
UD
212802011-11-15 Ulrich Drepper <drepper@gmail.com>
21281
21282 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21283
21284 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21285 FD_CLOEXEC for /proc/self/maps.
21286
21287 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21288 FD_CLOEXEC for /proc/meminfo.
21289
21290 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21291 gai.conf.
21292
21293 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21294 FD_CLOEXEC for given file.
21295
21296 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21297
21298 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21299 FD_CLOEXEC for /etc/hosts.
21300 (_gethtent): Likewise.
21301
21302 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21303
21304 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21305 cancellation and set FD_CLOEXEC for /etc/netgroup.
21306
21307 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21308 reading /etc/publickey.
21309
21310 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21311 allow cancellation when reading /etc/group.
21312
21313 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21314 cancellation.
21315 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21316
21317 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21318 when using data file.
21319
21320 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21321
21322 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21323 (write_nis_obj): Use "c" and "e" in fopen.
21324
21325 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21326
21327 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21328
21329 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21330
21331 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21332
21333 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21334 locale.alias.
21335
21336 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21337
21338 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21339
21340 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21341
21342 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21343 file parsing and set FD_CLOEXEC.
21344
82af0fa8
UD
213452011-11-14 Ulrich Drepper <drepper@gmail.com>
21346
21347 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21348
a5fb313c
AS
213492011-11-14 Andreas Schwab <schwab@redhat.com>
21350
21351 * malloc/arena.c (arena_get2): Don't call reused_arena when
21352 _int_new_arena failed.
21353
6abf3465
UD
213542011-11-14 Ulrich Drepper <drepper@gmail.com>
21355
21356 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21357 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21358 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21359 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21360 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21361 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21362 to compile strcasecmp and strncasecmp.
21363 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21364 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21365
21366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21367
76e3966e
UD
213682011-11-13 Ulrich Drepper <drepper@gmail.com>
21369
21370 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21371 locale-defines.sym to gen-as-const-headers.
21372 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21373 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21375 to compile strcasecmp and strncasecmp.
21376 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21377 strcasecmp_l and strncasecmp_l.
21378 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21379 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21380 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21381 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21382 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21383 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21384 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21385 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21386 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21387 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21388 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21389
ab26144e
UD
213902011-11-12 Ulrich Drepper <drepper@gmail.com>
21391
7edb22ef
UD
21392 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21393 result of SYSDEP_GETTIME_CPU to retval.
21394 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21395 parameter list to macro. Remove trailing semicolon. Adjust users.
21396
9694fc44
UD
21397 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21398 variable.
21399
8ad89ef8
UD
21400 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21401 mantissa words.
21402 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21403
0c822ef9
UD
21404 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21405 from unused variable.
21406
874e0564
UD
21407 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21408 DWARF definitions.
21409 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21410 for assembling.
21411
3a2edc79
UD
21412 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21413 over namespaces.
21414
f3c2577f
UD
21415 * sunrpc/rpc_prot.c (rejected): Fix case value.
21416
294ce126
UD
21417 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21418 unsigned long long int to avoid warnings in shift.
21419
5e2b63c6
UD
21420 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21421 of use of trans.
21422 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21423 variable tmp.
21424
e7f4b08e
UD
21425 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21426 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21427 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21428
ab26144e
UD
21429 * nis/nis_table.c (nis_list): Use variable of correct type for
21430 result of __follow_path call.
21431
8a6d5255
AZ
214322011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21433
21434 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21435 of math functions ceil, trunc, floor, round, and sqrt, when
21436 avaliable on the platform.
21437 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21438 name clash.
21439 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21440 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21441 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21442
aaddc98c
MP
214432011-10-30 Marek Polacek <mpolacek@redhat.com>
21444
21445 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21446 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21447
95b7042b
RM
214482011-11-11 Roland McGrath <roland@hack.frob.com>
21449
21450 * include/unistd.h: Fix __readlink return type.
21451 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21452
57769839
UD
214532011-11-11 Ulrich Drepper <drepper@gmail.com>
21454
21455 * stdlib/ucontext.h: Undo last change for makecontext.
21456
edc5984d
AS
214572011-11-11 Andreas Schwab <schwab@redhat.com>
21458
98591e58
AS
21459 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21460
edc5984d
AS
21461 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21462 * setjmp/setjmp.h: Mark functions as non-leaf.
21463 * setjmp/bits/setjmp2.h: Likewise.
21464 * stdlib/ucontext.h: Likewise.
21465
77cdc054
AS
214662011-11-10 Andreas Schwab <schwab@redhat.com>
21467
21468 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21469 (reused_arena): Don't check arena limit.
21470 (arena_get2): Atomically check arena limit.
21471
fe72eebd
UD
214722011-11-08 Ulrich Drepper <drepper@gmail.com>
21473
5f078c32
UD
21474 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21475 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21476
fe72eebd
UD
21477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21478 instructions.
21479
ae1bc2fa
AS
214802011-11-07 Andreas Schwab <schwab@redhat.com>
21481
7583a88d
AS
21482 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21483 handler when locking.
21484
ae1bc2fa
AS
21485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21486 Fix size of allocated buffer.
21487
10fb0bfa
AS
214882011-11-04 Andreas Schwab <schwab@redhat.com>
21489
998832a4
AS
21490 [BZ #10103]
21491 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21492 declarations for long double functions.
21493 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21494
10fb0bfa
AS
21495 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21496
3d7ba52b
AS
214972011-11-03 Andreas Schwab <schwab@redhat.com>
21498
a9ae54a1
AS
21499 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21500 installed.
21501
3d7ba52b
AS
21502 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21503 is disabled.
21504
bc8db248
ST
215052011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21506
21507 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21508
45b96dd6
AS
215092011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21510
647776f6
AS
21511 * include/alloca.h (stackinfo_alloca_round): Define.
21512 (extend_alloca): Use it.
21513 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21514 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21515 here.
21516
d91a8b93
AS
21517 * scripts/check-local-headers.sh: Ignore libaudit.h.
21518
45b96dd6
AS
21519 * nscd/Makefile (extra-objs): Make recursively expanded.
21520
432d41ce
UD
215212011-11-01 Ulrich Drepper <drepper@gmail.com>
21522
34372fc6
UD
21523 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21524 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21525
fadb59f8
UD
21526 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21527 * posix/tst-rfc3484-2.c: Likewise.
21528 * posix/tst-rfc3484-3.c: Likewise.
21529
78239589
UD
21530 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21531 process_vm_writev.
21532 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21533 process_vm_writev.
21534 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21535 process_vm_writev from libc using GLIBC_2.15 version.
21536
432d41ce
UD
21537 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21538
02f9c6cf
PP
215392011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21540
21541 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21542 stack usage.
21543
3a2c0242
UD
215442011-10-31 Ulrich Drepper <drepper@gmail.com>
21545
f4ec4833
UD
21546 [BZ #13367]
21547 * nss/getent.c (initgroups_keys): Show error message in case no group
21548 names are given.
21549
3a2c0242
UD
21550 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21551 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21552 __bump_nl_timestamp.
21553 * nscd/connections (nscd_init): When host database is served open
21554 netlink socket and request notification about configuration changes.
21555 (main_loop_poll): Track netlink file descriptor and bump timestamp
21556 in case data becomes available.
21557 (main_loop_epoll): Likewise.
21558 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21559 (database_pers_head): Add extra_data fileds.
21560 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21561 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21562 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21563 Adjust caller.
21564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21565 in6ai data, call __free_in6ai.
21566 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21567 Add -DHAVE_NETLINK.
21568 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21569 interface information. Reuse previous data if netlink timestamp
21570 is not changed.
21571 (__bump_nl_timestamp): New function.
21572 (__free_in6ai): New function.
21573
636064eb
UD
215742011-10-30 Ulrich Drepper <drepper@gmail.com>
21575
21576 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21577 close_not_cancel_no_status here.
21578 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21579
9beb2334
UD
215802011-10-29 Ulrich Drepper <drepper@gmail.com>
21581
6ef76f3b
UD
21582 [BZ #13276]
21583 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21584 return value.
21585
0ffc4f3e 21586 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21587 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21588 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21589
cb95113e
UD
215902011-07-03 Andreas Jaeger <aj@suse.de>
21591
21592 [BZ #10709]
21593 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21594 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21595 * math/libm-test.inc (sin_test): Add test case.
21596
a1b560ff
UD
215972011-10-29 Ulrich Drepper <drepper@gmail.com>
21598
c9aaface
UD
21599 [BZ #13337]
21600 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21601 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21602
d272e7f1
UD
21603 * elf/chroot_canon.c (chroot_canon): Cleanups.
21604
1bc33071
UD
21605 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21606
1760874d
TJ
21607 [BZ #13335]
21608 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21609 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21610
51d91b18
UD
21611 * string/test-strchr.c: Make usable for strchrnul testing.
21612 * string/test-strchrnul.c: New file.
21613 * string/Makefile (strop-tests): Add strchrnul.
21614
a1b560ff 21615 * po/it.po: Update from translation team.
b611fb81 21616 * po/es.po: Likewise.
a1b560ff 21617
a5b81e1f
UD
216182011-10-28 Ulrich Drepper <drepper@gmail.com>
21619
fd52bc6d
UD
21620 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21621 the three constants needed as parameters. Drop the others.
21622 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21623 __m128i_strloadu_tolower.
52e4b9eb
UD
21624 Create and initialize variable zero and use it in all the places
21625 where _mm_setzero_si128 was used.
fd52bc6d 21626
a5b81e1f
UD
21627 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21628 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21629 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21630 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21631 anymore.
21632 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21633 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21634 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21635 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21636 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21637 __mpranred, __mptan.
21638 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21639 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21640 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21641 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21642 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21643 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21644 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21645 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21646 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21647
b4343346
AS
216482011-10-28 Andreas Schwab <schwab@redhat.com>
21649
0c92d8a8
AS
21650 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21651 redefine if SHARED.
21652 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21653
b4343346
AS
21654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21655 wide char related routines to wcsmbs subdir.
21656
3871f58f
AS
216572011-10-27 Andreas Schwab <schwab@redhat.com>
21658
21659 [BZ #13344]
21660 * misc/sys/cdefs.h (__THROWNL): Define.
21661 * posix/unistd.h: Use __THREADNL instead of __THREAD
21662 for memory synchronization functions.
21663
94d44d9f
RM
216642011-10-26 Roland McGrath <roland@hack.frob.com>
21665
21b64b15 21666 [BZ #13349]
94d44d9f
RM
21667 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21668 doesn't exist.
21669 * manual/stdio.texi (Obstack Streams): Node removed.
21670
f6ce9294
AS
216712011-10-26 Andreas Schwab <schwab@redhat.com>
21672
80479147
AS
21673 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21674 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21675 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21676
f6ce9294
AS
21677 * math/math_private.h (math_force_eval): Allow non-addressable
21678 arguments.
21679 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21680
618280a1
UD
216812011-10-25 Ulrich Drepper <drepper@gmail.com>
21682
e0016b11
UD
21683 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21684 file is not needed.
21685
21686 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21687 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21688 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21689 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21690 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21691 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21692 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21693 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21694 Add AVX variants.
21695 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21696 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21697 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21698 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21699 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21700 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21701 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21702 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21703 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21704 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21705 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21706 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21707 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21708 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21709 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21710 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21711 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21712 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21713 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21714
21715 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21716 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21717
618280a1
UD
21718 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21719 place. Use VEX encoding when compiling for AVX.
21720
37822576
AS
217212011-10-25 Andreas Schwab <schwab@redhat.com>
21722
1f1e1947
AS
21723 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21724 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21725
37822576
AS
21726 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21727
31ea014d
UD
217282011-10-25 Ulrich Drepper <drepper@gmail.com>
21729
d7826aa1 21730 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21731 useless if() expression.
d7826aa1
UD
21732 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21733 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21734 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21735 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21736 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21737 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21738 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21739 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21740 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21741 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21742 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21743 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21744 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21745 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21746 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21747 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21748 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21749 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21750 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21751
31ea014d
UD
21752 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21753
16437fec
AS
217542011-10-25 Andreas Schwab <schwab@redhat.com>
21755
21756 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21757 condition.
21758 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21759
31d3cc00
UD
217602011-10-25 Ulrich Drepper <drepper@gmail.com>
21761
21762 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21763 .text section. Avoid duplicate constants.
21764 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21766 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21772 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21773 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21774 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21775 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21776 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21777 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21779 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21781 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21782 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21783 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21785 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21786 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21787 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21788 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21789 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21790 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21791 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21792 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21793 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21794 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21795 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21796 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21797 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21798 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21799 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21800 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21801 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21802 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21803 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21804 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21805 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21806 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21807 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21808 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21809
58985aa9
UD
218102011-10-24 Ulrich Drepper <drepper@gmail.com>
21811
202c9deb
UD
21812 * sysdeps/x86_64/dla.h: Move to ...
21813 * sysdeps/x86_64/fpu/dla.h: ...here.
21814 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21815 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21816
af968f62
UD
21817 * config.make.in: Add have-mfma4 entry.
21818 * configure.in: Substitute libc_cv_cc_fma4.
21819 * math/Makefile (dbl-only-routines): Add sincostab.
21820 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21821 Use __sincostab not sincos.
21822 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21823 name is a macro.
21824 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21828 using __copysign.
21829 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21830 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21831 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21832 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21833 and __inv.
21834 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21835 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21836 __copysign.
21837 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21838 define aliases when function name is a macro.
21839 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21840 sysdeps/ieee754/dbl-64/sincos.tbl.
21841 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21842 fma4-enabled routines.
21843 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21844 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21845 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21846 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21847 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21848 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21849 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21850 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21851 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21852 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21853 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21854 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21855 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21856 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21857 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21858 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21859 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21860 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21861 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21862 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21863 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21864 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21865 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21866 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21868 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21870 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21871 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21872 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21873
58985aa9
UD
21874 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21875 rename.
21876 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21877 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21882 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21883 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21884
a201fbcf
AS
218852011-10-24 Andreas Schwab <schwab@redhat.com>
21886
21887 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21888
fc2ee42a
LD
218892011-10-23 Ulrich Drepper <drepper@gmail.com>
21890
bb3129bd
UD
21891 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21892
0275fff8
UD
21893 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21894 prediction.
21895 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21896
2fa2ae85
UD
21897 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21898 Remove unused variable magic_bits.
21899 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21900
fc2ee42a
LD
21901 * string/strnlen.c: Define and use STRNLEN macro.
21902 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21903 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21904 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21905 * wcsmbs/wcslen.c: Define and use WCSLEN.
21906 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21907 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21908 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21909 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21910 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21911 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21912 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21913
ce7dd29f
LD
219142011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21915
21916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21917 strnlen-sse2-no-bsf.
21918 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21919 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21920 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21921 Add strnlen support.
21922 (USE_AS_STRNLEN): New macro.
21923 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21924 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21925 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21926 * sysdeps/x86_64/wcslen.S: New file.
21927
979c70a3
MZ
219282011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21929
21930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21931 XMM-moves are used for copying on small sizes.
21932
2d09f82f
LD
219332011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21934
21935 * wcsmbs/Makefile (strop-tests): Add wcschr.
21936 * wcsmbs/test-wcschr.c: New file.
21937 * string/test-strchr.c: Update.
21938 Add wcschr support.
21939 (WIDE): New macro.
21940
619fccca
LD
219412011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21942
2d09f82f 21943 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21944 * wcsmbs/test-wcslen.c: New file.
21945 * string/test-strlen.c: Update.
21946 Add wcslen support.
21947 (WIDE): New macro.
21948
09f699ea
UD
219492011-10-23 Ulrich Drepper <drepper@gmail.com>
21950
21951 * po/it.po: Update from translation team.
21952
95584d3b
LD
219532011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21954
21955 * sysdeps/x86_64/wcscmp.S: Update.
21956 Fix wrong comparison semantics.
21957 wcscmp shall use signed comparison not unsigned.
21958 Don't use substraction to avoid overflow bug.
21959 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21960 * wcsmbc/wcscmp.c: Likewise.
21961 * string/test-strcmp.c: Likewise.
21962 Add new tests to check cases with negative values.
21963
c8b3296b
UD
219642011-10-23 Ulrich Drepper <drepper@gmail.com>
21965
21966 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21967 * sysdeps/x86_64/dla.h: ...here. New file.
21968 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21969 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21973 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21976 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21977
246ad57a
AS
219782011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21979
21980 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21981 __ynl_finite aliases.
21982
a1a87169
UD
219832011-10-22 Ulrich Drepper <drepper@gmail.com>
21984
0d355eb7
UD
21985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21986
a1a87169
UD
21987 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21988 define DLA_FMA.
21989 [DLA_FMA] (EMULV): Use DLA_FMA.
21990 [DLA_FMA] (MUL12): Use EMULV.
21991 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21992 that are not needed.
21993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22000
ee2aafe0
AS
220012011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22002
22003 * math/s_nan.c: Undef __nan.
22004 * math/s_nanf.c: Undef __nanf.
22005 * math/s_nanl.c: Undef __nanl.
22006 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22007 "math_private.h".
22008
bc62c2fb
UD
220092011-10-22 Ulrich Drepper <drepper@gmail.com>
22010
77425c63
UD
22011 * math/s_catan.c: Add branch predictions.
22012 * math/s_catanf.c: Likewise.
22013 * math/s_catanh.c: Likewise.
22014 * math/s_catanhf.c: Likewise.
22015 * math/s_catanhl.c: Likewise.
22016 * math/s_catanl.c: Likewise.
22017 * math/s_cexp.c: Likewise.
22018 * math/s_cexpf.c: Likewise.
22019 * math/s_cexpl.c: Likewise.
22020 * math/s_clog.c: Likewise.
22021 * math/s_clog10.c: Likewise.
22022 * math/s_clog10f.c: Likewise.
22023 * math/s_clog10l.c: Likewise.
22024 * math/s_clogf.c: Likewise.
22025 * math/s_clogl.c: Likewise.
22026 * math/s_csqrt.c: Likewise.
22027 * math/s_csqrtf.c: Likewise.
22028 * math/s_csqrtl.c: Likewise.
22029 * math/s_ctanf.c: Likewise.
22030 * math/s_ctanh.c: Likewise.
22031 * math/s_ctanhf.c: Likewise.
22032 * math/s_ctanhl.c: Likewise.
22033 * math/s_ctanl.c: Likewise.
22034
bc62c2fb
UD
22035 * math/math_private.h: Define __nan, __nanf, __nanl.
22036 * math/s_cacosh.c: Include <math_private.h>.
22037 * math/s_cacoshl.c: Likewise.
22038 * math/s_casinh.c: Likewise.
22039 * math/s_casinhf.c: Likewise.
22040 * math/s_casinhl.c: Likewise.
22041 * math/s_ccos.c: Rely entire on ccosh.
22042 * math/s_ccosf.c: Rely entire on ccoshf.
22043 * math/s_ccosl.c: Rely entirely on ccoshl.
22044 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22045 Remove tests for FE_INVALID.
22046 * math/s_ccoshf.c: Likewise.
22047 * math/s_ccoshl.c: Likewise.
22048 * math/s_csin.c: Likewise.
22049 * math/s_csinf.c: Likewise.
22050 * math/s_csinh.c Likewise.
22051 * math/s_csinhf.c: Likewise.
22052 * math/s_csinhl.c: Likewise.
22053 * math/s_csinl.c: Likewise.
22054 * math/s_ctan.c: Likewise.
22055 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22056 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22057 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22058
8ec250a4
UD
220592011-10-21 Ulrich Drepper <drepper@gmail.com>
22060
c196fed8
UD
22061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22062 compilation problems.
22063
8ec250a4
UD
22064 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22065 __builtin_expect.
22066
8d4f46c6
UD
220672011-10-20 Ulrich Drepper <drepper@gmail.com>
22068
ed72b654
UD
22069 * sysdeps/i386/configure.in: Test for -mfma4 option.
22070 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22071 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22072 COMMON_CPUID_INDEX_80000001.
22073 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22074 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22075 use it if FMA3 is not supported.
22076 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22077
8d4f46c6
UD
22078 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22079 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22080
d45c60c2
AS
220812011-10-20 Andreas Schwab <schwab@redhat.com>
22082
22083 [BZ #12892]
22084 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22085 it would create a cycle with a link time dependency.
22086
d9a4d2ab
UD
220872011-10-19 Ulrich Drepper <drepper@gmail.com>
22088
855d1560
UD
22089 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22090 instruction.
22091 * string/Makefile (strop-tests): Add rawmemchr.
22092 * string/test-rawmemchr.c: New file.
22093
d9a4d2ab
UD
22094 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22095 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22096 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22097 when compiling str{,n}casecmp and when AVX is available. Hook up
22098 new optimized code in initializers.
22099
8f3b1ffe
AS
221002011-10-19 Andreas Schwab <schwab@redhat.com>
22101
22102 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22103 __feraiseexcept instead of feraiseexcept.
22104
d38f1dba
UD
221052011-10-18 Ulrich Drepper <drepper@gmail.com>
22106
d9a8d0ab
UD
22107 * math/math_private.h: Define defaults for libc_fetestexcept and
22108 libc_feupdateenv.
22109 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22110 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22111 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22112 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22113 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22114 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22115 libc_fetestexcept and libc_feupdateenv.
22116
4855e3dd
UD
22117 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22118 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22119 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22120 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22121 libc_feholdexcept_setround.
22122
581d30e3
UD
22123 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22124 Add s_nearbyint-c and s_nearbyintf-c.
22125 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22126 nearbyintf inlines.
22127 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22128 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22129 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22130 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22131
d38f1dba
UD
22132 * math/math_private.h: Define defaults for libc_fegetround,
22133 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22134 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22135 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22136 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22137 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22138 standard functions.
22139 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22140 Remove comments and hacks for old compiler versions.
22141 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22142 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22143 libc_feholdexceptl.
22144
caa6c9d8
AS
221452011-10-18 Andreas Schwab <schwab@redhat.com>
22146
22147 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22148 (__feraiseexcept_renamed): Add __NTH.
22149 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22150 namespace violations.
22151
97c066e6
UD
221522011-10-17 Ulrich Drepper <drepper@gmail.com>
22153
99ce7b04
UD
22154 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22155
1004d182
UD
22156 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22157
228a984d
UD
22158 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22159 recently added interfaces.
22160 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22161
c8553a6a
UD
22162 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22163 about macro parameter expansion.
22164
ed22dcf6
UD
22165 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22166 __NO_MATH_INLINES is defined. Cleanups.
22167
22168 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22169 and __floorf is target has SSE4.1.
22170 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22171 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22172 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22173 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22174
b171c137
UD
22175 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22176 name.
22177 (floorf): Likewise.
22178
97c066e6
UD
22179 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22180
629f62ef
AS
221812011-10-17 Andreas Schwab <schwab@redhat.com>
22182
49a43d80
AS
22183 * misc/sys/cdefs.h: Fix last change.
22184
629f62ef
AS
22185 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22186 database lookup.
22187
e453f6cd
UD
221882011-10-16 Ulrich Drepper <drepper@gmail.com>
22189
aa78043a
UD
22190 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22191
ad0f5cad
UD
22192 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22193 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22194 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22195 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22198 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22199 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22200 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22201 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22202 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22203 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22204 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22205 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22206 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22207 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22208 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22209 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22210 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22211 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22212 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22213 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22214
22215 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22216 ceil, ceilf, floor, floorf.
22217
22218 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22219 Perform IRELATIVE relocations last.
22220
e453f6cd
UD
22221 * elf/do-rel.h: Add another parameter nrelative, replacing the
22222 local variable with the same name. Change name of the function
22223 to end in Rel or Rela (uppercase).
22224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22225 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22226 elf_dynamic_do_##reloc function.
22227
fd5bdc09
UD
222282011-10-15 Ulrich Drepper <drepper@gmail.com>
22229
79b195b5
UD
22230 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22231 is sufficient, at least on modern CPUs.
22232
d4a28569
UD
22233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22234
b61099b5
UD
22235 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22236 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22237
bcf01e6d
UD
22238 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22239 __expl_finite.
22240 * math/bits/math-finite.h: Add entries for exp.
22241 * math/e_expl.c: Add __*_finite alias.
22242 * sysdeps/i386/fpu/e_exp.S: Likewise.
22243 * sysdeps/i386/fpu/e_expf.S: Likewise.
22244 * sysdeps/i386/fpu/e_expl.c: Likewise.
22245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22246 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22247 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22249 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22250 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22251 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22252
ba1a0d59
UD
22253 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22254 is sufficient, at least on modern CPUs.
22255
fd5bdc09
UD
22256 * ctype/ctype-info.c (__ctype_init): Define.
22257 * include/ctype.h (__ctype_init): Declare.
22258 (__ctype_b_loc): The variable is always initialized.
22259 (__ctype_toupper_loc): Likewise.
22260 (__ctype_tolower_loc): Likewise.
22261 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22262 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22263
7872cfb0
AS
222642011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22265
b468825a
AS
22266 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22267
7872cfb0
AS
22268 * configure.in: Also look in $cxxmachine/include for C++ system
22269 headers.
22270
be13f7bf
LD
222712011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22272
22273 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22274 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22275 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22276 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22277 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22278 (USE_AS_WMEMCMP): New macro.
22279 Fixing indents.
22280 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22281 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22282 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22283 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22285 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22286 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22287 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22288 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22289 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22290 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22291 (USE_AS_WMEMCMP): New macro.
22292 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22293 * sysdeps/string/test-memcmp.c: Update.
22294 Fix simple_wmemcmp.
22295 Add new tests.
22296 * wcsmbs/wmemcmp.c: Update.
22297 (WMEMCMP): New macro.
22298 Fix overflow bug.
22299
556a2007
AJ
223002011-10-12 Andreas Jaeger <aj@suse.de>
22301
22302 [BZ #13268]
22303 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22304
538faaa7
UD
223052011-10-15 Ulrich Drepper <drepper@gmail.com>
22306
ab6737ff
UD
22307 * libio/iofwide.c (do_length): Avoid warning.
22308
538faaa7
UD
22309 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22310
396a21b1
UD
223112011-10-14 Ulrich Drepper <drepper@gmail.com>
22312
cdf2901f
UD
22313 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22314
38ad40ce
UD
22315 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22316 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22317 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22318 * sysdeps/i386/i686/fpu/e_log.S: New file.
22319 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22320 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22321
396a21b1
UD
22322 * ctype/ctype.h: Add support for inlined isXXX functions when
22323 compiling C++ code.
22324
6b1f68c9
AS
223252011-10-14 Andreas Schwab <schwab@redhat.com>
22326
349290c0
AS
22327 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22328
6b1f68c9
AS
22329 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22330
f2282d42
RM
223312011-10-13 Roland McGrath <roland@hack.frob.com>
22332
22333 [BZ #13291]
22334 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22335
5298ffa8
AS
223362011-10-13 Andreas Schwab <schwab@redhat.com>
22337
714fad23
AS
22338 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22339 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22340 feraiseexcept.
22341
81dcc7fb
AS
22342 * sysdeps/x86_64/memrchr.S: Check for zero size.
22343
5298ffa8
AS
22344 * string/stratcliff.c: Add memrchr tests.
22345
951fbcec
LD
223462011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22347
22348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22349 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22350 rawmemchr-sse2 rawmemchr-sse2-bsf.
22351 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22352 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22353 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22354 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22355 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22356 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22357 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22358 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22359 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22360 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22361 * string/memrchr.c (MEMRCHR): New macro.
22362
0ac5ae23
UD
223632011-10-12 Ulrich Drepper <drepper@gmail.com>
22364
22365 Add integration with gcc's -ffinite-math-only and optimize wrapper
22366 functions in libm.
22367 * Versions.def: Define GLIBC_2.15 version for libm.
22368 * math/Makefile (headers): Add bits/math-finite.h.
22369 * math/bits/math-finite.h: New file.
22370 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22371 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22372 * math/e_acoshl.c: Add __*_finite alias.
22373 * math/e_acosl.c: Likewise.
22374 * math/e_asinl.c: Likewise.
22375 * math/e_atan2l.c: Likewise.
22376 * math/e_atanhl.c: Likewise.
22377 * math/e_coshl.c: Likewise.
22378 * math/e_exp10.c: Likewise.
22379 * math/e_exp10f.c: Likewise.
22380 * math/e_exp10l.c: Likewise.
22381 * math/e_exp2l.c: Likewise.
22382 * math/e_fmodl.c: Likewise.
22383 * math/e_gammal_r.c: Likewise.
22384 * math/e_hypotl.c: Likewise.
22385 * math/e_j0l.c: Likewise.
22386 * math/e_j1l.c: Likewise.
22387 * math/e_jnl.c: Likewise.
22388 * math/e_lgammal_r.c: Likewise.
22389 * math/e_log10l.c: Likewise.
22390 * math/e_log2l.c: Likewise.
22391 * math/e_logl.c: Likewise.
22392 * math/e_powl.c: Likewise.
22393 * math/e_sinhl.c: Likewise.
22394 * math/e_sqrtl.c: Likewise.
22395 * math/e_scalb.c: Completely rewritten and optimized.
22396 * math/e_scalbf.c: Likewise.
22397 * math/e_scalbl.c: Likewise.
22398 * math/w_acos.c: Likewise.
22399 * math/w_acosf.c: Likewise.
22400 * math/w_acosl.c: Likewise.
22401 * math/w_acosh.c: Likewise.
22402 * math/w_acoshf.c: Likewise.
22403 * math/w_acoshl.c: Likewise.
22404 * math/w_asin.c: Likewise.
22405 * math/w_asinf.c: Likewise.
22406 * math/w_asinl.c: Likewise.
22407 * math/w_atan2.c: Likewise.
22408 * math/w_atan2f.c: Likewise.
22409 * math/w_atan2l.c: Likewise.
22410 * math/w_atanh.c: Likewise.
22411 * math/w_atanhf.c: Likewise.
22412 * math/w_atanhl.c: Likewise.
22413 * math/w_exp10.c: Likewise.
22414 * math/w_exp10f.c: Likewise.
22415 * math/w_exp10l.c: Likewise.
22416 * math/w_fmod.c: Likewise.
22417 * math/w_fmodf.c: Likewise.
22418 * math/w_fmodl.c: Likewise.
22419 * math/w_j0.c: Likewise.
22420 * math/w_j0f.c: Likewise.
22421 * math/w_j0l.c: Likewise.
22422 * math/w_j1.c: Likewise.
22423 * math/w_j1f.c: Likewise.
22424 * math/w_j1l.c: Likewise.
22425 * math/w_jn.c: Likewise.
22426 * math/w_jnf.c: Likewise.
22427 * math/w_log.c: Likewise.
22428 * math/w_logf.c: Likewise.
22429 * math/w_logl.c: Likewise.
22430 * math/w_log10.c: Likewise.
22431 * math/w_log10f.c: Likewise.
22432 * math/w_log10l.c: Likewise.
22433 * math/w_log2.c: Likewise.
22434 * math/w_log2f.c: Likewise.
22435 * math/w_log2l.c: Likewise.
22436 * math/w_pow.c: Likewise.
22437 * math/w_powf.c: Likewise.
22438 * math/w_powl.c: Likewise.
22439 * math/w_remainder.c: Likewise.
22440 * math/w_remainderf.c: Likewise.
22441 * math/w_remainderl.c: Likewise.
22442 * math/w_scalb.c: Likewise.
22443 * math/w_scalbf.c: Likewise.
22444 * math/w_scalbl.c: Likewise.
22445 * math/w_sqrt.c: Likewise.
22446 * math/w_sqrtf.c: Likewise.
22447 * math/w_sqrtl.c: Likewise.
22448 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22449 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22450 used.
22451 * math/math_private.h: Declare __kernel_standard_f.
22452 * math/w_cosh.c: Remove cruft and optimize a bit.
22453 * math/w_coshf.c: Likewise.
22454 * math/w_coshl.c: Likewise.
22455 * math/w_exp2.c: Likewise.
22456 * math/w_exp2f.c: Likewise.
22457 * math/w_exp2l.c: Likewise.
22458 * math/w_hypot.c: Likewise.
22459 * math/w_hypotf.c: Likewise.
22460 * math/w_hypotl.c: Likewise.
22461 * math/w_lgamma.c: Likewise.
22462 * math/w_lgamma_r.c: Likewise.
22463 * math/w_lgammaf.c: Likewise.
22464 * math/w_lgammaf_r.c: Likewise.
22465 * math/w_lgammal.c: Likewise.
22466 * math/w_lgammal_r.c: Likewise.
22467 * math/w_sinh.c: Likewise.
22468 * math/w_sinhf.c: Likewise.
22469 * math/w_sinhl.c: Likewise.
22470 * math/w_tgamma.c: Likewise.
22471 * math/w_tgammaf.c: Likewise.
22472 * math/w_tgammal.c: Likewise.
22473 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22474 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22475 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22476 Minor optimizations. Pretty printing. Remove cruft.
22477 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22478 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22479 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22480 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22481 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22482 * sysdeps/i386/fpu/e_asin.S: Likewise.
22483 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22484 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22485 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22486 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22487 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22488 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22489 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22490 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22491 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22492 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22493 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22494 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22495 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22496 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22497 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22498 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22499 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22500 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22501 * sysdeps/i386/fpu/e_log.S: Likewise.
22502 * sysdeps/i386/fpu/e_log10.S: Likewise.
22503 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22504 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22505 * sysdeps/i386/fpu/e_log2.S: Likewise.
22506 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22507 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22508 * sysdeps/i386/fpu/e_logf.S: Likewise.
22509 * sysdeps/i386/fpu/e_logl.S: Likewise.
22510 * sysdeps/i386/fpu/e_pow.S: Likewise.
22511 * sysdeps/i386/fpu/e_powf.S: Likewise.
22512 * sysdeps/i386/fpu/e_powl.S: Likewise.
22513 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22514 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22515 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22516 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22517 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22518 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22519 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22520 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22521 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22522 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22523 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22525 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22526 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22527 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22528 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22529 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22530 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22531 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22532 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22533 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22535 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22536 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22538 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22539 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22543 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22544 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22545 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22546 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22547 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22548 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22549 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22550 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22551 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22552 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22553 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22554 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22555 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22556 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22557 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22558 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22559 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22560 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22561 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22562 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22563 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22564 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22565 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22566 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22572 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22573 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22574 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22605 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22606 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22607 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22608 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22609 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22610 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22613 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22614 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22615 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22616 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22617 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22618 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22619 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22620 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22621 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22622 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22623 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22624 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22625 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22626 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22627 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22628 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22629 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22630 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22631 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22632 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22633 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22634 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22635 (__isnanf): Likewise.
22636 (__isinf_ns): Likewise.
22637 (__isinf_nsf): Likewise.
22638 (__finite): Likewise.
22639 (__finitef): Likewise.
22640 (__ieee754_sqrt): Define as macro.
22641 (__ieee754_sqrtf): Define as macro.
22642 (__ieee754_sqrtl): Define as macro.
22643 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22644 inlined copy.
22645 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22646 __FINITE_MATH_ONLY__ consistent.
22647 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22648
12cc2fcd
AS
226492011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22650
a843a204
AS
22651 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22652 of rawmemchr.
22653
12cc2fcd
AS
22654 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22655
c853acd5
UD
226562011-10-09 Ulrich Drepper <drepper@gmail.com>
22657
22658 * po/ja.po: Update from translation team.
22659
c658d255
RM
226602011-10-08 Roland McGrath <roland@hack.frob.com>
22661
110946e4
RM
22662 * locale/programs/locarchive.c (prepare_address_space): New function.
22663 (create_archive, enlarge_archive, open_archive): Use it.
22664
50604220
RM
22665 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22666 inside [SHARED], where it is used.
22667
c658d255
RM
22668 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22669
22670 * nss/getent.c (netgroup_keys): Remove unused variable.
22671 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22672
6a621eb7
UD
226732011-10-08 Ulrich Drepper <drepper@gmail.com>
22674
7edb55ce
UD
22675 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22676 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22677 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22678 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22679 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22680 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22681 * math/Makefile (libm-calls): Add s_isinf_ns.
22682 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22683 * math/multc3.c: Likewise.
22684 * math/s_casin.c: Likewise.
22685 * math/s_casinf.c: Likewise.
22686 * math/s_casinl.c: Likewise.
22687 * math/s_ccos.c: Likewise.
22688 * math/s_ccosf.c: Likewise.
22689 * math/s_ccosl.c: Likewise.
22690 * math/s_ctan.c: Likewise.
22691 * math/s_ctanf.c: Likewise.
22692 * math/s_ctanh.c: Likewise.
22693 * math/s_ctanhf.c: Likewise.
22694 * math/s_ctanhl.c: Likewise.
22695 * math/s_ctanl.c: Likewise.
22696 * math/w_fmod.c: Likewise.
22697 * math/w_fmodf.c: Likewise.
22698 * math/w_fmodl.c: Likewise.
22699 * math/w_remainder.c: Likewise.
22700 * math/w_remainderf.c: Likewise.
22701 * math/w_remainderl.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22703 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22704 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22706 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22707 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22708 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22709 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22710
187da0ae
UD
22711 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22712 of the number.
22713 * stdio-common/printf_fphex.c: Likewise.
22714 * stdio-common/printf_size.c: Likewise.
22715
9277c064
UD
22716 * math/e_exp10.c: Include math_private.h using <...> not "...".
22717 * math/e_exp10f.c: Likewise.
22718 * math/e_exp10l.c: Likewise.
22719 * math/e_exp2l.c: Likewise.
22720 * math/e_j0l.c: Likewise.
22721 * math/e_j1l.c: Likewise.
22722 * math/e_jnl.c: Likewise.
22723 * math/e_lgammal_r.c: Likewise.
22724 * math/e_rem_pio2l.c: Likewise.
22725 * math/e_scalb.c: Likewise.
22726 * math/e_scalbf.c: Likewise.
22727 * math/e_scalbl.c: Likewise.
22728 * math/k_cosl.c: Likewise.
22729 * math/k_sinl.c: Likewise.
22730 * math/k_tanl.c: Likewise.
22731 * math/s_cacoshf.c: Likewise.
22732 * math/s_catan.c: Likewise.
22733 * math/s_catanf.c: Likewise.
22734 * math/s_catanh.c: Likewise.
22735 * math/s_catanhf.c: Likewise.
22736 * math/s_catanhl.c: Likewise.
22737 * math/s_catanl.c: Likewise.
22738 * math/s_ccosh.c: Likewise.
22739 * math/s_ccoshf.c: Likewise.
22740 * math/s_ccoshl.c: Likewise.
22741 * math/s_cexp.c: Likewise.
22742 * math/s_cexpf.c: Likewise.
22743 * math/s_cexpl.c: Likewise.
22744 * math/s_clog.c: Likewise.
22745 * math/s_clog10.c: Likewise.
22746 * math/s_clog10f.c: Likewise.
22747 * math/s_clog10l.c: Likewise.
22748 * math/s_clogf.c: Likewise.
22749 * math/s_clogl.c: Likewise.
22750 * math/s_csin.c: Likewise.
22751 * math/s_csinf.c: Likewise.
22752 * math/s_csinh.c: Likewise.
22753 * math/s_csinhf.c: Likewise.
22754 * math/s_csinhl.c: Likewise.
22755 * math/s_csinl.c: Likewise.
22756 * math/s_csqrt.c: Likewise.
22757 * math/s_csqrtf.c: Likewise.
22758 * math/s_csqrtl.c: Likewise.
22759 * math/s_ctan.c: Likewise.
22760 * math/s_ctanf.c: Likewise.
22761 * math/s_ctanh.c: Likewise.
22762 * math/s_ctanhf.c: Likewise.
22763 * math/s_ctanhl.c: Likewise.
22764 * math/s_ctanl.c: Likewise.
22765 * math/s_ldexp.c: Likewise.
22766 * math/s_ldexpf.c: Likewise.
22767 * math/s_ldexpl.c: Likewise.
22768 * math/s_significand.c: Likewise.
22769 * math/s_significandf.c: Likewise.
22770 * math/s_significandl.c: Likewise.
22771 * math/w_acos.c: Likewise.
22772 * math/w_acosf.c: Likewise.
22773 * math/w_acosh.c: Likewise.
22774 * math/w_acoshf.c: Likewise.
22775 * math/w_acoshl.c: Likewise.
22776 * math/w_acosl.c: Likewise.
22777 * math/w_asin.c: Likewise.
22778 * math/w_asinf.c: Likewise.
22779 * math/w_asinl.c: Likewise.
22780 * math/w_atan2.c: Likewise.
22781 * math/w_atan2f.c: Likewise.
22782 * math/w_atan2l.c: Likewise.
22783 * math/w_atanh.c: Likewise.
22784 * math/w_atanhf.c: Likewise.
22785 * math/w_atanhl.c: Likewise.
22786 * math/w_cosh.c: Likewise.
22787 * math/w_coshf.c: Likewise.
22788 * math/w_coshl.c: Likewise.
22789 * math/w_dremf.c: Likewise.
22790 * math/w_exp10.c: Likewise.
22791 * math/w_exp10f.c: Likewise.
22792 * math/w_exp10l.c: Likewise.
22793 * math/w_exp2.c: Likewise.
22794 * math/w_exp2f.c: Likewise.
22795 * math/w_fmod.c: Likewise.
22796 * math/w_fmodf.c: Likewise.
22797 * math/w_fmodl.c: Likewise.
22798 * math/w_hypot.c: Likewise.
22799 * math/w_hypotf.c: Likewise.
22800 * math/w_hypotl.c: Likewise.
22801 * math/w_j0.c: Likewise.
22802 * math/w_j0f.c: Likewise.
22803 * math/w_j0l.c: Likewise.
22804 * math/w_j1.c: Likewise.
22805 * math/w_j1f.c: Likewise.
22806 * math/w_j1l.c: Likewise.
22807 * math/w_jn.c: Likewise.
22808 * math/w_jnf.c: Likewise.
22809 * math/w_jnl.c: Likewise.
22810 * math/w_lgamma.c: Likewise.
22811 * math/w_lgamma_r.c: Likewise.
22812 * math/w_lgammaf.c: Likewise.
22813 * math/w_lgammaf_r.c: Likewise.
22814 * math/w_lgammal.c: Likewise.
22815 * math/w_lgammal_r.c: Likewise.
22816 * math/w_log.c: Likewise.
22817 * math/w_log10.c: Likewise.
22818 * math/w_log10f.c: Likewise.
22819 * math/w_log10l.c: Likewise.
22820 * math/w_log2.c: Likewise.
22821 * math/w_log2f.c: Likewise.
22822 * math/w_log2l.c: Likewise.
22823 * math/w_logf.c: Likewise.
22824 * math/w_logl.c: Likewise.
22825 * math/w_pow.c: Likewise.
22826 * math/w_powf.c: Likewise.
22827 * math/w_powl.c: Likewise.
22828 * math/w_remainder.c: Likewise.
22829 * math/w_remainderf.c: Likewise.
22830 * math/w_remainderl.c: Likewise.
22831 * math/w_scalb.c: Likewise.
22832 * math/w_scalbf.c: Likewise.
22833 * math/w_scalbl.c: Likewise.
22834 * math/w_sinh.c: Likewise.
22835 * math/w_sinhf.c: Likewise.
22836 * math/w_sinhl.c: Likewise.
22837 * math/w_sqrt.c: Likewise.
22838 * math/w_sqrtf.c: Likewise.
22839 * math/w_sqrtl.c: Likewise.
22840 * math/w_tgamma.c: Likewise.
22841 * math/w_tgammaf.c: Likewise.
22842 * math/w_tgammal.c: Likewise.
22843
6a621eb7
UD
22844 * po/ja.po: Update from translation team.
22845
bf582445
AJ
228462011-09-29 Andreas Jaeger <aj@suse.de>
22847
f9efbf3a
AJ
22848 [BZ #13179]
22849 * sunrpc/netname.c (netname2host): Fix logic.
22850
bf582445
AJ
22851 [BZ #6779]
22852 [BZ #6783]
22853 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22854 correctly.
22855 * math/w_remainder.c (__remainder): Likewise.
22856 * math/w_remainderf.c (__remainderf): Likewise.
22857 * math/libm-test.inc (remainder_test): Add test cases.
22858
48693bea
AK
228592011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22860
22861 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22862 sdiv_qrnnd.
22863
42622229
LD
228642011-10-07 Ulrich Drepper <drepper@gmail.com>
22865
22866 * string/test-memcmp.c: Avoid unncessary #defines.
22867 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22868
093ecf92
LD
228692011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22870
22871 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22872 Use new sse2 version for core i3 - i7 as it's faster
22873 than sse42 version.
22874 (bit_Prefer_PMINUB_for_stringop): New.
22875 * sysdeps/x86_64/rawmemchr.S: Update.
22876 Replace with faster SSE2 version.
22877 * sysdeps/x86_64/memrchr.S: New file.
22878 * sysdeps/x86_64/memchr.S: Update.
22879 Replace with faster SSE2 version.
22880
fde56e5c
MP
228812011-09-12 Marek Polacek <mpolacek@redhat.com>
22882
22883 * elf/dl-load.c (lose): Add cast to avoid warning.
22884
21fd49a9
UD
228852011-10-07 Ulrich Drepper <drepper@gmail.com>
22886
5a06e643
UD
22887 * po/ca.po: Update from translation team.
22888
684ae515
UD
22889 * inet/getnetgrent_r.c: Hook up nscd.
22890 * nscd/Makefile (routines): Add nscd_netgroup.
22891 (nscd-modules): Add netgroupcache.
22892 (CFLAGS-netgroupcache.c): Define.
22893 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22894 (cache_search): Add const to second parameter.
22895 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22896 INNETGR.
22897 (dbs): Add netgrdb entry.
22898 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22899 (verify_persistent_db): Handle netgrdb.
22900 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22901 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22902 GETFDNETGR.
22903 (netgroup_response_header): Define.
22904 (innetgroup_response_header): Define.
22905 (datahead): Add netgroup_response_header and innetgroup_response_header
22906 elements.
22907 * nscd/nscd.conf: Add entries for netgroup cache.
22908 * nscd/nscd.h (dbtype): Add netgrdb.
22909 (_PATH_NSCD_NETGROUP_DB): Define.
22910 (netgroup_iov_disabled): Declare.
22911 (xmalloc, xcalloc, xrealloc): Move declarations here.
22912 (cache_search): Adjust prototype.
22913 Add netgroup-related prototypes.
22914 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22915 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22916 (__nscd_innetgr): Declare.
22917 * nscd/selinux.c (perms): Use access_vector_t as element type and
22918 add netgroup-related initializers.
22919 * nscd/netgroupcache.c: New file.
22920 * nscd/nscd_netgroup.c: New file.
22921 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22922 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22923 For four parameters use innetgr.
22924 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22925 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22926 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22927 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22928
21fd49a9
UD
22929 * nscd/connections.c (register_traced_file): Don't register file
22930 for disabled databases.
22931
054c0457
UD
229322011-10-06 Ulrich Drepper <drepper@gmail.com>
22933
32b63198
UD
22934 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22935
054c0457
UD
22936 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22937 from tree and freeing node.
22938
64031225
JO
229392011-09-25 Jiri Olsa <jolsa@redhat.com>
22940
22941 * nss/nsswitch.c (__nss_database_lookup): Handle
22942 nss_parse_service_list out of memory case.
22943
0490345c
JO
229442011-09-15 Jiri Olsa <jolsa@redhat.com>
22945
22946 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22947 out of memory case.
22948
3a62d00d
AS
229492011-10-04 Andreas Schwab <schwab@redhat.com>
22950
22951 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22952 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22953 pass it down.
22954 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22955 elf_machine_rela, elf_machine_lazy_rel.
22956 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22957 (ELF_DYNAMIC_DO_REL): Likewise.
22958 (ELF_DYNAMIC_DO_RELA): Likewise.
22959 (ELF_DYNAMIC_RELOCATE): Likewise.
22960 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22961 to ELF_DYNAMIC_DO_REL.
22962 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22963 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22964 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22965 elf_machine_rela.
22966 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22967 skip_ifunc, don't call ifunc function if non-zero.
22968 (elf_machine_rela): Likewise.
22969 (elf_machine_lazy_rel): Likewise.
22970 (elf_machine_lazy_rela): Likewise.
22971 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22972 (elf_machine_lazy_rel): Likewise.
22973 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22974 Likewise.
22975 (elf_machine_lazy_rel): Likewise.
22976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22977 Likewise.
22978 (elf_machine_lazy_rel): Likewise.
22979 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22980 (elf_machine_lazy_rel): Likewise.
22981 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22982 (elf_machine_lazy_rel): Likewise.
22983 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22984 (elf_machine_lazy_rel): Likewise.
22985 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22986 (elf_machine_lazy_rel): Likewise.
22987 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22988 (elf_machine_lazy_rel): Likewise.
22989 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22990 (elf_machine_lazy_rel): Likewise.
22991
68577918
UD
229922011-09-28 Ulrich Drepper <drepper@gmail.com>
22993
22994 * nss/nss_files/files-init.c (_nss_files_init): Use static
22995 initialization for all the *_traced_file variables.
22996
68822d74
AS
229972011-09-28 Andreas Schwab <schwab@redhat.com>
22998
22999 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23000
2056100b
RM
230012011-09-27 Roland McGrath <roland@hack.frob.com>
23002
23003 [BZ #13226]
23004 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23005
32c76b63
AS
230062011-09-27 Andreas Schwab <schwab@redhat.com>
23007
23008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23009 Reread the line before reparsing it.
23010
bf972c9d
AS
230112011-09-26 Andreas Schwab <schwab@redhat.com>
23012
23013 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23014
e057a1b5
JM
230152011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23016 Maxim Kuvyrkov <maxim@codesourcery.com>
23017 Joseph Myers <joseph@codesourcery.com>
23018
23019 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23020 if needed for __stack_chk_guard.
23021
bc7e1c36
RM
230222011-09-19 Roland McGrath <roland@hack.frob.com>
23023
ecb1482f
RM
23024 * sysdeps/posix/spawni.c (script_execute): Always define it.
23025 It will be optimized away if unused.
23026 (maybe_script_execute): New function.
23027 (__spawni): Call it.
23028
bc7e1c36
RM
23029 * Makerules: Don't include tls.make.
23030 (config-tls): Always set to thread.
23031 * tls.make.c: File removed.
23032
1c3b002b
MF
230332011-09-19 Mike Frysinger <vapier@gentoo.org>
23034
23035 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23036 * config.make.in (CPPFLAGS-config): New substituted variable.
23037
2840865d
UD
230382011-09-15 Ulrich Drepper <drepper@gmail.com>
23039
88738eb6
UD
23040 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23041
cbf645a6 23042 [BZ #13192]
2840865d
UD
23043 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23044 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23045
b402e91a
RM
230462011-09-15 Roland McGrath <roland@hack.frob.com>
23047
23048 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23049 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23051 (CALL_FAIL): Likewise.
23052 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23053 (CALL_FAIL): Macro removed.
23054 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23055
4c1a1f71
UD
230562011-09-15 Ulrich Drepper <drepper@gmail.com>
23057
23058 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23059 for __FINITE_MATH_ONLY__ == 1.
23060
edc121be
AS
230612011-09-15 Andreas Schwab <schwab@redhat.com>
23062
23063 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23064 __ieee754_sqrt instead of sqrt.
23065 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23066 __ieee754_sqrtf instead of sqrtf.
23067 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23068 __floorf instead of floorf.
23069 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23070 __floorf, __truncf instead of floorf, truncf.
23071
cd205654
UD
230722011-09-14 Ulrich Drepper <drepper@gmail.com>
23073
ee4d0315
UD
23074 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23075
cd205654
UD
23076 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23077 __extern_always_inline.
23078 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23079 32-bit.
23080
48b67d71
AS
230812011-09-14 Andreas Schwab <schwab@redhat.com>
23082
23083 * elf/rtld.c (dl_main): Also relocate in dependency order when
23084 doing symbol dependency testing.
23085
1ae12c75
AS
230862011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23087
23088 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23089 Always define `refsym'.
23090
995a80df
AS
230912011-09-13 Andreas Schwab <schwab@redhat.com>
23092
e529793b
AS
23093 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23094 (__FD_ELT): Renamed from __FDELT.
23095 * misc/bits/select2.h (__FD_ELT): Likewise.
23096 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23097 __FD_MASK instead of __FDELT, __FDMASK.
23098 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23099 Likewise.
23100 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23101 Likewise.
23102
52d4fef8
AS
23103 * elf/Makefile (gen-ldd): Fix pattern.
23104
995a80df
AS
23105 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23106 (init_tls): Likewise.
23107
8682f8b0
UD
231082011-09-12 Ulrich Drepper <drepper@gmail.com>
23109
23110 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23111
de82006d
AS
231122011-09-12 Andreas Schwab <schwab@redhat.com>
23113
a7c8e6a1
AS
23114 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23115 `struct cmsghdr *' instead of `void *'.
23116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23117 Likewise.
23118
0f31fe77
AS
231192011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23120
23121 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23122 if non-absolute.
23123 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23124 ldd_rewrite_script.
0f31fe77 23125
32b4c839
UD
231262011-09-11 Ulrich Drepper <drepper@gmail.com>
23127
83cd1420
UD
23128 * configure.in: Remove --with-tls option.
23129 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23130 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23131 out in case it is missing.
23132 * sysdeps/ia64/elf/configure.in: Likewise.
23133 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23134 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23135 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23136 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23137 * sysdeps/sh/elf/configure.in: Likewise.
23138 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23139 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23140 * sysdeps/x86_64/elf/configure.in: Likewise.
23141 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23142 * sysdeps/mach/hurd/tls.h: Likewise.
23143
633f745d
UD
23144 [BZ #13067]
23145 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23146
f318beb8
UD
23147 [BZ #13090]
23148 * configure.in: Fix use of AC_INIT.
23149
32b4c839
UD
23150 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23151
3ce1f295
UD
231522011-09-10 Ulrich Drepper <drepper@gmail.com>
23153
bb016596
UD
23154 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23155 __set_errno.
8e58439c
UD
23156 * malloc/hooks.c: Likewise.
23157
aebae053 23158 [BZ #11929]
02d46fc4
UD
23159 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23160 variables statically.
23161 (narenas): Initialize.
23162 (list_lock): Initialize.
bb016596
UD
23163 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23164 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23165 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23166 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23167 Add initializers to main_arena and mp_.
23168 (malloc_state): Remove pagesize member. Change all users to use
23169 GLRO(dl_pagesize).
23170
23171 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23172 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23173 is always initialized.
23174
22a89187
UD
23175 * malloc/malloc.c: Removed unused configurations and dead code.
23176 * malloc/arena.c: Likewise.
23177 * malloc/hooks.c: Likewise.
02d46fc4 23178 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23179
d063d164
UD
23180 * include/tls.h: Removed. USE___THREAD must always be defined.
23181 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23182 * elf/dl-libc.c: Likewise.
23183 * elf/dl-tsd.c: Likewise.
23184 * include/errno.h: Likewise.
23185 * include/netdb.h: Likewise.
23186 * include/resolv.h: Likewise.
23187 * inet/herrno-loc.c: Likewise.
23188 * inet/herrno.c: Likewise.
23189 * malloc/arena.c: Likewise.
23190 * malloc/hooks.c: Likewise.
23191 * malloc/malloc.c: Likewise.
23192 * resolv/res-state.c: Likewise.
23193 * resolv/res_libc.c: Likewise.
23194 * sysdeps/i386/dl-machine.h: Likewise.
23195 * sysdeps/ia64/dl-machine.h: Likewise.
23196 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23197 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23198 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23199 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23200 * sysdeps/sh/dl-machine.h: Likewise.
23201 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23202 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23203 * sysdeps/unix/i386/sysdep.S: Likewise.
23204 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23205 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23206 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23207 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23208 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23210 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23214 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23215 * sysdeps/x86_64/dl-machine.h: Likewise.
23216 * tls.make.c: Likewise.
23217
3ce1f295
UD
23218 * configure.in: Remove --with-__thread option. Make tests for
23219 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23220 tls_model attribute fail if no support is available. Remove
23221 USE_IN_LIBIO.
23222 * Makeconfig: Adjust for dropped configure option. All features are
23223 now mandatory.
23224 * Makerules: Likewise.
23225 * Versions.def: Likewise.
23226 * argp/argp-fmtstream.c: Likewise.
23227 * argp/argp-fmtstream.h: Likewise.
23228 * argp/argp-help.c: Likewise.
23229 * assert/assert.c: Likewise.
23230 * config.h.in: Likewise.
23231 * config.make.in: Likewise.
23232 * configure: Likewise.
23233 * configure.in: Likewise.
23234 * csu/Versions: Likewise.
23235 * csu/init.c: Likewise.
23236 * elf/tst-audit2.c: Likewise.
23237 * elf/tst-tls10.c: Likewise.
23238 * elf/tst-tls10.h: Likewise.
23239 * elf/tst-tls11.c: Likewise.
23240 * elf/tst-tls12.c: Likewise.
23241 * elf/tst-tls14.c: Likewise.
23242 * elf/tst-tlsmod11.c: Likewise.
23243 * elf/tst-tlsmod12.c: Likewise.
23244 * elf/tst-tlsmod13.c: Likewise.
23245 * elf/tst-tlsmod13a.c: Likewise.
23246 * elf/tst-tlsmod14a.c: Likewise.
23247 * elf/tst-tlsmod15b.c: Likewise.
23248 * elf/tst-tlsmod16a.c: Likewise.
23249 * elf/tst-tlsmod16b.c: Likewise.
23250 * elf/tst-tlsmod7.c: Likewise.
23251 * elf/tst-tlsmod8.c: Likewise.
23252 * elf/tst-tlsmod9.c: Likewise.
23253 * gmon/gmon.c: Likewise.
23254 * grp/fgetgrent_r.c: Likewise.
23255 * grp/putgrent.c: Likewise.
23256 * hurd/fopenport.c: Likewise.
23257 * include/libc-symbols.h: Likewise.
23258 * include/tls.h: Likewise.
23259 * intl/gettextP.h: Likewise.
23260 * intl/loadinfo.h: Likewise.
23261 * locale/global-locale.c: Likewise.
23262 * locale/localeinfo.h: Likewise.
23263 * mach/devstream.c: Likewise.
23264 * malloc/arena.c: Likewise.
23265 * malloc/set-freeres.c: Likewise.
23266 * misc/err.c: Likewise.
23267 * misc/getttyent.c: Likewise.
23268 * misc/mntent_r.c: Likewise.
23269 * posix/getopt.c: Likewise.
23270 * posix/wordexp.c: Likewise.
23271 * pwd/fgetpwent_r.c: Likewise.
23272 * resolv/Versions: Likewise.
23273 * resolv/res_hconf.c: Likewise.
23274 * shadow/fgetspent_r.c: Likewise.
23275 * shadow/putspent.c: Likewise.
23276 * stdio-common/printf_fphex.c: Likewise.
23277 * stdio-common/tmpfile.c: Likewise.
23278 * stdlib/abort.c: Likewise.
23279 * stdlib/fmtmsg.c: Likewise.
23280 * sunrpc/auth_unix.c: Likewise.
23281 * sunrpc/clnt_perr.c: Likewise.
23282 * sunrpc/clnt_tcp.c: Likewise.
23283 * sunrpc/clnt_udp.c: Likewise.
23284 * sunrpc/clnt_unix.c: Likewise.
23285 * sunrpc/openchild.c: Likewise.
23286 * sunrpc/svc_simple.c: Likewise.
23287 * sunrpc/svc_tcp.c: Likewise.
23288 * sunrpc/svc_udp.c: Likewise.
23289 * sunrpc/svc_unix.c: Likewise.
23290 * sunrpc/xdr.c: Likewise.
23291 * sunrpc/xdr_array.c: Likewise.
23292 * sunrpc/xdr_rec.c: Likewise.
23293 * sunrpc/xdr_ref.c: Likewise.
23294 * sunrpc/xdr_stdio.c: Likewise.
23295
1248c1c4
PB
232962011-09-09 Ulrich Drepper <drepper@gmail.com>
23297
23298 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23299
233002011-07-03 Andreas Jaeger <aj@suse.de>
23301
23302 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23303 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23304 regenerate with gen-libm-tests.pl.
23305
233062010-05-12 Petr Baudis <pasky@suse.cz>
23307
23308 [BZ #11589]
23309 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23310 around j0() zero points by switching to j1().
23311 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23314 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23315
f22e1074
UD
233162011-09-09 Ulrich Drepper <drepper@gmail.com>
23317
f19009c1
UD
23318 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23319 instead of 0.
23320 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23321 instead of 0.
f19009c1
UD
23322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23323 Patch in part by Pavel Roskin <proski@gnu.org>.
23324
3f8cc204
UD
23325 [BZ #13138]
23326 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23327 realloc.
23328 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23329 Free memory block if necessary.
23330
f22e1074
UD
23331 [BZ #12847]
23332 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23333 be NULL. Don't lock in this case.
23334
0a2349f9
RM
233352011-09-09 Roland McGrath <roland@hack.frob.com>
23336
23337 * elf/elf.h (ELFOSABI_GNU): New macro.
23338 (ELFOSABI_LINUX): Define to that.
23339
f3cdd467
DZ
233402011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23341
23342 * string/strncat.c (strncat): Undef the symbol in case it has been
23343 defined in bits/string.h.
23344
74718d13
UD
233452011-09-09 Ulrich Drepper <drepper@gmail.com>
23346
633e9e0f
UD
23347 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23348
0a2349f9 23349 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23350 link map.
23351
f9924780
AJ
233522011-08-17 Andreas Jaeger <aj@suse.de>
23353
23354 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23355
7f5517aa
PP
233562011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23357 Ian Lance Taylor <iant@google.com>
23358
23359 * math/libm-test.inc (lround_test): New testcase.
23360 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23361
762011fe
UD
233622011-09-08 Ulrich Drepper <drepper@gmail.com>
23363
92963737
UD
23364 * Makefile: Remove support for automatic cvs check-ins.
23365 * Makerules: Likewise.
23366 * config.make.in: Likewise.
23367 * configure.in: Likewise.
23368 * intl/Makefile: Likewise.
23369 * locale/Makefile: Likewise.
23370 * po/Makefile: Likewise.
23371 * posix/Makefile: Likewise.
23372 * sysdeps/gnu/Makefile: Likewise.
23373 * sysdeps/mach/hurd/Makefile: Likewise.
23374 * sysdeps/sparc/sparc32/Makefile: Likewise.
23375
b0727fd8
JS
23376 [BZ #13118]
23377 * posix/Makefile (bug-regex32-ENV): Define.
23378 Patch by John Stanley <jpsinthemix@verizon.net>.
23379
a0f33f99
UD
23380 * misc/Makefile (headers): Add bits/select2.h.
23381 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23382 * misc/bits/select2.h: New file.
23383 * include/bits/select2.h: New file.
23384 * debug/Makefile (routines): Add fdelt_chk.
23385 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23386 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23387 FD_ISSET.
23388 * debug/fdelt_chk.c: New file.
23389
762011fe
UD
23390 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23391 * wcsmbs/test-wmemcmp.c: Likewise.
23392 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23393 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23394
233952011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23396
23397 * string/Makefile (strop-tests): Add memcmp.
23398 * string/test-wmemcmp.c: New file.
23399 * string/test-memcmp.c: Add wmemcmp support.
23400
7f513ec8
RM
234012011-09-08 Roland McGrath <roland@hack.frob.com>
23402
0442afb4
RM
23403 [BZ #13153]
23404 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23405 2011-07-19 change.
23406
7f513ec8
RM
23407 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23408 garbage value in a __mach_port_mod_refs call in the cases of the
23409 task-self and thread-self ports.
23410
a12b2239
ST
234112011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23412
23413 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23414
610f9ab4
AS
234152011-09-08 Andreas Schwab <schwab@redhat.com>
23416
7f513ec8 23417 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23418
48882a1a
LD
234192011-09-07 Ulrich Drepper <drepper@gmail.com>
23420
b49865be
UD
23421 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23422
fdc86bc9
UD
23423 * elf/dl-libc.c (dlerror_run): Pass back error code from
23424 dl_catch_error.
23425
c966526a
UD
23426 [BZ #13123]
23427 * elf/dl-load.c (lose): Free l_origin if it is valid.
23428
48882a1a
LD
23429 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23430 names.
23431 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23432 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23433 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23434 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23435 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23436 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23437
77a2a8b4
AZ
234382011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23439
23440 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23441 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23442 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23443 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23444 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23445 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23446 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23447 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23448 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23449 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23450
24f579d8
AM
234512011-08-15 Alan Modra <amodra@gmail.com>
23452
23453 [BZ #13092]
23454 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23455 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23456 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23457 ppc_mcount to static-only-routines.
23458 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23459 __mcount_internal.
23460 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23461 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23462
3d4837df
UD
234632011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23464
23465 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23466 for finite and infinity parameters.
23467
22700377
WS
234682011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23469
23470 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23471 and add nop instructions for throughput optimization.
23472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23473
5025581e
WS
234742011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23475
23476 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23477 aligned copy for power7 with vector-scalar instructions.
23478 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23479
08a300c9
L
234802011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23481
23482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23483 AVX check.
23484
59178ef9
AS
234852011-09-07 Andreas Schwab <schwab@redhat.com>
23486
23487 [BZ #13144]
23488 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23489 last change.
23490
e38ba7ab
UD
234912011-09-07 Ulrich Drepper <drepper@gmail.com>
23492
23493 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23494 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23495 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23496 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23497 clock_gettime.
23498
d53a73ac
UD
234992011-09-06 Ulrich Drepper <drepper@gmail.com>
23500
fc8bffcc
UD
23501 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23502 Forgot to demangle the pointer.
23503
ceaa0c5d
UD
23504 * sysdeps/i386/sysdep.h: Define atom_text_section.
23505 * sysdeps/x86_64/sysdep.h: Likewise.
23506 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23507 section with atom_text_section.
23508 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23509 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23510 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23512 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23513
a77d3c17
UD
23514 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23515 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23516 already be defined. Change to take two parameters and don't assign
23517 result to variable. Adjust all users.
23518 Define INTERNAL_GETTIME if not already defined.
23519 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23520 call.
23521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23522 HAVE_CLOCK_GETTIME_VSYSCALL.
23523 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23524
d53a73ac
UD
23525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23526 gettimeofday vsyscall, just use time.
23527
a8f84144
AS
235282011-09-06 Andreas Schwab <schwab@redhat.com>
23529
23530 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23531 <errno.h>.
23532
ef606249
UD
235332011-09-06 Ulrich Drepper <drepper@gmail.com>
23534
23535 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23536 syscall on x86-64.
23537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23538 syscall.
23539 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23540 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23541 syscall if possible.
23542
6585cb60
UD
235432011-09-05 Ulrich Drepper <drepper@gmail.com>
23544
23545 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23546 e_ident. Don't pass to find_mapsXX.
23547 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23548
a5f524e4
LD
235492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23550
23551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23552 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23553 * sysdeps/x86_64/multiarch/strchr.S: Update.
23554 Check bit_slow_BSF bit.
23555 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23556 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23557 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23558
554881ef
UD
235592011-09-05 Ulrich Drepper <drepper@gmail.com>
23560
d96de963
UD
23561 [BZ #13134]
23562 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23563 before glibc 2.15.
23564 (tryshell): Define.
23565 (__spawni): Change last parameter to be flag. Test
23566 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23567 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23568 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23569 * posix/spawni.c: Likewise.
23570 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23571 * posix/spawnp.c: Likewise. Change normal version to use
23572 SPAWN_XFLAGS_USE_PATH.
23573 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23574 SPAWN_XFLAGS_TRY_SHELL.
23575
d48e5868
UD
23576 [BZ #13150]
23577 * posix/glob.h: Remove gcc 1.x support.
23578
554881ef
UD
23579 [BZ #13068]
23580 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23581
693fb948
LD
235822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23583
23584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23585 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23586 strrchr-sse2-bsf
23587 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23588 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23589 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23590 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23591 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23592 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23593
1b48c537
UD
235942011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23595
49d42c37
UD
23596 * sysdeps/x86_64/wcscmp.S: New file.
23597
1b48c537
UD
23598 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23599 wcscmp-c wcscmp-sse2
23600 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23601 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23602 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23603 * wcsmbs/wcscmp.c: Allow renaming.
23604
15c95c5d
DM
236052011-09-05 David S. Miller <davem@davemloft.net>
23606
23607 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23608 stack slot, rather than the struct return pointer slot.
23609 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23610 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23612 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23613
2f0ad8f3
UD
236142011-09-05 Ulrich Drepper <drepper@gmail.com>
23615
d88ae418
UD
23616 * po/ja.po: Update from translation team.
23617
2f0ad8f3
UD
23618 [BZ #13144]
23619 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23620 kernel in 64-bit binaries.
23621
5f4318d1
DM
236222011-09-01 David S. Miller <davem@davemloft.net>
23623
23624 * elf/elf.h (HWCAP_SPARC_*): Move to..
23625 * sysdeps/sparc/sysdep.h: this new file and add new values.
23626 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23627 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23628 _DL_HWCAP_COUNT to 24.
23629 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23630 entries.
23631 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23632 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23633 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23634 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23635 instead of magic constants.
23636 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23637
3ba57516
DM
236382011-08-31 David S. Miller <davem@davemloft.net>
23639
23640 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23642 Reimplement to do errno handling inline.
23643 (SYSCALL_ERROR_HANDLER): New macro.
23644 (__SYSCALL_STRING): Do not do errno handling in asm.
23645 (__CLONE_SYSCALL_STRING): Delete.
23646 (__INTERNAL_SYSCALL_STRING): Delete.
23647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23648 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23649 (PSEUDO): Reimplement to do errno handling inline.
23650 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23651 (SYSCALL_ERROR_HANDLER): New macro.
23652 (__SYSCALL_STRING): Do not do errno handling in asm.
23653 (__CLONE_SYSCALL_STRING): Delete.
23654 (__INTERNAL_SYSCALL_STRING): Delete.
23655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23656 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23657 i386.
23658 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23659 (inline_syscall*): Add 'err' argument.
23660 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23661 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23662 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23663 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23664
23665 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23666 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23667
2bc17433
AS
236682011-08-30 Andreas Schwab <schwab@redhat.com>
23669
23670 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23671
fbeb5f4d
JO
236722011-08-29 Jiri Olsa <jolsa@redhat.com>
23673
23674 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23675 directive.
23676
ad69cc26
DM
236772011-08-24 David S. Miller <davem@davemloft.net>
23678
23679 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23680
39dd69df
AS
236812011-08-24 Andreas Schwab <schwab@redhat.com>
23682
23683 * elf/Makefile: Add rules to build and run unload8 test.
23684 * elf/unload8.c: New file.
23685 * elf/unload8mod1.c: New file.
23686 * elf/unload8mod1x.c: New file.
23687 * elf/unload8mod2.c: New file.
23688 * elf/unload8mod3.c: New file.
23689
23690 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23691 it wasn't used.
23692
2c0b250a
DM
236932011-08-23 David S. Miller <davem@davemloft.net>
23694
23695 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23696 subtract stack bias.
23697 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23698 %sp not %fp in calculations.
23699 (_JMPBUF_UNWINDS_ADJ): Likewise.
23700
22044b48
DM
23701 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23702 (aio_suspend): Call it to force an exception region around the
23703 AIO_MISC_WAIT() invocation.
23704
2cae4995
AS
237052011-08-23 Andreas Schwab <schwab@redhat.com>
23706
23707 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23708 backslash.
23709
873a772e
AJ
237102011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23711
23712 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23713 protection macro.
23714 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23715 and <dl-machine.h>.
23716 (Elf64_FuncDesc): Remove.
23717
25ad0df1
DM
237182011-08-22 David S. Miller <davem@davemloft.net>
23719
23720 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23721 sigaltstack check, add missing cfi directives.
23722 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23723 missing cfi directives, and sigaltstack handling.
23724
e888bcbe
AS
237252011-08-16 Andreas Schwab <schwab@redhat.com>
23726
23727 [BZ #11724]
23728 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23729 object is seen twice.
23730 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23731
23732 * elf/Makefile (distribute): Add tst-initorder2.c.
23733 (tests): Add tst-initorder2.
23734 (modules-names): Add tst-initorder2a tst-initorder2b
23735 tst-initorder2c tst-initorder2d. Add rules to build them.
23736 ($(objpfx)tst-initorder2.out): New rule.
23737 * elf/tst-initorder2.c: New file.
23738 * elf/tst-initorder2.exp: New file.
23739
87162f46
AS
237402011-08-22 Andreas Schwab <schwab@redhat.com>
23741
70538b7f
AS
23742 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23743
f55ffe58
AS
23744 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23745 dependencies back to end of function.
23746
87162f46
AS
23747 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23748 $(elfobjdir)/ld.so.
23749
91b392a4
UD
237502011-08-21 Ulrich Drepper <drepper@gmail.com>
23751
23752 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23753 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23755 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23756 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23757 of __vdso_gettimeofday.
23758 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23759 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23760 attribute_hidden.
23761 (_libc_vdso_platform_setup): Remove initialization of
23762 __vdso_gettimeofday and __vdso_time.
23763
5c43483f
UD
237642011-08-20 Ulrich Drepper <drepper@gmail.com>
23765
775a77e7
UD
23766 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23767 and fgetc_unlocked.
23768 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23769 getc_unlocked.
89f447ed 23770
49c74ba9
UD
23771 * elf/dl-open.c (add_to_global): Report additions to the global scope
23772 for LD_DEBUG=scopes.
23773 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23774 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23775
5c43483f
UD
23776 [BZ #13114]
23777 * stdio-common/Makefile (tests): Add bug24.
23778 * stdio-common/bug24.c: New file.
23779
a101b025
AJ
237802011-08-19 Andreas Jaeger <aj@suse.de>
23781
23782 [BZ #13114]
23783 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23784 non-existant file when using close-on-exec mode.
23785
c88f1766
UD
237862011-08-20 Ulrich Drepper <drepper@gmail.com>
23787
0276a718
UD
23788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23789 the very first instruction.
23790
c88f1766
UD
23791 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23792 the CFI state in the end.
23793 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23794 inclusion of dl-trampoline.h.
23795 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23796
51ccffa0
AS
237972011-08-19 Andreas Schwab <schwab@redhat.com>
23798
94d7165f
AS
23799 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23800 expectations for long double.
23801
51ccffa0
AS
23802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23803 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23804
fd708658 238052011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23806
23807 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23808 artificual limit depends upon the system page size.
23809
44f0a71e
UD
238102011-08-17 Ulrich Drepper <drepper@gmail.com>
23811
23812 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23813 * resolv/Makefile: Define CFLAGS-libresolv.
23814
8de79a24
AS
238152011-08-17 Andreas Schwab <schwab@redhat.com>
23816
23817 * nss/makedb.c (compute_tables): Make variables used in nested
23818 function static.
23819
27724598
UD
238202011-08-17 Ulrich Drepper <drepper@gmail.com>
23821
c5305d88
UD
23822 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23823 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23824 if buffer was too small.
23825
27724598
UD
23826 * elf/pldd.c (main): Attach to all threads in the process.
23827 Rewrite /proc handling to use *at functions.
23828
076fe015
UD
238292011-08-16 Ulrich Drepper <drepper@gmail.com>
23830
174baab3
UD
23831 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23832 specifies first scope to show.
23833 (dl_open_worker): Update callers. Move printing scope of new
23834 object to before the relocation.
44f0a71e 23835 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23836 * sysdeps/generic/ldsodefs.h: Update declaration.
23837
076fe015
UD
23838 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23839 string for the scope number.
23840
a60df2c3
UD
238412011-08-14 Ulrich Drepper <drepper@gmail.com>
23842
23843 * nscd/servicescache.c (cache_addserv): Make sure written is always
23844 initialized.
23845
5e4287d1
RM
238462011-08-14 Roland McGrath <roland@hack.frob.com>
23847
85ae0589
RM
23848 * sysdeps/i386/i486/bits/atomic.h
23849 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23850 statement expression, so as to suppress "set but not used" warning.
23851 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23852
69f63097
RM
23853 * string/strncat.c (STRNCAT): Use prototype definition.
23854
675456ef
RM
23855 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23856 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23857 -Iprograms here.
23858 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23859 (localedef-modules): Add localedef.
23860 (locale-modules): Add locale.
23861
5e4287d1
RM
23862 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23863 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23864 to avoid a warning.
23865
9c96ff23
DM
238662011-08-14 David S. Miller <davem@davemloft.net>
23867
23868 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23869 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23870
f9ddf089
UD
238712011-08-13 Ulrich Drepper <drepper@gmail.com>
23872
44f0a71e 23873 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23874 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23875 * elf/rtld.c (dl_main): Set l_name of vDSO.
23876 Call _dl_show_scope when DL_DEBUG_SCOPES.
23877 (process_dl_debug): Recognize scopes flag and also set it for all.
23878 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23879 Declare _dl_show_scope.
23880
1dc27704
UD
23881 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23882 (do_dlopen): Pass caller_dlopen to dl_open.
23883 (__libc_dlopen_mode): Initialize caller_dlopen.
23884
f9ddf089
UD
23885 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23886 of libc. Make tolower call locale-independent. Optimize a bit by
23887 using isdigit instead of isalnum.
23888 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23889
9ac533d3
UD
238902011-08-12 Ulrich Drepper <drepper@gmail.com>
23891
23892 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23893 was a dependency or dynamically loaded.
23894
89edf2e9
UD
238952011-08-11 Ulrich Drepper <drepper@gmail.com>
23896
8e999d29
UD
23897 * intl/l10nflist.c: Allow architecture-specific pop function.
23898 * sysdeps/x86_64/l10nflist.c: New file.
23899
89edf2e9
UD
23900 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23901 classification.
23902
14d96785
AS
239032011-08-10 Andreas Schwab <schwab@redhat.com>
23904
23905 * include/dirent.h: Add libc_hidden_proto for scandirat and
23906 scandirat64. Don't declare __scandirat64.
23907 * dirent/scandirat.c: Add libc_hidden_def.
23908 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23909 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23910
6761ac04
DM
239112011-08-10 David S. Miller <davem@davemloft.net>
23912
23913 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23914 enum.
23915 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23917 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23918
c55fbd1e
UD
239192011-08-09 Ulrich Drepper <drepper@gmail.com>
23920
23921 * Versions.def [libc]: Add GLIBC_2.15.
23922 * dirent/Makefile (routines): Add scandirat and scandirat64.
23923 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23924 GLIBC_2.15.
23925 * dirent/dirent.h: Declare scandirat and scandirat64.
23926 * dirent/scandirat.c: New file.
23927 * dirent/scandirat64.c: New file.
23928 * sysdeps/wordsize-64/scandirat.c: New file.
23929 * sysdeps/wordsize-64/scandirat64.c: New file.
23930 * dirent/opendir.c: Define opendirat.
23931 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23932 using scandirat.
23933 * dirent/scandir64.c: Adjust for scandir.c change.
23934 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23935 __scandirat64, and __scandir_cancel_handler.
23936 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23937 additional parameter and use openat instead of open (outside of ld.so).
23938 Add new __opendir as wrapper around __opendirat.
23939 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23940 here without requiring old scandirat implementation.
23941
879165f2
UD
239422011-08-08 Ulrich Drepper <drepper@gmail.com>
23943
23944 * dirent/scandir.c (cancel_handler): Renamed to
23945 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23946 defined. Adjust users.
23947 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23948 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23949
cb7e923b
UD
239502011-08-04 Ulrich Drepper <drepper@gmail.com>
23951
16292edd
UD
23952 * string/test-string.h (IMPL): Use __STRING to expand name and then
23953 stringify it.
23954
cb7e923b
UD
23955 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23956 of cleanups.
23957
cff82933
LD
239582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23959
23960 * string/Makefile: Update.
23961 (strop-tests): Append strncat.
23962 * string/test-wcscmp.c: New file.
23963 New comprehensive test for wcscmp.
23964 * string/test-strcmp.c: Update.
23965 (WIDE): New define.
23966
9be9bfcc
AS
239672011-07-22 Andreas Schwab <schwab@redhat.com>
23968
23969 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23970 line.
23971
2e96f1c7
AS
239722011-07-26 Andreas Schwab <schwab@redhat.com>
23973
23974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23975 encoding to ACE if AI_IDN.
23976
85188888
JJ
239772011-08-01 Jakub Jelinek <jakub@redhat.com>
23978
23979 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23980 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23981
5fa16e9b
LD
239822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23983
23984 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23985 Fix overflow bug in strncat.
23986 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23987
23988 * string/test-strncat.c: Update.
23989 Add new tests for checking overflow bugs.
23990
239912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23992
23993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23994 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23995 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23996 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23997 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23998 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23999 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24000 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24001 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24002
24003 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24004 (USE_AS_STRCAT): Define.
24005 Add strcat and strncat support.
24006 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24007
8c1a459f
AS
240082011-07-25 Andreas Schwab <schwab@redhat.com>
24009
24010 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24011 __n bigger than INT_MAX+1.
24012 (__strncmp_g): Likewise.
24013
bba33c28
UD
240142011-07-23 Ulrich Drepper <drepper@gmail.com>
24015
798be72d
UD
24016 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24017 * libio/stido.h: Likewise.
24018
8accd4dc
UD
24019 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24020 (AF_NFC): Define.
24021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24022 (AF_NFC): Define.
24023
cbff0d96
UD
24024 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24025 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24026 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24027 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24028 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24029
9191c04a
UD
24030 [BZ #13021]
24031 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24032 installed.
24033
bba33c28
UD
24034 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24035 typo.
24036 (_dl_x86_64_save_sse): Likewise.
24037
90f139dd
UD
240382011-07-22 Ulrich Drepper <drepper@gmail.com>
24039
1aae088a
UD
24040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24041 OSXSAVE.
24042 (_dl_x86_64_save_sse): Likewise.
24043
8e2045f5
UD
24044 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24045
90f139dd
UD
24046 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24047
1d002f25
AS
240482011-07-21 Andreas Schwab <schwab@redhat.com>
24049
24050 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24051 change.
24052 (_dl_x86_64_save_sse): Use correct AVX check.
24053
21137f89
UD
240542011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24055
24056 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24057 bug in strncpy/strncat.
24058 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24059
a65c0b7a
UD
240602011-07-21 Ulrich Drepper <drepper@gmail.com>
24061
24062 * string/tester.c (test_strcat): Add tests for different alignments
24063 of source and destination.
24064 (test_strncat): Likewise.
24065
6986b98a
UD
240662011-07-20 Ulrich Drepper <drepper@gmail.com>
24067
90bb2039
UD
24068 [BZ #12852]
24069 * posix/glob.c (glob): Check passed in values before using them in
24070 expressions to avoid some overflows.
24071 (glob_in_dir): Likewise.
24072
5644ef54
UD
24073 [BZ #13007]
24074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24075 check for AVX enablement so that we don't crash with old kernels and
24076 new hardware.
24077 * elf/tst-audit4.c: Add same checks here.
24078 * elf/tst-audit6.c: Likewise.
24079
24080 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24081
bfc9dc9b
AS
240822011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24083
24084 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24085
702e64bb
UD
240862011-07-20 Ulrich Drepper <drepper@gmail.com>
24087
24088 * po/cs.po: Update from translation team.
24089 * po/bg.po: Likewise.
24090
295e904f
MP
240912011-07-12 Marek Polacek <mpolacek@redhat.com>
24092
24093 * misc/sys/cdefs.h: Add support for const attribute.
24094 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24095 to gnu_dev_{major,minor,makedev} functions.
24096
3ff94596
MP
240972011-07-20 Marek Polacek <mpolacek@redhat.com>
24098
24099 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24100
28b59fca
AS
241012011-07-20 Andreas Schwab <schwab@redhat.com>
24102
24103 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24104 strlen results.
24105
19df733e
AK
241062011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24107
24108 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24109 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24110 register in order to avoid conflicts with the soft frame pointer
24111 being held in r11 when necessary.
24112 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24113 (INTERNAL_VSYSCALL_NCS): Likewise.
24114
c8835729
MP
241152011-07-14 Marek Polacek <mpolacek@redhat.com>
24116
24117 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24118 * elf/dl-fini.c (_dl_fini): Adjust caller.
24119 * elf/dl-close.c (_dl_close_worker): Likewise.
24120 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24121
b902330c
MP
241222011-07-15 Marek Polacek <mpolacek@redhat.com>
24123
8991e135
MP
24124 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24125 "aux_cache->nlibs < 0".
24126
b902330c
MP
24127 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24128 in the reload-count case.
24129
99710781
LD
241302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24131
24132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24133 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24134 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24135 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24136 * sysdeps/x86_64/multiarch/strcat.S: New file.
24137 * sysdeps/x86_64/multiarch/strncat.S: New file.
24138 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24139 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24140 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24141 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24142 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24143 (USE_AS_STRCAT): Define.
24144 Add strcat and strncat support.
24145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24146 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24147 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24148 * string/strncat.c: Update.
24149 (USE_AS_STRNCAT): Define.
24150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24151 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24152 and i7.
24153 * sysdeps/x86_64/multiarch/init-arch.h
24154 (bit_Prefer_PMINUB_for_stringop): New.
24155 (index_Prefer_PMINUB_for_stringop): Likewise.
24156 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24157 bit_Prefer_PMINUB_for_stringop.
24158
7dc6bd90
UD
241592011-07-19 Ulrich Drepper <drepper@gmail.com>
24160
24161 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24162 buffer64.
24163 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24164 of casting of buffer.
24165 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24166 buffer32 and buffer64.
24167 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24168 writes instead of casting of buffer.
24169 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24170 buffer32.
24171 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24172 casting of buffer.
24173
e0e72284
AS
241742011-07-19 Andreas Schwab <schwab@redhat.com>
24175
24176 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24177
feb1eb0b
UD
241782011-07-19 Ulrich Drepper <drepper@gmail.com>
24179
24180 * nscd/nscd.c (termination_handler): Don't do anything for a database
24181 if it has not yet been initialized.
24182
298711ff
UD
241832011-07-18 Ulrich Drepper <drepper@gmail.com>
24184
24185 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24186
241872011-07-15 Marek Polacek <mpolacek@redhat.com>
24188
24189 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24190
f9d68389
UD
241912011-07-18 Ulrich Drepper <drepper@gmail.com>
24192
24193 * po/nl.po: Update from translation team.
24194 * po/sv.po: Likewise.
24195
db290cf5
RM
241962011-07-16 Roland McGrath <roland@hack.frob.com>
24197
24198 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24199 now disallowed by GCC.
5c550700 24200
fd5e21c7
RM
24201 * configure.in (use-default-link): Default to yes if a test -shared
24202 link meets our qualifications.
24203 * configure: Regenerated.
24204
5c550700
RM
24205 * config.make.in (output-format): New variable.
24206 * configure.in: Check for ld --print-output-format support.
24207 * configure: Regenerated.
24208 * Makerules ($(common-objpfx)format.lds)
24209 [$(output-format) != unknown]: Just use $(output-format),
24210 instead of the linker-script munging.
24211
9fa2c032
RM
242122011-07-14 Roland McGrath <roland@hack.frob.com>
24213
a6928d51
RM
24214 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24215 of $(common-objpfx)shlib.lds.
24216 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24217
661607b3
RM
24218 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24219 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24220
9fa2c032
RM
24221 * configure.in (-z relro check): Adjust test code to add a large
24222 writable data section after it.
24223 * configure: Regenerated.
24224
defe9061
RM
242252011-07-11 Roland McGrath <roland@hack.frob.com>
24226
24227 * configure.in (-z relro check): Fix test code to make the variable
24228 truly const.
24229 * configure: Regenerated.
24230
319b9ad4
UD
242312011-07-11 Ulrich Drepper <drepper@gmail.com>
24232
24233 * nscd/nscd.h (struct traced_file): Define.
24234 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24235 elements. Add traced_files.
24236 (inotify_fd): Declare.
24237 (register_traced_file): Declare.
24238 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24239 (inotify_fd): Export.
24240 (resolv_conf_descr): Remove.
24241 (nscd_init): Move inotify descriptor creation to main.
24242 Don't register files for notification here.
24243 (register_traced_file): New function.
24244 (invalidate_cache): Don't use reset_res to determine whether to call
24245 res_init, go through the list of registered files.
24246 (main_loop_poll): The inotify descriptors are now stored in the
24247 structures for the traced files.
24248 (main_loop_epoll): Likewise
24249 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24250 to __nss_disable_nscd.
24251 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24252 for a database anymore. Check the records for all the registered
24253 files instead.
24254 * nss/Makefile (libnss_files-routines): Add files-init.
24255 (libnss_db-routines): Add db-init.
24256 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24257 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24258 * nss/nss_db/db-init.c: New file.
24259 * nss/nss_files/files-init.c: New file.
24260 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24261 __nss_lookup_function.
24262 (__nss_lookup_function): Call nss_load_library.
24263 (nss_load_all_libraries): New function.
24264 (__nss_disable_nscd): Take parameter with callback function for files
24265 to register. Set is_nscd. Load all the DSOs for the NSS modules
24266 used for the cached services.
24267 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24268 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24269 options for features to all the files in nscd.
24270
24271 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24272
23bee3e8
RM
242732011-07-10 Roland McGrath <roland@hack.frob.com>
24274
24275 * csu/elf-init.c (__libc_csu_init): Comment typo.
24276
46a5b7f0
UD
242772011-07-09 Ulrich Drepper <drepper@gmail.com>
24278
24279 * po/pl.po: Update from translation team.
24280 * po/ja.po: Likewise.
24281 * po/ru.po: Likewise.
24282 * po/ko.po: Likewise.
24283 * po/fr.po: Likewise.
24284
d30cf5bb
RM
242852011-07-09 Roland McGrath <roland@hack.frob.com>
24286
113ddea4
RM
24287 * configure.in (.ctors/.dtors header and trailer check):
24288 Use an empirical test on a built program.
24289 * configure: Regenerated.
24290
574920b4
RM
24291 * configure.in (-z relro check): Use an empirical test on a built DSO.
24292 Detect, but do not require, on ia64.
24293 * configure: Regenerated.
24294
d30cf5bb
RM
24295 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24296 Update tests that use readelf to use $READELF instead.
24297 * configure: Regenerated.
24298
8538fdb3
UD
242992011-07-08 Ulrich Drepper <drepper@gmail.com>
24300
24301 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24302 if the result is not used.
24303
04d08991
AJ
243042011-07-05 Andreas Jaeger <aj@suse.de>
24305
24306 [BZ#9696]
24307 * stdlib/tst-strtod.c: Add testcase.
24308
de283087
AD
243092011-07-07 Ulrich Drepper <drepper@gmail.com>
24310
4e5f31c8 24311 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24312 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24313 The latter has a higher limit. Take additional parameter to pass to
24314 the new function.
24315 (__pathconf): Pass file to __statfs_link_max.
24316 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24317 __statfs_link_max.
24318 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24319 __statfs_link_max.
24320
de283087
AD
24321 [BZ #12868]
24322 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24323 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24324 Handle Lustre.
24325 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24326 (__statfs_filesize_max): Likewise.
24327 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24328
c75fa153
AJ
243292011-07-05 Andreas Jaeger <aj@suse.de>
24330
24331 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24332
1a544854
UD
243332011-07-06 Marek Polacek <mpolacek@redhat.com>
24334
24335 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24336 `status' variable.
24337 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24338 Likewise.
24339
6f0eec67
UD
243402011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24341
24342 * Makefile (strop-tests): Add strncat.
24343 * string/test-strncat.c: New file.
24344
aae30307
UD
243452011-06-30 Marek Polacek <mpolacek@redhat.com>
24346
24347 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24348
c0cfb5eb
UD
243492011-06-21 Andreas Jaeger <aj@suse.de>
24350
24351 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24352 Copy rule from iconvdata/Makefile.
24353
01636b21
UD
243542011-07-06 Ulrich Drepper <drepper@gmail.com>
24355
24356 [BZ #12922]
24357 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24358 but no long options are defined, just return 'W'.
24359
9895c8bc
UD
243602011-06-22 Marek Polacek <mpolacek@redhat.com>
24361
24362 [BZ #9696]
24363 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24364
5d4cf042
UD
243652011-07-06 Ulrich Drepper <drepper@gmail.com>
24366
24367 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24368 netgroups to read.
960e5535 24369 (innetgr): Likewise.
5d4cf042 24370
751eb97e
RM
243712011-07-05 Roland McGrath <roland@hack.frob.com>
24372
24373 * config.make.in (install_root): Default to $(DESTDIR).
24374
f15f1e45
UD
243752011-07-05 Ulrich Drepper <drepper@gmail.com>
24376
24377 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24378
4e34ac6a
RM
243792011-07-02 Roland McGrath <roland@hack.frob.com>
24380
5e9b6af4
RM
24381 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24382
84f9ea0f
RM
24383 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24384 containing directory rather than embedding absolute directory names.
24385
ea5ee9f7
RM
24386 * scripts/check-local-headers.sh: Rewritten using awk.
24387 Match by word, not by line. Print error messages for matches.
24388 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24389
1b74661a
RM
24390 * Makerules [shlib-lds-flags empty]:
24391 ($(common-objpfx)libc_pic.opts): New target.
24392 ($(common-objpfx)libc_pic.os.clean): New target.
24393 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24394
24395 * config.make.in (OBJCOPY): New variable.
24396 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24397 * configure: Regenerated.
24398
f781ef40
RM
24399 * config.make.in (use-default-link): New variable.
24400 * configure.in (use_default_link): Grok --with-default-link to set it.
24401 * configure: Regenerated.
24402 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24403 (shlib-lds, shlib-lds-flags): Define to empty.
24404
2d4fa81e
RM
24405 * Makerules (shlib-lds): New variable.
24406 (shlib-lds-flags): New variable.
24407 (build-shlib, build-moduile, build-module-asneeded): Use it.
24408 ($(common-objpfx)libc.so): Use $(shlib-lds).
24409 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24410 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24411
31fffa6b
RM
24412 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24413 DT_FLAGS/DT_FLAGS_1 with zero flags.
24414
4e34ac6a
RM
24415 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24416 linker script munging.
24417
fcfc776b
UD
244182011-07-02 Ulrich Drepper <drepper@gmail.com>
24419
24420 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24421 as 128-bit value.
24422 * crypt/sha512.c (sha512_process_block): Perform total addition using
24423 128-bit if possible.
24424 (__sha512_finish_ctx): Likewise.
24425 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24426 as 64-bit value.
24427 * crypt/sha256.c (SWAP64): Define.
24428 (sha256_process_block): Perform total addition using 64-bit if
24429 possible.
24430 (__sha256_finish_ctx): Likewise.
24431
99231d9a
UD
244322011-07-01 Ulrich Drepper <drepper@gmail.com>
24433
24434 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24436 * nscd/hstcache.c (cache_addhst): Likewise.
24437 * nscd/grpcache.c (cache_addgr): Likewise.
24438 * nscd/aicache.c (addhstaiX): Likewise
24439 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24440
445b4a53
TK
244412011-07-01 Thorsten Kukuk <kukuk@suse.de>
24442
24443 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24444 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24445 * nscd/hstcache.c (cache_addhst): Likewise.
24446 * nscd/grpcache.c (cache_addgr): Likewise.
24447 * nscd/aicache.c (addhstaiX): Likewise
24448
6d4d8e8e
AS
244492011-07-01 Andreas Schwab <schwab@redhat.com>
24450
24451 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24452 domain only when needed.
24453
89f654c5
AS
244542011-06-30 Andreas Schwab <schwab@redhat.com>
24455
24456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24457 is always restored.
24458
cf3b23ff
UD
244592011-06-29 Ulrich Drepper <drepper@gmail.com>
24460
24461 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24462 are re-adding the entry.
24463 * nscd/servicescache.c (cache_addserv): Likewise.
24464
751626f9
AJ
244652011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24466
24467 * sysdeps/generic/dl-irel.h: fix protection against multiple
24468 inclusions.
24469 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24470
9113ea1f
UD
244712011-06-28 Ulrich Drepper <drepper@gmail.com>
24472
5c0b8d90
UD
24473 [BZ #12935]
24474 * malloc/memusage.sh: Fix quoting in message.
24475 * debug/xtrace.sh: Likewise.
24476
9113ea1f
UD
24477 * configure.in: Remove support for --experimental-malloc option, make
24478 it the default.
24479 * config.make.in: Likewise.
24480 * malloc/Makefile: Likewise.
24481
a4172181
AS
244822011-06-27 Andreas Schwab <schwab@redhat.com>
24483
24484 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24485 two-byte characters.
24486
78a7eee7
RM
244872011-06-27 Roland McGrath <roland@hack.frob.com>
24488
62bede13
RM
24489 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24490 AC_CACHE_CHECK invocation.
24491 * configure: Regenerated.
24492
78a7eee7
RM
24493 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24494
5ce33a62
UD
244952011-06-27 Ulrich Drepper <drepper@gmail.com>
24496
034807a9
UD
24497 [BZ #12350]
24498 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24499 bit from old_res_options.
24500
4902da17
UD
24501 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24502
5ce33a62
UD
24503 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24504 value type for setfct.
24505
c2344f56
L
245062011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24507
24508 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24509 __gettimeofday instead of gettimeofday.
24510
68468076
UD
245112011-06-26 Ulrich Drepper <drepper@gmail.com>
24512
24513 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24514
acb0d739
L
245152011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24516
24517 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24518
24519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24520 info.
24521
8912479f
L
245222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24523
24524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24525 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24526 strcpy-sse2-unaligned strncpy-sse2-unaligned
24527 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24528 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24529 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24530 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24531 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24532 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24533 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24534 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24535 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24536 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24537 (STRCPY): Support SSE2 and SSSE3 versions.
24538
d5495a11
UD
245392011-06-24 Ulrich Drepper <drepper@gmail.com>
24540
24541 [BZ #12874]
24542 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24543 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24544 kernels which artificially limit size of requests.
24545
0b1cbaae
L
245462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24547
24548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24549 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24550 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24551 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24552 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24553 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24554 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24555 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24556 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24557 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24558 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24559 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24560 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24561 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24562 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24564 Enable unaligned load optimization for Intel Core i3, i5 and i7
24565 processors.
24566 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24567 Define.
24568 (index_Fast_Unaligned_Load): Define.
24569 (HAS_FAST_UNALIGNED_LOAD): Define.
24570
07f494a0
MP
245712011-06-23 Marek Polacek <mpolacek@redhat.com>
24572
24573 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24574
fa3fc0fe
UD
245752011-06-22 Ulrich Drepper <drepper@gmail.com>
24576
24577 [BZ #12907]
24578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24579 until it is clear that the information is realy needed.
24580 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24581
e12df166
AS
245822011-06-22 Andreas Schwab <schwab@redhat.com>
24583
24584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24585
852eb34d
UD
245862011-06-22 Ulrich Drepper <drepper@gmail.com>
24587
84e2a551
UD
24588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24589 /sys/devices/system/cpu/online if it is usable.
24590
852eb34d
UD
24591 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24592 reading the information from the /proc filesystem to once a second.
24593
6e502e19
UD
245942011-06-21 Andreas Jaeger <aj@suse.de>
24595
24596 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24597 NULL after inclusion of kernel headers.
24598
75d39ff2
UD
245992011-06-21 Ulrich Drepper <drepper@gmail.com>
24600
51f9aa6a
UD
24601 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24602 calls to internal_setent.
24603
c0244a9d
UD
24604 [BZ #12885]
24605 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24606 addresses using gethostbyname4_r ignore IPv4 addresses.
24607
c5e3c2ae
UD
24608 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24609 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24610
75d39ff2
UD
24611 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24612
42675c6f
DM
246132011-06-20 David S. Miller <davem@davemloft.net>
24614
24615 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24616 inclusions.
24617 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24618
24619 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24620 (elf_irel): Use it.
24621 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24622 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24623 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24624 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24625 * sysdeps/x86_64/dl-irel.h: Likewise.
24626
24627 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24628 * elf/dl-sym.c: Likewise.
24629
57912a71
UD
246302011-06-15 Ulrich Drepper <drepper@gmail.com>
24631
24632 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24633 need to dereference resplen2.
24634
ee22793d
AS
246352011-06-14 Andreas Schwab <schwab@redhat.com>
24636
24637 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24638
a9e836b0
UD
246392011-06-15 Ulrich Drepper <drepper@gmail.com>
24640
77fb9117
UD
24641 * Makeconfig: Define vardbdir and inst_vardbdir.
24642 * nss/Makefile: Add rules to install db-Makefile.
24643
40c1b22c
UD
24644 * nss/nss_db/db-XXX.c: Cleanup.
24645
9f2da732
UD
24646 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24647 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24648 GLIBC_PRIVATE.
24649 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24650 * nss/makedb.c: Implement -g option to specify that value strings
24651 are generated and should not be added to table iterated over for
24652 get*ent calls.
24653 * nss/nss_db/db-initgroups.c: New file.
24654
82e9a1f7
UD
24655 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24656 interface.
24657
c41af17e
UD
24658 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24659 (internal_getgrouplist): Adjust to name change.
24660 Update use_initgroups_entry if this is not the first call.
24661 * nss/databases.def: Add initgroups entry.
24662
a9e836b0
UD
24663 * nss/makedb.c (compute_tables): Check result of multiple hash table
24664 sizes to minimize maximum chain length.
24665
2666d441
UD
246662011-06-14 Ulrich Drepper <drepper@gmail.com>
24667
24668 * Versions.def: Add entry for libnss_db.
24669 * shlib-versions: Likewise.
24670 * nss/Makefile: Add rules to build libnss_db.
24671 * nss/Versions: Add libnss_db information. Organize libnss_files
24672 entries better.
24673 * nss/db-Makefile: Add gshadow support. Change rules for the new
24674 makedb progra. Some minor improvements to generate smaller files.
24675 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24676 here from...
24677 * nss/makedb.c: ...here.
24678 Improve database format to be smaller and require less memory at
24679 runtime.
24680 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24681 db anymore.
24682 * nss/nss_db/db-netgrp.c: Likewise.
24683 * nss/nss_db/db-open.c: Likewise.
24684 * nss/nss_files/flies-XXX.x: Adjust comments.
24685 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24686 * nss/nss_files/files-grp.c: Likewise.
24687 * nss/nss_files/files-hosts.c: Likewise.
24688 * nss/nss_files/files-network.c: Likewise.
24689 * nss/nss_files/files-proto.c: Likewise.
24690 * nss/nss_files/files-pwd.c: Likewise.
24691 * nss/nss_files/files-rpc.c: Likewise.
24692 * nss/nss_files/files-service.c: Likewise.
24693 * nss/nss_files/files-sgrp.c: Likewise.
24694 * nss/nss_files/files-spwd.c: Likewise.
24695 * nss/nss_db/db-alias.c: Removed.
24696 * nss/nss_db/dummy-db.h: Removed.
24697
9ee76b5a
UD
246982011-06-02 Ulrich Drepper <drepper@gmail.com>
24699
24700 * nss/makedb.c: Rewritten to not use database library.
24701 * nss/Makefile: Update to build new makedb program.
24702
c71ca1f8
AJ
247032011-06-14 Andreas Jaeger <aj@suse.de>
24704
24705 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24706 memset declaration.
24707
3154bfb8
UD
247082011-06-10 Andreas Schwab <schwab@redhat.com>
24709
24710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24711 tmpbuf.
24712
b350afab
RM
247132011-06-10 Roland McGrath <roland@hack.frob.com>
24714
decd4e50
RM
24715 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24716 * elf/Makefile ($(objpfx)ld.so): Likewise.
24717
5615eaf2
RM
24718 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24719 Don't list ld.so twice in dependencies.
24720
24721 * posix/bug-regex31.c: Include <stdlib.h>.
24722
24723 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24724
24725 * nis/nss_compat/compat-spwd.c
24726 (getspent_next_nss_netgr): Remove unused variable.
24727 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24728
24729 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24730 nonmembers" output to use the right array.
24731
24732 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24733
24734 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24735
24736 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24737 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24738 * catgets/gencat.c (read_input_file): Likewise.
24739 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24740
24741 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24742 variable definition inside #if's controlling its use.
24743
24744 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24745
24746 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24747
24748 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24749
24750 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24751 unreachable code.
24752
24753 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24754
b68e08db
RM
24755 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24756 * configure: Regenerated.
24757
b350afab
RM
24758 * Makerules: Revert last change.
24759 * elf/Makefile: Likewise.
24760
28368601
RM
247612011-06-09 Roland McGrath <roland@hack.frob.com>
24762
24763 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24764 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24765 (reloc-link): Likewise.
24766
11988f8f
UD
247672011-06-09 Ulrich Drepper <drepper@gmail.com>
24768
24769 * elf/Makefile: Add rules to build pldd.
24770 * elf/pldd.c: New file.
24771 * elf/pldd-xx.c: New file.
24772
e80fab37
UD
247732011-06-07 Ulrich Drepper <drepper@gmail.com>
24774
24775 * version.h: Update for 2.15 development version.
24776
9b849836
DM
247772011-06-07 David S. Miller <davem@davemloft.net>
24778
24779 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24780 ifuncs.
24781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24782 elf_machine_lazy_rel): Likewise.
24783 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24784 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24785 elf_machine_lazy_rel): Likewise.
24786 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24787 dl_hwcap via passed in argument.
24788 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24789 Likewise.
24790
5a31b283
AK
247912011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24792
24793 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24794
069e52f8
RM
247952011-06-06 Roland McGrath <roland@hack.frob.com>
24796
24797 [BZ #12849]
24798 * manual/fdl-1.1.texi: New file, verbatim from:
24799 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24800 * manual/lgpl-2.1.texi: New file, verbatim from:
24801 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24802 * manual/Makefile (licenses): New variable, list those new file names.
24803 (texis): Use it.
24804 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24805
24806 * manual/fdl.texi: File removed.
24807 * manual/lesser.texi: File removed.
24808 * manual/libc.texinfo (Copying, Documentation License):
24809 Use new @include file names, put @appendix directive before @include.
24810
f16846a5
JJ
248112011-06-04 Jakub Jelinek <jakub@redhat.com>
24812
24813 [BZ #12841]
24814 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24815 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24816 (mq_open): Add __NTH.
24817
3d29045b
L
248182011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24819
24820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24821 Assume Intel Core i3/i5/i7 processor if AVX is available.
24822
8c297311
UD
248232011-05-31 Ulrich Drepper <drepper@gmail.com>
24824
24825 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24826 typo.
24827
c8fc0c91
UD
248282011-05-31 Andreas Schwab <schwab@redhat.com>
24829
24830 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24831 memory. Use alloca_account. Fix memory leak when retrying.
24832
5b27a807
UD
248332011-05-31 Ulrich Drepper <drepper@gmail.com>
24834
356f8bc6
UD
24835 * version.h (RELEASE): Bump for 2.14 release.
24836 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24837
5b27a807
UD
24838 * config.make.in (RANLIB): Remove entry.
24839
01f16ab0
UD
248402011-05-30 Ulrich Drepper <drepper@gmail.com>
24841
41fce8bd
UD
24842 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24843 (libc.pot): Work around missing support for .ksh extension in xgettext.
24844
4769ae77
UD
24845 [BZ #12684]
24846 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24847 if both request failed.
24848 (send_dg): In case of server errors clear resplen or *resplen2.
24849
6b1e7d19
UD
24850 [BZ #12454]
24851 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24852 when there are multiple maps.
24853 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24854 (_dl_fini): Remove test here.
24855
01f16ab0
UD
24856 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24857
b1ebd700
UD
248582011-05-29 Ulrich Drepper <drepper@gmail.com>
24859
7ae22829
UD
24860 [BZ #12350]
24861 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24862 bit from old_res_options.
24863 (gaih_inet): Likewise.
24864
553149f6 24865 [BZ #11099]
18a84741 24866 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24867 as signed.
24868
652ffab1
UD
24869 * resolv/res_init.c (res_setoptions): Make the code more compact.
24870
16985fd0
UD
24871 [BZ #11558]
24872 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24873 set RES_USEVC.
24874
0464f746
UD
24875 [BZ #11634]
24876 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24877
7d17596c
UD
24878 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24879
cf6bbbd7
UD
24880 [BZ #11781]
24881 * malloc/malloc.h: Declare malloc hook variables as volatile.
24882
13f1ab36
UD
24883 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24884 in last patch.
24885
b1ebd700
UD
24886 [BZ #11799]
24887 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24888 raise in the comment.
80e2212d
UD
24889 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24890 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24891 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24892
ce67228d
UD
248932011-05-28 Ulrich Drepper <drepper@gmail.com>
24894
8887a920
UD
24895 [BZ #12811]
24896 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24897 grow the buffers more if it already has to be sufficient.
24898 (build_wcs_upper_buffer): Likewise.
24899 * posix/regexec.c (check_matching): Likewise.
24900 (clean_state_log_if_needed): Likewise.
24901 (extend_buffers): Don't enlarge buffers beyond size of the input
24902 buffer.
24903 Patches mostly by Emil Wojak <emil@wojak.eu>.
24904 * posix/bug-regex32.c: New file.
24905 * posix/Makefile (tests): Add bug-regex32.
24906
4f031072
UD
24907 * locale/findlocale.c (_nl_find_locale): Return right away if
24908 _nl_explode_name failed.
24909 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24910
d0478f0c
UD
24911 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24912
de81b246
UD
24913 * debug/xtrace.sh: Unify messages.
24914 * malloc/memusage.sh: Likewise.
24915
c738465a
UD
24916 [BZ #12813]
24917 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24918 time symbol from vDSO. Substitute with vsyscall if not available.
24919 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24920 __vdso_time.
24921
f1f929d7
UD
24922 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24923 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24924 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24925 Add sendmmsg and internal_sendmmsg.
24926 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24927 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24928 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24929
ce67228d
UD
24930 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24931 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24932 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24933
e57420c6
UD
249342011-05-27 Ulrich Drepper <drepper@gmail.com>
24935
a8509ca5
UD
24936 [BZ #12813]
24937 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24938 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24939 available.
24940 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24941 __vdso_getcpu.
24942
e57420c6
UD
24943 [BZ #12814]
24944 * iconvdata/Makefile (tests): Add bug-iconv9.
24945 * iconvdata/bug-iconv9.c: New file.
24946
4d07db15
AS
249472011-05-27 Andreas Schwab <schwab@redhat.com>
24948
24949 [BZ #12814]
24950 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24951
ea486f69
JJ
249522011-05-25 Jakub Jelinek <jakub@redhat.com>
24953
24954 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24955 (struct user_regs_struct): Change intcs field back to cs.
24956
6f038433
UD
249572011-05-25 Ulrich Drepper <drepper@gmail.com>
24958
24959 * po/ja.po: Update from translation team.
24960
67f86a25
UD
249612011-05-23 Ulrich Drepper <drepper@gmail.com>
24962
24963 [BZ #12795]
24964 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24965 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24966
def7fbd6
AS
249672011-05-20 Andreas Schwab <schwab@redhat.com>
24968
24969 * stdlib/longlong.h: Update from GCC.
24970
f50ef8f1
AS
249712011-05-23 Andreas Schwab <schwab@redhat.com>
24972
24973 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24974 parameter name.
24975 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24976 Add parameter name.
24977 (__sysconf): Pass it down.
24978
de7ce8f1
UD
249792011-05-22 Ulrich Drepper <drepper@gmail.com>
24980
f2962a71
UD
24981 [BZ #12671]
24982 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24983 some situations.
24984 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24985 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24986 add in in __libc_use_alloca calls. Adjust callers.
24987 (glob): Use malloc in some situations.
24988
de7ce8f1
UD
24989 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24990 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24991 pltexit.
24992
aec84f53
UD
249932011-05-21 Ulrich Drepper <drepper@gmail.com>
24994
05bb4a68
UD
24995 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24996 and CLOCK_BOOTTIME_ALARM.
24997
7ea72f99
UD
24998 [BZ #12782]
24999 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25000 is returned.
25001
7e4afad5
UD
25002 * string/_strerror.c (__strerror_r): Print negative errors as signed
25003 numbers.
25004
8e211fec
UD
25005 [BZ #12777]
25006 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25007 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25008 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25009
f7d82dc9
UD
25010 * configure.in: Fix typo in redirection and correct removal of test
25011 files in two cases.
25012
cc9e536d
UD
25013 [BZ #12788]
25014 * locale/setlocale.c (new_composite_name): Fix test to check for
25015 identical name of all categories.
25016
aec84f53
UD
25017 [BZ #12792]
25018 * libio/filedoalloc.c (local_isatty): New function.
25019 (_IO_file_doallocate): Use local_isatty.
25020 * stdio-common/perror.c (perror): In case a new stream is used
25021 forward the stream error.
25022 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25023 error flag.
25024
78e64fdc
RT
250252011-05-20 Ulrich Drepper <drepper@gmail.com>
25026
34a9094f
UD
25027 [BZ #11869]
25028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25029 alloca.
25030 * include/alloca.h (extend_alloca_account): Define.
25031
78e64fdc
RT
25032 [BZ #11857]
25033 * posix/regex.h: Fix comments with documentation of user-accessible
25034 fields after compilation and describe correct free'ing of pattern
25035 after re_compile_pattern.
25036 Patch by Reuben Thomas <rrt@sc3d.org>.
25037
457bddfc
RA
250382011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25039
25040 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25041 and -mno-altivec to prevent the compiler from using Altivec and/or
25042 VSX instructions when the corresponding registers are not available.
25043
a4527b51
AS
250442011-05-19 Andreas Schwab <schwab@redhat.com>
25045
25046 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25047
ed690b2f
UD
250482011-05-19 Ulrich Drepper <drepper@gmail.com>
25049
25050 * libio/freopen.c (freopen): Use __dup2, not dup2.
25051 * libio/freopen64.c (freopen64): Likewise.
25052
8db73634
L
250532011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25054
25055 [BZ #12775]
25056 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25057 * math/Makefile (tests): Add test-powl.
25058 (CFLAGS-test-powl.c): Define.
25059 * math/test-powl.c: New file.
25060
0a197a9d
L
250612011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25062
25063 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25064
ee30c380
UD
250652011-05-17 Ulrich Drepper <drepper@gmail.com>
25066
25067 [BZ #11837]
25068 * iconvdata/gb18030.c: Update to GB18020-2005.
25069
6ce75379
UD
250702011-05-16 Ulrich Drepper <drepper@gmail.com>
25071
a4b89fd8
AR
25072 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25073 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25074 Patch by Aharon Robbins <arnold@skeeve.com>.
25075
ea389b12
UD
25076 [BZ #11892]
25077 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25078 on the stack.
25079
68a3f91f
UD
25080 [BZ #11895]
25081 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25082 through underflows.
25083
15cc7dd1
UD
25084 [BZ #12766]
25085 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25086 point to strings before performing equality test for error_one_per_line
25087 mode.
25088
f3799213
UD
25089 [BZ #11697]
25090 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25091
d79a9c94
UD
25092 [BZ #11820]
25093 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25094 (struct user_fpregs_struct): Avoid __uint*_t types.
25095
56e5eb46
UD
25096 [BZ #6420]
25097 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25098 symbol info. Use it instead of calling _dl_addr locally.
25099 (lock_and_info): New function.
25100 (tr_freehook): Call lock_and_info and pass symbol info as additional
25101 parameter to tr_where.
25102 (tr_mallochook): Likewise.
25103 (tr_reallochook): Likewise.
25104 (tr_memalignhook): Likewise.
25105
6ce75379
UD
25106 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25107 used and couldn't be at all thread-safe.
25108
f8a3b5bf
UD
251092011-05-15 Ulrich Drepper <drepper@gmail.com>
25110
94b7cc37
UD
25111 * libio/freopen.c (freopen): Don't close old file descriptor
25112 before the new one is opened. Instead dup the new file descriptor
25113 to the old one after the new stream is created.
25114 * libio/freopen64.c (freopen64): Likewise.
25115 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25116 * libio/fileops.c (_IO_new_file_close_it): Handle new
25117 _IO_FLAGS2_NOCLOSE flag.
25118 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25119 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25120 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25121 _IO_FLAGS2_NOCLOSE flag.
25122 * include/unistd.h: Add hidden_proto for dup3.
25123 Define __have_dup3.
25124 * io/dup3.c: Define hidden symbol.
25125 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25126
bd25564e
UD
25127 [BZ #7101]
25128 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25129 when an incomplete long option is used.
25130 * posix/tst-getopt_long1.c: New file.
25131 * posix/Makefile (tests): Add tst-getopt_long1.
25132
c84cfef4
UD
25133 [BZ #10138]
25134 * scripts/config.guess: Update from autoconf-2.68.
25135 * scripts/config.sub: Likewise.
25136
3b85df27
UD
25137 [BZ #10157]
25138 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25139 tests into ...
25140 (has_cpuclock): ...this. New function.
25141 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25142 macro here based on has_cpuclock code.
25143
15a856b1
UD
25144 [BZ #10149]
25145 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25146 First byte (not low byte) is now always NUL.
25147 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25148
05f399e6
UD
25149 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25150 Use non-cancelable interfaces.
25151
10a52685 25152 [BZ #9809]
94ecc67d
UD
25153 * locale/iso-639.def: Add entry for Sorani.
25154
f8a3b5bf
UD
25155 [BZ #11901]
25156 * include/stdlib.h: Move include protection to the right place.
25157 Define abort_msg_s. Declare __abort_msg with it.
25158 * stdlib/abort.c (__abort_msg): Adjust type.
25159 * assert/assert.c (__assert_fail_base): New function. Majority
25160 of code from __assert_fail. Allocate memory for __abort_msg with
25161 mmap.
25162 (__assert_fail): Now call __assert_fail_base.
25163 * assert/assert-perr.c: Remove bulk of implementation. Use
25164 __assert_fail_base.
25165 * include/assert.hL Declare __assert_fail_base.
25166 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25167 mmap.
25168 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25169
1af4e298
UD
251702011-05-14 Ulrich Drepper <drepper@gmail.com>
25171
f8a3b5bf 25172 [BZ #11952]
d26dfc60
MG
25173 [BZ #12453]
25174 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25175 until all modules are registered in the DTV.
25176 * elf/Makefile: Add rules to build and run tst-tls19.
25177 * elf/tst-tls19.c: New file.
25178 * elf/tst-tls19mod1.c: New file.
25179 * elf/tst-tls19mod2.c: New file.
25180 * elf/tst-tls19mod3.c: New file.
25181 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25182
2fc54d6f
UD
25183 [BZ #12083]
25184 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25185 correctly.
25186
98d76b46
UD
25187 [BZ #12601]
25188 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25189 two-byte sequence errors.
25190 * iconvdata/Makefile (tests): Add bug-iconv8.
25191 * iconvdata/bug-iconv8.c: New file.
25192
da3c19ef
UD
25193 [BZ #12626]
25194 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25195 buf2 definition.
25196
ca408c15
UD
25197 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25198
d6f67f7d
UD
25199 [BZ #12432]
25200 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25201 (dummy_getcfa): New function.
25202 (init): Get _Unwind_GetCFA address, use dummy if not found.
25203 (backtrace_helper): In recursion check, also check whether CFA changes.
25204 (__backtrace): Completely initialize arg.
25205
1af4e298 25206 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25207 storing incomplete byte sequence in state object. Avoid testing for
25208 guaranteed too small input if we know there is enough data available.
1af4e298 25209
da62f81b
AS
252102011-05-11 Andreas Schwab <schwab@redhat.com>
25211
25212 * Makeconfig (+link-pie): Indent.
25213 * Rules (binaries-pie): Define if $(have-fpie) and
25214 $(build-shared).
25215 (binaries-shared): Also filter out $(binaries-pie).
25216 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25217 * nscd/Makefile (others-pie): Add nscd.
25218 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25219 ($(objpfx)nscd): Remove command override.
25220 * login/Makefile (others-pie): Add pt_chown.
25221 ($(objpfx)pt_chown): Remove command override.
25222 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25223 remove command overrides.
25224
fcabc0f8
UD
252252011-05-13 Ulrich Drepper <drepper@gmail.com>
25226
20030ae6
UD
25227 * libio/tst_putwc.c: Fix error messages.
25228
fcabc0f8
UD
25229 [BZ #12724]
25230 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25231 currently writing and seek to current position when not.
25232 * libio/Makefile (tests): Add bug-fclose1.
25233 * libio/bug-fclose1.c: New file.
25234
320a5dc0
PB
252352011-05-12 Ulrich Drepper <drepper@gmail.com>
25236
25237 [BZ #12511]
25238 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25239 don't set DF_1_NODELETE here.
25240 (do_lookup_x): When entering new entry test for copy relocation
25241 and if necessary set DF_1_NODELETE flag.
25242 * elf/tst-unique4.cc: New file.
25243 * elf/tst-unique4.h: New file.
25244 * elf/tst-unique4lib.cc: New file.
25245 * elf/Makefile: Add rules to build and run tst-unique4.
25246 Patch by Piotr Bury <pbury@goahead.com>.
25247
22836f52
UD
252482011-05-11 Ulrich Drepper <drepper@gmail.com>
25249
f574184a
UD
25250 [BZ #12052]
25251 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25252
e1fb097f
UD
25253 [BZ #12625]
25254 * misc/mntent_r.c (addmntent): Flush the stream after the output
25255
22836f52
UD
25256 [BZ #12393]
25257 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25258 (is_trusted_path_normalize): Skip initial colon. Append slash
25259 to empty buffer. Duplicate is_trusted_path code but allow
25260 constructed patch to be prefix.
25261 (is_dst): Allow $ORIGIN followed by /.
25262 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25263 Correct testing of result of is_trusted_path_normalize
25264 (decompose_rpath): Fix warning.
25265
7b3b0b2a
UD
252662011-05-10 Ulrich Drepper <drepper@gmail.com>
25267
25268 [BZ #11257]
25269 * grp/initgroups.c (internal_getgrouplist): When we found the service
25270 list through the initgroups entry in nsswitch.conf do not always
25271 continue on a successful lookup. Don't always use the
eac80ce2 25272 __nss_group_database value if it is set.
7b3b0b2a
UD
25273 * nss/nsswitch.conf (initgroups): Change action for successful db
25274 lookup to continue for compatibility.
25275
2a81eaa5
UD
252762011-05-09 Ulrich Drepper <drepper@gmail.com>
25277
be97a69e
UD
25278 [BZ #11532]
25279 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25280 and CP774 modules.
25281 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25282 and CP774 modules.
25283 * iconvdata/tst-tables.sh: Likewise.
25284 * iconvdata/cp770.c: New file.
25285 * iconvdata/cp771.c: New file.
25286 * iconvdata/cp772.c: New file.
25287 * iconvdata/cp773.c: New file.
25288 * iconvdata/cp774.c: New file.
25289 * iconvdata/testdata/CP770: New file.
25290 * iconvdata/testdata/CP770..UTF8: New file.
25291 * iconvdata/testdata/CP771: New file.
25292 * iconvdata/testdata/CP771..UTF8: New file.
25293 * iconvdata/testdata/CP772: New file.
25294 * iconvdata/testdata/CP772..UTF8: New file.
25295 * iconvdata/testdata/CP773: New file.
25296 * iconvdata/testdata/CP773..UTF8: New file.
25297 * iconvdata/testdata/CP774: New file.
25298 * iconvdata/testdata/CP774..UTF8: New file.
25299
25300 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25301 END CHARMAP line.
25302 * iconvdata/gen-8bit-gap.sh: Likewise.
25303 * iconvdata/gen-8bit.sh: Likewise.
25304
c1e9e399
UD
25305 * locale/iso-639.def: Add ary entry.
25306
24c55fb3 25307 [BZ #11258]
96b4b1b0
UD
25308 * locale/C-translit.h.in: Add U20A1 transliteration.
25309
bdc2f971
KB
25310 [BZ #12178]
25311 * locale/iso-639.def: Add wae entry.
25312 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25313
2952b117
UD
25314 [BZ #12545]
25315 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25316 for n.
25317
2a81eaa5
UD
25318 [BZ #12711]
25319 * locale/C-translit.h.in: Add entry for U20B9.
25320 Patch by pravin.d.s@gmail.com.
25321
28377d1b
UD
253222011-05-08 Ulrich Drepper <drepper@gmail.com>
25323
7fb90fb8
UD
25324 [BZ #12713]
25325 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25326 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25327 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25328 in rtld. Use *stat64.
7fb90fb8 25329 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25330 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25331 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25332 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25333 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25334 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25335 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25336 __fstatat64 macros.
7fb90fb8
UD
25337 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25338 * dirent/rewinddir.c: Add libc_hidden_def.
25339 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25340 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25341
28377d1b
UD
25342 * include/dirent.h (__alloc_dir): Add flags parameter.
25343 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25344 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25345 __alloc_dir.
25346 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25347 from fdopendir if O_CLOEXEC is already set.
25348
66bdbaa4
AM
253492011-03-15 Alan Modra <amodra@gmail.com>
25350
25351 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25352 l_tls_firstbyte_offset non-zero. Save padding offset in
25353 l_tls_firstbyte_offset for later use.
25354 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25355 freeing static tls block.
25356
95721191
JN
253572011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25358
25359 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25360 where #ifdef was intended. The intent is to prevent ARG_MAX from
25361 being defined by the kernel headers.
25362
f87dfb1f
UD
253632011-05-07 Ulrich Drepper <drepper@gmail.com>
25364
25365 [BZ #12734]
25366 * resolv/resolv.h: Define RES_NOTLDQUERY.
25367 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25368 no-tld-query and set RES_NOTLDQUERY.
25369 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25370 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25371 modern BIND to search name as TLD unless forbidden.
25372
47c3cd7a
UD
253732011-05-07 Petr Baudis <pasky@suse.cz>
25374 Ulrich Drepper <drepper@gmail.com>
25375
25376 [BZ #12393]
25377 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25378 (is_trusted_path): ...to here.
c1e9ea35 25379 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25380 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25381 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25382
8a35c912
PP
253832011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25384
25385 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25386 __BEGIN/__END_DECLS.
25387
acd41f47
UD
253882011-05-06 Ulrich Drepper <drepper@gmail.com>
25389
25390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25391 NSS_STATUS_NOTFOUND if no record was found.
25392
597df647
AS
253932011-05-05 Andreas Schwab <schwab@redhat.com>
25394
25395 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25396 (headers-not-in-tirpc): Remove rpc/netdb.h
25397 * resolv/netdb.h: Revert last change.
25398
b9af1301
PP
253992011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25400
25401 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25402 circular dependency between libgcc.a and libc.a.
25403
4e34d5f5
AS
254042011-05-05 Andreas Schwab <schwab@redhat.com>
25405
25406 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25407 * nis/Makefile: Don't install rpcsvc/*.
25408 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25409 instead of <rpc/types.h>.
25410 (MAXHOSTNAMELEN): Define.
25411
00ee369c
AS
254122011-05-03 Andreas Schwab <schwab@redhat.com>
25413
25414 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25415
0b592a30
MB
254162011-04-28 Maciej Babinski <mbabinski@google.com>
25417
25418 [BZ #12714]
25419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25420 gethostbyname4_r when IPv6 results are possible.
25421
6e04cbbe
UD
254222011-05-02 Ulrich Drepper <drepper@gmail.com>
25423
25424 [BZ #12723]
25425 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25426 _PC_PIPE_BUF handling.
25427
e4ecafe0
BH
254282011-04-30 Bruno Haible <bruno@clisp.org>
25429
25430 [BZ #12717]
25431 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25432 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25433 to 'int'.
25434 * inet/getnameinfo.c (getnameinfo): Likewise.
25435
125ee683
UD
254362011-04-29 Ulrich Drepper <drepper@gmail.com>
25437
25438 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25439 to groups setting in database lookup.
25440 * nss/nsswitch.conf: Add initgroups entry.
25441
b722481a
EB
254422011-04-22 Ulrich Drepper <drepper@gmail.com>
25443
25444 [BZ #12685]
25445 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25446 mode string.
25447 Patch by Eric Blake <eblake@redhat.com>.
25448
4df46dbd
L
254492011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25450
25451 * sunrpc/Makefile (need-export-routines): Add svc_run.
25452 (routines): Remove svc_run.
25453 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25454 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25455 * sunrpc/svc_run.c (svc_run): Likewise.
25456 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25457
e84142d2
UD
254582011-04-21 Ulrich Drepper <drepper@gmail.com>
25459
25460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25461 problem in reallocation in last patch.
25462
877175d8
UD
254632011-04-20 Ulrich Drepper <drepper@gmail.com>
25464
25465 * sunrpc/Makefile: Move inclusion of Rules.
25466
ab8eed78
UD
254672011-04-19 Ulrich Drepper <drepper@gmail.com>
25468
25469 * nss/nss_files/files-initgroups.c: New file.
25470 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25471 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25472 _nss_files_initgroups_dyn.
25473
e3d8f584
RS
254742011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25475
25476 * elf/elf.h (R_ARM_IRELATIVE): Define.
25477
af190f45
UD
254782011-04-19 Ulrich Drepper <drepper@gmail.com>
25479
25480 * po/ru.po: Update from translation team.
25481
53cf59ef
UD
254822011-04-17 Ulrich Drepper <drepper@gmail.com>
25483
25484 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25485 dependencies.
25486
4c559bcd
MF
254872011-02-06 Mike Frysinger <vapier@gentoo.org>
25488
25489 [BZ #12653]
25490 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25491 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25492 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25493 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25494 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25495
4420675c
AS
254962011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25497
25498 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25499 differing bytes.
25500 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25501 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25503
75ea32ab
UD
255042011-04-17 Ulrich Drepper <drepper@gmail.com>
25505
25506 [BZ #12420]
25507 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25508 storing it.
25509 * stdlib/bug-getcontext.c: New file.
25510 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25511
27390476
AK
255122011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25513
25514 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25515 instructions into .machine "z9-109".
25516 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25517 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25518
10442705
AK
255192011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25520
25521 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25522 between environment variables and auxiliary vector.
25523
7b57bfe5
UD
255242011-04-16 Ulrich Drepper <drepper@gmail.com>
25525
25526 * Makefile: Add rules to build linkobj/libc.so.
25527 * include/libc-symbols.h: Define libc_hidden_nolink.
25528 * include/rpc/auth.h: Mark functions which are to be hidden.
25529 * include/rpc/auth_des.h: Likewise.
25530 * include/rpc/auth_unix.h: Likewise.
25531 * include/rpc/clnt.h: Likewise.
25532 * include/rpc/des_crypt.h: Likewise.
25533 * include/rpc/key_prot.h: Likewise.
25534 * include/rpc/pmap_clnt.h: Likewise.
25535 * include/rpc/pmap_prot.h: Likewise.
25536 * include/rpc/pmap_rmt.h: Likewise.
25537 * include/rpc/rpc_msg.h: Likewise.
25538 * include/rpc/svc.h: Likewise.
25539 * include/rpc/svc_auth.h: Likewise.
25540 * include/rpc/xdr.h: Likewise.
25541 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25542 * nss/Makefile: Likewise.
25543 * sunrpc/Makefile: Don't install headers. Build library with normal
25544 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25545 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25546 for the compat linking library. Remove use of INTDEF/INTUSE.
25547 * sunrpc/auth_none.c: Likewise.
25548 * sunrpc/auth_unix.c: Likewise.
25549 * sunrpc/authdes_prot.c: Likewise.
25550 * sunrpc/authuxprot.c: Likewise.
25551 * sunrpc/clnt_gen.c: Likewise.
25552 * sunrpc/clnt_perr.c: Likewise.
25553 * sunrpc/clnt_raw.c: Likewise.
25554 * sunrpc/clnt_simp.c: Likewise.
25555 * sunrpc/clnt_tcp.c: Likewise.
25556 * sunrpc/clnt_udp.c: Likewise.
25557 * sunrpc/clnt_unix.c: Likewise.
25558 * sunrpc/des_crypt.c: Likewise.
25559 * sunrpc/des_soft.c: Likewise.
25560 * sunrpc/get_myaddr.c: Likewise.
25561 * sunrpc/key_call.c: Likewise.
25562 * sunrpc/key_prot.c: Likewise.
25563 * sunrpc/netname.c: Likewise.
25564 * sunrpc/pm_getmaps.c: Likewise.
25565 * sunrpc/pm_getport.c: Likewise.
25566 * sunrpc/pmap_clnt.c: Likewise.
25567 * sunrpc/pmap_prot.c: Likewise.
25568 * sunrpc/pmap_prot2.c: Likewise.
25569 * sunrpc/pmap_rmt.c: Likewise.
25570 * sunrpc/publickey.c: Likewise.
25571 * sunrpc/rpc_cmsg.c: Likewise.
25572 * sunrpc/rpc_common.c: Likewise.
25573 * sunrpc/rpc_dtable.c: Likewise.
25574 * sunrpc/rpc_prot.c: Likewise.
25575 * sunrpc/rpc_thread.c: Likewise.
25576 * sunrpc/rtime.c: Likewise.
25577 * sunrpc/svc.c: Likewise.
25578 * sunrpc/svc_auth.c: Likewise.
25579 * sunrpc/svc_authux.c: Likewise.
25580 * sunrpc/svc_raw.c: Likewise.
25581 * sunrpc/svc_run.c: Likewise.
25582 * sunrpc/svc_simple.c: Likewise.
25583 * sunrpc/svc_tcp.c: Likewise.
25584 * sunrpc/svc_udp.c: Likewise.
25585 * sunrpc/svc_unix.c: Likewise.
25586 * sunrpc/svcauth_des.c: Likewise.
25587 * sunrpc/xcrypt.c: Likewise.
25588 * sunrpc/xdr.c: Likewise.
25589 * sunrpc/xdr_array.c: Likewise.
25590 * sunrpc/xdr_float.c: Likewise.
25591 * sunrpc/xdr_intXX_t.c: Likewise.
25592 * sunrpc/xdr_mem.c: Likewise.
25593 * sunrpc/xdr_rec.c: Likewise.
25594 * sunrpc/xdr_ref.c: Likewise.
25595 * sunrpc/xdr_sizeof.c: Likewise.
25596 * sunrpc/xdr_stdio.c: Likewise.
25597
e6c61494
UD
255982011-04-10 Ulrich Drepper <drepper@gmail.com>
25599
25600 [BZ #12650]
25601 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25602 * sysdeps/ia64/dl-tls.h: Likewise.
25603 * sysdeps/powerpc/dl-tls.h: Likewise.
25604 * sysdeps/s390/dl-tls.h: Likewise.
25605 * sysdeps/sh/dl-tls.h: Likewise.
25606 * sysdeps/sparc/dl-tls.h: Likewise.
25607 * sysdeps/x86_64/dl-tls.h: Likewise.
25608 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25609
34fe483e
AS
256102011-03-14 Andreas Schwab <schwab@redhat.com>
25611
25612 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25613 rpath element also skip the following colon.
25614 (expand_dynamic_string_token): Add is_path parameter and pass
25615 down to DL_DST_REQUIRED and _dl_dst_substitute.
25616 (decompose_rpath): Call expand_dynamic_string_token with
25617 non-zero is_path. Ignore empty rpaths.
25618 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25619 with zero is_path.
25620
f12a32e6
AS
256212011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25622
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25624 Make cancelable.
25625
38a7d692
UD
256262011-04-09 Ulrich Drepper <drepper@gmail.com>
25627
25628 [BZ #12655]
25629 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25630 Patch by Filipe David Manana <fdmanana@apache.org>.
25631
e451d22b
AS
256322011-04-07 Andreas Schwab <schwab@redhat.com>
25633
25634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25635 Maintain aligned stack.
25636 (CHECK_RSP): Remove unused macro.
25637
dedc7c7b
UD
256382011-04-03 Ulrich Drepper <drepper@gmail.com>
25639
25640 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25641 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25642
94521213
UD
256432011-04-02 Ulrich Drepper <drepper@gmail.com>
25644
25645 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25646
8cb700c0 25647 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25648
0354e355
L
256492011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25650
25651 [BZ #12518]
25652 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25653 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25654 * sysdeps/x86_64/memmove.c: New file.
25655 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25656 (memcpy): Renamed to ...
25657 (__new_memcpy): This.
25658 (memcpy): Provide GLIBC_2_14 memcpy.
25659 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25660 (memcpy): Provide GLIBC_2_2_5 memcpy.
25661
8593482f
UD
256622011-04-01 Ulrich Drepper <drepper@gmail.com>
25663
25664 [BZ #12631]
25665 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25666
81a5726b
AS
256672011-03-30 Andreas Schwab <schwab@redhat.com>
25668
25669 * misc/syncfs.c: New file.
25670 * misc/Makefile (routines): Add syncfs.
25671 * posix/unistd.h: Declare syncfs.
25672 * sysdeps/unix/syscalls.list: Add syncfs.
25673
00e5419f
AS
256742011-04-01 Andreas Schwab <schwab@redhat.com>
25675
25676 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25677 open_by_handle_at.
25678 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25679 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25681 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25683 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25684 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25685
748876bf
UD
256862011-04-01 Ulrich Drepper <drepper@gmail.com>
25687
658e451d
UD
25688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25689 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25690 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25692 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25695
748876bf
UD
25696 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25697 sync_file_range.c with -fexceptions.
25698 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25699 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25700 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25701 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25702 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25703 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25705 sync_file_range as cancellation point
25706 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25707 now a wrapper around __call_sync_file_range with cancellation handling.
25708 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25709 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25710 function name to __call_sync_file_range.
25711 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25712 Add call_sync_file_range.
748876bf 25713
6e63d5e1
AS
257142011-04-01 Andreas Schwab <schwab@redhat.com>
25715
25716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25717 bits/timex.h.
6e63d5e1 25718
46998f74
UD
257192011-04-01 Ulrich Drepper <drepper@gmail.com>
25720
4c1423ed
UD
25721 * iconv/iconv.h: Fix typo in comment.
25722 * io/fcntl.h: Likewise.
25723 * libio/stdio.h: Likewise.
25724 * posix/spawn.h: Likewise.
25725 * posix/unistd.h: Likewise.
25726 * stdlib/stdlib.h: Likewise.
25727 * time/time.h: Likewise.
25728 * wcsmbs/wchar.h: Likewise.
25729
158648c0
UD
25730 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25731 open_by_handle): Add.
25732 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25733 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25734 Augment a few comments.
25735 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25740 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25741 open_by_handle.
25742
46998f74
UD
25743 * io/fcntl.h (AT_EMPTY_PATH): Define.
25744
83fe108b
UD
257452011-03-30 Ulrich Drepper <drepper@gmail.com>
25746
25747 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25748 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25749 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25750 to...
25751 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25752 * Versions.def: Add GLIBC_2.14.
25753 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25754 Export.
83fe108b 25755
bb242059
UD
257562011-03-22 Ulrich Drepper <drepper@gmail.com>
25757
25758 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25759 round counter.
25760 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25761
c97a1282
L
257622011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25763
25764 [BZ #12597]
25765 * string/test-strncmp.c (do_page_test): New function.
25766 (check2): Likewise.
25767 (test_main): Call check2.
25768 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25769
2a115601
UD
257702011-03-20 Ulrich Drepper <drepper@gmail.com>
25771
25772 [BZ #12587]
25773 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25774 Handle cache information in CPU leaf 4.
25775 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25776
8126d904
UD
257772011-03-18 Ulrich Drepper <drepper@gmail.com>
25778
042c49c6 25779 [BZ #12583]
8126d904
UD
25780 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25781 character representation.
25782 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25783
ccfe366e
RA
257842011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25785
25786 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25787 END(__isnan) to END(__isnanf) to match function entry point/label
25788 EALIGN(__isnanf,...).
25789
c6e13027
JJ
257902011-03-10 Jakub Jelinek <jakub@redhat.com>
25791
25792 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25793
33f85a3f
UD
257942011-03-10 Ulrich Drepper <drepper@gmail.com>
25795
028478fa
UD
25796 [BZ #12510]
25797 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25798 copy from the symbol referenced in the relocation to initialize the
25799 used variable.
25800 Patch by Piotr Bury <pbury@goahead.com>.
25801 * elf/Makefile: Add rules to build and tst-unique3.
25802 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25803 * elf/tst-unique3.cc: New file.
25804 * elf/tst-unique3.h: New file.
25805 * elf/tst-unique3lib.cc: New file.
25806 * elf/tst-unique3lib2.cc: New file.
25807
33f85a3f
UD
25808 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25809
03592fc7
MF
258102011-03-10 Mike Frysinger <vapier@gentoo.org>
25811
25812 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25813 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25814 to _start.
03592fc7 25815
6a5ee102
UD
258162011-03-06 Ulrich Drepper <drepper@gmail.com>
25817
25818 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25819 to-be-loaded object along a path to loader is ld.so.
25820
7e4ba49c
HJ
258212011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25822 Ulrich Drepper <drepper@gmail.com>
25823
25824 * sysdeps/x86_64/memset.S: After aligning destination, code
25825 branches to different locations depending on the value of
25826 misalignment, when multiarch is enabled. Fix this.
25827
258282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25829
25830 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25831 Set _x86_64_preferred_memory_instruction for AMD processsors.
25832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25833 Set bit_Prefer_SSE_for_memop for AMD processors.
25834
13a804de
UD
258352011-03-04 Ulrich Drepper <drepper@gmail.com>
25836
25837 * libio/fmemopen.c (fmemopen): Optimize a bit.
25838
9d25c392
AS
258392011-03-03 Andreas Schwab <schwab@redhat.com>
25840
25841 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25842
a5543c6a
RM
258432011-03-03 Roland McGrath <roland@redhat.com>
25844
25845 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25846
012d35f7
DM
258472011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25848
7e4ba49c 25849 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25850 __bzero_ultra1 instead of __memset_ultra1.
25851
4bff6e01
AS
258522011-02-23 Andreas Schwab <schwab@redhat.com>
25853 Ulrich Drepper <drepper@gmail.com>
25854
25855 [BZ #12509]
25856 * include/link.h (struct link_map): Add l_orig_initfini.
25857 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25858 returning unsuccessfully.
25859 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25860 close of a file loaded at startup, restore the original l_initfini
25861 list.
25862 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25863 list, store the pointer.
25864 * elf/Makefile ($(objpfx)noload-mem): New rule.
25865 (noload-ENV): Define.
25866 (tests): Add $(objpfx)noload-mem.
25867 * elf/noload.c: Include <memcheck.h>.
25868 (main): Call mtrace. Close all opened handles.
25869
f2092faf
AS
258702011-02-17 Andreas Schwab <schwab@redhat.com>
25871
25872 [BZ #12454]
25873 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25874 dependencies are missing.
25875
6c8a2e88
ST
258762011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25877
f2092faf 25878 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25879 Hurd needs munmap.
25880 * sysdeps/mach/hurd/ifreq.h: New file.
25881
84a42118
PB
258822011-01-27 Petr Baudis <pasky@suse.cz>
25883 Ulrich Drepper <drepper@gmail.com>
25884
071f805e 25885 [BZ 12445]#
84a42118
PB
25886 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25887 to extend_alloca().
25888 * stdio-common/bug23.c: New file.
25889 * stdio-common/Makefile (tests): Add bug23.
25890
e23fe25b
AS
258912010-09-28 Andreas Schwab <schwab@redhat.com>
25892 Ulrich Drepper <drepper@gmail.com>
25893
25894 [BZ #12489]
25895 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25896 before performing relro protection. At old place add assertion
25897 to make sure nothing changed.
25898
d3f02e10
NS
258992011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25900 Glauber de Oliveira Costa <glommer@gmail.com>
25901
25902 * elf/elf.h: Add new ARM TLS relocs.
25903
d55fd7a5
RA
259042011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25905
25906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25907 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25908 cast from r3.
25909 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25910 'tests' variable.
25911 * sysdeps/wordsize-64/tst-writev.c: New file.
25912
2206397e
RA
259132011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25914
25915 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25916 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25917 insns in _dl_start to prevent a TOC reference before relocs are
25918 resolved.
25919
e9433893
UD
259202011-02-15 Ulrich Drepper <drepper@gmail.com>
25921
25922 [BZ #12469]
25923 * Makeconfig: Remove RANLIB definition.
25924 * Makerules: Don't use RANLIB.
25925 * aclocal.m4: Remove ranlib test.
25926 * configure.in: No need to check for ranlib.
25927 * elf/rtld-Rules: Don't use RANLIB.
25928
f75286c6
ST
259292011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25930
8e31c82d
ST
25931 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25932 protection macro.
25933 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25934 inclusion protection macro.
25935
f75286c6
ST
25936 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25937 SIGRTMIN and SIGRTMAX and print information in that case only when
25938 SIGRTMIN is defined.
25939
c1d0e639
JJ
259402011-02-11 Jakub Jelinek <jakub@redhat.com>
25941
25942 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25943 arginfo fn returning -1.
25944
25945 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25946 and thousands string is zero terminated.
25947
edf9294e
AS
259482011-02-03 Andreas Schwab <schwab@redhat.com>
25949
25950 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25951 sysdeps/unix/sysv/linux/bits/socket.h.
25952
2b7e92df
ST
259532011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25954
edf9294e
AS
25955 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25956 (__CPU_COUNT): Remove old macros.
25957 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25958 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25959 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25960 (__sched_cpualloc, __sched_cpufree): Add declarations.
25961
a4c7ea7b
UD
259622011-02-05 Ulrich Drepper <drepper@gmail.com>
25963
25964 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25965 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25966 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25967 (readdhstai): Return value of addhstaiX call.
25968 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25969 (addgrbyX): Return value returned by cache_addgr.
25970 (readdgrbyname): Return value returned by addgrbyX.
25971 (readdgrbygid): Likewise.
25972 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25973 (addpwbyX): Return value returned by cache_addpw.
25974 (readdpwbyname): Return value returned by addhstbyX.
25975 (readdpwbyuid): Likewise.
25976 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25977 (addservbyX): Return value returned by cache_addserv.
25978 (readdservbyname): Return value returned by addservbyX:
25979 (readdservbyport): Likewise.
25980 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25981 (addhstbyX): Return value returned by cache_addhst.
25982 (readdhstbyname): Return value returned by addhstbyX.
25983 (readdhstbyaddr): Likewise.
25984 (readdhstbynamev6): Likewise.
25985 (readdhstbyaddrv6): Likewise.
25986 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25987 (readdinitgroups): Return value returned by addinitgroupsX.
25988 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25989 (prune_cache): Keep track of timeout value of re-added entries.
25990 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25991 * nscd/nscd.h: Adjust prototypes of readd* functions.
25992
a0bf67cc
RM
259932011-02-04 Roland McGrath <roland@redhat.com>
25994
25995 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25996 (nis_stats): Likewise.
25997 * nis/nis_modify.c (nis_modify): Likewise.
25998 * nis/nis_remove.c (nis_remove): Likewise.
25999 * nis/nis_add.c (nis_add): Likewise.
26000
26001 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26002
26003 * posix/fnmatch_loop.c: Add some consts.
26004
26005 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26006
435b95eb
L
260072011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26008
26009 [BZ #12460]
26010 * config.make.in (config-cflags-novzeroupper): Define.
26011 * configure.in: Substitute libc_cv_cc_novzeroupper.
26012 * elf/Makefile (AVX-CFLAGS): Define.
26013 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26014 (CFLAGS-tst-auditmod4a.c): Likewise.
26015 (CFLAGS-tst-auditmod4b.c): Likewise.
26016 (CFLAGS-tst-auditmod6b.c): Likewise.
26017 (CFLAGS-tst-auditmod6c.c): Likewise.
26018 (CFLAGS-tst-auditmod7b.c): Likewise.
26019 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26020
8517b15e
UD
260212011-02-02 Ulrich Drepper <drepper@gmail.com>
26022
26023 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26024 function to the callback.
26025 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26026
10a656fe
AS
260272011-02-02 Andreas Schwab <schwab@redhat.com>
26028
26029 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26030 of errno.
26031
968dad0a
UD
260322011-01-19 Ulrich Drepper <drepper@gmail.com>
26033
9f94d2ea 26034 [BZ #11724]
968dad0a
UD
26035 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26036 of constructors.
26037 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26038 of destructors.
26039 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26040
26041 [BZ #11724]
26042 * elf/Makefile: Add rules to build and run new test.
26043 * elf/tst-initorder.c: New file.
26044 * elf/tst-initorder.exp: New file.
26045 * elf/tst-initordera1.c: New file.
26046 * elf/tst-initordera2.c: New file.
26047 * elf/tst-initordera3.c: New file.
26048 * elf/tst-initordera4.c: New file.
26049 * elf/tst-initorderb1.c: New file.
26050 * elf/tst-initorderb2.c: New file.
26051 * elf/tst-order-a1.c: New file.
26052 * elf/tst-order-a2.c: New file.
26053 * elf/tst-order-a3.c: New file.
26054 * elf/tst-order-a4.c: New file.
26055 * elf/tst-order-b1.c: New file.
26056 * elf/tst-order-b2.c: New file.
26057 * elf/tst-order-main.c: New file.
26058 New test case by George Gensure <werkt0@gmail.com>.
26059
86e92359
UD
260602010-10-01 Andreas Schwab <schwab@redhat.com>
26061
26062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26063 decoding ACE if AI_CANONIDN.
26064
5d5732b0
UD
260652011-01-18 Ulrich Drepper <drepper@gmail.com>
26066
26067 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26068
a77e8cbc
UD
260692011-01-17 Ulrich Drepper <drepper@gmail.com>
26070
6392473f
UD
26071 * version.h (RELEASE): Bump for 2.13 release.
26072 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26073
620a0529
UD
26074 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26075
18ba70a5
UD
26076 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26077 MADV_NOHUGEPAGE.
32465c3e
UD
26078 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26079 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26080 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26081 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26082 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26083 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26084
c0dafcf1
UD
26085 * posix/getconf.c: Update copyright year.
26086 * catgets/gencat.c: Likewise.
26087 * csu/version.c: Likewise.
26088 * debug/catchsegv.sh: Likewise.
26089 * debug/xtrace.sh: Likewise.
26090 * elf/ldconfig.c: Likewise.
26091 * elf/ldd.bash.in: Likewise.
26092 * elf/sprof.c (print_version): Likewise.
26093 * iconv/iconv_prog.c: Likewise.
26094 * iconv/iconvconfig.c: Likewise.
26095 * locale/programs/locale.c: Likewise.
26096 * locale/programs/localedef.c: Likewise.
26097 * malloc/memusage.sh: Likewise.
26098 * malloc/mtrace.pl: Likewise.
26099 * nscd/nscd.c (print_version): Likewise.
26100 * nss/getent.c: Likewise.
26101
a77e8cbc
UD
26102 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26103 PF_CAIF, and PF_ALG.
26104 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26105
77e8bddf
AS
261062011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26107
1f20b93a
AS
26108 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26109 (modules-names): Use them.
26110 (ifunc-test-modules, ifunc-pie-tests): Define.
26111 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26112 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26113 (test-extras): Likewise.
26114 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26115 $(compile-command.c).
26116 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26117 (all-built-dso): Define.
26118 (check-textrel.out, check-execstack.out): Depend on it.
26119
77e8bddf
AS
26120 * configure.in: Don't override --enable-multi-arch.
26121
bc425b33
UD
261222011-01-15 Ulrich Drepper <drepper@gmail.com>
26123
26124 [BZ #6812]
26125 * nscd/hstcache.c (tryagain): Define.
26126 (cache_addhst): Return tryagain not notfound for temporary errors.
26127 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26128 failed.
26129
794c3ad3
UD
261302011-01-14 Ulrich Drepper <drepper@gmail.com>
26131
70181fdd
UD
26132 [BZ #10563]
26133 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26134 to make the syscall.
26135 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26136
794c3ad3
UD
26137 [BZ #12378]
26138 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26139 and fall back to matching as normal character if the string ends before
26140 the matching ']' is found. This is what POSIX requires.
26141 * posix/testfnm.c: Adjust test result.
26142 * posix/globtest.sh: Adjust test result. Add new test.
26143 * posix/tst-fnmatch.input: Likewise.
26144 * posix/tst-fnmatch2.c: Add new test.
26145
68dc9497
AS
261462010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26147
26148 * elf/Makefile (check-execstack): Revert last change. Depend on
26149 check-execstack.h.
26150 (check-execstack.h): New target.
26151 (generated): Add check-execstack.h.
26152 * elf/check-execstack.c: Include "check-execstack.h".
26153 (main): Revert last change.
26154 (handle_file): Return zero if GNU_STACK is absent and
26155 DEFAULT_STACK_PERMS doesn't include PF_X.
26156
451f001b
UD
261572011-01-13 Ulrich Drepper <drepper@gmail.com>
26158
cfa28e56
UD
26159 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26160 in child fails because the descriptor is already closed.
8cf8ce17
UD
26161 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26162 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26163 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26164
1086d70d
UD
26165 [BZ #12397]
26166 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26167 syscall.
26168
451f001b
UD
26169 [BZ #10484]
26170 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26171 temporary buffer used to handle multi lookups locally.
a85b5cb4 26172 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26173
08769175
UD
261742011-01-12 Ulrich Drepper <drepper@gmail.com>
26175
26176 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26177 loader is ld.so.
26178
5e49c52e
UD
261792011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26180
26181 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26182 alignment for SSE2.
26183
60522a5f
UD
261842011-01-12 Ulrich Drepper <drepper@gmail.com>
26185
26186 [BZ #12394]
26187 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26188 characters. When rounding increased number of integer digits recompute
26189 number of groups.
26190 * stdio-common/tst-grouping.c: New file.
26191 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26192
f257bbd7
UD
261932011-01-09 Ulrich Drepper <drepper@gmail.com>
26194
26195 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26196 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26197
26198 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26199 void.
26200 * bits/select.h: Likewise.
26201
fa9c15cb
UD
262022011-01-08 Ulrich Drepper <drepper@gmail.com>
26203
26204 * po/ja.po: Update from translation team.
26205
16c2895f
DM
262062011-01-04 David S. Miller <davem@sunset.davemloft.net>
26207
26208 [BZ #11155]
26209 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26210 implementation just like for lxstat, fxstatat, et al.
26211
2543fef2
JM
262122010-12-27 Jim Meyering <meyering@redhat.com>
26213
26214 [BZ #12348]
26215 * posix/regexec.c (build_trtable): Return failure indication upon
26216 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26217
98727dbe
UD
262182010-12-25 Ulrich Drepper <drepper@gmail.com>
26219
5bd6dc5c
UD
26220 [BZ #12201]
26221 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26222 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26223 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26224 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26225
97983464
UD
26226 [BZ #12207]
26227 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26228
98727dbe
UD
26229 [BZ #12204]
26230 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26231 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26232
4a531bb0
L
262332010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26234
26235 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26236 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26237 script has SORT_BY_INIT_PRIORITY.
26238 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26239 NO_CTORS_DTORS_SECTIONS is defined.
26240 * elf/soinit.c: Likewise.
26241 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26242 NO_CTORS_DTORS_SECTIONS is defined.
26243 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26244 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26245 * sysdeps/sh/init-first.c: Likewise.
26246 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26247
07eb4b71
UD
262482010-12-24 Ulrich Drepper <drepper@gmail.com>
26249
26250 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26251 always use the slow path.
26252
30950a5f
RA
262532010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26254
26255 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26256 similar rule which adds the sysdep directories to the header search in
26257 order to pick up the correct platform stackinfo.h.
26258 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26259 perform test if it is, otherwise return successfully without testing.
26260 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26261 DEFAULT_STACK_PERMS define in stackinfo.h.
26262 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26263 defined in stackinfo.h.
26264 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26265 DEFAULT_STACK_PERMS defined in stackinfo.h.
26266 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26267 * sysdeps/ia64/stackinfo.h: Likewise.
26268 * sysdeps/s390/stackinfo.h: Likewise.
26269 * sysdeps/sh/stackinfo.h: Likewise.
26270 * sysdeps/sparc/stackinfo.h: Likewise.
26271 * sysdeps/x86_64/stackinfo.h: Likewise.
26272 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26273 PF_X for powerpc64. Retain PF_X for powerpc32.
26274
db753e2c
UD
262752010-12-19 Ulrich Drepper <drepper@gmail.com>
26276
14b697f7
UD
26277 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26278 accurately.
db753e2c
UD
26279 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26280 GETDENTS_64BIT_ALIGNED.
26281
28300719
UD
262822010-12-14 Ulrich Drepper <dreper@gmail.com>
26283
14b697f7 26284 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26285
4f197237
AS
262862010-12-10 Andreas Schwab <schwab@redhat.com>
26287
dbb0472f
AS
26288 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26289 _GNU_SOURCE.
26290
4f197237
AS
26291 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26292 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26293 Remove __restrict.
26294 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26295 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26296
fb88ac72
UD
262972010-12-09 Ulrich Drepper <drepper@gmail.com>
26298
26299 [BZ #11655]
26300 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26301 are initialized.
26302
42acbb92
JJ
263032010-12-09 Jakub Jelinek <jakub@redhat.com>
26304
26305 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26306
c038d98d
UD
263072010-12-03 Ulrich Drepper <drepper@gmail.com>
26308
26309 * po/it.po: Update from translation team.
26310
3a4a2499
L
263112010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26312
26313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26314 unused codes.
26315
1e24cf6e
UD
263162010-11-30 Ulrich Drepper <drepper@gmail.com>
26317
26318 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26319
a7690819
AS
263202010-11-24 Andreas Schwab <schwab@redhat.com>
26321
26322 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26323 specially.
26324 (gaih_getanswer_slice): Likewise.
26325
3bf8d1b1
JJ
263262010-10-20 Jakub Jelinek <jakub@redhat.com>
26327
26328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26329
6db52fbb
PB
263302010-05-31 Petr Baudis <pasky@suse.cz>
26331
26332 [BZ #11149]
26333 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26334 silently even in the chroot mode.
26335
eaca7569
UD
263362010-11-22 Ulrich Drepper <drepper@gmail.com>
26337
26338 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26339 last patch a bit. Pretty printing
26340
3056dcdb
UD
263412010-05-31 Petr Baudis <pasky@suse.cz>
26342
26343 [BZ #10085]
26344 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26345 initialization of skip_initgroups_dyn.
26346
cf7c9078
UD
263472010-11-19 Ulrich Drepper <drepper@gmail.com>
26348
26349 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26350 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26351
a1fb5e3e
UD
263522010-11-16 Ulrich Drepper <drepper@gmail.com>
26353
26354 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26355
3540d66b
AS
263562010-11-11 Andreas Schwab <schwab@redhat.com>
26357
26358 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26359 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26360 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26361 ($(objpfx)tst-fnmatch-mem): New rule.
26362 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26363 * posix/tst-fnmatch.c (main): Call mtrace.
26364
13b69574
L
263652010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26366
26367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26368 Support Intel processor model 6 and model 0x2c.
26369
da93d214
LM
263702010-11-10 Luis Machado <luisgpm@br.ibm.com>
26371
26372 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26373 signed comparison.
26374
8ca52c6e
L
263752010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26376
26377 [BZ #12205]
26378 * string/test-strncasecmp.c (check_result): New function.
26379 (do_one_test): Use it.
26380 (check1): New function.
26381 (test_main): Use it.
26382 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26383 Support strcasecmp and strncasecmp.
26384
69da074d
UD
263852010-11-08 Ulrich Drepper <drepper@gmail.com>
26386
26387 [BZ #12194]
26388 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26389 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26390
ff02d528
L
263912010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26392
26393 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26394 IFUNC support.
26395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26396 memset-x86-64.
26397 * sysdeps/x86_64/multiarch/bzero.S: New file.
26398 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26399 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26400 * sysdeps/x86_64/multiarch/memset.S: New file.
26401 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26403 Set bit_Prefer_SSE_for_memop for Intel processors.
26404 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26405 Define.
26406 (index_Prefer_SSE_for_memop): Define.
26407 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26408
344d0b54
LM
264092010-11-04 Luis Machado <luisgpm@br.ibm.com>
26410
26411 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26412 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26413
c0dde15b
UD
264142010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26415
26416 [BZ #12191]
26417 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26418 (__x86_64_raw_data_cache_size_half): Likewise.
26419 (__x86_64_raw_shared_cache_size): Likewise.
26420 (__x86_64_raw_shared_cache_size_half): Likewise.
26421
26422 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26423 (__x86_64_raw_data_cache_size_half): Likewise.
26424 (__x86_64_raw_shared_cache_size): Likewise.
26425 (__x86_64_raw_shared_cache_size_half): Likewise.
26426 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26427 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26428 and __x86_64_raw_shared_cache_size_half. Round
26429 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26430 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26431 to multiple of 256 bytes.
26432
0e516e0e
MS
264332010-11-03 Ulrich Drepper <drepper@gmail.com>
26434
26435 [BZ #12167]
26436 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26437 of inacessible symlinks. Verify result of symlink before returning it.
26438 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26439 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26440
0e012e87
ER
264412010-10-28 Erich Ritz <erichritz@gmail.com>
26442
26443 * math/math.h (isinf): Fix typo in comment.
26444
de0ff7bc
UD
264452010-11-01 Ulrich Drepper <drepper@gmail.com>
26446
26447 * po/da.po: Update from translation team.
26448
fa41c84d
UD
264492010-10-26 Ulrich Drepper <drepper@gmail.com>
26450
26451 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26452 is added to the list.
26453
f0967738
AK
264542010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26455 Ulrich Drepper <drepper@gmail.com>
26456
26457 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26458 the global list here. Move code to...
26459 (_dl_add_to_namespace_list): ...here. New function.
26460 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26461 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26462 * elf/dl-load.c (lose): Don't remove the element from the list.
26463 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26464 (_dl_map_object): Likewise.
26465
264662010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26467
26468 [BZ #12159]
26469 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26470 into all bytes of SSE register.
26471 Patch by Richard Li <richardpku@gmail.com>.
26472
f0967738 264732010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26474
26475 [BZ #12140]
26476 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26477 perturbing.
26478
d0b9e94f
MB
264792010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26480
26481 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26482 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26483 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26484 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26486 submachine.
26487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26488
8e9f92e9
AS
264892010-10-22 Andreas Schwab <schwab@redhat.com>
26490
26491 * include/dlfcn.h (__RTLD_SECURE): Define.
26492 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26493 mode & __RTLD_SECURE instead.
26494 (open_path): Rename preloaded parameter to secure.
26495 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26496 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26497 * elf/dl-deps.c (openaux): Likewise.
26498 * elf/rtld.c (struct map_args): Remove is_preloaded.
26499 (map_doit): Don't use it.
26500 (dl_main): Likewise.
26501 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26502 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26503
bc96fbda
AS
265042010-09-09 Andreas Schwab <schwab@redhat.com>
26505
26506 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26507 (sysd-rules-targets): Remove duplicates.
26508 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26509 rtld-%.$o dependency.
26510
22cd1c9b
AS
265112010-10-18 Andreas Schwab <schwab@redhat.com>
26512
26513 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26514 _dl_map_object do it.
26515
18edac48
UD
265162010-10-19 Ulrich Drepper <drepper@gmail.com>
26517
26518 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26519 fast fma builtins, define the macros in the C99 standard.
26520 (FP_FAST_FMAF): Likewise.
26521 (FP_FAST_FMAL): Likewise.
26522 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26523
26524 * bits/mathdef.h: Update copyright year.
26525 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26526
d2050124
MM
265272010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26528
26529 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26530 builtins, define the macros in the C99 standard.
26531 (FP_FAST_FMAF): Likewise.
26532 (FP_FAST_FMAL): Likewise.
26533 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26534 multiply/add.
26535 (FP_FAST_FMAF): Likewise.
26536
475facd1
JJ
265372010-10-15 Jakub Jelinek <jakub@redhat.com>
26538
26539 [BZ #3268]
26540 * math/libm-test.inc (fma_test): Some new testcases.
26541 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26542 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26543 y and infinite z. Do multiplication by C already in long double.
26544 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26546 y and infinite z. Do bitwise or of inexact bit into u.d.
26547 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26548 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26549 * sysdeps/i386/fpu/s_fma.S: Removed.
26550 * sysdeps/i386/fpu/s_fmal.S: Removed.
26551
7c08a05c
JJ
265522010-10-16 Jakub Jelinek <jakub@redhat.com>
26553
26554 [BZ #3268]
26555 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26557 computation is not scheduled after fetestexcept. Fix value
26558 of minimum denormal long double.
26559
f3f7372d
JJ
265602010-10-14 Jakub Jelinek <jakub@redhat.com>
26561
26562 [BZ #3268]
26563 * math/libm-test.inc (fma_test): Add some more tests.
26564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26565 correctly.
26566
14d43591
AS
265672010-10-15 Andreas Schwab <schwab@redhat.com>
26568
26569 * scripts/data/localplt-s390-linux-gnu.data: New file.
26570 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26571
5e908464
JJ
265722010-10-13 Jakub Jelinek <jakub@redhat.com>
26573
26574 [BZ #3268]
26575 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26576 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26577 instead of dbl-64.
26578 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26579 inlines.
26580 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26582 if one of x and y is very large and the other is subnormal.
26583 * sysdeps/s390/fpu/s_fmaf.c: New file.
26584 * sysdeps/s390/fpu/s_fma.c: New file.
26585 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26586 * sysdeps/powerpc/fpu/s_fma.S: New file.
26587 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26588 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26589 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26590
265912010-10-12 Jakub Jelinek <jakub@redhat.com>
26592
26593 [BZ #3268]
26594 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26595 fma tests.
26596 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26597 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26598 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26599 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26600 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26601 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26602 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26603
b833d51f
UD
266042010-10-12 Ulrich Drepper <drepper@redhat.com>
26605
26606 [BZ #12078]
26607 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26608 * posix/bug-regex31.input: Add test case.
26609
1751705d
UD
266102010-10-11 Ulrich Drepper <drepper@gmail.com>
26611
e9b9cbf5
UD
26612 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26613 * posix/bug-regex31.input: New file.
26614
26615 [BZ #12078]
26616 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26617 (parse_sub_exp): Fix last change, use postorder.
26618
ef06edbe
UD
26619 * posix/bug-regex31.c: New file.
26620 * posix/Makefile: Add rules to build and run bug-regex31.
26621
a129c80d
UD
26622 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26623
26624 [BZ #12078]
26625 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26626
b76b818e
UD
26627 [BZ #12108]
26628 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26629 to have entries in sys_siglist.
26630
1751705d
UD
26631 [BZ #12093]
26632 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26633 be NULL.
26634
9ff8d36f
JJ
266352010-10-07 Jakub Jelinek <jakub@redhat.com>
26636
26637 [BZ #3268]
26638 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26639 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26640 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26641 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26642 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26643 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26644 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26645 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26646 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26647 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26648 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26649 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26650 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26651 * math/ftestexcept.c (fetestexcept): Likewise.
26652 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26653 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26654 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26655 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26656 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26657 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26658 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26659
af325969
UD
266602010-10-11 Ulrich Drepper <drepper@gmail.com>
26661
c579b202 26662 [BZ #12107]
af325969
UD
26663 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26664 newline.
26665
67a67b95
UD
266662010-10-06 Ulrich Drepper <drepper@gmail.com>
26667
26668 * string/bug-strstr1.c: New file.
26669 * string/Makefile: Add rules to build and run bug-strstr1.
26670
5fb308bc
EB
266712010-10-05 Eric Blake <eblake@redhat.com>
26672
26673 [BZ #12092]
26674 * string/str-two-way.h (two_way_long_needle): Always clear memory
26675 when skipping input due to the shift table.
26676
45db99c7
UD
266772010-10-03 Ulrich Drepper <drepper@gmail.com>
26678
3b111893
UD
26679 [BZ #12005]
26680 * malloc/mcheck.c: Handle large requests.
26681
45db99c7
UD
26682 [BZ #12077]
26683 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26684 for strncmp and strncasecmp.
26685 * string/stratcliff.c: Add tests for strcmp and strncmp.
26686 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26687
cf7a1eb8
NI
266882010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26689
26690 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26691 __set_fpscr.
26692
6484ba5e
AJ
266932010-09-30 Andreas Jaeger <aj@suse.de>
26694
26695 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26696 (CGROUP_SUPER_MAGIC): Define.
26697 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26698 Handle btrfs and cgroup file systems.
26699 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26700 Likewise.
26701
91c42559
LM
267022010-09-27 Luis Machado <luisgpm@br.ibm.com>
26703
26704 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26705 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26706
87a97932
AK
267072010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26708
26709 [BZ #12067]
26710 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26711 trying to locate the ELF header.
26712
c21cc9bc
AS
267132010-09-27 Andreas Schwab <schwab@redhat.com>
26714
26715 [BZ #11611]
26716 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26717 Mask out sign-bit copies when constructing f_fsid.
26718
315970f6
PB
267192010-09-24 Petr Baudis <pasky@suse.cz>
26720
26721 * debug/stack_chk_fail_local.c: Add missing licence exception.
26722 * debug/warning-nop.c: Likewise.
26723
1ac7a2c7
JM
267242010-09-15 Joseph Myers <joseph@codesourcery.com>
26725
26726 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26727 implementing getdents64 using getdents syscall, set d_type if
26728 __ASSUME_GETDENTS32_D_TYPE.
26729
56801c50
AS
267302010-09-16 Andreas Schwab <schwab@redhat.com>
26731
26732 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26733 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26734
dda51327
UD
267352010-09-21 Ulrich Drepper <drepper@redhat.com>
26736
26737 [BZ #12037]
26738 * posix/unistd.h: Undo change of feature selection for ftruncate from
26739 2010-01-11.
26740
8ffcee4a
UD
267412010-09-20 Ulrich Drepper <drepper@redhat.com>
26742
a545ecd9 26743 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26744 detection.
26745
e24f0a8b
AS
267462010-09-20 Andreas Schwab <schwab@redhat.com>
26747
26748 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26749 fanotify_mark.
26750 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26751
7291c56f
AS
267522010-09-14 Andreas Schwab <schwab@redhat.com>
26753
26754 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26755 variables after CHECK_SP call.
26756 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26757
bc5fb037
AS
267582010-09-13 Andreas Schwab <schwab@redhat.com>
26759 Ulrich Drepper <drepper@redhat.com>
26760
26761 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26762 re-relocationg ld.so.
26763 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26764 _dl_init_paths call.
26765 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26766 here anymore.
26767
e66e7419
UD
267682010-09-14 Ulrich Drepper <drepper@redhat.com>
26769
26770 * resolv/res_init.c (__res_vinit): Count the default server we added.
26771
c044aa75
CLT
267722010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26773 Ulrich Drepper <drepper@redhat.com>
26774
26775 [BZ #11968]
26776 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26777 (____longjmp_chk): Use %ebx for saving value across system call.
26778 Add unwind info.
26779
32cf4069
AS
267802010-09-06 Andreas Schwab <schwab@redhat.com>
26781
26782 * manual/Makefile: Don't mix pattern rules with normal rules.
26783
817328ee
AS
267842010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26785
26786 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26787 operation.
26788 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26789 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26790 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26791 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26792 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26793 Likewise.
26794
29fddf61
UD
267952010-09-04 Ulrich Drepper <drepper@redhat.com>
26796
26797 [BZ #11979]
26798 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26799 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26800
0959ffc9
UD
268012010-09-02 Ulrich Drepper <drepper@redhat.com>
26802
26803 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26804 * sysdeps/x86_64/addmul_1.S: Likewise.
26805 * sysdeps/x86_64/lshift.S: Likewise.
26806 * sysdeps/x86_64/mul_1.S: Likewise.
26807 * sysdeps/x86_64/rshift.S: Likewise.
26808 * sysdeps/x86_64/sub_n.S: Likewise.
26809 * sysdeps/x86_64/submul_1.S: Likewise.
26810
ece29840
ST
268112010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26812
0959ffc9
UD
26813 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26814 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26815 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26816 * bits/sched.h [__need_schedparam]
ece29840 26817 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26818 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26819 (__defined_schedparam): Define to 1.
ece29840
ST
26820 (__sched_param): New structure, identical to sched_param.
26821 (__need_schedparam): Undefine.
26822
e53a31fe
MF
268232010-08-31 Mike Frysinger <vapier@gentoo.org>
26824
fdc0c10d
MF
26825 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26826 (epoll_create1): Declare.
26827
e53a31fe
MF
26828 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26829
a726d796
AS
268302010-08-31 Andreas Schwab <schwab@redhat.com>
26831
26832 [BZ #7066]
26833 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26834 shifting retval into place.
26835
2f3e3dc7
UD
268362010-09-01 Ulrich Drepper <drepper@redhat.com>
26837
f2933da9
UD
26838 * nis/rpcsvc/nis.h: Update copyright notice.
26839 * nis/rpcsvc/nis.x: Likewise.
26840 * nis/rpcsvc/nis_callback.h: Likewise.
26841 * nis/rpcsvc/nis_callback.x: Likewise.
26842 * nis/rpcsvc/nis_object.x: Likewise.
26843 * nis/rpcsvc/nis_tags.h: Likewise.
26844 * nis/rpcsvc/yp.h: Likewise.
26845 * nis/rpcsvc/yp.x: Likewise.
26846 * nis/rpcsvc/ypupd.h: Likewise.
26847 * nis/yp_xdr.c: Likewise.
26848 * nis/ypupdate_xdr.c: Likewise.
26849
2f3e3dc7
UD
26850 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26851 mainly the body of pmap_getport. Add parameters to specify timeouts.
26852 (pmap_getport): Use __libc_rpc_getport.
26853 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26854 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26855 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26856
f3dcc2f9
AS
268572010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26858
26859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26860 fanotify_mark.
26861
6d34eb5b
RM
268622010-08-27 Roland McGrath <roland@redhat.com>
26863
26864 * sysdeps/i386/i686/multiarch/Makefile
26865 (CFLAGS-varshift.c): New variable.
26866
9ea3de11
UD
268672010-08-27 Ulrich Drepper <drepper@redhat.com>
26868
c96d23fc
UD
26869 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26870 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26871
9ea3de11
UD
26872 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26873
26874 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26875
623aac7f
L
268762010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26877
26878 * sysdeps/x86_64/strlen.S: Unroll the loop.
26879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26880 strlen-sse2 strlen-sse2-bsf.
26881 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26882 __strlen_no_bsf if bit_Slow_BSF is set.
26883 (__strlen_sse42): Removed.
26884 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26885 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26886
8b2b7715
RM
268872010-08-25 Roland McGrath <roland@redhat.com>
26888
26889 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26890 * sysdeps/x86_64/multiarch/varshift.c: New file.
26891 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26892 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26893 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26894 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26895
e73015f2
L
268962010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26897
26898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26899 strlen-sse2 strlen-sse2-bsf.
26900 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26901 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26902 (__strlen_sse2): Removed.
26903 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26904 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26906 bit_Slow_BSF for Atom.
26907 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26908 (index_Slow_BSF): Define.
26909 (HAS_SLOW_BSF): Define.
26910
df24a73e
UD
269112010-08-25 Ulrich Drepper <drepper@redhat.com>
26912
26913 [BZ #10851]
26914 * resolv/res_init.c (__res_vinit): When no server address at all
26915 is given default to loopback.
26916
f2ac4868
RM
269172010-08-24 Roland McGrath <roland@redhat.com>
26918
09055553
RM
26919 * configure.in: Remove config-name.h generation.
26920 * configure: Regenerated.
26921 * config-name.in: File removed.
26922 * scripts/config-uname.sh: New file.
26923 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26924 ($(objdir)config-name.h): New target.
26925
f2ac4868
RM
26926 * sunrpc/rpc_parse.h: Avoid nested comment.
26927
73f27d5e
RH
269282010-08-24 Richard Henderson <rth@redhat.com>
26929 Ulrich Drepper <drepper@redhat.com>
26930 H.J. Lu <hongjiu.lu@intel.com>
26931
26932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26934 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26935 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26936 _mm_alignr_epi8 with _mm_loadu_si128.
26937 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26938 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26939 (__m128i_shift_right): Removed.
26940 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26941 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26942 * sysdeps/x86_64/multiarch/varshift.h: New file.
26943 * sysdeps/x86_64/multiarch/varshift.S: New file.
26944
84b9230c
MF
269452010-08-21 Mike Frysinger <vapier@gentoo.org>
26946
26947 * configure.in: Move assembler checks to before sysdep dir checking.
26948
9bbd0ddc
PB
269492010-08-20 Petr Baudis <pasky@suse.cz>
26950
26951 * LICENSES: Sync the sunrpc license.
26952
9da4bb31
UD
269532010-08-19 Ulrich Drepper <drepper@redhat.com>
26954
a7ab6ec8
UD
26955 * sunrpc/auth_des.c: Update copyright notice once again.
26956 * sunrpc/auth_none.c: Likewise.
26957 * sunrpc/auth_unix.c: Likewise.
26958 * sunrpc/authdes_prot.c: Likewise.
26959 * sunrpc/authuxprot.c: Likewise.
26960 * sunrpc/bindrsvprt.c: Likewise.
26961 * sunrpc/clnt_gen.c: Likewise.
26962 * sunrpc/clnt_perr.c: Likewise.
26963 * sunrpc/clnt_raw.c: Likewise.
26964 * sunrpc/clnt_simp.c: Likewise.
26965 * sunrpc/clnt_tcp.c: Likewise.
26966 * sunrpc/clnt_udp.c: Likewise.
26967 * sunrpc/clnt_unix.c: Likewise.
26968 * sunrpc/des_crypt.c: Likewise.
26969 * sunrpc/des_soft.c: Likewise.
26970 * sunrpc/get_myaddr.c: Likewise.
26971 * sunrpc/getrpcport.c: Likewise.
26972 * sunrpc/key_call.c: Likewise.
26973 * sunrpc/key_prot.c: Likewise.
26974 * sunrpc/openchild.c: Likewise.
26975 * sunrpc/pm_getmaps.c: Likewise.
26976 * sunrpc/pm_getport.c: Likewise.
26977 * sunrpc/pmap_clnt.c: Likewise.
26978 * sunrpc/pmap_prot.c: Likewise.
26979 * sunrpc/pmap_prot2.c: Likewise.
26980 * sunrpc/pmap_rmt.c: Likewise.
26981 * sunrpc/rpc/auth.h: Likewise.
26982 * sunrpc/rpc/auth_unix.h: Likewise.
26983 * sunrpc/rpc/clnt.h: Likewise.
26984 * sunrpc/rpc/des_crypt.h: Likewise.
26985 * sunrpc/rpc/key_prot.h: Likewise.
26986 * sunrpc/rpc/netdb.h: Likewise.
26987 * sunrpc/rpc/pmap_clnt.h: Likewise.
26988 * sunrpc/rpc/pmap_prot.h: Likewise.
26989 * sunrpc/rpc/pmap_rmt.h: Likewise.
26990 * sunrpc/rpc/rpc.h: Likewise.
26991 * sunrpc/rpc/rpc_des.h: Likewise.
26992 * sunrpc/rpc/rpc_msg.h: Likewise.
26993 * sunrpc/rpc/svc.h: Likewise.
26994 * sunrpc/rpc/svc_auth.h: Likewise.
26995 * sunrpc/rpc/types.h: Likewise.
26996 * sunrpc/rpc/xdr.h: Likewise.
26997 * sunrpc/rpc_clntout.c: Likewise.
26998 * sunrpc/rpc_cmsg.c: Likewise.
26999 * sunrpc/rpc_common.c: Likewise.
27000 * sunrpc/rpc_cout.c: Likewise.
27001 * sunrpc/rpc_dtable.c: Likewise.
27002 * sunrpc/rpc_hout.c: Likewise.
27003 * sunrpc/rpc_main.c: Likewise.
27004 * sunrpc/rpc_parse.c: Likewise.
27005 * sunrpc/rpc_parse.h: Likewise.
27006 * sunrpc/rpc_prot.c: Likewise.
27007 * sunrpc/rpc_sample.c: Likewise.
27008 * sunrpc/rpc_scan.c: Likewise.
27009 * sunrpc/rpc_scan.h: Likewise.
27010 * sunrpc/rpc_svcout.c: Likewise.
27011 * sunrpc/rpc_tblout.c: Likewise.
27012 * sunrpc/rpc_util.c: Likewise.
27013 * sunrpc/rpc_util.h: Likewise.
27014 * sunrpc/rpcinfo.c: Likewise.
27015 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27016 * sunrpc/rpcsvc/key_prot.x: Likewise.
27017 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27018 * sunrpc/rpcsvc/mount.x: Likewise.
27019 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27020 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27021 * sunrpc/rpcsvc/rex.x: Likewise.
27022 * sunrpc/rpcsvc/rstat.x: Likewise.
27023 * sunrpc/rpcsvc/rusers.x: Likewise.
27024 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27025 * sunrpc/rpcsvc/spray.x: Likewise.
27026 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27027 * sunrpc/rtime.c: Likewise.
27028 * sunrpc/svc.c: Likewise.
27029 * sunrpc/svc_auth.c: Likewise.
27030 * sunrpc/svc_authux.c: Likewise.
27031 * sunrpc/svc_raw.c: Likewise.
27032 * sunrpc/svc_run.c: Likewise.
27033 * sunrpc/svc_simple.c: Likewise.
27034 * sunrpc/svc_tcp.c: Likewise.
27035 * sunrpc/svc_udp.c: Likewise.
27036 * sunrpc/svc_unix.c: Likewise.
27037 * sunrpc/svcauth_des.c: Likewise.
27038 * sunrpc/xcrypt.c: Likewise.
27039 * sunrpc/xdr.c: Likewise.
27040 * sunrpc/xdr_array.c: Likewise.
27041 * sunrpc/xdr_float.c: Likewise.
27042 * sunrpc/xdr_mem.c: Likewise.
27043 * sunrpc/xdr_rec.c: Likewise.
27044 * sunrpc/xdr_ref.c: Likewise.
27045 * sunrpc/xdr_sizeof.c: Likewise.
27046 * sunrpc/xdr_stdio.c: Likewise.
27047
9da4bb31
UD
27048 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27049 handling.
27050
bdaa77bc
AS
270512010-08-19 Andreas Schwab <schwab@redhat.com>
27052
27053 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27054
fe2f79db
LM
270552010-08-19 Luis Machado <luisgpm@br.ibm.com>
27056
27057 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27058 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27059 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27060 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27061 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27062 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27063 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27064 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27065 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27066 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27067 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27068 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27069 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27070 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27071
b9b42ee0
AB
270722010-07-26 Anton Blanchard <anton@samba.org>
27073
27074 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27075 * malloc/arena.c (heap_trim): Likewise.
27076
1c06ba31
UD
270772010-08-16 Ulrich Drepper <drepper@redhat.com>
27078
27079 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27080 here. Not...
27081 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27082 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27083
f8392f40
L
270842010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27085
27086 * sysdeps/i386/elf/Makefile: New file.
27087
3162f12e
AS
270882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27089
27090 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27091 from fanotify_init.
27092 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27093 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27094
28c90b2c
UD
270952010-08-15 Ulrich Drepper <drepper@redhat.com>
27096
27097 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27098 of strncasecmp_l.
1feccb6c 27099 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27100
ca6bb004
UD
271012010-08-14 Ulrich Drepper <drepper@redhat.com>
27102
e9f82e0d
UD
27103 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27104 strncase_l-nonascii.
27105 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27106 Add strncase_l-ssse3.
27107 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27108 * sysdeps/x86_64/strcmp.S: Likewise.
27109 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27110 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27111 * sysdeps/x86_64/strncase.S: New file.
27112 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27113 * sysdeps/x86_64/strncase_l.S: New file.
27114 * string/Makefile (strop-tests): Add strncasecmp.
27115 * string/test-strncasecmp.c: New file.
27116
27117 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27118 warning.
27119
ca6bb004
UD
27120 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27121 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27122
052fa7b3
AS
271232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27124
27125 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27126
962dba78
UD
271272010-08-12 Ulrich Drepper <drepper@redhat.com>
27128
27129 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27130 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27131 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27132
bebff237
AM
271332010-05-01 Alan Modra <amodra@gmail.com>
27134
27135 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27136 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27137 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27138 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27139 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27140 tidying. Don't tail-call __sigjmp_save for static lib.
27141 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27142 save location.
27143 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27144 (CALL_MCOUNT): Add eh info, and nop after bl.
27145 (TAIL_CALL_SYSCALL_ERROR): New macro.
27146 (PSEUDO_RET): Use it.
27147 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27148 Correct save location of integer regs and cr.
27149 (_dl_profile_resolve): Correct cr save location. Delete nops
27150 after bl when SHARED. Reduce cfi size a little by better
27151 placement of cfi directives.
27152 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27153 make a stack frame. Instead use parm save area as a temp.
27154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27155 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27157 Don't make a stack frame for parent, use parm save area.
27158 Increase child stack frame to 112 bytes. Don't save unused reg,
27159 and adjust reg usage. Set up cfi on error recovery and
27160 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27162 (__makecontext): Add dummy nop after jump to exit.
27163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27164 Use correct parm save area and cr save, reduce stack frame.
27165 Correct cfi for possible PSEUDO_RET frame setup.
27166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27167 Branch to local label emitted by PSEUDO_RET rather than
27168 __syscall_error.
27169
02637374
AS
271702010-08-12 Andreas Schwab <schwab@redhat.com>
27171
27172 [BZ #11904]
27173 * locale/programs/locale.c (print_assignment): New function.
27174 (show_locale_vars): Use it.
27175
c3e2f19b
UD
271762010-08-11 Ulrich Drepper <drepper@redhat.com>
27177
3cdaa6ad
UD
27178 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27179 field.
27180 (struct statfs64): Likewise.
27181 (_STATFS_F_FLAGS): Define.
27182 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27183 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27184 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27185 (ST_VALID): Define locally.
27186 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27187 __statvfs_getflags, use the provided value.
27188 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27189 __ASSUME_STATFS_F_FLAGS.
27190
754f7da3
UD
27191 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27192
10b3bedc
UD
27193 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27194 Add sys/fanotify.h.
27195 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27196 fanotify_mask for GLIBC_2.13.
27197 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27198 fanotify_init and fanotify_mark.
27199 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27200 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27201
c08fb0d7
UD
27202 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27203 Add prlimit.
27204 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27205 prlimit64 for GLIBC_2.13.
27206 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27207 prlimit64.
27208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27209 syscall.
27210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27211 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27212 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27213 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27214 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27215 add prlimit alias.
27216 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27217
15bac72b
UD
27218 [BZ #11903]
27219 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27220 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27221
c3e2f19b
UD
27222 * nss/Makefile: Add rules to build and run tst-nss-test1.
27223 * shlib-versions: Add entry for libnss_test1.
27224 * nss/nss_test1.c: New file.
27225 * nss/tst-nss-test1.c: New file.
27226
27227 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27228 (__nss_configure_lookup): Set appropriate entry in
27229 __nss_configure_lookup to true.
27230 * nss/nsswitch.h: Define enum with indeces of databases in
27231 databases and __nss_database_custom arrays. Declare
27232 __nss_database_custom.
27233 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27234 to avoid using nscd when custom rules are installed.
27235 * nss/getXXbyYY_r.c: Likewise.
27236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27237
27238 * nss/nss_files/files-parse.c: Whitespace fixes.
27239
f15ce4d8
UD
272402010-08-09 Ulrich Drepper <drepper@redhat.com>
27241
27242 [BZ #11883]
27243 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27244 * posix/fnmatch_loop.c: Likewise.
27245
d22e4cc9
AK
272462010-07-17 Andi Kleen <ak@linux.intel.com>
27247
27248 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27249 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27250 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27251 * Versions.def [GLIBC_2.13]: Add.
27252
805bc17d
UD
272532010-08-06 Ulrich Drepper <drepper@redhat.com>
27254
27255 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27256 Also fail if tpwd after pwuid call is NULL.
27257
5a42321d
ST
272582010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27259
27260 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27261 when converting to ms.
27262
fd3ebeda
ST
272632010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27264
27265 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27266 EOPNOTSUPP errors with ENOTTY.
27267 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27268 EOPNOTSUPP errors with ENOTTY.
27269
73507d3a
UD
272702010-07-31 Ulrich Drepper <drepper@redhat.com>
27271
27272 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27273 Add strcasecmp_l-ssse3.
27274 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27275 strcasecmp.
27276 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27277 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27278 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27279
fe36dd02
UD
272802010-07-30 Ulrich Drepper <drepper@redhat.com>
27281
66f6765a
UD
27282 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27283
42e08a54
UD
27284 * string/Makefile (strop-tests): Add strcasecmp.
27285 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27286 strcasecmp_l-nonascii.
27287 (gen-as-const-headers): Add locale-defines.sym.
27288 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27289 * sysdeps/x86_64/strcasecmp.S: New file.
27290 * sysdeps/x86_64/strcasecmp_l.S: New file.
27291 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27292 * sysdeps/x86_64/locale-defines.sym: New file.
27293 * string/test-strcasecmp.c: New file.
27294
fe36dd02
UD
27295 * string/test-strcasestr.c: Test both ends of the range of characters.
27296 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27297
48cbc0d6
RM
272982010-07-29 Roland McGrath <roland@redhat.com>
27299
76e6d6bc 27300 [BZ #11856]
48cbc0d6
RM
27301 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27302
880113d9
UD
273032010-07-27 Ulrich Drepper <drepper@redhat.com>
27304
27305 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27306 for ld.so.
27307
deb9cabb
AS
273082010-07-27 Andreas Schwab <schwab@redhat.com>
27309
27310 * manual/memory.texi (Malloc Tunable Parameters): Document
27311 M_PERTURB.
27312
1c7570ff
RM
273132010-07-26 Roland McGrath <roland@redhat.com>
27314
27315 [BZ #11840]
27316 * configure.in (-fgnu89-inline check): Set and substitute
27317 gnu89_inline, not libc_cv_gnu89_inline.
27318 * configure: Regenerated.
27319 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27320
24fb0f88
UD
273212010-07-26 Ulrich Drepper <drepper@redhat.com>
27322
27323 * string/test-strnlen.c: New file.
27324 * string/Makefile (strop-tests): Add strnlen.
27325 * string/tester.c (test_strnlen): Add a few more test cases.
27326 * string/tst-strlen.c: Better error reporting.
27327
27328 * sysdeps/x86_64/strnlen.S: New file.
27329
8e96b93a
UD
273302010-07-24 Ulrich Drepper <drepper@redhat.com>
27331
27332 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27333 lower-latency instructions.
27334
dbc676d4
UD
273352010-07-23 Ulrich Drepper <drepper@redhat.com>
27336
27337 * string/test-strcasestr.c: New file.
27338 * string/test-strstr.c: New file.
27339 * string/Makefile (strop-tests): Add strstr and strcasestr.
27340 * string/str-two-way.h: Don't undefine MAX.
27341 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27342
f6a31e0e
AS
273432010-07-21 Andreas Schwab <schwab@redhat.com>
27344
27345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27346 strcasestr-nonascii.
27347 (CFLAGS-strcasestr-nonascii.c): Define.
27348 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27349 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27350 Remove unused attribute.
27351
5dbc3b6c
RM
273522010-07-20 Roland McGrath <roland@redhat.com>
27353
27354 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27355 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27356 ld.so.cache was broken. With it, there is no way to disable dsocaps
27357 like LD_HWCAP_MASK can disable hwcaps.
27358
23d101d8
EPM
273592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27360
27361 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27362
cc9f2e47
UD
273632010-07-16 Ulrich Drepper <drepper@redhat.com>
27364
27365 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27366 call in strcasestr.
27367 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27368 __strcasestr_sse42_nonascii.
27369 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27370 strcasestr-nonascii.c.
27371 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27372
77c1b069
LM
273732010-06-15 Luis Machado <luisgpm@br.ibm.com>
27374
27375 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27376 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27377 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27378 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27379
440566c3
UD
273802010-07-09 Ulrich Drepper <drepper@redhat.com>
27381
27382 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27383 fcntl.
27384
5be9d05d
AS
273852010-07-06 Andreas Schwab <schwab@redhat.com>
27386
c30b7ee2 27387 [BZ #11577]
5be9d05d
AS
27388 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27389 dl_signal_cerror.
27390
8a492a67
UD
273912010-07-06 Ulrich Drepper <drepper@redhat.com>
27392
27393 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27394 _PC_PIPE_BUF using F_GETPIPE_SZ.
27395
713df3d5
RM
273962010-07-05 Roland McGrath <roland@redhat.com>
27397
27398 * manual/arith.texi (Rounding Functions): Fix rint description
27399 implicit in round description.
27400
702e8f14
UD
274012010-07-02 Ulrich Drepper <drepper@redhat.com>
27402
27403 * elf/Makefile: Fix linking for a few tests to make recent linker
27404 happy.
27405
52ed8be9
AS
274062010-06-30 Andreas Schwab <schwab@redhat.com>
27407
27408 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27409 $(common-objpfx)libc_nonshared.a.
27410
f47c9a11
LM
274112010-06-21 Luis Machado <luisgpm@br.ibm.com>
27412
27413 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27414 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27415 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27416 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27417 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27418 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27419 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27420 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27435 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27436 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27437 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27438 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27439 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27440 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27441 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27442 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27443 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27444 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27445 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27446 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27461
6fb8cbcb
L
274622010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27463
27464 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27465 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27466 * string/memmove.c (memmove): Renamed to ...
27467 (MEMMOVE): ...this. Default to memmove.
27468 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27469 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27470 (END_CHK): Define.
27471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27472 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27473 mempcpy-ssse3-back memmove-ssse3-back.
27474 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27475 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27476 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27477 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27478 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27479 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27480 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27481 * sysdeps/x86_64/multiarch/memmove.c: New file.
27482 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27483 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27484 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27485 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27486 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27487 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27488 Define.
27489 (index_Fast_Copy_Backward): Define.
27490 (HAS_ARCH_FEATURE): Define.
27491 (HAS_FAST_REP_STRING): Define.
27492 (HAS_FAST_COPY_BACKWARD): Define.
27493
4e733bac 274942010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27495
27496 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27497 Restore proper fallback handling.
27498
63c4ed22
UD
274992010-06-19 Ulrich Drepper <drepper@redhat.com>
27500
ac2b484c
UD
27501 [BZ #11701]
27502 * posix/group_member.c (__group_member): Correct checking loop.
27503
63c4ed22
UD
27504 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27505 OOM in getpwuid_r correctly. Return error number when the caller
27506 should return, otherwise -1.
27507 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27508 call returning > 0 value.
27509 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27510
765ade4b
AS
275112010-06-07 Andreas Schwab <schwab@redhat.com>
27512
27513 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27514 libc_nonshared.a from targets in modules-names.
27515
80da2e09
KS
275162010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27517
27518 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27519 requires it.
27520
158db122
LM
275212010-06-10 Luis Machado <luisgpm@br.ibm.com>
27522
27523 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27524 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27525 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27526 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27527
caa78cf8
AS
275282010-06-02 Andreas Schwab <schwab@redhat.com>
27529
27530 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27531
b2ef2c01
UD
275322010-06-14 Ulrich Drepper <drepper@redhat.com>
27533
27534 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27535 and F_GETPIPE_SZ.
27536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27537 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27540 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27541 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27542
fbd643b6
RM
275432010-06-14 Roland McGrath <roland@redhat.com>
27544
27545 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27546
f32f2869
JJ
275472010-06-07 Jakub Jelinek <jakub@redhat.com>
27548
27549 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27550 __REDIRECT followed by __THROW.
27551 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27552 * posix/getopt.h (getopt): Likewise.
27553
2a50c078
EPM
275542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27555
27556 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27557 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27558 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27559 in AT_FLAGS.
27560 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27561 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27562
eb5ad2eb
LM
275632010-05-28 Luis Machado <luisgpm@br.ibm.com>
27564
27565 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27566
3c88fe1e
L
275672010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27568
27569 [BZ #11640]
27570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27571 Properly check family and model.
27572
d2f73151
TY
275732010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27574
27575 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27576
ebd2e13d
LM
275772010-05-24 Luis Machado <luisgpm@br.ibm.com>
27578
27579 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27580
b32b8b45
UD
275812010-05-21 Ulrich Drepper <drepper@redhat.com>
27582
27583 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27584 symbol reference.
27585
9acbe24d
AS
275862010-05-19 Andreas Schwab <schwab@redhat.com>
27587
27588 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27589 symbol reference.
27590
f0ccf6ea
AS
275912010-05-21 Andreas Schwab <schwab@redhat.com>
27592
3d04ff3a
AS
27593 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27594 and internal_recvmmsg.
27595 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27596 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27597 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27598 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27599
f0ccf6ea
AS
27600 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27601 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27602 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27603
5b08ac57
AS
276042010-05-20 Andreas Schwab <schwab@redhat.com>
27605
27606 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27607
4828935d
LM
276082010-05-17 Luis Machado <luisgpm@br.ibm.com>
27609
27610 POWER7 optimizations.
27611 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27612 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27613
373d545e
UD
276142010-05-19 Ulrich Drepper <drepper@redhat.com>
27615
27616 * version.h: Update for 2.13 development version.
27617
21a2b1ae
AS
276182010-05-12 Andrew Stubbs <ams@codesourcery.com>
27619
27620 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27621 exceptions. Return 0.
27622
3f7dcb2b
RM
276232010-05-07 Roland McGrath <roland@redhat.com>
27624
27625 * elf/ldconfig.c (main): Add a const.
27626
5f24d53a 276272010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27628
a160f8d8
UD
27629 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27630 (args_options): Add no-idn option.
27631 (ahosts_keys_int): Add idn_flags to ai_flags.
27632 (parse_option): Handle 'i' option to clear idn_flags.
27633
5f24d53a
UD
27634 * malloc/malloc.c (_int_free): Possible race in the most recently
27635 added check. Only act on the data if no current modification
27636 happened.
265bb1ce
UD
27637
27638See ChangeLog.17 for earlier changes.